yellowgrid-api-ts 3.1.13-dev.0 → 3.1.15-dev.0
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/.openapi-generator/FILES +2 -2
- package/README.md +3 -1
- package/api.ts +223 -84
- package/dist/api.d.ts +185 -85
- package/dist/api.js +90 -3
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/DetailedItemRequestDTO.md +43 -0
- package/docs/DetailedOrderRequestDTO.md +33 -0
- package/docs/ItemDiscountEntity.md +2 -0
- package/docs/ItemEntity.md +2 -2
- package/docs/OrdersApi.md +57 -2
- package/docs/ProductSummaryDTO.md +2 -0
- package/hs_err_pid58424.log +247 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
-
.openapi-generator-ignore
|
|
4
3
|
README.md
|
|
5
4
|
api.ts
|
|
6
5
|
base.ts
|
|
@@ -17,7 +16,6 @@ docs/AccountsApi.md
|
|
|
17
16
|
docs/AccountsResponseModel.md
|
|
18
17
|
docs/AddressModel.md
|
|
19
18
|
docs/AddressRequestModel.md
|
|
20
|
-
docs/AdminItemRequestDTO.md
|
|
21
19
|
docs/AdminOrderRequestDTO.md
|
|
22
20
|
docs/AdminUserModel.md
|
|
23
21
|
docs/AgentHoursGraphModel.md
|
|
@@ -52,6 +50,8 @@ docs/CustomerPriceListEnum.md
|
|
|
52
50
|
docs/CustomerSummaryReportDTO.md
|
|
53
51
|
docs/DdiRangeRequestModel.md
|
|
54
52
|
docs/DdiRangesRequestModel.md
|
|
53
|
+
docs/DetailedItemRequestDTO.md
|
|
54
|
+
docs/DetailedOrderRequestDTO.md
|
|
55
55
|
docs/DivertRequestModel.md
|
|
56
56
|
docs/DivertResponseModel.md
|
|
57
57
|
docs/EdTechProClientEntity.md
|
package/README.md
CHANGED
|
@@ -138,6 +138,7 @@ Class | Method | HTTP request | Description
|
|
|
138
138
|
*OAuth20Api* | [**postGetIdentity**](docs/OAuth20Api.md#postgetidentity) | **POST** /oauth2/me | Get Token Identity
|
|
139
139
|
*OAuth20Api* | [**postPortalLogin**](docs/OAuth20Api.md#postportallogin) | **POST** /oauth2/portal/login | Portal Login
|
|
140
140
|
*OrdersApi* | [**deleteUpdateOrder**](docs/OrdersApi.md#deleteupdateorder) | **DELETE** /orders/{id} | Delete Orders
|
|
141
|
+
*OrdersApi* | [**getGetAdminEditableOrder**](docs/OrdersApi.md#getgetadmineditableorder) | **GET** /admin/orders/{id}/views/editable | Get Editable Order (Admin)
|
|
141
142
|
*OrdersApi* | [**getGetEditableOrder**](docs/OrdersApi.md#getgeteditableorder) | **GET** /orders/{id}/views/editable | Get Editable Order
|
|
142
143
|
*OrdersApi* | [**getGetOrders**](docs/OrdersApi.md#getgetorders) | **GET** /orders | Get Orders
|
|
143
144
|
*OrdersApi* | [**postCreateAdminOrder**](docs/OrdersApi.md#postcreateadminorder) | **POST** /admin/orders | Create An Order (Admin)
|
|
@@ -231,7 +232,6 @@ Class | Method | HTTP request | Description
|
|
|
231
232
|
- [AccountsResponseModel](docs/AccountsResponseModel.md)
|
|
232
233
|
- [AddressModel](docs/AddressModel.md)
|
|
233
234
|
- [AddressRequestModel](docs/AddressRequestModel.md)
|
|
234
|
-
- [AdminItemRequestDTO](docs/AdminItemRequestDTO.md)
|
|
235
235
|
- [AdminOrderRequestDTO](docs/AdminOrderRequestDTO.md)
|
|
236
236
|
- [AdminUserModel](docs/AdminUserModel.md)
|
|
237
237
|
- [AgentHoursGraphModel](docs/AgentHoursGraphModel.md)
|
|
@@ -260,6 +260,8 @@ Class | Method | HTTP request | Description
|
|
|
260
260
|
- [CustomerSummaryReportDTO](docs/CustomerSummaryReportDTO.md)
|
|
261
261
|
- [DdiRangeRequestModel](docs/DdiRangeRequestModel.md)
|
|
262
262
|
- [DdiRangesRequestModel](docs/DdiRangesRequestModel.md)
|
|
263
|
+
- [DetailedItemRequestDTO](docs/DetailedItemRequestDTO.md)
|
|
264
|
+
- [DetailedOrderRequestDTO](docs/DetailedOrderRequestDTO.md)
|
|
263
265
|
- [DivertRequestModel](docs/DivertRequestModel.md)
|
|
264
266
|
- [DivertResponseModel](docs/DivertResponseModel.md)
|
|
265
267
|
- [EdTechProClientEntity](docs/EdTechProClientEntity.md)
|
package/api.ts
CHANGED
|
@@ -657,85 +657,6 @@ export interface AddressRequestModel {
|
|
|
657
657
|
*/
|
|
658
658
|
'addressPostcode'?: string;
|
|
659
659
|
}
|
|
660
|
-
/**
|
|
661
|
-
* Admin Order Item Request
|
|
662
|
-
* @export
|
|
663
|
-
* @interface AdminItemRequestDTO
|
|
664
|
-
*/
|
|
665
|
-
export interface AdminItemRequestDTO {
|
|
666
|
-
/**
|
|
667
|
-
* SKU
|
|
668
|
-
* @type {string}
|
|
669
|
-
* @memberof AdminItemRequestDTO
|
|
670
|
-
*/
|
|
671
|
-
'sku'?: string;
|
|
672
|
-
/**
|
|
673
|
-
* Quantity
|
|
674
|
-
* @type {number}
|
|
675
|
-
* @memberof AdminItemRequestDTO
|
|
676
|
-
*/
|
|
677
|
-
'quantity'?: number;
|
|
678
|
-
/**
|
|
679
|
-
* ID
|
|
680
|
-
* @type {number}
|
|
681
|
-
* @memberof AdminItemRequestDTO
|
|
682
|
-
*/
|
|
683
|
-
'id'?: number | null;
|
|
684
|
-
/**
|
|
685
|
-
* 3CX Licence Key
|
|
686
|
-
* @type {string}
|
|
687
|
-
* @memberof AdminItemRequestDTO
|
|
688
|
-
*/
|
|
689
|
-
'licenceKey'?: string | null;
|
|
690
|
-
/**
|
|
691
|
-
* 3CX Hosting
|
|
692
|
-
* @type {boolean}
|
|
693
|
-
* @memberof AdminItemRequestDTO
|
|
694
|
-
*/
|
|
695
|
-
'hosting'?: boolean | null;
|
|
696
|
-
/**
|
|
697
|
-
* Date Time
|
|
698
|
-
* @type {string}
|
|
699
|
-
* @memberof AdminItemRequestDTO
|
|
700
|
-
*/
|
|
701
|
-
'processDate'?: string;
|
|
702
|
-
/**
|
|
703
|
-
* 3CX Sales Code
|
|
704
|
-
* @type {string}
|
|
705
|
-
* @memberof AdminItemRequestDTO
|
|
706
|
-
*/
|
|
707
|
-
'tcxSalesCode'?: string | null;
|
|
708
|
-
/**
|
|
709
|
-
* SBCS
|
|
710
|
-
* @type {Array<TcxSbcDTO>}
|
|
711
|
-
* @memberof AdminItemRequestDTO
|
|
712
|
-
*/
|
|
713
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
714
|
-
/**
|
|
715
|
-
* Read Only (Cannot be edited)
|
|
716
|
-
* @type {boolean}
|
|
717
|
-
* @memberof AdminItemRequestDTO
|
|
718
|
-
*/
|
|
719
|
-
'readOnly'?: boolean;
|
|
720
|
-
/**
|
|
721
|
-
* Title
|
|
722
|
-
* @type {string}
|
|
723
|
-
* @memberof AdminItemRequestDTO
|
|
724
|
-
*/
|
|
725
|
-
'title'?: string | null;
|
|
726
|
-
/**
|
|
727
|
-
* Price (£)
|
|
728
|
-
* @type {number}
|
|
729
|
-
* @memberof AdminItemRequestDTO
|
|
730
|
-
*/
|
|
731
|
-
'itemPrice'?: number | null;
|
|
732
|
-
/**
|
|
733
|
-
* Additional Discount
|
|
734
|
-
* @type {number}
|
|
735
|
-
* @memberof AdminItemRequestDTO
|
|
736
|
-
*/
|
|
737
|
-
'additionalDiscount'?: number | null;
|
|
738
|
-
}
|
|
739
660
|
/**
|
|
740
661
|
* Admin Order Request
|
|
741
662
|
* @export
|
|
@@ -750,10 +671,10 @@ export interface AdminOrderRequestDTO {
|
|
|
750
671
|
'orderReference'?: string | null;
|
|
751
672
|
/**
|
|
752
673
|
* Items
|
|
753
|
-
* @type {Array<
|
|
674
|
+
* @type {Array<DetailedItemRequestDTO>}
|
|
754
675
|
* @memberof AdminOrderRequestDTO
|
|
755
676
|
*/
|
|
756
|
-
'items'?: Array<
|
|
677
|
+
'items'?: Array<DetailedItemRequestDTO>;
|
|
757
678
|
/**
|
|
758
679
|
*
|
|
759
680
|
* @type {ShippingServiceDTO}
|
|
@@ -1999,6 +1920,134 @@ export interface DdiRangesRequestModel {
|
|
|
1999
1920
|
*/
|
|
2000
1921
|
'ranges'?: Array<DdiRangeRequestModel>;
|
|
2001
1922
|
}
|
|
1923
|
+
/**
|
|
1924
|
+
* Detailed Order Item Request
|
|
1925
|
+
* @export
|
|
1926
|
+
* @interface DetailedItemRequestDTO
|
|
1927
|
+
*/
|
|
1928
|
+
export interface DetailedItemRequestDTO {
|
|
1929
|
+
/**
|
|
1930
|
+
* SKU
|
|
1931
|
+
* @type {string}
|
|
1932
|
+
* @memberof DetailedItemRequestDTO
|
|
1933
|
+
*/
|
|
1934
|
+
'sku'?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Quantity
|
|
1937
|
+
* @type {number}
|
|
1938
|
+
* @memberof DetailedItemRequestDTO
|
|
1939
|
+
*/
|
|
1940
|
+
'quantity'?: number;
|
|
1941
|
+
/**
|
|
1942
|
+
* ID
|
|
1943
|
+
* @type {number}
|
|
1944
|
+
* @memberof DetailedItemRequestDTO
|
|
1945
|
+
*/
|
|
1946
|
+
'id'?: number | null;
|
|
1947
|
+
/**
|
|
1948
|
+
* 3CX Licence Key
|
|
1949
|
+
* @type {string}
|
|
1950
|
+
* @memberof DetailedItemRequestDTO
|
|
1951
|
+
*/
|
|
1952
|
+
'licenceKey'?: string | null;
|
|
1953
|
+
/**
|
|
1954
|
+
* 3CX Hosting
|
|
1955
|
+
* @type {boolean}
|
|
1956
|
+
* @memberof DetailedItemRequestDTO
|
|
1957
|
+
*/
|
|
1958
|
+
'hosting'?: boolean | null;
|
|
1959
|
+
/**
|
|
1960
|
+
* Date Time
|
|
1961
|
+
* @type {string}
|
|
1962
|
+
* @memberof DetailedItemRequestDTO
|
|
1963
|
+
*/
|
|
1964
|
+
'processDate'?: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* 3CX Sales Code
|
|
1967
|
+
* @type {string}
|
|
1968
|
+
* @memberof DetailedItemRequestDTO
|
|
1969
|
+
*/
|
|
1970
|
+
'tcxSalesCode'?: string | null;
|
|
1971
|
+
/**
|
|
1972
|
+
* SBCS
|
|
1973
|
+
* @type {Array<TcxSbcDTO>}
|
|
1974
|
+
* @memberof DetailedItemRequestDTO
|
|
1975
|
+
*/
|
|
1976
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Read Only (Cannot be edited)
|
|
1979
|
+
* @type {boolean}
|
|
1980
|
+
* @memberof DetailedItemRequestDTO
|
|
1981
|
+
*/
|
|
1982
|
+
'readOnly'?: boolean;
|
|
1983
|
+
/**
|
|
1984
|
+
* Title
|
|
1985
|
+
* @type {string}
|
|
1986
|
+
* @memberof DetailedItemRequestDTO
|
|
1987
|
+
*/
|
|
1988
|
+
'title'?: string | null;
|
|
1989
|
+
/**
|
|
1990
|
+
* Price (£)
|
|
1991
|
+
* @type {number}
|
|
1992
|
+
* @memberof DetailedItemRequestDTO
|
|
1993
|
+
*/
|
|
1994
|
+
'itemPrice'?: number | null;
|
|
1995
|
+
/**
|
|
1996
|
+
* Additional Discount
|
|
1997
|
+
* @type {number}
|
|
1998
|
+
* @memberof DetailedItemRequestDTO
|
|
1999
|
+
*/
|
|
2000
|
+
'additionalDiscount'?: number | null;
|
|
2001
|
+
}
|
|
2002
|
+
/**
|
|
2003
|
+
* Detailed Order Request
|
|
2004
|
+
* @export
|
|
2005
|
+
* @interface DetailedOrderRequestDTO
|
|
2006
|
+
*/
|
|
2007
|
+
export interface DetailedOrderRequestDTO {
|
|
2008
|
+
/**
|
|
2009
|
+
* Order Reference
|
|
2010
|
+
* @type {string}
|
|
2011
|
+
* @memberof DetailedOrderRequestDTO
|
|
2012
|
+
*/
|
|
2013
|
+
'orderReference'?: string | null;
|
|
2014
|
+
/**
|
|
2015
|
+
* Items
|
|
2016
|
+
* @type {Array<DetailedItemRequestDTO>}
|
|
2017
|
+
* @memberof DetailedOrderRequestDTO
|
|
2018
|
+
*/
|
|
2019
|
+
'items'?: Array<DetailedItemRequestDTO>;
|
|
2020
|
+
/**
|
|
2021
|
+
*
|
|
2022
|
+
* @type {ShippingServiceDTO}
|
|
2023
|
+
* @memberof DetailedOrderRequestDTO
|
|
2024
|
+
*/
|
|
2025
|
+
'shippingService'?: ShippingServiceDTO;
|
|
2026
|
+
/**
|
|
2027
|
+
* Provisioning URL
|
|
2028
|
+
* @type {string}
|
|
2029
|
+
* @memberof DetailedOrderRequestDTO
|
|
2030
|
+
*/
|
|
2031
|
+
'provisioningUrl'?: string | null;
|
|
2032
|
+
/**
|
|
2033
|
+
*
|
|
2034
|
+
* @type {AddressModel}
|
|
2035
|
+
* @memberof DetailedOrderRequestDTO
|
|
2036
|
+
*/
|
|
2037
|
+
'shippingAddress'?: AddressModel;
|
|
2038
|
+
/**
|
|
2039
|
+
* Part Ship Order
|
|
2040
|
+
* @type {boolean}
|
|
2041
|
+
* @memberof DetailedOrderRequestDTO
|
|
2042
|
+
*/
|
|
2043
|
+
'partShip'?: boolean;
|
|
2044
|
+
/**
|
|
2045
|
+
* Quote
|
|
2046
|
+
* @type {boolean}
|
|
2047
|
+
* @memberof DetailedOrderRequestDTO
|
|
2048
|
+
*/
|
|
2049
|
+
'quote'?: boolean;
|
|
2050
|
+
}
|
|
2002
2051
|
/**
|
|
2003
2052
|
* Divert Request
|
|
2004
2053
|
* @export
|
|
@@ -3129,6 +3178,12 @@ export interface ItemDiscountEntity {
|
|
|
3129
3178
|
* @memberof ItemDiscountEntity
|
|
3130
3179
|
*/
|
|
3131
3180
|
'discount'?: number;
|
|
3181
|
+
/**
|
|
3182
|
+
* type
|
|
3183
|
+
* @type {string}
|
|
3184
|
+
* @memberof ItemDiscountEntity
|
|
3185
|
+
*/
|
|
3186
|
+
'type'?: ItemDiscountEntityTypeEnum | null;
|
|
3132
3187
|
/**
|
|
3133
3188
|
* description
|
|
3134
3189
|
* @type {string}
|
|
@@ -3142,6 +3197,15 @@ export interface ItemDiscountEntity {
|
|
|
3142
3197
|
*/
|
|
3143
3198
|
'priority'?: number;
|
|
3144
3199
|
}
|
|
3200
|
+
|
|
3201
|
+
export const ItemDiscountEntityTypeEnum = {
|
|
3202
|
+
TcxPhones: 'TCX_PHONES',
|
|
3203
|
+
PhoneBulk: 'PHONE_BULK',
|
|
3204
|
+
Additional: 'ADDITIONAL'
|
|
3205
|
+
} as const;
|
|
3206
|
+
|
|
3207
|
+
export type ItemDiscountEntityTypeEnum = typeof ItemDiscountEntityTypeEnum[keyof typeof ItemDiscountEntityTypeEnum];
|
|
3208
|
+
|
|
3145
3209
|
/**
|
|
3146
3210
|
* ItemsEntity
|
|
3147
3211
|
* @export
|
|
@@ -3249,7 +3313,7 @@ export interface ItemEntity {
|
|
|
3249
3313
|
* @type {string}
|
|
3250
3314
|
* @memberof ItemEntity
|
|
3251
3315
|
*/
|
|
3252
|
-
'
|
|
3316
|
+
'licenceKey'?: string;
|
|
3253
3317
|
/**
|
|
3254
3318
|
* addHosting
|
|
3255
3319
|
* @type {number}
|
|
@@ -4720,6 +4784,12 @@ export interface ProductSummaryDTO {
|
|
|
4720
4784
|
* @memberof ProductSummaryDTO
|
|
4721
4785
|
*/
|
|
4722
4786
|
'rrp'?: number | null;
|
|
4787
|
+
/**
|
|
4788
|
+
*
|
|
4789
|
+
* @type {TcxLicenceDetailsModel}
|
|
4790
|
+
* @memberof ProductSummaryDTO
|
|
4791
|
+
*/
|
|
4792
|
+
'licenceDetails'?: TcxLicenceDetailsModel | null;
|
|
4723
4793
|
}
|
|
4724
4794
|
/**
|
|
4725
4795
|
* PromoCodesEntity
|
|
@@ -16326,6 +16396,40 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16326
16396
|
|
|
16327
16397
|
|
|
16328
16398
|
|
|
16399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16401
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16402
|
+
|
|
16403
|
+
return {
|
|
16404
|
+
url: toPathString(localVarUrlObj),
|
|
16405
|
+
options: localVarRequestOptions,
|
|
16406
|
+
};
|
|
16407
|
+
},
|
|
16408
|
+
/**
|
|
16409
|
+
* Get Editable Order (Admin)
|
|
16410
|
+
* @summary Get Editable Order (Admin)
|
|
16411
|
+
* @param {number} id Order ID
|
|
16412
|
+
* @param {*} [options] Override http request option.
|
|
16413
|
+
* @throws {RequiredError}
|
|
16414
|
+
*/
|
|
16415
|
+
getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16416
|
+
// verify required parameter 'id' is not null or undefined
|
|
16417
|
+
assertParamExists('getGetAdminEditableOrder', 'id', id)
|
|
16418
|
+
const localVarPath = `/admin/orders/{id}/views/editable`
|
|
16419
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16422
|
+
let baseOptions;
|
|
16423
|
+
if (configuration) {
|
|
16424
|
+
baseOptions = configuration.baseOptions;
|
|
16425
|
+
}
|
|
16426
|
+
|
|
16427
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16428
|
+
const localVarHeaderParameter = {} as any;
|
|
16429
|
+
const localVarQueryParameter = {} as any;
|
|
16430
|
+
|
|
16431
|
+
|
|
16432
|
+
|
|
16329
16433
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16330
16434
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16331
16435
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16621,6 +16725,19 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16621
16725
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16622
16726
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16623
16727
|
},
|
|
16728
|
+
/**
|
|
16729
|
+
* Get Editable Order (Admin)
|
|
16730
|
+
* @summary Get Editable Order (Admin)
|
|
16731
|
+
* @param {number} id Order ID
|
|
16732
|
+
* @param {*} [options] Override http request option.
|
|
16733
|
+
* @throws {RequiredError}
|
|
16734
|
+
*/
|
|
16735
|
+
async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
|
|
16736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
|
|
16737
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16738
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
16739
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16740
|
+
},
|
|
16624
16741
|
/**
|
|
16625
16742
|
* Get Editable Order
|
|
16626
16743
|
* @summary Get Editable Order
|
|
@@ -16628,7 +16745,7 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16628
16745
|
* @param {*} [options] Override http request option.
|
|
16629
16746
|
* @throws {RequiredError}
|
|
16630
16747
|
*/
|
|
16631
|
-
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16748
|
+
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
|
|
16632
16749
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
16633
16750
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16634
16751
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
@@ -16731,6 +16848,16 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16731
16848
|
deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16732
16849
|
return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
|
|
16733
16850
|
},
|
|
16851
|
+
/**
|
|
16852
|
+
* Get Editable Order (Admin)
|
|
16853
|
+
* @summary Get Editable Order (Admin)
|
|
16854
|
+
* @param {number} id Order ID
|
|
16855
|
+
* @param {*} [options] Override http request option.
|
|
16856
|
+
* @throws {RequiredError}
|
|
16857
|
+
*/
|
|
16858
|
+
getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
|
|
16859
|
+
return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
16860
|
+
},
|
|
16734
16861
|
/**
|
|
16735
16862
|
* Get Editable Order
|
|
16736
16863
|
* @summary Get Editable Order
|
|
@@ -16738,7 +16865,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16738
16865
|
* @param {*} [options] Override http request option.
|
|
16739
16866
|
* @throws {RequiredError}
|
|
16740
16867
|
*/
|
|
16741
|
-
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16868
|
+
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DetailedOrderRequestDTO> {
|
|
16742
16869
|
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
16743
16870
|
},
|
|
16744
16871
|
/**
|
|
@@ -16825,6 +16952,18 @@ export class OrdersApi extends BaseAPI {
|
|
|
16825
16952
|
return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16826
16953
|
}
|
|
16827
16954
|
|
|
16955
|
+
/**
|
|
16956
|
+
* Get Editable Order (Admin)
|
|
16957
|
+
* @summary Get Editable Order (Admin)
|
|
16958
|
+
* @param {number} id Order ID
|
|
16959
|
+
* @param {*} [options] Override http request option.
|
|
16960
|
+
* @throws {RequiredError}
|
|
16961
|
+
* @memberof OrdersApi
|
|
16962
|
+
*/
|
|
16963
|
+
public getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16964
|
+
return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16965
|
+
}
|
|
16966
|
+
|
|
16828
16967
|
/**
|
|
16829
16968
|
* Get Editable Order
|
|
16830
16969
|
* @summary Get Editable Order
|