@@ -211,11 +211,11 @@ export interface FileFullRepresentationsEntriesPropertiesField {
211
211
/**
212
212
* Indicates if the representation is build up out of multiple
213
213
* pages. */
214
- readonly paged ?: boolean ;
214
+ readonly paged ?: string ;
215
215
/**
216
216
* Indicates if the representation can be used as a thumbnail of
217
217
* the file. */
218
- readonly thumb ?: boolean ;
218
+ readonly thumb ?: string ;
219
219
readonly rawData ?: SerializedData ;
220
220
}
221
221
export type FileFullRepresentationsEntriesStatusStateField =
@@ -976,20 +976,20 @@ export function deserializeFileFullRepresentationsEntriesPropertiesField(
976
976
}
977
977
const dimensions : undefined | string =
978
978
val . dimensions == void 0 ? void 0 : val . dimensions ;
979
- if ( ! ( val . paged == void 0 ) && ! sdIsBoolean ( val . paged ) ) {
979
+ if ( ! ( val . paged == void 0 ) && ! sdIsString ( val . paged ) ) {
980
980
throw new BoxSdkError ( {
981
981
message :
982
- 'Expecting boolean for "paged" of type "FileFullRepresentationsEntriesPropertiesField"' ,
982
+ 'Expecting string for "paged" of type "FileFullRepresentationsEntriesPropertiesField"' ,
983
983
} ) ;
984
984
}
985
- const paged : undefined | boolean = val . paged == void 0 ? void 0 : val . paged ;
986
- if ( ! ( val . thumb == void 0 ) && ! sdIsBoolean ( val . thumb ) ) {
985
+ const paged : undefined | string = val . paged == void 0 ? void 0 : val . paged ;
986
+ if ( ! ( val . thumb == void 0 ) && ! sdIsString ( val . thumb ) ) {
987
987
throw new BoxSdkError ( {
988
988
message :
989
- 'Expecting boolean for "thumb" of type "FileFullRepresentationsEntriesPropertiesField"' ,
989
+ 'Expecting string for "thumb" of type "FileFullRepresentationsEntriesPropertiesField"' ,
990
990
} ) ;
991
991
}
992
- const thumb : undefined | boolean = val . thumb == void 0 ? void 0 : val . thumb ;
992
+ const thumb : undefined | string = val . thumb == void 0 ? void 0 : val . thumb ;
993
993
return {
994
994
dimensions : dimensions ,
995
995
paged : paged ,
0 commit comments