@wix/auto_sdk_restaurants_item-modifier-groups 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.
- package/build/cjs/meta.d.ts +411 -1
- package/build/cjs/meta.js +19 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +411 -1
- package/build/es/meta.mjs +17 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +411 -1
- package/build/internal/cjs/meta.js +19 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +411 -1
- package/build/internal/es/meta.mjs +17 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -93,6 +93,149 @@ interface ExtendedFields {
|
|
|
93
93
|
*/
|
|
94
94
|
namespaces?: Record<string, Record<string, any>>;
|
|
95
95
|
}
|
|
96
|
+
interface ExternalReferenceInfo {
|
|
97
|
+
/**
|
|
98
|
+
* ID of the external integrator app\system associated with this object.
|
|
99
|
+
* @format GUID
|
|
100
|
+
*/
|
|
101
|
+
externalAppId?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* Reference to an external resource ID. Used to link this object to a specific entity in an external system.
|
|
104
|
+
* @maxLength 100
|
|
105
|
+
*/
|
|
106
|
+
externalEntityId?: string | null;
|
|
107
|
+
/** Last time this modifier group was synced with the external app. */
|
|
108
|
+
lastSyncDate?: Date | null;
|
|
109
|
+
/** Whether the connection to the external system is currently active. */
|
|
110
|
+
connected?: boolean | null;
|
|
111
|
+
}
|
|
112
|
+
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
113
|
+
/**
|
|
114
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
115
|
+
* @format GUID
|
|
116
|
+
*/
|
|
117
|
+
metaSiteId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
120
|
+
* @format GUID
|
|
121
|
+
*/
|
|
122
|
+
siteId?: string;
|
|
123
|
+
/** Invalidate by App */
|
|
124
|
+
app?: App;
|
|
125
|
+
/** Invalidate by page id */
|
|
126
|
+
page?: Page;
|
|
127
|
+
/** Invalidate by URI path */
|
|
128
|
+
uri?: URI;
|
|
129
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
130
|
+
file?: File;
|
|
131
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
132
|
+
customTag?: CustomTag;
|
|
133
|
+
/**
|
|
134
|
+
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
135
|
+
* @maxLength 256
|
|
136
|
+
*/
|
|
137
|
+
reason?: string | null;
|
|
138
|
+
/** Is local DS */
|
|
139
|
+
localDc?: boolean;
|
|
140
|
+
hardPurge?: boolean;
|
|
141
|
+
}
|
|
142
|
+
/** @oneof */
|
|
143
|
+
interface InvalidateCacheGetByOneOf {
|
|
144
|
+
/**
|
|
145
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
146
|
+
* @format GUID
|
|
147
|
+
*/
|
|
148
|
+
metaSiteId?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
151
|
+
* @format GUID
|
|
152
|
+
*/
|
|
153
|
+
siteId?: string;
|
|
154
|
+
/** Invalidate by App */
|
|
155
|
+
app?: App;
|
|
156
|
+
/** Invalidate by page id */
|
|
157
|
+
page?: Page;
|
|
158
|
+
/** Invalidate by URI path */
|
|
159
|
+
uri?: URI;
|
|
160
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
161
|
+
file?: File;
|
|
162
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
163
|
+
customTag?: CustomTag;
|
|
164
|
+
}
|
|
165
|
+
interface App {
|
|
166
|
+
/**
|
|
167
|
+
* The AppDefId
|
|
168
|
+
* @minLength 1
|
|
169
|
+
*/
|
|
170
|
+
appDefId?: string;
|
|
171
|
+
/**
|
|
172
|
+
* The instance Id
|
|
173
|
+
* @format GUID
|
|
174
|
+
*/
|
|
175
|
+
instanceId?: string;
|
|
176
|
+
}
|
|
177
|
+
interface Page {
|
|
178
|
+
/**
|
|
179
|
+
* the msid the page is on
|
|
180
|
+
* @format GUID
|
|
181
|
+
*/
|
|
182
|
+
metaSiteId?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Invalidate by Page ID
|
|
185
|
+
* @minLength 1
|
|
186
|
+
*/
|
|
187
|
+
pageId?: string;
|
|
188
|
+
}
|
|
189
|
+
interface URI {
|
|
190
|
+
/**
|
|
191
|
+
* the msid the URI is on
|
|
192
|
+
* @format GUID
|
|
193
|
+
*/
|
|
194
|
+
metaSiteId?: string;
|
|
195
|
+
/**
|
|
196
|
+
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
197
|
+
* @minLength 1
|
|
198
|
+
*/
|
|
199
|
+
uriPath?: string;
|
|
200
|
+
}
|
|
201
|
+
interface File {
|
|
202
|
+
/**
|
|
203
|
+
* the msid the file is related to
|
|
204
|
+
* @format GUID
|
|
205
|
+
*/
|
|
206
|
+
metaSiteId?: string;
|
|
207
|
+
/**
|
|
208
|
+
* Invalidate by filename (for media files such as PDFs)
|
|
209
|
+
* @minLength 1
|
|
210
|
+
* @maxLength 256
|
|
211
|
+
*/
|
|
212
|
+
fileName?: string;
|
|
213
|
+
}
|
|
214
|
+
interface CustomTag {
|
|
215
|
+
/**
|
|
216
|
+
* the msid the tag is related to
|
|
217
|
+
* @format GUID
|
|
218
|
+
*/
|
|
219
|
+
metaSiteId?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Tag to invalidate by
|
|
222
|
+
* @minLength 1
|
|
223
|
+
* @maxLength 256
|
|
224
|
+
*/
|
|
225
|
+
tag?: string;
|
|
226
|
+
}
|
|
227
|
+
interface DeleteLocationIdsFromModifiers {
|
|
228
|
+
/**
|
|
229
|
+
* @format GUID
|
|
230
|
+
* @maxSize 100
|
|
231
|
+
*/
|
|
232
|
+
businessLocationIds?: string[];
|
|
233
|
+
/**
|
|
234
|
+
* @format GUID
|
|
235
|
+
* @maxSize 1000
|
|
236
|
+
*/
|
|
237
|
+
modifierIds?: string[];
|
|
238
|
+
}
|
|
96
239
|
interface CreateModifierGroupRequest {
|
|
97
240
|
/** Modifier group details. */
|
|
98
241
|
modifierGroup: ModifierGroup;
|
|
@@ -331,6 +474,273 @@ interface BulkDeleteModifierGroupsResult {
|
|
|
331
474
|
/** Metadata for group modifier deletion. */
|
|
332
475
|
itemMetadata?: ItemMetadata;
|
|
333
476
|
}
|
|
477
|
+
interface BulkUpdateBusinessLocationIdsRequest {
|
|
478
|
+
/**
|
|
479
|
+
* Modifier group IDs
|
|
480
|
+
* @format GUID
|
|
481
|
+
* @minSize 1
|
|
482
|
+
* @maxSize 100
|
|
483
|
+
*/
|
|
484
|
+
modifierGroupIds?: string[];
|
|
485
|
+
/**
|
|
486
|
+
* Business Location IDs.
|
|
487
|
+
* @maxSize 100
|
|
488
|
+
* @format GUID
|
|
489
|
+
*/
|
|
490
|
+
businessLocationIds?: string[];
|
|
491
|
+
}
|
|
492
|
+
interface BulkUpdateBusinessLocationIdsResponse {
|
|
493
|
+
/**
|
|
494
|
+
* Information about the updated modifier groups.
|
|
495
|
+
* @minSize 1
|
|
496
|
+
* @maxSize 100
|
|
497
|
+
*/
|
|
498
|
+
results?: BulkUpdateBusinessLocationIdsResponseBulkItemResult[];
|
|
499
|
+
}
|
|
500
|
+
interface BulkUpdateBusinessLocationIdsResponseBulkItemResult {
|
|
501
|
+
/** Metadata for item update. */
|
|
502
|
+
itemMetadata?: ItemMetadata;
|
|
503
|
+
}
|
|
504
|
+
interface BulkUpdateBusinessLocationIdsPerEntityRequest {
|
|
505
|
+
/**
|
|
506
|
+
* @minSize 1
|
|
507
|
+
* @maxSize 100
|
|
508
|
+
*/
|
|
509
|
+
modifierGroupIdLocationIds?: ModifierGroupIdLocationIds[];
|
|
510
|
+
}
|
|
511
|
+
interface ModifierGroupIdLocationIds {
|
|
512
|
+
/**
|
|
513
|
+
* Modifier group ID
|
|
514
|
+
* @format GUID
|
|
515
|
+
*/
|
|
516
|
+
modifierGroupId?: string;
|
|
517
|
+
/**
|
|
518
|
+
* Business Location IDs
|
|
519
|
+
* @maxSize 100
|
|
520
|
+
* @format GUID
|
|
521
|
+
*/
|
|
522
|
+
businessLocationIds?: string[];
|
|
523
|
+
}
|
|
524
|
+
interface BulkUpdateBusinessLocationIdsPerEntityResponse {
|
|
525
|
+
/**
|
|
526
|
+
* Information about the updated modifier groups.
|
|
527
|
+
* @minSize 1
|
|
528
|
+
* @maxSize 100
|
|
529
|
+
*/
|
|
530
|
+
results?: BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult[];
|
|
531
|
+
}
|
|
532
|
+
interface BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult {
|
|
533
|
+
/** Metadata for item update. */
|
|
534
|
+
itemMetadata?: ItemMetadata;
|
|
535
|
+
}
|
|
536
|
+
interface BulkUpdateAttachedToOrphanItemRequest {
|
|
537
|
+
/**
|
|
538
|
+
* @minSize 1
|
|
539
|
+
* @maxSize 100
|
|
540
|
+
*/
|
|
541
|
+
modifierGroupIdAttachedToOrphanItem?: ModifierGroupIdAttachedToOrphanItem[];
|
|
542
|
+
}
|
|
543
|
+
interface ModifierGroupIdAttachedToOrphanItem {
|
|
544
|
+
/**
|
|
545
|
+
* Modifier group ID
|
|
546
|
+
* @format GUID
|
|
547
|
+
*/
|
|
548
|
+
modifierGroupId?: string;
|
|
549
|
+
/** Attached to orphan item */
|
|
550
|
+
attachedToOrphanItem?: boolean;
|
|
551
|
+
}
|
|
552
|
+
interface BulkUpdateAttachedToOrphanItemResponse {
|
|
553
|
+
/**
|
|
554
|
+
* Information about the updated modifier groups.
|
|
555
|
+
* @minSize 1
|
|
556
|
+
* @maxSize 100
|
|
557
|
+
*/
|
|
558
|
+
results?: BulkItemResult[];
|
|
559
|
+
}
|
|
560
|
+
interface BulkItemResult {
|
|
561
|
+
/** Metadata for item update. */
|
|
562
|
+
itemMetadata?: ItemMetadata;
|
|
563
|
+
}
|
|
564
|
+
interface AddModifiersToGroupUnlimitedRequest {
|
|
565
|
+
/**
|
|
566
|
+
* Modifier group ID to add modifiers to.
|
|
567
|
+
* @format GUID
|
|
568
|
+
*/
|
|
569
|
+
modifierGroupId?: string;
|
|
570
|
+
/**
|
|
571
|
+
* List of modifier IDs to add to the modifier group. Limited to 500 items.
|
|
572
|
+
* @format GUID
|
|
573
|
+
* @minSize 1
|
|
574
|
+
* @maxSize 500
|
|
575
|
+
*/
|
|
576
|
+
modifierIds?: string[];
|
|
577
|
+
}
|
|
578
|
+
interface AddModifiersToGroupUnlimitedResponse {
|
|
579
|
+
/** Updated modifier group with the new modifiers added. */
|
|
580
|
+
modifierGroup?: ModifierGroup;
|
|
581
|
+
}
|
|
582
|
+
interface CloneModifierGroupsRequest {
|
|
583
|
+
/**
|
|
584
|
+
* The MetaSiteId to clone from.
|
|
585
|
+
* @format GUID
|
|
586
|
+
*/
|
|
587
|
+
metaSiteId?: string;
|
|
588
|
+
}
|
|
589
|
+
interface CloneModifierGroupsResponse {
|
|
590
|
+
}
|
|
591
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
592
|
+
createdEvent?: EntityCreatedEvent;
|
|
593
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
594
|
+
deletedEvent?: EntityDeletedEvent;
|
|
595
|
+
actionEvent?: ActionEvent;
|
|
596
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
597
|
+
id?: string;
|
|
598
|
+
/**
|
|
599
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
600
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
601
|
+
*/
|
|
602
|
+
entityFqdn?: string;
|
|
603
|
+
/**
|
|
604
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
605
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
606
|
+
*/
|
|
607
|
+
slug?: string;
|
|
608
|
+
/** ID of the entity associated with the event. */
|
|
609
|
+
entityId?: string;
|
|
610
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
611
|
+
eventTime?: Date | null;
|
|
612
|
+
/**
|
|
613
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
614
|
+
* (for example, GDPR).
|
|
615
|
+
*/
|
|
616
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
617
|
+
/** If present, indicates the action that triggered the event. */
|
|
618
|
+
originatedFrom?: string | null;
|
|
619
|
+
/**
|
|
620
|
+
* 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.
|
|
621
|
+
* 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.
|
|
622
|
+
*/
|
|
623
|
+
entityEventSequence?: string | null;
|
|
624
|
+
}
|
|
625
|
+
/** @oneof */
|
|
626
|
+
interface DomainEventBodyOneOf {
|
|
627
|
+
createdEvent?: EntityCreatedEvent;
|
|
628
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
629
|
+
deletedEvent?: EntityDeletedEvent;
|
|
630
|
+
actionEvent?: ActionEvent;
|
|
631
|
+
}
|
|
632
|
+
interface EntityCreatedEvent {
|
|
633
|
+
entityAsJson?: string;
|
|
634
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
635
|
+
restoreInfo?: RestoreInfo;
|
|
636
|
+
}
|
|
637
|
+
interface RestoreInfo {
|
|
638
|
+
deletedDate?: Date | null;
|
|
639
|
+
}
|
|
640
|
+
interface EntityUpdatedEvent {
|
|
641
|
+
/**
|
|
642
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
643
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
644
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
645
|
+
*/
|
|
646
|
+
currentEntityAsJson?: string;
|
|
647
|
+
}
|
|
648
|
+
interface EntityDeletedEvent {
|
|
649
|
+
/** Entity that was deleted. */
|
|
650
|
+
deletedEntityAsJson?: string | null;
|
|
651
|
+
}
|
|
652
|
+
interface ActionEvent {
|
|
653
|
+
bodyAsJson?: string;
|
|
654
|
+
}
|
|
655
|
+
interface Empty {
|
|
656
|
+
}
|
|
657
|
+
interface SyncContentToMultilingualRequest {
|
|
658
|
+
/**
|
|
659
|
+
* MetaSite ID
|
|
660
|
+
* @format GUID
|
|
661
|
+
*/
|
|
662
|
+
metaSiteId?: string;
|
|
663
|
+
}
|
|
664
|
+
interface SyncContentToMultilingualResponse {
|
|
665
|
+
}
|
|
666
|
+
interface MessageEnvelope {
|
|
667
|
+
/**
|
|
668
|
+
* App instance ID.
|
|
669
|
+
* @format GUID
|
|
670
|
+
*/
|
|
671
|
+
instanceId?: string | null;
|
|
672
|
+
/**
|
|
673
|
+
* Event type.
|
|
674
|
+
* @maxLength 150
|
|
675
|
+
*/
|
|
676
|
+
eventType?: string;
|
|
677
|
+
/** The identification type and identity data. */
|
|
678
|
+
identity?: IdentificationData;
|
|
679
|
+
/** Stringify payload. */
|
|
680
|
+
data?: string;
|
|
681
|
+
}
|
|
682
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
683
|
+
/**
|
|
684
|
+
* ID of a site visitor that has not logged in to the site.
|
|
685
|
+
* @format GUID
|
|
686
|
+
*/
|
|
687
|
+
anonymousVisitorId?: string;
|
|
688
|
+
/**
|
|
689
|
+
* ID of a site visitor that has logged in to the site.
|
|
690
|
+
* @format GUID
|
|
691
|
+
*/
|
|
692
|
+
memberId?: string;
|
|
693
|
+
/**
|
|
694
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
695
|
+
* @format GUID
|
|
696
|
+
*/
|
|
697
|
+
wixUserId?: string;
|
|
698
|
+
/**
|
|
699
|
+
* ID of an app.
|
|
700
|
+
* @format GUID
|
|
701
|
+
*/
|
|
702
|
+
appId?: string;
|
|
703
|
+
/** @readonly */
|
|
704
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
705
|
+
}
|
|
706
|
+
/** @oneof */
|
|
707
|
+
interface IdentificationDataIdOneOf {
|
|
708
|
+
/**
|
|
709
|
+
* ID of a site visitor that has not logged in to the site.
|
|
710
|
+
* @format GUID
|
|
711
|
+
*/
|
|
712
|
+
anonymousVisitorId?: string;
|
|
713
|
+
/**
|
|
714
|
+
* ID of a site visitor that has logged in to the site.
|
|
715
|
+
* @format GUID
|
|
716
|
+
*/
|
|
717
|
+
memberId?: string;
|
|
718
|
+
/**
|
|
719
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
720
|
+
* @format GUID
|
|
721
|
+
*/
|
|
722
|
+
wixUserId?: string;
|
|
723
|
+
/**
|
|
724
|
+
* ID of an app.
|
|
725
|
+
* @format GUID
|
|
726
|
+
*/
|
|
727
|
+
appId?: string;
|
|
728
|
+
}
|
|
729
|
+
declare enum WebhookIdentityType {
|
|
730
|
+
UNKNOWN = "UNKNOWN",
|
|
731
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
732
|
+
MEMBER = "MEMBER",
|
|
733
|
+
WIX_USER = "WIX_USER",
|
|
734
|
+
APP = "APP"
|
|
735
|
+
}
|
|
736
|
+
/** @enumType */
|
|
737
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
738
|
+
/** @docsIgnore */
|
|
739
|
+
type CountModifierGroupsApplicationErrors = {
|
|
740
|
+
code?: 'TOO_MANY_TO_COUNT';
|
|
741
|
+
description?: string;
|
|
742
|
+
data?: Record<string, any>;
|
|
743
|
+
};
|
|
334
744
|
|
|
335
745
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
336
746
|
getUrl: (context: any) => string;
|
|
@@ -359,4 +769,4 @@ declare function bulkCreateModifierGroups(): __PublicMethodMetaInfo<'POST', {},
|
|
|
359
769
|
declare function bulkUpdateModifierGroups(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateModifierGroupsRequest$1, BulkUpdateModifierGroupsRequest, BulkUpdateModifierGroupsResponse$1, BulkUpdateModifierGroupsResponse>;
|
|
360
770
|
declare function bulkDeleteModifierGroups(): __PublicMethodMetaInfo<'DELETE', {}, BulkDeleteModifierGroupsRequest$1, BulkDeleteModifierGroupsRequest, BulkDeleteModifierGroupsResponse$1, BulkDeleteModifierGroupsResponse>;
|
|
361
771
|
|
|
362
|
-
export { type __PublicMethodMetaInfo, bulkCreateModifierGroups, bulkDeleteModifierGroups, bulkUpdateModifierGroups, countModifierGroups, createModifierGroup, deleteModifierGroup, getModifierGroup, listModifierGroups, queryModifierGroups, updateModifierGroup };
|
|
772
|
+
export { type ActionEvent as ActionEventOriginal, type AddModifiersToGroupUnlimitedRequest as AddModifiersToGroupUnlimitedRequestOriginal, type AddModifiersToGroupUnlimitedResponse as AddModifiersToGroupUnlimitedResponseOriginal, type AdditionalChargeInfo as AdditionalChargeInfoOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateModifierGroupsRequest as BulkCreateModifierGroupsRequestOriginal, type BulkCreateModifierGroupsResponse as BulkCreateModifierGroupsResponseOriginal, type BulkCreateModifierGroupsResult as BulkCreateModifierGroupsResultOriginal, type BulkDeleteModifierGroupsRequest as BulkDeleteModifierGroupsRequestOriginal, type BulkDeleteModifierGroupsResponse as BulkDeleteModifierGroupsResponseOriginal, type BulkDeleteModifierGroupsResult as BulkDeleteModifierGroupsResultOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkUpdateAttachedToOrphanItemRequest as BulkUpdateAttachedToOrphanItemRequestOriginal, type BulkUpdateAttachedToOrphanItemResponse as BulkUpdateAttachedToOrphanItemResponseOriginal, type BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult as BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal, type BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal, type BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal, type BulkUpdateModifierGroupsRequest as BulkUpdateModifierGroupsRequestOriginal, type BulkUpdateModifierGroupsResponse as BulkUpdateModifierGroupsResponseOriginal, type BulkUpdateModifierGroupsResult as BulkUpdateModifierGroupsResultOriginal, type CloneModifierGroupsRequest as CloneModifierGroupsRequestOriginal, type CloneModifierGroupsResponse as CloneModifierGroupsResponseOriginal, type CountModifierGroupsApplicationErrors as CountModifierGroupsApplicationErrorsOriginal, type CountModifierGroupsRequest as CountModifierGroupsRequestOriginal, type CountModifierGroupsResponse as CountModifierGroupsResponseOriginal, type CreateModifierGroupRequest as CreateModifierGroupRequestOriginal, type CreateModifierGroupResponse as CreateModifierGroupResponseOriginal, 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 DeleteLocationIdsFromModifiers as DeleteLocationIdsFromModifiersOriginal, type DeleteModifierGroupRequest as DeleteModifierGroupRequestOriginal, type DeleteModifierGroupResponse as DeleteModifierGroupResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, 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 GetModifierGroupRequest as GetModifierGroupRequestOriginal, type GetModifierGroupResponse as GetModifierGroupResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type ListModifierGroupRequest as ListModifierGroupRequestOriginal, type ListModifierGroupResponse as ListModifierGroupResponseOriginal, type MaskedModifierGroup as MaskedModifierGroupOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroupIdAttachedToOrphanItem as ModifierGroupIdAttachedToOrphanItemOriginal, type ModifierGroupIdLocationIds as ModifierGroupIdLocationIdsOriginal, type ModifierGroup as ModifierGroupOriginal, type Modifier as ModifierOriginal, type Page as PageOriginal, type QueryModifierGroupsRequest as QueryModifierGroupsRequestOriginal, type QueryModifierGroupsResponse as QueryModifierGroupsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type Rule as RuleOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type URI as URIOriginal, type UpdateModifierGroupRequest as UpdateModifierGroupRequestOriginal, type UpdateModifierGroupResponse as UpdateModifierGroupResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateModifierGroups, bulkDeleteModifierGroups, bulkUpdateModifierGroups, countModifierGroups, createModifierGroup, deleteModifierGroup, getModifierGroup, listModifierGroups, queryModifierGroups, updateModifierGroup };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
SortOrderOriginal: () => SortOrder,
|
|
24
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
25
|
bulkCreateModifierGroups: () => bulkCreateModifierGroups2,
|
|
24
26
|
bulkDeleteModifierGroups: () => bulkDeleteModifierGroups2,
|
|
25
27
|
bulkUpdateModifierGroups: () => bulkUpdateModifierGroups2,
|
|
@@ -495,6 +497,21 @@ function bulkDeleteModifierGroups(payload) {
|
|
|
495
497
|
return __bulkDeleteModifierGroups;
|
|
496
498
|
}
|
|
497
499
|
|
|
500
|
+
// src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.ts
|
|
501
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
502
|
+
SortOrder2["ASC"] = "ASC";
|
|
503
|
+
SortOrder2["DESC"] = "DESC";
|
|
504
|
+
return SortOrder2;
|
|
505
|
+
})(SortOrder || {});
|
|
506
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
507
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
508
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
509
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
510
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
511
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
512
|
+
return WebhookIdentityType2;
|
|
513
|
+
})(WebhookIdentityType || {});
|
|
514
|
+
|
|
498
515
|
// src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.ts
|
|
499
516
|
function createModifierGroup2() {
|
|
500
517
|
const payload = {};
|
|
@@ -696,6 +713,8 @@ function bulkDeleteModifierGroups2() {
|
|
|
696
713
|
}
|
|
697
714
|
// Annotate the CommonJS export names for ESM import in node:
|
|
698
715
|
0 && (module.exports = {
|
|
716
|
+
SortOrderOriginal,
|
|
717
|
+
WebhookIdentityTypeOriginal,
|
|
699
718
|
bulkCreateModifierGroups,
|
|
700
719
|
bulkDeleteModifierGroups,
|
|
701
720
|
bulkUpdateModifierGroups,
|