yellowgrid-api-ts 3.2.318 → 3.2.320
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 +0 -1
- package/README.md +1 -1
- package/api.ts +85 -18
- package/dist/api.d.ts +40 -14
- package/dist/api.js +98 -13
- package/dist/models/ReportEnum.d.ts +1 -1
- package/dist/models/ReportEnum.js +1 -1
- package/docs/BillingApi.md +58 -0
- package/docs/OrdersApi.md +4 -5
- package/models/ReportEnum.ts +1 -1
- package/package.json +1 -1
- package/docs/PostSplitOrderRequest.md +0 -20
package/.openapi-generator/FILES
CHANGED
|
@@ -214,7 +214,6 @@ docs/PostGetProductForCustomerRequest.md
|
|
|
214
214
|
docs/PostGetServicePlansRequest.md
|
|
215
215
|
docs/PostGetSipTrunksBillingRequest.md
|
|
216
216
|
docs/PostSendWelcomeEmailRequest.md
|
|
217
|
-
docs/PostSplitOrderRequest.md
|
|
218
217
|
docs/PostUpdateConnectionRequest.md
|
|
219
218
|
docs/PostUpdateRecurringChargeRequest.md
|
|
220
219
|
docs/PriceGroup.md
|
package/README.md
CHANGED
|
@@ -159,6 +159,7 @@ Class | Method | HTTP request | Description
|
|
|
159
159
|
*BillingApi* | [**postUpdateRecurringCharge**](docs/BillingApi.md#postupdaterecurringcharge) | **POST** /billing/customer/updateRecurringCharges |
|
|
160
160
|
*BillingApi* | [**putAddCallTariffToCallTariffPlan**](docs/BillingApi.md#putaddcalltarifftocalltariffplan) | **PUT** /billing/admin/callTariffPlan/callTariff |
|
|
161
161
|
*BillingApi* | [**putAddServiceToServicePlan**](docs/BillingApi.md#putaddservicetoserviceplan) | **PUT** /billing/admin/servicePlan/service |
|
|
162
|
+
*BillingApi* | [**putChangeParent**](docs/BillingApi.md#putchangeparent) | **PUT** /billing/admin/parent/change |
|
|
162
163
|
*BillingApi* | [**putConnectionSearch**](docs/BillingApi.md#putconnectionsearch) | **PUT** /billing/admin/connections |
|
|
163
164
|
*BillingApi* | [**putConvertChildToParent**](docs/BillingApi.md#putconvertchildtoparent) | **PUT** /billing/customer/makeParent |
|
|
164
165
|
*BillingApi* | [**putDisableBundles**](docs/BillingApi.md#putdisablebundles) | **PUT** /billing/customer/disableBundles |
|
|
@@ -648,7 +649,6 @@ Class | Method | HTTP request | Description
|
|
|
648
649
|
- [PostGetServicePlansRequest](docs/PostGetServicePlansRequest.md)
|
|
649
650
|
- [PostGetSipTrunksBillingRequest](docs/PostGetSipTrunksBillingRequest.md)
|
|
650
651
|
- [PostSendWelcomeEmailRequest](docs/PostSendWelcomeEmailRequest.md)
|
|
651
|
-
- [PostSplitOrderRequest](docs/PostSplitOrderRequest.md)
|
|
652
652
|
- [PostUpdateConnectionRequest](docs/PostUpdateConnectionRequest.md)
|
|
653
653
|
- [PostUpdateRecurringChargeRequest](docs/PostUpdateRecurringChargeRequest.md)
|
|
654
654
|
- [PriceGroup](docs/PriceGroup.md)
|
package/api.ts
CHANGED
|
@@ -5949,12 +5949,6 @@ export interface PostSendWelcomeEmailRequest {
|
|
|
5949
5949
|
*/
|
|
5950
5950
|
'email'?: string;
|
|
5951
5951
|
}
|
|
5952
|
-
export interface PostSplitOrderRequest {
|
|
5953
|
-
/**
|
|
5954
|
-
* Item Ids
|
|
5955
|
-
*/
|
|
5956
|
-
'itemIds'?: Array<number>;
|
|
5957
|
-
}
|
|
5958
5952
|
export interface PostUpdateConnectionRequest {
|
|
5959
5953
|
'property'?: string;
|
|
5960
5954
|
'value'?: string;
|
|
@@ -16957,6 +16951,45 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16957
16951
|
options: localVarRequestOptions,
|
|
16958
16952
|
};
|
|
16959
16953
|
},
|
|
16954
|
+
/**
|
|
16955
|
+
* Change Parent
|
|
16956
|
+
* @param {number} [parentId] Parent ID
|
|
16957
|
+
* @param {number} [childId] Child ID
|
|
16958
|
+
* @param {*} [options] Override http request option.
|
|
16959
|
+
* @throws {RequiredError}
|
|
16960
|
+
*/
|
|
16961
|
+
putChangeParent: async (parentId?: number, childId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16962
|
+
const localVarPath = `/billing/admin/parent/change`;
|
|
16963
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16964
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16965
|
+
let baseOptions;
|
|
16966
|
+
if (configuration) {
|
|
16967
|
+
baseOptions = configuration.baseOptions;
|
|
16968
|
+
}
|
|
16969
|
+
|
|
16970
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16971
|
+
const localVarHeaderParameter = {} as any;
|
|
16972
|
+
const localVarQueryParameter = {} as any;
|
|
16973
|
+
|
|
16974
|
+
if (parentId !== undefined) {
|
|
16975
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
16976
|
+
}
|
|
16977
|
+
|
|
16978
|
+
if (childId !== undefined) {
|
|
16979
|
+
localVarQueryParameter['childId'] = childId;
|
|
16980
|
+
}
|
|
16981
|
+
|
|
16982
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16983
|
+
|
|
16984
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16985
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16986
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16987
|
+
|
|
16988
|
+
return {
|
|
16989
|
+
url: toPathString(localVarUrlObj),
|
|
16990
|
+
options: localVarRequestOptions,
|
|
16991
|
+
};
|
|
16992
|
+
},
|
|
16960
16993
|
/**
|
|
16961
16994
|
* Transfer Billing Connection
|
|
16962
16995
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -18048,6 +18081,19 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
18048
18081
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.putAddServiceToServicePlan']?.[localVarOperationServerIndex]?.url;
|
|
18049
18082
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18050
18083
|
},
|
|
18084
|
+
/**
|
|
18085
|
+
* Change Parent
|
|
18086
|
+
* @param {number} [parentId] Parent ID
|
|
18087
|
+
* @param {number} [childId] Child ID
|
|
18088
|
+
* @param {*} [options] Override http request option.
|
|
18089
|
+
* @throws {RequiredError}
|
|
18090
|
+
*/
|
|
18091
|
+
async putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>> {
|
|
18092
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putChangeParent(parentId, childId, options);
|
|
18093
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18094
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.putChangeParent']?.[localVarOperationServerIndex]?.url;
|
|
18095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18096
|
+
},
|
|
18051
18097
|
/**
|
|
18052
18098
|
* Transfer Billing Connection
|
|
18053
18099
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -18710,6 +18756,16 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
18710
18756
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<Service> {
|
|
18711
18757
|
return localVarFp.putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then((request) => request(axios, basePath));
|
|
18712
18758
|
},
|
|
18759
|
+
/**
|
|
18760
|
+
* Change Parent
|
|
18761
|
+
* @param {number} [parentId] Parent ID
|
|
18762
|
+
* @param {number} [childId] Child ID
|
|
18763
|
+
* @param {*} [options] Override http request option.
|
|
18764
|
+
* @throws {RequiredError}
|
|
18765
|
+
*/
|
|
18766
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Customer> {
|
|
18767
|
+
return localVarFp.putChangeParent(parentId, childId, options).then((request) => request(axios, basePath));
|
|
18768
|
+
},
|
|
18713
18769
|
/**
|
|
18714
18770
|
* Transfer Billing Connection
|
|
18715
18771
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -19397,6 +19453,17 @@ export class BillingApi extends BaseAPI {
|
|
|
19397
19453
|
return BillingApiFp(this.configuration).putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19398
19454
|
}
|
|
19399
19455
|
|
|
19456
|
+
/**
|
|
19457
|
+
* Change Parent
|
|
19458
|
+
* @param {number} [parentId] Parent ID
|
|
19459
|
+
* @param {number} [childId] Child ID
|
|
19460
|
+
* @param {*} [options] Override http request option.
|
|
19461
|
+
* @throws {RequiredError}
|
|
19462
|
+
*/
|
|
19463
|
+
public putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig) {
|
|
19464
|
+
return BillingApiFp(this.configuration).putChangeParent(parentId, childId, options).then((request) => request(this.axios, this.basePath));
|
|
19465
|
+
}
|
|
19466
|
+
|
|
19400
19467
|
/**
|
|
19401
19468
|
* Transfer Billing Connection
|
|
19402
19469
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -29565,11 +29632,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29565
29632
|
* Split Order
|
|
29566
29633
|
* @summary Split Order
|
|
29567
29634
|
* @param {number} id Order ID
|
|
29568
|
-
* @param {
|
|
29635
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
29569
29636
|
* @param {*} [options] Override http request option.
|
|
29570
29637
|
* @throws {RequiredError}
|
|
29571
29638
|
*/
|
|
29572
|
-
postSplitOrder: async (id: number,
|
|
29639
|
+
postSplitOrder: async (id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29573
29640
|
// verify required parameter 'id' is not null or undefined
|
|
29574
29641
|
assertParamExists('postSplitOrder', 'id', id)
|
|
29575
29642
|
const localVarPath = `/admin/orders/{id}/split`
|
|
@@ -29591,7 +29658,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29591
29658
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29592
29659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29593
29660
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29594
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
29661
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerItemRequestDTO, localVarRequestOptions, configuration)
|
|
29595
29662
|
|
|
29596
29663
|
return {
|
|
29597
29664
|
url: toPathString(localVarUrlObj),
|
|
@@ -30235,12 +30302,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
30235
30302
|
* Split Order
|
|
30236
30303
|
* @summary Split Order
|
|
30237
30304
|
* @param {number} id Order ID
|
|
30238
|
-
* @param {
|
|
30305
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
30239
30306
|
* @param {*} [options] Override http request option.
|
|
30240
30307
|
* @throws {RequiredError}
|
|
30241
30308
|
*/
|
|
30242
|
-
async postSplitOrder(id: number,
|
|
30243
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postSplitOrder(id,
|
|
30309
|
+
async postSplitOrder(id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
30310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSplitOrder(id, customerItemRequestDTO, options);
|
|
30244
30311
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30245
30312
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postSplitOrder']?.[localVarOperationServerIndex]?.url;
|
|
30246
30313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -30636,12 +30703,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
30636
30703
|
* Split Order
|
|
30637
30704
|
* @summary Split Order
|
|
30638
30705
|
* @param {number} id Order ID
|
|
30639
|
-
* @param {
|
|
30706
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
30640
30707
|
* @param {*} [options] Override http request option.
|
|
30641
30708
|
* @throws {RequiredError}
|
|
30642
30709
|
*/
|
|
30643
|
-
postSplitOrder(id: number,
|
|
30644
|
-
return localVarFp.postSplitOrder(id,
|
|
30710
|
+
postSplitOrder(id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
30711
|
+
return localVarFp.postSplitOrder(id, customerItemRequestDTO, options).then((request) => request(axios, basePath));
|
|
30645
30712
|
},
|
|
30646
30713
|
/**
|
|
30647
30714
|
* Allocate Items To Supplier
|
|
@@ -31040,12 +31107,12 @@ export class OrdersApi extends BaseAPI {
|
|
|
31040
31107
|
* Split Order
|
|
31041
31108
|
* @summary Split Order
|
|
31042
31109
|
* @param {number} id Order ID
|
|
31043
|
-
* @param {
|
|
31110
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
31044
31111
|
* @param {*} [options] Override http request option.
|
|
31045
31112
|
* @throws {RequiredError}
|
|
31046
31113
|
*/
|
|
31047
|
-
public postSplitOrder(id: number,
|
|
31048
|
-
return OrdersApiFp(this.configuration).postSplitOrder(id,
|
|
31114
|
+
public postSplitOrder(id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig) {
|
|
31115
|
+
return OrdersApiFp(this.configuration).postSplitOrder(id, customerItemRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
31049
31116
|
}
|
|
31050
31117
|
|
|
31051
31118
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -5855,12 +5855,6 @@ export interface PostSendWelcomeEmailRequest {
|
|
|
5855
5855
|
*/
|
|
5856
5856
|
'email'?: string;
|
|
5857
5857
|
}
|
|
5858
|
-
export interface PostSplitOrderRequest {
|
|
5859
|
-
/**
|
|
5860
|
-
* Item Ids
|
|
5861
|
-
*/
|
|
5862
|
-
'itemIds'?: Array<number>;
|
|
5863
|
-
}
|
|
5864
5858
|
export interface PostUpdateConnectionRequest {
|
|
5865
5859
|
'property'?: string;
|
|
5866
5860
|
'value'?: string;
|
|
@@ -13262,6 +13256,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13262
13256
|
* @throws {RequiredError}
|
|
13263
13257
|
*/
|
|
13264
13258
|
putAddServiceToServicePlan: (id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13259
|
+
/**
|
|
13260
|
+
* Change Parent
|
|
13261
|
+
* @param {number} [parentId] Parent ID
|
|
13262
|
+
* @param {number} [childId] Child ID
|
|
13263
|
+
* @param {*} [options] Override http request option.
|
|
13264
|
+
* @throws {RequiredError}
|
|
13265
|
+
*/
|
|
13266
|
+
putChangeParent: (parentId?: number, childId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13265
13267
|
/**
|
|
13266
13268
|
* Transfer Billing Connection
|
|
13267
13269
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -13760,6 +13762,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
13760
13762
|
* @throws {RequiredError}
|
|
13761
13763
|
*/
|
|
13762
13764
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Service>>;
|
|
13765
|
+
/**
|
|
13766
|
+
* Change Parent
|
|
13767
|
+
* @param {number} [parentId] Parent ID
|
|
13768
|
+
* @param {number} [childId] Child ID
|
|
13769
|
+
* @param {*} [options] Override http request option.
|
|
13770
|
+
* @throws {RequiredError}
|
|
13771
|
+
*/
|
|
13772
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
|
|
13763
13773
|
/**
|
|
13764
13774
|
* Transfer Billing Connection
|
|
13765
13775
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -14258,6 +14268,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
14258
14268
|
* @throws {RequiredError}
|
|
14259
14269
|
*/
|
|
14260
14270
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<Service>;
|
|
14271
|
+
/**
|
|
14272
|
+
* Change Parent
|
|
14273
|
+
* @param {number} [parentId] Parent ID
|
|
14274
|
+
* @param {number} [childId] Child ID
|
|
14275
|
+
* @param {*} [options] Override http request option.
|
|
14276
|
+
* @throws {RequiredError}
|
|
14277
|
+
*/
|
|
14278
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
|
|
14261
14279
|
/**
|
|
14262
14280
|
* Transfer Billing Connection
|
|
14263
14281
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -14756,6 +14774,14 @@ export declare class BillingApi extends BaseAPI {
|
|
|
14756
14774
|
* @throws {RequiredError}
|
|
14757
14775
|
*/
|
|
14758
14776
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Service, any, {}>>;
|
|
14777
|
+
/**
|
|
14778
|
+
* Change Parent
|
|
14779
|
+
* @param {number} [parentId] Parent ID
|
|
14780
|
+
* @param {number} [childId] Child ID
|
|
14781
|
+
* @param {*} [options] Override http request option.
|
|
14782
|
+
* @throws {RequiredError}
|
|
14783
|
+
*/
|
|
14784
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any, {}>>;
|
|
14759
14785
|
/**
|
|
14760
14786
|
* Transfer Billing Connection
|
|
14761
14787
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -19382,11 +19408,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
19382
19408
|
* Split Order
|
|
19383
19409
|
* @summary Split Order
|
|
19384
19410
|
* @param {number} id Order ID
|
|
19385
|
-
* @param {
|
|
19411
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
19386
19412
|
* @param {*} [options] Override http request option.
|
|
19387
19413
|
* @throws {RequiredError}
|
|
19388
19414
|
*/
|
|
19389
|
-
postSplitOrder: (id: number,
|
|
19415
|
+
postSplitOrder: (id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19390
19416
|
/**
|
|
19391
19417
|
* Allocate Items To Supplier
|
|
19392
19418
|
* @summary Allocate Items To Supplier
|
|
@@ -19692,11 +19718,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
19692
19718
|
* Split Order
|
|
19693
19719
|
* @summary Split Order
|
|
19694
19720
|
* @param {number} id Order ID
|
|
19695
|
-
* @param {
|
|
19721
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
19696
19722
|
* @param {*} [options] Override http request option.
|
|
19697
19723
|
* @throws {RequiredError}
|
|
19698
19724
|
*/
|
|
19699
|
-
postSplitOrder(id: number,
|
|
19725
|
+
postSplitOrder(id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>>;
|
|
19700
19726
|
/**
|
|
19701
19727
|
* Allocate Items To Supplier
|
|
19702
19728
|
* @summary Allocate Items To Supplier
|
|
@@ -20002,11 +20028,11 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
20002
20028
|
* Split Order
|
|
20003
20029
|
* @summary Split Order
|
|
20004
20030
|
* @param {number} id Order ID
|
|
20005
|
-
* @param {
|
|
20031
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
20006
20032
|
* @param {*} [options] Override http request option.
|
|
20007
20033
|
* @throws {RequiredError}
|
|
20008
20034
|
*/
|
|
20009
|
-
postSplitOrder(id: number,
|
|
20035
|
+
postSplitOrder(id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>>;
|
|
20010
20036
|
/**
|
|
20011
20037
|
* Allocate Items To Supplier
|
|
20012
20038
|
* @summary Allocate Items To Supplier
|
|
@@ -20312,11 +20338,11 @@ export declare class OrdersApi extends BaseAPI {
|
|
|
20312
20338
|
* Split Order
|
|
20313
20339
|
* @summary Split Order
|
|
20314
20340
|
* @param {number} id Order ID
|
|
20315
|
-
* @param {
|
|
20341
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
20316
20342
|
* @param {*} [options] Override http request option.
|
|
20317
20343
|
* @throws {RequiredError}
|
|
20318
20344
|
*/
|
|
20319
|
-
postSplitOrder(id: number,
|
|
20345
|
+
postSplitOrder(id: number, customerItemRequestDTO?: Array<CustomerItemRequestDTO>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderSummaryDTO[], any, {}>>;
|
|
20320
20346
|
/**
|
|
20321
20347
|
* Allocate Items To Supplier
|
|
20322
20348
|
* @summary Allocate Items To Supplier
|
package/dist/api.js
CHANGED
|
@@ -7186,6 +7186,47 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
7186
7186
|
});
|
|
7187
7187
|
});
|
|
7188
7188
|
},
|
|
7189
|
+
/**
|
|
7190
|
+
* Change Parent
|
|
7191
|
+
* @param {number} [parentId] Parent ID
|
|
7192
|
+
* @param {number} [childId] Child ID
|
|
7193
|
+
* @param {*} [options] Override http request option.
|
|
7194
|
+
* @throws {RequiredError}
|
|
7195
|
+
*/
|
|
7196
|
+
putChangeParent: function (parentId_1, childId_1) {
|
|
7197
|
+
var args_1 = [];
|
|
7198
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7199
|
+
args_1[_i - 2] = arguments[_i];
|
|
7200
|
+
}
|
|
7201
|
+
return __awaiter(_this, __spreadArray([parentId_1, childId_1], args_1, true), void 0, function (parentId, childId, options) {
|
|
7202
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7203
|
+
if (options === void 0) { options = {}; }
|
|
7204
|
+
return __generator(this, function (_a) {
|
|
7205
|
+
localVarPath = "/billing/admin/parent/change";
|
|
7206
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7207
|
+
if (configuration) {
|
|
7208
|
+
baseOptions = configuration.baseOptions;
|
|
7209
|
+
}
|
|
7210
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
7211
|
+
localVarHeaderParameter = {};
|
|
7212
|
+
localVarQueryParameter = {};
|
|
7213
|
+
if (parentId !== undefined) {
|
|
7214
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
7215
|
+
}
|
|
7216
|
+
if (childId !== undefined) {
|
|
7217
|
+
localVarQueryParameter['childId'] = childId;
|
|
7218
|
+
}
|
|
7219
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7220
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7221
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7222
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7223
|
+
return [2 /*return*/, {
|
|
7224
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7225
|
+
options: localVarRequestOptions,
|
|
7226
|
+
}];
|
|
7227
|
+
});
|
|
7228
|
+
});
|
|
7229
|
+
},
|
|
7189
7230
|
/**
|
|
7190
7231
|
* Transfer Billing Connection
|
|
7191
7232
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -8874,6 +8915,29 @@ var BillingApiFp = function (configuration) {
|
|
|
8874
8915
|
});
|
|
8875
8916
|
});
|
|
8876
8917
|
},
|
|
8918
|
+
/**
|
|
8919
|
+
* Change Parent
|
|
8920
|
+
* @param {number} [parentId] Parent ID
|
|
8921
|
+
* @param {number} [childId] Child ID
|
|
8922
|
+
* @param {*} [options] Override http request option.
|
|
8923
|
+
* @throws {RequiredError}
|
|
8924
|
+
*/
|
|
8925
|
+
putChangeParent: function (parentId, childId, options) {
|
|
8926
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8927
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8928
|
+
var _a, _b, _c;
|
|
8929
|
+
return __generator(this, function (_d) {
|
|
8930
|
+
switch (_d.label) {
|
|
8931
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putChangeParent(parentId, childId, options)];
|
|
8932
|
+
case 1:
|
|
8933
|
+
localVarAxiosArgs = _d.sent();
|
|
8934
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8935
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.putChangeParent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8936
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8937
|
+
}
|
|
8938
|
+
});
|
|
8939
|
+
});
|
|
8940
|
+
},
|
|
8877
8941
|
/**
|
|
8878
8942
|
* Transfer Billing Connection
|
|
8879
8943
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -9636,6 +9700,16 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
9636
9700
|
putAddServiceToServicePlan: function (id, putAddServiceToServicePlanRequest, options) {
|
|
9637
9701
|
return localVarFp.putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then(function (request) { return request(axios, basePath); });
|
|
9638
9702
|
},
|
|
9703
|
+
/**
|
|
9704
|
+
* Change Parent
|
|
9705
|
+
* @param {number} [parentId] Parent ID
|
|
9706
|
+
* @param {number} [childId] Child ID
|
|
9707
|
+
* @param {*} [options] Override http request option.
|
|
9708
|
+
* @throws {RequiredError}
|
|
9709
|
+
*/
|
|
9710
|
+
putChangeParent: function (parentId, childId, options) {
|
|
9711
|
+
return localVarFp.putChangeParent(parentId, childId, options).then(function (request) { return request(axios, basePath); });
|
|
9712
|
+
},
|
|
9639
9713
|
/**
|
|
9640
9714
|
* Transfer Billing Connection
|
|
9641
9715
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -10327,6 +10401,17 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
10327
10401
|
var _this = this;
|
|
10328
10402
|
return (0, exports.BillingApiFp)(this.configuration).putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10329
10403
|
};
|
|
10404
|
+
/**
|
|
10405
|
+
* Change Parent
|
|
10406
|
+
* @param {number} [parentId] Parent ID
|
|
10407
|
+
* @param {number} [childId] Child ID
|
|
10408
|
+
* @param {*} [options] Override http request option.
|
|
10409
|
+
* @throws {RequiredError}
|
|
10410
|
+
*/
|
|
10411
|
+
BillingApi.prototype.putChangeParent = function (parentId, childId, options) {
|
|
10412
|
+
var _this = this;
|
|
10413
|
+
return (0, exports.BillingApiFp)(this.configuration).putChangeParent(parentId, childId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10414
|
+
};
|
|
10330
10415
|
/**
|
|
10331
10416
|
* Transfer Billing Connection
|
|
10332
10417
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -22083,16 +22168,16 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
22083
22168
|
* Split Order
|
|
22084
22169
|
* @summary Split Order
|
|
22085
22170
|
* @param {number} id Order ID
|
|
22086
|
-
* @param {
|
|
22171
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
22087
22172
|
* @param {*} [options] Override http request option.
|
|
22088
22173
|
* @throws {RequiredError}
|
|
22089
22174
|
*/
|
|
22090
|
-
postSplitOrder: function (id_1,
|
|
22175
|
+
postSplitOrder: function (id_1, customerItemRequestDTO_1) {
|
|
22091
22176
|
var args_1 = [];
|
|
22092
22177
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22093
22178
|
args_1[_i - 2] = arguments[_i];
|
|
22094
22179
|
}
|
|
22095
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
22180
|
+
return __awaiter(_this, __spreadArray([id_1, customerItemRequestDTO_1], args_1, true), void 0, function (id, customerItemRequestDTO, options) {
|
|
22096
22181
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22097
22182
|
if (options === void 0) { options = {}; }
|
|
22098
22183
|
return __generator(this, function (_a) {
|
|
@@ -22112,7 +22197,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
22112
22197
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22113
22198
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22114
22199
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22115
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
22200
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(customerItemRequestDTO, localVarRequestOptions, configuration);
|
|
22116
22201
|
return [2 /*return*/, {
|
|
22117
22202
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22118
22203
|
options: localVarRequestOptions,
|
|
@@ -23037,17 +23122,17 @@ var OrdersApiFp = function (configuration) {
|
|
|
23037
23122
|
* Split Order
|
|
23038
23123
|
* @summary Split Order
|
|
23039
23124
|
* @param {number} id Order ID
|
|
23040
|
-
* @param {
|
|
23125
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
23041
23126
|
* @param {*} [options] Override http request option.
|
|
23042
23127
|
* @throws {RequiredError}
|
|
23043
23128
|
*/
|
|
23044
|
-
postSplitOrder: function (id,
|
|
23129
|
+
postSplitOrder: function (id, customerItemRequestDTO, options) {
|
|
23045
23130
|
return __awaiter(this, void 0, void 0, function () {
|
|
23046
23131
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
23047
23132
|
var _a, _b, _c;
|
|
23048
23133
|
return __generator(this, function (_d) {
|
|
23049
23134
|
switch (_d.label) {
|
|
23050
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSplitOrder(id,
|
|
23135
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSplitOrder(id, customerItemRequestDTO, options)];
|
|
23051
23136
|
case 1:
|
|
23052
23137
|
localVarAxiosArgs = _d.sent();
|
|
23053
23138
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -23508,12 +23593,12 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
23508
23593
|
* Split Order
|
|
23509
23594
|
* @summary Split Order
|
|
23510
23595
|
* @param {number} id Order ID
|
|
23511
|
-
* @param {
|
|
23596
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
23512
23597
|
* @param {*} [options] Override http request option.
|
|
23513
23598
|
* @throws {RequiredError}
|
|
23514
23599
|
*/
|
|
23515
|
-
postSplitOrder: function (id,
|
|
23516
|
-
return localVarFp.postSplitOrder(id,
|
|
23600
|
+
postSplitOrder: function (id, customerItemRequestDTO, options) {
|
|
23601
|
+
return localVarFp.postSplitOrder(id, customerItemRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
23517
23602
|
},
|
|
23518
23603
|
/**
|
|
23519
23604
|
* Allocate Items To Supplier
|
|
@@ -23916,13 +24001,13 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
23916
24001
|
* Split Order
|
|
23917
24002
|
* @summary Split Order
|
|
23918
24003
|
* @param {number} id Order ID
|
|
23919
|
-
* @param {
|
|
24004
|
+
* @param {Array<CustomerItemRequestDTO>} [customerItemRequestDTO]
|
|
23920
24005
|
* @param {*} [options] Override http request option.
|
|
23921
24006
|
* @throws {RequiredError}
|
|
23922
24007
|
*/
|
|
23923
|
-
OrdersApi.prototype.postSplitOrder = function (id,
|
|
24008
|
+
OrdersApi.prototype.postSplitOrder = function (id, customerItemRequestDTO, options) {
|
|
23924
24009
|
var _this = this;
|
|
23925
|
-
return (0, exports.OrdersApiFp)(this.configuration).postSplitOrder(id,
|
|
24010
|
+
return (0, exports.OrdersApiFp)(this.configuration).postSplitOrder(id, customerItemRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23926
24011
|
};
|
|
23927
24012
|
/**
|
|
23928
24013
|
* Allocate Items To Supplier
|
|
@@ -72,7 +72,7 @@ export declare const ReportEnum: {
|
|
|
72
72
|
readonly TCX_NEW_PARTNERS: {
|
|
73
73
|
readonly name: "TCX_NEW_PARTNERS";
|
|
74
74
|
readonly value: 15;
|
|
75
|
-
readonly publicValue: "3CX New
|
|
75
|
+
readonly publicValue: "3CX New Partners";
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
export type ReportEnum = typeof ReportEnum;
|
package/docs/BillingApi.md
CHANGED
|
@@ -61,6 +61,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
61
61
|
|[**postUpdateRecurringCharge**](#postupdaterecurringcharge) | **POST** /billing/customer/updateRecurringCharges | |
|
|
62
62
|
|[**putAddCallTariffToCallTariffPlan**](#putaddcalltarifftocalltariffplan) | **PUT** /billing/admin/callTariffPlan/callTariff | |
|
|
63
63
|
|[**putAddServiceToServicePlan**](#putaddservicetoserviceplan) | **PUT** /billing/admin/servicePlan/service | |
|
|
64
|
+
|[**putChangeParent**](#putchangeparent) | **PUT** /billing/admin/parent/change | |
|
|
64
65
|
|[**putConnectionSearch**](#putconnectionsearch) | **PUT** /billing/admin/connections | |
|
|
65
66
|
|[**putConvertChildToParent**](#putconvertchildtoparent) | **PUT** /billing/customer/makeParent | |
|
|
66
67
|
|[**putDisableBundles**](#putdisablebundles) | **PUT** /billing/customer/disableBundles | |
|
|
@@ -3154,6 +3155,63 @@ No authorization required
|
|
|
3154
3155
|
|
|
3155
3156
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3156
3157
|
|
|
3158
|
+
# **putChangeParent**
|
|
3159
|
+
> Customer putChangeParent()
|
|
3160
|
+
|
|
3161
|
+
Change Parent
|
|
3162
|
+
|
|
3163
|
+
### Example
|
|
3164
|
+
|
|
3165
|
+
```typescript
|
|
3166
|
+
import {
|
|
3167
|
+
BillingApi,
|
|
3168
|
+
Configuration
|
|
3169
|
+
} from 'yellowgrid-api-ts';
|
|
3170
|
+
|
|
3171
|
+
const configuration = new Configuration();
|
|
3172
|
+
const apiInstance = new BillingApi(configuration);
|
|
3173
|
+
|
|
3174
|
+
let parentId: number; //Parent ID (optional) (default to undefined)
|
|
3175
|
+
let childId: number; //Child ID (optional) (default to undefined)
|
|
3176
|
+
|
|
3177
|
+
const { status, data } = await apiInstance.putChangeParent(
|
|
3178
|
+
parentId,
|
|
3179
|
+
childId
|
|
3180
|
+
);
|
|
3181
|
+
```
|
|
3182
|
+
|
|
3183
|
+
### Parameters
|
|
3184
|
+
|
|
3185
|
+
|Name | Type | Description | Notes|
|
|
3186
|
+
|------------- | ------------- | ------------- | -------------|
|
|
3187
|
+
| **parentId** | [**number**] | Parent ID | (optional) defaults to undefined|
|
|
3188
|
+
| **childId** | [**number**] | Child ID | (optional) defaults to undefined|
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
### Return type
|
|
3192
|
+
|
|
3193
|
+
**Customer**
|
|
3194
|
+
|
|
3195
|
+
### Authorization
|
|
3196
|
+
|
|
3197
|
+
No authorization required
|
|
3198
|
+
|
|
3199
|
+
### HTTP request headers
|
|
3200
|
+
|
|
3201
|
+
- **Content-Type**: Not defined
|
|
3202
|
+
- **Accept**: application/json
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
### HTTP response details
|
|
3206
|
+
| Status code | Description | Response headers |
|
|
3207
|
+
|-------------|-------------|------------------|
|
|
3208
|
+
|**200** | Customer | - |
|
|
3209
|
+
|**400** | Bad Request | - |
|
|
3210
|
+
|**401** | Unauthorised | - |
|
|
3211
|
+
|**403** | Access Denied | - |
|
|
3212
|
+
|
|
3213
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3214
|
+
|
|
3157
3215
|
# **putConnectionSearch**
|
|
3158
3216
|
> OutboundCli putConnectionSearch(putConnectionSearchRequest)
|
|
3159
3217
|
|
package/docs/OrdersApi.md
CHANGED
|
@@ -1551,19 +1551,18 @@ Split Order
|
|
|
1551
1551
|
```typescript
|
|
1552
1552
|
import {
|
|
1553
1553
|
OrdersApi,
|
|
1554
|
-
Configuration
|
|
1555
|
-
PostSplitOrderRequest
|
|
1554
|
+
Configuration
|
|
1556
1555
|
} from 'yellowgrid-api-ts';
|
|
1557
1556
|
|
|
1558
1557
|
const configuration = new Configuration();
|
|
1559
1558
|
const apiInstance = new OrdersApi(configuration);
|
|
1560
1559
|
|
|
1561
1560
|
let id: number; //Order ID (default to undefined)
|
|
1562
|
-
let
|
|
1561
|
+
let customerItemRequestDTO: Array<CustomerItemRequestDTO>; // (optional)
|
|
1563
1562
|
|
|
1564
1563
|
const { status, data } = await apiInstance.postSplitOrder(
|
|
1565
1564
|
id,
|
|
1566
|
-
|
|
1565
|
+
customerItemRequestDTO
|
|
1567
1566
|
);
|
|
1568
1567
|
```
|
|
1569
1568
|
|
|
@@ -1571,7 +1570,7 @@ const { status, data } = await apiInstance.postSplitOrder(
|
|
|
1571
1570
|
|
|
1572
1571
|
|Name | Type | Description | Notes|
|
|
1573
1572
|
|------------- | ------------- | ------------- | -------------|
|
|
1574
|
-
| **
|
|
1573
|
+
| **customerItemRequestDTO** | **Array<CustomerItemRequestDTO>**| | |
|
|
1575
1574
|
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1576
1575
|
|
|
1577
1576
|
|
package/models/ReportEnum.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# PostSplitOrderRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**itemIds** | **Array<number>** | Item Ids | [optional] [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { PostSplitOrderRequest } from 'yellowgrid-api-ts';
|
|
14
|
-
|
|
15
|
-
const instance: PostSplitOrderRequest = {
|
|
16
|
-
itemIds,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|