yellowgrid-api-ts 3.2.220-dev.0 → 3.2.221-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +5 -0
- package/README.md +10 -0
- package/api.ts +503 -0
- package/dist/api.d.ts +318 -0
- package/dist/api.js +390 -0
- package/docs/BillingApi.md +265 -0
- package/docs/CallTariffResponse.md +26 -0
- package/docs/ConnectionRequest.md +36 -0
- package/docs/InboundTariffPlanResponse.md +28 -0
- package/docs/MultiTenantSipTrunkRequest.md +22 -0
- package/docs/PriceGroupResponse.md +24 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5456,6 +5456,38 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5456
5456
|
});
|
|
5457
5457
|
});
|
|
5458
5458
|
},
|
|
5459
|
+
/**
|
|
5460
|
+
* Get Call Tariffs Detailed
|
|
5461
|
+
* @param {*} [options] Override http request option.
|
|
5462
|
+
* @throws {RequiredError}
|
|
5463
|
+
*/
|
|
5464
|
+
getGetCallTariffsDetails: function () {
|
|
5465
|
+
var args_1 = [];
|
|
5466
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
5467
|
+
args_1[_i] = arguments[_i];
|
|
5468
|
+
}
|
|
5469
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
5470
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5471
|
+
if (options === void 0) { options = {}; }
|
|
5472
|
+
return __generator(this, function (_a) {
|
|
5473
|
+
localVarPath = "/billing/admin/callTariffs/details";
|
|
5474
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5475
|
+
if (configuration) {
|
|
5476
|
+
baseOptions = configuration.baseOptions;
|
|
5477
|
+
}
|
|
5478
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5479
|
+
localVarHeaderParameter = {};
|
|
5480
|
+
localVarQueryParameter = {};
|
|
5481
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5482
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5483
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5484
|
+
return [2 /*return*/, {
|
|
5485
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5486
|
+
options: localVarRequestOptions,
|
|
5487
|
+
}];
|
|
5488
|
+
});
|
|
5489
|
+
});
|
|
5490
|
+
},
|
|
5459
5491
|
/**
|
|
5460
5492
|
* Get Children
|
|
5461
5493
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -5608,6 +5640,38 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5608
5640
|
});
|
|
5609
5641
|
});
|
|
5610
5642
|
},
|
|
5643
|
+
/**
|
|
5644
|
+
* Get Inbound Tariffs Detailed
|
|
5645
|
+
* @param {*} [options] Override http request option.
|
|
5646
|
+
* @throws {RequiredError}
|
|
5647
|
+
*/
|
|
5648
|
+
getGetInboundTariffsDetails: function () {
|
|
5649
|
+
var args_1 = [];
|
|
5650
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
5651
|
+
args_1[_i] = arguments[_i];
|
|
5652
|
+
}
|
|
5653
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
5654
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5655
|
+
if (options === void 0) { options = {}; }
|
|
5656
|
+
return __generator(this, function (_a) {
|
|
5657
|
+
localVarPath = "/billing/admin/inboundTariffs/details";
|
|
5658
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5659
|
+
if (configuration) {
|
|
5660
|
+
baseOptions = configuration.baseOptions;
|
|
5661
|
+
}
|
|
5662
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5663
|
+
localVarHeaderParameter = {};
|
|
5664
|
+
localVarQueryParameter = {};
|
|
5665
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5666
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5667
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5668
|
+
return [2 /*return*/, {
|
|
5669
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5670
|
+
options: localVarRequestOptions,
|
|
5671
|
+
}];
|
|
5672
|
+
});
|
|
5673
|
+
});
|
|
5674
|
+
},
|
|
5611
5675
|
/**
|
|
5612
5676
|
* Get Price Groups
|
|
5613
5677
|
* @param {*} [options] Override http request option.
|
|
@@ -5710,6 +5774,38 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5710
5774
|
});
|
|
5711
5775
|
});
|
|
5712
5776
|
},
|
|
5777
|
+
/**
|
|
5778
|
+
* Get Service Plans Detailed
|
|
5779
|
+
* @param {*} [options] Override http request option.
|
|
5780
|
+
* @throws {RequiredError}
|
|
5781
|
+
*/
|
|
5782
|
+
getGetServicesPlanDetails: function () {
|
|
5783
|
+
var args_1 = [];
|
|
5784
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
5785
|
+
args_1[_i] = arguments[_i];
|
|
5786
|
+
}
|
|
5787
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
5788
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5789
|
+
if (options === void 0) { options = {}; }
|
|
5790
|
+
return __generator(this, function (_a) {
|
|
5791
|
+
localVarPath = "/billing/admin/servicePlans/details";
|
|
5792
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5793
|
+
if (configuration) {
|
|
5794
|
+
baseOptions = configuration.baseOptions;
|
|
5795
|
+
}
|
|
5796
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5797
|
+
localVarHeaderParameter = {};
|
|
5798
|
+
localVarQueryParameter = {};
|
|
5799
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5800
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5801
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5802
|
+
return [2 /*return*/, {
|
|
5803
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5804
|
+
options: localVarRequestOptions,
|
|
5805
|
+
}];
|
|
5806
|
+
});
|
|
5807
|
+
});
|
|
5808
|
+
},
|
|
5713
5809
|
/**
|
|
5714
5810
|
* Get SIP Trunk List
|
|
5715
5811
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -6239,6 +6335,45 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
6239
6335
|
});
|
|
6240
6336
|
});
|
|
6241
6337
|
},
|
|
6338
|
+
/**
|
|
6339
|
+
* Add Connection
|
|
6340
|
+
* @param {number} [billCustomerId] Customer ID
|
|
6341
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
6342
|
+
* @param {*} [options] Override http request option.
|
|
6343
|
+
* @throws {RequiredError}
|
|
6344
|
+
*/
|
|
6345
|
+
postGetConnections: function (billCustomerId_1, connectionRequest_1) {
|
|
6346
|
+
var args_1 = [];
|
|
6347
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
6348
|
+
args_1[_i - 2] = arguments[_i];
|
|
6349
|
+
}
|
|
6350
|
+
return __awaiter(_this, __spreadArray([billCustomerId_1, connectionRequest_1], args_1, true), void 0, function (billCustomerId, connectionRequest, options) {
|
|
6351
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6352
|
+
if (options === void 0) { options = {}; }
|
|
6353
|
+
return __generator(this, function (_a) {
|
|
6354
|
+
localVarPath = "/billing/customer/connections";
|
|
6355
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6356
|
+
if (configuration) {
|
|
6357
|
+
baseOptions = configuration.baseOptions;
|
|
6358
|
+
}
|
|
6359
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6360
|
+
localVarHeaderParameter = {};
|
|
6361
|
+
localVarQueryParameter = {};
|
|
6362
|
+
if (billCustomerId !== undefined) {
|
|
6363
|
+
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
6364
|
+
}
|
|
6365
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6366
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6367
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6368
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6369
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(connectionRequest, localVarRequestOptions, configuration);
|
|
6370
|
+
return [2 /*return*/, {
|
|
6371
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6372
|
+
options: localVarRequestOptions,
|
|
6373
|
+
}];
|
|
6374
|
+
});
|
|
6375
|
+
});
|
|
6376
|
+
},
|
|
6242
6377
|
/**
|
|
6243
6378
|
* Add Price Group
|
|
6244
6379
|
* @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
|
|
@@ -6879,6 +7014,51 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
6879
7014
|
});
|
|
6880
7015
|
});
|
|
6881
7016
|
},
|
|
7017
|
+
/**
|
|
7018
|
+
* Update Connection
|
|
7019
|
+
* @param {number} connectionId Connection ID
|
|
7020
|
+
* @param {number} [billCustomerId] Customer ID
|
|
7021
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
7022
|
+
* @param {*} [options] Override http request option.
|
|
7023
|
+
* @throws {RequiredError}
|
|
7024
|
+
*/
|
|
7025
|
+
putGetConnections: function (connectionId_1, billCustomerId_1, connectionRequest_1) {
|
|
7026
|
+
var args_1 = [];
|
|
7027
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7028
|
+
args_1[_i - 3] = arguments[_i];
|
|
7029
|
+
}
|
|
7030
|
+
return __awaiter(_this, __spreadArray([connectionId_1, billCustomerId_1, connectionRequest_1], args_1, true), void 0, function (connectionId, billCustomerId, connectionRequest, options) {
|
|
7031
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7032
|
+
if (options === void 0) { options = {}; }
|
|
7033
|
+
return __generator(this, function (_a) {
|
|
7034
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
7035
|
+
(0, common_1.assertParamExists)('putGetConnections', 'connectionId', connectionId);
|
|
7036
|
+
localVarPath = "/billing/customer/connections";
|
|
7037
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7038
|
+
if (configuration) {
|
|
7039
|
+
baseOptions = configuration.baseOptions;
|
|
7040
|
+
}
|
|
7041
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
7042
|
+
localVarHeaderParameter = {};
|
|
7043
|
+
localVarQueryParameter = {};
|
|
7044
|
+
if (billCustomerId !== undefined) {
|
|
7045
|
+
localVarQueryParameter['billCustomerId'] = billCustomerId;
|
|
7046
|
+
}
|
|
7047
|
+
if (connectionId !== undefined) {
|
|
7048
|
+
localVarQueryParameter['connectionId'] = connectionId;
|
|
7049
|
+
}
|
|
7050
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7051
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7052
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7053
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7054
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(connectionRequest, localVarRequestOptions, configuration);
|
|
7055
|
+
return [2 /*return*/, {
|
|
7056
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7057
|
+
options: localVarRequestOptions,
|
|
7058
|
+
}];
|
|
7059
|
+
});
|
|
7060
|
+
});
|
|
7061
|
+
},
|
|
6882
7062
|
/**
|
|
6883
7063
|
* Update Price Group
|
|
6884
7064
|
* @param {number} priceGroupId Price Group ID
|
|
@@ -7418,6 +7598,27 @@ var BillingApiFp = function (configuration) {
|
|
|
7418
7598
|
});
|
|
7419
7599
|
});
|
|
7420
7600
|
},
|
|
7601
|
+
/**
|
|
7602
|
+
* Get Call Tariffs Detailed
|
|
7603
|
+
* @param {*} [options] Override http request option.
|
|
7604
|
+
* @throws {RequiredError}
|
|
7605
|
+
*/
|
|
7606
|
+
getGetCallTariffsDetails: function (options) {
|
|
7607
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7608
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7609
|
+
var _a, _b, _c;
|
|
7610
|
+
return __generator(this, function (_d) {
|
|
7611
|
+
switch (_d.label) {
|
|
7612
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCallTariffsDetails(options)];
|
|
7613
|
+
case 1:
|
|
7614
|
+
localVarAxiosArgs = _d.sent();
|
|
7615
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7616
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetCallTariffsDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7617
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7618
|
+
}
|
|
7619
|
+
});
|
|
7620
|
+
});
|
|
7621
|
+
},
|
|
7421
7622
|
/**
|
|
7422
7623
|
* Get Children
|
|
7423
7624
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -7508,6 +7709,27 @@ var BillingApiFp = function (configuration) {
|
|
|
7508
7709
|
});
|
|
7509
7710
|
});
|
|
7510
7711
|
},
|
|
7712
|
+
/**
|
|
7713
|
+
* Get Inbound Tariffs Detailed
|
|
7714
|
+
* @param {*} [options] Override http request option.
|
|
7715
|
+
* @throws {RequiredError}
|
|
7716
|
+
*/
|
|
7717
|
+
getGetInboundTariffsDetails: function (options) {
|
|
7718
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7719
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7720
|
+
var _a, _b, _c;
|
|
7721
|
+
return __generator(this, function (_d) {
|
|
7722
|
+
switch (_d.label) {
|
|
7723
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetInboundTariffsDetails(options)];
|
|
7724
|
+
case 1:
|
|
7725
|
+
localVarAxiosArgs = _d.sent();
|
|
7726
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7727
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetInboundTariffsDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7728
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7729
|
+
}
|
|
7730
|
+
});
|
|
7731
|
+
});
|
|
7732
|
+
},
|
|
7511
7733
|
/**
|
|
7512
7734
|
* Get Price Groups
|
|
7513
7735
|
* @param {*} [options] Override http request option.
|
|
@@ -7572,6 +7794,27 @@ var BillingApiFp = function (configuration) {
|
|
|
7572
7794
|
});
|
|
7573
7795
|
});
|
|
7574
7796
|
},
|
|
7797
|
+
/**
|
|
7798
|
+
* Get Service Plans Detailed
|
|
7799
|
+
* @param {*} [options] Override http request option.
|
|
7800
|
+
* @throws {RequiredError}
|
|
7801
|
+
*/
|
|
7802
|
+
getGetServicesPlanDetails: function (options) {
|
|
7803
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7804
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7805
|
+
var _a, _b, _c;
|
|
7806
|
+
return __generator(this, function (_d) {
|
|
7807
|
+
switch (_d.label) {
|
|
7808
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServicesPlanDetails(options)];
|
|
7809
|
+
case 1:
|
|
7810
|
+
localVarAxiosArgs = _d.sent();
|
|
7811
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7812
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetServicesPlanDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7813
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7814
|
+
}
|
|
7815
|
+
});
|
|
7816
|
+
});
|
|
7817
|
+
},
|
|
7575
7818
|
/**
|
|
7576
7819
|
* Get SIP Trunk List
|
|
7577
7820
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -7884,6 +8127,29 @@ var BillingApiFp = function (configuration) {
|
|
|
7884
8127
|
});
|
|
7885
8128
|
});
|
|
7886
8129
|
},
|
|
8130
|
+
/**
|
|
8131
|
+
* Add Connection
|
|
8132
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8133
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
8134
|
+
* @param {*} [options] Override http request option.
|
|
8135
|
+
* @throws {RequiredError}
|
|
8136
|
+
*/
|
|
8137
|
+
postGetConnections: function (billCustomerId, connectionRequest, options) {
|
|
8138
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8139
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8140
|
+
var _a, _b, _c;
|
|
8141
|
+
return __generator(this, function (_d) {
|
|
8142
|
+
switch (_d.label) {
|
|
8143
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetConnections(billCustomerId, connectionRequest, options)];
|
|
8144
|
+
case 1:
|
|
8145
|
+
localVarAxiosArgs = _d.sent();
|
|
8146
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8147
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.postGetConnections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8148
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8149
|
+
}
|
|
8150
|
+
});
|
|
8151
|
+
});
|
|
8152
|
+
},
|
|
7887
8153
|
/**
|
|
7888
8154
|
* Add Price Group
|
|
7889
8155
|
* @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
|
|
@@ -8247,6 +8513,30 @@ var BillingApiFp = function (configuration) {
|
|
|
8247
8513
|
});
|
|
8248
8514
|
});
|
|
8249
8515
|
},
|
|
8516
|
+
/**
|
|
8517
|
+
* Update Connection
|
|
8518
|
+
* @param {number} connectionId Connection ID
|
|
8519
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8520
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
8521
|
+
* @param {*} [options] Override http request option.
|
|
8522
|
+
* @throws {RequiredError}
|
|
8523
|
+
*/
|
|
8524
|
+
putGetConnections: function (connectionId, billCustomerId, connectionRequest, options) {
|
|
8525
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8526
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8527
|
+
var _a, _b, _c;
|
|
8528
|
+
return __generator(this, function (_d) {
|
|
8529
|
+
switch (_d.label) {
|
|
8530
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetConnections(connectionId, billCustomerId, connectionRequest, options)];
|
|
8531
|
+
case 1:
|
|
8532
|
+
localVarAxiosArgs = _d.sent();
|
|
8533
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8534
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.putGetConnections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8535
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8536
|
+
}
|
|
8537
|
+
});
|
|
8538
|
+
});
|
|
8539
|
+
},
|
|
8250
8540
|
/**
|
|
8251
8541
|
* Update Price Group
|
|
8252
8542
|
* @param {number} priceGroupId Price Group ID
|
|
@@ -8480,6 +8770,14 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8480
8770
|
getGetCallTariffs: function (options) {
|
|
8481
8771
|
return localVarFp.getGetCallTariffs(options).then(function (request) { return request(axios, basePath); });
|
|
8482
8772
|
},
|
|
8773
|
+
/**
|
|
8774
|
+
* Get Call Tariffs Detailed
|
|
8775
|
+
* @param {*} [options] Override http request option.
|
|
8776
|
+
* @throws {RequiredError}
|
|
8777
|
+
*/
|
|
8778
|
+
getGetCallTariffsDetails: function (options) {
|
|
8779
|
+
return localVarFp.getGetCallTariffsDetails(options).then(function (request) { return request(axios, basePath); });
|
|
8780
|
+
},
|
|
8483
8781
|
/**
|
|
8484
8782
|
* Get Children
|
|
8485
8783
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -8518,6 +8816,14 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8518
8816
|
getGetInboundTariffs: function (options) {
|
|
8519
8817
|
return localVarFp.getGetInboundTariffs(options).then(function (request) { return request(axios, basePath); });
|
|
8520
8818
|
},
|
|
8819
|
+
/**
|
|
8820
|
+
* Get Inbound Tariffs Detailed
|
|
8821
|
+
* @param {*} [options] Override http request option.
|
|
8822
|
+
* @throws {RequiredError}
|
|
8823
|
+
*/
|
|
8824
|
+
getGetInboundTariffsDetails: function (options) {
|
|
8825
|
+
return localVarFp.getGetInboundTariffsDetails(options).then(function (request) { return request(axios, basePath); });
|
|
8826
|
+
},
|
|
8521
8827
|
/**
|
|
8522
8828
|
* Get Price Groups
|
|
8523
8829
|
* @param {*} [options] Override http request option.
|
|
@@ -8543,6 +8849,14 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8543
8849
|
getGetServicePlans: function (options) {
|
|
8544
8850
|
return localVarFp.getGetServicePlans(options).then(function (request) { return request(axios, basePath); });
|
|
8545
8851
|
},
|
|
8852
|
+
/**
|
|
8853
|
+
* Get Service Plans Detailed
|
|
8854
|
+
* @param {*} [options] Override http request option.
|
|
8855
|
+
* @throws {RequiredError}
|
|
8856
|
+
*/
|
|
8857
|
+
getGetServicesPlanDetails: function (options) {
|
|
8858
|
+
return localVarFp.getGetServicesPlanDetails(options).then(function (request) { return request(axios, basePath); });
|
|
8859
|
+
},
|
|
8546
8860
|
/**
|
|
8547
8861
|
* Get SIP Trunk List
|
|
8548
8862
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -8673,6 +8987,16 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8673
8987
|
postGetCallTariffPlan: function (putGetCallTariffPlanRequest, options) {
|
|
8674
8988
|
return localVarFp.postGetCallTariffPlan(putGetCallTariffPlanRequest, options).then(function (request) { return request(axios, basePath); });
|
|
8675
8989
|
},
|
|
8990
|
+
/**
|
|
8991
|
+
* Add Connection
|
|
8992
|
+
* @param {number} [billCustomerId] Customer ID
|
|
8993
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
8994
|
+
* @param {*} [options] Override http request option.
|
|
8995
|
+
* @throws {RequiredError}
|
|
8996
|
+
*/
|
|
8997
|
+
postGetConnections: function (billCustomerId, connectionRequest, options) {
|
|
8998
|
+
return localVarFp.postGetConnections(billCustomerId, connectionRequest, options).then(function (request) { return request(axios, basePath); });
|
|
8999
|
+
},
|
|
8676
9000
|
/**
|
|
8677
9001
|
* Add Price Group
|
|
8678
9002
|
* @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
|
|
@@ -8828,6 +9152,17 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8828
9152
|
putGetCallTariffPlan: function (callTariffPlanId, putGetCallTariffPlanRequest, options) {
|
|
8829
9153
|
return localVarFp.putGetCallTariffPlan(callTariffPlanId, putGetCallTariffPlanRequest, options).then(function (request) { return request(axios, basePath); });
|
|
8830
9154
|
},
|
|
9155
|
+
/**
|
|
9156
|
+
* Update Connection
|
|
9157
|
+
* @param {number} connectionId Connection ID
|
|
9158
|
+
* @param {number} [billCustomerId] Customer ID
|
|
9159
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
9160
|
+
* @param {*} [options] Override http request option.
|
|
9161
|
+
* @throws {RequiredError}
|
|
9162
|
+
*/
|
|
9163
|
+
putGetConnections: function (connectionId, billCustomerId, connectionRequest, options) {
|
|
9164
|
+
return localVarFp.putGetConnections(connectionId, billCustomerId, connectionRequest, options).then(function (request) { return request(axios, basePath); });
|
|
9165
|
+
},
|
|
8831
9166
|
/**
|
|
8832
9167
|
* Update Price Group
|
|
8833
9168
|
* @param {number} priceGroupId Price Group ID
|
|
@@ -9096,6 +9431,16 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9096
9431
|
var _this = this;
|
|
9097
9432
|
return (0, exports.BillingApiFp)(this.configuration).getGetCallTariffs(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9098
9433
|
};
|
|
9434
|
+
/**
|
|
9435
|
+
* Get Call Tariffs Detailed
|
|
9436
|
+
* @param {*} [options] Override http request option.
|
|
9437
|
+
* @throws {RequiredError}
|
|
9438
|
+
* @memberof BillingApi
|
|
9439
|
+
*/
|
|
9440
|
+
BillingApi.prototype.getGetCallTariffsDetails = function (options) {
|
|
9441
|
+
var _this = this;
|
|
9442
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetCallTariffsDetails(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9443
|
+
};
|
|
9099
9444
|
/**
|
|
9100
9445
|
* Get Children
|
|
9101
9446
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -9142,6 +9487,16 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9142
9487
|
var _this = this;
|
|
9143
9488
|
return (0, exports.BillingApiFp)(this.configuration).getGetInboundTariffs(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9144
9489
|
};
|
|
9490
|
+
/**
|
|
9491
|
+
* Get Inbound Tariffs Detailed
|
|
9492
|
+
* @param {*} [options] Override http request option.
|
|
9493
|
+
* @throws {RequiredError}
|
|
9494
|
+
* @memberof BillingApi
|
|
9495
|
+
*/
|
|
9496
|
+
BillingApi.prototype.getGetInboundTariffsDetails = function (options) {
|
|
9497
|
+
var _this = this;
|
|
9498
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetInboundTariffsDetails(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9499
|
+
};
|
|
9145
9500
|
/**
|
|
9146
9501
|
* Get Price Groups
|
|
9147
9502
|
* @param {*} [options] Override http request option.
|
|
@@ -9173,6 +9528,16 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9173
9528
|
var _this = this;
|
|
9174
9529
|
return (0, exports.BillingApiFp)(this.configuration).getGetServicePlans(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9175
9530
|
};
|
|
9531
|
+
/**
|
|
9532
|
+
* Get Service Plans Detailed
|
|
9533
|
+
* @param {*} [options] Override http request option.
|
|
9534
|
+
* @throws {RequiredError}
|
|
9535
|
+
* @memberof BillingApi
|
|
9536
|
+
*/
|
|
9537
|
+
BillingApi.prototype.getGetServicesPlanDetails = function (options) {
|
|
9538
|
+
var _this = this;
|
|
9539
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetServicesPlanDetails(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9540
|
+
};
|
|
9176
9541
|
/**
|
|
9177
9542
|
* Get SIP Trunk List
|
|
9178
9543
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -9331,6 +9696,18 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9331
9696
|
var _this = this;
|
|
9332
9697
|
return (0, exports.BillingApiFp)(this.configuration).postGetCallTariffPlan(putGetCallTariffPlanRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9333
9698
|
};
|
|
9699
|
+
/**
|
|
9700
|
+
* Add Connection
|
|
9701
|
+
* @param {number} [billCustomerId] Customer ID
|
|
9702
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
9703
|
+
* @param {*} [options] Override http request option.
|
|
9704
|
+
* @throws {RequiredError}
|
|
9705
|
+
* @memberof BillingApi
|
|
9706
|
+
*/
|
|
9707
|
+
BillingApi.prototype.postGetConnections = function (billCustomerId, connectionRequest, options) {
|
|
9708
|
+
var _this = this;
|
|
9709
|
+
return (0, exports.BillingApiFp)(this.configuration).postGetConnections(billCustomerId, connectionRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9710
|
+
};
|
|
9334
9711
|
/**
|
|
9335
9712
|
* Add Price Group
|
|
9336
9713
|
* @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
|
|
@@ -9518,6 +9895,19 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9518
9895
|
var _this = this;
|
|
9519
9896
|
return (0, exports.BillingApiFp)(this.configuration).putGetCallTariffPlan(callTariffPlanId, putGetCallTariffPlanRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9520
9897
|
};
|
|
9898
|
+
/**
|
|
9899
|
+
* Update Connection
|
|
9900
|
+
* @param {number} connectionId Connection ID
|
|
9901
|
+
* @param {number} [billCustomerId] Customer ID
|
|
9902
|
+
* @param {ConnectionRequest} [connectionRequest]
|
|
9903
|
+
* @param {*} [options] Override http request option.
|
|
9904
|
+
* @throws {RequiredError}
|
|
9905
|
+
* @memberof BillingApi
|
|
9906
|
+
*/
|
|
9907
|
+
BillingApi.prototype.putGetConnections = function (connectionId, billCustomerId, connectionRequest, options) {
|
|
9908
|
+
var _this = this;
|
|
9909
|
+
return (0, exports.BillingApiFp)(this.configuration).putGetConnections(connectionId, billCustomerId, connectionRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9910
|
+
};
|
|
9521
9911
|
/**
|
|
9522
9912
|
* Update Price Group
|
|
9523
9913
|
* @param {number} priceGroupId Price Group ID
|