yellowgrid-api-ts 3.2.256-dev.0 → 3.2.257-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 +1 -4
- package/README.md +1 -11
- package/api.ts +20 -596
- package/dist/api.d.ts +15 -319
- package/dist/api.js +19 -595
- package/docs/Class3CXInstallationWizardApi.md +0 -336
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +0 -59
- package/docs/PatchApproveRmaRequest.md +20 -0
- package/docs/RMAApi.md +7 -3
- package/docs/SearchSchoolModel.md +1 -1
- package/docs/TcxWizardModel.md +0 -2
- 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.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 =
|
|
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 =
|
|
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 =
|
|
89
|
+
exports.PricingApiFactory = 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 = void 0;
|
|
90
|
+
exports.StockManagementApiFp = 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 = 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 = void 0;
|
|
92
92
|
var axios_1 = require("axios");
|
|
93
93
|
// Some imports not used depending on template conditions
|
|
94
94
|
// @ts-ignore
|
|
@@ -227,9 +227,6 @@ 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',
|
|
233
230
|
Pops3cxExts: 'pops_3cx_exts',
|
|
234
231
|
PopsHostingPricing: 'pops_hosting_pricing',
|
|
235
232
|
Pops3cxKeys: 'pops_3cx_keys',
|
|
@@ -12600,44 +12597,6 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12600
12597
|
});
|
|
12601
12598
|
});
|
|
12602
12599
|
},
|
|
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
|
-
},
|
|
12641
12600
|
/**
|
|
12642
12601
|
* Update 3CX Installation Wizard
|
|
12643
12602
|
* @summary Update 3CX Installation Wizard
|
|
@@ -12675,206 +12634,6 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
12675
12634
|
});
|
|
12676
12635
|
});
|
|
12677
12636
|
},
|
|
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
|
-
},
|
|
12878
12637
|
/**
|
|
12879
12638
|
* Add Extensions To 3CX Installation Wizard
|
|
12880
12639
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -13892,28 +13651,6 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
13892
13651
|
});
|
|
13893
13652
|
});
|
|
13894
13653
|
},
|
|
13895
|
-
/**
|
|
13896
|
-
* Allocate Wizard Engineer
|
|
13897
|
-
* @param {number} engineerId Engineer ID
|
|
13898
|
-
* @param {*} [options] Override http request option.
|
|
13899
|
-
* @throws {RequiredError}
|
|
13900
|
-
*/
|
|
13901
|
-
patchAllocateEngineer: function (engineerId, options) {
|
|
13902
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
13903
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13904
|
-
var _a, _b, _c;
|
|
13905
|
-
return __generator(this, function (_d) {
|
|
13906
|
-
switch (_d.label) {
|
|
13907
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAllocateEngineer(engineerId, options)];
|
|
13908
|
-
case 1:
|
|
13909
|
-
localVarAxiosArgs = _d.sent();
|
|
13910
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
13912
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13913
|
-
}
|
|
13914
|
-
});
|
|
13915
|
-
});
|
|
13916
|
-
},
|
|
13917
13654
|
/**
|
|
13918
13655
|
* Update 3CX Installation Wizard
|
|
13919
13656
|
* @summary Update 3CX Installation Wizard
|
|
@@ -13937,118 +13674,6 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
13937
13674
|
});
|
|
13938
13675
|
});
|
|
13939
13676
|
},
|
|
13940
|
-
/**
|
|
13941
|
-
* Update Wizard Engineer Task Complete Status
|
|
13942
|
-
* @param {number} taskId Task ID
|
|
13943
|
-
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
13944
|
-
* @param {*} [options] Override http request option.
|
|
13945
|
-
* @throws {RequiredError}
|
|
13946
|
-
*/
|
|
13947
|
-
patchMarkEngineerTaskAsComplete: function (taskId, complete, options) {
|
|
13948
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
13949
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13950
|
-
var _a, _b, _c;
|
|
13951
|
-
return __generator(this, function (_d) {
|
|
13952
|
-
switch (_d.label) {
|
|
13953
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMarkEngineerTaskAsComplete(taskId, complete, options)];
|
|
13954
|
-
case 1:
|
|
13955
|
-
localVarAxiosArgs = _d.sent();
|
|
13956
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
13958
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13959
|
-
}
|
|
13960
|
-
});
|
|
13961
|
-
});
|
|
13962
|
-
},
|
|
13963
|
-
/**
|
|
13964
|
-
* Update Wizard Engineer Task Note
|
|
13965
|
-
* @param {number} taskId Task ID
|
|
13966
|
-
* @param {string} note note
|
|
13967
|
-
* @param {*} [options] Override http request option.
|
|
13968
|
-
* @throws {RequiredError}
|
|
13969
|
-
*/
|
|
13970
|
-
patchUpdateEngineerTaskNote: function (taskId, note, options) {
|
|
13971
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
13972
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13973
|
-
var _a, _b, _c;
|
|
13974
|
-
return __generator(this, function (_d) {
|
|
13975
|
-
switch (_d.label) {
|
|
13976
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateEngineerTaskNote(taskId, note, options)];
|
|
13977
|
-
case 1:
|
|
13978
|
-
localVarAxiosArgs = _d.sent();
|
|
13979
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
13981
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
13982
|
-
}
|
|
13983
|
-
});
|
|
13984
|
-
});
|
|
13985
|
-
},
|
|
13986
|
-
/**
|
|
13987
|
-
* Update Wizard Go Live Date
|
|
13988
|
-
* @param {string} goLiveDate Go Live Date
|
|
13989
|
-
* @param {*} [options] Override http request option.
|
|
13990
|
-
* @throws {RequiredError}
|
|
13991
|
-
*/
|
|
13992
|
-
patchUpdateGoLiveDate: function (goLiveDate, options) {
|
|
13993
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
13994
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
13995
|
-
var _a, _b, _c;
|
|
13996
|
-
return __generator(this, function (_d) {
|
|
13997
|
-
switch (_d.label) {
|
|
13998
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateGoLiveDate(goLiveDate, options)];
|
|
13999
|
-
case 1:
|
|
14000
|
-
localVarAxiosArgs = _d.sent();
|
|
14001
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
14003
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14004
|
-
}
|
|
14005
|
-
});
|
|
14006
|
-
});
|
|
14007
|
-
},
|
|
14008
|
-
/**
|
|
14009
|
-
* Update Wizard Engineer Note
|
|
14010
|
-
* @param {string} note Note
|
|
14011
|
-
* @param {*} [options] Override http request option.
|
|
14012
|
-
* @throws {RequiredError}
|
|
14013
|
-
*/
|
|
14014
|
-
patchUpdateNote: function (note, options) {
|
|
14015
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14016
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14017
|
-
var _a, _b, _c;
|
|
14018
|
-
return __generator(this, function (_d) {
|
|
14019
|
-
switch (_d.label) {
|
|
14020
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateNote(note, options)];
|
|
14021
|
-
case 1:
|
|
14022
|
-
localVarAxiosArgs = _d.sent();
|
|
14023
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
14025
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14026
|
-
}
|
|
14027
|
-
});
|
|
14028
|
-
});
|
|
14029
|
-
},
|
|
14030
|
-
/**
|
|
14031
|
-
* Update Wizard Engineer Spec
|
|
14032
|
-
* @param {string} spec Spec
|
|
14033
|
-
* @param {*} [options] Override http request option.
|
|
14034
|
-
* @throws {RequiredError}
|
|
14035
|
-
*/
|
|
14036
|
-
patchUpdateSpec: function (spec, options) {
|
|
14037
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14038
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14039
|
-
var _a, _b, _c;
|
|
14040
|
-
return __generator(this, function (_d) {
|
|
14041
|
-
switch (_d.label) {
|
|
14042
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSpec(spec, options)];
|
|
14043
|
-
case 1:
|
|
14044
|
-
localVarAxiosArgs = _d.sent();
|
|
14045
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
14047
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
14048
|
-
}
|
|
14049
|
-
});
|
|
14050
|
-
});
|
|
14051
|
-
},
|
|
14052
13677
|
/**
|
|
14053
13678
|
* Add Extensions To 3CX Installation Wizard
|
|
14054
13679
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -14570,15 +14195,6 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14570
14195
|
patchAddSbcs: function (tcxSbcModel, options) {
|
|
14571
14196
|
return localVarFp.patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(axios, basePath); });
|
|
14572
14197
|
},
|
|
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
|
-
},
|
|
14582
14198
|
/**
|
|
14583
14199
|
* Update 3CX Installation Wizard
|
|
14584
14200
|
* @summary Update 3CX Installation Wizard
|
|
@@ -14589,53 +14205,6 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
14589
14205
|
patchGetWizard: function (tcxWizardModel, options) {
|
|
14590
14206
|
return localVarFp.patchGetWizard(tcxWizardModel, options).then(function (request) { return request(axios, basePath); });
|
|
14591
14207
|
},
|
|
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
|
-
},
|
|
14639
14208
|
/**
|
|
14640
14209
|
* Add Extensions To 3CX Installation Wizard
|
|
14641
14210
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -15011,16 +14580,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
15011
14580
|
var _this = this;
|
|
15012
14581
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15013
14582
|
};
|
|
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
|
-
};
|
|
15024
14583
|
/**
|
|
15025
14584
|
* Update 3CX Installation Wizard
|
|
15026
14585
|
* @summary Update 3CX Installation Wizard
|
|
@@ -15032,58 +14591,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
15032
14591
|
var _this = this;
|
|
15033
14592
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchGetWizard(tcxWizardModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15034
14593
|
};
|
|
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
|
-
};
|
|
15087
14594
|
/**
|
|
15088
14595
|
* Add Extensions To 3CX Installation Wizard
|
|
15089
14596
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -15236,10 +14743,6 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
15236
14743
|
return Class3CXInstallationWizardApi;
|
|
15237
14744
|
}(base_1.BaseAPI));
|
|
15238
14745
|
exports.Class3CXInstallationWizardApi = Class3CXInstallationWizardApi;
|
|
15239
|
-
exports.PatchMarkEngineerTaskAsCompleteCompleteEnum = {
|
|
15240
|
-
True: 'true',
|
|
15241
|
-
False: 'false',
|
|
15242
|
-
};
|
|
15243
14746
|
/**
|
|
15244
14747
|
* Class3CXInstallationsApi - axios parameter creator
|
|
15245
14748
|
*/
|
|
@@ -20722,7 +20225,6 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
20722
20225
|
};
|
|
20723
20226
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
20724
20227
|
TcxWizard: 'tcx_wizard',
|
|
20725
|
-
TcxWizardAdmin: 'tcx_wizard_admin',
|
|
20726
20228
|
Portal: 'portal',
|
|
20727
20229
|
};
|
|
20728
20230
|
exports.PostAuthoriseScopeEnum = {
|
|
@@ -21517,46 +21019,6 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
21517
21019
|
});
|
|
21518
21020
|
});
|
|
21519
21021
|
},
|
|
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
|
-
},
|
|
21560
21022
|
/**
|
|
21561
21023
|
* Create An Order (Beta)
|
|
21562
21024
|
* @summary Create An Order (Beta)
|
|
@@ -22624,29 +22086,6 @@ var OrdersApiFp = function (configuration) {
|
|
|
22624
22086
|
});
|
|
22625
22087
|
});
|
|
22626
22088
|
},
|
|
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
|
-
},
|
|
22650
22089
|
/**
|
|
22651
22090
|
* Create An Order (Beta)
|
|
22652
22091
|
* @summary Create An Order (Beta)
|
|
@@ -23199,16 +22638,6 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
23199
22638
|
postCreateShipment: function (id, batchId, shipmentRequestDTO, options) {
|
|
23200
22639
|
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
23201
22640
|
},
|
|
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
|
-
},
|
|
23212
22641
|
/**
|
|
23213
22642
|
* Create An Order (Beta)
|
|
23214
22643
|
* @summary Create An Order (Beta)
|
|
@@ -23599,17 +23028,6 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
23599
23028
|
var _this = this;
|
|
23600
23029
|
return (0, exports.OrdersApiFp)(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23601
23030
|
};
|
|
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
|
-
};
|
|
23613
23031
|
/**
|
|
23614
23032
|
* Create An Order (Beta)
|
|
23615
23033
|
* @summary Create An Order (Beta)
|
|
@@ -27065,15 +26483,16 @@ var RMAApiAxiosParamCreator = function (configuration) {
|
|
|
27065
26483
|
/**
|
|
27066
26484
|
* Approve an RMA
|
|
27067
26485
|
* @param {number} id
|
|
26486
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
27068
26487
|
* @param {*} [options] Override http request option.
|
|
27069
26488
|
* @throws {RequiredError}
|
|
27070
26489
|
*/
|
|
27071
|
-
patchApproveRma: function (id_1) {
|
|
26490
|
+
patchApproveRma: function (id_1, patchApproveRmaRequest_1) {
|
|
27072
26491
|
var args_1 = [];
|
|
27073
|
-
for (var _i =
|
|
27074
|
-
args_1[_i -
|
|
26492
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
26493
|
+
args_1[_i - 2] = arguments[_i];
|
|
27075
26494
|
}
|
|
27076
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
26495
|
+
return __awaiter(_this, __spreadArray([id_1, patchApproveRmaRequest_1], args_1, true), void 0, function (id, patchApproveRmaRequest, options) {
|
|
27077
26496
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27078
26497
|
if (options === void 0) { options = {}; }
|
|
27079
26498
|
return __generator(this, function (_a) {
|
|
@@ -27088,9 +26507,11 @@ var RMAApiAxiosParamCreator = function (configuration) {
|
|
|
27088
26507
|
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
27089
26508
|
localVarHeaderParameter = {};
|
|
27090
26509
|
localVarQueryParameter = {};
|
|
26510
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27091
26511
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27092
26512
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27093
26513
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26514
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchApproveRmaRequest, localVarRequestOptions, configuration);
|
|
27094
26515
|
return [2 /*return*/, {
|
|
27095
26516
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27096
26517
|
options: localVarRequestOptions,
|
|
@@ -28091,16 +27512,17 @@ var RMAApiFp = function (configuration) {
|
|
|
28091
27512
|
/**
|
|
28092
27513
|
* Approve an RMA
|
|
28093
27514
|
* @param {number} id
|
|
27515
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
28094
27516
|
* @param {*} [options] Override http request option.
|
|
28095
27517
|
* @throws {RequiredError}
|
|
28096
27518
|
*/
|
|
28097
|
-
patchApproveRma: function (id, options) {
|
|
27519
|
+
patchApproveRma: function (id, patchApproveRmaRequest, options) {
|
|
28098
27520
|
return __awaiter(this, void 0, void 0, function () {
|
|
28099
27521
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
28100
27522
|
var _a, _b, _c;
|
|
28101
27523
|
return __generator(this, function (_d) {
|
|
28102
27524
|
switch (_d.label) {
|
|
28103
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchApproveRma(id, options)];
|
|
27525
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchApproveRma(id, patchApproveRmaRequest, options)];
|
|
28104
27526
|
case 1:
|
|
28105
27527
|
localVarAxiosArgs = _d.sent();
|
|
28106
27528
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -28656,11 +28078,12 @@ var RMAApiFactory = function (configuration, basePath, axios) {
|
|
|
28656
28078
|
/**
|
|
28657
28079
|
* Approve an RMA
|
|
28658
28080
|
* @param {number} id
|
|
28081
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
28659
28082
|
* @param {*} [options] Override http request option.
|
|
28660
28083
|
* @throws {RequiredError}
|
|
28661
28084
|
*/
|
|
28662
|
-
patchApproveRma: function (id, options) {
|
|
28663
|
-
return localVarFp.patchApproveRma(id, options).then(function (request) { return request(axios, basePath); });
|
|
28085
|
+
patchApproveRma: function (id, patchApproveRmaRequest, options) {
|
|
28086
|
+
return localVarFp.patchApproveRma(id, patchApproveRmaRequest, options).then(function (request) { return request(axios, basePath); });
|
|
28664
28087
|
},
|
|
28665
28088
|
/**
|
|
28666
28089
|
* Mark RMA item as binned
|
|
@@ -28973,12 +28396,13 @@ var RMAApi = /** @class */ (function (_super) {
|
|
|
28973
28396
|
/**
|
|
28974
28397
|
* Approve an RMA
|
|
28975
28398
|
* @param {number} id
|
|
28399
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
28976
28400
|
* @param {*} [options] Override http request option.
|
|
28977
28401
|
* @throws {RequiredError}
|
|
28978
28402
|
*/
|
|
28979
|
-
RMAApi.prototype.patchApproveRma = function (id, options) {
|
|
28403
|
+
RMAApi.prototype.patchApproveRma = function (id, patchApproveRmaRequest, options) {
|
|
28980
28404
|
var _this = this;
|
|
28981
|
-
return (0, exports.RMAApiFp)(this.configuration).patchApproveRma(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28405
|
+
return (0, exports.RMAApiFp)(this.configuration).patchApproveRma(id, patchApproveRmaRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28982
28406
|
};
|
|
28983
28407
|
/**
|
|
28984
28408
|
* Mark RMA item as binned
|