@@ -203,10 +203,9 @@ export interface WorkbookListResponse {
203203/**
204204 * Response type returned by the for /calc query endpoint.
205205 */
206- export type WorkbookCalcResponse = Record <
207- string ,
208- WorkbookCalcResponse . ReadValue | Array < WorkbookCalcResponse . UnionMember1 >
209- > ;
206+ export type WorkbookCalcResponse = {
207+ [ key : string ] : WorkbookCalcResponse . ReadValue | Array < WorkbookCalcResponse . UnionMember1 > ;
208+ } ;
210209
211210export namespace WorkbookCalcResponse {
212211 export interface ReadValue {
@@ -434,17 +433,16 @@ export interface WorkbookUploadResponse {
434433/**
435434 * Response type returned by the for /values query endpoint.
436435 */
437- export type WorkbookValuesResponse = Record <
438- string ,
439- number | number | string | boolean | null | Array < number | string | boolean | null >
440- > ;
436+ export type WorkbookValuesResponse = {
437+ [ key : string ] : number | number | string | boolean | null | Array < number | string | boolean | null > ;
438+ } ;
441439
442440export interface WorkbookListParams extends CursorPaginationParams { }
443441
444442export interface WorkbookCalcParams {
445443 read : Array < string > ;
446444
447- apply ?: Record < string , number | string | boolean | null > | null ;
445+ apply ?: { [ key : string ] : number | string | boolean | null } | null ;
448446}
449447
450448export interface WorkbookExportParams {
@@ -942,7 +940,7 @@ export interface WorkbookUploadParams {
942940export interface WorkbookValuesParams {
943941 read : Array < string > ;
944942
945- apply ?: Record < string , number | string | boolean | null > | null ;
943+ apply ?: { [ key : string ] : number | string | boolean | null } | null ;
946944}
947945
948946export declare namespace Workbooks {
0 commit comments