@whiplashmerch/whiplash-api-client 0.4.77 → 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.
Files changed (92) hide show
  1. package/dist/client.esm.js +18494 -2141
  2. package/dist/client.esm.js.map +1 -1
  3. package/dist/constants/index.d.ts +1 -0
  4. package/dist/constants/search.d.ts +9 -0
  5. package/dist/generated/AccountTransactions.d.ts +56 -0
  6. package/dist/generated/Accounts.d.ts +171 -0
  7. package/dist/generated/Allocations.d.ts +38 -0
  8. package/dist/generated/Broadcasts.d.ts +164 -0
  9. package/dist/generated/Cache.d.ts +56 -0
  10. package/dist/generated/CarrierAccounts.d.ts +191 -0
  11. package/dist/generated/Carriers.d.ts +20 -0
  12. package/dist/generated/Chromalists.d.ts +56 -0
  13. package/dist/generated/ConsumerReturns.d.ts +89 -1
  14. package/dist/generated/Currencies.d.ts +56 -0
  15. package/dist/generated/Customers.d.ts +172 -1
  16. package/dist/generated/CustomsInfos.d.ts +56 -0
  17. package/dist/generated/Dashboards.d.ts +38 -0
  18. package/dist/generated/Documents.d.ts +37 -1
  19. package/dist/generated/ExtApp.d.ts +30 -0
  20. package/dist/generated/FilterSets.d.ts +288 -0
  21. package/dist/generated/ImporterOfRecords.d.ts +92 -0
  22. package/dist/generated/Incidents.d.ts +128 -0
  23. package/dist/generated/InvoiceItems.d.ts +56 -0
  24. package/dist/generated/Invoices.d.ts +110 -0
  25. package/dist/generated/Items.d.ts +260 -1
  26. package/dist/generated/Locales.d.ts +19 -0
  27. package/dist/generated/LocationAdjustments.d.ts +65 -0
  28. package/dist/generated/LocationAudits.d.ts +162 -0
  29. package/dist/generated/LocationTransfers.d.ts +162 -0
  30. package/dist/generated/Locations.d.ts +207 -0
  31. package/dist/generated/Lots.d.ts +119 -0
  32. package/dist/generated/Manifests.d.ts +128 -0
  33. package/dist/generated/Me.d.ts +20 -0
  34. package/dist/generated/Nav.d.ts +20 -0
  35. package/dist/generated/NavItems.d.ts +20 -0
  36. package/dist/generated/OrderBatchItems.d.ts +54 -0
  37. package/dist/generated/OrderBatchRequests.d.ts +38 -0
  38. package/dist/generated/OrderBatches.d.ts +315 -0
  39. package/dist/generated/OrderDocuments.d.ts +37 -0
  40. package/dist/generated/OrderItems.d.ts +98 -1
  41. package/dist/generated/OrderTotes.d.ts +20 -0
  42. package/dist/generated/Orders.d.ts +468 -1
  43. package/dist/generated/Originators.d.ts +28 -1
  44. package/dist/generated/Packages.d.ts +205 -0
  45. package/dist/generated/Partners.d.ts +110 -0
  46. package/dist/generated/Prepacks.d.ts +11 -0
  47. package/dist/generated/ProjectTasks.d.ts +56 -0
  48. package/dist/generated/Projects.d.ts +163 -1
  49. package/dist/generated/Rates.d.ts +119 -0
  50. package/dist/generated/ReasonCodes.d.ts +20 -0
  51. package/dist/generated/ReturnAddresses.d.ts +92 -0
  52. package/dist/generated/RuleDismissals.d.ts +19 -0
  53. package/dist/generated/Rules.d.ts +155 -0
  54. package/dist/generated/Scancodes.d.ts +20 -0
  55. package/dist/generated/SerialNumbers.d.ts +56 -0
  56. package/dist/generated/ShipnoticeItems.d.ts +197 -1
  57. package/dist/generated/Shipnotices.d.ts +242 -1
  58. package/dist/generated/ShippingAliases.d.ts +119 -0
  59. package/dist/generated/ShippingBlacklistedMethods.d.ts +110 -0
  60. package/dist/generated/ShippingMethodMarkups.d.ts +11 -0
  61. package/dist/generated/ShippingMethods.d.ts +110 -0
  62. package/dist/generated/Shops.d.ts +47 -0
  63. package/dist/generated/Stats.d.ts +54 -0
  64. package/dist/generated/SurchargeMarkups.d.ts +56 -0
  65. package/dist/generated/TemplateTypes.d.ts +20 -0
  66. package/dist/generated/Templates.d.ts +82 -1
  67. package/dist/generated/Transactions.d.ts +11 -0
  68. package/dist/generated/TransportationMarkups.d.ts +56 -0
  69. package/dist/generated/Users.d.ts +245 -0
  70. package/dist/generated/Utilities.d.ts +38 -0
  71. package/dist/generated/WarehouseFeatures.d.ts +110 -0
  72. package/dist/generated/Warehouses.d.ts +245 -0
  73. package/dist/generated/Wholesales.d.ts +56 -0
  74. package/dist/generated/data-contracts.d.ts +20237 -4725
  75. package/dist/generated/index.d.ts +57 -0
  76. package/dist/index.d.ts +3 -0
  77. package/dist/mocks/customer.d.ts +2 -0
  78. package/dist/mocks/index.d.ts +4 -0
  79. package/dist/mocks/nav.d.ts +2 -0
  80. package/dist/mocks/user.d.ts +2 -0
  81. package/dist/mocks/warehouse.d.ts +2 -0
  82. package/dist/utils/errorHandler.d.ts +2 -0
  83. package/dist/utils/index.d.ts +9 -0
  84. package/dist/utils/nav.d.ts +9 -0
  85. package/dist/utils/orderBatch.d.ts +19 -0
  86. package/dist/utils/orders.d.ts +54 -0
  87. package/dist/utils/pusher.d.ts +25 -0
  88. package/dist/utils/rules.d.ts +8 -0
  89. package/dist/utils/user.d.ts +19 -0
  90. package/dist/utils/utilities.d.ts +8 -0
  91. package/dist/utils/warehouse.d.ts +26 -0
  92. package/package.json +1 -1
@@ -0,0 +1,119 @@
1
+ import { APIV21EntitiesPostResponse, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesLot, GetApiV21LotsCountParams, GetApiV21LotsParams, GetApiV2LotsCountParams, GetApiV2LotsParams, PostApiV21Lots, PostApiV2Lots, PutApiV21LotsId, PutApiV2LotsId } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * No description
5
+ *
6
+ * @tags lots
7
+ * @name GetApiV2LotsIdAudits
8
+ * @summary Retrieve audit info for users
9
+ * @request GET:/api/v2/lots/{id}/audits
10
+ */
11
+ export declare const getApiV2LotsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
12
+ /**
13
+ * @description Get a Lot
14
+ *
15
+ * @tags lots
16
+ * @name GetApiV2LotsId
17
+ * @summary Retrieve a lot
18
+ * @request GET:/api/v2/lots/{id}
19
+ */
20
+ export declare const getApiV2LotsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesLot>;
21
+ /**
22
+ * @description Update a lot
23
+ *
24
+ * @tags lots
25
+ * @name PutApiV2LotsId
26
+ * @summary Update a lot
27
+ * @request PUT:/api/v2/lots/{id}
28
+ */
29
+ export declare const putApiV2LotsId: (client: HttpClient, id: number, putApiV2LotsId: PutApiV2LotsId, params?: RequestParams) => Promise<APIV2EntitiesLot>;
30
+ /**
31
+ * @description Destroy a lot
32
+ *
33
+ * @tags lots
34
+ * @name DeleteApiV2LotsId
35
+ * @summary Destroy a lot
36
+ * @request DELETE:/api/v2/lots/{id}
37
+ */
38
+ export declare const deleteApiV2LotsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
39
+ /**
40
+ * @description Get all lots
41
+ *
42
+ * @tags lots
43
+ * @name GetApiV2Lots
44
+ * @summary List all lots
45
+ * @request GET:/api/v2/lots
46
+ */
47
+ export declare const getApiV2Lots: (client: HttpClient, query: GetApiV2LotsParams, params?: RequestParams) => Promise<APIV2EntitiesLot[]>;
48
+ /**
49
+ * @description Create a lot
50
+ *
51
+ * @tags lots
52
+ * @name PostApiV2Lots
53
+ * @summary Create a lot
54
+ * @request POST:/api/v2/lots
55
+ */
56
+ export declare const postApiV2Lots: (client: HttpClient, postApiV2Lots: PostApiV2Lots, params?: RequestParams) => Promise<APIV2EntitiesLot>;
57
+ /**
58
+ * @description Returns count of lots
59
+ *
60
+ * @tags lots
61
+ * @name GetApiV2LotsCount
62
+ * @summary Count lots
63
+ * @request GET:/api/v2/lots/count
64
+ */
65
+ export declare const getApiV2LotsCount: (client: HttpClient, query: GetApiV2LotsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
66
+ /**
67
+ * @description Get all lots
68
+ *
69
+ * @tags lots
70
+ * @name GetApiV21Lots
71
+ * @summary List all lots
72
+ * @request GET:/api/v2.1/lots
73
+ */
74
+ export declare const getApiV21Lots: (client: HttpClient, query: GetApiV21LotsParams, params?: RequestParams) => Promise<APIV2EntitiesLot[]>;
75
+ /**
76
+ * @description Create a lot
77
+ *
78
+ * @tags lots
79
+ * @name PostApiV21Lots
80
+ * @summary Create a lot
81
+ * @request POST:/api/v2.1/lots
82
+ */
83
+ export declare const postApiV21Lots: (client: HttpClient, postApiV21Lots: PostApiV21Lots, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
84
+ /**
85
+ * @description Returns count of lots
86
+ *
87
+ * @tags lots
88
+ * @name GetApiV21LotsCount
89
+ * @summary Count lots
90
+ * @request GET:/api/v2.1/lots/count
91
+ */
92
+ export declare const getApiV21LotsCount: (client: HttpClient, query: GetApiV21LotsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
93
+ /**
94
+ * @description Get a Lot
95
+ *
96
+ * @tags lots
97
+ * @name GetApiV21LotsId
98
+ * @summary Retrieve a lot
99
+ * @request GET:/api/v2.1/lots/{id}
100
+ */
101
+ export declare const getApiV21LotsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesLot>;
102
+ /**
103
+ * @description Update a lot
104
+ *
105
+ * @tags lots
106
+ * @name PutApiV21LotsId
107
+ * @summary Update a lot
108
+ * @request PUT:/api/v2.1/lots/{id}
109
+ */
110
+ export declare const putApiV21LotsId: (client: HttpClient, id: number, putApiV21LotsId: PutApiV21LotsId, params?: RequestParams) => Promise<void>;
111
+ /**
112
+ * @description Destroy a lot
113
+ *
114
+ * @tags lots
115
+ * @name DeleteApiV21LotsId
116
+ * @summary Destroy a lot
117
+ * @request DELETE:/api/v2.1/lots/{id}
118
+ */
119
+ export declare const deleteApiV21LotsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
@@ -0,0 +1,128 @@
1
+ import { APIV2EntitiesCount, APIV2EntitiesManifest, GetApiV21ManifestsCountParams, GetApiV21ManifestsParams, GetApiV2ManifestsCountParams, GetApiV2ManifestsParams, PostApiV21Manifests, PostApiV2Manifests, PutApiV21ManifestsIdCallAction, PutApiV2ManifestsIdCallAction } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get all manifests
5
+ *
6
+ * @tags manifests
7
+ * @name GetApiV2Manifests
8
+ * @summary List all manifests
9
+ * @request GET:/api/v2/manifests
10
+ */
11
+ export declare const getApiV2Manifests: (client: HttpClient, query: GetApiV2ManifestsParams, params?: RequestParams) => Promise<APIV2EntitiesManifest[]>;
12
+ /**
13
+ * @description Create a manifest
14
+ *
15
+ * @tags manifests
16
+ * @name PostApiV2Manifests
17
+ * @summary Create a manifest
18
+ * @request POST:/api/v2/manifests
19
+ */
20
+ export declare const postApiV2Manifests: (client: HttpClient, postApiV2Manifests: PostApiV2Manifests, params?: RequestParams) => Promise<APIV2EntitiesManifest>;
21
+ /**
22
+ * @description Returns count of manifests
23
+ *
24
+ * @tags manifests
25
+ * @name GetApiV2ManifestsCount
26
+ * @summary Count manifests
27
+ * @request GET:/api/v2/manifests/count
28
+ */
29
+ export declare const getApiV2ManifestsCount: (client: HttpClient, query: GetApiV2ManifestsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
30
+ /**
31
+ * @description Get a manifest
32
+ *
33
+ * @tags manifests
34
+ * @name GetApiV2ManifestsId
35
+ * @summary Retrieve a manifest
36
+ * @request GET:/api/v2/manifests/{id}
37
+ */
38
+ export declare const getApiV2ManifestsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesManifest>;
39
+ /**
40
+ * @description Get a batch for a manifest
41
+ *
42
+ * @tags manifests
43
+ * @name GetApiV2ManifestsIdBatch
44
+ * @summary Retrieve a batch for a manifest
45
+ * @request GET:/api/v2/manifests/{id}/batch
46
+ */
47
+ export declare const getApiV2ManifestsIdBatch: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
48
+ /**
49
+ * @description Get a scan_form for a manifest
50
+ *
51
+ * @tags manifests
52
+ * @name GetApiV2ManifestsIdScanForm
53
+ * @summary Retrieve a scan form for a manifest
54
+ * @request GET:/api/v2/manifests/{id}/scan_form
55
+ */
56
+ export declare const getApiV2ManifestsIdScanForm: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
57
+ /**
58
+ * @description Perform an action on an manifest
59
+ *
60
+ * @tags manifests
61
+ * @name PutApiV2ManifestsIdCallAction
62
+ * @summary Perform an action on a manifest
63
+ * @request PUT:/api/v2/manifests/{id}/call/{action}
64
+ */
65
+ export declare const putApiV2ManifestsIdCallAction: (client: HttpClient, action: string, id: number, putApiV2ManifestsIdCallAction: PutApiV2ManifestsIdCallAction, params?: RequestParams) => Promise<void>;
66
+ /**
67
+ * @description Get all manifests
68
+ *
69
+ * @tags manifests
70
+ * @name GetApiV21Manifests
71
+ * @summary List all manifests
72
+ * @request GET:/api/v2.1/manifests
73
+ */
74
+ export declare const getApiV21Manifests: (client: HttpClient, query: GetApiV21ManifestsParams, params?: RequestParams) => Promise<APIV2EntitiesManifest[]>;
75
+ /**
76
+ * @description Create a manifest
77
+ *
78
+ * @tags manifests
79
+ * @name PostApiV21Manifests
80
+ * @summary Create a manifest
81
+ * @request POST:/api/v2.1/manifests
82
+ */
83
+ export declare const postApiV21Manifests: (client: HttpClient, postApiV21Manifests: PostApiV21Manifests, params?: RequestParams) => Promise<APIV2EntitiesManifest>;
84
+ /**
85
+ * @description Returns count of manifests
86
+ *
87
+ * @tags manifests
88
+ * @name GetApiV21ManifestsCount
89
+ * @summary Count manifests
90
+ * @request GET:/api/v2.1/manifests/count
91
+ */
92
+ export declare const getApiV21ManifestsCount: (client: HttpClient, query: GetApiV21ManifestsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
93
+ /**
94
+ * @description Get a manifest
95
+ *
96
+ * @tags manifests
97
+ * @name GetApiV21ManifestsId
98
+ * @summary Retrieve a manifest
99
+ * @request GET:/api/v2.1/manifests/{id}
100
+ */
101
+ export declare const getApiV21ManifestsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesManifest>;
102
+ /**
103
+ * @description Get a batch for a manifest
104
+ *
105
+ * @tags manifests
106
+ * @name GetApiV21ManifestsIdBatch
107
+ * @summary Retrieve a batch for a manifest
108
+ * @request GET:/api/v2.1/manifests/{id}/batch
109
+ */
110
+ export declare const getApiV21ManifestsIdBatch: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
111
+ /**
112
+ * @description Get a scan_form for a manifest
113
+ *
114
+ * @tags manifests
115
+ * @name GetApiV21ManifestsIdScanForm
116
+ * @summary Retrieve a scan form for a manifest
117
+ * @request GET:/api/v2.1/manifests/{id}/scan_form
118
+ */
119
+ export declare const getApiV21ManifestsIdScanForm: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
120
+ /**
121
+ * @description Perform an action on an manifest
122
+ *
123
+ * @tags manifests
124
+ * @name PutApiV21ManifestsIdCallAction
125
+ * @summary Perform an action on a manifest
126
+ * @request PUT:/api/v2.1/manifests/{id}/call/{action}
127
+ */
128
+ export declare const putApiV21ManifestsIdCallAction: (client: HttpClient, action: string, id: number, putApiV21ManifestsIdCallAction: PutApiV21ManifestsIdCallAction, params?: RequestParams) => Promise<void>;
@@ -0,0 +1,20 @@
1
+ import { APIV21EntitiesUser, APIV2EntitiesUser } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Gets the current_user
5
+ *
6
+ * @tags me
7
+ * @name GetApiV2Me
8
+ * @summary Retrieve the current user
9
+ * @request GET:/api/v2/me
10
+ */
11
+ export declare const getApiV2Me: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesUser>;
12
+ /**
13
+ * @description Gets the current_user
14
+ *
15
+ * @tags me
16
+ * @name GetApiV21Me
17
+ * @summary Retrieve the current user
18
+ * @request GET:/api/v2.1/me
19
+ */
20
+ export declare const getApiV21Me: (client: HttpClient, params?: RequestParams) => Promise<APIV21EntitiesUser>;
@@ -0,0 +1,20 @@
1
+ import { APIV2EntitiesNav } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get navigation for a user
5
+ *
6
+ * @tags nav
7
+ * @name GetApiV2Nav
8
+ * @summary Get navigation for a user
9
+ * @request GET:/api/v2/nav
10
+ */
11
+ export declare const getApiV2Nav: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesNav>;
12
+ /**
13
+ * @description Get navigation for a user
14
+ *
15
+ * @tags nav
16
+ * @name GetApiV21Nav
17
+ * @summary Get navigation for a user
18
+ * @request GET:/api/v2.1/nav
19
+ */
20
+ export declare const getApiV21Nav: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesNav>;
@@ -0,0 +1,20 @@
1
+ import { APIV2EntitiesNavItem } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get navigation items for a user
5
+ *
6
+ * @tags nav_items
7
+ * @name GetApiV2NavItems
8
+ * @summary Get navigation items for a user
9
+ * @request GET:/api/v2/nav_items
10
+ */
11
+ export declare const getApiV2NavItems: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesNavItem[]>;
12
+ /**
13
+ * @description Get navigation items for a user
14
+ *
15
+ * @tags nav_items
16
+ * @name GetApiV21NavItems
17
+ * @summary Get navigation items for a user
18
+ * @request GET:/api/v2.1/nav_items
19
+ */
20
+ export declare const getApiV21NavItems: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesNavItem[]>;
@@ -0,0 +1,54 @@
1
+ import { APIV2EntitiesCount, APIV2EntitiesOrderBatchItem, GetApiV21OrderBatchItemsAggregateParams, GetApiV21OrderBatchItemsParams, GetApiV2OrderBatchItemsAggregateParams, GetApiV2OrderBatchItemsParams, PutApiV21OrderBatchItemsIdCallAction, PutApiV2OrderBatchItemsIdCallAction } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Returns aggregated order_batch_items
5
+ *
6
+ * @tags order_batch_items
7
+ * @name GetApiV2OrderBatchItemsAggregate
8
+ * @request GET:/api/v2/order_batch_items/aggregate
9
+ */
10
+ export declare const getApiV2OrderBatchItemsAggregate: (client: HttpClient, query: GetApiV2OrderBatchItemsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
11
+ /**
12
+ * @description Get all order_batch_items
13
+ *
14
+ * @tags order_batch_items
15
+ * @name GetApiV2OrderBatchItems
16
+ * @summary List all order batch items
17
+ * @request GET:/api/v2/order_batch_items
18
+ */
19
+ export declare const getApiV2OrderBatchItems: (client: HttpClient, query: GetApiV2OrderBatchItemsParams, params?: RequestParams) => Promise<APIV2EntitiesOrderBatchItem[]>;
20
+ /**
21
+ * @description Perform an action on an order batch item
22
+ *
23
+ * @tags order_batch_items
24
+ * @name PutApiV2OrderBatchItemsIdCallAction
25
+ * @summary Perform an action on an order batch item
26
+ * @request PUT:/api/v2/order_batch_items/{id}/call/{action}
27
+ */
28
+ export declare const putApiV2OrderBatchItemsIdCallAction: (client: HttpClient, action: string, id: number, putApiV2OrderBatchItemsIdCallAction: PutApiV2OrderBatchItemsIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesOrderBatchItem>;
29
+ /**
30
+ * @description Returns aggregated order_batch_items
31
+ *
32
+ * @tags order_batch_items
33
+ * @name GetApiV21OrderBatchItemsAggregate
34
+ * @request GET:/api/v2.1/order_batch_items/aggregate
35
+ */
36
+ export declare const getApiV21OrderBatchItemsAggregate: (client: HttpClient, query: GetApiV21OrderBatchItemsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
37
+ /**
38
+ * @description Get all order_batch_items
39
+ *
40
+ * @tags order_batch_items
41
+ * @name GetApiV21OrderBatchItems
42
+ * @summary List all order batch items
43
+ * @request GET:/api/v2.1/order_batch_items
44
+ */
45
+ export declare const getApiV21OrderBatchItems: (client: HttpClient, query: GetApiV21OrderBatchItemsParams, params?: RequestParams) => Promise<APIV2EntitiesOrderBatchItem[]>;
46
+ /**
47
+ * @description Perform an action on an order batch item
48
+ *
49
+ * @tags order_batch_items
50
+ * @name PutApiV21OrderBatchItemsIdCallAction
51
+ * @summary Perform an action on an order batch item
52
+ * @request PUT:/api/v2.1/order_batch_items/{id}/call/{action}
53
+ */
54
+ export declare const putApiV21OrderBatchItemsIdCallAction: (client: HttpClient, action: string, id: number, putApiV21OrderBatchItemsIdCallAction: PutApiV21OrderBatchItemsIdCallAction, params?: RequestParams) => Promise<void>;
@@ -0,0 +1,38 @@
1
+ import { APIV21EntitiesOrderBatchRequest, APIV2EntitiesOrderBatchRequest, GetApiV21OrderBatchRequestsParams, GetApiV2OrderBatchRequestsParams } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Returns all order batch requests
5
+ *
6
+ * @tags order_batch_requests
7
+ * @name GetApiV2OrderBatchRequests
8
+ * @summary List all order batch requests
9
+ * @request GET:/api/v2/order_batch_requests
10
+ */
11
+ export declare const getApiV2OrderBatchRequests: (client: HttpClient, query: GetApiV2OrderBatchRequestsParams, params?: RequestParams) => Promise<APIV2EntitiesOrderBatchRequest[]>;
12
+ /**
13
+ * @description get an order batch request
14
+ *
15
+ * @tags order_batch_requests
16
+ * @name GetApiV2OrderBatchRequestsId
17
+ * @summary Retrieve an order batch request
18
+ * @request GET:/api/v2/order_batch_requests/{id}
19
+ */
20
+ export declare const getApiV2OrderBatchRequestsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesOrderBatchRequest>;
21
+ /**
22
+ * @description Returns all order batch requests
23
+ *
24
+ * @tags order_batch_requests
25
+ * @name GetApiV21OrderBatchRequests
26
+ * @summary List all order batch requests
27
+ * @request GET:/api/v2.1/order_batch_requests
28
+ */
29
+ export declare const getApiV21OrderBatchRequests: (client: HttpClient, query: GetApiV21OrderBatchRequestsParams, params?: RequestParams) => Promise<APIV21EntitiesOrderBatchRequest[]>;
30
+ /**
31
+ * @description get an order batch request
32
+ *
33
+ * @tags order_batch_requests
34
+ * @name GetApiV21OrderBatchRequestsId
35
+ * @summary Retrieve an order batch request
36
+ * @request GET:/api/v2.1/order_batch_requests/{id}
37
+ */
38
+ export declare const getApiV21OrderBatchRequestsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesOrderBatchRequest>;