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/api.ts CHANGED
@@ -2138,6 +2138,37 @@ export interface CallTariffPlan {
2138
2138
  */
2139
2139
  'closed'?: boolean;
2140
2140
  }
2141
+ /**
2142
+ *
2143
+ * @export
2144
+ * @interface CallTariffResponse
2145
+ */
2146
+ export interface CallTariffResponse {
2147
+ /**
2148
+ *
2149
+ * @type {number}
2150
+ * @memberof CallTariffResponse
2151
+ */
2152
+ 'id'?: number;
2153
+ /**
2154
+ *
2155
+ * @type {number}
2156
+ * @memberof CallTariffResponse
2157
+ */
2158
+ 'priceGroupId'?: number;
2159
+ /**
2160
+ *
2161
+ * @type {PriceGroupResponse}
2162
+ * @memberof CallTariffResponse
2163
+ */
2164
+ 'priceGroup'?: PriceGroupResponse;
2165
+ /**
2166
+ *
2167
+ * @type {TariffRate}
2168
+ * @memberof CallTariffResponse
2169
+ */
2170
+ 'tariffRate'?: TariffRate;
2171
+ }
2141
2172
  /**
2142
2173
  *
2143
2174
  * @export
@@ -2544,6 +2575,67 @@ export interface CompanyContractModel {
2544
2575
  */
2545
2576
  'timeRemaining'?: string;
2546
2577
  }
2578
+ /**
2579
+ *
2580
+ * @export
2581
+ * @interface ConnectionRequest
2582
+ */
2583
+ export interface ConnectionRequest {
2584
+ /**
2585
+ *
2586
+ * @type {number}
2587
+ * @memberof ConnectionRequest
2588
+ */
2589
+ 'customerId': number;
2590
+ /**
2591
+ *
2592
+ * @type {string}
2593
+ * @memberof ConnectionRequest
2594
+ */
2595
+ 'reference': string | null;
2596
+ /**
2597
+ *
2598
+ * @type {string}
2599
+ * @memberof ConnectionRequest
2600
+ */
2601
+ 'connectionDate': string;
2602
+ /**
2603
+ *
2604
+ * @type {number}
2605
+ * @memberof ConnectionRequest
2606
+ */
2607
+ 'servicePlanId': number;
2608
+ /**
2609
+ *
2610
+ * @type {boolean}
2611
+ * @memberof ConnectionRequest
2612
+ */
2613
+ 'zeroRated'?: boolean | null;
2614
+ /**
2615
+ *
2616
+ * @type {number}
2617
+ * @memberof ConnectionRequest
2618
+ */
2619
+ 'callTariffPlanId'?: number | null;
2620
+ /**
2621
+ *
2622
+ * @type {number}
2623
+ * @memberof ConnectionRequest
2624
+ */
2625
+ 'inboundTariffPlanId'?: number | null;
2626
+ /**
2627
+ *
2628
+ * @type {string}
2629
+ * @memberof ConnectionRequest
2630
+ */
2631
+ 'invoiceDescription'?: string | null;
2632
+ /**
2633
+ *
2634
+ * @type {MultiTenantSipTrunkRequest}
2635
+ * @memberof ConnectionRequest
2636
+ */
2637
+ 'mtSipTrunkRequest'?: MultiTenantSipTrunkRequest;
2638
+ }
2547
2639
  /**
2548
2640
  *
2549
2641
  * @export
@@ -5338,6 +5430,43 @@ export interface InboundTariffPlan {
5338
5430
  */
5339
5431
  'closed'?: boolean;
5340
5432
  }
5433
+ /**
5434
+ *
5435
+ * @export
5436
+ * @interface InboundTariffPlanResponse
5437
+ */
5438
+ export interface InboundTariffPlanResponse {
5439
+ /**
5440
+ *
5441
+ * @type {number}
5442
+ * @memberof InboundTariffPlanResponse
5443
+ */
5444
+ 'id'?: number;
5445
+ /**
5446
+ *
5447
+ * @type {string}
5448
+ * @memberof InboundTariffPlanResponse
5449
+ */
5450
+ 'name'?: string | null;
5451
+ /**
5452
+ *
5453
+ * @type {TariffRate}
5454
+ * @memberof InboundTariffPlanResponse
5455
+ */
5456
+ 'rate'?: TariffRate;
5457
+ /**
5458
+ *
5459
+ * @type {Array<CallTariffResponse>}
5460
+ * @memberof InboundTariffPlanResponse
5461
+ */
5462
+ 'callTariffs'?: Array<CallTariffResponse> | null;
5463
+ /**
5464
+ *
5465
+ * @type {boolean}
5466
+ * @memberof InboundTariffPlanResponse
5467
+ */
5468
+ 'closed'?: boolean;
5469
+ }
5341
5470
  /**
5342
5471
  * Installation Passwords
5343
5472
  * @export
@@ -6321,6 +6450,25 @@ export const MultiTenantChangeResponseModelTypeEnum = {
6321
6450
 
6322
6451
  export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
6323
6452
 
6453
+ /**
6454
+ *
6455
+ * @export
6456
+ * @interface MultiTenantSipTrunkRequest
6457
+ */
6458
+ export interface MultiTenantSipTrunkRequest {
6459
+ /**
6460
+ *
6461
+ * @type {boolean}
6462
+ * @memberof MultiTenantSipTrunkRequest
6463
+ */
6464
+ 'isPrimary': boolean;
6465
+ /**
6466
+ *
6467
+ * @type {number}
6468
+ * @memberof MultiTenantSipTrunkRequest
6469
+ */
6470
+ 'mtPrimarySipTrunkId'?: number | null;
6471
+ }
6324
6472
  /**
6325
6473
  * Navigation Endpoint
6326
6474
  * @export
@@ -9219,6 +9367,31 @@ export interface PriceGroup {
9219
9367
  */
9220
9368
  'filePeriod'?: string | null;
9221
9369
  }
9370
+ /**
9371
+ *
9372
+ * @export
9373
+ * @interface PriceGroupResponse
9374
+ */
9375
+ export interface PriceGroupResponse {
9376
+ /**
9377
+ *
9378
+ * @type {number}
9379
+ * @memberof PriceGroupResponse
9380
+ */
9381
+ 'id'?: number;
9382
+ /**
9383
+ *
9384
+ * @type {string}
9385
+ * @memberof PriceGroupResponse
9386
+ */
9387
+ 'name'?: string | null;
9388
+ /**
9389
+ *
9390
+ * @type {string}
9391
+ * @memberof PriceGroupResponse
9392
+ */
9393
+ 'description'?: string | null;
9394
+ }
9222
9395
  /**
9223
9396
  * Price & Stock List
9224
9397
  * @export
@@ -20558,6 +20731,35 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
20558
20731
 
20559
20732
 
20560
20733
 
20734
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20735
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20736
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20737
+
20738
+ return {
20739
+ url: toPathString(localVarUrlObj),
20740
+ options: localVarRequestOptions,
20741
+ };
20742
+ },
20743
+ /**
20744
+ * Get Call Tariffs Detailed
20745
+ * @param {*} [options] Override http request option.
20746
+ * @throws {RequiredError}
20747
+ */
20748
+ getGetCallTariffsDetails: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20749
+ const localVarPath = `/billing/admin/callTariffs/details`;
20750
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20751
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20752
+ let baseOptions;
20753
+ if (configuration) {
20754
+ baseOptions = configuration.baseOptions;
20755
+ }
20756
+
20757
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20758
+ const localVarHeaderParameter = {} as any;
20759
+ const localVarQueryParameter = {} as any;
20760
+
20761
+
20762
+
20561
20763
  setSearchParams(localVarUrlObj, localVarQueryParameter);
20562
20764
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20563
20765
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20704,6 +20906,35 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
20704
20906
 
20705
20907
 
20706
20908
 
20909
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20910
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20911
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20912
+
20913
+ return {
20914
+ url: toPathString(localVarUrlObj),
20915
+ options: localVarRequestOptions,
20916
+ };
20917
+ },
20918
+ /**
20919
+ * Get Inbound Tariffs Detailed
20920
+ * @param {*} [options] Override http request option.
20921
+ * @throws {RequiredError}
20922
+ */
20923
+ getGetInboundTariffsDetails: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20924
+ const localVarPath = `/billing/admin/inboundTariffs/details`;
20925
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20926
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20927
+ let baseOptions;
20928
+ if (configuration) {
20929
+ baseOptions = configuration.baseOptions;
20930
+ }
20931
+
20932
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20933
+ const localVarHeaderParameter = {} as any;
20934
+ const localVarQueryParameter = {} as any;
20935
+
20936
+
20937
+
20707
20938
  setSearchParams(localVarUrlObj, localVarQueryParameter);
20708
20939
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20709
20940
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20798,6 +21029,35 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
20798
21029
 
20799
21030
 
20800
21031
 
21032
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21033
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21034
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21035
+
21036
+ return {
21037
+ url: toPathString(localVarUrlObj),
21038
+ options: localVarRequestOptions,
21039
+ };
21040
+ },
21041
+ /**
21042
+ * Get Service Plans Detailed
21043
+ * @param {*} [options] Override http request option.
21044
+ * @throws {RequiredError}
21045
+ */
21046
+ getGetServicesPlanDetails: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21047
+ const localVarPath = `/billing/admin/servicePlans/details`;
21048
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21049
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21050
+ let baseOptions;
21051
+ if (configuration) {
21052
+ baseOptions = configuration.baseOptions;
21053
+ }
21054
+
21055
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21056
+ const localVarHeaderParameter = {} as any;
21057
+ const localVarQueryParameter = {} as any;
21058
+
21059
+
21060
+
20801
21061
  setSearchParams(localVarUrlObj, localVarQueryParameter);
20802
21062
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20803
21063
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -21312,6 +21572,44 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
21312
21572
  options: localVarRequestOptions,
21313
21573
  };
21314
21574
  },
21575
+ /**
21576
+ * Add Connection
21577
+ * @param {number} [billCustomerId] Customer ID
21578
+ * @param {ConnectionRequest} [connectionRequest]
21579
+ * @param {*} [options] Override http request option.
21580
+ * @throws {RequiredError}
21581
+ */
21582
+ postGetConnections: async (billCustomerId?: number, connectionRequest?: ConnectionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21583
+ const localVarPath = `/billing/customer/connections`;
21584
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21585
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21586
+ let baseOptions;
21587
+ if (configuration) {
21588
+ baseOptions = configuration.baseOptions;
21589
+ }
21590
+
21591
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
21592
+ const localVarHeaderParameter = {} as any;
21593
+ const localVarQueryParameter = {} as any;
21594
+
21595
+ if (billCustomerId !== undefined) {
21596
+ localVarQueryParameter['billCustomerId'] = billCustomerId;
21597
+ }
21598
+
21599
+
21600
+
21601
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21602
+
21603
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21604
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21605
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21606
+ localVarRequestOptions.data = serializeDataIfNeeded(connectionRequest, localVarRequestOptions, configuration)
21607
+
21608
+ return {
21609
+ url: toPathString(localVarUrlObj),
21610
+ options: localVarRequestOptions,
21611
+ };
21612
+ },
21315
21613
  /**
21316
21614
  * Add Price Group
21317
21615
  * @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
@@ -21931,6 +22229,51 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
21931
22229
  options: localVarRequestOptions,
21932
22230
  };
21933
22231
  },
22232
+ /**
22233
+ * Update Connection
22234
+ * @param {number} connectionId Connection ID
22235
+ * @param {number} [billCustomerId] Customer ID
22236
+ * @param {ConnectionRequest} [connectionRequest]
22237
+ * @param {*} [options] Override http request option.
22238
+ * @throws {RequiredError}
22239
+ */
22240
+ putGetConnections: async (connectionId: number, billCustomerId?: number, connectionRequest?: ConnectionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22241
+ // verify required parameter 'connectionId' is not null or undefined
22242
+ assertParamExists('putGetConnections', 'connectionId', connectionId)
22243
+ const localVarPath = `/billing/customer/connections`;
22244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22246
+ let baseOptions;
22247
+ if (configuration) {
22248
+ baseOptions = configuration.baseOptions;
22249
+ }
22250
+
22251
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
22252
+ const localVarHeaderParameter = {} as any;
22253
+ const localVarQueryParameter = {} as any;
22254
+
22255
+ if (billCustomerId !== undefined) {
22256
+ localVarQueryParameter['billCustomerId'] = billCustomerId;
22257
+ }
22258
+
22259
+ if (connectionId !== undefined) {
22260
+ localVarQueryParameter['connectionId'] = connectionId;
22261
+ }
22262
+
22263
+
22264
+
22265
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22266
+
22267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22270
+ localVarRequestOptions.data = serializeDataIfNeeded(connectionRequest, localVarRequestOptions, configuration)
22271
+
22272
+ return {
22273
+ url: toPathString(localVarUrlObj),
22274
+ options: localVarRequestOptions,
22275
+ };
22276
+ },
21934
22277
  /**
21935
22278
  * Update Price Group
21936
22279
  * @param {number} priceGroupId Price Group ID
@@ -22249,6 +22592,17 @@ export const BillingApiFp = function(configuration?: Configuration) {
22249
22592
  const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetCallTariffs']?.[localVarOperationServerIndex]?.url;
22250
22593
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22251
22594
  },
22595
+ /**
22596
+ * Get Call Tariffs Detailed
22597
+ * @param {*} [options] Override http request option.
22598
+ * @throws {RequiredError}
22599
+ */
22600
+ async getGetCallTariffsDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CallTariffPlan>>> {
22601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCallTariffsDetails(options);
22602
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22603
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetCallTariffsDetails']?.[localVarOperationServerIndex]?.url;
22604
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22605
+ },
22252
22606
  /**
22253
22607
  * Get Children
22254
22608
  * @param {number} [billCustomerId] Customer ID
@@ -22299,6 +22653,17 @@ export const BillingApiFp = function(configuration?: Configuration) {
22299
22653
  const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetInboundTariffs']?.[localVarOperationServerIndex]?.url;
22300
22654
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22301
22655
  },
22656
+ /**
22657
+ * Get Inbound Tariffs Detailed
22658
+ * @param {*} [options] Override http request option.
22659
+ * @throws {RequiredError}
22660
+ */
22661
+ async getGetInboundTariffsDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InboundTariffPlanResponse>>> {
22662
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetInboundTariffsDetails(options);
22663
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22664
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetInboundTariffsDetails']?.[localVarOperationServerIndex]?.url;
22665
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22666
+ },
22302
22667
  /**
22303
22668
  * Get Price Groups
22304
22669
  * @param {*} [options] Override http request option.
@@ -22333,6 +22698,17 @@ export const BillingApiFp = function(configuration?: Configuration) {
22333
22698
  const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetServicePlans']?.[localVarOperationServerIndex]?.url;
22334
22699
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22335
22700
  },
22701
+ /**
22702
+ * Get Service Plans Detailed
22703
+ * @param {*} [options] Override http request option.
22704
+ * @throws {RequiredError}
22705
+ */
22706
+ async getGetServicesPlanDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicePlan>>> {
22707
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetServicesPlanDetails(options);
22708
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22709
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetServicesPlanDetails']?.[localVarOperationServerIndex]?.url;
22710
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22711
+ },
22336
22712
  /**
22337
22713
  * Get SIP Trunk List
22338
22714
  * @param {number} [billCustomerId] Customer ID
@@ -22505,6 +22881,19 @@ export const BillingApiFp = function(configuration?: Configuration) {
22505
22881
  const localVarOperationServerBasePath = operationServerMap['BillingApi.postGetCallTariffPlan']?.[localVarOperationServerIndex]?.url;
22506
22882
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22507
22883
  },
22884
+ /**
22885
+ * Add Connection
22886
+ * @param {number} [billCustomerId] Customer ID
22887
+ * @param {ConnectionRequest} [connectionRequest]
22888
+ * @param {*} [options] Override http request option.
22889
+ * @throws {RequiredError}
22890
+ */
22891
+ async postGetConnections(billCustomerId?: number, connectionRequest?: ConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundCli>> {
22892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetConnections(billCustomerId, connectionRequest, options);
22893
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22894
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.postGetConnections']?.[localVarOperationServerIndex]?.url;
22895
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22896
+ },
22508
22897
  /**
22509
22898
  * Add Price Group
22510
22899
  * @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
@@ -22708,6 +23097,20 @@ export const BillingApiFp = function(configuration?: Configuration) {
22708
23097
  const localVarOperationServerBasePath = operationServerMap['BillingApi.putGetCallTariffPlan']?.[localVarOperationServerIndex]?.url;
22709
23098
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22710
23099
  },
23100
+ /**
23101
+ * Update Connection
23102
+ * @param {number} connectionId Connection ID
23103
+ * @param {number} [billCustomerId] Customer ID
23104
+ * @param {ConnectionRequest} [connectionRequest]
23105
+ * @param {*} [options] Override http request option.
23106
+ * @throws {RequiredError}
23107
+ */
23108
+ async putGetConnections(connectionId: number, billCustomerId?: number, connectionRequest?: ConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundCli>> {
23109
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putGetConnections(connectionId, billCustomerId, connectionRequest, options);
23110
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23111
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.putGetConnections']?.[localVarOperationServerIndex]?.url;
23112
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23113
+ },
22711
23114
  /**
22712
23115
  * Update Price Group
22713
23116
  * @param {number} priceGroupId Price Group ID
@@ -22931,6 +23334,14 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
22931
23334
  getGetCallTariffs(options?: RawAxiosRequestConfig): AxiosPromise<Array<CallTariffPlan>> {
22932
23335
  return localVarFp.getGetCallTariffs(options).then((request) => request(axios, basePath));
22933
23336
  },
23337
+ /**
23338
+ * Get Call Tariffs Detailed
23339
+ * @param {*} [options] Override http request option.
23340
+ * @throws {RequiredError}
23341
+ */
23342
+ getGetCallTariffsDetails(options?: RawAxiosRequestConfig): AxiosPromise<Array<CallTariffPlan>> {
23343
+ return localVarFp.getGetCallTariffsDetails(options).then((request) => request(axios, basePath));
23344
+ },
22934
23345
  /**
22935
23346
  * Get Children
22936
23347
  * @param {number} [billCustomerId] Customer ID
@@ -22969,6 +23380,14 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
22969
23380
  getGetInboundTariffs(options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
22970
23381
  return localVarFp.getGetInboundTariffs(options).then((request) => request(axios, basePath));
22971
23382
  },
23383
+ /**
23384
+ * Get Inbound Tariffs Detailed
23385
+ * @param {*} [options] Override http request option.
23386
+ * @throws {RequiredError}
23387
+ */
23388
+ getGetInboundTariffsDetails(options?: RawAxiosRequestConfig): AxiosPromise<Array<InboundTariffPlanResponse>> {
23389
+ return localVarFp.getGetInboundTariffsDetails(options).then((request) => request(axios, basePath));
23390
+ },
22972
23391
  /**
22973
23392
  * Get Price Groups
22974
23393
  * @param {*} [options] Override http request option.
@@ -22994,6 +23413,14 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
22994
23413
  getGetServicePlans(options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>> {
22995
23414
  return localVarFp.getGetServicePlans(options).then((request) => request(axios, basePath));
22996
23415
  },
23416
+ /**
23417
+ * Get Service Plans Detailed
23418
+ * @param {*} [options] Override http request option.
23419
+ * @throws {RequiredError}
23420
+ */
23421
+ getGetServicesPlanDetails(options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>> {
23422
+ return localVarFp.getGetServicesPlanDetails(options).then((request) => request(axios, basePath));
23423
+ },
22997
23424
  /**
22998
23425
  * Get SIP Trunk List
22999
23426
  * @param {number} [billCustomerId] Customer ID
@@ -23124,6 +23551,16 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
23124
23551
  postGetCallTariffPlan(putGetCallTariffPlanRequest: PutGetCallTariffPlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CallTariffPlan> {
23125
23552
  return localVarFp.postGetCallTariffPlan(putGetCallTariffPlanRequest, options).then((request) => request(axios, basePath));
23126
23553
  },
23554
+ /**
23555
+ * Add Connection
23556
+ * @param {number} [billCustomerId] Customer ID
23557
+ * @param {ConnectionRequest} [connectionRequest]
23558
+ * @param {*} [options] Override http request option.
23559
+ * @throws {RequiredError}
23560
+ */
23561
+ postGetConnections(billCustomerId?: number, connectionRequest?: ConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OutboundCli> {
23562
+ return localVarFp.postGetConnections(billCustomerId, connectionRequest, options).then((request) => request(axios, basePath));
23563
+ },
23127
23564
  /**
23128
23565
  * Add Price Group
23129
23566
  * @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
@@ -23279,6 +23716,17 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
23279
23716
  putGetCallTariffPlan(callTariffPlanId: number, putGetCallTariffPlanRequest: PutGetCallTariffPlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<CallTariffPlan> {
23280
23717
  return localVarFp.putGetCallTariffPlan(callTariffPlanId, putGetCallTariffPlanRequest, options).then((request) => request(axios, basePath));
23281
23718
  },
23719
+ /**
23720
+ * Update Connection
23721
+ * @param {number} connectionId Connection ID
23722
+ * @param {number} [billCustomerId] Customer ID
23723
+ * @param {ConnectionRequest} [connectionRequest]
23724
+ * @param {*} [options] Override http request option.
23725
+ * @throws {RequiredError}
23726
+ */
23727
+ putGetConnections(connectionId: number, billCustomerId?: number, connectionRequest?: ConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<OutboundCli> {
23728
+ return localVarFp.putGetConnections(connectionId, billCustomerId, connectionRequest, options).then((request) => request(axios, basePath));
23729
+ },
23282
23730
  /**
23283
23731
  * Update Price Group
23284
23732
  * @param {number} priceGroupId Price Group ID
@@ -23543,6 +23991,16 @@ export class BillingApi extends BaseAPI {
23543
23991
  return BillingApiFp(this.configuration).getGetCallTariffs(options).then((request) => request(this.axios, this.basePath));
23544
23992
  }
23545
23993
 
23994
+ /**
23995
+ * Get Call Tariffs Detailed
23996
+ * @param {*} [options] Override http request option.
23997
+ * @throws {RequiredError}
23998
+ * @memberof BillingApi
23999
+ */
24000
+ public getGetCallTariffsDetails(options?: RawAxiosRequestConfig) {
24001
+ return BillingApiFp(this.configuration).getGetCallTariffsDetails(options).then((request) => request(this.axios, this.basePath));
24002
+ }
24003
+
23546
24004
  /**
23547
24005
  * Get Children
23548
24006
  * @param {number} [billCustomerId] Customer ID
@@ -23589,6 +24047,16 @@ export class BillingApi extends BaseAPI {
23589
24047
  return BillingApiFp(this.configuration).getGetInboundTariffs(options).then((request) => request(this.axios, this.basePath));
23590
24048
  }
23591
24049
 
24050
+ /**
24051
+ * Get Inbound Tariffs Detailed
24052
+ * @param {*} [options] Override http request option.
24053
+ * @throws {RequiredError}
24054
+ * @memberof BillingApi
24055
+ */
24056
+ public getGetInboundTariffsDetails(options?: RawAxiosRequestConfig) {
24057
+ return BillingApiFp(this.configuration).getGetInboundTariffsDetails(options).then((request) => request(this.axios, this.basePath));
24058
+ }
24059
+
23592
24060
  /**
23593
24061
  * Get Price Groups
23594
24062
  * @param {*} [options] Override http request option.
@@ -23620,6 +24088,16 @@ export class BillingApi extends BaseAPI {
23620
24088
  return BillingApiFp(this.configuration).getGetServicePlans(options).then((request) => request(this.axios, this.basePath));
23621
24089
  }
23622
24090
 
24091
+ /**
24092
+ * Get Service Plans Detailed
24093
+ * @param {*} [options] Override http request option.
24094
+ * @throws {RequiredError}
24095
+ * @memberof BillingApi
24096
+ */
24097
+ public getGetServicesPlanDetails(options?: RawAxiosRequestConfig) {
24098
+ return BillingApiFp(this.configuration).getGetServicesPlanDetails(options).then((request) => request(this.axios, this.basePath));
24099
+ }
24100
+
23623
24101
  /**
23624
24102
  * Get SIP Trunk List
23625
24103
  * @param {number} [billCustomerId] Customer ID
@@ -23778,6 +24256,18 @@ export class BillingApi extends BaseAPI {
23778
24256
  return BillingApiFp(this.configuration).postGetCallTariffPlan(putGetCallTariffPlanRequest, options).then((request) => request(this.axios, this.basePath));
23779
24257
  }
23780
24258
 
24259
+ /**
24260
+ * Add Connection
24261
+ * @param {number} [billCustomerId] Customer ID
24262
+ * @param {ConnectionRequest} [connectionRequest]
24263
+ * @param {*} [options] Override http request option.
24264
+ * @throws {RequiredError}
24265
+ * @memberof BillingApi
24266
+ */
24267
+ public postGetConnections(billCustomerId?: number, connectionRequest?: ConnectionRequest, options?: RawAxiosRequestConfig) {
24268
+ return BillingApiFp(this.configuration).postGetConnections(billCustomerId, connectionRequest, options).then((request) => request(this.axios, this.basePath));
24269
+ }
24270
+
23781
24271
  /**
23782
24272
  * Add Price Group
23783
24273
  * @param {PostGetPriceGroupsRequest} postGetPriceGroupsRequest
@@ -23965,6 +24455,19 @@ export class BillingApi extends BaseAPI {
23965
24455
  return BillingApiFp(this.configuration).putGetCallTariffPlan(callTariffPlanId, putGetCallTariffPlanRequest, options).then((request) => request(this.axios, this.basePath));
23966
24456
  }
23967
24457
 
24458
+ /**
24459
+ * Update Connection
24460
+ * @param {number} connectionId Connection ID
24461
+ * @param {number} [billCustomerId] Customer ID
24462
+ * @param {ConnectionRequest} [connectionRequest]
24463
+ * @param {*} [options] Override http request option.
24464
+ * @throws {RequiredError}
24465
+ * @memberof BillingApi
24466
+ */
24467
+ public putGetConnections(connectionId: number, billCustomerId?: number, connectionRequest?: ConnectionRequest, options?: RawAxiosRequestConfig) {
24468
+ return BillingApiFp(this.configuration).putGetConnections(connectionId, billCustomerId, connectionRequest, options).then((request) => request(this.axios, this.basePath));
24469
+ }
24470
+
23968
24471
  /**
23969
24472
  * Update Price Group
23970
24473
  * @param {number} priceGroupId Price Group ID