yellowgrid-api-ts 3.2.163 → 3.2.164
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 -0
- package/README.md +2 -0
- package/api.ts +89 -0
- package/dist/api.d.ts +42 -0
- package/dist/api.js +95 -0
- package/docs/BillingApi.md +62 -0
- package/docs/PutTransferConnectionRequest.md +20 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -172,6 +172,7 @@ docs/ProvisioningModel.md
|
|
|
172
172
|
docs/ProvisioningRequestEntity.md
|
|
173
173
|
docs/PutAllocateItemsRequest.md
|
|
174
174
|
docs/PutAllocateItemsRequestItemsInner.md
|
|
175
|
+
docs/PutTransferConnectionRequest.md
|
|
175
176
|
docs/RecordingBackupAzureModel.md
|
|
176
177
|
docs/RecordingsBackupInfoDTO.md
|
|
177
178
|
docs/RemoteStorageDTO.md
|
package/README.md
CHANGED
|
@@ -96,6 +96,7 @@ Class | Method | HTTP request | Description
|
|
|
96
96
|
*AccountsApi* | [**putUpdateBillingAddress**](docs/AccountsApi.md#putupdatebillingaddress) | **PUT** /admin/accounts/{id}/billing/address |
|
|
97
97
|
*AccountsApi* | [**putUpdateShippingAddress**](docs/AccountsApi.md#putupdateshippingaddress) | **PUT** /admin/accounts/{id}/shipping/address |
|
|
98
98
|
*BillingApi* | [**getGetAllCustomer**](docs/BillingApi.md#getgetallcustomer) | **GET** /billing/admin/customerList | Get Billing Customers
|
|
99
|
+
*BillingApi* | [**putTransferConnection**](docs/BillingApi.md#puttransferconnection) | **PUT** /billing/admin/connections |
|
|
99
100
|
*CRMApi* | [**getGetCrmActivities**](docs/CRMApi.md#getgetcrmactivities) | **GET** /admin/crm/{id}/activities |
|
|
100
101
|
*CRMApi* | [**getSearchByPhone**](docs/CRMApi.md#getsearchbyphone) | **GET** /crm/contact/search |
|
|
101
102
|
*CRMApi* | [**postCreateCrmNote**](docs/CRMApi.md#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note |
|
|
@@ -464,6 +465,7 @@ Class | Method | HTTP request | Description
|
|
|
464
465
|
- [ProvisioningRequestEntity](docs/ProvisioningRequestEntity.md)
|
|
465
466
|
- [PutAllocateItemsRequest](docs/PutAllocateItemsRequest.md)
|
|
466
467
|
- [PutAllocateItemsRequestItemsInner](docs/PutAllocateItemsRequestItemsInner.md)
|
|
468
|
+
- [PutTransferConnectionRequest](docs/PutTransferConnectionRequest.md)
|
|
467
469
|
- [RecordingBackupAzureModel](docs/RecordingBackupAzureModel.md)
|
|
468
470
|
- [RecordingsBackupInfoDTO](docs/RecordingsBackupInfoDTO.md)
|
|
469
471
|
- [RemoteStorageDTO](docs/RemoteStorageDTO.md)
|
package/api.ts
CHANGED
|
@@ -5048,6 +5048,12 @@ export interface PutAllocateItemsRequestItemsInner {
|
|
|
5048
5048
|
*/
|
|
5049
5049
|
'quantity'?: number;
|
|
5050
5050
|
}
|
|
5051
|
+
export interface PutTransferConnectionRequest {
|
|
5052
|
+
/**
|
|
5053
|
+
* Customer ID
|
|
5054
|
+
*/
|
|
5055
|
+
'customerId'?: number;
|
|
5056
|
+
}
|
|
5051
5057
|
/**
|
|
5052
5058
|
* Azure Recordings Backup
|
|
5053
5059
|
*/
|
|
@@ -11679,6 +11685,52 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11679
11685
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11680
11686
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11681
11687
|
|
|
11688
|
+
return {
|
|
11689
|
+
url: toPathString(localVarUrlObj),
|
|
11690
|
+
options: localVarRequestOptions,
|
|
11691
|
+
};
|
|
11692
|
+
},
|
|
11693
|
+
/**
|
|
11694
|
+
* Transfer Billing Connection
|
|
11695
|
+
* @param {number} id Connection ID
|
|
11696
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11697
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
11698
|
+
* @param {*} [options] Override http request option.
|
|
11699
|
+
* @throws {RequiredError}
|
|
11700
|
+
*/
|
|
11701
|
+
putTransferConnection: async (id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11702
|
+
// verify required parameter 'id' is not null or undefined
|
|
11703
|
+
assertParamExists('putTransferConnection', 'id', id)
|
|
11704
|
+
// verify required parameter 'putTransferConnectionRequest' is not null or undefined
|
|
11705
|
+
assertParamExists('putTransferConnection', 'putTransferConnectionRequest', putTransferConnectionRequest)
|
|
11706
|
+
const localVarPath = `/billing/admin/connections`;
|
|
11707
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11708
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11709
|
+
let baseOptions;
|
|
11710
|
+
if (configuration) {
|
|
11711
|
+
baseOptions = configuration.baseOptions;
|
|
11712
|
+
}
|
|
11713
|
+
|
|
11714
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11715
|
+
const localVarHeaderParameter = {} as any;
|
|
11716
|
+
const localVarQueryParameter = {} as any;
|
|
11717
|
+
|
|
11718
|
+
if (id !== undefined) {
|
|
11719
|
+
localVarQueryParameter['id'] = id;
|
|
11720
|
+
}
|
|
11721
|
+
|
|
11722
|
+
if (skipDDis !== undefined) {
|
|
11723
|
+
localVarQueryParameter['skipDDis'] = skipDDis;
|
|
11724
|
+
}
|
|
11725
|
+
|
|
11726
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11727
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11728
|
+
|
|
11729
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11731
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11732
|
+
localVarRequestOptions.data = serializeDataIfNeeded(putTransferConnectionRequest, localVarRequestOptions, configuration)
|
|
11733
|
+
|
|
11682
11734
|
return {
|
|
11683
11735
|
url: toPathString(localVarUrlObj),
|
|
11684
11736
|
options: localVarRequestOptions,
|
|
@@ -11705,6 +11757,20 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
11705
11757
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetAllCustomer']?.[localVarOperationServerIndex]?.url;
|
|
11706
11758
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11707
11759
|
},
|
|
11760
|
+
/**
|
|
11761
|
+
* Transfer Billing Connection
|
|
11762
|
+
* @param {number} id Connection ID
|
|
11763
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11764
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
11765
|
+
* @param {*} [options] Override http request option.
|
|
11766
|
+
* @throws {RequiredError}
|
|
11767
|
+
*/
|
|
11768
|
+
async putTransferConnection(id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
11769
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putTransferConnection(id, putTransferConnectionRequest, skipDDis, options);
|
|
11770
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11771
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.putTransferConnection']?.[localVarOperationServerIndex]?.url;
|
|
11772
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11773
|
+
},
|
|
11708
11774
|
}
|
|
11709
11775
|
};
|
|
11710
11776
|
|
|
@@ -11723,6 +11789,17 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11723
11789
|
getGetAllCustomer(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: { [key: string]: string; }; }> {
|
|
11724
11790
|
return localVarFp.getGetAllCustomer(options).then((request) => request(axios, basePath));
|
|
11725
11791
|
},
|
|
11792
|
+
/**
|
|
11793
|
+
* Transfer Billing Connection
|
|
11794
|
+
* @param {number} id Connection ID
|
|
11795
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11796
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
11797
|
+
* @param {*} [options] Override http request option.
|
|
11798
|
+
* @throws {RequiredError}
|
|
11799
|
+
*/
|
|
11800
|
+
putTransferConnection(id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
11801
|
+
return localVarFp.putTransferConnection(id, putTransferConnectionRequest, skipDDis, options).then((request) => request(axios, basePath));
|
|
11802
|
+
},
|
|
11726
11803
|
};
|
|
11727
11804
|
};
|
|
11728
11805
|
|
|
@@ -11739,6 +11816,18 @@ export class BillingApi extends BaseAPI {
|
|
|
11739
11816
|
public getGetAllCustomer(options?: RawAxiosRequestConfig) {
|
|
11740
11817
|
return BillingApiFp(this.configuration).getGetAllCustomer(options).then((request) => request(this.axios, this.basePath));
|
|
11741
11818
|
}
|
|
11819
|
+
|
|
11820
|
+
/**
|
|
11821
|
+
* Transfer Billing Connection
|
|
11822
|
+
* @param {number} id Connection ID
|
|
11823
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11824
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
11825
|
+
* @param {*} [options] Override http request option.
|
|
11826
|
+
* @throws {RequiredError}
|
|
11827
|
+
*/
|
|
11828
|
+
public putTransferConnection(id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig) {
|
|
11829
|
+
return BillingApiFp(this.configuration).putTransferConnection(id, putTransferConnectionRequest, skipDDis, options).then((request) => request(this.axios, this.basePath));
|
|
11830
|
+
}
|
|
11742
11831
|
}
|
|
11743
11832
|
|
|
11744
11833
|
|
package/dist/api.d.ts
CHANGED
|
@@ -4991,6 +4991,12 @@ export interface PutAllocateItemsRequestItemsInner {
|
|
|
4991
4991
|
*/
|
|
4992
4992
|
'quantity'?: number;
|
|
4993
4993
|
}
|
|
4994
|
+
export interface PutTransferConnectionRequest {
|
|
4995
|
+
/**
|
|
4996
|
+
* Customer ID
|
|
4997
|
+
*/
|
|
4998
|
+
'customerId'?: number;
|
|
4999
|
+
}
|
|
4994
5000
|
/**
|
|
4995
5001
|
* Azure Recordings Backup
|
|
4996
5002
|
*/
|
|
@@ -9914,6 +9920,15 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9914
9920
|
* @throws {RequiredError}
|
|
9915
9921
|
*/
|
|
9916
9922
|
getGetAllCustomer: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9923
|
+
/**
|
|
9924
|
+
* Transfer Billing Connection
|
|
9925
|
+
* @param {number} id Connection ID
|
|
9926
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
9927
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
9928
|
+
* @param {*} [options] Override http request option.
|
|
9929
|
+
* @throws {RequiredError}
|
|
9930
|
+
*/
|
|
9931
|
+
putTransferConnection: (id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9917
9932
|
};
|
|
9918
9933
|
/**
|
|
9919
9934
|
* BillingApi - functional programming interface
|
|
@@ -9930,6 +9945,15 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
9930
9945
|
[key: string]: string;
|
|
9931
9946
|
};
|
|
9932
9947
|
}>>;
|
|
9948
|
+
/**
|
|
9949
|
+
* Transfer Billing Connection
|
|
9950
|
+
* @param {number} id Connection ID
|
|
9951
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
9952
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
9953
|
+
* @param {*} [options] Override http request option.
|
|
9954
|
+
* @throws {RequiredError}
|
|
9955
|
+
*/
|
|
9956
|
+
putTransferConnection(id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
9933
9957
|
};
|
|
9934
9958
|
/**
|
|
9935
9959
|
* BillingApi - factory interface
|
|
@@ -9946,6 +9970,15 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
9946
9970
|
[key: string]: string;
|
|
9947
9971
|
};
|
|
9948
9972
|
}>;
|
|
9973
|
+
/**
|
|
9974
|
+
* Transfer Billing Connection
|
|
9975
|
+
* @param {number} id Connection ID
|
|
9976
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
9977
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
9978
|
+
* @param {*} [options] Override http request option.
|
|
9979
|
+
* @throws {RequiredError}
|
|
9980
|
+
*/
|
|
9981
|
+
putTransferConnection(id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
9949
9982
|
};
|
|
9950
9983
|
/**
|
|
9951
9984
|
* BillingApi - object-oriented interface
|
|
@@ -9962,6 +9995,15 @@ export declare class BillingApi extends BaseAPI {
|
|
|
9962
9995
|
[key: string]: string;
|
|
9963
9996
|
};
|
|
9964
9997
|
}, any, {}>>;
|
|
9998
|
+
/**
|
|
9999
|
+
* Transfer Billing Connection
|
|
10000
|
+
* @param {number} id Connection ID
|
|
10001
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
10002
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
10003
|
+
* @param {*} [options] Override http request option.
|
|
10004
|
+
* @throws {RequiredError}
|
|
10005
|
+
*/
|
|
10006
|
+
putTransferConnection(id: number, putTransferConnectionRequest: PutTransferConnectionRequest, skipDDis?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
9965
10007
|
}
|
|
9966
10008
|
/**
|
|
9967
10009
|
* CRMApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -4158,6 +4158,54 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4158
4158
|
});
|
|
4159
4159
|
});
|
|
4160
4160
|
},
|
|
4161
|
+
/**
|
|
4162
|
+
* Transfer Billing Connection
|
|
4163
|
+
* @param {number} id Connection ID
|
|
4164
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4165
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
4166
|
+
* @param {*} [options] Override http request option.
|
|
4167
|
+
* @throws {RequiredError}
|
|
4168
|
+
*/
|
|
4169
|
+
putTransferConnection: function (id_1, putTransferConnectionRequest_1, skipDDis_1) {
|
|
4170
|
+
var args_1 = [];
|
|
4171
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
4172
|
+
args_1[_i - 3] = arguments[_i];
|
|
4173
|
+
}
|
|
4174
|
+
return __awaiter(_this, __spreadArray([id_1, putTransferConnectionRequest_1, skipDDis_1], args_1, true), void 0, function (id, putTransferConnectionRequest, skipDDis, options) {
|
|
4175
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4176
|
+
if (options === void 0) { options = {}; }
|
|
4177
|
+
return __generator(this, function (_a) {
|
|
4178
|
+
// verify required parameter 'id' is not null or undefined
|
|
4179
|
+
(0, common_1.assertParamExists)('putTransferConnection', 'id', id);
|
|
4180
|
+
// verify required parameter 'putTransferConnectionRequest' is not null or undefined
|
|
4181
|
+
(0, common_1.assertParamExists)('putTransferConnection', 'putTransferConnectionRequest', putTransferConnectionRequest);
|
|
4182
|
+
localVarPath = "/billing/admin/connections";
|
|
4183
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4184
|
+
if (configuration) {
|
|
4185
|
+
baseOptions = configuration.baseOptions;
|
|
4186
|
+
}
|
|
4187
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4188
|
+
localVarHeaderParameter = {};
|
|
4189
|
+
localVarQueryParameter = {};
|
|
4190
|
+
if (id !== undefined) {
|
|
4191
|
+
localVarQueryParameter['id'] = id;
|
|
4192
|
+
}
|
|
4193
|
+
if (skipDDis !== undefined) {
|
|
4194
|
+
localVarQueryParameter['skipDDis'] = skipDDis;
|
|
4195
|
+
}
|
|
4196
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4197
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4198
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4199
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4200
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4201
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putTransferConnectionRequest, localVarRequestOptions, configuration);
|
|
4202
|
+
return [2 /*return*/, {
|
|
4203
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4204
|
+
options: localVarRequestOptions,
|
|
4205
|
+
}];
|
|
4206
|
+
});
|
|
4207
|
+
});
|
|
4208
|
+
},
|
|
4161
4209
|
};
|
|
4162
4210
|
};
|
|
4163
4211
|
exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
|
|
@@ -4189,6 +4237,30 @@ var BillingApiFp = function (configuration) {
|
|
|
4189
4237
|
});
|
|
4190
4238
|
});
|
|
4191
4239
|
},
|
|
4240
|
+
/**
|
|
4241
|
+
* Transfer Billing Connection
|
|
4242
|
+
* @param {number} id Connection ID
|
|
4243
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4244
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
4245
|
+
* @param {*} [options] Override http request option.
|
|
4246
|
+
* @throws {RequiredError}
|
|
4247
|
+
*/
|
|
4248
|
+
putTransferConnection: function (id, putTransferConnectionRequest, skipDDis, options) {
|
|
4249
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4250
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4251
|
+
var _a, _b, _c;
|
|
4252
|
+
return __generator(this, function (_d) {
|
|
4253
|
+
switch (_d.label) {
|
|
4254
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putTransferConnection(id, putTransferConnectionRequest, skipDDis, options)];
|
|
4255
|
+
case 1:
|
|
4256
|
+
localVarAxiosArgs = _d.sent();
|
|
4257
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4258
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.putTransferConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4259
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4260
|
+
}
|
|
4261
|
+
});
|
|
4262
|
+
});
|
|
4263
|
+
},
|
|
4192
4264
|
};
|
|
4193
4265
|
};
|
|
4194
4266
|
exports.BillingApiFp = BillingApiFp;
|
|
@@ -4207,6 +4279,17 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
4207
4279
|
getGetAllCustomer: function (options) {
|
|
4208
4280
|
return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
|
|
4209
4281
|
},
|
|
4282
|
+
/**
|
|
4283
|
+
* Transfer Billing Connection
|
|
4284
|
+
* @param {number} id Connection ID
|
|
4285
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4286
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
4287
|
+
* @param {*} [options] Override http request option.
|
|
4288
|
+
* @throws {RequiredError}
|
|
4289
|
+
*/
|
|
4290
|
+
putTransferConnection: function (id, putTransferConnectionRequest, skipDDis, options) {
|
|
4291
|
+
return localVarFp.putTransferConnection(id, putTransferConnectionRequest, skipDDis, options).then(function (request) { return request(axios, basePath); });
|
|
4292
|
+
},
|
|
4210
4293
|
};
|
|
4211
4294
|
};
|
|
4212
4295
|
exports.BillingApiFactory = BillingApiFactory;
|
|
@@ -4228,6 +4311,18 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
4228
4311
|
var _this = this;
|
|
4229
4312
|
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4230
4313
|
};
|
|
4314
|
+
/**
|
|
4315
|
+
* Transfer Billing Connection
|
|
4316
|
+
* @param {number} id Connection ID
|
|
4317
|
+
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4318
|
+
* @param {boolean} [skipDDis] Skip DDIs
|
|
4319
|
+
* @param {*} [options] Override http request option.
|
|
4320
|
+
* @throws {RequiredError}
|
|
4321
|
+
*/
|
|
4322
|
+
BillingApi.prototype.putTransferConnection = function (id, putTransferConnectionRequest, skipDDis, options) {
|
|
4323
|
+
var _this = this;
|
|
4324
|
+
return (0, exports.BillingApiFp)(this.configuration).putTransferConnection(id, putTransferConnectionRequest, skipDDis, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4325
|
+
};
|
|
4231
4326
|
return BillingApi;
|
|
4232
4327
|
}(base_1.BaseAPI));
|
|
4233
4328
|
exports.BillingApi = BillingApi;
|
package/docs/BillingApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetAllCustomer**](#getgetallcustomer) | **GET** /billing/admin/customerList | Get Billing Customers|
|
|
8
|
+
|[**putTransferConnection**](#puttransferconnection) | **PUT** /billing/admin/connections | |
|
|
8
9
|
|
|
9
10
|
# **getGetAllCustomer**
|
|
10
11
|
> { [key: string]: { [key: string]: string; }; } getGetAllCustomer()
|
|
@@ -53,3 +54,64 @@ No authorization required
|
|
|
53
54
|
|
|
54
55
|
[[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)
|
|
55
56
|
|
|
57
|
+
# **putTransferConnection**
|
|
58
|
+
> object putTransferConnection(putTransferConnectionRequest)
|
|
59
|
+
|
|
60
|
+
Transfer Billing Connection
|
|
61
|
+
|
|
62
|
+
### Example
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
import {
|
|
66
|
+
BillingApi,
|
|
67
|
+
Configuration,
|
|
68
|
+
PutTransferConnectionRequest
|
|
69
|
+
} from 'yellowgrid-api-ts';
|
|
70
|
+
|
|
71
|
+
const configuration = new Configuration();
|
|
72
|
+
const apiInstance = new BillingApi(configuration);
|
|
73
|
+
|
|
74
|
+
let id: number; //Connection ID (default to undefined)
|
|
75
|
+
let putTransferConnectionRequest: PutTransferConnectionRequest; //Transfer Request
|
|
76
|
+
let skipDDis: boolean; //Skip DDIs (optional) (default to undefined)
|
|
77
|
+
|
|
78
|
+
const { status, data } = await apiInstance.putTransferConnection(
|
|
79
|
+
id,
|
|
80
|
+
putTransferConnectionRequest,
|
|
81
|
+
skipDDis
|
|
82
|
+
);
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Parameters
|
|
86
|
+
|
|
87
|
+
|Name | Type | Description | Notes|
|
|
88
|
+
|------------- | ------------- | ------------- | -------------|
|
|
89
|
+
| **putTransferConnectionRequest** | **PutTransferConnectionRequest**| Transfer Request | |
|
|
90
|
+
| **id** | [**number**] | Connection ID | defaults to undefined|
|
|
91
|
+
| **skipDDis** | [**boolean**] | Skip DDIs | (optional) defaults to undefined|
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
**object**
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
No authorization required
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: application/json
|
|
105
|
+
- **Accept**: application/json
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### HTTP response details
|
|
109
|
+
| Status code | Description | Response headers |
|
|
110
|
+
|-------------|-------------|------------------|
|
|
111
|
+
|**200** | Billing Connection | - |
|
|
112
|
+
|**400** | Bad Request | - |
|
|
113
|
+
|**401** | Unauthorised | - |
|
|
114
|
+
|**403** | Access Denied | - |
|
|
115
|
+
|
|
116
|
+
[[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)
|
|
117
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PutTransferConnectionRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PutTransferConnectionRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PutTransferConnectionRequest = {
|
|
16
|
+
customerId,
|
|
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)
|