@wix/auto_sdk_restaurants_sections 1.0.39 → 1.0.41

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.
@@ -83,6 +83,122 @@ interface ExtendedFields {
83
83
  */
84
84
  namespaces?: Record<string, Record<string, any>>;
85
85
  }
86
+ interface OrderSettings {
87
+ availability?: Availability;
88
+ }
89
+ interface Availability extends AvailabilityAvailabilityTypeOptionsOneOf {
90
+ /** Settings for availability on a weekly schedule. */
91
+ weeklyScheduleOptions?: WeeklyScheduleOptions;
92
+ /** Settings for availability within a time range. */
93
+ timestampRangesOptions?: TimestampRangesOptions;
94
+ /** Availability type. */
95
+ type?: AvailabilityTypeWithLiterals;
96
+ /**
97
+ * Time zone in [Time Zone Database](https://www.iana.org/time-zones) format.
98
+ * @readonly
99
+ * @maxLength 50
100
+ */
101
+ timeZone?: string | null;
102
+ }
103
+ /** @oneof */
104
+ interface AvailabilityAvailabilityTypeOptionsOneOf {
105
+ /** Settings for availability on a weekly schedule. */
106
+ weeklyScheduleOptions?: WeeklyScheduleOptions;
107
+ /** Settings for availability within a time range. */
108
+ timestampRangesOptions?: TimestampRangesOptions;
109
+ }
110
+ declare enum AvailabilityType {
111
+ /** Missing type due to an error. */
112
+ UNSPECIFIED_AVAILABILITY_OPTION = "UNSPECIFIED_AVAILABILITY_OPTION",
113
+ /** Available all the time. */
114
+ ALWAYS_AVAILABLE = "ALWAYS_AVAILABLE",
115
+ /** Available on specific days and times throughout the week. */
116
+ WEEKLY_SCHEDULE = "WEEKLY_SCHEDULE",
117
+ /** Available during a specific time range. */
118
+ TIMESTAMP_RANGES = "TIMESTAMP_RANGES"
119
+ }
120
+ /** @enumType */
121
+ type AvailabilityTypeWithLiterals = AvailabilityType | 'UNSPECIFIED_AVAILABILITY_OPTION' | 'ALWAYS_AVAILABLE' | 'WEEKLY_SCHEDULE' | 'TIMESTAMP_RANGES';
122
+ interface WeeklyScheduleOptions {
123
+ /**
124
+ * List of available time ranges for specific days of the week.
125
+ * @maxSize 7
126
+ */
127
+ availableTimes?: DayOfWeekAvailability[];
128
+ }
129
+ interface DayOfWeekAvailability {
130
+ /** The day of week this availability relates to. */
131
+ dayOfWeek?: DayOfWeekWithLiterals;
132
+ /** A list of time ranges during which the fulfillment should be available. */
133
+ timeRanges?: TimeOfDayRange[];
134
+ }
135
+ declare enum DayOfWeek {
136
+ /** Monday. */
137
+ MON = "MON",
138
+ /** Tuesday. */
139
+ TUE = "TUE",
140
+ /** Wednesday. */
141
+ WED = "WED",
142
+ /** Thursday. */
143
+ THU = "THU",
144
+ /** Friday. */
145
+ FRI = "FRI",
146
+ /** Saturday. */
147
+ SAT = "SAT",
148
+ /** Sunday. */
149
+ SUN = "SUN"
150
+ }
151
+ /** @enumType */
152
+ type DayOfWeekWithLiterals = DayOfWeek | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | 'SUN';
153
+ interface TimeOfDayRange {
154
+ /** The start time in time of day representation. */
155
+ startTime?: TimeOfDay;
156
+ /** The end time in time of day representation. */
157
+ endTime?: TimeOfDay;
158
+ }
159
+ interface TimeOfDay {
160
+ /**
161
+ * Hours. <br />
162
+ * Min: `0`. <br />
163
+ * Max: `23`.
164
+ */
165
+ hours?: number;
166
+ /**
167
+ * Minutes. <br />
168
+ * Min: `0`. <br />
169
+ * Max: `23`.
170
+ */
171
+ minutes?: number;
172
+ }
173
+ interface TimestampRangesOptions {
174
+ /**
175
+ * List of available time ranges.
176
+ * @maxSize 50
177
+ */
178
+ ranges?: AvailableRange[];
179
+ }
180
+ interface AvailableRange {
181
+ /** The start time of the availability in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. */
182
+ startTime?: Date | null;
183
+ /** The end time of the availability in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. */
184
+ endTime?: Date | null;
185
+ }
186
+ interface ExternalReferenceInfo {
187
+ /**
188
+ * ID of the external integrator app\system associated with this object.
189
+ * @format GUID
190
+ */
191
+ externalAppId?: string | null;
192
+ /**
193
+ * Reference to an external resource ID. Used to link this object to a specific entity in an external system.
194
+ * @maxLength 100
195
+ */
196
+ externalEntityId?: string | null;
197
+ /** Last time this section was synced with the external app. */
198
+ lastSyncDate?: Date | null;
199
+ /** Whether the connection to the external system is currently active. */
200
+ connected?: boolean | null;
201
+ }
86
202
  interface DuplicateSectionRequest {
87
203
  /**
88
204
  * ID of the section to be duplicated.
@@ -112,6 +228,130 @@ interface DuplicateSectionResponse {
112
228
  */
113
229
  sectionId?: string[];
114
230
  }
231
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
232
+ /**
233
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
234
+ * @format GUID
235
+ */
236
+ metaSiteId?: string;
237
+ /**
238
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
239
+ * @format GUID
240
+ */
241
+ siteId?: string;
242
+ /** Invalidate by App */
243
+ app?: App;
244
+ /** Invalidate by page id */
245
+ page?: Page;
246
+ /** Invalidate by URI path */
247
+ uri?: URI;
248
+ /** Invalidate by file (for media files such as PDFs) */
249
+ file?: File;
250
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
251
+ customTag?: CustomTag;
252
+ /**
253
+ * tell us why you're invalidating the cache. You don't need to add your app name
254
+ * @maxLength 256
255
+ */
256
+ reason?: string | null;
257
+ /** Is local DS */
258
+ localDc?: boolean;
259
+ hardPurge?: boolean;
260
+ }
261
+ /** @oneof */
262
+ interface InvalidateCacheGetByOneOf {
263
+ /**
264
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
265
+ * @format GUID
266
+ */
267
+ metaSiteId?: string;
268
+ /**
269
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
270
+ * @format GUID
271
+ */
272
+ siteId?: string;
273
+ /** Invalidate by App */
274
+ app?: App;
275
+ /** Invalidate by page id */
276
+ page?: Page;
277
+ /** Invalidate by URI path */
278
+ uri?: URI;
279
+ /** Invalidate by file (for media files such as PDFs) */
280
+ file?: File;
281
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
282
+ customTag?: CustomTag;
283
+ }
284
+ interface App {
285
+ /**
286
+ * The AppDefId
287
+ * @minLength 1
288
+ */
289
+ appDefId?: string;
290
+ /**
291
+ * The instance Id
292
+ * @format GUID
293
+ */
294
+ instanceId?: string;
295
+ }
296
+ interface Page {
297
+ /**
298
+ * the msid the page is on
299
+ * @format GUID
300
+ */
301
+ metaSiteId?: string;
302
+ /**
303
+ * Invalidate by Page ID
304
+ * @minLength 1
305
+ */
306
+ pageId?: string;
307
+ }
308
+ interface URI {
309
+ /**
310
+ * the msid the URI is on
311
+ * @format GUID
312
+ */
313
+ metaSiteId?: string;
314
+ /**
315
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
316
+ * @minLength 1
317
+ */
318
+ uriPath?: string;
319
+ }
320
+ interface File {
321
+ /**
322
+ * the msid the file is related to
323
+ * @format GUID
324
+ */
325
+ metaSiteId?: string;
326
+ /**
327
+ * Invalidate by filename (for media files such as PDFs)
328
+ * @minLength 1
329
+ * @maxLength 256
330
+ */
331
+ fileName?: string;
332
+ }
333
+ interface CustomTag {
334
+ /**
335
+ * the msid the tag is related to
336
+ * @format GUID
337
+ */
338
+ metaSiteId?: string;
339
+ /**
340
+ * Tag to invalidate by
341
+ * @minLength 1
342
+ * @maxLength 256
343
+ */
344
+ tag?: string;
345
+ }
346
+ interface DeleteLocationIdFromItems {
347
+ /** @format GUID */
348
+ businessLocationId?: string;
349
+ /**
350
+ * @format GUID
351
+ * @maxSize 1000
352
+ */
353
+ itemIds?: string[];
354
+ }
115
355
  interface CreateSectionRequest {
116
356
  /** Section details. */
117
357
  section: Section;
@@ -343,6 +583,188 @@ interface BulkDeleteSectionResult {
343
583
  /** Metadata for deleted sections. */
344
584
  itemMetadata?: ItemMetadata;
345
585
  }
586
+ interface CloneSectionsRequest {
587
+ /**
588
+ * The MetaSiteId to clone from.
589
+ * @format GUID
590
+ */
591
+ metaSiteId?: string;
592
+ }
593
+ interface CloneSectionsResponse {
594
+ }
595
+ interface DomainEvent extends DomainEventBodyOneOf {
596
+ createdEvent?: EntityCreatedEvent;
597
+ updatedEvent?: EntityUpdatedEvent;
598
+ deletedEvent?: EntityDeletedEvent;
599
+ actionEvent?: ActionEvent;
600
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
601
+ id?: string;
602
+ /**
603
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
604
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
605
+ */
606
+ entityFqdn?: string;
607
+ /**
608
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
609
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
610
+ */
611
+ slug?: string;
612
+ /** ID of the entity associated with the event. */
613
+ entityId?: string;
614
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
615
+ eventTime?: Date | null;
616
+ /**
617
+ * Whether the event was triggered as a result of a privacy regulation application
618
+ * (for example, GDPR).
619
+ */
620
+ triggeredByAnonymizeRequest?: boolean | null;
621
+ /** If present, indicates the action that triggered the event. */
622
+ originatedFrom?: string | null;
623
+ /**
624
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
625
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
626
+ */
627
+ entityEventSequence?: string | null;
628
+ }
629
+ /** @oneof */
630
+ interface DomainEventBodyOneOf {
631
+ createdEvent?: EntityCreatedEvent;
632
+ updatedEvent?: EntityUpdatedEvent;
633
+ deletedEvent?: EntityDeletedEvent;
634
+ actionEvent?: ActionEvent;
635
+ }
636
+ interface EntityCreatedEvent {
637
+ entityAsJson?: string;
638
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
639
+ restoreInfo?: RestoreInfo;
640
+ }
641
+ interface RestoreInfo {
642
+ deletedDate?: Date | null;
643
+ }
644
+ interface EntityUpdatedEvent {
645
+ /**
646
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
647
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
648
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
649
+ */
650
+ currentEntityAsJson?: string;
651
+ }
652
+ interface EntityDeletedEvent {
653
+ /** Entity that was deleted. */
654
+ deletedEntityAsJson?: string | null;
655
+ }
656
+ interface ActionEvent {
657
+ bodyAsJson?: string;
658
+ }
659
+ interface Empty {
660
+ }
661
+ interface BulkUpdateBusinessLocationIdRequest {
662
+ /**
663
+ * section ids
664
+ * @format GUID
665
+ * @minSize 1
666
+ * @maxSize 100
667
+ */
668
+ sectionIds?: string[];
669
+ /**
670
+ * Business Location Id.
671
+ * @format GUID
672
+ */
673
+ businessLocationId?: string | null;
674
+ }
675
+ interface BulkUpdateBusinessLocationIdResponse {
676
+ /**
677
+ * Information about the updated sections.
678
+ * @minSize 1
679
+ * @maxSize 100
680
+ */
681
+ results?: BulkItemResult[];
682
+ }
683
+ interface BulkItemResult {
684
+ /** Metadata for item update. */
685
+ itemMetadata?: ItemMetadata;
686
+ }
687
+ interface SyncContentToMultilingualRequest {
688
+ /**
689
+ * MetaSite ID
690
+ * @format GUID
691
+ */
692
+ metaSiteId?: string;
693
+ }
694
+ interface SyncContentToMultilingualResponse {
695
+ }
696
+ interface MessageEnvelope {
697
+ /**
698
+ * App instance ID.
699
+ * @format GUID
700
+ */
701
+ instanceId?: string | null;
702
+ /**
703
+ * Event type.
704
+ * @maxLength 150
705
+ */
706
+ eventType?: string;
707
+ /** The identification type and identity data. */
708
+ identity?: IdentificationData;
709
+ /** Stringify payload. */
710
+ data?: string;
711
+ }
712
+ interface IdentificationData extends IdentificationDataIdOneOf {
713
+ /**
714
+ * ID of a site visitor that has not logged in to the site.
715
+ * @format GUID
716
+ */
717
+ anonymousVisitorId?: string;
718
+ /**
719
+ * ID of a site visitor that has logged in to the site.
720
+ * @format GUID
721
+ */
722
+ memberId?: string;
723
+ /**
724
+ * ID of a Wix user (site owner, contributor, etc.).
725
+ * @format GUID
726
+ */
727
+ wixUserId?: string;
728
+ /**
729
+ * ID of an app.
730
+ * @format GUID
731
+ */
732
+ appId?: string;
733
+ /** @readonly */
734
+ identityType?: WebhookIdentityTypeWithLiterals;
735
+ }
736
+ /** @oneof */
737
+ interface IdentificationDataIdOneOf {
738
+ /**
739
+ * ID of a site visitor that has not logged in to the site.
740
+ * @format GUID
741
+ */
742
+ anonymousVisitorId?: string;
743
+ /**
744
+ * ID of a site visitor that has logged in to the site.
745
+ * @format GUID
746
+ */
747
+ memberId?: string;
748
+ /**
749
+ * ID of a Wix user (site owner, contributor, etc.).
750
+ * @format GUID
751
+ */
752
+ wixUserId?: string;
753
+ /**
754
+ * ID of an app.
755
+ * @format GUID
756
+ */
757
+ appId?: string;
758
+ }
759
+ declare enum WebhookIdentityType {
760
+ UNKNOWN = "UNKNOWN",
761
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
762
+ MEMBER = "MEMBER",
763
+ WIX_USER = "WIX_USER",
764
+ APP = "APP"
765
+ }
766
+ /** @enumType */
767
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
346
768
 
347
769
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
348
770
  getUrl: (context: any) => string;
@@ -373,4 +795,4 @@ declare function deleteSection(): __PublicMethodMetaInfo<'DELETE', {
373
795
  }, DeleteSectionRequest$1, DeleteSectionRequest, DeleteSectionResponse$1, DeleteSectionResponse>;
374
796
  declare function bulkDeleteSections(): __PublicMethodMetaInfo<'DELETE', {}, BulkDeleteSectionsRequest$1, BulkDeleteSectionsRequest, BulkDeleteSectionsResponse$1, BulkDeleteSectionsResponse>;
375
797
 
376
- export { type __PublicMethodMetaInfo, bulkCreateSections, bulkDeleteSections, bulkUpdateSection, createSection, deleteSection, duplicateSection, getSection, listSections, querySections, updateSection };
798
+ export { type ActionEvent as ActionEventOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type AvailabilityAvailabilityTypeOptionsOneOf as AvailabilityAvailabilityTypeOptionsOneOfOriginal, type Availability as AvailabilityOriginal, AvailabilityType as AvailabilityTypeOriginal, type AvailabilityTypeWithLiterals as AvailabilityTypeWithLiteralsOriginal, type AvailableRange as AvailableRangeOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSectionResult as BulkCreateSectionResultOriginal, type BulkCreateSectionsRequest as BulkCreateSectionsRequestOriginal, type BulkCreateSectionsResponse as BulkCreateSectionsResponseOriginal, type BulkDeleteSectionResult as BulkDeleteSectionResultOriginal, type BulkDeleteSectionsRequest as BulkDeleteSectionsRequestOriginal, type BulkDeleteSectionsResponse as BulkDeleteSectionsResponseOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkSectionResult as BulkSectionResultOriginal, type BulkUpdateBusinessLocationIdRequest as BulkUpdateBusinessLocationIdRequestOriginal, type BulkUpdateBusinessLocationIdResponse as BulkUpdateBusinessLocationIdResponseOriginal, type BulkUpdateSectionRequest as BulkUpdateSectionRequestOriginal, type BulkUpdateSectionResponse as BulkUpdateSectionResponseOriginal, type CloneSectionsRequest as CloneSectionsRequestOriginal, type CloneSectionsResponse as CloneSectionsResponseOriginal, 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 CustomTag as CustomTagOriginal, type DayOfWeekAvailability as DayOfWeekAvailabilityOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteLocationIdFromItems as DeleteLocationIdFromItemsOriginal, type DeleteSectionRequest as DeleteSectionRequestOriginal, type DeleteSectionResponse as DeleteSectionResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateSectionRequest as DuplicateSectionRequestOriginal, type DuplicateSectionResponse as DuplicateSectionResponseOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GetSectionRequest as GetSectionRequestOriginal, type GetSectionResponse as GetSectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type ListSectionsRequest as ListSectionsRequestOriginal, type ListSectionsResponse as ListSectionsResponseOriginal, type MaskedSection as MaskedSectionOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type OrderSettings as OrderSettingsOriginal, type Page as PageOriginal, type QuerySectionsRequest as QuerySectionsRequestOriginal, type QuerySectionsResponse as QuerySectionsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type Section as SectionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type TimeOfDay as TimeOfDayOriginal, type TimeOfDayRange as TimeOfDayRangeOriginal, type TimestampRangesOptions as TimestampRangesOptionsOriginal, type URI as URIOriginal, type UpdateSectionRequest as UpdateSectionRequestOriginal, type UpdateSectionResponse as UpdateSectionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WeeklyScheduleOptions as WeeklyScheduleOptionsOriginal, type __PublicMethodMetaInfo, bulkCreateSections, bulkDeleteSections, bulkUpdateSection, createSection, deleteSection, duplicateSection, getSection, listSections, querySections, updateSection };
@@ -20,6 +20,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // meta.ts
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
+ AvailabilityTypeOriginal: () => AvailabilityType,
24
+ DayOfWeekOriginal: () => DayOfWeek,
25
+ SortOrderOriginal: () => SortOrder,
26
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
23
27
  bulkCreateSections: () => bulkCreateSections2,
24
28
  bulkDeleteSections: () => bulkDeleteSections2,
25
29
  bulkUpdateSection: () => bulkUpdateSection2,
@@ -238,6 +242,9 @@ function duplicateSection(payload) {
238
242
  method: "POST",
239
243
  methodFqn: "com.wixpress.restaurants.menus_section.v1.restaurants_duplicate_section.RestaurantsDuplicateSection.DuplicateSection",
240
244
  packageName: PACKAGE_NAME,
245
+ migrationOptions: {
246
+ optInTransformResponse: true
247
+ },
241
248
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsDuplicateSectionRestaurantsDuplicateSectionUrl(
242
249
  { protoPath: "/v1/sections/{id}/duplicate", data: payload, host }
243
250
  ),
@@ -272,6 +279,9 @@ function createSection(payload) {
272
279
  method: "POST",
273
280
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.CreateSection",
274
281
  packageName: PACKAGE_NAME,
282
+ migrationOptions: {
283
+ optInTransformResponse: true
284
+ },
275
285
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
276
286
  { protoPath: "/v1/sections", data: serializedData, host }
277
287
  ),
@@ -324,6 +334,9 @@ function bulkCreateSections(payload) {
324
334
  method: "POST",
325
335
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.BulkCreateSections",
326
336
  packageName: PACKAGE_NAME,
337
+ migrationOptions: {
338
+ optInTransformResponse: true
339
+ },
327
340
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
328
341
  { protoPath: "/v1/bulk/sections/create", data: serializedData, host }
329
342
  ),
@@ -358,6 +371,9 @@ function getSection(payload) {
358
371
  method: "GET",
359
372
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.GetSection",
360
373
  packageName: PACKAGE_NAME,
374
+ migrationOptions: {
375
+ optInTransformResponse: true
376
+ },
361
377
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
362
378
  { protoPath: "/v1/sections/{sectionId}", data: payload, host }
363
379
  ),
@@ -392,6 +408,9 @@ function listSections(payload) {
392
408
  method: "GET",
393
409
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.ListSections",
394
410
  packageName: PACKAGE_NAME,
411
+ migrationOptions: {
412
+ optInTransformResponse: true
413
+ },
395
414
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
396
415
  { protoPath: "/v1/sections", data: payload, host }
397
416
  ),
@@ -426,6 +445,9 @@ function querySections(payload) {
426
445
  method: "POST",
427
446
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.QuerySections",
428
447
  packageName: PACKAGE_NAME,
448
+ migrationOptions: {
449
+ optInTransformResponse: true
450
+ },
429
451
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
430
452
  { protoPath: "/v1/sections/query", data: payload, host }
431
453
  ),
@@ -482,6 +504,9 @@ function updateSection(payload) {
482
504
  method: "PATCH",
483
505
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.UpdateSection",
484
506
  packageName: PACKAGE_NAME,
507
+ migrationOptions: {
508
+ optInTransformResponse: true
509
+ },
485
510
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
486
511
  { protoPath: "/v1/sections/{section.id}", data: serializedData, host }
487
512
  ),
@@ -538,6 +563,9 @@ function bulkUpdateSection(payload) {
538
563
  method: "POST",
539
564
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.BulkUpdateSection",
540
565
  packageName: PACKAGE_NAME,
566
+ migrationOptions: {
567
+ optInTransformResponse: true
568
+ },
541
569
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
542
570
  { protoPath: "/v1/bulk/sections/update", data: serializedData, host }
543
571
  ),
@@ -572,6 +600,9 @@ function deleteSection(payload) {
572
600
  method: "DELETE",
573
601
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.DeleteSection",
574
602
  packageName: PACKAGE_NAME,
603
+ migrationOptions: {
604
+ optInTransformResponse: true
605
+ },
575
606
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
576
607
  { protoPath: "/v1/sections/{sectionId}", data: payload, host }
577
608
  ),
@@ -588,6 +619,9 @@ function bulkDeleteSections(payload) {
588
619
  method: "DELETE",
589
620
  methodFqn: "com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.BulkDeleteSections",
590
621
  packageName: PACKAGE_NAME,
622
+ migrationOptions: {
623
+ optInTransformResponse: true
624
+ },
591
625
  url: resolveComWixpressRestaurantsMenusSectionV1RestaurantsMenusSectionUrl(
592
626
  { protoPath: "/v1/bulk/sections/delete", data: payload, host }
593
627
  ),
@@ -598,6 +632,38 @@ function bulkDeleteSections(payload) {
598
632
  return __bulkDeleteSections;
599
633
  }
600
634
 
635
+ // src/restaurants-menus-v1-section-sections.types.ts
636
+ var AvailabilityType = /* @__PURE__ */ ((AvailabilityType2) => {
637
+ AvailabilityType2["UNSPECIFIED_AVAILABILITY_OPTION"] = "UNSPECIFIED_AVAILABILITY_OPTION";
638
+ AvailabilityType2["ALWAYS_AVAILABLE"] = "ALWAYS_AVAILABLE";
639
+ AvailabilityType2["WEEKLY_SCHEDULE"] = "WEEKLY_SCHEDULE";
640
+ AvailabilityType2["TIMESTAMP_RANGES"] = "TIMESTAMP_RANGES";
641
+ return AvailabilityType2;
642
+ })(AvailabilityType || {});
643
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
644
+ DayOfWeek2["MON"] = "MON";
645
+ DayOfWeek2["TUE"] = "TUE";
646
+ DayOfWeek2["WED"] = "WED";
647
+ DayOfWeek2["THU"] = "THU";
648
+ DayOfWeek2["FRI"] = "FRI";
649
+ DayOfWeek2["SAT"] = "SAT";
650
+ DayOfWeek2["SUN"] = "SUN";
651
+ return DayOfWeek2;
652
+ })(DayOfWeek || {});
653
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
654
+ SortOrder2["ASC"] = "ASC";
655
+ SortOrder2["DESC"] = "DESC";
656
+ return SortOrder2;
657
+ })(SortOrder || {});
658
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
659
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
660
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
661
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
662
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
663
+ WebhookIdentityType2["APP"] = "APP";
664
+ return WebhookIdentityType2;
665
+ })(WebhookIdentityType || {});
666
+
601
667
  // src/restaurants-menus-v1-section-sections.meta.ts
602
668
  function duplicateSection2() {
603
669
  const payload = { id: ":id" };
@@ -781,6 +847,10 @@ function bulkDeleteSections2() {
781
847
  }
782
848
  // Annotate the CommonJS export names for ESM import in node:
783
849
  0 && (module.exports = {
850
+ AvailabilityTypeOriginal,
851
+ DayOfWeekOriginal,
852
+ SortOrderOriginal,
853
+ WebhookIdentityTypeOriginal,
784
854
  bulkCreateSections,
785
855
  bulkDeleteSections,
786
856
  bulkUpdateSection,