@wix/auto_sdk_online-programs_sections 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ interface Section {
35
35
  * @immutable
36
36
  */
37
37
  programId?: string;
38
- /** Section title and deprecated backward-compatibility content fields. */
38
+ /** Section title. */
39
39
  description?: Description;
40
40
  /**
41
41
  * Total number of steps in the section.
@@ -52,71 +52,10 @@ interface Section {
52
52
  /** Custom field data for the section. */
53
53
  extendedFields?: ExtendedFields;
54
54
  }
55
- interface Description extends DescriptionMediaOneOf {
55
+ interface Description {
56
56
  /** @maxLength 500 */
57
57
  title?: string;
58
58
  }
59
- /** @oneof */
60
- interface DescriptionMediaOneOf {
61
- }
62
- interface Image {
63
- /** WixMedia image ID. */
64
- id?: string;
65
- /** Image URL. */
66
- url?: string;
67
- /**
68
- * Original image height.
69
- * @readonly
70
- */
71
- height?: number;
72
- /**
73
- * Original image width.
74
- * @readonly
75
- */
76
- width?: number;
77
- /** Image alt text. */
78
- altText?: string | null;
79
- /**
80
- * Image filename.
81
- * @readonly
82
- */
83
- filename?: string | null;
84
- }
85
- interface FocalPoint {
86
- /** X-coordinate of the focal point. */
87
- x?: number;
88
- /** Y-coordinate of the focal point. */
89
- y?: number;
90
- /** crop by height */
91
- height?: number | null;
92
- /** crop by width */
93
- width?: number | null;
94
- }
95
- interface VideoV2 {
96
- /** WixMedia ID. */
97
- id?: string;
98
- /**
99
- * Available resolutions for the video, starting with the optimal resolution.
100
- * @readonly
101
- * @maxSize 100
102
- */
103
- resolutions?: VideoResolution[];
104
- /**
105
- * Video filename.
106
- * @readonly
107
- */
108
- filename?: string | null;
109
- }
110
- interface VideoResolution {
111
- /** Video URL. */
112
- url?: string;
113
- /** Video height. */
114
- height?: number;
115
- /** Video width. */
116
- width?: number;
117
- /** Video format for example, mp4, hls. */
118
- format?: string;
119
- }
120
59
  declare enum State {
121
60
  /** Retained for backward compatibility. Doesn't affect whether the section is served. */
122
61
  DRAFT = "DRAFT",
@@ -905,4 +844,4 @@ declare function cloneSection(): __PublicMethodMetaInfo<'POST', {
905
844
  }, CloneSectionRequest$1, CloneSectionRequest, CloneSectionResponse$1, CloneSectionResponse>;
906
845
  declare function moveSection(): __PublicMethodMetaInfo<'PATCH', {}, MoveSectionRequest$1, MoveSectionRequest, MoveSectionResponse$1, MoveSectionResponse>;
907
846
 
908
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCloneSectionRequest as BulkCloneSectionRequestOriginal, type BulkCloneSectionResponse as BulkCloneSectionResponseOriginal, type BulkCreateSectionMigrationRequest as BulkCreateSectionMigrationRequestOriginal, type BulkCreateSectionMigrationResponse as BulkCreateSectionMigrationResponseOriginal, type BulkCreateSectionRequest as BulkCreateSectionRequestOriginal, type BulkCreateSectionResponse as BulkCreateSectionResponseOriginal, type BulkCreateSectionsRequest as BulkCreateSectionsRequestOriginal, type BulkCreateSectionsResponse as BulkCreateSectionsResponseOriginal, type BulkSectionResult as BulkSectionResultOriginal, type CloneSectionRequest as CloneSectionRequestOriginal, type CloneSectionResponse as CloneSectionResponseOriginal, type CreateSectionRequest as CreateSectionRequestOriginal, type CreateSectionResponse as CreateSectionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteAllProgramSectionsRequest as DeleteAllProgramSectionsRequestOriginal, type DeleteAllProgramSectionsResponse as DeleteAllProgramSectionsResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteSectionRequest as DeleteSectionRequestOriginal, type DeleteSectionResponse as DeleteSectionResponseOriginal, DescriptionFieldSet as DescriptionFieldSetOriginal, type DescriptionFieldSetWithLiterals as DescriptionFieldSetWithLiteralsOriginal, type DescriptionMediaOneOf as DescriptionMediaOneOfOriginal, type Description as DescriptionOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type GetSectionRequest as GetSectionRequestOriginal, type GetSectionResponse as GetSectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IndexDocument as IndexDocumentOriginal, type ItemMetadata as ItemMetadataOriginal, type ListSectionsRequest as ListSectionsRequestOriginal, type ListSectionsResponse as ListSectionsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MoveSectionRequest as MoveSectionRequestOriginal, type MoveSectionResponse as MoveSectionResponseOriginal, type PublishSectionRequest as PublishSectionRequestOriginal, type PublishSectionResponse as PublishSectionResponseOriginal, type QuerySectionsRequest as QuerySectionsRequestOriginal, type QuerySectionsResponse as QuerySectionsResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreSectionFromTrashRequest as RestoreSectionFromTrashRequestOriginal, type RestoreSectionFromTrashResponse as RestoreSectionFromTrashResponseOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SectionCloned as SectionClonedOriginal, type SectionDeleted as SectionDeletedOriginal, type SectionMoved as SectionMovedOriginal, type Section as SectionOriginal, type SectionPublished as SectionPublishedOriginal, type SectionUpdated as SectionUpdatedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateSectionRequest as UpdateSectionRequestOriginal, type UpdateSectionResponse as UpdateSectionResponseOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, updateSection };
847
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCloneSectionRequest as BulkCloneSectionRequestOriginal, type BulkCloneSectionResponse as BulkCloneSectionResponseOriginal, type BulkCreateSectionMigrationRequest as BulkCreateSectionMigrationRequestOriginal, type BulkCreateSectionMigrationResponse as BulkCreateSectionMigrationResponseOriginal, type BulkCreateSectionRequest as BulkCreateSectionRequestOriginal, type BulkCreateSectionResponse as BulkCreateSectionResponseOriginal, type BulkCreateSectionsRequest as BulkCreateSectionsRequestOriginal, type BulkCreateSectionsResponse as BulkCreateSectionsResponseOriginal, type BulkSectionResult as BulkSectionResultOriginal, type CloneSectionRequest as CloneSectionRequestOriginal, type CloneSectionResponse as CloneSectionResponseOriginal, type CreateSectionRequest as CreateSectionRequestOriginal, type CreateSectionResponse as CreateSectionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteAllProgramSectionsRequest as DeleteAllProgramSectionsRequestOriginal, type DeleteAllProgramSectionsResponse as DeleteAllProgramSectionsResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteSectionRequest as DeleteSectionRequestOriginal, type DeleteSectionResponse as DeleteSectionResponseOriginal, DescriptionFieldSet as DescriptionFieldSetOriginal, type DescriptionFieldSetWithLiterals as DescriptionFieldSetWithLiteralsOriginal, type Description as DescriptionOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GetSectionRequest as GetSectionRequestOriginal, type GetSectionResponse as GetSectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IndexDocument as IndexDocumentOriginal, type ItemMetadata as ItemMetadataOriginal, type ListSectionsRequest as ListSectionsRequestOriginal, type ListSectionsResponse as ListSectionsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MoveSectionRequest as MoveSectionRequestOriginal, type MoveSectionResponse as MoveSectionResponseOriginal, type PublishSectionRequest as PublishSectionRequestOriginal, type PublishSectionResponse as PublishSectionResponseOriginal, type QuerySectionsRequest as QuerySectionsRequestOriginal, type QuerySectionsResponse as QuerySectionsResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreSectionFromTrashRequest as RestoreSectionFromTrashRequestOriginal, type RestoreSectionFromTrashResponse as RestoreSectionFromTrashResponseOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SectionCloned as SectionClonedOriginal, type SectionDeleted as SectionDeletedOriginal, type SectionMoved as SectionMovedOriginal, type Section as SectionOriginal, type SectionPublished as SectionPublishedOriginal, type SectionUpdated as SectionUpdatedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateSectionRequest as UpdateSectionRequestOriginal, type UpdateSectionResponse as UpdateSectionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, updateSection };
package/build/es/meta.mjs CHANGED
@@ -114,27 +114,12 @@ function createSection(payload) {
114
114
  transformFn: transformSDKTimestampToRESTTimestamp,
115
115
  paths: [
116
116
  { path: "section.createdDate" },
117
- { path: "section.updatedDate" },
118
- { path: "section.description.image.urlExpirationDate" },
119
- { path: "section.description.video.urlExpirationDate" },
120
- { path: "section.description.video.resolutions.urlExpirationDate" },
121
- {
122
- path: "section.description.video.resolutions.poster.urlExpirationDate"
123
- },
124
- { path: "section.description.video.posters.urlExpirationDate" }
117
+ { path: "section.updatedDate" }
125
118
  ]
126
119
  },
127
120
  {
128
121
  transformFn: transformSDKFloatToRESTFloat,
129
- paths: [
130
- { path: "section.ordering" },
131
- { path: "section.description.image.focalPoint.x" },
132
- { path: "section.description.image.focalPoint.y" },
133
- { path: "section.description.video.resolutions.poster.focalPoint.x" },
134
- { path: "section.description.video.resolutions.poster.focalPoint.y" },
135
- { path: "section.description.video.posters.focalPoint.x" },
136
- { path: "section.description.video.posters.focalPoint.y" }
137
- ]
122
+ paths: [{ path: "section.ordering" }]
138
123
  }
139
124
  ]);
140
125
  const metadata = {
@@ -156,33 +141,12 @@ function createSection(payload) {
156
141
  transformFn: transformRESTTimestampToSDKTimestamp,
157
142
  paths: [
158
143
  { path: "section.createdDate" },
159
- { path: "section.updatedDate" },
160
- { path: "section.description.image.urlExpirationDate" },
161
- { path: "section.description.video.urlExpirationDate" },
162
- {
163
- path: "section.description.video.resolutions.urlExpirationDate"
164
- },
165
- {
166
- path: "section.description.video.resolutions.poster.urlExpirationDate"
167
- },
168
- { path: "section.description.video.posters.urlExpirationDate" }
144
+ { path: "section.updatedDate" }
169
145
  ]
170
146
  },
171
147
  {
172
148
  transformFn: transformRESTFloatToSDKFloat,
173
- paths: [
174
- { path: "section.ordering" },
175
- { path: "section.description.image.focalPoint.x" },
176
- { path: "section.description.image.focalPoint.y" },
177
- {
178
- path: "section.description.video.resolutions.poster.focalPoint.x"
179
- },
180
- {
181
- path: "section.description.video.resolutions.poster.focalPoint.y"
182
- },
183
- { path: "section.description.video.posters.focalPoint.x" },
184
- { path: "section.description.video.posters.focalPoint.y" }
185
- ]
149
+ paths: [{ path: "section.ordering" }]
186
150
  }
187
151
  ])
188
152
  };
@@ -197,31 +161,12 @@ function bulkCreateSections(payload) {
197
161
  transformFn: transformSDKTimestampToRESTTimestamp,
198
162
  paths: [
199
163
  { path: "sections.createdDate" },
200
- { path: "sections.updatedDate" },
201
- { path: "sections.description.image.urlExpirationDate" },
202
- { path: "sections.description.video.urlExpirationDate" },
203
- { path: "sections.description.video.resolutions.urlExpirationDate" },
204
- {
205
- path: "sections.description.video.resolutions.poster.urlExpirationDate"
206
- },
207
- { path: "sections.description.video.posters.urlExpirationDate" }
164
+ { path: "sections.updatedDate" }
208
165
  ]
209
166
  },
210
167
  {
211
168
  transformFn: transformSDKFloatToRESTFloat,
212
- paths: [
213
- { path: "sections.ordering" },
214
- { path: "sections.description.image.focalPoint.x" },
215
- { path: "sections.description.image.focalPoint.y" },
216
- {
217
- path: "sections.description.video.resolutions.poster.focalPoint.x"
218
- },
219
- {
220
- path: "sections.description.video.resolutions.poster.focalPoint.y"
221
- },
222
- { path: "sections.description.video.posters.focalPoint.x" },
223
- { path: "sections.description.video.posters.focalPoint.y" }
224
- ]
169
+ paths: [{ path: "sections.ordering" }]
225
170
  }
226
171
  ]);
227
172
  const metadata = {
@@ -243,35 +188,12 @@ function bulkCreateSections(payload) {
243
188
  transformFn: transformRESTTimestampToSDKTimestamp,
244
189
  paths: [
245
190
  { path: "results.item.createdDate" },
246
- { path: "results.item.updatedDate" },
247
- { path: "results.item.description.image.urlExpirationDate" },
248
- { path: "results.item.description.video.urlExpirationDate" },
249
- {
250
- path: "results.item.description.video.resolutions.urlExpirationDate"
251
- },
252
- {
253
- path: "results.item.description.video.resolutions.poster.urlExpirationDate"
254
- },
255
- {
256
- path: "results.item.description.video.posters.urlExpirationDate"
257
- }
191
+ { path: "results.item.updatedDate" }
258
192
  ]
259
193
  },
260
194
  {
261
195
  transformFn: transformRESTFloatToSDKFloat,
262
- paths: [
263
- { path: "results.item.ordering" },
264
- { path: "results.item.description.image.focalPoint.x" },
265
- { path: "results.item.description.image.focalPoint.y" },
266
- {
267
- path: "results.item.description.video.resolutions.poster.focalPoint.x"
268
- },
269
- {
270
- path: "results.item.description.video.resolutions.poster.focalPoint.y"
271
- },
272
- { path: "results.item.description.video.posters.focalPoint.x" },
273
- { path: "results.item.description.video.posters.focalPoint.y" }
274
- ]
196
+ paths: [{ path: "results.item.ordering" }]
275
197
  }
276
198
  ])
277
199
  };
@@ -300,33 +222,12 @@ function getSection(payload) {
300
222
  transformFn: transformRESTTimestampToSDKTimestamp,
301
223
  paths: [
302
224
  { path: "section.createdDate" },
303
- { path: "section.updatedDate" },
304
- { path: "section.description.image.urlExpirationDate" },
305
- { path: "section.description.video.urlExpirationDate" },
306
- {
307
- path: "section.description.video.resolutions.urlExpirationDate"
308
- },
309
- {
310
- path: "section.description.video.resolutions.poster.urlExpirationDate"
311
- },
312
- { path: "section.description.video.posters.urlExpirationDate" }
225
+ { path: "section.updatedDate" }
313
226
  ]
314
227
  },
315
228
  {
316
229
  transformFn: transformRESTFloatToSDKFloat,
317
- paths: [
318
- { path: "section.ordering" },
319
- { path: "section.description.image.focalPoint.x" },
320
- { path: "section.description.image.focalPoint.y" },
321
- {
322
- path: "section.description.video.resolutions.poster.focalPoint.x"
323
- },
324
- {
325
- path: "section.description.video.resolutions.poster.focalPoint.y"
326
- },
327
- { path: "section.description.video.posters.focalPoint.x" },
328
- { path: "section.description.video.posters.focalPoint.y" }
329
- ]
230
+ paths: [{ path: "section.ordering" }]
330
231
  }
331
232
  ])
332
233
  };
@@ -345,27 +246,12 @@ function updateSection(payload) {
345
246
  transformFn: transformSDKTimestampToRESTTimestamp,
346
247
  paths: [
347
248
  { path: "section.createdDate" },
348
- { path: "section.updatedDate" },
349
- { path: "section.description.image.urlExpirationDate" },
350
- { path: "section.description.video.urlExpirationDate" },
351
- { path: "section.description.video.resolutions.urlExpirationDate" },
352
- {
353
- path: "section.description.video.resolutions.poster.urlExpirationDate"
354
- },
355
- { path: "section.description.video.posters.urlExpirationDate" }
249
+ { path: "section.updatedDate" }
356
250
  ]
357
251
  },
358
252
  {
359
253
  transformFn: transformSDKFloatToRESTFloat,
360
- paths: [
361
- { path: "section.ordering" },
362
- { path: "section.description.image.focalPoint.x" },
363
- { path: "section.description.image.focalPoint.y" },
364
- { path: "section.description.video.resolutions.poster.focalPoint.x" },
365
- { path: "section.description.video.resolutions.poster.focalPoint.y" },
366
- { path: "section.description.video.posters.focalPoint.x" },
367
- { path: "section.description.video.posters.focalPoint.y" }
368
- ]
254
+ paths: [{ path: "section.ordering" }]
369
255
  }
370
256
  ]);
371
257
  const metadata = {
@@ -387,33 +273,12 @@ function updateSection(payload) {
387
273
  transformFn: transformRESTTimestampToSDKTimestamp,
388
274
  paths: [
389
275
  { path: "section.createdDate" },
390
- { path: "section.updatedDate" },
391
- { path: "section.description.image.urlExpirationDate" },
392
- { path: "section.description.video.urlExpirationDate" },
393
- {
394
- path: "section.description.video.resolutions.urlExpirationDate"
395
- },
396
- {
397
- path: "section.description.video.resolutions.poster.urlExpirationDate"
398
- },
399
- { path: "section.description.video.posters.urlExpirationDate" }
276
+ { path: "section.updatedDate" }
400
277
  ]
401
278
  },
402
279
  {
403
280
  transformFn: transformRESTFloatToSDKFloat,
404
- paths: [
405
- { path: "section.ordering" },
406
- { path: "section.description.image.focalPoint.x" },
407
- { path: "section.description.image.focalPoint.y" },
408
- {
409
- path: "section.description.video.resolutions.poster.focalPoint.x"
410
- },
411
- {
412
- path: "section.description.video.resolutions.poster.focalPoint.y"
413
- },
414
- { path: "section.description.video.posters.focalPoint.x" },
415
- { path: "section.description.video.posters.focalPoint.y" }
416
- ]
281
+ paths: [{ path: "section.ordering" }]
417
282
  }
418
283
  ])
419
284
  };
@@ -472,33 +337,12 @@ function querySections(payload) {
472
337
  transformFn: transformRESTTimestampToSDKTimestamp,
473
338
  paths: [
474
339
  { path: "sections.createdDate" },
475
- { path: "sections.updatedDate" },
476
- { path: "sections.description.image.urlExpirationDate" },
477
- { path: "sections.description.video.urlExpirationDate" },
478
- {
479
- path: "sections.description.video.resolutions.urlExpirationDate"
480
- },
481
- {
482
- path: "sections.description.video.resolutions.poster.urlExpirationDate"
483
- },
484
- { path: "sections.description.video.posters.urlExpirationDate" }
340
+ { path: "sections.updatedDate" }
485
341
  ]
486
342
  },
487
343
  {
488
344
  transformFn: transformRESTFloatToSDKFloat,
489
- paths: [
490
- { path: "sections.ordering" },
491
- { path: "sections.description.image.focalPoint.x" },
492
- { path: "sections.description.image.focalPoint.y" },
493
- {
494
- path: "sections.description.video.resolutions.poster.focalPoint.x"
495
- },
496
- {
497
- path: "sections.description.video.resolutions.poster.focalPoint.y"
498
- },
499
- { path: "sections.description.video.posters.focalPoint.x" },
500
- { path: "sections.description.video.posters.focalPoint.y" }
501
- ]
345
+ paths: [{ path: "sections.ordering" }]
502
346
  }
503
347
  ])
504
348
  };
@@ -527,33 +371,12 @@ function listSections(payload) {
527
371
  transformFn: transformRESTTimestampToSDKTimestamp,
528
372
  paths: [
529
373
  { path: "sections.createdDate" },
530
- { path: "sections.updatedDate" },
531
- { path: "sections.description.image.urlExpirationDate" },
532
- { path: "sections.description.video.urlExpirationDate" },
533
- {
534
- path: "sections.description.video.resolutions.urlExpirationDate"
535
- },
536
- {
537
- path: "sections.description.video.resolutions.poster.urlExpirationDate"
538
- },
539
- { path: "sections.description.video.posters.urlExpirationDate" }
374
+ { path: "sections.updatedDate" }
540
375
  ]
541
376
  },
542
377
  {
543
378
  transformFn: transformRESTFloatToSDKFloat,
544
- paths: [
545
- { path: "sections.ordering" },
546
- { path: "sections.description.image.focalPoint.x" },
547
- { path: "sections.description.image.focalPoint.y" },
548
- {
549
- path: "sections.description.video.resolutions.poster.focalPoint.x"
550
- },
551
- {
552
- path: "sections.description.video.resolutions.poster.focalPoint.y"
553
- },
554
- { path: "sections.description.video.posters.focalPoint.x" },
555
- { path: "sections.description.video.posters.focalPoint.y" }
556
- ]
379
+ paths: [{ path: "sections.ordering" }]
557
380
  }
558
381
  ])
559
382
  };
@@ -582,33 +405,12 @@ function cloneSection(payload) {
582
405
  transformFn: transformRESTTimestampToSDKTimestamp,
583
406
  paths: [
584
407
  { path: "section.createdDate" },
585
- { path: "section.updatedDate" },
586
- { path: "section.description.image.urlExpirationDate" },
587
- { path: "section.description.video.urlExpirationDate" },
588
- {
589
- path: "section.description.video.resolutions.urlExpirationDate"
590
- },
591
- {
592
- path: "section.description.video.resolutions.poster.urlExpirationDate"
593
- },
594
- { path: "section.description.video.posters.urlExpirationDate" }
408
+ { path: "section.updatedDate" }
595
409
  ]
596
410
  },
597
411
  {
598
412
  transformFn: transformRESTFloatToSDKFloat,
599
- paths: [
600
- { path: "section.ordering" },
601
- { path: "section.description.image.focalPoint.x" },
602
- { path: "section.description.image.focalPoint.y" },
603
- {
604
- path: "section.description.video.resolutions.poster.focalPoint.x"
605
- },
606
- {
607
- path: "section.description.video.resolutions.poster.focalPoint.y"
608
- },
609
- { path: "section.description.video.posters.focalPoint.x" },
610
- { path: "section.description.video.posters.focalPoint.y" }
611
- ]
413
+ paths: [{ path: "section.ordering" }]
612
414
  }
613
415
  ])
614
416
  };
@@ -637,33 +439,12 @@ function moveSection(payload) {
637
439
  transformFn: transformRESTTimestampToSDKTimestamp,
638
440
  paths: [
639
441
  { path: "section.createdDate" },
640
- { path: "section.updatedDate" },
641
- { path: "section.description.image.urlExpirationDate" },
642
- { path: "section.description.video.urlExpirationDate" },
643
- {
644
- path: "section.description.video.resolutions.urlExpirationDate"
645
- },
646
- {
647
- path: "section.description.video.resolutions.poster.urlExpirationDate"
648
- },
649
- { path: "section.description.video.posters.urlExpirationDate" }
442
+ { path: "section.updatedDate" }
650
443
  ]
651
444
  },
652
445
  {
653
446
  transformFn: transformRESTFloatToSDKFloat,
654
- paths: [
655
- { path: "section.ordering" },
656
- { path: "section.description.image.focalPoint.x" },
657
- { path: "section.description.image.focalPoint.y" },
658
- {
659
- path: "section.description.video.resolutions.poster.focalPoint.x"
660
- },
661
- {
662
- path: "section.description.video.resolutions.poster.focalPoint.y"
663
- },
664
- { path: "section.description.video.posters.focalPoint.x" },
665
- { path: "section.description.video.posters.focalPoint.y" }
666
- ]
447
+ paths: [{ path: "section.ordering" }]
667
448
  }
668
449
  ])
669
450
  };