yellowgrid-api-ts 3.2.261 → 3.2.263

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/README.md CHANGED
@@ -103,6 +103,7 @@ Class | Method | HTTP request | Description
103
103
  *BillingApi* | [**deleteAddRecurringCharge**](docs/BillingApi.md#deleteaddrecurringcharge) | **DELETE** /billing/customer/recurringCharges |
104
104
  *BillingApi* | [**deleteAddServiceToServicePlan**](docs/BillingApi.md#deleteaddservicetoserviceplan) | **DELETE** /billing/admin/servicePlan/service |
105
105
  *BillingApi* | [**deleteCloseAccount**](docs/BillingApi.md#deletecloseaccount) | **DELETE** /billing/customer/customer |
106
+ *BillingApi* | [**deleteDeleteCallTariffId**](docs/BillingApi.md#deletedeletecalltariffid) | **DELETE** /billing/admin/callTariffPlan/callTariff/{id} |
106
107
  *BillingApi* | [**deleteGetBaseServices**](docs/BillingApi.md#deletegetbaseservices) | **DELETE** /billing/admin/baseServices |
107
108
  *BillingApi* | [**deleteGetCallTariffPlan**](docs/BillingApi.md#deletegetcalltariffplan) | **DELETE** /billing/admin/callTariffPlan |
108
109
  *BillingApi* | [**deleteGetPriceGroups**](docs/BillingApi.md#deletegetpricegroups) | **DELETE** /billing/admin/priceGroups |
package/api.ts CHANGED
@@ -13313,6 +13313,39 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
13313
13313
  options: localVarRequestOptions,
13314
13314
  };
13315
13315
  },
13316
+ /**
13317
+ * Delete Call Tariff By ID
13318
+ * @param {number} id Call Tariff ID
13319
+ * @param {*} [options] Override http request option.
13320
+ * @throws {RequiredError}
13321
+ */
13322
+ deleteDeleteCallTariffId: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13323
+ // verify required parameter 'id' is not null or undefined
13324
+ assertParamExists('deleteDeleteCallTariffId', 'id', id)
13325
+ const localVarPath = `/billing/admin/callTariffPlan/callTariff/{id}`
13326
+ .replace('{id}', encodeURIComponent(String(id)));
13327
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13329
+ let baseOptions;
13330
+ if (configuration) {
13331
+ baseOptions = configuration.baseOptions;
13332
+ }
13333
+
13334
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
13335
+ const localVarHeaderParameter = {} as any;
13336
+ const localVarQueryParameter = {} as any;
13337
+
13338
+ localVarHeaderParameter['Accept'] = 'application/json';
13339
+
13340
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13341
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13342
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13343
+
13344
+ return {
13345
+ url: toPathString(localVarUrlObj),
13346
+ options: localVarRequestOptions,
13347
+ };
13348
+ },
13316
13349
  /**
13317
13350
  * Delete Base Service
13318
13351
  * @param {number} baseServiceId Base Service Plan ID
@@ -13731,11 +13764,11 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
13731
13764
  },
13732
13765
  /**
13733
13766
  * Get Customer
13734
- * @param {number} [billCustomerId] Customer ID
13767
+ * @param {string} [billCustomerId] Customer ID
13735
13768
  * @param {*} [options] Override http request option.
13736
13769
  * @throws {RequiredError}
13737
13770
  */
13738
- getGetBillingCustomerDetails: async (billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13771
+ getGetBillingCustomerDetails: async (billCustomerId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13739
13772
  const localVarPath = `/billing/customer/details`;
13740
13773
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13741
13774
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -15591,6 +15624,18 @@ export const BillingApiFp = function(configuration?: Configuration) {
15591
15624
  const localVarOperationServerBasePath = operationServerMap['BillingApi.deleteCloseAccount']?.[localVarOperationServerIndex]?.url;
15592
15625
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15593
15626
  },
15627
+ /**
15628
+ * Delete Call Tariff By ID
15629
+ * @param {number} id Call Tariff ID
15630
+ * @param {*} [options] Override http request option.
15631
+ * @throws {RequiredError}
15632
+ */
15633
+ async deleteDeleteCallTariffId(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
15634
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteCallTariffId(id, options);
15635
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15636
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.deleteDeleteCallTariffId']?.[localVarOperationServerIndex]?.url;
15637
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15638
+ },
15594
15639
  /**
15595
15640
  * Delete Base Service
15596
15641
  * @param {number} baseServiceId Base Service Plan ID
@@ -15737,11 +15782,11 @@ export const BillingApiFp = function(configuration?: Configuration) {
15737
15782
  },
15738
15783
  /**
15739
15784
  * Get Customer
15740
- * @param {number} [billCustomerId] Customer ID
15785
+ * @param {string} [billCustomerId] Customer ID
15741
15786
  * @param {*} [options] Override http request option.
15742
15787
  * @throws {RequiredError}
15743
15788
  */
15744
- async getGetBillingCustomerDetails(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>> {
15789
+ async getGetBillingCustomerDetails(billCustomerId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>> {
15745
15790
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetBillingCustomerDetails(billCustomerId, options);
15746
15791
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15747
15792
  const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetBillingCustomerDetails']?.[localVarOperationServerIndex]?.url;
@@ -16400,6 +16445,15 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
16400
16445
  deleteCloseAccount(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
16401
16446
  return localVarFp.deleteCloseAccount(billCustomerId, options).then((request) => request(axios, basePath));
16402
16447
  },
16448
+ /**
16449
+ * Delete Call Tariff By ID
16450
+ * @param {number} id Call Tariff ID
16451
+ * @param {*} [options] Override http request option.
16452
+ * @throws {RequiredError}
16453
+ */
16454
+ deleteDeleteCallTariffId(id: number, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
16455
+ return localVarFp.deleteDeleteCallTariffId(id, options).then((request) => request(axios, basePath));
16456
+ },
16403
16457
  /**
16404
16458
  * Delete Base Service
16405
16459
  * @param {number} baseServiceId Base Service Plan ID
@@ -16510,11 +16564,11 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
16510
16564
  },
16511
16565
  /**
16512
16566
  * Get Customer
16513
- * @param {number} [billCustomerId] Customer ID
16567
+ * @param {string} [billCustomerId] Customer ID
16514
16568
  * @param {*} [options] Override http request option.
16515
16569
  * @throws {RequiredError}
16516
16570
  */
16517
- getGetBillingCustomerDetails(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Customer> {
16571
+ getGetBillingCustomerDetails(billCustomerId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Customer> {
16518
16572
  return localVarFp.getGetBillingCustomerDetails(billCustomerId, options).then((request) => request(axios, basePath));
16519
16573
  },
16520
16574
  /**
@@ -17025,6 +17079,16 @@ export class BillingApi extends BaseAPI {
17025
17079
  return BillingApiFp(this.configuration).deleteCloseAccount(billCustomerId, options).then((request) => request(this.axios, this.basePath));
17026
17080
  }
17027
17081
 
17082
+ /**
17083
+ * Delete Call Tariff By ID
17084
+ * @param {number} id Call Tariff ID
17085
+ * @param {*} [options] Override http request option.
17086
+ * @throws {RequiredError}
17087
+ */
17088
+ public deleteDeleteCallTariffId(id: number, options?: RawAxiosRequestConfig) {
17089
+ return BillingApiFp(this.configuration).deleteDeleteCallTariffId(id, options).then((request) => request(this.axios, this.basePath));
17090
+ }
17091
+
17028
17092
  /**
17029
17093
  * Delete Base Service
17030
17094
  * @param {number} baseServiceId Base Service Plan ID
@@ -17147,11 +17211,11 @@ export class BillingApi extends BaseAPI {
17147
17211
 
17148
17212
  /**
17149
17213
  * Get Customer
17150
- * @param {number} [billCustomerId] Customer ID
17214
+ * @param {string} [billCustomerId] Customer ID
17151
17215
  * @param {*} [options] Override http request option.
17152
17216
  * @throws {RequiredError}
17153
17217
  */
17154
- public getGetBillingCustomerDetails(billCustomerId?: number, options?: RawAxiosRequestConfig) {
17218
+ public getGetBillingCustomerDetails(billCustomerId?: string, options?: RawAxiosRequestConfig) {
17155
17219
  return BillingApiFp(this.configuration).getGetBillingCustomerDetails(billCustomerId, options).then((request) => request(this.axios, this.basePath));
17156
17220
  }
17157
17221
 
package/dist/api.d.ts CHANGED
@@ -11257,6 +11257,13 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
11257
11257
  * @throws {RequiredError}
11258
11258
  */
11259
11259
  deleteCloseAccount: (billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11260
+ /**
11261
+ * Delete Call Tariff By ID
11262
+ * @param {number} id Call Tariff ID
11263
+ * @param {*} [options] Override http request option.
11264
+ * @throws {RequiredError}
11265
+ */
11266
+ deleteDeleteCallTariffId: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11260
11267
  /**
11261
11268
  * Delete Base Service
11262
11269
  * @param {number} baseServiceId Base Service Plan ID
@@ -11343,11 +11350,11 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
11343
11350
  getGetBaseServices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11344
11351
  /**
11345
11352
  * Get Customer
11346
- * @param {number} [billCustomerId] Customer ID
11353
+ * @param {string} [billCustomerId] Customer ID
11347
11354
  * @param {*} [options] Override http request option.
11348
11355
  * @throws {RequiredError}
11349
11356
  */
11350
- getGetBillingCustomerDetails: (billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11357
+ getGetBillingCustomerDetails: (billCustomerId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11351
11358
  /**
11352
11359
  * Get Bundle Calls With Cost
11353
11360
  * @param {*} [options] Override http request option.
@@ -11744,6 +11751,13 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
11744
11751
  * @throws {RequiredError}
11745
11752
  */
11746
11753
  deleteCloseAccount(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
11754
+ /**
11755
+ * Delete Call Tariff By ID
11756
+ * @param {number} id Call Tariff ID
11757
+ * @param {*} [options] Override http request option.
11758
+ * @throws {RequiredError}
11759
+ */
11760
+ deleteDeleteCallTariffId(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
11747
11761
  /**
11748
11762
  * Delete Base Service
11749
11763
  * @param {number} baseServiceId Base Service Plan ID
@@ -11834,11 +11848,11 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
11834
11848
  getGetBaseServices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BaseService>>>;
11835
11849
  /**
11836
11850
  * Get Customer
11837
- * @param {number} [billCustomerId] Customer ID
11851
+ * @param {string} [billCustomerId] Customer ID
11838
11852
  * @param {*} [options] Override http request option.
11839
11853
  * @throws {RequiredError}
11840
11854
  */
11841
- getGetBillingCustomerDetails(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
11855
+ getGetBillingCustomerDetails(billCustomerId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
11842
11856
  /**
11843
11857
  * Get Bundle Calls With Cost
11844
11858
  * @param {*} [options] Override http request option.
@@ -12235,6 +12249,13 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
12235
12249
  * @throws {RequiredError}
12236
12250
  */
12237
12251
  deleteCloseAccount(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<number>;
12252
+ /**
12253
+ * Delete Call Tariff By ID
12254
+ * @param {number} id Call Tariff ID
12255
+ * @param {*} [options] Override http request option.
12256
+ * @throws {RequiredError}
12257
+ */
12258
+ deleteDeleteCallTariffId(id: number, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
12238
12259
  /**
12239
12260
  * Delete Base Service
12240
12261
  * @param {number} baseServiceId Base Service Plan ID
@@ -12325,11 +12346,11 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
12325
12346
  getGetBaseServices(options?: RawAxiosRequestConfig): AxiosPromise<Array<BaseService>>;
12326
12347
  /**
12327
12348
  * Get Customer
12328
- * @param {number} [billCustomerId] Customer ID
12349
+ * @param {string} [billCustomerId] Customer ID
12329
12350
  * @param {*} [options] Override http request option.
12330
12351
  * @throws {RequiredError}
12331
12352
  */
12332
- getGetBillingCustomerDetails(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
12353
+ getGetBillingCustomerDetails(billCustomerId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
12333
12354
  /**
12334
12355
  * Get Bundle Calls With Cost
12335
12356
  * @param {*} [options] Override http request option.
@@ -12726,6 +12747,13 @@ export declare class BillingApi extends BaseAPI {
12726
12747
  * @throws {RequiredError}
12727
12748
  */
12728
12749
  deleteCloseAccount(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
12750
+ /**
12751
+ * Delete Call Tariff By ID
12752
+ * @param {number} id Call Tariff ID
12753
+ * @param {*} [options] Override http request option.
12754
+ * @throws {RequiredError}
12755
+ */
12756
+ deleteDeleteCallTariffId(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any, {}>>;
12729
12757
  /**
12730
12758
  * Delete Base Service
12731
12759
  * @param {number} baseServiceId Base Service Plan ID
@@ -12816,11 +12844,11 @@ export declare class BillingApi extends BaseAPI {
12816
12844
  getGetBaseServices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseService[], any, {}>>;
12817
12845
  /**
12818
12846
  * Get Customer
12819
- * @param {number} [billCustomerId] Customer ID
12847
+ * @param {string} [billCustomerId] Customer ID
12820
12848
  * @param {*} [options] Override http request option.
12821
12849
  * @throws {RequiredError}
12822
12850
  */
12823
- getGetBillingCustomerDetails(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any, {}>>;
12851
+ getGetBillingCustomerDetails(billCustomerId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any, {}>>;
12824
12852
  /**
12825
12853
  * Get Bundle Calls With Cost
12826
12854
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -4748,6 +4748,43 @@ var BillingApiAxiosParamCreator = function (configuration) {
4748
4748
  });
4749
4749
  });
4750
4750
  },
4751
+ /**
4752
+ * Delete Call Tariff By ID
4753
+ * @param {number} id Call Tariff ID
4754
+ * @param {*} [options] Override http request option.
4755
+ * @throws {RequiredError}
4756
+ */
4757
+ deleteDeleteCallTariffId: function (id_1) {
4758
+ var args_1 = [];
4759
+ for (var _i = 1; _i < arguments.length; _i++) {
4760
+ args_1[_i - 1] = arguments[_i];
4761
+ }
4762
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
4763
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4764
+ if (options === void 0) { options = {}; }
4765
+ return __generator(this, function (_a) {
4766
+ // verify required parameter 'id' is not null or undefined
4767
+ (0, common_1.assertParamExists)('deleteDeleteCallTariffId', 'id', id);
4768
+ localVarPath = "/billing/admin/callTariffPlan/callTariff/{id}"
4769
+ .replace('{id}', encodeURIComponent(String(id)));
4770
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4771
+ if (configuration) {
4772
+ baseOptions = configuration.baseOptions;
4773
+ }
4774
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
4775
+ localVarHeaderParameter = {};
4776
+ localVarQueryParameter = {};
4777
+ localVarHeaderParameter['Accept'] = 'application/json';
4778
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4779
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4780
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4781
+ return [2 /*return*/, {
4782
+ url: (0, common_1.toPathString)(localVarUrlObj),
4783
+ options: localVarRequestOptions,
4784
+ }];
4785
+ });
4786
+ });
4787
+ },
4751
4788
  /**
4752
4789
  * Delete Base Service
4753
4790
  * @param {number} baseServiceId Base Service Plan ID
@@ -5203,7 +5240,7 @@ var BillingApiAxiosParamCreator = function (configuration) {
5203
5240
  },
5204
5241
  /**
5205
5242
  * Get Customer
5206
- * @param {number} [billCustomerId] Customer ID
5243
+ * @param {string} [billCustomerId] Customer ID
5207
5244
  * @param {*} [options] Override http request option.
5208
5245
  * @throws {RequiredError}
5209
5246
  */
@@ -7260,6 +7297,28 @@ var BillingApiFp = function (configuration) {
7260
7297
  });
7261
7298
  });
7262
7299
  },
7300
+ /**
7301
+ * Delete Call Tariff By ID
7302
+ * @param {number} id Call Tariff ID
7303
+ * @param {*} [options] Override http request option.
7304
+ * @throws {RequiredError}
7305
+ */
7306
+ deleteDeleteCallTariffId: function (id, options) {
7307
+ return __awaiter(this, void 0, void 0, function () {
7308
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7309
+ var _a, _b, _c;
7310
+ return __generator(this, function (_d) {
7311
+ switch (_d.label) {
7312
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteDeleteCallTariffId(id, options)];
7313
+ case 1:
7314
+ localVarAxiosArgs = _d.sent();
7315
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7316
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.deleteDeleteCallTariffId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7317
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7318
+ }
7319
+ });
7320
+ });
7321
+ },
7263
7322
  /**
7264
7323
  * Delete Base Service
7265
7324
  * @param {number} baseServiceId Base Service Plan ID
@@ -7526,7 +7585,7 @@ var BillingApiFp = function (configuration) {
7526
7585
  },
7527
7586
  /**
7528
7587
  * Get Customer
7529
- * @param {number} [billCustomerId] Customer ID
7588
+ * @param {string} [billCustomerId] Customer ID
7530
7589
  * @param {*} [options] Override http request option.
7531
7590
  * @throws {RequiredError}
7532
7591
  */
@@ -8689,6 +8748,15 @@ var BillingApiFactory = function (configuration, basePath, axios) {
8689
8748
  deleteCloseAccount: function (billCustomerId, options) {
8690
8749
  return localVarFp.deleteCloseAccount(billCustomerId, options).then(function (request) { return request(axios, basePath); });
8691
8750
  },
8751
+ /**
8752
+ * Delete Call Tariff By ID
8753
+ * @param {number} id Call Tariff ID
8754
+ * @param {*} [options] Override http request option.
8755
+ * @throws {RequiredError}
8756
+ */
8757
+ deleteDeleteCallTariffId: function (id, options) {
8758
+ return localVarFp.deleteDeleteCallTariffId(id, options).then(function (request) { return request(axios, basePath); });
8759
+ },
8692
8760
  /**
8693
8761
  * Delete Base Service
8694
8762
  * @param {number} baseServiceId Base Service Plan ID
@@ -8799,7 +8867,7 @@ var BillingApiFactory = function (configuration, basePath, axios) {
8799
8867
  },
8800
8868
  /**
8801
8869
  * Get Customer
8802
- * @param {number} [billCustomerId] Customer ID
8870
+ * @param {string} [billCustomerId] Customer ID
8803
8871
  * @param {*} [options] Override http request option.
8804
8872
  * @throws {RequiredError}
8805
8873
  */
@@ -9318,6 +9386,16 @@ var BillingApi = /** @class */ (function (_super) {
9318
9386
  var _this = this;
9319
9387
  return (0, exports.BillingApiFp)(this.configuration).deleteCloseAccount(billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9320
9388
  };
9389
+ /**
9390
+ * Delete Call Tariff By ID
9391
+ * @param {number} id Call Tariff ID
9392
+ * @param {*} [options] Override http request option.
9393
+ * @throws {RequiredError}
9394
+ */
9395
+ BillingApi.prototype.deleteDeleteCallTariffId = function (id, options) {
9396
+ var _this = this;
9397
+ return (0, exports.BillingApiFp)(this.configuration).deleteDeleteCallTariffId(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
9398
+ };
9321
9399
  /**
9322
9400
  * Delete Base Service
9323
9401
  * @param {number} baseServiceId Base Service Plan ID
@@ -9440,7 +9518,7 @@ var BillingApi = /** @class */ (function (_super) {
9440
9518
  };
9441
9519
  /**
9442
9520
  * Get Customer
9443
- * @param {number} [billCustomerId] Customer ID
9521
+ * @param {string} [billCustomerId] Customer ID
9444
9522
  * @param {*} [options] Override http request option.
9445
9523
  * @throws {RequiredError}
9446
9524
  */
@@ -8,6 +8,7 @@ All URIs are relative to *https://bitbucket.org*
8
8
  |[**deleteAddRecurringCharge**](#deleteaddrecurringcharge) | **DELETE** /billing/customer/recurringCharges | |
9
9
  |[**deleteAddServiceToServicePlan**](#deleteaddservicetoserviceplan) | **DELETE** /billing/admin/servicePlan/service | |
10
10
  |[**deleteCloseAccount**](#deletecloseaccount) | **DELETE** /billing/customer/customer | |
11
+ |[**deleteDeleteCallTariffId**](#deletedeletecalltariffid) | **DELETE** /billing/admin/callTariffPlan/callTariff/{id} | |
11
12
  |[**deleteGetBaseServices**](#deletegetbaseservices) | **DELETE** /billing/admin/baseServices | |
12
13
  |[**deleteGetCallTariffPlan**](#deletegetcalltariffplan) | **DELETE** /billing/admin/callTariffPlan | |
13
14
  |[**deleteGetPriceGroups**](#deletegetpricegroups) | **DELETE** /billing/admin/priceGroups | |
@@ -293,6 +294,60 @@ No authorization required
293
294
 
294
295
  [[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)
295
296
 
297
+ # **deleteDeleteCallTariffId**
298
+ > boolean deleteDeleteCallTariffId()
299
+
300
+ Delete Call Tariff By ID
301
+
302
+ ### Example
303
+
304
+ ```typescript
305
+ import {
306
+ BillingApi,
307
+ Configuration
308
+ } from 'yellowgrid-api-ts';
309
+
310
+ const configuration = new Configuration();
311
+ const apiInstance = new BillingApi(configuration);
312
+
313
+ let id: number; //Call Tariff ID (default to undefined)
314
+
315
+ const { status, data } = await apiInstance.deleteDeleteCallTariffId(
316
+ id
317
+ );
318
+ ```
319
+
320
+ ### Parameters
321
+
322
+ |Name | Type | Description | Notes|
323
+ |------------- | ------------- | ------------- | -------------|
324
+ | **id** | [**number**] | Call Tariff ID | defaults to undefined|
325
+
326
+
327
+ ### Return type
328
+
329
+ **boolean**
330
+
331
+ ### Authorization
332
+
333
+ No authorization required
334
+
335
+ ### HTTP request headers
336
+
337
+ - **Content-Type**: Not defined
338
+ - **Accept**: application/json
339
+
340
+
341
+ ### HTTP response details
342
+ | Status code | Description | Response headers |
343
+ |-------------|-------------|------------------|
344
+ |**200** | Successful | - |
345
+ |**400** | Bad Request | - |
346
+ |**401** | Unauthorised | - |
347
+ |**403** | Access Denied | - |
348
+
349
+ [[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)
350
+
296
351
  # **deleteGetBaseServices**
297
352
  > boolean deleteGetBaseServices()
298
353
 
@@ -946,7 +1001,7 @@ import {
946
1001
  const configuration = new Configuration();
947
1002
  const apiInstance = new BillingApi(configuration);
948
1003
 
949
- let billCustomerId: number; //Customer ID (optional) (default to undefined)
1004
+ let billCustomerId: string; //Customer ID (optional) (default to undefined)
950
1005
 
951
1006
  const { status, data } = await apiInstance.getGetBillingCustomerDetails(
952
1007
  billCustomerId
@@ -957,7 +1012,7 @@ const { status, data } = await apiInstance.getGetBillingCustomerDetails(
957
1012
 
958
1013
  |Name | Type | Description | Notes|
959
1014
  |------------- | ------------- | ------------- | -------------|
960
- | **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
1015
+ | **billCustomerId** | [**string**] | Customer ID | (optional) defaults to undefined|
961
1016
 
962
1017
 
963
1018
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.261",
3
+ "version": "3.2.263",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {