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/api.ts
CHANGED
|
@@ -1332,9 +1332,6 @@ 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',
|
|
1338
1335
|
Pops3cxExts: 'pops_3cx_exts',
|
|
1339
1336
|
PopsHostingPricing: 'pops_hosting_pricing',
|
|
1340
1337
|
Pops3cxKeys: 'pops_3cx_keys',
|
|
@@ -3124,23 +3121,6 @@ export interface EmailRequestModel {
|
|
|
3124
3121
|
*/
|
|
3125
3122
|
'email': string;
|
|
3126
3123
|
}
|
|
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
|
-
}
|
|
3144
3124
|
/**
|
|
3145
3125
|
* Service Event DTO
|
|
3146
3126
|
*/
|
|
@@ -5504,6 +5484,12 @@ export interface PasswordSenderEntity {
|
|
|
5504
5484
|
*/
|
|
5505
5485
|
'description': string;
|
|
5506
5486
|
}
|
|
5487
|
+
export interface PatchApproveRmaRequest {
|
|
5488
|
+
/**
|
|
5489
|
+
* Send email to customer
|
|
5490
|
+
*/
|
|
5491
|
+
'sendEmail'?: boolean;
|
|
5492
|
+
}
|
|
5507
5493
|
export interface PatchUpdateAccountCnameRequest {
|
|
5508
5494
|
/**
|
|
5509
5495
|
* CNAME
|
|
@@ -7462,7 +7448,7 @@ export interface SearchSchoolModel {
|
|
|
7462
7448
|
/**
|
|
7463
7449
|
* MIS
|
|
7464
7450
|
*/
|
|
7465
|
-
'mis'
|
|
7451
|
+
'mis'?: string | null;
|
|
7466
7452
|
/**
|
|
7467
7453
|
* Address
|
|
7468
7454
|
*/
|
|
@@ -9687,72 +9673,6 @@ export interface TcxDeadLicenceEntity {
|
|
|
9687
9673
|
*/
|
|
9688
9674
|
'date': string;
|
|
9689
9675
|
}
|
|
9690
|
-
/**
|
|
9691
|
-
* 3CX Engineer Task
|
|
9692
|
-
*/
|
|
9693
|
-
export interface TcxEngineerTaskDTO {
|
|
9694
|
-
/**
|
|
9695
|
-
* Task ID
|
|
9696
|
-
*/
|
|
9697
|
-
'taskId': number;
|
|
9698
|
-
/**
|
|
9699
|
-
* Title
|
|
9700
|
-
*/
|
|
9701
|
-
'title': string;
|
|
9702
|
-
/**
|
|
9703
|
-
* Description
|
|
9704
|
-
*/
|
|
9705
|
-
'description': string;
|
|
9706
|
-
/**
|
|
9707
|
-
* Completion Status
|
|
9708
|
-
*/
|
|
9709
|
-
'complete': boolean;
|
|
9710
|
-
/**
|
|
9711
|
-
* Note
|
|
9712
|
-
*/
|
|
9713
|
-
'note': string;
|
|
9714
|
-
}
|
|
9715
|
-
/**
|
|
9716
|
-
* 3CX Engineering
|
|
9717
|
-
*/
|
|
9718
|
-
export interface TcxEngineeringDTO {
|
|
9719
|
-
/**
|
|
9720
|
-
* Engineering ID
|
|
9721
|
-
*/
|
|
9722
|
-
'id': number;
|
|
9723
|
-
/**
|
|
9724
|
-
* Wizard ID
|
|
9725
|
-
*/
|
|
9726
|
-
'wizardId': number;
|
|
9727
|
-
/**
|
|
9728
|
-
* Engineer ID
|
|
9729
|
-
*/
|
|
9730
|
-
'engineerId': number;
|
|
9731
|
-
/**
|
|
9732
|
-
* Engineer Name
|
|
9733
|
-
*/
|
|
9734
|
-
'engineerName': string;
|
|
9735
|
-
/**
|
|
9736
|
-
* Ticket URL
|
|
9737
|
-
*/
|
|
9738
|
-
'ticketUrl': string;
|
|
9739
|
-
/**
|
|
9740
|
-
* Date Time
|
|
9741
|
-
*/
|
|
9742
|
-
'goLiveDate'?: string | null;
|
|
9743
|
-
/**
|
|
9744
|
-
* Spec
|
|
9745
|
-
*/
|
|
9746
|
-
'spec'?: string | null;
|
|
9747
|
-
/**
|
|
9748
|
-
* Note
|
|
9749
|
-
*/
|
|
9750
|
-
'note'?: string | null;
|
|
9751
|
-
/**
|
|
9752
|
-
* Tasks
|
|
9753
|
-
*/
|
|
9754
|
-
'tasks': Array<TcxEngineerTaskDTO>;
|
|
9755
|
-
}
|
|
9756
9676
|
/**
|
|
9757
9677
|
* 3CX Wizard Extension
|
|
9758
9678
|
*/
|
|
@@ -10751,19 +10671,6 @@ export interface TcxSipTrunksEntity {
|
|
|
10751
10671
|
*/
|
|
10752
10672
|
'ipAddress'?: string | null;
|
|
10753
10673
|
}
|
|
10754
|
-
/**
|
|
10755
|
-
* 3CX Wizard Summary
|
|
10756
|
-
*/
|
|
10757
|
-
export interface TcxSummaryDTO {
|
|
10758
|
-
/**
|
|
10759
|
-
* Wizard ID
|
|
10760
|
-
*/
|
|
10761
|
-
'id': number;
|
|
10762
|
-
/**
|
|
10763
|
-
* Licence Key
|
|
10764
|
-
*/
|
|
10765
|
-
'licenceKey': string;
|
|
10766
|
-
}
|
|
10767
10674
|
/**
|
|
10768
10675
|
* 3CX Template
|
|
10769
10676
|
*/
|
|
@@ -10841,7 +10748,6 @@ export interface TcxWizardModel {
|
|
|
10841
10748
|
'sbcs'?: Array<TcxSbcModel> | null;
|
|
10842
10749
|
'sipTrunk'?: TcxSipTrunksEntity | null;
|
|
10843
10750
|
'installationStatus'?: TcxWizardModelInstallationStatusEnum | null;
|
|
10844
|
-
'engineering'?: TcxEngineeringDTO | null;
|
|
10845
10751
|
'setup'?: TcxSetupEntity | null;
|
|
10846
10752
|
/**
|
|
10847
10753
|
* End User Wizard View
|
|
@@ -21273,41 +21179,6 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
|
|
|
21273
21179
|
options: localVarRequestOptions,
|
|
21274
21180
|
};
|
|
21275
21181
|
},
|
|
21276
|
-
/**
|
|
21277
|
-
* Allocate Wizard Engineer
|
|
21278
|
-
* @param {number} engineerId Engineer ID
|
|
21279
|
-
* @param {*} [options] Override http request option.
|
|
21280
|
-
* @throws {RequiredError}
|
|
21281
|
-
*/
|
|
21282
|
-
patchAllocateEngineer: async (engineerId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21283
|
-
// verify required parameter 'engineerId' is not null or undefined
|
|
21284
|
-
assertParamExists('patchAllocateEngineer', 'engineerId', engineerId)
|
|
21285
|
-
const localVarPath = `/tcx/wizards/engineering/engineer`;
|
|
21286
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21287
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21288
|
-
let baseOptions;
|
|
21289
|
-
if (configuration) {
|
|
21290
|
-
baseOptions = configuration.baseOptions;
|
|
21291
|
-
}
|
|
21292
|
-
|
|
21293
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21294
|
-
const localVarHeaderParameter = {} as any;
|
|
21295
|
-
const localVarQueryParameter = {} as any;
|
|
21296
|
-
|
|
21297
|
-
if (engineerId !== undefined) {
|
|
21298
|
-
localVarQueryParameter['engineer_id'] = engineerId;
|
|
21299
|
-
}
|
|
21300
|
-
|
|
21301
|
-
|
|
21302
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21303
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21304
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21305
|
-
|
|
21306
|
-
return {
|
|
21307
|
-
url: toPathString(localVarUrlObj),
|
|
21308
|
-
options: localVarRequestOptions,
|
|
21309
|
-
};
|
|
21310
|
-
},
|
|
21311
21182
|
/**
|
|
21312
21183
|
* Update 3CX Installation Wizard
|
|
21313
21184
|
* @summary Update 3CX Installation Wizard
|
|
@@ -21341,191 +21212,6 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
|
|
|
21341
21212
|
options: localVarRequestOptions,
|
|
21342
21213
|
};
|
|
21343
21214
|
},
|
|
21344
|
-
/**
|
|
21345
|
-
* Update Wizard Engineer Task Complete Status
|
|
21346
|
-
* @param {number} taskId Task ID
|
|
21347
|
-
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
21348
|
-
* @param {*} [options] Override http request option.
|
|
21349
|
-
* @throws {RequiredError}
|
|
21350
|
-
*/
|
|
21351
|
-
patchMarkEngineerTaskAsComplete: async (taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21352
|
-
// verify required parameter 'taskId' is not null or undefined
|
|
21353
|
-
assertParamExists('patchMarkEngineerTaskAsComplete', 'taskId', taskId)
|
|
21354
|
-
// verify required parameter 'complete' is not null or undefined
|
|
21355
|
-
assertParamExists('patchMarkEngineerTaskAsComplete', 'complete', complete)
|
|
21356
|
-
const localVarPath = `/tcx/wizards/engineering/tasks/{task_id}/complete`
|
|
21357
|
-
.replace('{task_id}', encodeURIComponent(String(taskId)));
|
|
21358
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21359
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21360
|
-
let baseOptions;
|
|
21361
|
-
if (configuration) {
|
|
21362
|
-
baseOptions = configuration.baseOptions;
|
|
21363
|
-
}
|
|
21364
|
-
|
|
21365
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21366
|
-
const localVarHeaderParameter = {} as any;
|
|
21367
|
-
const localVarQueryParameter = {} as any;
|
|
21368
|
-
|
|
21369
|
-
if (complete !== undefined) {
|
|
21370
|
-
localVarQueryParameter['complete'] = complete;
|
|
21371
|
-
}
|
|
21372
|
-
|
|
21373
|
-
|
|
21374
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21375
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21376
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21377
|
-
|
|
21378
|
-
return {
|
|
21379
|
-
url: toPathString(localVarUrlObj),
|
|
21380
|
-
options: localVarRequestOptions,
|
|
21381
|
-
};
|
|
21382
|
-
},
|
|
21383
|
-
/**
|
|
21384
|
-
* Update Wizard Engineer Task Note
|
|
21385
|
-
* @param {number} taskId Task ID
|
|
21386
|
-
* @param {string} note note
|
|
21387
|
-
* @param {*} [options] Override http request option.
|
|
21388
|
-
* @throws {RequiredError}
|
|
21389
|
-
*/
|
|
21390
|
-
patchUpdateEngineerTaskNote: async (taskId: number, note: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21391
|
-
// verify required parameter 'taskId' is not null or undefined
|
|
21392
|
-
assertParamExists('patchUpdateEngineerTaskNote', 'taskId', taskId)
|
|
21393
|
-
// verify required parameter 'note' is not null or undefined
|
|
21394
|
-
assertParamExists('patchUpdateEngineerTaskNote', 'note', note)
|
|
21395
|
-
const localVarPath = `/tcx/wizards/engineering/tasks/{task_id}/note`
|
|
21396
|
-
.replace('{task_id}', encodeURIComponent(String(taskId)));
|
|
21397
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21398
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21399
|
-
let baseOptions;
|
|
21400
|
-
if (configuration) {
|
|
21401
|
-
baseOptions = configuration.baseOptions;
|
|
21402
|
-
}
|
|
21403
|
-
|
|
21404
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21405
|
-
const localVarHeaderParameter = {} as any;
|
|
21406
|
-
const localVarQueryParameter = {} as any;
|
|
21407
|
-
|
|
21408
|
-
if (note !== undefined) {
|
|
21409
|
-
localVarQueryParameter['note'] = note;
|
|
21410
|
-
}
|
|
21411
|
-
|
|
21412
|
-
|
|
21413
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21414
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21415
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21416
|
-
|
|
21417
|
-
return {
|
|
21418
|
-
url: toPathString(localVarUrlObj),
|
|
21419
|
-
options: localVarRequestOptions,
|
|
21420
|
-
};
|
|
21421
|
-
},
|
|
21422
|
-
/**
|
|
21423
|
-
* Update Wizard Go Live Date
|
|
21424
|
-
* @param {string} goLiveDate Go Live Date
|
|
21425
|
-
* @param {*} [options] Override http request option.
|
|
21426
|
-
* @throws {RequiredError}
|
|
21427
|
-
*/
|
|
21428
|
-
patchUpdateGoLiveDate: async (goLiveDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21429
|
-
// verify required parameter 'goLiveDate' is not null or undefined
|
|
21430
|
-
assertParamExists('patchUpdateGoLiveDate', 'goLiveDate', goLiveDate)
|
|
21431
|
-
const localVarPath = `/tcx/wizards/engineering/go_live_date`;
|
|
21432
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21433
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21434
|
-
let baseOptions;
|
|
21435
|
-
if (configuration) {
|
|
21436
|
-
baseOptions = configuration.baseOptions;
|
|
21437
|
-
}
|
|
21438
|
-
|
|
21439
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21440
|
-
const localVarHeaderParameter = {} as any;
|
|
21441
|
-
const localVarQueryParameter = {} as any;
|
|
21442
|
-
|
|
21443
|
-
if (goLiveDate !== undefined) {
|
|
21444
|
-
localVarQueryParameter['go_live_date'] = (goLiveDate as any instanceof Date) ?
|
|
21445
|
-
(goLiveDate as any).toISOString().substring(0,10) :
|
|
21446
|
-
goLiveDate;
|
|
21447
|
-
}
|
|
21448
|
-
|
|
21449
|
-
|
|
21450
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21451
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21452
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21453
|
-
|
|
21454
|
-
return {
|
|
21455
|
-
url: toPathString(localVarUrlObj),
|
|
21456
|
-
options: localVarRequestOptions,
|
|
21457
|
-
};
|
|
21458
|
-
},
|
|
21459
|
-
/**
|
|
21460
|
-
* Update Wizard Engineer Note
|
|
21461
|
-
* @param {string} note Note
|
|
21462
|
-
* @param {*} [options] Override http request option.
|
|
21463
|
-
* @throws {RequiredError}
|
|
21464
|
-
*/
|
|
21465
|
-
patchUpdateNote: async (note: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21466
|
-
// verify required parameter 'note' is not null or undefined
|
|
21467
|
-
assertParamExists('patchUpdateNote', 'note', note)
|
|
21468
|
-
const localVarPath = `/tcx/wizards/engineering/note`;
|
|
21469
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21470
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21471
|
-
let baseOptions;
|
|
21472
|
-
if (configuration) {
|
|
21473
|
-
baseOptions = configuration.baseOptions;
|
|
21474
|
-
}
|
|
21475
|
-
|
|
21476
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21477
|
-
const localVarHeaderParameter = {} as any;
|
|
21478
|
-
const localVarQueryParameter = {} as any;
|
|
21479
|
-
|
|
21480
|
-
if (note !== undefined) {
|
|
21481
|
-
localVarQueryParameter['note'] = note;
|
|
21482
|
-
}
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21486
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21487
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21488
|
-
|
|
21489
|
-
return {
|
|
21490
|
-
url: toPathString(localVarUrlObj),
|
|
21491
|
-
options: localVarRequestOptions,
|
|
21492
|
-
};
|
|
21493
|
-
},
|
|
21494
|
-
/**
|
|
21495
|
-
* Update Wizard Engineer Spec
|
|
21496
|
-
* @param {string} spec Spec
|
|
21497
|
-
* @param {*} [options] Override http request option.
|
|
21498
|
-
* @throws {RequiredError}
|
|
21499
|
-
*/
|
|
21500
|
-
patchUpdateSpec: async (spec: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21501
|
-
// verify required parameter 'spec' is not null or undefined
|
|
21502
|
-
assertParamExists('patchUpdateSpec', 'spec', spec)
|
|
21503
|
-
const localVarPath = `/tcx/wizards/engineering/spec`;
|
|
21504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21505
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21506
|
-
let baseOptions;
|
|
21507
|
-
if (configuration) {
|
|
21508
|
-
baseOptions = configuration.baseOptions;
|
|
21509
|
-
}
|
|
21510
|
-
|
|
21511
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21512
|
-
const localVarHeaderParameter = {} as any;
|
|
21513
|
-
const localVarQueryParameter = {} as any;
|
|
21514
|
-
|
|
21515
|
-
if (spec !== undefined) {
|
|
21516
|
-
localVarQueryParameter['spec'] = spec;
|
|
21517
|
-
}
|
|
21518
|
-
|
|
21519
|
-
|
|
21520
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21521
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21522
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21523
|
-
|
|
21524
|
-
return {
|
|
21525
|
-
url: toPathString(localVarUrlObj),
|
|
21526
|
-
options: localVarRequestOptions,
|
|
21527
|
-
};
|
|
21528
|
-
},
|
|
21529
21215
|
/**
|
|
21530
21216
|
* Add Extensions To 3CX Installation Wizard
|
|
21531
21217
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -22290,18 +21976,6 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
|
|
|
22290
21976
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchAddSbcs']?.[localVarOperationServerIndex]?.url;
|
|
22291
21977
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22292
21978
|
},
|
|
22293
|
-
/**
|
|
22294
|
-
* Allocate Wizard Engineer
|
|
22295
|
-
* @param {number} engineerId Engineer ID
|
|
22296
|
-
* @param {*} [options] Override http request option.
|
|
22297
|
-
* @throws {RequiredError}
|
|
22298
|
-
*/
|
|
22299
|
-
async patchAllocateEngineer(engineerId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22300
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchAllocateEngineer(engineerId, options);
|
|
22301
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22302
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchAllocateEngineer']?.[localVarOperationServerIndex]?.url;
|
|
22303
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22304
|
-
},
|
|
22305
21979
|
/**
|
|
22306
21980
|
* Update 3CX Installation Wizard
|
|
22307
21981
|
* @summary Update 3CX Installation Wizard
|
|
@@ -22315,68 +21989,6 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
|
|
|
22315
21989
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchGetWizard']?.[localVarOperationServerIndex]?.url;
|
|
22316
21990
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22317
21991
|
},
|
|
22318
|
-
/**
|
|
22319
|
-
* Update Wizard Engineer Task Complete Status
|
|
22320
|
-
* @param {number} taskId Task ID
|
|
22321
|
-
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
22322
|
-
* @param {*} [options] Override http request option.
|
|
22323
|
-
* @throws {RequiredError}
|
|
22324
|
-
*/
|
|
22325
|
-
async patchMarkEngineerTaskAsComplete(taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMarkEngineerTaskAsComplete(taskId, complete, options);
|
|
22327
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22328
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchMarkEngineerTaskAsComplete']?.[localVarOperationServerIndex]?.url;
|
|
22329
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22330
|
-
},
|
|
22331
|
-
/**
|
|
22332
|
-
* Update Wizard Engineer Task Note
|
|
22333
|
-
* @param {number} taskId Task ID
|
|
22334
|
-
* @param {string} note note
|
|
22335
|
-
* @param {*} [options] Override http request option.
|
|
22336
|
-
* @throws {RequiredError}
|
|
22337
|
-
*/
|
|
22338
|
-
async patchUpdateEngineerTaskNote(taskId: number, note: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22339
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateEngineerTaskNote(taskId, note, options);
|
|
22340
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22341
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateEngineerTaskNote']?.[localVarOperationServerIndex]?.url;
|
|
22342
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22343
|
-
},
|
|
22344
|
-
/**
|
|
22345
|
-
* Update Wizard Go Live Date
|
|
22346
|
-
* @param {string} goLiveDate Go Live Date
|
|
22347
|
-
* @param {*} [options] Override http request option.
|
|
22348
|
-
* @throws {RequiredError}
|
|
22349
|
-
*/
|
|
22350
|
-
async patchUpdateGoLiveDate(goLiveDate: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateGoLiveDate(goLiveDate, options);
|
|
22352
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22353
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateGoLiveDate']?.[localVarOperationServerIndex]?.url;
|
|
22354
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22355
|
-
},
|
|
22356
|
-
/**
|
|
22357
|
-
* Update Wizard Engineer Note
|
|
22358
|
-
* @param {string} note Note
|
|
22359
|
-
* @param {*} [options] Override http request option.
|
|
22360
|
-
* @throws {RequiredError}
|
|
22361
|
-
*/
|
|
22362
|
-
async patchUpdateNote(note: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22363
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateNote(note, options);
|
|
22364
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22365
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateNote']?.[localVarOperationServerIndex]?.url;
|
|
22366
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22367
|
-
},
|
|
22368
|
-
/**
|
|
22369
|
-
* Update Wizard Engineer Spec
|
|
22370
|
-
* @param {string} spec Spec
|
|
22371
|
-
* @param {*} [options] Override http request option.
|
|
22372
|
-
* @throws {RequiredError}
|
|
22373
|
-
*/
|
|
22374
|
-
async patchUpdateSpec(spec: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22375
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateSpec(spec, options);
|
|
22376
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22377
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.patchUpdateSpec']?.[localVarOperationServerIndex]?.url;
|
|
22378
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22379
|
-
},
|
|
22380
21992
|
/**
|
|
22381
21993
|
* Add Extensions To 3CX Installation Wizard
|
|
22382
21994
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -22768,15 +22380,6 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
|
|
|
22768
22380
|
patchAddSbcs(tcxSbcModel?: Array<TcxSbcModel>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxSbcModel>> {
|
|
22769
22381
|
return localVarFp.patchAddSbcs(tcxSbcModel, options).then((request) => request(axios, basePath));
|
|
22770
22382
|
},
|
|
22771
|
-
/**
|
|
22772
|
-
* Allocate Wizard Engineer
|
|
22773
|
-
* @param {number} engineerId Engineer ID
|
|
22774
|
-
* @param {*} [options] Override http request option.
|
|
22775
|
-
* @throws {RequiredError}
|
|
22776
|
-
*/
|
|
22777
|
-
patchAllocateEngineer(engineerId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22778
|
-
return localVarFp.patchAllocateEngineer(engineerId, options).then((request) => request(axios, basePath));
|
|
22779
|
-
},
|
|
22780
22383
|
/**
|
|
22781
22384
|
* Update 3CX Installation Wizard
|
|
22782
22385
|
* @summary Update 3CX Installation Wizard
|
|
@@ -22787,53 +22390,6 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
|
|
|
22787
22390
|
patchGetWizard(tcxWizardModel?: TcxWizardModel, options?: RawAxiosRequestConfig): AxiosPromise<TcxWizardModel> {
|
|
22788
22391
|
return localVarFp.patchGetWizard(tcxWizardModel, options).then((request) => request(axios, basePath));
|
|
22789
22392
|
},
|
|
22790
|
-
/**
|
|
22791
|
-
* Update Wizard Engineer Task Complete Status
|
|
22792
|
-
* @param {number} taskId Task ID
|
|
22793
|
-
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
22794
|
-
* @param {*} [options] Override http request option.
|
|
22795
|
-
* @throws {RequiredError}
|
|
22796
|
-
*/
|
|
22797
|
-
patchMarkEngineerTaskAsComplete(taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22798
|
-
return localVarFp.patchMarkEngineerTaskAsComplete(taskId, complete, options).then((request) => request(axios, basePath));
|
|
22799
|
-
},
|
|
22800
|
-
/**
|
|
22801
|
-
* Update Wizard Engineer Task Note
|
|
22802
|
-
* @param {number} taskId Task ID
|
|
22803
|
-
* @param {string} note note
|
|
22804
|
-
* @param {*} [options] Override http request option.
|
|
22805
|
-
* @throws {RequiredError}
|
|
22806
|
-
*/
|
|
22807
|
-
patchUpdateEngineerTaskNote(taskId: number, note: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22808
|
-
return localVarFp.patchUpdateEngineerTaskNote(taskId, note, options).then((request) => request(axios, basePath));
|
|
22809
|
-
},
|
|
22810
|
-
/**
|
|
22811
|
-
* Update Wizard Go Live Date
|
|
22812
|
-
* @param {string} goLiveDate Go Live Date
|
|
22813
|
-
* @param {*} [options] Override http request option.
|
|
22814
|
-
* @throws {RequiredError}
|
|
22815
|
-
*/
|
|
22816
|
-
patchUpdateGoLiveDate(goLiveDate: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22817
|
-
return localVarFp.patchUpdateGoLiveDate(goLiveDate, options).then((request) => request(axios, basePath));
|
|
22818
|
-
},
|
|
22819
|
-
/**
|
|
22820
|
-
* Update Wizard Engineer Note
|
|
22821
|
-
* @param {string} note Note
|
|
22822
|
-
* @param {*} [options] Override http request option.
|
|
22823
|
-
* @throws {RequiredError}
|
|
22824
|
-
*/
|
|
22825
|
-
patchUpdateNote(note: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22826
|
-
return localVarFp.patchUpdateNote(note, options).then((request) => request(axios, basePath));
|
|
22827
|
-
},
|
|
22828
|
-
/**
|
|
22829
|
-
* Update Wizard Engineer Spec
|
|
22830
|
-
* @param {string} spec Spec
|
|
22831
|
-
* @param {*} [options] Override http request option.
|
|
22832
|
-
* @throws {RequiredError}
|
|
22833
|
-
*/
|
|
22834
|
-
patchUpdateSpec(spec: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22835
|
-
return localVarFp.patchUpdateSpec(spec, options).then((request) => request(axios, basePath));
|
|
22836
|
-
},
|
|
22837
22393
|
/**
|
|
22838
22394
|
* Add Extensions To 3CX Installation Wizard
|
|
22839
22395
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -23205,16 +22761,6 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
|
|
|
23205
22761
|
return Class3CXInstallationWizardApiFp(this.configuration).patchAddSbcs(tcxSbcModel, options).then((request) => request(this.axios, this.basePath));
|
|
23206
22762
|
}
|
|
23207
22763
|
|
|
23208
|
-
/**
|
|
23209
|
-
* Allocate Wizard Engineer
|
|
23210
|
-
* @param {number} engineerId Engineer ID
|
|
23211
|
-
* @param {*} [options] Override http request option.
|
|
23212
|
-
* @throws {RequiredError}
|
|
23213
|
-
*/
|
|
23214
|
-
public patchAllocateEngineer(engineerId: number, options?: RawAxiosRequestConfig) {
|
|
23215
|
-
return Class3CXInstallationWizardApiFp(this.configuration).patchAllocateEngineer(engineerId, options).then((request) => request(this.axios, this.basePath));
|
|
23216
|
-
}
|
|
23217
|
-
|
|
23218
22764
|
/**
|
|
23219
22765
|
* Update 3CX Installation Wizard
|
|
23220
22766
|
* @summary Update 3CX Installation Wizard
|
|
@@ -23226,58 +22772,6 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
|
|
|
23226
22772
|
return Class3CXInstallationWizardApiFp(this.configuration).patchGetWizard(tcxWizardModel, options).then((request) => request(this.axios, this.basePath));
|
|
23227
22773
|
}
|
|
23228
22774
|
|
|
23229
|
-
/**
|
|
23230
|
-
* Update Wizard Engineer Task Complete Status
|
|
23231
|
-
* @param {number} taskId Task ID
|
|
23232
|
-
* @param {PatchMarkEngineerTaskAsCompleteCompleteEnum} complete Complete Status
|
|
23233
|
-
* @param {*} [options] Override http request option.
|
|
23234
|
-
* @throws {RequiredError}
|
|
23235
|
-
*/
|
|
23236
|
-
public patchMarkEngineerTaskAsComplete(taskId: number, complete: PatchMarkEngineerTaskAsCompleteCompleteEnum, options?: RawAxiosRequestConfig) {
|
|
23237
|
-
return Class3CXInstallationWizardApiFp(this.configuration).patchMarkEngineerTaskAsComplete(taskId, complete, options).then((request) => request(this.axios, this.basePath));
|
|
23238
|
-
}
|
|
23239
|
-
|
|
23240
|
-
/**
|
|
23241
|
-
* Update Wizard Engineer Task Note
|
|
23242
|
-
* @param {number} taskId Task ID
|
|
23243
|
-
* @param {string} note note
|
|
23244
|
-
* @param {*} [options] Override http request option.
|
|
23245
|
-
* @throws {RequiredError}
|
|
23246
|
-
*/
|
|
23247
|
-
public patchUpdateEngineerTaskNote(taskId: number, note: string, options?: RawAxiosRequestConfig) {
|
|
23248
|
-
return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateEngineerTaskNote(taskId, note, options).then((request) => request(this.axios, this.basePath));
|
|
23249
|
-
}
|
|
23250
|
-
|
|
23251
|
-
/**
|
|
23252
|
-
* Update Wizard Go Live Date
|
|
23253
|
-
* @param {string} goLiveDate Go Live Date
|
|
23254
|
-
* @param {*} [options] Override http request option.
|
|
23255
|
-
* @throws {RequiredError}
|
|
23256
|
-
*/
|
|
23257
|
-
public patchUpdateGoLiveDate(goLiveDate: string, options?: RawAxiosRequestConfig) {
|
|
23258
|
-
return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateGoLiveDate(goLiveDate, options).then((request) => request(this.axios, this.basePath));
|
|
23259
|
-
}
|
|
23260
|
-
|
|
23261
|
-
/**
|
|
23262
|
-
* Update Wizard Engineer Note
|
|
23263
|
-
* @param {string} note Note
|
|
23264
|
-
* @param {*} [options] Override http request option.
|
|
23265
|
-
* @throws {RequiredError}
|
|
23266
|
-
*/
|
|
23267
|
-
public patchUpdateNote(note: string, options?: RawAxiosRequestConfig) {
|
|
23268
|
-
return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateNote(note, options).then((request) => request(this.axios, this.basePath));
|
|
23269
|
-
}
|
|
23270
|
-
|
|
23271
|
-
/**
|
|
23272
|
-
* Update Wizard Engineer Spec
|
|
23273
|
-
* @param {string} spec Spec
|
|
23274
|
-
* @param {*} [options] Override http request option.
|
|
23275
|
-
* @throws {RequiredError}
|
|
23276
|
-
*/
|
|
23277
|
-
public patchUpdateSpec(spec: string, options?: RawAxiosRequestConfig) {
|
|
23278
|
-
return Class3CXInstallationWizardApiFp(this.configuration).patchUpdateSpec(spec, options).then((request) => request(this.axios, this.basePath));
|
|
23279
|
-
}
|
|
23280
|
-
|
|
23281
22775
|
/**
|
|
23282
22776
|
* Add Extensions To 3CX Installation Wizard
|
|
23283
22777
|
* @summary Add Extensions To 3CX Installation Wizard
|
|
@@ -23428,11 +22922,6 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
|
|
|
23428
22922
|
}
|
|
23429
22923
|
}
|
|
23430
22924
|
|
|
23431
|
-
export const PatchMarkEngineerTaskAsCompleteCompleteEnum = {
|
|
23432
|
-
True: 'true',
|
|
23433
|
-
False: 'false',
|
|
23434
|
-
} as const;
|
|
23435
|
-
export type PatchMarkEngineerTaskAsCompleteCompleteEnum = typeof PatchMarkEngineerTaskAsCompleteCompleteEnum[keyof typeof PatchMarkEngineerTaskAsCompleteCompleteEnum];
|
|
23436
22925
|
|
|
23437
22926
|
|
|
23438
22927
|
/**
|
|
@@ -28203,7 +27692,6 @@ export const PostAccessTokenScopeEnum = {
|
|
|
28203
27692
|
export type PostAccessTokenScopeEnum = typeof PostAccessTokenScopeEnum[keyof typeof PostAccessTokenScopeEnum];
|
|
28204
27693
|
export const PostAccessTokenTokenExchangeTypeEnum = {
|
|
28205
27694
|
TcxWizard: 'tcx_wizard',
|
|
28206
|
-
TcxWizardAdmin: 'tcx_wizard_admin',
|
|
28207
27695
|
Portal: 'portal',
|
|
28208
27696
|
} as const;
|
|
28209
27697
|
export type PostAccessTokenTokenExchangeTypeEnum = typeof PostAccessTokenTokenExchangeTypeEnum[keyof typeof PostAccessTokenTokenExchangeTypeEnum];
|
|
@@ -28938,42 +28426,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
28938
28426
|
options: localVarRequestOptions,
|
|
28939
28427
|
};
|
|
28940
28428
|
},
|
|
28941
|
-
/**
|
|
28942
|
-
* Create Engineered Wizard
|
|
28943
|
-
* @param {number} id Order ID
|
|
28944
|
-
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
28945
|
-
* @param {*} [options] Override http request option.
|
|
28946
|
-
* @throws {RequiredError}
|
|
28947
|
-
*/
|
|
28948
|
-
postCreateWizardFromOrder: async (id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28949
|
-
// verify required parameter 'id' is not null or undefined
|
|
28950
|
-
assertParamExists('postCreateWizardFromOrder', 'id', id)
|
|
28951
|
-
const localVarPath = `/admin/orders/{id}/wizard`
|
|
28952
|
-
.replace('{id}', encodeURIComponent(String(id)));
|
|
28953
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28954
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28955
|
-
let baseOptions;
|
|
28956
|
-
if (configuration) {
|
|
28957
|
-
baseOptions = configuration.baseOptions;
|
|
28958
|
-
}
|
|
28959
|
-
|
|
28960
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28961
|
-
const localVarHeaderParameter = {} as any;
|
|
28962
|
-
const localVarQueryParameter = {} as any;
|
|
28963
|
-
|
|
28964
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28965
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
28966
|
-
|
|
28967
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28968
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28969
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28970
|
-
localVarRequestOptions.data = serializeDataIfNeeded(engineeredWizardRequestModel, localVarRequestOptions, configuration)
|
|
28971
|
-
|
|
28972
|
-
return {
|
|
28973
|
-
url: toPathString(localVarUrlObj),
|
|
28974
|
-
options: localVarRequestOptions,
|
|
28975
|
-
};
|
|
28976
|
-
},
|
|
28977
28429
|
/**
|
|
28978
28430
|
* Create An Order (Beta)
|
|
28979
28431
|
* @summary Create An Order (Beta)
|
|
@@ -29813,19 +29265,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
29813
29265
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateShipment']?.[localVarOperationServerIndex]?.url;
|
|
29814
29266
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29815
29267
|
},
|
|
29816
|
-
/**
|
|
29817
|
-
* Create Engineered Wizard
|
|
29818
|
-
* @param {number} id Order ID
|
|
29819
|
-
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
29820
|
-
* @param {*} [options] Override http request option.
|
|
29821
|
-
* @throws {RequiredError}
|
|
29822
|
-
*/
|
|
29823
|
-
async postCreateWizardFromOrder(id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxSummaryDTO>> {
|
|
29824
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options);
|
|
29825
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29826
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateWizardFromOrder']?.[localVarOperationServerIndex]?.url;
|
|
29827
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29828
|
-
},
|
|
29829
29268
|
/**
|
|
29830
29269
|
* Create An Order (Beta)
|
|
29831
29270
|
* @summary Create An Order (Beta)
|
|
@@ -30238,16 +29677,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
30238
29677
|
postCreateShipment(id: number, batchId: number, shipmentRequestDTO?: ShipmentRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentDTO> {
|
|
30239
29678
|
return localVarFp.postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(axios, basePath));
|
|
30240
29679
|
},
|
|
30241
|
-
/**
|
|
30242
|
-
* Create Engineered Wizard
|
|
30243
|
-
* @param {number} id Order ID
|
|
30244
|
-
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
30245
|
-
* @param {*} [options] Override http request option.
|
|
30246
|
-
* @throws {RequiredError}
|
|
30247
|
-
*/
|
|
30248
|
-
postCreateWizardFromOrder(id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<TcxSummaryDTO> {
|
|
30249
|
-
return localVarFp.postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then((request) => request(axios, basePath));
|
|
30250
|
-
},
|
|
30251
29680
|
/**
|
|
30252
29681
|
* Create An Order (Beta)
|
|
30253
29682
|
* @summary Create An Order (Beta)
|
|
@@ -30634,17 +30063,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
30634
30063
|
return OrdersApiFp(this.configuration).postCreateShipment(id, batchId, shipmentRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
30635
30064
|
}
|
|
30636
30065
|
|
|
30637
|
-
/**
|
|
30638
|
-
* Create Engineered Wizard
|
|
30639
|
-
* @param {number} id Order ID
|
|
30640
|
-
* @param {EngineeredWizardRequestModel} [engineeredWizardRequestModel] Engineered Wizard Request
|
|
30641
|
-
* @param {*} [options] Override http request option.
|
|
30642
|
-
* @throws {RequiredError}
|
|
30643
|
-
*/
|
|
30644
|
-
public postCreateWizardFromOrder(id: number, engineeredWizardRequestModel?: EngineeredWizardRequestModel, options?: RawAxiosRequestConfig) {
|
|
30645
|
-
return OrdersApiFp(this.configuration).postCreateWizardFromOrder(id, engineeredWizardRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
30646
|
-
}
|
|
30647
|
-
|
|
30648
30066
|
/**
|
|
30649
30067
|
* Create An Order (Beta)
|
|
30650
30068
|
* @summary Create An Order (Beta)
|
|
@@ -33657,10 +33075,11 @@ export const RMAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
33657
33075
|
/**
|
|
33658
33076
|
* Approve an RMA
|
|
33659
33077
|
* @param {number} id
|
|
33078
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
33660
33079
|
* @param {*} [options] Override http request option.
|
|
33661
33080
|
* @throws {RequiredError}
|
|
33662
33081
|
*/
|
|
33663
|
-
patchApproveRma: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33082
|
+
patchApproveRma: async (id: number, patchApproveRmaRequest?: PatchApproveRmaRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33664
33083
|
// verify required parameter 'id' is not null or undefined
|
|
33665
33084
|
assertParamExists('patchApproveRma', 'id', id)
|
|
33666
33085
|
const localVarPath = `/admin/rma/{id}/approve`
|
|
@@ -33676,10 +33095,12 @@ export const RMAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
33676
33095
|
const localVarHeaderParameter = {} as any;
|
|
33677
33096
|
const localVarQueryParameter = {} as any;
|
|
33678
33097
|
|
|
33098
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33679
33099
|
|
|
33680
33100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33681
33101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33682
33102
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchApproveRmaRequest, localVarRequestOptions, configuration)
|
|
33683
33104
|
|
|
33684
33105
|
return {
|
|
33685
33106
|
url: toPathString(localVarUrlObj),
|
|
@@ -34503,11 +33924,12 @@ export const RMAApiFp = function(configuration?: Configuration) {
|
|
|
34503
33924
|
/**
|
|
34504
33925
|
* Approve an RMA
|
|
34505
33926
|
* @param {number} id
|
|
33927
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
34506
33928
|
* @param {*} [options] Override http request option.
|
|
34507
33929
|
* @throws {RequiredError}
|
|
34508
33930
|
*/
|
|
34509
|
-
async patchApproveRma(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
34510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchApproveRma(id, options);
|
|
33931
|
+
async patchApproveRma(id: number, patchApproveRmaRequest?: PatchApproveRmaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33932
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchApproveRma(id, patchApproveRmaRequest, options);
|
|
34511
33933
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34512
33934
|
const localVarOperationServerBasePath = operationServerMap['RMAApi.patchApproveRma']?.[localVarOperationServerIndex]?.url;
|
|
34513
33935
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -34868,11 +34290,12 @@ export const RMAApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
34868
34290
|
/**
|
|
34869
34291
|
* Approve an RMA
|
|
34870
34292
|
* @param {number} id
|
|
34293
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
34871
34294
|
* @param {*} [options] Override http request option.
|
|
34872
34295
|
* @throws {RequiredError}
|
|
34873
34296
|
*/
|
|
34874
|
-
patchApproveRma(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34875
|
-
return localVarFp.patchApproveRma(id, options).then((request) => request(axios, basePath));
|
|
34297
|
+
patchApproveRma(id: number, patchApproveRmaRequest?: PatchApproveRmaRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34298
|
+
return localVarFp.patchApproveRma(id, patchApproveRmaRequest, options).then((request) => request(axios, basePath));
|
|
34876
34299
|
},
|
|
34877
34300
|
/**
|
|
34878
34301
|
* Mark RMA item as binned
|
|
@@ -35181,11 +34604,12 @@ export class RMAApi extends BaseAPI {
|
|
|
35181
34604
|
/**
|
|
35182
34605
|
* Approve an RMA
|
|
35183
34606
|
* @param {number} id
|
|
34607
|
+
* @param {PatchApproveRmaRequest} [patchApproveRmaRequest]
|
|
35184
34608
|
* @param {*} [options] Override http request option.
|
|
35185
34609
|
* @throws {RequiredError}
|
|
35186
34610
|
*/
|
|
35187
|
-
public patchApproveRma(id: number, options?: RawAxiosRequestConfig) {
|
|
35188
|
-
return RMAApiFp(this.configuration).patchApproveRma(id, options).then((request) => request(this.axios, this.basePath));
|
|
34611
|
+
public patchApproveRma(id: number, patchApproveRmaRequest?: PatchApproveRmaRequest, options?: RawAxiosRequestConfig) {
|
|
34612
|
+
return RMAApiFp(this.configuration).patchApproveRma(id, patchApproveRmaRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35189
34613
|
}
|
|
35190
34614
|
|
|
35191
34615
|
/**
|