@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.
Files changed (99) hide show
  1. package/dist/cjs/sdk.js +13491 -6163
  2. package/dist/cjs/sdk.js.map +1 -1
  3. package/dist/esm/sdk.js +13464 -6162
  4. package/dist/esm/sdk.js.map +1 -1
  5. package/dist/iife/sdk.js +13491 -6163
  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-list-kind.ts +4 -0
  24. package/src/enums/order-payment-status.ts +9 -0
  25. package/src/enums/organization-status.ts +4 -0
  26. package/src/enums/page-status.ts +5 -0
  27. package/src/enums/payment-fee-type.ts +5 -0
  28. package/src/enums/payment-method-kind.ts +4 -0
  29. package/src/enums/price-entry-type.ts +4 -0
  30. package/src/enums/price-list-status.ts +4 -0
  31. package/src/enums/shipping-method-matrix-basis.ts +6 -0
  32. package/src/enums/shipping-method-pricing-type.ts +5 -0
  33. package/src/enums/store-asset-request-visibility.ts +4 -0
  34. package/src/enums/visibility.ts +4 -0
  35. package/src/index.ts +28 -2
  36. package/src/models.ts +5309 -1009
  37. package/src/services/apps.ts +154 -154
  38. package/src/services/avatars.ts +57 -57
  39. package/src/services/carts.ts +739 -104
  40. package/src/services/channels.ts +147 -19
  41. package/src/services/customers.ts +809 -69
  42. package/src/services/greetings.ts +18 -18
  43. package/src/services/inventories.ts +620 -65
  44. package/src/services/locale.ts +16 -16
  45. package/src/services/markets.ts +690 -75
  46. package/src/services/messaging.ts +273 -273
  47. package/src/services/orderlists.ts +889 -0
  48. package/src/services/orders.ts +692 -137
  49. package/src/services/pages.ts +661 -155
  50. package/src/services/payments.ts +591 -64
  51. package/src/services/prices.ts +585 -59
  52. package/src/services/products.ts +1908 -272
  53. package/src/services/search.ts +24 -24
  54. package/src/services/shipping.ts +451 -59
  55. package/src/services/sites.ts +116 -116
  56. package/src/services/storage.ts +933 -599
  57. package/src/services/tokens.ts +14 -14
  58. package/types/enums/address-type.d.ts +4 -0
  59. package/types/enums/cart-export-format.d.ts +4 -0
  60. package/types/enums/cart-io-apply-mode.d.ts +5 -0
  61. package/types/enums/cart-io-direction.d.ts +4 -0
  62. package/types/enums/cart-io-entity.d.ts +4 -0
  63. package/types/enums/cart-io-format.d.ts +4 -0
  64. package/types/enums/cart-item-type.d.ts +5 -0
  65. package/types/enums/channel-status.d.ts +4 -0
  66. package/types/enums/channel-type.d.ts +7 -0
  67. package/types/enums/contact-role.d.ts +6 -0
  68. package/types/enums/contact-status.d.ts +5 -0
  69. package/types/enums/location-type.d.ts +6 -0
  70. package/types/enums/market-status.d.ts +4 -0
  71. package/types/enums/order-comment-visibility.d.ts +4 -0
  72. package/types/enums/order-item-type.d.ts +5 -0
  73. package/types/enums/order-list-kind.d.ts +4 -0
  74. package/types/enums/order-payment-status.d.ts +9 -0
  75. package/types/enums/organization-status.d.ts +4 -0
  76. package/types/enums/page-status.d.ts +5 -0
  77. package/types/enums/payment-fee-type.d.ts +5 -0
  78. package/types/enums/payment-method-kind.d.ts +4 -0
  79. package/types/enums/price-entry-type.d.ts +4 -0
  80. package/types/enums/price-list-status.d.ts +4 -0
  81. package/types/enums/shipping-method-matrix-basis.d.ts +6 -0
  82. package/types/enums/shipping-method-pricing-type.d.ts +5 -0
  83. package/types/enums/store-asset-request-visibility.d.ts +4 -0
  84. package/types/enums/visibility.d.ts +4 -0
  85. package/types/index.d.ts +28 -2
  86. package/types/models.d.ts +5170 -1010
  87. package/types/services/carts.d.ts +271 -12
  88. package/types/services/channels.d.ts +54 -2
  89. package/types/services/customers.d.ts +298 -12
  90. package/types/services/inventories.d.ts +225 -11
  91. package/types/services/markets.d.ts +235 -6
  92. package/types/services/orderlists.d.ts +324 -0
  93. package/types/services/orders.d.ts +238 -16
  94. package/types/services/pages.d.ts +190 -6
  95. package/types/services/payments.d.ts +221 -7
  96. package/types/services/prices.d.ts +218 -6
  97. package/types/services/products.d.ts +672 -32
  98. package/types/services/shipping.d.ts +168 -6
  99. package/types/services/storage.d.ts +353 -285
@@ -21,7 +21,7 @@ export class Locale {
21
21
  localeGet(): Promise<Models.Locale> {
22
22
 
23
23
  const apiPath = '/v1/locale';
24
- const payload: Payload = {};
24
+ const apiPayload: Payload = {};
25
25
  const uri = new URL(this.client.config.endpoint + apiPath);
26
26
 
27
27
  const apiHeaders: { [header: string]: string } = {
@@ -31,7 +31,7 @@ export class Locale {
31
31
  'get',
32
32
  uri,
33
33
  apiHeaders,
34
- payload
34
+ apiPayload
35
35
  );
36
36
  }
37
37
 
@@ -44,7 +44,7 @@ export class Locale {
44
44
  localeListCodes(): Promise<Models.LocaleCodeList> {
45
45
 
46
46
  const apiPath = '/v1/locale/codes';
47
- const payload: Payload = {};
47
+ const apiPayload: Payload = {};
48
48
  const uri = new URL(this.client.config.endpoint + apiPath);
49
49
 
50
50
  const apiHeaders: { [header: string]: string } = {
@@ -54,7 +54,7 @@ export class Locale {
54
54
  'get',
55
55
  uri,
56
56
  apiHeaders,
57
- payload
57
+ apiPayload
58
58
  );
59
59
  }
60
60
 
@@ -67,7 +67,7 @@ export class Locale {
67
67
  localeListContinents(): Promise<Models.ContinentList> {
68
68
 
69
69
  const apiPath = '/v1/locale/continents';
70
- const payload: Payload = {};
70
+ const apiPayload: Payload = {};
71
71
  const uri = new URL(this.client.config.endpoint + apiPath);
72
72
 
73
73
  const apiHeaders: { [header: string]: string } = {
@@ -77,7 +77,7 @@ export class Locale {
77
77
  'get',
78
78
  uri,
79
79
  apiHeaders,
80
- payload
80
+ apiPayload
81
81
  );
82
82
  }
83
83
 
@@ -90,7 +90,7 @@ export class Locale {
90
90
  localeListCountries(): Promise<Models.CountryList> {
91
91
 
92
92
  const apiPath = '/v1/locale/countries';
93
- const payload: Payload = {};
93
+ const apiPayload: Payload = {};
94
94
  const uri = new URL(this.client.config.endpoint + apiPath);
95
95
 
96
96
  const apiHeaders: { [header: string]: string } = {
@@ -100,7 +100,7 @@ export class Locale {
100
100
  'get',
101
101
  uri,
102
102
  apiHeaders,
103
- payload
103
+ apiPayload
104
104
  );
105
105
  }
106
106
 
@@ -113,7 +113,7 @@ export class Locale {
113
113
  localeListCountriesEU(): Promise<Models.CountryList> {
114
114
 
115
115
  const apiPath = '/v1/locale/countries/eu';
116
- const payload: Payload = {};
116
+ const apiPayload: Payload = {};
117
117
  const uri = new URL(this.client.config.endpoint + apiPath);
118
118
 
119
119
  const apiHeaders: { [header: string]: string } = {
@@ -123,7 +123,7 @@ export class Locale {
123
123
  'get',
124
124
  uri,
125
125
  apiHeaders,
126
- payload
126
+ apiPayload
127
127
  );
128
128
  }
129
129
 
@@ -136,7 +136,7 @@ export class Locale {
136
136
  localeListCountriesPhones(): Promise<Models.PhoneList> {
137
137
 
138
138
  const apiPath = '/v1/locale/countries/phones';
139
- const payload: Payload = {};
139
+ const apiPayload: Payload = {};
140
140
  const uri = new URL(this.client.config.endpoint + apiPath);
141
141
 
142
142
  const apiHeaders: { [header: string]: string } = {
@@ -146,7 +146,7 @@ export class Locale {
146
146
  'get',
147
147
  uri,
148
148
  apiHeaders,
149
- payload
149
+ apiPayload
150
150
  );
151
151
  }
152
152
 
@@ -159,7 +159,7 @@ export class Locale {
159
159
  localeListCurrencies(): Promise<Models.CurrencyList> {
160
160
 
161
161
  const apiPath = '/v1/locale/currencies';
162
- const payload: Payload = {};
162
+ const apiPayload: Payload = {};
163
163
  const uri = new URL(this.client.config.endpoint + apiPath);
164
164
 
165
165
  const apiHeaders: { [header: string]: string } = {
@@ -169,7 +169,7 @@ export class Locale {
169
169
  'get',
170
170
  uri,
171
171
  apiHeaders,
172
- payload
172
+ apiPayload
173
173
  );
174
174
  }
175
175
 
@@ -182,7 +182,7 @@ export class Locale {
182
182
  localeListLanguages(): Promise<Models.LanguageList> {
183
183
 
184
184
  const apiPath = '/v1/locale/languages';
185
- const payload: Payload = {};
185
+ const apiPayload: Payload = {};
186
186
  const uri = new URL(this.client.config.endpoint + apiPath);
187
187
 
188
188
  const apiHeaders: { [header: string]: string } = {
@@ -192,7 +192,7 @@ export class Locale {
192
192
  'get',
193
193
  uri,
194
194
  apiHeaders,
195
- payload
195
+ apiPayload
196
196
  );
197
197
  }
198
198
  }