@wix/auto_sdk_ecom_delivery-profile 1.0.43 → 1.0.45

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 (134) hide show
  1. package/build/{cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.mts} +371 -136
  2. package/build/{internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.ts} +371 -136
  3. package/build/index.d.mts +176 -0
  4. package/build/index.d.ts +176 -0
  5. package/build/index.js +1260 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1213 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.mts} +371 -136
  10. package/build/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → internal/ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.ts} +371 -136
  11. package/build/internal/index.d.mts +176 -0
  12. package/build/internal/index.d.ts +176 -0
  13. package/build/internal/index.js +1260 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1213 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +733 -0
  18. package/build/internal/meta.d.ts +733 -0
  19. package/build/internal/meta.js +855 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +813 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +733 -0
  24. package/build/meta.d.ts +733 -0
  25. package/build/meta.js +855 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +813 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  40. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -31
  41. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  42. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  43. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -567
  44. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  45. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  46. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -344
  47. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  48. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  49. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -111
  50. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  51. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -142
  52. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  53. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  54. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -967
  55. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  67. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -20
  68. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  69. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  70. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -548
  71. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  72. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  73. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -302
  74. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  75. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  76. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -84
  77. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  78. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -139
  79. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  80. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  81. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -925
  82. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  93. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -31
  94. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  95. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  96. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -567
  97. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  98. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  99. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -344
  100. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  101. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  102. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -111
  103. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  104. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -142
  105. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  106. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  107. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -967
  108. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  119. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -20
  120. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  121. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  122. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -548
  123. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  124. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  125. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -302
  126. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  127. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  128. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -84
  129. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  130. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -139
  131. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  132. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  133. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -925
  134. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
@@ -1,302 +0,0 @@
1
- import * as ambassadorWixEcomV1DeliveryProfile from './ecom-v1-delivery-profile-delivery-profile.http.js';
2
- export function createDeliveryProfile() {
3
- const payload = {};
4
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.createDeliveryProfile(payload);
5
- const getUrl = (context) => {
6
- const { url } = getRequestOptions(context);
7
- return url;
8
- };
9
- return {
10
- getUrl,
11
- httpMethod: 'POST',
12
- path: '/v1/delivery-profiles',
13
- pathParams: {},
14
- __requestType: null,
15
- __originalRequestType: null,
16
- __responseType: null,
17
- __originalResponseType: null,
18
- };
19
- }
20
- export function getDeliveryProfile() {
21
- const payload = { deliveryProfileId: ':deliveryProfileId' };
22
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.getDeliveryProfile(payload);
23
- const getUrl = (context) => {
24
- const { url } = getRequestOptions(context);
25
- return url;
26
- };
27
- return {
28
- getUrl,
29
- httpMethod: 'GET',
30
- path: '/v1/delivery-profiles/{deliveryProfileId}',
31
- pathParams: { deliveryProfileId: 'deliveryProfileId' },
32
- __requestType: null,
33
- __originalRequestType: null,
34
- __responseType: null,
35
- __originalResponseType: null,
36
- };
37
- }
38
- export function updateDeliveryProfile() {
39
- const payload = { deliveryProfile: { id: ':deliveryProfileId' } };
40
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.updateDeliveryProfile(payload);
41
- const getUrl = (context) => {
42
- const { url } = getRequestOptions(context);
43
- return url;
44
- };
45
- return {
46
- getUrl,
47
- httpMethod: 'PATCH',
48
- path: '/v1/delivery-profiles/{deliveryProfile.id}',
49
- pathParams: { deliveryProfileId: 'deliveryProfileId' },
50
- __requestType: null,
51
- __originalRequestType: null,
52
- __responseType: null,
53
- __originalResponseType: null,
54
- };
55
- }
56
- export function deleteDeliveryProfile() {
57
- const payload = { deliveryProfileId: ':deliveryProfileId' };
58
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.deleteDeliveryProfile(payload);
59
- const getUrl = (context) => {
60
- const { url } = getRequestOptions(context);
61
- return url;
62
- };
63
- return {
64
- getUrl,
65
- httpMethod: 'DELETE',
66
- path: '/v1/delivery-profiles/{deliveryProfileId}',
67
- pathParams: { deliveryProfileId: 'deliveryProfileId' },
68
- __requestType: null,
69
- __originalRequestType: null,
70
- __responseType: null,
71
- __originalResponseType: null,
72
- };
73
- }
74
- export function queryDeliveryProfiles() {
75
- const payload = {};
76
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.queryDeliveryProfiles(payload);
77
- const getUrl = (context) => {
78
- const { url } = getRequestOptions(context);
79
- return url;
80
- };
81
- return {
82
- getUrl,
83
- httpMethod: 'GET',
84
- path: '/v1/delivery-profiles/query',
85
- pathParams: {},
86
- __requestType: null,
87
- __originalRequestType: null,
88
- __responseType: null,
89
- __originalResponseType: null,
90
- };
91
- }
92
- export function addDeliveryRegion() {
93
- const payload = { deliveryProfileId: ':deliveryProfileId' };
94
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.addDeliveryRegion(payload);
95
- const getUrl = (context) => {
96
- const { url } = getRequestOptions(context);
97
- return url;
98
- };
99
- return {
100
- getUrl,
101
- httpMethod: 'POST',
102
- path: '/v1/delivery-profiles/{deliveryProfileId}/delivery-region',
103
- pathParams: { deliveryProfileId: 'deliveryProfileId' },
104
- __requestType: null,
105
- __originalRequestType: null,
106
- __responseType: null,
107
- __originalResponseType: null,
108
- };
109
- }
110
- export function updateDeliveryRegion() {
111
- const payload = {
112
- deliveryProfileId: ':deliveryProfileId',
113
- deliveryRegion: { id: ':deliveryRegionId' },
114
- };
115
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.updateDeliveryRegion(payload);
116
- const getUrl = (context) => {
117
- const { url } = getRequestOptions(context);
118
- return url;
119
- };
120
- return {
121
- getUrl,
122
- httpMethod: 'PATCH',
123
- path: '/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.id}',
124
- pathParams: {
125
- deliveryProfileId: 'deliveryProfileId',
126
- deliveryRegionId: 'deliveryRegionId',
127
- },
128
- __requestType: null,
129
- __originalRequestType: null,
130
- __responseType: null,
131
- __originalResponseType: null,
132
- };
133
- }
134
- export function removeDeliveryRegion() {
135
- const payload = {
136
- deliveryProfileId: ':deliveryProfileId',
137
- deliveryRegionId: ':deliveryRegionId',
138
- };
139
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.removeDeliveryRegion(payload);
140
- const getUrl = (context) => {
141
- const { url } = getRequestOptions(context);
142
- return url;
143
- };
144
- return {
145
- getUrl,
146
- httpMethod: 'DELETE',
147
- path: '/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}',
148
- pathParams: {
149
- deliveryProfileId: 'deliveryProfileId',
150
- deliveryRegionId: 'deliveryRegionId',
151
- },
152
- __requestType: null,
153
- __originalRequestType: null,
154
- __responseType: null,
155
- __originalResponseType: null,
156
- };
157
- }
158
- export function addDeliveryCarrier() {
159
- const payload = {};
160
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.addDeliveryCarrier(payload);
161
- const getUrl = (context) => {
162
- const { url } = getRequestOptions(context);
163
- return url;
164
- };
165
- return {
166
- getUrl,
167
- httpMethod: 'POST',
168
- path: '/v1/delivery-profiles/add-delivery-carrier',
169
- pathParams: {},
170
- __requestType: null,
171
- __originalRequestType: null,
172
- __responseType: null,
173
- __originalResponseType: null,
174
- };
175
- }
176
- export function removeDeliveryCarrier() {
177
- const payload = {};
178
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.removeDeliveryCarrier(payload);
179
- const getUrl = (context) => {
180
- const { url } = getRequestOptions(context);
181
- return url;
182
- };
183
- return {
184
- getUrl,
185
- httpMethod: 'POST',
186
- path: '/v1/delivery-profiles/remove-delivery-carrier',
187
- pathParams: {},
188
- __requestType: null,
189
- __originalRequestType: null,
190
- __responseType: null,
191
- __originalResponseType: null,
192
- };
193
- }
194
- export function updateDeliveryCarrier() {
195
- const payload = {};
196
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.updateDeliveryCarrier(payload);
197
- const getUrl = (context) => {
198
- const { url } = getRequestOptions(context);
199
- return url;
200
- };
201
- return {
202
- getUrl,
203
- httpMethod: 'PATCH',
204
- path: '/v1/delivery-profiles/update-delivery-carrier',
205
- pathParams: {},
206
- __requestType: null,
207
- __originalRequestType: null,
208
- __responseType: null,
209
- __originalResponseType: null,
210
- };
211
- }
212
- export function listDeliveryCarrierDetails() {
213
- const payload = {};
214
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.listDeliveryCarrierDetails(payload);
215
- const getUrl = (context) => {
216
- const { url } = getRequestOptions(context);
217
- return url;
218
- };
219
- return {
220
- getUrl,
221
- httpMethod: 'GET',
222
- path: '/v1/delivery-carriers',
223
- pathParams: {},
224
- __requestType: null,
225
- __originalRequestType: null,
226
- __responseType: null,
227
- __originalResponseType: null,
228
- };
229
- }
230
- export function listInstalledDeliveryCarriers() {
231
- const payload = {};
232
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.listInstalledDeliveryCarriers(payload);
233
- const getUrl = (context) => {
234
- const { url } = getRequestOptions(context);
235
- return url;
236
- };
237
- return {
238
- getUrl,
239
- httpMethod: 'GET',
240
- path: '/v1/delivery-profiles/installed-carriers',
241
- pathParams: {},
242
- __requestType: null,
243
- __originalRequestType: null,
244
- __responseType: null,
245
- __originalResponseType: null,
246
- };
247
- }
248
- export function listDeliveryCarriers() {
249
- const payload = { deliveryProfileId: ':deliveryProfileId' };
250
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.listDeliveryCarriers(payload);
251
- const getUrl = (context) => {
252
- const { url } = getRequestOptions(context);
253
- return url;
254
- };
255
- return {
256
- getUrl,
257
- httpMethod: 'POST',
258
- path: '/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers',
259
- pathParams: { deliveryProfileId: 'deliveryProfileId' },
260
- __requestType: null,
261
- __originalRequestType: null,
262
- __responseType: null,
263
- __originalResponseType: null,
264
- };
265
- }
266
- export function updateCarrierSettings() {
267
- const payload = {};
268
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.updateCarrierSettings(payload);
269
- const getUrl = (context) => {
270
- const { url } = getRequestOptions(context);
271
- return url;
272
- };
273
- return {
274
- getUrl,
275
- httpMethod: 'POST',
276
- path: '/v1/delivery-carriers/update-settings',
277
- pathParams: {},
278
- __requestType: null,
279
- __originalRequestType: null,
280
- __responseType: null,
281
- __originalResponseType: null,
282
- };
283
- }
284
- export function updateExtendedFields() {
285
- const payload = { id: ':id' };
286
- const getRequestOptions = ambassadorWixEcomV1DeliveryProfile.updateExtendedFields(payload);
287
- const getUrl = (context) => {
288
- const { url } = getRequestOptions(context);
289
- return url;
290
- };
291
- return {
292
- getUrl,
293
- httpMethod: 'POST',
294
- path: '/v1/delivery-profiles/{id}/update-extended-fields',
295
- pathParams: { id: 'id' },
296
- __requestType: null,
297
- __originalRequestType: null,
298
- __responseType: null,
299
- __originalResponseType: null,
300
- };
301
- }
302
- //# sourceMappingURL=ecom-v1-delivery-profile-delivery-profile.meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ecom-v1-delivery-profile-delivery-profile.meta.js","sourceRoot":"","sources":["../../../src/ecom-v1-delivery-profile-delivery-profile.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kCAAkC,MAAM,qDAAqD,CAAC;AAsB1G,MAAM,UAAU,qBAAqB;IAQnC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,kCAAkC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAEpE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,uBAAuB;QAC7B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB;IAQhC,MAAM,OAAO,GAAG,EAAE,iBAAiB,EAAE,oBAAoB,EAAS,CAAC;IAEnE,MAAM,iBAAiB,GACrB,kCAAkC,CAAC,k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,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,uCAAuC;QAC7C,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oBAAoB;IAQlC,MAAM,OAAO,GAAG,EAAE,EAAE,EAAE,KAAK,EAAS,CAAC;IAErC,MAAM,iBAAiB,GACrB,kCAAkC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEnE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,mDAAmD;QACzD,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE;QACxB,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
@@ -1,159 +0,0 @@
1
- import { HttpClient } from '@wix/sdk-types';
2
- import { AddDeliveryCarrierOptions, AddDeliveryCarrierResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, DeliveryProfile, DeliveryProfilesQueryBuilder, DeliveryRegion, ListDeliveryCarrierDetailsResponse, ListDeliveryCarriersOptions, ListDeliveryCarriersResponse, ListInstalledDeliveryCarriersResponse, RemoveDeliveryCarrierOptions, RemoveDeliveryCarrierResponse, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, UpdateCarrierSettingsOptions, UpdateDeliveryCarrierOptions, UpdateDeliveryCarrierResponse, UpdateDeliveryProfile, UpdateDeliveryRegion, UpdateDeliveryRegionIdentifiers, UpdateDeliveryRegionOptions, UpdateDeliveryRegionResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse } from './ecom-v1-delivery-profile-delivery-profile.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function createDeliveryProfile(httpClient: HttpClient): CreateDeliveryProfileSignature;
7
- interface CreateDeliveryProfileSignature {
8
- /**
9
- * Creates a DeliveryProfile.
10
- *
11
- * The request body must include the DeliveryProfiles name. DeliveryRegions are optional.
12
- * @param - DeliveryProfile to be created.
13
- * @returns The created DeliveryProfile.
14
- */
15
- (deliveryProfile: DeliveryProfile): Promise<DeliveryProfile>;
16
- }
17
- export declare function getDeliveryProfile(httpClient: HttpClient): GetDeliveryProfileSignature;
18
- interface GetDeliveryProfileSignature {
19
- /**
20
- * Retrieves a DeliveryProfile.
21
- * @param - ID of the DeliveryProfile to retrieve.
22
- * @returns The requested DeliveryProfile.
23
- */
24
- (deliveryProfileId: string): Promise<DeliveryProfile>;
25
- }
26
- export declare function updateDeliveryProfile(httpClient: HttpClient): UpdateDeliveryProfileSignature;
27
- interface UpdateDeliveryProfileSignature {
28
- /**
29
- * Updates a DeliveryProfile.
30
- *
31
- *
32
- * Each time the DeliveryProfile is updated,
33
- * `revision` increments by 1.
34
- * The current `revision` must be passed when updating the DeliveryProfile.
35
- * This ensures you're working with the latest DeliveryProfile
36
- * and prevents unintended overwrites.
37
- *
38
- * This method does not allow updating the DeliveryRegions in this DeliveryProfile.
39
- * Use AddDeliveryRegion, UpdateDeliveryRegion and RemoveDeliveryRegion for these functionalities.
40
- * @param - DeliveryProfile ID.
41
- * @returns Updated DeliveryProfile.
42
- */
43
- (_id: string, deliveryProfile: UpdateDeliveryProfile): Promise<DeliveryProfile>;
44
- }
45
- export declare function deleteDeliveryProfile(httpClient: HttpClient): DeleteDeliveryProfileSignature;
46
- interface DeleteDeliveryProfileSignature {
47
- /**
48
- * Deletes a DeliveryProfile.
49
- *
50
- * Deleting a DeliveryProfile permanently removes them from the DeliveryProfile List.
51
- * @param - Id of the DeliveryProfile to delete.
52
- */
53
- (deliveryProfileId: string): Promise<void>;
54
- }
55
- export declare function queryDeliveryProfiles(httpClient: HttpClient): QueryDeliveryProfilesSignature;
56
- interface QueryDeliveryProfilesSignature {
57
- /**
58
- * Retrieves a list of DeliveryProfiles, given the provided [paging, filtering, and sorting][1].
59
- *
60
- * Up to 1,000 DeliveryProfiles can be returned per request.
61
- *
62
- * To learn how to query DeliveryProfiles, see [API Query Language][2].
63
- *
64
- * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
65
- * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
66
- */
67
- (): DeliveryProfilesQueryBuilder;
68
- }
69
- export declare function addDeliveryRegion(httpClient: HttpClient): AddDeliveryRegionSignature;
70
- interface AddDeliveryRegionSignature {
71
- /**
72
- * Creates a new DeliveryRegion in an existing DeliveryProfile.
73
- * @param - delivery profile id to associated with the DeliveryRegion
74
- * @param - DeliveryRegion to be created
75
- */
76
- (deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions | undefined): Promise<AddDeliveryRegionResponse>;
77
- }
78
- export declare function updateDeliveryRegion(httpClient: HttpClient): UpdateDeliveryRegionSignature;
79
- interface UpdateDeliveryRegionSignature {
80
- /**
81
- * Update a DeliveryRegion, supports partial update
82
- * Pass the latest `revision` for a successful update
83
- *
84
- * This method does not allow setting or updating the delivery delivery_carriers in this delivery_region.
85
- * Use AddDeliveryCarrier, UpdateDeliveryCarrier and RemoveDeliveryCarrier for these functionalities.
86
- */
87
- (identifiers: UpdateDeliveryRegionIdentifiers, deliveryRegion: UpdateDeliveryRegion, options?: UpdateDeliveryRegionOptions | undefined): Promise<UpdateDeliveryRegionResponse>;
88
- }
89
- export declare function removeDeliveryRegion(httpClient: HttpClient): RemoveDeliveryRegionSignature;
90
- interface RemoveDeliveryRegionSignature {
91
- /**
92
- * Delete a DeliveryRegion
93
- */
94
- (identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions | undefined): Promise<RemoveDeliveryRegionResponse>;
95
- }
96
- export declare function addDeliveryCarrier(httpClient: HttpClient): AddDeliveryCarrierSignature;
97
- interface AddDeliveryCarrierSignature {
98
- /**
99
- * Add a delivery_carrier to a delivery region
100
- * @param - delivery_region id to associated with the delivery_carrier.
101
- */
102
- (deliveryRegionId: string, options: AddDeliveryCarrierOptions): Promise<AddDeliveryCarrierResponse>;
103
- }
104
- export declare function removeDeliveryCarrier(httpClient: HttpClient): RemoveDeliveryCarrierSignature;
105
- interface RemoveDeliveryCarrierSignature {
106
- /**
107
- * Remove a delivery_carrier from a delivery region
108
- * @param - Id of the DeliveryRegion
109
- */
110
- (deliveryRegionId: string, options: RemoveDeliveryCarrierOptions): Promise<RemoveDeliveryCarrierResponse>;
111
- }
112
- export declare function updateDeliveryCarrier(httpClient: HttpClient): UpdateDeliveryCarrierSignature;
113
- interface UpdateDeliveryCarrierSignature {
114
- /**
115
- * Update a delivery carrier in a delivery region
116
- * @param - DeliveryRegion id
117
- */
118
- (deliveryRegionId: string, options?: UpdateDeliveryCarrierOptions | undefined): Promise<UpdateDeliveryCarrierResponse>;
119
- }
120
- export declare function listDeliveryCarrierDetails(httpClient: HttpClient): ListDeliveryCarrierDetailsSignature;
121
- interface ListDeliveryCarrierDetailsSignature {
122
- /**
123
- * List all installed delivery carriers in order to set their ids in delivery rules
124
- * @deprecated
125
- */
126
- (): Promise<ListDeliveryCarrierDetailsResponse>;
127
- }
128
- export declare function listInstalledDeliveryCarriers(httpClient: HttpClient): ListInstalledDeliveryCarriersSignature;
129
- interface ListInstalledDeliveryCarriersSignature {
130
- /** */
131
- (): Promise<ListInstalledDeliveryCarriersResponse>;
132
- }
133
- export declare function listDeliveryCarriers(httpClient: HttpClient): ListDeliveryCarriersSignature;
134
- interface ListDeliveryCarriersSignature {
135
- /**
136
- * Get delivery carrier settings for a delivery profile and delivery region.
137
- * These are returned in a table format for the dashboard.
138
- * @param - Delivery profile id.
139
- */
140
- (deliveryProfileId: string, options?: ListDeliveryCarriersOptions | undefined): Promise<ListDeliveryCarriersResponse>;
141
- }
142
- export declare function updateCarrierSettings(httpClient: HttpClient): UpdateCarrierSettingsSignature;
143
- interface UpdateCarrierSettingsSignature {
144
- /**
145
- * Update carrier's external active settings
146
- * @param - Carrier id.
147
- */
148
- (carrierId: string, options: UpdateCarrierSettingsOptions): Promise<void>;
149
- }
150
- export declare function updateExtendedFields(httpClient: HttpClient): UpdateExtendedFieldsSignature;
151
- interface UpdateExtendedFieldsSignature {
152
- /**
153
- * Updates extended fields of a DeliveryProfile without incrementing revision
154
- * @param - ID of the entity to update.
155
- * @param - Identifier for the app whose extended fields are being updated.
156
- */
157
- (_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse>;
158
- }
159
- export { ActionEvent, AddDeliveryCarrierOptions, AddDeliveryCarrierRequest, AddDeliveryCarrierResponse, AddDeliveryRegionOptions, AddDeliveryRegionRequest, AddDeliveryRegionResponse, AdditionalCharge, ApplicationError, Asset, BackupRate, BulkActionMetadata, ChargeType, Column, CreateDeliveryProfileRequest, CreateDeliveryProfileResponse, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DashboardTable, DeleteContext, DeleteDefaultDeliveryProfileRequest, DeleteDefaultDeliveryProfileResponse, DeleteDeliveryProfileRequest, DeleteDeliveryProfileResponse, DeleteStatus, DeliveryCarrier, DeliveryCarrierDetails, DeliveryCarrierRegionalSettings, DeliveryProfile, DeliveryProfilesQueryBuilder, DeliveryProfilesQueryResult, DeliveryRegion, DeliveryRegionAdded, DeliveryRegionRemoved, DeliveryRegionUpdated, Destination, DestinationScope, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetDeliveryProfileRequest, GetDeliveryProfileResponse, IdentificationData, IdentificationDataIdOneOf, InstalledDeliveryCarrier, ItemMetadata, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsResponse, ListDeliveryCarriersOptions, ListDeliveryCarriersRequest, ListDeliveryCarriersResponse, ListDeliveryCarriersResult, ListDeliveryDestinationsRequest, ListDeliveryDestinationsResponse, ListInstalledDeliveryCarriersRequest, ListInstalledDeliveryCarriersResponse, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, QueryDeliveryProfilesRequest, QueryDeliveryProfilesResponse, RemoveDeliveryCarrierOptions, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierResponse, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionRequest, RemoveDeliveryRegionResponse, RequiredZipcodeRequest, RequiredZipcodeResponse, RestoreInfo, Row, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, State, StudioAssigned, StudioUnassigned, UpdateCarrierSettingsOptions, UpdateCarrierSettingsRequest, UpdateCarrierSettingsResponse, UpdateDeliveryCarrierOptions, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierResponse, UpdateDeliveryProfile, UpdateDeliveryProfileRequest, UpdateDeliveryProfileResponse, UpdateDeliveryRegion, UpdateDeliveryRegionIdentifiers, UpdateDeliveryRegionOptions, UpdateDeliveryRegionRequest, UpdateDeliveryRegionResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, WebhookIdentityType, } from './ecom-v1-delivery-profile-delivery-profile.universal.js';
@@ -1,84 +0,0 @@
1
- import { addDeliveryCarrier as universalAddDeliveryCarrier, addDeliveryRegion as universalAddDeliveryRegion, createDeliveryProfile as universalCreateDeliveryProfile, deleteDeliveryProfile as universalDeleteDeliveryProfile, getDeliveryProfile as universalGetDeliveryProfile, listDeliveryCarrierDetails as universalListDeliveryCarrierDetails, listDeliveryCarriers as universalListDeliveryCarriers, listInstalledDeliveryCarriers as universalListInstalledDeliveryCarriers, queryDeliveryProfiles as universalQueryDeliveryProfiles, removeDeliveryCarrier as universalRemoveDeliveryCarrier, removeDeliveryRegion as universalRemoveDeliveryRegion, updateCarrierSettings as universalUpdateCarrierSettings, updateDeliveryCarrier as universalUpdateDeliveryCarrier, updateDeliveryProfile as universalUpdateDeliveryProfile, updateDeliveryRegion as universalUpdateDeliveryRegion, updateExtendedFields as universalUpdateExtendedFields, } from './ecom-v1-delivery-profile-delivery-profile.universal.js';
2
- export const __metadata = { PACKAGE_NAME: '@wix/ecom' };
3
- export function createDeliveryProfile(httpClient) {
4
- return (deliveryProfile) => universalCreateDeliveryProfile(deliveryProfile,
5
- // @ts-ignore
6
- { httpClient });
7
- }
8
- export function getDeliveryProfile(httpClient) {
9
- return (deliveryProfileId) => universalGetDeliveryProfile(deliveryProfileId,
10
- // @ts-ignore
11
- { httpClient });
12
- }
13
- export function updateDeliveryProfile(httpClient) {
14
- return (_id, deliveryProfile) => universalUpdateDeliveryProfile(_id, deliveryProfile,
15
- // @ts-ignore
16
- { httpClient });
17
- }
18
- export function deleteDeliveryProfile(httpClient) {
19
- return (deliveryProfileId) => universalDeleteDeliveryProfile(deliveryProfileId,
20
- // @ts-ignore
21
- { httpClient });
22
- }
23
- export function queryDeliveryProfiles(httpClient) {
24
- return () => universalQueryDeliveryProfiles(
25
- // @ts-ignore
26
- { httpClient });
27
- }
28
- export function addDeliveryRegion(httpClient) {
29
- return (deliveryProfileId, deliveryRegion, options) => universalAddDeliveryRegion(deliveryProfileId, deliveryRegion, options,
30
- // @ts-ignore
31
- { httpClient });
32
- }
33
- export function updateDeliveryRegion(httpClient) {
34
- return (identifiers, deliveryRegion, options) => universalUpdateDeliveryRegion(identifiers, deliveryRegion, options,
35
- // @ts-ignore
36
- { httpClient });
37
- }
38
- export function removeDeliveryRegion(httpClient) {
39
- return (identifiers, options) => universalRemoveDeliveryRegion(identifiers, options,
40
- // @ts-ignore
41
- { httpClient });
42
- }
43
- export function addDeliveryCarrier(httpClient) {
44
- return (deliveryRegionId, options) => universalAddDeliveryCarrier(deliveryRegionId, options,
45
- // @ts-ignore
46
- { httpClient });
47
- }
48
- export function removeDeliveryCarrier(httpClient) {
49
- return (deliveryRegionId, options) => universalRemoveDeliveryCarrier(deliveryRegionId, options,
50
- // @ts-ignore
51
- { httpClient });
52
- }
53
- export function updateDeliveryCarrier(httpClient) {
54
- return (deliveryRegionId, options) => universalUpdateDeliveryCarrier(deliveryRegionId, options,
55
- // @ts-ignore
56
- { httpClient });
57
- }
58
- export function listDeliveryCarrierDetails(httpClient) {
59
- return () => universalListDeliveryCarrierDetails(
60
- // @ts-ignore
61
- { httpClient });
62
- }
63
- export function listInstalledDeliveryCarriers(httpClient) {
64
- return () => universalListInstalledDeliveryCarriers(
65
- // @ts-ignore
66
- { httpClient });
67
- }
68
- export function listDeliveryCarriers(httpClient) {
69
- return (deliveryProfileId, options) => universalListDeliveryCarriers(deliveryProfileId, options,
70
- // @ts-ignore
71
- { httpClient });
72
- }
73
- export function updateCarrierSettings(httpClient) {
74
- return (carrierId, options) => universalUpdateCarrierSettings(carrierId, options,
75
- // @ts-ignore
76
- { httpClient });
77
- }
78
- export function updateExtendedFields(httpClient) {
79
- return (_id, namespace, options) => universalUpdateExtendedFields(_id, namespace, options,
80
- // @ts-ignore
81
- { httpClient });
82
- }
83
- export { ChargeType, DeleteStatus, DestinationScope, Namespace, SiteCreatedContext, SortOrder, State, WebhookIdentityType, } from './ecom-v1-delivery-profile-delivery-profile.universal.js';
84
- //# sourceMappingURL=ecom-v1-delivery-profile-delivery-profile.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ecom-v1-delivery-profile-delivery-profile.public.js","sourceRoot":"","sources":["../../../src/ecom-v1-delivery-profile-delivery-profile.public.ts"],"names":[],"mappings":"AACA,OAAO,EA2BL,kBAAkB,IAAI,2BAA2B,EACjD,iBAAiB,IAAI,0BAA0B,EAC/C,qBAAqB,IAAI,8BAA8B,EACvD,qBAAqB,IAAI,8BAA8B,EACvD,kBAAkB,IAAI,2BAA2B,EACjD,0BAA0B,IAAI,mCAAmC,EACjE,oBAAoB,IAAI,6BAA6B,EACrD,6BAA6B,IAAI,sCAAsC,EACvE,qBAAqB,IAAI,8BAA8B,EACvD,qBAAqB,IAAI,8BAA8B,EACvD,oBAAoB,IAAI,6BAA6B,EACrD,qBAAqB,IAAI,8BAA8B,EACvD,qBAAqB,IAAI,8BAA8B,EACvD,qBAAqB,IAAI,8BAA8B,EACvD,oBAAoB,IAAI,6BAA6B,EACrD,oBAAoB,IAAI,6BAA6B,GACtD,MAAM,0DAA0D,CAAC;AAElE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,qBAAqB,CACnC,UAAsB;IAEtB,OAAO,CACL,eAMC,EACD,EAAE,CACF,8BAA8B,CAC5B,eAAe;IACf,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAaD,MAAM,UAAU,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CAAC,iBAAyB,EAAE,EAAE,CACnC,2BAA2B,CACzB,iBAAiB;IACjB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,qBAAqB,CACnC,UAAsB;IAEtB,OAAO,CACL,GAAW,EACX,eAAoE,EACpE,EAAE,CACF,8BAA8B,CAC5B,GAAG,EACH,eAAe;IACf,aAAa;IACb,EAAE,UAAU,EAA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