@revenexx/sdk 0.0.2 → 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.
Files changed (90) hide show
  1. package/dist/cjs/sdk.js +13496 -3442
  2. package/dist/cjs/sdk.js.map +1 -1
  3. package/dist/esm/sdk.js +13467 -3443
  4. package/dist/esm/sdk.js.map +1 -1
  5. package/dist/iife/sdk.js +13496 -3442
  6. package/package.json +1 -1
  7. package/src/client.ts +1 -1
  8. package/src/enums/address-type.ts +4 -0
  9. package/src/enums/cart-export-format.ts +4 -0
  10. package/src/enums/cart-io-apply-mode.ts +5 -0
  11. package/src/enums/cart-io-direction.ts +4 -0
  12. package/src/enums/cart-io-entity.ts +4 -0
  13. package/src/enums/cart-io-format.ts +4 -0
  14. package/src/enums/cart-item-type.ts +5 -0
  15. package/src/enums/channel-status.ts +4 -0
  16. package/src/enums/channel-type.ts +7 -0
  17. package/src/enums/contact-role.ts +6 -0
  18. package/src/enums/contact-status.ts +5 -0
  19. package/src/enums/location-type.ts +6 -0
  20. package/src/enums/market-status.ts +4 -0
  21. package/src/enums/order-comment-visibility.ts +4 -0
  22. package/src/enums/order-item-type.ts +5 -0
  23. package/src/enums/order-payment-status.ts +9 -0
  24. package/src/enums/organization-status.ts +4 -0
  25. package/src/enums/page-status.ts +5 -0
  26. package/src/enums/payment-fee-type.ts +5 -0
  27. package/src/enums/payment-method-kind.ts +4 -0
  28. package/src/enums/price-entry-type.ts +4 -0
  29. package/src/enums/price-list-status.ts +4 -0
  30. package/src/enums/shipping-method-matrix-basis.ts +6 -0
  31. package/src/enums/shipping-method-pricing-type.ts +5 -0
  32. package/src/index.ts +30 -0
  33. package/src/models.ts +5628 -410
  34. package/src/services/apps.ts +154 -154
  35. package/src/services/avatars.ts +57 -57
  36. package/src/services/carts.ts +739 -104
  37. package/src/services/channels.ts +147 -19
  38. package/src/services/customers.ts +801 -69
  39. package/src/services/greetings.ts +18 -18
  40. package/src/services/inventories.ts +1278 -0
  41. package/src/services/locale.ts +16 -16
  42. package/src/services/markets.ts +373 -75
  43. package/src/services/messaging.ts +273 -273
  44. package/src/services/orders.ts +1648 -0
  45. package/src/services/pages.ts +2317 -0
  46. package/src/services/payments.ts +1334 -0
  47. package/src/services/prices.ts +1036 -0
  48. package/src/services/products.ts +1836 -272
  49. package/src/services/search.ts +24 -24
  50. package/src/services/shipping.ts +956 -0
  51. package/src/services/sites.ts +116 -116
  52. package/src/services/storage.ts +72 -72
  53. package/src/services/tokens.ts +14 -14
  54. package/types/enums/address-type.d.ts +4 -0
  55. package/types/enums/cart-export-format.d.ts +4 -0
  56. package/types/enums/cart-io-apply-mode.d.ts +5 -0
  57. package/types/enums/cart-io-direction.d.ts +4 -0
  58. package/types/enums/cart-io-entity.d.ts +4 -0
  59. package/types/enums/cart-io-format.d.ts +4 -0
  60. package/types/enums/cart-item-type.d.ts +5 -0
  61. package/types/enums/channel-status.d.ts +4 -0
  62. package/types/enums/channel-type.d.ts +7 -0
  63. package/types/enums/contact-role.d.ts +6 -0
  64. package/types/enums/contact-status.d.ts +5 -0
  65. package/types/enums/location-type.d.ts +6 -0
  66. package/types/enums/market-status.d.ts +4 -0
  67. package/types/enums/order-comment-visibility.d.ts +4 -0
  68. package/types/enums/order-item-type.d.ts +5 -0
  69. package/types/enums/order-payment-status.d.ts +9 -0
  70. package/types/enums/organization-status.d.ts +4 -0
  71. package/types/enums/page-status.d.ts +5 -0
  72. package/types/enums/payment-fee-type.d.ts +5 -0
  73. package/types/enums/payment-method-kind.d.ts +4 -0
  74. package/types/enums/price-entry-type.d.ts +4 -0
  75. package/types/enums/price-list-status.d.ts +4 -0
  76. package/types/enums/shipping-method-matrix-basis.d.ts +6 -0
  77. package/types/enums/shipping-method-pricing-type.d.ts +5 -0
  78. package/types/index.d.ts +30 -0
  79. package/types/models.d.ts +5470 -404
  80. package/types/services/carts.d.ts +271 -12
  81. package/types/services/channels.d.ts +54 -2
  82. package/types/services/customers.d.ts +295 -12
  83. package/types/services/inventories.d.ts +440 -0
  84. package/types/services/markets.d.ts +123 -6
  85. package/types/services/orders.d.ts +590 -0
  86. package/types/services/pages.d.ts +792 -0
  87. package/types/services/payments.d.ts +480 -0
  88. package/types/services/prices.d.ts +384 -0
  89. package/types/services/products.d.ts +646 -32
  90. package/types/services/shipping.d.ts +351 -0
@@ -56,15 +56,15 @@ export class Storage {
56
56
 
57
57
 
58
58
  const apiPath = '/v1/storage/buckets';
59
- const payload: Payload = {};
59
+ const apiPayload: Payload = {};
60
60
  if (typeof queries !== 'undefined') {
61
- payload['queries'] = queries;
61
+ apiPayload['queries'] = queries;
62
62
  }
63
63
  if (typeof search !== 'undefined') {
64
- payload['search'] = search;
64
+ apiPayload['search'] = search;
65
65
  }
66
66
  if (typeof total !== 'undefined') {
67
- payload['total'] = total;
67
+ apiPayload['total'] = total;
68
68
  }
69
69
  const uri = new URL(this.client.config.endpoint + apiPath);
70
70
 
@@ -75,7 +75,7 @@ export class Storage {
75
75
  'get',
76
76
  uri,
77
77
  apiHeaders,
78
- payload
78
+ apiPayload
79
79
  );
80
80
  }
81
81
 
@@ -160,39 +160,39 @@ export class Storage {
160
160
  }
161
161
 
162
162
  const apiPath = '/v1/storage/buckets';
163
- const payload: Payload = {};
163
+ const apiPayload: Payload = {};
164
164
  if (typeof allowedFileExtensions !== 'undefined') {
165
- payload['allowedFileExtensions'] = allowedFileExtensions;
165
+ apiPayload['allowedFileExtensions'] = allowedFileExtensions;
166
166
  }
167
167
  if (typeof antivirus !== 'undefined') {
168
- payload['antivirus'] = antivirus;
168
+ apiPayload['antivirus'] = antivirus;
169
169
  }
170
170
  if (typeof bucketId !== 'undefined') {
171
- payload['bucketId'] = bucketId;
171
+ apiPayload['bucketId'] = bucketId;
172
172
  }
173
173
  if (typeof compression !== 'undefined') {
174
- payload['compression'] = compression;
174
+ apiPayload['compression'] = compression;
175
175
  }
176
176
  if (typeof enabled !== 'undefined') {
177
- payload['enabled'] = enabled;
177
+ apiPayload['enabled'] = enabled;
178
178
  }
179
179
  if (typeof encryption !== 'undefined') {
180
- payload['encryption'] = encryption;
180
+ apiPayload['encryption'] = encryption;
181
181
  }
182
182
  if (typeof fileSecurity !== 'undefined') {
183
- payload['fileSecurity'] = fileSecurity;
183
+ apiPayload['fileSecurity'] = fileSecurity;
184
184
  }
185
185
  if (typeof maximumFileSize !== 'undefined') {
186
- payload['maximumFileSize'] = maximumFileSize;
186
+ apiPayload['maximumFileSize'] = maximumFileSize;
187
187
  }
188
188
  if (typeof name !== 'undefined') {
189
- payload['name'] = name;
189
+ apiPayload['name'] = name;
190
190
  }
191
191
  if (typeof permissions !== 'undefined') {
192
- payload['permissions'] = permissions;
192
+ apiPayload['permissions'] = permissions;
193
193
  }
194
194
  if (typeof transformations !== 'undefined') {
195
- payload['transformations'] = transformations;
195
+ apiPayload['transformations'] = transformations;
196
196
  }
197
197
  const uri = new URL(this.client.config.endpoint + apiPath);
198
198
 
@@ -204,7 +204,7 @@ export class Storage {
204
204
  'post',
205
205
  uri,
206
206
  apiHeaders,
207
- payload
207
+ apiPayload
208
208
  );
209
209
  }
210
210
 
@@ -245,7 +245,7 @@ export class Storage {
245
245
  }
246
246
 
247
247
  const apiPath = '/v1/storage/buckets/{bucketId}'.replace('{bucketId}', bucketId);
248
- const payload: Payload = {};
248
+ const apiPayload: Payload = {};
249
249
  const uri = new URL(this.client.config.endpoint + apiPath);
250
250
 
251
251
  const apiHeaders: { [header: string]: string } = {
@@ -255,7 +255,7 @@ export class Storage {
255
255
  'delete',
256
256
  uri,
257
257
  apiHeaders,
258
- payload
258
+ apiPayload
259
259
  );
260
260
  }
261
261
 
@@ -296,7 +296,7 @@ export class Storage {
296
296
  }
297
297
 
298
298
  const apiPath = '/v1/storage/buckets/{bucketId}'.replace('{bucketId}', bucketId);
299
- const payload: Payload = {};
299
+ const apiPayload: Payload = {};
300
300
  const uri = new URL(this.client.config.endpoint + apiPath);
301
301
 
302
302
  const apiHeaders: { [header: string]: string } = {
@@ -306,7 +306,7 @@ export class Storage {
306
306
  'get',
307
307
  uri,
308
308
  apiHeaders,
309
- payload
309
+ apiPayload
310
310
  );
311
311
  }
312
312
 
@@ -391,36 +391,36 @@ export class Storage {
391
391
  }
392
392
 
393
393
  const apiPath = '/v1/storage/buckets/{bucketId}'.replace('{bucketId}', bucketId);
394
- const payload: Payload = {};
394
+ const apiPayload: Payload = {};
395
395
  if (typeof allowedFileExtensions !== 'undefined') {
396
- payload['allowedFileExtensions'] = allowedFileExtensions;
396
+ apiPayload['allowedFileExtensions'] = allowedFileExtensions;
397
397
  }
398
398
  if (typeof antivirus !== 'undefined') {
399
- payload['antivirus'] = antivirus;
399
+ apiPayload['antivirus'] = antivirus;
400
400
  }
401
401
  if (typeof compression !== 'undefined') {
402
- payload['compression'] = compression;
402
+ apiPayload['compression'] = compression;
403
403
  }
404
404
  if (typeof enabled !== 'undefined') {
405
- payload['enabled'] = enabled;
405
+ apiPayload['enabled'] = enabled;
406
406
  }
407
407
  if (typeof encryption !== 'undefined') {
408
- payload['encryption'] = encryption;
408
+ apiPayload['encryption'] = encryption;
409
409
  }
410
410
  if (typeof fileSecurity !== 'undefined') {
411
- payload['fileSecurity'] = fileSecurity;
411
+ apiPayload['fileSecurity'] = fileSecurity;
412
412
  }
413
413
  if (typeof maximumFileSize !== 'undefined') {
414
- payload['maximumFileSize'] = maximumFileSize;
414
+ apiPayload['maximumFileSize'] = maximumFileSize;
415
415
  }
416
416
  if (typeof name !== 'undefined') {
417
- payload['name'] = name;
417
+ apiPayload['name'] = name;
418
418
  }
419
419
  if (typeof permissions !== 'undefined') {
420
- payload['permissions'] = permissions;
420
+ apiPayload['permissions'] = permissions;
421
421
  }
422
422
  if (typeof transformations !== 'undefined') {
423
- payload['transformations'] = transformations;
423
+ apiPayload['transformations'] = transformations;
424
424
  }
425
425
  const uri = new URL(this.client.config.endpoint + apiPath);
426
426
 
@@ -432,7 +432,7 @@ export class Storage {
432
432
  'put',
433
433
  uri,
434
434
  apiHeaders,
435
- payload
435
+ apiPayload
436
436
  );
437
437
  }
438
438
 
@@ -486,15 +486,15 @@ export class Storage {
486
486
  }
487
487
 
488
488
  const apiPath = '/v1/storage/buckets/{bucketId}/files'.replace('{bucketId}', bucketId);
489
- const payload: Payload = {};
489
+ const apiPayload: Payload = {};
490
490
  if (typeof queries !== 'undefined') {
491
- payload['queries'] = queries;
491
+ apiPayload['queries'] = queries;
492
492
  }
493
493
  if (typeof search !== 'undefined') {
494
- payload['search'] = search;
494
+ apiPayload['search'] = search;
495
495
  }
496
496
  if (typeof total !== 'undefined') {
497
- payload['total'] = total;
497
+ apiPayload['total'] = total;
498
498
  }
499
499
  const uri = new URL(this.client.config.endpoint + apiPath);
500
500
 
@@ -505,7 +505,7 @@ export class Storage {
505
505
  'get',
506
506
  uri,
507
507
  apiHeaders,
508
- payload
508
+ apiPayload
509
509
  );
510
510
  }
511
511
 
@@ -582,15 +582,15 @@ export class Storage {
582
582
  }
583
583
 
584
584
  const apiPath = '/v1/storage/buckets/{bucketId}/files'.replace('{bucketId}', bucketId);
585
- const payload: Payload = {};
585
+ const apiPayload: Payload = {};
586
586
  if (typeof file !== 'undefined') {
587
- payload['file'] = file;
587
+ apiPayload['file'] = file;
588
588
  }
589
589
  if (typeof fileId !== 'undefined') {
590
- payload['fileId'] = fileId;
590
+ apiPayload['fileId'] = fileId;
591
591
  }
592
592
  if (typeof permissions !== 'undefined') {
593
- payload['permissions'] = permissions;
593
+ apiPayload['permissions'] = permissions;
594
594
  }
595
595
  const uri = new URL(this.client.config.endpoint + apiPath);
596
596
 
@@ -602,7 +602,7 @@ export class Storage {
602
602
  'post',
603
603
  uri,
604
604
  apiHeaders,
605
- payload,
605
+ apiPayload,
606
606
  onProgress
607
607
  );
608
608
  }
@@ -652,7 +652,7 @@ export class Storage {
652
652
  }
653
653
 
654
654
  const apiPath = '/v1/storage/buckets/{bucketId}/files/{fileId}'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
655
- const payload: Payload = {};
655
+ const apiPayload: Payload = {};
656
656
  const uri = new URL(this.client.config.endpoint + apiPath);
657
657
 
658
658
  const apiHeaders: { [header: string]: string } = {
@@ -662,7 +662,7 @@ export class Storage {
662
662
  'delete',
663
663
  uri,
664
664
  apiHeaders,
665
- payload
665
+ apiPayload
666
666
  );
667
667
  }
668
668
 
@@ -711,7 +711,7 @@ export class Storage {
711
711
  }
712
712
 
713
713
  const apiPath = '/v1/storage/buckets/{bucketId}/files/{fileId}'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
714
- const payload: Payload = {};
714
+ const apiPayload: Payload = {};
715
715
  const uri = new URL(this.client.config.endpoint + apiPath);
716
716
 
717
717
  const apiHeaders: { [header: string]: string } = {
@@ -721,7 +721,7 @@ export class Storage {
721
721
  'get',
722
722
  uri,
723
723
  apiHeaders,
724
- payload
724
+ apiPayload
725
725
  );
726
726
  }
727
727
 
@@ -778,12 +778,12 @@ export class Storage {
778
778
  }
779
779
 
780
780
  const apiPath = '/v1/storage/buckets/{bucketId}/files/{fileId}'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
781
- const payload: Payload = {};
781
+ const apiPayload: Payload = {};
782
782
  if (typeof name !== 'undefined') {
783
- payload['name'] = name;
783
+ apiPayload['name'] = name;
784
784
  }
785
785
  if (typeof permissions !== 'undefined') {
786
- payload['permissions'] = permissions;
786
+ apiPayload['permissions'] = permissions;
787
787
  }
788
788
  const uri = new URL(this.client.config.endpoint + apiPath);
789
789
 
@@ -795,7 +795,7 @@ export class Storage {
795
795
  'put',
796
796
  uri,
797
797
  apiHeaders,
798
- payload
798
+ apiPayload
799
799
  );
800
800
  }
801
801
 
@@ -848,9 +848,9 @@ export class Storage {
848
848
  }
849
849
 
850
850
  const apiPath = '/v1/storage/buckets/{bucketId}/files/{fileId}/download'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
851
- const payload: Payload = {};
851
+ const apiPayload: Payload = {};
852
852
  if (typeof token !== 'undefined') {
853
- payload['token'] = token;
853
+ apiPayload['token'] = token;
854
854
  }
855
855
  const uri = new URL(this.client.config.endpoint + apiPath);
856
856
 
@@ -861,7 +861,7 @@ export class Storage {
861
861
  'get',
862
862
  uri,
863
863
  apiHeaders,
864
- payload
864
+ apiPayload
865
865
  );
866
866
  }
867
867
 
@@ -958,42 +958,42 @@ export class Storage {
958
958
  }
959
959
 
960
960
  const apiPath = '/v1/storage/buckets/{bucketId}/files/{fileId}/preview'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
961
- const payload: Payload = {};
961
+ const apiPayload: Payload = {};
962
962
  if (typeof width !== 'undefined') {
963
- payload['width'] = width;
963
+ apiPayload['width'] = width;
964
964
  }
965
965
  if (typeof height !== 'undefined') {
966
- payload['height'] = height;
966
+ apiPayload['height'] = height;
967
967
  }
968
968
  if (typeof gravity !== 'undefined') {
969
- payload['gravity'] = gravity;
969
+ apiPayload['gravity'] = gravity;
970
970
  }
971
971
  if (typeof quality !== 'undefined') {
972
- payload['quality'] = quality;
972
+ apiPayload['quality'] = quality;
973
973
  }
974
974
  if (typeof borderWidth !== 'undefined') {
975
- payload['borderWidth'] = borderWidth;
975
+ apiPayload['borderWidth'] = borderWidth;
976
976
  }
977
977
  if (typeof borderColor !== 'undefined') {
978
- payload['borderColor'] = borderColor;
978
+ apiPayload['borderColor'] = borderColor;
979
979
  }
980
980
  if (typeof borderRadius !== 'undefined') {
981
- payload['borderRadius'] = borderRadius;
981
+ apiPayload['borderRadius'] = borderRadius;
982
982
  }
983
983
  if (typeof opacity !== 'undefined') {
984
- payload['opacity'] = opacity;
984
+ apiPayload['opacity'] = opacity;
985
985
  }
986
986
  if (typeof rotation !== 'undefined') {
987
- payload['rotation'] = rotation;
987
+ apiPayload['rotation'] = rotation;
988
988
  }
989
989
  if (typeof background !== 'undefined') {
990
- payload['background'] = background;
990
+ apiPayload['background'] = background;
991
991
  }
992
992
  if (typeof output !== 'undefined') {
993
- payload['output'] = output;
993
+ apiPayload['output'] = output;
994
994
  }
995
995
  if (typeof token !== 'undefined') {
996
- payload['token'] = token;
996
+ apiPayload['token'] = token;
997
997
  }
998
998
  const uri = new URL(this.client.config.endpoint + apiPath);
999
999
 
@@ -1004,7 +1004,7 @@ export class Storage {
1004
1004
  'get',
1005
1005
  uri,
1006
1006
  apiHeaders,
1007
- payload
1007
+ apiPayload
1008
1008
  );
1009
1009
  }
1010
1010
 
@@ -1057,9 +1057,9 @@ export class Storage {
1057
1057
  }
1058
1058
 
1059
1059
  const apiPath = '/v1/storage/buckets/{bucketId}/files/{fileId}/view'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
1060
- const payload: Payload = {};
1060
+ const apiPayload: Payload = {};
1061
1061
  if (typeof token !== 'undefined') {
1062
- payload['token'] = token;
1062
+ apiPayload['token'] = token;
1063
1063
  }
1064
1064
  const uri = new URL(this.client.config.endpoint + apiPath);
1065
1065
 
@@ -1070,7 +1070,7 @@ export class Storage {
1070
1070
  'get',
1071
1071
  uri,
1072
1072
  apiHeaders,
1073
- payload
1073
+ apiPayload
1074
1074
  );
1075
1075
  }
1076
1076
  }
@@ -63,12 +63,12 @@ export class Tokens {
63
63
  }
64
64
 
65
65
  const apiPath = '/v1/tokens/buckets/{bucketId}/files/{fileId}'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
66
- const payload: Payload = {};
66
+ const apiPayload: Payload = {};
67
67
  if (typeof queries !== 'undefined') {
68
- payload['queries'] = queries;
68
+ apiPayload['queries'] = queries;
69
69
  }
70
70
  if (typeof total !== 'undefined') {
71
- payload['total'] = total;
71
+ apiPayload['total'] = total;
72
72
  }
73
73
  const uri = new URL(this.client.config.endpoint + apiPath);
74
74
 
@@ -79,7 +79,7 @@ export class Tokens {
79
79
  'get',
80
80
  uri,
81
81
  apiHeaders,
82
- payload
82
+ apiPayload
83
83
  );
84
84
  }
85
85
 
@@ -132,9 +132,9 @@ export class Tokens {
132
132
  }
133
133
 
134
134
  const apiPath = '/v1/tokens/buckets/{bucketId}/files/{fileId}'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
135
- const payload: Payload = {};
135
+ const apiPayload: Payload = {};
136
136
  if (typeof expire !== 'undefined') {
137
- payload['expire'] = expire;
137
+ apiPayload['expire'] = expire;
138
138
  }
139
139
  const uri = new URL(this.client.config.endpoint + apiPath);
140
140
 
@@ -146,7 +146,7 @@ export class Tokens {
146
146
  'post',
147
147
  uri,
148
148
  apiHeaders,
149
- payload
149
+ apiPayload
150
150
  );
151
151
  }
152
152
 
@@ -187,7 +187,7 @@ export class Tokens {
187
187
  }
188
188
 
189
189
  const apiPath = '/v1/tokens/{tokenId}'.replace('{tokenId}', tokenId);
190
- const payload: Payload = {};
190
+ const apiPayload: Payload = {};
191
191
  const uri = new URL(this.client.config.endpoint + apiPath);
192
192
 
193
193
  const apiHeaders: { [header: string]: string } = {
@@ -197,7 +197,7 @@ export class Tokens {
197
197
  'delete',
198
198
  uri,
199
199
  apiHeaders,
200
- payload
200
+ apiPayload
201
201
  );
202
202
  }
203
203
 
@@ -238,7 +238,7 @@ export class Tokens {
238
238
  }
239
239
 
240
240
  const apiPath = '/v1/tokens/{tokenId}'.replace('{tokenId}', tokenId);
241
- const payload: Payload = {};
241
+ const apiPayload: Payload = {};
242
242
  const uri = new URL(this.client.config.endpoint + apiPath);
243
243
 
244
244
  const apiHeaders: { [header: string]: string } = {
@@ -248,7 +248,7 @@ export class Tokens {
248
248
  'get',
249
249
  uri,
250
250
  apiHeaders,
251
- payload
251
+ apiPayload
252
252
  );
253
253
  }
254
254
 
@@ -294,9 +294,9 @@ export class Tokens {
294
294
  }
295
295
 
296
296
  const apiPath = '/v1/tokens/{tokenId}'.replace('{tokenId}', tokenId);
297
- const payload: Payload = {};
297
+ const apiPayload: Payload = {};
298
298
  if (typeof expire !== 'undefined') {
299
- payload['expire'] = expire;
299
+ apiPayload['expire'] = expire;
300
300
  }
301
301
  const uri = new URL(this.client.config.endpoint + apiPath);
302
302
 
@@ -308,7 +308,7 @@ export class Tokens {
308
308
  'patch',
309
309
  uri,
310
310
  apiHeaders,
311
- payload
311
+ apiPayload
312
312
  );
313
313
  }
314
314
  }
@@ -0,0 +1,4 @@
1
+ export declare enum AddressType {
2
+ Billing = "billing",
3
+ Shipping = "shipping"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum CartExportFormat {
2
+ Json = "json",
3
+ Csv = "csv"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum CartIoApplyMode {
2
+ Insert = "insert",
3
+ Append = "append",
4
+ Replace = "replace"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum CartIoDirection {
2
+ Import = "import",
3
+ Export = "export"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum CartIoEntity {
2
+ Carts = "carts",
3
+ CartItems = "cart_items"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum CartIoFormat {
2
+ Json = "json",
3
+ Csv = "csv"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum CartItemType {
2
+ Product = "product",
3
+ Configuration = "configuration",
4
+ Custom = "custom"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum ChannelStatus {
2
+ Active = "active",
3
+ Inactive = "inactive"
4
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum ChannelType {
2
+ Storefront = "storefront",
3
+ Punchout = "punchout",
4
+ Marketplace = "marketplace",
5
+ Api = "api",
6
+ Pos = "pos"
7
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum ContactRole {
2
+ Buyer = "buyer",
3
+ Approver = "approver",
4
+ Admin = "admin",
5
+ Requester = "requester"
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ContactStatus {
2
+ Invited = "invited",
3
+ Active = "active",
4
+ Blocked = "blocked"
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum LocationType {
2
+ Warehouse = "warehouse",
3
+ Store = "store",
4
+ Dropship = "dropship",
5
+ Virtual = "virtual"
6
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum MarketStatus {
2
+ Active = "active",
3
+ Inactive = "inactive"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum OrderCommentVisibility {
2
+ Internal = "internal",
3
+ Customer = "customer"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum OrderItemType {
2
+ Product = "product",
3
+ Configuration = "configuration",
4
+ Custom = "custom"
5
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum OrderPaymentStatus {
2
+ Open = "open",
3
+ Pending = "pending",
4
+ Authorized = "authorized",
5
+ Paid = "paid",
6
+ PartiallyPaid = "partially_paid",
7
+ Refunded = "refunded",
8
+ Failed = "failed"
9
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum OrganizationStatus {
2
+ Active = "active",
3
+ Blocked = "blocked"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum PageStatus {
2
+ Draft = "draft",
3
+ Published = "published",
4
+ Archived = "archived"
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum PaymentFeeType {
2
+ None = "none",
3
+ Fixed = "fixed",
4
+ Percent = "percent"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PaymentMethodKind {
2
+ SelfManaged = "self_managed",
3
+ Psp = "psp"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PriceEntryType {
2
+ Standard = "standard",
3
+ OnRequest = "on_request"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PriceListStatus {
2
+ Active = "active",
3
+ Inactive = "inactive"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum ShippingMethodMatrixBasis {
2
+ Weight = "weight",
3
+ Quantity = "quantity",
4
+ OrderValue = "order_value",
5
+ Attribute = "attribute"
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ShippingMethodPricingType {
2
+ Fixed = "fixed",
3
+ Free = "free",
4
+ Matrix = "matrix"
5
+ }