@wix/auto_sdk_stores_customizations-v-3 1.0.73 → 1.0.75

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.
Files changed (36) hide show
  1. package/build/cjs/index.js.map +1 -1
  2. package/build/cjs/index.typings.d.ts +19 -19
  3. package/build/cjs/index.typings.js.map +1 -1
  4. package/build/cjs/meta.d.ts +19 -19
  5. package/build/cjs/meta.js.map +1 -1
  6. package/build/cjs/schemas.d.ts +972 -0
  7. package/build/cjs/schemas.js +1597 -0
  8. package/build/cjs/schemas.js.map +1 -0
  9. package/build/es/index.mjs.map +1 -1
  10. package/build/es/index.typings.d.mts +19 -19
  11. package/build/es/index.typings.mjs.map +1 -1
  12. package/build/es/meta.d.mts +19 -19
  13. package/build/es/meta.mjs.map +1 -1
  14. package/build/es/schemas.d.mts +972 -0
  15. package/build/es/schemas.mjs +1539 -0
  16. package/build/es/schemas.mjs.map +1 -0
  17. package/build/internal/cjs/index.d.ts +1 -1
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/index.typings.d.ts +27 -27
  20. package/build/internal/cjs/index.typings.js.map +1 -1
  21. package/build/internal/cjs/meta.d.ts +19 -19
  22. package/build/internal/cjs/meta.js.map +1 -1
  23. package/build/internal/cjs/schemas.d.ts +972 -0
  24. package/build/internal/cjs/schemas.js +1597 -0
  25. package/build/internal/cjs/schemas.js.map +1 -0
  26. package/build/internal/es/index.d.mts +1 -1
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/index.typings.d.mts +27 -27
  29. package/build/internal/es/index.typings.mjs.map +1 -1
  30. package/build/internal/es/meta.d.mts +19 -19
  31. package/build/internal/es/meta.mjs.map +1 -1
  32. package/build/internal/es/schemas.d.mts +972 -0
  33. package/build/internal/es/schemas.mjs +1539 -0
  34. package/build/internal/es/schemas.mjs.map +1 -0
  35. package/package.json +11 -4
  36. package/schemas/package.json +3 -0
@@ -202,18 +202,18 @@ interface Choice extends ChoiceValueOneOf {
202
202
  */
203
203
  defaultAddedPrice?: string | null;
204
204
  /**
205
- * IDs of parent choices that this choice is grouped under for storefront filtering.
206
- * A choice with `parentChoiceIds` is considered a "child" choice.
207
- * Child choices are excluded from the top-level storefront filter list
208
- * and displayed only under their parent choice groups.
205
+ * IDs of primary choices that this choice is grouped under for storefront filtering.
206
+ * A choice with `primaryChoiceIds` is considered a "linked" choice.
207
+ * Linked choices are excluded from the top-level storefront filter list
208
+ * and displayed only under their primary choice groups.
209
209
  *
210
- * A child choice can have multiple parents, in which case it appears under each parent group.
211
- * Only a single level of parent-child grouping is supported. A choice that is a parent can't also be a child.
210
+ * A linked choice can have multiple primaries, in which case it appears under each primary group.
211
+ * Only a single level of primary-linked grouping is supported. A choice that is a primary can't also be a linked choice.
212
212
  * @internal
213
213
  * @format GUID
214
214
  * @maxSize 4
215
215
  */
216
- parentChoiceIds?: string[];
216
+ primaryChoiceIds?: string[];
217
217
  }
218
218
  /** @oneof */
219
219
  interface ChoiceValueOneOf {
@@ -1100,11 +1100,11 @@ type CreateCustomizationValidationErrors = {
1100
1100
  } | {
1101
1101
  ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';
1102
1102
  } | {
1103
- ruleName?: 'PARENT_CHOICE_SELF_REFERENCE';
1103
+ ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';
1104
1104
  } | {
1105
- ruleName?: 'PARENT_CHOICE_NOT_FOUND';
1105
+ ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';
1106
1106
  } | {
1107
- ruleName?: 'PARENT_CHOICE_HIERARCHY_VIOLATION';
1107
+ ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';
1108
1108
  };
1109
1109
  /** @docsIgnore */
1110
1110
  type DeleteCustomizationValidationErrors = {
@@ -1144,11 +1144,11 @@ type BulkCreateCustomizationsValidationErrors = {
1144
1144
  } | {
1145
1145
  ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';
1146
1146
  } | {
1147
- ruleName?: 'PARENT_CHOICE_SELF_REFERENCE';
1147
+ ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';
1148
1148
  } | {
1149
- ruleName?: 'PARENT_CHOICE_NOT_FOUND';
1149
+ ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';
1150
1150
  } | {
1151
- ruleName?: 'PARENT_CHOICE_HIERARCHY_VIOLATION';
1151
+ ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';
1152
1152
  };
1153
1153
  /** @docsIgnore */
1154
1154
  type AddCustomizationChoicesApplicationErrors = {
@@ -1168,11 +1168,11 @@ type AddCustomizationChoicesValidationErrors = {
1168
1168
  } | {
1169
1169
  ruleName?: 'DUPLICATE_CHOICE_NAME';
1170
1170
  } | {
1171
- ruleName?: 'PARENT_CHOICE_SELF_REFERENCE';
1171
+ ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';
1172
1172
  } | {
1173
- ruleName?: 'PARENT_CHOICE_NOT_FOUND';
1173
+ ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';
1174
1174
  } | {
1175
- ruleName?: 'PARENT_CHOICE_HIERARCHY_VIOLATION';
1175
+ ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';
1176
1176
  };
1177
1177
  /** @docsIgnore */
1178
1178
  type SetCustomizationChoicesApplicationErrors = {
@@ -1194,11 +1194,11 @@ type SetCustomizationChoicesValidationErrors = {
1194
1194
  } | {
1195
1195
  ruleName?: 'DUPLICATE_CHOICE_NAME';
1196
1196
  } | {
1197
- ruleName?: 'PARENT_CHOICE_SELF_REFERENCE';
1197
+ ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';
1198
1198
  } | {
1199
- ruleName?: 'PARENT_CHOICE_NOT_FOUND';
1199
+ ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';
1200
1200
  } | {
1201
- ruleName?: 'PARENT_CHOICE_HIERARCHY_VIOLATION';
1201
+ ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';
1202
1202
  };
1203
1203
  /** @docsIgnore */
1204
1204
  type RemoveCustomizationChoicesApplicationErrors = {
@@ -1210,7 +1210,7 @@ type RemoveCustomizationChoicesApplicationErrors = {
1210
1210
  type RemoveCustomizationChoicesValidationErrors = {
1211
1211
  ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';
1212
1212
  } | {
1213
- ruleName?: 'PARENT_CHOICE_DELETE_REFERENCED';
1213
+ ruleName?: 'PRIMARY_CHOICE_DELETE_REFERENCED';
1214
1214
  };
1215
1215
  /** @docsIgnore */
1216
1216
  type UpdateCustomizationChoicesApplicationErrors = {
@@ -1222,11 +1222,11 @@ type UpdateCustomizationChoicesApplicationErrors = {
1222
1222
  type UpdateCustomizationChoicesValidationErrors = {
1223
1223
  ruleName?: 'UNSUPPORTED_CHOICE_FIELD';
1224
1224
  } | {
1225
- ruleName?: 'PARENT_CHOICE_SELF_REFERENCE';
1225
+ ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';
1226
1226
  } | {
1227
- ruleName?: 'PARENT_CHOICE_NOT_FOUND';
1227
+ ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';
1228
1228
  } | {
1229
- ruleName?: 'PARENT_CHOICE_HIERARCHY_VIOLATION';
1229
+ ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';
1230
1230
  };
1231
1231
  /** @docsIgnore */
1232
1232
  type ReorderCustomizationChoicesApplicationErrors = {
@@ -1254,11 +1254,11 @@ type BulkAddCustomizationChoicesValidationErrors = {
1254
1254
  } | {
1255
1255
  ruleName?: 'INVALID_CHOICE_VALUE';
1256
1256
  } | {
1257
- ruleName?: 'PARENT_CHOICE_SELF_REFERENCE';
1257
+ ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';
1258
1258
  } | {
1259
- ruleName?: 'PARENT_CHOICE_NOT_FOUND';
1259
+ ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';
1260
1260
  } | {
1261
- ruleName?: 'PARENT_CHOICE_HIERARCHY_VIOLATION';
1261
+ ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';
1262
1262
  };
1263
1263
  interface BaseEventMetadata {
1264
1264
  /**
@@ -1852,7 +1852,7 @@ interface RemoveCustomizationChoicesOptions {
1852
1852
  * Updates properties of existing choices in a customization.
1853
1853
  * Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.
1854
1854
  *
1855
- * Currently supports updating `parentChoiceIds`.
1855
+ * Currently supports updating `primaryChoiceIds`.
1856
1856
  * @param customizationId - Customization ID.
1857
1857
  * @param revision - Revision number, which increments by 1 each time the customization is updated.
1858
1858
  * To prevent conflicting changes,