yellowgrid-api-ts 3.2.93 → 3.2.94
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 +1 -0
- package/api.ts +74 -0
- package/dist/api.d.ts +36 -0
- package/dist/api.js +88 -0
- package/docs/Class3CXInstallationsApi.md +59 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -125,6 +125,7 @@ Class | Method | HTTP request | Description
|
|
|
125
125
|
*Class3CXInstallationsApi* | [**postTestLoginCredentials**](docs/Class3CXInstallationsApi.md#posttestlogincredentials) | **POST** /tcx/installations/{instance_id}/tests/login | Test 3CX Login Credentials
|
|
126
126
|
*Class3CXInstallationsApi* | [**postUnsuspendInstance**](docs/Class3CXInstallationsApi.md#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance
|
|
127
127
|
*Class3CXInstallationsApi* | [**postUpgradeDebian**](docs/Class3CXInstallationsApi.md#postupgradedebian) | **POST** /tcx/installations/{instance_id}/debian/upgrade | Install OS update on 3CX Instance
|
|
128
|
+
*Class3CXInstallationsApi* | [**putGetDetails**](docs/Class3CXInstallationsApi.md#putgetdetails) | **PUT** /tcx/installations/{wizard_id}/details | Update 3CX Installation Details
|
|
128
129
|
*Class3CXIntegrationsApi* | [**getGetPrice**](docs/Class3CXIntegrationsApi.md#getgetprice) | **GET** /tcx/integrations/edtechpro/prices |
|
|
129
130
|
*Class3CXIntegrationsApi* | [**getGetSchools**](docs/Class3CXIntegrationsApi.md#getgetschools) | **GET** /tcx/integrations/edtechpro/schools |
|
|
130
131
|
*Class3CXIntegrationsApi* | [**getGetTrusts**](docs/Class3CXIntegrationsApi.md#getgettrusts) | **GET** /tcx/integrations/edtechpro/trusts |
|
package/api.ts
CHANGED
|
@@ -12563,6 +12563,43 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
|
|
|
12563
12563
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12564
12564
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12565
12565
|
|
|
12566
|
+
return {
|
|
12567
|
+
url: toPathString(localVarUrlObj),
|
|
12568
|
+
options: localVarRequestOptions,
|
|
12569
|
+
};
|
|
12570
|
+
},
|
|
12571
|
+
/**
|
|
12572
|
+
* Update 3CX Installation Details
|
|
12573
|
+
* @summary Update 3CX Installation Details
|
|
12574
|
+
* @param {number} wizardId Wizard ID
|
|
12575
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
12576
|
+
* @param {*} [options] Override http request option.
|
|
12577
|
+
* @throws {RequiredError}
|
|
12578
|
+
*/
|
|
12579
|
+
putGetDetails: async (wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12580
|
+
// verify required parameter 'wizardId' is not null or undefined
|
|
12581
|
+
assertParamExists('putGetDetails', 'wizardId', wizardId)
|
|
12582
|
+
const localVarPath = `/tcx/installations/{wizard_id}/details`
|
|
12583
|
+
.replace(`{${"wizard_id"}}`, encodeURIComponent(String(wizardId)));
|
|
12584
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12586
|
+
let baseOptions;
|
|
12587
|
+
if (configuration) {
|
|
12588
|
+
baseOptions = configuration.baseOptions;
|
|
12589
|
+
}
|
|
12590
|
+
|
|
12591
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12592
|
+
const localVarHeaderParameter = {} as any;
|
|
12593
|
+
const localVarQueryParameter = {} as any;
|
|
12594
|
+
|
|
12595
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12596
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12597
|
+
|
|
12598
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12599
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12600
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12601
|
+
localVarRequestOptions.data = serializeDataIfNeeded(installationDetailsDTO, localVarRequestOptions, configuration)
|
|
12602
|
+
|
|
12566
12603
|
return {
|
|
12567
12604
|
url: toPathString(localVarUrlObj),
|
|
12568
12605
|
options: localVarRequestOptions,
|
|
@@ -12831,6 +12868,20 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
|
|
|
12831
12868
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postUpgradeDebian']?.[localVarOperationServerIndex]?.url;
|
|
12832
12869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12833
12870
|
},
|
|
12871
|
+
/**
|
|
12872
|
+
* Update 3CX Installation Details
|
|
12873
|
+
* @summary Update 3CX Installation Details
|
|
12874
|
+
* @param {number} wizardId Wizard ID
|
|
12875
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
12876
|
+
* @param {*} [options] Override http request option.
|
|
12877
|
+
* @throws {RequiredError}
|
|
12878
|
+
*/
|
|
12879
|
+
async putGetDetails(wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallationDetailsDTO>> {
|
|
12880
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putGetDetails(wizardId, installationDetailsDTO, options);
|
|
12881
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12882
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.putGetDetails']?.[localVarOperationServerIndex]?.url;
|
|
12883
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12884
|
+
},
|
|
12834
12885
|
}
|
|
12835
12886
|
};
|
|
12836
12887
|
|
|
@@ -13040,6 +13091,17 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
|
|
|
13040
13091
|
postUpgradeDebian(instanceId: string, schedule: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
13041
13092
|
return localVarFp.postUpgradeDebian(instanceId, schedule, options).then((request) => request(axios, basePath));
|
|
13042
13093
|
},
|
|
13094
|
+
/**
|
|
13095
|
+
* Update 3CX Installation Details
|
|
13096
|
+
* @summary Update 3CX Installation Details
|
|
13097
|
+
* @param {number} wizardId Wizard ID
|
|
13098
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
13099
|
+
* @param {*} [options] Override http request option.
|
|
13100
|
+
* @throws {RequiredError}
|
|
13101
|
+
*/
|
|
13102
|
+
putGetDetails(wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig): AxiosPromise<InstallationDetailsDTO> {
|
|
13103
|
+
return localVarFp.putGetDetails(wizardId, installationDetailsDTO, options).then((request) => request(axios, basePath));
|
|
13104
|
+
},
|
|
13043
13105
|
};
|
|
13044
13106
|
};
|
|
13045
13107
|
|
|
@@ -13264,6 +13326,18 @@ export class Class3CXInstallationsApi extends BaseAPI {
|
|
|
13264
13326
|
public postUpgradeDebian(instanceId: string, schedule: string, options?: RawAxiosRequestConfig) {
|
|
13265
13327
|
return Class3CXInstallationsApiFp(this.configuration).postUpgradeDebian(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
|
|
13266
13328
|
}
|
|
13329
|
+
|
|
13330
|
+
/**
|
|
13331
|
+
* Update 3CX Installation Details
|
|
13332
|
+
* @summary Update 3CX Installation Details
|
|
13333
|
+
* @param {number} wizardId Wizard ID
|
|
13334
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
13335
|
+
* @param {*} [options] Override http request option.
|
|
13336
|
+
* @throws {RequiredError}
|
|
13337
|
+
*/
|
|
13338
|
+
public putGetDetails(wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig) {
|
|
13339
|
+
return Class3CXInstallationsApiFp(this.configuration).putGetDetails(wizardId, installationDetailsDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13340
|
+
}
|
|
13267
13341
|
}
|
|
13268
13342
|
|
|
13269
13343
|
export const GetGetInstallationsStatusEnum = {
|
package/dist/api.d.ts
CHANGED
|
@@ -9811,6 +9811,15 @@ export declare const Class3CXInstallationsApiAxiosParamCreator: (configuration?:
|
|
|
9811
9811
|
* @throws {RequiredError}
|
|
9812
9812
|
*/
|
|
9813
9813
|
postUpgradeDebian: (instanceId: string, schedule: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9814
|
+
/**
|
|
9815
|
+
* Update 3CX Installation Details
|
|
9816
|
+
* @summary Update 3CX Installation Details
|
|
9817
|
+
* @param {number} wizardId Wizard ID
|
|
9818
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
9819
|
+
* @param {*} [options] Override http request option.
|
|
9820
|
+
* @throws {RequiredError}
|
|
9821
|
+
*/
|
|
9822
|
+
putGetDetails: (wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9814
9823
|
};
|
|
9815
9824
|
/**
|
|
9816
9825
|
* Class3CXInstallationsApi - functional programming interface
|
|
@@ -9980,6 +9989,15 @@ export declare const Class3CXInstallationsApiFp: (configuration?: Configuration)
|
|
|
9980
9989
|
* @throws {RequiredError}
|
|
9981
9990
|
*/
|
|
9982
9991
|
postUpgradeDebian(instanceId: string, schedule: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9992
|
+
/**
|
|
9993
|
+
* Update 3CX Installation Details
|
|
9994
|
+
* @summary Update 3CX Installation Details
|
|
9995
|
+
* @param {number} wizardId Wizard ID
|
|
9996
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
9997
|
+
* @param {*} [options] Override http request option.
|
|
9998
|
+
* @throws {RequiredError}
|
|
9999
|
+
*/
|
|
10000
|
+
putGetDetails(wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallationDetailsDTO>>;
|
|
9983
10001
|
};
|
|
9984
10002
|
/**
|
|
9985
10003
|
* Class3CXInstallationsApi - factory interface
|
|
@@ -10149,6 +10167,15 @@ export declare const Class3CXInstallationsApiFactory: (configuration?: Configura
|
|
|
10149
10167
|
* @throws {RequiredError}
|
|
10150
10168
|
*/
|
|
10151
10169
|
postUpgradeDebian(instanceId: string, schedule: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
10170
|
+
/**
|
|
10171
|
+
* Update 3CX Installation Details
|
|
10172
|
+
* @summary Update 3CX Installation Details
|
|
10173
|
+
* @param {number} wizardId Wizard ID
|
|
10174
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
10175
|
+
* @param {*} [options] Override http request option.
|
|
10176
|
+
* @throws {RequiredError}
|
|
10177
|
+
*/
|
|
10178
|
+
putGetDetails(wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig): AxiosPromise<InstallationDetailsDTO>;
|
|
10152
10179
|
};
|
|
10153
10180
|
/**
|
|
10154
10181
|
* Class3CXInstallationsApi - object-oriented interface
|
|
@@ -10318,6 +10345,15 @@ export declare class Class3CXInstallationsApi extends BaseAPI {
|
|
|
10318
10345
|
* @throws {RequiredError}
|
|
10319
10346
|
*/
|
|
10320
10347
|
postUpgradeDebian(instanceId: string, schedule: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
10348
|
+
/**
|
|
10349
|
+
* Update 3CX Installation Details
|
|
10350
|
+
* @summary Update 3CX Installation Details
|
|
10351
|
+
* @param {number} wizardId Wizard ID
|
|
10352
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
10353
|
+
* @param {*} [options] Override http request option.
|
|
10354
|
+
* @throws {RequiredError}
|
|
10355
|
+
*/
|
|
10356
|
+
putGetDetails(wizardId: number, installationDetailsDTO?: InstallationDetailsDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallationDetailsDTO, any, {}>>;
|
|
10321
10357
|
}
|
|
10322
10358
|
export declare const GetGetInstallationsStatusEnum: {
|
|
10323
10359
|
readonly Completed: "Completed";
|
package/dist/api.js
CHANGED
|
@@ -5953,6 +5953,47 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5953
5953
|
});
|
|
5954
5954
|
});
|
|
5955
5955
|
},
|
|
5956
|
+
/**
|
|
5957
|
+
* Update 3CX Installation Details
|
|
5958
|
+
* @summary Update 3CX Installation Details
|
|
5959
|
+
* @param {number} wizardId Wizard ID
|
|
5960
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
5961
|
+
* @param {*} [options] Override http request option.
|
|
5962
|
+
* @throws {RequiredError}
|
|
5963
|
+
*/
|
|
5964
|
+
putGetDetails: function (wizardId_1, installationDetailsDTO_1) {
|
|
5965
|
+
var args_1 = [];
|
|
5966
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5967
|
+
args_1[_i - 2] = arguments[_i];
|
|
5968
|
+
}
|
|
5969
|
+
return __awaiter(_this, __spreadArray([wizardId_1, installationDetailsDTO_1], args_1, true), void 0, function (wizardId, installationDetailsDTO, options) {
|
|
5970
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5971
|
+
if (options === void 0) { options = {}; }
|
|
5972
|
+
return __generator(this, function (_a) {
|
|
5973
|
+
// verify required parameter 'wizardId' is not null or undefined
|
|
5974
|
+
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
5975
|
+
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
5976
|
+
.replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
|
|
5977
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5978
|
+
if (configuration) {
|
|
5979
|
+
baseOptions = configuration.baseOptions;
|
|
5980
|
+
}
|
|
5981
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
5982
|
+
localVarHeaderParameter = {};
|
|
5983
|
+
localVarQueryParameter = {};
|
|
5984
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5985
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5986
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5987
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5988
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5989
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(installationDetailsDTO, localVarRequestOptions, configuration);
|
|
5990
|
+
return [2 /*return*/, {
|
|
5991
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5992
|
+
options: localVarRequestOptions,
|
|
5993
|
+
}];
|
|
5994
|
+
});
|
|
5995
|
+
});
|
|
5996
|
+
},
|
|
5956
5997
|
};
|
|
5957
5998
|
};
|
|
5958
5999
|
exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
|
|
@@ -6396,6 +6437,30 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
6396
6437
|
});
|
|
6397
6438
|
});
|
|
6398
6439
|
},
|
|
6440
|
+
/**
|
|
6441
|
+
* Update 3CX Installation Details
|
|
6442
|
+
* @summary Update 3CX Installation Details
|
|
6443
|
+
* @param {number} wizardId Wizard ID
|
|
6444
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6445
|
+
* @param {*} [options] Override http request option.
|
|
6446
|
+
* @throws {RequiredError}
|
|
6447
|
+
*/
|
|
6448
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6449
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6450
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6451
|
+
var _a, _b, _c;
|
|
6452
|
+
return __generator(this, function (_d) {
|
|
6453
|
+
switch (_d.label) {
|
|
6454
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetDetails(wizardId, installationDetailsDTO, options)];
|
|
6455
|
+
case 1:
|
|
6456
|
+
localVarAxiosArgs = _d.sent();
|
|
6457
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6458
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.putGetDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6459
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6460
|
+
}
|
|
6461
|
+
});
|
|
6462
|
+
});
|
|
6463
|
+
},
|
|
6399
6464
|
};
|
|
6400
6465
|
};
|
|
6401
6466
|
exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
|
|
@@ -6605,6 +6670,17 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
6605
6670
|
postUpgradeDebian: function (instanceId, schedule, options) {
|
|
6606
6671
|
return localVarFp.postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(axios, basePath); });
|
|
6607
6672
|
},
|
|
6673
|
+
/**
|
|
6674
|
+
* Update 3CX Installation Details
|
|
6675
|
+
* @summary Update 3CX Installation Details
|
|
6676
|
+
* @param {number} wizardId Wizard ID
|
|
6677
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6678
|
+
* @param {*} [options] Override http request option.
|
|
6679
|
+
* @throws {RequiredError}
|
|
6680
|
+
*/
|
|
6681
|
+
putGetDetails: function (wizardId, installationDetailsDTO, options) {
|
|
6682
|
+
return localVarFp.putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(axios, basePath); });
|
|
6683
|
+
},
|
|
6608
6684
|
};
|
|
6609
6685
|
};
|
|
6610
6686
|
exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
|
|
@@ -6834,6 +6910,18 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
6834
6910
|
var _this = this;
|
|
6835
6911
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).postUpgradeDebian(instanceId, schedule, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6836
6912
|
};
|
|
6913
|
+
/**
|
|
6914
|
+
* Update 3CX Installation Details
|
|
6915
|
+
* @summary Update 3CX Installation Details
|
|
6916
|
+
* @param {number} wizardId Wizard ID
|
|
6917
|
+
* @param {InstallationDetailsDTO} [installationDetailsDTO] Installation Details
|
|
6918
|
+
* @param {*} [options] Override http request option.
|
|
6919
|
+
* @throws {RequiredError}
|
|
6920
|
+
*/
|
|
6921
|
+
Class3CXInstallationsApi.prototype.putGetDetails = function (wizardId, installationDetailsDTO, options) {
|
|
6922
|
+
var _this = this;
|
|
6923
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).putGetDetails(wizardId, installationDetailsDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6924
|
+
};
|
|
6837
6925
|
return Class3CXInstallationsApi;
|
|
6838
6926
|
}(base_1.BaseAPI));
|
|
6839
6927
|
exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
|
|
@@ -22,6 +22,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
22
22
|
|[**postTestLoginCredentials**](#posttestlogincredentials) | **POST** /tcx/installations/{instance_id}/tests/login | Test 3CX Login Credentials|
|
|
23
23
|
|[**postUnsuspendInstance**](#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance|
|
|
24
24
|
|[**postUpgradeDebian**](#postupgradedebian) | **POST** /tcx/installations/{instance_id}/debian/upgrade | Install OS update on 3CX Instance|
|
|
25
|
+
|[**putGetDetails**](#putgetdetails) | **PUT** /tcx/installations/{wizard_id}/details | Update 3CX Installation Details|
|
|
25
26
|
|
|
26
27
|
# **getGetDetails**
|
|
27
28
|
> InstallationDetailsDTO getGetDetails()
|
|
@@ -1052,3 +1053,61 @@ No authorization required
|
|
|
1052
1053
|
|
|
1053
1054
|
[[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)
|
|
1054
1055
|
|
|
1056
|
+
# **putGetDetails**
|
|
1057
|
+
> InstallationDetailsDTO putGetDetails()
|
|
1058
|
+
|
|
1059
|
+
Update 3CX Installation Details
|
|
1060
|
+
|
|
1061
|
+
### Example
|
|
1062
|
+
|
|
1063
|
+
```typescript
|
|
1064
|
+
import {
|
|
1065
|
+
Class3CXInstallationsApi,
|
|
1066
|
+
Configuration,
|
|
1067
|
+
InstallationDetailsDTO
|
|
1068
|
+
} from 'yellowgrid-api-ts';
|
|
1069
|
+
|
|
1070
|
+
const configuration = new Configuration();
|
|
1071
|
+
const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
1072
|
+
|
|
1073
|
+
let wizardId: number; //Wizard ID (default to undefined)
|
|
1074
|
+
let installationDetailsDTO: InstallationDetailsDTO; //Installation Details (optional)
|
|
1075
|
+
|
|
1076
|
+
const { status, data } = await apiInstance.putGetDetails(
|
|
1077
|
+
wizardId,
|
|
1078
|
+
installationDetailsDTO
|
|
1079
|
+
);
|
|
1080
|
+
```
|
|
1081
|
+
|
|
1082
|
+
### Parameters
|
|
1083
|
+
|
|
1084
|
+
|Name | Type | Description | Notes|
|
|
1085
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1086
|
+
| **installationDetailsDTO** | **InstallationDetailsDTO**| Installation Details | |
|
|
1087
|
+
| **wizardId** | [**number**] | Wizard ID | defaults to undefined|
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
### Return type
|
|
1091
|
+
|
|
1092
|
+
**InstallationDetailsDTO**
|
|
1093
|
+
|
|
1094
|
+
### Authorization
|
|
1095
|
+
|
|
1096
|
+
No authorization required
|
|
1097
|
+
|
|
1098
|
+
### HTTP request headers
|
|
1099
|
+
|
|
1100
|
+
- **Content-Type**: application/json
|
|
1101
|
+
- **Accept**: application/json
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
### HTTP response details
|
|
1105
|
+
| Status code | Description | Response headers |
|
|
1106
|
+
|-------------|-------------|------------------|
|
|
1107
|
+
|**200** | Installation Details | - |
|
|
1108
|
+
|**400** | Bad Request | - |
|
|
1109
|
+
|**401** | Unauthorised | - |
|
|
1110
|
+
|**403** | Access Denied | - |
|
|
1111
|
+
|
|
1112
|
+
[[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)
|
|
1113
|
+
|