yellowgrid-api-ts 3.2.164 → 3.2.165
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/api.ts +19 -13
- package/dist/api.d.ts +12 -8
- package/dist/api.js +21 -16
- package/docs/BillingApi.md +6 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -11692,15 +11692,14 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11692
11692
|
},
|
|
11693
11693
|
/**
|
|
11694
11694
|
* Transfer Billing Connection
|
|
11695
|
-
* @param {number} id Connection ID
|
|
11696
11695
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11696
|
+
* @param {number} [id] Connection ID
|
|
11697
|
+
* @param {string} [cli] CLI
|
|
11697
11698
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
11698
11699
|
* @param {*} [options] Override http request option.
|
|
11699
11700
|
* @throws {RequiredError}
|
|
11700
11701
|
*/
|
|
11701
|
-
putTransferConnection: async (
|
|
11702
|
-
// verify required parameter 'id' is not null or undefined
|
|
11703
|
-
assertParamExists('putTransferConnection', 'id', id)
|
|
11702
|
+
putTransferConnection: async (putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11704
11703
|
// verify required parameter 'putTransferConnectionRequest' is not null or undefined
|
|
11705
11704
|
assertParamExists('putTransferConnection', 'putTransferConnectionRequest', putTransferConnectionRequest)
|
|
11706
11705
|
const localVarPath = `/billing/admin/connections`;
|
|
@@ -11719,6 +11718,10 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11719
11718
|
localVarQueryParameter['id'] = id;
|
|
11720
11719
|
}
|
|
11721
11720
|
|
|
11721
|
+
if (cli !== undefined) {
|
|
11722
|
+
localVarQueryParameter['cli'] = cli;
|
|
11723
|
+
}
|
|
11724
|
+
|
|
11722
11725
|
if (skipDDis !== undefined) {
|
|
11723
11726
|
localVarQueryParameter['skipDDis'] = skipDDis;
|
|
11724
11727
|
}
|
|
@@ -11759,14 +11762,15 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
11759
11762
|
},
|
|
11760
11763
|
/**
|
|
11761
11764
|
* Transfer Billing Connection
|
|
11762
|
-
* @param {number} id Connection ID
|
|
11763
11765
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11766
|
+
* @param {number} [id] Connection ID
|
|
11767
|
+
* @param {string} [cli] CLI
|
|
11764
11768
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
11765
11769
|
* @param {*} [options] Override http request option.
|
|
11766
11770
|
* @throws {RequiredError}
|
|
11767
11771
|
*/
|
|
11768
|
-
async putTransferConnection(
|
|
11769
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putTransferConnection(id,
|
|
11772
|
+
async putTransferConnection(putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
11773
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putTransferConnection(putTransferConnectionRequest, id, cli, skipDDis, options);
|
|
11770
11774
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11771
11775
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.putTransferConnection']?.[localVarOperationServerIndex]?.url;
|
|
11772
11776
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11791,14 +11795,15 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11791
11795
|
},
|
|
11792
11796
|
/**
|
|
11793
11797
|
* Transfer Billing Connection
|
|
11794
|
-
* @param {number} id Connection ID
|
|
11795
11798
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11799
|
+
* @param {number} [id] Connection ID
|
|
11800
|
+
* @param {string} [cli] CLI
|
|
11796
11801
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
11797
11802
|
* @param {*} [options] Override http request option.
|
|
11798
11803
|
* @throws {RequiredError}
|
|
11799
11804
|
*/
|
|
11800
|
-
putTransferConnection(
|
|
11801
|
-
return localVarFp.putTransferConnection(id,
|
|
11805
|
+
putTransferConnection(putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
11806
|
+
return localVarFp.putTransferConnection(putTransferConnectionRequest, id, cli, skipDDis, options).then((request) => request(axios, basePath));
|
|
11802
11807
|
},
|
|
11803
11808
|
};
|
|
11804
11809
|
};
|
|
@@ -11819,14 +11824,15 @@ export class BillingApi extends BaseAPI {
|
|
|
11819
11824
|
|
|
11820
11825
|
/**
|
|
11821
11826
|
* Transfer Billing Connection
|
|
11822
|
-
* @param {number} id Connection ID
|
|
11823
11827
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
11828
|
+
* @param {number} [id] Connection ID
|
|
11829
|
+
* @param {string} [cli] CLI
|
|
11824
11830
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
11825
11831
|
* @param {*} [options] Override http request option.
|
|
11826
11832
|
* @throws {RequiredError}
|
|
11827
11833
|
*/
|
|
11828
|
-
public putTransferConnection(
|
|
11829
|
-
return BillingApiFp(this.configuration).putTransferConnection(id,
|
|
11834
|
+
public putTransferConnection(putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig) {
|
|
11835
|
+
return BillingApiFp(this.configuration).putTransferConnection(putTransferConnectionRequest, id, cli, skipDDis, options).then((request) => request(this.axios, this.basePath));
|
|
11830
11836
|
}
|
|
11831
11837
|
}
|
|
11832
11838
|
|
package/dist/api.d.ts
CHANGED
|
@@ -9922,13 +9922,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9922
9922
|
getGetAllCustomer: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9923
9923
|
/**
|
|
9924
9924
|
* Transfer Billing Connection
|
|
9925
|
-
* @param {number} id Connection ID
|
|
9926
9925
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
9926
|
+
* @param {number} [id] Connection ID
|
|
9927
|
+
* @param {string} [cli] CLI
|
|
9927
9928
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
9928
9929
|
* @param {*} [options] Override http request option.
|
|
9929
9930
|
* @throws {RequiredError}
|
|
9930
9931
|
*/
|
|
9931
|
-
putTransferConnection: (
|
|
9932
|
+
putTransferConnection: (putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9932
9933
|
};
|
|
9933
9934
|
/**
|
|
9934
9935
|
* BillingApi - functional programming interface
|
|
@@ -9947,13 +9948,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
9947
9948
|
}>>;
|
|
9948
9949
|
/**
|
|
9949
9950
|
* Transfer Billing Connection
|
|
9950
|
-
* @param {number} id Connection ID
|
|
9951
9951
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
9952
|
+
* @param {number} [id] Connection ID
|
|
9953
|
+
* @param {string} [cli] CLI
|
|
9952
9954
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
9953
9955
|
* @param {*} [options] Override http request option.
|
|
9954
9956
|
* @throws {RequiredError}
|
|
9955
9957
|
*/
|
|
9956
|
-
putTransferConnection(
|
|
9958
|
+
putTransferConnection(putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
9957
9959
|
};
|
|
9958
9960
|
/**
|
|
9959
9961
|
* BillingApi - factory interface
|
|
@@ -9972,13 +9974,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
9972
9974
|
}>;
|
|
9973
9975
|
/**
|
|
9974
9976
|
* Transfer Billing Connection
|
|
9975
|
-
* @param {number} id Connection ID
|
|
9976
9977
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
9978
|
+
* @param {number} [id] Connection ID
|
|
9979
|
+
* @param {string} [cli] CLI
|
|
9977
9980
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
9978
9981
|
* @param {*} [options] Override http request option.
|
|
9979
9982
|
* @throws {RequiredError}
|
|
9980
9983
|
*/
|
|
9981
|
-
putTransferConnection(
|
|
9984
|
+
putTransferConnection(putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
9982
9985
|
};
|
|
9983
9986
|
/**
|
|
9984
9987
|
* BillingApi - object-oriented interface
|
|
@@ -9997,13 +10000,14 @@ export declare class BillingApi extends BaseAPI {
|
|
|
9997
10000
|
}, any, {}>>;
|
|
9998
10001
|
/**
|
|
9999
10002
|
* Transfer Billing Connection
|
|
10000
|
-
* @param {number} id Connection ID
|
|
10001
10003
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
10004
|
+
* @param {number} [id] Connection ID
|
|
10005
|
+
* @param {string} [cli] CLI
|
|
10002
10006
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
10003
10007
|
* @param {*} [options] Override http request option.
|
|
10004
10008
|
* @throws {RequiredError}
|
|
10005
10009
|
*/
|
|
10006
|
-
putTransferConnection(
|
|
10010
|
+
putTransferConnection(putTransferConnectionRequest: PutTransferConnectionRequest, id?: number, cli?: string, skipDDis?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
10007
10011
|
}
|
|
10008
10012
|
/**
|
|
10009
10013
|
* CRMApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -4160,23 +4160,22 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4160
4160
|
},
|
|
4161
4161
|
/**
|
|
4162
4162
|
* Transfer Billing Connection
|
|
4163
|
-
* @param {number} id Connection ID
|
|
4164
4163
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4164
|
+
* @param {number} [id] Connection ID
|
|
4165
|
+
* @param {string} [cli] CLI
|
|
4165
4166
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
4166
4167
|
* @param {*} [options] Override http request option.
|
|
4167
4168
|
* @throws {RequiredError}
|
|
4168
4169
|
*/
|
|
4169
|
-
putTransferConnection: function (id_1,
|
|
4170
|
+
putTransferConnection: function (putTransferConnectionRequest_1, id_1, cli_1, skipDDis_1) {
|
|
4170
4171
|
var args_1 = [];
|
|
4171
|
-
for (var _i =
|
|
4172
|
-
args_1[_i -
|
|
4172
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
4173
|
+
args_1[_i - 4] = arguments[_i];
|
|
4173
4174
|
}
|
|
4174
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
4175
|
+
return __awaiter(_this, __spreadArray([putTransferConnectionRequest_1, id_1, cli_1, skipDDis_1], args_1, true), void 0, function (putTransferConnectionRequest, id, cli, skipDDis, options) {
|
|
4175
4176
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4176
4177
|
if (options === void 0) { options = {}; }
|
|
4177
4178
|
return __generator(this, function (_a) {
|
|
4178
|
-
// verify required parameter 'id' is not null or undefined
|
|
4179
|
-
(0, common_1.assertParamExists)('putTransferConnection', 'id', id);
|
|
4180
4179
|
// verify required parameter 'putTransferConnectionRequest' is not null or undefined
|
|
4181
4180
|
(0, common_1.assertParamExists)('putTransferConnection', 'putTransferConnectionRequest', putTransferConnectionRequest);
|
|
4182
4181
|
localVarPath = "/billing/admin/connections";
|
|
@@ -4190,6 +4189,9 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4190
4189
|
if (id !== undefined) {
|
|
4191
4190
|
localVarQueryParameter['id'] = id;
|
|
4192
4191
|
}
|
|
4192
|
+
if (cli !== undefined) {
|
|
4193
|
+
localVarQueryParameter['cli'] = cli;
|
|
4194
|
+
}
|
|
4193
4195
|
if (skipDDis !== undefined) {
|
|
4194
4196
|
localVarQueryParameter['skipDDis'] = skipDDis;
|
|
4195
4197
|
}
|
|
@@ -4239,19 +4241,20 @@ var BillingApiFp = function (configuration) {
|
|
|
4239
4241
|
},
|
|
4240
4242
|
/**
|
|
4241
4243
|
* Transfer Billing Connection
|
|
4242
|
-
* @param {number} id Connection ID
|
|
4243
4244
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4245
|
+
* @param {number} [id] Connection ID
|
|
4246
|
+
* @param {string} [cli] CLI
|
|
4244
4247
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
4245
4248
|
* @param {*} [options] Override http request option.
|
|
4246
4249
|
* @throws {RequiredError}
|
|
4247
4250
|
*/
|
|
4248
|
-
putTransferConnection: function (id,
|
|
4251
|
+
putTransferConnection: function (putTransferConnectionRequest, id, cli, skipDDis, options) {
|
|
4249
4252
|
return __awaiter(this, void 0, void 0, function () {
|
|
4250
4253
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4251
4254
|
var _a, _b, _c;
|
|
4252
4255
|
return __generator(this, function (_d) {
|
|
4253
4256
|
switch (_d.label) {
|
|
4254
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putTransferConnection(id,
|
|
4257
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putTransferConnection(putTransferConnectionRequest, id, cli, skipDDis, options)];
|
|
4255
4258
|
case 1:
|
|
4256
4259
|
localVarAxiosArgs = _d.sent();
|
|
4257
4260
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -4281,14 +4284,15 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
4281
4284
|
},
|
|
4282
4285
|
/**
|
|
4283
4286
|
* Transfer Billing Connection
|
|
4284
|
-
* @param {number} id Connection ID
|
|
4285
4287
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4288
|
+
* @param {number} [id] Connection ID
|
|
4289
|
+
* @param {string} [cli] CLI
|
|
4286
4290
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
4287
4291
|
* @param {*} [options] Override http request option.
|
|
4288
4292
|
* @throws {RequiredError}
|
|
4289
4293
|
*/
|
|
4290
|
-
putTransferConnection: function (id,
|
|
4291
|
-
return localVarFp.putTransferConnection(id,
|
|
4294
|
+
putTransferConnection: function (putTransferConnectionRequest, id, cli, skipDDis, options) {
|
|
4295
|
+
return localVarFp.putTransferConnection(putTransferConnectionRequest, id, cli, skipDDis, options).then(function (request) { return request(axios, basePath); });
|
|
4292
4296
|
},
|
|
4293
4297
|
};
|
|
4294
4298
|
};
|
|
@@ -4313,15 +4317,16 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
4313
4317
|
};
|
|
4314
4318
|
/**
|
|
4315
4319
|
* Transfer Billing Connection
|
|
4316
|
-
* @param {number} id Connection ID
|
|
4317
4320
|
* @param {PutTransferConnectionRequest} putTransferConnectionRequest Transfer Request
|
|
4321
|
+
* @param {number} [id] Connection ID
|
|
4322
|
+
* @param {string} [cli] CLI
|
|
4318
4323
|
* @param {boolean} [skipDDis] Skip DDIs
|
|
4319
4324
|
* @param {*} [options] Override http request option.
|
|
4320
4325
|
* @throws {RequiredError}
|
|
4321
4326
|
*/
|
|
4322
|
-
BillingApi.prototype.putTransferConnection = function (id,
|
|
4327
|
+
BillingApi.prototype.putTransferConnection = function (putTransferConnectionRequest, id, cli, skipDDis, options) {
|
|
4323
4328
|
var _this = this;
|
|
4324
|
-
return (0, exports.BillingApiFp)(this.configuration).putTransferConnection(id,
|
|
4329
|
+
return (0, exports.BillingApiFp)(this.configuration).putTransferConnection(putTransferConnectionRequest, id, cli, skipDDis, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4325
4330
|
};
|
|
4326
4331
|
return BillingApi;
|
|
4327
4332
|
}(base_1.BaseAPI));
|
package/docs/BillingApi.md
CHANGED
|
@@ -71,13 +71,15 @@ import {
|
|
|
71
71
|
const configuration = new Configuration();
|
|
72
72
|
const apiInstance = new BillingApi(configuration);
|
|
73
73
|
|
|
74
|
-
let id: number; //Connection ID (default to undefined)
|
|
75
74
|
let putTransferConnectionRequest: PutTransferConnectionRequest; //Transfer Request
|
|
75
|
+
let id: number; //Connection ID (optional) (default to undefined)
|
|
76
|
+
let cli: string; //CLI (optional) (default to undefined)
|
|
76
77
|
let skipDDis: boolean; //Skip DDIs (optional) (default to undefined)
|
|
77
78
|
|
|
78
79
|
const { status, data } = await apiInstance.putTransferConnection(
|
|
79
|
-
id,
|
|
80
80
|
putTransferConnectionRequest,
|
|
81
|
+
id,
|
|
82
|
+
cli,
|
|
81
83
|
skipDDis
|
|
82
84
|
);
|
|
83
85
|
```
|
|
@@ -87,7 +89,8 @@ const { status, data } = await apiInstance.putTransferConnection(
|
|
|
87
89
|
|Name | Type | Description | Notes|
|
|
88
90
|
|------------- | ------------- | ------------- | -------------|
|
|
89
91
|
| **putTransferConnectionRequest** | **PutTransferConnectionRequest**| Transfer Request | |
|
|
90
|
-
| **id** | [**number**] | Connection ID | defaults to undefined|
|
|
92
|
+
| **id** | [**number**] | Connection ID | (optional) defaults to undefined|
|
|
93
|
+
| **cli** | [**string**] | CLI | (optional) defaults to undefined|
|
|
91
94
|
| **skipDDis** | [**boolean**] | Skip DDIs | (optional) defaults to undefined|
|
|
92
95
|
|
|
93
96
|
|