yellowgrid-api-ts 3.2.255 → 3.2.256
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 +1 -1
- package/README.md +3 -3
- package/api.ts +149 -149
- package/dist/api.d.ts +67 -67
- package/dist/api.js +172 -172
- package/docs/BillingApi.md +118 -118
- package/docs/{GetDisconnectDDIRequest.md → PostDisconnectDDIRequest.md} +3 -3
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -108,7 +108,6 @@ docs/FreshdeskTicketEntity.md
|
|
|
108
108
|
docs/FtpAccountsEntity.md
|
|
109
109
|
docs/GenericFileModel.md
|
|
110
110
|
docs/GetCheckMacExists200Response.md
|
|
111
|
-
docs/GetDisconnectDDIRequest.md
|
|
112
111
|
docs/GetGetPrice200Response.md
|
|
113
112
|
docs/GetGetRecording200Response.md
|
|
114
113
|
docs/GraphDTO.md
|
|
@@ -186,6 +185,7 @@ docs/PostAddRecurringChargeRequest.md
|
|
|
186
185
|
docs/PostAddServiceToServicePlanRequest.md
|
|
187
186
|
docs/PostAddSipTrunkDDIsRequest.md
|
|
188
187
|
docs/PostAddWebhook200Response.md
|
|
188
|
+
docs/PostDisconnectDDIRequest.md
|
|
189
189
|
docs/PostGenerateReport200Response.md
|
|
190
190
|
docs/PostGetBaseServicesRequest.md
|
|
191
191
|
docs/PostGetClientCredentialsRequest.md
|
package/README.md
CHANGED
|
@@ -111,8 +111,6 @@ Class | Method | HTTP request | Description
|
|
|
111
111
|
*BillingApi* | [**getAddServiceToServicePlan**](docs/BillingApi.md#getaddservicetoserviceplan) | **GET** /billing/admin/servicePlan/service |
|
|
112
112
|
*BillingApi* | [**getAddSipTrunkDDIs**](docs/BillingApi.md#getaddsiptrunkddis) | **GET** /billing/customer/sipTrunkDDIs |
|
|
113
113
|
*BillingApi* | [**getConnectionSearch**](docs/BillingApi.md#getconnectionsearch) | **GET** /billing/admin/connections |
|
|
114
|
-
*BillingApi* | [**getDisconnectConnection**](docs/BillingApi.md#getdisconnectconnection) | **GET** /billing/customer/disconnectConnection |
|
|
115
|
-
*BillingApi* | [**getDisconnectDDI**](docs/BillingApi.md#getdisconnectddi) | **GET** /billing/customer/disconnectDDI |
|
|
116
114
|
*BillingApi* | [**getGetAllCustomer**](docs/BillingApi.md#getgetallcustomer) | **GET** /billing/admin/customerList | Get Billing Customers
|
|
117
115
|
*BillingApi* | [**getGetAllMtSipTrunks**](docs/BillingApi.md#getgetallmtsiptrunks) | **GET** /billing/customer/list/allMtSipTrunks |
|
|
118
116
|
*BillingApi* | [**getGetAllSipTrunks**](docs/BillingApi.md#getgetallsiptrunks) | **GET** /billing/customer/list/allSipTrunks |
|
|
@@ -143,6 +141,8 @@ Class | Method | HTTP request | Description
|
|
|
143
141
|
*BillingApi* | [**postAddRecurringCharge**](docs/BillingApi.md#postaddrecurringcharge) | **POST** /billing/customer/recurringCharges |
|
|
144
142
|
*BillingApi* | [**postAddServiceToServicePlan**](docs/BillingApi.md#postaddservicetoserviceplan) | **POST** /billing/admin/servicePlan/service |
|
|
145
143
|
*BillingApi* | [**postAddSipTrunkDDIs**](docs/BillingApi.md#postaddsiptrunkddis) | **POST** /billing/customer/sipTrunkDDIs |
|
|
144
|
+
*BillingApi* | [**postDisconnectConnection**](docs/BillingApi.md#postdisconnectconnection) | **POST** /billing/customer/disconnectConnection |
|
|
145
|
+
*BillingApi* | [**postDisconnectDDI**](docs/BillingApi.md#postdisconnectddi) | **POST** /billing/customer/disconnectDDI |
|
|
146
146
|
*BillingApi* | [**postGetBaseServices**](docs/BillingApi.md#postgetbaseservices) | **POST** /billing/admin/baseServices |
|
|
147
147
|
*BillingApi* | [**postGetCallTariffPlan**](docs/BillingApi.md#postgetcalltariffplan) | **POST** /billing/admin/callTariffPlan |
|
|
148
148
|
*BillingApi* | [**postGetConnections**](docs/BillingApi.md#postgetconnections) | **POST** /billing/customer/connections |
|
|
@@ -489,7 +489,6 @@ Class | Method | HTTP request | Description
|
|
|
489
489
|
- [FtpAccountsEntity](docs/FtpAccountsEntity.md)
|
|
490
490
|
- [GenericFileModel](docs/GenericFileModel.md)
|
|
491
491
|
- [GetCheckMacExists200Response](docs/GetCheckMacExists200Response.md)
|
|
492
|
-
- [GetDisconnectDDIRequest](docs/GetDisconnectDDIRequest.md)
|
|
493
492
|
- [GetGetPrice200Response](docs/GetGetPrice200Response.md)
|
|
494
493
|
- [GetGetRecording200Response](docs/GetGetRecording200Response.md)
|
|
495
494
|
- [GraphDTO](docs/GraphDTO.md)
|
|
@@ -562,6 +561,7 @@ Class | Method | HTTP request | Description
|
|
|
562
561
|
- [PostAddServiceToServicePlanRequest](docs/PostAddServiceToServicePlanRequest.md)
|
|
563
562
|
- [PostAddSipTrunkDDIsRequest](docs/PostAddSipTrunkDDIsRequest.md)
|
|
564
563
|
- [PostAddWebhook200Response](docs/PostAddWebhook200Response.md)
|
|
564
|
+
- [PostDisconnectDDIRequest](docs/PostDisconnectDDIRequest.md)
|
|
565
565
|
- [PostGenerateReport200Response](docs/PostGenerateReport200Response.md)
|
|
566
566
|
- [PostGetBaseServicesRequest](docs/PostGetBaseServicesRequest.md)
|
|
567
567
|
- [PostGetClientCredentialsRequest](docs/PostGetClientCredentialsRequest.md)
|
package/api.ts
CHANGED
|
@@ -2884,9 +2884,6 @@ export interface GenericFileModel {
|
|
|
2884
2884
|
export interface GetCheckMacExists200Response {
|
|
2885
2885
|
'found'?: boolean;
|
|
2886
2886
|
}
|
|
2887
|
-
export interface GetDisconnectDDIRequest {
|
|
2888
|
-
'id'?: number;
|
|
2889
|
-
}
|
|
2890
2887
|
export interface GetGetPrice200Response {
|
|
2891
2888
|
'price'?: number;
|
|
2892
2889
|
}
|
|
@@ -5226,6 +5223,9 @@ export interface PostAddSipTrunkDDIsRequest {
|
|
|
5226
5223
|
export interface PostAddWebhook200Response {
|
|
5227
5224
|
'url'?: string;
|
|
5228
5225
|
}
|
|
5226
|
+
export interface PostDisconnectDDIRequest {
|
|
5227
|
+
'id'?: number;
|
|
5228
|
+
}
|
|
5229
5229
|
/**
|
|
5230
5230
|
* @type PostGenerateReport200Response
|
|
5231
5231
|
*/
|
|
@@ -13533,84 +13533,6 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13533
13533
|
options: localVarRequestOptions,
|
|
13534
13534
|
};
|
|
13535
13535
|
},
|
|
13536
|
-
/**
|
|
13537
|
-
* Disconnect Connection
|
|
13538
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
13539
|
-
* @param {number} [billCustomerId] Customer ID
|
|
13540
|
-
* @param {*} [options] Override http request option.
|
|
13541
|
-
* @throws {RequiredError}
|
|
13542
|
-
*/
|
|
13543
|
-
getDisconnectConnection: async (getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13544
|
-
// verify required parameter 'getDisconnectDDIRequest' is not null or undefined
|
|
13545
|
-
assertParamExists('getDisconnectConnection', 'getDisconnectDDIRequest', getDisconnectDDIRequest)
|
|
13546
|
-
const localVarPath = `/billing/customer/disconnectConnection`;
|
|
13547
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13548
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13549
|
-
let baseOptions;
|
|
13550
|
-
if (configuration) {
|
|
13551
|
-
baseOptions = configuration.baseOptions;
|
|
13552
|
-
}
|
|
13553
|
-
|
|
13554
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13555
|
-
const localVarHeaderParameter = {} as any;
|
|
13556
|
-
const localVarQueryParameter = {} as any;
|
|
13557
|
-
|
|
13558
|
-
if (billCustomerId !== undefined) {
|
|
13559
|
-
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
13560
|
-
}
|
|
13561
|
-
|
|
13562
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13563
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13564
|
-
|
|
13565
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13566
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13567
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13568
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getDisconnectDDIRequest, localVarRequestOptions, configuration)
|
|
13569
|
-
|
|
13570
|
-
return {
|
|
13571
|
-
url: toPathString(localVarUrlObj),
|
|
13572
|
-
options: localVarRequestOptions,
|
|
13573
|
-
};
|
|
13574
|
-
},
|
|
13575
|
-
/**
|
|
13576
|
-
* Disconnect DDI
|
|
13577
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
13578
|
-
* @param {number} [billCustomerId] Customer ID
|
|
13579
|
-
* @param {*} [options] Override http request option.
|
|
13580
|
-
* @throws {RequiredError}
|
|
13581
|
-
*/
|
|
13582
|
-
getDisconnectDDI: async (getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13583
|
-
// verify required parameter 'getDisconnectDDIRequest' is not null or undefined
|
|
13584
|
-
assertParamExists('getDisconnectDDI', 'getDisconnectDDIRequest', getDisconnectDDIRequest)
|
|
13585
|
-
const localVarPath = `/billing/customer/disconnectDDI`;
|
|
13586
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13587
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13588
|
-
let baseOptions;
|
|
13589
|
-
if (configuration) {
|
|
13590
|
-
baseOptions = configuration.baseOptions;
|
|
13591
|
-
}
|
|
13592
|
-
|
|
13593
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13594
|
-
const localVarHeaderParameter = {} as any;
|
|
13595
|
-
const localVarQueryParameter = {} as any;
|
|
13596
|
-
|
|
13597
|
-
if (billCustomerId !== undefined) {
|
|
13598
|
-
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
13599
|
-
}
|
|
13600
|
-
|
|
13601
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13602
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13603
|
-
|
|
13604
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13605
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13606
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13607
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getDisconnectDDIRequest, localVarRequestOptions, configuration)
|
|
13608
|
-
|
|
13609
|
-
return {
|
|
13610
|
-
url: toPathString(localVarUrlObj),
|
|
13611
|
-
options: localVarRequestOptions,
|
|
13612
|
-
};
|
|
13613
|
-
},
|
|
13614
13536
|
/**
|
|
13615
13537
|
* Get Billing Customers
|
|
13616
13538
|
* @summary Get Billing Customers
|
|
@@ -14626,6 +14548,84 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14626
14548
|
options: localVarRequestOptions,
|
|
14627
14549
|
};
|
|
14628
14550
|
},
|
|
14551
|
+
/**
|
|
14552
|
+
* Disconnect Connection
|
|
14553
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
14554
|
+
* @param {number} [billCustomerId] Customer ID
|
|
14555
|
+
* @param {*} [options] Override http request option.
|
|
14556
|
+
* @throws {RequiredError}
|
|
14557
|
+
*/
|
|
14558
|
+
postDisconnectConnection: async (postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14559
|
+
// verify required parameter 'postDisconnectDDIRequest' is not null or undefined
|
|
14560
|
+
assertParamExists('postDisconnectConnection', 'postDisconnectDDIRequest', postDisconnectDDIRequest)
|
|
14561
|
+
const localVarPath = `/billing/customer/disconnectConnection`;
|
|
14562
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14563
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14564
|
+
let baseOptions;
|
|
14565
|
+
if (configuration) {
|
|
14566
|
+
baseOptions = configuration.baseOptions;
|
|
14567
|
+
}
|
|
14568
|
+
|
|
14569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14570
|
+
const localVarHeaderParameter = {} as any;
|
|
14571
|
+
const localVarQueryParameter = {} as any;
|
|
14572
|
+
|
|
14573
|
+
if (billCustomerId !== undefined) {
|
|
14574
|
+
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
14575
|
+
}
|
|
14576
|
+
|
|
14577
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14578
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14579
|
+
|
|
14580
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14581
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14582
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14583
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postDisconnectDDIRequest, localVarRequestOptions, configuration)
|
|
14584
|
+
|
|
14585
|
+
return {
|
|
14586
|
+
url: toPathString(localVarUrlObj),
|
|
14587
|
+
options: localVarRequestOptions,
|
|
14588
|
+
};
|
|
14589
|
+
},
|
|
14590
|
+
/**
|
|
14591
|
+
* Disconnect DDI
|
|
14592
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
14593
|
+
* @param {number} [billCustomerId] Customer ID
|
|
14594
|
+
* @param {*} [options] Override http request option.
|
|
14595
|
+
* @throws {RequiredError}
|
|
14596
|
+
*/
|
|
14597
|
+
postDisconnectDDI: async (postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14598
|
+
// verify required parameter 'postDisconnectDDIRequest' is not null or undefined
|
|
14599
|
+
assertParamExists('postDisconnectDDI', 'postDisconnectDDIRequest', postDisconnectDDIRequest)
|
|
14600
|
+
const localVarPath = `/billing/customer/disconnectDDI`;
|
|
14601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14603
|
+
let baseOptions;
|
|
14604
|
+
if (configuration) {
|
|
14605
|
+
baseOptions = configuration.baseOptions;
|
|
14606
|
+
}
|
|
14607
|
+
|
|
14608
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14609
|
+
const localVarHeaderParameter = {} as any;
|
|
14610
|
+
const localVarQueryParameter = {} as any;
|
|
14611
|
+
|
|
14612
|
+
if (billCustomerId !== undefined) {
|
|
14613
|
+
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
14614
|
+
}
|
|
14615
|
+
|
|
14616
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14617
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14618
|
+
|
|
14619
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14621
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14622
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postDisconnectDDIRequest, localVarRequestOptions, configuration)
|
|
14623
|
+
|
|
14624
|
+
return {
|
|
14625
|
+
url: toPathString(localVarUrlObj),
|
|
14626
|
+
options: localVarRequestOptions,
|
|
14627
|
+
};
|
|
14628
|
+
},
|
|
14629
14629
|
/**
|
|
14630
14630
|
* Add Base Service
|
|
14631
14631
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -15581,32 +15581,6 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
15581
15581
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getConnectionSearch']?.[localVarOperationServerIndex]?.url;
|
|
15582
15582
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15583
15583
|
},
|
|
15584
|
-
/**
|
|
15585
|
-
* Disconnect Connection
|
|
15586
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
15587
|
-
* @param {number} [billCustomerId] Customer ID
|
|
15588
|
-
* @param {*} [options] Override http request option.
|
|
15589
|
-
* @throws {RequiredError}
|
|
15590
|
-
*/
|
|
15591
|
-
async getDisconnectConnection(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
15592
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDisconnectConnection(getDisconnectDDIRequest, billCustomerId, options);
|
|
15593
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15594
|
-
const localVarOperationServerBasePath = operationServerMap['BillingApi.getDisconnectConnection']?.[localVarOperationServerIndex]?.url;
|
|
15595
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15596
|
-
},
|
|
15597
|
-
/**
|
|
15598
|
-
* Disconnect DDI
|
|
15599
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
15600
|
-
* @param {number} [billCustomerId] Customer ID
|
|
15601
|
-
* @param {*} [options] Override http request option.
|
|
15602
|
-
* @throws {RequiredError}
|
|
15603
|
-
*/
|
|
15604
|
-
async getDisconnectDDI(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
15605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDisconnectDDI(getDisconnectDDIRequest, billCustomerId, options);
|
|
15606
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15607
|
-
const localVarOperationServerBasePath = operationServerMap['BillingApi.getDisconnectDDI']?.[localVarOperationServerIndex]?.url;
|
|
15608
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15609
|
-
},
|
|
15610
15584
|
/**
|
|
15611
15585
|
* Get Billing Customers
|
|
15612
15586
|
* @summary Get Billing Customers
|
|
@@ -15966,6 +15940,32 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
15966
15940
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.postAddSipTrunkDDIs']?.[localVarOperationServerIndex]?.url;
|
|
15967
15941
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15968
15942
|
},
|
|
15943
|
+
/**
|
|
15944
|
+
* Disconnect Connection
|
|
15945
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
15946
|
+
* @param {number} [billCustomerId] Customer ID
|
|
15947
|
+
* @param {*} [options] Override http request option.
|
|
15948
|
+
* @throws {RequiredError}
|
|
15949
|
+
*/
|
|
15950
|
+
async postDisconnectConnection(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
15951
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postDisconnectConnection(postDisconnectDDIRequest, billCustomerId, options);
|
|
15952
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15953
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.postDisconnectConnection']?.[localVarOperationServerIndex]?.url;
|
|
15954
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15955
|
+
},
|
|
15956
|
+
/**
|
|
15957
|
+
* Disconnect DDI
|
|
15958
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
15959
|
+
* @param {number} [billCustomerId] Customer ID
|
|
15960
|
+
* @param {*} [options] Override http request option.
|
|
15961
|
+
* @throws {RequiredError}
|
|
15962
|
+
*/
|
|
15963
|
+
async postDisconnectDDI(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
15964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postDisconnectDDI(postDisconnectDDIRequest, billCustomerId, options);
|
|
15965
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15966
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.postDisconnectDDI']?.[localVarOperationServerIndex]?.url;
|
|
15967
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15968
|
+
},
|
|
15969
15969
|
/**
|
|
15970
15970
|
* Add Base Service
|
|
15971
15971
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -16353,26 +16353,6 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
16353
16353
|
getConnectionSearch(search: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutboundCli>> {
|
|
16354
16354
|
return localVarFp.getConnectionSearch(search, options).then((request) => request(axios, basePath));
|
|
16355
16355
|
},
|
|
16356
|
-
/**
|
|
16357
|
-
* Disconnect Connection
|
|
16358
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
16359
|
-
* @param {number} [billCustomerId] Customer ID
|
|
16360
|
-
* @param {*} [options] Override http request option.
|
|
16361
|
-
* @throws {RequiredError}
|
|
16362
|
-
*/
|
|
16363
|
-
getDisconnectConnection(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
16364
|
-
return localVarFp.getDisconnectConnection(getDisconnectDDIRequest, billCustomerId, options).then((request) => request(axios, basePath));
|
|
16365
|
-
},
|
|
16366
|
-
/**
|
|
16367
|
-
* Disconnect DDI
|
|
16368
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
16369
|
-
* @param {number} [billCustomerId] Customer ID
|
|
16370
|
-
* @param {*} [options] Override http request option.
|
|
16371
|
-
* @throws {RequiredError}
|
|
16372
|
-
*/
|
|
16373
|
-
getDisconnectDDI(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
16374
|
-
return localVarFp.getDisconnectDDI(getDisconnectDDIRequest, billCustomerId, options).then((request) => request(axios, basePath));
|
|
16375
|
-
},
|
|
16376
16356
|
/**
|
|
16377
16357
|
* Get Billing Customers
|
|
16378
16358
|
* @summary Get Billing Customers
|
|
@@ -16642,6 +16622,26 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
16642
16622
|
postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest: PostAddSipTrunkDDIsRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutboundCli>> {
|
|
16643
16623
|
return localVarFp.postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest, billCustomerId, options).then((request) => request(axios, basePath));
|
|
16644
16624
|
},
|
|
16625
|
+
/**
|
|
16626
|
+
* Disconnect Connection
|
|
16627
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
16628
|
+
* @param {number} [billCustomerId] Customer ID
|
|
16629
|
+
* @param {*} [options] Override http request option.
|
|
16630
|
+
* @throws {RequiredError}
|
|
16631
|
+
*/
|
|
16632
|
+
postDisconnectConnection(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
16633
|
+
return localVarFp.postDisconnectConnection(postDisconnectDDIRequest, billCustomerId, options).then((request) => request(axios, basePath));
|
|
16634
|
+
},
|
|
16635
|
+
/**
|
|
16636
|
+
* Disconnect DDI
|
|
16637
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
16638
|
+
* @param {number} [billCustomerId] Customer ID
|
|
16639
|
+
* @param {*} [options] Override http request option.
|
|
16640
|
+
* @throws {RequiredError}
|
|
16641
|
+
*/
|
|
16642
|
+
postDisconnectDDI(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
16643
|
+
return localVarFp.postDisconnectDDI(postDisconnectDDIRequest, billCustomerId, options).then((request) => request(axios, basePath));
|
|
16644
|
+
},
|
|
16645
16645
|
/**
|
|
16646
16646
|
* Add Base Service
|
|
16647
16647
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -16976,28 +16976,6 @@ export class BillingApi extends BaseAPI {
|
|
|
16976
16976
|
return BillingApiFp(this.configuration).getConnectionSearch(search, options).then((request) => request(this.axios, this.basePath));
|
|
16977
16977
|
}
|
|
16978
16978
|
|
|
16979
|
-
/**
|
|
16980
|
-
* Disconnect Connection
|
|
16981
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
16982
|
-
* @param {number} [billCustomerId] Customer ID
|
|
16983
|
-
* @param {*} [options] Override http request option.
|
|
16984
|
-
* @throws {RequiredError}
|
|
16985
|
-
*/
|
|
16986
|
-
public getDisconnectConnection(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) {
|
|
16987
|
-
return BillingApiFp(this.configuration).getDisconnectConnection(getDisconnectDDIRequest, billCustomerId, options).then((request) => request(this.axios, this.basePath));
|
|
16988
|
-
}
|
|
16989
|
-
|
|
16990
|
-
/**
|
|
16991
|
-
* Disconnect DDI
|
|
16992
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
16993
|
-
* @param {number} [billCustomerId] Customer ID
|
|
16994
|
-
* @param {*} [options] Override http request option.
|
|
16995
|
-
* @throws {RequiredError}
|
|
16996
|
-
*/
|
|
16997
|
-
public getDisconnectDDI(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) {
|
|
16998
|
-
return BillingApiFp(this.configuration).getDisconnectDDI(getDisconnectDDIRequest, billCustomerId, options).then((request) => request(this.axios, this.basePath));
|
|
16999
|
-
}
|
|
17000
|
-
|
|
17001
16979
|
/**
|
|
17002
16980
|
* Get Billing Customers
|
|
17003
16981
|
* @summary Get Billing Customers
|
|
@@ -17297,6 +17275,28 @@ export class BillingApi extends BaseAPI {
|
|
|
17297
17275
|
return BillingApiFp(this.configuration).postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest, billCustomerId, options).then((request) => request(this.axios, this.basePath));
|
|
17298
17276
|
}
|
|
17299
17277
|
|
|
17278
|
+
/**
|
|
17279
|
+
* Disconnect Connection
|
|
17280
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
17281
|
+
* @param {number} [billCustomerId] Customer ID
|
|
17282
|
+
* @param {*} [options] Override http request option.
|
|
17283
|
+
* @throws {RequiredError}
|
|
17284
|
+
*/
|
|
17285
|
+
public postDisconnectConnection(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) {
|
|
17286
|
+
return BillingApiFp(this.configuration).postDisconnectConnection(postDisconnectDDIRequest, billCustomerId, options).then((request) => request(this.axios, this.basePath));
|
|
17287
|
+
}
|
|
17288
|
+
|
|
17289
|
+
/**
|
|
17290
|
+
* Disconnect DDI
|
|
17291
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
17292
|
+
* @param {number} [billCustomerId] Customer ID
|
|
17293
|
+
* @param {*} [options] Override http request option.
|
|
17294
|
+
* @throws {RequiredError}
|
|
17295
|
+
*/
|
|
17296
|
+
public postDisconnectDDI(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) {
|
|
17297
|
+
return BillingApiFp(this.configuration).postDisconnectDDI(postDisconnectDDIRequest, billCustomerId, options).then((request) => request(this.axios, this.basePath));
|
|
17298
|
+
}
|
|
17299
|
+
|
|
17300
17300
|
/**
|
|
17301
17301
|
* Add Base Service
|
|
17302
17302
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
package/dist/api.d.ts
CHANGED
|
@@ -2846,9 +2846,6 @@ export interface GenericFileModel {
|
|
|
2846
2846
|
export interface GetCheckMacExists200Response {
|
|
2847
2847
|
'found'?: boolean;
|
|
2848
2848
|
}
|
|
2849
|
-
export interface GetDisconnectDDIRequest {
|
|
2850
|
-
'id'?: number;
|
|
2851
|
-
}
|
|
2852
2849
|
export interface GetGetPrice200Response {
|
|
2853
2850
|
'price'?: number;
|
|
2854
2851
|
}
|
|
@@ -5155,6 +5152,9 @@ export interface PostAddSipTrunkDDIsRequest {
|
|
|
5155
5152
|
export interface PostAddWebhook200Response {
|
|
5156
5153
|
'url'?: string;
|
|
5157
5154
|
}
|
|
5155
|
+
export interface PostDisconnectDDIRequest {
|
|
5156
|
+
'id'?: number;
|
|
5157
|
+
}
|
|
5158
5158
|
/**
|
|
5159
5159
|
* @type PostGenerateReport200Response
|
|
5160
5160
|
*/
|
|
@@ -11245,22 +11245,6 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11245
11245
|
* @throws {RequiredError}
|
|
11246
11246
|
*/
|
|
11247
11247
|
getConnectionSearch: (search: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11248
|
-
/**
|
|
11249
|
-
* Disconnect Connection
|
|
11250
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
11251
|
-
* @param {number} [billCustomerId] Customer ID
|
|
11252
|
-
* @param {*} [options] Override http request option.
|
|
11253
|
-
* @throws {RequiredError}
|
|
11254
|
-
*/
|
|
11255
|
-
getDisconnectConnection: (getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11256
|
-
/**
|
|
11257
|
-
* Disconnect DDI
|
|
11258
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
11259
|
-
* @param {number} [billCustomerId] Customer ID
|
|
11260
|
-
* @param {*} [options] Override http request option.
|
|
11261
|
-
* @throws {RequiredError}
|
|
11262
|
-
*/
|
|
11263
|
-
getDisconnectDDI: (getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11264
11248
|
/**
|
|
11265
11249
|
* Get Billing Customers
|
|
11266
11250
|
* @summary Get Billing Customers
|
|
@@ -11470,6 +11454,22 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11470
11454
|
* @throws {RequiredError}
|
|
11471
11455
|
*/
|
|
11472
11456
|
postAddSipTrunkDDIs: (postAddSipTrunkDDIsRequest: PostAddSipTrunkDDIsRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11457
|
+
/**
|
|
11458
|
+
* Disconnect Connection
|
|
11459
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
11460
|
+
* @param {number} [billCustomerId] Customer ID
|
|
11461
|
+
* @param {*} [options] Override http request option.
|
|
11462
|
+
* @throws {RequiredError}
|
|
11463
|
+
*/
|
|
11464
|
+
postDisconnectConnection: (postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11465
|
+
/**
|
|
11466
|
+
* Disconnect DDI
|
|
11467
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
11468
|
+
* @param {number} [billCustomerId] Customer ID
|
|
11469
|
+
* @param {*} [options] Override http request option.
|
|
11470
|
+
* @throws {RequiredError}
|
|
11471
|
+
*/
|
|
11472
|
+
postDisconnectDDI: (postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11473
11473
|
/**
|
|
11474
11474
|
* Add Base Service
|
|
11475
11475
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -11724,22 +11724,6 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
11724
11724
|
* @throws {RequiredError}
|
|
11725
11725
|
*/
|
|
11726
11726
|
getConnectionSearch(search: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OutboundCli>>>;
|
|
11727
|
-
/**
|
|
11728
|
-
* Disconnect Connection
|
|
11729
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
11730
|
-
* @param {number} [billCustomerId] Customer ID
|
|
11731
|
-
* @param {*} [options] Override http request option.
|
|
11732
|
-
* @throws {RequiredError}
|
|
11733
|
-
*/
|
|
11734
|
-
getDisconnectConnection(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
11735
|
-
/**
|
|
11736
|
-
* Disconnect DDI
|
|
11737
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
11738
|
-
* @param {number} [billCustomerId] Customer ID
|
|
11739
|
-
* @param {*} [options] Override http request option.
|
|
11740
|
-
* @throws {RequiredError}
|
|
11741
|
-
*/
|
|
11742
|
-
getDisconnectDDI(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
11743
11727
|
/**
|
|
11744
11728
|
* Get Billing Customers
|
|
11745
11729
|
* @summary Get Billing Customers
|
|
@@ -11953,6 +11937,22 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
11953
11937
|
* @throws {RequiredError}
|
|
11954
11938
|
*/
|
|
11955
11939
|
postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest: PostAddSipTrunkDDIsRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OutboundCli>>>;
|
|
11940
|
+
/**
|
|
11941
|
+
* Disconnect Connection
|
|
11942
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
11943
|
+
* @param {number} [billCustomerId] Customer ID
|
|
11944
|
+
* @param {*} [options] Override http request option.
|
|
11945
|
+
* @throws {RequiredError}
|
|
11946
|
+
*/
|
|
11947
|
+
postDisconnectConnection(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
11948
|
+
/**
|
|
11949
|
+
* Disconnect DDI
|
|
11950
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
11951
|
+
* @param {number} [billCustomerId] Customer ID
|
|
11952
|
+
* @param {*} [options] Override http request option.
|
|
11953
|
+
* @throws {RequiredError}
|
|
11954
|
+
*/
|
|
11955
|
+
postDisconnectDDI(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
11956
11956
|
/**
|
|
11957
11957
|
* Add Base Service
|
|
11958
11958
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -12207,22 +12207,6 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
12207
12207
|
* @throws {RequiredError}
|
|
12208
12208
|
*/
|
|
12209
12209
|
getConnectionSearch(search: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutboundCli>>;
|
|
12210
|
-
/**
|
|
12211
|
-
* Disconnect Connection
|
|
12212
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
12213
|
-
* @param {number} [billCustomerId] Customer ID
|
|
12214
|
-
* @param {*} [options] Override http request option.
|
|
12215
|
-
* @throws {RequiredError}
|
|
12216
|
-
*/
|
|
12217
|
-
getDisconnectConnection(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
12218
|
-
/**
|
|
12219
|
-
* Disconnect DDI
|
|
12220
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
12221
|
-
* @param {number} [billCustomerId] Customer ID
|
|
12222
|
-
* @param {*} [options] Override http request option.
|
|
12223
|
-
* @throws {RequiredError}
|
|
12224
|
-
*/
|
|
12225
|
-
getDisconnectDDI(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
12226
12210
|
/**
|
|
12227
12211
|
* Get Billing Customers
|
|
12228
12212
|
* @summary Get Billing Customers
|
|
@@ -12436,6 +12420,22 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
12436
12420
|
* @throws {RequiredError}
|
|
12437
12421
|
*/
|
|
12438
12422
|
postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest: PostAddSipTrunkDDIsRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutboundCli>>;
|
|
12423
|
+
/**
|
|
12424
|
+
* Disconnect Connection
|
|
12425
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
12426
|
+
* @param {number} [billCustomerId] Customer ID
|
|
12427
|
+
* @param {*} [options] Override http request option.
|
|
12428
|
+
* @throws {RequiredError}
|
|
12429
|
+
*/
|
|
12430
|
+
postDisconnectConnection(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
12431
|
+
/**
|
|
12432
|
+
* Disconnect DDI
|
|
12433
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
12434
|
+
* @param {number} [billCustomerId] Customer ID
|
|
12435
|
+
* @param {*} [options] Override http request option.
|
|
12436
|
+
* @throws {RequiredError}
|
|
12437
|
+
*/
|
|
12438
|
+
postDisconnectDDI(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
12439
12439
|
/**
|
|
12440
12440
|
* Add Base Service
|
|
12441
12441
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -12690,22 +12690,6 @@ export declare class BillingApi extends BaseAPI {
|
|
|
12690
12690
|
* @throws {RequiredError}
|
|
12691
12691
|
*/
|
|
12692
12692
|
getConnectionSearch(search: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundCli[], any, {}>>;
|
|
12693
|
-
/**
|
|
12694
|
-
* Disconnect Connection
|
|
12695
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
12696
|
-
* @param {number} [billCustomerId] Customer ID
|
|
12697
|
-
* @param {*} [options] Override http request option.
|
|
12698
|
-
* @throws {RequiredError}
|
|
12699
|
-
*/
|
|
12700
|
-
getDisconnectConnection(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
12701
|
-
/**
|
|
12702
|
-
* Disconnect DDI
|
|
12703
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
12704
|
-
* @param {number} [billCustomerId] Customer ID
|
|
12705
|
-
* @param {*} [options] Override http request option.
|
|
12706
|
-
* @throws {RequiredError}
|
|
12707
|
-
*/
|
|
12708
|
-
getDisconnectDDI(getDisconnectDDIRequest: GetDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
12709
12693
|
/**
|
|
12710
12694
|
* Get Billing Customers
|
|
12711
12695
|
* @summary Get Billing Customers
|
|
@@ -12919,6 +12903,22 @@ export declare class BillingApi extends BaseAPI {
|
|
|
12919
12903
|
* @throws {RequiredError}
|
|
12920
12904
|
*/
|
|
12921
12905
|
postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest: PostAddSipTrunkDDIsRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundCli[], any, {}>>;
|
|
12906
|
+
/**
|
|
12907
|
+
* Disconnect Connection
|
|
12908
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
12909
|
+
* @param {number} [billCustomerId] Customer ID
|
|
12910
|
+
* @param {*} [options] Override http request option.
|
|
12911
|
+
* @throws {RequiredError}
|
|
12912
|
+
*/
|
|
12913
|
+
postDisconnectConnection(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
12914
|
+
/**
|
|
12915
|
+
* Disconnect DDI
|
|
12916
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
12917
|
+
* @param {number} [billCustomerId] Customer ID
|
|
12918
|
+
* @param {*} [options] Override http request option.
|
|
12919
|
+
* @throws {RequiredError}
|
|
12920
|
+
*/
|
|
12921
|
+
postDisconnectDDI(postDisconnectDDIRequest: PostDisconnectDDIRequest, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
12922
12922
|
/**
|
|
12923
12923
|
* Add Base Service
|
|
12924
12924
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
package/dist/api.js
CHANGED
|
@@ -5057,90 +5057,6 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5057
5057
|
});
|
|
5058
5058
|
});
|
|
5059
5059
|
},
|
|
5060
|
-
/**
|
|
5061
|
-
* Disconnect Connection
|
|
5062
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
5063
|
-
* @param {number} [billCustomerId] Customer ID
|
|
5064
|
-
* @param {*} [options] Override http request option.
|
|
5065
|
-
* @throws {RequiredError}
|
|
5066
|
-
*/
|
|
5067
|
-
getDisconnectConnection: function (getDisconnectDDIRequest_1, billCustomerId_1) {
|
|
5068
|
-
var args_1 = [];
|
|
5069
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5070
|
-
args_1[_i - 2] = arguments[_i];
|
|
5071
|
-
}
|
|
5072
|
-
return __awaiter(_this, __spreadArray([getDisconnectDDIRequest_1, billCustomerId_1], args_1, true), void 0, function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
5073
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5074
|
-
if (options === void 0) { options = {}; }
|
|
5075
|
-
return __generator(this, function (_a) {
|
|
5076
|
-
// verify required parameter 'getDisconnectDDIRequest' is not null or undefined
|
|
5077
|
-
(0, common_1.assertParamExists)('getDisconnectConnection', 'getDisconnectDDIRequest', getDisconnectDDIRequest);
|
|
5078
|
-
localVarPath = "/billing/customer/disconnectConnection";
|
|
5079
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5080
|
-
if (configuration) {
|
|
5081
|
-
baseOptions = configuration.baseOptions;
|
|
5082
|
-
}
|
|
5083
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5084
|
-
localVarHeaderParameter = {};
|
|
5085
|
-
localVarQueryParameter = {};
|
|
5086
|
-
if (billCustomerId !== undefined) {
|
|
5087
|
-
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
5088
|
-
}
|
|
5089
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5090
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5091
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5092
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5093
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5094
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getDisconnectDDIRequest, localVarRequestOptions, configuration);
|
|
5095
|
-
return [2 /*return*/, {
|
|
5096
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5097
|
-
options: localVarRequestOptions,
|
|
5098
|
-
}];
|
|
5099
|
-
});
|
|
5100
|
-
});
|
|
5101
|
-
},
|
|
5102
|
-
/**
|
|
5103
|
-
* Disconnect DDI
|
|
5104
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
5105
|
-
* @param {number} [billCustomerId] Customer ID
|
|
5106
|
-
* @param {*} [options] Override http request option.
|
|
5107
|
-
* @throws {RequiredError}
|
|
5108
|
-
*/
|
|
5109
|
-
getDisconnectDDI: function (getDisconnectDDIRequest_1, billCustomerId_1) {
|
|
5110
|
-
var args_1 = [];
|
|
5111
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5112
|
-
args_1[_i - 2] = arguments[_i];
|
|
5113
|
-
}
|
|
5114
|
-
return __awaiter(_this, __spreadArray([getDisconnectDDIRequest_1, billCustomerId_1], args_1, true), void 0, function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
5115
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5116
|
-
if (options === void 0) { options = {}; }
|
|
5117
|
-
return __generator(this, function (_a) {
|
|
5118
|
-
// verify required parameter 'getDisconnectDDIRequest' is not null or undefined
|
|
5119
|
-
(0, common_1.assertParamExists)('getDisconnectDDI', 'getDisconnectDDIRequest', getDisconnectDDIRequest);
|
|
5120
|
-
localVarPath = "/billing/customer/disconnectDDI";
|
|
5121
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5122
|
-
if (configuration) {
|
|
5123
|
-
baseOptions = configuration.baseOptions;
|
|
5124
|
-
}
|
|
5125
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5126
|
-
localVarHeaderParameter = {};
|
|
5127
|
-
localVarQueryParameter = {};
|
|
5128
|
-
if (billCustomerId !== undefined) {
|
|
5129
|
-
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
5130
|
-
}
|
|
5131
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5132
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5133
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5134
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5135
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5136
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getDisconnectDDIRequest, localVarRequestOptions, configuration);
|
|
5137
|
-
return [2 /*return*/, {
|
|
5138
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5139
|
-
options: localVarRequestOptions,
|
|
5140
|
-
}];
|
|
5141
|
-
});
|
|
5142
|
-
});
|
|
5143
|
-
},
|
|
5144
5060
|
/**
|
|
5145
5061
|
* Get Billing Customers
|
|
5146
5062
|
* @summary Get Billing Customers
|
|
@@ -6255,6 +6171,90 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
6255
6171
|
});
|
|
6256
6172
|
});
|
|
6257
6173
|
},
|
|
6174
|
+
/**
|
|
6175
|
+
* Disconnect Connection
|
|
6176
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
6177
|
+
* @param {number} [billCustomerId] Customer ID
|
|
6178
|
+
* @param {*} [options] Override http request option.
|
|
6179
|
+
* @throws {RequiredError}
|
|
6180
|
+
*/
|
|
6181
|
+
postDisconnectConnection: function (postDisconnectDDIRequest_1, billCustomerId_1) {
|
|
6182
|
+
var args_1 = [];
|
|
6183
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
6184
|
+
args_1[_i - 2] = arguments[_i];
|
|
6185
|
+
}
|
|
6186
|
+
return __awaiter(_this, __spreadArray([postDisconnectDDIRequest_1, billCustomerId_1], args_1, true), void 0, function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
6187
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6188
|
+
if (options === void 0) { options = {}; }
|
|
6189
|
+
return __generator(this, function (_a) {
|
|
6190
|
+
// verify required parameter 'postDisconnectDDIRequest' is not null or undefined
|
|
6191
|
+
(0, common_1.assertParamExists)('postDisconnectConnection', 'postDisconnectDDIRequest', postDisconnectDDIRequest);
|
|
6192
|
+
localVarPath = "/billing/customer/disconnectConnection";
|
|
6193
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6194
|
+
if (configuration) {
|
|
6195
|
+
baseOptions = configuration.baseOptions;
|
|
6196
|
+
}
|
|
6197
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6198
|
+
localVarHeaderParameter = {};
|
|
6199
|
+
localVarQueryParameter = {};
|
|
6200
|
+
if (billCustomerId !== undefined) {
|
|
6201
|
+
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
6202
|
+
}
|
|
6203
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6204
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6205
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6206
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6207
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6208
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postDisconnectDDIRequest, localVarRequestOptions, configuration);
|
|
6209
|
+
return [2 /*return*/, {
|
|
6210
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6211
|
+
options: localVarRequestOptions,
|
|
6212
|
+
}];
|
|
6213
|
+
});
|
|
6214
|
+
});
|
|
6215
|
+
},
|
|
6216
|
+
/**
|
|
6217
|
+
* Disconnect DDI
|
|
6218
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
6219
|
+
* @param {number} [billCustomerId] Customer ID
|
|
6220
|
+
* @param {*} [options] Override http request option.
|
|
6221
|
+
* @throws {RequiredError}
|
|
6222
|
+
*/
|
|
6223
|
+
postDisconnectDDI: function (postDisconnectDDIRequest_1, billCustomerId_1) {
|
|
6224
|
+
var args_1 = [];
|
|
6225
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
6226
|
+
args_1[_i - 2] = arguments[_i];
|
|
6227
|
+
}
|
|
6228
|
+
return __awaiter(_this, __spreadArray([postDisconnectDDIRequest_1, billCustomerId_1], args_1, true), void 0, function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
6229
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6230
|
+
if (options === void 0) { options = {}; }
|
|
6231
|
+
return __generator(this, function (_a) {
|
|
6232
|
+
// verify required parameter 'postDisconnectDDIRequest' is not null or undefined
|
|
6233
|
+
(0, common_1.assertParamExists)('postDisconnectDDI', 'postDisconnectDDIRequest', postDisconnectDDIRequest);
|
|
6234
|
+
localVarPath = "/billing/customer/disconnectDDI";
|
|
6235
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6236
|
+
if (configuration) {
|
|
6237
|
+
baseOptions = configuration.baseOptions;
|
|
6238
|
+
}
|
|
6239
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6240
|
+
localVarHeaderParameter = {};
|
|
6241
|
+
localVarQueryParameter = {};
|
|
6242
|
+
if (billCustomerId !== undefined) {
|
|
6243
|
+
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
6244
|
+
}
|
|
6245
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6246
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6248
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6249
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6250
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postDisconnectDDIRequest, localVarRequestOptions, configuration);
|
|
6251
|
+
return [2 /*return*/, {
|
|
6252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6253
|
+
options: localVarRequestOptions,
|
|
6254
|
+
}];
|
|
6255
|
+
});
|
|
6256
|
+
});
|
|
6257
|
+
},
|
|
6258
6258
|
/**
|
|
6259
6259
|
* Add Base Service
|
|
6260
6260
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -7393,52 +7393,6 @@ var BillingApiFp = function (configuration) {
|
|
|
7393
7393
|
});
|
|
7394
7394
|
});
|
|
7395
7395
|
},
|
|
7396
|
-
/**
|
|
7397
|
-
* Disconnect Connection
|
|
7398
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
7399
|
-
* @param {number} [billCustomerId] Customer ID
|
|
7400
|
-
* @param {*} [options] Override http request option.
|
|
7401
|
-
* @throws {RequiredError}
|
|
7402
|
-
*/
|
|
7403
|
-
getDisconnectConnection: function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
7404
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7405
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7406
|
-
var _a, _b, _c;
|
|
7407
|
-
return __generator(this, function (_d) {
|
|
7408
|
-
switch (_d.label) {
|
|
7409
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDisconnectConnection(getDisconnectDDIRequest, billCustomerId, options)];
|
|
7410
|
-
case 1:
|
|
7411
|
-
localVarAxiosArgs = _d.sent();
|
|
7412
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7413
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getDisconnectConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7414
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7415
|
-
}
|
|
7416
|
-
});
|
|
7417
|
-
});
|
|
7418
|
-
},
|
|
7419
|
-
/**
|
|
7420
|
-
* Disconnect DDI
|
|
7421
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
7422
|
-
* @param {number} [billCustomerId] Customer ID
|
|
7423
|
-
* @param {*} [options] Override http request option.
|
|
7424
|
-
* @throws {RequiredError}
|
|
7425
|
-
*/
|
|
7426
|
-
getDisconnectDDI: function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
7427
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7428
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7429
|
-
var _a, _b, _c;
|
|
7430
|
-
return __generator(this, function (_d) {
|
|
7431
|
-
switch (_d.label) {
|
|
7432
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDisconnectDDI(getDisconnectDDIRequest, billCustomerId, options)];
|
|
7433
|
-
case 1:
|
|
7434
|
-
localVarAxiosArgs = _d.sent();
|
|
7435
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7436
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getDisconnectDDI']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7437
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7438
|
-
}
|
|
7439
|
-
});
|
|
7440
|
-
});
|
|
7441
|
-
},
|
|
7442
7396
|
/**
|
|
7443
7397
|
* Get Billing Customers
|
|
7444
7398
|
* @summary Get Billing Customers
|
|
@@ -8098,6 +8052,52 @@ var BillingApiFp = function (configuration) {
|
|
|
8098
8052
|
});
|
|
8099
8053
|
});
|
|
8100
8054
|
},
|
|
8055
|
+
/**
|
|
8056
|
+
* Disconnect Connection
|
|
8057
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
8058
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8059
|
+
* @param {*} [options] Override http request option.
|
|
8060
|
+
* @throws {RequiredError}
|
|
8061
|
+
*/
|
|
8062
|
+
postDisconnectConnection: function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
8063
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8064
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8065
|
+
var _a, _b, _c;
|
|
8066
|
+
return __generator(this, function (_d) {
|
|
8067
|
+
switch (_d.label) {
|
|
8068
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postDisconnectConnection(postDisconnectDDIRequest, billCustomerId, options)];
|
|
8069
|
+
case 1:
|
|
8070
|
+
localVarAxiosArgs = _d.sent();
|
|
8071
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8072
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.postDisconnectConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8073
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8074
|
+
}
|
|
8075
|
+
});
|
|
8076
|
+
});
|
|
8077
|
+
},
|
|
8078
|
+
/**
|
|
8079
|
+
* Disconnect DDI
|
|
8080
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
8081
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8082
|
+
* @param {*} [options] Override http request option.
|
|
8083
|
+
* @throws {RequiredError}
|
|
8084
|
+
*/
|
|
8085
|
+
postDisconnectDDI: function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
8086
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8087
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8088
|
+
var _a, _b, _c;
|
|
8089
|
+
return __generator(this, function (_d) {
|
|
8090
|
+
switch (_d.label) {
|
|
8091
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postDisconnectDDI(postDisconnectDDIRequest, billCustomerId, options)];
|
|
8092
|
+
case 1:
|
|
8093
|
+
localVarAxiosArgs = _d.sent();
|
|
8094
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8095
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.postDisconnectDDI']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8096
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8097
|
+
}
|
|
8098
|
+
});
|
|
8099
|
+
});
|
|
8100
|
+
},
|
|
8101
8101
|
/**
|
|
8102
8102
|
* Add Base Service
|
|
8103
8103
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -8695,26 +8695,6 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8695
8695
|
getConnectionSearch: function (search, options) {
|
|
8696
8696
|
return localVarFp.getConnectionSearch(search, options).then(function (request) { return request(axios, basePath); });
|
|
8697
8697
|
},
|
|
8698
|
-
/**
|
|
8699
|
-
* Disconnect Connection
|
|
8700
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
8701
|
-
* @param {number} [billCustomerId] Customer ID
|
|
8702
|
-
* @param {*} [options] Override http request option.
|
|
8703
|
-
* @throws {RequiredError}
|
|
8704
|
-
*/
|
|
8705
|
-
getDisconnectConnection: function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
8706
|
-
return localVarFp.getDisconnectConnection(getDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(axios, basePath); });
|
|
8707
|
-
},
|
|
8708
|
-
/**
|
|
8709
|
-
* Disconnect DDI
|
|
8710
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
8711
|
-
* @param {number} [billCustomerId] Customer ID
|
|
8712
|
-
* @param {*} [options] Override http request option.
|
|
8713
|
-
* @throws {RequiredError}
|
|
8714
|
-
*/
|
|
8715
|
-
getDisconnectDDI: function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
8716
|
-
return localVarFp.getDisconnectDDI(getDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(axios, basePath); });
|
|
8717
|
-
},
|
|
8718
8698
|
/**
|
|
8719
8699
|
* Get Billing Customers
|
|
8720
8700
|
* @summary Get Billing Customers
|
|
@@ -8984,6 +8964,26 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8984
8964
|
postAddSipTrunkDDIs: function (postAddSipTrunkDDIsRequest, billCustomerId, options) {
|
|
8985
8965
|
return localVarFp.postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest, billCustomerId, options).then(function (request) { return request(axios, basePath); });
|
|
8986
8966
|
},
|
|
8967
|
+
/**
|
|
8968
|
+
* Disconnect Connection
|
|
8969
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
8970
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8971
|
+
* @param {*} [options] Override http request option.
|
|
8972
|
+
* @throws {RequiredError}
|
|
8973
|
+
*/
|
|
8974
|
+
postDisconnectConnection: function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
8975
|
+
return localVarFp.postDisconnectConnection(postDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(axios, basePath); });
|
|
8976
|
+
},
|
|
8977
|
+
/**
|
|
8978
|
+
* Disconnect DDI
|
|
8979
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
8980
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8981
|
+
* @param {*} [options] Override http request option.
|
|
8982
|
+
* @throws {RequiredError}
|
|
8983
|
+
*/
|
|
8984
|
+
postDisconnectDDI: function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
8985
|
+
return localVarFp.postDisconnectDDI(postDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(axios, basePath); });
|
|
8986
|
+
},
|
|
8987
8987
|
/**
|
|
8988
8988
|
* Add Base Service
|
|
8989
8989
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
|
@@ -9322,28 +9322,6 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9322
9322
|
var _this = this;
|
|
9323
9323
|
return (0, exports.BillingApiFp)(this.configuration).getConnectionSearch(search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9324
9324
|
};
|
|
9325
|
-
/**
|
|
9326
|
-
* Disconnect Connection
|
|
9327
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
9328
|
-
* @param {number} [billCustomerId] Customer ID
|
|
9329
|
-
* @param {*} [options] Override http request option.
|
|
9330
|
-
* @throws {RequiredError}
|
|
9331
|
-
*/
|
|
9332
|
-
BillingApi.prototype.getDisconnectConnection = function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
9333
|
-
var _this = this;
|
|
9334
|
-
return (0, exports.BillingApiFp)(this.configuration).getDisconnectConnection(getDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9335
|
-
};
|
|
9336
|
-
/**
|
|
9337
|
-
* Disconnect DDI
|
|
9338
|
-
* @param {GetDisconnectDDIRequest} getDisconnectDDIRequest
|
|
9339
|
-
* @param {number} [billCustomerId] Customer ID
|
|
9340
|
-
* @param {*} [options] Override http request option.
|
|
9341
|
-
* @throws {RequiredError}
|
|
9342
|
-
*/
|
|
9343
|
-
BillingApi.prototype.getDisconnectDDI = function (getDisconnectDDIRequest, billCustomerId, options) {
|
|
9344
|
-
var _this = this;
|
|
9345
|
-
return (0, exports.BillingApiFp)(this.configuration).getDisconnectDDI(getDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9346
|
-
};
|
|
9347
9325
|
/**
|
|
9348
9326
|
* Get Billing Customers
|
|
9349
9327
|
* @summary Get Billing Customers
|
|
@@ -9643,6 +9621,28 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9643
9621
|
var _this = this;
|
|
9644
9622
|
return (0, exports.BillingApiFp)(this.configuration).postAddSipTrunkDDIs(postAddSipTrunkDDIsRequest, billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9645
9623
|
};
|
|
9624
|
+
/**
|
|
9625
|
+
* Disconnect Connection
|
|
9626
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
9627
|
+
* @param {number} [billCustomerId] Customer ID
|
|
9628
|
+
* @param {*} [options] Override http request option.
|
|
9629
|
+
* @throws {RequiredError}
|
|
9630
|
+
*/
|
|
9631
|
+
BillingApi.prototype.postDisconnectConnection = function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
9632
|
+
var _this = this;
|
|
9633
|
+
return (0, exports.BillingApiFp)(this.configuration).postDisconnectConnection(postDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9634
|
+
};
|
|
9635
|
+
/**
|
|
9636
|
+
* Disconnect DDI
|
|
9637
|
+
* @param {PostDisconnectDDIRequest} postDisconnectDDIRequest
|
|
9638
|
+
* @param {number} [billCustomerId] Customer ID
|
|
9639
|
+
* @param {*} [options] Override http request option.
|
|
9640
|
+
* @throws {RequiredError}
|
|
9641
|
+
*/
|
|
9642
|
+
BillingApi.prototype.postDisconnectDDI = function (postDisconnectDDIRequest, billCustomerId, options) {
|
|
9643
|
+
var _this = this;
|
|
9644
|
+
return (0, exports.BillingApiFp)(this.configuration).postDisconnectDDI(postDisconnectDDIRequest, billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9645
|
+
};
|
|
9646
9646
|
/**
|
|
9647
9647
|
* Add Base Service
|
|
9648
9648
|
* @param {PostGetBaseServicesRequest} postGetBaseServicesRequest
|
package/docs/BillingApi.md
CHANGED
|
@@ -16,8 +16,6 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
16
16
|
|[**getAddServiceToServicePlan**](#getaddservicetoserviceplan) | **GET** /billing/admin/servicePlan/service | |
|
|
17
17
|
|[**getAddSipTrunkDDIs**](#getaddsiptrunkddis) | **GET** /billing/customer/sipTrunkDDIs | |
|
|
18
18
|
|[**getConnectionSearch**](#getconnectionsearch) | **GET** /billing/admin/connections | |
|
|
19
|
-
|[**getDisconnectConnection**](#getdisconnectconnection) | **GET** /billing/customer/disconnectConnection | |
|
|
20
|
-
|[**getDisconnectDDI**](#getdisconnectddi) | **GET** /billing/customer/disconnectDDI | |
|
|
21
19
|
|[**getGetAllCustomer**](#getgetallcustomer) | **GET** /billing/admin/customerList | Get Billing Customers|
|
|
22
20
|
|[**getGetAllMtSipTrunks**](#getgetallmtsiptrunks) | **GET** /billing/customer/list/allMtSipTrunks | |
|
|
23
21
|
|[**getGetAllSipTrunks**](#getgetallsiptrunks) | **GET** /billing/customer/list/allSipTrunks | |
|
|
@@ -48,6 +46,8 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
48
46
|
|[**postAddRecurringCharge**](#postaddrecurringcharge) | **POST** /billing/customer/recurringCharges | |
|
|
49
47
|
|[**postAddServiceToServicePlan**](#postaddservicetoserviceplan) | **POST** /billing/admin/servicePlan/service | |
|
|
50
48
|
|[**postAddSipTrunkDDIs**](#postaddsiptrunkddis) | **POST** /billing/customer/sipTrunkDDIs | |
|
|
49
|
+
|[**postDisconnectConnection**](#postdisconnectconnection) | **POST** /billing/customer/disconnectConnection | |
|
|
50
|
+
|[**postDisconnectDDI**](#postdisconnectddi) | **POST** /billing/customer/disconnectDDI | |
|
|
51
51
|
|[**postGetBaseServices**](#postgetbaseservices) | **POST** /billing/admin/baseServices | |
|
|
52
52
|
|[**postGetCallTariffPlan**](#postgetcalltariffplan) | **POST** /billing/admin/callTariffPlan | |
|
|
53
53
|
|[**postGetConnections**](#postgetconnections) | **POST** /billing/customer/connections | |
|
|
@@ -727,122 +727,6 @@ No authorization required
|
|
|
727
727
|
|
|
728
728
|
[[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)
|
|
729
729
|
|
|
730
|
-
# **getDisconnectConnection**
|
|
731
|
-
> number getDisconnectConnection(getDisconnectDDIRequest)
|
|
732
|
-
|
|
733
|
-
Disconnect Connection
|
|
734
|
-
|
|
735
|
-
### Example
|
|
736
|
-
|
|
737
|
-
```typescript
|
|
738
|
-
import {
|
|
739
|
-
BillingApi,
|
|
740
|
-
Configuration,
|
|
741
|
-
GetDisconnectDDIRequest
|
|
742
|
-
} from 'yellowgrid-api-ts';
|
|
743
|
-
|
|
744
|
-
const configuration = new Configuration();
|
|
745
|
-
const apiInstance = new BillingApi(configuration);
|
|
746
|
-
|
|
747
|
-
let getDisconnectDDIRequest: GetDisconnectDDIRequest; //
|
|
748
|
-
let billCustomerId: number; //Customer ID (optional) (default to undefined)
|
|
749
|
-
|
|
750
|
-
const { status, data } = await apiInstance.getDisconnectConnection(
|
|
751
|
-
getDisconnectDDIRequest,
|
|
752
|
-
billCustomerId
|
|
753
|
-
);
|
|
754
|
-
```
|
|
755
|
-
|
|
756
|
-
### Parameters
|
|
757
|
-
|
|
758
|
-
|Name | Type | Description | Notes|
|
|
759
|
-
|------------- | ------------- | ------------- | -------------|
|
|
760
|
-
| **getDisconnectDDIRequest** | **GetDisconnectDDIRequest**| | |
|
|
761
|
-
| **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
### Return type
|
|
765
|
-
|
|
766
|
-
**number**
|
|
767
|
-
|
|
768
|
-
### Authorization
|
|
769
|
-
|
|
770
|
-
No authorization required
|
|
771
|
-
|
|
772
|
-
### HTTP request headers
|
|
773
|
-
|
|
774
|
-
- **Content-Type**: application/json
|
|
775
|
-
- **Accept**: application/json
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
### HTTP response details
|
|
779
|
-
| Status code | Description | Response headers |
|
|
780
|
-
|-------------|-------------|------------------|
|
|
781
|
-
|**200** | Connection ID | - |
|
|
782
|
-
|**400** | Bad Request | - |
|
|
783
|
-
|**401** | Unauthorised | - |
|
|
784
|
-
|**403** | Access Denied | - |
|
|
785
|
-
|
|
786
|
-
[[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)
|
|
787
|
-
|
|
788
|
-
# **getDisconnectDDI**
|
|
789
|
-
> number getDisconnectDDI(getDisconnectDDIRequest)
|
|
790
|
-
|
|
791
|
-
Disconnect DDI
|
|
792
|
-
|
|
793
|
-
### Example
|
|
794
|
-
|
|
795
|
-
```typescript
|
|
796
|
-
import {
|
|
797
|
-
BillingApi,
|
|
798
|
-
Configuration,
|
|
799
|
-
GetDisconnectDDIRequest
|
|
800
|
-
} from 'yellowgrid-api-ts';
|
|
801
|
-
|
|
802
|
-
const configuration = new Configuration();
|
|
803
|
-
const apiInstance = new BillingApi(configuration);
|
|
804
|
-
|
|
805
|
-
let getDisconnectDDIRequest: GetDisconnectDDIRequest; //
|
|
806
|
-
let billCustomerId: number; //Customer ID (optional) (default to undefined)
|
|
807
|
-
|
|
808
|
-
const { status, data } = await apiInstance.getDisconnectDDI(
|
|
809
|
-
getDisconnectDDIRequest,
|
|
810
|
-
billCustomerId
|
|
811
|
-
);
|
|
812
|
-
```
|
|
813
|
-
|
|
814
|
-
### Parameters
|
|
815
|
-
|
|
816
|
-
|Name | Type | Description | Notes|
|
|
817
|
-
|------------- | ------------- | ------------- | -------------|
|
|
818
|
-
| **getDisconnectDDIRequest** | **GetDisconnectDDIRequest**| | |
|
|
819
|
-
| **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
### Return type
|
|
823
|
-
|
|
824
|
-
**number**
|
|
825
|
-
|
|
826
|
-
### Authorization
|
|
827
|
-
|
|
828
|
-
No authorization required
|
|
829
|
-
|
|
830
|
-
### HTTP request headers
|
|
831
|
-
|
|
832
|
-
- **Content-Type**: application/json
|
|
833
|
-
- **Accept**: application/json
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
### HTTP response details
|
|
837
|
-
| Status code | Description | Response headers |
|
|
838
|
-
|-------------|-------------|------------------|
|
|
839
|
-
|**200** | DDI ID | - |
|
|
840
|
-
|**400** | Bad Request | - |
|
|
841
|
-
|**401** | Unauthorised | - |
|
|
842
|
-
|**403** | Access Denied | - |
|
|
843
|
-
|
|
844
|
-
[[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)
|
|
845
|
-
|
|
846
730
|
# **getGetAllCustomer**
|
|
847
731
|
> { [key: string]: { [key: string]: string; }; } getGetAllCustomer()
|
|
848
732
|
|
|
@@ -2420,6 +2304,122 @@ No authorization required
|
|
|
2420
2304
|
|
|
2421
2305
|
[[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)
|
|
2422
2306
|
|
|
2307
|
+
# **postDisconnectConnection**
|
|
2308
|
+
> number postDisconnectConnection(postDisconnectDDIRequest)
|
|
2309
|
+
|
|
2310
|
+
Disconnect Connection
|
|
2311
|
+
|
|
2312
|
+
### Example
|
|
2313
|
+
|
|
2314
|
+
```typescript
|
|
2315
|
+
import {
|
|
2316
|
+
BillingApi,
|
|
2317
|
+
Configuration,
|
|
2318
|
+
PostDisconnectDDIRequest
|
|
2319
|
+
} from 'yellowgrid-api-ts';
|
|
2320
|
+
|
|
2321
|
+
const configuration = new Configuration();
|
|
2322
|
+
const apiInstance = new BillingApi(configuration);
|
|
2323
|
+
|
|
2324
|
+
let postDisconnectDDIRequest: PostDisconnectDDIRequest; //
|
|
2325
|
+
let billCustomerId: number; //Customer ID (optional) (default to undefined)
|
|
2326
|
+
|
|
2327
|
+
const { status, data } = await apiInstance.postDisconnectConnection(
|
|
2328
|
+
postDisconnectDDIRequest,
|
|
2329
|
+
billCustomerId
|
|
2330
|
+
);
|
|
2331
|
+
```
|
|
2332
|
+
|
|
2333
|
+
### Parameters
|
|
2334
|
+
|
|
2335
|
+
|Name | Type | Description | Notes|
|
|
2336
|
+
|------------- | ------------- | ------------- | -------------|
|
|
2337
|
+
| **postDisconnectDDIRequest** | **PostDisconnectDDIRequest**| | |
|
|
2338
|
+
| **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
### Return type
|
|
2342
|
+
|
|
2343
|
+
**number**
|
|
2344
|
+
|
|
2345
|
+
### Authorization
|
|
2346
|
+
|
|
2347
|
+
No authorization required
|
|
2348
|
+
|
|
2349
|
+
### HTTP request headers
|
|
2350
|
+
|
|
2351
|
+
- **Content-Type**: application/json
|
|
2352
|
+
- **Accept**: application/json
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
### HTTP response details
|
|
2356
|
+
| Status code | Description | Response headers |
|
|
2357
|
+
|-------------|-------------|------------------|
|
|
2358
|
+
|**200** | Connection ID | - |
|
|
2359
|
+
|**400** | Bad Request | - |
|
|
2360
|
+
|**401** | Unauthorised | - |
|
|
2361
|
+
|**403** | Access Denied | - |
|
|
2362
|
+
|
|
2363
|
+
[[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)
|
|
2364
|
+
|
|
2365
|
+
# **postDisconnectDDI**
|
|
2366
|
+
> number postDisconnectDDI(postDisconnectDDIRequest)
|
|
2367
|
+
|
|
2368
|
+
Disconnect DDI
|
|
2369
|
+
|
|
2370
|
+
### Example
|
|
2371
|
+
|
|
2372
|
+
```typescript
|
|
2373
|
+
import {
|
|
2374
|
+
BillingApi,
|
|
2375
|
+
Configuration,
|
|
2376
|
+
PostDisconnectDDIRequest
|
|
2377
|
+
} from 'yellowgrid-api-ts';
|
|
2378
|
+
|
|
2379
|
+
const configuration = new Configuration();
|
|
2380
|
+
const apiInstance = new BillingApi(configuration);
|
|
2381
|
+
|
|
2382
|
+
let postDisconnectDDIRequest: PostDisconnectDDIRequest; //
|
|
2383
|
+
let billCustomerId: number; //Customer ID (optional) (default to undefined)
|
|
2384
|
+
|
|
2385
|
+
const { status, data } = await apiInstance.postDisconnectDDI(
|
|
2386
|
+
postDisconnectDDIRequest,
|
|
2387
|
+
billCustomerId
|
|
2388
|
+
);
|
|
2389
|
+
```
|
|
2390
|
+
|
|
2391
|
+
### Parameters
|
|
2392
|
+
|
|
2393
|
+
|Name | Type | Description | Notes|
|
|
2394
|
+
|------------- | ------------- | ------------- | -------------|
|
|
2395
|
+
| **postDisconnectDDIRequest** | **PostDisconnectDDIRequest**| | |
|
|
2396
|
+
| **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
### Return type
|
|
2400
|
+
|
|
2401
|
+
**number**
|
|
2402
|
+
|
|
2403
|
+
### Authorization
|
|
2404
|
+
|
|
2405
|
+
No authorization required
|
|
2406
|
+
|
|
2407
|
+
### HTTP request headers
|
|
2408
|
+
|
|
2409
|
+
- **Content-Type**: application/json
|
|
2410
|
+
- **Accept**: application/json
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
### HTTP response details
|
|
2414
|
+
| Status code | Description | Response headers |
|
|
2415
|
+
|-------------|-------------|------------------|
|
|
2416
|
+
|**200** | DDI ID | - |
|
|
2417
|
+
|**400** | Bad Request | - |
|
|
2418
|
+
|**401** | Unauthorised | - |
|
|
2419
|
+
|**403** | Access Denied | - |
|
|
2420
|
+
|
|
2421
|
+
[[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)
|
|
2422
|
+
|
|
2423
2423
|
# **postGetBaseServices**
|
|
2424
2424
|
> Service postGetBaseServices(postGetBaseServicesRequest)
|
|
2425
2425
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PostDisconnectDDIRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { PostDisconnectDDIRequest } from 'yellowgrid-api-ts';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
15
|
+
const instance: PostDisconnectDDIRequest = {
|
|
16
16
|
id,
|
|
17
17
|
};
|
|
18
18
|
```
|