@wix/auto_sdk_restaurants_sections 1.0.38 → 1.0.39

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.
@@ -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, ExternalReferenceInfo, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsRequest, MessageEnvelope, Page, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, URI, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
3
+ export { ActionEvent, App, ApplicationError, Availability, AvailabilityAvailabilityTypeOptionsOneOf, AvailabilityType, AvailabilityTypeWithLiterals, AvailableRange, BaseEventMetadata, BulkActionMetadata, BulkCreateSectionResult, BulkCreateSectionsRequest, BulkDeleteSectionResult, BulkDeleteSectionsRequest, BulkItemResult, BulkSectionResult, BulkUpdateBusinessLocationIdRequest, BulkUpdateBusinessLocationIdResponse, BulkUpdateSectionRequest, CloneSectionsRequest, CloneSectionsResponse, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayOfWeek, DayOfWeekAvailability, DayOfWeekWithLiterals, DeleteLocationIdFromItems, DeleteSectionRequest, DeleteSectionResponse, DomainEvent, DomainEventBodyOneOf, DuplicateSectionRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsRequest, MessageEnvelope, OrderSettings, Page, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, TimeOfDay, TimeOfDayRange, TimestampRangesOptions, URI, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklyScheduleOptions } from './index.typings.js';
4
4
 
5
5
  declare function duplicateSection$1(httpClient: HttpClient): DuplicateSectionSignature;
6
6
  interface DuplicateSectionSignature {
@@ -20,6 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ AvailabilityType: () => AvailabilityType,
24
+ DayOfWeek: () => DayOfWeek,
23
25
  SortOrder: () => SortOrder,
24
26
  WebhookIdentityType: () => WebhookIdentityType,
25
27
  bulkCreateSections: () => bulkCreateSections4,
@@ -274,6 +276,12 @@ function createSection(payload) {
274
276
  { path: "section.updatedDate" },
275
277
  { path: "section.image.urlExpirationDate" },
276
278
  { path: "section.additionalImages.urlExpirationDate" },
279
+ {
280
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
281
+ },
282
+ {
283
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
284
+ },
277
285
  { path: "section.externalReferenceInfo.lastSyncDate" }
278
286
  ]
279
287
  }
@@ -295,6 +303,12 @@ function createSection(payload) {
295
303
  { path: "section.updatedDate" },
296
304
  { path: "section.image.urlExpirationDate" },
297
305
  { path: "section.additionalImages.urlExpirationDate" },
306
+ {
307
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
308
+ },
309
+ {
310
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
311
+ },
298
312
  { path: "section.externalReferenceInfo.lastSyncDate" }
299
313
  ]
300
314
  }
@@ -314,6 +328,12 @@ function bulkCreateSections(payload) {
314
328
  { path: "sections.updatedDate" },
315
329
  { path: "sections.image.urlExpirationDate" },
316
330
  { path: "sections.additionalImages.urlExpirationDate" },
331
+ {
332
+ path: "sections.orderSettings.availability.timestampRangesOptions.ranges.startTime"
333
+ },
334
+ {
335
+ path: "sections.orderSettings.availability.timestampRangesOptions.ranges.endTime"
336
+ },
317
337
  { path: "sections.externalReferenceInfo.lastSyncDate" }
318
338
  ]
319
339
  }
@@ -335,6 +355,12 @@ function bulkCreateSections(payload) {
335
355
  { path: "results.item.updatedDate" },
336
356
  { path: "results.item.image.urlExpirationDate" },
337
357
  { path: "results.item.additionalImages.urlExpirationDate" },
358
+ {
359
+ path: "results.item.orderSettings.availability.timestampRangesOptions.ranges.startTime"
360
+ },
361
+ {
362
+ path: "results.item.orderSettings.availability.timestampRangesOptions.ranges.endTime"
363
+ },
338
364
  { path: "results.item.externalReferenceInfo.lastSyncDate" }
339
365
  ]
340
366
  }
@@ -363,6 +389,12 @@ function getSection(payload) {
363
389
  { path: "section.updatedDate" },
364
390
  { path: "section.image.urlExpirationDate" },
365
391
  { path: "section.additionalImages.urlExpirationDate" },
392
+ {
393
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
394
+ },
395
+ {
396
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
397
+ },
366
398
  { path: "section.externalReferenceInfo.lastSyncDate" }
367
399
  ]
368
400
  }
@@ -391,6 +423,12 @@ function listSections(payload) {
391
423
  { path: "sections.updatedDate" },
392
424
  { path: "sections.image.urlExpirationDate" },
393
425
  { path: "sections.additionalImages.urlExpirationDate" },
426
+ {
427
+ path: "sections.orderSettings.availability.timestampRangesOptions.ranges.startTime"
428
+ },
429
+ {
430
+ path: "sections.orderSettings.availability.timestampRangesOptions.ranges.endTime"
431
+ },
394
432
  { path: "sections.externalReferenceInfo.lastSyncDate" }
395
433
  ]
396
434
  }
@@ -419,6 +457,12 @@ function querySections(payload) {
419
457
  { path: "sections.updatedDate" },
420
458
  { path: "sections.image.urlExpirationDate" },
421
459
  { path: "sections.additionalImages.urlExpirationDate" },
460
+ {
461
+ path: "sections.orderSettings.availability.timestampRangesOptions.ranges.startTime"
462
+ },
463
+ {
464
+ path: "sections.orderSettings.availability.timestampRangesOptions.ranges.endTime"
465
+ },
422
466
  { path: "sections.externalReferenceInfo.lastSyncDate" }
423
467
  ]
424
468
  }
@@ -442,6 +486,12 @@ function updateSection(payload) {
442
486
  { path: "section.updatedDate" },
443
487
  { path: "section.image.urlExpirationDate" },
444
488
  { path: "section.additionalImages.urlExpirationDate" },
489
+ {
490
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
491
+ },
492
+ {
493
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
494
+ },
445
495
  { path: "section.externalReferenceInfo.lastSyncDate" }
446
496
  ]
447
497
  }
@@ -463,6 +513,12 @@ function updateSection(payload) {
463
513
  { path: "section.updatedDate" },
464
514
  { path: "section.image.urlExpirationDate" },
465
515
  { path: "section.additionalImages.urlExpirationDate" },
516
+ {
517
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
518
+ },
519
+ {
520
+ path: "section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
521
+ },
466
522
  { path: "section.externalReferenceInfo.lastSyncDate" }
467
523
  ]
468
524
  }
@@ -486,6 +542,12 @@ function bulkUpdateSection(payload) {
486
542
  { path: "sections.section.updatedDate" },
487
543
  { path: "sections.section.image.urlExpirationDate" },
488
544
  { path: "sections.section.additionalImages.urlExpirationDate" },
545
+ {
546
+ path: "sections.section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
547
+ },
548
+ {
549
+ path: "sections.section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
550
+ },
489
551
  { path: "sections.section.externalReferenceInfo.lastSyncDate" }
490
552
  ]
491
553
  }
@@ -507,6 +569,12 @@ function bulkUpdateSection(payload) {
507
569
  { path: "results.section.updatedDate" },
508
570
  { path: "results.section.image.urlExpirationDate" },
509
571
  { path: "results.section.additionalImages.urlExpirationDate" },
572
+ {
573
+ path: "results.section.orderSettings.availability.timestampRangesOptions.ranges.startTime"
574
+ },
575
+ {
576
+ path: "results.section.orderSettings.availability.timestampRangesOptions.ranges.endTime"
577
+ },
510
578
  { path: "results.section.externalReferenceInfo.lastSyncDate" }
511
579
  ]
512
580
  }
@@ -553,6 +621,23 @@ function bulkDeleteSections(payload) {
553
621
  var import_image = require("@wix/sdk-runtime/transformations/image");
554
622
  var import_image2 = require("@wix/sdk-runtime/transformations/image");
555
623
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
624
+ var AvailabilityType = /* @__PURE__ */ ((AvailabilityType2) => {
625
+ AvailabilityType2["UNSPECIFIED_AVAILABILITY_OPTION"] = "UNSPECIFIED_AVAILABILITY_OPTION";
626
+ AvailabilityType2["ALWAYS_AVAILABLE"] = "ALWAYS_AVAILABLE";
627
+ AvailabilityType2["WEEKLY_SCHEDULE"] = "WEEKLY_SCHEDULE";
628
+ AvailabilityType2["TIMESTAMP_RANGES"] = "TIMESTAMP_RANGES";
629
+ return AvailabilityType2;
630
+ })(AvailabilityType || {});
631
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
632
+ DayOfWeek2["MON"] = "MON";
633
+ DayOfWeek2["TUE"] = "TUE";
634
+ DayOfWeek2["WED"] = "WED";
635
+ DayOfWeek2["THU"] = "THU";
636
+ DayOfWeek2["FRI"] = "FRI";
637
+ DayOfWeek2["SAT"] = "SAT";
638
+ DayOfWeek2["SUN"] = "SUN";
639
+ return DayOfWeek2;
640
+ })(DayOfWeek || {});
556
641
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
557
642
  SortOrder2["ASC"] = "ASC";
558
643
  SortOrder2["DESC"] = "DESC";
@@ -1044,6 +1129,12 @@ var onSectionCreated = (0, import_sdk_types.EventDefinition)(
1044
1129
  paths: [
1045
1130
  { path: "entity.createdDate" },
1046
1131
  { path: "entity.updatedDate" },
1132
+ {
1133
+ path: "entity.orderSettings.availability.timestampRangesOptions.ranges.startTime"
1134
+ },
1135
+ {
1136
+ path: "entity.orderSettings.availability.timestampRangesOptions.ranges.endTime"
1137
+ },
1047
1138
  { path: "entity.externalReferenceInfo.lastSyncDate" },
1048
1139
  { path: "metadata.eventTime" }
1049
1140
  ]
@@ -1068,6 +1159,12 @@ var onSectionDeleted = (0, import_sdk_types.EventDefinition)(
1068
1159
  paths: [
1069
1160
  { path: "undefined.createdDate" },
1070
1161
  { path: "undefined.updatedDate" },
1162
+ {
1163
+ path: "undefined.orderSettings.availability.timestampRangesOptions.ranges.startTime"
1164
+ },
1165
+ {
1166
+ path: "undefined.orderSettings.availability.timestampRangesOptions.ranges.endTime"
1167
+ },
1071
1168
  { path: "undefined.externalReferenceInfo.lastSyncDate" },
1072
1169
  { path: "metadata.eventTime" }
1073
1170
  ]
@@ -1092,6 +1189,12 @@ var onSectionUpdated = (0, import_sdk_types.EventDefinition)(
1092
1189
  paths: [
1093
1190
  { path: "entity.createdDate" },
1094
1191
  { path: "entity.updatedDate" },
1192
+ {
1193
+ path: "entity.orderSettings.availability.timestampRangesOptions.ranges.startTime"
1194
+ },
1195
+ {
1196
+ path: "entity.orderSettings.availability.timestampRangesOptions.ranges.endTime"
1197
+ },
1095
1198
  { path: "entity.externalReferenceInfo.lastSyncDate" },
1096
1199
  { path: "metadata.eventTime" }
1097
1200
  ]
@@ -1125,6 +1228,8 @@ var onSectionDeleted2 = (0, import_event_definition_modules.createEventModule)(o
1125
1228
  var onSectionUpdated2 = (0, import_event_definition_modules.createEventModule)(onSectionUpdated);
1126
1229
  // Annotate the CommonJS export names for ESM import in node:
1127
1230
  0 && (module.exports = {
1231
+ AvailabilityType,
1232
+ DayOfWeek,
1128
1233
  SortOrder,
1129
1234
  WebhookIdentityType,
1130
1235
  bulkCreateSections,