yellowgrid-api-ts 3.2.289 → 3.2.290
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 +4 -0
- package/README.md +11 -0
- package/api.ts +588 -0
- package/dist/api.d.ts +314 -0
- package/dist/api.js +585 -3
- package/dist/models/AgentEnum.d.ts +48 -0
- package/dist/models/AgentEnum.js +50 -0
- package/docs/Class3CXInstallationWizardApi.md +336 -0
- package/docs/EngineeredWizardRequestModel.md +25 -0
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +59 -0
- package/docs/TcxEngineerTaskDTO.md +29 -0
- package/docs/TcxEngineeringDTO.md +37 -0
- package/docs/TcxSummaryDTO.md +23 -0
- package/docs/TcxWizardModel.md +2 -0
- package/models/AgentEnum.ts +49 -0
- 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',
|
|
@@ -12598,6 +12601,44 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12598
12601
|
});
|
|
12599
12602
|
});
|
|
12600
12603
|
},
|
|
12604
|
+
/**
|
|
12605
|
+
* Allocate Wizard Engineer
|
|
12606
|
+
* @param {number} engineerId Engineer ID
|
|
12607
|
+
* @param {*} [options] Override http request option.
|
|
12608
|
+
* @throws {RequiredError}
|
|
12609
|
+
*/
|
|
12610
|
+
patchAllocateEngineer: function (engineerId_1) {
|
|
12611
|
+
var args_1 = [];
|
|
12612
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12613
|
+
args_1[_i - 1] = arguments[_i];
|
|
12614
|
+
}
|
|
12615
|
+
return __awaiter(_this, __spreadArray([engineerId_1], args_1, true), void 0, function (engineerId, options) {
|
|
12616
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12617
|
+
if (options === void 0) { options = {}; }
|
|
12618
|
+
return __generator(this, function (_a) {
|
|
12619
|
+
// verify required parameter 'engineerId' is not null or undefined
|
|
12620
|
+
(0, common_1.assertParamExists)('patchAllocateEngineer', 'engineerId', engineerId);
|
|
12621
|
+
localVarPath = "/tcx/wizards/engineering/engineer";
|
|
12622
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12623
|
+
if (configuration) {
|
|
12624
|
+
baseOptions = configuration.baseOptions;
|
|
12625
|
+
}
|
|
12626
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12627
|
+
localVarHeaderParameter = {};
|
|
12628
|
+
localVarQueryParameter = {};
|
|
12629
|
+
if (engineerId !== undefined) {
|
|
12630
|
+
localVarQueryParameter['engineer_id'] = engineerId;
|
|
12631
|
+
}
|
|
12632
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12633
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12634
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12635
|
+
return [2 /*return*/, {
|
|
12636
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12637
|
+
options: localVarRequestOptions,
|
|
12638
|
+
}];
|
|
12639
|
+
});
|
|
12640
|
+
});
|
|
12641
|
+
},
|
|
12601
12642
|
/**
|
|
12602
12643
|
* Update 3CX Installation Wizard
|
|
12603
12644
|
* @summary Update 3CX Installation Wizard
|
|
@@ -12635,6 +12676,206 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12635
12676
|
});
|
|
12636
12677
|
});
|
|
12637
12678
|
},
|
|
12679
|
+
/**
|
|
12680
|
+
* Update Wizard Engineer Task Complete Status
|
|
12681
|
+
* @param {number} taskId Task ID
|
|
12682
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
12683
|
+
* @param {*} [options] Override http request option.
|
|
12684
|
+
* @throws {RequiredError}
|
|
12685
|
+
*/
|
|
12686
|
+
patchMarkEngineerTaskAsComplete: function (taskId_1, complete_1) {
|
|
12687
|
+
var args_1 = [];
|
|
12688
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
12689
|
+
args_1[_i - 2] = arguments[_i];
|
|
12690
|
+
}
|
|
12691
|
+
return __awaiter(_this, __spreadArray([taskId_1, complete_1], args_1, true), void 0, function (taskId, complete, options) {
|
|
12692
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12693
|
+
if (options === void 0) { options = {}; }
|
|
12694
|
+
return __generator(this, function (_a) {
|
|
12695
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
12696
|
+
(0, common_1.assertParamExists)('patchMarkEngineerTaskAsComplete', 'taskId', taskId);
|
|
12697
|
+
// verify required parameter 'complete' is not null or undefined
|
|
12698
|
+
(0, common_1.assertParamExists)('patchMarkEngineerTaskAsComplete', 'complete', complete);
|
|
12699
|
+
localVarPath = "/tcx/wizards/engineering/tasks/{task_id}/complete"
|
|
12700
|
+
.replace('{task_id}', encodeURIComponent(String(taskId)));
|
|
12701
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12702
|
+
if (configuration) {
|
|
12703
|
+
baseOptions = configuration.baseOptions;
|
|
12704
|
+
}
|
|
12705
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12706
|
+
localVarHeaderParameter = {};
|
|
12707
|
+
localVarQueryParameter = {};
|
|
12708
|
+
if (complete !== undefined) {
|
|
12709
|
+
localVarQueryParameter['complete'] = complete;
|
|
12710
|
+
}
|
|
12711
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12712
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12713
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12714
|
+
return [2 /*return*/, {
|
|
12715
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12716
|
+
options: localVarRequestOptions,
|
|
12717
|
+
}];
|
|
12718
|
+
});
|
|
12719
|
+
});
|
|
12720
|
+
},
|
|
12721
|
+
/**
|
|
12722
|
+
* Update Wizard Engineer Task Note
|
|
12723
|
+
* @param {number} taskId Task ID
|
|
12724
|
+
* @param {string} note note
|
|
12725
|
+
* @param {*} [options] Override http request option.
|
|
12726
|
+
* @throws {RequiredError}
|
|
12727
|
+
*/
|
|
12728
|
+
patchUpdateEngineerTaskNote: function (taskId_1, note_1) {
|
|
12729
|
+
var args_1 = [];
|
|
12730
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
12731
|
+
args_1[_i - 2] = arguments[_i];
|
|
12732
|
+
}
|
|
12733
|
+
return __awaiter(_this, __spreadArray([taskId_1, note_1], args_1, true), void 0, function (taskId, note, options) {
|
|
12734
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12735
|
+
if (options === void 0) { options = {}; }
|
|
12736
|
+
return __generator(this, function (_a) {
|
|
12737
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
12738
|
+
(0, common_1.assertParamExists)('patchUpdateEngineerTaskNote', 'taskId', taskId);
|
|
12739
|
+
// verify required parameter 'note' is not null or undefined
|
|
12740
|
+
(0, common_1.assertParamExists)('patchUpdateEngineerTaskNote', 'note', note);
|
|
12741
|
+
localVarPath = "/tcx/wizards/engineering/tasks/{task_id}/note"
|
|
12742
|
+
.replace('{task_id}', encodeURIComponent(String(taskId)));
|
|
12743
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12744
|
+
if (configuration) {
|
|
12745
|
+
baseOptions = configuration.baseOptions;
|
|
12746
|
+
}
|
|
12747
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12748
|
+
localVarHeaderParameter = {};
|
|
12749
|
+
localVarQueryParameter = {};
|
|
12750
|
+
if (note !== undefined) {
|
|
12751
|
+
localVarQueryParameter['note'] = note;
|
|
12752
|
+
}
|
|
12753
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12754
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12755
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12756
|
+
return [2 /*return*/, {
|
|
12757
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12758
|
+
options: localVarRequestOptions,
|
|
12759
|
+
}];
|
|
12760
|
+
});
|
|
12761
|
+
});
|
|
12762
|
+
},
|
|
12763
|
+
/**
|
|
12764
|
+
* Update Wizard Go Live Date
|
|
12765
|
+
* @param {string} goLiveDate Go Live Date
|
|
12766
|
+
* @param {*} [options] Override http request option.
|
|
12767
|
+
* @throws {RequiredError}
|
|
12768
|
+
*/
|
|
12769
|
+
patchUpdateGoLiveDate: function (goLiveDate_1) {
|
|
12770
|
+
var args_1 = [];
|
|
12771
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12772
|
+
args_1[_i - 1] = arguments[_i];
|
|
12773
|
+
}
|
|
12774
|
+
return __awaiter(_this, __spreadArray([goLiveDate_1], args_1, true), void 0, function (goLiveDate, options) {
|
|
12775
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12776
|
+
if (options === void 0) { options = {}; }
|
|
12777
|
+
return __generator(this, function (_a) {
|
|
12778
|
+
// verify required parameter 'goLiveDate' is not null or undefined
|
|
12779
|
+
(0, common_1.assertParamExists)('patchUpdateGoLiveDate', 'goLiveDate', goLiveDate);
|
|
12780
|
+
localVarPath = "/tcx/wizards/engineering/go_live_date";
|
|
12781
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12782
|
+
if (configuration) {
|
|
12783
|
+
baseOptions = configuration.baseOptions;
|
|
12784
|
+
}
|
|
12785
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12786
|
+
localVarHeaderParameter = {};
|
|
12787
|
+
localVarQueryParameter = {};
|
|
12788
|
+
if (goLiveDate !== undefined) {
|
|
12789
|
+
localVarQueryParameter['go_live_date'] = (goLiveDate instanceof Date) ?
|
|
12790
|
+
goLiveDate.toISOString().substring(0, 10) :
|
|
12791
|
+
goLiveDate;
|
|
12792
|
+
}
|
|
12793
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12794
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12795
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12796
|
+
return [2 /*return*/, {
|
|
12797
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12798
|
+
options: localVarRequestOptions,
|
|
12799
|
+
}];
|
|
12800
|
+
});
|
|
12801
|
+
});
|
|
12802
|
+
},
|
|
12803
|
+
/**
|
|
12804
|
+
* Update Wizard Engineer Note
|
|
12805
|
+
* @param {string} note Note
|
|
12806
|
+
* @param {*} [options] Override http request option.
|
|
12807
|
+
* @throws {RequiredError}
|
|
12808
|
+
*/
|
|
12809
|
+
patchUpdateNote: function (note_1) {
|
|
12810
|
+
var args_1 = [];
|
|
12811
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12812
|
+
args_1[_i - 1] = arguments[_i];
|
|
12813
|
+
}
|
|
12814
|
+
return __awaiter(_this, __spreadArray([note_1], args_1, true), void 0, function (note, options) {
|
|
12815
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12816
|
+
if (options === void 0) { options = {}; }
|
|
12817
|
+
return __generator(this, function (_a) {
|
|
12818
|
+
// verify required parameter 'note' is not null or undefined
|
|
12819
|
+
(0, common_1.assertParamExists)('patchUpdateNote', 'note', note);
|
|
12820
|
+
localVarPath = "/tcx/wizards/engineering/note";
|
|
12821
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12822
|
+
if (configuration) {
|
|
12823
|
+
baseOptions = configuration.baseOptions;
|
|
12824
|
+
}
|
|
12825
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12826
|
+
localVarHeaderParameter = {};
|
|
12827
|
+
localVarQueryParameter = {};
|
|
12828
|
+
if (note !== undefined) {
|
|
12829
|
+
localVarQueryParameter['note'] = note;
|
|
12830
|
+
}
|
|
12831
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12832
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12833
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12834
|
+
return [2 /*return*/, {
|
|
12835
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12836
|
+
options: localVarRequestOptions,
|
|
12837
|
+
}];
|
|
12838
|
+
});
|
|
12839
|
+
});
|
|
12840
|
+
},
|
|
12841
|
+
/**
|
|
12842
|
+
* Update Wizard Engineer Spec
|
|
12843
|
+
* @param {string} spec Spec
|
|
12844
|
+
* @param {*} [options] Override http request option.
|
|
12845
|
+
* @throws {RequiredError}
|
|
12846
|
+
*/
|
|
12847
|
+
patchUpdateSpec: function (spec_1) {
|
|
12848
|
+
var args_1 = [];
|
|
12849
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12850
|
+
args_1[_i - 1] = arguments[_i];
|
|
12851
|
+
}
|
|
12852
|
+
return __awaiter(_this, __spreadArray([spec_1], args_1, true), void 0, function (spec, options) {
|
|
12853
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12854
|
+
if (options === void 0) { options = {}; }
|
|
12855
|
+
return __generator(this, function (_a) {
|
|
12856
|
+
// verify required parameter 'spec' is not null or undefined
|
|
12857
|
+
(0, common_1.assertParamExists)('patchUpdateSpec', 'spec', spec);
|
|
12858
|
+
localVarPath = "/tcx/wizards/engineering/spec";
|
|
12859
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12860
|
+
if (configuration) {
|
|
12861
|
+
baseOptions = configuration.baseOptions;
|
|
12862
|
+
}
|
|
12863
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
12864
|
+
localVarHeaderParameter = {};
|
|
12865
|
+
localVarQueryParameter = {};
|
|
12866
|
+
if (spec !== undefined) {
|
|
12867
|
+
localVarQueryParameter['spec'] = spec;
|
|
12868
|
+
}
|
|
12869
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12870
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12871
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12872
|
+
return [2 /*return*/, {
|
|
12873
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12874
|
+
options: localVarRequestOptions,
|
|
12875
|
+
}];
|
|
12876
|
+
});
|
|
12877
|
+
});
|
|
12878
|
+
},
|
|
12638
12879
|
/**
|
|
12639
12880
|
* Add Extensions To 3CX Installation Wizard
|
|
12640
12881
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -13652,6 +13893,28 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
13652
13893
|
});
|
|
13653
13894
|
});
|
|
13654
13895
|
},
|
|
13896
|
+
/**
|
|
13897
|
+
* Allocate Wizard Engineer
|
|
13898
|
+
* @param {number} engineerId Engineer ID
|
|
13899
|
+
* @param {*} [options] Override http request option.
|
|
13900
|
+
* @throws {RequiredError}
|
|
13901
|
+
*/
|
|
13902
|
+
patchAllocateEngineer: function (engineerId, options) {
|
|
13903
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13904
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13905
|
+
var _a, _b, _c;
|
|
13906
|
+
return __generator(this, function (_d) {
|
|
13907
|
+
switch (_d.label) {
|
|
13908
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAllocateEngineer(engineerId, options)];
|
|
13909
|
+
case 1:
|
|
13910
|
+
localVarAxiosArgs = _d.sent();
|
|
13911
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13912
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchAllocateEngineer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13913
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13914
|
+
}
|
|
13915
|
+
});
|
|
13916
|
+
});
|
|
13917
|
+
},
|
|
13655
13918
|
/**
|
|
13656
13919
|
* Update 3CX Installation Wizard
|
|
13657
13920
|
* @summary Update 3CX Installation Wizard
|
|
@@ -13675,6 +13938,118 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
13675
13938
|
});
|
|
13676
13939
|
});
|
|
13677
13940
|
},
|
|
13941
|
+
/**
|
|
13942
|
+
* Update Wizard Engineer Task Complete Status
|
|
13943
|
+
* @param {number} taskId Task ID
|
|
13944
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
13945
|
+
* @param {*} [options] Override http request option.
|
|
13946
|
+
* @throws {RequiredError}
|
|
13947
|
+
*/
|
|
13948
|
+
patchMarkEngineerTaskAsComplete: function (taskId, complete, options) {
|
|
13949
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13950
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13951
|
+
var _a, _b, _c;
|
|
13952
|
+
return __generator(this, function (_d) {
|
|
13953
|
+
switch (_d.label) {
|
|
13954
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMarkEngineerTaskAsComplete(taskId, complete, options)];
|
|
13955
|
+
case 1:
|
|
13956
|
+
localVarAxiosArgs = _d.sent();
|
|
13957
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13958
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchMarkEngineerTaskAsComplete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13959
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13960
|
+
}
|
|
13961
|
+
});
|
|
13962
|
+
});
|
|
13963
|
+
},
|
|
13964
|
+
/**
|
|
13965
|
+
* Update Wizard Engineer Task Note
|
|
13966
|
+
* @param {number} taskId Task ID
|
|
13967
|
+
* @param {string} note note
|
|
13968
|
+
* @param {*} [options] Override http request option.
|
|
13969
|
+
* @throws {RequiredError}
|
|
13970
|
+
*/
|
|
13971
|
+
patchUpdateEngineerTaskNote: function (taskId, note, options) {
|
|
13972
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13973
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13974
|
+
var _a, _b, _c;
|
|
13975
|
+
return __generator(this, function (_d) {
|
|
13976
|
+
switch (_d.label) {
|
|
13977
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateEngineerTaskNote(taskId, note, options)];
|
|
13978
|
+
case 1:
|
|
13979
|
+
localVarAxiosArgs = _d.sent();
|
|
13980
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13981
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateEngineerTaskNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13982
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13983
|
+
}
|
|
13984
|
+
});
|
|
13985
|
+
});
|
|
13986
|
+
},
|
|
13987
|
+
/**
|
|
13988
|
+
* Update Wizard Go Live Date
|
|
13989
|
+
* @param {string} goLiveDate Go Live Date
|
|
13990
|
+
* @param {*} [options] Override http request option.
|
|
13991
|
+
* @throws {RequiredError}
|
|
13992
|
+
*/
|
|
13993
|
+
patchUpdateGoLiveDate: function (goLiveDate, options) {
|
|
13994
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13995
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13996
|
+
var _a, _b, _c;
|
|
13997
|
+
return __generator(this, function (_d) {
|
|
13998
|
+
switch (_d.label) {
|
|
13999
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateGoLiveDate(goLiveDate, options)];
|
|
14000
|
+
case 1:
|
|
14001
|
+
localVarAxiosArgs = _d.sent();
|
|
14002
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14003
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateGoLiveDate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14004
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14005
|
+
}
|
|
14006
|
+
});
|
|
14007
|
+
});
|
|
14008
|
+
},
|
|
14009
|
+
/**
|
|
14010
|
+
* Update Wizard Engineer Note
|
|
14011
|
+
* @param {string} note Note
|
|
14012
|
+
* @param {*} [options] Override http request option.
|
|
14013
|
+
* @throws {RequiredError}
|
|
14014
|
+
*/
|
|
14015
|
+
patchUpdateNote: function (note, options) {
|
|
14016
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14017
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14018
|
+
var _a, _b, _c;
|
|
14019
|
+
return __generator(this, function (_d) {
|
|
14020
|
+
switch (_d.label) {
|
|
14021
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateNote(note, options)];
|
|
14022
|
+
case 1:
|
|
14023
|
+
localVarAxiosArgs = _d.sent();
|
|
14024
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14025
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14026
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14027
|
+
}
|
|
14028
|
+
});
|
|
14029
|
+
});
|
|
14030
|
+
},
|
|
14031
|
+
/**
|
|
14032
|
+
* Update Wizard Engineer Spec
|
|
14033
|
+
* @param {string} spec Spec
|
|
14034
|
+
* @param {*} [options] Override http request option.
|
|
14035
|
+
* @throws {RequiredError}
|
|
14036
|
+
*/
|
|
14037
|
+
patchUpdateSpec: function (spec, options) {
|
|
14038
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14039
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14040
|
+
var _a, _b, _c;
|
|
14041
|
+
return __generator(this, function (_d) {
|
|
14042
|
+
switch (_d.label) {
|
|
14043
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSpec(spec, options)];
|
|
14044
|
+
case 1:
|
|
14045
|
+
localVarAxiosArgs = _d.sent();
|
|
14046
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14047
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.patchUpdateSpec']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14048
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14049
|
+
}
|
|
14050
|
+
});
|
|
14051
|
+
});
|
|
14052
|
+
},
|
|
13678
14053
|
/**
|
|
13679
14054
|
* Add Extensions To 3CX Installation Wizard
|
|
13680
14055
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -14196,6 +14571,15 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14196
14571
|
patchAddSbcs: function (tcxSbcModel, options) {
|
|
14197
14572
|
return localVarFp.patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(axios, basePath); });
|
|
14198
14573
|
},
|
|
14574
|
+
/**
|
|
14575
|
+
* Allocate Wizard Engineer
|
|
14576
|
+
* @param {number} engineerId Engineer ID
|
|
14577
|
+
* @param {*} [options] Override http request option.
|
|
14578
|
+
* @throws {RequiredError}
|
|
14579
|
+
*/
|
|
14580
|
+
patchAllocateEngineer: function (engineerId, options) {
|
|
14581
|
+
return localVarFp.patchAllocateEngineer(engineerId, options).then(function (request) { return request(axios, basePath); });
|
|
14582
|
+
},
|
|
14199
14583
|
/**
|
|
14200
14584
|
* Update 3CX Installation Wizard
|
|
14201
14585
|
* @summary Update 3CX Installation Wizard
|
|
@@ -14206,6 +14590,53 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14206
14590
|
patchGetWizard: function (tcxWizardModel, options) {
|
|
14207
14591
|
return localVarFp.patchGetWizard(tcxWizardModel, options).then(function (request) { return request(axios, basePath); });
|
|
14208
14592
|
},
|
|
14593
|
+
/**
|
|
14594
|
+
* Update Wizard Engineer Task Complete Status
|
|
14595
|
+
* @param {number} taskId Task ID
|
|
14596
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
14597
|
+
* @param {*} [options] Override http request option.
|
|
14598
|
+
* @throws {RequiredError}
|
|
14599
|
+
*/
|
|
14600
|
+
patchMarkEngineerTaskAsComplete: function (taskId, complete, options) {
|
|
14601
|
+
return localVarFp.patchMarkEngineerTaskAsComplete(taskId, complete, options).then(function (request) { return request(axios, basePath); });
|
|
14602
|
+
},
|
|
14603
|
+
/**
|
|
14604
|
+
* Update Wizard Engineer Task Note
|
|
14605
|
+
* @param {number} taskId Task ID
|
|
14606
|
+
* @param {string} note note
|
|
14607
|
+
* @param {*} [options] Override http request option.
|
|
14608
|
+
* @throws {RequiredError}
|
|
14609
|
+
*/
|
|
14610
|
+
patchUpdateEngineerTaskNote: function (taskId, note, options) {
|
|
14611
|
+
return localVarFp.patchUpdateEngineerTaskNote(taskId, note, options).then(function (request) { return request(axios, basePath); });
|
|
14612
|
+
},
|
|
14613
|
+
/**
|
|
14614
|
+
* Update Wizard Go Live Date
|
|
14615
|
+
* @param {string} goLiveDate Go Live Date
|
|
14616
|
+
* @param {*} [options] Override http request option.
|
|
14617
|
+
* @throws {RequiredError}
|
|
14618
|
+
*/
|
|
14619
|
+
patchUpdateGoLiveDate: function (goLiveDate, options) {
|
|
14620
|
+
return localVarFp.patchUpdateGoLiveDate(goLiveDate, options).then(function (request) { return request(axios, basePath); });
|
|
14621
|
+
},
|
|
14622
|
+
/**
|
|
14623
|
+
* Update Wizard Engineer Note
|
|
14624
|
+
* @param {string} note Note
|
|
14625
|
+
* @param {*} [options] Override http request option.
|
|
14626
|
+
* @throws {RequiredError}
|
|
14627
|
+
*/
|
|
14628
|
+
patchUpdateNote: function (note, options) {
|
|
14629
|
+
return localVarFp.patchUpdateNote(note, options).then(function (request) { return request(axios, basePath); });
|
|
14630
|
+
},
|
|
14631
|
+
/**
|
|
14632
|
+
* Update Wizard Engineer Spec
|
|
14633
|
+
* @param {string} spec Spec
|
|
14634
|
+
* @param {*} [options] Override http request option.
|
|
14635
|
+
* @throws {RequiredError}
|
|
14636
|
+
*/
|
|
14637
|
+
patchUpdateSpec: function (spec, options) {
|
|
14638
|
+
return localVarFp.patchUpdateSpec(spec, options).then(function (request) { return request(axios, basePath); });
|
|
14639
|
+
},
|
|
14209
14640
|
/**
|
|
14210
14641
|
* Add Extensions To 3CX Installation Wizard
|
|
14211
14642
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -14581,6 +15012,16 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14581
15012
|
var _this = this;
|
|
14582
15013
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14583
15014
|
};
|
|
15015
|
+
/**
|
|
15016
|
+
* Allocate Wizard Engineer
|
|
15017
|
+
* @param {number} engineerId Engineer ID
|
|
15018
|
+
* @param {*} [options] Override http request option.
|
|
15019
|
+
* @throws {RequiredError}
|
|
15020
|
+
*/
|
|
15021
|
+
Class3CXInstallationWizardApi.prototype.patchAllocateEngineer = function (engineerId, options) {
|
|
15022
|
+
var _this = this;
|
|
15023
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAllocateEngineer(engineerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15024
|
+
};
|
|
14584
15025
|
/**
|
|
14585
15026
|
* Update 3CX Installation Wizard
|
|
14586
15027
|
* @summary Update 3CX Installation Wizard
|
|
@@ -14592,6 +15033,58 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14592
15033
|
var _this = this;
|
|
14593
15034
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchGetWizard(tcxWizardModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14594
15035
|
};
|
|
15036
|
+
/**
|
|
15037
|
+
* Update Wizard Engineer Task Complete Status
|
|
15038
|
+
* @param {number} taskId Task ID
|
|
15039
|
+
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
15040
|
+
* @param {*} [options] Override http request option.
|
|
15041
|
+
* @throws {RequiredError}
|
|
15042
|
+
*/
|
|
15043
|
+
Class3CXInstallationWizardApi.prototype.patchMarkEngineerTaskAsComplete = function (taskId, complete, options) {
|
|
15044
|
+
var _this = this;
|
|
15045
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchMarkEngineerTaskAsComplete(taskId, complete, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15046
|
+
};
|
|
15047
|
+
/**
|
|
15048
|
+
* Update Wizard Engineer Task Note
|
|
15049
|
+
* @param {number} taskId Task ID
|
|
15050
|
+
* @param {string} note note
|
|
15051
|
+
* @param {*} [options] Override http request option.
|
|
15052
|
+
* @throws {RequiredError}
|
|
15053
|
+
*/
|
|
15054
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateEngineerTaskNote = function (taskId, note, options) {
|
|
15055
|
+
var _this = this;
|
|
15056
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateEngineerTaskNote(taskId, note, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15057
|
+
};
|
|
15058
|
+
/**
|
|
15059
|
+
* Update Wizard Go Live Date
|
|
15060
|
+
* @param {string} goLiveDate Go Live Date
|
|
15061
|
+
* @param {*} [options] Override http request option.
|
|
15062
|
+
* @throws {RequiredError}
|
|
15063
|
+
*/
|
|
15064
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateGoLiveDate = function (goLiveDate, options) {
|
|
15065
|
+
var _this = this;
|
|
15066
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateGoLiveDate(goLiveDate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15067
|
+
};
|
|
15068
|
+
/**
|
|
15069
|
+
* Update Wizard Engineer Note
|
|
15070
|
+
* @param {string} note Note
|
|
15071
|
+
* @param {*} [options] Override http request option.
|
|
15072
|
+
* @throws {RequiredError}
|
|
15073
|
+
*/
|
|
15074
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateNote = function (note, options) {
|
|
15075
|
+
var _this = this;
|
|
15076
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateNote(note, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15077
|
+
};
|
|
15078
|
+
/**
|
|
15079
|
+
* Update Wizard Engineer Spec
|
|
15080
|
+
* @param {string} spec Spec
|
|
15081
|
+
* @param {*} [options] Override http request option.
|
|
15082
|
+
* @throws {RequiredError}
|
|
15083
|
+
*/
|
|
15084
|
+
Class3CXInstallationWizardApi.prototype.patchUpdateSpec = function (spec, options) {
|
|
15085
|
+
var _this = this;
|
|
15086
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchUpdateSpec(spec, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15087
|
+
};
|
|
14595
15088
|
/**
|
|
14596
15089
|
* Add Extensions To 3CX Installation Wizard
|
|
14597
15090
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -14744,6 +15237,10 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
14744
15237
|
return Class3CXInstallationWizardApi;
|
|
14745
15238
|
}(base_1.BaseAPI));
|
|
14746
15239
|
exports.Class3CXInstallationWizardApi = Class3CXInstallationWizardApi;
|
|
15240
|
+
exports.PatchMarkEngineerTaskAsCompleteCompleteEnum = {
|
|
15241
|
+
True: 'true',
|
|
15242
|
+
False: 'false',
|
|
15243
|
+
};
|
|
14747
15244
|
/**
|
|
14748
15245
|
* Class3CXInstallationsApi - axios parameter creator
|
|
14749
15246
|
*/
|
|
@@ -20226,6 +20723,7 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
20226
20723
|
};
|
|
20227
20724
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
20228
20725
|
TcxWizard: 'tcx_wizard',
|
|
20726
|
+
TcxWizardAdmin: 'tcx_wizard_admin',
|
|
20229
20727
|
Portal: 'portal',
|
|
20230
20728
|
};
|
|
20231
20729
|
exports.PostAuthoriseScopeEnum = {
|
|
@@ -21020,6 +21518,46 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
21020
21518
|
});
|
|
21021
21519
|
});
|
|
21022
21520
|
},
|
|
21521
|
+
/**
|
|
21522
|
+
* Create Engineered Wizard
|
|
21523
|
+
* @param {number} id Order ID
|
|
21524
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
21525
|
+
* @param {*} [options] Override http request option.
|
|
21526
|
+
* @throws {RequiredError}
|
|
21527
|
+
*/
|
|
21528
|
+
postCreateWizardFromOrder: function (id_1, engineeredWizardRequestModel_1) {
|
|
21529
|
+
var args_1 = [];
|
|
21530
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
21531
|
+
args_1[_i - 2] = arguments[_i];
|
|
21532
|
+
}
|
|
21533
|
+
return __awaiter(_this, __spreadArray([id_1, engineeredWizardRequestModel_1], args_1, true), void 0, function (id, engineeredWizardRequestModel, options) {
|
|
21534
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21535
|
+
if (options === void 0) { options = {}; }
|
|
21536
|
+
return __generator(this, function (_a) {
|
|
21537
|
+
// verify required parameter 'id' is not null or undefined
|
|
21538
|
+
(0, common_1.assertParamExists)('postCreateWizardFromOrder', 'id', id);
|
|
21539
|
+
localVarPath = "/admin/orders/{id}/wizard"
|
|
21540
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21541
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21542
|
+
if (configuration) {
|
|
21543
|
+
baseOptions = configuration.baseOptions;
|
|
21544
|
+
}
|
|
21545
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
21546
|
+
localVarHeaderParameter = {};
|
|
21547
|
+
localVarQueryParameter = {};
|
|
21548
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21549
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
21550
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21551
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21552
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21553
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(engineeredWizardRequestModel, localVarRequestOptions, configuration);
|
|
21554
|
+
return [2 /*return*/, {
|
|
21555
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21556
|
+
options: localVarRequestOptions,
|
|
21557
|
+
}];
|
|
21558
|
+
});
|
|
21559
|
+
});
|
|
21560
|
+
},
|
|
21023
21561
|
/**
|
|
21024
21562
|
* Create An Order (Beta)
|
|
21025
21563
|
* @summary Create An Order (Beta)
|
|
@@ -22087,6 +22625,29 @@ var OrdersApiFp = function (configuration) {
|
|
|
22087
22625
|
});
|
|
22088
22626
|
});
|
|
22089
22627
|
},
|
|
22628
|
+
/**
|
|
22629
|
+
* Create Engineered Wizard
|
|
22630
|
+
* @param {number} id Order ID
|
|
22631
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
22632
|
+
* @param {*} [options] Override http request option.
|
|
22633
|
+
* @throws {RequiredError}
|
|
22634
|
+
*/
|
|
22635
|
+
postCreateWizardFromOrder: function (id, engineeredWizardRequestModel, options) {
|
|
22636
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22637
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
22638
|
+
var _a, _b, _c;
|
|
22639
|
+
return __generator(this, function (_d) {
|
|
22640
|
+
switch (_d.label) {
|
|
22641
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options)];
|
|
22642
|
+
case 1:
|
|
22643
|
+
localVarAxiosArgs = _d.sent();
|
|
22644
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22645
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreateWizardFromOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22646
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
22647
|
+
}
|
|
22648
|
+
});
|
|
22649
|
+
});
|
|
22650
|
+
},
|
|
22090
22651
|
/**
|
|
22091
22652
|
* Create An Order (Beta)
|
|
22092
22653
|
* @summary Create An Order (Beta)
|
|
@@ -22639,6 +23200,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
22639
23200
|
postCreateShipment: function (id, batchId, shipmentRequestDTO, options) {
|
|
22640
23201
|
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
22641
23202
|
},
|
|
23203
|
+
/**
|
|
23204
|
+
* Create Engineered Wizard
|
|
23205
|
+
* @param {number} id Order ID
|
|
23206
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
23207
|
+
* @param {*} [options] Override http request option.
|
|
23208
|
+
* @throws {RequiredError}
|
|
23209
|
+
*/
|
|
23210
|
+
postCreateWizardFromOrder: function (id, engineeredWizardRequestModel, options) {
|
|
23211
|
+
return localVarFp.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then(function (request) { return request(axios, basePath); });
|
|
23212
|
+
},
|
|
22642
23213
|
/**
|
|
22643
23214
|
* Create An Order (Beta)
|
|
22644
23215
|
* @summary Create An Order (Beta)
|
|
@@ -23029,6 +23600,17 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
23029
23600
|
var _this = this;
|
|
23030
23601
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23031
23602
|
};
|
|
23603
|
+
/**
|
|
23604
|
+
* Create Engineered Wizard
|
|
23605
|
+
* @param {number} id Order ID
|
|
23606
|
+
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
23607
|
+
* @param {*} [options] Override http request option.
|
|
23608
|
+
* @throws {RequiredError}
|
|
23609
|
+
*/
|
|
23610
|
+
OrdersApi.prototype.postCreateWizardFromOrder = function (id, engineeredWizardRequestModel, options) {
|
|
23611
|
+
var _this = this;
|
|
23612
|
+
return (0, exports.OrdersApiFp)(this.configuration).postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23613
|
+
};
|
|
23032
23614
|
/**
|
|
23033
23615
|
* Create An Order (Beta)
|
|
23034
23616
|
* @summary Create An Order (Beta)
|