@wix/auto_sdk_stores_customizations-v-3 1.0.36 → 1.0.37

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.
@@ -203,6 +203,164 @@ declare enum ChoiceType {
203
203
  }
204
204
  /** @enumType */
205
205
  type ChoiceTypeWithLiterals = ChoiceType | 'UNKNOWN_CHOICE_TYPE' | 'CHOICE_TEXT' | 'ONE_COLOR' | 'MULTIPLE_COLORS' | 'IMAGE';
206
+ interface MultipleColors {
207
+ /**
208
+ * A list of color codes.
209
+ * @minLength 3
210
+ * @maxLength 20
211
+ * @minSize 2
212
+ * @maxSize 2
213
+ */
214
+ colorCodes?: string[];
215
+ }
216
+ interface Image {
217
+ /** WixMedia image ID. */
218
+ id?: string;
219
+ /** Image URL. */
220
+ url?: string;
221
+ /**
222
+ * Original image height.
223
+ * @readonly
224
+ */
225
+ height?: number;
226
+ /**
227
+ * Original image width.
228
+ * @readonly
229
+ */
230
+ width?: number;
231
+ /** Image alt text. */
232
+ altText?: string | null;
233
+ /**
234
+ * Image filename.
235
+ * @readonly
236
+ */
237
+ filename?: string | null;
238
+ }
239
+ interface FocalPoint {
240
+ /** X-coordinate of the focal point. */
241
+ x?: number;
242
+ /** Y-coordinate of the focal point. */
243
+ y?: number;
244
+ /** crop by height */
245
+ height?: number | null;
246
+ /** crop by width */
247
+ width?: number | null;
248
+ }
249
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
250
+ /**
251
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
252
+ * @format GUID
253
+ */
254
+ metaSiteId?: string;
255
+ /**
256
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
257
+ * @format GUID
258
+ */
259
+ siteId?: string;
260
+ /** Invalidate by App */
261
+ app?: App;
262
+ /** Invalidate by page id */
263
+ page?: Page;
264
+ /** Invalidate by URI path */
265
+ uri?: URI;
266
+ /** Invalidate by file (for media files such as PDFs) */
267
+ file?: File;
268
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
269
+ customTag?: CustomTag;
270
+ /**
271
+ * tell us why you're invalidating the cache. You don't need to add your app name
272
+ * @maxLength 256
273
+ */
274
+ reason?: string | null;
275
+ /** Is local DS */
276
+ localDc?: boolean;
277
+ hardPurge?: boolean;
278
+ }
279
+ /** @oneof */
280
+ interface InvalidateCacheGetByOneOf {
281
+ /**
282
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
283
+ * @format GUID
284
+ */
285
+ metaSiteId?: string;
286
+ /**
287
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
288
+ * @format GUID
289
+ */
290
+ siteId?: string;
291
+ /** Invalidate by App */
292
+ app?: App;
293
+ /** Invalidate by page id */
294
+ page?: Page;
295
+ /** Invalidate by URI path */
296
+ uri?: URI;
297
+ /** Invalidate by file (for media files such as PDFs) */
298
+ file?: File;
299
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
300
+ customTag?: CustomTag;
301
+ }
302
+ interface App {
303
+ /**
304
+ * The AppDefId
305
+ * @minLength 1
306
+ */
307
+ appDefId?: string;
308
+ /**
309
+ * The instance Id
310
+ * @format GUID
311
+ */
312
+ instanceId?: string;
313
+ }
314
+ interface Page {
315
+ /**
316
+ * the msid the page is on
317
+ * @format GUID
318
+ */
319
+ metaSiteId?: string;
320
+ /**
321
+ * Invalidate by Page ID
322
+ * @minLength 1
323
+ */
324
+ pageId?: string;
325
+ }
326
+ interface URI {
327
+ /**
328
+ * the msid the URI is on
329
+ * @format GUID
330
+ */
331
+ metaSiteId?: string;
332
+ /**
333
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
334
+ * @minLength 1
335
+ */
336
+ uriPath?: string;
337
+ }
338
+ interface File {
339
+ /**
340
+ * the msid the file is related to
341
+ * @format GUID
342
+ */
343
+ metaSiteId?: string;
344
+ /**
345
+ * Invalidate by filename (for media files such as PDFs)
346
+ * @minLength 1
347
+ * @maxLength 256
348
+ */
349
+ fileName?: string;
350
+ }
351
+ interface CustomTag {
352
+ /**
353
+ * the msid the tag is related to
354
+ * @format GUID
355
+ */
356
+ metaSiteId?: string;
357
+ /**
358
+ * Tag to invalidate by
359
+ * @minLength 1
360
+ * @maxLength 256
361
+ */
362
+ tag?: string;
363
+ }
206
364
  interface CreateCustomizationRequest {
207
365
  /** Customization to create. */
208
366
  customization: Customization;
@@ -427,6 +585,17 @@ interface BulkActionMetadata {
427
585
  /** Number of failures without details because detailed failure threshold was exceeded. */
428
586
  undetailedFailures?: number;
429
587
  }
588
+ interface CustomizationIdsWrapper {
589
+ /**
590
+ * list of all the customization ids that are invalid
591
+ * e.g list of failed choices ids
592
+ * @minSize 1
593
+ * @maxSize 100
594
+ * @minLength 1
595
+ * @maxLength 36
596
+ */
597
+ customizationIds?: string[];
598
+ }
430
599
  interface AddCustomizationChoicesRequest {
431
600
  /**
432
601
  * Customization ID.
@@ -582,6 +751,276 @@ interface BulkUpdateCustomizationsResponse {
582
751
  /** Bulk action metadata. */
583
752
  bulkActionMetadata?: BulkActionMetadata;
584
753
  }
754
+ interface DomainEvent extends DomainEventBodyOneOf {
755
+ createdEvent?: EntityCreatedEvent;
756
+ updatedEvent?: EntityUpdatedEvent;
757
+ deletedEvent?: EntityDeletedEvent;
758
+ actionEvent?: ActionEvent;
759
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
760
+ id?: string;
761
+ /**
762
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
763
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
764
+ */
765
+ entityFqdn?: string;
766
+ /**
767
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
768
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
769
+ */
770
+ slug?: string;
771
+ /** ID of the entity associated with the event. */
772
+ entityId?: string;
773
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
774
+ eventTime?: Date | null;
775
+ /**
776
+ * Whether the event was triggered as a result of a privacy regulation application
777
+ * (for example, GDPR).
778
+ */
779
+ triggeredByAnonymizeRequest?: boolean | null;
780
+ /** If present, indicates the action that triggered the event. */
781
+ originatedFrom?: string | null;
782
+ /**
783
+ * 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.
784
+ * 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.
785
+ */
786
+ entityEventSequence?: string | null;
787
+ }
788
+ /** @oneof */
789
+ interface DomainEventBodyOneOf {
790
+ createdEvent?: EntityCreatedEvent;
791
+ updatedEvent?: EntityUpdatedEvent;
792
+ deletedEvent?: EntityDeletedEvent;
793
+ actionEvent?: ActionEvent;
794
+ }
795
+ interface EntityCreatedEvent {
796
+ entityAsJson?: string;
797
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
798
+ restoreInfo?: RestoreInfo;
799
+ }
800
+ interface RestoreInfo {
801
+ deletedDate?: Date | null;
802
+ }
803
+ interface EntityUpdatedEvent {
804
+ /**
805
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
806
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
807
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
808
+ */
809
+ currentEntityAsJson?: string;
810
+ }
811
+ interface EntityDeletedEvent {
812
+ /** Entity that was deleted. */
813
+ deletedEntityAsJson?: string | null;
814
+ }
815
+ interface ActionEvent {
816
+ bodyAsJson?: string;
817
+ }
818
+ interface Empty {
819
+ }
820
+ interface MessageEnvelope {
821
+ /**
822
+ * App instance ID.
823
+ * @format GUID
824
+ */
825
+ instanceId?: string | null;
826
+ /**
827
+ * Event type.
828
+ * @maxLength 150
829
+ */
830
+ eventType?: string;
831
+ /** The identification type and identity data. */
832
+ identity?: IdentificationData;
833
+ /** Stringify payload. */
834
+ data?: string;
835
+ }
836
+ interface IdentificationData extends IdentificationDataIdOneOf {
837
+ /**
838
+ * ID of a site visitor that has not logged in to the site.
839
+ * @format GUID
840
+ */
841
+ anonymousVisitorId?: string;
842
+ /**
843
+ * ID of a site visitor that has logged in to the site.
844
+ * @format GUID
845
+ */
846
+ memberId?: string;
847
+ /**
848
+ * ID of a Wix user (site owner, contributor, etc.).
849
+ * @format GUID
850
+ */
851
+ wixUserId?: string;
852
+ /**
853
+ * ID of an app.
854
+ * @format GUID
855
+ */
856
+ appId?: string;
857
+ /** @readonly */
858
+ identityType?: WebhookIdentityTypeWithLiterals;
859
+ }
860
+ /** @oneof */
861
+ interface IdentificationDataIdOneOf {
862
+ /**
863
+ * ID of a site visitor that has not logged in to the site.
864
+ * @format GUID
865
+ */
866
+ anonymousVisitorId?: string;
867
+ /**
868
+ * ID of a site visitor that has logged in to the site.
869
+ * @format GUID
870
+ */
871
+ memberId?: string;
872
+ /**
873
+ * ID of a Wix user (site owner, contributor, etc.).
874
+ * @format GUID
875
+ */
876
+ wixUserId?: string;
877
+ /**
878
+ * ID of an app.
879
+ * @format GUID
880
+ */
881
+ appId?: string;
882
+ }
883
+ declare enum WebhookIdentityType {
884
+ UNKNOWN = "UNKNOWN",
885
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
886
+ MEMBER = "MEMBER",
887
+ WIX_USER = "WIX_USER",
888
+ APP = "APP"
889
+ }
890
+ /** @enumType */
891
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
892
+ /** @docsIgnore */
893
+ type CreateCustomizationApplicationErrors = {
894
+ code?: 'OPTIONS_LIMIT_EXCEEDED';
895
+ description?: string;
896
+ data?: Record<string, any>;
897
+ } | {
898
+ code?: 'MODIFIERS_LIMIT_EXCEEDED';
899
+ description?: string;
900
+ data?: Record<string, any>;
901
+ } | {
902
+ code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
903
+ description?: string;
904
+ data?: Record<string, any>;
905
+ } | {
906
+ code?: 'INVALID_FREE_TEXT_SETTINGS';
907
+ description?: string;
908
+ data?: Record<string, any>;
909
+ };
910
+ /** @docsIgnore */
911
+ type CreateCustomizationValidationErrors = {
912
+ ruleName?: 'ONLY_SPACES_STRING_ERROR';
913
+ } | {
914
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
915
+ } | {
916
+ ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';
917
+ } | {
918
+ ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';
919
+ } | {
920
+ ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';
921
+ };
922
+ /** @docsIgnore */
923
+ type DeleteCustomizationValidationErrors = {
924
+ ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';
925
+ };
926
+ /** @docsIgnore */
927
+ type BulkCreateCustomizationsApplicationErrors = {
928
+ code?: 'OPTIONS_LIMIT_EXCEEDED';
929
+ description?: string;
930
+ data?: Record<string, any>;
931
+ } | {
932
+ code?: 'MODIFIERS_LIMIT_EXCEEDED';
933
+ description?: string;
934
+ data?: Record<string, any>;
935
+ } | {
936
+ code?: 'DOESNT_SUPPORT_CHOICES';
937
+ description?: string;
938
+ data?: Record<string, any>;
939
+ } | {
940
+ code?: 'CHOICES_LIMIT_EXCEEDED';
941
+ description?: string;
942
+ data?: CustomizationIdsWrapper;
943
+ };
944
+ /** @docsIgnore */
945
+ type BulkCreateCustomizationsValidationErrors = {
946
+ ruleName?: 'ONLY_SPACES_STRING_ERROR';
947
+ } | {
948
+ ruleName?: 'INVALID_CHOICE_TYPE';
949
+ } | {
950
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
951
+ } | {
952
+ ruleName?: 'INVALID_CHOICE_VALUE';
953
+ } | {
954
+ ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';
955
+ } | {
956
+ ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';
957
+ } | {
958
+ ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';
959
+ };
960
+ /** @docsIgnore */
961
+ type AddCustomizationChoicesApplicationErrors = {
962
+ code?: 'CHOICES_LIMIT_EXCEEDED';
963
+ description?: string;
964
+ data?: Record<string, any>;
965
+ } | {
966
+ code?: 'DOESNT_SUPPORT_CHOICES';
967
+ description?: string;
968
+ data?: Record<string, any>;
969
+ };
970
+ /** @docsIgnore */
971
+ type AddCustomizationChoicesValidationErrors = {
972
+ ruleName?: 'INVALID_CHOICE_TYPE';
973
+ } | {
974
+ ruleName?: 'INVALID_CHOICE_VALUE';
975
+ } | {
976
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
977
+ };
978
+ /** @docsIgnore */
979
+ type SetCustomizationChoicesApplicationErrors = {
980
+ code?: 'DOESNT_SUPPORT_CHOICES';
981
+ description?: string;
982
+ data?: Record<string, any>;
983
+ } | {
984
+ code?: 'CHOICES_LIMIT_EXCEEDED';
985
+ description?: string;
986
+ data?: CustomizationIdsWrapper;
987
+ };
988
+ /** @docsIgnore */
989
+ type SetCustomizationChoicesValidationErrors = {
990
+ ruleName?: 'INVALID_CHOICE_TYPE';
991
+ } | {
992
+ ruleName?: 'INVALID_CHOICE_VALUE';
993
+ } | {
994
+ ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';
995
+ } | {
996
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
997
+ };
998
+ /** @docsIgnore */
999
+ type RemoveCustomizationChoicesApplicationErrors = {
1000
+ code?: 'CHOICE_ASSIGNED_TO_PRODUCT';
1001
+ description?: string;
1002
+ data?: Record<string, any>;
1003
+ };
1004
+ /** @docsIgnore */
1005
+ type RemoveCustomizationChoicesValidationErrors = {
1006
+ ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';
1007
+ };
1008
+ /** @docsIgnore */
1009
+ type BulkAddCustomizationChoicesApplicationErrors = {
1010
+ code?: 'CHOICES_LIMIT_EXCEEDED';
1011
+ description?: string;
1012
+ data?: CustomizationIdsWrapper;
1013
+ } | {
1014
+ code?: 'DOESNT_SUPPORT_CHOICES';
1015
+ description?: string;
1016
+ data?: Record<string, any>;
1017
+ };
1018
+ /** @docsIgnore */
1019
+ type BulkAddCustomizationChoicesValidationErrors = {
1020
+ ruleName?: 'INVALID_CHOICE_TYPE';
1021
+ } | {
1022
+ ruleName?: 'INVALID_CHOICE_VALUE';
1023
+ };
585
1024
 
586
1025
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
587
1026
  getUrl: (context: any) => string;
@@ -617,4 +1056,4 @@ declare function removeCustomizationChoices(): __PublicMethodMetaInfo<'POST', {
617
1056
  declare function bulkAddCustomizationChoices(): __PublicMethodMetaInfo<'POST', {}, BulkAddCustomizationChoicesRequest$1, BulkAddCustomizationChoicesRequest, BulkAddCustomizationChoicesResponse$1, BulkAddCustomizationChoicesResponse>;
618
1057
  declare function bulkUpdateCustomizations(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateCustomizationsRequest$1, BulkUpdateCustomizationsRequest, BulkUpdateCustomizationsResponse$1, BulkUpdateCustomizationsResponse>;
619
1058
 
620
- export { type __PublicMethodMetaInfo, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, createCustomization, deleteCustomization, getCustomization, queryCustomizations, removeCustomizationChoices, setCustomizationChoices, updateCustomization };
1059
+ export { type ActionEvent as ActionEventOriginal, type AddCustomizationChoicesApplicationErrors as AddCustomizationChoicesApplicationErrorsOriginal, type AddCustomizationChoicesRequest as AddCustomizationChoicesRequestOriginal, type AddCustomizationChoicesResponse as AddCustomizationChoicesResponseOriginal, type AddCustomizationChoicesValidationErrors as AddCustomizationChoicesValidationErrorsOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkAddCustomizationChoicesApplicationErrors as BulkAddCustomizationChoicesApplicationErrorsOriginal, type BulkAddCustomizationChoicesRequest as BulkAddCustomizationChoicesRequestOriginal, type BulkAddCustomizationChoicesResponse as BulkAddCustomizationChoicesResponseOriginal, type BulkAddCustomizationChoicesValidationErrors as BulkAddCustomizationChoicesValidationErrorsOriginal, type BulkCreateCustomizationsApplicationErrors as BulkCreateCustomizationsApplicationErrorsOriginal, type BulkCreateCustomizationsRequest as BulkCreateCustomizationsRequestOriginal, type BulkCreateCustomizationsResponse as BulkCreateCustomizationsResponseOriginal, type BulkCreateCustomizationsValidationErrors as BulkCreateCustomizationsValidationErrorsOriginal, type BulkCustomizationResult as BulkCustomizationResultOriginal, type BulkUpdateCustomizationsRequest as BulkUpdateCustomizationsRequestOriginal, type BulkUpdateCustomizationsResponse as BulkUpdateCustomizationsResponseOriginal, type Choice as ChoiceOriginal, ChoiceType as ChoiceTypeOriginal, type ChoiceTypeWithLiterals as ChoiceTypeWithLiteralsOriginal, type ChoiceValueOneOf as ChoiceValueOneOfOriginal, type ChoicesSettings as ChoicesSettingsOriginal, type CreateCustomizationApplicationErrors as CreateCustomizationApplicationErrorsOriginal, type CreateCustomizationRequest as CreateCustomizationRequestOriginal, type CreateCustomizationResponse as CreateCustomizationResponseOriginal, type CreateCustomizationValidationErrors as CreateCustomizationValidationErrorsOriginal, 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 CustomizationChoices as CustomizationChoicesOriginal, type CustomizationCustomizationSettingsOneOf as CustomizationCustomizationSettingsOneOfOriginal, type CustomizationIdsWrapper as CustomizationIdsWrapperOriginal, type Customization as CustomizationOriginal, CustomizationRenderType as CustomizationRenderTypeOriginal, type CustomizationRenderTypeWithLiterals as CustomizationRenderTypeWithLiteralsOriginal, CustomizationType as CustomizationTypeOriginal, type CustomizationTypeWithLiterals as CustomizationTypeWithLiteralsOriginal, type DeleteCustomizationRequest as DeleteCustomizationRequestOriginal, type DeleteCustomizationResponse as DeleteCustomizationResponseOriginal, type DeleteCustomizationValidationErrors as DeleteCustomizationValidationErrorsOriginal, 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 File as FileOriginal, type FocalPoint as FocalPointOriginal, type FreeTextSettings as FreeTextSettingsOriginal, type GetCustomizationRequest as GetCustomizationRequestOriginal, type GetCustomizationResponse as GetCustomizationResponseOriginal, 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 MaskedCustomization as MaskedCustomizationOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultipleColors as MultipleColorsOriginal, type Page as PageOriginal, type QueryCustomizationsRequest as QueryCustomizationsRequestOriginal, type QueryCustomizationsResponse as QueryCustomizationsResponseOriginal, type RemoveCustomizationChoicesApplicationErrors as RemoveCustomizationChoicesApplicationErrorsOriginal, type RemoveCustomizationChoicesRequest as RemoveCustomizationChoicesRequestOriginal, type RemoveCustomizationChoicesResponse as RemoveCustomizationChoicesResponseOriginal, type RemoveCustomizationChoicesValidationErrors as RemoveCustomizationChoicesValidationErrorsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type SetCustomizationChoicesApplicationErrors as SetCustomizationChoicesApplicationErrorsOriginal, type SetCustomizationChoicesRequest as SetCustomizationChoicesRequestOriginal, type SetCustomizationChoicesResponse as SetCustomizationChoicesResponseOriginal, type SetCustomizationChoicesValidationErrors as SetCustomizationChoicesValidationErrorsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type URI as URIOriginal, type UpdateCustomizationRequest as UpdateCustomizationRequestOriginal, type UpdateCustomizationResponse as UpdateCustomizationResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, createCustomization, deleteCustomization, getCustomization, queryCustomizations, removeCustomizationChoices, setCustomizationChoices, updateCustomization };
package/build/cjs/meta.js CHANGED
@@ -20,6 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // meta.ts
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
+ ChoiceTypeOriginal: () => ChoiceType,
24
+ CustomizationRenderTypeOriginal: () => CustomizationRenderType,
25
+ CustomizationTypeOriginal: () => CustomizationType,
26
+ RequestedFieldsOriginal: () => RequestedFields,
27
+ SortOrderOriginal: () => SortOrder,
28
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
23
29
  addCustomizationChoices: () => addCustomizationChoices2,
24
30
  bulkAddCustomizationChoices: () => bulkAddCustomizationChoices2,
25
31
  bulkCreateCustomizations: () => bulkCreateCustomizations2,
@@ -697,6 +703,47 @@ function bulkUpdateCustomizations(payload) {
697
703
  return __bulkUpdateCustomizations;
698
704
  }
699
705
 
706
+ // src/stores-catalog-v3-customization-customizations-v-3.types.ts
707
+ var CustomizationType = /* @__PURE__ */ ((CustomizationType2) => {
708
+ CustomizationType2["UNKNOWN_CUSTOMIZATION_TYPE"] = "UNKNOWN_CUSTOMIZATION_TYPE";
709
+ CustomizationType2["PRODUCT_OPTION"] = "PRODUCT_OPTION";
710
+ CustomizationType2["MODIFIER"] = "MODIFIER";
711
+ return CustomizationType2;
712
+ })(CustomizationType || {});
713
+ var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
714
+ CustomizationRenderType2["UNKNOWN_CUSTOMIZATION_RENDER_TYPE"] = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE";
715
+ CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
716
+ CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
717
+ CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
718
+ return CustomizationRenderType2;
719
+ })(CustomizationRenderType || {});
720
+ var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
721
+ ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
722
+ ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
723
+ ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
724
+ ChoiceType2["MULTIPLE_COLORS"] = "MULTIPLE_COLORS";
725
+ ChoiceType2["IMAGE"] = "IMAGE";
726
+ return ChoiceType2;
727
+ })(ChoiceType || {});
728
+ var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
729
+ RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
730
+ RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
731
+ return RequestedFields2;
732
+ })(RequestedFields || {});
733
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
734
+ SortOrder2["ASC"] = "ASC";
735
+ SortOrder2["DESC"] = "DESC";
736
+ return SortOrder2;
737
+ })(SortOrder || {});
738
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
739
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
740
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
741
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
742
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
743
+ WebhookIdentityType2["APP"] = "APP";
744
+ return WebhookIdentityType2;
745
+ })(WebhookIdentityType || {});
746
+
700
747
  // src/stores-catalog-v3-customization-customizations-v-3.meta.ts
701
748
  function createCustomization2() {
702
749
  const payload = {};
@@ -902,6 +949,12 @@ function bulkUpdateCustomizations2() {
902
949
  }
903
950
  // Annotate the CommonJS export names for ESM import in node:
904
951
  0 && (module.exports = {
952
+ ChoiceTypeOriginal,
953
+ CustomizationRenderTypeOriginal,
954
+ CustomizationTypeOriginal,
955
+ RequestedFieldsOriginal,
956
+ SortOrderOriginal,
957
+ WebhookIdentityTypeOriginal,
905
958
  addCustomizationChoices,
906
959
  bulkAddCustomizationChoices,
907
960
  bulkCreateCustomizations,