yellowgrid-api-ts 3.2.50-dev.0 → 3.2.51-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
@@ -12419,11 +12419,11 @@ export const Class3CXMultiTenantApiAxiosParamCreator = function (configuration?:
12419
12419
  /**
12420
12420
  * Get 3CX Starter Bundle Tenants
12421
12421
  * @summary Get 3CX MT Tenants
12422
- * @param {string} customerId
12422
+ * @param {number} customerId
12423
12423
  * @param {*} [options] Override http request option.
12424
12424
  * @throws {RequiredError}
12425
12425
  */
12426
- getGetAdminTenants: async (customerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12426
+ getGetAdminTenants: async (customerId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12427
12427
  // verify required parameter 'customerId' is not null or undefined
12428
12428
  assertParamExists('getGetAdminTenants', 'customerId', customerId)
12429
12429
  const localVarPath = `/tcx/mt/admin/tenants`;
@@ -12698,11 +12698,11 @@ export const Class3CXMultiTenantApiFp = function(configuration?: Configuration)
12698
12698
  /**
12699
12699
  * Get 3CX Starter Bundle Tenants
12700
12700
  * @summary Get 3CX MT Tenants
12701
- * @param {string} customerId
12701
+ * @param {number} customerId
12702
12702
  * @param {*} [options] Override http request option.
12703
12703
  * @throws {RequiredError}
12704
12704
  */
12705
- async getGetAdminTenants(customerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxMultiTenantsModel>> {
12705
+ async getGetAdminTenants(customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxMultiTenantsModel>> {
12706
12706
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminTenants(customerId, options);
12707
12707
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12708
12708
  const localVarOperationServerBasePath = operationServerMap['Class3CXMultiTenantApi.getGetAdminTenants']?.[localVarOperationServerIndex]?.url;
@@ -12811,11 +12811,11 @@ export const Class3CXMultiTenantApiFactory = function (configuration?: Configura
12811
12811
  /**
12812
12812
  * Get 3CX Starter Bundle Tenants
12813
12813
  * @summary Get 3CX MT Tenants
12814
- * @param {string} customerId
12814
+ * @param {number} customerId
12815
12815
  * @param {*} [options] Override http request option.
12816
12816
  * @throws {RequiredError}
12817
12817
  */
12818
- getGetAdminTenants(customerId: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxMultiTenantsModel> {
12818
+ getGetAdminTenants(customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<TcxMultiTenantsModel> {
12819
12819
  return localVarFp.getGetAdminTenants(customerId, options).then((request) => request(axios, basePath));
12820
12820
  },
12821
12821
  /**
@@ -12902,11 +12902,11 @@ export class Class3CXMultiTenantApi extends BaseAPI {
12902
12902
  /**
12903
12903
  * Get 3CX Starter Bundle Tenants
12904
12904
  * @summary Get 3CX MT Tenants
12905
- * @param {string} customerId
12905
+ * @param {number} customerId
12906
12906
  * @param {*} [options] Override http request option.
12907
12907
  * @throws {RequiredError}
12908
12908
  */
12909
- public getGetAdminTenants(customerId: string, options?: RawAxiosRequestConfig) {
12909
+ public getGetAdminTenants(customerId: number, options?: RawAxiosRequestConfig) {
12910
12910
  return Class3CXMultiTenantApiFp(this.configuration).getGetAdminTenants(customerId, options).then((request) => request(this.axios, this.basePath));
12911
12911
  }
12912
12912
 
package/dist/api.d.ts CHANGED
@@ -9400,11 +9400,11 @@ export declare const Class3CXMultiTenantApiAxiosParamCreator: (configuration?: C
9400
9400
  /**
9401
9401
  * Get 3CX Starter Bundle Tenants
9402
9402
  * @summary Get 3CX MT Tenants
9403
- * @param {string} customerId
9403
+ * @param {number} customerId
9404
9404
  * @param {*} [options] Override http request option.
9405
9405
  * @throws {RequiredError}
9406
9406
  */
9407
- getGetAdminTenants: (customerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9407
+ getGetAdminTenants: (customerId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9408
9408
  /**
9409
9409
  * Get 3CX Starter Bundle Tenant
9410
9410
  * @summary Get 3CX MT Tenant
@@ -9472,11 +9472,11 @@ export declare const Class3CXMultiTenantApiFp: (configuration?: Configuration) =
9472
9472
  /**
9473
9473
  * Get 3CX Starter Bundle Tenants
9474
9474
  * @summary Get 3CX MT Tenants
9475
- * @param {string} customerId
9475
+ * @param {number} customerId
9476
9476
  * @param {*} [options] Override http request option.
9477
9477
  * @throws {RequiredError}
9478
9478
  */
9479
- getGetAdminTenants(customerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxMultiTenantsModel>>;
9479
+ getGetAdminTenants(customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxMultiTenantsModel>>;
9480
9480
  /**
9481
9481
  * Get 3CX Starter Bundle Tenant
9482
9482
  * @summary Get 3CX MT Tenant
@@ -9544,11 +9544,11 @@ export declare const Class3CXMultiTenantApiFactory: (configuration?: Configurati
9544
9544
  /**
9545
9545
  * Get 3CX Starter Bundle Tenants
9546
9546
  * @summary Get 3CX MT Tenants
9547
- * @param {string} customerId
9547
+ * @param {number} customerId
9548
9548
  * @param {*} [options] Override http request option.
9549
9549
  * @throws {RequiredError}
9550
9550
  */
9551
- getGetAdminTenants(customerId: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxMultiTenantsModel>;
9551
+ getGetAdminTenants(customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<TcxMultiTenantsModel>;
9552
9552
  /**
9553
9553
  * Get 3CX Starter Bundle Tenant
9554
9554
  * @summary Get 3CX MT Tenant
@@ -9616,11 +9616,11 @@ export declare class Class3CXMultiTenantApi extends BaseAPI {
9616
9616
  /**
9617
9617
  * Get 3CX Starter Bundle Tenants
9618
9618
  * @summary Get 3CX MT Tenants
9619
- * @param {string} customerId
9619
+ * @param {number} customerId
9620
9620
  * @param {*} [options] Override http request option.
9621
9621
  * @throws {RequiredError}
9622
9622
  */
9623
- getGetAdminTenants(customerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxMultiTenantsModel, any, {}>>;
9623
+ getGetAdminTenants(customerId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxMultiTenantsModel, any, {}>>;
9624
9624
  /**
9625
9625
  * Get 3CX Starter Bundle Tenant
9626
9626
  * @summary Get 3CX MT Tenant
package/dist/api.js CHANGED
@@ -6916,7 +6916,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
6916
6916
  /**
6917
6917
  * Get 3CX Starter Bundle Tenants
6918
6918
  * @summary Get 3CX MT Tenants
6919
- * @param {string} customerId
6919
+ * @param {number} customerId
6920
6920
  * @param {*} [options] Override http request option.
6921
6921
  * @throws {RequiredError}
6922
6922
  */
@@ -7227,7 +7227,7 @@ var Class3CXMultiTenantApiFp = function (configuration) {
7227
7227
  /**
7228
7228
  * Get 3CX Starter Bundle Tenants
7229
7229
  * @summary Get 3CX MT Tenants
7230
- * @param {string} customerId
7230
+ * @param {number} customerId
7231
7231
  * @param {*} [options] Override http request option.
7232
7232
  * @throws {RequiredError}
7233
7233
  */
@@ -7410,7 +7410,7 @@ var Class3CXMultiTenantApiFactory = function (configuration, basePath, axios) {
7410
7410
  /**
7411
7411
  * Get 3CX Starter Bundle Tenants
7412
7412
  * @summary Get 3CX MT Tenants
7413
- * @param {string} customerId
7413
+ * @param {number} customerId
7414
7414
  * @param {*} [options] Override http request option.
7415
7415
  * @throws {RequiredError}
7416
7416
  */
@@ -7505,7 +7505,7 @@ var Class3CXMultiTenantApi = /** @class */ (function (_super) {
7505
7505
  /**
7506
7506
  * Get 3CX Starter Bundle Tenants
7507
7507
  * @summary Get 3CX MT Tenants
7508
- * @param {string} customerId
7508
+ * @param {number} customerId
7509
7509
  * @param {*} [options] Override http request option.
7510
7510
  * @throws {RequiredError}
7511
7511
  */
@@ -83,7 +83,7 @@ import {
83
83
  const configuration = new Configuration();
84
84
  const apiInstance = new Class3CXMultiTenantApi(configuration);
85
85
 
86
- let customerId: string; // (default to undefined)
86
+ let customerId: number; // (default to undefined)
87
87
 
88
88
  const { status, data } = await apiInstance.getGetAdminTenants(
89
89
  customerId
@@ -94,7 +94,7 @@ const { status, data } = await apiInstance.getGetAdminTenants(
94
94
 
95
95
  |Name | Type | Description | Notes|
96
96
  |------------- | ------------- | ------------- | -------------|
97
- | **customerId** | [**string**] | | defaults to undefined|
97
+ | **customerId** | [**number**] | | defaults to undefined|
98
98
 
99
99
 
100
100
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.50-dev.0",
3
+ "version": "3.2.51-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {