@whiplashmerch/whiplash-api-client 0.1.23 → 0.2.1
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 +50 -378
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/Items.d.ts +13 -13
- package/dist/generated/Orders.d.ts +18 -18
- package/dist/generated/data-contracts.d.ts +75 -232
- package/dist/generated/index.d.ts +0 -4
- package/generated/Items.ts +29 -29
- package/generated/Orders.ts +18 -18
- package/generated/data-contracts.ts +77 -245
- package/generated/index.ts +0 -4
- package/package.json +1 -1
- package/dist/generated/MetaKeys.d.ts +0 -110
- package/dist/generated/Public.d.ts +0 -33
- package/dist/generated/ScancodeAliases.d.ts +0 -20
- package/dist/generated/Scancodes.d.ts +0 -11
- package/generated/MetaKeys.ts +0 -250
- package/generated/Public.ts +0 -69
- package/generated/ScancodeAliases.ts +0 -61
- package/generated/Scancodes.ts +0 -31
package/dist/client.esm.js
CHANGED
|
@@ -987,13 +987,13 @@ const getApiV2ItemsActions = (client, params = {}) => {
|
|
|
987
987
|
* @description An item may have many alternate scancodes
|
|
988
988
|
*
|
|
989
989
|
* @tags originators
|
|
990
|
-
* @name
|
|
990
|
+
* @name GetApiV2ItemsOriginatorOriginatorIdScancodes
|
|
991
991
|
* @summary List all scancodes associated with this item
|
|
992
|
-
* @request GET:/api/v2/items/originator/{originator_id}/
|
|
992
|
+
* @request GET:/api/v2/items/originator/{originator_id}/scancodes
|
|
993
993
|
*/
|
|
994
|
-
const
|
|
994
|
+
const getApiV2ItemsOriginatorOriginatorIdScancodes = (client, { originatorId, ...query }, params = {}) => {
|
|
995
995
|
return client.request({
|
|
996
|
-
path: `/api/v2/items/originator/${originatorId}/
|
|
996
|
+
path: `/api/v2/items/originator/${originatorId}/scancodes`,
|
|
997
997
|
method: "GET",
|
|
998
998
|
query: query,
|
|
999
999
|
format: "json",
|
|
@@ -1135,13 +1135,13 @@ const getApiV2ItemsIdMetaFields = (client, { id, ...query }, params = {}) => {
|
|
|
1135
1135
|
* @description An item may have many alternate scancodes
|
|
1136
1136
|
*
|
|
1137
1137
|
* @tags items
|
|
1138
|
-
* @name
|
|
1138
|
+
* @name GetApiV2ItemsIdScancodes
|
|
1139
1139
|
* @summary List all scancodes associated with this item
|
|
1140
|
-
* @request GET:/api/v2/items/{id}/
|
|
1140
|
+
* @request GET:/api/v2/items/{id}/scancodes
|
|
1141
1141
|
*/
|
|
1142
|
-
const
|
|
1142
|
+
const getApiV2ItemsIdScancodes = (client, { id, ...query }, params = {}) => {
|
|
1143
1143
|
return client.request({
|
|
1144
|
-
path: `/api/v2/items/${id}/
|
|
1144
|
+
path: `/api/v2/items/${id}/scancodes`,
|
|
1145
1145
|
method: "GET",
|
|
1146
1146
|
query: query,
|
|
1147
1147
|
format: "json",
|
|
@@ -1437,13 +1437,13 @@ const getApiV21ItemsActions = (client, params = {}) => {
|
|
|
1437
1437
|
* @description An item may have many alternate scancodes
|
|
1438
1438
|
*
|
|
1439
1439
|
* @tags originators
|
|
1440
|
-
* @name
|
|
1440
|
+
* @name GetApiV21ItemsOriginatorOriginatorIdScancodes
|
|
1441
1441
|
* @summary List all scancodes associated with this item
|
|
1442
|
-
* @request GET:/api/v2.1/items/originator/{originator_id}/
|
|
1442
|
+
* @request GET:/api/v2.1/items/originator/{originator_id}/scancodes
|
|
1443
1443
|
*/
|
|
1444
|
-
const
|
|
1444
|
+
const getApiV21ItemsOriginatorOriginatorIdScancodes = (client, { originatorId, ...query }, params = {}) => {
|
|
1445
1445
|
return client.request({
|
|
1446
|
-
path: `/api/v2.1/items/originator/${originatorId}/
|
|
1446
|
+
path: `/api/v2.1/items/originator/${originatorId}/scancodes`,
|
|
1447
1447
|
method: "GET",
|
|
1448
1448
|
query: query,
|
|
1449
1449
|
format: "json",
|
|
@@ -1584,13 +1584,13 @@ const getApiV21ItemsIdMetaFields = (client, { id, ...query }, params = {}) => {
|
|
|
1584
1584
|
* @description An item may have many alternate scancodes
|
|
1585
1585
|
*
|
|
1586
1586
|
* @tags items
|
|
1587
|
-
* @name
|
|
1587
|
+
* @name GetApiV21ItemsIdScancodes
|
|
1588
1588
|
* @summary List all scancodes associated with this item
|
|
1589
|
-
* @request GET:/api/v2.1/items/{id}/
|
|
1589
|
+
* @request GET:/api/v2.1/items/{id}/scancodes
|
|
1590
1590
|
*/
|
|
1591
|
-
const
|
|
1591
|
+
const getApiV21ItemsIdScancodes = (client, { id, ...query }, params = {}) => {
|
|
1592
1592
|
return client.request({
|
|
1593
|
-
path: `/api/v2.1/items/${id}/
|
|
1593
|
+
path: `/api/v2.1/items/${id}/scancodes`,
|
|
1594
1594
|
method: "GET",
|
|
1595
1595
|
query: query,
|
|
1596
1596
|
format: "json",
|
|
@@ -1831,209 +1831,6 @@ const getApiV21ItemsIdTransactions = (client, { id, ...query }, params = {}) =>
|
|
|
1831
1831
|
});
|
|
1832
1832
|
};
|
|
1833
1833
|
|
|
1834
|
-
/* eslint-disable */
|
|
1835
|
-
/**
|
|
1836
|
-
* @description Create a meta_key
|
|
1837
|
-
*
|
|
1838
|
-
* @tags meta_keys
|
|
1839
|
-
* @name PostApiV2MetaKeys
|
|
1840
|
-
* @summary Create a meta_key
|
|
1841
|
-
* @request POST:/api/v2/meta_keys
|
|
1842
|
-
*/
|
|
1843
|
-
const postApiV2MetaKeys = (client, ApiV2MetaKeys, params = {}) => {
|
|
1844
|
-
return client.request({
|
|
1845
|
-
path: `/api/v2/meta_keys`,
|
|
1846
|
-
method: "POST",
|
|
1847
|
-
body: ApiV2MetaKeys,
|
|
1848
|
-
type: ContentType.Json,
|
|
1849
|
-
format: "json",
|
|
1850
|
-
...params,
|
|
1851
|
-
});
|
|
1852
|
-
};
|
|
1853
|
-
/**
|
|
1854
|
-
* @description Get a list of meta_keys
|
|
1855
|
-
*
|
|
1856
|
-
* @tags meta_keys
|
|
1857
|
-
* @name GetApiV2MetaKeys
|
|
1858
|
-
* @summary List all meta keys
|
|
1859
|
-
* @request GET:/api/v2/meta_keys
|
|
1860
|
-
*/
|
|
1861
|
-
const getApiV2MetaKeys = (client, query, params = {}) => {
|
|
1862
|
-
return client.request({
|
|
1863
|
-
path: `/api/v2/meta_keys`,
|
|
1864
|
-
method: "GET",
|
|
1865
|
-
query: query,
|
|
1866
|
-
format: "json",
|
|
1867
|
-
...params,
|
|
1868
|
-
});
|
|
1869
|
-
};
|
|
1870
|
-
/**
|
|
1871
|
-
* @description Returns count of meta_keys
|
|
1872
|
-
*
|
|
1873
|
-
* @tags meta_keys
|
|
1874
|
-
* @name GetApiV2MetaKeysCount
|
|
1875
|
-
* @summary Count meta keys
|
|
1876
|
-
* @request GET:/api/v2/meta_keys/count
|
|
1877
|
-
*/
|
|
1878
|
-
const getApiV2MetaKeysCount = (client, query, params = {}) => {
|
|
1879
|
-
return client.request({
|
|
1880
|
-
path: `/api/v2/meta_keys/count`,
|
|
1881
|
-
method: "GET",
|
|
1882
|
-
query: query,
|
|
1883
|
-
format: "json",
|
|
1884
|
-
...params,
|
|
1885
|
-
});
|
|
1886
|
-
};
|
|
1887
|
-
/**
|
|
1888
|
-
* @description Destroy a meta_key
|
|
1889
|
-
*
|
|
1890
|
-
* @tags meta_keys
|
|
1891
|
-
* @name DeleteApiV2MetaKeysId
|
|
1892
|
-
* @summary Delete a meta_key
|
|
1893
|
-
* @request DELETE:/api/v2/meta_keys/{id}
|
|
1894
|
-
*/
|
|
1895
|
-
const deleteApiV2MetaKeysId = (client, id, params = {}) => {
|
|
1896
|
-
return client.request({
|
|
1897
|
-
path: `/api/v2/meta_keys/${id}`,
|
|
1898
|
-
method: "DELETE",
|
|
1899
|
-
...params,
|
|
1900
|
-
});
|
|
1901
|
-
};
|
|
1902
|
-
/**
|
|
1903
|
-
* @description Update a meta_key
|
|
1904
|
-
*
|
|
1905
|
-
* @tags meta_keys
|
|
1906
|
-
* @name PutApiV2MetaKeysId
|
|
1907
|
-
* @summary Update a meta_key
|
|
1908
|
-
* @request PUT:/api/v2/meta_keys/{id}
|
|
1909
|
-
*/
|
|
1910
|
-
const putApiV2MetaKeysId = (client, id, ApiV2MetaKeys, params = {}) => {
|
|
1911
|
-
return client.request({
|
|
1912
|
-
path: `/api/v2/meta_keys/${id}`,
|
|
1913
|
-
method: "PUT",
|
|
1914
|
-
body: ApiV2MetaKeys,
|
|
1915
|
-
type: ContentType.Json,
|
|
1916
|
-
format: "json",
|
|
1917
|
-
...params,
|
|
1918
|
-
});
|
|
1919
|
-
};
|
|
1920
|
-
/**
|
|
1921
|
-
* @description Get a meta_key
|
|
1922
|
-
*
|
|
1923
|
-
* @tags meta_keys
|
|
1924
|
-
* @name GetApiV2MetaKeysId
|
|
1925
|
-
* @summary Retrieve a meta key
|
|
1926
|
-
* @request GET:/api/v2/meta_keys/{id}
|
|
1927
|
-
*/
|
|
1928
|
-
const getApiV2MetaKeysId = (client, id, params = {}) => {
|
|
1929
|
-
return client.request({
|
|
1930
|
-
path: `/api/v2/meta_keys/${id}`,
|
|
1931
|
-
method: "GET",
|
|
1932
|
-
format: "json",
|
|
1933
|
-
...params,
|
|
1934
|
-
});
|
|
1935
|
-
};
|
|
1936
|
-
/**
|
|
1937
|
-
* @description Create a meta_key
|
|
1938
|
-
*
|
|
1939
|
-
* @tags meta_keys
|
|
1940
|
-
* @name PostApiV21MetaKeys
|
|
1941
|
-
* @summary Create a meta_key
|
|
1942
|
-
* @request POST:/api/v2.1/meta_keys
|
|
1943
|
-
*/
|
|
1944
|
-
const postApiV21MetaKeys = (client, ApiV21MetaKeys, params = {}) => {
|
|
1945
|
-
return client.request({
|
|
1946
|
-
path: `/api/v2.1/meta_keys`,
|
|
1947
|
-
method: "POST",
|
|
1948
|
-
body: ApiV21MetaKeys,
|
|
1949
|
-
type: ContentType.Json,
|
|
1950
|
-
format: "json",
|
|
1951
|
-
...params,
|
|
1952
|
-
});
|
|
1953
|
-
};
|
|
1954
|
-
/**
|
|
1955
|
-
* @description Get a list of meta_keys
|
|
1956
|
-
*
|
|
1957
|
-
* @tags meta_keys
|
|
1958
|
-
* @name GetApiV21MetaKeys
|
|
1959
|
-
* @summary List all meta keys
|
|
1960
|
-
* @request GET:/api/v2.1/meta_keys
|
|
1961
|
-
*/
|
|
1962
|
-
const getApiV21MetaKeys = (client, query, params = {}) => {
|
|
1963
|
-
return client.request({
|
|
1964
|
-
path: `/api/v2.1/meta_keys`,
|
|
1965
|
-
method: "GET",
|
|
1966
|
-
query: query,
|
|
1967
|
-
format: "json",
|
|
1968
|
-
...params,
|
|
1969
|
-
});
|
|
1970
|
-
};
|
|
1971
|
-
/**
|
|
1972
|
-
* @description Returns count of meta_keys
|
|
1973
|
-
*
|
|
1974
|
-
* @tags meta_keys
|
|
1975
|
-
* @name GetApiV21MetaKeysCount
|
|
1976
|
-
* @summary Count meta keys
|
|
1977
|
-
* @request GET:/api/v2.1/meta_keys/count
|
|
1978
|
-
*/
|
|
1979
|
-
const getApiV21MetaKeysCount = (client, query, params = {}) => {
|
|
1980
|
-
return client.request({
|
|
1981
|
-
path: `/api/v2.1/meta_keys/count`,
|
|
1982
|
-
method: "GET",
|
|
1983
|
-
query: query,
|
|
1984
|
-
format: "json",
|
|
1985
|
-
...params,
|
|
1986
|
-
});
|
|
1987
|
-
};
|
|
1988
|
-
/**
|
|
1989
|
-
* @description Destroy a meta_key
|
|
1990
|
-
*
|
|
1991
|
-
* @tags meta_keys
|
|
1992
|
-
* @name DeleteApiV21MetaKeysId
|
|
1993
|
-
* @summary Delete a meta_key
|
|
1994
|
-
* @request DELETE:/api/v2.1/meta_keys/{id}
|
|
1995
|
-
*/
|
|
1996
|
-
const deleteApiV21MetaKeysId = (client, id, params = {}) => {
|
|
1997
|
-
return client.request({
|
|
1998
|
-
path: `/api/v2.1/meta_keys/${id}`,
|
|
1999
|
-
method: "DELETE",
|
|
2000
|
-
...params,
|
|
2001
|
-
});
|
|
2002
|
-
};
|
|
2003
|
-
/**
|
|
2004
|
-
* @description Update a meta_key
|
|
2005
|
-
*
|
|
2006
|
-
* @tags meta_keys
|
|
2007
|
-
* @name PutApiV21MetaKeysId
|
|
2008
|
-
* @summary Update a meta_key
|
|
2009
|
-
* @request PUT:/api/v2.1/meta_keys/{id}
|
|
2010
|
-
*/
|
|
2011
|
-
const putApiV21MetaKeysId = (client, id, ApiV21MetaKeys, params = {}) => {
|
|
2012
|
-
return client.request({
|
|
2013
|
-
path: `/api/v2.1/meta_keys/${id}`,
|
|
2014
|
-
method: "PUT",
|
|
2015
|
-
body: ApiV21MetaKeys,
|
|
2016
|
-
type: ContentType.Json,
|
|
2017
|
-
...params,
|
|
2018
|
-
});
|
|
2019
|
-
};
|
|
2020
|
-
/**
|
|
2021
|
-
* @description Get a meta_key
|
|
2022
|
-
*
|
|
2023
|
-
* @tags meta_keys
|
|
2024
|
-
* @name GetApiV21MetaKeysId
|
|
2025
|
-
* @summary Retrieve a meta key
|
|
2026
|
-
* @request GET:/api/v2.1/meta_keys/{id}
|
|
2027
|
-
*/
|
|
2028
|
-
const getApiV21MetaKeysId = (client, id, params = {}) => {
|
|
2029
|
-
return client.request({
|
|
2030
|
-
path: `/api/v2.1/meta_keys/${id}`,
|
|
2031
|
-
method: "GET",
|
|
2032
|
-
format: "json",
|
|
2033
|
-
...params,
|
|
2034
|
-
});
|
|
2035
|
-
};
|
|
2036
|
-
|
|
2037
1834
|
/* eslint-disable */
|
|
2038
1835
|
/* tslint:disable */
|
|
2039
1836
|
/*
|
|
@@ -2695,7 +2492,7 @@ const getApiV21OrderItemsIdSerialNumbers = (client, id, params = {}) => {
|
|
|
2695
2492
|
|
|
2696
2493
|
/* eslint-disable */
|
|
2697
2494
|
/**
|
|
2698
|
-
*
|
|
2495
|
+
* @description Create an order
|
|
2699
2496
|
*
|
|
2700
2497
|
* @tags orders
|
|
2701
2498
|
* @name PostApiV2Orders
|
|
@@ -2713,7 +2510,7 @@ const postApiV2Orders = (client, ApiV2Orders, params = {}) => {
|
|
|
2713
2510
|
});
|
|
2714
2511
|
};
|
|
2715
2512
|
/**
|
|
2716
|
-
*
|
|
2513
|
+
* @description Retrieves a list of orders
|
|
2717
2514
|
*
|
|
2718
2515
|
* @tags orders
|
|
2719
2516
|
* @name GetApiV2Orders
|
|
@@ -2730,7 +2527,7 @@ const getApiV2Orders = (client, query, params = {}) => {
|
|
|
2730
2527
|
});
|
|
2731
2528
|
};
|
|
2732
2529
|
/**
|
|
2733
|
-
*
|
|
2530
|
+
* @description Returns count of orders
|
|
2734
2531
|
*
|
|
2735
2532
|
* @tags orders
|
|
2736
2533
|
* @name GetApiV2OrdersCount
|
|
@@ -2780,7 +2577,7 @@ const getApiV2OrdersActions = (client, params = {}) => {
|
|
|
2780
2577
|
});
|
|
2781
2578
|
};
|
|
2782
2579
|
/**
|
|
2783
|
-
*
|
|
2580
|
+
* @description Update an order
|
|
2784
2581
|
*
|
|
2785
2582
|
* @tags originators
|
|
2786
2583
|
* @name PutApiV2OrdersOriginatorOriginatorId
|
|
@@ -2798,7 +2595,7 @@ const putApiV2OrdersOriginatorOriginatorId = (client, originatorId, ApiV2OrdersO
|
|
|
2798
2595
|
});
|
|
2799
2596
|
};
|
|
2800
2597
|
/**
|
|
2801
|
-
*
|
|
2598
|
+
* @description Retrieve an order
|
|
2802
2599
|
*
|
|
2803
2600
|
* @tags originators
|
|
2804
2601
|
* @name GetApiV2OrdersOriginatorOriginatorId
|
|
@@ -2814,7 +2611,7 @@ const getApiV2OrdersOriginatorOriginatorId = (client, originatorId, params = {})
|
|
|
2814
2611
|
});
|
|
2815
2612
|
};
|
|
2816
2613
|
/**
|
|
2817
|
-
*
|
|
2614
|
+
* @description Returns count of order's events
|
|
2818
2615
|
*
|
|
2819
2616
|
* @tags orders
|
|
2820
2617
|
* @name GetApiV2OrdersIdEventsCount
|
|
@@ -2831,7 +2628,7 @@ const getApiV2OrdersIdEventsCount = (client, { id, ...query }, params = {}) => {
|
|
|
2831
2628
|
});
|
|
2832
2629
|
};
|
|
2833
2630
|
/**
|
|
2834
|
-
*
|
|
2631
|
+
* @description Get the order history
|
|
2835
2632
|
*
|
|
2836
2633
|
* @tags orders
|
|
2837
2634
|
* @name GetApiV2OrdersIdEvents
|
|
@@ -2848,7 +2645,7 @@ const getApiV2OrdersIdEvents = (client, { id, ...query }, params = {}) => {
|
|
|
2848
2645
|
});
|
|
2849
2646
|
};
|
|
2850
2647
|
/**
|
|
2851
|
-
*
|
|
2648
|
+
* @description Update an order
|
|
2852
2649
|
*
|
|
2853
2650
|
* @tags orders
|
|
2854
2651
|
* @name PutApiV2OrdersId
|
|
@@ -2866,7 +2663,7 @@ const putApiV2OrdersId = (client, id, ApiV2Orders, params = {}) => {
|
|
|
2866
2663
|
});
|
|
2867
2664
|
};
|
|
2868
2665
|
/**
|
|
2869
|
-
*
|
|
2666
|
+
* @description Retrieve an order
|
|
2870
2667
|
*
|
|
2871
2668
|
* @tags orders
|
|
2872
2669
|
* @name GetApiV2OrdersId
|
|
@@ -3037,7 +2834,7 @@ const getApiV2OrdersIdSerialNumbers = (client, id, params = {}) => {
|
|
|
3037
2834
|
});
|
|
3038
2835
|
};
|
|
3039
2836
|
/**
|
|
3040
|
-
*
|
|
2837
|
+
* @description Create an order
|
|
3041
2838
|
*
|
|
3042
2839
|
* @tags orders
|
|
3043
2840
|
* @name PostApiV21Orders
|
|
@@ -3055,7 +2852,7 @@ const postApiV21Orders = (client, ApiV21Orders, params = {}) => {
|
|
|
3055
2852
|
});
|
|
3056
2853
|
};
|
|
3057
2854
|
/**
|
|
3058
|
-
*
|
|
2855
|
+
* @description Retrieves a list of orders
|
|
3059
2856
|
*
|
|
3060
2857
|
* @tags orders
|
|
3061
2858
|
* @name GetApiV21Orders
|
|
@@ -3072,7 +2869,7 @@ const getApiV21Orders = (client, query, params = {}) => {
|
|
|
3072
2869
|
});
|
|
3073
2870
|
};
|
|
3074
2871
|
/**
|
|
3075
|
-
*
|
|
2872
|
+
* @description Returns count of orders
|
|
3076
2873
|
*
|
|
3077
2874
|
* @tags orders
|
|
3078
2875
|
* @name GetApiV21OrdersCount
|
|
@@ -3122,7 +2919,7 @@ const getApiV21OrdersActions = (client, params = {}) => {
|
|
|
3122
2919
|
});
|
|
3123
2920
|
};
|
|
3124
2921
|
/**
|
|
3125
|
-
*
|
|
2922
|
+
* @description Update an order
|
|
3126
2923
|
*
|
|
3127
2924
|
* @tags originators
|
|
3128
2925
|
* @name PutApiV21OrdersOriginatorOriginatorId
|
|
@@ -3139,7 +2936,7 @@ const putApiV21OrdersOriginatorOriginatorId = (client, originatorId, ApiV21Order
|
|
|
3139
2936
|
});
|
|
3140
2937
|
};
|
|
3141
2938
|
/**
|
|
3142
|
-
*
|
|
2939
|
+
* @description Retrieve an order
|
|
3143
2940
|
*
|
|
3144
2941
|
* @tags originators
|
|
3145
2942
|
* @name GetApiV21OrdersOriginatorOriginatorId
|
|
@@ -3155,7 +2952,7 @@ const getApiV21OrdersOriginatorOriginatorId = (client, originatorId, params = {}
|
|
|
3155
2952
|
});
|
|
3156
2953
|
};
|
|
3157
2954
|
/**
|
|
3158
|
-
*
|
|
2955
|
+
* @description Returns count of order's events
|
|
3159
2956
|
*
|
|
3160
2957
|
* @tags orders
|
|
3161
2958
|
* @name GetApiV21OrdersIdEventsCount
|
|
@@ -3172,7 +2969,7 @@ const getApiV21OrdersIdEventsCount = (client, { id, ...query }, params = {}) =>
|
|
|
3172
2969
|
});
|
|
3173
2970
|
};
|
|
3174
2971
|
/**
|
|
3175
|
-
*
|
|
2972
|
+
* @description Get the order history
|
|
3176
2973
|
*
|
|
3177
2974
|
* @tags orders
|
|
3178
2975
|
* @name GetApiV21OrdersIdEvents
|
|
@@ -3189,7 +2986,7 @@ const getApiV21OrdersIdEvents = (client, { id, ...query }, params = {}) => {
|
|
|
3189
2986
|
});
|
|
3190
2987
|
};
|
|
3191
2988
|
/**
|
|
3192
|
-
*
|
|
2989
|
+
* @description Update an order
|
|
3193
2990
|
*
|
|
3194
2991
|
* @tags orders
|
|
3195
2992
|
* @name PutApiV21OrdersId
|
|
@@ -3206,7 +3003,7 @@ const putApiV21OrdersId = (client, id, ApiV21Orders, params = {}) => {
|
|
|
3206
3003
|
});
|
|
3207
3004
|
};
|
|
3208
3005
|
/**
|
|
3209
|
-
*
|
|
3006
|
+
* @description Retrieve an order
|
|
3210
3007
|
*
|
|
3211
3008
|
* @tags orders
|
|
3212
3009
|
* @name GetApiV21OrdersId
|
|
@@ -3421,146 +3218,6 @@ const getApiV21Originators = (client, query, params = {}) => {
|
|
|
3421
3218
|
});
|
|
3422
3219
|
};
|
|
3423
3220
|
|
|
3424
|
-
/* eslint-disable */
|
|
3425
|
-
/* tslint:disable */
|
|
3426
|
-
/*
|
|
3427
|
-
* ---------------------------------------------------------------
|
|
3428
|
-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3429
|
-
* ## ##
|
|
3430
|
-
* ## AUTHOR: acacode ##
|
|
3431
|
-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3432
|
-
* ---------------------------------------------------------------
|
|
3433
|
-
*/
|
|
3434
|
-
/**
|
|
3435
|
-
* No description
|
|
3436
|
-
*
|
|
3437
|
-
* @tags public
|
|
3438
|
-
* @name GetApiV2PublicStatus
|
|
3439
|
-
* @request GET:/api/v2/public/status
|
|
3440
|
-
*/
|
|
3441
|
-
const getApiV2PublicStatus = (client, params = {}) => {
|
|
3442
|
-
return client.request({
|
|
3443
|
-
path: `/api/v2/public/status`,
|
|
3444
|
-
method: "GET",
|
|
3445
|
-
...params,
|
|
3446
|
-
});
|
|
3447
|
-
};
|
|
3448
|
-
/**
|
|
3449
|
-
* No description
|
|
3450
|
-
*
|
|
3451
|
-
* @tags public
|
|
3452
|
-
* @name GetApiV2PublicCarrierStatus
|
|
3453
|
-
* @request GET:/api/v2/public/carrier_status
|
|
3454
|
-
*/
|
|
3455
|
-
const getApiV2PublicCarrierStatus = (client, params = {}) => {
|
|
3456
|
-
return client.request({
|
|
3457
|
-
path: `/api/v2/public/carrier_status`,
|
|
3458
|
-
method: "GET",
|
|
3459
|
-
...params,
|
|
3460
|
-
});
|
|
3461
|
-
};
|
|
3462
|
-
/**
|
|
3463
|
-
* No description
|
|
3464
|
-
*
|
|
3465
|
-
* @tags public
|
|
3466
|
-
* @name GetApiV21PublicStatus
|
|
3467
|
-
* @request GET:/api/v2.1/public/status
|
|
3468
|
-
*/
|
|
3469
|
-
const getApiV21PublicStatus = (client, params = {}) => {
|
|
3470
|
-
return client.request({
|
|
3471
|
-
path: `/api/v2.1/public/status`,
|
|
3472
|
-
method: "GET",
|
|
3473
|
-
...params,
|
|
3474
|
-
});
|
|
3475
|
-
};
|
|
3476
|
-
/**
|
|
3477
|
-
* No description
|
|
3478
|
-
*
|
|
3479
|
-
* @tags public
|
|
3480
|
-
* @name GetApiV21PublicCarrierStatus
|
|
3481
|
-
* @request GET:/api/v2.1/public/carrier_status
|
|
3482
|
-
*/
|
|
3483
|
-
const getApiV21PublicCarrierStatus = (client, params = {}) => {
|
|
3484
|
-
return client.request({
|
|
3485
|
-
path: `/api/v2.1/public/carrier_status`,
|
|
3486
|
-
method: "GET",
|
|
3487
|
-
...params,
|
|
3488
|
-
});
|
|
3489
|
-
};
|
|
3490
|
-
|
|
3491
|
-
/* eslint-disable */
|
|
3492
|
-
/* tslint:disable */
|
|
3493
|
-
/*
|
|
3494
|
-
* ---------------------------------------------------------------
|
|
3495
|
-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3496
|
-
* ## ##
|
|
3497
|
-
* ## AUTHOR: acacode ##
|
|
3498
|
-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3499
|
-
* ---------------------------------------------------------------
|
|
3500
|
-
*/
|
|
3501
|
-
/**
|
|
3502
|
-
* @description Get all scancode_aliases
|
|
3503
|
-
*
|
|
3504
|
-
* @tags scancode_aliases
|
|
3505
|
-
* @name GetApiV2ScancodeAliases
|
|
3506
|
-
* @summary List all scancode aliases
|
|
3507
|
-
* @request GET:/api/v2/scancode_aliases
|
|
3508
|
-
*/
|
|
3509
|
-
const getApiV2ScancodeAliases = (client, query, params = {}) => {
|
|
3510
|
-
return client.request({
|
|
3511
|
-
path: `/api/v2/scancode_aliases`,
|
|
3512
|
-
method: "GET",
|
|
3513
|
-
query: query,
|
|
3514
|
-
format: "json",
|
|
3515
|
-
...params,
|
|
3516
|
-
});
|
|
3517
|
-
};
|
|
3518
|
-
/**
|
|
3519
|
-
* @description Get all scancode_aliases
|
|
3520
|
-
*
|
|
3521
|
-
* @tags scancode_aliases
|
|
3522
|
-
* @name GetApiV21ScancodeAliases
|
|
3523
|
-
* @summary List all scancode aliases
|
|
3524
|
-
* @request GET:/api/v2.1/scancode_aliases
|
|
3525
|
-
*/
|
|
3526
|
-
const getApiV21ScancodeAliases = (client, query, params = {}) => {
|
|
3527
|
-
return client.request({
|
|
3528
|
-
path: `/api/v2.1/scancode_aliases`,
|
|
3529
|
-
method: "GET",
|
|
3530
|
-
query: query,
|
|
3531
|
-
format: "json",
|
|
3532
|
-
...params,
|
|
3533
|
-
});
|
|
3534
|
-
};
|
|
3535
|
-
|
|
3536
|
-
/* eslint-disable */
|
|
3537
|
-
/* tslint:disable */
|
|
3538
|
-
/*
|
|
3539
|
-
* ---------------------------------------------------------------
|
|
3540
|
-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3541
|
-
* ## ##
|
|
3542
|
-
* ## AUTHOR: acacode ##
|
|
3543
|
-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3544
|
-
* ---------------------------------------------------------------
|
|
3545
|
-
*/
|
|
3546
|
-
/**
|
|
3547
|
-
* @description Get all scancodes
|
|
3548
|
-
*
|
|
3549
|
-
* @tags scancodes
|
|
3550
|
-
* @name GetApiV2Scancodes
|
|
3551
|
-
* @summary List all scancodes
|
|
3552
|
-
* @request GET:/api/v2/scancodes
|
|
3553
|
-
*/
|
|
3554
|
-
const getApiV2Scancodes = (client, query, params = {}) => {
|
|
3555
|
-
return client.request({
|
|
3556
|
-
path: `/api/v2/scancodes`,
|
|
3557
|
-
method: "GET",
|
|
3558
|
-
query: query,
|
|
3559
|
-
format: "json",
|
|
3560
|
-
...params,
|
|
3561
|
-
});
|
|
3562
|
-
};
|
|
3563
|
-
|
|
3564
3221
|
/* eslint-disable */
|
|
3565
3222
|
/**
|
|
3566
3223
|
* @description Get resource actions
|
|
@@ -5099,6 +4756,21 @@ var ApiV2EntitiesOrderIncoterm;
|
|
|
5099
4756
|
ApiV2EntitiesOrderIncoterm["DEQ"] = "DEQ";
|
|
5100
4757
|
ApiV2EntitiesOrderIncoterm["DDU"] = "DDU";
|
|
5101
4758
|
})(ApiV2EntitiesOrderIncoterm || (ApiV2EntitiesOrderIncoterm = {}));
|
|
4759
|
+
/** locale for language settings */
|
|
4760
|
+
var ApiV2EntitiesUserLocale;
|
|
4761
|
+
(function (ApiV2EntitiesUserLocale) {
|
|
4762
|
+
ApiV2EntitiesUserLocale["En"] = "en";
|
|
4763
|
+
ApiV2EntitiesUserLocale["Es"] = "es";
|
|
4764
|
+
})(ApiV2EntitiesUserLocale || (ApiV2EntitiesUserLocale = {}));
|
|
4765
|
+
/** role of the user */
|
|
4766
|
+
var ApiV2EntitiesUserRole;
|
|
4767
|
+
(function (ApiV2EntitiesUserRole) {
|
|
4768
|
+
ApiV2EntitiesUserRole["Admin"] = "admin";
|
|
4769
|
+
ApiV2EntitiesUserRole["Manager"] = "manager";
|
|
4770
|
+
ApiV2EntitiesUserRole["Staff"] = "staff";
|
|
4771
|
+
ApiV2EntitiesUserRole["Customer"] = "customer";
|
|
4772
|
+
ApiV2EntitiesUserRole["Partner"] = "partner";
|
|
4773
|
+
})(ApiV2EntitiesUserRole || (ApiV2EntitiesUserRole = {}));
|
|
5102
4774
|
/** hazmat class */
|
|
5103
4775
|
var PostApiV21ItemsHazmatType;
|
|
5104
4776
|
(function (PostApiV21ItemsHazmatType) {
|
|
@@ -7128,5 +6800,5 @@ var PutApiV2SimulateOrdersOrderIdProcessingStatus;
|
|
|
7128
6800
|
PutApiV2SimulateOrdersOrderIdProcessingStatus["Shipped"] = "shipped";
|
|
7129
6801
|
})(PutApiV2SimulateOrdersOrderIdProcessingStatus || (PutApiV2SimulateOrdersOrderIdProcessingStatus = {}));
|
|
7130
6802
|
|
|
7131
|
-
export { ApiV2EntitiesItemHazmatType, ApiV2EntitiesItemOriginCountry, ApiV2EntitiesItemPackagingType, ApiV2EntitiesOrderIncoterm, ContentType, HttpClient, PostApiV21ItemsHazmatType, PostApiV21ItemsOriginCountry, PostApiV21ItemsPackagingType, PostApiV21OrdersIncoterm, PostApiV21OrdersOrderType, PostApiV21OrdersStatus, PostApiV2ItemsHazmatType, PostApiV2ItemsOriginCountry, PostApiV2ItemsPackagingType, PostApiV2OrdersIncoterm, PostApiV2OrdersOrderType, PostApiV2OrdersStatus, PutApiV21ItemsHazmatType, PutApiV21ItemsOriginCountry, PutApiV21ItemsOriginatorHazmatType, PutApiV21ItemsOriginatorOriginCountry, PutApiV21ItemsOriginatorPackagingType, PutApiV21ItemsPackagingType, PutApiV21OrdersIncoterm, PutApiV21OrdersOriginatorIncoterm, PutApiV21SimulateOrdersOrderIdProcessingStatus, PutApiV2ItemsHazmatType, PutApiV2ItemsOriginCountry, PutApiV2ItemsOriginatorHazmatType, PutApiV2ItemsOriginatorOriginCountry, PutApiV2ItemsOriginatorPackagingType, PutApiV2ItemsPackagingType, PutApiV2OrdersIncoterm, PutApiV2OrdersOriginatorIncoterm, PutApiV2SimulateOrdersOrderIdProcessingStatus, deleteApiV21BundleItemsId, deleteApiV21ConsumerReturnsId, deleteApiV21ConsumerReturnsOriginatorOriginatorId, deleteApiV21DocumentsId, deleteApiV21ItemsId, deleteApiV21ItemsOriginatorOriginatorId,
|
|
6803
|
+
export { ApiV2EntitiesItemHazmatType, ApiV2EntitiesItemOriginCountry, ApiV2EntitiesItemPackagingType, ApiV2EntitiesOrderIncoterm, ApiV2EntitiesUserLocale, ApiV2EntitiesUserRole, ContentType, HttpClient, PostApiV21ItemsHazmatType, PostApiV21ItemsOriginCountry, PostApiV21ItemsPackagingType, PostApiV21OrdersIncoterm, PostApiV21OrdersOrderType, PostApiV21OrdersStatus, PostApiV2ItemsHazmatType, PostApiV2ItemsOriginCountry, PostApiV2ItemsPackagingType, PostApiV2OrdersIncoterm, PostApiV2OrdersOrderType, PostApiV2OrdersStatus, PutApiV21ItemsHazmatType, PutApiV21ItemsOriginCountry, PutApiV21ItemsOriginatorHazmatType, PutApiV21ItemsOriginatorOriginCountry, PutApiV21ItemsOriginatorPackagingType, PutApiV21ItemsPackagingType, PutApiV21OrdersIncoterm, PutApiV21OrdersOriginatorIncoterm, PutApiV21SimulateOrdersOrderIdProcessingStatus, PutApiV2ItemsHazmatType, PutApiV2ItemsOriginCountry, PutApiV2ItemsOriginatorHazmatType, PutApiV2ItemsOriginatorOriginCountry, PutApiV2ItemsOriginatorPackagingType, PutApiV2ItemsPackagingType, PutApiV2OrdersIncoterm, PutApiV2OrdersOriginatorIncoterm, PutApiV2SimulateOrdersOrderIdProcessingStatus, deleteApiV21BundleItemsId, deleteApiV21ConsumerReturnsId, deleteApiV21ConsumerReturnsOriginatorOriginatorId, deleteApiV21DocumentsId, deleteApiV21ItemsId, deleteApiV21ItemsOriginatorOriginatorId, deleteApiV21NotificationSubscriptionsId, deleteApiV21OrderDocumentsId, deleteApiV21OrderItemsId, deleteApiV21ShipnoticeItemsId, deleteApiV21ShipnoticesId, deleteApiV21ShipnoticesOriginatorOriginatorId, deleteApiV21TemplatesId, deleteApiV2BundleItemsId, deleteApiV2ConsumerReturnsId, deleteApiV2ConsumerReturnsOriginatorOriginatorId, deleteApiV2DocumentsId, deleteApiV2ItemsId, deleteApiV2ItemsOriginatorOriginatorId, deleteApiV2NotificationSubscriptionsId, deleteApiV2OrderDocumentsId, deleteApiV2OrderItemsId, deleteApiV2ShipnoticeItemsId, deleteApiV2ShipnoticesId, deleteApiV2ShipnoticesOriginatorOriginatorId, deleteApiV2TemplatesId, getApiV21BundleItemsId, getApiV21ConsumerReturns, getApiV21ConsumerReturnsCount, getApiV21ConsumerReturnsId, getApiV21ConsumerReturnsIdMetaFields, getApiV21ConsumerReturnsOriginatorOriginatorId, getApiV21Customers, getApiV21CustomersActions, getApiV21CustomersCount, getApiV21CustomersId, getApiV21Documents, getApiV21DocumentsActions, getApiV21DocumentsId, getApiV21Items, getApiV21ItemsActions, getApiV21ItemsCount, getApiV21ItemsId, getApiV21ItemsIdBundleItems, getApiV21ItemsIdInBundles, getApiV21ItemsIdMetaFields, getApiV21ItemsIdOriginators, getApiV21ItemsIdScancodes, getApiV21ItemsIdShipnoticeItems, getApiV21ItemsIdShipnoticeItemsCount, getApiV21ItemsIdTransactions, getApiV21ItemsIdTransactionsCount, getApiV21ItemsIdWarehouseQuantities, getApiV21ItemsOriginatorOriginatorId, getApiV21ItemsOriginatorOriginatorIdBundleItems, getApiV21ItemsOriginatorOriginatorIdInBundles, getApiV21ItemsOriginatorOriginatorIdScancodes, getApiV21ItemsOriginatorOriginatorIdWarehouseQuantities, getApiV21NotificationEvents, getApiV21NotificationEventsId, getApiV21NotificationSubscriptions, getApiV21NotificationSubscriptionsCount, getApiV21NotificationSubscriptionsId, getApiV21NotificationSubscriptionsIdTest, getApiV21OrderItemsActions, getApiV21OrderItemsId, getApiV21OrderItemsIdMetaFields, getApiV21OrderItemsIdSerialNumbers, getApiV21Orders, getApiV21OrdersActions, getApiV21OrdersCount, getApiV21OrdersId, getApiV21OrdersIdEvents, getApiV21OrdersIdEventsCount, getApiV21OrdersIdMetaFields, getApiV21OrdersIdOrderDocuments, getApiV21OrdersIdOrderItems, getApiV21OrdersIdOrderItemsCount, getApiV21OrdersIdSerialNumbers, getApiV21OrdersOriginatorOriginatorId, getApiV21Originators, getApiV21ShipnoticeItemsActions, getApiV21ShipnoticeItemsCount, getApiV21ShipnoticeItemsId, getApiV21ShipnoticeItemsIdMetaFields, getApiV21Shipnotices, getApiV21ShipnoticesActions, getApiV21ShipnoticesCount, getApiV21ShipnoticesId, getApiV21ShipnoticesIdMetaFields, getApiV21ShipnoticesIdOrdersWaiting, getApiV21ShipnoticesIdShipnoticeItems, getApiV21ShipnoticesIdShipnoticeItemsCount, getApiV21ShipnoticesOriginatorOriginatorId, getApiV21Templates, getApiV21TemplatesId, getApiV2BundleItemsId, getApiV2ConsumerReturns, getApiV2ConsumerReturnsCount, getApiV2ConsumerReturnsId, getApiV2ConsumerReturnsIdMetaFields, getApiV2ConsumerReturnsOriginatorOriginatorId, getApiV2Customers, getApiV2CustomersActions, getApiV2CustomersCount, getApiV2CustomersId, getApiV2Documents, getApiV2DocumentsActions, getApiV2DocumentsId, getApiV2Items, getApiV2ItemsActions, getApiV2ItemsCount, getApiV2ItemsId, getApiV2ItemsIdBundleItems, getApiV2ItemsIdInBundles, getApiV2ItemsIdMetaFields, getApiV2ItemsIdOriginators, getApiV2ItemsIdScancodes, getApiV2ItemsIdShipnoticeItems, getApiV2ItemsIdShipnoticeItemsCount, getApiV2ItemsIdTransactions, getApiV2ItemsIdTransactionsCount, getApiV2ItemsIdWarehouseQuantities, getApiV2ItemsOriginatorOriginatorId, getApiV2ItemsOriginatorOriginatorIdBundleItems, getApiV2ItemsOriginatorOriginatorIdInBundles, getApiV2ItemsOriginatorOriginatorIdScancodes, getApiV2ItemsOriginatorOriginatorIdWarehouseQuantities, getApiV2NotificationEvents, getApiV2NotificationEventsId, getApiV2NotificationSubscriptions, getApiV2NotificationSubscriptionsCount, getApiV2NotificationSubscriptionsId, getApiV2NotificationSubscriptionsIdTest, getApiV2OrderItemsActions, getApiV2OrderItemsId, getApiV2OrderItemsIdMetaFields, getApiV2OrderItemsIdSerialNumbers, getApiV2Orders, getApiV2OrdersActions, getApiV2OrdersCount, getApiV2OrdersId, getApiV2OrdersIdEvents, getApiV2OrdersIdEventsCount, getApiV2OrdersIdMetaFields, getApiV2OrdersIdOrderDocuments, getApiV2OrdersIdOrderItems, getApiV2OrdersIdOrderItemsCount, getApiV2OrdersIdSerialNumbers, getApiV2OrdersOriginatorOriginatorId, getApiV2Originators, getApiV2ShipnoticeItemsActions, getApiV2ShipnoticeItemsCount, getApiV2ShipnoticeItemsId, getApiV2ShipnoticeItemsIdMetaFields, getApiV2Shipnotices, getApiV2ShipnoticesActions, getApiV2ShipnoticesCount, getApiV2ShipnoticesId, getApiV2ShipnoticesIdMetaFields, getApiV2ShipnoticesIdOrdersWaiting, getApiV2ShipnoticesIdShipnoticeItems, getApiV2ShipnoticesIdShipnoticeItemsCount, getApiV2ShipnoticesOriginatorOriginatorId, getApiV2Templates, getApiV2TemplatesId, postApiV21ConsumerReturns, postApiV21ConsumerReturnsBulk, postApiV21Documents, postApiV21Items, postApiV21ItemsIdBundleItems, postApiV21NotificationSubscriptions, postApiV21Orders, postApiV21OrdersBulk, postApiV21OrdersIdOrderDocuments, postApiV21OrdersIdOrderItems, postApiV21Shipnotices, postApiV21ShipnoticesBulk, postApiV21ShipnoticesIdShipnoticeItems, postApiV21SimulateConsumerReturnsCreate, postApiV21SimulateOrdersCreate, postApiV21SimulateShipnoticesCreate, postApiV21Templates, postApiV2ConsumerReturns, postApiV2ConsumerReturnsBulk, postApiV2Documents, postApiV2Items, postApiV2ItemsIdBundleItems, postApiV2NotificationSubscriptions, postApiV2Orders, postApiV2OrdersBulk, postApiV2OrdersIdOrderDocuments, postApiV2OrdersIdOrderItems, postApiV2Shipnotices, postApiV2ShipnoticesBulk, postApiV2ShipnoticesIdShipnoticeItems, postApiV2SimulateConsumerReturnsCreate, postApiV2SimulateOrdersCreate, postApiV2SimulateShipnoticesCreate, postApiV2Templates, putApiV21BundleItemsId, putApiV21ConsumerReturnsId, putApiV21ConsumerReturnsIdMetaFields, putApiV21ConsumerReturnsOriginatorOriginatorId, putApiV21CustomersId, putApiV21ItemsId, putApiV21ItemsIdCallAction, putApiV21ItemsIdMetaFields, putApiV21ItemsOriginatorOriginatorId, putApiV21NotificationSubscriptionsId, putApiV21OrderItemsId, putApiV21OrderItemsIdCallAction, putApiV21OrderItemsIdMetaFields, putApiV21OrderItemsIdSeparate, putApiV21OrdersId, putApiV21OrdersIdCallAction, putApiV21OrdersIdMetaFields, putApiV21OrdersOriginatorOriginatorId, putApiV21ShipnoticeItemsId, putApiV21ShipnoticeItemsIdMetaFields, putApiV21ShipnoticesId, putApiV21ShipnoticesIdMetaFields, putApiV21ShipnoticesOriginatorOriginatorId, putApiV21SimulateConsumerReturnsConsumerReturnIdProcessing, putApiV21SimulateOrdersOrderIdProcessing, putApiV21SimulateShipnoticesShipnoticeIdProcessing, putApiV21TemplatesId, putApiV2BundleItemsId, putApiV2ConsumerReturnsId, putApiV2ConsumerReturnsIdMetaFields, putApiV2ConsumerReturnsOriginatorOriginatorId, putApiV2CustomersId, putApiV2ItemsId, putApiV2ItemsIdCallAction, putApiV2ItemsIdMetaFields, putApiV2ItemsOriginatorOriginatorId, putApiV2NotificationSubscriptionsId, putApiV2OrderItemsId, putApiV2OrderItemsIdCallAction, putApiV2OrderItemsIdMetaFields, putApiV2OrderItemsIdSeparate, putApiV2OrdersId, putApiV2OrdersIdCallAction, putApiV2OrdersIdMetaFields, putApiV2OrdersOriginatorOriginatorId, putApiV2ShipnoticeItemsId, putApiV2ShipnoticeItemsIdMetaFields, putApiV2ShipnoticesId, putApiV2ShipnoticesIdMetaFields, putApiV2ShipnoticesOriginatorOriginatorId, putApiV2SimulateConsumerReturnsConsumerReturnIdProcessing, putApiV2SimulateOrdersOrderIdProcessing, putApiV2SimulateShipnoticesShipnoticeIdProcessing, putApiV2TemplatesId };
|
|
7132
6804
|
//# sourceMappingURL=client.esm.js.map
|