@whiplashmerch/whiplash-api-client 3.0.11 → 3.0.13

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.
@@ -0,0 +1,100 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /*
4
+ * ---------------------------------------------------------------
5
+ * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
6
+ * ## ##
7
+ * ## AUTHOR: acacode ##
8
+ * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
9
+ * ---------------------------------------------------------------
10
+ */
11
+
12
+ import {
13
+ ApiSharedEntitiesApiError,
14
+ ApiV21EntitiesCount,
15
+ ApiV21EntitiesLoadScac,
16
+ ApiV2EntitiesCount,
17
+ ApiV2EntitiesLoadScac,
18
+ GetApiV21LoadScacsCountParams,
19
+ GetApiV21LoadScacsParams,
20
+ GetApiV2LoadScacsCountParams,
21
+ GetApiV2LoadScacsParams,
22
+ } from "./data-contracts";
23
+ import { HttpClient, RequestParams } from "./http-client";
24
+
25
+ /**
26
+ * @description Get a list of load scacs
27
+ *
28
+ * @tags load_scacs
29
+ * @name GetApiV2LoadScacs
30
+ * @summary List all load scacs
31
+ * @request GET:/api/v2/load_scacs
32
+ */
33
+ export const getApiV2LoadScacs = (client: HttpClient, query: GetApiV2LoadScacsParams, params: RequestParams = {}) => {
34
+ return client.request<ApiV2EntitiesLoadScac[], ApiSharedEntitiesApiError>({
35
+ path: `/api/v2/load_scacs`,
36
+ method: "GET",
37
+ query: query,
38
+ format: "json",
39
+ ...params,
40
+ });
41
+ };
42
+ /**
43
+ * @description Returns count of load scacs
44
+ *
45
+ * @tags load_scacs
46
+ * @name GetApiV2LoadScacsCount
47
+ * @summary Count load scacs
48
+ * @request GET:/api/v2/load_scacs/count
49
+ */
50
+ export const getApiV2LoadScacsCount = (
51
+ client: HttpClient,
52
+ query: GetApiV2LoadScacsCountParams,
53
+ params: RequestParams = {},
54
+ ) => {
55
+ return client.request<ApiV2EntitiesCount, ApiSharedEntitiesApiError>({
56
+ path: `/api/v2/load_scacs/count`,
57
+ method: "GET",
58
+ query: query,
59
+ format: "json",
60
+ ...params,
61
+ });
62
+ };
63
+ /**
64
+ * @description Get a list of load scacs
65
+ *
66
+ * @tags load_scacs
67
+ * @name GetApiV21LoadScacs
68
+ * @summary List all load scacs
69
+ * @request GET:/api/v2.1/load_scacs
70
+ */
71
+ export const getApiV21LoadScacs = (client: HttpClient, query: GetApiV21LoadScacsParams, params: RequestParams = {}) => {
72
+ return client.request<ApiV21EntitiesLoadScac[], ApiSharedEntitiesApiError>({
73
+ path: `/api/v2.1/load_scacs`,
74
+ method: "GET",
75
+ query: query,
76
+ format: "json",
77
+ ...params,
78
+ });
79
+ };
80
+ /**
81
+ * @description Returns count of load scacs
82
+ *
83
+ * @tags load_scacs
84
+ * @name GetApiV21LoadScacsCount
85
+ * @summary Count load scacs
86
+ * @request GET:/api/v2.1/load_scacs/count
87
+ */
88
+ export const getApiV21LoadScacsCount = (
89
+ client: HttpClient,
90
+ query: GetApiV21LoadScacsCountParams,
91
+ params: RequestParams = {},
92
+ ) => {
93
+ return client.request<ApiV21EntitiesCount, ApiSharedEntitiesApiError>({
94
+ path: `/api/v2.1/load_scacs/count`,
95
+ method: "GET",
96
+ query: query,
97
+ format: "json",
98
+ ...params,
99
+ });
100
+ };
@@ -69,23 +69,6 @@ export interface ApiV2EntitiesBundleItem {
69
69
  updated_at?: string | null;
70
70
  }
71
71
 
72
- /** V2 */
73
- export interface ApiV2EntitiesCarrierAlias {
74
- /** carrier alias slug */
75
- context?: string | null;
76
- /**
77
- * carrier alias object id
78
- * @format int32
79
- */
80
- id?: number;
81
- /** carrier alias object name */
82
- name?: string | null;
83
- /** carrier owner name */
84
- owner_name?: string | null;
85
- /** carrier SCAC code */
86
- scac?: string | null;
87
- }
88
-
89
72
  /** V2 */
90
73
  export interface ApiV2EntitiesConsumerReturn {
91
74
  /**
@@ -1190,6 +1173,28 @@ export interface ApiV2EntitiesItemWarehouseQuantity {
1190
1173
  warehouse_features?: ApiV2EntitiesWarehouseFeature[];
1191
1174
  }
1192
1175
 
1176
+ /** V2 */
1177
+ export interface ApiV2EntitiesLoadScac {
1178
+ /** the carrier associated with this load scac */
1179
+ carrier?: string | null;
1180
+ /** the ccid for the load scac */
1181
+ ccid?: string | null;
1182
+ /**
1183
+ * the id of the customer associated with this load scac
1184
+ * @format int32
1185
+ */
1186
+ customer_id?: number | null;
1187
+ /** customer name of the load scac */
1188
+ customer_name?: string | null;
1189
+ /**
1190
+ * load scac object id
1191
+ * @format int32
1192
+ */
1193
+ id?: number;
1194
+ /** SCAC code */
1195
+ scac?: string | null;
1196
+ }
1197
+
1193
1198
  /** V2 */
1194
1199
  export interface ApiV2EntitiesLot {
1195
1200
  /**
@@ -1598,7 +1603,7 @@ export interface ApiV2EntitiesOrder {
1598
1603
  */
1599
1604
  shop_updated_at?: string | null;
1600
1605
  shop_warehouse_ids?: number[];
1601
- /** skip order shipping address verification? (staff only) */
1606
+ /** skip order shipping address verification? */
1602
1607
  skip_address_verification?: boolean | null;
1603
1608
  /** skip street date for this order? */
1604
1609
  skip_street_date?: boolean | null;
@@ -3141,23 +3146,6 @@ export interface ApiV21EntitiesBundleItem {
3141
3146
  updated_at?: string | null;
3142
3147
  }
3143
3148
 
3144
- /** V3 */
3145
- export interface ApiV21EntitiesCarrierAlias {
3146
- /** carrier alias slug */
3147
- context?: string | null;
3148
- /**
3149
- * carrier alias object id
3150
- * @format int32
3151
- */
3152
- id?: number;
3153
- /** carrier alias object name */
3154
- name?: string | null;
3155
- /** carrier owner name */
3156
- owner_name?: string | null;
3157
- /** carrier SCAC code */
3158
- scac?: string | null;
3159
- }
3160
-
3161
3149
  /** V3 */
3162
3150
  export interface ApiV21EntitiesConsumerReturn {
3163
3151
  /**
@@ -3867,6 +3855,28 @@ export interface ApiV21EntitiesItemWarehouseQuantity {
3867
3855
  sellable_quantity?: number;
3868
3856
  }
3869
3857
 
3858
+ /** V3 */
3859
+ export interface ApiV21EntitiesLoadScac {
3860
+ /** the carrier associated with this load scac */
3861
+ carrier?: string | null;
3862
+ /** the ccid for the load scac */
3863
+ ccid?: string | null;
3864
+ /**
3865
+ * the id of the customer associated with this load scac
3866
+ * @format int32
3867
+ */
3868
+ customer_id?: number | null;
3869
+ /** customer name of the load scac */
3870
+ customer_name?: string | null;
3871
+ /**
3872
+ * load scac object id
3873
+ * @format int32
3874
+ */
3875
+ id?: number;
3876
+ /** SCAC code */
3877
+ scac?: string | null;
3878
+ }
3879
+
3870
3880
  /** V3 */
3871
3881
  export interface ApiV21EntitiesNotificationEvent {
3872
3882
  /**
@@ -4255,7 +4265,7 @@ export interface ApiV21EntitiesOrder {
4255
4265
  */
4256
4266
  shop_warehouse_id?: number | null;
4257
4267
  shop_warehouse_ids?: number[];
4258
- /** skip order shipping address verification? (staff only) */
4268
+ /** skip order shipping address verification? */
4259
4269
  skip_address_verification?: boolean | null;
4260
4270
  /** skip street date for this order? */
4261
4271
  skip_street_date?: boolean | null;
@@ -5117,29 +5127,6 @@ export interface ApiV21EntitiesWholesaleItem {
5117
5127
  vendor_part_number?: string | null;
5118
5128
  }
5119
5129
 
5120
- export interface GetApiV21CarrierAliasesParams {
5121
- /** JSON search string like {"attribute_eq": "Term"} */
5122
- search?: string;
5123
- /** Comma-separated list of fields to include in the response */
5124
- fields?: string;
5125
- /** A list of sort options (ex: name asc,created_at desc) */
5126
- sort?: string;
5127
- /**
5128
- * Page of results to fetch
5129
- * @format int32
5130
- */
5131
- page?: number;
5132
- /**
5133
- * Number of results to return per page
5134
- * @format int32
5135
- */
5136
- per_page?: number;
5137
- /** Include total count of results */
5138
- page_total?: boolean;
5139
- /** Include prev/next links in response headers */
5140
- page_links?: boolean;
5141
- }
5142
-
5143
5130
  export interface GetApiV21ConsumerReturnsCountParams {
5144
5131
  /** JSON search string like {"attribute_eq": "Term"} */
5145
5132
  search?: string;
@@ -5373,6 +5360,48 @@ export interface GetApiV21ItemsParams {
5373
5360
  page_links?: boolean;
5374
5361
  }
5375
5362
 
5363
+ export interface GetApiV21LoadScacsCountParams {
5364
+ /** JSON search string like {"attribute_eq": "Term"} */
5365
+ search?: string;
5366
+ /**
5367
+ * Page of results to fetch
5368
+ * @format int32
5369
+ */
5370
+ page?: number;
5371
+ /**
5372
+ * Number of results to return per page
5373
+ * @format int32
5374
+ */
5375
+ per_page?: number;
5376
+ /** Include total count of results */
5377
+ page_total?: boolean;
5378
+ /** Include prev/next links in response headers */
5379
+ page_links?: boolean;
5380
+ }
5381
+
5382
+ export interface GetApiV21LoadScacsParams {
5383
+ /** JSON search string like {"attribute_eq": "Term"} */
5384
+ search?: string;
5385
+ /** Comma-separated list of fields to include in the response */
5386
+ fields?: string;
5387
+ /** A list of sort options (ex: name asc,created_at desc) */
5388
+ sort?: string;
5389
+ /**
5390
+ * Page of results to fetch
5391
+ * @format int32
5392
+ */
5393
+ page?: number;
5394
+ /**
5395
+ * Number of results to return per page
5396
+ * @format int32
5397
+ */
5398
+ per_page?: number;
5399
+ /** Include total count of results */
5400
+ page_total?: boolean;
5401
+ /** Include prev/next links in response headers */
5402
+ page_links?: boolean;
5403
+ }
5404
+
5376
5405
  export interface GetApiV21NotificationEventsParams {
5377
5406
  /** JSON search string like {"attribute_eq": "Term"} */
5378
5407
  search?: string;
@@ -5736,29 +5765,6 @@ export interface GetApiV21WholesaleItemsParams {
5736
5765
  page_links?: boolean;
5737
5766
  }
5738
5767
 
5739
- export interface GetApiV2CarrierAliasesParams {
5740
- /** JSON search string like {"attribute_eq": "Term"} */
5741
- search?: string;
5742
- /** Comma-separated list of fields to include in the response */
5743
- fields?: string;
5744
- /** A list of sort options (ex: name asc,created_at desc) */
5745
- sort?: string;
5746
- /**
5747
- * Page of results to fetch
5748
- * @format int32
5749
- */
5750
- page?: number;
5751
- /**
5752
- * Number of results to return per page
5753
- * @format int32
5754
- */
5755
- per_page?: number;
5756
- /** Include total count of results */
5757
- page_total?: boolean;
5758
- /** Include prev/next links in response headers */
5759
- page_links?: boolean;
5760
- }
5761
-
5762
5768
  export interface GetApiV2ConsumerReturnsCountParams {
5763
5769
  /** JSON search string like {"attribute_eq": "Term"} */
5764
5770
  search?: string;
@@ -5992,6 +5998,48 @@ export interface GetApiV2ItemsParams {
5992
5998
  page_links?: boolean;
5993
5999
  }
5994
6000
 
6001
+ export interface GetApiV2LoadScacsCountParams {
6002
+ /** JSON search string like {"attribute_eq": "Term"} */
6003
+ search?: string;
6004
+ /**
6005
+ * Page of results to fetch
6006
+ * @format int32
6007
+ */
6008
+ page?: number;
6009
+ /**
6010
+ * Number of results to return per page
6011
+ * @format int32
6012
+ */
6013
+ per_page?: number;
6014
+ /** Include total count of results */
6015
+ page_total?: boolean;
6016
+ /** Include prev/next links in response headers */
6017
+ page_links?: boolean;
6018
+ }
6019
+
6020
+ export interface GetApiV2LoadScacsParams {
6021
+ /** JSON search string like {"attribute_eq": "Term"} */
6022
+ search?: string;
6023
+ /** Comma-separated list of fields to include in the response */
6024
+ fields?: string;
6025
+ /** A list of sort options (ex: name asc,created_at desc) */
6026
+ sort?: string;
6027
+ /**
6028
+ * Page of results to fetch
6029
+ * @format int32
6030
+ */
6031
+ page?: number;
6032
+ /**
6033
+ * Number of results to return per page
6034
+ * @format int32
6035
+ */
6036
+ per_page?: number;
6037
+ /** Include total count of results */
6038
+ page_total?: boolean;
6039
+ /** Include prev/next links in response headers */
6040
+ page_links?: boolean;
6041
+ }
6042
+
5995
6043
  export interface GetApiV2NotificationEventsParams {
5996
6044
  /** JSON search string like {"attribute_eq": "Term"} */
5997
6045
  search?: string;
@@ -6947,7 +6995,7 @@ export interface PostApiV21OrdersBulkRequest {
6947
6995
  batch_priority?: boolean;
6948
6996
  /** the order shipping email */
6949
6997
  email?: string;
6950
- /** skip order shipping address verification? (staff only) */
6998
+ /** skip order shipping address verification? */
6951
6999
  skip_address_verification?: boolean;
6952
7000
  /** the orders Standard Carrier Alpha Code number */
6953
7001
  scac?: string;
@@ -7824,7 +7872,7 @@ export interface PostApiV21OrdersRequest {
7824
7872
  shop_updated_at?: string;
7825
7873
  /** the order shop warehouse ids */
7826
7874
  shop_warehouse_ids?: number[];
7827
- /** skip order shipping address verification? (staff only) */
7875
+ /** skip order shipping address verification? */
7828
7876
  skip_address_verification?: boolean;
7829
7877
  /** skip street date for this order? */
7830
7878
  skip_street_date?: boolean;
@@ -8936,7 +8984,7 @@ export interface PostApiV2OrdersBulkRequest {
8936
8984
  batch_priority?: boolean;
8937
8985
  /** the order shipping email */
8938
8986
  email?: string;
8939
- /** skip order shipping address verification? (staff only) */
8987
+ /** skip order shipping address verification? */
8940
8988
  skip_address_verification?: boolean;
8941
8989
  /** the orders Standard Carrier Alpha Code number */
8942
8990
  scac?: string;
@@ -9813,7 +9861,7 @@ export interface PostApiV2OrdersRequest {
9813
9861
  shop_updated_at?: string;
9814
9862
  /** the order shop warehouse ids */
9815
9863
  shop_warehouse_ids?: number[];
9816
- /** skip order shipping address verification? (staff only) */
9864
+ /** skip order shipping address verification? */
9817
9865
  skip_address_verification?: boolean;
9818
9866
  /** skip street date for this order? */
9819
9867
  skip_street_date?: boolean;
@@ -11265,7 +11313,7 @@ export interface PutApiV21OrdersIdRequest {
11265
11313
  shop_updated_at?: string;
11266
11314
  /** the order shop warehouse ids */
11267
11315
  shop_warehouse_ids?: number[];
11268
- /** skip order shipping address verification? (staff only) */
11316
+ /** skip order shipping address verification? */
11269
11317
  skip_address_verification?: boolean;
11270
11318
  /** skip street date for this order? */
11271
11319
  skip_street_date?: boolean;
@@ -12508,7 +12556,7 @@ export interface PutApiV2OrdersIdRequest {
12508
12556
  shop_updated_at?: string;
12509
12557
  /** the order shop warehouse ids */
12510
12558
  shop_warehouse_ids?: number[];
12511
- /** skip order shipping address verification? (staff only) */
12559
+ /** skip order shipping address verification? */
12512
12560
  skip_address_verification?: boolean;
12513
12561
  /** skip street date for this order? */
12514
12562
  skip_street_date?: boolean;
@@ -1,9 +1,9 @@
1
1
  export * from './BundleItems';
2
- export * from './CarrierAliases';
3
2
  export * from './ConsumerReturns';
4
3
  export * from './Customers';
5
4
  export * from './Documents';
6
5
  export * from './Items';
6
+ export * from './LoadScacs';
7
7
  export * from './NotificationEvents';
8
8
  export * from './NotificationSubscriptions';
9
9
  export * from './OrderDocuments';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.0.11",
3
+ "version": "3.0.13",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {
@@ -1,92 +0,0 @@
1
- import { ApiV21EntitiesCarrierAlias, ApiV21EntitiesPostResponse, ApiV2EntitiesCarrierAlias, GetApiV21CarrierAliasesParams, GetApiV2CarrierAliasesParams, PostApiV21CarrierAliasesRequest, PostApiV2CarrierAliasesRequest, PutApiV21CarrierAliasesIdRequest, PutApiV2CarrierAliasesIdRequest } from "./data-contracts";
2
- import { HttpClient, RequestParams } from "./http-client";
3
- /**
4
- * @description Get a list of carrier_aliases
5
- *
6
- * @tags carrier_aliases
7
- * @name GetApiV2CarrierAliases
8
- * @summary List all carrier_aliases
9
- * @request GET:/api/v2/carrier_aliases
10
- */
11
- export declare const getApiV2CarrierAliases: (client: HttpClient, query: GetApiV2CarrierAliasesParams, params?: RequestParams) => Promise<ApiV2EntitiesCarrierAlias[]>;
12
- /**
13
- * @description Create a carrier_alias
14
- *
15
- * @tags carrier_aliases
16
- * @name PostApiV2CarrierAliases
17
- * @summary Create a carrier_alias
18
- * @request POST:/api/v2/carrier_aliases
19
- */
20
- export declare const postApiV2CarrierAliases: (client: HttpClient, data: PostApiV2CarrierAliasesRequest, params?: RequestParams) => Promise<ApiV2EntitiesCarrierAlias>;
21
- /**
22
- * @description Get a carrier_alias
23
- *
24
- * @tags carrier_aliases
25
- * @name GetApiV2CarrierAliasesId
26
- * @summary Retrieve a carrier_alias
27
- * @request GET:/api/v2/carrier_aliases/{id}
28
- */
29
- export declare const getApiV2CarrierAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesCarrierAlias>;
30
- /**
31
- * @description Update a carrier_alias
32
- *
33
- * @tags carrier_aliases
34
- * @name PutApiV2CarrierAliasesId
35
- * @summary Update a carrier_alias
36
- * @request PUT:/api/v2/carrier_aliases/{id}
37
- */
38
- export declare const putApiV2CarrierAliasesId: (client: HttpClient, id: number, data: PutApiV2CarrierAliasesIdRequest, params?: RequestParams) => Promise<ApiV2EntitiesCarrierAlias>;
39
- /**
40
- * @description Destroy a carrier_alias
41
- *
42
- * @tags carrier_aliases
43
- * @name DeleteApiV2CarrierAliasesId
44
- * @summary Destroy a carrier_alias
45
- * @request DELETE:/api/v2/carrier_aliases/{id}
46
- */
47
- export declare const deleteApiV2CarrierAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
48
- /**
49
- * @description Get a list of carrier_aliases
50
- *
51
- * @tags carrier_aliases
52
- * @name GetApiV21CarrierAliases
53
- * @summary List all carrier_aliases
54
- * @request GET:/api/v2.1/carrier_aliases
55
- */
56
- export declare const getApiV21CarrierAliases: (client: HttpClient, query: GetApiV21CarrierAliasesParams, params?: RequestParams) => Promise<ApiV21EntitiesCarrierAlias[]>;
57
- /**
58
- * @description Create a carrier_alias
59
- *
60
- * @tags carrier_aliases
61
- * @name PostApiV21CarrierAliases
62
- * @summary Create a carrier_alias
63
- * @request POST:/api/v2.1/carrier_aliases
64
- */
65
- export declare const postApiV21CarrierAliases: (client: HttpClient, data: PostApiV21CarrierAliasesRequest, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
66
- /**
67
- * @description Get a carrier_alias
68
- *
69
- * @tags carrier_aliases
70
- * @name GetApiV21CarrierAliasesId
71
- * @summary Retrieve a carrier_alias
72
- * @request GET:/api/v2.1/carrier_aliases/{id}
73
- */
74
- export declare const getApiV21CarrierAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesCarrierAlias>;
75
- /**
76
- * @description Update a carrier_alias
77
- *
78
- * @tags carrier_aliases
79
- * @name PutApiV21CarrierAliasesId
80
- * @summary Update a carrier_alias
81
- * @request PUT:/api/v2.1/carrier_aliases/{id}
82
- */
83
- export declare const putApiV21CarrierAliasesId: (client: HttpClient, id: number, data: PutApiV21CarrierAliasesIdRequest, params?: RequestParams) => Promise<void>;
84
- /**
85
- * @description Destroy a carrier_alias
86
- *
87
- * @tags carrier_aliases
88
- * @name DeleteApiV21CarrierAliasesId
89
- * @summary Destroy a carrier_alias
90
- * @request DELETE:/api/v2.1/carrier_aliases/{id}
91
- */
92
- export declare const deleteApiV21CarrierAliasesId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
@@ -1,62 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /*
4
- * ---------------------------------------------------------------
5
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
6
- * ## ##
7
- * ## AUTHOR: acacode ##
8
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
9
- * ---------------------------------------------------------------
10
- */
11
-
12
- import {
13
- ApiSharedEntitiesApiError,
14
- ApiV21EntitiesCarrierAlias,
15
- ApiV2EntitiesCarrierAlias,
16
- GetApiV21CarrierAliasesParams,
17
- GetApiV2CarrierAliasesParams,
18
- } from "./data-contracts";
19
- import { HttpClient, RequestParams } from "./http-client";
20
-
21
- /**
22
- * @description Get a list of carrier_aliases
23
- *
24
- * @tags carrier_aliases
25
- * @name GetApiV2CarrierAliases
26
- * @summary List all carrier_aliases
27
- * @request GET:/api/v2/carrier_aliases
28
- */
29
- export const getApiV2CarrierAliases = (
30
- client: HttpClient,
31
- query: GetApiV2CarrierAliasesParams,
32
- params: RequestParams = {},
33
- ) => {
34
- return client.request<ApiV2EntitiesCarrierAlias[], ApiSharedEntitiesApiError>({
35
- path: `/api/v2/carrier_aliases`,
36
- method: "GET",
37
- query: query,
38
- format: "json",
39
- ...params,
40
- });
41
- };
42
- /**
43
- * @description Get a list of carrier_aliases
44
- *
45
- * @tags carrier_aliases
46
- * @name GetApiV21CarrierAliases
47
- * @summary List all carrier_aliases
48
- * @request GET:/api/v2.1/carrier_aliases
49
- */
50
- export const getApiV21CarrierAliases = (
51
- client: HttpClient,
52
- query: GetApiV21CarrierAliasesParams,
53
- params: RequestParams = {},
54
- ) => {
55
- return client.request<ApiV21EntitiesCarrierAlias[], ApiSharedEntitiesApiError>({
56
- path: `/api/v2.1/carrier_aliases`,
57
- method: "GET",
58
- query: query,
59
- format: "json",
60
- ...params,
61
- });
62
- };