@medusajs/js-sdk 0.0.2-snapshot-20241022120003 → 0.0.2-snapshot-20241022140307
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/admin/api-key.d.ts +144 -1
- package/dist/admin/api-key.d.ts.map +1 -1
- package/dist/admin/api-key.js +143 -0
- package/dist/admin/api-key.js.map +1 -1
- package/dist/admin/campaign.d.ts +135 -0
- package/dist/admin/campaign.d.ts.map +1 -1
- package/dist/admin/campaign.js +135 -0
- package/dist/admin/campaign.js.map +1 -1
- package/dist/admin/claim.d.ts +542 -19
- package/dist/admin/claim.d.ts.map +1 -1
- package/dist/admin/claim.js +523 -0
- package/dist/admin/claim.js.map +1 -1
- package/dist/admin/currency.d.ts +80 -1
- package/dist/admin/currency.d.ts.map +1 -1
- package/dist/admin/currency.js +81 -2
- package/dist/admin/currency.js.map +1 -1
- package/dist/admin/customer-group.d.ts +152 -2
- package/dist/admin/customer-group.d.ts.map +1 -1
- package/dist/admin/customer-group.js +150 -0
- package/dist/admin/customer-group.js.map +1 -1
- package/dist/admin/customer.d.ts +135 -13
- package/dist/admin/customer.d.ts.map +1 -1
- package/dist/admin/customer.js +130 -0
- package/dist/admin/customer.js.map +1 -1
- package/dist/admin/exchange.d.ts +471 -16
- package/dist/admin/exchange.d.ts.map +1 -1
- package/dist/admin/exchange.js +455 -0
- package/dist/admin/exchange.js.map +1 -1
- package/dist/admin/fulfillment-provider.d.ts +47 -0
- package/dist/admin/fulfillment-provider.d.ts.map +1 -1
- package/dist/admin/fulfillment-provider.js +47 -0
- package/dist/admin/fulfillment-provider.js.map +1 -1
- package/dist/esm/admin/api-key.d.ts +144 -1
- package/dist/esm/admin/api-key.d.ts.map +1 -1
- package/dist/esm/admin/api-key.js +143 -0
- package/dist/esm/admin/api-key.js.map +1 -1
- package/dist/esm/admin/campaign.d.ts +135 -0
- package/dist/esm/admin/campaign.d.ts.map +1 -1
- package/dist/esm/admin/campaign.js +135 -0
- package/dist/esm/admin/campaign.js.map +1 -1
- package/dist/esm/admin/claim.d.ts +542 -19
- package/dist/esm/admin/claim.d.ts.map +1 -1
- package/dist/esm/admin/claim.js +523 -0
- package/dist/esm/admin/claim.js.map +1 -1
- package/dist/esm/admin/currency.d.ts +80 -1
- package/dist/esm/admin/currency.d.ts.map +1 -1
- package/dist/esm/admin/currency.js +81 -2
- package/dist/esm/admin/currency.js.map +1 -1
- package/dist/esm/admin/customer-group.d.ts +152 -2
- package/dist/esm/admin/customer-group.d.ts.map +1 -1
- package/dist/esm/admin/customer-group.js +150 -0
- package/dist/esm/admin/customer-group.js.map +1 -1
- package/dist/esm/admin/customer.d.ts +135 -13
- package/dist/esm/admin/customer.d.ts.map +1 -1
- package/dist/esm/admin/customer.js +130 -0
- package/dist/esm/admin/customer.js.map +1 -1
- package/dist/esm/admin/exchange.d.ts +471 -16
- package/dist/esm/admin/exchange.d.ts.map +1 -1
- package/dist/esm/admin/exchange.js +455 -0
- package/dist/esm/admin/exchange.js.map +1 -1
- package/dist/esm/admin/fulfillment-provider.d.ts +47 -0
- package/dist/esm/admin/fulfillment-provider.d.ts.map +1 -1
- package/dist/esm/admin/fulfillment-provider.js +47 -0
- package/dist/esm/admin/fulfillment-provider.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/admin/claim.js
CHANGED
@@ -14,6 +14,52 @@ export class Claim {
|
|
14
14
|
constructor(client) {
|
15
15
|
this.client = client;
|
16
16
|
}
|
17
|
+
/**
|
18
|
+
* This method retrieves a paginated list of claims. It sends a request to the
|
19
|
+
* [List Claims](https://docs.medusajs.com/v2/api/admin#claims_getclaims) API route.
|
20
|
+
*
|
21
|
+
* @param query - Filters and pagination configurations.
|
22
|
+
* @param headers - Headers to pass in the request.
|
23
|
+
* @returns The paginated list of claims.
|
24
|
+
*
|
25
|
+
* @example
|
26
|
+
* To retrieve the list of claims:
|
27
|
+
*
|
28
|
+
* ```ts
|
29
|
+
* sdk.admin.claim.list()
|
30
|
+
* .then(({ claims, count, limit, offset }) => {
|
31
|
+
* console.log(claims)
|
32
|
+
* })
|
33
|
+
* ```
|
34
|
+
*
|
35
|
+
* To configure the pagination, pass the `limit` and `offset` query parameters.
|
36
|
+
*
|
37
|
+
* For example, to retrieve only 10 items and skip 10 items:
|
38
|
+
*
|
39
|
+
* ```ts
|
40
|
+
* sdk.admin.claim.list({
|
41
|
+
* limit: 10,
|
42
|
+
* offset: 10
|
43
|
+
* })
|
44
|
+
* .then(({ claims, count, limit, offset }) => {
|
45
|
+
* console.log(claims)
|
46
|
+
* })
|
47
|
+
* ```
|
48
|
+
*
|
49
|
+
* Using the `fields` query parameter, you can specify the fields and relations to retrieve
|
50
|
+
* in each claim:
|
51
|
+
*
|
52
|
+
* ```ts
|
53
|
+
* sdk.admin.claim.list({
|
54
|
+
* fields: "id,*additional_items"
|
55
|
+
* })
|
56
|
+
* .then(({ claims, count, limit, offset }) => {
|
57
|
+
* console.log(claims)
|
58
|
+
* })
|
59
|
+
* ```
|
60
|
+
*
|
61
|
+
* Learn more about the `fields` property in the [API reference](https://docs.medusajs.com/v2/api/store#select-fields-and-relations).
|
62
|
+
*/
|
17
63
|
list(query, headers) {
|
18
64
|
return __awaiter(this, void 0, void 0, function* () {
|
19
65
|
return yield this.client.fetch(`/admin/claims`, {
|
@@ -22,6 +68,38 @@ export class Claim {
|
|
22
68
|
});
|
23
69
|
});
|
24
70
|
}
|
71
|
+
/**
|
72
|
+
* This method retrieves a claim. It sends a request to the
|
73
|
+
* [Get Claim](https://docs.medusajs.com/v2/api/admin#claims_getclaimsid) API route.
|
74
|
+
*
|
75
|
+
* @param id - The claim's ID.
|
76
|
+
* @param query - Configure the fields to retrieve in the claim.
|
77
|
+
* @param headers - Headers to pass in the request
|
78
|
+
* @returns The claim's details.
|
79
|
+
*
|
80
|
+
* @example
|
81
|
+
* To retrieve a claim by its ID:
|
82
|
+
*
|
83
|
+
* ```ts
|
84
|
+
* sdk.admin.claim.retrieve("claim_123")
|
85
|
+
* .then(({ claim }) => {
|
86
|
+
* console.log(claim)
|
87
|
+
* })
|
88
|
+
* ```
|
89
|
+
*
|
90
|
+
* To specify the fields and relations to retrieve:
|
91
|
+
*
|
92
|
+
* ```ts
|
93
|
+
* sdk.admin.claim.retrieve("claim_123", {
|
94
|
+
* fields: "id,*additional_items"
|
95
|
+
* })
|
96
|
+
* .then(({ claim }) => {
|
97
|
+
* console.log(claim)
|
98
|
+
* })
|
99
|
+
* ```
|
100
|
+
*
|
101
|
+
* Learn more about the `fields` property in the [API reference](https://docs.medusajs.com/v2/api/store#select-fields-and-relations).
|
102
|
+
*/
|
25
103
|
retrieve(id, query, headers) {
|
26
104
|
return __awaiter(this, void 0, void 0, function* () {
|
27
105
|
return yield this.client.fetch(`/admin/claims/${id}`, {
|
@@ -30,6 +108,24 @@ export class Claim {
|
|
30
108
|
});
|
31
109
|
});
|
32
110
|
}
|
111
|
+
/**
|
112
|
+
* This method creates a claim. It sends a request to the
|
113
|
+
* [Create Claim](https://docs.medusajs.com/v2/api/admin#claims_postclaims) API route.
|
114
|
+
*
|
115
|
+
* @param body - The claim's details.
|
116
|
+
* @param query - Configure the fields to retrieve in the claim.
|
117
|
+
* @param headers - Headers to pass in the request
|
118
|
+
* @returns The claim and order's details.
|
119
|
+
*
|
120
|
+
* @example
|
121
|
+
* sdk.admin.claim.create({
|
122
|
+
* type: "refund",
|
123
|
+
* order_id: "order_123",
|
124
|
+
* })
|
125
|
+
* .then(({ claim }) => {
|
126
|
+
* console.log(claim)
|
127
|
+
* })
|
128
|
+
*/
|
33
129
|
create(body, query, headers) {
|
34
130
|
return __awaiter(this, void 0, void 0, function* () {
|
35
131
|
return yield this.client.fetch(`/admin/claims`, {
|
@@ -40,6 +136,21 @@ export class Claim {
|
|
40
136
|
});
|
41
137
|
});
|
42
138
|
}
|
139
|
+
/**
|
140
|
+
* This method cancels a claim. It sends a request to the
|
141
|
+
* [Cancel Claim](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidcancel) API route.
|
142
|
+
*
|
143
|
+
* @param id - The claim's ID.
|
144
|
+
* @param query - Configure the fields to retrieve in the claim.
|
145
|
+
* @param headers - Headers to pass in the request
|
146
|
+
* @returns The claim's details.
|
147
|
+
*
|
148
|
+
* @example
|
149
|
+
* sdk.admin.claim.cancel("claim_123")
|
150
|
+
* .then(({ claim }) => {
|
151
|
+
* console.log(claim)
|
152
|
+
* })
|
153
|
+
*/
|
43
154
|
cancel(id, query, headers) {
|
44
155
|
return __awaiter(this, void 0, void 0, function* () {
|
45
156
|
return yield this.client.fetch(`/admin/claims/${id}/cancel`, {
|
@@ -49,6 +160,29 @@ export class Claim {
|
|
49
160
|
});
|
50
161
|
});
|
51
162
|
}
|
163
|
+
/**
|
164
|
+
* This method adds items to the claim. It sends a request to the
|
165
|
+
* [Add Items](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidclaimitems) API route.
|
166
|
+
*
|
167
|
+
* @param id - The ID of the claim to add the items to.
|
168
|
+
* @param body - The items' details.
|
169
|
+
* @param query - Configure the fields to retrieve in the claim.
|
170
|
+
* @param headers - Headers to pass in the request
|
171
|
+
* @returns The claim's details with a preview of the order when the claim is applied.
|
172
|
+
*
|
173
|
+
* @example
|
174
|
+
* sdk.admin.claim.addItems("claim_123", {
|
175
|
+
* items: [
|
176
|
+
* {
|
177
|
+
* id: "orli_123",
|
178
|
+
* quantity: 1
|
179
|
+
* }
|
180
|
+
* ]
|
181
|
+
* })
|
182
|
+
* .then(({ claim }) => {
|
183
|
+
* console.log(claim)
|
184
|
+
* })
|
185
|
+
*/
|
52
186
|
addItems(id, body, query, headers) {
|
53
187
|
return __awaiter(this, void 0, void 0, function* () {
|
54
188
|
return yield this.client.fetch(`/admin/claims/${id}/claim-items`, {
|
@@ -59,6 +193,32 @@ export class Claim {
|
|
59
193
|
});
|
60
194
|
});
|
61
195
|
}
|
196
|
+
/**
|
197
|
+
* This method updates a claim item by the ID of the item's `WRITE_OFF_ITEM` action. It
|
198
|
+
* sends a request to the [Update Claim Item](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidclaimitemsaction_id) API route.
|
199
|
+
*
|
200
|
+
* Every item has an `actions` property, whose value is an array of actions.
|
201
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
202
|
+
*
|
203
|
+
* @param id - The claim's ID.
|
204
|
+
* @param actionId - The id of the order item's `WRITE_OFF_ITEM` action.
|
205
|
+
* @param body - The details to update.
|
206
|
+
* @param query - Configure the fields to retrieve in the claim.
|
207
|
+
* @param headers - Headers to pass in the request
|
208
|
+
* @returns The claim's details with a preview of the order when the claim is applied.
|
209
|
+
*
|
210
|
+
* @example
|
211
|
+
* sdk.admin.claim.updateItem(
|
212
|
+
* "claim_123",
|
213
|
+
* "ordchact_123",
|
214
|
+
* {
|
215
|
+
* quantity: 1
|
216
|
+
* }
|
217
|
+
* )
|
218
|
+
* .then(({ claim }) => {
|
219
|
+
* console.log(claim)
|
220
|
+
* })
|
221
|
+
*/
|
62
222
|
updateItem(id, actionId, body, query, headers) {
|
63
223
|
return __awaiter(this, void 0, void 0, function* () {
|
64
224
|
return yield this.client.fetch(`/admin/claims/${id}/claim-items/${actionId}`, {
|
@@ -69,6 +229,29 @@ export class Claim {
|
|
69
229
|
});
|
70
230
|
});
|
71
231
|
}
|
232
|
+
/**
|
233
|
+
* This method removes a claim item from a claim by the ID of the item's `WRITE_OFF_ITEM` action.
|
234
|
+
* It sends a request to the [Remove Claim Item](https://docs.medusajs.com/v2/api/admin#claims_deleteclaimsidclaimitemsaction_id)
|
235
|
+
* API route.
|
236
|
+
*
|
237
|
+
* Every item has an `actions` property, whose value is an array of actions.
|
238
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
239
|
+
*
|
240
|
+
* @param id - The claim's ID.
|
241
|
+
* @param actionId - The id of the order item's `WRITE_OFF_ITEM` action.
|
242
|
+
* @param query - Configure the fields to retrieve in the claim.
|
243
|
+
* @param headers - Headers to pass in the request
|
244
|
+
* @returns The claim's details with a preview of the order when the claim is applied.
|
245
|
+
*
|
246
|
+
* @example
|
247
|
+
* sdk.admin.claim.removeItem(
|
248
|
+
* "claim_123",
|
249
|
+
* "ordchact_123",
|
250
|
+
* )
|
251
|
+
* .then(({ claim }) => {
|
252
|
+
* console.log(claim)
|
253
|
+
* })
|
254
|
+
*/
|
72
255
|
removeItem(id, actionId, query, headers) {
|
73
256
|
return __awaiter(this, void 0, void 0, function* () {
|
74
257
|
return yield this.client.fetch(`/admin/claims/${id}/claim-items/${actionId}`, {
|
@@ -78,6 +261,34 @@ export class Claim {
|
|
78
261
|
});
|
79
262
|
});
|
80
263
|
}
|
264
|
+
/**
|
265
|
+
* This method adds inbound (or return) items to the claim. These inbound items will have a `RETURN_ITEM` action.
|
266
|
+
*
|
267
|
+
* This method sends a request to the [Add Inbound Items](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidinbounditems)
|
268
|
+
* API route.
|
269
|
+
*
|
270
|
+
* @param id - The ID of the claim to add the inbound items to.
|
271
|
+
* @param body - The inbound items' details.
|
272
|
+
* @param query - Configure the fields to retrieve in the return.
|
273
|
+
* @param headers - Headers to pass in the request
|
274
|
+
* @returns The details of the return associated with the claim, with a preview of the order when the claim is applied.
|
275
|
+
*
|
276
|
+
* @example
|
277
|
+
* sdk.admin.claim.addInboundItems(
|
278
|
+
* "claim_123",
|
279
|
+
* {
|
280
|
+
* items: [
|
281
|
+
* {
|
282
|
+
* id: "orli_123",
|
283
|
+
* quantity: 1
|
284
|
+
* }
|
285
|
+
* ]
|
286
|
+
* },
|
287
|
+
* )
|
288
|
+
* .then(({ return: returnData }) => {
|
289
|
+
* console.log(returnData)
|
290
|
+
* })
|
291
|
+
*/
|
81
292
|
addInboundItems(id, body, query, headers) {
|
82
293
|
return __awaiter(this, void 0, void 0, function* () {
|
83
294
|
return yield this.client.fetch(`/admin/claims/${id}/inbound/items`, {
|
@@ -88,6 +299,33 @@ export class Claim {
|
|
88
299
|
});
|
89
300
|
});
|
90
301
|
}
|
302
|
+
/**
|
303
|
+
* This method updates an inbound (or return) item of a claim using the ID of the item's `RETURN_ITEM` action.
|
304
|
+
* It sends a request to the [Update Inbound Item](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidinbounditemsaction_id)
|
305
|
+
* API route.
|
306
|
+
*
|
307
|
+
* Every item has an `actions` property, whose value is an array of actions.
|
308
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
309
|
+
*
|
310
|
+
* @param id - The claim's ID.
|
311
|
+
* @param actionId - The id of the return item's `RETURN_ITEM` action.
|
312
|
+
* @param body - The details to update in the inbound item.
|
313
|
+
* @param query - Configure the fields to retrieve in the return.
|
314
|
+
* @param headers - Headers to pass in the request
|
315
|
+
* @returns The details of the return associated wth the claim, with a preview of the order when the claim is applied.
|
316
|
+
*
|
317
|
+
* @example
|
318
|
+
* sdk.admin.claim.updateInboundItem(
|
319
|
+
* "claim_123",
|
320
|
+
* "ordchact_123",
|
321
|
+
* {
|
322
|
+
* quantity: 1
|
323
|
+
* },
|
324
|
+
* )
|
325
|
+
* .then(({ return: returnData }) => {
|
326
|
+
* console.log(returnData)
|
327
|
+
* })
|
328
|
+
*/
|
91
329
|
updateInboundItem(id, actionId, body, query, headers) {
|
92
330
|
return __awaiter(this, void 0, void 0, function* () {
|
93
331
|
return yield this.client.fetch(`/admin/claims/${id}/inbound/items/${actionId}`, {
|
@@ -98,6 +336,29 @@ export class Claim {
|
|
98
336
|
});
|
99
337
|
});
|
100
338
|
}
|
339
|
+
/**
|
340
|
+
* This method removes an inbound (or return) item from a claim using the ID of the item's `RETURN_ITEM` action.
|
341
|
+
* It sends a request to the [Remove Inbound Item](https://docs.medusajs.com/v2/api/admin#claims_deleteclaimsidinbounditemsaction_id)
|
342
|
+
* API route.
|
343
|
+
*
|
344
|
+
* Every item has an `actions` property, whose value is an array of actions.
|
345
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
346
|
+
*
|
347
|
+
* @param id - The claim's ID.
|
348
|
+
* @param actionId - The ID of the return item's `RETURN_ITEM` action.
|
349
|
+
* @param query - Configure the fields to retrieve in the return.
|
350
|
+
* @param headers - Headers to pass in the request
|
351
|
+
* @returns The details of the return associated wth the claim, with a preview of the order when the claim is applied.
|
352
|
+
*
|
353
|
+
* @example
|
354
|
+
* sdk.admin.claim.removeInboundItem(
|
355
|
+
* "claim_123",
|
356
|
+
* "ordchact_123",
|
357
|
+
* )
|
358
|
+
* .then(({ return: returnData }) => {
|
359
|
+
* console.log(returnData)
|
360
|
+
* })
|
361
|
+
*/
|
101
362
|
removeInboundItem(id, actionId, query, headers) {
|
102
363
|
return __awaiter(this, void 0, void 0, function* () {
|
103
364
|
return yield this.client.fetch(`/admin/claims/${id}/inbound/items/${actionId}`, {
|
@@ -107,6 +368,31 @@ export class Claim {
|
|
107
368
|
});
|
108
369
|
});
|
109
370
|
}
|
371
|
+
/**
|
372
|
+
* This method adds an inbound (or return) shipping method to a claim.
|
373
|
+
* The inbound shipping method will have a `SHIPPING_ADD` action.
|
374
|
+
*
|
375
|
+
* This method sends a request to the [Add Inbound Shipping](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidinboundshippingmethod)
|
376
|
+
* API route.
|
377
|
+
*
|
378
|
+
* @param id - The claim's ID.
|
379
|
+
* @param body - The shipping method's details.
|
380
|
+
* @param query - Configure the fields to retrieve in the return.
|
381
|
+
* @param headers - Headers to pass in the request
|
382
|
+
* @returns The details of the return associated wth the claim, with a preview of the order when the claim is applied.
|
383
|
+
*
|
384
|
+
* @example
|
385
|
+
* sdk.admin.claim.addInboundShipping(
|
386
|
+
* "claim_123",
|
387
|
+
* {
|
388
|
+
* shipping_option_id: "so_123",
|
389
|
+
* custom_amount: 10
|
390
|
+
* },
|
391
|
+
* )
|
392
|
+
* .then(({ return: returnData }) => {
|
393
|
+
* console.log(returnData)
|
394
|
+
* })
|
395
|
+
*/
|
110
396
|
addInboundShipping(id, body, query, headers) {
|
111
397
|
return __awaiter(this, void 0, void 0, function* () {
|
112
398
|
return yield this.client.fetch(`/admin/claims/${id}/inbound/shipping-method`, {
|
@@ -117,6 +403,33 @@ export class Claim {
|
|
117
403
|
});
|
118
404
|
});
|
119
405
|
}
|
406
|
+
/**
|
407
|
+
* This method updates a shipping method for returning items in the claim using the ID of the method's `SHIPPING_ADD` action.
|
408
|
+
* It sends a request to the [Update Inbound Shipping](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidinboundshippingmethodaction_id)
|
409
|
+
* API route.
|
410
|
+
*
|
411
|
+
* Every shipping method has an `actions` property, whose value is an array of actions.
|
412
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
413
|
+
*
|
414
|
+
* @param id - The claim's ID.
|
415
|
+
* @param actionId - The id of the shipping method's `SHIPPING_ADD` action.
|
416
|
+
* @param body - The details to update in the shipping method
|
417
|
+
* @param query - Configure the fields to retrieve in the claim.
|
418
|
+
* @param headers - Headers to pass in the request
|
419
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
420
|
+
*
|
421
|
+
* @example
|
422
|
+
* sdk.admin.claim.updateInboundShipping(
|
423
|
+
* "claim_123",
|
424
|
+
* "ordchact_123",
|
425
|
+
* {
|
426
|
+
* custom_amount: 10
|
427
|
+
* },
|
428
|
+
* )
|
429
|
+
* .then(({ claim }) => {
|
430
|
+
* console.log(claim)
|
431
|
+
* })
|
432
|
+
*/
|
120
433
|
updateInboundShipping(id, actionId, body, query, headers) {
|
121
434
|
return __awaiter(this, void 0, void 0, function* () {
|
122
435
|
return yield this.client.fetch(`/admin/claims/${id}/inbound/shipping-method/${actionId}`, {
|
@@ -127,6 +440,29 @@ export class Claim {
|
|
127
440
|
});
|
128
441
|
});
|
129
442
|
}
|
443
|
+
/**
|
444
|
+
* This method deletes a shipping method for returning items in the claim using the ID of the method's `SHIPPING_ADD` action.
|
445
|
+
* It sends a request to the [Remove Inbound Shipping](https://docs.medusajs.com/v2/api/admin#claims_deleteclaimsidinboundshippingmethodaction_id)
|
446
|
+
* API route.
|
447
|
+
*
|
448
|
+
* Every shipping method has an `actions` property, whose value is an array of actions.
|
449
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
450
|
+
*
|
451
|
+
* @param id - The claim's ID.
|
452
|
+
* @param actionId - The id of the shipping method's `SHIPPING_ADD` action.
|
453
|
+
* @param query - Configure the fields to retrieve in the return.
|
454
|
+
* @param headers - Headers to pass in the request
|
455
|
+
* @returns The details of the return associated wth the claim, with a preview of the order when the claim is applied.
|
456
|
+
*
|
457
|
+
* @example
|
458
|
+
* sdk.admin.claim.deleteInboundShipping(
|
459
|
+
* "claim_123",
|
460
|
+
* "ordchact_123",
|
461
|
+
* )
|
462
|
+
* .then(({ return: returnData }) => {
|
463
|
+
* console.log(returnData)
|
464
|
+
* })
|
465
|
+
*/
|
130
466
|
deleteInboundShipping(id, actionId, query, headers) {
|
131
467
|
return __awaiter(this, void 0, void 0, function* () {
|
132
468
|
return yield this.client.fetch(`/admin/claims/${id}/inbound/shipping-method/${actionId}`, {
|
@@ -136,6 +472,31 @@ export class Claim {
|
|
136
472
|
});
|
137
473
|
});
|
138
474
|
}
|
475
|
+
/**
|
476
|
+
* This method adds outbound (or new) items to a claim. These outbound items will have an `ITEM_ADD` action.
|
477
|
+
* It sends a request to the [Add Outbound Items](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidoutbounditems)
|
478
|
+
* API route.
|
479
|
+
*
|
480
|
+
* @param id - The ID of the claim to add the outbound items to.
|
481
|
+
* @param body - The items' details.
|
482
|
+
* @param query - Configure the fields to retrieve in the claim.
|
483
|
+
* @param headers - Headers to pass in the request
|
484
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
485
|
+
*
|
486
|
+
* @example
|
487
|
+
* sdk.admin.claim.addOutboundItems(
|
488
|
+
* "claim_123",
|
489
|
+
* {
|
490
|
+
* items: [{
|
491
|
+
* id: "orli_123",
|
492
|
+
* quantity: 1
|
493
|
+
* }]
|
494
|
+
* },
|
495
|
+
* )
|
496
|
+
* .then(({ claim }) => {
|
497
|
+
* console.log(claim)
|
498
|
+
* })
|
499
|
+
*/
|
139
500
|
addOutboundItems(id, body, query, headers) {
|
140
501
|
return __awaiter(this, void 0, void 0, function* () {
|
141
502
|
return yield this.client.fetch(`/admin/claims/${id}/outbound/items`, {
|
@@ -146,6 +507,33 @@ export class Claim {
|
|
146
507
|
});
|
147
508
|
});
|
148
509
|
}
|
510
|
+
/**
|
511
|
+
* This method updates an outbound (or new) item of a claim using the ID of the item's `ITEM_ADD` action.
|
512
|
+
* It sends a request to the [Update Outbound Item](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidoutbounditemsaction_id)
|
513
|
+
* API route.
|
514
|
+
*
|
515
|
+
* Every item has an `actions` property, whose value is an array of actions.
|
516
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
517
|
+
*
|
518
|
+
* @param id - The claim's ID.
|
519
|
+
* @param actionId - The id of the new claim item's `ITEM_ADD` action.
|
520
|
+
* @param body - The item's details.
|
521
|
+
* @param query - Configure the fields to retrieve in the claim.
|
522
|
+
* @param headers - Headers to pass in the request
|
523
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
524
|
+
*
|
525
|
+
* @example
|
526
|
+
* sdk.admin.claim.updateOutboundItem(
|
527
|
+
* "claim_123",
|
528
|
+
* "ordchact_123",
|
529
|
+
* {
|
530
|
+
* quantity: 1
|
531
|
+
* },
|
532
|
+
* )
|
533
|
+
* .then(({ claim }) => {
|
534
|
+
* console.log(claim)
|
535
|
+
* })
|
536
|
+
*/
|
149
537
|
updateOutboundItem(id, actionId, body, query, headers) {
|
150
538
|
return __awaiter(this, void 0, void 0, function* () {
|
151
539
|
return yield this.client.fetch(`/admin/claims/${id}/outbound/items/${actionId}`, {
|
@@ -156,6 +544,29 @@ export class Claim {
|
|
156
544
|
});
|
157
545
|
});
|
158
546
|
}
|
547
|
+
/**
|
548
|
+
* This method removes an outbound (or new) item from a claim using the ID of the item's `ITEM_ADD` action.
|
549
|
+
* It sends a request to the [Remove Outbound Item](https://docs.medusajs.com/v2/api/admin#claims_deleteclaimsidoutbounditemsaction_id)
|
550
|
+
* API route.
|
551
|
+
*
|
552
|
+
* Every item has an `actions` property, whose value is an array of actions.
|
553
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
554
|
+
*
|
555
|
+
* @param id - The claim's ID.
|
556
|
+
* @param actionId - The id of the new claim item's `ITEM_ADD` action.
|
557
|
+
* @param query - Configure the fields to retrieve in the claim.
|
558
|
+
* @param headers - Headers to pass in the request
|
559
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
560
|
+
*
|
561
|
+
* @example
|
562
|
+
* sdk.admin.claim.removeOutboundItem(
|
563
|
+
* "claim_123",
|
564
|
+
* "ordchact_123",
|
565
|
+
* )
|
566
|
+
* .then(({ claim }) => {
|
567
|
+
* console.log(claim)
|
568
|
+
* })
|
569
|
+
*/
|
159
570
|
removeOutboundItem(id, actionId, query, headers) {
|
160
571
|
return __awaiter(this, void 0, void 0, function* () {
|
161
572
|
return yield this.client.fetch(`/admin/claims/${id}/outbound/items/${actionId}`, {
|
@@ -165,6 +576,32 @@ export class Claim {
|
|
165
576
|
});
|
166
577
|
});
|
167
578
|
}
|
579
|
+
/**
|
580
|
+
* This method adds outbound an outbound shipping method to a claim.
|
581
|
+
* The outbound shipping method will have a `SHIPPING_ADD` action.
|
582
|
+
*
|
583
|
+
* This method sends a request to the
|
584
|
+
* [Add Outbound Shipping](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidoutboundshippingmethod)
|
585
|
+
* API route.
|
586
|
+
*
|
587
|
+
* @param id - The claim's ID.
|
588
|
+
* @param body - The shipping method's details.
|
589
|
+
* @param query - Configure the fields to retrieve in the claim.
|
590
|
+
* @param headers - Headers to pass in the request
|
591
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
592
|
+
*
|
593
|
+
* @example
|
594
|
+
* * sdk.admin.claim.addOutboundShipping(
|
595
|
+
* "claim_123",
|
596
|
+
* {
|
597
|
+
* shipping_option_id: "so_123",
|
598
|
+
* custom_amount: 10
|
599
|
+
* },
|
600
|
+
* )
|
601
|
+
* .then(({ claim }) => {
|
602
|
+
* console.log(claim)
|
603
|
+
* })
|
604
|
+
*/
|
168
605
|
addOutboundShipping(id, body, query, headers) {
|
169
606
|
return __awaiter(this, void 0, void 0, function* () {
|
170
607
|
return yield this.client.fetch(`/admin/claims/${id}/outbound/shipping-method`, {
|
@@ -175,6 +612,33 @@ export class Claim {
|
|
175
612
|
});
|
176
613
|
});
|
177
614
|
}
|
615
|
+
/**
|
616
|
+
* This method updates the shipping method for delivering outbound items in a claim using the ID of the method's `SHIPPING_ADD` action.
|
617
|
+
* It sends a request to the [Update Outbound Shipping](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidoutboundshippingmethodaction_id)
|
618
|
+
* API route.
|
619
|
+
*
|
620
|
+
* Every shipping method has an `actions` property, whose value is an array of actions.
|
621
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
622
|
+
*
|
623
|
+
* @param id - The claim's ID.
|
624
|
+
* @param actionId - The id of the shipping method's `SHIPPING_ADD` action.
|
625
|
+
* @param body - The shipping method's details.
|
626
|
+
* @param query - Configure the fields to retrieve in the claim.
|
627
|
+
* @param headers - Headers to pass in the request
|
628
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
629
|
+
*
|
630
|
+
* @example
|
631
|
+
* sdk.admin.claim.updateOutboundShipping(
|
632
|
+
* "claim_123",
|
633
|
+
* "ordchact_123",
|
634
|
+
* {
|
635
|
+
* custom_amount: 10
|
636
|
+
* },
|
637
|
+
* )
|
638
|
+
* .then(({ claim }) => {
|
639
|
+
* console.log(claim)
|
640
|
+
* })
|
641
|
+
*/
|
178
642
|
updateOutboundShipping(id, actionId, body, query, headers) {
|
179
643
|
return __awaiter(this, void 0, void 0, function* () {
|
180
644
|
return yield this.client.fetch(`/admin/claims/${id}/outbound/shipping-method/${actionId}`, {
|
@@ -185,6 +649,27 @@ export class Claim {
|
|
185
649
|
});
|
186
650
|
});
|
187
651
|
}
|
652
|
+
/**
|
653
|
+
* This method deletes the shipping method for delivering outbound items in the claim using the ID of the method's `SHIPPING_ADD` action.
|
654
|
+
*
|
655
|
+
* Every shipping method has an `actions` property, whose value is an array of actions.
|
656
|
+
* You can check the action's name using its `action` property, and use the value of the `id` property.
|
657
|
+
*
|
658
|
+
* @param id - The claim's ID.
|
659
|
+
* @param actionId - The id of the shipping method's `SHIPPING_ADD` action.
|
660
|
+
* @param query - Configure the fields to retrieve in the claim.
|
661
|
+
* @param headers - Headers to pass in the request
|
662
|
+
* @returns The details of the claim, with a preview of the order when the claim is applied.
|
663
|
+
*
|
664
|
+
* @example
|
665
|
+
* sdk.admin.claim.deleteOutboundShipping(
|
666
|
+
* "claim_123",
|
667
|
+
* "ordchact_123",
|
668
|
+
* )
|
669
|
+
* .then(({ claim }) => {
|
670
|
+
* console.log(claim)
|
671
|
+
* })
|
672
|
+
*/
|
188
673
|
deleteOutboundShipping(id, actionId, query, headers) {
|
189
674
|
return __awaiter(this, void 0, void 0, function* () {
|
190
675
|
return yield this.client.fetch(`/admin/claims/${id}/outbound/shipping-method/${actionId}`, {
|
@@ -194,6 +679,26 @@ export class Claim {
|
|
194
679
|
});
|
195
680
|
});
|
196
681
|
}
|
682
|
+
/**
|
683
|
+
* This method confirms a claim request, applying its changes on the associated order.
|
684
|
+
* It sends a request to the [Confirm Claim Request](https://docs.medusajs.com/v2/api/admin#claims_postclaimsidrequest)
|
685
|
+
* API route.
|
686
|
+
*
|
687
|
+
* @param id - The claim's ID.
|
688
|
+
* @param body - The confirmation details.
|
689
|
+
* @param query - Configure the fields to retrieve in the claim.
|
690
|
+
* @param headers - Headers to pass in the request
|
691
|
+
* @returns The details of the claim and its associated return, with a preview of the order when the claim is applied.
|
692
|
+
*
|
693
|
+
* @example
|
694
|
+
* sdk.admin.claim.request(
|
695
|
+
* "claim_123",
|
696
|
+
* {},
|
697
|
+
* )
|
698
|
+
* .then(({ claim }) => {
|
699
|
+
* console.log(claim)
|
700
|
+
* })
|
701
|
+
*/
|
197
702
|
request(id, body, query, headers) {
|
198
703
|
return __awaiter(this, void 0, void 0, function* () {
|
199
704
|
return yield this.client.fetch(`/admin/claims/${id}/request`, {
|
@@ -204,6 +709,24 @@ export class Claim {
|
|
204
709
|
});
|
205
710
|
});
|
206
711
|
}
|
712
|
+
/**
|
713
|
+
* This method cancels a requested claim. It sends a request to the
|
714
|
+
* [Cancel Claim Request](https://docs.medusajs.com/v2/api/admin#claims_deleteclaimsidrequest)
|
715
|
+
* API route.
|
716
|
+
*
|
717
|
+
* @param id - The claim's ID.
|
718
|
+
* @param query - Configure the fields to retrieve in the claim.
|
719
|
+
* @param headers - Headers to pass in the request
|
720
|
+
* @returns The cancelation's details.
|
721
|
+
*
|
722
|
+
* @example
|
723
|
+
* sdk.admin.claim.cancelRequest(
|
724
|
+
* "claim_123",
|
725
|
+
* )
|
726
|
+
* .then(({ deleted }) => {
|
727
|
+
* console.log(deleted)
|
728
|
+
* })
|
729
|
+
*/
|
207
730
|
cancelRequest(id, query, headers) {
|
208
731
|
return __awaiter(this, void 0, void 0, function* () {
|
209
732
|
return yield this.client.fetch(`/admin/claims/${id}/request`, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"claim.js","sourceRoot":"","sources":["../../../src/admin/claim.ts"],"names":[],"mappings":";;;;;;;;;AAKA,MAAM,OAAO,KAAK;IAKhB;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;
|
1
|
+
{"version":3,"file":"claim.js","sourceRoot":"","sources":["../../../src/admin/claim.ts"],"names":[],"mappings":";;;;;;;;;AAKA,MAAM,OAAO,KAAK;IAKhB;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACG,IAAI,CAAC,KAAsC,EAAE,OAAuB;;YACxE,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,C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