@commercetools/importapi-sdk 6.3.0 → 6.5.0

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 (77) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/commercetools-importapi-sdk.browser.cjs.js +256 -62
  3. package/dist/commercetools-importapi-sdk.browser.esm.js +250 -63
  4. package/dist/commercetools-importapi-sdk.cjs.dev.js +256 -62
  5. package/dist/commercetools-importapi-sdk.cjs.prod.js +256 -62
  6. package/dist/commercetools-importapi-sdk.esm.js +250 -63
  7. package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts +2 -0
  8. package/dist/declarations/src/generated/client/by-project-key-request-builder.d.ts.map +1 -1
  9. package/dist/declarations/src/generated/client/import-containers/by-project-key-categories-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  10. package/dist/declarations/src/generated/client/import-containers/by-project-key-customers-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  11. package/dist/declarations/src/generated/client/import-containers/by-project-key-discount-codes-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  12. package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-by-import-container-key-request-builder.d.ts +3 -3
  13. package/dist/declarations/src/generated/client/import-containers/by-project-key-import-containers-request-builder.d.ts +2 -2
  14. package/dist/declarations/src/generated/client/import-containers/by-project-key-inventories-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  15. package/dist/declarations/src/generated/client/import-containers/by-project-key-order-patches-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  16. package/dist/declarations/src/generated/client/import-containers/by-project-key-orders-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  17. package/dist/declarations/src/generated/client/import-containers/by-project-key-prices-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  18. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-drafts-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  19. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-selections-import-containers-by-import-container-key-request-builder.d.ts +38 -0
  20. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-selections-import-containers-by-import-container-key-request-builder.d.ts.map +1 -0
  21. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-selections-import-containers-request-builder.d.ts +29 -0
  22. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-selections-import-containers-request-builder.d.ts.map +1 -0
  23. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-types-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  24. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variant-patches-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  25. package/dist/declarations/src/generated/client/import-containers/by-project-key-product-variants-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  26. package/dist/declarations/src/generated/client/import-containers/by-project-key-products-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  27. package/dist/declarations/src/generated/client/import-containers/by-project-key-standalone-prices-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  28. package/dist/declarations/src/generated/client/import-containers/by-project-key-types-import-containers-by-import-container-key-request-builder.d.ts +1 -1
  29. package/dist/declarations/src/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.d.ts +1 -1
  30. package/dist/declarations/src/generated/client/import-operations/by-project-key-import-operations-by-id-request-builder.d.ts +1 -1
  31. package/dist/declarations/src/generated/client/import-summaries/by-project-key-import-containers-by-import-container-key-import-summaries-request-builder.d.ts +1 -1
  32. package/dist/declarations/src/generated/client/product-selections/by-project-key-product-selections-request-builder.d.ts +27 -0
  33. package/dist/declarations/src/generated/client/product-selections/by-project-key-product-selections-request-builder.d.ts.map +1 -0
  34. package/dist/declarations/src/generated/index.d.ts +4 -0
  35. package/dist/declarations/src/generated/index.d.ts.map +1 -1
  36. package/dist/declarations/src/generated/models/categories.d.ts +5 -8
  37. package/dist/declarations/src/generated/models/categories.d.ts.map +1 -1
  38. package/dist/declarations/src/generated/models/common.d.ts +160 -59
  39. package/dist/declarations/src/generated/models/common.d.ts.map +1 -1
  40. package/dist/declarations/src/generated/models/customers.d.ts +12 -13
  41. package/dist/declarations/src/generated/models/customers.d.ts.map +1 -1
  42. package/dist/declarations/src/generated/models/customfields.d.ts +149 -91
  43. package/dist/declarations/src/generated/models/customfields.d.ts.map +1 -1
  44. package/dist/declarations/src/generated/models/discount-codes.d.ts +12 -14
  45. package/dist/declarations/src/generated/models/discount-codes.d.ts.map +1 -1
  46. package/dist/declarations/src/generated/models/errors.d.ts +6 -0
  47. package/dist/declarations/src/generated/models/errors.d.ts.map +1 -1
  48. package/dist/declarations/src/generated/models/importcontainers.d.ts +68 -23
  49. package/dist/declarations/src/generated/models/importcontainers.d.ts.map +1 -1
  50. package/dist/declarations/src/generated/models/importoperations.d.ts +19 -17
  51. package/dist/declarations/src/generated/models/importoperations.d.ts.map +1 -1
  52. package/dist/declarations/src/generated/models/importrequests.d.ts +31 -17
  53. package/dist/declarations/src/generated/models/importrequests.d.ts.map +1 -1
  54. package/dist/declarations/src/generated/models/importsummaries.d.ts +11 -12
  55. package/dist/declarations/src/generated/models/importsummaries.d.ts.map +1 -1
  56. package/dist/declarations/src/generated/models/inventories.d.ts +8 -8
  57. package/dist/declarations/src/generated/models/order-patches.d.ts +57 -7
  58. package/dist/declarations/src/generated/models/order-patches.d.ts.map +1 -1
  59. package/dist/declarations/src/generated/models/orders.d.ts +138 -46
  60. package/dist/declarations/src/generated/models/orders.d.ts.map +1 -1
  61. package/dist/declarations/src/generated/models/prices.d.ts +10 -14
  62. package/dist/declarations/src/generated/models/prices.d.ts.map +1 -1
  63. package/dist/declarations/src/generated/models/product-selections.d.ts +109 -0
  64. package/dist/declarations/src/generated/models/product-selections.d.ts.map +1 -0
  65. package/dist/declarations/src/generated/models/productdrafts.d.ts +41 -64
  66. package/dist/declarations/src/generated/models/productdrafts.d.ts.map +1 -1
  67. package/dist/declarations/src/generated/models/products.d.ts +22 -60
  68. package/dist/declarations/src/generated/models/products.d.ts.map +1 -1
  69. package/dist/declarations/src/generated/models/producttypes.d.ts +23 -19
  70. package/dist/declarations/src/generated/models/producttypes.d.ts.map +1 -1
  71. package/dist/declarations/src/generated/models/productvariants.d.ts +162 -89
  72. package/dist/declarations/src/generated/models/productvariants.d.ts.map +1 -1
  73. package/dist/declarations/src/generated/models/standalone-prices.d.ts +14 -15
  74. package/dist/declarations/src/generated/models/standalone-prices.d.ts.map +1 -1
  75. package/dist/declarations/src/generated/models/types.d.ts +11 -4
  76. package/dist/declarations/src/generated/models/types.d.ts.map +1 -1
  77. package/package.json +2 -2
@@ -5,21 +5,25 @@
5
5
  */
6
6
  import { Asset, Image, ImportResource, KeyReference, LocalizedString, ProductKeyReference, ProductVariantKeyReference, TypedMoney } from "./common.js";
7
7
  /**
8
- * This type represents the value of an attribute of a product variant.
9
- * The name and type property must match the name and type property of an attribute definition of the product type.
8
+ * Represents the value of an Attribute of a Product Variant.
10
9
  *
11
10
  */
12
11
  export type Attribute = BooleanAttribute | BooleanSetAttribute | DateAttribute | DateSetAttribute | DateTimeAttribute | DateTimeSetAttribute | EnumAttribute | EnumSetAttribute | LocalizableEnumAttribute | LocalizableEnumSetAttribute | LocalizableTextAttribute | LocalizableTextSetAttribute | MoneyAttribute | MoneySetAttribute | NumberAttribute | NumberSetAttribute | ReferenceAttribute | ReferenceSetAttribute | TextAttribute | TextSetAttribute | TimeAttribute | TimeSetAttribute;
13
12
  export interface IAttribute {
14
13
  /**
15
- * The name of this attribute must match a name of the product types attribute definitions.
16
- * The name is required if this type is used in a product variant and must not be set when
17
- * used in a product variant patch.
14
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
15
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
16
+ *
17
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
18
18
  *
19
19
  *
20
20
  */
21
21
  readonly name?: string;
22
22
  /**
23
+ * Must match `type` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
24
+ * The type is required if this type is used in a product variant and must not be set when
25
+ * used in a product variant patch.
26
+ *
23
27
  *
24
28
  */
25
29
  readonly type: string;
@@ -31,14 +35,17 @@ export interface IAttribute {
31
35
  export interface BooleanAttribute extends IAttribute {
32
36
  readonly type: 'boolean';
33
37
  /**
34
- * The name of this attribute must match a name of the product types attribute definitions.
35
- * The name is required if this type is used in a product variant and must not be set when
36
- * used in a product variant patch.
38
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
39
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
40
+ *
41
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
37
42
  *
38
43
  *
39
44
  */
40
45
  readonly name?: string;
41
46
  /**
47
+ * `true` or `false`
48
+ *
42
49
  *
43
50
  */
44
51
  readonly value: boolean;
@@ -50,14 +57,17 @@ export interface BooleanAttribute extends IAttribute {
50
57
  export interface BooleanSetAttribute extends IAttribute {
51
58
  readonly type: 'boolean-set';
52
59
  /**
53
- * The name of this attribute must match a name of the product types attribute definitions.
54
- * The name is required if this type is used in a product variant and must not be set when
55
- * used in a product variant patch.
60
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
61
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
62
+ *
63
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
56
64
  *
57
65
  *
58
66
  */
59
67
  readonly name?: string;
60
68
  /**
69
+ * A set of boolean values.
70
+ *
61
71
  *
62
72
  */
63
73
  readonly value: boolean[];
@@ -69,14 +79,17 @@ export interface BooleanSetAttribute extends IAttribute {
69
79
  export interface DateAttribute extends IAttribute {
70
80
  readonly type: 'date';
71
81
  /**
72
- * The name of this attribute must match a name of the product types attribute definitions.
73
- * The name is required if this type is used in a product variant and must not be set when
74
- * used in a product variant patch.
82
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
83
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
84
+ *
85
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
75
86
  *
76
87
  *
77
88
  */
78
89
  readonly name?: string;
79
90
  /**
91
+ * A date in the format `YYYY-MM-DD`.
92
+ *
80
93
  *
81
94
  */
82
95
  readonly value: string;
@@ -88,14 +101,17 @@ export interface DateAttribute extends IAttribute {
88
101
  export interface DateSetAttribute extends IAttribute {
89
102
  readonly type: 'date-set';
90
103
  /**
91
- * The name of this attribute must match a name of the product types attribute definitions.
92
- * The name is required if this type is used in a product variant and must not be set when
93
- * used in a product variant patch.
104
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
105
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
106
+ *
107
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
94
108
  *
95
109
  *
96
110
  */
97
111
  readonly name?: string;
98
112
  /**
113
+ * A set of dates in the format `YYYY-MM-DD`.
114
+ *
99
115
  *
100
116
  */
101
117
  readonly value: string[];
@@ -107,14 +123,19 @@ export interface DateSetAttribute extends IAttribute {
107
123
  export interface DateTimeAttribute extends IAttribute {
108
124
  readonly type: 'datetime';
109
125
  /**
110
- * The name of this attribute must match a name of the product types attribute definitions.
111
- * The name is required if this type is used in a product variant and must not be set when
112
- * used in a product variant patch.
126
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
127
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
128
+ *
129
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
113
130
  *
114
131
  *
115
132
  */
116
133
  readonly name?: string;
117
134
  /**
135
+ * A date with time in the format `YYYY-MM-DDTHH:mm:ss.SSSZ`.
136
+ * The time zone is optional and defaults to UTC if not specified.
137
+ * If the time zone is specified, it must be in the format `±HH:mm` or `Z` for UTC.
138
+ *
118
139
  *
119
140
  */
120
141
  readonly value: string;
@@ -126,14 +147,19 @@ export interface DateTimeAttribute extends IAttribute {
126
147
  export interface DateTimeSetAttribute extends IAttribute {
127
148
  readonly type: 'datetime-set';
128
149
  /**
129
- * The name of this attribute must match a name of the product types attribute definitions.
130
- * The name is required if this type is used in a product variant and must not be set when
131
- * used in a product variant patch.
150
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
151
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
152
+ *
153
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
132
154
  *
133
155
  *
134
156
  */
135
157
  readonly name?: string;
136
158
  /**
159
+ * A set of dates with time in the format `YYYY-MM-DDTHH:mm:ss.SSSZ`.
160
+ * The time zone is optional and defaults to UTC if not specified.
161
+ * If the time zone is specified, it must be in the format `±HH:mm` or `Z` for UTC.
162
+ *
137
163
  *
138
164
  */
139
165
  readonly value: string[];
@@ -146,14 +172,18 @@ export interface DateTimeSetAttribute extends IAttribute {
146
172
  export interface EnumAttribute extends IAttribute {
147
173
  readonly type: 'enum';
148
174
  /**
149
- * The name of this attribute must match a name of the product types attribute definitions.
150
- * The name is required if this type is used in a product variant and must not be set when
151
- * used in a product variant patch.
175
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
176
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
177
+ *
178
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
152
179
  *
153
180
  *
154
181
  */
155
182
  readonly name?: string;
156
183
  /**
184
+ * The key of the enum value.
185
+ * Must match the key of an [AttributePlainEnumValue](ctp:api:type:AttributePlainEnumValue) in the Product Type.
186
+ *
157
187
  *
158
188
  */
159
189
  readonly value: string;
@@ -166,14 +196,18 @@ export interface EnumAttribute extends IAttribute {
166
196
  export interface EnumSetAttribute extends IAttribute {
167
197
  readonly type: 'enum-set';
168
198
  /**
169
- * The name of this attribute must match a name of the product types attribute definitions.
170
- * The name is required if this type is used in a product variant and must not be set when
171
- * used in a product variant patch.
199
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
200
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
201
+ *
202
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
172
203
  *
173
204
  *
174
205
  */
175
206
  readonly name?: string;
176
207
  /**
208
+ * A set of enum values, each represented by its key.
209
+ * Each key must match the key of an [AttributePlainEnumValue](ctp:api:type:AttributePlainEnumValue) in the Product Type.
210
+ *
177
211
  *
178
212
  */
179
213
  readonly value: string[];
@@ -186,14 +220,18 @@ export interface EnumSetAttribute extends IAttribute {
186
220
  export interface LocalizableEnumAttribute extends IAttribute {
187
221
  readonly type: 'lenum';
188
222
  /**
189
- * The name of this attribute must match a name of the product types attribute definitions.
190
- * The name is required if this type is used in a product variant and must not be set when
191
- * used in a product variant patch.
223
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
224
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
225
+ *
226
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
192
227
  *
193
228
  *
194
229
  */
195
230
  readonly name?: string;
196
231
  /**
232
+ * The key of the localized enum value.
233
+ * Must match the key of an [AttributeLocalizedEnumValue](ctp:api:type:AttributeLocalizedEnumValue) in the Product Type.
234
+ *
197
235
  *
198
236
  */
199
237
  readonly value: string;
@@ -206,14 +244,18 @@ export interface LocalizableEnumAttribute extends IAttribute {
206
244
  export interface LocalizableEnumSetAttribute extends IAttribute {
207
245
  readonly type: 'lenum-set';
208
246
  /**
209
- * The name of this attribute must match a name of the product types attribute definitions.
210
- * The name is required if this type is used in a product variant and must not be set when
211
- * used in a product variant patch.
247
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
248
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
249
+ *
250
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
212
251
  *
213
252
  *
214
253
  */
215
254
  readonly name?: string;
216
255
  /**
256
+ * A set of localized enum values, each represented by its key.
257
+ * Each key must match the key of an [AttributeLocalizedEnumValue](ctp:api:type:AttributeLocalizedEnumValue) in the Product Type.
258
+ *
217
259
  *
218
260
  */
219
261
  readonly value: string[];
@@ -225,21 +267,16 @@ export interface LocalizableEnumSetAttribute extends IAttribute {
225
267
  export interface LocalizableTextAttribute extends IAttribute {
226
268
  readonly type: 'ltext';
227
269
  /**
228
- * The name of this attribute must match a name of the product types attribute definitions.
229
- * The name is required if this type is used in a product variant and must not be set when
230
- * used in a product variant patch.
270
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
271
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
272
+ *
273
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
231
274
  *
232
275
  *
233
276
  */
234
277
  readonly name?: string;
235
278
  /**
236
- * A localized string is a JSON object where the keys are of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), and the values the corresponding strings used for that language.
237
- * ```json
238
- * {
239
- * "de": "Hundefutter",
240
- * "en": "dog food"
241
- * }
242
- * ```
279
+ * A localized string.
243
280
  *
244
281
  *
245
282
  */
@@ -252,14 +289,17 @@ export interface LocalizableTextAttribute extends IAttribute {
252
289
  export interface LocalizableTextSetAttribute extends IAttribute {
253
290
  readonly type: 'ltext-set';
254
291
  /**
255
- * The name of this attribute must match a name of the product types attribute definitions.
256
- * The name is required if this type is used in a product variant and must not be set when
257
- * used in a product variant patch.
292
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
293
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
294
+ *
295
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
258
296
  *
259
297
  *
260
298
  */
261
299
  readonly name?: string;
262
300
  /**
301
+ * A set of localized strings.
302
+ *
263
303
  *
264
304
  */
265
305
  readonly value: LocalizedString[];
@@ -271,14 +311,17 @@ export interface LocalizableTextSetAttribute extends IAttribute {
271
311
  export interface MoneyAttribute extends IAttribute {
272
312
  readonly type: 'money';
273
313
  /**
274
- * The name of this attribute must match a name of the product types attribute definitions.
275
- * The name is required if this type is used in a product variant and must not be set when
276
- * used in a product variant patch.
314
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
315
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
316
+ *
317
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
277
318
  *
278
319
  *
279
320
  */
280
321
  readonly name?: string;
281
322
  /**
323
+ * A money value in cent precision format.
324
+ *
282
325
  *
283
326
  */
284
327
  readonly value: TypedMoney;
@@ -290,14 +333,17 @@ export interface MoneyAttribute extends IAttribute {
290
333
  export interface MoneySetAttribute extends IAttribute {
291
334
  readonly type: 'money-set';
292
335
  /**
293
- * The name of this attribute must match a name of the product types attribute definitions.
294
- * The name is required if this type is used in a product variant and must not be set when
295
- * used in a product variant patch.
336
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
337
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
338
+ *
339
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
296
340
  *
297
341
  *
298
342
  */
299
343
  readonly name?: string;
300
344
  /**
345
+ * A set of money values in cent precision format.
346
+ *
301
347
  *
302
348
  */
303
349
  readonly value: TypedMoney[];
@@ -309,14 +355,18 @@ export interface MoneySetAttribute extends IAttribute {
309
355
  export interface NumberAttribute extends IAttribute {
310
356
  readonly type: 'number';
311
357
  /**
312
- * The name of this attribute must match a name of the product types attribute definitions.
313
- * The name is required if this type is used in a product variant and must not be set when
314
- * used in a product variant patch.
358
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
359
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
360
+ *
361
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
315
362
  *
316
363
  *
317
364
  */
318
365
  readonly name?: string;
319
366
  /**
367
+ * A number value.
368
+ * Can be an integer or a floating-point number.
369
+ *
320
370
  *
321
371
  */
322
372
  readonly value: number;
@@ -328,14 +378,18 @@ export interface NumberAttribute extends IAttribute {
328
378
  export interface NumberSetAttribute extends IAttribute {
329
379
  readonly type: 'number-set';
330
380
  /**
331
- * The name of this attribute must match a name of the product types attribute definitions.
332
- * The name is required if this type is used in a product variant and must not be set when
333
- * used in a product variant patch.
381
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
382
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
383
+ *
384
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
334
385
  *
335
386
  *
336
387
  */
337
388
  readonly name?: string;
338
389
  /**
390
+ * A set of number values.
391
+ * Each value can be an integer or a floating-point number.
392
+ *
339
393
  *
340
394
  */
341
395
  readonly value: number[];
@@ -347,9 +401,10 @@ export interface NumberSetAttribute extends IAttribute {
347
401
  export interface ReferenceAttribute extends IAttribute {
348
402
  readonly type: 'reference';
349
403
  /**
350
- * The name of this attribute must match a name of the product types attribute definitions.
351
- * The name is required if this type is used in a product variant and must not be set when
352
- * used in a product variant patch.
404
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
405
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
406
+ *
407
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
353
408
  *
354
409
  *
355
410
  */
@@ -367,14 +422,18 @@ export interface ReferenceAttribute extends IAttribute {
367
422
  export interface ReferenceSetAttribute extends IAttribute {
368
423
  readonly type: 'reference-set';
369
424
  /**
370
- * The name of this attribute must match a name of the product types attribute definitions.
371
- * The name is required if this type is used in a product variant and must not be set when
372
- * used in a product variant patch.
425
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
426
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
427
+ *
428
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
373
429
  *
374
430
  *
375
431
  */
376
432
  readonly name?: string;
377
433
  /**
434
+ * A set of references, each referencing a resource by key.
435
+ * Each reference must match the key of an existing resource in the project.
436
+ *
378
437
  *
379
438
  */
380
439
  readonly value: KeyReference[];
@@ -386,14 +445,17 @@ export interface ReferenceSetAttribute extends IAttribute {
386
445
  export interface TextAttribute extends IAttribute {
387
446
  readonly type: 'text';
388
447
  /**
389
- * The name of this attribute must match a name of the product types attribute definitions.
390
- * The name is required if this type is used in a product variant and must not be set when
391
- * used in a product variant patch.
448
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
449
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
450
+ *
451
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
392
452
  *
393
453
  *
394
454
  */
395
455
  readonly name?: string;
396
456
  /**
457
+ * A text value.
458
+ *
397
459
  *
398
460
  */
399
461
  readonly value: string;
@@ -405,14 +467,17 @@ export interface TextAttribute extends IAttribute {
405
467
  export interface TextSetAttribute extends IAttribute {
406
468
  readonly type: 'text-set';
407
469
  /**
408
- * The name of this attribute must match a name of the product types attribute definitions.
409
- * The name is required if this type is used in a product variant and must not be set when
410
- * used in a product variant patch.
470
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
471
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
472
+ *
473
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
411
474
  *
412
475
  *
413
476
  */
414
477
  readonly name?: string;
415
478
  /**
479
+ * A set of text values.
480
+ *
416
481
  *
417
482
  */
418
483
  readonly value: string[];
@@ -424,14 +489,19 @@ export interface TextSetAttribute extends IAttribute {
424
489
  export interface TimeAttribute extends IAttribute {
425
490
  readonly type: 'time';
426
491
  /**
427
- * The name of this attribute must match a name of the product types attribute definitions.
428
- * The name is required if this type is used in a product variant and must not be set when
429
- * used in a product variant patch.
492
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
493
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
494
+ *
495
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
430
496
  *
431
497
  *
432
498
  */
433
499
  readonly name?: string;
434
500
  /**
501
+ * A time value in the format `HH:mm:ss.SSS`.
502
+ * The time zone is optional and defaults to UTC if not specified.
503
+ * If the time zone is specified, it must be in the format `±HH:mm` or `Z` for UTC.
504
+ *
435
505
  *
436
506
  */
437
507
  readonly value: string;
@@ -443,25 +513,30 @@ export interface TimeAttribute extends IAttribute {
443
513
  export interface TimeSetAttribute extends IAttribute {
444
514
  readonly type: 'time-set';
445
515
  /**
446
- * The name of this attribute must match a name of the product types attribute definitions.
447
- * The name is required if this type is used in a product variant and must not be set when
448
- * used in a product variant patch.
516
+ * Required if used for [ProductVariantImport](ctp:import:type:ProductVariantImport).
517
+ * Must not be set if used for [ProductVariantPatch](ctp:import:type:ProductVariantPatch).
518
+ *
519
+ * Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
449
520
  *
450
521
  *
451
522
  */
452
523
  readonly name?: string;
453
524
  /**
525
+ * A set of time values in the format `HH:mm:ss.SSS`.
526
+ * The time zone is optional and defaults to UTC if not specified.
527
+ * If the time zone is specified, it must be in the format `±HH:mm` or `Z` for UTC.
528
+ *
454
529
  *
455
530
  */
456
531
  readonly value: string[];
457
532
  }
458
533
  /**
459
- * The data representation for a ProductVariant to be imported that is persisted as a [ProductVariant](ctp:api:type:ProductVariant) in the Project.
534
+ * Represents the data used to import a ProductVariant. Once imported, this data is persisted as a [ProductVariant](ctp:api:type:ProductVariant) in the Project.
460
535
  *
461
536
  */
462
537
  export interface ProductVariantImport extends ImportResource {
463
538
  /**
464
- * User-defined unique identifier. If a [ProductVariant](ctp:api:type:ProductVariant) with this `key` exists on the specified `product`, it will be updated with the imported data.
539
+ * User-defined unique identifier. If a [ProductVariant](ctp:api:type:ProductVariant) with this `key` exists on the specified `product`, it is updated with the imported data.
465
540
  *
466
541
  */
467
542
  readonly key: string;
@@ -498,30 +573,26 @@ export interface ProductVariantImport extends ImportResource {
498
573
  */
499
574
  readonly assets?: Asset[];
500
575
  /**
501
- * - Set to `false` to update both the [current and staged projections](/../api/projects/productProjections#current--staged) of the [Product](/../api/projects/products#product) with the new Product Variant data.
576
+ * - Set to `false` to update both the [current and staged projections](/../api/projects/productProjections#current--staged) of the [Product](ctp:api:type:Product) with the new Product Variant data.
502
577
  * - Leave empty or set to `true` to only update the staged projection.
503
578
  *
504
579
  *
505
580
  */
506
581
  readonly staged?: boolean;
507
582
  /**
508
- * The [Product](ctp:api:type:ProductVariant) to which this Product Variant belongs. Maps to `ProductVariant.product`.
509
- * The Reference to the [Product](ctp:api:type:Product) with which the ProductVariant is associated.
510
- * If referenced Product does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary Product is created.
583
+ * The [Product](ctp:api:type:ProductVariant) containing this ProductVariant. If the referenced Product does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the referenced Product is created.
511
584
  *
512
585
  *
513
586
  */
514
587
  readonly product: ProductKeyReference;
515
588
  }
516
589
  /**
517
- * Representation for an update of a [ProductVariant](ctp:api:type:ProductVariant). Use this type to import updates for existing
518
- * [ProductVariants](ctp:api:type:ProductVariant) in a Project.
590
+ * Represents the data used to update a [ProductVariant](ctp:api:type:ProductVariant).
519
591
  *
520
592
  */
521
593
  export interface ProductVariantPatch {
522
594
  /**
523
595
  * Reference to the [ProductVariant](ctp:api:type:ProductVariant) to update.
524
- * If the referenced ProductVariant does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the necessary ProductVariant is created.
525
596
  *
526
597
  *
527
598
  */
@@ -531,7 +602,7 @@ export interface ProductVariantPatch {
531
602
  * - The referenced Attribute must be defined in an existing [ProductType](ctp:api:type:ProductType), or the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be `validationFailed`.
532
603
  * - Setting the value of a non-required Attribute to `null` will remove the Attribute.
533
604
  * - Attempting to set a `null` value to a required Attribute will make the import operation fail with an [InvalidOperation](ctp:import:type:InvalidOperation) error.
534
- * - Importing [LocalizableTextAttributes](ctp:import:type:LocalizableTextAttribute) or [LocalizableTextSetAttributes](ctp:import:type:LocalizableTextSetAttribute) follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to `null`.
605
+ * - Importing [LocalizableTextAttributes](ctp:import:type:LocalizableTextAttribute) or [LocalizableTextSetAttributes](ctp:import:type:LocalizableTextSetAttribute) follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to `null`.
535
606
  *
536
607
  *
537
608
  */
@@ -543,11 +614,13 @@ export interface ProductVariantPatch {
543
614
  */
544
615
  readonly staged?: boolean;
545
616
  /**
546
- * Reference to the [Product](/../api/projects/products#product) that contains the ProductVariant.
617
+ * Reference to the [Product](ctp:api:type:Product) that contains the ProductVariant.
547
618
  *
548
619
  * We recommend to set this value to minimize concurrency errors.
549
620
  * If set, this field is required for every ProductVariantPatch in the [ProductVariantPatchRequest](ctp:import:type:ProductVariantPatchRequest).
550
621
  *
622
+ * If the referenced Product does not exist, the `state` of the [ImportOperation](ctp:import:type:ImportOperation) will be set to `unresolved` until the referenced Product is created.
623
+ *
551
624
  *
552
625
  */
553
626
  readonly product?: ProductKeyReference;
@@ -1 +1 @@
1
- {"version":3,"file":"productvariants.d.ts","sourceRoot":"../../../../../src/generated/models","sources":["productvariants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,EACL,KAAK,EACL,cAAc,EACd,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,0BAA0B,EAC1B,UAAU,EACX,oBAAgB;AAEjB;;;;GAIG;AACH,MAAM,MAAM,SAAS,GACjB,gBAAgB,GAChB,mBAAmB,GACnB,aAAa,GACb,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,aAAa,GACb,gBAAgB,GAChB,wBAAwB,GACxB,2BAA2B,GAC3B,wBAAwB,GACxB,2BAA2B,GAC3B,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,aAAa,GACb,gBAAgB,GAChB,aAAa,GACb,gBAAgB,CAAA;AACpB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;IACxB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CACxB;AACD;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAC5B;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,CAAA;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,QAAQ,CAAC,I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ACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAA;CACtC;AACD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;OAKG;IACH,QAAQ,CAAC,cAAc,EAAE,0BAA0B,CAAA;IACnD;;;;;;;;OAQG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAA;IAChC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAA;CACvC;AACD,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAA;CAChC"}
1
+ {"version":3,"file":"productvariants.d.ts","sourceRoot":"../../../../../src/generated/models","sources":["productvariants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,EACL,KAAK,EACL,cAAc,EACd,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,0BAA0B,EAC1B,UAAU,EACX,oBAAgB;AAEjB;;;GAGG;AACH,MAAM,MAAM,SAAS,GACjB,gBAAgB,GAChB,mBAAmB,GACnB,aAAa,GACb,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,aAAa,GACb,gBAAgB,GAChB,wBAAwB,GACxB,2BAA2B,GAC3B,wBAAwB,GACxB,2BAA2B,GAC3B,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,aAAa,GACb,gBAAgB,GAChB,aAAa,GACb,gBAAgB,CAAA;AACpB,MAAM,WAAW,UAAU;IACzB;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAC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