@wix/auto_sdk_ecom_delivery-profile 1.0.48 → 1.0.50
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/build/cjs/index.d.ts +61 -18
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{ecom-v1-delivery-profile-delivery-profile.universal-CiA87hsc.d.ts → index.typings.d.ts} +460 -1
- package/build/cjs/index.typings.js +1175 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +2 -1
- package/build/es/index.d.mts +61 -18
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/{ecom-v1-delivery-profile-delivery-profile.universal-CiA87hsc.d.mts → index.typings.d.mts} +460 -1
- package/build/es/index.typings.mjs +1127 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +2 -1
- package/build/internal/cjs/index.d.ts +61 -18
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/{ecom-v1-delivery-profile-delivery-profile.universal-CiA87hsc.d.ts → index.typings.d.ts} +460 -1
- package/build/internal/cjs/index.typings.js +1175 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +2 -1
- package/build/internal/es/index.d.mts +61 -18
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/{ecom-v1-delivery-profile-delivery-profile.universal-CiA87hsc.d.mts → index.typings.d.mts} +460 -1
- package/build/internal/es/index.typings.mjs +1127 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +2 -1
- package/package.json +2 -2
|
@@ -0,0 +1,1175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// index.typings.ts
|
|
21
|
+
var index_typings_exports = {};
|
|
22
|
+
__export(index_typings_exports, {
|
|
23
|
+
ChargeType: () => ChargeType,
|
|
24
|
+
DeleteStatus: () => DeleteStatus,
|
|
25
|
+
DestinationScope: () => DestinationScope,
|
|
26
|
+
Namespace: () => Namespace,
|
|
27
|
+
SiteCreatedContext: () => SiteCreatedContext,
|
|
28
|
+
SortOrder: () => SortOrder,
|
|
29
|
+
State: () => State,
|
|
30
|
+
WebhookIdentityType: () => WebhookIdentityType,
|
|
31
|
+
addDeliveryCarrier: () => addDeliveryCarrier2,
|
|
32
|
+
addDeliveryRegion: () => addDeliveryRegion2,
|
|
33
|
+
createDeliveryProfile: () => createDeliveryProfile2,
|
|
34
|
+
deleteDeliveryProfile: () => deleteDeliveryProfile2,
|
|
35
|
+
getDeliveryProfile: () => getDeliveryProfile2,
|
|
36
|
+
getDeliveryProfileByDeliveryRegionId: () => getDeliveryProfileByDeliveryRegionId2,
|
|
37
|
+
listDeliveryCarrierDetails: () => listDeliveryCarrierDetails2,
|
|
38
|
+
listDeliveryCarriers: () => listDeliveryCarriers2,
|
|
39
|
+
listInstalledDeliveryCarriers: () => listInstalledDeliveryCarriers2,
|
|
40
|
+
queryDeliveryProfiles: () => queryDeliveryProfiles2,
|
|
41
|
+
removeDeliveryCarrier: () => removeDeliveryCarrier2,
|
|
42
|
+
removeDeliveryRegion: () => removeDeliveryRegion2,
|
|
43
|
+
updateCarrierSettings: () => updateCarrierSettings2,
|
|
44
|
+
updateDeliveryCarrier: () => updateDeliveryCarrier2,
|
|
45
|
+
updateDeliveryProfile: () => updateDeliveryProfile2,
|
|
46
|
+
updateDeliveryRegion: () => updateDeliveryRegion2,
|
|
47
|
+
updateExtendedFields: () => updateExtendedFields2
|
|
48
|
+
});
|
|
49
|
+
module.exports = __toCommonJS(index_typings_exports);
|
|
50
|
+
|
|
51
|
+
// src/ecom-v1-delivery-profile-delivery-profile.universal.ts
|
|
52
|
+
var import_transform_error = require("@wix/sdk-runtime/transform-error");
|
|
53
|
+
var import_query_builder = require("@wix/sdk-runtime/query-builder");
|
|
54
|
+
var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
55
|
+
|
|
56
|
+
// src/ecom-v1-delivery-profile-delivery-profile.http.ts
|
|
57
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
58
|
+
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
59
|
+
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
60
|
+
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
61
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
62
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
63
|
+
function resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl(opts) {
|
|
64
|
+
const domainToMappings = {
|
|
65
|
+
"manage._base_domain_": [
|
|
66
|
+
{
|
|
67
|
+
srcPath: "/ecom/v1/list-delivery-carriers",
|
|
68
|
+
destPath: "/v1/list-delivery-carriers"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
srcPath: "/ecom/v1/list-delivery-carrier-details",
|
|
72
|
+
destPath: "/v1/list-delivery-carrier-details"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
srcPath: "/ecom/v1/delivery-profiles",
|
|
76
|
+
destPath: "/v1/delivery-profiles"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
srcPath: "/ecom/v1/delivery-carriers",
|
|
80
|
+
destPath: "/v1/delivery-carriers"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"api._api_base_domain_": [
|
|
84
|
+
{
|
|
85
|
+
srcPath: "/delivery-profiles-service",
|
|
86
|
+
destPath: ""
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
};
|
|
90
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
91
|
+
}
|
|
92
|
+
var PACKAGE_NAME = "@wix/auto_sdk_ecom_delivery-profile";
|
|
93
|
+
function createDeliveryProfile(payload) {
|
|
94
|
+
function __createDeliveryProfile({ host }) {
|
|
95
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
96
|
+
{
|
|
97
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
98
|
+
paths: [
|
|
99
|
+
{ path: "deliveryProfile.createdDate" },
|
|
100
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
101
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
]);
|
|
105
|
+
const metadata = {
|
|
106
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
107
|
+
method: "POST",
|
|
108
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile",
|
|
109
|
+
packageName: PACKAGE_NAME,
|
|
110
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
111
|
+
protoPath: "/v1/delivery-profiles",
|
|
112
|
+
data: serializedData,
|
|
113
|
+
host
|
|
114
|
+
}),
|
|
115
|
+
data: serializedData,
|
|
116
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
117
|
+
{
|
|
118
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
119
|
+
paths: [
|
|
120
|
+
{ path: "deliveryProfile.createdDate" },
|
|
121
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
122
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
])
|
|
126
|
+
};
|
|
127
|
+
return metadata;
|
|
128
|
+
}
|
|
129
|
+
return __createDeliveryProfile;
|
|
130
|
+
}
|
|
131
|
+
function getDeliveryProfile(payload) {
|
|
132
|
+
function __getDeliveryProfile({ host }) {
|
|
133
|
+
const metadata = {
|
|
134
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
135
|
+
method: "GET",
|
|
136
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile",
|
|
137
|
+
packageName: PACKAGE_NAME,
|
|
138
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
139
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfileId}",
|
|
140
|
+
data: payload,
|
|
141
|
+
host
|
|
142
|
+
}),
|
|
143
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
144
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
145
|
+
{
|
|
146
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
147
|
+
paths: [
|
|
148
|
+
{ path: "deliveryProfile.createdDate" },
|
|
149
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
150
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
])
|
|
154
|
+
};
|
|
155
|
+
return metadata;
|
|
156
|
+
}
|
|
157
|
+
return __getDeliveryProfile;
|
|
158
|
+
}
|
|
159
|
+
function updateDeliveryProfile(payload) {
|
|
160
|
+
function __updateDeliveryProfile({ host }) {
|
|
161
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
162
|
+
{
|
|
163
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
164
|
+
paths: [{ path: "fieldMask" }]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
168
|
+
paths: [
|
|
169
|
+
{ path: "deliveryProfile.createdDate" },
|
|
170
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
171
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
]);
|
|
175
|
+
const metadata = {
|
|
176
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
177
|
+
method: "PATCH",
|
|
178
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile",
|
|
179
|
+
packageName: PACKAGE_NAME,
|
|
180
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
181
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfile.id}",
|
|
182
|
+
data: serializedData,
|
|
183
|
+
host
|
|
184
|
+
}),
|
|
185
|
+
data: serializedData,
|
|
186
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
187
|
+
{
|
|
188
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
189
|
+
paths: [
|
|
190
|
+
{ path: "deliveryProfile.createdDate" },
|
|
191
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
192
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
])
|
|
196
|
+
};
|
|
197
|
+
return metadata;
|
|
198
|
+
}
|
|
199
|
+
return __updateDeliveryProfile;
|
|
200
|
+
}
|
|
201
|
+
function deleteDeliveryProfile(payload) {
|
|
202
|
+
function __deleteDeliveryProfile({ host }) {
|
|
203
|
+
const metadata = {
|
|
204
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
205
|
+
method: "DELETE",
|
|
206
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile",
|
|
207
|
+
packageName: PACKAGE_NAME,
|
|
208
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
209
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfileId}",
|
|
210
|
+
data: payload,
|
|
211
|
+
host
|
|
212
|
+
}),
|
|
213
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
214
|
+
};
|
|
215
|
+
return metadata;
|
|
216
|
+
}
|
|
217
|
+
return __deleteDeliveryProfile;
|
|
218
|
+
}
|
|
219
|
+
function queryDeliveryProfiles(payload) {
|
|
220
|
+
function __queryDeliveryProfiles({ host }) {
|
|
221
|
+
const metadata = {
|
|
222
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
223
|
+
method: "POST",
|
|
224
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles",
|
|
225
|
+
packageName: PACKAGE_NAME,
|
|
226
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
227
|
+
protoPath: "/v1/delivery-profiles/query",
|
|
228
|
+
data: payload,
|
|
229
|
+
host
|
|
230
|
+
}),
|
|
231
|
+
data: payload,
|
|
232
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
233
|
+
{
|
|
234
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
235
|
+
paths: [
|
|
236
|
+
{ path: "deliveryProfiles.createdDate" },
|
|
237
|
+
{ path: "deliveryProfiles.updatedDate" },
|
|
238
|
+
{ path: "deliveryProfiles.deliveryRegions.createdDate" }
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
]),
|
|
242
|
+
fallback: [
|
|
243
|
+
{
|
|
244
|
+
method: "POST",
|
|
245
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
246
|
+
protoPath: "/v1/delivery-profiles/query",
|
|
247
|
+
data: payload,
|
|
248
|
+
host
|
|
249
|
+
}),
|
|
250
|
+
data: payload
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
};
|
|
254
|
+
return metadata;
|
|
255
|
+
}
|
|
256
|
+
return __queryDeliveryProfiles;
|
|
257
|
+
}
|
|
258
|
+
function addDeliveryRegion(payload) {
|
|
259
|
+
function __addDeliveryRegion({ host }) {
|
|
260
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
261
|
+
{
|
|
262
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
263
|
+
paths: [{ path: "deliveryRegion.createdDate" }]
|
|
264
|
+
}
|
|
265
|
+
]);
|
|
266
|
+
const metadata = {
|
|
267
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
268
|
+
method: "POST",
|
|
269
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion",
|
|
270
|
+
packageName: PACKAGE_NAME,
|
|
271
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
272
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region",
|
|
273
|
+
data: serializedData,
|
|
274
|
+
host
|
|
275
|
+
}),
|
|
276
|
+
data: serializedData,
|
|
277
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
278
|
+
{
|
|
279
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
280
|
+
paths: [
|
|
281
|
+
{ path: "deliveryProfile.createdDate" },
|
|
282
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
283
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
])
|
|
287
|
+
};
|
|
288
|
+
return metadata;
|
|
289
|
+
}
|
|
290
|
+
return __addDeliveryRegion;
|
|
291
|
+
}
|
|
292
|
+
function updateDeliveryRegion(payload) {
|
|
293
|
+
function __updateDeliveryRegion({ host }) {
|
|
294
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
295
|
+
{
|
|
296
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
297
|
+
paths: [{ path: "fieldMask" }]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
301
|
+
paths: [{ path: "deliveryRegion.createdDate" }]
|
|
302
|
+
}
|
|
303
|
+
]);
|
|
304
|
+
const metadata = {
|
|
305
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
306
|
+
method: "PATCH",
|
|
307
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion",
|
|
308
|
+
packageName: PACKAGE_NAME,
|
|
309
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
310
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegion.id}",
|
|
311
|
+
data: serializedData,
|
|
312
|
+
host
|
|
313
|
+
}),
|
|
314
|
+
data: serializedData,
|
|
315
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
316
|
+
{
|
|
317
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
318
|
+
paths: [
|
|
319
|
+
{ path: "deliveryProfile.createdDate" },
|
|
320
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
321
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
])
|
|
325
|
+
};
|
|
326
|
+
return metadata;
|
|
327
|
+
}
|
|
328
|
+
return __updateDeliveryRegion;
|
|
329
|
+
}
|
|
330
|
+
function getDeliveryProfileByDeliveryRegionId(payload) {
|
|
331
|
+
function __getDeliveryProfileByDeliveryRegionId({ host }) {
|
|
332
|
+
const metadata = {
|
|
333
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
334
|
+
method: "GET",
|
|
335
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfileByDeliveryRegionId",
|
|
336
|
+
packageName: PACKAGE_NAME,
|
|
337
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
338
|
+
protoPath: "/v1/delivery-profiles/delivery-regions/{deliveryRegionId}",
|
|
339
|
+
data: payload,
|
|
340
|
+
host
|
|
341
|
+
}),
|
|
342
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
343
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
344
|
+
{
|
|
345
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
346
|
+
paths: [
|
|
347
|
+
{ path: "deliveryProfile.createdDate" },
|
|
348
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
349
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
350
|
+
]
|
|
351
|
+
}
|
|
352
|
+
])
|
|
353
|
+
};
|
|
354
|
+
return metadata;
|
|
355
|
+
}
|
|
356
|
+
return __getDeliveryProfileByDeliveryRegionId;
|
|
357
|
+
}
|
|
358
|
+
function removeDeliveryRegion(payload) {
|
|
359
|
+
function __removeDeliveryRegion({ host }) {
|
|
360
|
+
const metadata = {
|
|
361
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
362
|
+
method: "DELETE",
|
|
363
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion",
|
|
364
|
+
packageName: PACKAGE_NAME,
|
|
365
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
366
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}",
|
|
367
|
+
data: payload,
|
|
368
|
+
host
|
|
369
|
+
}),
|
|
370
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
371
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
372
|
+
{
|
|
373
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
374
|
+
paths: [
|
|
375
|
+
{ path: "deliveryProfile.createdDate" },
|
|
376
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
377
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
378
|
+
]
|
|
379
|
+
}
|
|
380
|
+
])
|
|
381
|
+
};
|
|
382
|
+
return metadata;
|
|
383
|
+
}
|
|
384
|
+
return __removeDeliveryRegion;
|
|
385
|
+
}
|
|
386
|
+
function addDeliveryCarrier(payload) {
|
|
387
|
+
function __addDeliveryCarrier({ host }) {
|
|
388
|
+
const metadata = {
|
|
389
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
390
|
+
method: "POST",
|
|
391
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier",
|
|
392
|
+
packageName: PACKAGE_NAME,
|
|
393
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
394
|
+
protoPath: "/v1/delivery-profiles/add-delivery-carrier",
|
|
395
|
+
data: payload,
|
|
396
|
+
host
|
|
397
|
+
}),
|
|
398
|
+
data: payload,
|
|
399
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
400
|
+
{
|
|
401
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
402
|
+
paths: [
|
|
403
|
+
{ path: "deliveryProfile.createdDate" },
|
|
404
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
405
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
406
|
+
]
|
|
407
|
+
}
|
|
408
|
+
])
|
|
409
|
+
};
|
|
410
|
+
return metadata;
|
|
411
|
+
}
|
|
412
|
+
return __addDeliveryCarrier;
|
|
413
|
+
}
|
|
414
|
+
function removeDeliveryCarrier(payload) {
|
|
415
|
+
function __removeDeliveryCarrier({ host }) {
|
|
416
|
+
const metadata = {
|
|
417
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
418
|
+
method: "POST",
|
|
419
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier",
|
|
420
|
+
packageName: PACKAGE_NAME,
|
|
421
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
422
|
+
protoPath: "/v1/delivery-profiles/remove-delivery-carrier",
|
|
423
|
+
data: payload,
|
|
424
|
+
host
|
|
425
|
+
}),
|
|
426
|
+
data: payload,
|
|
427
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
428
|
+
{
|
|
429
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
430
|
+
paths: [
|
|
431
|
+
{ path: "deliveryProfile.createdDate" },
|
|
432
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
433
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
])
|
|
437
|
+
};
|
|
438
|
+
return metadata;
|
|
439
|
+
}
|
|
440
|
+
return __removeDeliveryCarrier;
|
|
441
|
+
}
|
|
442
|
+
function updateDeliveryCarrier(payload) {
|
|
443
|
+
function __updateDeliveryCarrier({ host }) {
|
|
444
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
445
|
+
{
|
|
446
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
447
|
+
paths: [{ path: "fieldMask" }]
|
|
448
|
+
}
|
|
449
|
+
]);
|
|
450
|
+
const metadata = {
|
|
451
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
452
|
+
method: "PATCH",
|
|
453
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier",
|
|
454
|
+
packageName: PACKAGE_NAME,
|
|
455
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
456
|
+
protoPath: "/v1/delivery-profiles/update-delivery-carrier",
|
|
457
|
+
data: serializedData,
|
|
458
|
+
host
|
|
459
|
+
}),
|
|
460
|
+
data: serializedData,
|
|
461
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
462
|
+
{
|
|
463
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
464
|
+
paths: [
|
|
465
|
+
{ path: "deliveryProfile.createdDate" },
|
|
466
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
467
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
468
|
+
]
|
|
469
|
+
}
|
|
470
|
+
])
|
|
471
|
+
};
|
|
472
|
+
return metadata;
|
|
473
|
+
}
|
|
474
|
+
return __updateDeliveryCarrier;
|
|
475
|
+
}
|
|
476
|
+
function listDeliveryCarrierDetails(payload) {
|
|
477
|
+
function __listDeliveryCarrierDetails({ host }) {
|
|
478
|
+
const metadata = {
|
|
479
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
480
|
+
method: "GET",
|
|
481
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarrierDetails",
|
|
482
|
+
packageName: PACKAGE_NAME,
|
|
483
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
484
|
+
protoPath: "/v1/delivery-carriers",
|
|
485
|
+
data: payload,
|
|
486
|
+
host
|
|
487
|
+
}),
|
|
488
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
489
|
+
};
|
|
490
|
+
return metadata;
|
|
491
|
+
}
|
|
492
|
+
return __listDeliveryCarrierDetails;
|
|
493
|
+
}
|
|
494
|
+
function listInstalledDeliveryCarriers(payload) {
|
|
495
|
+
function __listInstalledDeliveryCarriers({ host }) {
|
|
496
|
+
const metadata = {
|
|
497
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
498
|
+
method: "GET",
|
|
499
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers",
|
|
500
|
+
packageName: PACKAGE_NAME,
|
|
501
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
502
|
+
protoPath: "/v1/delivery-profiles/installed-carriers",
|
|
503
|
+
data: payload,
|
|
504
|
+
host
|
|
505
|
+
}),
|
|
506
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
507
|
+
};
|
|
508
|
+
return metadata;
|
|
509
|
+
}
|
|
510
|
+
return __listInstalledDeliveryCarriers;
|
|
511
|
+
}
|
|
512
|
+
function listDeliveryCarriers(payload) {
|
|
513
|
+
function __listDeliveryCarriers({ host }) {
|
|
514
|
+
const metadata = {
|
|
515
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
516
|
+
method: "POST",
|
|
517
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers",
|
|
518
|
+
packageName: PACKAGE_NAME,
|
|
519
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
520
|
+
protoPath: "/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers",
|
|
521
|
+
data: payload,
|
|
522
|
+
host
|
|
523
|
+
}),
|
|
524
|
+
data: payload
|
|
525
|
+
};
|
|
526
|
+
return metadata;
|
|
527
|
+
}
|
|
528
|
+
return __listDeliveryCarriers;
|
|
529
|
+
}
|
|
530
|
+
function updateCarrierSettings(payload) {
|
|
531
|
+
function __updateCarrierSettings({ host }) {
|
|
532
|
+
const metadata = {
|
|
533
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
534
|
+
method: "POST",
|
|
535
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings",
|
|
536
|
+
packageName: PACKAGE_NAME,
|
|
537
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
538
|
+
protoPath: "/v1/delivery-carriers/update-settings",
|
|
539
|
+
data: payload,
|
|
540
|
+
host
|
|
541
|
+
}),
|
|
542
|
+
data: payload
|
|
543
|
+
};
|
|
544
|
+
return metadata;
|
|
545
|
+
}
|
|
546
|
+
return __updateCarrierSettings;
|
|
547
|
+
}
|
|
548
|
+
function updateExtendedFields(payload) {
|
|
549
|
+
function __updateExtendedFields({ host }) {
|
|
550
|
+
const metadata = {
|
|
551
|
+
entityFqdn: "wix.ecom.v1.delivery_profile",
|
|
552
|
+
method: "POST",
|
|
553
|
+
methodFqn: "wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields",
|
|
554
|
+
packageName: PACKAGE_NAME,
|
|
555
|
+
url: resolveWixEcomDeliveryprofileV1DeliveryProfilesUrl({
|
|
556
|
+
protoPath: "/v1/delivery-profiles/{id}/update-extended-fields",
|
|
557
|
+
data: payload,
|
|
558
|
+
host
|
|
559
|
+
}),
|
|
560
|
+
data: payload,
|
|
561
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
562
|
+
{
|
|
563
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
564
|
+
paths: [
|
|
565
|
+
{ path: "deliveryProfile.createdDate" },
|
|
566
|
+
{ path: "deliveryProfile.updatedDate" },
|
|
567
|
+
{ path: "deliveryProfile.deliveryRegions.createdDate" }
|
|
568
|
+
]
|
|
569
|
+
}
|
|
570
|
+
])
|
|
571
|
+
};
|
|
572
|
+
return metadata;
|
|
573
|
+
}
|
|
574
|
+
return __updateExtendedFields;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
// src/ecom-v1-delivery-profile-delivery-profile.universal.ts
|
|
578
|
+
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
579
|
+
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
580
|
+
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
581
|
+
return ChargeType2;
|
|
582
|
+
})(ChargeType || {});
|
|
583
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
584
|
+
SortOrder2["ASC"] = "ASC";
|
|
585
|
+
SortOrder2["DESC"] = "DESC";
|
|
586
|
+
return SortOrder2;
|
|
587
|
+
})(SortOrder || {});
|
|
588
|
+
var DestinationScope = /* @__PURE__ */ ((DestinationScope2) => {
|
|
589
|
+
DestinationScope2["SPECIFIC_DESTINATIONS"] = "SPECIFIC_DESTINATIONS";
|
|
590
|
+
DestinationScope2["WORLDWIDE"] = "WORLDWIDE";
|
|
591
|
+
return DestinationScope2;
|
|
592
|
+
})(DestinationScope || {});
|
|
593
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
594
|
+
State2["UNKNOWN"] = "UNKNOWN";
|
|
595
|
+
State2["ENABLED"] = "ENABLED";
|
|
596
|
+
State2["DISABLED"] = "DISABLED";
|
|
597
|
+
State2["PENDING"] = "PENDING";
|
|
598
|
+
State2["DEMO"] = "DEMO";
|
|
599
|
+
return State2;
|
|
600
|
+
})(State || {});
|
|
601
|
+
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
602
|
+
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
603
|
+
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
604
|
+
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
605
|
+
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
606
|
+
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
607
|
+
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
608
|
+
return SiteCreatedContext2;
|
|
609
|
+
})(SiteCreatedContext || {});
|
|
610
|
+
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
611
|
+
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
612
|
+
Namespace2["WIX"] = "WIX";
|
|
613
|
+
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
614
|
+
Namespace2["ALBUMS"] = "ALBUMS";
|
|
615
|
+
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
616
|
+
Namespace2["HOTELS"] = "HOTELS";
|
|
617
|
+
Namespace2["CLUBS"] = "CLUBS";
|
|
618
|
+
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
619
|
+
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
620
|
+
Namespace2["LOGOS"] = "LOGOS";
|
|
621
|
+
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
622
|
+
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
623
|
+
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
624
|
+
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
625
|
+
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
626
|
+
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
627
|
+
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
628
|
+
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
629
|
+
Namespace2["HEADLESS"] = "HEADLESS";
|
|
630
|
+
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
631
|
+
Namespace2["RISE"] = "RISE";
|
|
632
|
+
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
633
|
+
Namespace2["NOWNIA"] = "NOWNIA";
|
|
634
|
+
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
635
|
+
Namespace2["CODUX"] = "CODUX";
|
|
636
|
+
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
637
|
+
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
638
|
+
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
639
|
+
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
640
|
+
Namespace2["MIMIR"] = "MIMIR";
|
|
641
|
+
return Namespace2;
|
|
642
|
+
})(Namespace || {});
|
|
643
|
+
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
644
|
+
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
645
|
+
DeleteStatus2["TRASH"] = "TRASH";
|
|
646
|
+
DeleteStatus2["DELETED"] = "DELETED";
|
|
647
|
+
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
648
|
+
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
649
|
+
return DeleteStatus2;
|
|
650
|
+
})(DeleteStatus || {});
|
|
651
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
652
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
653
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
654
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
655
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
656
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
657
|
+
return WebhookIdentityType2;
|
|
658
|
+
})(WebhookIdentityType || {});
|
|
659
|
+
async function createDeliveryProfile2(deliveryProfile) {
|
|
660
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
661
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
662
|
+
deliveryProfile
|
|
663
|
+
});
|
|
664
|
+
const reqOpts = createDeliveryProfile(payload);
|
|
665
|
+
sideEffects?.onSiteCall?.();
|
|
666
|
+
try {
|
|
667
|
+
const result = await httpClient.request(reqOpts);
|
|
668
|
+
sideEffects?.onSuccess?.(result);
|
|
669
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.deliveryProfile;
|
|
670
|
+
} catch (err) {
|
|
671
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
672
|
+
err,
|
|
673
|
+
{
|
|
674
|
+
spreadPathsToArguments: {},
|
|
675
|
+
explicitPathsToArguments: { deliveryProfile: "$[0]" },
|
|
676
|
+
singleArgumentUnchanged: false
|
|
677
|
+
},
|
|
678
|
+
["deliveryProfile"]
|
|
679
|
+
);
|
|
680
|
+
sideEffects?.onError?.(err);
|
|
681
|
+
throw transformedError;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
async function getDeliveryProfile2(deliveryProfileId) {
|
|
685
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
686
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
687
|
+
deliveryProfileId
|
|
688
|
+
});
|
|
689
|
+
const reqOpts = getDeliveryProfile(payload);
|
|
690
|
+
sideEffects?.onSiteCall?.();
|
|
691
|
+
try {
|
|
692
|
+
const result = await httpClient.request(reqOpts);
|
|
693
|
+
sideEffects?.onSuccess?.(result);
|
|
694
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.deliveryProfile;
|
|
695
|
+
} catch (err) {
|
|
696
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
697
|
+
err,
|
|
698
|
+
{
|
|
699
|
+
spreadPathsToArguments: {},
|
|
700
|
+
explicitPathsToArguments: { deliveryProfileId: "$[0]" },
|
|
701
|
+
singleArgumentUnchanged: false
|
|
702
|
+
},
|
|
703
|
+
["deliveryProfileId"]
|
|
704
|
+
);
|
|
705
|
+
sideEffects?.onError?.(err);
|
|
706
|
+
throw transformedError;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
async function updateDeliveryProfile2(_id, deliveryProfile) {
|
|
710
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
711
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
712
|
+
deliveryProfile: { ...deliveryProfile, id: _id }
|
|
713
|
+
});
|
|
714
|
+
const reqOpts = updateDeliveryProfile(payload);
|
|
715
|
+
sideEffects?.onSiteCall?.();
|
|
716
|
+
try {
|
|
717
|
+
const result = await httpClient.request(reqOpts);
|
|
718
|
+
sideEffects?.onSuccess?.(result);
|
|
719
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.deliveryProfile;
|
|
720
|
+
} catch (err) {
|
|
721
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
722
|
+
err,
|
|
723
|
+
{
|
|
724
|
+
spreadPathsToArguments: { deliveryProfile: "$[1]" },
|
|
725
|
+
explicitPathsToArguments: { "deliveryProfile.id": "$[0]" },
|
|
726
|
+
singleArgumentUnchanged: false
|
|
727
|
+
},
|
|
728
|
+
["_id", "deliveryProfile"]
|
|
729
|
+
);
|
|
730
|
+
sideEffects?.onError?.(err);
|
|
731
|
+
throw transformedError;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
async function deleteDeliveryProfile2(deliveryProfileId) {
|
|
735
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
736
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
737
|
+
deliveryProfileId
|
|
738
|
+
});
|
|
739
|
+
const reqOpts = deleteDeliveryProfile(payload);
|
|
740
|
+
sideEffects?.onSiteCall?.();
|
|
741
|
+
try {
|
|
742
|
+
const result = await httpClient.request(reqOpts);
|
|
743
|
+
sideEffects?.onSuccess?.(result);
|
|
744
|
+
} catch (err) {
|
|
745
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
746
|
+
err,
|
|
747
|
+
{
|
|
748
|
+
spreadPathsToArguments: {},
|
|
749
|
+
explicitPathsToArguments: { deliveryProfileId: "$[0]" },
|
|
750
|
+
singleArgumentUnchanged: false
|
|
751
|
+
},
|
|
752
|
+
["deliveryProfileId"]
|
|
753
|
+
);
|
|
754
|
+
sideEffects?.onError?.(err);
|
|
755
|
+
throw transformedError;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
function queryDeliveryProfiles2() {
|
|
759
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
760
|
+
return (0, import_query_builder.queryBuilder)({
|
|
761
|
+
func: async (payload) => {
|
|
762
|
+
const reqOpts = queryDeliveryProfiles(payload);
|
|
763
|
+
sideEffects?.onSiteCall?.();
|
|
764
|
+
try {
|
|
765
|
+
const result = await httpClient.request(reqOpts);
|
|
766
|
+
sideEffects?.onSuccess?.(result);
|
|
767
|
+
return result;
|
|
768
|
+
} catch (err) {
|
|
769
|
+
sideEffects?.onError?.(err);
|
|
770
|
+
throw err;
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
requestTransformer: (query) => {
|
|
774
|
+
const args = [query, {}];
|
|
775
|
+
return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
776
|
+
...args?.[1],
|
|
777
|
+
query: args?.[0]
|
|
778
|
+
});
|
|
779
|
+
},
|
|
780
|
+
responseTransformer: ({
|
|
781
|
+
data
|
|
782
|
+
}) => {
|
|
783
|
+
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
784
|
+
(0, import_transform_paths2.transformPaths)(data, [])
|
|
785
|
+
);
|
|
786
|
+
return {
|
|
787
|
+
items: transformedData?.deliveryProfiles,
|
|
788
|
+
pagingMetadata: transformedData?.pagingMetadata
|
|
789
|
+
};
|
|
790
|
+
},
|
|
791
|
+
errorTransformer: (err) => {
|
|
792
|
+
const transformedError = (0, import_transform_error.transformError)(err, {
|
|
793
|
+
spreadPathsToArguments: {},
|
|
794
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
795
|
+
singleArgumentUnchanged: false
|
|
796
|
+
});
|
|
797
|
+
throw transformedError;
|
|
798
|
+
},
|
|
799
|
+
pagingMethod: "CURSOR",
|
|
800
|
+
transformationPaths: {}
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
async function addDeliveryRegion2(deliveryProfileId, deliveryRegion, options) {
|
|
804
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
805
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
806
|
+
deliveryProfileId,
|
|
807
|
+
deliveryRegion,
|
|
808
|
+
revision: options?.revision
|
|
809
|
+
});
|
|
810
|
+
const reqOpts = addDeliveryRegion(payload);
|
|
811
|
+
sideEffects?.onSiteCall?.();
|
|
812
|
+
try {
|
|
813
|
+
const result = await httpClient.request(reqOpts);
|
|
814
|
+
sideEffects?.onSuccess?.(result);
|
|
815
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
816
|
+
} catch (err) {
|
|
817
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
818
|
+
err,
|
|
819
|
+
{
|
|
820
|
+
spreadPathsToArguments: {},
|
|
821
|
+
explicitPathsToArguments: {
|
|
822
|
+
deliveryProfileId: "$[0]",
|
|
823
|
+
deliveryRegion: "$[1]",
|
|
824
|
+
revision: "$[2].revision"
|
|
825
|
+
},
|
|
826
|
+
singleArgumentUnchanged: false
|
|
827
|
+
},
|
|
828
|
+
["deliveryProfileId", "deliveryRegion", "options"]
|
|
829
|
+
);
|
|
830
|
+
sideEffects?.onError?.(err);
|
|
831
|
+
throw transformedError;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
async function updateDeliveryRegion2(identifiers, deliveryRegion, options) {
|
|
835
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
836
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
837
|
+
deliveryProfileId: identifiers?.deliveryProfileId,
|
|
838
|
+
deliveryRegion: { ...deliveryRegion, id: identifiers?.deliveryRegionId },
|
|
839
|
+
revision: options?.revision
|
|
840
|
+
});
|
|
841
|
+
const reqOpts = updateDeliveryRegion(payload);
|
|
842
|
+
sideEffects?.onSiteCall?.();
|
|
843
|
+
try {
|
|
844
|
+
const result = await httpClient.request(reqOpts);
|
|
845
|
+
sideEffects?.onSuccess?.(result);
|
|
846
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
847
|
+
} catch (err) {
|
|
848
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
849
|
+
err,
|
|
850
|
+
{
|
|
851
|
+
spreadPathsToArguments: { deliveryRegion: "$[1]" },
|
|
852
|
+
explicitPathsToArguments: {
|
|
853
|
+
deliveryProfileId: "$[0].deliveryProfileId",
|
|
854
|
+
"deliveryRegion.id": "$[0].deliveryRegionId",
|
|
855
|
+
revision: "$[2].revision"
|
|
856
|
+
},
|
|
857
|
+
singleArgumentUnchanged: false
|
|
858
|
+
},
|
|
859
|
+
["identifiers", "deliveryRegion", "options"]
|
|
860
|
+
);
|
|
861
|
+
sideEffects?.onError?.(err);
|
|
862
|
+
throw transformedError;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
async function getDeliveryProfileByDeliveryRegionId2(deliveryRegionId) {
|
|
866
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
867
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
868
|
+
deliveryRegionId
|
|
869
|
+
});
|
|
870
|
+
const reqOpts = getDeliveryProfileByDeliveryRegionId(
|
|
871
|
+
payload
|
|
872
|
+
);
|
|
873
|
+
sideEffects?.onSiteCall?.();
|
|
874
|
+
try {
|
|
875
|
+
const result = await httpClient.request(reqOpts);
|
|
876
|
+
sideEffects?.onSuccess?.(result);
|
|
877
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
878
|
+
} catch (err) {
|
|
879
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
880
|
+
err,
|
|
881
|
+
{
|
|
882
|
+
spreadPathsToArguments: {},
|
|
883
|
+
explicitPathsToArguments: { deliveryRegionId: "$[0]" },
|
|
884
|
+
singleArgumentUnchanged: false
|
|
885
|
+
},
|
|
886
|
+
["deliveryRegionId"]
|
|
887
|
+
);
|
|
888
|
+
sideEffects?.onError?.(err);
|
|
889
|
+
throw transformedError;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
async function removeDeliveryRegion2(identifiers, options) {
|
|
893
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
894
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
895
|
+
deliveryProfileId: identifiers?.deliveryProfileId,
|
|
896
|
+
deliveryRegionId: identifiers?.deliveryRegionId,
|
|
897
|
+
revision: options?.revision
|
|
898
|
+
});
|
|
899
|
+
const reqOpts = removeDeliveryRegion(payload);
|
|
900
|
+
sideEffects?.onSiteCall?.();
|
|
901
|
+
try {
|
|
902
|
+
const result = await httpClient.request(reqOpts);
|
|
903
|
+
sideEffects?.onSuccess?.(result);
|
|
904
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
905
|
+
} catch (err) {
|
|
906
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
907
|
+
err,
|
|
908
|
+
{
|
|
909
|
+
spreadPathsToArguments: {},
|
|
910
|
+
explicitPathsToArguments: {
|
|
911
|
+
deliveryProfileId: "$[0].deliveryProfileId",
|
|
912
|
+
deliveryRegionId: "$[0].deliveryRegionId",
|
|
913
|
+
revision: "$[1].revision"
|
|
914
|
+
},
|
|
915
|
+
singleArgumentUnchanged: false
|
|
916
|
+
},
|
|
917
|
+
["identifiers", "options"]
|
|
918
|
+
);
|
|
919
|
+
sideEffects?.onError?.(err);
|
|
920
|
+
throw transformedError;
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
async function addDeliveryCarrier2(deliveryRegionId, options) {
|
|
924
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
925
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
926
|
+
deliveryRegionId,
|
|
927
|
+
deliveryCarrier: options?.deliveryCarrier
|
|
928
|
+
});
|
|
929
|
+
const reqOpts = addDeliveryCarrier(payload);
|
|
930
|
+
sideEffects?.onSiteCall?.();
|
|
931
|
+
try {
|
|
932
|
+
const result = await httpClient.request(reqOpts);
|
|
933
|
+
sideEffects?.onSuccess?.(result);
|
|
934
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
935
|
+
} catch (err) {
|
|
936
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
937
|
+
err,
|
|
938
|
+
{
|
|
939
|
+
spreadPathsToArguments: {},
|
|
940
|
+
explicitPathsToArguments: {
|
|
941
|
+
deliveryRegionId: "$[0]",
|
|
942
|
+
deliveryCarrier: "$[1].deliveryCarrier"
|
|
943
|
+
},
|
|
944
|
+
singleArgumentUnchanged: false
|
|
945
|
+
},
|
|
946
|
+
["deliveryRegionId", "options"]
|
|
947
|
+
);
|
|
948
|
+
sideEffects?.onError?.(err);
|
|
949
|
+
throw transformedError;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
async function removeDeliveryCarrier2(deliveryRegionId, options) {
|
|
953
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
954
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
955
|
+
deliveryRegionId,
|
|
956
|
+
appId: options?.appId
|
|
957
|
+
});
|
|
958
|
+
const reqOpts = removeDeliveryCarrier(payload);
|
|
959
|
+
sideEffects?.onSiteCall?.();
|
|
960
|
+
try {
|
|
961
|
+
const result = await httpClient.request(reqOpts);
|
|
962
|
+
sideEffects?.onSuccess?.(result);
|
|
963
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
964
|
+
} catch (err) {
|
|
965
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
966
|
+
err,
|
|
967
|
+
{
|
|
968
|
+
spreadPathsToArguments: {},
|
|
969
|
+
explicitPathsToArguments: {
|
|
970
|
+
deliveryRegionId: "$[0]",
|
|
971
|
+
appId: "$[1].appId"
|
|
972
|
+
},
|
|
973
|
+
singleArgumentUnchanged: false
|
|
974
|
+
},
|
|
975
|
+
["deliveryRegionId", "options"]
|
|
976
|
+
);
|
|
977
|
+
sideEffects?.onError?.(err);
|
|
978
|
+
throw transformedError;
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
async function updateDeliveryCarrier2(deliveryRegionId, options) {
|
|
982
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
983
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
984
|
+
deliveryRegionId,
|
|
985
|
+
deliveryCarrier: options?.deliveryCarrier
|
|
986
|
+
});
|
|
987
|
+
const reqOpts = updateDeliveryCarrier(payload);
|
|
988
|
+
sideEffects?.onSiteCall?.();
|
|
989
|
+
try {
|
|
990
|
+
const result = await httpClient.request(reqOpts);
|
|
991
|
+
sideEffects?.onSuccess?.(result);
|
|
992
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
993
|
+
} catch (err) {
|
|
994
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
995
|
+
err,
|
|
996
|
+
{
|
|
997
|
+
spreadPathsToArguments: {},
|
|
998
|
+
explicitPathsToArguments: {
|
|
999
|
+
deliveryRegionId: "$[0]",
|
|
1000
|
+
deliveryCarrier: "$[1].deliveryCarrier"
|
|
1001
|
+
},
|
|
1002
|
+
singleArgumentUnchanged: false
|
|
1003
|
+
},
|
|
1004
|
+
["deliveryRegionId", "options"]
|
|
1005
|
+
);
|
|
1006
|
+
sideEffects?.onError?.(err);
|
|
1007
|
+
throw transformedError;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
async function listDeliveryCarrierDetails2() {
|
|
1011
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
1012
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({});
|
|
1013
|
+
const reqOpts = listDeliveryCarrierDetails(payload);
|
|
1014
|
+
sideEffects?.onSiteCall?.();
|
|
1015
|
+
try {
|
|
1016
|
+
const result = await httpClient.request(reqOpts);
|
|
1017
|
+
sideEffects?.onSuccess?.(result);
|
|
1018
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1019
|
+
} catch (err) {
|
|
1020
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1021
|
+
err,
|
|
1022
|
+
{
|
|
1023
|
+
spreadPathsToArguments: {},
|
|
1024
|
+
explicitPathsToArguments: {},
|
|
1025
|
+
singleArgumentUnchanged: false
|
|
1026
|
+
},
|
|
1027
|
+
[]
|
|
1028
|
+
);
|
|
1029
|
+
sideEffects?.onError?.(err);
|
|
1030
|
+
throw transformedError;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
async function listInstalledDeliveryCarriers2() {
|
|
1034
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
1035
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({});
|
|
1036
|
+
const reqOpts = listInstalledDeliveryCarriers(payload);
|
|
1037
|
+
sideEffects?.onSiteCall?.();
|
|
1038
|
+
try {
|
|
1039
|
+
const result = await httpClient.request(reqOpts);
|
|
1040
|
+
sideEffects?.onSuccess?.(result);
|
|
1041
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1042
|
+
} catch (err) {
|
|
1043
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1044
|
+
err,
|
|
1045
|
+
{
|
|
1046
|
+
spreadPathsToArguments: {},
|
|
1047
|
+
explicitPathsToArguments: {},
|
|
1048
|
+
singleArgumentUnchanged: false
|
|
1049
|
+
},
|
|
1050
|
+
[]
|
|
1051
|
+
);
|
|
1052
|
+
sideEffects?.onError?.(err);
|
|
1053
|
+
throw transformedError;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
async function listDeliveryCarriers2(deliveryProfileId, options) {
|
|
1057
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1058
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1059
|
+
deliveryProfileId,
|
|
1060
|
+
appIds: options?.appIds
|
|
1061
|
+
});
|
|
1062
|
+
const reqOpts = listDeliveryCarriers(payload);
|
|
1063
|
+
sideEffects?.onSiteCall?.();
|
|
1064
|
+
try {
|
|
1065
|
+
const result = await httpClient.request(reqOpts);
|
|
1066
|
+
sideEffects?.onSuccess?.(result);
|
|
1067
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1068
|
+
} catch (err) {
|
|
1069
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1070
|
+
err,
|
|
1071
|
+
{
|
|
1072
|
+
spreadPathsToArguments: {},
|
|
1073
|
+
explicitPathsToArguments: {
|
|
1074
|
+
deliveryProfileId: "$[0]",
|
|
1075
|
+
appIds: "$[1].appIds"
|
|
1076
|
+
},
|
|
1077
|
+
singleArgumentUnchanged: false
|
|
1078
|
+
},
|
|
1079
|
+
["deliveryProfileId", "options"]
|
|
1080
|
+
);
|
|
1081
|
+
sideEffects?.onError?.(err);
|
|
1082
|
+
throw transformedError;
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
async function updateCarrierSettings2(carrierId, options) {
|
|
1086
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1087
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1088
|
+
carrierId,
|
|
1089
|
+
rowId: options?.rowId,
|
|
1090
|
+
active: options?.active
|
|
1091
|
+
});
|
|
1092
|
+
const reqOpts = updateCarrierSettings(payload);
|
|
1093
|
+
sideEffects?.onSiteCall?.();
|
|
1094
|
+
try {
|
|
1095
|
+
const result = await httpClient.request(reqOpts);
|
|
1096
|
+
sideEffects?.onSuccess?.(result);
|
|
1097
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1098
|
+
} catch (err) {
|
|
1099
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1100
|
+
err,
|
|
1101
|
+
{
|
|
1102
|
+
spreadPathsToArguments: {},
|
|
1103
|
+
explicitPathsToArguments: {
|
|
1104
|
+
carrierId: "$[0]",
|
|
1105
|
+
rowId: "$[1].rowId",
|
|
1106
|
+
active: "$[1].active"
|
|
1107
|
+
},
|
|
1108
|
+
singleArgumentUnchanged: false
|
|
1109
|
+
},
|
|
1110
|
+
["carrierId", "options"]
|
|
1111
|
+
);
|
|
1112
|
+
sideEffects?.onError?.(err);
|
|
1113
|
+
throw transformedError;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
async function updateExtendedFields2(_id, namespace, options) {
|
|
1117
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
1118
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1119
|
+
id: _id,
|
|
1120
|
+
namespace,
|
|
1121
|
+
namespaceData: options?.namespaceData
|
|
1122
|
+
});
|
|
1123
|
+
const reqOpts = updateExtendedFields(payload);
|
|
1124
|
+
sideEffects?.onSiteCall?.();
|
|
1125
|
+
try {
|
|
1126
|
+
const result = await httpClient.request(reqOpts);
|
|
1127
|
+
sideEffects?.onSuccess?.(result);
|
|
1128
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1129
|
+
} catch (err) {
|
|
1130
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1131
|
+
err,
|
|
1132
|
+
{
|
|
1133
|
+
spreadPathsToArguments: {},
|
|
1134
|
+
explicitPathsToArguments: {
|
|
1135
|
+
id: "$[0]",
|
|
1136
|
+
namespace: "$[1]",
|
|
1137
|
+
namespaceData: "$[2].namespaceData"
|
|
1138
|
+
},
|
|
1139
|
+
singleArgumentUnchanged: false
|
|
1140
|
+
},
|
|
1141
|
+
["_id", "namespace", "options"]
|
|
1142
|
+
);
|
|
1143
|
+
sideEffects?.onError?.(err);
|
|
1144
|
+
throw transformedError;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1148
|
+
0 && (module.exports = {
|
|
1149
|
+
ChargeType,
|
|
1150
|
+
DeleteStatus,
|
|
1151
|
+
DestinationScope,
|
|
1152
|
+
Namespace,
|
|
1153
|
+
SiteCreatedContext,
|
|
1154
|
+
SortOrder,
|
|
1155
|
+
State,
|
|
1156
|
+
WebhookIdentityType,
|
|
1157
|
+
addDeliveryCarrier,
|
|
1158
|
+
addDeliveryRegion,
|
|
1159
|
+
createDeliveryProfile,
|
|
1160
|
+
deleteDeliveryProfile,
|
|
1161
|
+
getDeliveryProfile,
|
|
1162
|
+
getDeliveryProfileByDeliveryRegionId,
|
|
1163
|
+
listDeliveryCarrierDetails,
|
|
1164
|
+
listDeliveryCarriers,
|
|
1165
|
+
listInstalledDeliveryCarriers,
|
|
1166
|
+
queryDeliveryProfiles,
|
|
1167
|
+
removeDeliveryCarrier,
|
|
1168
|
+
removeDeliveryRegion,
|
|
1169
|
+
updateCarrierSettings,
|
|
1170
|
+
updateDeliveryCarrier,
|
|
1171
|
+
updateDeliveryProfile,
|
|
1172
|
+
updateDeliveryRegion,
|
|
1173
|
+
updateExtendedFields
|
|
1174
|
+
});
|
|
1175
|
+
//# sourceMappingURL=index.typings.js.map
|