@wix/auto_sdk_restaurants_sections 1.0.30 → 1.0.32
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +25 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +15 -1
- package/build/cjs/index.typings.js +22 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +22 -11
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +25 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +15 -1
- package/build/es/index.typings.mjs +22 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +22 -11
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +25 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +15 -1
- package/build/internal/cjs/index.typings.js +22 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +22 -11
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +25 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +15 -1
- package/build/internal/es/index.typings.mjs +22 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +22 -11
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { DuplicateSectionOptions, DuplicateSectionResponse, Section, BulkCreateSectionsOptions, BulkCreateSectionsResponse, ListSectionsOptions, ListSectionsResponse, SectionsQueryBuilder, UpdateSection, MaskedSection, BulkUpdateSectionOptions, BulkUpdateSectionResponse, BulkDeleteSectionsResponse, SectionCreatedEnvelope, SectionDeletedEnvelope, SectionUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateSectionResult, BulkCreateSectionsRequest, BulkDeleteSectionResult, BulkDeleteSectionsRequest, BulkItemResult, BulkSectionResult, BulkUpdateBusinessLocationIdRequest, BulkUpdateBusinessLocationIdResponse, BulkUpdateSectionRequest, CloneSectionsRequest, CloneSectionsResponse, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteLocationIdFromItems, DeleteSectionRequest, DeleteSectionResponse, DomainEvent, DomainEventBodyOneOf, DuplicateSectionRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsRequest, MessageEnvelope, Page, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, SectionsQueryResult, SortOrder, Sorting, URI, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateSectionResult, BulkCreateSectionsRequest, BulkDeleteSectionResult, BulkDeleteSectionsRequest, BulkItemResult, BulkSectionResult, BulkUpdateBusinessLocationIdRequest, BulkUpdateBusinessLocationIdResponse, BulkUpdateSectionRequest, CloneSectionsRequest, CloneSectionsResponse, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteLocationIdFromItems, DeleteSectionRequest, DeleteSectionResponse, DomainEvent, DomainEventBodyOneOf, DuplicateSectionRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsRequest, MessageEnvelope, Page, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, SectionsQueryResult, SortOrder, Sorting, URI, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type SectionNonNullablePaths = `name` | `additionalImages` | `itemIds`;
|
|
6
6
|
declare function duplicateSection$1(httpClient: HttpClient): DuplicateSectionSignature;
|
package/build/cjs/index.js
CHANGED
|
@@ -273,7 +273,8 @@ function createSection(payload) {
|
|
|
273
273
|
{ path: "section.createdDate" },
|
|
274
274
|
{ path: "section.updatedDate" },
|
|
275
275
|
{ path: "section.image.urlExpirationDate" },
|
|
276
|
-
{ path: "section.additionalImages.urlExpirationDate" }
|
|
276
|
+
{ path: "section.additionalImages.urlExpirationDate" },
|
|
277
|
+
{ path: "section.externalReferenceInfo.lastSyncDate" }
|
|
277
278
|
]
|
|
278
279
|
}
|
|
279
280
|
]);
|
|
@@ -293,7 +294,8 @@ function createSection(payload) {
|
|
|
293
294
|
{ path: "section.createdDate" },
|
|
294
295
|
{ path: "section.updatedDate" },
|
|
295
296
|
{ path: "section.image.urlExpirationDate" },
|
|
296
|
-
{ path: "section.additionalImages.urlExpirationDate" }
|
|
297
|
+
{ path: "section.additionalImages.urlExpirationDate" },
|
|
298
|
+
{ path: "section.externalReferenceInfo.lastSyncDate" }
|
|
297
299
|
]
|
|
298
300
|
}
|
|
299
301
|
])
|
|
@@ -311,7 +313,8 @@ function bulkCreateSections(payload) {
|
|
|
311
313
|
{ path: "sections.createdDate" },
|
|
312
314
|
{ path: "sections.updatedDate" },
|
|
313
315
|
{ path: "sections.image.urlExpirationDate" },
|
|
314
|
-
{ path: "sections.additionalImages.urlExpirationDate" }
|
|
316
|
+
{ path: "sections.additionalImages.urlExpirationDate" },
|
|
317
|
+
{ path: "sections.externalReferenceInfo.lastSyncDate" }
|
|
315
318
|
]
|
|
316
319
|
}
|
|
317
320
|
]);
|
|
@@ -331,7 +334,8 @@ function bulkCreateSections(payload) {
|
|
|
331
334
|
{ path: "results.item.createdDate" },
|
|
332
335
|
{ path: "results.item.updatedDate" },
|
|
333
336
|
{ path: "results.item.image.urlExpirationDate" },
|
|
334
|
-
{ path: "results.item.additionalImages.urlExpirationDate" }
|
|
337
|
+
{ path: "results.item.additionalImages.urlExpirationDate" },
|
|
338
|
+
{ path: "results.item.externalReferenceInfo.lastSyncDate" }
|
|
335
339
|
]
|
|
336
340
|
}
|
|
337
341
|
])
|
|
@@ -358,7 +362,8 @@ function getSection(payload) {
|
|
|
358
362
|
{ path: "section.createdDate" },
|
|
359
363
|
{ path: "section.updatedDate" },
|
|
360
364
|
{ path: "section.image.urlExpirationDate" },
|
|
361
|
-
{ path: "section.additionalImages.urlExpirationDate" }
|
|
365
|
+
{ path: "section.additionalImages.urlExpirationDate" },
|
|
366
|
+
{ path: "section.externalReferenceInfo.lastSyncDate" }
|
|
362
367
|
]
|
|
363
368
|
}
|
|
364
369
|
])
|
|
@@ -385,7 +390,8 @@ function listSections(payload) {
|
|
|
385
390
|
{ path: "sections.createdDate" },
|
|
386
391
|
{ path: "sections.updatedDate" },
|
|
387
392
|
{ path: "sections.image.urlExpirationDate" },
|
|
388
|
-
{ path: "sections.additionalImages.urlExpirationDate" }
|
|
393
|
+
{ path: "sections.additionalImages.urlExpirationDate" },
|
|
394
|
+
{ path: "sections.externalReferenceInfo.lastSyncDate" }
|
|
389
395
|
]
|
|
390
396
|
}
|
|
391
397
|
])
|
|
@@ -412,7 +418,8 @@ function querySections(payload) {
|
|
|
412
418
|
{ path: "sections.createdDate" },
|
|
413
419
|
{ path: "sections.updatedDate" },
|
|
414
420
|
{ path: "sections.image.urlExpirationDate" },
|
|
415
|
-
{ path: "sections.additionalImages.urlExpirationDate" }
|
|
421
|
+
{ path: "sections.additionalImages.urlExpirationDate" },
|
|
422
|
+
{ path: "sections.externalReferenceInfo.lastSyncDate" }
|
|
416
423
|
]
|
|
417
424
|
}
|
|
418
425
|
])
|
|
@@ -434,7 +441,8 @@ function updateSection(payload) {
|
|
|
434
441
|
{ path: "section.createdDate" },
|
|
435
442
|
{ path: "section.updatedDate" },
|
|
436
443
|
{ path: "section.image.urlExpirationDate" },
|
|
437
|
-
{ path: "section.additionalImages.urlExpirationDate" }
|
|
444
|
+
{ path: "section.additionalImages.urlExpirationDate" },
|
|
445
|
+
{ path: "section.externalReferenceInfo.lastSyncDate" }
|
|
438
446
|
]
|
|
439
447
|
}
|
|
440
448
|
]);
|
|
@@ -454,7 +462,8 @@ function updateSection(payload) {
|
|
|
454
462
|
{ path: "section.createdDate" },
|
|
455
463
|
{ path: "section.updatedDate" },
|
|
456
464
|
{ path: "section.image.urlExpirationDate" },
|
|
457
|
-
{ path: "section.additionalImages.urlExpirationDate" }
|
|
465
|
+
{ path: "section.additionalImages.urlExpirationDate" },
|
|
466
|
+
{ path: "section.externalReferenceInfo.lastSyncDate" }
|
|
458
467
|
]
|
|
459
468
|
}
|
|
460
469
|
])
|
|
@@ -476,7 +485,8 @@ function bulkUpdateSection(payload) {
|
|
|
476
485
|
{ path: "sections.section.createdDate" },
|
|
477
486
|
{ path: "sections.section.updatedDate" },
|
|
478
487
|
{ path: "sections.section.image.urlExpirationDate" },
|
|
479
|
-
{ path: "sections.section.additionalImages.urlExpirationDate" }
|
|
488
|
+
{ path: "sections.section.additionalImages.urlExpirationDate" },
|
|
489
|
+
{ path: "sections.section.externalReferenceInfo.lastSyncDate" }
|
|
480
490
|
]
|
|
481
491
|
}
|
|
482
492
|
]);
|
|
@@ -496,7 +506,8 @@ function bulkUpdateSection(payload) {
|
|
|
496
506
|
{ path: "results.section.createdDate" },
|
|
497
507
|
{ path: "results.section.updatedDate" },
|
|
498
508
|
{ path: "results.section.image.urlExpirationDate" },
|
|
499
|
-
{ path: "results.section.additionalImages.urlExpirationDate" }
|
|
509
|
+
{ path: "results.section.additionalImages.urlExpirationDate" },
|
|
510
|
+
{ path: "results.section.externalReferenceInfo.lastSyncDate" }
|
|
500
511
|
]
|
|
501
512
|
}
|
|
502
513
|
])
|
|
@@ -1033,6 +1044,7 @@ var onSectionCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1033
1044
|
paths: [
|
|
1034
1045
|
{ path: "entity.createdDate" },
|
|
1035
1046
|
{ path: "entity.updatedDate" },
|
|
1047
|
+
{ path: "entity.externalReferenceInfo.lastSyncDate" },
|
|
1036
1048
|
{ path: "metadata.eventTime" }
|
|
1037
1049
|
]
|
|
1038
1050
|
},
|
|
@@ -1056,6 +1068,7 @@ var onSectionDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1056
1068
|
paths: [
|
|
1057
1069
|
{ path: "undefined.createdDate" },
|
|
1058
1070
|
{ path: "undefined.updatedDate" },
|
|
1071
|
+
{ path: "undefined.externalReferenceInfo.lastSyncDate" },
|
|
1059
1072
|
{ path: "metadata.eventTime" }
|
|
1060
1073
|
]
|
|
1061
1074
|
},
|
|
@@ -1079,6 +1092,7 @@ var onSectionUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1079
1092
|
paths: [
|
|
1080
1093
|
{ path: "entity.createdDate" },
|
|
1081
1094
|
{ path: "entity.updatedDate" },
|
|
1095
|
+
{ path: "entity.externalReferenceInfo.lastSyncDate" },
|
|
1082
1096
|
{ path: "metadata.eventTime" }
|
|
1083
1097
|
]
|
|
1084
1098
|
},
|