@wix/auto_sdk_stores_customizations-v-3 1.0.29 → 1.0.31
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 +12 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -2
- package/build/cjs/index.typings.js +12 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +13 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +12 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -2
- package/build/es/index.typings.mjs +12 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +13 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +12 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -2
- package/build/internal/cjs/index.typings.js +12 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/meta.js +13 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +12 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -2
- package/build/internal/es/index.typings.mjs +12 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/meta.mjs +13 -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
|
} | {
|
|
@@ -1145,7 +1158,6 @@ declare function createCustomization(customization: NonNullablePaths<Customizati
|
|
|
1145
1158
|
* @requiredField customizationId
|
|
1146
1159
|
* @permissionId WIX_STORES.CUSTOMIZATION_READ
|
|
1147
1160
|
* @applicableIdentity APP
|
|
1148
|
-
* @applicableIdentity VISITOR
|
|
1149
1161
|
* @returns Customization.
|
|
1150
1162
|
* @fqn wix.stores.catalog.customization.v3.CustomizationService.GetCustomization
|
|
1151
1163
|
*/
|
|
@@ -1283,7 +1295,6 @@ declare function deleteCustomization(customizationId: string): Promise<void & {
|
|
|
1283
1295
|
* @public
|
|
1284
1296
|
* @permissionId WIX_STORES.CUSTOMIZATION_READ
|
|
1285
1297
|
* @applicableIdentity APP
|
|
1286
|
-
* @applicableIdentity VISITOR
|
|
1287
1298
|
* @fqn wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations
|
|
1288
1299
|
*/
|
|
1289
1300
|
declare function queryCustomizations(options?: QueryCustomizationsOptions): CustomizationsQueryBuilder;
|
|
@@ -324,7 +324,18 @@ function queryCustomizations(payload) {
|
|
|
324
324
|
}
|
|
325
325
|
]
|
|
326
326
|
}
|
|
327
|
-
])
|
|
327
|
+
]),
|
|
328
|
+
fallback: [
|
|
329
|
+
{
|
|
330
|
+
method: "POST",
|
|
331
|
+
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
332
|
+
protoPath: "/v3/customizations/query",
|
|
333
|
+
data: payload,
|
|
334
|
+
host
|
|
335
|
+
}),
|
|
336
|
+
data: payload
|
|
337
|
+
}
|
|
338
|
+
]
|
|
328
339
|
};
|
|
329
340
|
return metadata;
|
|
330
341
|
}
|