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/api.ts CHANGED
@@ -1332,6 +1332,9 @@ export const AuditLogEntityTypeEnum = {
1332
1332
  Pops3cxBackup: 'pops_3cx_backup',
1333
1333
  Pops3cxBilling: 'pops_3cx_billing',
1334
1334
  PopsDeadLicences: 'pops_dead_licences',
1335
+ Pops3cxEngineering: 'pops_3cx_engineering',
1336
+ Pops3cxEngineerTaskDefinitions: 'pops_3cx_engineer_task_definitions',
1337
+ Pops3cxEngineerTasks: 'pops_3cx_engineer_tasks',
1335
1338
  Pops3cxExts: 'pops_3cx_exts',
1336
1339
  PopsHostingPricing: 'pops_hosting_pricing',
1337
1340
  Pops3cxKeys: 'pops_3cx_keys',
@@ -3121,6 +3124,23 @@ export interface EmailRequestModel {
3121
3124
  */
3122
3125
  'email': string;
3123
3126
  }
3127
+ /**
3128
+ * Engineered Wizard Request
3129
+ */
3130
+ export interface EngineeredWizardRequestModel {
3131
+ /**
3132
+ * Customer Name
3133
+ */
3134
+ 'customer': string;
3135
+ /**
3136
+ * Engineer ID
3137
+ */
3138
+ 'engineerId': number;
3139
+ /**
3140
+ * Licence Key
3141
+ */
3142
+ 'licenceKey': string;
3143
+ }
3124
3144
  /**
3125
3145
  * Service Event DTO
3126
3146
  */
@@ -9668,6 +9688,72 @@ export interface TcxDeadLicenceEntity {
9668
9688
  */
9669
9689
  'date': string;
9670
9690
  }
9691
+ /**
9692
+ * 3CX Engineer Task
9693
+ */
9694
+ export interface TcxEngineerTaskDTO {
9695
+ /**
9696
+ * Task ID
9697
+ */
9698
+ 'taskId': number;
9699
+ /**
9700
+ * Title
9701
+ */
9702
+ 'title': string;
9703
+ /**
9704
+ * Description
9705
+ */
9706
+ 'description': string;
9707
+ /**
9708
+ * Completion Status
9709
+ */
9710
+ 'complete': boolean;
9711
+ /**
9712
+ * Note
9713
+ */
9714
+ 'note': string;
9715
+ }
9716
+ /**
9717
+ * 3CX Engineering
9718
+ */
9719
+ export interface TcxEngineeringDTO {
9720
+ /**
9721
+ * Engineering ID
9722
+ */
9723
+ 'id': number;
9724
+ /**
9725
+ * Wizard ID
9726
+ */
9727
+ 'wizardId': number;
9728
+ /**
9729
+ * Engineer ID
9730
+ */
9731
+ 'engineerId': number;
9732
+ /**
9733
+ * Engineer Name
9734
+ */
9735
+ 'engineerName': string;
9736
+ /**
9737
+ * Ticket URL
9738
+ */
9739
+ 'ticketUrl': string;
9740
+ /**
9741
+ * Date Time
9742
+ */
9743
+ 'goLiveDate'?: string | null;
9744
+ /**
9745
+ * Spec
9746
+ */
9747
+ 'spec'?: string | null;
9748
+ /**
9749
+ * Note
9750
+ */
9751
+ 'note'?: string | null;
9752
+ /**
9753
+ * Tasks
9754
+ */
9755
+ 'tasks': Array<TcxEngineerTaskDTO>;
9756
+ }
9671
9757
  /**
9672
9758
  * 3CX Wizard Extension
9673
9759
  */
@@ -10666,6 +10752,19 @@ export interface TcxSipTrunksEntity {
10666
10752
  */
10667
10753
  'ipAddress'?: string | null;
10668
10754
  }
10755
+ /**
10756
+ * 3CX Wizard Summary
10757
+ */
10758
+ export interface TcxSummaryDTO {
10759
+ /**
10760
+ * Wizard ID
10761
+ */
10762
+ 'id': number;
10763
+ /**
10764
+ * Licence Key
10765
+ */
10766
+ 'licenceKey': string;
10767
+ }
10669
10768
  /**
10670
10769
  * 3CX Template
10671
10770
  */
@@ -10743,6 +10842,7 @@ export interface TcxWizardModel {
10743
10842
  'sbcs'?: Array<TcxSbcModel> | null;
10744
10843
  'sipTrunk'?: TcxSipTrunksEntity | null;
10745
10844
  'installationStatus'?: TcxWizardModelInstallationStatusEnum | null;
10845
+ 'engineering'?: TcxEngineeringDTO | null;
10746
10846
  'setup'?: TcxSetupEntity | null;
10747
10847
  /**
10748
10848
  * End User Wizard View
@@ -21174,6 +21274,41 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
21174
21274
  options: localVarRequestOptions,
21175
21275
  };
21176
21276
  },
21277
+ /**
21278
+ * Allocate Wizard Engineer
21279
+ * @param {number} engineerId Engineer ID
21280
+ * @param {*} [options] Override http request option.
21281
+ * @throws {RequiredError}
21282
+ */
21283
+ patchAllocateEngineer: async (engineerId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21284
+ // verify required parameter 'engineerId' is not null or undefined
21285
+ assertParamExists('patchAllocateEngineer', 'engineerId', engineerId)
21286
+ const localVarPath = `/tcx/wizards/engineering/engineer`;
21287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21288
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21289
+ let baseOptions;
21290
+ if (configuration) {
21291
+ baseOptions = configuration.baseOptions;
21292
+ }
21293
+
21294
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21295
+ const localVarHeaderParameter = {} as any;
21296
+ const localVarQueryParameter = {} as any;
21297
+
21298
+ if (engineerId !== undefined) {
21299
+ localVarQueryParameter['engineer_id'] = engineerId;
21300
+ }
21301
+
21302
+
21303
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21304
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21305
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21306
+
21307
+ return {
21308
+ url: toPathString(localVarUrlObj),
21309
+ options: localVarRequestOptions,
21310
+ };
21311
+ },
21177
21312
  /**
21178
21313
  * Update 3CX Installation Wizard
21179
21314
  * @summary Update 3CX Installation Wizard
@@ -21207,6 +21342,191 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
21207
21342
  options: localVarRequestOptions,
21208
21343
  };
21209
21344
  },
21345
+ /**
21346
+ * Update Wizard Engineer Task Complete Status
21347
+ * @param {number} taskId Task ID
21348
+ * @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
21349
+ * @param {*} [options] Override http request option.
21350
+ * @throws {RequiredError}
21351
+ */
21352
+ patchMarkEngineerTaskAsComplete: async (taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21353
+ // verify required parameter 'taskId' is not null or undefined
21354
+ assertParamExists('patchMarkEngineerTaskAsComplete', 'taskId', taskId)
21355
+ // verify required parameter 'complete' is not null or undefined
21356
+ assertParamExists('patchMarkEngineerTaskAsComplete', 'complete', complete)
21357
+ const localVarPath = `/tcx/wizards/engineering/tasks/{task_id}/complete`
21358
+ .replace('{task_id}', encodeURIComponent(String(taskId)));
21359
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21360
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21361
+ let baseOptions;
21362
+ if (configuration) {
21363
+ baseOptions = configuration.baseOptions;
21364
+ }
21365
+
21366
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21367
+ const localVarHeaderParameter = {} as any;
21368
+ const localVarQueryParameter = {} as any;
21369
+
21370
+ if (complete !== undefined) {
21371
+ localVarQueryParameter['complete'] = complete;
21372
+ }
21373
+
21374
+
21375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21377
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21378
+
21379
+ return {
21380
+ url: toPathString(localVarUrlObj),
21381
+ options: localVarRequestOptions,
21382
+ };
21383
+ },
21384
+ /**
21385
+ * Update Wizard Engineer Task Note
21386
+ * @param {number} taskId Task ID
21387
+ * @param {string} note note
21388
+ * @param {*} [options] Override http request option.
21389
+ * @throws {RequiredError}
21390
+ */
21391
+ patchUpdateEngineerTaskNote: async (taskId: number, note: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21392
+ // verify required parameter 'taskId' is not null or undefined
21393
+ assertParamExists('patchUpdateEngineerTaskNote', 'taskId', taskId)
21394
+ // verify required parameter 'note' is not null or undefined
21395
+ assertParamExists('patchUpdateEngineerTaskNote', 'note', note)
21396
+ const localVarPath = `/tcx/wizards/engineering/tasks/{task_id}/note`
21397
+ .replace('{task_id}', encodeURIComponent(String(taskId)));
21398
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21399
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21400
+ let baseOptions;
21401
+ if (configuration) {
21402
+ baseOptions = configuration.baseOptions;
21403
+ }
21404
+
21405
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21406
+ const localVarHeaderParameter = {} as any;
21407
+ const localVarQueryParameter = {} as any;
21408
+
21409
+ if (note !== undefined) {
21410
+ localVarQueryParameter['note'] = note;
21411
+ }
21412
+
21413
+
21414
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21415
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21416
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21417
+
21418
+ return {
21419
+ url: toPathString(localVarUrlObj),
21420
+ options: localVarRequestOptions,
21421
+ };
21422
+ },
21423
+ /**
21424
+ * Update Wizard Go Live Date
21425
+ * @param {string} goLiveDate Go Live Date
21426
+ * @param {*} [options] Override http request option.
21427
+ * @throws {RequiredError}
21428
+ */
21429
+ patchUpdateGoLiveDate: async (goLiveDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21430
+ // verify required parameter 'goLiveDate' is not null or undefined
21431
+ assertParamExists('patchUpdateGoLiveDate', 'goLiveDate', goLiveDate)
21432
+ const localVarPath = `/tcx/wizards/engineering/go_live_date`;
21433
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21434
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21435
+ let baseOptions;
21436
+ if (configuration) {
21437
+ baseOptions = configuration.baseOptions;
21438
+ }
21439
+
21440
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21441
+ const localVarHeaderParameter = {} as any;
21442
+ const localVarQueryParameter = {} as any;
21443
+
21444
+ if (goLiveDate !== undefined) {
21445
+ localVarQueryParameter['go_live_date'] = (goLiveDate as any instanceof Date) ?
21446
+ (goLiveDate as any).toISOString().substring(0,10) :
21447
+ goLiveDate;
21448
+ }
21449
+
21450
+
21451
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21452
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21453
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21454
+
21455
+ return {
21456
+ url: toPathString(localVarUrlObj),
21457
+ options: localVarRequestOptions,
21458
+ };
21459
+ },
21460
+ /**
21461
+ * Update Wizard Engineer Note
21462
+ * @param {string} note Note
21463
+ * @param {*} [options] Override http request option.
21464
+ * @throws {RequiredError}
21465
+ */
21466
+ patchUpdateNote: async (note: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21467
+ // verify required parameter 'note' is not null or undefined
21468
+ assertParamExists('patchUpdateNote', 'note', note)
21469
+ const localVarPath = `/tcx/wizards/engineering/note`;
21470
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21471
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21472
+ let baseOptions;
21473
+ if (configuration) {
21474
+ baseOptions = configuration.baseOptions;
21475
+ }
21476
+
21477
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21478
+ const localVarHeaderParameter = {} as any;
21479
+ const localVarQueryParameter = {} as any;
21480
+
21481
+ if (note !== undefined) {
21482
+ localVarQueryParameter['note'] = note;
21483
+ }
21484
+
21485
+
21486
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21488
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21489
+
21490
+ return {
21491
+ url: toPathString(localVarUrlObj),
21492
+ options: localVarRequestOptions,
21493
+ };
21494
+ },
21495
+ /**
21496
+ * Update Wizard Engineer Spec
21497
+ * @param {string} spec Spec
21498
+ * @param {*} [options] Override http request option.
21499
+ * @throws {RequiredError}
21500
+ */
21501
+ patchUpdateSpec: async (spec: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21502
+ // verify required parameter 'spec' is not null or undefined
21503
+ assertParamExists('patchUpdateSpec', 'spec', spec)
21504
+ const localVarPath = `/tcx/wizards/engineering/spec`;
21505
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21506
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21507
+ let baseOptions;
21508
+ if (configuration) {
21509
+ baseOptions = configuration.baseOptions;
21510
+ }
21511
+
21512
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
21513
+ const localVarHeaderParameter = {} as any;
21514
+ const localVarQueryParameter = {} as any;
21515
+
21516
+ if (spec !== undefined) {
21517
+ localVarQueryParameter['spec'] = spec;
21518
+ }
21519
+
21520
+
21521
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21522
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21523
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21524
+
21525
+ return {
21526
+ url: toPathString(localVarUrlObj),
21527
+ options: localVarRequestOptions,
21528
+ };
21529
+ },
21210
21530
  /**
21211
21531
  * Add Extensions To 3CX Installation Wizard
21212
21532
  * @summary Add Extensions To 3CX Installation Wizard
@@ -21971,6 +22291,18 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
21971
22291
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchAddSbcs']?.[localVarOperationServerIndex]?.url;
21972
22292
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21973
22293
  },
22294
+ /**
22295
+ * Allocate Wizard Engineer
22296
+ * @param {number} engineerId Engineer ID
22297
+ * @param {*} [options] Override http request option.
22298
+ * @throws {RequiredError}
22299
+ */
22300
+ async patchAllocateEngineer(engineerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22301
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchAllocateEngineer(engineerId, options);
22302
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22303
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchAllocateEngineer']?.[localVarOperationServerIndex]?.url;
22304
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22305
+ },
21974
22306
  /**
21975
22307
  * Update 3CX Installation Wizard
21976
22308
  * @summary Update 3CX Installation Wizard
@@ -21984,6 +22316,68 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
21984
22316
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchGetWizard']?.[localVarOperationServerIndex]?.url;
21985
22317
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21986
22318
  },
22319
+ /**
22320
+ * Update Wizard Engineer Task Complete Status
22321
+ * @param {number} taskId Task ID
22322
+ * @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
22323
+ * @param {*} [options] Override http request option.
22324
+ * @throws {RequiredError}
22325
+ */
22326
+ async patchMarkEngineerTaskAsComplete(taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchMarkEngineerTaskAsComplete(taskId, complete, options);
22328
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22329
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchMarkEngineerTaskAsComplete']?.[localVarOperationServerIndex]?.url;
22330
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22331
+ },
22332
+ /**
22333
+ * Update Wizard Engineer Task Note
22334
+ * @param {number} taskId Task ID
22335
+ * @param {string} note note
22336
+ * @param {*} [options] Override http request option.
22337
+ * @throws {RequiredError}
22338
+ */
22339
+ async patchUpdateEngineerTaskNote(taskId: number, note: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateEngineerTaskNote(taskId, note, options);
22341
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22342
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateEngineerTaskNote']?.[localVarOperationServerIndex]?.url;
22343
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22344
+ },
22345
+ /**
22346
+ * Update Wizard Go Live Date
22347
+ * @param {string} goLiveDate Go Live Date
22348
+ * @param {*} [options] Override http request option.
22349
+ * @throws {RequiredError}
22350
+ */
22351
+ async patchUpdateGoLiveDate(goLiveDate: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22352
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateGoLiveDate(goLiveDate, options);
22353
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22354
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateGoLiveDate']?.[localVarOperationServerIndex]?.url;
22355
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22356
+ },
22357
+ /**
22358
+ * Update Wizard Engineer Note
22359
+ * @param {string} note Note
22360
+ * @param {*} [options] Override http request option.
22361
+ * @throws {RequiredError}
22362
+ */
22363
+ async patchUpdateNote(note: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateNote(note, options);
22365
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22366
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateNote']?.[localVarOperationServerIndex]?.url;
22367
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22368
+ },
22369
+ /**
22370
+ * Update Wizard Engineer Spec
22371
+ * @param {string} spec Spec
22372
+ * @param {*} [options] Override http request option.
22373
+ * @throws {RequiredError}
22374
+ */
22375
+ async patchUpdateSpec(spec: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateSpec(spec, options);
22377
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22378
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateSpec']?.[localVarOperationServerIndex]?.url;
22379
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22380
+ },
21987
22381
  /**
21988
22382
  * Add Extensions To 3CX Installation Wizard
21989
22383
  * @summary Add Extensions To 3CX Installation Wizard
@@ -22375,6 +22769,15 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
22375
22769
  patchAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxSbcModel>> {
22376
22770
  return localVarFp.patchAddSbcs(tcxSbcModel, options).then((request) => request(axios, basePath));
22377
22771
  },
22772
+ /**
22773
+ * Allocate Wizard Engineer
22774
+ * @param {number} engineerId Engineer ID
22775
+ * @param {*} [options] Override http request option.
22776
+ * @throws {RequiredError}
22777
+ */
22778
+ patchAllocateEngineer(engineerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22779
+ return localVarFp.patchAllocateEngineer(engineerId, options).then((request) => request(axios, basePath));
22780
+ },
22378
22781
  /**
22379
22782
  * Update 3CX Installation Wizard
22380
22783
  * @summary Update 3CX Installation Wizard
@@ -22385,6 +22788,53 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
22385
22788
  patchGetWizard(tcxWizardModel?: TcxWizardModel, options?: RawAxiosRequestConfig): AxiosPromise<TcxWizardModel> {
22386
22789
  return localVarFp.patchGetWizard(tcxWizardModel, options).then((request) => request(axios, basePath));
22387
22790
  },
22791
+ /**
22792
+ * Update Wizard Engineer Task Complete Status
22793
+ * @param {number} taskId Task ID
22794
+ * @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
22795
+ * @param {*} [options] Override http request option.
22796
+ * @throws {RequiredError}
22797
+ */
22798
+ patchMarkEngineerTaskAsComplete(taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22799
+ return localVarFp.patchMarkEngineerTaskAsComplete(taskId, complete, options).then((request) => request(axios, basePath));
22800
+ },
22801
+ /**
22802
+ * Update Wizard Engineer Task Note
22803
+ * @param {number} taskId Task ID
22804
+ * @param {string} note note
22805
+ * @param {*} [options] Override http request option.
22806
+ * @throws {RequiredError}
22807
+ */
22808
+ patchUpdateEngineerTaskNote(taskId: number, note: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22809
+ return localVarFp.patchUpdateEngineerTaskNote(taskId, note, options).then((request) => request(axios, basePath));
22810
+ },
22811
+ /**
22812
+ * Update Wizard Go Live Date
22813
+ * @param {string} goLiveDate Go Live Date
22814
+ * @param {*} [options] Override http request option.
22815
+ * @throws {RequiredError}
22816
+ */
22817
+ patchUpdateGoLiveDate(goLiveDate: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22818
+ return localVarFp.patchUpdateGoLiveDate(goLiveDate, options).then((request) => request(axios, basePath));
22819
+ },
22820
+ /**
22821
+ * Update Wizard Engineer Note
22822
+ * @param {string} note Note
22823
+ * @param {*} [options] Override http request option.
22824
+ * @throws {RequiredError}
22825
+ */
22826
+ patchUpdateNote(note: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22827
+ return localVarFp.patchUpdateNote(note, options).then((request) => request(axios, basePath));
22828
+ },
22829
+ /**
22830
+ * Update Wizard Engineer Spec
22831
+ * @param {string} spec Spec
22832
+ * @param {*} [options] Override http request option.
22833
+ * @throws {RequiredError}
22834
+ */
22835
+ patchUpdateSpec(spec: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
22836
+ return localVarFp.patchUpdateSpec(spec, options).then((request) => request(axios, basePath));
22837
+ },
22388
22838
  /**
22389
22839
  * Add Extensions To 3CX Installation Wizard
22390
22840
  * @summary Add Extensions To 3CX Installation Wizard
@@ -22756,6 +23206,16 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
22756
23206
  return Class3CXInstallationWizardApiFp(this.configuration).patchAddSbcs(tcxSbcModel, options).then((request) => request(this.axios, this.basePath));
22757
23207
  }
22758
23208
 
23209
+ /**
23210
+ * Allocate Wizard Engineer
23211
+ * @param {number} engineerId Engineer ID
23212
+ * @param {*} [options] Override http request option.
23213
+ * @throws {RequiredError}
23214
+ */
23215
+ public patchAllocateEngineer(engineerId: number, options?: RawAxiosRequestConfig) {
23216
+ return Class3CXInstallationWizardApiFp(this.configuration).patchAllocateEngineer(engineerId, options).then((request) => request(this.axios, this.basePath));
23217
+ }
23218
+
22759
23219
  /**
22760
23220
  * Update 3CX Installation Wizard
22761
23221
  * @summary Update 3CX Installation Wizard
@@ -22767,6 +23227,58 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
22767
23227
  return Class3CXInstallationWizardApiFp(this.configuration).patchGetWizard(tcxWizardModel, options).then((request) => request(this.axios, this.basePath));
22768
23228
  }
22769
23229
 
23230
+ /**
23231
+ * Update Wizard Engineer Task Complete Status
23232
+ * @param {number} taskId Task ID
23233
+ * @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
23234
+ * @param {*} [options] Override http request option.
23235
+ * @throws {RequiredError}
23236
+ */
23237
+ public patchMarkEngineerTaskAsComplete(taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options?: RawAxiosRequestConfig) {
23238
+ return Class3CXInstallationWizardApiFp(this.configuration).patchMarkEngineerTaskAsComplete(taskId, complete, options).then((request) => request(this.axios, this.basePath));
23239
+ }
23240
+
23241
+ /**
23242
+ * Update Wizard Engineer Task Note
23243
+ * @param {number} taskId Task ID
23244
+ * @param {string} note note
23245
+ * @param {*} [options] Override http request option.
23246
+ * @throws {RequiredError}
23247
+ */
23248
+ public patchUpdateEngineerTaskNote(taskId: number, note: string, options?: RawAxiosRequestConfig) {
23249
+ return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateEngineerTaskNote(taskId, note, options).then((request) => request(this.axios, this.basePath));
23250
+ }
23251
+
23252
+ /**
23253
+ * Update Wizard Go Live Date
23254
+ * @param {string} goLiveDate Go Live Date
23255
+ * @param {*} [options] Override http request option.
23256
+ * @throws {RequiredError}
23257
+ */
23258
+ public patchUpdateGoLiveDate(goLiveDate: string, options?: RawAxiosRequestConfig) {
23259
+ return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateGoLiveDate(goLiveDate, options).then((request) => request(this.axios, this.basePath));
23260
+ }
23261
+
23262
+ /**
23263
+ * Update Wizard Engineer Note
23264
+ * @param {string} note Note
23265
+ * @param {*} [options] Override http request option.
23266
+ * @throws {RequiredError}
23267
+ */
23268
+ public patchUpdateNote(note: string, options?: RawAxiosRequestConfig) {
23269
+ return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateNote(note, options).then((request) => request(this.axios, this.basePath));
23270
+ }
23271
+
23272
+ /**
23273
+ * Update Wizard Engineer Spec
23274
+ * @param {string} spec Spec
23275
+ * @param {*} [options] Override http request option.
23276
+ * @throws {RequiredError}
23277
+ */
23278
+ public patchUpdateSpec(spec: string, options?: RawAxiosRequestConfig) {
23279
+ return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateSpec(spec, options).then((request) => request(this.axios, this.basePath));
23280
+ }
23281
+
22770
23282
  /**
22771
23283
  * Add Extensions To 3CX Installation Wizard
22772
23284
  * @summary Add Extensions To 3CX Installation Wizard
@@ -22917,6 +23429,11 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
22917
23429
  }
22918
23430
  }
22919
23431
 
23432
+ export const PatchMarkEngineerTaskAsCompleteCompleteEnum = {
23433
+ True: 'true',
23434
+ False: 'false',
23435
+ } as const;
23436
+ export type PatchMarkEngineerTaskAsCompleteCompleteEnum = typeof PatchMarkEngineerTaskAsCompleteCompleteEnum[keyof typeof PatchMarkEngineerTaskAsCompleteCompleteEnum];
22920
23437
 
22921
23438
 
22922
23439
  /**
@@ -27687,6 +28204,7 @@ export const PostAccessTokenScopeEnum = {
27687
28204
  export type PostAccessTokenScopeEnum = typeof PostAccessTokenScopeEnum[keyof typeof PostAccessTokenScopeEnum];
27688
28205
  export const PostAccessTokenTokenExchangeTypeEnum = {
27689
28206
  TcxWizard: 'tcx_wizard',
28207
+ TcxWizardAdmin: 'tcx_wizard_admin',
27690
28208
  Portal: 'portal',
27691
28209
  } as const;
27692
28210
  export type PostAccessTokenTokenExchangeTypeEnum = typeof PostAccessTokenTokenExchangeTypeEnum[keyof typeof PostAccessTokenTokenExchangeTypeEnum];
@@ -28421,6 +28939,42 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
28421
28939
  options: localVarRequestOptions,
28422
28940
  };
28423
28941
  },
28942
+ /**
28943
+ * Create Engineered Wizard
28944
+ * @param {number} id Order ID
28945
+ * @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
28946
+ * @param {*} [options] Override http request option.
28947
+ * @throws {RequiredError}
28948
+ */
28949
+ postCreateWizardFromOrder: async (id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28950
+ // verify required parameter 'id' is not null or undefined
28951
+ assertParamExists('postCreateWizardFromOrder', 'id', id)
28952
+ const localVarPath = `/admin/orders/{id}/wizard`
28953
+ .replace('{id}', encodeURIComponent(String(id)));
28954
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28955
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28956
+ let baseOptions;
28957
+ if (configuration) {
28958
+ baseOptions = configuration.baseOptions;
28959
+ }
28960
+
28961
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28962
+ const localVarHeaderParameter = {} as any;
28963
+ const localVarQueryParameter = {} as any;
28964
+
28965
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28966
+ localVarHeaderParameter['Accept'] = 'application/json';
28967
+
28968
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28969
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28970
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28971
+ localVarRequestOptions.data = serializeDataIfNeeded(engineeredWizardRequestModel, localVarRequestOptions, configuration)
28972
+
28973
+ return {
28974
+ url: toPathString(localVarUrlObj),
28975
+ options: localVarRequestOptions,
28976
+ };
28977
+ },
28424
28978
  /**
28425
28979
  * Create An Order (Beta)
28426
28980
  * @summary Create An Order (Beta)
@@ -29260,6 +29814,19 @@ export const OrdersApiFp = function(configuration?: Configuration) {
29260
29814
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateShipment']?.[localVarOperationServerIndex]?.url;
29261
29815
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29262
29816
  },
29817
+ /**
29818
+ * Create Engineered Wizard
29819
+ * @param {number} id Order ID
29820
+ * @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
29821
+ * @param {*} [options] Override http request option.
29822
+ * @throws {RequiredError}
29823
+ */
29824
+ async postCreateWizardFromOrder(id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxSummaryDTO>> {
29825
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options);
29826
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29827
+ const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateWizardFromOrder']?.[localVarOperationServerIndex]?.url;
29828
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29829
+ },
29263
29830
  /**
29264
29831
  * Create An Order (Beta)
29265
29832
  * @summary Create An Order (Beta)
@@ -29672,6 +30239,16 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
29672
30239
  postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO> {
29673
30240
  return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
29674
30241
  },
30242
+ /**
30243
+ * Create Engineered Wizard
30244
+ * @param {number} id Order ID
30245
+ * @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
30246
+ * @param {*} [options] Override http request option.
30247
+ * @throws {RequiredError}
30248
+ */
30249
+ postCreateWizardFromOrder(id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<TcxSummaryDTO> {
30250
+ return localVarFp.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then((request) => request(axios, basePath));
30251
+ },
29675
30252
  /**
29676
30253
  * Create An Order (Beta)
29677
30254
  * @summary Create An Order (Beta)
@@ -30058,6 +30635,17 @@ export class OrdersApi extends BaseAPI {
30058
30635
  return OrdersApiFp(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
30059
30636
  }
30060
30637
 
30638
+ /**
30639
+ * Create Engineered Wizard
30640
+ * @param {number} id Order ID
30641
+ * @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
30642
+ * @param {*} [options] Override http request option.
30643
+ * @throws {RequiredError}
30644
+ */
30645
+ public postCreateWizardFromOrder(id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options?: RawAxiosRequestConfig) {
30646
+ return OrdersApiFp(this.configuration).postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then((request) => request(this.axios, this.basePath));
30647
+ }
30648
+
30061
30649
  /**
30062
30650
  * Create An Order (Beta)
30063
30651
  * @summary Create An Order (Beta)