yellowgrid-api-ts 3.2.251-dev.0 → 3.2.252-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/.openapi-generator/FILES +5 -0
- package/README.md +14 -0
- package/api.ts +882 -137
- package/dist/api.d.ts +516 -117
- package/dist/api.js +784 -47
- package/docs/Class3CXInstallationWizardApi.md +384 -0
- package/docs/Class3CXIntegrationsApi.md +52 -0
- package/docs/EngineeredWizardRequestModel.md +23 -0
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +59 -0
- package/docs/SearchSchoolModel.md +35 -0
- package/docs/TcxEngineerTaskDTO.md +29 -0
- package/docs/TcxEngineeringDTO.md +37 -0
- package/docs/TcxExtsEntity.md +8 -8
- package/docs/TcxNumbersEntity.md +3 -3
- package/docs/TcxOfficeHoursEntity.md +15 -15
- package/docs/TcxPhoneModel.md +6 -6
- package/docs/TcxPhonesEntity.md +6 -6
- package/docs/TcxSbcEntity.md +16 -16
- package/docs/TcxSbcModel.md +16 -16
- package/docs/TcxSetupEntity.md +25 -25
- package/docs/TcxSipTrunksEntity.md +13 -13
- package/docs/TcxSummaryDTO.md +21 -0
- package/docs/TcxWizardModel.md +11 -9
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -86,9 +86,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
87
|
exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.SeriesDTOTypeEnum = exports.SdrReferenceType = exports.RmaSummaryDTOStatusEnum = exports.RmaRequestDTORequestedResolutionEnum = exports.RmaRequestDTOReasonEnum = exports.RmaItemDTOStatusEnum = exports.RmaDTOStatusEnum = exports.RmaDTOResolutionEnum = exports.RmaDTOReasonEnum = exports.RmaCreditItemRequestDTORefundPercentageEnum = exports.ResolutionRequestModelResolutionEnum = exports.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ReasonRequestModelReasonEnum = exports.ProspectDTOStatusEnum = exports.PostGetServicePlansRequestPlanGroupEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.PasswordSenderDTOIntervalTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemResolutionRequestModelResolutionEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.GraphDTOCurrencyEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.CustomerRateType = exports.BrandedVideoSummaryDTOStatusEnum = exports.BrandedVideoSummaryDTOTypeEnum = exports.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminRmaSummaryDTOStatusEnum = exports.AdminRmaItemDTOResolutionEnum = exports.AdminRmaItemDTOStatusEnum = exports.AdminRmaDTOStatusEnum = exports.AdminRmaDTOResolutionEnum = exports.AdminRmaDTOReasonEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
88
|
exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.GetGetBrandedVideosTypeEnum = exports.BrandedVideosApi = exports.BrandedVideosApiFactory = exports.BrandedVideosApiFp = exports.BrandedVideosApiAxiosParamCreator = exports.GetGetServicesPlanDetailsTypeEnum = exports.GetGetConnectionsTypeEnum = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.PatchSetOnHoldStateEnum = exports.PatchSetAccountStatusStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockReportItemModelCurrencyEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = void 0;
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = void 0;
|
|
89
|
+
exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.MiscApi = exports.MiscApiFactory = exports.MiscApiFp = exports.MiscApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.PatchMarkEngineerTaskAsCompleteCompleteEnum = void 0;
|
|
90
|
+
exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.RMAApi = exports.RMAApiFactory = exports.RMAApiFp = exports.RMAApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.PromotionsApi = exports.PromotionsApiFactory = exports.PromotionsApiFp = exports.PromotionsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = void 0;
|
|
91
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = void 0;
|
|
92
92
|
var axios_1 = require("axios");
|
|
93
93
|
// Some imports not used depending on template conditions
|
|
94
94
|
// @ts-ignore
|
|
@@ -227,6 +227,9 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
227
227
|
Pops3cxBackup: 'pops_3cx_backup',
|
|
228
228
|
Pops3cxBilling: 'pops_3cx_billing',
|
|
229
229
|
PopsDeadLicences: 'pops_dead_licences',
|
|
230
|
+
Pops3cxEngineering: 'pops_3cx_engineering',
|
|
231
|
+
Pops3cxEngineerTaskDefinitions: 'pops_3cx_engineer_task_definitions',
|
|
232
|
+
Pops3cxEngineerTasks: 'pops_3cx_engineer_tasks',
|
|
230
233
|
Pops3cxExts: 'pops_3cx_exts',
|
|
231
234
|
PopsHostingPricing: 'pops_hosting_pricing',
|
|
232
235
|
Pops3cxKeys: 'pops_3cx_keys',
|
|
@@ -12263,6 +12266,40 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12263
12266
|
});
|
|
12264
12267
|
});
|
|
12265
12268
|
},
|
|
12269
|
+
/**
|
|
12270
|
+
* Get all items on the order linked to the wizard licence key
|
|
12271
|
+
* @summary Get all items on the order linked to this wizard\'s licence key
|
|
12272
|
+
* @param {*} [options] Override http request option.
|
|
12273
|
+
* @throws {RequiredError}
|
|
12274
|
+
*/
|
|
12275
|
+
getGetOrderItems: function () {
|
|
12276
|
+
var args_1 = [];
|
|
12277
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12278
|
+
args_1[_i] = arguments[_i];
|
|
12279
|
+
}
|
|
12280
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12281
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12282
|
+
if (options === void 0) { options = {}; }
|
|
12283
|
+
return __generator(this, function (_a) {
|
|
12284
|
+
localVarPath = "/tcx/wizards/order/items";
|
|
12285
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12286
|
+
if (configuration) {
|
|
12287
|
+
baseOptions = configuration.baseOptions;
|
|
12288
|
+
}
|
|
12289
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
12290
|
+
localVarHeaderParameter = {};
|
|
12291
|
+
localVarQueryParameter = {};
|
|
12292
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12293
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12294
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12295
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12296
|
+
return [2 /*return*/, {
|
|
12297
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12298
|
+
options: localVarRequestOptions,
|
|
12299
|
+
}];
|
|
12300
|
+
});
|
|
12301
|
+
});
|
|
12302
|
+
},
|
|
12266
12303
|
/**
|
|
12267
12304
|
* Get PBX IP Address
|
|
12268
12305
|
* @summary Get PBX IP Address
|
|
@@ -12563,6 +12600,44 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12563
12600
|
});
|
|
12564
12601
|
});
|
|
12565
12602
|
},
|
|
12603
|
+
/**
|
|
12604
|
+
* Allocate Wizard Engineer
|
|
12605
|
+
* @param {number} engineerId Engineer ID
|
|
12606
|
+
* @param {*} [options] Override http request option.
|
|
12607
|
+
* @throws {RequiredError}
|
|
12608
|
+
*/
|
|
12609
|
+
patchAllocateEngineer: function (engineerId_1) {
|
|
12610
|
+
var args_1 = [];
|
|
12611
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12612
|
+
args_1[_i - 1] = arguments[_i];
|
|
12613
|
+
}
|
|
12614
|
+
return __awaiter(_this, __spreadArray([engineerId_1], args_1, true), void 0, function (engineerId, options) {
|
|
12615
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12616
|
+
if (options === void 0) { options = {}; }
|
|
12617
|
+
return __generator(this, function (_a) {
|
|
12618
|
+
// verify required parameter 'engineerId' is not null or undefined
|
|
12619
|
+
(0, common_1.assertParamExists)('patchAllocateEngineer', 'engineerId', engineerId);
|
|
12620
|
+
localVarPath = "/tcx/wizards/engineering/engineer";
|
|
12621
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12622
|
+
if (configuration) {
|
|
12623
|
+
baseOptions = configuration.baseOptions;
|
|
12624
|
+
}
|
|
12625
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12626
|
+
localVarHeaderParameter = {};
|
|
12627
|
+
localVarQueryParameter = {};
|
|
12628
|
+
if (engineerId !== undefined) {
|
|
12629
|
+
localVarQueryParameter['engineer_id'] = engineerId;
|
|
12630
|
+
}
|
|
12631
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12632
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12633
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12634
|
+
return [2 /*return*/, {
|
|
12635
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12636
|
+
options: localVarRequestOptions,
|
|
12637
|
+
}];
|
|
12638
|
+
});
|
|
12639
|
+
});
|
|
12640
|
+
},
|
|
12566
12641
|
/**
|
|
12567
12642
|
* Update 3CX Installation Wizard
|
|
12568
12643
|
* @summary Update 3CX Installation Wizard
|
|
@@ -12600,6 +12675,206 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12600
12675
|
});
|
|
12601
12676
|
});
|
|
12602
12677
|
},
|
|
12678
|
+
/**
|
|
12679
|
+
* Update Wizard Engineer Task Complete Status
|
|
12680
|
+
* @param {number} taskId Task ID
|
|
12681
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
12682
|
+
* @param {*} [options] Override http request option.
|
|
12683
|
+
* @throws {RequiredError}
|
|
12684
|
+
*/
|
|
12685
|
+
patchMarkEngineerTaskAsComplete: function (taskId_1, complete_1) {
|
|
12686
|
+
var args_1 = [];
|
|
12687
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
12688
|
+
args_1[_i - 2] = arguments[_i];
|
|
12689
|
+
}
|
|
12690
|
+
return __awaiter(_this, __spreadArray([taskId_1, complete_1], args_1, true), void 0, function (taskId, complete, options) {
|
|
12691
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12692
|
+
if (options === void 0) { options = {}; }
|
|
12693
|
+
return __generator(this, function (_a) {
|
|
12694
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
12695
|
+
(0, common_1.assertParamExists)('patchMarkEngineerTaskAsComplete', 'taskId', taskId);
|
|
12696
|
+
// verify required parameter 'complete' is not null or undefined
|
|
12697
|
+
(0, common_1.assertParamExists)('patchMarkEngineerTaskAsComplete', 'complete', complete);
|
|
12698
|
+
localVarPath = "/tcx/wizards/engineering/tasks/{task_id}/complete"
|
|
12699
|
+
.replace('{task_id}', encodeURIComponent(String(taskId)));
|
|
12700
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12701
|
+
if (configuration) {
|
|
12702
|
+
baseOptions = configuration.baseOptions;
|
|
12703
|
+
}
|
|
12704
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12705
|
+
localVarHeaderParameter = {};
|
|
12706
|
+
localVarQueryParameter = {};
|
|
12707
|
+
if (complete !== undefined) {
|
|
12708
|
+
localVarQueryParameter['complete'] = complete;
|
|
12709
|
+
}
|
|
12710
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12711
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12712
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12713
|
+
return [2 /*return*/, {
|
|
12714
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12715
|
+
options: localVarRequestOptions,
|
|
12716
|
+
}];
|
|
12717
|
+
});
|
|
12718
|
+
});
|
|
12719
|
+
},
|
|
12720
|
+
/**
|
|
12721
|
+
* Update Wizard Engineer Task Note
|
|
12722
|
+
* @param {number} taskId Task ID
|
|
12723
|
+
* @param {string} note note
|
|
12724
|
+
* @param {*} [options] Override http request option.
|
|
12725
|
+
* @throws {RequiredError}
|
|
12726
|
+
*/
|
|
12727
|
+
patchUpdateEngineerTaskNote: function (taskId_1, note_1) {
|
|
12728
|
+
var args_1 = [];
|
|
12729
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
12730
|
+
args_1[_i - 2] = arguments[_i];
|
|
12731
|
+
}
|
|
12732
|
+
return __awaiter(_this, __spreadArray([taskId_1, note_1], args_1, true), void 0, function (taskId, note, options) {
|
|
12733
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12734
|
+
if (options === void 0) { options = {}; }
|
|
12735
|
+
return __generator(this, function (_a) {
|
|
12736
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
12737
|
+
(0, common_1.assertParamExists)('patchUpdateEngineerTaskNote', 'taskId', taskId);
|
|
12738
|
+
// verify required parameter 'note' is not null or undefined
|
|
12739
|
+
(0, common_1.assertParamExists)('patchUpdateEngineerTaskNote', 'note', note);
|
|
12740
|
+
localVarPath = "/tcx/wizards/engineering/tasks/{task_id}/note"
|
|
12741
|
+
.replace('{task_id}', encodeURIComponent(String(taskId)));
|
|
12742
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12743
|
+
if (configuration) {
|
|
12744
|
+
baseOptions = configuration.baseOptions;
|
|
12745
|
+
}
|
|
12746
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12747
|
+
localVarHeaderParameter = {};
|
|
12748
|
+
localVarQueryParameter = {};
|
|
12749
|
+
if (note !== undefined) {
|
|
12750
|
+
localVarQueryParameter['note'] = note;
|
|
12751
|
+
}
|
|
12752
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12753
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12754
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12755
|
+
return [2 /*return*/, {
|
|
12756
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12757
|
+
options: localVarRequestOptions,
|
|
12758
|
+
}];
|
|
12759
|
+
});
|
|
12760
|
+
});
|
|
12761
|
+
},
|
|
12762
|
+
/**
|
|
12763
|
+
* Update Wizard Go Live Date
|
|
12764
|
+
* @param {string} goLiveDate Go Live Date
|
|
12765
|
+
* @param {*} [options] Override http request option.
|
|
12766
|
+
* @throws {RequiredError}
|
|
12767
|
+
*/
|
|
12768
|
+
patchUpdateGoLiveDate: function (goLiveDate_1) {
|
|
12769
|
+
var args_1 = [];
|
|
12770
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12771
|
+
args_1[_i - 1] = arguments[_i];
|
|
12772
|
+
}
|
|
12773
|
+
return __awaiter(_this, __spreadArray([goLiveDate_1], args_1, true), void 0, function (goLiveDate, options) {
|
|
12774
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12775
|
+
if (options === void 0) { options = {}; }
|
|
12776
|
+
return __generator(this, function (_a) {
|
|
12777
|
+
// verify required parameter 'goLiveDate' is not null or undefined
|
|
12778
|
+
(0, common_1.assertParamExists)('patchUpdateGoLiveDate', 'goLiveDate', goLiveDate);
|
|
12779
|
+
localVarPath = "/tcx/wizards/engineering/go_live_date";
|
|
12780
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12781
|
+
if (configuration) {
|
|
12782
|
+
baseOptions = configuration.baseOptions;
|
|
12783
|
+
}
|
|
12784
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12785
|
+
localVarHeaderParameter = {};
|
|
12786
|
+
localVarQueryParameter = {};
|
|
12787
|
+
if (goLiveDate !== undefined) {
|
|
12788
|
+
localVarQueryParameter['go_live_date'] = (goLiveDate instanceof Date) ?
|
|
12789
|
+
goLiveDate.toISOString().substring(0, 10) :
|
|
12790
|
+
goLiveDate;
|
|
12791
|
+
}
|
|
12792
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12793
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12794
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12795
|
+
return [2 /*return*/, {
|
|
12796
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12797
|
+
options: localVarRequestOptions,
|
|
12798
|
+
}];
|
|
12799
|
+
});
|
|
12800
|
+
});
|
|
12801
|
+
},
|
|
12802
|
+
/**
|
|
12803
|
+
* Update Wizard Engineer Note
|
|
12804
|
+
* @param {string} note Note
|
|
12805
|
+
* @param {*} [options] Override http request option.
|
|
12806
|
+
* @throws {RequiredError}
|
|
12807
|
+
*/
|
|
12808
|
+
patchUpdateNote: function (note_1) {
|
|
12809
|
+
var args_1 = [];
|
|
12810
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12811
|
+
args_1[_i - 1] = arguments[_i];
|
|
12812
|
+
}
|
|
12813
|
+
return __awaiter(_this, __spreadArray([note_1], args_1, true), void 0, function (note, options) {
|
|
12814
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12815
|
+
if (options === void 0) { options = {}; }
|
|
12816
|
+
return __generator(this, function (_a) {
|
|
12817
|
+
// verify required parameter 'note' is not null or undefined
|
|
12818
|
+
(0, common_1.assertParamExists)('patchUpdateNote', 'note', note);
|
|
12819
|
+
localVarPath = "/tcx/wizards/engineering/note";
|
|
12820
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12821
|
+
if (configuration) {
|
|
12822
|
+
baseOptions = configuration.baseOptions;
|
|
12823
|
+
}
|
|
12824
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12825
|
+
localVarHeaderParameter = {};
|
|
12826
|
+
localVarQueryParameter = {};
|
|
12827
|
+
if (note !== undefined) {
|
|
12828
|
+
localVarQueryParameter['note'] = note;
|
|
12829
|
+
}
|
|
12830
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12831
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12832
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12833
|
+
return [2 /*return*/, {
|
|
12834
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12835
|
+
options: localVarRequestOptions,
|
|
12836
|
+
}];
|
|
12837
|
+
});
|
|
12838
|
+
});
|
|
12839
|
+
},
|
|
12840
|
+
/**
|
|
12841
|
+
* Update Wizard Engineer Spec
|
|
12842
|
+
* @param {string} spec Spec
|
|
12843
|
+
* @param {*} [options] Override http request option.
|
|
12844
|
+
* @throws {RequiredError}
|
|
12845
|
+
*/
|
|
12846
|
+
patchUpdateSpec: function (spec_1) {
|
|
12847
|
+
var args_1 = [];
|
|
12848
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12849
|
+
args_1[_i - 1] = arguments[_i];
|
|
12850
|
+
}
|
|
12851
|
+
return __awaiter(_this, __spreadArray([spec_1], args_1, true), void 0, function (spec, options) {
|
|
12852
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12853
|
+
if (options === void 0) { options = {}; }
|
|
12854
|
+
return __generator(this, function (_a) {
|
|
12855
|
+
// verify required parameter 'spec' is not null or undefined
|
|
12856
|
+
(0, common_1.assertParamExists)('patchUpdateSpec', 'spec', spec);
|
|
12857
|
+
localVarPath = "/tcx/wizards/engineering/spec";
|
|
12858
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12859
|
+
if (configuration) {
|
|
12860
|
+
baseOptions = configuration.baseOptions;
|
|
12861
|
+
}
|
|
12862
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12863
|
+
localVarHeaderParameter = {};
|
|
12864
|
+
localVarQueryParameter = {};
|
|
12865
|
+
if (spec !== undefined) {
|
|
12866
|
+
localVarQueryParameter['spec'] = spec;
|
|
12867
|
+
}
|
|
12868
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12869
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12870
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12871
|
+
return [2 /*return*/, {
|
|
12872
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12873
|
+
options: localVarRequestOptions,
|
|
12874
|
+
}];
|
|
12875
|
+
});
|
|
12876
|
+
});
|
|
12877
|
+
},
|
|
12603
12878
|
/**
|
|
12604
12879
|
* Add Extensions To 3CX Installation Wizard
|
|
12605
12880
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -13411,6 +13686,28 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
13411
13686
|
});
|
|
13412
13687
|
});
|
|
13413
13688
|
},
|
|
13689
|
+
/**
|
|
13690
|
+
* Get all items on the order linked to the wizard licence key
|
|
13691
|
+
* @summary Get all items on the order linked to this wizard\'s licence key
|
|
13692
|
+
* @param {*} [options] Override http request option.
|
|
13693
|
+
* @throws {RequiredError}
|
|
13694
|
+
*/
|
|
13695
|
+
getGetOrderItems: function (options) {
|
|
13696
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13697
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13698
|
+
var _a, _b, _c;
|
|
13699
|
+
return __generator(this, function (_d) {
|
|
13700
|
+
switch (_d.label) {
|
|
13701
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetOrderItems(options)];
|
|
13702
|
+
case 1:
|
|
13703
|
+
localVarAxiosArgs = _d.sent();
|
|
13704
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13705
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetOrderItems']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13706
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13707
|
+
}
|
|
13708
|
+
});
|
|
13709
|
+
});
|
|
13710
|
+
},
|
|
13414
13711
|
/**
|
|
13415
13712
|
* Get PBX IP Address
|
|
13416
13713
|
* @summary Get PBX IP Address
|
|
@@ -13450,169 +13747,303 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
13450
13747
|
case 1:
|
|
13451
13748
|
localVarAxiosArgs = _d.sent();
|
|
13452
13749
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13453
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetSipTrunkTcxWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13750
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetSipTrunkTcxWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13751
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13752
|
+
}
|
|
13753
|
+
});
|
|
13754
|
+
});
|
|
13755
|
+
},
|
|
13756
|
+
/**
|
|
13757
|
+
* Get SIP Trunks
|
|
13758
|
+
* @summary Get SIP Trunks
|
|
13759
|
+
* @param {number} [pageSize] Number Of Results
|
|
13760
|
+
* @param {number} [page] Page Number
|
|
13761
|
+
* @param {string} [search] Search
|
|
13762
|
+
* @param {*} [options] Override http request option.
|
|
13763
|
+
* @throws {RequiredError}
|
|
13764
|
+
*/
|
|
13765
|
+
getGetSipTrunksTcxWizard: function (pageSize, page, search, options) {
|
|
13766
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13767
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13768
|
+
var _a, _b, _c;
|
|
13769
|
+
return __generator(this, function (_d) {
|
|
13770
|
+
switch (_d.label) {
|
|
13771
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetSipTrunksTcxWizard(pageSize, page, search, options)];
|
|
13772
|
+
case 1:
|
|
13773
|
+
localVarAxiosArgs = _d.sent();
|
|
13774
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13775
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetSipTrunksTcxWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13776
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13777
|
+
}
|
|
13778
|
+
});
|
|
13779
|
+
});
|
|
13780
|
+
},
|
|
13781
|
+
/**
|
|
13782
|
+
* Get 3CX Installation Wizard
|
|
13783
|
+
* @summary Get 3CX Installation Wizard
|
|
13784
|
+
* @param {*} [options] Override http request option.
|
|
13785
|
+
* @throws {RequiredError}
|
|
13786
|
+
*/
|
|
13787
|
+
getGetWizard: function (options) {
|
|
13788
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13789
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13790
|
+
var _a, _b, _c;
|
|
13791
|
+
return __generator(this, function (_d) {
|
|
13792
|
+
switch (_d.label) {
|
|
13793
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetWizard(options)];
|
|
13794
|
+
case 1:
|
|
13795
|
+
localVarAxiosArgs = _d.sent();
|
|
13796
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13797
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13798
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13799
|
+
}
|
|
13800
|
+
});
|
|
13801
|
+
});
|
|
13802
|
+
},
|
|
13803
|
+
/**
|
|
13804
|
+
* Update 3CX Installation Wizard Extensions
|
|
13805
|
+
* @summary Update 3CX Installation Wizard Extensions
|
|
13806
|
+
* @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
|
|
13807
|
+
* @param {*} [options] Override http request option.
|
|
13808
|
+
* @throws {RequiredError}
|
|
13809
|
+
*/
|
|
13810
|
+
patchAddExtensions: function (tcxExtsEntity, options) {
|
|
13811
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13812
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13813
|
+
var _a, _b, _c;
|
|
13814
|
+
return __generator(this, function (_d) {
|
|
13815
|
+
switch (_d.label) {
|
|
13816
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAddExtensions(tcxExtsEntity, options)];
|
|
13817
|
+
case 1:
|
|
13818
|
+
localVarAxiosArgs = _d.sent();
|
|
13819
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13820
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchAddExtensions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13821
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13822
|
+
}
|
|
13823
|
+
});
|
|
13824
|
+
});
|
|
13825
|
+
},
|
|
13826
|
+
/**
|
|
13827
|
+
* Update 3CX Installation Wizard Numbers
|
|
13828
|
+
* @summary Update 3CX Installation Wizard Numbers
|
|
13829
|
+
* @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
|
|
13830
|
+
* @param {*} [options] Override http request option.
|
|
13831
|
+
* @throws {RequiredError}
|
|
13832
|
+
*/
|
|
13833
|
+
patchAddNumbers: function (tcxNumbersEntity, options) {
|
|
13834
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13835
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13836
|
+
var _a, _b, _c;
|
|
13837
|
+
return __generator(this, function (_d) {
|
|
13838
|
+
switch (_d.label) {
|
|
13839
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAddNumbers(tcxNumbersEntity, options)];
|
|
13840
|
+
case 1:
|
|
13841
|
+
localVarAxiosArgs = _d.sent();
|
|
13842
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13843
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchAddNumbers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13844
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13845
|
+
}
|
|
13846
|
+
});
|
|
13847
|
+
});
|
|
13848
|
+
},
|
|
13849
|
+
/**
|
|
13850
|
+
* Update 3CX Installation Wizard Phones
|
|
13851
|
+
* @summary Update 3CX Installation Wizard Phones
|
|
13852
|
+
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
13853
|
+
* @param {*} [options] Override http request option.
|
|
13854
|
+
* @throws {RequiredError}
|
|
13855
|
+
*/
|
|
13856
|
+
patchAddPhones: function (tcxPhonesEntity, options) {
|
|
13857
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13858
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13859
|
+
var _a, _b, _c;
|
|
13860
|
+
return __generator(this, function (_d) {
|
|
13861
|
+
switch (_d.label) {
|
|
13862
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAddPhones(tcxPhonesEntity, options)];
|
|
13863
|
+
case 1:
|
|
13864
|
+
localVarAxiosArgs = _d.sent();
|
|
13865
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13866
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchAddPhones']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13867
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13868
|
+
}
|
|
13869
|
+
});
|
|
13870
|
+
});
|
|
13871
|
+
},
|
|
13872
|
+
/**
|
|
13873
|
+
* Update 3CX Installation Wizard SBCs
|
|
13874
|
+
* @summary Update 3CX Installation Wizard SBCs
|
|
13875
|
+
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
13876
|
+
* @param {*} [options] Override http request option.
|
|
13877
|
+
* @throws {RequiredError}
|
|
13878
|
+
*/
|
|
13879
|
+
patchAddSbcs: function (tcxSbcModel, options) {
|
|
13880
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13881
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13882
|
+
var _a, _b, _c;
|
|
13883
|
+
return __generator(this, function (_d) {
|
|
13884
|
+
switch (_d.label) {
|
|
13885
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAddSbcs(tcxSbcModel, options)];
|
|
13886
|
+
case 1:
|
|
13887
|
+
localVarAxiosArgs = _d.sent();
|
|
13888
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13889
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchAddSbcs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13454
13890
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13455
13891
|
}
|
|
13456
13892
|
});
|
|
13457
13893
|
});
|
|
13458
13894
|
},
|
|
13459
13895
|
/**
|
|
13460
|
-
*
|
|
13461
|
-
* @
|
|
13462
|
-
* @param {number} [pageSize] Number Of Results
|
|
13463
|
-
* @param {number} [page] Page Number
|
|
13464
|
-
* @param {string} [search] Search
|
|
13896
|
+
* Allocate Wizard Engineer
|
|
13897
|
+
* @param {number} engineerId Engineer ID
|
|
13465
13898
|
* @param {*} [options] Override http request option.
|
|
13466
13899
|
* @throws {RequiredError}
|
|
13467
13900
|
*/
|
|
13468
|
-
|
|
13901
|
+
patchAllocateEngineer: function (engineerId, options) {
|
|
13469
13902
|
return __awaiter(this, void 0, void 0, function () {
|
|
13470
13903
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13471
13904
|
var _a, _b, _c;
|
|
13472
13905
|
return __generator(this, function (_d) {
|
|
13473
13906
|
switch (_d.label) {
|
|
13474
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
13907
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAllocateEngineer(engineerId, options)];
|
|
13475
13908
|
case 1:
|
|
13476
13909
|
localVarAxiosArgs = _d.sent();
|
|
13477
13910
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13478
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
13911
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchAllocateEngineer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13479
13912
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13480
13913
|
}
|
|
13481
13914
|
});
|
|
13482
13915
|
});
|
|
13483
13916
|
},
|
|
13484
13917
|
/**
|
|
13485
|
-
*
|
|
13486
|
-
* @summary
|
|
13918
|
+
* Update 3CX Installation Wizard
|
|
13919
|
+
* @summary Update 3CX Installation Wizard
|
|
13920
|
+
* @param {TcxWizardModel} [tcxWizardModel] 3CX Wizard
|
|
13487
13921
|
* @param {*} [options] Override http request option.
|
|
13488
13922
|
* @throws {RequiredError}
|
|
13489
13923
|
*/
|
|
13490
|
-
|
|
13924
|
+
patchGetWizard: function (tcxWizardModel, options) {
|
|
13491
13925
|
return __awaiter(this, void 0, void 0, function () {
|
|
13492
13926
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13493
13927
|
var _a, _b, _c;
|
|
13494
13928
|
return __generator(this, function (_d) {
|
|
13495
13929
|
switch (_d.label) {
|
|
13496
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
13930
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchGetWizard(tcxWizardModel, options)];
|
|
13497
13931
|
case 1:
|
|
13498
13932
|
localVarAxiosArgs = _d.sent();
|
|
13499
13933
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13500
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
13934
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchGetWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13501
13935
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13502
13936
|
}
|
|
13503
13937
|
});
|
|
13504
13938
|
});
|
|
13505
13939
|
},
|
|
13506
13940
|
/**
|
|
13507
|
-
* Update
|
|
13508
|
-
* @
|
|
13509
|
-
* @param {
|
|
13941
|
+
* Update Wizard Engineer Task Complete Status
|
|
13942
|
+
* @param {number} taskId Task ID
|
|
13943
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
13510
13944
|
* @param {*} [options] Override http request option.
|
|
13511
13945
|
* @throws {RequiredError}
|
|
13512
13946
|
*/
|
|
13513
|
-
|
|
13947
|
+
patchMarkEngineerTaskAsComplete: function (taskId, complete, options) {
|
|
13514
13948
|
return __awaiter(this, void 0, void 0, function () {
|
|
13515
13949
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13516
13950
|
var _a, _b, _c;
|
|
13517
13951
|
return __generator(this, function (_d) {
|
|
13518
13952
|
switch (_d.label) {
|
|
13519
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
13953
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMarkEngineerTaskAsComplete(taskId, complete, options)];
|
|
13520
13954
|
case 1:
|
|
13521
13955
|
localVarAxiosArgs = _d.sent();
|
|
13522
13956
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13523
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
13957
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchMarkEngineerTaskAsComplete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13524
13958
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13525
13959
|
}
|
|
13526
13960
|
});
|
|
13527
13961
|
});
|
|
13528
13962
|
},
|
|
13529
13963
|
/**
|
|
13530
|
-
* Update
|
|
13531
|
-
* @
|
|
13532
|
-
* @param {
|
|
13964
|
+
* Update Wizard Engineer Task Note
|
|
13965
|
+
* @param {number} taskId Task ID
|
|
13966
|
+
* @param {string} note note
|
|
13533
13967
|
* @param {*} [options] Override http request option.
|
|
13534
13968
|
* @throws {RequiredError}
|
|
13535
13969
|
*/
|
|
13536
|
-
|
|
13970
|
+
patchUpdateEngineerTaskNote: function (taskId, note, options) {
|
|
13537
13971
|
return __awaiter(this, void 0, void 0, function () {
|
|
13538
13972
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13539
13973
|
var _a, _b, _c;
|
|
13540
13974
|
return __generator(this, function (_d) {
|
|
13541
13975
|
switch (_d.label) {
|
|
13542
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
13976
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateEngineerTaskNote(taskId, note, options)];
|
|
13543
13977
|
case 1:
|
|
13544
13978
|
localVarAxiosArgs = _d.sent();
|
|
13545
13979
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13546
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
13980
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateEngineerTaskNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13547
13981
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13548
13982
|
}
|
|
13549
13983
|
});
|
|
13550
13984
|
});
|
|
13551
13985
|
},
|
|
13552
13986
|
/**
|
|
13553
|
-
* Update
|
|
13554
|
-
* @
|
|
13555
|
-
* @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
|
|
13987
|
+
* Update Wizard Go Live Date
|
|
13988
|
+
* @param {string} goLiveDate Go Live Date
|
|
13556
13989
|
* @param {*} [options] Override http request option.
|
|
13557
13990
|
* @throws {RequiredError}
|
|
13558
13991
|
*/
|
|
13559
|
-
|
|
13992
|
+
patchUpdateGoLiveDate: function (goLiveDate, options) {
|
|
13560
13993
|
return __awaiter(this, void 0, void 0, function () {
|
|
13561
13994
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13562
13995
|
var _a, _b, _c;
|
|
13563
13996
|
return __generator(this, function (_d) {
|
|
13564
13997
|
switch (_d.label) {
|
|
13565
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
13998
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateGoLiveDate(goLiveDate, options)];
|
|
13566
13999
|
case 1:
|
|
13567
14000
|
localVarAxiosArgs = _d.sent();
|
|
13568
14001
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13569
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
14002
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateGoLiveDate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13570
14003
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13571
14004
|
}
|
|
13572
14005
|
});
|
|
13573
14006
|
});
|
|
13574
14007
|
},
|
|
13575
14008
|
/**
|
|
13576
|
-
* Update
|
|
13577
|
-
* @
|
|
13578
|
-
* @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
|
|
14009
|
+
* Update Wizard Engineer Note
|
|
14010
|
+
* @param {string} note Note
|
|
13579
14011
|
* @param {*} [options] Override http request option.
|
|
13580
14012
|
* @throws {RequiredError}
|
|
13581
14013
|
*/
|
|
13582
|
-
|
|
14014
|
+
patchUpdateNote: function (note, options) {
|
|
13583
14015
|
return __awaiter(this, void 0, void 0, function () {
|
|
13584
14016
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13585
14017
|
var _a, _b, _c;
|
|
13586
14018
|
return __generator(this, function (_d) {
|
|
13587
14019
|
switch (_d.label) {
|
|
13588
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
14020
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateNote(note, options)];
|
|
13589
14021
|
case 1:
|
|
13590
14022
|
localVarAxiosArgs = _d.sent();
|
|
13591
14023
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13592
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
14024
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13593
14025
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13594
14026
|
}
|
|
13595
14027
|
});
|
|
13596
14028
|
});
|
|
13597
14029
|
},
|
|
13598
14030
|
/**
|
|
13599
|
-
* Update
|
|
13600
|
-
* @
|
|
13601
|
-
* @param {TcxWizardModel} [tcxWizardModel] 3CX Wizard
|
|
14031
|
+
* Update Wizard Engineer Spec
|
|
14032
|
+
* @param {string} spec Spec
|
|
13602
14033
|
* @param {*} [options] Override http request option.
|
|
13603
14034
|
* @throws {RequiredError}
|
|
13604
14035
|
*/
|
|
13605
|
-
|
|
14036
|
+
patchUpdateSpec: function (spec, options) {
|
|
13606
14037
|
return __awaiter(this, void 0, void 0, function () {
|
|
13607
14038
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13608
14039
|
var _a, _b, _c;
|
|
13609
14040
|
return __generator(this, function (_d) {
|
|
13610
14041
|
switch (_d.label) {
|
|
13611
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
14042
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSpec(spec, options)];
|
|
13612
14043
|
case 1:
|
|
13613
14044
|
localVarAxiosArgs = _d.sent();
|
|
13614
14045
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13615
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.
|
|
14046
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateSpec']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13616
14047
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13617
14048
|
}
|
|
13618
14049
|
});
|
|
@@ -14050,6 +14481,15 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14050
14481
|
getGetInstanceInstallStatus: function (options) {
|
|
14051
14482
|
return localVarFp.getGetInstanceInstallStatus(options).then(function (request) { return request(axios, basePath); });
|
|
14052
14483
|
},
|
|
14484
|
+
/**
|
|
14485
|
+
* Get all items on the order linked to the wizard licence key
|
|
14486
|
+
* @summary Get all items on the order linked to this wizard\'s licence key
|
|
14487
|
+
* @param {*} [options] Override http request option.
|
|
14488
|
+
* @throws {RequiredError}
|
|
14489
|
+
*/
|
|
14490
|
+
getGetOrderItems: function (options) {
|
|
14491
|
+
return localVarFp.getGetOrderItems(options).then(function (request) { return request(axios, basePath); });
|
|
14492
|
+
},
|
|
14053
14493
|
/**
|
|
14054
14494
|
* Get PBX IP Address
|
|
14055
14495
|
* @summary Get PBX IP Address
|
|
@@ -14130,6 +14570,15 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14130
14570
|
patchAddSbcs: function (tcxSbcModel, options) {
|
|
14131
14571
|
return localVarFp.patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(axios, basePath); });
|
|
14132
14572
|
},
|
|
14573
|
+
/**
|
|
14574
|
+
* Allocate Wizard Engineer
|
|
14575
|
+
* @param {number} engineerId Engineer ID
|
|
14576
|
+
* @param {*} [options] Override http request option.
|
|
14577
|
+
* @throws {RequiredError}
|
|
14578
|
+
*/
|
|
14579
|
+
patchAllocateEngineer: function (engineerId, options) {
|
|
14580
|
+
return localVarFp.patchAllocateEngineer(engineerId, options).then(function (request) { return request(axios, basePath); });
|
|
14581
|
+
},
|
|
14133
14582
|
/**
|
|
14134
14583
|
* Update 3CX Installation Wizard
|
|
14135
14584
|
* @summary Update 3CX Installation Wizard
|
|
@@ -14140,6 +14589,53 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14140
14589
|
patchGetWizard: function (tcxWizardModel, options) {
|
|
14141
14590
|
return localVarFp.patchGetWizard(tcxWizardModel, options).then(function (request) { return request(axios, basePath); });
|
|
14142
14591
|
},
|
|
14592
|
+
/**
|
|
14593
|
+
* Update Wizard Engineer Task Complete Status
|
|
14594
|
+
* @param {number} taskId Task ID
|
|
14595
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
14596
|
+
* @param {*} [options] Override http request option.
|
|
14597
|
+
* @throws {RequiredError}
|
|
14598
|
+
*/
|
|
14599
|
+
patchMarkEngineerTaskAsComplete: function (taskId, complete, options) {
|
|
14600
|
+
return localVarFp.patchMarkEngineerTaskAsComplete(taskId, complete, options).then(function (request) { return request(axios, basePath); });
|
|
14601
|
+
},
|
|
14602
|
+
/**
|
|
14603
|
+
* Update Wizard Engineer Task Note
|
|
14604
|
+
* @param {number} taskId Task ID
|
|
14605
|
+
* @param {string} note note
|
|
14606
|
+
* @param {*} [options] Override http request option.
|
|
14607
|
+
* @throws {RequiredError}
|
|
14608
|
+
*/
|
|
14609
|
+
patchUpdateEngineerTaskNote: function (taskId, note, options) {
|
|
14610
|
+
return localVarFp.patchUpdateEngineerTaskNote(taskId, note, options).then(function (request) { return request(axios, basePath); });
|
|
14611
|
+
},
|
|
14612
|
+
/**
|
|
14613
|
+
* Update Wizard Go Live Date
|
|
14614
|
+
* @param {string} goLiveDate Go Live Date
|
|
14615
|
+
* @param {*} [options] Override http request option.
|
|
14616
|
+
* @throws {RequiredError}
|
|
14617
|
+
*/
|
|
14618
|
+
patchUpdateGoLiveDate: function (goLiveDate, options) {
|
|
14619
|
+
return localVarFp.patchUpdateGoLiveDate(goLiveDate, options).then(function (request) { return request(axios, basePath); });
|
|
14620
|
+
},
|
|
14621
|
+
/**
|
|
14622
|
+
* Update Wizard Engineer Note
|
|
14623
|
+
* @param {string} note Note
|
|
14624
|
+
* @param {*} [options] Override http request option.
|
|
14625
|
+
* @throws {RequiredError}
|
|
14626
|
+
*/
|
|
14627
|
+
patchUpdateNote: function (note, options) {
|
|
14628
|
+
return localVarFp.patchUpdateNote(note, options).then(function (request) { return request(axios, basePath); });
|
|
14629
|
+
},
|
|
14630
|
+
/**
|
|
14631
|
+
* Update Wizard Engineer Spec
|
|
14632
|
+
* @param {string} spec Spec
|
|
14633
|
+
* @param {*} [options] Override http request option.
|
|
14634
|
+
* @throws {RequiredError}
|
|
14635
|
+
*/
|
|
14636
|
+
patchUpdateSpec: function (spec, options) {
|
|
14637
|
+
return localVarFp.patchUpdateSpec(spec, options).then(function (request) { return request(axios, basePath); });
|
|
14638
|
+
},
|
|
14143
14639
|
/**
|
|
14144
14640
|
* Add Extensions To 3CX Installation Wizard
|
|
14145
14641
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -14417,6 +14913,16 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14417
14913
|
var _this = this;
|
|
14418
14914
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).getGetInstanceInstallStatus(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14419
14915
|
};
|
|
14916
|
+
/**
|
|
14917
|
+
* Get all items on the order linked to the wizard licence key
|
|
14918
|
+
* @summary Get all items on the order linked to this wizard\'s licence key
|
|
14919
|
+
* @param {*} [options] Override http request option.
|
|
14920
|
+
* @throws {RequiredError}
|
|
14921
|
+
*/
|
|
14922
|
+
Class3CXInstallationWizardApi.prototype.getGetOrderItems = function (options) {
|
|
14923
|
+
var _this = this;
|
|
14924
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).getGetOrderItems(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14925
|
+
};
|
|
14420
14926
|
/**
|
|
14421
14927
|
* Get PBX IP Address
|
|
14422
14928
|
* @summary Get PBX IP Address
|
|
@@ -14505,6 +15011,16 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14505
15011
|
var _this = this;
|
|
14506
15012
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14507
15013
|
};
|
|
15014
|
+
/**
|
|
15015
|
+
* Allocate Wizard Engineer
|
|
15016
|
+
* @param {number} engineerId Engineer ID
|
|
15017
|
+
* @param {*} [options] Override http request option.
|
|
15018
|
+
* @throws {RequiredError}
|
|
15019
|
+
*/
|
|
15020
|
+
Class3CXInstallationWizardApi.prototype.patchAllocateEngineer = function (engineerId, options) {
|
|
15021
|
+
var _this = this;
|
|
15022
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAllocateEngineer(engineerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15023
|
+
};
|
|
14508
15024
|
/**
|
|
14509
15025
|
* Update 3CX Installation Wizard
|
|
14510
15026
|
* @summary Update 3CX Installation Wizard
|
|
@@ -14516,6 +15032,58 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14516
15032
|
var _this = this;
|
|
14517
15033
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchGetWizard(tcxWizardModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14518
15034
|
};
|
|
15035
|
+
/**
|
|
15036
|
+
* Update Wizard Engineer Task Complete Status
|
|
15037
|
+
* @param {number} taskId Task ID
|
|
15038
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
15039
|
+
* @param {*} [options] Override http request option.
|
|
15040
|
+
* @throws {RequiredError}
|
|
15041
|
+
*/
|
|
15042
|
+
Class3CXInstallationWizardApi.prototype.patchMarkEngineerTaskAsComplete = function (taskId, complete, options) {
|
|
15043
|
+
var _this = this;
|
|
15044
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchMarkEngineerTaskAsComplete(taskId, complete, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15045
|
+
};
|
|
15046
|
+
/**
|
|
15047
|
+
* Update Wizard Engineer Task Note
|
|
15048
|
+
* @param {number} taskId Task ID
|
|
15049
|
+
* @param {string} note note
|
|
15050
|
+
* @param {*} [options] Override http request option.
|
|
15051
|
+
* @throws {RequiredError}
|
|
15052
|
+
*/
|
|
15053
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateEngineerTaskNote = function (taskId, note, options) {
|
|
15054
|
+
var _this = this;
|
|
15055
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateEngineerTaskNote(taskId, note, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15056
|
+
};
|
|
15057
|
+
/**
|
|
15058
|
+
* Update Wizard Go Live Date
|
|
15059
|
+
* @param {string} goLiveDate Go Live Date
|
|
15060
|
+
* @param {*} [options] Override http request option.
|
|
15061
|
+
* @throws {RequiredError}
|
|
15062
|
+
*/
|
|
15063
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateGoLiveDate = function (goLiveDate, options) {
|
|
15064
|
+
var _this = this;
|
|
15065
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateGoLiveDate(goLiveDate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15066
|
+
};
|
|
15067
|
+
/**
|
|
15068
|
+
* Update Wizard Engineer Note
|
|
15069
|
+
* @param {string} note Note
|
|
15070
|
+
* @param {*} [options] Override http request option.
|
|
15071
|
+
* @throws {RequiredError}
|
|
15072
|
+
*/
|
|
15073
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateNote = function (note, options) {
|
|
15074
|
+
var _this = this;
|
|
15075
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateNote(note, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15076
|
+
};
|
|
15077
|
+
/**
|
|
15078
|
+
* Update Wizard Engineer Spec
|
|
15079
|
+
* @param {string} spec Spec
|
|
15080
|
+
* @param {*} [options] Override http request option.
|
|
15081
|
+
* @throws {RequiredError}
|
|
15082
|
+
*/
|
|
15083
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateSpec = function (spec, options) {
|
|
15084
|
+
var _this = this;
|
|
15085
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateSpec(spec, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15086
|
+
};
|
|
14519
15087
|
/**
|
|
14520
15088
|
* Add Extensions To 3CX Installation Wizard
|
|
14521
15089
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -14668,6 +15236,10 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14668
15236
|
return Class3CXInstallationWizardApi;
|
|
14669
15237
|
}(base_1.BaseAPI));
|
|
14670
15238
|
exports.Class3CXInstallationWizardApi = Class3CXInstallationWizardApi;
|
|
15239
|
+
exports.PatchMarkEngineerTaskAsCompleteCompleteEnum = {
|
|
15240
|
+
True: 'true',
|
|
15241
|
+
False: 'false',
|
|
15242
|
+
};
|
|
14671
15243
|
/**
|
|
14672
15244
|
* Class3CXInstallationsApi - axios parameter creator
|
|
14673
15245
|
*/
|
|
@@ -16654,6 +17226,45 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
16654
17226
|
});
|
|
16655
17227
|
});
|
|
16656
17228
|
},
|
|
17229
|
+
/**
|
|
17230
|
+
* Seach EdTechPro Schools
|
|
17231
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17232
|
+
* @param {*} [options] Override http request option.
|
|
17233
|
+
* @throws {RequiredError}
|
|
17234
|
+
*/
|
|
17235
|
+
getSearchSchools: function (search_1) {
|
|
17236
|
+
var args_1 = [];
|
|
17237
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
17238
|
+
args_1[_i - 1] = arguments[_i];
|
|
17239
|
+
}
|
|
17240
|
+
return __awaiter(_this, __spreadArray([search_1], args_1, true), void 0, function (search, options) {
|
|
17241
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17242
|
+
if (options === void 0) { options = {}; }
|
|
17243
|
+
return __generator(this, function (_a) {
|
|
17244
|
+
// verify required parameter 'search' is not null or undefined
|
|
17245
|
+
(0, common_1.assertParamExists)('getSearchSchools', 'search', search);
|
|
17246
|
+
localVarPath = "/tcx/integrations/edtechpro/search/schools";
|
|
17247
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17248
|
+
if (configuration) {
|
|
17249
|
+
baseOptions = configuration.baseOptions;
|
|
17250
|
+
}
|
|
17251
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
17252
|
+
localVarHeaderParameter = {};
|
|
17253
|
+
localVarQueryParameter = {};
|
|
17254
|
+
if (search !== undefined) {
|
|
17255
|
+
localVarQueryParameter['search'] = search;
|
|
17256
|
+
}
|
|
17257
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
17258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17259
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17260
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17261
|
+
return [2 /*return*/, {
|
|
17262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17263
|
+
options: localVarRequestOptions,
|
|
17264
|
+
}];
|
|
17265
|
+
});
|
|
17266
|
+
});
|
|
17267
|
+
},
|
|
16657
17268
|
/**
|
|
16658
17269
|
* Update EdTechPro School Order Reference
|
|
16659
17270
|
* @param {number} clientId ETP Client ID
|
|
@@ -16849,6 +17460,28 @@ var Class3CXIntegrationsApiFp = function (configuration) {
|
|
|
16849
17460
|
});
|
|
16850
17461
|
});
|
|
16851
17462
|
},
|
|
17463
|
+
/**
|
|
17464
|
+
* Seach EdTechPro Schools
|
|
17465
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17466
|
+
* @param {*} [options] Override http request option.
|
|
17467
|
+
* @throws {RequiredError}
|
|
17468
|
+
*/
|
|
17469
|
+
getSearchSchools: function (search, options) {
|
|
17470
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17471
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
17472
|
+
var _a, _b, _c;
|
|
17473
|
+
return __generator(this, function (_d) {
|
|
17474
|
+
switch (_d.label) {
|
|
17475
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSearchSchools(search, options)];
|
|
17476
|
+
case 1:
|
|
17477
|
+
localVarAxiosArgs = _d.sent();
|
|
17478
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17479
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXIntegrationsApi.getSearchSchools']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17480
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
17481
|
+
}
|
|
17482
|
+
});
|
|
17483
|
+
});
|
|
17484
|
+
},
|
|
16852
17485
|
/**
|
|
16853
17486
|
* Update EdTechPro School Order Reference
|
|
16854
17487
|
* @param {number} clientId ETP Client ID
|
|
@@ -16955,6 +17588,15 @@ var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
16955
17588
|
getGetTrusts: function (options) {
|
|
16956
17589
|
return localVarFp.getGetTrusts(options).then(function (request) { return request(axios, basePath); });
|
|
16957
17590
|
},
|
|
17591
|
+
/**
|
|
17592
|
+
* Seach EdTechPro Schools
|
|
17593
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17594
|
+
* @param {*} [options] Override http request option.
|
|
17595
|
+
* @throws {RequiredError}
|
|
17596
|
+
*/
|
|
17597
|
+
getSearchSchools: function (search, options) {
|
|
17598
|
+
return localVarFp.getSearchSchools(search, options).then(function (request) { return request(axios, basePath); });
|
|
17599
|
+
},
|
|
16958
17600
|
/**
|
|
16959
17601
|
* Update EdTechPro School Order Reference
|
|
16960
17602
|
* @param {number} clientId ETP Client ID
|
|
@@ -17027,6 +17669,16 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
17027
17669
|
var _this = this;
|
|
17028
17670
|
return (0, exports.Class3CXIntegrationsApiFp)(this.configuration).getGetTrusts(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17029
17671
|
};
|
|
17672
|
+
/**
|
|
17673
|
+
* Seach EdTechPro Schools
|
|
17674
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17675
|
+
* @param {*} [options] Override http request option.
|
|
17676
|
+
* @throws {RequiredError}
|
|
17677
|
+
*/
|
|
17678
|
+
Class3CXIntegrationsApi.prototype.getSearchSchools = function (search, options) {
|
|
17679
|
+
var _this = this;
|
|
17680
|
+
return (0, exports.Class3CXIntegrationsApiFp)(this.configuration).getSearchSchools(search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17681
|
+
};
|
|
17030
17682
|
/**
|
|
17031
17683
|
* Update EdTechPro School Order Reference
|
|
17032
17684
|
* @param {number} clientId ETP Client ID
|
|
@@ -20070,6 +20722,7 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
20070
20722
|
};
|
|
20071
20723
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
20072
20724
|
TcxWizard: 'tcx_wizard',
|
|
20725
|
+
TcxWizardAdmin: 'tcx_wizard_admin',
|
|
20073
20726
|
Portal: 'portal',
|
|
20074
20727
|
};
|
|
20075
20728
|
exports.PostAuthoriseScopeEnum = {
|
|
@@ -20864,6 +21517,46 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
20864
21517
|
});
|
|
20865
21518
|
});
|
|
20866
21519
|
},
|
|
21520
|
+
/**
|
|
21521
|
+
* Create Engineered Wizard
|
|
21522
|
+
* @param {number} id Order ID
|
|
21523
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
21524
|
+
* @param {*} [options] Override http request option.
|
|
21525
|
+
* @throws {RequiredError}
|
|
21526
|
+
*/
|
|
21527
|
+
postCreateWizardFromOrder: function (id_1, engineeredWizardRequestModel_1) {
|
|
21528
|
+
var args_1 = [];
|
|
21529
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
21530
|
+
args_1[_i - 2] = arguments[_i];
|
|
21531
|
+
}
|
|
21532
|
+
return __awaiter(_this, __spreadArray([id_1, engineeredWizardRequestModel_1], args_1, true), void 0, function (id, engineeredWizardRequestModel, options) {
|
|
21533
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21534
|
+
if (options === void 0) { options = {}; }
|
|
21535
|
+
return __generator(this, function (_a) {
|
|
21536
|
+
// verify required parameter 'id' is not null or undefined
|
|
21537
|
+
(0, common_1.assertParamExists)('postCreateWizardFromOrder', 'id', id);
|
|
21538
|
+
localVarPath = "/admin/orders/{id}/wizard"
|
|
21539
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21540
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21541
|
+
if (configuration) {
|
|
21542
|
+
baseOptions = configuration.baseOptions;
|
|
21543
|
+
}
|
|
21544
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
21545
|
+
localVarHeaderParameter = {};
|
|
21546
|
+
localVarQueryParameter = {};
|
|
21547
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21548
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
21549
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21550
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21551
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21552
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(engineeredWizardRequestModel, localVarRequestOptions, configuration);
|
|
21553
|
+
return [2 /*return*/, {
|
|
21554
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21555
|
+
options: localVarRequestOptions,
|
|
21556
|
+
}];
|
|
21557
|
+
});
|
|
21558
|
+
});
|
|
21559
|
+
},
|
|
20867
21560
|
/**
|
|
20868
21561
|
* Create An Order (Beta)
|
|
20869
21562
|
* @summary Create An Order (Beta)
|
|
@@ -21931,6 +22624,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
21931
22624
|
});
|
|
21932
22625
|
});
|
|
21933
22626
|
},
|
|
22627
|
+
/**
|
|
22628
|
+
* Create Engineered Wizard
|
|
22629
|
+
* @param {number} id Order ID
|
|
22630
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
22631
|
+
* @param {*} [options] Override http request option.
|
|
22632
|
+
* @throws {RequiredError}
|
|
22633
|
+
*/
|
|
22634
|
+
postCreateWizardFromOrder: function (id, engineeredWizardRequestModel, options) {
|
|
22635
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22636
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
22637
|
+
var _a, _b, _c;
|
|
22638
|
+
return __generator(this, function (_d) {
|
|
22639
|
+
switch (_d.label) {
|
|
22640
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options)];
|
|
22641
|
+
case 1:
|
|
22642
|
+
localVarAxiosArgs = _d.sent();
|
|
22643
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22644
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreateWizardFromOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22645
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
22646
|
+
}
|
|
22647
|
+
});
|
|
22648
|
+
});
|
|
22649
|
+
},
|
|
21934
22650
|
/**
|
|
21935
22651
|
* Create An Order (Beta)
|
|
21936
22652
|
* @summary Create An Order (Beta)
|
|
@@ -22483,6 +23199,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
22483
23199
|
postCreateShipment: function (id, batchId, shipmentRequestDTO, options) {
|
|
22484
23200
|
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
22485
23201
|
},
|
|
23202
|
+
/**
|
|
23203
|
+
* Create Engineered Wizard
|
|
23204
|
+
* @param {number} id Order ID
|
|
23205
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
23206
|
+
* @param {*} [options] Override http request option.
|
|
23207
|
+
* @throws {RequiredError}
|
|
23208
|
+
*/
|
|
23209
|
+
postCreateWizardFromOrder: function (id, engineeredWizardRequestModel, options) {
|
|
23210
|
+
return localVarFp.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
23211
|
+
},
|
|
22486
23212
|
/**
|
|
22487
23213
|
* Create An Order (Beta)
|
|
22488
23214
|
* @summary Create An Order (Beta)
|
|
@@ -22873,6 +23599,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
22873
23599
|
var _this = this;
|
|
22874
23600
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22875
23601
|
};
|
|
23602
|
+
/**
|
|
23603
|
+
* Create Engineered Wizard
|
|
23604
|
+
* @param {number} id Order ID
|
|
23605
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
23606
|
+
* @param {*} [options] Override http request option.
|
|
23607
|
+
* @throws {RequiredError}
|
|
23608
|
+
*/
|
|
23609
|
+
OrdersApi.prototype.postCreateWizardFromOrder = function (id, engineeredWizardRequestModel, options) {
|
|
23610
|
+
var _this = this;
|
|
23611
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23612
|
+
};
|
|
22876
23613
|
/**
|
|
22877
23614
|
* Create An Order (Beta)
|
|
22878
23615
|
* @summary Create An Order (Beta)
|