@whiplashmerch/whiplash-api-client 2.0.9 → 2.0.11
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 +2808 -3113
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/Accounts.d.ts +9 -0
- package/dist/generated/Addresses.d.ts +19 -1
- package/dist/generated/BillOfLadings.d.ts +2 -2
- package/dist/generated/Broadcasts.d.ts +2 -2
- package/dist/generated/Cache.d.ts +6 -6
- package/dist/generated/CarrierAccounts.d.ts +13 -4
- package/dist/generated/Chaos.d.ts +55 -1
- package/dist/generated/ConsumerReturns.d.ts +2 -2
- package/dist/generated/Customers.d.ts +13 -4
- package/dist/generated/Documents.d.ts +2 -2
- package/dist/generated/FilterSets.d.ts +2 -2
- package/dist/generated/Incidents.d.ts +2 -2
- package/dist/generated/Invoices.d.ts +2 -2
- package/dist/generated/Items.d.ts +13 -4
- package/dist/generated/Loads.d.ts +4 -4
- package/dist/generated/Locales.d.ts +2 -2
- package/dist/generated/LocationAdjustments.d.ts +64 -1
- package/dist/generated/Locations.d.ts +11 -2
- package/dist/generated/Lots.d.ts +9 -0
- package/dist/generated/Manifests.d.ts +6 -6
- package/dist/generated/OrderBatches.d.ts +13 -4
- package/dist/generated/OrderItems.d.ts +11 -2
- package/dist/generated/Orders.d.ts +15 -6
- package/dist/generated/Originators.d.ts +9 -0
- package/dist/generated/Packages.d.ts +15 -6
- package/dist/generated/Prepacks.d.ts +10 -1
- package/dist/generated/Public.d.ts +4 -4
- package/dist/generated/Rates.d.ts +9 -0
- package/dist/generated/ReasonCodes.d.ts +19 -1
- package/dist/generated/Rules.d.ts +9 -0
- package/dist/generated/Scancodes.d.ts +19 -1
- package/dist/generated/SerialNumbers.d.ts +2 -2
- package/dist/generated/ShipnoticeItems.d.ts +41 -5
- package/dist/generated/Shipnotices.d.ts +13 -4
- package/dist/generated/ShippingAliases.d.ts +9 -0
- package/dist/generated/ShippingMethodMarkups.d.ts +9 -0
- package/dist/generated/Shops.d.ts +9 -0
- package/dist/generated/Stats.d.ts +6 -6
- package/dist/generated/SurchargeMarkups.d.ts +55 -1
- package/dist/generated/Templates.d.ts +9 -0
- package/dist/generated/Transactions.d.ts +9 -0
- package/dist/generated/TransportationMarkups.d.ts +55 -1
- package/dist/generated/Users.d.ts +13 -4
- package/dist/generated/Warehouses.d.ts +14 -5
- package/dist/generated/data-contracts.d.ts +19146 -18527
- package/dist/generated/index.d.ts +0 -1
- package/dist/mock-data/index.d.ts +11 -3
- package/dist/mock-data/v2/customer/normal.d.ts +198 -0
- package/dist/mock-data/v2/nav/normal.d.ts +68 -0
- package/dist/mock-data/v2/user/normal.d.ts +20 -0
- package/dist/mock-data/v2/warehouse/normal.d.ts +47 -0
- package/dist/mock-data/v2_1/nav/normal.d.ts +68 -0
- package/dist/mock-data/v2_1/order/all.d.ts +2 -1020
- package/dist/mock-data/v2_1/prepack/created.d.ts +1 -0
- package/dist/mock-data/v2_1/shipnotice/all.d.ts +2 -256
- package/dist/mock-data/v2_1/surcharge-markup/created.d.ts +1 -0
- package/dist/mock-data/v2_1/tag/created.d.ts +1 -0
- package/dist/mock-data/v2_1/transportation-markup/created.d.ts +1 -0
- package/generated/Customers.ts +2 -2
- package/generated/Documents.ts +2 -2
- package/generated/Items.ts +2 -2
- package/generated/OrderItems.ts +2 -2
- package/generated/Orders.ts +2 -2
- package/generated/ShipnoticeItems.ts +2 -2
- package/generated/Shipnotices.ts +2 -2
- package/generated/data-contracts.ts +9596 -9495
- package/package.json +1 -1
- package/dist/generated/Pallets.d.ts +0 -146
|
@@ -162,6 +162,15 @@ export declare const getApiV21AccountsIdAccountTransactions: (client: HttpClient
|
|
|
162
162
|
* @request POST:/api/v2.1/accounts/{id}/account_transactions
|
|
163
163
|
*/
|
|
164
164
|
export declare const postApiV21AccountsIdAccountTransactions: (client: HttpClient, id: number, data: PostApiV21AccountsIdAccountTransactionsRequest, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* @description Get all audits for users
|
|
167
|
+
*
|
|
168
|
+
* @tags accounts
|
|
169
|
+
* @name GetApiV21AccountsIdAudits
|
|
170
|
+
* @summary Retrieve audit info for users
|
|
171
|
+
* @request GET:/api/v2.1/accounts/{id}/audits
|
|
172
|
+
*/
|
|
173
|
+
export declare const getApiV21AccountsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
|
|
165
174
|
/**
|
|
166
175
|
* @description Get the suggested_refill for an order
|
|
167
176
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiV2EntitiesAddress, PutApiV2AddressesIdRequest } from "./data-contracts";
|
|
1
|
+
import { ApiV2EntitiesAddress, PutApiV21AddressesIdRequest, PutApiV2AddressesIdRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Update an address
|
|
@@ -18,3 +18,21 @@ export declare const putApiV2AddressesId: (client: HttpClient, id: number, data:
|
|
|
18
18
|
* @request DELETE:/api/v2/addresses/{id}
|
|
19
19
|
*/
|
|
20
20
|
export declare const deleteApiV2AddressesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Update an address
|
|
23
|
+
*
|
|
24
|
+
* @tags addresses
|
|
25
|
+
* @name PutApiV21AddressesId
|
|
26
|
+
* @summary Update an address
|
|
27
|
+
* @request PUT:/api/v2.1/addresses/{id}
|
|
28
|
+
*/
|
|
29
|
+
export declare const putApiV21AddressesId: (client: HttpClient, id: number, data: PutApiV21AddressesIdRequest, params?: RequestParams) => Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Destroy an address
|
|
32
|
+
*
|
|
33
|
+
* @tags addresses
|
|
34
|
+
* @name DeleteApiV21AddressesId
|
|
35
|
+
* @summary Destroy an address
|
|
36
|
+
* @request DELETE:/api/v2.1/addresses/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const deleteApiV21AddressesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
@@ -26,7 +26,7 @@ export declare const postApiV2BillOfLadings: (client: HttpClient, data: PostApiV
|
|
|
26
26
|
* @summary List actions you can perform
|
|
27
27
|
* @request GET:/api/v2/bill_of_ladings/actions
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2BillOfLadingsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2BillOfLadingsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description get a bill of lading
|
|
32
32
|
*
|
|
@@ -107,7 +107,7 @@ export declare const postApiV21BillOfLadings: (client: HttpClient, data: PostApi
|
|
|
107
107
|
* @summary List actions you can perform
|
|
108
108
|
* @request GET:/api/v2.1/bill_of_ladings/actions
|
|
109
109
|
*/
|
|
110
|
-
export declare const getApiV21BillOfLadingsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
110
|
+
export declare const getApiV21BillOfLadingsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
111
111
|
/**
|
|
112
112
|
* @description get a bill of lading
|
|
113
113
|
*
|
|
@@ -35,7 +35,7 @@ export declare const getApiV2BroadcastsCount: (client: HttpClient, query: GetApi
|
|
|
35
35
|
* @summary Retrieve broadcast levels
|
|
36
36
|
* @request GET:/api/v2/broadcasts/levels
|
|
37
37
|
*/
|
|
38
|
-
export declare const getApiV2BroadcastsLevels: (client: HttpClient, params?: RequestParams) => Promise<
|
|
38
|
+
export declare const getApiV2BroadcastsLevels: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
39
39
|
/**
|
|
40
40
|
* @description Get a broadcast
|
|
41
41
|
*
|
|
@@ -116,7 +116,7 @@ export declare const getApiV21BroadcastsCount: (client: HttpClient, query: GetAp
|
|
|
116
116
|
* @summary Retrieve broadcast levels
|
|
117
117
|
* @request GET:/api/v2.1/broadcasts/levels
|
|
118
118
|
*/
|
|
119
|
-
export declare const getApiV21BroadcastsLevels: (client: HttpClient, params?: RequestParams) => Promise<
|
|
119
|
+
export declare const getApiV21BroadcastsLevels: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
120
120
|
/**
|
|
121
121
|
* @description Get a broadcast
|
|
122
122
|
*
|
|
@@ -8,7 +8,7 @@ import { HttpClient, RequestParams } from "./http-client";
|
|
|
8
8
|
* @summary Add a key to the shared cache
|
|
9
9
|
* @request POST:/api/v2/cache
|
|
10
10
|
*/
|
|
11
|
-
export declare const postApiV2Cache: (client: HttpClient, data: PostApiV2CacheRequest, params?: RequestParams) => Promise<
|
|
11
|
+
export declare const postApiV2Cache: (client: HttpClient, data: PostApiV2CacheRequest, params?: RequestParams) => Promise<any>;
|
|
12
12
|
/**
|
|
13
13
|
* @description gets a key from the shared cache
|
|
14
14
|
*
|
|
@@ -17,7 +17,7 @@ export declare const postApiV2Cache: (client: HttpClient, data: PostApiV2CacheRe
|
|
|
17
17
|
* @summary Retrieve a key from the shared cache
|
|
18
18
|
* @request GET:/api/v2/cache/{key}
|
|
19
19
|
*/
|
|
20
|
-
export declare const getApiV2CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<
|
|
20
|
+
export declare const getApiV2CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<any>;
|
|
21
21
|
/**
|
|
22
22
|
* @description deletes a key from the shared cache
|
|
23
23
|
*
|
|
@@ -26,7 +26,7 @@ export declare const getApiV2CacheKey: (client: HttpClient, key: number, params?
|
|
|
26
26
|
* @summary Delete a key from the shared cache
|
|
27
27
|
* @request DELETE:/api/v2/cache/{key}
|
|
28
28
|
*/
|
|
29
|
-
export declare const deleteApiV2CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const deleteApiV2CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description adds a key to the shared cache
|
|
32
32
|
*
|
|
@@ -35,7 +35,7 @@ export declare const deleteApiV2CacheKey: (client: HttpClient, key: number, para
|
|
|
35
35
|
* @summary Add a key to the shared cache
|
|
36
36
|
* @request POST:/api/v2.1/cache
|
|
37
37
|
*/
|
|
38
|
-
export declare const postApiV21Cache: (client: HttpClient, data: PostApiV21CacheRequest, params?: RequestParams) => Promise<
|
|
38
|
+
export declare const postApiV21Cache: (client: HttpClient, data: PostApiV21CacheRequest, params?: RequestParams) => Promise<any>;
|
|
39
39
|
/**
|
|
40
40
|
* @description gets a key from the shared cache
|
|
41
41
|
*
|
|
@@ -44,7 +44,7 @@ export declare const postApiV21Cache: (client: HttpClient, data: PostApiV21Cache
|
|
|
44
44
|
* @summary Retrieve a key from the shared cache
|
|
45
45
|
* @request GET:/api/v2.1/cache/{key}
|
|
46
46
|
*/
|
|
47
|
-
export declare const getApiV21CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<
|
|
47
|
+
export declare const getApiV21CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<any>;
|
|
48
48
|
/**
|
|
49
49
|
* @description deletes a key from the shared cache
|
|
50
50
|
*
|
|
@@ -53,4 +53,4 @@ export declare const getApiV21CacheKey: (client: HttpClient, key: number, params
|
|
|
53
53
|
* @summary Delete a key from the shared cache
|
|
54
54
|
* @request DELETE:/api/v2.1/cache/{key}
|
|
55
55
|
*/
|
|
56
|
-
export declare const deleteApiV21CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<
|
|
56
|
+
export declare const deleteApiV21CacheKey: (client: HttpClient, key: number, params?: RequestParams) => Promise<any>;
|
|
@@ -89,7 +89,7 @@ export declare const getApiV2CarrierAccountsIdAudits: (client: HttpClient, id: n
|
|
|
89
89
|
* @summary Get easypost details for a carrier_account
|
|
90
90
|
* @request GET:/api/v2/carrier_accounts/{id}/easypost_account
|
|
91
91
|
*/
|
|
92
|
-
export declare const getApiV2CarrierAccountsIdEasypostAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
92
|
+
export declare const getApiV2CarrierAccountsIdEasypostAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesCarrierAccount>;
|
|
93
93
|
/**
|
|
94
94
|
* @description Get the meta fields for a(n) Shop
|
|
95
95
|
*
|
|
@@ -116,7 +116,7 @@ export declare const putApiV2CarrierAccountsIdMetaFields: (client: HttpClient, i
|
|
|
116
116
|
* @summary Retrieve provider details for a carrier account
|
|
117
117
|
* @request GET:/api/v2/carrier_accounts/{id}/provider_account
|
|
118
118
|
*/
|
|
119
|
-
export declare const getApiV2CarrierAccountsIdProviderAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
119
|
+
export declare const getApiV2CarrierAccountsIdProviderAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesCarrierAccount>;
|
|
120
120
|
/**
|
|
121
121
|
* @description Get a list of carrier_accounts
|
|
122
122
|
*
|
|
@@ -189,6 +189,15 @@ export declare const putApiV21CarrierAccountsId: (client: HttpClient, id: number
|
|
|
189
189
|
* @request DELETE:/api/v2.1/carrier_accounts/{id}
|
|
190
190
|
*/
|
|
191
191
|
export declare const deleteApiV21CarrierAccountsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
192
|
+
/**
|
|
193
|
+
* @description Get all audits for users
|
|
194
|
+
*
|
|
195
|
+
* @tags carrier_accounts
|
|
196
|
+
* @name GetApiV21CarrierAccountsIdAudits
|
|
197
|
+
* @summary Retrieve audit info for users
|
|
198
|
+
* @request GET:/api/v2.1/carrier_accounts/{id}/audits
|
|
199
|
+
*/
|
|
200
|
+
export declare const getApiV21CarrierAccountsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
|
|
192
201
|
/**
|
|
193
202
|
* @description Get easypost details for a carrier_account
|
|
194
203
|
*
|
|
@@ -197,7 +206,7 @@ export declare const deleteApiV21CarrierAccountsId: (client: HttpClient, id: num
|
|
|
197
206
|
* @summary Get easypost details for a carrier_account
|
|
198
207
|
* @request GET:/api/v2.1/carrier_accounts/{id}/easypost_account
|
|
199
208
|
*/
|
|
200
|
-
export declare const getApiV21CarrierAccountsIdEasypostAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
209
|
+
export declare const getApiV21CarrierAccountsIdEasypostAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesCarrierAccount>;
|
|
201
210
|
/**
|
|
202
211
|
* @description Get the meta fields for a(n) Shop
|
|
203
212
|
*
|
|
@@ -224,4 +233,4 @@ export declare const putApiV21CarrierAccountsIdMetaFields: (client: HttpClient,
|
|
|
224
233
|
* @summary Retrieve provider details for a carrier account
|
|
225
234
|
* @request GET:/api/v2.1/carrier_accounts/{id}/provider_account
|
|
226
235
|
*/
|
|
227
|
-
export declare const getApiV21CarrierAccountsIdProviderAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<
|
|
236
|
+
export declare const getApiV21CarrierAccountsIdProviderAccount: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesCarrierAccount>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetApiV2ChaosCpuSpinParams, GetApiV2ChaosDbSleepParams, GetApiV2ChaosDbSpinParams, GetApiV2ChaosDbWriteParams, GetApiV2ChaosSleepParams } from "./data-contracts";
|
|
1
|
+
import { GetApiV21ChaosCpuSpinParams, GetApiV21ChaosDbSleepParams, GetApiV21ChaosDbSpinParams, GetApiV21ChaosDbWriteParams, GetApiV21ChaosSleepParams, GetApiV2ChaosCpuSpinParams, GetApiV2ChaosDbSleepParams, GetApiV2ChaosDbSpinParams, GetApiV2ChaosDbWriteParams, GetApiV2ChaosSleepParams } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Spin the CPU of a process with rand()
|
|
@@ -54,3 +54,57 @@ export declare const getApiV2ChaosRackTimeout: (client: HttpClient, params?: Req
|
|
|
54
54
|
* @request GET:/api/v2/chaos/sleep
|
|
55
55
|
*/
|
|
56
56
|
export declare const getApiV2ChaosSleep: (client: HttpClient, query: GetApiV2ChaosSleepParams, params?: RequestParams) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* @description Spin the CPU of a process with rand()
|
|
59
|
+
*
|
|
60
|
+
* @tags chaos
|
|
61
|
+
* @name GetApiV21ChaosCpuSpin
|
|
62
|
+
* @summary Wheels of steel
|
|
63
|
+
* @request GET:/api/v2.1/chaos/cpu_spin
|
|
64
|
+
*/
|
|
65
|
+
export declare const getApiV21ChaosCpuSpin: (client: HttpClient, query: GetApiV21ChaosCpuSpinParams, params?: RequestParams) => Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* @description An endpoint that sleeps the DB with a read
|
|
68
|
+
*
|
|
69
|
+
* @tags chaos
|
|
70
|
+
* @name GetApiV21ChaosDbSleep
|
|
71
|
+
* @summary DB goes night night
|
|
72
|
+
* @request GET:/api/v2.1/chaos/db_sleep
|
|
73
|
+
*/
|
|
74
|
+
export declare const getApiV21ChaosDbSleep: (client: HttpClient, query: GetApiV21ChaosDbSleepParams, params?: RequestParams) => Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* @description Spin the DB with endless selects
|
|
77
|
+
*
|
|
78
|
+
* @tags chaos
|
|
79
|
+
* @name GetApiV21ChaosDbSpin
|
|
80
|
+
* @summary DJ Whiplash
|
|
81
|
+
* @request GET:/api/v2.1/chaos/db_spin
|
|
82
|
+
*/
|
|
83
|
+
export declare const getApiV21ChaosDbSpin: (client: HttpClient, query: GetApiV21ChaosDbSpinParams, params?: RequestParams) => Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* @description An endpoint that opens a DB write transaction and holds it open
|
|
86
|
+
*
|
|
87
|
+
* @tags chaos
|
|
88
|
+
* @name GetApiV21ChaosDbWrite
|
|
89
|
+
* @summary DB write lock held open
|
|
90
|
+
* @request GET:/api/v2.1/chaos/db_write
|
|
91
|
+
*/
|
|
92
|
+
export declare const getApiV21ChaosDbWrite: (client: HttpClient, query: GetApiV21ChaosDbWriteParams, params?: RequestParams) => Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* @description Simulate a Rack timeout exception
|
|
95
|
+
*
|
|
96
|
+
* @tags chaos
|
|
97
|
+
* @name GetApiV21ChaosRackTimeout
|
|
98
|
+
* @summary Raise Rack::Timeout::RequestTimeoutException
|
|
99
|
+
* @request GET:/api/v2.1/chaos/rack_timeout
|
|
100
|
+
*/
|
|
101
|
+
export declare const getApiV21ChaosRackTimeout: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* @description An endpoint that sleeps via ruby sleep
|
|
104
|
+
*
|
|
105
|
+
* @tags chaos
|
|
106
|
+
* @name GetApiV21ChaosSleep
|
|
107
|
+
* @summary Go night night
|
|
108
|
+
* @request GET:/api/v2.1/chaos/sleep
|
|
109
|
+
*/
|
|
110
|
+
export declare const getApiV21ChaosSleep: (client: HttpClient, query: GetApiV21ChaosSleepParams, params?: RequestParams) => Promise<void>;
|
|
@@ -53,7 +53,7 @@ export declare const getApiV2ConsumerReturnsCount: (client: HttpClient, query: G
|
|
|
53
53
|
* @summary List consumer_returns traits
|
|
54
54
|
* @request GET:/api/v2/consumer_returns/traits
|
|
55
55
|
*/
|
|
56
|
-
export declare const getApiV2ConsumerReturnsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
56
|
+
export declare const getApiV2ConsumerReturnsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
57
57
|
/**
|
|
58
58
|
* @description Get a consumer return
|
|
59
59
|
*
|
|
@@ -206,7 +206,7 @@ export declare const getApiV21ConsumerReturnsCount: (client: HttpClient, query:
|
|
|
206
206
|
* @summary List consumer_returns traits
|
|
207
207
|
* @request GET:/api/v2.1/consumer_returns/traits
|
|
208
208
|
*/
|
|
209
|
-
export declare const getApiV21ConsumerReturnsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
209
|
+
export declare const getApiV21ConsumerReturnsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
210
210
|
/**
|
|
211
211
|
* @description Get a consumer return
|
|
212
212
|
*
|
|
@@ -26,7 +26,7 @@ export declare const postApiV2Customers: (client: HttpClient, data: PostApiV2Cus
|
|
|
26
26
|
* @summary List actions you can perform
|
|
27
27
|
* @request GET:/api/v2/customers/actions
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2CustomersActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2CustomersActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description Count of all customers
|
|
32
32
|
*
|
|
@@ -44,7 +44,7 @@ export declare const getApiV2CustomersCount: (client: HttpClient, query: GetApiV
|
|
|
44
44
|
* @summary List customers traits
|
|
45
45
|
* @request GET:/api/v2/customers/traits
|
|
46
46
|
*/
|
|
47
|
-
export declare const getApiV2CustomersTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
47
|
+
export declare const getApiV2CustomersTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
48
48
|
/**
|
|
49
49
|
* @description Get a customer
|
|
50
50
|
*
|
|
@@ -161,7 +161,7 @@ export declare const postApiV21Customers: (client: HttpClient, data: PostApiV21C
|
|
|
161
161
|
* @summary List actions you can perform
|
|
162
162
|
* @request GET:/api/v2.1/customers/actions
|
|
163
163
|
*/
|
|
164
|
-
export declare const getApiV21CustomersActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
164
|
+
export declare const getApiV21CustomersActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
165
165
|
/**
|
|
166
166
|
* @description Count of all customers
|
|
167
167
|
*
|
|
@@ -179,7 +179,7 @@ export declare const getApiV21CustomersCount: (client: HttpClient, query: GetApi
|
|
|
179
179
|
* @summary List customers traits
|
|
180
180
|
* @request GET:/api/v2.1/customers/traits
|
|
181
181
|
*/
|
|
182
|
-
export declare const getApiV21CustomersTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
182
|
+
export declare const getApiV21CustomersTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
183
183
|
/**
|
|
184
184
|
* @description Get a customer
|
|
185
185
|
*
|
|
@@ -198,6 +198,15 @@ export declare const getApiV21CustomersId: (client: HttpClient, id: number, para
|
|
|
198
198
|
* @request PUT:/api/v2.1/customers/{id}
|
|
199
199
|
*/
|
|
200
200
|
export declare const putApiV21CustomersId: (client: HttpClient, id: number, data: PutApiV21CustomersIdRequest, params?: RequestParams) => Promise<void>;
|
|
201
|
+
/**
|
|
202
|
+
* @description Get all audits for users
|
|
203
|
+
*
|
|
204
|
+
* @tags customers
|
|
205
|
+
* @name GetApiV21CustomersIdAudits
|
|
206
|
+
* @summary Retrieve audit info for users
|
|
207
|
+
* @request GET:/api/v2.1/customers/{id}/audits
|
|
208
|
+
*/
|
|
209
|
+
export declare const getApiV21CustomersIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
|
|
201
210
|
/**
|
|
202
211
|
* @description Perform an action on a customer
|
|
203
212
|
*
|
|
@@ -26,7 +26,7 @@ export declare const postApiV2Documents: (client: HttpClient, data: PostApiV2Doc
|
|
|
26
26
|
* @summary List actions you can perform
|
|
27
27
|
* @request GET:/api/v2/documents/actions
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2DocumentsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2DocumentsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description Get a document
|
|
32
32
|
*
|
|
@@ -89,7 +89,7 @@ export declare const postApiV21Documents: (client: HttpClient, data: PostApiV21D
|
|
|
89
89
|
* @summary List actions you can perform
|
|
90
90
|
* @request GET:/api/v2.1/documents/actions
|
|
91
91
|
*/
|
|
92
|
-
export declare const getApiV21DocumentsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
92
|
+
export declare const getApiV21DocumentsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
93
93
|
/**
|
|
94
94
|
* @description Get a document
|
|
95
95
|
*
|
|
@@ -44,7 +44,7 @@ export declare const getApiV2FilterSetsOptions: (client: HttpClient, params?: Re
|
|
|
44
44
|
* @summary List filter_sets traits
|
|
45
45
|
* @request GET:/api/v2/filter_sets/traits
|
|
46
46
|
*/
|
|
47
|
-
export declare const getApiV2FilterSetsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
47
|
+
export declare const getApiV2FilterSetsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
48
48
|
/**
|
|
49
49
|
* @description Find or create a filter set
|
|
50
50
|
*
|
|
@@ -215,7 +215,7 @@ export declare const getApiV21FilterSetsOptions: (client: HttpClient, params?: R
|
|
|
215
215
|
* @summary List filter_sets traits
|
|
216
216
|
* @request GET:/api/v2.1/filter_sets/traits
|
|
217
217
|
*/
|
|
218
|
-
export declare const getApiV21FilterSetsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
218
|
+
export declare const getApiV21FilterSetsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
219
219
|
/**
|
|
220
220
|
* @description Find or create a filter set
|
|
221
221
|
*
|
|
@@ -26,7 +26,7 @@ export declare const postApiV2Incidents: (client: HttpClient, data: PostApiV2Inc
|
|
|
26
26
|
* @summary List actions you can perform
|
|
27
27
|
* @request GET:/api/v2/incidents/actions
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2IncidentsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2IncidentsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description Returns count of incidents
|
|
32
32
|
*
|
|
@@ -89,7 +89,7 @@ export declare const postApiV21Incidents: (client: HttpClient, data: PostApiV21I
|
|
|
89
89
|
* @summary List actions you can perform
|
|
90
90
|
* @request GET:/api/v2.1/incidents/actions
|
|
91
91
|
*/
|
|
92
|
-
export declare const getApiV21IncidentsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
92
|
+
export declare const getApiV21IncidentsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
93
93
|
/**
|
|
94
94
|
* @description Returns count of incidents
|
|
95
95
|
*
|
|
@@ -26,7 +26,7 @@ export declare const getApiV2InvoicesCount: (client: HttpClient, query: GetApiV2
|
|
|
26
26
|
* @summary List invoices traits
|
|
27
27
|
* @request GET:/api/v2/invoices/traits
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2InvoicesTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2InvoicesTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description Get an invoice
|
|
32
32
|
*
|
|
@@ -80,7 +80,7 @@ export declare const getApiV21InvoicesCount: (client: HttpClient, query: GetApiV
|
|
|
80
80
|
* @summary List invoices traits
|
|
81
81
|
* @request GET:/api/v2.1/invoices/traits
|
|
82
82
|
*/
|
|
83
|
-
export declare const getApiV21InvoicesTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
83
|
+
export declare const getApiV21InvoicesTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
84
84
|
/**
|
|
85
85
|
* @description Get an invoice
|
|
86
86
|
*
|
|
@@ -26,7 +26,7 @@ export declare const postApiV2Items: (client: HttpClient, data: PostApiV2ItemsRe
|
|
|
26
26
|
* @summary List actions you can perform
|
|
27
27
|
* @request GET:/api/v2/items/actions
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2ItemsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2ItemsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description Returns aggregated items
|
|
32
32
|
*
|
|
@@ -53,7 +53,7 @@ export declare const getApiV2ItemsCount: (client: HttpClient, query: GetApiV2Ite
|
|
|
53
53
|
* @summary List items traits
|
|
54
54
|
* @request GET:/api/v2/items/traits
|
|
55
55
|
*/
|
|
56
|
-
export declare const getApiV2ItemsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
56
|
+
export declare const getApiV2ItemsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
57
57
|
/**
|
|
58
58
|
* @description Get an item
|
|
59
59
|
*
|
|
@@ -395,7 +395,7 @@ export declare const postApiV21Items: (client: HttpClient, data: PostApiV21Items
|
|
|
395
395
|
* @summary List actions you can perform
|
|
396
396
|
* @request GET:/api/v2.1/items/actions
|
|
397
397
|
*/
|
|
398
|
-
export declare const getApiV21ItemsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
398
|
+
export declare const getApiV21ItemsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
399
399
|
/**
|
|
400
400
|
* @description Returns aggregated items
|
|
401
401
|
*
|
|
@@ -422,7 +422,7 @@ export declare const getApiV21ItemsCount: (client: HttpClient, query: GetApiV21I
|
|
|
422
422
|
* @summary List items traits
|
|
423
423
|
* @request GET:/api/v2.1/items/traits
|
|
424
424
|
*/
|
|
425
|
-
export declare const getApiV21ItemsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
425
|
+
export declare const getApiV21ItemsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
426
426
|
/**
|
|
427
427
|
* @description Get an item
|
|
428
428
|
*
|
|
@@ -450,6 +450,15 @@ export declare const putApiV21ItemsId: (client: HttpClient, id: number, data: Pu
|
|
|
450
450
|
* @request DELETE:/api/v2.1/items/{id}
|
|
451
451
|
*/
|
|
452
452
|
export declare const deleteApiV21ItemsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
453
|
+
/**
|
|
454
|
+
* @description Get all audits for users
|
|
455
|
+
*
|
|
456
|
+
* @tags items
|
|
457
|
+
* @name GetApiV21ItemsIdAudits
|
|
458
|
+
* @summary Retrieve audit info for users
|
|
459
|
+
* @request GET:/api/v2.1/items/{id}/audits
|
|
460
|
+
*/
|
|
461
|
+
export declare const getApiV21ItemsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
|
|
453
462
|
/**
|
|
454
463
|
* @description Shows all bundle items containing this item
|
|
455
464
|
*
|
|
@@ -26,7 +26,7 @@ export declare const postApiV2Loads: (client: HttpClient, data: PostApiV2LoadsRe
|
|
|
26
26
|
* @summary List actions you can perform
|
|
27
27
|
* @request GET:/api/v2/loads/actions
|
|
28
28
|
*/
|
|
29
|
-
export declare const getApiV2LoadsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
29
|
+
export declare const getApiV2LoadsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
30
30
|
/**
|
|
31
31
|
* @description Returns count of loads
|
|
32
32
|
*
|
|
@@ -44,7 +44,7 @@ export declare const getApiV2LoadsCount: (client: HttpClient, query: GetApiV2Loa
|
|
|
44
44
|
* @summary List loads traits
|
|
45
45
|
* @request GET:/api/v2/loads/traits
|
|
46
46
|
*/
|
|
47
|
-
export declare const getApiV2LoadsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
47
|
+
export declare const getApiV2LoadsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
48
48
|
/**
|
|
49
49
|
* @description Retrieve a load
|
|
50
50
|
*
|
|
@@ -134,7 +134,7 @@ export declare const postApiV21Loads: (client: HttpClient, data: PostApiV21Loads
|
|
|
134
134
|
* @summary List actions you can perform
|
|
135
135
|
* @request GET:/api/v2.1/loads/actions
|
|
136
136
|
*/
|
|
137
|
-
export declare const getApiV21LoadsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
137
|
+
export declare const getApiV21LoadsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
138
138
|
/**
|
|
139
139
|
* @description Returns count of loads
|
|
140
140
|
*
|
|
@@ -152,7 +152,7 @@ export declare const getApiV21LoadsCount: (client: HttpClient, query: GetApiV21L
|
|
|
152
152
|
* @summary List loads traits
|
|
153
153
|
* @request GET:/api/v2.1/loads/traits
|
|
154
154
|
*/
|
|
155
|
-
export declare const getApiV21LoadsTraits: (client: HttpClient, params?: RequestParams) => Promise<
|
|
155
|
+
export declare const getApiV21LoadsTraits: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
156
156
|
/**
|
|
157
157
|
* @description Retrieve a load
|
|
158
158
|
*
|
|
@@ -7,7 +7,7 @@ import { HttpClient, RequestParams } from "./http-client";
|
|
|
7
7
|
* @summary Fetch localized data
|
|
8
8
|
* @request GET:/api/v2/locales
|
|
9
9
|
*/
|
|
10
|
-
export declare const getApiV2Locales: (client: HttpClient, params?: RequestParams) => Promise<
|
|
10
|
+
export declare const getApiV2Locales: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
11
11
|
/**
|
|
12
12
|
* @description Returns locales
|
|
13
13
|
*
|
|
@@ -16,4 +16,4 @@ export declare const getApiV2Locales: (client: HttpClient, params?: RequestParam
|
|
|
16
16
|
* @summary Fetch localized data
|
|
17
17
|
* @request GET:/api/v2.1/locales
|
|
18
18
|
*/
|
|
19
|
-
export declare const getApiV21Locales: (client: HttpClient, params?: RequestParams) => Promise<
|
|
19
|
+
export declare const getApiV21Locales: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesLocationAdjustment, ApiV2EntitiesTag, DeleteApiV2LocationAdjustmentsIdTagsParams, GetApiV2LocationAdjustmentsCountParams, GetApiV2LocationAdjustmentsIdTagsParams, GetApiV2LocationAdjustmentsParams, PostApiV2LocationAdjustmentsIdTagsRequest, PostApiV2LocationAdjustmentsRequest } from "./data-contracts";
|
|
1
|
+
import { ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesLocationAdjustment, ApiV2EntitiesTag, DeleteApiV21LocationAdjustmentsIdTagsParams, DeleteApiV2LocationAdjustmentsIdTagsParams, GetApiV21LocationAdjustmentsCountParams, GetApiV21LocationAdjustmentsIdTagsParams, GetApiV21LocationAdjustmentsParams, GetApiV2LocationAdjustmentsCountParams, GetApiV2LocationAdjustmentsIdTagsParams, GetApiV2LocationAdjustmentsParams, PostApiV21LocationAdjustmentsIdTagsRequest, PostApiV21LocationAdjustmentsRequest, PostApiV2LocationAdjustmentsIdTagsRequest, PostApiV2LocationAdjustmentsRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Get all location_adjustments
|
|
@@ -63,3 +63,66 @@ export declare const postApiV2LocationAdjustmentsIdTags: (client: HttpClient, id
|
|
|
63
63
|
* @request DELETE:/api/v2/location_adjustments/{id}/tags
|
|
64
64
|
*/
|
|
65
65
|
export declare const deleteApiV2LocationAdjustmentsIdTags: (client: HttpClient, { id, ...query }: DeleteApiV2LocationAdjustmentsIdTagsParams, params?: RequestParams) => Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Get all location_adjustments
|
|
68
|
+
*
|
|
69
|
+
* @tags location_adjustments
|
|
70
|
+
* @name GetApiV21LocationAdjustments
|
|
71
|
+
* @summary List location adjustments
|
|
72
|
+
* @request GET:/api/v2.1/location_adjustments
|
|
73
|
+
*/
|
|
74
|
+
export declare const getApiV21LocationAdjustments: (client: HttpClient, query: GetApiV21LocationAdjustmentsParams, params?: RequestParams) => Promise<ApiV2EntitiesLocationAdjustment[]>;
|
|
75
|
+
/**
|
|
76
|
+
* @description Create a location adjustment
|
|
77
|
+
*
|
|
78
|
+
* @tags location_adjustments
|
|
79
|
+
* @name PostApiV21LocationAdjustments
|
|
80
|
+
* @summary Create a location adjustment
|
|
81
|
+
* @request POST:/api/v2.1/location_adjustments
|
|
82
|
+
*/
|
|
83
|
+
export declare const postApiV21LocationAdjustments: (client: HttpClient, data: PostApiV21LocationAdjustmentsRequest, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* @description Returns count of location_adjustments
|
|
86
|
+
*
|
|
87
|
+
* @tags location_adjustments
|
|
88
|
+
* @name GetApiV21LocationAdjustmentsCount
|
|
89
|
+
* @summary Count location adjustments
|
|
90
|
+
* @request GET:/api/v2.1/location_adjustments/count
|
|
91
|
+
*/
|
|
92
|
+
export declare const getApiV21LocationAdjustmentsCount: (client: HttpClient, query: GetApiV21LocationAdjustmentsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
|
|
93
|
+
/**
|
|
94
|
+
* @description Get a location adjustment
|
|
95
|
+
*
|
|
96
|
+
* @tags location_adjustments
|
|
97
|
+
* @name GetApiV21LocationAdjustmentsId
|
|
98
|
+
* @summary Retrieve a location adjustment
|
|
99
|
+
* @request GET:/api/v2.1/location_adjustments/{id}
|
|
100
|
+
*/
|
|
101
|
+
export declare const getApiV21LocationAdjustmentsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesLocationAdjustment>;
|
|
102
|
+
/**
|
|
103
|
+
* @description Get tags for a resource
|
|
104
|
+
*
|
|
105
|
+
* @tags location_adjustments
|
|
106
|
+
* @name GetApiV21LocationAdjustmentsIdTags
|
|
107
|
+
* @summary Get tags for a resource
|
|
108
|
+
* @request GET:/api/v2.1/location_adjustments/{id}/tags
|
|
109
|
+
*/
|
|
110
|
+
export declare const getApiV21LocationAdjustmentsIdTags: (client: HttpClient, { id, ...query }: GetApiV21LocationAdjustmentsIdTagsParams, params?: RequestParams) => Promise<ApiV2EntitiesTag>;
|
|
111
|
+
/**
|
|
112
|
+
* @description Add tag(s) for a resource
|
|
113
|
+
*
|
|
114
|
+
* @tags location_adjustments
|
|
115
|
+
* @name PostApiV21LocationAdjustmentsIdTags
|
|
116
|
+
* @summary Add tag(s) for a resource
|
|
117
|
+
* @request POST:/api/v2.1/location_adjustments/{id}/tags
|
|
118
|
+
*/
|
|
119
|
+
export declare const postApiV21LocationAdjustmentsIdTags: (client: HttpClient, id: number, data: PostApiV21LocationAdjustmentsIdTagsRequest, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* @description Remove all tags for a resource
|
|
122
|
+
*
|
|
123
|
+
* @tags location_adjustments
|
|
124
|
+
* @name DeleteApiV21LocationAdjustmentsIdTags
|
|
125
|
+
* @summary Remove all tags for a resource
|
|
126
|
+
* @request DELETE:/api/v2.1/location_adjustments/{id}/tags
|
|
127
|
+
*/
|
|
128
|
+
export declare const deleteApiV21LocationAdjustmentsIdTags: (client: HttpClient, { id, ...query }: DeleteApiV21LocationAdjustmentsIdTagsParams, params?: RequestParams) => Promise<void>;
|
|
@@ -17,7 +17,7 @@ export declare const getApiV2Locations: (client: HttpClient, query: GetApiV2Loca
|
|
|
17
17
|
* @summary List actions you can perform
|
|
18
18
|
* @request GET:/api/v2/locations/actions
|
|
19
19
|
*/
|
|
20
|
-
export declare const getApiV2LocationsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
20
|
+
export declare const getApiV2LocationsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
21
21
|
/**
|
|
22
22
|
* @description Returns aggregated locations
|
|
23
23
|
*
|
|
@@ -134,7 +134,7 @@ export declare const getApiV21Locations: (client: HttpClient, query: GetApiV21Lo
|
|
|
134
134
|
* @summary List actions you can perform
|
|
135
135
|
* @request GET:/api/v2.1/locations/actions
|
|
136
136
|
*/
|
|
137
|
-
export declare const getApiV21LocationsActions: (client: HttpClient, params?: RequestParams) => Promise<
|
|
137
|
+
export declare const getApiV21LocationsActions: (client: HttpClient, params?: RequestParams) => Promise<any>;
|
|
138
138
|
/**
|
|
139
139
|
* @description Returns aggregated locations
|
|
140
140
|
*
|
|
@@ -180,6 +180,15 @@ export declare const putApiV21LocationsId: (client: HttpClient, id: number, data
|
|
|
180
180
|
* @request DELETE:/api/v2.1/locations/{id}
|
|
181
181
|
*/
|
|
182
182
|
export declare const deleteApiV21LocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
183
|
+
/**
|
|
184
|
+
* @description Get all audits for users
|
|
185
|
+
*
|
|
186
|
+
* @tags locations
|
|
187
|
+
* @name GetApiV21LocationsIdAudits
|
|
188
|
+
* @summary Retrieve audit info for users
|
|
189
|
+
* @request GET:/api/v2.1/locations/{id}/audits
|
|
190
|
+
*/
|
|
191
|
+
export declare const getApiV21LocationsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
|
|
183
192
|
/**
|
|
184
193
|
* @description Perform an action on a location
|
|
185
194
|
*
|
package/dist/generated/Lots.d.ts
CHANGED
|
@@ -117,3 +117,12 @@ export declare const putApiV21LotsId: (client: HttpClient, id: number, data: Put
|
|
|
117
117
|
* @request DELETE:/api/v2.1/lots/{id}
|
|
118
118
|
*/
|
|
119
119
|
export declare const deleteApiV21LotsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* @description Get all audits for users
|
|
122
|
+
*
|
|
123
|
+
* @tags lots
|
|
124
|
+
* @name GetApiV21LotsIdAudits
|
|
125
|
+
* @summary Retrieve audit info for users
|
|
126
|
+
* @request GET:/api/v2.1/lots/{id}/audits
|
|
127
|
+
*/
|
|
128
|
+
export declare const getApiV21LotsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
|