@wix/auto_sdk_stores_customizations-v-3 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { K as CreateCustomizationRequest$1, L as CreateCustomizationResponse$1, N as GetCustomizationRequest$1, O as GetCustomizationResponse$1, T as UpdateCustomizationRequest$1, V as UpdateCustomizationResponse$1, X as DeleteCustomizationRequest$1, Y as DeleteCustomizationResponse$1, Z as QueryCustomizationsRequest$1, a2 as QueryCustomizationsResponse$1, a5 as BulkCreateCustomizationsRequest$1, c as BulkCreateCustomizationsResponse$1, ab as AddCustomizationChoicesRequest$1, e as AddCustomizationChoicesResponse$1, ac as SetCustomizationChoicesRequest$1, f as SetCustomizationChoicesResponse$1, ad as RemoveCustomizationChoicesRequest$1, g as RemoveCustomizationChoicesResponse$1, ae as BulkAddCustomizationChoicesRequest$1, j as BulkAddCustomizationChoicesResponse$1, af as BulkUpdateCustomizationsRequest$1, l as BulkUpdateCustomizationsResponse$1 } from './stores-catalog-v3-customization-customizations-v-3.universal-CT4feroB.mjs';
1
+ import { a2 as CreateCustomizationRequest$1, a3 as CreateCustomizationResponse$1, a4 as GetCustomizationRequest$1, a5 as GetCustomizationResponse$1, a6 as UpdateCustomizationRequest$1, a7 as UpdateCustomizationResponse$1, a8 as DeleteCustomizationRequest$1, a9 as DeleteCustomizationResponse$1, aa as QueryCustomizationsRequest$1, af as QueryCustomizationsResponse$1, ai as BulkCreateCustomizationsRequest$1, e as BulkCreateCustomizationsResponse$1, ao as AddCustomizationChoicesRequest$1, i as AddCustomizationChoicesResponse$1, ap as SetCustomizationChoicesRequest$1, l as SetCustomizationChoicesResponse$1, aq as RemoveCustomizationChoicesRequest$1, o as RemoveCustomizationChoicesResponse$1, ar as BulkAddCustomizationChoicesRequest$1, t as BulkAddCustomizationChoicesResponse$1, as as BulkUpdateCustomizationsRequest$1, x as BulkUpdateCustomizationsResponse$1 } from './stores-catalog-v3-customization-customizations-v-3.universal-DHhFp3oV.mjs';
2
2
 
3
3
  /**
4
4
  * Customizations include options and modifiers which can later be applied to products.
@@ -861,6 +861,113 @@ declare enum WebhookIdentityType {
861
861
  }
862
862
  /** @enumType */
863
863
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
864
+ type CreateCustomizationApplicationErrors = {
865
+ code?: 'OPTIONS_LIMIT_EXCEEDED';
866
+ description?: string;
867
+ data?: Record<string, any>;
868
+ } | {
869
+ code?: 'MODIFIERS_LIMIT_EXCEEDED';
870
+ description?: string;
871
+ data?: Record<string, any>;
872
+ } | {
873
+ code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
874
+ description?: string;
875
+ data?: Record<string, any>;
876
+ } | {
877
+ code?: 'INVALID_FREE_TEXT_SETTINGS';
878
+ description?: string;
879
+ data?: Record<string, any>;
880
+ };
881
+ type CreateCustomizationValidationErrors = {
882
+ ruleName?: 'ONLY_SPACES_STRING_ERROR';
883
+ } | {
884
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
885
+ };
886
+ type DeleteCustomizationValidationErrors = {
887
+ ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';
888
+ };
889
+ type BulkCreateCustomizationsApplicationErrors = {
890
+ code?: 'OPTIONS_LIMIT_EXCEEDED';
891
+ description?: string;
892
+ data?: Record<string, any>;
893
+ } | {
894
+ code?: 'MODIFIERS_LIMIT_EXCEEDED';
895
+ description?: string;
896
+ data?: Record<string, any>;
897
+ } | {
898
+ code?: 'DOESNT_SUPPORT_CHOICES';
899
+ description?: string;
900
+ data?: Record<string, any>;
901
+ } | {
902
+ code?: 'CHOICES_LIMIT_EXCEEDED';
903
+ description?: string;
904
+ data?: CustomizationIdsWrapper;
905
+ };
906
+ type BulkCreateCustomizationsValidationErrors = {
907
+ ruleName?: 'ONLY_SPACES_STRING_ERROR';
908
+ } | {
909
+ ruleName?: 'INVALID_CHOICE_TYPE';
910
+ } | {
911
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
912
+ } | {
913
+ ruleName?: 'INVALID_CHOICE_VALUE';
914
+ };
915
+ type AddCustomizationChoicesApplicationErrors = {
916
+ code?: 'CHOICES_LIMIT_EXCEEDED';
917
+ description?: string;
918
+ data?: Record<string, any>;
919
+ } | {
920
+ code?: 'DOESNT_SUPPORT_CHOICES';
921
+ description?: string;
922
+ data?: Record<string, any>;
923
+ };
924
+ type AddCustomizationChoicesValidationErrors = {
925
+ ruleName?: 'INVALID_CHOICE_TYPE';
926
+ } | {
927
+ ruleName?: 'INVALID_CHOICE_VALUE';
928
+ } | {
929
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
930
+ };
931
+ type SetCustomizationChoicesApplicationErrors = {
932
+ code?: 'DOESNT_SUPPORT_CHOICES';
933
+ description?: string;
934
+ data?: Record<string, any>;
935
+ } | {
936
+ code?: 'CHOICES_LIMIT_EXCEEDED';
937
+ description?: string;
938
+ data?: CustomizationIdsWrapper;
939
+ };
940
+ type SetCustomizationChoicesValidationErrors = {
941
+ ruleName?: 'INVALID_CHOICE_TYPE';
942
+ } | {
943
+ ruleName?: 'INVALID_CHOICE_VALUE';
944
+ } | {
945
+ ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';
946
+ } | {
947
+ ruleName?: 'DUPLICATE_CHOICE_NAME';
948
+ };
949
+ type RemoveCustomizationChoicesApplicationErrors = {
950
+ code?: 'CHOICE_ASSIGNED_TO_PRODUCT';
951
+ description?: string;
952
+ data?: Record<string, any>;
953
+ };
954
+ type RemoveCustomizationChoicesValidationErrors = {
955
+ ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';
956
+ };
957
+ type BulkAddCustomizationChoicesApplicationErrors = {
958
+ code?: 'CHOICES_LIMIT_EXCEEDED';
959
+ description?: string;
960
+ data?: CustomizationIdsWrapper;
961
+ } | {
962
+ code?: 'DOESNT_SUPPORT_CHOICES';
963
+ description?: string;
964
+ data?: Record<string, any>;
965
+ };
966
+ type BulkAddCustomizationChoicesValidationErrors = {
967
+ ruleName?: 'INVALID_CHOICE_TYPE';
968
+ } | {
969
+ ruleName?: 'INVALID_CHOICE_VALUE';
970
+ };
864
971
  interface BaseEventMetadata {
865
972
  /**
866
973
  * App instance ID.
@@ -1154,4 +1261,4 @@ interface BulkUpdateCustomizationsOptions {
1154
1261
  fields?: RequestedFieldsWithLiterals[];
1155
1262
  }
1156
1263
 
1157
- export { type CursorQueryPagingMethodOneOf as $, type AddCustomizationChoicesOptions as A, type BulkCreateCustomizationsOptions as B, type Customization as C, type App as D, type URI as E, type FreeTextSettings as F, type GetCustomizationOptions as G, type File as H, type InvalidateCache as I, type CustomTag as J, type CreateCustomizationRequest as K, type CreateCustomizationResponse as L, type MaskedCustomization as M, type GetCustomizationRequest as N, type GetCustomizationResponse as O, type Page as P, type QueryCustomizationsOptions as Q, type RemoveCustomizationChoicesOptions as R, type SetCustomizationChoicesOptions as S, type UpdateCustomizationRequest as T, type UpdateCustomization as U, type UpdateCustomizationResponse as V, WebhookIdentityType as W, type DeleteCustomizationRequest as X, type DeleteCustomizationResponse as Y, type QueryCustomizationsRequest as Z, type CursorQuery as _, type UpdateCustomizationOptions as a, type Sorting as a0, type CursorPaging as a1, type QueryCustomizationsResponse as a2, type CursorPagingMetadata as a3, type Cursors as a4, type BulkCreateCustomizationsRequest as a5, type BulkCustomizationResult as a6, type ItemMetadata as a7, type ApplicationError as a8, type BulkActionMetadata as a9, type CustomizationIdsWrapper as aa, type AddCustomizationChoicesRequest as ab, type SetCustomizationChoicesRequest as ac, type RemoveCustomizationChoicesRequest as ad, type BulkAddCustomizationChoicesRequest as ae, type BulkUpdateCustomizationsRequest as af, type DomainEvent as ag, type DomainEventBodyOneOf as ah, type EntityCreatedEvent as ai, type RestoreInfo as aj, type EntityUpdatedEvent as ak, type EntityDeletedEvent as al, type ActionEvent as am, type Empty as an, type MessageEnvelope as ao, type IdentificationData as ap, type IdentificationDataIdOneOf as aq, type BaseEventMetadata as ar, type EventMetadata as as, type CustomizationsQueryResult as at, type CustomizationsQueryBuilder as b, type BulkCreateCustomizationsResponse as c, type Choice as d, type AddCustomizationChoicesResponse as e, type SetCustomizationChoicesResponse as f, type RemoveCustomizationChoicesResponse as g, type CustomizationChoices as h, type BulkAddCustomizationChoicesOptions as i, type BulkAddCustomizationChoicesResponse as j, type BulkUpdateCustomizationsOptions as k, type BulkUpdateCustomizationsResponse as l, type CustomizationCreatedEnvelope as m, type CustomizationDeletedEnvelope as n, type CustomizationUpdatedEnvelope as o, CustomizationType as p, CustomizationRenderType as q, ChoiceType as r, RequestedFields as s, SortOrder as t, type CustomizationCustomizationSettingsOneOf as u, type ChoicesSettings as v, type ChoiceValueOneOf as w, type MultipleColors as x, type FocalPoint as y, type InvalidateCacheGetByOneOf as z };
1264
+ export { type URI as $, type AddCustomizationChoicesOptions as A, type BulkCreateCustomizationsOptions as B, type Customization as C, type DeleteCustomizationValidationErrors as D, type CustomizationUpdatedEnvelope as E, CustomizationType as F, type GetCustomizationOptions as G, CustomizationRenderType as H, ChoiceType as I, RequestedFields as J, SortOrder as K, type CustomizationCustomizationSettingsOneOf as L, type MaskedCustomization as M, type FreeTextSettings as N, type ChoicesSettings as O, type ChoiceValueOneOf as P, type QueryCustomizationsOptions as Q, type RemoveCustomizationChoicesOptions as R, type SetCustomizationChoicesOptions as S, type MultipleColors as T, type UpdateCustomization as U, type FocalPoint as V, WebhookIdentityType as W, type InvalidateCache as X, type InvalidateCacheGetByOneOf as Y, type App as Z, type Page as _, type CreateCustomizationApplicationErrors as a, type File as a0, type CustomTag as a1, type CreateCustomizationRequest as a2, type CreateCustomizationResponse as a3, type GetCustomizationRequest as a4, type GetCustomizationResponse as a5, type UpdateCustomizationRequest as a6, type UpdateCustomizationResponse as a7, type DeleteCustomizationRequest as a8, type DeleteCustomizationResponse as a9, type Empty as aA, type MessageEnvelope as aB, type IdentificationData as aC, type IdentificationDataIdOneOf as aD, type BaseEventMetadata as aE, type EventMetadata as aF, type CustomizationsQueryResult as aG, type QueryCustomizationsRequest as aa, type CursorQuery as ab, type CursorQueryPagingMethodOneOf as ac, type Sorting as ad, type CursorPaging as ae, type QueryCustomizationsResponse as af, type CursorPagingMetadata as ag, type Cursors as ah, type BulkCreateCustomizationsRequest as ai, type BulkCustomizationResult as aj, type ItemMetadata as ak, type ApplicationError as al, type BulkActionMetadata as am, type CustomizationIdsWrapper as an, type AddCustomizationChoicesRequest as ao, type SetCustomizationChoicesRequest as ap, type RemoveCustomizationChoicesRequest as aq, type BulkAddCustomizationChoicesRequest as ar, type BulkUpdateCustomizationsRequest as as, type DomainEvent as at, type DomainEventBodyOneOf as au, type EntityCreatedEvent as av, type RestoreInfo as aw, type EntityUpdatedEvent as ax, type EntityDeletedEvent as ay, type ActionEvent as az, type CreateCustomizationValidationErrors as b, type UpdateCustomizationOptions as c, type CustomizationsQueryBuilder as d, type BulkCreateCustomizationsResponse as e, type BulkCreateCustomizationsApplicationErrors as f, type BulkCreateCustomizationsValidationErrors as g, type Choice as h, type AddCustomizationChoicesResponse as i, type AddCustomizationChoicesApplicationErrors as j, type AddCustomizationChoicesValidationErrors as k, type SetCustomizationChoicesResponse as l, type SetCustomizationChoicesApplicationErrors as m, type SetCustomizationChoicesValidationErrors as n, type RemoveCustomizationChoicesResponse as o, type RemoveCustomizationChoicesApplicationErrors as p, type RemoveCustomizationChoicesValidationErrors as q, type CustomizationChoices as r, type BulkAddCustomizationChoicesOptions as s, type BulkAddCustomizationChoicesResponse as t, type BulkAddCustomizationChoicesApplicationErrors as u, type BulkAddCustomizationChoicesValidationErrors as v, type BulkUpdateCustomizationsOptions as w, type BulkUpdateCustomizationsResponse as x, type CustomizationCreatedEnvelope as y, type CustomizationDeletedEnvelope as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_stores_customizations-v-3",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -28,7 +28,7 @@
28
28
  "service-plugins"
29
29
  ],
30
30
  "dependencies": {
31
- "@wix/sdk-runtime": "^0.3.49",
31
+ "@wix/sdk-runtime": "^0.3.55",
32
32
  "@wix/sdk-types": "^1.13.28"
33
33
  },
34
34
  "devDependencies": {
@@ -49,5 +49,5 @@
49
49
  "fqdn": "wix.stores.catalog.v3.customization"
50
50
  }
51
51
  },
52
- "falconPackageHash": "60ff3437ccbeb8221565e4db49a46d5e28f47397af2a7305e35806a7"
52
+ "falconPackageHash": "7974015fc2f8cb0ba7a11e895eff86f6d1ed6bf3d428757045f44e5a"
53
53
  }