@revenexx/sdk 0.0.4 → 0.0.5
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/dist/cjs/sdk.js +7445 -1584
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +7422 -1585
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +7445 -1584
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/enums/address-type.ts +4 -0
- package/src/enums/cart-export-format.ts +4 -0
- package/src/enums/cart-io-apply-mode.ts +5 -0
- package/src/enums/cart-io-direction.ts +4 -0
- package/src/enums/cart-io-entity.ts +4 -0
- package/src/enums/cart-io-format.ts +4 -0
- package/src/enums/cart-item-type.ts +5 -0
- package/src/enums/channel-status.ts +4 -0
- package/src/enums/channel-type.ts +7 -0
- package/src/enums/contact-role.ts +6 -0
- package/src/enums/contact-status.ts +5 -0
- package/src/enums/location-type.ts +6 -0
- package/src/enums/market-status.ts +4 -0
- package/src/enums/order-comment-visibility.ts +4 -0
- package/src/enums/order-item-type.ts +5 -0
- package/src/enums/order-payment-status.ts +9 -0
- package/src/enums/organization-status.ts +4 -0
- package/src/enums/page-status.ts +5 -0
- package/src/enums/payment-fee-type.ts +5 -0
- package/src/enums/payment-method-kind.ts +4 -0
- package/src/enums/price-entry-type.ts +4 -0
- package/src/enums/price-list-status.ts +4 -0
- package/src/enums/shipping-method-matrix-basis.ts +6 -0
- package/src/enums/shipping-method-pricing-type.ts +5 -0
- package/src/index.ts +24 -0
- package/src/models.ts +4303 -941
- package/src/services/apps.ts +154 -154
- package/src/services/avatars.ts +57 -57
- package/src/services/carts.ts +739 -104
- package/src/services/channels.ts +147 -19
- package/src/services/customers.ts +801 -69
- package/src/services/greetings.ts +18 -18
- package/src/services/inventories.ts +620 -65
- package/src/services/locale.ts +16 -16
- package/src/services/markets.ts +373 -75
- package/src/services/messaging.ts +273 -273
- package/src/services/orders.ts +692 -137
- package/src/services/pages.ts +377 -157
- package/src/services/payments.ts +591 -64
- package/src/services/prices.ts +524 -59
- package/src/services/products.ts +1836 -272
- package/src/services/search.ts +24 -24
- package/src/services/shipping.ts +444 -59
- package/src/services/sites.ts +116 -116
- package/src/services/storage.ts +72 -72
- package/src/services/tokens.ts +14 -14
- package/types/enums/address-type.d.ts +4 -0
- package/types/enums/cart-export-format.d.ts +4 -0
- package/types/enums/cart-io-apply-mode.d.ts +5 -0
- package/types/enums/cart-io-direction.d.ts +4 -0
- package/types/enums/cart-io-entity.d.ts +4 -0
- package/types/enums/cart-io-format.d.ts +4 -0
- package/types/enums/cart-item-type.d.ts +5 -0
- package/types/enums/channel-status.d.ts +4 -0
- package/types/enums/channel-type.d.ts +7 -0
- package/types/enums/contact-role.d.ts +6 -0
- package/types/enums/contact-status.d.ts +5 -0
- package/types/enums/location-type.d.ts +6 -0
- package/types/enums/market-status.d.ts +4 -0
- package/types/enums/order-comment-visibility.d.ts +4 -0
- package/types/enums/order-item-type.d.ts +5 -0
- package/types/enums/order-payment-status.d.ts +9 -0
- package/types/enums/organization-status.d.ts +4 -0
- package/types/enums/page-status.d.ts +5 -0
- package/types/enums/payment-fee-type.d.ts +5 -0
- package/types/enums/payment-method-kind.d.ts +4 -0
- package/types/enums/price-entry-type.d.ts +4 -0
- package/types/enums/price-list-status.d.ts +4 -0
- package/types/enums/shipping-method-matrix-basis.d.ts +6 -0
- package/types/enums/shipping-method-pricing-type.d.ts +5 -0
- package/types/index.d.ts +24 -0
- package/types/models.d.ts +4214 -970
- package/types/services/carts.d.ts +271 -12
- package/types/services/channels.d.ts +54 -2
- package/types/services/customers.d.ts +295 -12
- package/types/services/inventories.d.ts +225 -11
- package/types/services/markets.d.ts +123 -6
- package/types/services/orders.d.ts +238 -16
- package/types/services/pages.d.ts +95 -6
- package/types/services/payments.d.ts +221 -7
- package/types/services/prices.d.ts +198 -6
- package/types/services/products.d.ts +646 -32
- package/types/services/shipping.d.ts +165 -6
|
@@ -11,10 +11,48 @@ export declare class Products {
|
|
|
11
11
|
productsList(): Promise<{}>;
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
|
+
* @param {string} params.sku -
|
|
15
|
+
* @param {object} params.attributeValues -
|
|
16
|
+
* @param {object} params.completeness -
|
|
17
|
+
* @param {string} params.deletedAt -
|
|
18
|
+
* @param {boolean} params.enabled -
|
|
19
|
+
* @param {string} params.familyId -
|
|
20
|
+
* @param {string} params.familyVariantId -
|
|
21
|
+
* @param {string} params.kind -
|
|
22
|
+
* @param {string} params.parentId -
|
|
23
|
+
* @param {object} params.quantifiedAssociations -
|
|
14
24
|
* @throws {RevenexxException}
|
|
15
25
|
* @returns {Promise<Models.Products>}
|
|
16
26
|
*/
|
|
17
|
-
productsCreate(
|
|
27
|
+
productsCreate(params: {
|
|
28
|
+
sku: string;
|
|
29
|
+
attributeValues?: object;
|
|
30
|
+
completeness?: object;
|
|
31
|
+
deletedAt?: string;
|
|
32
|
+
enabled?: boolean;
|
|
33
|
+
familyId?: string;
|
|
34
|
+
familyVariantId?: string;
|
|
35
|
+
kind?: string;
|
|
36
|
+
parentId?: string;
|
|
37
|
+
quantifiedAssociations?: object;
|
|
38
|
+
}): Promise<Models.Products>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param {string} sku -
|
|
42
|
+
* @param {object} attributeValues -
|
|
43
|
+
* @param {object} completeness -
|
|
44
|
+
* @param {string} deletedAt -
|
|
45
|
+
* @param {boolean} enabled -
|
|
46
|
+
* @param {string} familyId -
|
|
47
|
+
* @param {string} familyVariantId -
|
|
48
|
+
* @param {string} kind -
|
|
49
|
+
* @param {string} parentId -
|
|
50
|
+
* @param {object} quantifiedAssociations -
|
|
51
|
+
* @throws {RevenexxException}
|
|
52
|
+
* @returns {Promise<Models.Products>}
|
|
53
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
54
|
+
*/
|
|
55
|
+
productsCreate(sku: string, attributeValues?: object, completeness?: object, deletedAt?: string, enabled?: boolean, familyId?: string, familyVariantId?: string, kind?: string, parentId?: string, quantifiedAssociations?: object): Promise<Models.Products>;
|
|
18
56
|
/**
|
|
19
57
|
*
|
|
20
58
|
* @throws {RevenexxException}
|
|
@@ -23,10 +61,27 @@ export declare class Products {
|
|
|
23
61
|
productsAssetFamiliesList(): Promise<{}>;
|
|
24
62
|
/**
|
|
25
63
|
*
|
|
64
|
+
* @param {string} params.code -
|
|
65
|
+
* @param {object} params.labels -
|
|
66
|
+
* @param {object} params.namingConvention -
|
|
26
67
|
* @throws {RevenexxException}
|
|
27
68
|
* @returns {Promise<Models.AssetFamilies>}
|
|
28
69
|
*/
|
|
29
|
-
productsAssetFamiliesCreate(
|
|
70
|
+
productsAssetFamiliesCreate(params: {
|
|
71
|
+
code: string;
|
|
72
|
+
labels?: object;
|
|
73
|
+
namingConvention?: object;
|
|
74
|
+
}): Promise<Models.AssetFamilies>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @param {string} code -
|
|
78
|
+
* @param {object} labels -
|
|
79
|
+
* @param {object} namingConvention -
|
|
80
|
+
* @throws {RevenexxException}
|
|
81
|
+
* @returns {Promise<Models.AssetFamilies>}
|
|
82
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
83
|
+
*/
|
|
84
|
+
productsAssetFamiliesCreate(code: string, labels?: object, namingConvention?: object): Promise<Models.AssetFamilies>;
|
|
30
85
|
/**
|
|
31
86
|
*
|
|
32
87
|
* @param {string} params.id -
|
|
@@ -64,20 +119,29 @@ export declare class Products {
|
|
|
64
119
|
/**
|
|
65
120
|
*
|
|
66
121
|
* @param {string} params.id -
|
|
122
|
+
* @param {string} params.code -
|
|
123
|
+
* @param {object} params.labels -
|
|
124
|
+
* @param {object} params.namingConvention -
|
|
67
125
|
* @throws {RevenexxException}
|
|
68
126
|
* @returns {Promise<Models.AssetFamilies>}
|
|
69
127
|
*/
|
|
70
128
|
productsAssetFamiliesUpdate(params: {
|
|
71
129
|
id: string;
|
|
130
|
+
code?: string;
|
|
131
|
+
labels?: object;
|
|
132
|
+
namingConvention?: object;
|
|
72
133
|
}): Promise<Models.AssetFamilies>;
|
|
73
134
|
/**
|
|
74
135
|
*
|
|
75
136
|
* @param {string} id -
|
|
137
|
+
* @param {string} code -
|
|
138
|
+
* @param {object} labels -
|
|
139
|
+
* @param {object} namingConvention -
|
|
76
140
|
* @throws {RevenexxException}
|
|
77
141
|
* @returns {Promise<Models.AssetFamilies>}
|
|
78
142
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
79
143
|
*/
|
|
80
|
-
productsAssetFamiliesUpdate(id: string): Promise<Models.AssetFamilies>;
|
|
144
|
+
productsAssetFamiliesUpdate(id: string, code?: string, labels?: object, namingConvention?: object): Promise<Models.AssetFamilies>;
|
|
81
145
|
/**
|
|
82
146
|
*
|
|
83
147
|
* @throws {RevenexxException}
|
|
@@ -86,10 +150,30 @@ export declare class Products {
|
|
|
86
150
|
productsAssetsList(): Promise<{}>;
|
|
87
151
|
/**
|
|
88
152
|
*
|
|
153
|
+
* @param {string} params.assetFamilyId -
|
|
154
|
+
* @param {string} params.code -
|
|
155
|
+
* @param {object} params.attributeValues -
|
|
156
|
+
* @param {string} params.mediaUuid -
|
|
89
157
|
* @throws {RevenexxException}
|
|
90
158
|
* @returns {Promise<Models.Assets>}
|
|
91
159
|
*/
|
|
92
|
-
productsAssetsCreate(
|
|
160
|
+
productsAssetsCreate(params: {
|
|
161
|
+
assetFamilyId: string;
|
|
162
|
+
code: string;
|
|
163
|
+
attributeValues?: object;
|
|
164
|
+
mediaUuid?: string;
|
|
165
|
+
}): Promise<Models.Assets>;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @param {string} assetFamilyId -
|
|
169
|
+
* @param {string} code -
|
|
170
|
+
* @param {object} attributeValues -
|
|
171
|
+
* @param {string} mediaUuid -
|
|
172
|
+
* @throws {RevenexxException}
|
|
173
|
+
* @returns {Promise<Models.Assets>}
|
|
174
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
175
|
+
*/
|
|
176
|
+
productsAssetsCreate(assetFamilyId: string, code: string, attributeValues?: object, mediaUuid?: string): Promise<Models.Assets>;
|
|
93
177
|
/**
|
|
94
178
|
*
|
|
95
179
|
* @param {string} params.id -
|
|
@@ -127,20 +211,32 @@ export declare class Products {
|
|
|
127
211
|
/**
|
|
128
212
|
*
|
|
129
213
|
* @param {string} params.id -
|
|
214
|
+
* @param {string} params.assetFamilyId -
|
|
215
|
+
* @param {object} params.attributeValues -
|
|
216
|
+
* @param {string} params.code -
|
|
217
|
+
* @param {string} params.mediaUuid -
|
|
130
218
|
* @throws {RevenexxException}
|
|
131
219
|
* @returns {Promise<Models.Assets>}
|
|
132
220
|
*/
|
|
133
221
|
productsAssetsUpdate(params: {
|
|
134
222
|
id: string;
|
|
223
|
+
assetFamilyId?: string;
|
|
224
|
+
attributeValues?: object;
|
|
225
|
+
code?: string;
|
|
226
|
+
mediaUuid?: string;
|
|
135
227
|
}): Promise<Models.Assets>;
|
|
136
228
|
/**
|
|
137
229
|
*
|
|
138
230
|
* @param {string} id -
|
|
231
|
+
* @param {string} assetFamilyId -
|
|
232
|
+
* @param {object} attributeValues -
|
|
233
|
+
* @param {string} code -
|
|
234
|
+
* @param {string} mediaUuid -
|
|
139
235
|
* @throws {RevenexxException}
|
|
140
236
|
* @returns {Promise<Models.Assets>}
|
|
141
237
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
142
238
|
*/
|
|
143
|
-
productsAssetsUpdate(id: string): Promise<Models.Assets>;
|
|
239
|
+
productsAssetsUpdate(id: string, assetFamilyId?: string, attributeValues?: object, code?: string, mediaUuid?: string): Promise<Models.Assets>;
|
|
144
240
|
/**
|
|
145
241
|
*
|
|
146
242
|
* @throws {RevenexxException}
|
|
@@ -149,10 +245,30 @@ export declare class Products {
|
|
|
149
245
|
productsAssociationTypesList(): Promise<{}>;
|
|
150
246
|
/**
|
|
151
247
|
*
|
|
248
|
+
* @param {string} params.code -
|
|
249
|
+
* @param {boolean} params.isQuantified -
|
|
250
|
+
* @param {boolean} params.isTwoWay -
|
|
251
|
+
* @param {object} params.labels -
|
|
152
252
|
* @throws {RevenexxException}
|
|
153
253
|
* @returns {Promise<Models.AssociationTypes>}
|
|
154
254
|
*/
|
|
155
|
-
productsAssociationTypesCreate(
|
|
255
|
+
productsAssociationTypesCreate(params: {
|
|
256
|
+
code: string;
|
|
257
|
+
isQuantified?: boolean;
|
|
258
|
+
isTwoWay?: boolean;
|
|
259
|
+
labels?: object;
|
|
260
|
+
}): Promise<Models.AssociationTypes>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @param {string} code -
|
|
264
|
+
* @param {boolean} isQuantified -
|
|
265
|
+
* @param {boolean} isTwoWay -
|
|
266
|
+
* @param {object} labels -
|
|
267
|
+
* @throws {RevenexxException}
|
|
268
|
+
* @returns {Promise<Models.AssociationTypes>}
|
|
269
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
270
|
+
*/
|
|
271
|
+
productsAssociationTypesCreate(code: string, isQuantified?: boolean, isTwoWay?: boolean, labels?: object): Promise<Models.AssociationTypes>;
|
|
156
272
|
/**
|
|
157
273
|
*
|
|
158
274
|
* @param {string} params.id -
|
|
@@ -190,20 +306,32 @@ export declare class Products {
|
|
|
190
306
|
/**
|
|
191
307
|
*
|
|
192
308
|
* @param {string} params.id -
|
|
309
|
+
* @param {string} params.code -
|
|
310
|
+
* @param {boolean} params.isQuantified -
|
|
311
|
+
* @param {boolean} params.isTwoWay -
|
|
312
|
+
* @param {object} params.labels -
|
|
193
313
|
* @throws {RevenexxException}
|
|
194
314
|
* @returns {Promise<Models.AssociationTypes>}
|
|
195
315
|
*/
|
|
196
316
|
productsAssociationTypesUpdate(params: {
|
|
197
317
|
id: string;
|
|
318
|
+
code?: string;
|
|
319
|
+
isQuantified?: boolean;
|
|
320
|
+
isTwoWay?: boolean;
|
|
321
|
+
labels?: object;
|
|
198
322
|
}): Promise<Models.AssociationTypes>;
|
|
199
323
|
/**
|
|
200
324
|
*
|
|
201
325
|
* @param {string} id -
|
|
326
|
+
* @param {string} code -
|
|
327
|
+
* @param {boolean} isQuantified -
|
|
328
|
+
* @param {boolean} isTwoWay -
|
|
329
|
+
* @param {object} labels -
|
|
202
330
|
* @throws {RevenexxException}
|
|
203
331
|
* @returns {Promise<Models.AssociationTypes>}
|
|
204
332
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
205
333
|
*/
|
|
206
|
-
productsAssociationTypesUpdate(id: string): Promise<Models.AssociationTypes>;
|
|
334
|
+
productsAssociationTypesUpdate(id: string, code?: string, isQuantified?: boolean, isTwoWay?: boolean, labels?: object): Promise<Models.AssociationTypes>;
|
|
207
335
|
/**
|
|
208
336
|
*
|
|
209
337
|
* @throws {RevenexxException}
|
|
@@ -212,10 +340,27 @@ export declare class Products {
|
|
|
212
340
|
productsAttributeGroupsList(): Promise<{}>;
|
|
213
341
|
/**
|
|
214
342
|
*
|
|
343
|
+
* @param {string} params.code -
|
|
344
|
+
* @param {object} params.labels -
|
|
345
|
+
* @param {number} params.position -
|
|
215
346
|
* @throws {RevenexxException}
|
|
216
347
|
* @returns {Promise<Models.AttributeGroups>}
|
|
217
348
|
*/
|
|
218
|
-
productsAttributeGroupsCreate(
|
|
349
|
+
productsAttributeGroupsCreate(params: {
|
|
350
|
+
code: string;
|
|
351
|
+
labels?: object;
|
|
352
|
+
position?: number;
|
|
353
|
+
}): Promise<Models.AttributeGroups>;
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @param {string} code -
|
|
357
|
+
* @param {object} labels -
|
|
358
|
+
* @param {number} position -
|
|
359
|
+
* @throws {RevenexxException}
|
|
360
|
+
* @returns {Promise<Models.AttributeGroups>}
|
|
361
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
362
|
+
*/
|
|
363
|
+
productsAttributeGroupsCreate(code: string, labels?: object, position?: number): Promise<Models.AttributeGroups>;
|
|
219
364
|
/**
|
|
220
365
|
*
|
|
221
366
|
* @param {string} params.id -
|
|
@@ -253,20 +398,29 @@ export declare class Products {
|
|
|
253
398
|
/**
|
|
254
399
|
*
|
|
255
400
|
* @param {string} params.id -
|
|
401
|
+
* @param {string} params.code -
|
|
402
|
+
* @param {object} params.labels -
|
|
403
|
+
* @param {number} params.position -
|
|
256
404
|
* @throws {RevenexxException}
|
|
257
405
|
* @returns {Promise<Models.AttributeGroups>}
|
|
258
406
|
*/
|
|
259
407
|
productsAttributeGroupsUpdate(params: {
|
|
260
408
|
id: string;
|
|
409
|
+
code?: string;
|
|
410
|
+
labels?: object;
|
|
411
|
+
position?: number;
|
|
261
412
|
}): Promise<Models.AttributeGroups>;
|
|
262
413
|
/**
|
|
263
414
|
*
|
|
264
415
|
* @param {string} id -
|
|
416
|
+
* @param {string} code -
|
|
417
|
+
* @param {object} labels -
|
|
418
|
+
* @param {number} position -
|
|
265
419
|
* @throws {RevenexxException}
|
|
266
420
|
* @returns {Promise<Models.AttributeGroups>}
|
|
267
421
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
268
422
|
*/
|
|
269
|
-
productsAttributeGroupsUpdate(id: string): Promise<Models.AttributeGroups>;
|
|
423
|
+
productsAttributeGroupsUpdate(id: string, code?: string, labels?: object, position?: number): Promise<Models.AttributeGroups>;
|
|
270
424
|
/**
|
|
271
425
|
*
|
|
272
426
|
* @throws {RevenexxException}
|
|
@@ -275,10 +429,33 @@ export declare class Products {
|
|
|
275
429
|
productsAttributeOptionsList(): Promise<{}>;
|
|
276
430
|
/**
|
|
277
431
|
*
|
|
432
|
+
* @param {string} params.attributeId -
|
|
433
|
+
* @param {string} params.code -
|
|
434
|
+
* @param {object} params.labels -
|
|
435
|
+
* @param {number} params.position -
|
|
436
|
+
* @param {object} params.swatch -
|
|
278
437
|
* @throws {RevenexxException}
|
|
279
438
|
* @returns {Promise<Models.AttributeOptions>}
|
|
280
439
|
*/
|
|
281
|
-
productsAttributeOptionsCreate(
|
|
440
|
+
productsAttributeOptionsCreate(params: {
|
|
441
|
+
attributeId: string;
|
|
442
|
+
code: string;
|
|
443
|
+
labels?: object;
|
|
444
|
+
position?: number;
|
|
445
|
+
swatch?: object;
|
|
446
|
+
}): Promise<Models.AttributeOptions>;
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @param {string} attributeId -
|
|
450
|
+
* @param {string} code -
|
|
451
|
+
* @param {object} labels -
|
|
452
|
+
* @param {number} position -
|
|
453
|
+
* @param {object} swatch -
|
|
454
|
+
* @throws {RevenexxException}
|
|
455
|
+
* @returns {Promise<Models.AttributeOptions>}
|
|
456
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
457
|
+
*/
|
|
458
|
+
productsAttributeOptionsCreate(attributeId: string, code: string, labels?: object, position?: number, swatch?: object): Promise<Models.AttributeOptions>;
|
|
282
459
|
/**
|
|
283
460
|
*
|
|
284
461
|
* @param {string} params.id -
|
|
@@ -316,20 +493,35 @@ export declare class Products {
|
|
|
316
493
|
/**
|
|
317
494
|
*
|
|
318
495
|
* @param {string} params.id -
|
|
496
|
+
* @param {string} params.attributeId -
|
|
497
|
+
* @param {string} params.code -
|
|
498
|
+
* @param {object} params.labels -
|
|
499
|
+
* @param {number} params.position -
|
|
500
|
+
* @param {object} params.swatch -
|
|
319
501
|
* @throws {RevenexxException}
|
|
320
502
|
* @returns {Promise<Models.AttributeOptions>}
|
|
321
503
|
*/
|
|
322
504
|
productsAttributeOptionsUpdate(params: {
|
|
323
505
|
id: string;
|
|
506
|
+
attributeId?: string;
|
|
507
|
+
code?: string;
|
|
508
|
+
labels?: object;
|
|
509
|
+
position?: number;
|
|
510
|
+
swatch?: object;
|
|
324
511
|
}): Promise<Models.AttributeOptions>;
|
|
325
512
|
/**
|
|
326
513
|
*
|
|
327
514
|
* @param {string} id -
|
|
515
|
+
* @param {string} attributeId -
|
|
516
|
+
* @param {string} code -
|
|
517
|
+
* @param {object} labels -
|
|
518
|
+
* @param {number} position -
|
|
519
|
+
* @param {object} swatch -
|
|
328
520
|
* @throws {RevenexxException}
|
|
329
521
|
* @returns {Promise<Models.AttributeOptions>}
|
|
330
522
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
331
523
|
*/
|
|
332
|
-
productsAttributeOptionsUpdate(id: string): Promise<Models.AttributeOptions>;
|
|
524
|
+
productsAttributeOptionsUpdate(id: string, attributeId?: string, code?: string, labels?: object, position?: number, swatch?: object): Promise<Models.AttributeOptions>;
|
|
333
525
|
/**
|
|
334
526
|
*
|
|
335
527
|
* @throws {RevenexxException}
|
|
@@ -338,10 +530,60 @@ export declare class Products {
|
|
|
338
530
|
productsAttributesList(): Promise<{}>;
|
|
339
531
|
/**
|
|
340
532
|
*
|
|
533
|
+
* @param {string} params.code -
|
|
534
|
+
* @param {string} params.type -
|
|
535
|
+
* @param {object} params.config -
|
|
536
|
+
* @param {string} params.entityRef -
|
|
537
|
+
* @param {string} params.entityType -
|
|
538
|
+
* @param {string} params.groupId -
|
|
539
|
+
* @param {boolean} params.isFilterable -
|
|
540
|
+
* @param {boolean} params.isUnique -
|
|
541
|
+
* @param {object} params.labels -
|
|
542
|
+
* @param {boolean} params.localizable -
|
|
543
|
+
* @param {number} params.position -
|
|
544
|
+
* @param {boolean} params.scopable -
|
|
545
|
+
* @param {boolean} params.usableInGrid -
|
|
546
|
+
* @param {object} params.validation -
|
|
341
547
|
* @throws {RevenexxException}
|
|
342
548
|
* @returns {Promise<Models.Attributes>}
|
|
343
549
|
*/
|
|
344
|
-
productsAttributesCreate(
|
|
550
|
+
productsAttributesCreate(params: {
|
|
551
|
+
code: string;
|
|
552
|
+
type: string;
|
|
553
|
+
config?: object;
|
|
554
|
+
entityRef?: string;
|
|
555
|
+
entityType?: string;
|
|
556
|
+
groupId?: string;
|
|
557
|
+
isFilterable?: boolean;
|
|
558
|
+
isUnique?: boolean;
|
|
559
|
+
labels?: object;
|
|
560
|
+
localizable?: boolean;
|
|
561
|
+
position?: number;
|
|
562
|
+
scopable?: boolean;
|
|
563
|
+
usableInGrid?: boolean;
|
|
564
|
+
validation?: object;
|
|
565
|
+
}): Promise<Models.Attributes>;
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @param {string} code -
|
|
569
|
+
* @param {string} type -
|
|
570
|
+
* @param {object} config -
|
|
571
|
+
* @param {string} entityRef -
|
|
572
|
+
* @param {string} entityType -
|
|
573
|
+
* @param {string} groupId -
|
|
574
|
+
* @param {boolean} isFilterable -
|
|
575
|
+
* @param {boolean} isUnique -
|
|
576
|
+
* @param {object} labels -
|
|
577
|
+
* @param {boolean} localizable -
|
|
578
|
+
* @param {number} position -
|
|
579
|
+
* @param {boolean} scopable -
|
|
580
|
+
* @param {boolean} usableInGrid -
|
|
581
|
+
* @param {object} validation -
|
|
582
|
+
* @throws {RevenexxException}
|
|
583
|
+
* @returns {Promise<Models.Attributes>}
|
|
584
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
585
|
+
*/
|
|
586
|
+
productsAttributesCreate(code: string, type: string, config?: object, entityRef?: string, entityType?: string, groupId?: string, isFilterable?: boolean, isUnique?: boolean, labels?: object, localizable?: boolean, position?: number, scopable?: boolean, usableInGrid?: boolean, validation?: object): Promise<Models.Attributes>;
|
|
345
587
|
/**
|
|
346
588
|
*
|
|
347
589
|
* @param {string} params.id -
|
|
@@ -379,20 +621,62 @@ export declare class Products {
|
|
|
379
621
|
/**
|
|
380
622
|
*
|
|
381
623
|
* @param {string} params.id -
|
|
624
|
+
* @param {string} params.code -
|
|
625
|
+
* @param {object} params.config -
|
|
626
|
+
* @param {string} params.entityRef -
|
|
627
|
+
* @param {string} params.entityType -
|
|
628
|
+
* @param {string} params.groupId -
|
|
629
|
+
* @param {boolean} params.isFilterable -
|
|
630
|
+
* @param {boolean} params.isUnique -
|
|
631
|
+
* @param {object} params.labels -
|
|
632
|
+
* @param {boolean} params.localizable -
|
|
633
|
+
* @param {number} params.position -
|
|
634
|
+
* @param {boolean} params.scopable -
|
|
635
|
+
* @param {string} params.type -
|
|
636
|
+
* @param {boolean} params.usableInGrid -
|
|
637
|
+
* @param {object} params.validation -
|
|
382
638
|
* @throws {RevenexxException}
|
|
383
639
|
* @returns {Promise<Models.Attributes>}
|
|
384
640
|
*/
|
|
385
641
|
productsAttributesUpdate(params: {
|
|
386
642
|
id: string;
|
|
643
|
+
code?: string;
|
|
644
|
+
config?: object;
|
|
645
|
+
entityRef?: string;
|
|
646
|
+
entityType?: string;
|
|
647
|
+
groupId?: string;
|
|
648
|
+
isFilterable?: boolean;
|
|
649
|
+
isUnique?: boolean;
|
|
650
|
+
labels?: object;
|
|
651
|
+
localizable?: boolean;
|
|
652
|
+
position?: number;
|
|
653
|
+
scopable?: boolean;
|
|
654
|
+
type?: string;
|
|
655
|
+
usableInGrid?: boolean;
|
|
656
|
+
validation?: object;
|
|
387
657
|
}): Promise<Models.Attributes>;
|
|
388
658
|
/**
|
|
389
659
|
*
|
|
390
660
|
* @param {string} id -
|
|
661
|
+
* @param {string} code -
|
|
662
|
+
* @param {object} config -
|
|
663
|
+
* @param {string} entityRef -
|
|
664
|
+
* @param {string} entityType -
|
|
665
|
+
* @param {string} groupId -
|
|
666
|
+
* @param {boolean} isFilterable -
|
|
667
|
+
* @param {boolean} isUnique -
|
|
668
|
+
* @param {object} labels -
|
|
669
|
+
* @param {boolean} localizable -
|
|
670
|
+
* @param {number} position -
|
|
671
|
+
* @param {boolean} scopable -
|
|
672
|
+
* @param {string} type -
|
|
673
|
+
* @param {boolean} usableInGrid -
|
|
674
|
+
* @param {object} validation -
|
|
391
675
|
* @throws {RevenexxException}
|
|
392
676
|
* @returns {Promise<Models.Attributes>}
|
|
393
677
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
394
678
|
*/
|
|
395
|
-
productsAttributesUpdate(id: string): Promise<Models.Attributes>;
|
|
679
|
+
productsAttributesUpdate(id: string, code?: string, config?: object, entityRef?: string, entityType?: string, groupId?: string, isFilterable?: boolean, isUnique?: boolean, labels?: object, localizable?: boolean, position?: number, scopable?: boolean, type?: string, usableInGrid?: boolean, validation?: object): Promise<Models.Attributes>;
|
|
396
680
|
/**
|
|
397
681
|
*
|
|
398
682
|
* @throws {RevenexxException}
|
|
@@ -401,10 +685,36 @@ export declare class Products {
|
|
|
401
685
|
productsCategoriesList(): Promise<{}>;
|
|
402
686
|
/**
|
|
403
687
|
*
|
|
688
|
+
* @param {string} params.code -
|
|
689
|
+
* @param {object} params.labels -
|
|
690
|
+
* @param {string} params.parentId -
|
|
691
|
+
* @param {string} params.xpath -
|
|
692
|
+
* @param {number} params.position -
|
|
693
|
+
* @param {object} params.values -
|
|
404
694
|
* @throws {RevenexxException}
|
|
405
695
|
* @returns {Promise<Models.Categories>}
|
|
406
696
|
*/
|
|
407
|
-
productsCategoriesCreate(
|
|
697
|
+
productsCategoriesCreate(params: {
|
|
698
|
+
code: string;
|
|
699
|
+
labels?: object;
|
|
700
|
+
parentId?: string;
|
|
701
|
+
xpath?: string;
|
|
702
|
+
position?: number;
|
|
703
|
+
values?: object;
|
|
704
|
+
}): Promise<Models.Categories>;
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @param {string} code -
|
|
708
|
+
* @param {object} labels -
|
|
709
|
+
* @param {string} parentId -
|
|
710
|
+
* @param {string} xpath -
|
|
711
|
+
* @param {number} position -
|
|
712
|
+
* @param {object} values -
|
|
713
|
+
* @throws {RevenexxException}
|
|
714
|
+
* @returns {Promise<Models.Categories>}
|
|
715
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
716
|
+
*/
|
|
717
|
+
productsCategoriesCreate(code: string, labels?: object, parentId?: string, xpath?: string, position?: number, values?: object): Promise<Models.Categories>;
|
|
408
718
|
/**
|
|
409
719
|
*
|
|
410
720
|
* @param {string} params.id -
|
|
@@ -442,20 +752,38 @@ export declare class Products {
|
|
|
442
752
|
/**
|
|
443
753
|
*
|
|
444
754
|
* @param {string} params.id -
|
|
755
|
+
* @param {string} params.code -
|
|
756
|
+
* @param {object} params.labels -
|
|
757
|
+
* @param {string} params.parentId -
|
|
758
|
+
* @param {string} params.xpath -
|
|
759
|
+
* @param {number} params.position -
|
|
760
|
+
* @param {object} params.values -
|
|
445
761
|
* @throws {RevenexxException}
|
|
446
762
|
* @returns {Promise<Models.Categories>}
|
|
447
763
|
*/
|
|
448
764
|
productsCategoriesUpdate(params: {
|
|
449
765
|
id: string;
|
|
766
|
+
code?: string;
|
|
767
|
+
labels?: object;
|
|
768
|
+
parentId?: string;
|
|
769
|
+
xpath?: string;
|
|
770
|
+
position?: number;
|
|
771
|
+
values?: object;
|
|
450
772
|
}): Promise<Models.Categories>;
|
|
451
773
|
/**
|
|
452
774
|
*
|
|
453
775
|
* @param {string} id -
|
|
776
|
+
* @param {string} code -
|
|
777
|
+
* @param {object} labels -
|
|
778
|
+
* @param {string} parentId -
|
|
779
|
+
* @param {string} xpath -
|
|
780
|
+
* @param {number} position -
|
|
781
|
+
* @param {object} values -
|
|
454
782
|
* @throws {RevenexxException}
|
|
455
783
|
* @returns {Promise<Models.Categories>}
|
|
456
784
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
457
785
|
*/
|
|
458
|
-
productsCategoriesUpdate(id: string): Promise<Models.Categories>;
|
|
786
|
+
productsCategoriesUpdate(id: string, code?: string, labels?: object, parentId?: string, xpath?: string, position?: number, values?: object): Promise<Models.Categories>;
|
|
459
787
|
/**
|
|
460
788
|
*
|
|
461
789
|
* @throws {RevenexxException}
|
|
@@ -464,10 +792,30 @@ export declare class Products {
|
|
|
464
792
|
productsFamiliesList(): Promise<{}>;
|
|
465
793
|
/**
|
|
466
794
|
*
|
|
795
|
+
* @param {string} params.code -
|
|
796
|
+
* @param {string} params.imageAttribute -
|
|
797
|
+
* @param {string} params.labelAttribute -
|
|
798
|
+
* @param {object} params.labels -
|
|
467
799
|
* @throws {RevenexxException}
|
|
468
800
|
* @returns {Promise<Models.Families>}
|
|
469
801
|
*/
|
|
470
|
-
productsFamiliesCreate(
|
|
802
|
+
productsFamiliesCreate(params: {
|
|
803
|
+
code: string;
|
|
804
|
+
imageAttribute?: string;
|
|
805
|
+
labelAttribute?: string;
|
|
806
|
+
labels?: object;
|
|
807
|
+
}): Promise<Models.Families>;
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @param {string} code -
|
|
811
|
+
* @param {string} imageAttribute -
|
|
812
|
+
* @param {string} labelAttribute -
|
|
813
|
+
* @param {object} labels -
|
|
814
|
+
* @throws {RevenexxException}
|
|
815
|
+
* @returns {Promise<Models.Families>}
|
|
816
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
817
|
+
*/
|
|
818
|
+
productsFamiliesCreate(code: string, imageAttribute?: string, labelAttribute?: string, labels?: object): Promise<Models.Families>;
|
|
471
819
|
/**
|
|
472
820
|
*
|
|
473
821
|
* @param {string} params.id -
|
|
@@ -505,20 +853,32 @@ export declare class Products {
|
|
|
505
853
|
/**
|
|
506
854
|
*
|
|
507
855
|
* @param {string} params.id -
|
|
856
|
+
* @param {string} params.code -
|
|
857
|
+
* @param {string} params.imageAttribute -
|
|
858
|
+
* @param {string} params.labelAttribute -
|
|
859
|
+
* @param {object} params.labels -
|
|
508
860
|
* @throws {RevenexxException}
|
|
509
861
|
* @returns {Promise<Models.Families>}
|
|
510
862
|
*/
|
|
511
863
|
productsFamiliesUpdate(params: {
|
|
512
864
|
id: string;
|
|
865
|
+
code?: string;
|
|
866
|
+
imageAttribute?: string;
|
|
867
|
+
labelAttribute?: string;
|
|
868
|
+
labels?: object;
|
|
513
869
|
}): Promise<Models.Families>;
|
|
514
870
|
/**
|
|
515
871
|
*
|
|
516
872
|
* @param {string} id -
|
|
873
|
+
* @param {string} code -
|
|
874
|
+
* @param {string} imageAttribute -
|
|
875
|
+
* @param {string} labelAttribute -
|
|
876
|
+
* @param {object} labels -
|
|
517
877
|
* @throws {RevenexxException}
|
|
518
878
|
* @returns {Promise<Models.Families>}
|
|
519
879
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
520
880
|
*/
|
|
521
|
-
productsFamiliesUpdate(id: string): Promise<Models.Families>;
|
|
881
|
+
productsFamiliesUpdate(id: string, code?: string, imageAttribute?: string, labelAttribute?: string, labels?: object): Promise<Models.Families>;
|
|
522
882
|
/**
|
|
523
883
|
*
|
|
524
884
|
* @throws {RevenexxException}
|
|
@@ -527,10 +887,33 @@ export declare class Products {
|
|
|
527
887
|
productsFamilyAttributesList(): Promise<{}>;
|
|
528
888
|
/**
|
|
529
889
|
*
|
|
890
|
+
* @param {string} params.attributeId -
|
|
891
|
+
* @param {string} params.familyId -
|
|
892
|
+
* @param {boolean} params.isRequired -
|
|
893
|
+
* @param {number} params.position -
|
|
894
|
+
* @param {object} params.requiredChannels -
|
|
530
895
|
* @throws {RevenexxException}
|
|
531
896
|
* @returns {Promise<Models.FamilyAttributes>}
|
|
532
897
|
*/
|
|
533
|
-
productsFamilyAttributesCreate(
|
|
898
|
+
productsFamilyAttributesCreate(params: {
|
|
899
|
+
attributeId: string;
|
|
900
|
+
familyId: string;
|
|
901
|
+
isRequired?: boolean;
|
|
902
|
+
position?: number;
|
|
903
|
+
requiredChannels?: object;
|
|
904
|
+
}): Promise<Models.FamilyAttributes>;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @param {string} attributeId -
|
|
908
|
+
* @param {string} familyId -
|
|
909
|
+
* @param {boolean} isRequired -
|
|
910
|
+
* @param {number} position -
|
|
911
|
+
* @param {object} requiredChannels -
|
|
912
|
+
* @throws {RevenexxException}
|
|
913
|
+
* @returns {Promise<Models.FamilyAttributes>}
|
|
914
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
915
|
+
*/
|
|
916
|
+
productsFamilyAttributesCreate(attributeId: string, familyId: string, isRequired?: boolean, position?: number, requiredChannels?: object): Promise<Models.FamilyAttributes>;
|
|
534
917
|
/**
|
|
535
918
|
*
|
|
536
919
|
* @param {string} params.id -
|
|
@@ -568,20 +951,35 @@ export declare class Products {
|
|
|
568
951
|
/**
|
|
569
952
|
*
|
|
570
953
|
* @param {string} params.id -
|
|
954
|
+
* @param {string} params.attributeId -
|
|
955
|
+
* @param {string} params.familyId -
|
|
956
|
+
* @param {boolean} params.isRequired -
|
|
957
|
+
* @param {number} params.position -
|
|
958
|
+
* @param {object} params.requiredChannels -
|
|
571
959
|
* @throws {RevenexxException}
|
|
572
960
|
* @returns {Promise<Models.FamilyAttributes>}
|
|
573
961
|
*/
|
|
574
962
|
productsFamilyAttributesUpdate(params: {
|
|
575
963
|
id: string;
|
|
964
|
+
attributeId?: string;
|
|
965
|
+
familyId?: string;
|
|
966
|
+
isRequired?: boolean;
|
|
967
|
+
position?: number;
|
|
968
|
+
requiredChannels?: object;
|
|
576
969
|
}): Promise<Models.FamilyAttributes>;
|
|
577
970
|
/**
|
|
578
971
|
*
|
|
579
972
|
* @param {string} id -
|
|
973
|
+
* @param {string} attributeId -
|
|
974
|
+
* @param {string} familyId -
|
|
975
|
+
* @param {boolean} isRequired -
|
|
976
|
+
* @param {number} position -
|
|
977
|
+
* @param {object} requiredChannels -
|
|
580
978
|
* @throws {RevenexxException}
|
|
581
979
|
* @returns {Promise<Models.FamilyAttributes>}
|
|
582
980
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
583
981
|
*/
|
|
584
|
-
productsFamilyAttributesUpdate(id: string): Promise<Models.FamilyAttributes>;
|
|
982
|
+
productsFamilyAttributesUpdate(id: string, attributeId?: string, familyId?: string, isRequired?: boolean, position?: number, requiredChannels?: object): Promise<Models.FamilyAttributes>;
|
|
585
983
|
/**
|
|
586
984
|
*
|
|
587
985
|
* @throws {RevenexxException}
|
|
@@ -590,10 +988,30 @@ export declare class Products {
|
|
|
590
988
|
productsFamilyVariantsList(): Promise<{}>;
|
|
591
989
|
/**
|
|
592
990
|
*
|
|
991
|
+
* @param {string} params.code -
|
|
992
|
+
* @param {string} params.familyId -
|
|
993
|
+
* @param {object} params.axes -
|
|
994
|
+
* @param {object} params.labels -
|
|
593
995
|
* @throws {RevenexxException}
|
|
594
996
|
* @returns {Promise<Models.FamilyVariants>}
|
|
595
997
|
*/
|
|
596
|
-
productsFamilyVariantsCreate(
|
|
998
|
+
productsFamilyVariantsCreate(params: {
|
|
999
|
+
code: string;
|
|
1000
|
+
familyId: string;
|
|
1001
|
+
axes?: object;
|
|
1002
|
+
labels?: object;
|
|
1003
|
+
}): Promise<Models.FamilyVariants>;
|
|
1004
|
+
/**
|
|
1005
|
+
*
|
|
1006
|
+
* @param {string} code -
|
|
1007
|
+
* @param {string} familyId -
|
|
1008
|
+
* @param {object} axes -
|
|
1009
|
+
* @param {object} labels -
|
|
1010
|
+
* @throws {RevenexxException}
|
|
1011
|
+
* @returns {Promise<Models.FamilyVariants>}
|
|
1012
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1013
|
+
*/
|
|
1014
|
+
productsFamilyVariantsCreate(code: string, familyId: string, axes?: object, labels?: object): Promise<Models.FamilyVariants>;
|
|
597
1015
|
/**
|
|
598
1016
|
*
|
|
599
1017
|
* @param {string} params.id -
|
|
@@ -631,20 +1049,32 @@ export declare class Products {
|
|
|
631
1049
|
/**
|
|
632
1050
|
*
|
|
633
1051
|
* @param {string} params.id -
|
|
1052
|
+
* @param {object} params.axes -
|
|
1053
|
+
* @param {string} params.code -
|
|
1054
|
+
* @param {string} params.familyId -
|
|
1055
|
+
* @param {object} params.labels -
|
|
634
1056
|
* @throws {RevenexxException}
|
|
635
1057
|
* @returns {Promise<Models.FamilyVariants>}
|
|
636
1058
|
*/
|
|
637
1059
|
productsFamilyVariantsUpdate(params: {
|
|
638
1060
|
id: string;
|
|
1061
|
+
axes?: object;
|
|
1062
|
+
code?: string;
|
|
1063
|
+
familyId?: string;
|
|
1064
|
+
labels?: object;
|
|
639
1065
|
}): Promise<Models.FamilyVariants>;
|
|
640
1066
|
/**
|
|
641
1067
|
*
|
|
642
1068
|
* @param {string} id -
|
|
1069
|
+
* @param {object} axes -
|
|
1070
|
+
* @param {string} code -
|
|
1071
|
+
* @param {string} familyId -
|
|
1072
|
+
* @param {object} labels -
|
|
643
1073
|
* @throws {RevenexxException}
|
|
644
1074
|
* @returns {Promise<Models.FamilyVariants>}
|
|
645
1075
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
646
1076
|
*/
|
|
647
|
-
productsFamilyVariantsUpdate(id: string): Promise<Models.FamilyVariants>;
|
|
1077
|
+
productsFamilyVariantsUpdate(id: string, axes?: object, code?: string, familyId?: string, labels?: object): Promise<Models.FamilyVariants>;
|
|
648
1078
|
/**
|
|
649
1079
|
*
|
|
650
1080
|
* @throws {RevenexxException}
|
|
@@ -653,10 +1083,30 @@ export declare class Products {
|
|
|
653
1083
|
productsMeasurementFamiliesList(): Promise<{}>;
|
|
654
1084
|
/**
|
|
655
1085
|
*
|
|
1086
|
+
* @param {string} params.code -
|
|
1087
|
+
* @param {string} params.standardUnit -
|
|
1088
|
+
* @param {object} params.labels -
|
|
1089
|
+
* @param {object} params.units -
|
|
656
1090
|
* @throws {RevenexxException}
|
|
657
1091
|
* @returns {Promise<Models.MeasurementFamilies>}
|
|
658
1092
|
*/
|
|
659
|
-
productsMeasurementFamiliesCreate(
|
|
1093
|
+
productsMeasurementFamiliesCreate(params: {
|
|
1094
|
+
code: string;
|
|
1095
|
+
standardUnit: string;
|
|
1096
|
+
labels?: object;
|
|
1097
|
+
units?: object;
|
|
1098
|
+
}): Promise<Models.MeasurementFamilies>;
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @param {string} code -
|
|
1102
|
+
* @param {string} standardUnit -
|
|
1103
|
+
* @param {object} labels -
|
|
1104
|
+
* @param {object} units -
|
|
1105
|
+
* @throws {RevenexxException}
|
|
1106
|
+
* @returns {Promise<Models.MeasurementFamilies>}
|
|
1107
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1108
|
+
*/
|
|
1109
|
+
productsMeasurementFamiliesCreate(code: string, standardUnit: string, labels?: object, units?: object): Promise<Models.MeasurementFamilies>;
|
|
660
1110
|
/**
|
|
661
1111
|
*
|
|
662
1112
|
* @param {string} params.id -
|
|
@@ -694,20 +1144,32 @@ export declare class Products {
|
|
|
694
1144
|
/**
|
|
695
1145
|
*
|
|
696
1146
|
* @param {string} params.id -
|
|
1147
|
+
* @param {string} params.code -
|
|
1148
|
+
* @param {object} params.labels -
|
|
1149
|
+
* @param {string} params.standardUnit -
|
|
1150
|
+
* @param {object} params.units -
|
|
697
1151
|
* @throws {RevenexxException}
|
|
698
1152
|
* @returns {Promise<Models.MeasurementFamilies>}
|
|
699
1153
|
*/
|
|
700
1154
|
productsMeasurementFamiliesUpdate(params: {
|
|
701
1155
|
id: string;
|
|
1156
|
+
code?: string;
|
|
1157
|
+
labels?: object;
|
|
1158
|
+
standardUnit?: string;
|
|
1159
|
+
units?: object;
|
|
702
1160
|
}): Promise<Models.MeasurementFamilies>;
|
|
703
1161
|
/**
|
|
704
1162
|
*
|
|
705
1163
|
* @param {string} id -
|
|
1164
|
+
* @param {string} code -
|
|
1165
|
+
* @param {object} labels -
|
|
1166
|
+
* @param {string} standardUnit -
|
|
1167
|
+
* @param {object} units -
|
|
706
1168
|
* @throws {RevenexxException}
|
|
707
1169
|
* @returns {Promise<Models.MeasurementFamilies>}
|
|
708
1170
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
709
1171
|
*/
|
|
710
|
-
productsMeasurementFamiliesUpdate(id: string): Promise<Models.MeasurementFamilies>;
|
|
1172
|
+
productsMeasurementFamiliesUpdate(id: string, code?: string, labels?: object, standardUnit?: string, units?: object): Promise<Models.MeasurementFamilies>;
|
|
711
1173
|
/**
|
|
712
1174
|
*
|
|
713
1175
|
* @throws {RevenexxException}
|
|
@@ -716,10 +1178,33 @@ export declare class Products {
|
|
|
716
1178
|
productsProductAssociationsList(): Promise<{}>;
|
|
717
1179
|
/**
|
|
718
1180
|
*
|
|
1181
|
+
* @param {string} params.associationTypeId -
|
|
1182
|
+
* @param {string} params.productId -
|
|
1183
|
+
* @param {string} params.targetProductId -
|
|
1184
|
+
* @param {number} params.position -
|
|
1185
|
+
* @param {number} params.quantity -
|
|
719
1186
|
* @throws {RevenexxException}
|
|
720
1187
|
* @returns {Promise<Models.ProductAssociations>}
|
|
721
1188
|
*/
|
|
722
|
-
productsProductAssociationsCreate(
|
|
1189
|
+
productsProductAssociationsCreate(params: {
|
|
1190
|
+
associationTypeId: string;
|
|
1191
|
+
productId: string;
|
|
1192
|
+
targetProductId: string;
|
|
1193
|
+
position?: number;
|
|
1194
|
+
quantity?: number;
|
|
1195
|
+
}): Promise<Models.ProductAssociations>;
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @param {string} associationTypeId -
|
|
1199
|
+
* @param {string} productId -
|
|
1200
|
+
* @param {string} targetProductId -
|
|
1201
|
+
* @param {number} position -
|
|
1202
|
+
* @param {number} quantity -
|
|
1203
|
+
* @throws {RevenexxException}
|
|
1204
|
+
* @returns {Promise<Models.ProductAssociations>}
|
|
1205
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1206
|
+
*/
|
|
1207
|
+
productsProductAssociationsCreate(associationTypeId: string, productId: string, targetProductId: string, position?: number, quantity?: number): Promise<Models.ProductAssociations>;
|
|
723
1208
|
/**
|
|
724
1209
|
*
|
|
725
1210
|
* @param {string} params.id -
|
|
@@ -757,20 +1242,35 @@ export declare class Products {
|
|
|
757
1242
|
/**
|
|
758
1243
|
*
|
|
759
1244
|
* @param {string} params.id -
|
|
1245
|
+
* @param {string} params.associationTypeId -
|
|
1246
|
+
* @param {number} params.position -
|
|
1247
|
+
* @param {string} params.productId -
|
|
1248
|
+
* @param {number} params.quantity -
|
|
1249
|
+
* @param {string} params.targetProductId -
|
|
760
1250
|
* @throws {RevenexxException}
|
|
761
1251
|
* @returns {Promise<Models.ProductAssociations>}
|
|
762
1252
|
*/
|
|
763
1253
|
productsProductAssociationsUpdate(params: {
|
|
764
1254
|
id: string;
|
|
1255
|
+
associationTypeId?: string;
|
|
1256
|
+
position?: number;
|
|
1257
|
+
productId?: string;
|
|
1258
|
+
quantity?: number;
|
|
1259
|
+
targetProductId?: string;
|
|
765
1260
|
}): Promise<Models.ProductAssociations>;
|
|
766
1261
|
/**
|
|
767
1262
|
*
|
|
768
1263
|
* @param {string} id -
|
|
1264
|
+
* @param {string} associationTypeId -
|
|
1265
|
+
* @param {number} position -
|
|
1266
|
+
* @param {string} productId -
|
|
1267
|
+
* @param {number} quantity -
|
|
1268
|
+
* @param {string} targetProductId -
|
|
769
1269
|
* @throws {RevenexxException}
|
|
770
1270
|
* @returns {Promise<Models.ProductAssociations>}
|
|
771
1271
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
772
1272
|
*/
|
|
773
|
-
productsProductAssociationsUpdate(id: string): Promise<Models.ProductAssociations>;
|
|
1273
|
+
productsProductAssociationsUpdate(id: string, associationTypeId?: string, position?: number, productId?: string, quantity?: number, targetProductId?: string): Promise<Models.ProductAssociations>;
|
|
774
1274
|
/**
|
|
775
1275
|
*
|
|
776
1276
|
* @throws {RevenexxException}
|
|
@@ -779,10 +1279,27 @@ export declare class Products {
|
|
|
779
1279
|
productsProductCategoriesList(): Promise<{}>;
|
|
780
1280
|
/**
|
|
781
1281
|
*
|
|
1282
|
+
* @param {string} params.categoryId -
|
|
1283
|
+
* @param {string} params.productId -
|
|
1284
|
+
* @param {number} params.position -
|
|
782
1285
|
* @throws {RevenexxException}
|
|
783
1286
|
* @returns {Promise<Models.ProductCategories>}
|
|
784
1287
|
*/
|
|
785
|
-
productsProductCategoriesCreate(
|
|
1288
|
+
productsProductCategoriesCreate(params: {
|
|
1289
|
+
categoryId: string;
|
|
1290
|
+
productId: string;
|
|
1291
|
+
position?: number;
|
|
1292
|
+
}): Promise<Models.ProductCategories>;
|
|
1293
|
+
/**
|
|
1294
|
+
*
|
|
1295
|
+
* @param {string} categoryId -
|
|
1296
|
+
* @param {string} productId -
|
|
1297
|
+
* @param {number} position -
|
|
1298
|
+
* @throws {RevenexxException}
|
|
1299
|
+
* @returns {Promise<Models.ProductCategories>}
|
|
1300
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1301
|
+
*/
|
|
1302
|
+
productsProductCategoriesCreate(categoryId: string, productId: string, position?: number): Promise<Models.ProductCategories>;
|
|
786
1303
|
/**
|
|
787
1304
|
*
|
|
788
1305
|
* @param {string} params.id -
|
|
@@ -820,20 +1337,29 @@ export declare class Products {
|
|
|
820
1337
|
/**
|
|
821
1338
|
*
|
|
822
1339
|
* @param {string} params.id -
|
|
1340
|
+
* @param {string} params.categoryId -
|
|
1341
|
+
* @param {number} params.position -
|
|
1342
|
+
* @param {string} params.productId -
|
|
823
1343
|
* @throws {RevenexxException}
|
|
824
1344
|
* @returns {Promise<Models.ProductCategories>}
|
|
825
1345
|
*/
|
|
826
1346
|
productsProductCategoriesUpdate(params: {
|
|
827
1347
|
id: string;
|
|
1348
|
+
categoryId?: string;
|
|
1349
|
+
position?: number;
|
|
1350
|
+
productId?: string;
|
|
828
1351
|
}): Promise<Models.ProductCategories>;
|
|
829
1352
|
/**
|
|
830
1353
|
*
|
|
831
1354
|
* @param {string} id -
|
|
1355
|
+
* @param {string} categoryId -
|
|
1356
|
+
* @param {number} position -
|
|
1357
|
+
* @param {string} productId -
|
|
832
1358
|
* @throws {RevenexxException}
|
|
833
1359
|
* @returns {Promise<Models.ProductCategories>}
|
|
834
1360
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
835
1361
|
*/
|
|
836
|
-
productsProductCategoriesUpdate(id: string): Promise<Models.ProductCategories>;
|
|
1362
|
+
productsProductCategoriesUpdate(id: string, categoryId?: string, position?: number, productId?: string): Promise<Models.ProductCategories>;
|
|
837
1363
|
/**
|
|
838
1364
|
*
|
|
839
1365
|
* @throws {RevenexxException}
|
|
@@ -842,10 +1368,27 @@ export declare class Products {
|
|
|
842
1368
|
productsReferenceEntitiesList(): Promise<{}>;
|
|
843
1369
|
/**
|
|
844
1370
|
*
|
|
1371
|
+
* @param {string} params.code -
|
|
1372
|
+
* @param {string} params.image -
|
|
1373
|
+
* @param {object} params.labels -
|
|
845
1374
|
* @throws {RevenexxException}
|
|
846
1375
|
* @returns {Promise<Models.ReferenceEntities>}
|
|
847
1376
|
*/
|
|
848
|
-
productsReferenceEntitiesCreate(
|
|
1377
|
+
productsReferenceEntitiesCreate(params: {
|
|
1378
|
+
code: string;
|
|
1379
|
+
image?: string;
|
|
1380
|
+
labels?: object;
|
|
1381
|
+
}): Promise<Models.ReferenceEntities>;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @param {string} code -
|
|
1385
|
+
* @param {string} image -
|
|
1386
|
+
* @param {object} labels -
|
|
1387
|
+
* @throws {RevenexxException}
|
|
1388
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
1389
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1390
|
+
*/
|
|
1391
|
+
productsReferenceEntitiesCreate(code: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
849
1392
|
/**
|
|
850
1393
|
*
|
|
851
1394
|
* @param {string} params.id -
|
|
@@ -883,20 +1426,29 @@ export declare class Products {
|
|
|
883
1426
|
/**
|
|
884
1427
|
*
|
|
885
1428
|
* @param {string} params.id -
|
|
1429
|
+
* @param {string} params.code -
|
|
1430
|
+
* @param {string} params.image -
|
|
1431
|
+
* @param {object} params.labels -
|
|
886
1432
|
* @throws {RevenexxException}
|
|
887
1433
|
* @returns {Promise<Models.ReferenceEntities>}
|
|
888
1434
|
*/
|
|
889
1435
|
productsReferenceEntitiesUpdate(params: {
|
|
890
1436
|
id: string;
|
|
1437
|
+
code?: string;
|
|
1438
|
+
image?: string;
|
|
1439
|
+
labels?: object;
|
|
891
1440
|
}): Promise<Models.ReferenceEntities>;
|
|
892
1441
|
/**
|
|
893
1442
|
*
|
|
894
1443
|
* @param {string} id -
|
|
1444
|
+
* @param {string} code -
|
|
1445
|
+
* @param {string} image -
|
|
1446
|
+
* @param {object} labels -
|
|
895
1447
|
* @throws {RevenexxException}
|
|
896
1448
|
* @returns {Promise<Models.ReferenceEntities>}
|
|
897
1449
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
898
1450
|
*/
|
|
899
|
-
productsReferenceEntitiesUpdate(id: string): Promise<Models.ReferenceEntities>;
|
|
1451
|
+
productsReferenceEntitiesUpdate(id: string, code?: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
900
1452
|
/**
|
|
901
1453
|
*
|
|
902
1454
|
* @throws {RevenexxException}
|
|
@@ -905,10 +1457,30 @@ export declare class Products {
|
|
|
905
1457
|
productsReferenceEntityRecordsList(): Promise<{}>;
|
|
906
1458
|
/**
|
|
907
1459
|
*
|
|
1460
|
+
* @param {string} params.code -
|
|
1461
|
+
* @param {string} params.referenceEntityId -
|
|
1462
|
+
* @param {object} params.attributeValues -
|
|
1463
|
+
* @param {object} params.labels -
|
|
908
1464
|
* @throws {RevenexxException}
|
|
909
1465
|
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
910
1466
|
*/
|
|
911
|
-
productsReferenceEntityRecordsCreate(
|
|
1467
|
+
productsReferenceEntityRecordsCreate(params: {
|
|
1468
|
+
code: string;
|
|
1469
|
+
referenceEntityId: string;
|
|
1470
|
+
attributeValues?: object;
|
|
1471
|
+
labels?: object;
|
|
1472
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @param {string} code -
|
|
1476
|
+
* @param {string} referenceEntityId -
|
|
1477
|
+
* @param {object} attributeValues -
|
|
1478
|
+
* @param {object} labels -
|
|
1479
|
+
* @throws {RevenexxException}
|
|
1480
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
1481
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1482
|
+
*/
|
|
1483
|
+
productsReferenceEntityRecordsCreate(code: string, referenceEntityId: string, attributeValues?: object, labels?: object): Promise<Models.ReferenceEntityRecords>;
|
|
912
1484
|
/**
|
|
913
1485
|
*
|
|
914
1486
|
* @param {string} params.id -
|
|
@@ -946,20 +1518,32 @@ export declare class Products {
|
|
|
946
1518
|
/**
|
|
947
1519
|
*
|
|
948
1520
|
* @param {string} params.id -
|
|
1521
|
+
* @param {object} params.attributeValues -
|
|
1522
|
+
* @param {string} params.code -
|
|
1523
|
+
* @param {object} params.labels -
|
|
1524
|
+
* @param {string} params.referenceEntityId -
|
|
949
1525
|
* @throws {RevenexxException}
|
|
950
1526
|
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
951
1527
|
*/
|
|
952
1528
|
productsReferenceEntityRecordsUpdate(params: {
|
|
953
1529
|
id: string;
|
|
1530
|
+
attributeValues?: object;
|
|
1531
|
+
code?: string;
|
|
1532
|
+
labels?: object;
|
|
1533
|
+
referenceEntityId?: string;
|
|
954
1534
|
}): Promise<Models.ReferenceEntityRecords>;
|
|
955
1535
|
/**
|
|
956
1536
|
*
|
|
957
1537
|
* @param {string} id -
|
|
1538
|
+
* @param {object} attributeValues -
|
|
1539
|
+
* @param {string} code -
|
|
1540
|
+
* @param {object} labels -
|
|
1541
|
+
* @param {string} referenceEntityId -
|
|
958
1542
|
* @throws {RevenexxException}
|
|
959
1543
|
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
960
1544
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
961
1545
|
*/
|
|
962
|
-
productsReferenceEntityRecordsUpdate(id: string): Promise<Models.ReferenceEntityRecords>;
|
|
1546
|
+
productsReferenceEntityRecordsUpdate(id: string, attributeValues?: object, code?: string, labels?: object, referenceEntityId?: string): Promise<Models.ReferenceEntityRecords>;
|
|
963
1547
|
/**
|
|
964
1548
|
*
|
|
965
1549
|
* @param {string} params.id -
|
|
@@ -997,18 +1581,48 @@ export declare class Products {
|
|
|
997
1581
|
/**
|
|
998
1582
|
*
|
|
999
1583
|
* @param {string} params.id -
|
|
1584
|
+
* @param {object} params.attributeValues -
|
|
1585
|
+
* @param {object} params.completeness -
|
|
1586
|
+
* @param {string} params.deletedAt -
|
|
1587
|
+
* @param {boolean} params.enabled -
|
|
1588
|
+
* @param {string} params.familyId -
|
|
1589
|
+
* @param {string} params.familyVariantId -
|
|
1590
|
+
* @param {string} params.kind -
|
|
1591
|
+
* @param {string} params.parentId -
|
|
1592
|
+
* @param {object} params.quantifiedAssociations -
|
|
1593
|
+
* @param {string} params.sku -
|
|
1000
1594
|
* @throws {RevenexxException}
|
|
1001
1595
|
* @returns {Promise<Models.Products>}
|
|
1002
1596
|
*/
|
|
1003
1597
|
productsUpdate(params: {
|
|
1004
1598
|
id: string;
|
|
1599
|
+
attributeValues?: object;
|
|
1600
|
+
completeness?: object;
|
|
1601
|
+
deletedAt?: string;
|
|
1602
|
+
enabled?: boolean;
|
|
1603
|
+
familyId?: string;
|
|
1604
|
+
familyVariantId?: string;
|
|
1605
|
+
kind?: string;
|
|
1606
|
+
parentId?: string;
|
|
1607
|
+
quantifiedAssociations?: object;
|
|
1608
|
+
sku?: string;
|
|
1005
1609
|
}): Promise<Models.Products>;
|
|
1006
1610
|
/**
|
|
1007
1611
|
*
|
|
1008
1612
|
* @param {string} id -
|
|
1613
|
+
* @param {object} attributeValues -
|
|
1614
|
+
* @param {object} completeness -
|
|
1615
|
+
* @param {string} deletedAt -
|
|
1616
|
+
* @param {boolean} enabled -
|
|
1617
|
+
* @param {string} familyId -
|
|
1618
|
+
* @param {string} familyVariantId -
|
|
1619
|
+
* @param {string} kind -
|
|
1620
|
+
* @param {string} parentId -
|
|
1621
|
+
* @param {object} quantifiedAssociations -
|
|
1622
|
+
* @param {string} sku -
|
|
1009
1623
|
* @throws {RevenexxException}
|
|
1010
1624
|
* @returns {Promise<Models.Products>}
|
|
1011
1625
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1012
1626
|
*/
|
|
1013
|
-
productsUpdate(id: string): Promise<Models.Products>;
|
|
1627
|
+
productsUpdate(id: string, attributeValues?: object, completeness?: object, deletedAt?: string, enabled?: boolean, familyId?: string, familyVariantId?: string, kind?: string, parentId?: string, quantifiedAssociations?: object, sku?: string): Promise<Models.Products>;
|
|
1014
1628
|
}
|