@revenexx/sdk 0.0.4 → 0.0.6
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 +13491 -6163
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +13464 -6162
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +13491 -6163
- 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-list-kind.ts +4 -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/enums/store-asset-request-visibility.ts +4 -0
- package/src/enums/visibility.ts +4 -0
- package/src/index.ts +28 -2
- package/src/models.ts +5309 -1009
- 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 +809 -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 +690 -75
- package/src/services/messaging.ts +273 -273
- package/src/services/orderlists.ts +889 -0
- package/src/services/orders.ts +692 -137
- package/src/services/pages.ts +661 -155
- package/src/services/payments.ts +591 -64
- package/src/services/prices.ts +585 -59
- package/src/services/products.ts +1908 -272
- package/src/services/search.ts +24 -24
- package/src/services/shipping.ts +451 -59
- package/src/services/sites.ts +116 -116
- package/src/services/storage.ts +933 -599
- 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-list-kind.d.ts +4 -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/enums/store-asset-request-visibility.d.ts +4 -0
- package/types/enums/visibility.d.ts +4 -0
- package/types/index.d.ts +28 -2
- package/types/models.d.ts +5170 -1010
- package/types/services/carts.d.ts +271 -12
- package/types/services/channels.d.ts +54 -2
- package/types/services/customers.d.ts +298 -12
- package/types/services/inventories.d.ts +225 -11
- package/types/services/markets.d.ts +235 -6
- package/types/services/orderlists.d.ts +324 -0
- package/types/services/orders.d.ts +238 -16
- package/types/services/pages.d.ts +190 -6
- package/types/services/payments.d.ts +221 -7
- package/types/services/prices.d.ts +218 -6
- package/types/services/products.d.ts +672 -32
- package/types/services/shipping.d.ts +168 -6
- package/types/services/storage.d.ts +353 -285
|
@@ -11,10 +11,51 @@ 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 -
|
|
24
|
+
* @param {string} params.taxClass -
|
|
14
25
|
* @throws {RevenexxException}
|
|
15
26
|
* @returns {Promise<Models.Products>}
|
|
16
27
|
*/
|
|
17
|
-
productsCreate(
|
|
28
|
+
productsCreate(params: {
|
|
29
|
+
sku: string;
|
|
30
|
+
attributeValues?: object;
|
|
31
|
+
completeness?: object;
|
|
32
|
+
deletedAt?: string;
|
|
33
|
+
enabled?: boolean;
|
|
34
|
+
familyId?: string;
|
|
35
|
+
familyVariantId?: string;
|
|
36
|
+
kind?: string;
|
|
37
|
+
parentId?: string;
|
|
38
|
+
quantifiedAssociations?: object;
|
|
39
|
+
taxClass?: string;
|
|
40
|
+
}): Promise<Models.Products>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param {string} sku -
|
|
44
|
+
* @param {object} attributeValues -
|
|
45
|
+
* @param {object} completeness -
|
|
46
|
+
* @param {string} deletedAt -
|
|
47
|
+
* @param {boolean} enabled -
|
|
48
|
+
* @param {string} familyId -
|
|
49
|
+
* @param {string} familyVariantId -
|
|
50
|
+
* @param {string} kind -
|
|
51
|
+
* @param {string} parentId -
|
|
52
|
+
* @param {object} quantifiedAssociations -
|
|
53
|
+
* @param {string} taxClass -
|
|
54
|
+
* @throws {RevenexxException}
|
|
55
|
+
* @returns {Promise<Models.Products>}
|
|
56
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
57
|
+
*/
|
|
58
|
+
productsCreate(sku: string, attributeValues?: object, completeness?: object, deletedAt?: string, enabled?: boolean, familyId?: string, familyVariantId?: string, kind?: string, parentId?: string, quantifiedAssociations?: object, taxClass?: string): Promise<Models.Products>;
|
|
18
59
|
/**
|
|
19
60
|
*
|
|
20
61
|
* @throws {RevenexxException}
|
|
@@ -23,10 +64,27 @@ export declare class Products {
|
|
|
23
64
|
productsAssetFamiliesList(): Promise<{}>;
|
|
24
65
|
/**
|
|
25
66
|
*
|
|
67
|
+
* @param {string} params.code -
|
|
68
|
+
* @param {object} params.labels -
|
|
69
|
+
* @param {object} params.namingConvention -
|
|
70
|
+
* @throws {RevenexxException}
|
|
71
|
+
* @returns {Promise<Models.AssetFamilies>}
|
|
72
|
+
*/
|
|
73
|
+
productsAssetFamiliesCreate(params: {
|
|
74
|
+
code: string;
|
|
75
|
+
labels?: object;
|
|
76
|
+
namingConvention?: object;
|
|
77
|
+
}): Promise<Models.AssetFamilies>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @param {string} code -
|
|
81
|
+
* @param {object} labels -
|
|
82
|
+
* @param {object} namingConvention -
|
|
26
83
|
* @throws {RevenexxException}
|
|
27
84
|
* @returns {Promise<Models.AssetFamilies>}
|
|
85
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
28
86
|
*/
|
|
29
|
-
productsAssetFamiliesCreate(): Promise<Models.AssetFamilies>;
|
|
87
|
+
productsAssetFamiliesCreate(code: string, labels?: object, namingConvention?: object): Promise<Models.AssetFamilies>;
|
|
30
88
|
/**
|
|
31
89
|
*
|
|
32
90
|
* @param {string} params.id -
|
|
@@ -64,20 +122,29 @@ export declare class Products {
|
|
|
64
122
|
/**
|
|
65
123
|
*
|
|
66
124
|
* @param {string} params.id -
|
|
125
|
+
* @param {string} params.code -
|
|
126
|
+
* @param {object} params.labels -
|
|
127
|
+
* @param {object} params.namingConvention -
|
|
67
128
|
* @throws {RevenexxException}
|
|
68
129
|
* @returns {Promise<Models.AssetFamilies>}
|
|
69
130
|
*/
|
|
70
131
|
productsAssetFamiliesUpdate(params: {
|
|
71
132
|
id: string;
|
|
133
|
+
code?: string;
|
|
134
|
+
labels?: object;
|
|
135
|
+
namingConvention?: object;
|
|
72
136
|
}): Promise<Models.AssetFamilies>;
|
|
73
137
|
/**
|
|
74
138
|
*
|
|
75
139
|
* @param {string} id -
|
|
140
|
+
* @param {string} code -
|
|
141
|
+
* @param {object} labels -
|
|
142
|
+
* @param {object} namingConvention -
|
|
76
143
|
* @throws {RevenexxException}
|
|
77
144
|
* @returns {Promise<Models.AssetFamilies>}
|
|
78
145
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
79
146
|
*/
|
|
80
|
-
productsAssetFamiliesUpdate(id: string): Promise<Models.AssetFamilies>;
|
|
147
|
+
productsAssetFamiliesUpdate(id: string, code?: string, labels?: object, namingConvention?: object): Promise<Models.AssetFamilies>;
|
|
81
148
|
/**
|
|
82
149
|
*
|
|
83
150
|
* @throws {RevenexxException}
|
|
@@ -86,10 +153,30 @@ export declare class Products {
|
|
|
86
153
|
productsAssetsList(): Promise<{}>;
|
|
87
154
|
/**
|
|
88
155
|
*
|
|
156
|
+
* @param {string} params.assetFamilyId -
|
|
157
|
+
* @param {string} params.code -
|
|
158
|
+
* @param {object} params.attributeValues -
|
|
159
|
+
* @param {string} params.mediaUuid -
|
|
89
160
|
* @throws {RevenexxException}
|
|
90
161
|
* @returns {Promise<Models.Assets>}
|
|
91
162
|
*/
|
|
92
|
-
productsAssetsCreate(
|
|
163
|
+
productsAssetsCreate(params: {
|
|
164
|
+
assetFamilyId: string;
|
|
165
|
+
code: string;
|
|
166
|
+
attributeValues?: object;
|
|
167
|
+
mediaUuid?: string;
|
|
168
|
+
}): Promise<Models.Assets>;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @param {string} assetFamilyId -
|
|
172
|
+
* @param {string} code -
|
|
173
|
+
* @param {object} attributeValues -
|
|
174
|
+
* @param {string} mediaUuid -
|
|
175
|
+
* @throws {RevenexxException}
|
|
176
|
+
* @returns {Promise<Models.Assets>}
|
|
177
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
178
|
+
*/
|
|
179
|
+
productsAssetsCreate(assetFamilyId: string, code: string, attributeValues?: object, mediaUuid?: string): Promise<Models.Assets>;
|
|
93
180
|
/**
|
|
94
181
|
*
|
|
95
182
|
* @param {string} params.id -
|
|
@@ -127,20 +214,32 @@ export declare class Products {
|
|
|
127
214
|
/**
|
|
128
215
|
*
|
|
129
216
|
* @param {string} params.id -
|
|
217
|
+
* @param {string} params.assetFamilyId -
|
|
218
|
+
* @param {object} params.attributeValues -
|
|
219
|
+
* @param {string} params.code -
|
|
220
|
+
* @param {string} params.mediaUuid -
|
|
130
221
|
* @throws {RevenexxException}
|
|
131
222
|
* @returns {Promise<Models.Assets>}
|
|
132
223
|
*/
|
|
133
224
|
productsAssetsUpdate(params: {
|
|
134
225
|
id: string;
|
|
226
|
+
assetFamilyId?: string;
|
|
227
|
+
attributeValues?: object;
|
|
228
|
+
code?: string;
|
|
229
|
+
mediaUuid?: string;
|
|
135
230
|
}): Promise<Models.Assets>;
|
|
136
231
|
/**
|
|
137
232
|
*
|
|
138
233
|
* @param {string} id -
|
|
234
|
+
* @param {string} assetFamilyId -
|
|
235
|
+
* @param {object} attributeValues -
|
|
236
|
+
* @param {string} code -
|
|
237
|
+
* @param {string} mediaUuid -
|
|
139
238
|
* @throws {RevenexxException}
|
|
140
239
|
* @returns {Promise<Models.Assets>}
|
|
141
240
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
142
241
|
*/
|
|
143
|
-
productsAssetsUpdate(id: string): Promise<Models.Assets>;
|
|
242
|
+
productsAssetsUpdate(id: string, assetFamilyId?: string, attributeValues?: object, code?: string, mediaUuid?: string): Promise<Models.Assets>;
|
|
144
243
|
/**
|
|
145
244
|
*
|
|
146
245
|
* @throws {RevenexxException}
|
|
@@ -149,10 +248,30 @@ export declare class Products {
|
|
|
149
248
|
productsAssociationTypesList(): Promise<{}>;
|
|
150
249
|
/**
|
|
151
250
|
*
|
|
251
|
+
* @param {string} params.code -
|
|
252
|
+
* @param {boolean} params.isQuantified -
|
|
253
|
+
* @param {boolean} params.isTwoWay -
|
|
254
|
+
* @param {object} params.labels -
|
|
152
255
|
* @throws {RevenexxException}
|
|
153
256
|
* @returns {Promise<Models.AssociationTypes>}
|
|
154
257
|
*/
|
|
155
|
-
productsAssociationTypesCreate(
|
|
258
|
+
productsAssociationTypesCreate(params: {
|
|
259
|
+
code: string;
|
|
260
|
+
isQuantified?: boolean;
|
|
261
|
+
isTwoWay?: boolean;
|
|
262
|
+
labels?: object;
|
|
263
|
+
}): Promise<Models.AssociationTypes>;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @param {string} code -
|
|
267
|
+
* @param {boolean} isQuantified -
|
|
268
|
+
* @param {boolean} isTwoWay -
|
|
269
|
+
* @param {object} labels -
|
|
270
|
+
* @throws {RevenexxException}
|
|
271
|
+
* @returns {Promise<Models.AssociationTypes>}
|
|
272
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
273
|
+
*/
|
|
274
|
+
productsAssociationTypesCreate(code: string, isQuantified?: boolean, isTwoWay?: boolean, labels?: object): Promise<Models.AssociationTypes>;
|
|
156
275
|
/**
|
|
157
276
|
*
|
|
158
277
|
* @param {string} params.id -
|
|
@@ -190,20 +309,32 @@ export declare class Products {
|
|
|
190
309
|
/**
|
|
191
310
|
*
|
|
192
311
|
* @param {string} params.id -
|
|
312
|
+
* @param {string} params.code -
|
|
313
|
+
* @param {boolean} params.isQuantified -
|
|
314
|
+
* @param {boolean} params.isTwoWay -
|
|
315
|
+
* @param {object} params.labels -
|
|
193
316
|
* @throws {RevenexxException}
|
|
194
317
|
* @returns {Promise<Models.AssociationTypes>}
|
|
195
318
|
*/
|
|
196
319
|
productsAssociationTypesUpdate(params: {
|
|
197
320
|
id: string;
|
|
321
|
+
code?: string;
|
|
322
|
+
isQuantified?: boolean;
|
|
323
|
+
isTwoWay?: boolean;
|
|
324
|
+
labels?: object;
|
|
198
325
|
}): Promise<Models.AssociationTypes>;
|
|
199
326
|
/**
|
|
200
327
|
*
|
|
201
328
|
* @param {string} id -
|
|
329
|
+
* @param {string} code -
|
|
330
|
+
* @param {boolean} isQuantified -
|
|
331
|
+
* @param {boolean} isTwoWay -
|
|
332
|
+
* @param {object} labels -
|
|
202
333
|
* @throws {RevenexxException}
|
|
203
334
|
* @returns {Promise<Models.AssociationTypes>}
|
|
204
335
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
205
336
|
*/
|
|
206
|
-
productsAssociationTypesUpdate(id: string): Promise<Models.AssociationTypes>;
|
|
337
|
+
productsAssociationTypesUpdate(id: string, code?: string, isQuantified?: boolean, isTwoWay?: boolean, labels?: object): Promise<Models.AssociationTypes>;
|
|
207
338
|
/**
|
|
208
339
|
*
|
|
209
340
|
* @throws {RevenexxException}
|
|
@@ -212,10 +343,27 @@ export declare class Products {
|
|
|
212
343
|
productsAttributeGroupsList(): Promise<{}>;
|
|
213
344
|
/**
|
|
214
345
|
*
|
|
346
|
+
* @param {string} params.code -
|
|
347
|
+
* @param {object} params.labels -
|
|
348
|
+
* @param {number} params.position -
|
|
349
|
+
* @throws {RevenexxException}
|
|
350
|
+
* @returns {Promise<Models.AttributeGroups>}
|
|
351
|
+
*/
|
|
352
|
+
productsAttributeGroupsCreate(params: {
|
|
353
|
+
code: string;
|
|
354
|
+
labels?: object;
|
|
355
|
+
position?: number;
|
|
356
|
+
}): Promise<Models.AttributeGroups>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @param {string} code -
|
|
360
|
+
* @param {object} labels -
|
|
361
|
+
* @param {number} position -
|
|
215
362
|
* @throws {RevenexxException}
|
|
216
363
|
* @returns {Promise<Models.AttributeGroups>}
|
|
364
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
217
365
|
*/
|
|
218
|
-
productsAttributeGroupsCreate(): Promise<Models.AttributeGroups>;
|
|
366
|
+
productsAttributeGroupsCreate(code: string, labels?: object, position?: number): Promise<Models.AttributeGroups>;
|
|
219
367
|
/**
|
|
220
368
|
*
|
|
221
369
|
* @param {string} params.id -
|
|
@@ -253,20 +401,29 @@ export declare class Products {
|
|
|
253
401
|
/**
|
|
254
402
|
*
|
|
255
403
|
* @param {string} params.id -
|
|
404
|
+
* @param {string} params.code -
|
|
405
|
+
* @param {object} params.labels -
|
|
406
|
+
* @param {number} params.position -
|
|
256
407
|
* @throws {RevenexxException}
|
|
257
408
|
* @returns {Promise<Models.AttributeGroups>}
|
|
258
409
|
*/
|
|
259
410
|
productsAttributeGroupsUpdate(params: {
|
|
260
411
|
id: string;
|
|
412
|
+
code?: string;
|
|
413
|
+
labels?: object;
|
|
414
|
+
position?: number;
|
|
261
415
|
}): Promise<Models.AttributeGroups>;
|
|
262
416
|
/**
|
|
263
417
|
*
|
|
264
418
|
* @param {string} id -
|
|
419
|
+
* @param {string} code -
|
|
420
|
+
* @param {object} labels -
|
|
421
|
+
* @param {number} position -
|
|
265
422
|
* @throws {RevenexxException}
|
|
266
423
|
* @returns {Promise<Models.AttributeGroups>}
|
|
267
424
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
268
425
|
*/
|
|
269
|
-
productsAttributeGroupsUpdate(id: string): Promise<Models.AttributeGroups>;
|
|
426
|
+
productsAttributeGroupsUpdate(id: string, code?: string, labels?: object, position?: number): Promise<Models.AttributeGroups>;
|
|
270
427
|
/**
|
|
271
428
|
*
|
|
272
429
|
* @throws {RevenexxException}
|
|
@@ -275,10 +432,33 @@ export declare class Products {
|
|
|
275
432
|
productsAttributeOptionsList(): Promise<{}>;
|
|
276
433
|
/**
|
|
277
434
|
*
|
|
435
|
+
* @param {string} params.attributeId -
|
|
436
|
+
* @param {string} params.code -
|
|
437
|
+
* @param {object} params.labels -
|
|
438
|
+
* @param {number} params.position -
|
|
439
|
+
* @param {object} params.swatch -
|
|
440
|
+
* @throws {RevenexxException}
|
|
441
|
+
* @returns {Promise<Models.AttributeOptions>}
|
|
442
|
+
*/
|
|
443
|
+
productsAttributeOptionsCreate(params: {
|
|
444
|
+
attributeId: string;
|
|
445
|
+
code: string;
|
|
446
|
+
labels?: object;
|
|
447
|
+
position?: number;
|
|
448
|
+
swatch?: object;
|
|
449
|
+
}): Promise<Models.AttributeOptions>;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @param {string} attributeId -
|
|
453
|
+
* @param {string} code -
|
|
454
|
+
* @param {object} labels -
|
|
455
|
+
* @param {number} position -
|
|
456
|
+
* @param {object} swatch -
|
|
278
457
|
* @throws {RevenexxException}
|
|
279
458
|
* @returns {Promise<Models.AttributeOptions>}
|
|
459
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
280
460
|
*/
|
|
281
|
-
productsAttributeOptionsCreate(): Promise<Models.AttributeOptions>;
|
|
461
|
+
productsAttributeOptionsCreate(attributeId: string, code: string, labels?: object, position?: number, swatch?: object): Promise<Models.AttributeOptions>;
|
|
282
462
|
/**
|
|
283
463
|
*
|
|
284
464
|
* @param {string} params.id -
|
|
@@ -316,20 +496,35 @@ export declare class Products {
|
|
|
316
496
|
/**
|
|
317
497
|
*
|
|
318
498
|
* @param {string} params.id -
|
|
499
|
+
* @param {string} params.attributeId -
|
|
500
|
+
* @param {string} params.code -
|
|
501
|
+
* @param {object} params.labels -
|
|
502
|
+
* @param {number} params.position -
|
|
503
|
+
* @param {object} params.swatch -
|
|
319
504
|
* @throws {RevenexxException}
|
|
320
505
|
* @returns {Promise<Models.AttributeOptions>}
|
|
321
506
|
*/
|
|
322
507
|
productsAttributeOptionsUpdate(params: {
|
|
323
508
|
id: string;
|
|
509
|
+
attributeId?: string;
|
|
510
|
+
code?: string;
|
|
511
|
+
labels?: object;
|
|
512
|
+
position?: number;
|
|
513
|
+
swatch?: object;
|
|
324
514
|
}): Promise<Models.AttributeOptions>;
|
|
325
515
|
/**
|
|
326
516
|
*
|
|
327
517
|
* @param {string} id -
|
|
518
|
+
* @param {string} attributeId -
|
|
519
|
+
* @param {string} code -
|
|
520
|
+
* @param {object} labels -
|
|
521
|
+
* @param {number} position -
|
|
522
|
+
* @param {object} swatch -
|
|
328
523
|
* @throws {RevenexxException}
|
|
329
524
|
* @returns {Promise<Models.AttributeOptions>}
|
|
330
525
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
331
526
|
*/
|
|
332
|
-
productsAttributeOptionsUpdate(id: string): Promise<Models.AttributeOptions>;
|
|
527
|
+
productsAttributeOptionsUpdate(id: string, attributeId?: string, code?: string, labels?: object, position?: number, swatch?: object): Promise<Models.AttributeOptions>;
|
|
333
528
|
/**
|
|
334
529
|
*
|
|
335
530
|
* @throws {RevenexxException}
|
|
@@ -338,10 +533,60 @@ export declare class Products {
|
|
|
338
533
|
productsAttributesList(): Promise<{}>;
|
|
339
534
|
/**
|
|
340
535
|
*
|
|
536
|
+
* @param {string} params.code -
|
|
537
|
+
* @param {string} params.type -
|
|
538
|
+
* @param {object} params.config -
|
|
539
|
+
* @param {string} params.entityRef -
|
|
540
|
+
* @param {string} params.entityType -
|
|
541
|
+
* @param {string} params.groupId -
|
|
542
|
+
* @param {boolean} params.isFilterable -
|
|
543
|
+
* @param {boolean} params.isUnique -
|
|
544
|
+
* @param {object} params.labels -
|
|
545
|
+
* @param {boolean} params.localizable -
|
|
546
|
+
* @param {number} params.position -
|
|
547
|
+
* @param {boolean} params.scopable -
|
|
548
|
+
* @param {boolean} params.usableInGrid -
|
|
549
|
+
* @param {object} params.validation -
|
|
341
550
|
* @throws {RevenexxException}
|
|
342
551
|
* @returns {Promise<Models.Attributes>}
|
|
343
552
|
*/
|
|
344
|
-
productsAttributesCreate(
|
|
553
|
+
productsAttributesCreate(params: {
|
|
554
|
+
code: string;
|
|
555
|
+
type: string;
|
|
556
|
+
config?: object;
|
|
557
|
+
entityRef?: string;
|
|
558
|
+
entityType?: string;
|
|
559
|
+
groupId?: string;
|
|
560
|
+
isFilterable?: boolean;
|
|
561
|
+
isUnique?: boolean;
|
|
562
|
+
labels?: object;
|
|
563
|
+
localizable?: boolean;
|
|
564
|
+
position?: number;
|
|
565
|
+
scopable?: boolean;
|
|
566
|
+
usableInGrid?: boolean;
|
|
567
|
+
validation?: object;
|
|
568
|
+
}): Promise<Models.Attributes>;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @param {string} code -
|
|
572
|
+
* @param {string} type -
|
|
573
|
+
* @param {object} config -
|
|
574
|
+
* @param {string} entityRef -
|
|
575
|
+
* @param {string} entityType -
|
|
576
|
+
* @param {string} groupId -
|
|
577
|
+
* @param {boolean} isFilterable -
|
|
578
|
+
* @param {boolean} isUnique -
|
|
579
|
+
* @param {object} labels -
|
|
580
|
+
* @param {boolean} localizable -
|
|
581
|
+
* @param {number} position -
|
|
582
|
+
* @param {boolean} scopable -
|
|
583
|
+
* @param {boolean} usableInGrid -
|
|
584
|
+
* @param {object} validation -
|
|
585
|
+
* @throws {RevenexxException}
|
|
586
|
+
* @returns {Promise<Models.Attributes>}
|
|
587
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
588
|
+
*/
|
|
589
|
+
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
590
|
/**
|
|
346
591
|
*
|
|
347
592
|
* @param {string} params.id -
|
|
@@ -379,20 +624,82 @@ export declare class Products {
|
|
|
379
624
|
/**
|
|
380
625
|
*
|
|
381
626
|
* @param {string} params.id -
|
|
627
|
+
* @param {string} params.code -
|
|
628
|
+
* @param {object} params.config -
|
|
629
|
+
* @param {string} params.entityRef -
|
|
630
|
+
* @param {string} params.entityType -
|
|
631
|
+
* @param {string} params.groupId -
|
|
632
|
+
* @param {boolean} params.isFilterable -
|
|
633
|
+
* @param {boolean} params.isUnique -
|
|
634
|
+
* @param {object} params.labels -
|
|
635
|
+
* @param {boolean} params.localizable -
|
|
636
|
+
* @param {number} params.position -
|
|
637
|
+
* @param {boolean} params.scopable -
|
|
638
|
+
* @param {string} params.type -
|
|
639
|
+
* @param {boolean} params.usableInGrid -
|
|
640
|
+
* @param {object} params.validation -
|
|
382
641
|
* @throws {RevenexxException}
|
|
383
642
|
* @returns {Promise<Models.Attributes>}
|
|
384
643
|
*/
|
|
385
644
|
productsAttributesUpdate(params: {
|
|
386
645
|
id: string;
|
|
646
|
+
code?: string;
|
|
647
|
+
config?: object;
|
|
648
|
+
entityRef?: string;
|
|
649
|
+
entityType?: string;
|
|
650
|
+
groupId?: string;
|
|
651
|
+
isFilterable?: boolean;
|
|
652
|
+
isUnique?: boolean;
|
|
653
|
+
labels?: object;
|
|
654
|
+
localizable?: boolean;
|
|
655
|
+
position?: number;
|
|
656
|
+
scopable?: boolean;
|
|
657
|
+
type?: string;
|
|
658
|
+
usableInGrid?: boolean;
|
|
659
|
+
validation?: object;
|
|
387
660
|
}): Promise<Models.Attributes>;
|
|
388
661
|
/**
|
|
389
662
|
*
|
|
390
663
|
* @param {string} id -
|
|
664
|
+
* @param {string} code -
|
|
665
|
+
* @param {object} config -
|
|
666
|
+
* @param {string} entityRef -
|
|
667
|
+
* @param {string} entityType -
|
|
668
|
+
* @param {string} groupId -
|
|
669
|
+
* @param {boolean} isFilterable -
|
|
670
|
+
* @param {boolean} isUnique -
|
|
671
|
+
* @param {object} labels -
|
|
672
|
+
* @param {boolean} localizable -
|
|
673
|
+
* @param {number} position -
|
|
674
|
+
* @param {boolean} scopable -
|
|
675
|
+
* @param {string} type -
|
|
676
|
+
* @param {boolean} usableInGrid -
|
|
677
|
+
* @param {object} validation -
|
|
391
678
|
* @throws {RevenexxException}
|
|
392
679
|
* @returns {Promise<Models.Attributes>}
|
|
393
680
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
394
681
|
*/
|
|
395
|
-
productsAttributesUpdate(id: string): Promise<Models.Attributes>;
|
|
682
|
+
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>;
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @param {string[]} params.ids -
|
|
686
|
+
* @param {string[]} params.skus -
|
|
687
|
+
* @throws {RevenexxException}
|
|
688
|
+
* @returns {Promise<{}>}
|
|
689
|
+
*/
|
|
690
|
+
productsBatch(params?: {
|
|
691
|
+
ids?: string[];
|
|
692
|
+
skus?: string[];
|
|
693
|
+
}): Promise<{}>;
|
|
694
|
+
/**
|
|
695
|
+
*
|
|
696
|
+
* @param {string[]} ids -
|
|
697
|
+
* @param {string[]} skus -
|
|
698
|
+
* @throws {RevenexxException}
|
|
699
|
+
* @returns {Promise<{}>}
|
|
700
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
701
|
+
*/
|
|
702
|
+
productsBatch(ids?: string[], skus?: string[]): Promise<{}>;
|
|
396
703
|
/**
|
|
397
704
|
*
|
|
398
705
|
* @throws {RevenexxException}
|
|
@@ -401,10 +708,36 @@ export declare class Products {
|
|
|
401
708
|
productsCategoriesList(): Promise<{}>;
|
|
402
709
|
/**
|
|
403
710
|
*
|
|
711
|
+
* @param {string} params.code -
|
|
712
|
+
* @param {object} params.labels -
|
|
713
|
+
* @param {string} params.parentId -
|
|
714
|
+
* @param {string} params.xpath -
|
|
715
|
+
* @param {number} params.position -
|
|
716
|
+
* @param {object} params.values -
|
|
717
|
+
* @throws {RevenexxException}
|
|
718
|
+
* @returns {Promise<Models.Categories>}
|
|
719
|
+
*/
|
|
720
|
+
productsCategoriesCreate(params: {
|
|
721
|
+
code: string;
|
|
722
|
+
labels?: object;
|
|
723
|
+
parentId?: string;
|
|
724
|
+
xpath?: string;
|
|
725
|
+
position?: number;
|
|
726
|
+
values?: object;
|
|
727
|
+
}): Promise<Models.Categories>;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @param {string} code -
|
|
731
|
+
* @param {object} labels -
|
|
732
|
+
* @param {string} parentId -
|
|
733
|
+
* @param {string} xpath -
|
|
734
|
+
* @param {number} position -
|
|
735
|
+
* @param {object} values -
|
|
404
736
|
* @throws {RevenexxException}
|
|
405
737
|
* @returns {Promise<Models.Categories>}
|
|
738
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
406
739
|
*/
|
|
407
|
-
productsCategoriesCreate(): Promise<Models.Categories>;
|
|
740
|
+
productsCategoriesCreate(code: string, labels?: object, parentId?: string, xpath?: string, position?: number, values?: object): Promise<Models.Categories>;
|
|
408
741
|
/**
|
|
409
742
|
*
|
|
410
743
|
* @param {string} params.id -
|
|
@@ -442,20 +775,38 @@ export declare class Products {
|
|
|
442
775
|
/**
|
|
443
776
|
*
|
|
444
777
|
* @param {string} params.id -
|
|
778
|
+
* @param {string} params.code -
|
|
779
|
+
* @param {object} params.labels -
|
|
780
|
+
* @param {string} params.parentId -
|
|
781
|
+
* @param {string} params.xpath -
|
|
782
|
+
* @param {number} params.position -
|
|
783
|
+
* @param {object} params.values -
|
|
445
784
|
* @throws {RevenexxException}
|
|
446
785
|
* @returns {Promise<Models.Categories>}
|
|
447
786
|
*/
|
|
448
787
|
productsCategoriesUpdate(params: {
|
|
449
788
|
id: string;
|
|
789
|
+
code?: string;
|
|
790
|
+
labels?: object;
|
|
791
|
+
parentId?: string;
|
|
792
|
+
xpath?: string;
|
|
793
|
+
position?: number;
|
|
794
|
+
values?: object;
|
|
450
795
|
}): Promise<Models.Categories>;
|
|
451
796
|
/**
|
|
452
797
|
*
|
|
453
798
|
* @param {string} id -
|
|
799
|
+
* @param {string} code -
|
|
800
|
+
* @param {object} labels -
|
|
801
|
+
* @param {string} parentId -
|
|
802
|
+
* @param {string} xpath -
|
|
803
|
+
* @param {number} position -
|
|
804
|
+
* @param {object} values -
|
|
454
805
|
* @throws {RevenexxException}
|
|
455
806
|
* @returns {Promise<Models.Categories>}
|
|
456
807
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
457
808
|
*/
|
|
458
|
-
productsCategoriesUpdate(id: string): Promise<Models.Categories>;
|
|
809
|
+
productsCategoriesUpdate(id: string, code?: string, labels?: object, parentId?: string, xpath?: string, position?: number, values?: object): Promise<Models.Categories>;
|
|
459
810
|
/**
|
|
460
811
|
*
|
|
461
812
|
* @throws {RevenexxException}
|
|
@@ -464,10 +815,30 @@ export declare class Products {
|
|
|
464
815
|
productsFamiliesList(): Promise<{}>;
|
|
465
816
|
/**
|
|
466
817
|
*
|
|
818
|
+
* @param {string} params.code -
|
|
819
|
+
* @param {string} params.imageAttribute -
|
|
820
|
+
* @param {string} params.labelAttribute -
|
|
821
|
+
* @param {object} params.labels -
|
|
822
|
+
* @throws {RevenexxException}
|
|
823
|
+
* @returns {Promise<Models.Families>}
|
|
824
|
+
*/
|
|
825
|
+
productsFamiliesCreate(params: {
|
|
826
|
+
code: string;
|
|
827
|
+
imageAttribute?: string;
|
|
828
|
+
labelAttribute?: string;
|
|
829
|
+
labels?: object;
|
|
830
|
+
}): Promise<Models.Families>;
|
|
831
|
+
/**
|
|
832
|
+
*
|
|
833
|
+
* @param {string} code -
|
|
834
|
+
* @param {string} imageAttribute -
|
|
835
|
+
* @param {string} labelAttribute -
|
|
836
|
+
* @param {object} labels -
|
|
467
837
|
* @throws {RevenexxException}
|
|
468
838
|
* @returns {Promise<Models.Families>}
|
|
839
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
469
840
|
*/
|
|
470
|
-
productsFamiliesCreate(): Promise<Models.Families>;
|
|
841
|
+
productsFamiliesCreate(code: string, imageAttribute?: string, labelAttribute?: string, labels?: object): Promise<Models.Families>;
|
|
471
842
|
/**
|
|
472
843
|
*
|
|
473
844
|
* @param {string} params.id -
|
|
@@ -505,20 +876,32 @@ export declare class Products {
|
|
|
505
876
|
/**
|
|
506
877
|
*
|
|
507
878
|
* @param {string} params.id -
|
|
879
|
+
* @param {string} params.code -
|
|
880
|
+
* @param {string} params.imageAttribute -
|
|
881
|
+
* @param {string} params.labelAttribute -
|
|
882
|
+
* @param {object} params.labels -
|
|
508
883
|
* @throws {RevenexxException}
|
|
509
884
|
* @returns {Promise<Models.Families>}
|
|
510
885
|
*/
|
|
511
886
|
productsFamiliesUpdate(params: {
|
|
512
887
|
id: string;
|
|
888
|
+
code?: string;
|
|
889
|
+
imageAttribute?: string;
|
|
890
|
+
labelAttribute?: string;
|
|
891
|
+
labels?: object;
|
|
513
892
|
}): Promise<Models.Families>;
|
|
514
893
|
/**
|
|
515
894
|
*
|
|
516
895
|
* @param {string} id -
|
|
896
|
+
* @param {string} code -
|
|
897
|
+
* @param {string} imageAttribute -
|
|
898
|
+
* @param {string} labelAttribute -
|
|
899
|
+
* @param {object} labels -
|
|
517
900
|
* @throws {RevenexxException}
|
|
518
901
|
* @returns {Promise<Models.Families>}
|
|
519
902
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
520
903
|
*/
|
|
521
|
-
productsFamiliesUpdate(id: string): Promise<Models.Families>;
|
|
904
|
+
productsFamiliesUpdate(id: string, code?: string, imageAttribute?: string, labelAttribute?: string, labels?: object): Promise<Models.Families>;
|
|
522
905
|
/**
|
|
523
906
|
*
|
|
524
907
|
* @throws {RevenexxException}
|
|
@@ -527,10 +910,33 @@ export declare class Products {
|
|
|
527
910
|
productsFamilyAttributesList(): Promise<{}>;
|
|
528
911
|
/**
|
|
529
912
|
*
|
|
913
|
+
* @param {string} params.attributeId -
|
|
914
|
+
* @param {string} params.familyId -
|
|
915
|
+
* @param {boolean} params.isRequired -
|
|
916
|
+
* @param {number} params.position -
|
|
917
|
+
* @param {object} params.requiredChannels -
|
|
530
918
|
* @throws {RevenexxException}
|
|
531
919
|
* @returns {Promise<Models.FamilyAttributes>}
|
|
532
920
|
*/
|
|
533
|
-
productsFamilyAttributesCreate(
|
|
921
|
+
productsFamilyAttributesCreate(params: {
|
|
922
|
+
attributeId: string;
|
|
923
|
+
familyId: string;
|
|
924
|
+
isRequired?: boolean;
|
|
925
|
+
position?: number;
|
|
926
|
+
requiredChannels?: object;
|
|
927
|
+
}): Promise<Models.FamilyAttributes>;
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @param {string} attributeId -
|
|
931
|
+
* @param {string} familyId -
|
|
932
|
+
* @param {boolean} isRequired -
|
|
933
|
+
* @param {number} position -
|
|
934
|
+
* @param {object} requiredChannels -
|
|
935
|
+
* @throws {RevenexxException}
|
|
936
|
+
* @returns {Promise<Models.FamilyAttributes>}
|
|
937
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
938
|
+
*/
|
|
939
|
+
productsFamilyAttributesCreate(attributeId: string, familyId: string, isRequired?: boolean, position?: number, requiredChannels?: object): Promise<Models.FamilyAttributes>;
|
|
534
940
|
/**
|
|
535
941
|
*
|
|
536
942
|
* @param {string} params.id -
|
|
@@ -568,20 +974,35 @@ export declare class Products {
|
|
|
568
974
|
/**
|
|
569
975
|
*
|
|
570
976
|
* @param {string} params.id -
|
|
977
|
+
* @param {string} params.attributeId -
|
|
978
|
+
* @param {string} params.familyId -
|
|
979
|
+
* @param {boolean} params.isRequired -
|
|
980
|
+
* @param {number} params.position -
|
|
981
|
+
* @param {object} params.requiredChannels -
|
|
571
982
|
* @throws {RevenexxException}
|
|
572
983
|
* @returns {Promise<Models.FamilyAttributes>}
|
|
573
984
|
*/
|
|
574
985
|
productsFamilyAttributesUpdate(params: {
|
|
575
986
|
id: string;
|
|
987
|
+
attributeId?: string;
|
|
988
|
+
familyId?: string;
|
|
989
|
+
isRequired?: boolean;
|
|
990
|
+
position?: number;
|
|
991
|
+
requiredChannels?: object;
|
|
576
992
|
}): Promise<Models.FamilyAttributes>;
|
|
577
993
|
/**
|
|
578
994
|
*
|
|
579
995
|
* @param {string} id -
|
|
996
|
+
* @param {string} attributeId -
|
|
997
|
+
* @param {string} familyId -
|
|
998
|
+
* @param {boolean} isRequired -
|
|
999
|
+
* @param {number} position -
|
|
1000
|
+
* @param {object} requiredChannels -
|
|
580
1001
|
* @throws {RevenexxException}
|
|
581
1002
|
* @returns {Promise<Models.FamilyAttributes>}
|
|
582
1003
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
583
1004
|
*/
|
|
584
|
-
productsFamilyAttributesUpdate(id: string): Promise<Models.FamilyAttributes>;
|
|
1005
|
+
productsFamilyAttributesUpdate(id: string, attributeId?: string, familyId?: string, isRequired?: boolean, position?: number, requiredChannels?: object): Promise<Models.FamilyAttributes>;
|
|
585
1006
|
/**
|
|
586
1007
|
*
|
|
587
1008
|
* @throws {RevenexxException}
|
|
@@ -590,10 +1011,30 @@ export declare class Products {
|
|
|
590
1011
|
productsFamilyVariantsList(): Promise<{}>;
|
|
591
1012
|
/**
|
|
592
1013
|
*
|
|
1014
|
+
* @param {string} params.code -
|
|
1015
|
+
* @param {string} params.familyId -
|
|
1016
|
+
* @param {object} params.axes -
|
|
1017
|
+
* @param {object} params.labels -
|
|
593
1018
|
* @throws {RevenexxException}
|
|
594
1019
|
* @returns {Promise<Models.FamilyVariants>}
|
|
595
1020
|
*/
|
|
596
|
-
productsFamilyVariantsCreate(
|
|
1021
|
+
productsFamilyVariantsCreate(params: {
|
|
1022
|
+
code: string;
|
|
1023
|
+
familyId: string;
|
|
1024
|
+
axes?: object;
|
|
1025
|
+
labels?: object;
|
|
1026
|
+
}): Promise<Models.FamilyVariants>;
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @param {string} code -
|
|
1030
|
+
* @param {string} familyId -
|
|
1031
|
+
* @param {object} axes -
|
|
1032
|
+
* @param {object} labels -
|
|
1033
|
+
* @throws {RevenexxException}
|
|
1034
|
+
* @returns {Promise<Models.FamilyVariants>}
|
|
1035
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1036
|
+
*/
|
|
1037
|
+
productsFamilyVariantsCreate(code: string, familyId: string, axes?: object, labels?: object): Promise<Models.FamilyVariants>;
|
|
597
1038
|
/**
|
|
598
1039
|
*
|
|
599
1040
|
* @param {string} params.id -
|
|
@@ -631,20 +1072,32 @@ export declare class Products {
|
|
|
631
1072
|
/**
|
|
632
1073
|
*
|
|
633
1074
|
* @param {string} params.id -
|
|
1075
|
+
* @param {object} params.axes -
|
|
1076
|
+
* @param {string} params.code -
|
|
1077
|
+
* @param {string} params.familyId -
|
|
1078
|
+
* @param {object} params.labels -
|
|
634
1079
|
* @throws {RevenexxException}
|
|
635
1080
|
* @returns {Promise<Models.FamilyVariants>}
|
|
636
1081
|
*/
|
|
637
1082
|
productsFamilyVariantsUpdate(params: {
|
|
638
1083
|
id: string;
|
|
1084
|
+
axes?: object;
|
|
1085
|
+
code?: string;
|
|
1086
|
+
familyId?: string;
|
|
1087
|
+
labels?: object;
|
|
639
1088
|
}): Promise<Models.FamilyVariants>;
|
|
640
1089
|
/**
|
|
641
1090
|
*
|
|
642
1091
|
* @param {string} id -
|
|
1092
|
+
* @param {object} axes -
|
|
1093
|
+
* @param {string} code -
|
|
1094
|
+
* @param {string} familyId -
|
|
1095
|
+
* @param {object} labels -
|
|
643
1096
|
* @throws {RevenexxException}
|
|
644
1097
|
* @returns {Promise<Models.FamilyVariants>}
|
|
645
1098
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
646
1099
|
*/
|
|
647
|
-
productsFamilyVariantsUpdate(id: string): Promise<Models.FamilyVariants>;
|
|
1100
|
+
productsFamilyVariantsUpdate(id: string, axes?: object, code?: string, familyId?: string, labels?: object): Promise<Models.FamilyVariants>;
|
|
648
1101
|
/**
|
|
649
1102
|
*
|
|
650
1103
|
* @throws {RevenexxException}
|
|
@@ -653,10 +1106,30 @@ export declare class Products {
|
|
|
653
1106
|
productsMeasurementFamiliesList(): Promise<{}>;
|
|
654
1107
|
/**
|
|
655
1108
|
*
|
|
1109
|
+
* @param {string} params.code -
|
|
1110
|
+
* @param {string} params.standardUnit -
|
|
1111
|
+
* @param {object} params.labels -
|
|
1112
|
+
* @param {object} params.units -
|
|
1113
|
+
* @throws {RevenexxException}
|
|
1114
|
+
* @returns {Promise<Models.MeasurementFamilies>}
|
|
1115
|
+
*/
|
|
1116
|
+
productsMeasurementFamiliesCreate(params: {
|
|
1117
|
+
code: string;
|
|
1118
|
+
standardUnit: string;
|
|
1119
|
+
labels?: object;
|
|
1120
|
+
units?: object;
|
|
1121
|
+
}): Promise<Models.MeasurementFamilies>;
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @param {string} code -
|
|
1125
|
+
* @param {string} standardUnit -
|
|
1126
|
+
* @param {object} labels -
|
|
1127
|
+
* @param {object} units -
|
|
656
1128
|
* @throws {RevenexxException}
|
|
657
1129
|
* @returns {Promise<Models.MeasurementFamilies>}
|
|
1130
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
658
1131
|
*/
|
|
659
|
-
productsMeasurementFamiliesCreate(): Promise<Models.MeasurementFamilies>;
|
|
1132
|
+
productsMeasurementFamiliesCreate(code: string, standardUnit: string, labels?: object, units?: object): Promise<Models.MeasurementFamilies>;
|
|
660
1133
|
/**
|
|
661
1134
|
*
|
|
662
1135
|
* @param {string} params.id -
|
|
@@ -694,20 +1167,32 @@ export declare class Products {
|
|
|
694
1167
|
/**
|
|
695
1168
|
*
|
|
696
1169
|
* @param {string} params.id -
|
|
1170
|
+
* @param {string} params.code -
|
|
1171
|
+
* @param {object} params.labels -
|
|
1172
|
+
* @param {string} params.standardUnit -
|
|
1173
|
+
* @param {object} params.units -
|
|
697
1174
|
* @throws {RevenexxException}
|
|
698
1175
|
* @returns {Promise<Models.MeasurementFamilies>}
|
|
699
1176
|
*/
|
|
700
1177
|
productsMeasurementFamiliesUpdate(params: {
|
|
701
1178
|
id: string;
|
|
1179
|
+
code?: string;
|
|
1180
|
+
labels?: object;
|
|
1181
|
+
standardUnit?: string;
|
|
1182
|
+
units?: object;
|
|
702
1183
|
}): Promise<Models.MeasurementFamilies>;
|
|
703
1184
|
/**
|
|
704
1185
|
*
|
|
705
1186
|
* @param {string} id -
|
|
1187
|
+
* @param {string} code -
|
|
1188
|
+
* @param {object} labels -
|
|
1189
|
+
* @param {string} standardUnit -
|
|
1190
|
+
* @param {object} units -
|
|
706
1191
|
* @throws {RevenexxException}
|
|
707
1192
|
* @returns {Promise<Models.MeasurementFamilies>}
|
|
708
1193
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
709
1194
|
*/
|
|
710
|
-
productsMeasurementFamiliesUpdate(id: string): Promise<Models.MeasurementFamilies>;
|
|
1195
|
+
productsMeasurementFamiliesUpdate(id: string, code?: string, labels?: object, standardUnit?: string, units?: object): Promise<Models.MeasurementFamilies>;
|
|
711
1196
|
/**
|
|
712
1197
|
*
|
|
713
1198
|
* @throws {RevenexxException}
|
|
@@ -716,10 +1201,33 @@ export declare class Products {
|
|
|
716
1201
|
productsProductAssociationsList(): Promise<{}>;
|
|
717
1202
|
/**
|
|
718
1203
|
*
|
|
1204
|
+
* @param {string} params.associationTypeId -
|
|
1205
|
+
* @param {string} params.productId -
|
|
1206
|
+
* @param {string} params.targetProductId -
|
|
1207
|
+
* @param {number} params.position -
|
|
1208
|
+
* @param {number} params.quantity -
|
|
1209
|
+
* @throws {RevenexxException}
|
|
1210
|
+
* @returns {Promise<Models.ProductAssociations>}
|
|
1211
|
+
*/
|
|
1212
|
+
productsProductAssociationsCreate(params: {
|
|
1213
|
+
associationTypeId: string;
|
|
1214
|
+
productId: string;
|
|
1215
|
+
targetProductId: string;
|
|
1216
|
+
position?: number;
|
|
1217
|
+
quantity?: number;
|
|
1218
|
+
}): Promise<Models.ProductAssociations>;
|
|
1219
|
+
/**
|
|
1220
|
+
*
|
|
1221
|
+
* @param {string} associationTypeId -
|
|
1222
|
+
* @param {string} productId -
|
|
1223
|
+
* @param {string} targetProductId -
|
|
1224
|
+
* @param {number} position -
|
|
1225
|
+
* @param {number} quantity -
|
|
719
1226
|
* @throws {RevenexxException}
|
|
720
1227
|
* @returns {Promise<Models.ProductAssociations>}
|
|
1228
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
721
1229
|
*/
|
|
722
|
-
productsProductAssociationsCreate(): Promise<Models.ProductAssociations>;
|
|
1230
|
+
productsProductAssociationsCreate(associationTypeId: string, productId: string, targetProductId: string, position?: number, quantity?: number): Promise<Models.ProductAssociations>;
|
|
723
1231
|
/**
|
|
724
1232
|
*
|
|
725
1233
|
* @param {string} params.id -
|
|
@@ -757,20 +1265,35 @@ export declare class Products {
|
|
|
757
1265
|
/**
|
|
758
1266
|
*
|
|
759
1267
|
* @param {string} params.id -
|
|
1268
|
+
* @param {string} params.associationTypeId -
|
|
1269
|
+
* @param {number} params.position -
|
|
1270
|
+
* @param {string} params.productId -
|
|
1271
|
+
* @param {number} params.quantity -
|
|
1272
|
+
* @param {string} params.targetProductId -
|
|
760
1273
|
* @throws {RevenexxException}
|
|
761
1274
|
* @returns {Promise<Models.ProductAssociations>}
|
|
762
1275
|
*/
|
|
763
1276
|
productsProductAssociationsUpdate(params: {
|
|
764
1277
|
id: string;
|
|
1278
|
+
associationTypeId?: string;
|
|
1279
|
+
position?: number;
|
|
1280
|
+
productId?: string;
|
|
1281
|
+
quantity?: number;
|
|
1282
|
+
targetProductId?: string;
|
|
765
1283
|
}): Promise<Models.ProductAssociations>;
|
|
766
1284
|
/**
|
|
767
1285
|
*
|
|
768
1286
|
* @param {string} id -
|
|
1287
|
+
* @param {string} associationTypeId -
|
|
1288
|
+
* @param {number} position -
|
|
1289
|
+
* @param {string} productId -
|
|
1290
|
+
* @param {number} quantity -
|
|
1291
|
+
* @param {string} targetProductId -
|
|
769
1292
|
* @throws {RevenexxException}
|
|
770
1293
|
* @returns {Promise<Models.ProductAssociations>}
|
|
771
1294
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
772
1295
|
*/
|
|
773
|
-
productsProductAssociationsUpdate(id: string): Promise<Models.ProductAssociations>;
|
|
1296
|
+
productsProductAssociationsUpdate(id: string, associationTypeId?: string, position?: number, productId?: string, quantity?: number, targetProductId?: string): Promise<Models.ProductAssociations>;
|
|
774
1297
|
/**
|
|
775
1298
|
*
|
|
776
1299
|
* @throws {RevenexxException}
|
|
@@ -779,10 +1302,27 @@ export declare class Products {
|
|
|
779
1302
|
productsProductCategoriesList(): Promise<{}>;
|
|
780
1303
|
/**
|
|
781
1304
|
*
|
|
1305
|
+
* @param {string} params.categoryId -
|
|
1306
|
+
* @param {string} params.productId -
|
|
1307
|
+
* @param {number} params.position -
|
|
782
1308
|
* @throws {RevenexxException}
|
|
783
1309
|
* @returns {Promise<Models.ProductCategories>}
|
|
784
1310
|
*/
|
|
785
|
-
productsProductCategoriesCreate(
|
|
1311
|
+
productsProductCategoriesCreate(params: {
|
|
1312
|
+
categoryId: string;
|
|
1313
|
+
productId: string;
|
|
1314
|
+
position?: number;
|
|
1315
|
+
}): Promise<Models.ProductCategories>;
|
|
1316
|
+
/**
|
|
1317
|
+
*
|
|
1318
|
+
* @param {string} categoryId -
|
|
1319
|
+
* @param {string} productId -
|
|
1320
|
+
* @param {number} position -
|
|
1321
|
+
* @throws {RevenexxException}
|
|
1322
|
+
* @returns {Promise<Models.ProductCategories>}
|
|
1323
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1324
|
+
*/
|
|
1325
|
+
productsProductCategoriesCreate(categoryId: string, productId: string, position?: number): Promise<Models.ProductCategories>;
|
|
786
1326
|
/**
|
|
787
1327
|
*
|
|
788
1328
|
* @param {string} params.id -
|
|
@@ -820,20 +1360,29 @@ export declare class Products {
|
|
|
820
1360
|
/**
|
|
821
1361
|
*
|
|
822
1362
|
* @param {string} params.id -
|
|
1363
|
+
* @param {string} params.categoryId -
|
|
1364
|
+
* @param {number} params.position -
|
|
1365
|
+
* @param {string} params.productId -
|
|
823
1366
|
* @throws {RevenexxException}
|
|
824
1367
|
* @returns {Promise<Models.ProductCategories>}
|
|
825
1368
|
*/
|
|
826
1369
|
productsProductCategoriesUpdate(params: {
|
|
827
1370
|
id: string;
|
|
1371
|
+
categoryId?: string;
|
|
1372
|
+
position?: number;
|
|
1373
|
+
productId?: string;
|
|
828
1374
|
}): Promise<Models.ProductCategories>;
|
|
829
1375
|
/**
|
|
830
1376
|
*
|
|
831
1377
|
* @param {string} id -
|
|
1378
|
+
* @param {string} categoryId -
|
|
1379
|
+
* @param {number} position -
|
|
1380
|
+
* @param {string} productId -
|
|
832
1381
|
* @throws {RevenexxException}
|
|
833
1382
|
* @returns {Promise<Models.ProductCategories>}
|
|
834
1383
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
835
1384
|
*/
|
|
836
|
-
productsProductCategoriesUpdate(id: string): Promise<Models.ProductCategories>;
|
|
1385
|
+
productsProductCategoriesUpdate(id: string, categoryId?: string, position?: number, productId?: string): Promise<Models.ProductCategories>;
|
|
837
1386
|
/**
|
|
838
1387
|
*
|
|
839
1388
|
* @throws {RevenexxException}
|
|
@@ -842,10 +1391,27 @@ export declare class Products {
|
|
|
842
1391
|
productsReferenceEntitiesList(): Promise<{}>;
|
|
843
1392
|
/**
|
|
844
1393
|
*
|
|
1394
|
+
* @param {string} params.code -
|
|
1395
|
+
* @param {string} params.image -
|
|
1396
|
+
* @param {object} params.labels -
|
|
1397
|
+
* @throws {RevenexxException}
|
|
1398
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
1399
|
+
*/
|
|
1400
|
+
productsReferenceEntitiesCreate(params: {
|
|
1401
|
+
code: string;
|
|
1402
|
+
image?: string;
|
|
1403
|
+
labels?: object;
|
|
1404
|
+
}): Promise<Models.ReferenceEntities>;
|
|
1405
|
+
/**
|
|
1406
|
+
*
|
|
1407
|
+
* @param {string} code -
|
|
1408
|
+
* @param {string} image -
|
|
1409
|
+
* @param {object} labels -
|
|
845
1410
|
* @throws {RevenexxException}
|
|
846
1411
|
* @returns {Promise<Models.ReferenceEntities>}
|
|
1412
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
847
1413
|
*/
|
|
848
|
-
productsReferenceEntitiesCreate(): Promise<Models.ReferenceEntities>;
|
|
1414
|
+
productsReferenceEntitiesCreate(code: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
849
1415
|
/**
|
|
850
1416
|
*
|
|
851
1417
|
* @param {string} params.id -
|
|
@@ -883,20 +1449,29 @@ export declare class Products {
|
|
|
883
1449
|
/**
|
|
884
1450
|
*
|
|
885
1451
|
* @param {string} params.id -
|
|
1452
|
+
* @param {string} params.code -
|
|
1453
|
+
* @param {string} params.image -
|
|
1454
|
+
* @param {object} params.labels -
|
|
886
1455
|
* @throws {RevenexxException}
|
|
887
1456
|
* @returns {Promise<Models.ReferenceEntities>}
|
|
888
1457
|
*/
|
|
889
1458
|
productsReferenceEntitiesUpdate(params: {
|
|
890
1459
|
id: string;
|
|
1460
|
+
code?: string;
|
|
1461
|
+
image?: string;
|
|
1462
|
+
labels?: object;
|
|
891
1463
|
}): Promise<Models.ReferenceEntities>;
|
|
892
1464
|
/**
|
|
893
1465
|
*
|
|
894
1466
|
* @param {string} id -
|
|
1467
|
+
* @param {string} code -
|
|
1468
|
+
* @param {string} image -
|
|
1469
|
+
* @param {object} labels -
|
|
895
1470
|
* @throws {RevenexxException}
|
|
896
1471
|
* @returns {Promise<Models.ReferenceEntities>}
|
|
897
1472
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
898
1473
|
*/
|
|
899
|
-
productsReferenceEntitiesUpdate(id: string): Promise<Models.ReferenceEntities>;
|
|
1474
|
+
productsReferenceEntitiesUpdate(id: string, code?: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
900
1475
|
/**
|
|
901
1476
|
*
|
|
902
1477
|
* @throws {RevenexxException}
|
|
@@ -905,10 +1480,30 @@ export declare class Products {
|
|
|
905
1480
|
productsReferenceEntityRecordsList(): Promise<{}>;
|
|
906
1481
|
/**
|
|
907
1482
|
*
|
|
1483
|
+
* @param {string} params.code -
|
|
1484
|
+
* @param {string} params.referenceEntityId -
|
|
1485
|
+
* @param {object} params.attributeValues -
|
|
1486
|
+
* @param {object} params.labels -
|
|
908
1487
|
* @throws {RevenexxException}
|
|
909
1488
|
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
910
1489
|
*/
|
|
911
|
-
productsReferenceEntityRecordsCreate(
|
|
1490
|
+
productsReferenceEntityRecordsCreate(params: {
|
|
1491
|
+
code: string;
|
|
1492
|
+
referenceEntityId: string;
|
|
1493
|
+
attributeValues?: object;
|
|
1494
|
+
labels?: object;
|
|
1495
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
1496
|
+
/**
|
|
1497
|
+
*
|
|
1498
|
+
* @param {string} code -
|
|
1499
|
+
* @param {string} referenceEntityId -
|
|
1500
|
+
* @param {object} attributeValues -
|
|
1501
|
+
* @param {object} labels -
|
|
1502
|
+
* @throws {RevenexxException}
|
|
1503
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
1504
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1505
|
+
*/
|
|
1506
|
+
productsReferenceEntityRecordsCreate(code: string, referenceEntityId: string, attributeValues?: object, labels?: object): Promise<Models.ReferenceEntityRecords>;
|
|
912
1507
|
/**
|
|
913
1508
|
*
|
|
914
1509
|
* @param {string} params.id -
|
|
@@ -946,20 +1541,32 @@ export declare class Products {
|
|
|
946
1541
|
/**
|
|
947
1542
|
*
|
|
948
1543
|
* @param {string} params.id -
|
|
1544
|
+
* @param {object} params.attributeValues -
|
|
1545
|
+
* @param {string} params.code -
|
|
1546
|
+
* @param {object} params.labels -
|
|
1547
|
+
* @param {string} params.referenceEntityId -
|
|
949
1548
|
* @throws {RevenexxException}
|
|
950
1549
|
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
951
1550
|
*/
|
|
952
1551
|
productsReferenceEntityRecordsUpdate(params: {
|
|
953
1552
|
id: string;
|
|
1553
|
+
attributeValues?: object;
|
|
1554
|
+
code?: string;
|
|
1555
|
+
labels?: object;
|
|
1556
|
+
referenceEntityId?: string;
|
|
954
1557
|
}): Promise<Models.ReferenceEntityRecords>;
|
|
955
1558
|
/**
|
|
956
1559
|
*
|
|
957
1560
|
* @param {string} id -
|
|
1561
|
+
* @param {object} attributeValues -
|
|
1562
|
+
* @param {string} code -
|
|
1563
|
+
* @param {object} labels -
|
|
1564
|
+
* @param {string} referenceEntityId -
|
|
958
1565
|
* @throws {RevenexxException}
|
|
959
1566
|
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
960
1567
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
961
1568
|
*/
|
|
962
|
-
productsReferenceEntityRecordsUpdate(id: string): Promise<Models.ReferenceEntityRecords>;
|
|
1569
|
+
productsReferenceEntityRecordsUpdate(id: string, attributeValues?: object, code?: string, labels?: object, referenceEntityId?: string): Promise<Models.ReferenceEntityRecords>;
|
|
963
1570
|
/**
|
|
964
1571
|
*
|
|
965
1572
|
* @param {string} params.id -
|
|
@@ -997,18 +1604,51 @@ export declare class Products {
|
|
|
997
1604
|
/**
|
|
998
1605
|
*
|
|
999
1606
|
* @param {string} params.id -
|
|
1607
|
+
* @param {object} params.attributeValues -
|
|
1608
|
+
* @param {object} params.completeness -
|
|
1609
|
+
* @param {string} params.deletedAt -
|
|
1610
|
+
* @param {boolean} params.enabled -
|
|
1611
|
+
* @param {string} params.familyId -
|
|
1612
|
+
* @param {string} params.familyVariantId -
|
|
1613
|
+
* @param {string} params.kind -
|
|
1614
|
+
* @param {string} params.parentId -
|
|
1615
|
+
* @param {object} params.quantifiedAssociations -
|
|
1616
|
+
* @param {string} params.sku -
|
|
1617
|
+
* @param {string} params.taxClass -
|
|
1000
1618
|
* @throws {RevenexxException}
|
|
1001
1619
|
* @returns {Promise<Models.Products>}
|
|
1002
1620
|
*/
|
|
1003
1621
|
productsUpdate(params: {
|
|
1004
1622
|
id: string;
|
|
1623
|
+
attributeValues?: object;
|
|
1624
|
+
completeness?: object;
|
|
1625
|
+
deletedAt?: string;
|
|
1626
|
+
enabled?: boolean;
|
|
1627
|
+
familyId?: string;
|
|
1628
|
+
familyVariantId?: string;
|
|
1629
|
+
kind?: string;
|
|
1630
|
+
parentId?: string;
|
|
1631
|
+
quantifiedAssociations?: object;
|
|
1632
|
+
sku?: string;
|
|
1633
|
+
taxClass?: string;
|
|
1005
1634
|
}): Promise<Models.Products>;
|
|
1006
1635
|
/**
|
|
1007
1636
|
*
|
|
1008
1637
|
* @param {string} id -
|
|
1638
|
+
* @param {object} attributeValues -
|
|
1639
|
+
* @param {object} completeness -
|
|
1640
|
+
* @param {string} deletedAt -
|
|
1641
|
+
* @param {boolean} enabled -
|
|
1642
|
+
* @param {string} familyId -
|
|
1643
|
+
* @param {string} familyVariantId -
|
|
1644
|
+
* @param {string} kind -
|
|
1645
|
+
* @param {string} parentId -
|
|
1646
|
+
* @param {object} quantifiedAssociations -
|
|
1647
|
+
* @param {string} sku -
|
|
1648
|
+
* @param {string} taxClass -
|
|
1009
1649
|
* @throws {RevenexxException}
|
|
1010
1650
|
* @returns {Promise<Models.Products>}
|
|
1011
1651
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1012
1652
|
*/
|
|
1013
|
-
productsUpdate(id: string): Promise<Models.Products>;
|
|
1653
|
+
productsUpdate(id: string, attributeValues?: object, completeness?: object, deletedAt?: string, enabled?: boolean, familyId?: string, familyVariantId?: string, kind?: string, parentId?: string, quantifiedAssociations?: object, sku?: string, taxClass?: string): Promise<Models.Products>;
|
|
1014
1654
|
}
|