@wix/auto_sdk_stores_customizations-v-3 1.0.30 → 1.0.32
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/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -0
- package/build/cjs/index.typings.js +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -0
- package/build/es/index.typings.mjs +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -0
- package/build/internal/cjs/index.typings.js +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +2 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -0
- package/build/internal/es/index.typings.mjs +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +2 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -863,6 +863,7 @@ declare enum WebhookIdentityType {
|
|
|
863
863
|
}
|
|
864
864
|
/** @enumType */
|
|
865
865
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
866
|
+
/** @docsIgnore */
|
|
866
867
|
type CreateCustomizationApplicationErrors = {
|
|
867
868
|
code?: 'OPTIONS_LIMIT_EXCEEDED';
|
|
868
869
|
description?: string;
|
|
@@ -880,14 +881,17 @@ type CreateCustomizationApplicationErrors = {
|
|
|
880
881
|
description?: string;
|
|
881
882
|
data?: Record<string, any>;
|
|
882
883
|
};
|
|
884
|
+
/** @docsIgnore */
|
|
883
885
|
type CreateCustomizationValidationErrors = {
|
|
884
886
|
ruleName?: 'ONLY_SPACES_STRING_ERROR';
|
|
885
887
|
} | {
|
|
886
888
|
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
887
889
|
};
|
|
890
|
+
/** @docsIgnore */
|
|
888
891
|
type DeleteCustomizationValidationErrors = {
|
|
889
892
|
ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';
|
|
890
893
|
};
|
|
894
|
+
/** @docsIgnore */
|
|
891
895
|
type BulkCreateCustomizationsApplicationErrors = {
|
|
892
896
|
code?: 'OPTIONS_LIMIT_EXCEEDED';
|
|
893
897
|
description?: string;
|
|
@@ -905,6 +909,7 @@ type BulkCreateCustomizationsApplicationErrors = {
|
|
|
905
909
|
description?: string;
|
|
906
910
|
data?: CustomizationIdsWrapper;
|
|
907
911
|
};
|
|
912
|
+
/** @docsIgnore */
|
|
908
913
|
type BulkCreateCustomizationsValidationErrors = {
|
|
909
914
|
ruleName?: 'ONLY_SPACES_STRING_ERROR';
|
|
910
915
|
} | {
|
|
@@ -914,6 +919,7 @@ type BulkCreateCustomizationsValidationErrors = {
|
|
|
914
919
|
} | {
|
|
915
920
|
ruleName?: 'INVALID_CHOICE_VALUE';
|
|
916
921
|
};
|
|
922
|
+
/** @docsIgnore */
|
|
917
923
|
type AddCustomizationChoicesApplicationErrors = {
|
|
918
924
|
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
919
925
|
description?: string;
|
|
@@ -923,6 +929,7 @@ type AddCustomizationChoicesApplicationErrors = {
|
|
|
923
929
|
description?: string;
|
|
924
930
|
data?: Record<string, any>;
|
|
925
931
|
};
|
|
932
|
+
/** @docsIgnore */
|
|
926
933
|
type AddCustomizationChoicesValidationErrors = {
|
|
927
934
|
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
928
935
|
} | {
|
|
@@ -930,6 +937,7 @@ type AddCustomizationChoicesValidationErrors = {
|
|
|
930
937
|
} | {
|
|
931
938
|
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
932
939
|
};
|
|
940
|
+
/** @docsIgnore */
|
|
933
941
|
type SetCustomizationChoicesApplicationErrors = {
|
|
934
942
|
code?: 'DOESNT_SUPPORT_CHOICES';
|
|
935
943
|
description?: string;
|
|
@@ -939,6 +947,7 @@ type SetCustomizationChoicesApplicationErrors = {
|
|
|
939
947
|
description?: string;
|
|
940
948
|
data?: CustomizationIdsWrapper;
|
|
941
949
|
};
|
|
950
|
+
/** @docsIgnore */
|
|
942
951
|
type SetCustomizationChoicesValidationErrors = {
|
|
943
952
|
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
944
953
|
} | {
|
|
@@ -948,14 +957,17 @@ type SetCustomizationChoicesValidationErrors = {
|
|
|
948
957
|
} | {
|
|
949
958
|
ruleName?: 'DUPLICATE_CHOICE_NAME';
|
|
950
959
|
};
|
|
960
|
+
/** @docsIgnore */
|
|
951
961
|
type RemoveCustomizationChoicesApplicationErrors = {
|
|
952
962
|
code?: 'CHOICE_ASSIGNED_TO_PRODUCT';
|
|
953
963
|
description?: string;
|
|
954
964
|
data?: Record<string, any>;
|
|
955
965
|
};
|
|
966
|
+
/** @docsIgnore */
|
|
956
967
|
type RemoveCustomizationChoicesValidationErrors = {
|
|
957
968
|
ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';
|
|
958
969
|
};
|
|
970
|
+
/** @docsIgnore */
|
|
959
971
|
type BulkAddCustomizationChoicesApplicationErrors = {
|
|
960
972
|
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
961
973
|
description?: string;
|
|
@@ -965,6 +977,7 @@ type BulkAddCustomizationChoicesApplicationErrors = {
|
|
|
965
977
|
description?: string;
|
|
966
978
|
data?: Record<string, any>;
|
|
967
979
|
};
|
|
980
|
+
/** @docsIgnore */
|
|
968
981
|
type BulkAddCustomizationChoicesValidationErrors = {
|
|
969
982
|
ruleName?: 'INVALID_CHOICE_TYPE';
|
|
970
983
|
} | {
|
|
@@ -254,7 +254,7 @@ function queryCustomizations(payload) {
|
|
|
254
254
|
function __queryCustomizations({ host }) {
|
|
255
255
|
const metadata = {
|
|
256
256
|
entityFqdn: "wix.stores.catalog.v3.customization",
|
|
257
|
-
method: "
|
|
257
|
+
method: "GET",
|
|
258
258
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations",
|
|
259
259
|
packageName: PACKAGE_NAME,
|
|
260
260
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
@@ -262,7 +262,7 @@ function queryCustomizations(payload) {
|
|
|
262
262
|
data: payload,
|
|
263
263
|
host
|
|
264
264
|
}),
|
|
265
|
-
|
|
265
|
+
params: toURLSearchParams(payload, true),
|
|
266
266
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
267
267
|
{
|
|
268
268
|
transformFn: transformRESTTimestampToSDKTimestamp,
|