@whiplashmerch/whiplash-api-client 0.4.76 → 0.4.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.esm.js +18494 -2141
- package/dist/client.esm.js.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/search.d.ts +9 -0
- package/dist/generated/AccountTransactions.d.ts +56 -0
- package/dist/generated/Accounts.d.ts +171 -0
- package/dist/generated/Allocations.d.ts +38 -0
- package/dist/generated/Broadcasts.d.ts +164 -0
- package/dist/generated/Cache.d.ts +56 -0
- package/dist/generated/CarrierAccounts.d.ts +191 -0
- package/dist/generated/Carriers.d.ts +20 -0
- package/dist/generated/Chromalists.d.ts +56 -0
- package/dist/generated/ConsumerReturns.d.ts +89 -1
- package/dist/generated/Currencies.d.ts +56 -0
- package/dist/generated/Customers.d.ts +172 -1
- package/dist/generated/CustomsInfos.d.ts +56 -0
- package/dist/generated/Dashboards.d.ts +38 -0
- package/dist/generated/Documents.d.ts +37 -1
- package/dist/generated/ExtApp.d.ts +30 -0
- package/dist/generated/FilterSets.d.ts +288 -0
- package/dist/generated/ImporterOfRecords.d.ts +92 -0
- package/dist/generated/Incidents.d.ts +128 -0
- package/dist/generated/InvoiceItems.d.ts +56 -0
- package/dist/generated/Invoices.d.ts +110 -0
- package/dist/generated/Items.d.ts +260 -1
- package/dist/generated/Locales.d.ts +19 -0
- package/dist/generated/LocationAdjustments.d.ts +65 -0
- package/dist/generated/LocationAudits.d.ts +162 -0
- package/dist/generated/LocationTransfers.d.ts +162 -0
- package/dist/generated/Locations.d.ts +207 -0
- package/dist/generated/Lots.d.ts +119 -0
- package/dist/generated/Manifests.d.ts +128 -0
- package/dist/generated/Me.d.ts +20 -0
- package/dist/generated/Nav.d.ts +20 -0
- package/dist/generated/NavItems.d.ts +20 -0
- package/dist/generated/OrderBatchItems.d.ts +54 -0
- package/dist/generated/OrderBatchRequests.d.ts +38 -0
- package/dist/generated/OrderBatches.d.ts +315 -0
- package/dist/generated/OrderDocuments.d.ts +37 -0
- package/dist/generated/OrderItems.d.ts +98 -1
- package/dist/generated/OrderTotes.d.ts +20 -0
- package/dist/generated/Orders.d.ts +468 -1
- package/dist/generated/Originators.d.ts +28 -1
- package/dist/generated/Packages.d.ts +205 -0
- package/dist/generated/Partners.d.ts +110 -0
- package/dist/generated/Prepacks.d.ts +11 -0
- package/dist/generated/ProjectTasks.d.ts +56 -0
- package/dist/generated/Projects.d.ts +163 -1
- package/dist/generated/Rates.d.ts +119 -0
- package/dist/generated/ReasonCodes.d.ts +20 -0
- package/dist/generated/ReturnAddresses.d.ts +92 -0
- package/dist/generated/RuleDismissals.d.ts +19 -0
- package/dist/generated/Rules.d.ts +155 -0
- package/dist/generated/Scancodes.d.ts +20 -0
- package/dist/generated/SerialNumbers.d.ts +56 -0
- package/dist/generated/ShipnoticeItems.d.ts +197 -1
- package/dist/generated/Shipnotices.d.ts +242 -1
- package/dist/generated/ShippingAliases.d.ts +119 -0
- package/dist/generated/ShippingBlacklistedMethods.d.ts +110 -0
- package/dist/generated/ShippingMethodMarkups.d.ts +11 -0
- package/dist/generated/ShippingMethods.d.ts +110 -0
- package/dist/generated/Shops.d.ts +47 -0
- package/dist/generated/Stats.d.ts +54 -0
- package/dist/generated/SurchargeMarkups.d.ts +56 -0
- package/dist/generated/TemplateTypes.d.ts +20 -0
- package/dist/generated/Templates.d.ts +82 -1
- package/dist/generated/Transactions.d.ts +11 -0
- package/dist/generated/TransportationMarkups.d.ts +56 -0
- package/dist/generated/Users.d.ts +245 -0
- package/dist/generated/Utilities.d.ts +38 -0
- package/dist/generated/WarehouseFeatures.d.ts +110 -0
- package/dist/generated/Warehouses.d.ts +245 -0
- package/dist/generated/Wholesales.d.ts +56 -0
- package/dist/generated/data-contracts.d.ts +20237 -4725
- package/dist/generated/index.d.ts +57 -0
- package/dist/index.d.ts +3 -0
- package/dist/mocks/customer.d.ts +2 -0
- package/dist/mocks/index.d.ts +4 -0
- package/dist/mocks/nav.d.ts +2 -0
- package/dist/mocks/user.d.ts +2 -0
- package/dist/mocks/warehouse.d.ts +2 -0
- package/dist/utils/errorHandler.d.ts +2 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/nav.d.ts +9 -0
- package/dist/utils/orderBatch.d.ts +19 -0
- package/dist/utils/orders.d.ts +54 -0
- package/dist/utils/pusher.d.ts +25 -0
- package/dist/utils/rules.d.ts +8 -0
- package/dist/utils/user.d.ts +19 -0
- package/dist/utils/utilities.d.ts +8 -0
- package/dist/utils/warehouse.d.ts +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { APIV2EntitiesCustomsInfo, GetApiV21CustomsInfosParams, GetApiV2CustomsInfosParams, PutApiV21CustomsInfosId, PutApiV2CustomsInfosId } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Returns all customs_infos objects
|
|
5
|
+
*
|
|
6
|
+
* @tags customs_infos
|
|
7
|
+
* @name GetApiV2CustomsInfos
|
|
8
|
+
* @summary List all customs_infos objects
|
|
9
|
+
* @request GET:/api/v2/customs_infos
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2CustomsInfos: (client: HttpClient, query: GetApiV2CustomsInfosParams, params?: RequestParams) => Promise<APIV2EntitiesCustomsInfo[]>;
|
|
12
|
+
/**
|
|
13
|
+
* @description get a CustomsInfo object
|
|
14
|
+
*
|
|
15
|
+
* @tags customs_infos
|
|
16
|
+
* @name GetApiV2CustomsInfosId
|
|
17
|
+
* @summary Retrieve a CustomsInfo object
|
|
18
|
+
* @request GET:/api/v2/customs_infos/{id}
|
|
19
|
+
*/
|
|
20
|
+
export declare const getApiV2CustomsInfosId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesCustomsInfo>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags customs_infos
|
|
25
|
+
* @name PutApiV2CustomsInfosId
|
|
26
|
+
* @summary Update a customs_infos object
|
|
27
|
+
* @request PUT:/api/v2/customs_infos/{id}
|
|
28
|
+
*/
|
|
29
|
+
export declare const putApiV2CustomsInfosId: (client: HttpClient, id: number, putApiV2CustomsInfosId: PutApiV2CustomsInfosId, params?: RequestParams) => Promise<APIV2EntitiesCustomsInfo>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Returns all customs_infos objects
|
|
32
|
+
*
|
|
33
|
+
* @tags customs_infos
|
|
34
|
+
* @name GetApiV21CustomsInfos
|
|
35
|
+
* @summary List all customs_infos objects
|
|
36
|
+
* @request GET:/api/v2.1/customs_infos
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV21CustomsInfos: (client: HttpClient, query: GetApiV21CustomsInfosParams, params?: RequestParams) => Promise<APIV2EntitiesCustomsInfo[]>;
|
|
39
|
+
/**
|
|
40
|
+
* @description get a CustomsInfo object
|
|
41
|
+
*
|
|
42
|
+
* @tags customs_infos
|
|
43
|
+
* @name GetApiV21CustomsInfosId
|
|
44
|
+
* @summary Retrieve a CustomsInfo object
|
|
45
|
+
* @request GET:/api/v2.1/customs_infos/{id}
|
|
46
|
+
*/
|
|
47
|
+
export declare const getApiV21CustomsInfosId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesCustomsInfo>;
|
|
48
|
+
/**
|
|
49
|
+
* No description
|
|
50
|
+
*
|
|
51
|
+
* @tags customs_infos
|
|
52
|
+
* @name PutApiV21CustomsInfosId
|
|
53
|
+
* @summary Update a customs_infos object
|
|
54
|
+
* @request PUT:/api/v2.1/customs_infos/{id}
|
|
55
|
+
*/
|
|
56
|
+
export declare const putApiV21CustomsInfosId: (client: HttpClient, id: number, putApiV21CustomsInfosId: PutApiV21CustomsInfosId, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { APIV21EntitiesDashboard, APIV2EntitiesDashboard } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Get all dashboards
|
|
5
|
+
*
|
|
6
|
+
* @tags dashboards
|
|
7
|
+
* @name GetApiV2Dashboards
|
|
8
|
+
* @summary List all dashboards
|
|
9
|
+
* @request GET:/api/v2/dashboards
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2Dashboards: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesDashboard[]>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Get a dashboard
|
|
14
|
+
*
|
|
15
|
+
* @tags dashboards
|
|
16
|
+
* @name GetApiV2DashboardsId
|
|
17
|
+
* @summary Retrieve a dashboard
|
|
18
|
+
* @request GET:/api/v2/dashboards/{id}
|
|
19
|
+
*/
|
|
20
|
+
export declare const getApiV2DashboardsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesDashboard>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Get all dashboards
|
|
23
|
+
*
|
|
24
|
+
* @tags dashboards
|
|
25
|
+
* @name GetApiV21Dashboards
|
|
26
|
+
* @summary List all dashboards
|
|
27
|
+
* @request GET:/api/v2.1/dashboards
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV21Dashboards: (client: HttpClient, params?: RequestParams) => Promise<APIV21EntitiesDashboard[]>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Get a dashboard
|
|
32
|
+
*
|
|
33
|
+
* @tags dashboards
|
|
34
|
+
* @name GetApiV21DashboardsId
|
|
35
|
+
* @summary Retrieve a dashboard
|
|
36
|
+
* @request GET:/api/v2.1/dashboards/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV21DashboardsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesDashboard>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIV21EntitiesPostResponse, APIV2EntitiesDocument, GetApiV21DocumentsParams, GetApiV2DocumentsParams, PostApiV21Documents, PostApiV2Documents } from "./data-contracts";
|
|
1
|
+
import { APIV21EntitiesPostResponse, APIV2EntitiesDocument, APIV2EntitiesSidekiqBatch, GetApiV21DocumentsParams, GetApiV2DocumentsParams, PostApiV21Documents, PostApiV2Documents, PutApiV21DocumentsIdCallAction, PutApiV21DocumentsIdCallAsyncAction, PutApiV2DocumentsIdCallAction, PutApiV2DocumentsIdCallAsyncAction } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Get resource actions
|
|
@@ -45,6 +45,24 @@ export declare const getApiV2DocumentsId: (client: HttpClient, id: number, param
|
|
|
45
45
|
* @request DELETE:/api/v2/documents/{id}
|
|
46
46
|
*/
|
|
47
47
|
export declare const deleteApiV2DocumentsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* @description Perform an action on an document
|
|
50
|
+
*
|
|
51
|
+
* @tags documents
|
|
52
|
+
* @name PutApiV2DocumentsIdCallAction
|
|
53
|
+
* @summary Perform an action on an document
|
|
54
|
+
* @request PUT:/api/v2/documents/{id}/call/{action}
|
|
55
|
+
*/
|
|
56
|
+
export declare const putApiV2DocumentsIdCallAction: (client: HttpClient, action: string, id: number, putApiV2DocumentsIdCallAction: PutApiV2DocumentsIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesDocument>;
|
|
57
|
+
/**
|
|
58
|
+
* @description Perform an action on an document asynchronously
|
|
59
|
+
*
|
|
60
|
+
* @tags documents
|
|
61
|
+
* @name PutApiV2DocumentsIdCallAsyncAction
|
|
62
|
+
* @summary Perform an action on an document asynchronously
|
|
63
|
+
* @request PUT:/api/v2/documents/{id}/call_async/{action}
|
|
64
|
+
*/
|
|
65
|
+
export declare const putApiV2DocumentsIdCallAsyncAction: (client: HttpClient, action: string, id: number, putApiV2DocumentsIdCallAsyncAction: PutApiV2DocumentsIdCallAsyncAction, params?: RequestParams) => Promise<APIV2EntitiesSidekiqBatch>;
|
|
48
66
|
/**
|
|
49
67
|
* @description Get resource actions
|
|
50
68
|
*
|
|
@@ -90,3 +108,21 @@ export declare const getApiV21DocumentsId: (client: HttpClient, id: number, para
|
|
|
90
108
|
* @request DELETE:/api/v2.1/documents/{id}
|
|
91
109
|
*/
|
|
92
110
|
export declare const deleteApiV21DocumentsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* @description Perform an action on an document
|
|
113
|
+
*
|
|
114
|
+
* @tags documents
|
|
115
|
+
* @name PutApiV21DocumentsIdCallAction
|
|
116
|
+
* @summary Perform an action on an document
|
|
117
|
+
* @request PUT:/api/v2.1/documents/{id}/call/{action}
|
|
118
|
+
*/
|
|
119
|
+
export declare const putApiV21DocumentsIdCallAction: (client: HttpClient, action: string, id: number, putApiV21DocumentsIdCallAction: PutApiV21DocumentsIdCallAction, params?: RequestParams) => Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* @description Perform an action on an document asynchronously
|
|
122
|
+
*
|
|
123
|
+
* @tags documents
|
|
124
|
+
* @name PutApiV21DocumentsIdCallAsyncAction
|
|
125
|
+
* @summary Perform an action on an document asynchronously
|
|
126
|
+
* @request PUT:/api/v2.1/documents/{id}/call_async/{action}
|
|
127
|
+
*/
|
|
128
|
+
export declare const putApiV21DocumentsIdCallAsyncAction: (client: HttpClient, action: string, id: number, putApiV21DocumentsIdCallAsyncAction: PutApiV21DocumentsIdCallAsyncAction, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GetApiV21ExtAppAuthenticateProviderParams, GetApiV2ExtAppAuthenticateProviderParams } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description authenticate
|
|
5
|
+
*
|
|
6
|
+
* @name GetApiV2ExtAppAuthenticateProvider
|
|
7
|
+
* @request GET:/api/v2/{ext_app}/authenticate/{provider}
|
|
8
|
+
*/
|
|
9
|
+
export declare const getApiV2ExtAppAuthenticateProvider: (client: HttpClient, { extApp, provider, ...query }: GetApiV2ExtAppAuthenticateProviderParams, params?: RequestParams) => Promise<void>;
|
|
10
|
+
/**
|
|
11
|
+
* No description
|
|
12
|
+
*
|
|
13
|
+
* @name PostApiV2ExtAppAuthenticateProvider
|
|
14
|
+
* @request POST:/api/v2/{ext_app}/authenticate/{provider}
|
|
15
|
+
*/
|
|
16
|
+
export declare const postApiV2ExtAppAuthenticateProvider: (client: HttpClient, extApp: number, provider: number, params?: RequestParams) => Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* @description authenticate
|
|
19
|
+
*
|
|
20
|
+
* @name GetApiV21ExtAppAuthenticateProvider
|
|
21
|
+
* @request GET:/api/v2.1/{ext_app}/authenticate/{provider}
|
|
22
|
+
*/
|
|
23
|
+
export declare const getApiV21ExtAppAuthenticateProvider: (client: HttpClient, { extApp, provider, ...query }: GetApiV21ExtAppAuthenticateProviderParams, params?: RequestParams) => Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* No description
|
|
26
|
+
*
|
|
27
|
+
* @name PostApiV21ExtAppAuthenticateProvider
|
|
28
|
+
* @request POST:/api/v2.1/{ext_app}/authenticate/{provider}
|
|
29
|
+
*/
|
|
30
|
+
export declare const postApiV21ExtAppAuthenticateProvider: (client: HttpClient, extApp: number, provider: number, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { APIV21EntitiesFilterSet, APIV21EntitiesPostResponse, APIV2EntitiesCount, APIV2EntitiesFilterSet, APIV2EntitiesFilterSetOptions, APIV2EntitiesSidekiqBatch, GetApiV21FilterSetsCountParams, GetApiV21FilterSetsIdResultsAggregateParams, GetApiV21FilterSetsIdResultsCountParams, GetApiV21FilterSetsIdResultsParams, GetApiV21FilterSetsParams, GetApiV2FilterSetsCountParams, GetApiV2FilterSetsIdResultsAggregateParams, GetApiV2FilterSetsIdResultsCountParams, GetApiV2FilterSetsIdResultsParams, GetApiV2FilterSetsParams, PostApiV21FilterSets, PostApiV2FilterSets, PutApiV21FilterSetsId, PutApiV21FilterSetsIdBatch, PutApiV21FilterSetsIdCallAction, PutApiV21FilterSetsIdCallEachAction, PutApiV21FilterSetsIdExport, PutApiV21FilterSetsUpsert, PutApiV2FilterSetsId, PutApiV2FilterSetsIdBatch, PutApiV2FilterSetsIdCallAction, PutApiV2FilterSetsIdCallEachAction, PutApiV2FilterSetsIdExport, PutApiV2FilterSetsUpsert } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Aggregates filter set results
|
|
5
|
+
*
|
|
6
|
+
* @tags filter_sets
|
|
7
|
+
* @name GetApiV2FilterSetsIdResultsAggregate
|
|
8
|
+
* @request GET:/api/v2/filter_sets/{id}/results/aggregate
|
|
9
|
+
*/
|
|
10
|
+
export declare const getApiV2FilterSetsIdResultsAggregate: (client: HttpClient, { id, ...query }: GetApiV2FilterSetsIdResultsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
11
|
+
/**
|
|
12
|
+
* @description Returns all filter sets
|
|
13
|
+
*
|
|
14
|
+
* @tags filter_sets
|
|
15
|
+
* @name GetApiV2FilterSets
|
|
16
|
+
* @summary List all filter sets
|
|
17
|
+
* @request GET:/api/v2/filter_sets
|
|
18
|
+
*/
|
|
19
|
+
export declare const getApiV2FilterSets: (client: HttpClient, query: GetApiV2FilterSetsParams, params?: RequestParams) => Promise<APIV2EntitiesFilterSet[]>;
|
|
20
|
+
/**
|
|
21
|
+
* @description Create a filter set
|
|
22
|
+
*
|
|
23
|
+
* @tags filter_sets
|
|
24
|
+
* @name PostApiV2FilterSets
|
|
25
|
+
* @summary Create a filter set
|
|
26
|
+
* @request POST:/api/v2/filter_sets
|
|
27
|
+
*/
|
|
28
|
+
export declare const postApiV2FilterSets: (client: HttpClient, postApiV2FilterSets: PostApiV2FilterSets, params?: RequestParams) => Promise<APIV2EntitiesFilterSet>;
|
|
29
|
+
/**
|
|
30
|
+
* @description Find or create a filter set
|
|
31
|
+
*
|
|
32
|
+
* @tags filter_sets
|
|
33
|
+
* @name PutApiV2FilterSetsUpsert
|
|
34
|
+
* @summary Find or create a filter set
|
|
35
|
+
* @request PUT:/api/v2/filter_sets/upsert
|
|
36
|
+
*/
|
|
37
|
+
export declare const putApiV2FilterSetsUpsert: (client: HttpClient, putApiV2FilterSetsUpsert: PutApiV2FilterSetsUpsert, params?: RequestParams) => Promise<APIV2EntitiesFilterSet>;
|
|
38
|
+
/**
|
|
39
|
+
* @description Returns filter set options
|
|
40
|
+
*
|
|
41
|
+
* @tags filter_sets
|
|
42
|
+
* @name GetApiV2FilterSetsOptions
|
|
43
|
+
* @summary List filter set options
|
|
44
|
+
* @request GET:/api/v2/filter_sets/options
|
|
45
|
+
*/
|
|
46
|
+
export declare const getApiV2FilterSetsOptions: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesFilterSetOptions>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Returns count of filter sets
|
|
49
|
+
*
|
|
50
|
+
* @tags filter_sets
|
|
51
|
+
* @name GetApiV2FilterSetsCount
|
|
52
|
+
* @summary Count filter sets
|
|
53
|
+
* @request GET:/api/v2/filter_sets/count
|
|
54
|
+
*/
|
|
55
|
+
export declare const getApiV2FilterSetsCount: (client: HttpClient, query: GetApiV2FilterSetsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
56
|
+
/**
|
|
57
|
+
* @description Returns a filter set
|
|
58
|
+
*
|
|
59
|
+
* @tags filter_sets
|
|
60
|
+
* @name GetApiV2FilterSetsId
|
|
61
|
+
* @summary Retrieve a filter set
|
|
62
|
+
* @request GET:/api/v2/filter_sets/{id}
|
|
63
|
+
*/
|
|
64
|
+
export declare const getApiV2FilterSetsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesFilterSet>;
|
|
65
|
+
/**
|
|
66
|
+
* @description Update a filter set
|
|
67
|
+
*
|
|
68
|
+
* @tags filter_sets
|
|
69
|
+
* @name PutApiV2FilterSetsId
|
|
70
|
+
* @summary Update a filter set
|
|
71
|
+
* @request PUT:/api/v2/filter_sets/{id}
|
|
72
|
+
*/
|
|
73
|
+
export declare const putApiV2FilterSetsId: (client: HttpClient, id: number, putApiV2FilterSetsId: PutApiV2FilterSetsId, params?: RequestParams) => Promise<APIV2EntitiesFilterSet>;
|
|
74
|
+
/**
|
|
75
|
+
* @description Destroy a filter set
|
|
76
|
+
*
|
|
77
|
+
* @tags filter_sets
|
|
78
|
+
* @name DeleteApiV2FilterSetsId
|
|
79
|
+
* @summary Destroy a filter set
|
|
80
|
+
* @request DELETE:/api/v2/filter_sets/{id}
|
|
81
|
+
*/
|
|
82
|
+
export declare const deleteApiV2FilterSetsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* @description Take a snapshot of a filter set
|
|
85
|
+
*
|
|
86
|
+
* @tags filter_sets
|
|
87
|
+
* @name PutApiV2FilterSetsIdSnapshot
|
|
88
|
+
* @summary Take a snapshop of a filter set
|
|
89
|
+
* @request PUT:/api/v2/filter_sets/{id}/snapshot
|
|
90
|
+
*/
|
|
91
|
+
export declare const putApiV2FilterSetsIdSnapshot: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesFilterSet>;
|
|
92
|
+
/**
|
|
93
|
+
* @description Returns the filter set search results
|
|
94
|
+
*
|
|
95
|
+
* @tags filter_sets
|
|
96
|
+
* @name GetApiV2FilterSetsIdResults
|
|
97
|
+
* @summary List the filter set search results
|
|
98
|
+
* @request GET:/api/v2/filter_sets/{id}/results
|
|
99
|
+
*/
|
|
100
|
+
export declare const getApiV2FilterSetsIdResults: (client: HttpClient, { id, ...query }: GetApiV2FilterSetsIdResultsParams, params?: RequestParams) => Promise<APIV2EntitiesFilterSet[]>;
|
|
101
|
+
/**
|
|
102
|
+
* @description Export all filter set results
|
|
103
|
+
*
|
|
104
|
+
* @tags filter_sets
|
|
105
|
+
* @name PutApiV2FilterSetsIdExport
|
|
106
|
+
* @summary Export all filter set results
|
|
107
|
+
* @request PUT:/api/v2/filter_sets/{id}/export
|
|
108
|
+
*/
|
|
109
|
+
export declare const putApiV2FilterSetsIdExport: (client: HttpClient, id: number, putApiV2FilterSetsIdExport: PutApiV2FilterSetsIdExport, params?: RequestParams) => Promise<void>;
|
|
110
|
+
/**
|
|
111
|
+
* @description Batch all Order Search results
|
|
112
|
+
*
|
|
113
|
+
* @tags filter_sets
|
|
114
|
+
* @name PutApiV2FilterSetsIdBatch
|
|
115
|
+
* @summary Batch all Order Search results
|
|
116
|
+
* @request PUT:/api/v2/filter_sets/{id}/batch
|
|
117
|
+
*/
|
|
118
|
+
export declare const putApiV2FilterSetsIdBatch: (client: HttpClient, id: number, putApiV2FilterSetsIdBatch: PutApiV2FilterSetsIdBatch, params?: RequestParams) => Promise<void>;
|
|
119
|
+
/**
|
|
120
|
+
* @description Returns the filter set search result count
|
|
121
|
+
*
|
|
122
|
+
* @tags filter_sets
|
|
123
|
+
* @name GetApiV2FilterSetsIdResultsCount
|
|
124
|
+
* @summary Count the filter set search results
|
|
125
|
+
* @request GET:/api/v2/filter_sets/{id}/results/count
|
|
126
|
+
*/
|
|
127
|
+
export declare const getApiV2FilterSetsIdResultsCount: (client: HttpClient, { id, ...query }: GetApiV2FilterSetsIdResultsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
128
|
+
/**
|
|
129
|
+
* @description Perform an action on all filter set results
|
|
130
|
+
*
|
|
131
|
+
* @tags filter_sets
|
|
132
|
+
* @name PutApiV2FilterSetsIdCallEachAction
|
|
133
|
+
* @summary Perform an action on all filter set results
|
|
134
|
+
* @request PUT:/api/v2/filter_sets/{id}/call_each/{action}
|
|
135
|
+
*/
|
|
136
|
+
export declare const putApiV2FilterSetsIdCallEachAction: (client: HttpClient, action: string, id: number, putApiV2FilterSetsIdCallEachAction: PutApiV2FilterSetsIdCallEachAction, params?: RequestParams) => Promise<APIV2EntitiesSidekiqBatch>;
|
|
137
|
+
/**
|
|
138
|
+
* @description Perform an action on a resource or collection
|
|
139
|
+
*
|
|
140
|
+
* @tags filter_sets
|
|
141
|
+
* @name PutApiV2FilterSetsIdCallAction
|
|
142
|
+
* @summary Perform an action on a resource or collection
|
|
143
|
+
* @request PUT:/api/v2/filter_sets/{id}/call/{action}
|
|
144
|
+
*/
|
|
145
|
+
export declare const putApiV2FilterSetsIdCallAction: (client: HttpClient, action: string, id: number, putApiV2FilterSetsIdCallAction: PutApiV2FilterSetsIdCallAction, params?: RequestParams) => Promise<APIV2EntitiesSidekiqBatch>;
|
|
146
|
+
/**
|
|
147
|
+
* @description Aggregates filter set results
|
|
148
|
+
*
|
|
149
|
+
* @tags filter_sets
|
|
150
|
+
* @name GetApiV21FilterSetsIdResultsAggregate
|
|
151
|
+
* @request GET:/api/v2.1/filter_sets/{id}/results/aggregate
|
|
152
|
+
*/
|
|
153
|
+
export declare const getApiV21FilterSetsIdResultsAggregate: (client: HttpClient, { id, ...query }: GetApiV21FilterSetsIdResultsAggregateParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
154
|
+
/**
|
|
155
|
+
* @description Returns all filter sets
|
|
156
|
+
*
|
|
157
|
+
* @tags filter_sets
|
|
158
|
+
* @name GetApiV21FilterSets
|
|
159
|
+
* @summary List all filter sets
|
|
160
|
+
* @request GET:/api/v2.1/filter_sets
|
|
161
|
+
*/
|
|
162
|
+
export declare const getApiV21FilterSets: (client: HttpClient, query: GetApiV21FilterSetsParams, params?: RequestParams) => Promise<APIV21EntitiesFilterSet[]>;
|
|
163
|
+
/**
|
|
164
|
+
* @description Create a filter set
|
|
165
|
+
*
|
|
166
|
+
* @tags filter_sets
|
|
167
|
+
* @name PostApiV21FilterSets
|
|
168
|
+
* @summary Create a filter set
|
|
169
|
+
* @request POST:/api/v2.1/filter_sets
|
|
170
|
+
*/
|
|
171
|
+
export declare const postApiV21FilterSets: (client: HttpClient, postApiV21FilterSets: PostApiV21FilterSets, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* @description Find or create a filter set
|
|
174
|
+
*
|
|
175
|
+
* @tags filter_sets
|
|
176
|
+
* @name PutApiV21FilterSetsUpsert
|
|
177
|
+
* @summary Find or create a filter set
|
|
178
|
+
* @request PUT:/api/v2.1/filter_sets/upsert
|
|
179
|
+
*/
|
|
180
|
+
export declare const putApiV21FilterSetsUpsert: (client: HttpClient, putApiV21FilterSetsUpsert: PutApiV21FilterSetsUpsert, params?: RequestParams) => Promise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* @description Returns filter set options
|
|
183
|
+
*
|
|
184
|
+
* @tags filter_sets
|
|
185
|
+
* @name GetApiV21FilterSetsOptions
|
|
186
|
+
* @summary List filter set options
|
|
187
|
+
* @request GET:/api/v2.1/filter_sets/options
|
|
188
|
+
*/
|
|
189
|
+
export declare const getApiV21FilterSetsOptions: (client: HttpClient, params?: RequestParams) => Promise<APIV2EntitiesFilterSetOptions>;
|
|
190
|
+
/**
|
|
191
|
+
* @description Returns count of filter sets
|
|
192
|
+
*
|
|
193
|
+
* @tags filter_sets
|
|
194
|
+
* @name GetApiV21FilterSetsCount
|
|
195
|
+
* @summary Count filter sets
|
|
196
|
+
* @request GET:/api/v2.1/filter_sets/count
|
|
197
|
+
*/
|
|
198
|
+
export declare const getApiV21FilterSetsCount: (client: HttpClient, query: GetApiV21FilterSetsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
199
|
+
/**
|
|
200
|
+
* @description Returns a filter set
|
|
201
|
+
*
|
|
202
|
+
* @tags filter_sets
|
|
203
|
+
* @name GetApiV21FilterSetsId
|
|
204
|
+
* @summary Retrieve a filter set
|
|
205
|
+
* @request GET:/api/v2.1/filter_sets/{id}
|
|
206
|
+
*/
|
|
207
|
+
export declare const getApiV21FilterSetsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV21EntitiesFilterSet>;
|
|
208
|
+
/**
|
|
209
|
+
* @description Update a filter set
|
|
210
|
+
*
|
|
211
|
+
* @tags filter_sets
|
|
212
|
+
* @name PutApiV21FilterSetsId
|
|
213
|
+
* @summary Update a filter set
|
|
214
|
+
* @request PUT:/api/v2.1/filter_sets/{id}
|
|
215
|
+
*/
|
|
216
|
+
export declare const putApiV21FilterSetsId: (client: HttpClient, id: number, putApiV21FilterSetsId: PutApiV21FilterSetsId, params?: RequestParams) => Promise<void>;
|
|
217
|
+
/**
|
|
218
|
+
* @description Destroy a filter set
|
|
219
|
+
*
|
|
220
|
+
* @tags filter_sets
|
|
221
|
+
* @name DeleteApiV21FilterSetsId
|
|
222
|
+
* @summary Destroy a filter set
|
|
223
|
+
* @request DELETE:/api/v2.1/filter_sets/{id}
|
|
224
|
+
*/
|
|
225
|
+
export declare const deleteApiV21FilterSetsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
226
|
+
/**
|
|
227
|
+
* @description Take a snapshot of a filter set
|
|
228
|
+
*
|
|
229
|
+
* @tags filter_sets
|
|
230
|
+
* @name PutApiV21FilterSetsIdSnapshot
|
|
231
|
+
* @summary Take a snapshop of a filter set
|
|
232
|
+
* @request PUT:/api/v2.1/filter_sets/{id}/snapshot
|
|
233
|
+
*/
|
|
234
|
+
export declare const putApiV21FilterSetsIdSnapshot: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
235
|
+
/**
|
|
236
|
+
* @description Returns the filter set search results
|
|
237
|
+
*
|
|
238
|
+
* @tags filter_sets
|
|
239
|
+
* @name GetApiV21FilterSetsIdResults
|
|
240
|
+
* @summary List the filter set search results
|
|
241
|
+
* @request GET:/api/v2.1/filter_sets/{id}/results
|
|
242
|
+
*/
|
|
243
|
+
export declare const getApiV21FilterSetsIdResults: (client: HttpClient, { id, ...query }: GetApiV21FilterSetsIdResultsParams, params?: RequestParams) => Promise<APIV21EntitiesFilterSet[]>;
|
|
244
|
+
/**
|
|
245
|
+
* @description Export all filter set results
|
|
246
|
+
*
|
|
247
|
+
* @tags filter_sets
|
|
248
|
+
* @name PutApiV21FilterSetsIdExport
|
|
249
|
+
* @summary Export all filter set results
|
|
250
|
+
* @request PUT:/api/v2.1/filter_sets/{id}/export
|
|
251
|
+
*/
|
|
252
|
+
export declare const putApiV21FilterSetsIdExport: (client: HttpClient, id: number, putApiV21FilterSetsIdExport: PutApiV21FilterSetsIdExport, params?: RequestParams) => Promise<void>;
|
|
253
|
+
/**
|
|
254
|
+
* @description Batch all Order Search results
|
|
255
|
+
*
|
|
256
|
+
* @tags filter_sets
|
|
257
|
+
* @name PutApiV21FilterSetsIdBatch
|
|
258
|
+
* @summary Batch all Order Search results
|
|
259
|
+
* @request PUT:/api/v2.1/filter_sets/{id}/batch
|
|
260
|
+
*/
|
|
261
|
+
export declare const putApiV21FilterSetsIdBatch: (client: HttpClient, id: number, putApiV21FilterSetsIdBatch: PutApiV21FilterSetsIdBatch, params?: RequestParams) => Promise<void>;
|
|
262
|
+
/**
|
|
263
|
+
* @description Returns the filter set search result count
|
|
264
|
+
*
|
|
265
|
+
* @tags filter_sets
|
|
266
|
+
* @name GetApiV21FilterSetsIdResultsCount
|
|
267
|
+
* @summary Count the filter set search results
|
|
268
|
+
* @request GET:/api/v2.1/filter_sets/{id}/results/count
|
|
269
|
+
*/
|
|
270
|
+
export declare const getApiV21FilterSetsIdResultsCount: (client: HttpClient, { id, ...query }: GetApiV21FilterSetsIdResultsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
271
|
+
/**
|
|
272
|
+
* @description Perform an action on all filter set results
|
|
273
|
+
*
|
|
274
|
+
* @tags filter_sets
|
|
275
|
+
* @name PutApiV21FilterSetsIdCallEachAction
|
|
276
|
+
* @summary Perform an action on all filter set results
|
|
277
|
+
* @request PUT:/api/v2.1/filter_sets/{id}/call_each/{action}
|
|
278
|
+
*/
|
|
279
|
+
export declare const putApiV21FilterSetsIdCallEachAction: (client: HttpClient, action: string, id: number, putApiV21FilterSetsIdCallEachAction: PutApiV21FilterSetsIdCallEachAction, params?: RequestParams) => Promise<void>;
|
|
280
|
+
/**
|
|
281
|
+
* @description Perform an action on a resource or collection
|
|
282
|
+
*
|
|
283
|
+
* @tags filter_sets
|
|
284
|
+
* @name PutApiV21FilterSetsIdCallAction
|
|
285
|
+
* @summary Perform an action on a resource or collection
|
|
286
|
+
* @request PUT:/api/v2.1/filter_sets/{id}/call/{action}
|
|
287
|
+
*/
|
|
288
|
+
export declare const putApiV21FilterSetsIdCallAction: (client: HttpClient, action: string, id: number, putApiV21FilterSetsIdCallAction: PutApiV21FilterSetsIdCallAction, params?: RequestParams) => Promise<void>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { APIV2EntitiesImporterOfRecord, GetApiV21ImporterOfRecordsParams, GetApiV2ImporterOfRecordsParams, PostApiV21ImporterOfRecords, PostApiV2ImporterOfRecords, PutApiV21ImporterOfRecordsId, PutApiV2ImporterOfRecordsId } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Get an importer of records list
|
|
5
|
+
*
|
|
6
|
+
* @tags importer_of_records
|
|
7
|
+
* @name GetApiV2ImporterOfRecords
|
|
8
|
+
* @summary lists importer of records
|
|
9
|
+
* @request GET:/api/v2/importer_of_records
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2ImporterOfRecords: (client: HttpClient, query: GetApiV2ImporterOfRecordsParams, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord[]>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Create an importer of records
|
|
14
|
+
*
|
|
15
|
+
* @tags importer_of_records
|
|
16
|
+
* @name PostApiV2ImporterOfRecords
|
|
17
|
+
* @summary Create an importer of records
|
|
18
|
+
* @request POST:/api/v2/importer_of_records
|
|
19
|
+
*/
|
|
20
|
+
export declare const postApiV2ImporterOfRecords: (client: HttpClient, postApiV2ImporterOfRecords: PostApiV2ImporterOfRecords, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Get an importer of records
|
|
23
|
+
*
|
|
24
|
+
* @tags importer_of_records
|
|
25
|
+
* @name GetApiV2ImporterOfRecordsId
|
|
26
|
+
* @summary retrieve an importer of records
|
|
27
|
+
* @request GET:/api/v2/importer_of_records/{id}
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV2ImporterOfRecordsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Update an importer of records
|
|
32
|
+
*
|
|
33
|
+
* @tags importer_of_records
|
|
34
|
+
* @name PutApiV2ImporterOfRecordsId
|
|
35
|
+
* @summary Update an importer of records
|
|
36
|
+
* @request PUT:/api/v2/importer_of_records/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const putApiV2ImporterOfRecordsId: (client: HttpClient, id: number, putApiV2ImporterOfRecordsId: PutApiV2ImporterOfRecordsId, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord>;
|
|
39
|
+
/**
|
|
40
|
+
* @description Destroy an importer of records
|
|
41
|
+
*
|
|
42
|
+
* @tags importer_of_records
|
|
43
|
+
* @name DeleteApiV2ImporterOfRecordsId
|
|
44
|
+
* @summary Destroy an importer of records
|
|
45
|
+
* @request DELETE:/api/v2/importer_of_records/{id}
|
|
46
|
+
*/
|
|
47
|
+
export declare const deleteApiV2ImporterOfRecordsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* @description Get an importer of records list
|
|
50
|
+
*
|
|
51
|
+
* @tags importer_of_records
|
|
52
|
+
* @name GetApiV21ImporterOfRecords
|
|
53
|
+
* @summary lists importer of records
|
|
54
|
+
* @request GET:/api/v2.1/importer_of_records
|
|
55
|
+
*/
|
|
56
|
+
export declare const getApiV21ImporterOfRecords: (client: HttpClient, query: GetApiV21ImporterOfRecordsParams, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord[]>;
|
|
57
|
+
/**
|
|
58
|
+
* @description Create an importer of records
|
|
59
|
+
*
|
|
60
|
+
* @tags importer_of_records
|
|
61
|
+
* @name PostApiV21ImporterOfRecords
|
|
62
|
+
* @summary Create an importer of records
|
|
63
|
+
* @request POST:/api/v2.1/importer_of_records
|
|
64
|
+
*/
|
|
65
|
+
export declare const postApiV21ImporterOfRecords: (client: HttpClient, postApiV21ImporterOfRecords: PostApiV21ImporterOfRecords, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Get an importer of records
|
|
68
|
+
*
|
|
69
|
+
* @tags importer_of_records
|
|
70
|
+
* @name GetApiV21ImporterOfRecordsId
|
|
71
|
+
* @summary retrieve an importer of records
|
|
72
|
+
* @request GET:/api/v2.1/importer_of_records/{id}
|
|
73
|
+
*/
|
|
74
|
+
export declare const getApiV21ImporterOfRecordsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord>;
|
|
75
|
+
/**
|
|
76
|
+
* @description Update an importer of records
|
|
77
|
+
*
|
|
78
|
+
* @tags importer_of_records
|
|
79
|
+
* @name PutApiV21ImporterOfRecordsId
|
|
80
|
+
* @summary Update an importer of records
|
|
81
|
+
* @request PUT:/api/v2.1/importer_of_records/{id}
|
|
82
|
+
*/
|
|
83
|
+
export declare const putApiV21ImporterOfRecordsId: (client: HttpClient, id: number, putApiV21ImporterOfRecordsId: PutApiV21ImporterOfRecordsId, params?: RequestParams) => Promise<APIV2EntitiesImporterOfRecord>;
|
|
84
|
+
/**
|
|
85
|
+
* @description Destroy an importer of records
|
|
86
|
+
*
|
|
87
|
+
* @tags importer_of_records
|
|
88
|
+
* @name DeleteApiV21ImporterOfRecordsId
|
|
89
|
+
* @summary Destroy an importer of records
|
|
90
|
+
* @request DELETE:/api/v2.1/importer_of_records/{id}
|
|
91
|
+
*/
|
|
92
|
+
export declare const deleteApiV21ImporterOfRecordsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|