@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.
- 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
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { APIV2EntitiesCount, APIV2EntitiesIncident, APIV2EntitiesLocationAdjustment, APIV2EntitiesTag, DeleteApiV2LocationAdjustmentsIdTagsParams, GetApiV2LocationAdjustmentsCountParams, GetApiV2LocationAdjustmentsIdTagsParams, GetApiV2LocationAdjustmentsParams, PostApiV2LocationAdjustments, PostApiV2LocationAdjustmentsIdTags } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Get all location_adjustments
|
|
5
|
+
*
|
|
6
|
+
* @tags location_adjustments
|
|
7
|
+
* @name GetApiV2LocationAdjustments
|
|
8
|
+
* @summary List location adjustments
|
|
9
|
+
* @request GET:/api/v2/location_adjustments
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2LocationAdjustments: (client: HttpClient, query: GetApiV2LocationAdjustmentsParams, params?: RequestParams) => Promise<APIV2EntitiesLocationAdjustment[]>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Create a location adjustment
|
|
14
|
+
*
|
|
15
|
+
* @tags location_adjustments
|
|
16
|
+
* @name PostApiV2LocationAdjustments
|
|
17
|
+
* @summary Create a location adjustment
|
|
18
|
+
* @request POST:/api/v2/location_adjustments
|
|
19
|
+
*/
|
|
20
|
+
export declare const postApiV2LocationAdjustments: (client: HttpClient, postApiV2LocationAdjustments: PostApiV2LocationAdjustments, params?: RequestParams) => Promise<APIV2EntitiesIncident>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Returns count of location_adjustments
|
|
23
|
+
*
|
|
24
|
+
* @tags location_adjustments
|
|
25
|
+
* @name GetApiV2LocationAdjustmentsCount
|
|
26
|
+
* @summary Count location adjustments
|
|
27
|
+
* @request GET:/api/v2/location_adjustments/count
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV2LocationAdjustmentsCount: (client: HttpClient, query: GetApiV2LocationAdjustmentsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Get a location adjustment
|
|
32
|
+
*
|
|
33
|
+
* @tags location_adjustments
|
|
34
|
+
* @name GetApiV2LocationAdjustmentsId
|
|
35
|
+
* @summary Retrieve a location adjustment
|
|
36
|
+
* @request GET:/api/v2/location_adjustments/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV2LocationAdjustmentsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesLocationAdjustment>;
|
|
39
|
+
/**
|
|
40
|
+
* No description
|
|
41
|
+
*
|
|
42
|
+
* @tags location_adjustments
|
|
43
|
+
* @name GetApiV2LocationAdjustmentsIdTags
|
|
44
|
+
* @summary Get tags for a resource
|
|
45
|
+
* @request GET:/api/v2/location_adjustments/{id}/tags
|
|
46
|
+
*/
|
|
47
|
+
export declare const getApiV2LocationAdjustmentsIdTags: (client: HttpClient, { id, ...query }: GetApiV2LocationAdjustmentsIdTagsParams, params?: RequestParams) => Promise<APIV2EntitiesTag>;
|
|
48
|
+
/**
|
|
49
|
+
* No description
|
|
50
|
+
*
|
|
51
|
+
* @tags location_adjustments
|
|
52
|
+
* @name PostApiV2LocationAdjustmentsIdTags
|
|
53
|
+
* @summary Add tag(s) for a resource
|
|
54
|
+
* @request POST:/api/v2/location_adjustments/{id}/tags
|
|
55
|
+
*/
|
|
56
|
+
export declare const postApiV2LocationAdjustmentsIdTags: (client: HttpClient, id: number, postApiV2LocationAdjustmentsIdTags: PostApiV2LocationAdjustmentsIdTags, params?: RequestParams) => Promise<APIV2EntitiesTag>;
|
|
57
|
+
/**
|
|
58
|
+
* No description
|
|
59
|
+
*
|
|
60
|
+
* @tags location_adjustments
|
|
61
|
+
* @name DeleteApiV2LocationAdjustmentsIdTags
|
|
62
|
+
* @summary Remove all tags for a resource
|
|
63
|
+
* @request DELETE:/api/v2/location_adjustments/{id}/tags
|
|
64
|
+
*/
|
|
65
|
+
export declare const deleteApiV2LocationAdjustmentsIdTags: (client: HttpClient, { id, ...query }: DeleteApiV2LocationAdjustmentsIdTagsParams, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { APIV21EntitiesAllocation, APIV21EntitiesLocationAudit, APIV21EntitiesPostResponse, APIV2EntitiesAllocation, APIV2EntitiesCount, APIV2EntitiesLocationAudit, GetApiV21LocationAuditsAggregateParams, GetApiV21LocationAuditsCountParams, GetApiV21LocationAuditsIdAllocationsParams, GetApiV21LocationAuditsParams, GetApiV2LocationAuditsAggregateParams, GetApiV2LocationAuditsCountParams, GetApiV2LocationAuditsIdAllocationsParams, GetApiV2LocationAuditsParams, PostApiV21LocationAudits, PostApiV2LocationAudits, PutApiV21LocationAuditsId, PutApiV21LocationAuditsIdCallAction, PutApiV2LocationAuditsId, PutApiV2LocationAuditsIdCallAction } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Returns aggregated location_audits
|
|
5
|
+
*
|
|
6
|
+
* @tags location_audits
|
|
7
|
+
* @name GetApiV2LocationAuditsAggregate
|
|
8
|
+
* @request GET:/api/v2/location_audits/aggregate
|
|
9
|
+
*/
|
|
10
|
+
export declare const getApiV2LocationAuditsAggregate: (client: HttpClient, query: GetApiV2LocationAuditsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
11
|
+
/**
|
|
12
|
+
* @description Get all allocations for a location_audit
|
|
13
|
+
*
|
|
14
|
+
* @tags location_audits
|
|
15
|
+
* @name GetApiV2LocationAuditsIdAllocations
|
|
16
|
+
* @summary List allocations for a location_audit
|
|
17
|
+
* @request GET:/api/v2/location_audits/{id}/allocations
|
|
18
|
+
*/
|
|
19
|
+
export declare const getApiV2LocationAuditsIdAllocations: (client: HttpClient, { id, ...query }: GetApiV2LocationAuditsIdAllocationsParams, params?: RequestParams) => Promise<APIV2EntitiesAllocation[]>;
|
|
20
|
+
/**
|
|
21
|
+
* @description Get a location audit
|
|
22
|
+
*
|
|
23
|
+
* @tags location_audits
|
|
24
|
+
* @name GetApiV2LocationAuditsId
|
|
25
|
+
* @summary Retrieve a location audit
|
|
26
|
+
* @request GET:/api/v2/location_audits/{id}
|
|
27
|
+
*/
|
|
28
|
+
export declare const getApiV2LocationAuditsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesLocationAudit>;
|
|
29
|
+
/**
|
|
30
|
+
* @description Update a location audit
|
|
31
|
+
*
|
|
32
|
+
* @tags location_audits
|
|
33
|
+
* @name PutApiV2LocationAuditsId
|
|
34
|
+
* @summary Update a location audit
|
|
35
|
+
* @request PUT:/api/v2/location_audits/{id}
|
|
36
|
+
*/
|
|
37
|
+
export declare const putApiV2LocationAuditsId: (client: HttpClient, id: number, putApiV2LocationAuditsId: PutApiV2LocationAuditsId, params?: RequestParams) => Promise<APIV2EntitiesLocationAudit>;
|
|
38
|
+
/**
|
|
39
|
+
* @description Destroy a location audit
|
|
40
|
+
*
|
|
41
|
+
* @tags location_audits
|
|
42
|
+
* @name DeleteApiV2LocationAuditsId
|
|
43
|
+
* @summary Destroy a location audit
|
|
44
|
+
* @request DELETE:/api/v2/location_audits/{id}
|
|
45
|
+
*/
|
|
46
|
+
export declare const deleteApiV2LocationAuditsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Get all location_audits
|
|
49
|
+
*
|
|
50
|
+
* @tags location_audits
|
|
51
|
+
* @name GetApiV2LocationAudits
|
|
52
|
+
* @summary List location audits
|
|
53
|
+
* @request GET:/api/v2/location_audits
|
|
54
|
+
*/
|
|
55
|
+
export declare const getApiV2LocationAudits: (client: HttpClient, query: GetApiV2LocationAuditsParams, params?: RequestParams) => Promise<APIV2EntitiesLocationAudit[]>;
|
|
56
|
+
/**
|
|
57
|
+
* @description Create a location audit
|
|
58
|
+
*
|
|
59
|
+
* @tags location_audits
|
|
60
|
+
* @name PostApiV2LocationAudits
|
|
61
|
+
* @summary Create a location audit
|
|
62
|
+
* @request POST:/api/v2/location_audits
|
|
63
|
+
*/
|
|
64
|
+
export declare const postApiV2LocationAudits: (client: HttpClient, postApiV2LocationAudits: PostApiV2LocationAudits, params?: RequestParams) => Promise<APIV2EntitiesLocationAudit>;
|
|
65
|
+
/**
|
|
66
|
+
* @description Returns count of location_audits
|
|
67
|
+
*
|
|
68
|
+
* @tags location_audits
|
|
69
|
+
* @name GetApiV2LocationAuditsCount
|
|
70
|
+
* @summary Count location audits
|
|
71
|
+
* @request GET:/api/v2/location_audits/count
|
|
72
|
+
*/
|
|
73
|
+
export declare const getApiV2LocationAuditsCount: (client: HttpClient, query: GetApiV2LocationAuditsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
74
|
+
/**
|
|
75
|
+
* @description Perform an action on a location audit
|
|
76
|
+
*
|
|
77
|
+
* @tags location_audits
|
|
78
|
+
* @name PutApiV2LocationAuditsIdCallAction
|
|
79
|
+
* @summary Perform an action on a location audit
|
|
80
|
+
* @request PUT:/api/v2/location_audits/{id}/call/{action}
|
|
81
|
+
*/
|
|
82
|
+
export declare const putApiV2LocationAuditsIdCallAction: (client: HttpClient, action: string, id: number, putApiV2LocationAuditsIdCallAction: PutApiV2LocationAuditsIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesLocationAudit>;
|
|
83
|
+
/**
|
|
84
|
+
* @description Returns aggregated location_audits
|
|
85
|
+
*
|
|
86
|
+
* @tags location_audits
|
|
87
|
+
* @name GetApiV21LocationAuditsAggregate
|
|
88
|
+
* @request GET:/api/v2.1/location_audits/aggregate
|
|
89
|
+
*/
|
|
90
|
+
export declare const getApiV21LocationAuditsAggregate: (client: HttpClient, query: GetApiV21LocationAuditsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
91
|
+
/**
|
|
92
|
+
* @description Get all allocations for a location_audit
|
|
93
|
+
*
|
|
94
|
+
* @tags location_audits
|
|
95
|
+
* @name GetApiV21LocationAuditsIdAllocations
|
|
96
|
+
* @summary List allocations for a location_audit
|
|
97
|
+
* @request GET:/api/v2.1/location_audits/{id}/allocations
|
|
98
|
+
*/
|
|
99
|
+
export declare const getApiV21LocationAuditsIdAllocations: (client: HttpClient, { id, ...query }: GetApiV21LocationAuditsIdAllocationsParams, params?: RequestParams) => Promise<APIV21EntitiesAllocation[]>;
|
|
100
|
+
/**
|
|
101
|
+
* @description Get a location audit
|
|
102
|
+
*
|
|
103
|
+
* @tags location_audits
|
|
104
|
+
* @name GetApiV21LocationAuditsId
|
|
105
|
+
* @summary Retrieve a location audit
|
|
106
|
+
* @request GET:/api/v2.1/location_audits/{id}
|
|
107
|
+
*/
|
|
108
|
+
export declare const getApiV21LocationAuditsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesLocationAudit>;
|
|
109
|
+
/**
|
|
110
|
+
* @description Update a location audit
|
|
111
|
+
*
|
|
112
|
+
* @tags location_audits
|
|
113
|
+
* @name PutApiV21LocationAuditsId
|
|
114
|
+
* @summary Update a location audit
|
|
115
|
+
* @request PUT:/api/v2.1/location_audits/{id}
|
|
116
|
+
*/
|
|
117
|
+
export declare const putApiV21LocationAuditsId: (client: HttpClient, id: number, putApiV21LocationAuditsId: PutApiV21LocationAuditsId, params?: RequestParams) => Promise<void>;
|
|
118
|
+
/**
|
|
119
|
+
* @description Destroy a location audit
|
|
120
|
+
*
|
|
121
|
+
* @tags location_audits
|
|
122
|
+
* @name DeleteApiV21LocationAuditsId
|
|
123
|
+
* @summary Destroy a location audit
|
|
124
|
+
* @request DELETE:/api/v2.1/location_audits/{id}
|
|
125
|
+
*/
|
|
126
|
+
export declare const deleteApiV21LocationAuditsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* @description Get all location_audits
|
|
129
|
+
*
|
|
130
|
+
* @tags location_audits
|
|
131
|
+
* @name GetApiV21LocationAudits
|
|
132
|
+
* @summary List location audits
|
|
133
|
+
* @request GET:/api/v2.1/location_audits
|
|
134
|
+
*/
|
|
135
|
+
export declare const getApiV21LocationAudits: (client: HttpClient, query: GetApiV21LocationAuditsParams, params?: RequestParams) => Promise<APIV21EntitiesLocationAudit[]>;
|
|
136
|
+
/**
|
|
137
|
+
* @description Create a location audit
|
|
138
|
+
*
|
|
139
|
+
* @tags location_audits
|
|
140
|
+
* @name PostApiV21LocationAudits
|
|
141
|
+
* @summary Create a location audit
|
|
142
|
+
* @request POST:/api/v2.1/location_audits
|
|
143
|
+
*/
|
|
144
|
+
export declare const postApiV21LocationAudits: (client: HttpClient, postApiV21LocationAudits: PostApiV21LocationAudits, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* @description Returns count of location_audits
|
|
147
|
+
*
|
|
148
|
+
* @tags location_audits
|
|
149
|
+
* @name GetApiV21LocationAuditsCount
|
|
150
|
+
* @summary Count location audits
|
|
151
|
+
* @request GET:/api/v2.1/location_audits/count
|
|
152
|
+
*/
|
|
153
|
+
export declare const getApiV21LocationAuditsCount: (client: HttpClient, query: GetApiV21LocationAuditsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
154
|
+
/**
|
|
155
|
+
* @description Perform an action on a location audit
|
|
156
|
+
*
|
|
157
|
+
* @tags location_audits
|
|
158
|
+
* @name PutApiV21LocationAuditsIdCallAction
|
|
159
|
+
* @summary Perform an action on a location audit
|
|
160
|
+
* @request PUT:/api/v2.1/location_audits/{id}/call/{action}
|
|
161
|
+
*/
|
|
162
|
+
export declare const putApiV21LocationAuditsIdCallAction: (client: HttpClient, action: string, id: number, putApiV21LocationAuditsIdCallAction: PutApiV21LocationAuditsIdCallAction, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { APIV21EntitiesAllocation, APIV21EntitiesLocationTransfer, APIV21EntitiesPostResponse, APIV2EntitiesAllocation, APIV2EntitiesCount, APIV2EntitiesIncident, APIV2EntitiesLocationTransfer, GetApiV21LocationTransfersAggregateParams, GetApiV21LocationTransfersCountParams, GetApiV21LocationTransfersIdAllocationsParams, GetApiV21LocationTransfersParams, GetApiV2LocationTransfersAggregateParams, GetApiV2LocationTransfersCountParams, GetApiV2LocationTransfersIdAllocationsParams, GetApiV2LocationTransfersParams, PostApiV21LocationTransfers, PostApiV2LocationTransfers, PutApiV21LocationTransfersId, PutApiV21LocationTransfersIdCallAction, PutApiV2LocationTransfersId, PutApiV2LocationTransfersIdCallAction } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Returns aggregated location_transfers
|
|
5
|
+
*
|
|
6
|
+
* @tags location_transfers
|
|
7
|
+
* @name GetApiV2LocationTransfersAggregate
|
|
8
|
+
* @request GET:/api/v2/location_transfers/aggregate
|
|
9
|
+
*/
|
|
10
|
+
export declare const getApiV2LocationTransfersAggregate: (client: HttpClient, query: GetApiV2LocationTransfersAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
11
|
+
/**
|
|
12
|
+
* @description Get all allocations for a location_transfer
|
|
13
|
+
*
|
|
14
|
+
* @tags location_transfers
|
|
15
|
+
* @name GetApiV2LocationTransfersIdAllocations
|
|
16
|
+
* @summary List allocations for a location_transfer
|
|
17
|
+
* @request GET:/api/v2/location_transfers/{id}/allocations
|
|
18
|
+
*/
|
|
19
|
+
export declare const getApiV2LocationTransfersIdAllocations: (client: HttpClient, { id, ...query }: GetApiV2LocationTransfersIdAllocationsParams, params?: RequestParams) => Promise<APIV2EntitiesAllocation[]>;
|
|
20
|
+
/**
|
|
21
|
+
* @description Get a location transfer
|
|
22
|
+
*
|
|
23
|
+
* @tags location_transfers
|
|
24
|
+
* @name GetApiV2LocationTransfersId
|
|
25
|
+
* @summary Retrieve a location transfer
|
|
26
|
+
* @request GET:/api/v2/location_transfers/{id}
|
|
27
|
+
*/
|
|
28
|
+
export declare const getApiV2LocationTransfersId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesLocationTransfer>;
|
|
29
|
+
/**
|
|
30
|
+
* @description Update a location transfer
|
|
31
|
+
*
|
|
32
|
+
* @tags location_transfers
|
|
33
|
+
* @name PutApiV2LocationTransfersId
|
|
34
|
+
* @summary Update a location transfer
|
|
35
|
+
* @request PUT:/api/v2/location_transfers/{id}
|
|
36
|
+
*/
|
|
37
|
+
export declare const putApiV2LocationTransfersId: (client: HttpClient, id: number, putApiV2LocationTransfersId: PutApiV2LocationTransfersId, params?: RequestParams) => Promise<APIV2EntitiesLocationTransfer>;
|
|
38
|
+
/**
|
|
39
|
+
* @description Destroy a location transfer
|
|
40
|
+
*
|
|
41
|
+
* @tags location_transfers
|
|
42
|
+
* @name DeleteApiV2LocationTransfersId
|
|
43
|
+
* @summary Destroy a location transfer
|
|
44
|
+
* @request DELETE:/api/v2/location_transfers/{id}
|
|
45
|
+
*/
|
|
46
|
+
export declare const deleteApiV2LocationTransfersId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Get all location_transfers
|
|
49
|
+
*
|
|
50
|
+
* @tags location_transfers
|
|
51
|
+
* @name GetApiV2LocationTransfers
|
|
52
|
+
* @summary List location transfers
|
|
53
|
+
* @request GET:/api/v2/location_transfers
|
|
54
|
+
*/
|
|
55
|
+
export declare const getApiV2LocationTransfers: (client: HttpClient, query: GetApiV2LocationTransfersParams, params?: RequestParams) => Promise<APIV2EntitiesLocationTransfer[]>;
|
|
56
|
+
/**
|
|
57
|
+
* @description Create a location transfer
|
|
58
|
+
*
|
|
59
|
+
* @tags location_transfers
|
|
60
|
+
* @name PostApiV2LocationTransfers
|
|
61
|
+
* @summary Create a location transfer
|
|
62
|
+
* @request POST:/api/v2/location_transfers
|
|
63
|
+
*/
|
|
64
|
+
export declare const postApiV2LocationTransfers: (client: HttpClient, postApiV2LocationTransfers: PostApiV2LocationTransfers, params?: RequestParams) => Promise<APIV2EntitiesIncident>;
|
|
65
|
+
/**
|
|
66
|
+
* @description Returns count of location_transfers
|
|
67
|
+
*
|
|
68
|
+
* @tags location_transfers
|
|
69
|
+
* @name GetApiV2LocationTransfersCount
|
|
70
|
+
* @summary Count location transfers
|
|
71
|
+
* @request GET:/api/v2/location_transfers/count
|
|
72
|
+
*/
|
|
73
|
+
export declare const getApiV2LocationTransfersCount: (client: HttpClient, query: GetApiV2LocationTransfersCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
74
|
+
/**
|
|
75
|
+
* @description Perform an action on a location transfer
|
|
76
|
+
*
|
|
77
|
+
* @tags location_transfers
|
|
78
|
+
* @name PutApiV2LocationTransfersIdCallAction
|
|
79
|
+
* @summary Perform an action on a location transfer
|
|
80
|
+
* @request PUT:/api/v2/location_transfers/{id}/call/{action}
|
|
81
|
+
*/
|
|
82
|
+
export declare const putApiV2LocationTransfersIdCallAction: (client: HttpClient, action: string, id: number, putApiV2LocationTransfersIdCallAction: PutApiV2LocationTransfersIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesLocationTransfer>;
|
|
83
|
+
/**
|
|
84
|
+
* @description Returns aggregated location_transfers
|
|
85
|
+
*
|
|
86
|
+
* @tags location_transfers
|
|
87
|
+
* @name GetApiV21LocationTransfersAggregate
|
|
88
|
+
* @request GET:/api/v2.1/location_transfers/aggregate
|
|
89
|
+
*/
|
|
90
|
+
export declare const getApiV21LocationTransfersAggregate: (client: HttpClient, query: GetApiV21LocationTransfersAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
91
|
+
/**
|
|
92
|
+
* @description Get all allocations for a location_transfer
|
|
93
|
+
*
|
|
94
|
+
* @tags location_transfers
|
|
95
|
+
* @name GetApiV21LocationTransfersIdAllocations
|
|
96
|
+
* @summary List allocations for a location_transfer
|
|
97
|
+
* @request GET:/api/v2.1/location_transfers/{id}/allocations
|
|
98
|
+
*/
|
|
99
|
+
export declare const getApiV21LocationTransfersIdAllocations: (client: HttpClient, { id, ...query }: GetApiV21LocationTransfersIdAllocationsParams, params?: RequestParams) => Promise<APIV21EntitiesAllocation[]>;
|
|
100
|
+
/**
|
|
101
|
+
* @description Get a location transfer
|
|
102
|
+
*
|
|
103
|
+
* @tags location_transfers
|
|
104
|
+
* @name GetApiV21LocationTransfersId
|
|
105
|
+
* @summary Retrieve a location transfer
|
|
106
|
+
* @request GET:/api/v2.1/location_transfers/{id}
|
|
107
|
+
*/
|
|
108
|
+
export declare const getApiV21LocationTransfersId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesLocationTransfer>;
|
|
109
|
+
/**
|
|
110
|
+
* @description Update a location transfer
|
|
111
|
+
*
|
|
112
|
+
* @tags location_transfers
|
|
113
|
+
* @name PutApiV21LocationTransfersId
|
|
114
|
+
* @summary Update a location transfer
|
|
115
|
+
* @request PUT:/api/v2.1/location_transfers/{id}
|
|
116
|
+
*/
|
|
117
|
+
export declare const putApiV21LocationTransfersId: (client: HttpClient, id: number, putApiV21LocationTransfersId: PutApiV21LocationTransfersId, params?: RequestParams) => Promise<void>;
|
|
118
|
+
/**
|
|
119
|
+
* @description Destroy a location transfer
|
|
120
|
+
*
|
|
121
|
+
* @tags location_transfers
|
|
122
|
+
* @name DeleteApiV21LocationTransfersId
|
|
123
|
+
* @summary Destroy a location transfer
|
|
124
|
+
* @request DELETE:/api/v2.1/location_transfers/{id}
|
|
125
|
+
*/
|
|
126
|
+
export declare const deleteApiV21LocationTransfersId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* @description Get all location_transfers
|
|
129
|
+
*
|
|
130
|
+
* @tags location_transfers
|
|
131
|
+
* @name GetApiV21LocationTransfers
|
|
132
|
+
* @summary List location transfers
|
|
133
|
+
* @request GET:/api/v2.1/location_transfers
|
|
134
|
+
*/
|
|
135
|
+
export declare const getApiV21LocationTransfers: (client: HttpClient, query: GetApiV21LocationTransfersParams, params?: RequestParams) => Promise<APIV21EntitiesLocationTransfer[]>;
|
|
136
|
+
/**
|
|
137
|
+
* @description Create a location transfer
|
|
138
|
+
*
|
|
139
|
+
* @tags location_transfers
|
|
140
|
+
* @name PostApiV21LocationTransfers
|
|
141
|
+
* @summary Create a location transfer
|
|
142
|
+
* @request POST:/api/v2.1/location_transfers
|
|
143
|
+
*/
|
|
144
|
+
export declare const postApiV21LocationTransfers: (client: HttpClient, postApiV21LocationTransfers: PostApiV21LocationTransfers, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* @description Returns count of location_transfers
|
|
147
|
+
*
|
|
148
|
+
* @tags location_transfers
|
|
149
|
+
* @name GetApiV21LocationTransfersCount
|
|
150
|
+
* @summary Count location transfers
|
|
151
|
+
* @request GET:/api/v2.1/location_transfers/count
|
|
152
|
+
*/
|
|
153
|
+
export declare const getApiV21LocationTransfersCount: (client: HttpClient, query: GetApiV21LocationTransfersCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
154
|
+
/**
|
|
155
|
+
* @description Perform an action on a location transfer
|
|
156
|
+
*
|
|
157
|
+
* @tags location_transfers
|
|
158
|
+
* @name PutApiV21LocationTransfersIdCallAction
|
|
159
|
+
* @summary Perform an action on a location transfer
|
|
160
|
+
* @request PUT:/api/v2.1/location_transfers/{id}/call/{action}
|
|
161
|
+
*/
|
|
162
|
+
export declare const putApiV21LocationTransfersIdCallAction: (client: HttpClient, action: string, id: number, putApiV21LocationTransfersIdCallAction: PutApiV21LocationTransfersIdCallAction, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { APIV21EntitiesIncident, APIV21EntitiesLocation, APIV21EntitiesPostResponse, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesIncident, APIV2EntitiesLocation, GetApiV21LocationsAggregateParams, GetApiV21LocationsCountParams, GetApiV21LocationsIdIncidentsCountParams, GetApiV21LocationsIdIncidentsParams, GetApiV21LocationsParams, GetApiV2LocationsAggregateParams, GetApiV2LocationsCountParams, GetApiV2LocationsIdIncidentsCountParams, GetApiV2LocationsIdIncidentsParams, GetApiV2LocationsParams, PostApiV21LocationsIdIncidents, PostApiV2LocationsIdIncidents, PutApiV21LocationsId, PutApiV21LocationsIdCallAction, PutApiV21LocationsIdUpdateQuantity, PutApiV2LocationsId, PutApiV2LocationsIdCallAction, PutApiV2LocationsIdUpdateQuantity } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Returns aggregated locations
|
|
5
|
+
*
|
|
6
|
+
* @tags locations
|
|
7
|
+
* @name GetApiV2LocationsAggregate
|
|
8
|
+
* @request GET:/api/v2/locations/aggregate
|
|
9
|
+
*/
|
|
10
|
+
export declare const getApiV2LocationsAggregate: (client: HttpClient, query: GetApiV2LocationsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
11
|
+
/**
|
|
12
|
+
* No description
|
|
13
|
+
*
|
|
14
|
+
* @tags locations
|
|
15
|
+
* @name GetApiV2LocationsIdAudits
|
|
16
|
+
* @summary Retrieve audit info for users
|
|
17
|
+
* @request GET:/api/v2/locations/{id}/audits
|
|
18
|
+
*/
|
|
19
|
+
export declare const getApiV2LocationsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
|
|
20
|
+
/**
|
|
21
|
+
* @description Get a Location
|
|
22
|
+
*
|
|
23
|
+
* @tags locations
|
|
24
|
+
* @name GetApiV2LocationsId
|
|
25
|
+
* @summary Retrieve a location
|
|
26
|
+
* @request GET:/api/v2/locations/{id}
|
|
27
|
+
*/
|
|
28
|
+
export declare const getApiV2LocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesLocation>;
|
|
29
|
+
/**
|
|
30
|
+
* @description Update a location
|
|
31
|
+
*
|
|
32
|
+
* @tags locations
|
|
33
|
+
* @name PutApiV2LocationsId
|
|
34
|
+
* @summary Update a location
|
|
35
|
+
* @request PUT:/api/v2/locations/{id}
|
|
36
|
+
*/
|
|
37
|
+
export declare const putApiV2LocationsId: (client: HttpClient, id: number, putApiV2LocationsId: PutApiV2LocationsId, params?: RequestParams) => Promise<APIV2EntitiesLocation>;
|
|
38
|
+
/**
|
|
39
|
+
* @description Destroy a location
|
|
40
|
+
*
|
|
41
|
+
* @tags locations
|
|
42
|
+
* @name DeleteApiV2LocationsId
|
|
43
|
+
* @summary Destroy a location
|
|
44
|
+
* @request DELETE:/api/v2/locations/{id}
|
|
45
|
+
*/
|
|
46
|
+
export declare const deleteApiV2LocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Update a location quantity
|
|
49
|
+
*
|
|
50
|
+
* @tags locations
|
|
51
|
+
* @name PutApiV2LocationsIdUpdateQuantity
|
|
52
|
+
* @summary Update location quantity
|
|
53
|
+
* @request PUT:/api/v2/locations/{id}/update_quantity
|
|
54
|
+
*/
|
|
55
|
+
export declare const putApiV2LocationsIdUpdateQuantity: (client: HttpClient, id: number, putApiV2LocationsIdUpdateQuantity: PutApiV2LocationsIdUpdateQuantity, params?: RequestParams) => Promise<APIV2EntitiesLocation>;
|
|
56
|
+
/**
|
|
57
|
+
* @description Get all incidents for a(n) Location
|
|
58
|
+
*
|
|
59
|
+
* @tags locations
|
|
60
|
+
* @name GetApiV2LocationsIdIncidents
|
|
61
|
+
* @summary List all incidents for a resource
|
|
62
|
+
* @request GET:/api/v2/locations/{id}/incidents
|
|
63
|
+
*/
|
|
64
|
+
export declare const getApiV2LocationsIdIncidents: (client: HttpClient, { id, ...query }: GetApiV2LocationsIdIncidentsParams, params?: RequestParams) => Promise<APIV2EntitiesIncident[]>;
|
|
65
|
+
/**
|
|
66
|
+
* @description Create an incident for a(n) Location
|
|
67
|
+
*
|
|
68
|
+
* @tags locations
|
|
69
|
+
* @name PostApiV2LocationsIdIncidents
|
|
70
|
+
* @summary Create an incident for a resource
|
|
71
|
+
* @request POST:/api/v2/locations/{id}/incidents
|
|
72
|
+
*/
|
|
73
|
+
export declare const postApiV2LocationsIdIncidents: (client: HttpClient, id: number, postApiV2LocationsIdIncidents: PostApiV2LocationsIdIncidents, params?: RequestParams) => Promise<APIV2EntitiesIncident>;
|
|
74
|
+
/**
|
|
75
|
+
* @description Returns count of incidents for a(n) Location
|
|
76
|
+
*
|
|
77
|
+
* @tags locations
|
|
78
|
+
* @name GetApiV2LocationsIdIncidentsCount
|
|
79
|
+
* @summary Count incidents for a resource
|
|
80
|
+
* @request GET:/api/v2/locations/{id}/incidents/count
|
|
81
|
+
*/
|
|
82
|
+
export declare const getApiV2LocationsIdIncidentsCount: (client: HttpClient, { id, ...query }: GetApiV2LocationsIdIncidentsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
83
|
+
/**
|
|
84
|
+
* @description Get all locations
|
|
85
|
+
*
|
|
86
|
+
* @tags locations
|
|
87
|
+
* @name GetApiV2Locations
|
|
88
|
+
* @summary List locations
|
|
89
|
+
* @request GET:/api/v2/locations
|
|
90
|
+
*/
|
|
91
|
+
export declare const getApiV2Locations: (client: HttpClient, query: GetApiV2LocationsParams, params?: RequestParams) => Promise<APIV2EntitiesLocation[]>;
|
|
92
|
+
/**
|
|
93
|
+
* @description Returns count of locations
|
|
94
|
+
*
|
|
95
|
+
* @tags locations
|
|
96
|
+
* @name GetApiV2LocationsCount
|
|
97
|
+
* @summary Count locations
|
|
98
|
+
* @request GET:/api/v2/locations/count
|
|
99
|
+
*/
|
|
100
|
+
export declare const getApiV2LocationsCount: (client: HttpClient, query: GetApiV2LocationsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
101
|
+
/**
|
|
102
|
+
* @description Perform an action on a location
|
|
103
|
+
*
|
|
104
|
+
* @tags locations
|
|
105
|
+
* @name PutApiV2LocationsIdCallAction
|
|
106
|
+
* @summary Perform an action an a location
|
|
107
|
+
* @request PUT:/api/v2/locations/{id}/call/{action}
|
|
108
|
+
*/
|
|
109
|
+
export declare const putApiV2LocationsIdCallAction: (client: HttpClient, action: string, id: number, putApiV2LocationsIdCallAction: PutApiV2LocationsIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesLocation>;
|
|
110
|
+
/**
|
|
111
|
+
* @description Returns aggregated locations
|
|
112
|
+
*
|
|
113
|
+
* @tags locations
|
|
114
|
+
* @name GetApiV21LocationsAggregate
|
|
115
|
+
* @request GET:/api/v2.1/locations/aggregate
|
|
116
|
+
*/
|
|
117
|
+
export declare const getApiV21LocationsAggregate: (client: HttpClient, query: GetApiV21LocationsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
118
|
+
/**
|
|
119
|
+
* @description Get all incidents for a(n) Location
|
|
120
|
+
*
|
|
121
|
+
* @tags locations
|
|
122
|
+
* @name GetApiV21LocationsIdIncidents
|
|
123
|
+
* @summary List all incidents for a resource
|
|
124
|
+
* @request GET:/api/v2.1/locations/{id}/incidents
|
|
125
|
+
*/
|
|
126
|
+
export declare const getApiV21LocationsIdIncidents: (client: HttpClient, { id, ...query }: GetApiV21LocationsIdIncidentsParams, params?: RequestParams) => Promise<APIV21EntitiesIncident[]>;
|
|
127
|
+
/**
|
|
128
|
+
* @description Create an incident for a(n) Location
|
|
129
|
+
*
|
|
130
|
+
* @tags locations
|
|
131
|
+
* @name PostApiV21LocationsIdIncidents
|
|
132
|
+
* @summary Create an incident for a resource
|
|
133
|
+
* @request POST:/api/v2.1/locations/{id}/incidents
|
|
134
|
+
*/
|
|
135
|
+
export declare const postApiV21LocationsIdIncidents: (client: HttpClient, id: number, postApiV21LocationsIdIncidents: PostApiV21LocationsIdIncidents, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
136
|
+
/**
|
|
137
|
+
* @description Returns count of incidents for a(n) Location
|
|
138
|
+
*
|
|
139
|
+
* @tags locations
|
|
140
|
+
* @name GetApiV21LocationsIdIncidentsCount
|
|
141
|
+
* @summary Count incidents for a resource
|
|
142
|
+
* @request GET:/api/v2.1/locations/{id}/incidents/count
|
|
143
|
+
*/
|
|
144
|
+
export declare const getApiV21LocationsIdIncidentsCount: (client: HttpClient, { id, ...query }: GetApiV21LocationsIdIncidentsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
145
|
+
/**
|
|
146
|
+
* @description Get all locations
|
|
147
|
+
*
|
|
148
|
+
* @tags locations
|
|
149
|
+
* @name GetApiV21Locations
|
|
150
|
+
* @summary List locations
|
|
151
|
+
* @request GET:/api/v2.1/locations
|
|
152
|
+
*/
|
|
153
|
+
export declare const getApiV21Locations: (client: HttpClient, query: GetApiV21LocationsParams, params?: RequestParams) => Promise<APIV21EntitiesLocation[]>;
|
|
154
|
+
/**
|
|
155
|
+
* @description Returns count of locations
|
|
156
|
+
*
|
|
157
|
+
* @tags locations
|
|
158
|
+
* @name GetApiV21LocationsCount
|
|
159
|
+
* @summary Count locations
|
|
160
|
+
* @request GET:/api/v2.1/locations/count
|
|
161
|
+
*/
|
|
162
|
+
export declare const getApiV21LocationsCount: (client: HttpClient, query: GetApiV21LocationsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
163
|
+
/**
|
|
164
|
+
* @description Get a Location
|
|
165
|
+
*
|
|
166
|
+
* @tags locations
|
|
167
|
+
* @name GetApiV21LocationsId
|
|
168
|
+
* @summary Retrieve a location
|
|
169
|
+
* @request GET:/api/v2.1/locations/{id}
|
|
170
|
+
*/
|
|
171
|
+
export declare const getApiV21LocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesLocation>;
|
|
172
|
+
/**
|
|
173
|
+
* @description Update a location
|
|
174
|
+
*
|
|
175
|
+
* @tags locations
|
|
176
|
+
* @name PutApiV21LocationsId
|
|
177
|
+
* @summary Update a location
|
|
178
|
+
* @request PUT:/api/v2.1/locations/{id}
|
|
179
|
+
*/
|
|
180
|
+
export declare const putApiV21LocationsId: (client: HttpClient, id: number, putApiV21LocationsId: PutApiV21LocationsId, params?: RequestParams) => Promise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* @description Destroy a location
|
|
183
|
+
*
|
|
184
|
+
* @tags locations
|
|
185
|
+
* @name DeleteApiV21LocationsId
|
|
186
|
+
* @summary Destroy a location
|
|
187
|
+
* @request DELETE:/api/v2.1/locations/{id}
|
|
188
|
+
*/
|
|
189
|
+
export declare const deleteApiV21LocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
190
|
+
/**
|
|
191
|
+
* @description Update a location quantity
|
|
192
|
+
*
|
|
193
|
+
* @tags locations
|
|
194
|
+
* @name PutApiV21LocationsIdUpdateQuantity
|
|
195
|
+
* @summary Update location quantity
|
|
196
|
+
* @request PUT:/api/v2.1/locations/{id}/update_quantity
|
|
197
|
+
*/
|
|
198
|
+
export declare const putApiV21LocationsIdUpdateQuantity: (client: HttpClient, id: number, putApiV21LocationsIdUpdateQuantity: PutApiV21LocationsIdUpdateQuantity, params?: RequestParams) => Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* @description Perform an action on a location
|
|
201
|
+
*
|
|
202
|
+
* @tags locations
|
|
203
|
+
* @name PutApiV21LocationsIdCallAction
|
|
204
|
+
* @summary Perform an action an a location
|
|
205
|
+
* @request PUT:/api/v2.1/locations/{id}/call/{action}
|
|
206
|
+
*/
|
|
207
|
+
export declare const putApiV21LocationsIdCallAction: (client: HttpClient, action: string, id: number, putApiV21LocationsIdCallAction: PutApiV21LocationsIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesLocation>;
|