@wix/auto_sdk_restaurants_item-modifiers 1.0.37 → 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.
- package/build/cjs/meta.d.ts +381 -1
- package/build/cjs/meta.js +19 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +381 -1
- package/build/es/meta.mjs +17 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +381 -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 +381 -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
|
@@ -63,6 +63,137 @@ interface ExtendedFields {
|
|
|
63
63
|
*/
|
|
64
64
|
namespaces?: Record<string, Record<string, any>>;
|
|
65
65
|
}
|
|
66
|
+
interface ExternalReferenceInfo {
|
|
67
|
+
/**
|
|
68
|
+
* ID of the external integrator app\system associated with this object.
|
|
69
|
+
* @format GUID
|
|
70
|
+
*/
|
|
71
|
+
externalAppId?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Reference to an external resource ID. Used to link this object to a specific entity in an external system.
|
|
74
|
+
* @maxLength 100
|
|
75
|
+
*/
|
|
76
|
+
externalEntityId?: string | null;
|
|
77
|
+
/** Last time this item modifier was synced with the external app. */
|
|
78
|
+
lastSyncDate?: Date | null;
|
|
79
|
+
/** Whether the connection to the external system is currently active. */
|
|
80
|
+
connected?: boolean | null;
|
|
81
|
+
}
|
|
82
|
+
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
83
|
+
/**
|
|
84
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
85
|
+
* @format GUID
|
|
86
|
+
*/
|
|
87
|
+
metaSiteId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
90
|
+
* @format GUID
|
|
91
|
+
*/
|
|
92
|
+
siteId?: string;
|
|
93
|
+
/** Invalidate by App */
|
|
94
|
+
app?: App;
|
|
95
|
+
/** Invalidate by page id */
|
|
96
|
+
page?: Page;
|
|
97
|
+
/** Invalidate by URI path */
|
|
98
|
+
uri?: URI;
|
|
99
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
100
|
+
file?: File;
|
|
101
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
102
|
+
customTag?: CustomTag;
|
|
103
|
+
/**
|
|
104
|
+
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
105
|
+
* @maxLength 256
|
|
106
|
+
*/
|
|
107
|
+
reason?: string | null;
|
|
108
|
+
/** Is local DS */
|
|
109
|
+
localDc?: boolean;
|
|
110
|
+
hardPurge?: boolean;
|
|
111
|
+
}
|
|
112
|
+
/** @oneof */
|
|
113
|
+
interface InvalidateCacheGetByOneOf {
|
|
114
|
+
/**
|
|
115
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
116
|
+
* @format GUID
|
|
117
|
+
*/
|
|
118
|
+
metaSiteId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
121
|
+
* @format GUID
|
|
122
|
+
*/
|
|
123
|
+
siteId?: string;
|
|
124
|
+
/** Invalidate by App */
|
|
125
|
+
app?: App;
|
|
126
|
+
/** Invalidate by page id */
|
|
127
|
+
page?: Page;
|
|
128
|
+
/** Invalidate by URI path */
|
|
129
|
+
uri?: URI;
|
|
130
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
131
|
+
file?: File;
|
|
132
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
133
|
+
customTag?: CustomTag;
|
|
134
|
+
}
|
|
135
|
+
interface App {
|
|
136
|
+
/**
|
|
137
|
+
* The AppDefId
|
|
138
|
+
* @minLength 1
|
|
139
|
+
*/
|
|
140
|
+
appDefId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The instance Id
|
|
143
|
+
* @format GUID
|
|
144
|
+
*/
|
|
145
|
+
instanceId?: string;
|
|
146
|
+
}
|
|
147
|
+
interface Page {
|
|
148
|
+
/**
|
|
149
|
+
* the msid the page is on
|
|
150
|
+
* @format GUID
|
|
151
|
+
*/
|
|
152
|
+
metaSiteId?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Invalidate by Page ID
|
|
155
|
+
* @minLength 1
|
|
156
|
+
*/
|
|
157
|
+
pageId?: string;
|
|
158
|
+
}
|
|
159
|
+
interface URI {
|
|
160
|
+
/**
|
|
161
|
+
* the msid the URI is on
|
|
162
|
+
* @format GUID
|
|
163
|
+
*/
|
|
164
|
+
metaSiteId?: string;
|
|
165
|
+
/**
|
|
166
|
+
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
167
|
+
* @minLength 1
|
|
168
|
+
*/
|
|
169
|
+
uriPath?: string;
|
|
170
|
+
}
|
|
171
|
+
interface File {
|
|
172
|
+
/**
|
|
173
|
+
* the msid the file is related to
|
|
174
|
+
* @format GUID
|
|
175
|
+
*/
|
|
176
|
+
metaSiteId?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Invalidate by filename (for media files such as PDFs)
|
|
179
|
+
* @minLength 1
|
|
180
|
+
* @maxLength 256
|
|
181
|
+
*/
|
|
182
|
+
fileName?: string;
|
|
183
|
+
}
|
|
184
|
+
interface CustomTag {
|
|
185
|
+
/**
|
|
186
|
+
* the msid the tag is related to
|
|
187
|
+
* @format GUID
|
|
188
|
+
*/
|
|
189
|
+
metaSiteId?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Tag to invalidate by
|
|
192
|
+
* @minLength 1
|
|
193
|
+
* @maxLength 256
|
|
194
|
+
*/
|
|
195
|
+
tag?: string;
|
|
196
|
+
}
|
|
66
197
|
interface CreateModifierRequest {
|
|
67
198
|
/** Item modifier to create. */
|
|
68
199
|
modifier: Modifier;
|
|
@@ -301,6 +432,255 @@ interface BulkDeleteModifiersResult {
|
|
|
301
432
|
/** Metadata for modifiers deletion. */
|
|
302
433
|
itemMetadata?: ItemMetadata;
|
|
303
434
|
}
|
|
435
|
+
interface CloneModifiersRequest {
|
|
436
|
+
/**
|
|
437
|
+
* The MetaSiteId to clone from
|
|
438
|
+
* @format GUID
|
|
439
|
+
*/
|
|
440
|
+
metaSiteId?: string;
|
|
441
|
+
}
|
|
442
|
+
interface CloneModifiersResponse {
|
|
443
|
+
}
|
|
444
|
+
interface BulkUpdateBusinessLocationIdsRequest {
|
|
445
|
+
/**
|
|
446
|
+
* modifier ids
|
|
447
|
+
* @format GUID
|
|
448
|
+
* @minSize 1
|
|
449
|
+
* @maxSize 100
|
|
450
|
+
*/
|
|
451
|
+
modifierIds?: string[];
|
|
452
|
+
/**
|
|
453
|
+
* Business Location Ids.
|
|
454
|
+
* @maxSize 20
|
|
455
|
+
* @format GUID
|
|
456
|
+
*/
|
|
457
|
+
businessLocationIds?: string[];
|
|
458
|
+
}
|
|
459
|
+
interface BulkUpdateBusinessLocationIdsResponse {
|
|
460
|
+
/**
|
|
461
|
+
* Information about the updated modifiers.
|
|
462
|
+
* @minSize 1
|
|
463
|
+
* @maxSize 100
|
|
464
|
+
*/
|
|
465
|
+
results?: BulkUpdateBusinessLocationIdsResponseBulkItemResult[];
|
|
466
|
+
}
|
|
467
|
+
interface BulkUpdateBusinessLocationIdsResponseBulkItemResult {
|
|
468
|
+
/** Metadata for item update. */
|
|
469
|
+
itemMetadata?: ItemMetadata;
|
|
470
|
+
}
|
|
471
|
+
interface BulkUpdateBusinessLocationIdsPerEntityRequest {
|
|
472
|
+
/**
|
|
473
|
+
* @minSize 1
|
|
474
|
+
* @maxSize 100
|
|
475
|
+
*/
|
|
476
|
+
modifierIdLocationIds?: ModifierIdLocationIds[];
|
|
477
|
+
}
|
|
478
|
+
interface ModifierIdLocationIds {
|
|
479
|
+
/**
|
|
480
|
+
* modifier ID
|
|
481
|
+
* @format GUID
|
|
482
|
+
*/
|
|
483
|
+
modifierId?: string;
|
|
484
|
+
/**
|
|
485
|
+
* Business Location IDs
|
|
486
|
+
* @maxSize 20
|
|
487
|
+
* @format GUID
|
|
488
|
+
*/
|
|
489
|
+
businessLocationIds?: string[];
|
|
490
|
+
}
|
|
491
|
+
interface BulkUpdateBusinessLocationIdsPerEntityResponse {
|
|
492
|
+
/**
|
|
493
|
+
* Information about the updated modifiers.
|
|
494
|
+
* @minSize 1
|
|
495
|
+
* @maxSize 100
|
|
496
|
+
*/
|
|
497
|
+
results?: BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult[];
|
|
498
|
+
}
|
|
499
|
+
interface BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult {
|
|
500
|
+
/** Metadata for item update. */
|
|
501
|
+
itemMetadata?: ItemMetadata;
|
|
502
|
+
}
|
|
503
|
+
interface BulkUpdateAttachedToOrphanItemRequest {
|
|
504
|
+
/**
|
|
505
|
+
* @minSize 1
|
|
506
|
+
* @maxSize 100
|
|
507
|
+
*/
|
|
508
|
+
modifierIdAttachedToOrphanItem?: ModifierIdAttachedToOrphanItem[];
|
|
509
|
+
}
|
|
510
|
+
interface ModifierIdAttachedToOrphanItem {
|
|
511
|
+
/**
|
|
512
|
+
* Modifier ID
|
|
513
|
+
* @format GUID
|
|
514
|
+
*/
|
|
515
|
+
modifierId?: string;
|
|
516
|
+
/** Attached to orphan item */
|
|
517
|
+
attachedToOrphanItem?: boolean;
|
|
518
|
+
}
|
|
519
|
+
interface BulkUpdateAttachedToOrphanItemResponse {
|
|
520
|
+
/**
|
|
521
|
+
* Information about the updated modifiers.
|
|
522
|
+
* @minSize 1
|
|
523
|
+
* @maxSize 100
|
|
524
|
+
*/
|
|
525
|
+
results?: BulkItemResult[];
|
|
526
|
+
}
|
|
527
|
+
interface BulkItemResult {
|
|
528
|
+
/** Metadata for item update. */
|
|
529
|
+
itemMetadata?: ItemMetadata;
|
|
530
|
+
}
|
|
531
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
532
|
+
createdEvent?: EntityCreatedEvent;
|
|
533
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
534
|
+
deletedEvent?: EntityDeletedEvent;
|
|
535
|
+
actionEvent?: ActionEvent;
|
|
536
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
537
|
+
id?: string;
|
|
538
|
+
/**
|
|
539
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
540
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
541
|
+
*/
|
|
542
|
+
entityFqdn?: string;
|
|
543
|
+
/**
|
|
544
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
545
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
546
|
+
*/
|
|
547
|
+
slug?: string;
|
|
548
|
+
/** ID of the entity associated with the event. */
|
|
549
|
+
entityId?: string;
|
|
550
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
551
|
+
eventTime?: Date | null;
|
|
552
|
+
/**
|
|
553
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
554
|
+
* (for example, GDPR).
|
|
555
|
+
*/
|
|
556
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
557
|
+
/** If present, indicates the action that triggered the event. */
|
|
558
|
+
originatedFrom?: string | null;
|
|
559
|
+
/**
|
|
560
|
+
* 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.
|
|
561
|
+
* 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.
|
|
562
|
+
*/
|
|
563
|
+
entityEventSequence?: string | null;
|
|
564
|
+
}
|
|
565
|
+
/** @oneof */
|
|
566
|
+
interface DomainEventBodyOneOf {
|
|
567
|
+
createdEvent?: EntityCreatedEvent;
|
|
568
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
569
|
+
deletedEvent?: EntityDeletedEvent;
|
|
570
|
+
actionEvent?: ActionEvent;
|
|
571
|
+
}
|
|
572
|
+
interface EntityCreatedEvent {
|
|
573
|
+
entityAsJson?: string;
|
|
574
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
575
|
+
restoreInfo?: RestoreInfo;
|
|
576
|
+
}
|
|
577
|
+
interface RestoreInfo {
|
|
578
|
+
deletedDate?: Date | null;
|
|
579
|
+
}
|
|
580
|
+
interface EntityUpdatedEvent {
|
|
581
|
+
/**
|
|
582
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
583
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
584
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
585
|
+
*/
|
|
586
|
+
currentEntityAsJson?: string;
|
|
587
|
+
}
|
|
588
|
+
interface EntityDeletedEvent {
|
|
589
|
+
/** Entity that was deleted. */
|
|
590
|
+
deletedEntityAsJson?: string | null;
|
|
591
|
+
}
|
|
592
|
+
interface ActionEvent {
|
|
593
|
+
bodyAsJson?: string;
|
|
594
|
+
}
|
|
595
|
+
interface Empty {
|
|
596
|
+
}
|
|
597
|
+
interface SyncContentToMultilingualRequest {
|
|
598
|
+
/**
|
|
599
|
+
* MetaSite ID
|
|
600
|
+
* @format GUID
|
|
601
|
+
*/
|
|
602
|
+
metaSiteId?: string;
|
|
603
|
+
}
|
|
604
|
+
interface SyncContentToMultilingualResponse {
|
|
605
|
+
}
|
|
606
|
+
interface MessageEnvelope {
|
|
607
|
+
/**
|
|
608
|
+
* App instance ID.
|
|
609
|
+
* @format GUID
|
|
610
|
+
*/
|
|
611
|
+
instanceId?: string | null;
|
|
612
|
+
/**
|
|
613
|
+
* Event type.
|
|
614
|
+
* @maxLength 150
|
|
615
|
+
*/
|
|
616
|
+
eventType?: string;
|
|
617
|
+
/** The identification type and identity data. */
|
|
618
|
+
identity?: IdentificationData;
|
|
619
|
+
/** Stringify payload. */
|
|
620
|
+
data?: string;
|
|
621
|
+
}
|
|
622
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
623
|
+
/**
|
|
624
|
+
* ID of a site visitor that has not logged in to the site.
|
|
625
|
+
* @format GUID
|
|
626
|
+
*/
|
|
627
|
+
anonymousVisitorId?: string;
|
|
628
|
+
/**
|
|
629
|
+
* ID of a site visitor that has logged in to the site.
|
|
630
|
+
* @format GUID
|
|
631
|
+
*/
|
|
632
|
+
memberId?: string;
|
|
633
|
+
/**
|
|
634
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
635
|
+
* @format GUID
|
|
636
|
+
*/
|
|
637
|
+
wixUserId?: string;
|
|
638
|
+
/**
|
|
639
|
+
* ID of an app.
|
|
640
|
+
* @format GUID
|
|
641
|
+
*/
|
|
642
|
+
appId?: string;
|
|
643
|
+
/** @readonly */
|
|
644
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
645
|
+
}
|
|
646
|
+
/** @oneof */
|
|
647
|
+
interface IdentificationDataIdOneOf {
|
|
648
|
+
/**
|
|
649
|
+
* ID of a site visitor that has not logged in to the site.
|
|
650
|
+
* @format GUID
|
|
651
|
+
*/
|
|
652
|
+
anonymousVisitorId?: string;
|
|
653
|
+
/**
|
|
654
|
+
* ID of a site visitor that has logged in to the site.
|
|
655
|
+
* @format GUID
|
|
656
|
+
*/
|
|
657
|
+
memberId?: string;
|
|
658
|
+
/**
|
|
659
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
660
|
+
* @format GUID
|
|
661
|
+
*/
|
|
662
|
+
wixUserId?: string;
|
|
663
|
+
/**
|
|
664
|
+
* ID of an app.
|
|
665
|
+
* @format GUID
|
|
666
|
+
*/
|
|
667
|
+
appId?: string;
|
|
668
|
+
}
|
|
669
|
+
declare enum WebhookIdentityType {
|
|
670
|
+
UNKNOWN = "UNKNOWN",
|
|
671
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
672
|
+
MEMBER = "MEMBER",
|
|
673
|
+
WIX_USER = "WIX_USER",
|
|
674
|
+
APP = "APP"
|
|
675
|
+
}
|
|
676
|
+
/** @enumType */
|
|
677
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
678
|
+
/** @docsIgnore */
|
|
679
|
+
type CountModifiersApplicationErrors = {
|
|
680
|
+
code?: 'TOO_MANY_TO_COUNT';
|
|
681
|
+
description?: string;
|
|
682
|
+
data?: Record<string, any>;
|
|
683
|
+
};
|
|
304
684
|
|
|
305
685
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
306
686
|
getUrl: (context: any) => string;
|
|
@@ -329,4 +709,4 @@ declare function queryModifiers(): __PublicMethodMetaInfo<'POST', {}, QueryModif
|
|
|
329
709
|
declare function countModifiers(): __PublicMethodMetaInfo<'POST', {}, CountModifiersRequest$1, CountModifiersRequest, CountModifiersResponse$1, CountModifiersResponse>;
|
|
330
710
|
declare function bulkDeleteModifiers(): __PublicMethodMetaInfo<'DELETE', {}, BulkDeleteModifiersRequest$1, BulkDeleteModifiersRequest, BulkDeleteModifiersResponse$1, BulkDeleteModifiersResponse>;
|
|
331
711
|
|
|
332
|
-
export { type __PublicMethodMetaInfo, bulkCreateModifiers, bulkDeleteModifiers, bulkUpdateModifiers, countModifiers, createModifier, deleteModifier, getModifier, listModifiers, queryModifiers, updateModifier };
|
|
712
|
+
export { type ActionEvent as ActionEventOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateModifierResult as BulkCreateModifierResultOriginal, type BulkCreateModifiersRequest as BulkCreateModifiersRequestOriginal, type BulkCreateModifiersResponse as BulkCreateModifiersResponseOriginal, type BulkDeleteModifiersRequest as BulkDeleteModifiersRequestOriginal, type BulkDeleteModifiersResponse as BulkDeleteModifiersResponseOriginal, type BulkDeleteModifiersResult as BulkDeleteModifiersResultOriginal, 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 BulkUpdateModifierResult as BulkUpdateModifierResultOriginal, type BulkUpdateModifiersRequest as BulkUpdateModifiersRequestOriginal, type BulkUpdateModifiersResponse as BulkUpdateModifiersResponseOriginal, type CloneModifiersRequest as CloneModifiersRequestOriginal, type CloneModifiersResponse as CloneModifiersResponseOriginal, type CountModifiersApplicationErrors as CountModifiersApplicationErrorsOriginal, type CountModifiersRequest as CountModifiersRequestOriginal, type CountModifiersResponse as CountModifiersResponseOriginal, type CreateModifierRequest as CreateModifierRequestOriginal, type CreateModifierResponse as CreateModifierResponseOriginal, 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 DeleteModifierRequest as DeleteModifierRequestOriginal, type DeleteModifierResponse as DeleteModifierResponseOriginal, 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 GetModifierRequest as GetModifierRequestOriginal, type GetModifierResponse as GetModifierResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type ListModifiersRequest as ListModifiersRequestOriginal, type ListModifiersResponse as ListModifiersResponseOriginal, type MaskedModifier as MaskedModifierOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierIdAttachedToOrphanItem as ModifierIdAttachedToOrphanItemOriginal, type ModifierIdLocationIds as ModifierIdLocationIdsOriginal, type Modifier as ModifierOriginal, type Page as PageOriginal, type QueryModifiersRequest as QueryModifiersRequestOriginal, type QueryModifiersResponse as QueryModifiersResponseOriginal, type RestoreInfo as RestoreInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type URI as URIOriginal, type UpdateModifierRequest as UpdateModifierRequestOriginal, type UpdateModifierResponse as UpdateModifierResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateModifiers, bulkDeleteModifiers, bulkUpdateModifiers, countModifiers, createModifier, deleteModifier, getModifier, listModifiers, queryModifiers, updateModifier };
|
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
|
bulkCreateModifiers: () => bulkCreateModifiers2,
|
|
24
26
|
bulkDeleteModifiers: () => bulkDeleteModifiers2,
|
|
25
27
|
bulkUpdateModifiers: () => bulkUpdateModifiers2,
|
|
@@ -481,6 +483,21 @@ function bulkDeleteModifiers(payload) {
|
|
|
481
483
|
return __bulkDeleteModifiers;
|
|
482
484
|
}
|
|
483
485
|
|
|
486
|
+
// src/restaurants-menus-v1-item-modifier-item-modifiers.types.ts
|
|
487
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
488
|
+
SortOrder2["ASC"] = "ASC";
|
|
489
|
+
SortOrder2["DESC"] = "DESC";
|
|
490
|
+
return SortOrder2;
|
|
491
|
+
})(SortOrder || {});
|
|
492
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
493
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
494
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
495
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
496
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
497
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
498
|
+
return WebhookIdentityType2;
|
|
499
|
+
})(WebhookIdentityType || {});
|
|
500
|
+
|
|
484
501
|
// src/restaurants-menus-v1-item-modifier-item-modifiers.meta.ts
|
|
485
502
|
function createModifier2() {
|
|
486
503
|
const payload = {};
|
|
@@ -664,6 +681,8 @@ function bulkDeleteModifiers2() {
|
|
|
664
681
|
}
|
|
665
682
|
// Annotate the CommonJS export names for ESM import in node:
|
|
666
683
|
0 && (module.exports = {
|
|
684
|
+
SortOrderOriginal,
|
|
685
|
+
WebhookIdentityTypeOriginal,
|
|
667
686
|
bulkCreateModifiers,
|
|
668
687
|
bulkDeleteModifiers,
|
|
669
688
|
bulkUpdateModifiers,
|