yellowgrid-api-ts 3.2.87 → 3.2.88

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
@@ -109,7 +109,7 @@ Class | Method | HTTP request | Description
109
109
  *Class3CXInstallationWizardApi* | [**postUploadBackup**](docs/Class3CXInstallationWizardApi.md#postuploadbackup) | **POST** /tcx/wizards/backup |
110
110
  *Class3CXInstallationsApi* | [**getGetDetails**](docs/Class3CXInstallationsApi.md#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details
111
111
  *Class3CXInstallationsApi* | [**getGetInstallations**](docs/Class3CXInstallationsApi.md#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations
112
- *Class3CXInstallationsApi* | [**patchChangeOwner**](docs/Class3CXInstallationsApi.md#patchchangeowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner
112
+ *Class3CXInstallationsApi* | [**patchChangeInstanceOwner**](docs/Class3CXInstallationsApi.md#patchchangeinstanceowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner
113
113
  *Class3CXInstallationsApi* | [**patchUpdateAutoFailover**](docs/Class3CXInstallationsApi.md#patchupdateautofailover) | **PATCH** /tcx/installations/{instance_id}/failover/auto | Update 3CX Instance Auto Failover
114
114
  *Class3CXInstallationsApi* | [**postAddDisk**](docs/Class3CXInstallationsApi.md#postadddisk) | **POST** /tcx/installations/{instance_id}/disk | Add additional disk on 3CX Instance
115
115
  *Class3CXInstallationsApi* | [**postCreateSshUser**](docs/Class3CXInstallationsApi.md#postcreatesshuser) | **POST** /tcx/installations/{instance_id}/create/user/root | Create a root user
package/api.ts CHANGED
@@ -11931,11 +11931,11 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
11931
11931
  * @param {*} [options] Override http request option.
11932
11932
  * @throws {RequiredError}
11933
11933
  */
11934
- patchChangeOwner: async (instanceId: string, customerId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11934
+ patchChangeInstanceOwner: async (instanceId: string, customerId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11935
11935
  // verify required parameter 'instanceId' is not null or undefined
11936
- assertParamExists('patchChangeOwner', 'instanceId', instanceId)
11936
+ assertParamExists('patchChangeInstanceOwner', 'instanceId', instanceId)
11937
11937
  // verify required parameter 'customerId' is not null or undefined
11938
- assertParamExists('patchChangeOwner', 'customerId', customerId)
11938
+ assertParamExists('patchChangeInstanceOwner', 'customerId', customerId)
11939
11939
  const localVarPath = `/tcx/installations/{instance_id}/owner`
11940
11940
  .replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
11941
11941
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12449,10 +12449,10 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
12449
12449
  * @param {*} [options] Override http request option.
12450
12450
  * @throws {RequiredError}
12451
12451
  */
12452
- async patchChangeOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
12453
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchChangeOwner(instanceId, customerId, options);
12452
+ async patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
12453
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchChangeInstanceOwner(instanceId, customerId, options);
12454
12454
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12455
- const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.patchChangeOwner']?.[localVarOperationServerIndex]?.url;
12455
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.patchChangeInstanceOwner']?.[localVarOperationServerIndex]?.url;
12456
12456
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12457
12457
  },
12458
12458
  /**
@@ -12652,8 +12652,8 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
12652
12652
  * @param {*} [options] Override http request option.
12653
12653
  * @throws {RequiredError}
12654
12654
  */
12655
- patchChangeOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
12656
- return localVarFp.patchChangeOwner(instanceId, customerId, options).then((request) => request(axios, basePath));
12655
+ patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
12656
+ return localVarFp.patchChangeInstanceOwner(instanceId, customerId, options).then((request) => request(axios, basePath));
12657
12657
  },
12658
12658
  /**
12659
12659
  * Update 3CX Instance Auto Failover
@@ -12819,8 +12819,8 @@ export class Class3CXInstallationsApi extends BaseAPI {
12819
12819
  * @param {*} [options] Override http request option.
12820
12820
  * @throws {RequiredError}
12821
12821
  */
12822
- public patchChangeOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig) {
12823
- return Class3CXInstallationsApiFp(this.configuration).patchChangeOwner(instanceId, customerId, options).then((request) => request(this.axios, this.basePath));
12822
+ public patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig) {
12823
+ return Class3CXInstallationsApiFp(this.configuration).patchChangeInstanceOwner(instanceId, customerId, options).then((request) => request(this.axios, this.basePath));
12824
12824
  }
12825
12825
 
12826
12826
  /**
package/dist/api.d.ts CHANGED
@@ -9650,7 +9650,7 @@ export declare const Class3CXInstallationsApiAxiosParamCreator: (configuration?:
9650
9650
  * @param {*} [options] Override http request option.
9651
9651
  * @throws {RequiredError}
9652
9652
  */
9653
- patchChangeOwner: (instanceId: string, customerId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9653
+ patchChangeInstanceOwner: (instanceId: string, customerId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9654
9654
  /**
9655
9655
  * Update 3CX Instance Auto Failover
9656
9656
  * @summary Update 3CX Instance Auto Failover
@@ -9785,7 +9785,7 @@ export declare const Class3CXInstallationsApiFp: (configuration?: Configuration)
9785
9785
  * @param {*} [options] Override http request option.
9786
9786
  * @throws {RequiredError}
9787
9787
  */
9788
- patchChangeOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9788
+ patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9789
9789
  /**
9790
9790
  * Update 3CX Instance Auto Failover
9791
9791
  * @summary Update 3CX Instance Auto Failover
@@ -9920,7 +9920,7 @@ export declare const Class3CXInstallationsApiFactory: (configuration?: Configura
9920
9920
  * @param {*} [options] Override http request option.
9921
9921
  * @throws {RequiredError}
9922
9922
  */
9923
- patchChangeOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9923
+ patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9924
9924
  /**
9925
9925
  * Update 3CX Instance Auto Failover
9926
9926
  * @summary Update 3CX Instance Auto Failover
@@ -10055,7 +10055,7 @@ export declare class Class3CXInstallationsApi extends BaseAPI {
10055
10055
  * @param {*} [options] Override http request option.
10056
10056
  * @throws {RequiredError}
10057
10057
  */
10058
- patchChangeOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
10058
+ patchChangeInstanceOwner(instanceId: string, customerId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
10059
10059
  /**
10060
10060
  * Update 3CX Instance Auto Failover
10061
10061
  * @summary Update 3CX Instance Auto Failover
package/dist/api.js CHANGED
@@ -5293,7 +5293,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
5293
5293
  * @param {*} [options] Override http request option.
5294
5294
  * @throws {RequiredError}
5295
5295
  */
5296
- patchChangeOwner: function (instanceId_1, customerId_1) {
5296
+ patchChangeInstanceOwner: function (instanceId_1, customerId_1) {
5297
5297
  var args_1 = [];
5298
5298
  for (var _i = 2; _i < arguments.length; _i++) {
5299
5299
  args_1[_i - 2] = arguments[_i];
@@ -5303,9 +5303,9 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
5303
5303
  if (options === void 0) { options = {}; }
5304
5304
  return __generator(this, function (_a) {
5305
5305
  // verify required parameter 'instanceId' is not null or undefined
5306
- (0, common_1.assertParamExists)('patchChangeOwner', 'instanceId', instanceId);
5306
+ (0, common_1.assertParamExists)('patchChangeInstanceOwner', 'instanceId', instanceId);
5307
5307
  // verify required parameter 'customerId' is not null or undefined
5308
- (0, common_1.assertParamExists)('patchChangeOwner', 'customerId', customerId);
5308
+ (0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
5309
5309
  localVarPath = "/tcx/installations/{instance_id}/owner"
5310
5310
  .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
5311
5311
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5867,17 +5867,17 @@ var Class3CXInstallationsApiFp = function (configuration) {
5867
5867
  * @param {*} [options] Override http request option.
5868
5868
  * @throws {RequiredError}
5869
5869
  */
5870
- patchChangeOwner: function (instanceId, customerId, options) {
5870
+ patchChangeInstanceOwner: function (instanceId, customerId, options) {
5871
5871
  return __awaiter(this, void 0, void 0, function () {
5872
5872
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
5873
5873
  var _a, _b, _c;
5874
5874
  return __generator(this, function (_d) {
5875
5875
  switch (_d.label) {
5876
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchChangeOwner(instanceId, customerId, options)];
5876
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchChangeInstanceOwner(instanceId, customerId, options)];
5877
5877
  case 1:
5878
5878
  localVarAxiosArgs = _d.sent();
5879
5879
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5880
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchChangeOwner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5880
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.patchChangeInstanceOwner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5881
5881
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
5882
5882
  }
5883
5883
  });
@@ -6190,8 +6190,8 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
6190
6190
  * @param {*} [options] Override http request option.
6191
6191
  * @throws {RequiredError}
6192
6192
  */
6193
- patchChangeOwner: function (instanceId, customerId, options) {
6194
- return localVarFp.patchChangeOwner(instanceId, customerId, options).then(function (request) { return request(axios, basePath); });
6193
+ patchChangeInstanceOwner: function (instanceId, customerId, options) {
6194
+ return localVarFp.patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(axios, basePath); });
6195
6195
  },
6196
6196
  /**
6197
6197
  * Update 3CX Instance Auto Failover
@@ -6361,9 +6361,9 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
6361
6361
  * @param {*} [options] Override http request option.
6362
6362
  * @throws {RequiredError}
6363
6363
  */
6364
- Class3CXInstallationsApi.prototype.patchChangeOwner = function (instanceId, customerId, options) {
6364
+ Class3CXInstallationsApi.prototype.patchChangeInstanceOwner = function (instanceId, customerId, options) {
6365
6365
  var _this = this;
6366
- return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchChangeOwner(instanceId, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
6366
+ return (0, exports.Class3CXInstallationsApiFp)(this.configuration).patchChangeInstanceOwner(instanceId, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
6367
6367
  };
6368
6368
  /**
6369
6369
  * Update 3CX Instance Auto Failover
@@ -6,7 +6,7 @@ All URIs are relative to *https://bitbucket.org*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetDetails**](#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details|
8
8
  |[**getGetInstallations**](#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations|
9
- |[**patchChangeOwner**](#patchchangeowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner|
9
+ |[**patchChangeInstanceOwner**](#patchchangeinstanceowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner|
10
10
  |[**patchUpdateAutoFailover**](#patchupdateautofailover) | **PATCH** /tcx/installations/{instance_id}/failover/auto | Update 3CX Instance Auto Failover|
11
11
  |[**postAddDisk**](#postadddisk) | **POST** /tcx/installations/{instance_id}/disk | Add additional disk on 3CX Instance|
12
12
  |[**postCreateSshUser**](#postcreatesshuser) | **POST** /tcx/installations/{instance_id}/create/user/root | Create a root user|
@@ -145,8 +145,8 @@ No authorization required
145
145
 
146
146
  [[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)
147
147
 
148
- # **patchChangeOwner**
149
- > patchChangeOwner()
148
+ # **patchChangeInstanceOwner**
149
+ > patchChangeInstanceOwner()
150
150
 
151
151
  Change instance owner
152
152
 
@@ -164,7 +164,7 @@ const apiInstance = new Class3CXInstallationsApi(configuration);
164
164
  let instanceId: string; //Instance ID (default to undefined)
165
165
  let customerId: number; //Customer ID (default to undefined)
166
166
 
167
- const { status, data } = await apiInstance.patchChangeOwner(
167
+ const { status, data } = await apiInstance.patchChangeInstanceOwner(
168
168
  instanceId,
169
169
  customerId
170
170
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.87",
3
+ "version": "3.2.88",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {