@whiplashmerch/whiplash-api-client 0.4.76 → 0.4.78
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/dist/client.esm.js +18494 -2141
- package/dist/client.esm.js.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/search.d.ts +9 -0
- package/dist/generated/AccountTransactions.d.ts +56 -0
- package/dist/generated/Accounts.d.ts +171 -0
- package/dist/generated/Allocations.d.ts +38 -0
- package/dist/generated/Broadcasts.d.ts +164 -0
- package/dist/generated/Cache.d.ts +56 -0
- package/dist/generated/CarrierAccounts.d.ts +191 -0
- package/dist/generated/Carriers.d.ts +20 -0
- package/dist/generated/Chromalists.d.ts +56 -0
- package/dist/generated/ConsumerReturns.d.ts +89 -1
- package/dist/generated/Currencies.d.ts +56 -0
- package/dist/generated/Customers.d.ts +172 -1
- package/dist/generated/CustomsInfos.d.ts +56 -0
- package/dist/generated/Dashboards.d.ts +38 -0
- package/dist/generated/Documents.d.ts +37 -1
- package/dist/generated/ExtApp.d.ts +30 -0
- package/dist/generated/FilterSets.d.ts +288 -0
- package/dist/generated/ImporterOfRecords.d.ts +92 -0
- package/dist/generated/Incidents.d.ts +128 -0
- package/dist/generated/InvoiceItems.d.ts +56 -0
- package/dist/generated/Invoices.d.ts +110 -0
- package/dist/generated/Items.d.ts +260 -1
- package/dist/generated/Locales.d.ts +19 -0
- package/dist/generated/LocationAdjustments.d.ts +65 -0
- package/dist/generated/LocationAudits.d.ts +162 -0
- package/dist/generated/LocationTransfers.d.ts +162 -0
- package/dist/generated/Locations.d.ts +207 -0
- package/dist/generated/Lots.d.ts +119 -0
- package/dist/generated/Manifests.d.ts +128 -0
- package/dist/generated/Me.d.ts +20 -0
- package/dist/generated/Nav.d.ts +20 -0
- package/dist/generated/NavItems.d.ts +20 -0
- package/dist/generated/OrderBatchItems.d.ts +54 -0
- package/dist/generated/OrderBatchRequests.d.ts +38 -0
- package/dist/generated/OrderBatches.d.ts +315 -0
- package/dist/generated/OrderDocuments.d.ts +37 -0
- package/dist/generated/OrderItems.d.ts +98 -1
- package/dist/generated/OrderTotes.d.ts +20 -0
- package/dist/generated/Orders.d.ts +468 -1
- package/dist/generated/Originators.d.ts +28 -1
- package/dist/generated/Packages.d.ts +205 -0
- package/dist/generated/Partners.d.ts +110 -0
- package/dist/generated/Prepacks.d.ts +11 -0
- package/dist/generated/ProjectTasks.d.ts +56 -0
- package/dist/generated/Projects.d.ts +163 -1
- package/dist/generated/Rates.d.ts +119 -0
- package/dist/generated/ReasonCodes.d.ts +20 -0
- package/dist/generated/ReturnAddresses.d.ts +92 -0
- package/dist/generated/RuleDismissals.d.ts +19 -0
- package/dist/generated/Rules.d.ts +155 -0
- package/dist/generated/Scancodes.d.ts +20 -0
- package/dist/generated/SerialNumbers.d.ts +56 -0
- package/dist/generated/ShipnoticeItems.d.ts +197 -1
- package/dist/generated/Shipnotices.d.ts +242 -1
- package/dist/generated/ShippingAliases.d.ts +119 -0
- package/dist/generated/ShippingBlacklistedMethods.d.ts +110 -0
- package/dist/generated/ShippingMethodMarkups.d.ts +11 -0
- package/dist/generated/ShippingMethods.d.ts +110 -0
- package/dist/generated/Shops.d.ts +47 -0
- package/dist/generated/Stats.d.ts +54 -0
- package/dist/generated/SurchargeMarkups.d.ts +56 -0
- package/dist/generated/TemplateTypes.d.ts +20 -0
- package/dist/generated/Templates.d.ts +82 -1
- package/dist/generated/Transactions.d.ts +11 -0
- package/dist/generated/TransportationMarkups.d.ts +56 -0
- package/dist/generated/Users.d.ts +245 -0
- package/dist/generated/Utilities.d.ts +38 -0
- package/dist/generated/WarehouseFeatures.d.ts +110 -0
- package/dist/generated/Warehouses.d.ts +245 -0
- package/dist/generated/Wholesales.d.ts +56 -0
- package/dist/generated/data-contracts.d.ts +20237 -4725
- package/dist/generated/index.d.ts +57 -0
- package/dist/index.d.ts +3 -0
- package/dist/mocks/customer.d.ts +2 -0
- package/dist/mocks/index.d.ts +4 -0
- package/dist/mocks/nav.d.ts +2 -0
- package/dist/mocks/user.d.ts +2 -0
- package/dist/mocks/warehouse.d.ts +2 -0
- package/dist/utils/errorHandler.d.ts +2 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/nav.d.ts +9 -0
- package/dist/utils/orderBatch.d.ts +19 -0
- package/dist/utils/orders.d.ts +54 -0
- package/dist/utils/pusher.d.ts +25 -0
- package/dist/utils/rules.d.ts +8 -0
- package/dist/utils/user.d.ts +19 -0
- package/dist/utils/utilities.d.ts +8 -0
- package/dist/utils/warehouse.d.ts +26 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIV21EntitiesPostResponse, APIV21EntitiesShipnotice, APIV21EntitiesShipnoticeItem, APIV2EntitiesCount, APIV2EntitiesMetaFields, APIV2EntitiesResult, APIV2EntitiesShipnotice, APIV2EntitiesShipnoticeItem, GetApiV21ShipnoticesCountParams, GetApiV21ShipnoticesIdMetaFieldsParams, GetApiV21ShipnoticesIdShipnoticeItemsCountParams, GetApiV21ShipnoticesIdShipnoticeItemsParams, GetApiV21ShipnoticesParams, GetApiV2ShipnoticesCountParams, GetApiV2ShipnoticesIdMetaFieldsParams, GetApiV2ShipnoticesIdShipnoticeItemsCountParams, GetApiV2ShipnoticesIdShipnoticeItemsParams, GetApiV2ShipnoticesParams, PostApiV21Shipnotices, PostApiV21ShipnoticesBulk, PostApiV21ShipnoticesIdShipnoticeItems, PostApiV2Shipnotices, PostApiV2ShipnoticesBulk, PostApiV2ShipnoticesIdShipnoticeItems, PutApiV21ShipnoticesId, PutApiV21ShipnoticesIdMetaFields, PutApiV21ShipnoticesOriginatorOriginatorId, PutApiV2ShipnoticesId, PutApiV2ShipnoticesIdMetaFields, PutApiV2ShipnoticesOriginatorOriginatorId } from "./data-contracts";
|
|
1
|
+
import { APIV21EntitiesIncident, APIV21EntitiesPostResponse, APIV21EntitiesShipnotice, APIV21EntitiesShipnoticeItem, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesIncident, APIV2EntitiesMessage, APIV2EntitiesMetaFields, APIV2EntitiesOriginator, APIV2EntitiesResult, APIV2EntitiesShipnotice, APIV2EntitiesShipnoticeItem, APIV2EntitiesSidekiqBatch, GetApiV21ShipnoticesAggregateParams, GetApiV21ShipnoticesCountParams, GetApiV21ShipnoticesIdCallTraitParams, GetApiV21ShipnoticesIdIncidentsCountParams, GetApiV21ShipnoticesIdIncidentsParams, GetApiV21ShipnoticesIdMessagesCountParams, GetApiV21ShipnoticesIdMessagesParams, GetApiV21ShipnoticesIdMetaFieldsParams, GetApiV21ShipnoticesIdShipnoticeItemsCountParams, GetApiV21ShipnoticesIdShipnoticeItemsParams, GetApiV21ShipnoticesIdTraitsParams, GetApiV21ShipnoticesParams, GetApiV2ShipnoticesAggregateParams, GetApiV2ShipnoticesCountParams, GetApiV2ShipnoticesIdCallTraitParams, GetApiV2ShipnoticesIdIncidentsCountParams, GetApiV2ShipnoticesIdIncidentsParams, GetApiV2ShipnoticesIdMessagesCountParams, GetApiV2ShipnoticesIdMessagesParams, GetApiV2ShipnoticesIdMetaFieldsParams, GetApiV2ShipnoticesIdShipnoticeItemsCountParams, GetApiV2ShipnoticesIdShipnoticeItemsParams, GetApiV2ShipnoticesIdTraitsParams, GetApiV2ShipnoticesParams, PostApiV21Shipnotices, PostApiV21ShipnoticesBulk, PostApiV21ShipnoticesIdIncidents, PostApiV21ShipnoticesIdMessages, PostApiV21ShipnoticesIdShipnoticeItems, PostApiV2Shipnotices, PostApiV2ShipnoticesBulk, PostApiV2ShipnoticesIdIncidents, PostApiV2ShipnoticesIdMessages, PostApiV2ShipnoticesIdShipnoticeItems, PutApiV21ShipnoticesId, PutApiV21ShipnoticesIdCallAction, PutApiV21ShipnoticesIdCallAsyncAction, PutApiV21ShipnoticesIdMetaFields, PutApiV21ShipnoticesOriginatorOriginatorId, PutApiV2ShipnoticesId, PutApiV2ShipnoticesIdCallAction, PutApiV2ShipnoticesIdCallAsyncAction, PutApiV2ShipnoticesIdMetaFields, PutApiV2ShipnoticesOriginatorOriginatorId } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Get resource actions
|
|
@@ -9,6 +9,15 @@ import { HttpClient, RequestParams } from "./http-client";
|
|
|
9
9
|
* @request GET:/api/v2/shipnotices/actions
|
|
10
10
|
*/
|
|
11
11
|
export declare const getApiV2ShipnoticesActions: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Get shipnotices traits
|
|
14
|
+
*
|
|
15
|
+
* @tags shipnotices
|
|
16
|
+
* @name GetApiV2ShipnoticesTraits
|
|
17
|
+
* @summary List shipnotices traits
|
|
18
|
+
* @request GET:/api/v2/shipnotices/traits
|
|
19
|
+
*/
|
|
20
|
+
export declare const getApiV2ShipnoticesTraits: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
12
21
|
/**
|
|
13
22
|
* @description Bulk requests are processed asynchronously. They automatically create a saved search with all of the newly created shipnotices.
|
|
14
23
|
*
|
|
@@ -36,6 +45,14 @@ export declare const getApiV2Shipnotices: (client: HttpClient, query: GetApiV2Sh
|
|
|
36
45
|
* @request POST:/api/v2/shipnotices
|
|
37
46
|
*/
|
|
38
47
|
export declare const postApiV2Shipnotices: (client: HttpClient, postApiV2Shipnotices: PostApiV2Shipnotices, params?: RequestParams) => Promise<APIV2EntitiesShipnotice>;
|
|
48
|
+
/**
|
|
49
|
+
* @description Returns aggregated shipnotices
|
|
50
|
+
*
|
|
51
|
+
* @tags shipnotices
|
|
52
|
+
* @name GetApiV2ShipnoticesAggregate
|
|
53
|
+
* @request GET:/api/v2/shipnotices/aggregate
|
|
54
|
+
*/
|
|
55
|
+
export declare const getApiV2ShipnoticesAggregate: (client: HttpClient, query: GetApiV2ShipnoticesAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
39
56
|
/**
|
|
40
57
|
* No description
|
|
41
58
|
*
|
|
@@ -63,6 +80,33 @@ export declare const putApiV2ShipnoticesOriginatorOriginatorId: (client: HttpCli
|
|
|
63
80
|
* @request DELETE:/api/v2/shipnotices/originator/{originator_id}
|
|
64
81
|
*/
|
|
65
82
|
export declare const deleteApiV2ShipnoticesOriginatorOriginatorId: (client: HttpClient, originatorId: number, params?: RequestParams) => Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* @description Originators are e-commerce, API, or ERP representations of this item. They contain your system's ID and details.
|
|
85
|
+
*
|
|
86
|
+
* @tags shipnotices
|
|
87
|
+
* @name GetApiV2ShipnoticesIdOriginator
|
|
88
|
+
* @summary Retrieve the associated originator
|
|
89
|
+
* @request GET:/api/v2/shipnotices/{id}/originator
|
|
90
|
+
*/
|
|
91
|
+
export declare const getApiV2ShipnoticesIdOriginator: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesOriginator>;
|
|
92
|
+
/**
|
|
93
|
+
* No description
|
|
94
|
+
*
|
|
95
|
+
* @tags shipnotices
|
|
96
|
+
* @name GetApiV2ShipnoticesIdAudits
|
|
97
|
+
* @summary Retrieve audit info for users
|
|
98
|
+
* @request GET:/api/v2/shipnotices/{id}/audits
|
|
99
|
+
*/
|
|
100
|
+
export declare const getApiV2ShipnoticesIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
|
|
101
|
+
/**
|
|
102
|
+
* No description
|
|
103
|
+
*
|
|
104
|
+
* @tags shipnotices
|
|
105
|
+
* @name GetApiV2ShipnoticesIdTraits
|
|
106
|
+
* @summary Retrieve the specified shipnotices traits
|
|
107
|
+
* @request GET:/api/v2/shipnotices/{id}/traits
|
|
108
|
+
*/
|
|
109
|
+
export declare const getApiV2ShipnoticesIdTraits: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticesIdTraitsParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
66
110
|
/**
|
|
67
111
|
* @description Get the meta fields for a(n) Shipnotice
|
|
68
112
|
*
|
|
@@ -135,6 +179,69 @@ export declare const deleteApiV2ShipnoticesId: (client: HttpClient, id: number,
|
|
|
135
179
|
* @request GET:/api/v2/shipnotices/{id}/orders_waiting
|
|
136
180
|
*/
|
|
137
181
|
export declare const getApiV2ShipnoticesIdOrdersWaiting: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
182
|
+
/**
|
|
183
|
+
* No description
|
|
184
|
+
*
|
|
185
|
+
* @tags shipnotices
|
|
186
|
+
* @name GetApiV2ShipnoticesIdCallTrait
|
|
187
|
+
* @summary Retrieve the specified shipnotices trait
|
|
188
|
+
* @request GET:/api/v2/shipnotices/{id}/call/{trait}
|
|
189
|
+
*/
|
|
190
|
+
export declare const getApiV2ShipnoticesIdCallTrait: (client: HttpClient, { trait, id, ...query }: GetApiV2ShipnoticesIdCallTraitParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
191
|
+
/**
|
|
192
|
+
* @description Get all incidents for a(n) Shipnotice
|
|
193
|
+
*
|
|
194
|
+
* @tags shipnotices
|
|
195
|
+
* @name GetApiV2ShipnoticesIdIncidents
|
|
196
|
+
* @summary List all incidents for a resource
|
|
197
|
+
* @request GET:/api/v2/shipnotices/{id}/incidents
|
|
198
|
+
*/
|
|
199
|
+
export declare const getApiV2ShipnoticesIdIncidents: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticesIdIncidentsParams, params?: RequestParams) => Promise<APIV2EntitiesIncident[]>;
|
|
200
|
+
/**
|
|
201
|
+
* @description Create an incident for a(n) Shipnotice
|
|
202
|
+
*
|
|
203
|
+
* @tags shipnotices
|
|
204
|
+
* @name PostApiV2ShipnoticesIdIncidents
|
|
205
|
+
* @summary Create an incident for a resource
|
|
206
|
+
* @request POST:/api/v2/shipnotices/{id}/incidents
|
|
207
|
+
*/
|
|
208
|
+
export declare const postApiV2ShipnoticesIdIncidents: (client: HttpClient, id: number, postApiV2ShipnoticesIdIncidents: PostApiV2ShipnoticesIdIncidents, params?: RequestParams) => Promise<APIV2EntitiesIncident>;
|
|
209
|
+
/**
|
|
210
|
+
* @description Returns count of incidents for a(n) Shipnotice
|
|
211
|
+
*
|
|
212
|
+
* @tags shipnotices
|
|
213
|
+
* @name GetApiV2ShipnoticesIdIncidentsCount
|
|
214
|
+
* @summary Count incidents for a resource
|
|
215
|
+
* @request GET:/api/v2/shipnotices/{id}/incidents/count
|
|
216
|
+
*/
|
|
217
|
+
export declare const getApiV2ShipnoticesIdIncidentsCount: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticesIdIncidentsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
218
|
+
/**
|
|
219
|
+
* @description Get all messages for a(n) Shipnotice
|
|
220
|
+
*
|
|
221
|
+
* @tags shipnotices
|
|
222
|
+
* @name GetApiV2ShipnoticesIdMessages
|
|
223
|
+
* @summary List all messages
|
|
224
|
+
* @request GET:/api/v2/shipnotices/{id}/messages
|
|
225
|
+
*/
|
|
226
|
+
export declare const getApiV2ShipnoticesIdMessages: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticesIdMessagesParams, params?: RequestParams) => Promise<APIV2EntitiesMessage[]>;
|
|
227
|
+
/**
|
|
228
|
+
* @description Create a messages for a(n) Shipnotice
|
|
229
|
+
*
|
|
230
|
+
* @tags shipnotices
|
|
231
|
+
* @name PostApiV2ShipnoticesIdMessages
|
|
232
|
+
* @summary Create a message
|
|
233
|
+
* @request POST:/api/v2/shipnotices/{id}/messages
|
|
234
|
+
*/
|
|
235
|
+
export declare const postApiV2ShipnoticesIdMessages: (client: HttpClient, id: number, postApiV2ShipnoticesIdMessages: PostApiV2ShipnoticesIdMessages, params?: RequestParams) => Promise<APIV2EntitiesMessage>;
|
|
236
|
+
/**
|
|
237
|
+
* @description Returns count of messages for a(n) Shipnotice
|
|
238
|
+
*
|
|
239
|
+
* @tags shipnotices
|
|
240
|
+
* @name GetApiV2ShipnoticesIdMessagesCount
|
|
241
|
+
* @summary Count messages
|
|
242
|
+
* @request GET:/api/v2/shipnotices/{id}/messages/count
|
|
243
|
+
*/
|
|
244
|
+
export declare const getApiV2ShipnoticesIdMessagesCount: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticesIdMessagesCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
138
245
|
/**
|
|
139
246
|
* No description
|
|
140
247
|
*
|
|
@@ -153,6 +260,24 @@ export declare const getApiV2ShipnoticesIdShipnoticeItemsCount: (client: HttpCli
|
|
|
153
260
|
* @request GET:/api/v2/shipnotices/count
|
|
154
261
|
*/
|
|
155
262
|
export declare const getApiV2ShipnoticesCount: (client: HttpClient, query: GetApiV2ShipnoticesCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
263
|
+
/**
|
|
264
|
+
* No description
|
|
265
|
+
*
|
|
266
|
+
* @tags shipnotices
|
|
267
|
+
* @name PutApiV2ShipnoticesIdCallAction
|
|
268
|
+
* @summary Perform an action on an shipnotice
|
|
269
|
+
* @request PUT:/api/v2/shipnotices/{id}/call/{action}
|
|
270
|
+
*/
|
|
271
|
+
export declare const putApiV2ShipnoticesIdCallAction: (client: HttpClient, action: string, id: number, putApiV2ShipnoticesIdCallAction: PutApiV2ShipnoticesIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesShipnotice>;
|
|
272
|
+
/**
|
|
273
|
+
* No description
|
|
274
|
+
*
|
|
275
|
+
* @tags shipnotices
|
|
276
|
+
* @name PutApiV2ShipnoticesIdCallAsyncAction
|
|
277
|
+
* @summary Perform an action on an shipnotice asynchronously
|
|
278
|
+
* @request PUT:/api/v2/shipnotices/{id}/call_async/{action}
|
|
279
|
+
*/
|
|
280
|
+
export declare const putApiV2ShipnoticesIdCallAsyncAction: (client: HttpClient, action: string, id: number, putApiV2ShipnoticesIdCallAsyncAction: PutApiV2ShipnoticesIdCallAsyncAction, params?: RequestParams) => Promise<APIV2EntitiesSidekiqBatch>;
|
|
156
281
|
/**
|
|
157
282
|
* @description Get resource actions
|
|
158
283
|
*
|
|
@@ -162,6 +287,15 @@ export declare const getApiV2ShipnoticesCount: (client: HttpClient, query: GetAp
|
|
|
162
287
|
* @request GET:/api/v2.1/shipnotices/actions
|
|
163
288
|
*/
|
|
164
289
|
export declare const getApiV21ShipnoticesActions: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
290
|
+
/**
|
|
291
|
+
* @description Get shipnotices traits
|
|
292
|
+
*
|
|
293
|
+
* @tags shipnotices
|
|
294
|
+
* @name GetApiV21ShipnoticesTraits
|
|
295
|
+
* @summary List shipnotices traits
|
|
296
|
+
* @request GET:/api/v2.1/shipnotices/traits
|
|
297
|
+
*/
|
|
298
|
+
export declare const getApiV21ShipnoticesTraits: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
165
299
|
/**
|
|
166
300
|
* @description Bulk requests are processed asynchronously. They automatically create a saved search with all of the newly created shipnotices.
|
|
167
301
|
*
|
|
@@ -189,6 +323,14 @@ export declare const getApiV21Shipnotices: (client: HttpClient, query: GetApiV21
|
|
|
189
323
|
* @request POST:/api/v2.1/shipnotices
|
|
190
324
|
*/
|
|
191
325
|
export declare const postApiV21Shipnotices: (client: HttpClient, postApiV21Shipnotices: PostApiV21Shipnotices, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
326
|
+
/**
|
|
327
|
+
* @description Returns aggregated shipnotices
|
|
328
|
+
*
|
|
329
|
+
* @tags shipnotices
|
|
330
|
+
* @name GetApiV21ShipnoticesAggregate
|
|
331
|
+
* @request GET:/api/v2.1/shipnotices/aggregate
|
|
332
|
+
*/
|
|
333
|
+
export declare const getApiV21ShipnoticesAggregate: (client: HttpClient, query: GetApiV21ShipnoticesAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
192
334
|
/**
|
|
193
335
|
* No description
|
|
194
336
|
*
|
|
@@ -216,6 +358,24 @@ export declare const putApiV21ShipnoticesOriginatorOriginatorId: (client: HttpCl
|
|
|
216
358
|
* @request DELETE:/api/v2.1/shipnotices/originator/{originator_id}
|
|
217
359
|
*/
|
|
218
360
|
export declare const deleteApiV21ShipnoticesOriginatorOriginatorId: (client: HttpClient, originatorId: number, params?: RequestParams) => Promise<void>;
|
|
361
|
+
/**
|
|
362
|
+
* @description Originators are e-commerce, API, or ERP representations of this item. They contain your system's ID and details.
|
|
363
|
+
*
|
|
364
|
+
* @tags shipnotices
|
|
365
|
+
* @name GetApiV21ShipnoticesIdOriginator
|
|
366
|
+
* @summary Retrieve the associated originator
|
|
367
|
+
* @request GET:/api/v2.1/shipnotices/{id}/originator
|
|
368
|
+
*/
|
|
369
|
+
export declare const getApiV21ShipnoticesIdOriginator: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesOriginator>;
|
|
370
|
+
/**
|
|
371
|
+
* No description
|
|
372
|
+
*
|
|
373
|
+
* @tags shipnotices
|
|
374
|
+
* @name GetApiV21ShipnoticesIdTraits
|
|
375
|
+
* @summary Retrieve the specified shipnotices traits
|
|
376
|
+
* @request GET:/api/v2.1/shipnotices/{id}/traits
|
|
377
|
+
*/
|
|
378
|
+
export declare const getApiV21ShipnoticesIdTraits: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticesIdTraitsParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
219
379
|
/**
|
|
220
380
|
* @description Get the meta fields for a(n) Shipnotice
|
|
221
381
|
*
|
|
@@ -288,6 +448,69 @@ export declare const deleteApiV21ShipnoticesId: (client: HttpClient, id: number,
|
|
|
288
448
|
* @request GET:/api/v2.1/shipnotices/{id}/orders_waiting
|
|
289
449
|
*/
|
|
290
450
|
export declare const getApiV21ShipnoticesIdOrdersWaiting: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
451
|
+
/**
|
|
452
|
+
* No description
|
|
453
|
+
*
|
|
454
|
+
* @tags shipnotices
|
|
455
|
+
* @name GetApiV21ShipnoticesIdCallTrait
|
|
456
|
+
* @summary Retrieve the specified shipnotices trait
|
|
457
|
+
* @request GET:/api/v2.1/shipnotices/{id}/call/{trait}
|
|
458
|
+
*/
|
|
459
|
+
export declare const getApiV21ShipnoticesIdCallTrait: (client: HttpClient, { trait, id, ...query }: GetApiV21ShipnoticesIdCallTraitParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
460
|
+
/**
|
|
461
|
+
* @description Get all incidents for a(n) Shipnotice
|
|
462
|
+
*
|
|
463
|
+
* @tags shipnotices
|
|
464
|
+
* @name GetApiV21ShipnoticesIdIncidents
|
|
465
|
+
* @summary List all incidents for a resource
|
|
466
|
+
* @request GET:/api/v2.1/shipnotices/{id}/incidents
|
|
467
|
+
*/
|
|
468
|
+
export declare const getApiV21ShipnoticesIdIncidents: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticesIdIncidentsParams, params?: RequestParams) => Promise<APIV21EntitiesIncident[]>;
|
|
469
|
+
/**
|
|
470
|
+
* @description Create an incident for a(n) Shipnotice
|
|
471
|
+
*
|
|
472
|
+
* @tags shipnotices
|
|
473
|
+
* @name PostApiV21ShipnoticesIdIncidents
|
|
474
|
+
* @summary Create an incident for a resource
|
|
475
|
+
* @request POST:/api/v2.1/shipnotices/{id}/incidents
|
|
476
|
+
*/
|
|
477
|
+
export declare const postApiV21ShipnoticesIdIncidents: (client: HttpClient, id: number, postApiV21ShipnoticesIdIncidents: PostApiV21ShipnoticesIdIncidents, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
478
|
+
/**
|
|
479
|
+
* @description Returns count of incidents for a(n) Shipnotice
|
|
480
|
+
*
|
|
481
|
+
* @tags shipnotices
|
|
482
|
+
* @name GetApiV21ShipnoticesIdIncidentsCount
|
|
483
|
+
* @summary Count incidents for a resource
|
|
484
|
+
* @request GET:/api/v2.1/shipnotices/{id}/incidents/count
|
|
485
|
+
*/
|
|
486
|
+
export declare const getApiV21ShipnoticesIdIncidentsCount: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticesIdIncidentsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
487
|
+
/**
|
|
488
|
+
* @description Get all messages for a(n) Shipnotice
|
|
489
|
+
*
|
|
490
|
+
* @tags shipnotices
|
|
491
|
+
* @name GetApiV21ShipnoticesIdMessages
|
|
492
|
+
* @summary List all messages
|
|
493
|
+
* @request GET:/api/v2.1/shipnotices/{id}/messages
|
|
494
|
+
*/
|
|
495
|
+
export declare const getApiV21ShipnoticesIdMessages: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticesIdMessagesParams, params?: RequestParams) => Promise<APIV2EntitiesMessage[]>;
|
|
496
|
+
/**
|
|
497
|
+
* @description Create a messages for a(n) Shipnotice
|
|
498
|
+
*
|
|
499
|
+
* @tags shipnotices
|
|
500
|
+
* @name PostApiV21ShipnoticesIdMessages
|
|
501
|
+
* @summary Create a message
|
|
502
|
+
* @request POST:/api/v2.1/shipnotices/{id}/messages
|
|
503
|
+
*/
|
|
504
|
+
export declare const postApiV21ShipnoticesIdMessages: (client: HttpClient, id: number, postApiV21ShipnoticesIdMessages: PostApiV21ShipnoticesIdMessages, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
505
|
+
/**
|
|
506
|
+
* @description Returns count of messages for a(n) Shipnotice
|
|
507
|
+
*
|
|
508
|
+
* @tags shipnotices
|
|
509
|
+
* @name GetApiV21ShipnoticesIdMessagesCount
|
|
510
|
+
* @summary Count messages
|
|
511
|
+
* @request GET:/api/v2.1/shipnotices/{id}/messages/count
|
|
512
|
+
*/
|
|
513
|
+
export declare const getApiV21ShipnoticesIdMessagesCount: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticesIdMessagesCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
291
514
|
/**
|
|
292
515
|
* No description
|
|
293
516
|
*
|
|
@@ -306,3 +529,21 @@ export declare const getApiV21ShipnoticesIdShipnoticeItemsCount: (client: HttpCl
|
|
|
306
529
|
* @request GET:/api/v2.1/shipnotices/count
|
|
307
530
|
*/
|
|
308
531
|
export declare const getApiV21ShipnoticesCount: (client: HttpClient, query: GetApiV21ShipnoticesCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
532
|
+
/**
|
|
533
|
+
* No description
|
|
534
|
+
*
|
|
535
|
+
* @tags shipnotices
|
|
536
|
+
* @name PutApiV21ShipnoticesIdCallAction
|
|
537
|
+
* @summary Perform an action on an shipnotice
|
|
538
|
+
* @request PUT:/api/v2.1/shipnotices/{id}/call/{action}
|
|
539
|
+
*/
|
|
540
|
+
export declare const putApiV21ShipnoticesIdCallAction: (client: HttpClient, action: string, id: number, putApiV21ShipnoticesIdCallAction: PutApiV21ShipnoticesIdCallAction, params?: RequestParams) => Promise<APIV21EntitiesShipnotice>;
|
|
541
|
+
/**
|
|
542
|
+
* No description
|
|
543
|
+
*
|
|
544
|
+
* @tags shipnotices
|
|
545
|
+
* @name PutApiV21ShipnoticesIdCallAsyncAction
|
|
546
|
+
* @summary Perform an action on an shipnotice asynchronously
|
|
547
|
+
* @request PUT:/api/v2.1/shipnotices/{id}/call_async/{action}
|
|
548
|
+
*/
|
|
549
|
+
export declare const putApiV21ShipnoticesIdCallAsyncAction: (client: HttpClient, action: string, id: number, putApiV21ShipnoticesIdCallAsyncAction: PutApiV21ShipnoticesIdCallAsyncAction, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { APIV21EntitiesPostResponse, APIV21EntitiesShippingAlias, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesShippingAlias, GetApiV21ShippingAliasesCountParams, GetApiV21ShippingAliasesParams, GetApiV2ShippingAliasesCountParams, GetApiV2ShippingAliasesParams, PostApiV21ShippingAliases, PostApiV2ShippingAliases, PutApiV21ShippingAliasesId, PutApiV2ShippingAliasesId } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* No description
|
|
5
|
+
*
|
|
6
|
+
* @tags shipping_aliases
|
|
7
|
+
* @name GetApiV2ShippingAliasesIdAudits
|
|
8
|
+
* @summary Retrieve audit info for users
|
|
9
|
+
* @request GET:/api/v2/shipping_aliases/{id}/audits
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2ShippingAliasesIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
|
|
12
|
+
/**
|
|
13
|
+
* No description
|
|
14
|
+
*
|
|
15
|
+
* @tags shipping_aliases
|
|
16
|
+
* @name GetApiV2ShippingAliasesId
|
|
17
|
+
* @summary Retrieve a shipping alias
|
|
18
|
+
* @request GET:/api/v2/shipping_aliases/{id}
|
|
19
|
+
*/
|
|
20
|
+
export declare const getApiV2ShippingAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesShippingAlias>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags shipping_aliases
|
|
25
|
+
* @name PutApiV2ShippingAliasesId
|
|
26
|
+
* @summary Update a shipping alias
|
|
27
|
+
* @request PUT:/api/v2/shipping_aliases/{id}
|
|
28
|
+
*/
|
|
29
|
+
export declare const putApiV2ShippingAliasesId: (client: HttpClient, id: number, putApiV2ShippingAliasesId: PutApiV2ShippingAliasesId, params?: RequestParams) => Promise<APIV2EntitiesShippingAlias>;
|
|
30
|
+
/**
|
|
31
|
+
* No description
|
|
32
|
+
*
|
|
33
|
+
* @tags shipping_aliases
|
|
34
|
+
* @name DeleteApiV2ShippingAliasesId
|
|
35
|
+
* @summary Delete a shipping alias
|
|
36
|
+
* @request DELETE:/api/v2/shipping_aliases/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const deleteApiV2ShippingAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* No description
|
|
41
|
+
*
|
|
42
|
+
* @tags shipping_aliases
|
|
43
|
+
* @name GetApiV2ShippingAliases
|
|
44
|
+
* @summary List shipping aliases
|
|
45
|
+
* @request GET:/api/v2/shipping_aliases
|
|
46
|
+
*/
|
|
47
|
+
export declare const getApiV2ShippingAliases: (client: HttpClient, query: GetApiV2ShippingAliasesParams, params?: RequestParams) => Promise<APIV2EntitiesShippingAlias[]>;
|
|
48
|
+
/**
|
|
49
|
+
* No description
|
|
50
|
+
*
|
|
51
|
+
* @tags shipping_aliases
|
|
52
|
+
* @name PostApiV2ShippingAliases
|
|
53
|
+
* @summary Create a shipping alias
|
|
54
|
+
* @request POST:/api/v2/shipping_aliases
|
|
55
|
+
*/
|
|
56
|
+
export declare const postApiV2ShippingAliases: (client: HttpClient, postApiV2ShippingAliases: PostApiV2ShippingAliases, params?: RequestParams) => Promise<APIV2EntitiesShippingAlias>;
|
|
57
|
+
/**
|
|
58
|
+
* No description
|
|
59
|
+
*
|
|
60
|
+
* @tags shipping_aliases
|
|
61
|
+
* @name GetApiV2ShippingAliasesCount
|
|
62
|
+
* @summary Count shipping aliases
|
|
63
|
+
* @request GET:/api/v2/shipping_aliases/count
|
|
64
|
+
*/
|
|
65
|
+
export declare const getApiV2ShippingAliasesCount: (client: HttpClient, query: GetApiV2ShippingAliasesCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
66
|
+
/**
|
|
67
|
+
* No description
|
|
68
|
+
*
|
|
69
|
+
* @tags shipping_aliases
|
|
70
|
+
* @name GetApiV21ShippingAliases
|
|
71
|
+
* @summary List shipping aliases
|
|
72
|
+
* @request GET:/api/v2.1/shipping_aliases
|
|
73
|
+
*/
|
|
74
|
+
export declare const getApiV21ShippingAliases: (client: HttpClient, query: GetApiV21ShippingAliasesParams, params?: RequestParams) => Promise<APIV21EntitiesShippingAlias[]>;
|
|
75
|
+
/**
|
|
76
|
+
* No description
|
|
77
|
+
*
|
|
78
|
+
* @tags shipping_aliases
|
|
79
|
+
* @name PostApiV21ShippingAliases
|
|
80
|
+
* @summary Create a shipping alias
|
|
81
|
+
* @request POST:/api/v2.1/shipping_aliases
|
|
82
|
+
*/
|
|
83
|
+
export declare const postApiV21ShippingAliases: (client: HttpClient, postApiV21ShippingAliases: PostApiV21ShippingAliases, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* No description
|
|
86
|
+
*
|
|
87
|
+
* @tags shipping_aliases
|
|
88
|
+
* @name GetApiV21ShippingAliasesCount
|
|
89
|
+
* @summary Count shipping aliases
|
|
90
|
+
* @request GET:/api/v2.1/shipping_aliases/count
|
|
91
|
+
*/
|
|
92
|
+
export declare const getApiV21ShippingAliasesCount: (client: HttpClient, query: GetApiV21ShippingAliasesCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
93
|
+
/**
|
|
94
|
+
* No description
|
|
95
|
+
*
|
|
96
|
+
* @tags shipping_aliases
|
|
97
|
+
* @name GetApiV21ShippingAliasesId
|
|
98
|
+
* @summary Retrieve a shipping alias
|
|
99
|
+
* @request GET:/api/v2.1/shipping_aliases/{id}
|
|
100
|
+
*/
|
|
101
|
+
export declare const getApiV21ShippingAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesShippingAlias>;
|
|
102
|
+
/**
|
|
103
|
+
* No description
|
|
104
|
+
*
|
|
105
|
+
* @tags shipping_aliases
|
|
106
|
+
* @name PutApiV21ShippingAliasesId
|
|
107
|
+
* @summary Update a shipping alias
|
|
108
|
+
* @request PUT:/api/v2.1/shipping_aliases/{id}
|
|
109
|
+
*/
|
|
110
|
+
export declare const putApiV21ShippingAliasesId: (client: HttpClient, id: number, putApiV21ShippingAliasesId: PutApiV21ShippingAliasesId, params?: RequestParams) => Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* No description
|
|
113
|
+
*
|
|
114
|
+
* @tags shipping_aliases
|
|
115
|
+
* @name DeleteApiV21ShippingAliasesId
|
|
116
|
+
* @summary Delete a shipping alias
|
|
117
|
+
* @request DELETE:/api/v2.1/shipping_aliases/{id}
|
|
118
|
+
*/
|
|
119
|
+
export declare const deleteApiV21ShippingAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { APIV21EntitiesPostResponse, APIV21EntitiesShippingBlacklistedMethod, APIV2EntitiesCount, APIV2EntitiesShippingBlacklistedMethod, GetApiV21ShippingBlacklistedMethodsCountParams, GetApiV21ShippingBlacklistedMethodsParams, GetApiV2ShippingBlacklistedMethodsCountParams, GetApiV2ShippingBlacklistedMethodsParams, PostApiV21ShippingBlacklistedMethods, PostApiV2ShippingBlacklistedMethods, PutApiV21ShippingBlacklistedMethodsId, PutApiV2ShippingBlacklistedMethodsId } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* No description
|
|
5
|
+
*
|
|
6
|
+
* @tags shipping_blacklisted_methods
|
|
7
|
+
* @name GetApiV2ShippingBlacklistedMethods
|
|
8
|
+
* @summary List all blacklisted shipping methods
|
|
9
|
+
* @request GET:/api/v2/shipping_blacklisted_methods
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2ShippingBlacklistedMethods: (client: HttpClient, query: GetApiV2ShippingBlacklistedMethodsParams, params?: RequestParams) => Promise<APIV2EntitiesShippingBlacklistedMethod[]>;
|
|
12
|
+
/**
|
|
13
|
+
* No description
|
|
14
|
+
*
|
|
15
|
+
* @tags shipping_blacklisted_methods
|
|
16
|
+
* @name PostApiV2ShippingBlacklistedMethods
|
|
17
|
+
* @summary Create a blacklisted shipping method
|
|
18
|
+
* @request POST:/api/v2/shipping_blacklisted_methods
|
|
19
|
+
*/
|
|
20
|
+
export declare const postApiV2ShippingBlacklistedMethods: (client: HttpClient, postApiV2ShippingBlacklistedMethods: PostApiV2ShippingBlacklistedMethods, params?: RequestParams) => Promise<APIV2EntitiesShippingBlacklistedMethod>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags shipping_blacklisted_methods
|
|
25
|
+
* @name GetApiV2ShippingBlacklistedMethodsCount
|
|
26
|
+
* @summary Count blacklisted shipping methods
|
|
27
|
+
* @request GET:/api/v2/shipping_blacklisted_methods/count
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV2ShippingBlacklistedMethodsCount: (client: HttpClient, query: GetApiV2ShippingBlacklistedMethodsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
30
|
+
/**
|
|
31
|
+
* No description
|
|
32
|
+
*
|
|
33
|
+
* @tags shipping_blacklisted_methods
|
|
34
|
+
* @name GetApiV2ShippingBlacklistedMethodsId
|
|
35
|
+
* @summary Retrieve a blacklisted shipping method
|
|
36
|
+
* @request GET:/api/v2/shipping_blacklisted_methods/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV2ShippingBlacklistedMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesShippingBlacklistedMethod>;
|
|
39
|
+
/**
|
|
40
|
+
* No description
|
|
41
|
+
*
|
|
42
|
+
* @tags shipping_blacklisted_methods
|
|
43
|
+
* @name PutApiV2ShippingBlacklistedMethodsId
|
|
44
|
+
* @summary Update a shipping blacklisted method
|
|
45
|
+
* @request PUT:/api/v2/shipping_blacklisted_methods/{id}
|
|
46
|
+
*/
|
|
47
|
+
export declare const putApiV2ShippingBlacklistedMethodsId: (client: HttpClient, id: number, putApiV2ShippingBlacklistedMethodsId: PutApiV2ShippingBlacklistedMethodsId, params?: RequestParams) => Promise<APIV2EntitiesShippingBlacklistedMethod>;
|
|
48
|
+
/**
|
|
49
|
+
* No description
|
|
50
|
+
*
|
|
51
|
+
* @tags shipping_blacklisted_methods
|
|
52
|
+
* @name DeleteApiV2ShippingBlacklistedMethodsId
|
|
53
|
+
* @summary Destroy a blacklisted shipping method
|
|
54
|
+
* @request DELETE:/api/v2/shipping_blacklisted_methods/{id}
|
|
55
|
+
*/
|
|
56
|
+
export declare const deleteApiV2ShippingBlacklistedMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* No description
|
|
59
|
+
*
|
|
60
|
+
* @tags shipping_blacklisted_methods
|
|
61
|
+
* @name GetApiV21ShippingBlacklistedMethods
|
|
62
|
+
* @summary List all blacklisted shipping methods
|
|
63
|
+
* @request GET:/api/v2.1/shipping_blacklisted_methods
|
|
64
|
+
*/
|
|
65
|
+
export declare const getApiV21ShippingBlacklistedMethods: (client: HttpClient, query: GetApiV21ShippingBlacklistedMethodsParams, params?: RequestParams) => Promise<APIV21EntitiesShippingBlacklistedMethod[]>;
|
|
66
|
+
/**
|
|
67
|
+
* No description
|
|
68
|
+
*
|
|
69
|
+
* @tags shipping_blacklisted_methods
|
|
70
|
+
* @name PostApiV21ShippingBlacklistedMethods
|
|
71
|
+
* @summary Create a blacklisted shipping method
|
|
72
|
+
* @request POST:/api/v2.1/shipping_blacklisted_methods
|
|
73
|
+
*/
|
|
74
|
+
export declare const postApiV21ShippingBlacklistedMethods: (client: HttpClient, postApiV21ShippingBlacklistedMethods: PostApiV21ShippingBlacklistedMethods, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* No description
|
|
77
|
+
*
|
|
78
|
+
* @tags shipping_blacklisted_methods
|
|
79
|
+
* @name GetApiV21ShippingBlacklistedMethodsCount
|
|
80
|
+
* @summary Count blacklisted shipping methods
|
|
81
|
+
* @request GET:/api/v2.1/shipping_blacklisted_methods/count
|
|
82
|
+
*/
|
|
83
|
+
export declare const getApiV21ShippingBlacklistedMethodsCount: (client: HttpClient, query: GetApiV21ShippingBlacklistedMethodsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
84
|
+
/**
|
|
85
|
+
* No description
|
|
86
|
+
*
|
|
87
|
+
* @tags shipping_blacklisted_methods
|
|
88
|
+
* @name GetApiV21ShippingBlacklistedMethodsId
|
|
89
|
+
* @summary Retrieve a blacklisted shipping method
|
|
90
|
+
* @request GET:/api/v2.1/shipping_blacklisted_methods/{id}
|
|
91
|
+
*/
|
|
92
|
+
export declare const getApiV21ShippingBlacklistedMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesShippingBlacklistedMethod>;
|
|
93
|
+
/**
|
|
94
|
+
* No description
|
|
95
|
+
*
|
|
96
|
+
* @tags shipping_blacklisted_methods
|
|
97
|
+
* @name PutApiV21ShippingBlacklistedMethodsId
|
|
98
|
+
* @summary Update a shipping blacklisted method
|
|
99
|
+
* @request PUT:/api/v2.1/shipping_blacklisted_methods/{id}
|
|
100
|
+
*/
|
|
101
|
+
export declare const putApiV21ShippingBlacklistedMethodsId: (client: HttpClient, id: number, putApiV21ShippingBlacklistedMethodsId: PutApiV21ShippingBlacklistedMethodsId, params?: RequestParams) => Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* No description
|
|
104
|
+
*
|
|
105
|
+
* @tags shipping_blacklisted_methods
|
|
106
|
+
* @name DeleteApiV21ShippingBlacklistedMethodsId
|
|
107
|
+
* @summary Destroy a blacklisted shipping method
|
|
108
|
+
* @request DELETE:/api/v2.1/shipping_blacklisted_methods/{id}
|
|
109
|
+
*/
|
|
110
|
+
export declare const deleteApiV21ShippingBlacklistedMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { APIV2EntitiesAudits } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* No description
|
|
5
|
+
*
|
|
6
|
+
* @tags shipping_method_markups
|
|
7
|
+
* @name GetApiV2ShippingMethodMarkupsIdAudits
|
|
8
|
+
* @summary Retrieve audit info for users
|
|
9
|
+
* @request GET:/api/v2/shipping_method_markups/{id}/audits
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2ShippingMethodMarkupsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { APIV21EntitiesPostResponse, APIV2EntitiesCount, APIV2EntitiesShippingMethod, GetApiV21ShippingMethodsCountParams, GetApiV21ShippingMethodsParams, GetApiV2ShippingMethodsCountParams, GetApiV2ShippingMethodsParams, PostApiV21ShippingMethods, PostApiV2ShippingMethods, PutApiV21ShippingMethodsId, PutApiV2ShippingMethodsId } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* No description
|
|
5
|
+
*
|
|
6
|
+
* @tags shipping_methods
|
|
7
|
+
* @name GetApiV2ShippingMethods
|
|
8
|
+
* @summary List all shipping methods
|
|
9
|
+
* @request GET:/api/v2/shipping_methods
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2ShippingMethods: (client: HttpClient, query: GetApiV2ShippingMethodsParams, params?: RequestParams) => Promise<APIV2EntitiesShippingMethod[]>;
|
|
12
|
+
/**
|
|
13
|
+
* No description
|
|
14
|
+
*
|
|
15
|
+
* @tags shipping_methods
|
|
16
|
+
* @name PostApiV2ShippingMethods
|
|
17
|
+
* @summary Create a shipping method
|
|
18
|
+
* @request POST:/api/v2/shipping_methods
|
|
19
|
+
*/
|
|
20
|
+
export declare const postApiV2ShippingMethods: (client: HttpClient, postApiV2ShippingMethods: PostApiV2ShippingMethods, params?: RequestParams) => Promise<APIV2EntitiesShippingMethod>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags shipping_methods
|
|
25
|
+
* @name GetApiV2ShippingMethodsCount
|
|
26
|
+
* @summary Count shipping methods
|
|
27
|
+
* @request GET:/api/v2/shipping_methods/count
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV2ShippingMethodsCount: (client: HttpClient, query: GetApiV2ShippingMethodsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
30
|
+
/**
|
|
31
|
+
* No description
|
|
32
|
+
*
|
|
33
|
+
* @tags shipping_methods
|
|
34
|
+
* @name GetApiV2ShippingMethodsId
|
|
35
|
+
* @summary Retrieve a shipping method
|
|
36
|
+
* @request GET:/api/v2/shipping_methods/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV2ShippingMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesShippingMethod>;
|
|
39
|
+
/**
|
|
40
|
+
* No description
|
|
41
|
+
*
|
|
42
|
+
* @tags shipping_methods
|
|
43
|
+
* @name PutApiV2ShippingMethodsId
|
|
44
|
+
* @summary Update a shipping method
|
|
45
|
+
* @request PUT:/api/v2/shipping_methods/{id}
|
|
46
|
+
*/
|
|
47
|
+
export declare const putApiV2ShippingMethodsId: (client: HttpClient, id: number, putApiV2ShippingMethodsId: PutApiV2ShippingMethodsId, params?: RequestParams) => Promise<APIV2EntitiesShippingMethod>;
|
|
48
|
+
/**
|
|
49
|
+
* No description
|
|
50
|
+
*
|
|
51
|
+
* @tags shipping_methods
|
|
52
|
+
* @name DeleteApiV2ShippingMethodsId
|
|
53
|
+
* @summary Destroy a shipping method
|
|
54
|
+
* @request DELETE:/api/v2/shipping_methods/{id}
|
|
55
|
+
*/
|
|
56
|
+
export declare const deleteApiV2ShippingMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* No description
|
|
59
|
+
*
|
|
60
|
+
* @tags shipping_methods
|
|
61
|
+
* @name GetApiV21ShippingMethods
|
|
62
|
+
* @summary List all shipping methods
|
|
63
|
+
* @request GET:/api/v2.1/shipping_methods
|
|
64
|
+
*/
|
|
65
|
+
export declare const getApiV21ShippingMethods: (client: HttpClient, query: GetApiV21ShippingMethodsParams, params?: RequestParams) => Promise<APIV2EntitiesShippingMethod[]>;
|
|
66
|
+
/**
|
|
67
|
+
* No description
|
|
68
|
+
*
|
|
69
|
+
* @tags shipping_methods
|
|
70
|
+
* @name PostApiV21ShippingMethods
|
|
71
|
+
* @summary Create a shipping method
|
|
72
|
+
* @request POST:/api/v2.1/shipping_methods
|
|
73
|
+
*/
|
|
74
|
+
export declare const postApiV21ShippingMethods: (client: HttpClient, postApiV21ShippingMethods: PostApiV21ShippingMethods, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* No description
|
|
77
|
+
*
|
|
78
|
+
* @tags shipping_methods
|
|
79
|
+
* @name GetApiV21ShippingMethodsCount
|
|
80
|
+
* @summary Count shipping methods
|
|
81
|
+
* @request GET:/api/v2.1/shipping_methods/count
|
|
82
|
+
*/
|
|
83
|
+
export declare const getApiV21ShippingMethodsCount: (client: HttpClient, query: GetApiV21ShippingMethodsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
84
|
+
/**
|
|
85
|
+
* No description
|
|
86
|
+
*
|
|
87
|
+
* @tags shipping_methods
|
|
88
|
+
* @name GetApiV21ShippingMethodsId
|
|
89
|
+
* @summary Retrieve a shipping method
|
|
90
|
+
* @request GET:/api/v2.1/shipping_methods/{id}
|
|
91
|
+
*/
|
|
92
|
+
export declare const getApiV21ShippingMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesShippingMethod>;
|
|
93
|
+
/**
|
|
94
|
+
* No description
|
|
95
|
+
*
|
|
96
|
+
* @tags shipping_methods
|
|
97
|
+
* @name PutApiV21ShippingMethodsId
|
|
98
|
+
* @summary Update a shipping method
|
|
99
|
+
* @request PUT:/api/v2.1/shipping_methods/{id}
|
|
100
|
+
*/
|
|
101
|
+
export declare const putApiV21ShippingMethodsId: (client: HttpClient, id: number, putApiV21ShippingMethodsId: PutApiV21ShippingMethodsId, params?: RequestParams) => Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* No description
|
|
104
|
+
*
|
|
105
|
+
* @tags shipping_methods
|
|
106
|
+
* @name DeleteApiV21ShippingMethodsId
|
|
107
|
+
* @summary Destroy a shipping method
|
|
108
|
+
* @request DELETE:/api/v2.1/shipping_methods/{id}
|
|
109
|
+
*/
|
|
110
|
+
export declare const deleteApiV21ShippingMethodsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|