ob-bms-sdk 0.0.61 → 0.0.62
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/api.ts +424 -1
- package/dist/api/api.d.ts +322 -1
- package/dist/api/api.js +171 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -246,6 +246,19 @@ export interface CreateMembersResponse {
|
|
|
246
246
|
*/
|
|
247
247
|
'error': { [key: string]: any; } | null;
|
|
248
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @export
|
|
252
|
+
* @interface CreateServiceRequestResponse
|
|
253
|
+
*/
|
|
254
|
+
export interface CreateServiceRequestResponse {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof CreateServiceRequestResponse
|
|
259
|
+
*/
|
|
260
|
+
'id': string;
|
|
261
|
+
}
|
|
249
262
|
/**
|
|
250
263
|
*
|
|
251
264
|
* @export
|
|
@@ -511,6 +524,43 @@ export interface FloorDataPasses {
|
|
|
511
524
|
*/
|
|
512
525
|
'updated_at': string;
|
|
513
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @export
|
|
530
|
+
* @interface IssueTypeData
|
|
531
|
+
*/
|
|
532
|
+
export interface IssueTypeData {
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {string}
|
|
536
|
+
* @memberof IssueTypeData
|
|
537
|
+
*/
|
|
538
|
+
'updated_at': string;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {string}
|
|
542
|
+
* @memberof IssueTypeData
|
|
543
|
+
*/
|
|
544
|
+
'created_at': string;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {JsonValue}
|
|
548
|
+
* @memberof IssueTypeData
|
|
549
|
+
*/
|
|
550
|
+
'display_name': JsonValue | null;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof IssueTypeData
|
|
555
|
+
*/
|
|
556
|
+
'name': string;
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof IssueTypeData
|
|
561
|
+
*/
|
|
562
|
+
'id': string;
|
|
563
|
+
}
|
|
514
564
|
/**
|
|
515
565
|
*
|
|
516
566
|
* @export
|
|
@@ -1323,6 +1373,128 @@ export interface RateDetail {
|
|
|
1323
1373
|
*/
|
|
1324
1374
|
'en': string;
|
|
1325
1375
|
}
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @export
|
|
1379
|
+
* @interface ServiceRequestBody
|
|
1380
|
+
*/
|
|
1381
|
+
export interface ServiceRequestBody {
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {string}
|
|
1385
|
+
* @memberof ServiceRequestBody
|
|
1386
|
+
*/
|
|
1387
|
+
'description': string;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof ServiceRequestBody
|
|
1392
|
+
*/
|
|
1393
|
+
'title': string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof ServiceRequestBody
|
|
1398
|
+
*/
|
|
1399
|
+
'requester_id': string;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {string}
|
|
1403
|
+
* @memberof ServiceRequestBody
|
|
1404
|
+
*/
|
|
1405
|
+
'issue_type_id': string;
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {string}
|
|
1409
|
+
* @memberof ServiceRequestBody
|
|
1410
|
+
*/
|
|
1411
|
+
'floor_id': string;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {string}
|
|
1415
|
+
* @memberof ServiceRequestBody
|
|
1416
|
+
*/
|
|
1417
|
+
'tower_id': string;
|
|
1418
|
+
/**
|
|
1419
|
+
*
|
|
1420
|
+
* @type {Array<string>}
|
|
1421
|
+
* @memberof ServiceRequestBody
|
|
1422
|
+
*/
|
|
1423
|
+
'image_url': Array<string>;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @export
|
|
1428
|
+
* @interface ServiceRequestData
|
|
1429
|
+
*/
|
|
1430
|
+
export interface ServiceRequestData {
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @type {string}
|
|
1434
|
+
* @memberof ServiceRequestData
|
|
1435
|
+
*/
|
|
1436
|
+
'updated_at': string;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof ServiceRequestData
|
|
1441
|
+
*/
|
|
1442
|
+
'created_at': string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof ServiceRequestData
|
|
1447
|
+
*/
|
|
1448
|
+
'description': string;
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof ServiceRequestData
|
|
1453
|
+
*/
|
|
1454
|
+
'status': string;
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {string}
|
|
1458
|
+
* @memberof ServiceRequestData
|
|
1459
|
+
*/
|
|
1460
|
+
'title': string;
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @type {string}
|
|
1464
|
+
* @memberof ServiceRequestData
|
|
1465
|
+
*/
|
|
1466
|
+
'requester_id': string;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {IssueTypeData}
|
|
1470
|
+
* @memberof ServiceRequestData
|
|
1471
|
+
*/
|
|
1472
|
+
'issue_type': IssueTypeData;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {FloorData}
|
|
1476
|
+
* @memberof ServiceRequestData
|
|
1477
|
+
*/
|
|
1478
|
+
'floor': FloorData;
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @type {TowerData}
|
|
1482
|
+
* @memberof ServiceRequestData
|
|
1483
|
+
*/
|
|
1484
|
+
'tower': TowerData;
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @type {Array<string>}
|
|
1488
|
+
* @memberof ServiceRequestData
|
|
1489
|
+
*/
|
|
1490
|
+
'image_url': Array<string>;
|
|
1491
|
+
/**
|
|
1492
|
+
*
|
|
1493
|
+
* @type {string}
|
|
1494
|
+
* @memberof ServiceRequestData
|
|
1495
|
+
*/
|
|
1496
|
+
'id': string;
|
|
1497
|
+
}
|
|
1326
1498
|
/**
|
|
1327
1499
|
*
|
|
1328
1500
|
* @export
|
|
@@ -2119,7 +2291,7 @@ export interface WebhookCreateBody {
|
|
|
2119
2291
|
* @type {WebhookCreateBodyPayload}
|
|
2120
2292
|
* @memberof WebhookCreateBody
|
|
2121
2293
|
*/
|
|
2122
|
-
'payload': WebhookCreateBodyPayload;
|
|
2294
|
+
'payload': WebhookCreateBodyPayload | null;
|
|
2123
2295
|
}
|
|
2124
2296
|
/**
|
|
2125
2297
|
*
|
|
@@ -2246,6 +2418,32 @@ export interface WrappedResponseCommandsIndexResponse {
|
|
|
2246
2418
|
*/
|
|
2247
2419
|
export interface WrappedResponseCommandsIndexResponseData {
|
|
2248
2420
|
}
|
|
2421
|
+
/**
|
|
2422
|
+
*
|
|
2423
|
+
* @export
|
|
2424
|
+
* @interface WrappedResponseCreateServiceRequestResponse
|
|
2425
|
+
*/
|
|
2426
|
+
export interface WrappedResponseCreateServiceRequestResponse {
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @type {WrappedResponseCreateServiceRequestResponseData}
|
|
2430
|
+
* @memberof WrappedResponseCreateServiceRequestResponse
|
|
2431
|
+
*/
|
|
2432
|
+
'data': WrappedResponseCreateServiceRequestResponseData | null;
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
*
|
|
2436
|
+
* @export
|
|
2437
|
+
* @interface WrappedResponseCreateServiceRequestResponseData
|
|
2438
|
+
*/
|
|
2439
|
+
export interface WrappedResponseCreateServiceRequestResponseData {
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @type {string}
|
|
2443
|
+
* @memberof WrappedResponseCreateServiceRequestResponseData
|
|
2444
|
+
*/
|
|
2445
|
+
'id': string;
|
|
2446
|
+
}
|
|
2249
2447
|
/**
|
|
2250
2448
|
*
|
|
2251
2449
|
* @export
|
|
@@ -2352,6 +2550,26 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2352
2550
|
*/
|
|
2353
2551
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
2354
2552
|
}
|
|
2553
|
+
/**
|
|
2554
|
+
*
|
|
2555
|
+
* @export
|
|
2556
|
+
* @interface WrappedResponseIssueTypeResponse
|
|
2557
|
+
*/
|
|
2558
|
+
export interface WrappedResponseIssueTypeResponse {
|
|
2559
|
+
/**
|
|
2560
|
+
*
|
|
2561
|
+
* @type {WrappedResponseIssueTypeResponseData}
|
|
2562
|
+
* @memberof WrappedResponseIssueTypeResponse
|
|
2563
|
+
*/
|
|
2564
|
+
'data': WrappedResponseIssueTypeResponseData | null;
|
|
2565
|
+
}
|
|
2566
|
+
/**
|
|
2567
|
+
*
|
|
2568
|
+
* @export
|
|
2569
|
+
* @interface WrappedResponseIssueTypeResponseData
|
|
2570
|
+
*/
|
|
2571
|
+
export interface WrappedResponseIssueTypeResponseData {
|
|
2572
|
+
}
|
|
2355
2573
|
/**
|
|
2356
2574
|
*
|
|
2357
2575
|
* @export
|
|
@@ -2653,6 +2871,26 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
|
2653
2871
|
|
|
2654
2872
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
2655
2873
|
|
|
2874
|
+
/**
|
|
2875
|
+
*
|
|
2876
|
+
* @export
|
|
2877
|
+
* @interface WrappedResponseServiceRequestResponse
|
|
2878
|
+
*/
|
|
2879
|
+
export interface WrappedResponseServiceRequestResponse {
|
|
2880
|
+
/**
|
|
2881
|
+
*
|
|
2882
|
+
* @type {WrappedResponseServiceRequestResponseData}
|
|
2883
|
+
* @memberof WrappedResponseServiceRequestResponse
|
|
2884
|
+
*/
|
|
2885
|
+
'data': WrappedResponseServiceRequestResponseData | null;
|
|
2886
|
+
}
|
|
2887
|
+
/**
|
|
2888
|
+
*
|
|
2889
|
+
* @export
|
|
2890
|
+
* @interface WrappedResponseServiceRequestResponseData
|
|
2891
|
+
*/
|
|
2892
|
+
export interface WrappedResponseServiceRequestResponseData {
|
|
2893
|
+
}
|
|
2656
2894
|
/**
|
|
2657
2895
|
*
|
|
2658
2896
|
* @export
|
|
@@ -2927,6 +3165,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2927
3165
|
options: localVarRequestOptions,
|
|
2928
3166
|
};
|
|
2929
3167
|
},
|
|
3168
|
+
/**
|
|
3169
|
+
*
|
|
3170
|
+
* @param {*} [options] Override http request option.
|
|
3171
|
+
* @throws {RequiredError}
|
|
3172
|
+
*/
|
|
3173
|
+
issueTypesIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3174
|
+
const localVarPath = `/issue_types`;
|
|
3175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3177
|
+
let baseOptions;
|
|
3178
|
+
if (configuration) {
|
|
3179
|
+
baseOptions = configuration.baseOptions;
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3183
|
+
const localVarHeaderParameter = {} as any;
|
|
3184
|
+
const localVarQueryParameter = {} as any;
|
|
3185
|
+
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3190
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3191
|
+
|
|
3192
|
+
return {
|
|
3193
|
+
url: toPathString(localVarUrlObj),
|
|
3194
|
+
options: localVarRequestOptions,
|
|
3195
|
+
};
|
|
3196
|
+
},
|
|
2930
3197
|
/**
|
|
2931
3198
|
*
|
|
2932
3199
|
* @param {*} [options] Override http request option.
|
|
@@ -3395,6 +3662,75 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3395
3662
|
|
|
3396
3663
|
|
|
3397
3664
|
|
|
3665
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3666
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3667
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3668
|
+
|
|
3669
|
+
return {
|
|
3670
|
+
url: toPathString(localVarUrlObj),
|
|
3671
|
+
options: localVarRequestOptions,
|
|
3672
|
+
};
|
|
3673
|
+
},
|
|
3674
|
+
/**
|
|
3675
|
+
*
|
|
3676
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
3677
|
+
* @param {*} [options] Override http request option.
|
|
3678
|
+
* @throws {RequiredError}
|
|
3679
|
+
*/
|
|
3680
|
+
serviceRequestsCreate: async (serviceRequestBody: ServiceRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3681
|
+
// verify required parameter 'serviceRequestBody' is not null or undefined
|
|
3682
|
+
assertParamExists('serviceRequestsCreate', 'serviceRequestBody', serviceRequestBody)
|
|
3683
|
+
const localVarPath = `/service_requests`;
|
|
3684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3686
|
+
let baseOptions;
|
|
3687
|
+
if (configuration) {
|
|
3688
|
+
baseOptions = configuration.baseOptions;
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3692
|
+
const localVarHeaderParameter = {} as any;
|
|
3693
|
+
const localVarQueryParameter = {} as any;
|
|
3694
|
+
|
|
3695
|
+
|
|
3696
|
+
|
|
3697
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3698
|
+
|
|
3699
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3701
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3702
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serviceRequestBody, localVarRequestOptions, configuration)
|
|
3703
|
+
|
|
3704
|
+
return {
|
|
3705
|
+
url: toPathString(localVarUrlObj),
|
|
3706
|
+
options: localVarRequestOptions,
|
|
3707
|
+
};
|
|
3708
|
+
},
|
|
3709
|
+
/**
|
|
3710
|
+
*
|
|
3711
|
+
* @param {string} [requesterId]
|
|
3712
|
+
* @param {*} [options] Override http request option.
|
|
3713
|
+
* @throws {RequiredError}
|
|
3714
|
+
*/
|
|
3715
|
+
serviceRequestsIndex: async (requesterId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3716
|
+
const localVarPath = `/service_requests`;
|
|
3717
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3718
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3719
|
+
let baseOptions;
|
|
3720
|
+
if (configuration) {
|
|
3721
|
+
baseOptions = configuration.baseOptions;
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3725
|
+
const localVarHeaderParameter = {} as any;
|
|
3726
|
+
const localVarQueryParameter = {} as any;
|
|
3727
|
+
|
|
3728
|
+
if (requesterId !== undefined) {
|
|
3729
|
+
localVarQueryParameter['requester_id'] = requesterId;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
|
|
3398
3734
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3399
3735
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3400
3736
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3623,6 +3959,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3623
3959
|
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationsFsMembersDelete(destroyFSMembers, options);
|
|
3624
3960
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3625
3961
|
},
|
|
3962
|
+
/**
|
|
3963
|
+
*
|
|
3964
|
+
* @param {*} [options] Override http request option.
|
|
3965
|
+
* @throws {RequiredError}
|
|
3966
|
+
*/
|
|
3967
|
+
async issueTypesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseIssueTypeResponse>> {
|
|
3968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.issueTypesIndex(options);
|
|
3969
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3970
|
+
},
|
|
3626
3971
|
/**
|
|
3627
3972
|
*
|
|
3628
3973
|
* @param {*} [options] Override http request option.
|
|
@@ -3756,6 +4101,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3756
4101
|
const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(visitScheduleId, options);
|
|
3757
4102
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3758
4103
|
},
|
|
4104
|
+
/**
|
|
4105
|
+
*
|
|
4106
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
4107
|
+
* @param {*} [options] Override http request option.
|
|
4108
|
+
* @throws {RequiredError}
|
|
4109
|
+
*/
|
|
4110
|
+
async serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateServiceRequestResponse>> {
|
|
4111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsCreate(serviceRequestBody, options);
|
|
4112
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4113
|
+
},
|
|
4114
|
+
/**
|
|
4115
|
+
*
|
|
4116
|
+
* @param {string} [requesterId]
|
|
4117
|
+
* @param {*} [options] Override http request option.
|
|
4118
|
+
* @throws {RequiredError}
|
|
4119
|
+
*/
|
|
4120
|
+
async serviceRequestsIndex(requesterId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseServiceRequestResponse>> {
|
|
4121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsIndex(requesterId, options);
|
|
4122
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4123
|
+
},
|
|
3759
4124
|
/**
|
|
3760
4125
|
*
|
|
3761
4126
|
* @param {SyncBody} syncBody
|
|
@@ -3851,6 +4216,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3851
4216
|
integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<DestroyMembersResponse> {
|
|
3852
4217
|
return localVarFp.integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(axios, basePath));
|
|
3853
4218
|
},
|
|
4219
|
+
/**
|
|
4220
|
+
*
|
|
4221
|
+
* @param {*} [options] Override http request option.
|
|
4222
|
+
* @throws {RequiredError}
|
|
4223
|
+
*/
|
|
4224
|
+
issueTypesIndex(options?: any): AxiosPromise<WrappedResponseIssueTypeResponse> {
|
|
4225
|
+
return localVarFp.issueTypesIndex(options).then((request) => request(axios, basePath));
|
|
4226
|
+
},
|
|
3854
4227
|
/**
|
|
3855
4228
|
*
|
|
3856
4229
|
* @param {*} [options] Override http request option.
|
|
@@ -3972,6 +4345,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3972
4345
|
passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
|
|
3973
4346
|
return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
|
|
3974
4347
|
},
|
|
4348
|
+
/**
|
|
4349
|
+
*
|
|
4350
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
4351
|
+
* @param {*} [options] Override http request option.
|
|
4352
|
+
* @throws {RequiredError}
|
|
4353
|
+
*/
|
|
4354
|
+
serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: any): AxiosPromise<WrappedResponseCreateServiceRequestResponse> {
|
|
4355
|
+
return localVarFp.serviceRequestsCreate(serviceRequestBody, options).then((request) => request(axios, basePath));
|
|
4356
|
+
},
|
|
4357
|
+
/**
|
|
4358
|
+
*
|
|
4359
|
+
* @param {string} [requesterId]
|
|
4360
|
+
* @param {*} [options] Override http request option.
|
|
4361
|
+
* @throws {RequiredError}
|
|
4362
|
+
*/
|
|
4363
|
+
serviceRequestsIndex(requesterId?: string, options?: any): AxiosPromise<WrappedResponseServiceRequestResponse> {
|
|
4364
|
+
return localVarFp.serviceRequestsIndex(requesterId, options).then((request) => request(axios, basePath));
|
|
4365
|
+
},
|
|
3975
4366
|
/**
|
|
3976
4367
|
*
|
|
3977
4368
|
* @param {SyncBody} syncBody
|
|
@@ -4070,6 +4461,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
4070
4461
|
return DefaultApiFp(this.configuration).integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(this.axios, this.basePath));
|
|
4071
4462
|
}
|
|
4072
4463
|
|
|
4464
|
+
/**
|
|
4465
|
+
*
|
|
4466
|
+
* @param {*} [options] Override http request option.
|
|
4467
|
+
* @throws {RequiredError}
|
|
4468
|
+
* @memberof DefaultApi
|
|
4469
|
+
*/
|
|
4470
|
+
public issueTypesIndex(options?: AxiosRequestConfig) {
|
|
4471
|
+
return DefaultApiFp(this.configuration).issueTypesIndex(options).then((request) => request(this.axios, this.basePath));
|
|
4472
|
+
}
|
|
4473
|
+
|
|
4073
4474
|
/**
|
|
4074
4475
|
*
|
|
4075
4476
|
* @param {*} [options] Override http request option.
|
|
@@ -4215,6 +4616,28 @@ export class DefaultApi extends BaseAPI {
|
|
|
4215
4616
|
return DefaultApiFp(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
4216
4617
|
}
|
|
4217
4618
|
|
|
4619
|
+
/**
|
|
4620
|
+
*
|
|
4621
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
4622
|
+
* @param {*} [options] Override http request option.
|
|
4623
|
+
* @throws {RequiredError}
|
|
4624
|
+
* @memberof DefaultApi
|
|
4625
|
+
*/
|
|
4626
|
+
public serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig) {
|
|
4627
|
+
return DefaultApiFp(this.configuration).serviceRequestsCreate(serviceRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
/**
|
|
4631
|
+
*
|
|
4632
|
+
* @param {string} [requesterId]
|
|
4633
|
+
* @param {*} [options] Override http request option.
|
|
4634
|
+
* @throws {RequiredError}
|
|
4635
|
+
* @memberof DefaultApi
|
|
4636
|
+
*/
|
|
4637
|
+
public serviceRequestsIndex(requesterId?: string, options?: AxiosRequestConfig) {
|
|
4638
|
+
return DefaultApiFp(this.configuration).serviceRequestsIndex(requesterId, options).then((request) => request(this.axios, this.basePath));
|
|
4639
|
+
}
|
|
4640
|
+
|
|
4218
4641
|
/**
|
|
4219
4642
|
*
|
|
4220
4643
|
* @param {SyncBody} syncBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -240,6 +240,19 @@ export interface CreateMembersResponse {
|
|
|
240
240
|
[key: string]: any;
|
|
241
241
|
} | null;
|
|
242
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @export
|
|
246
|
+
* @interface CreateServiceRequestResponse
|
|
247
|
+
*/
|
|
248
|
+
export interface CreateServiceRequestResponse {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof CreateServiceRequestResponse
|
|
253
|
+
*/
|
|
254
|
+
'id': string;
|
|
255
|
+
}
|
|
243
256
|
/**
|
|
244
257
|
*
|
|
245
258
|
* @export
|
|
@@ -509,6 +522,43 @@ export interface FloorDataPasses {
|
|
|
509
522
|
*/
|
|
510
523
|
'updated_at': string;
|
|
511
524
|
}
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @export
|
|
528
|
+
* @interface IssueTypeData
|
|
529
|
+
*/
|
|
530
|
+
export interface IssueTypeData {
|
|
531
|
+
/**
|
|
532
|
+
*
|
|
533
|
+
* @type {string}
|
|
534
|
+
* @memberof IssueTypeData
|
|
535
|
+
*/
|
|
536
|
+
'updated_at': string;
|
|
537
|
+
/**
|
|
538
|
+
*
|
|
539
|
+
* @type {string}
|
|
540
|
+
* @memberof IssueTypeData
|
|
541
|
+
*/
|
|
542
|
+
'created_at': string;
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @type {JsonValue}
|
|
546
|
+
* @memberof IssueTypeData
|
|
547
|
+
*/
|
|
548
|
+
'display_name': JsonValue | null;
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {string}
|
|
552
|
+
* @memberof IssueTypeData
|
|
553
|
+
*/
|
|
554
|
+
'name': string;
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @type {string}
|
|
558
|
+
* @memberof IssueTypeData
|
|
559
|
+
*/
|
|
560
|
+
'id': string;
|
|
561
|
+
}
|
|
512
562
|
/**
|
|
513
563
|
*
|
|
514
564
|
* @export
|
|
@@ -1312,6 +1362,128 @@ export interface RateDetail {
|
|
|
1312
1362
|
*/
|
|
1313
1363
|
'en': string;
|
|
1314
1364
|
}
|
|
1365
|
+
/**
|
|
1366
|
+
*
|
|
1367
|
+
* @export
|
|
1368
|
+
* @interface ServiceRequestBody
|
|
1369
|
+
*/
|
|
1370
|
+
export interface ServiceRequestBody {
|
|
1371
|
+
/**
|
|
1372
|
+
*
|
|
1373
|
+
* @type {string}
|
|
1374
|
+
* @memberof ServiceRequestBody
|
|
1375
|
+
*/
|
|
1376
|
+
'description': string;
|
|
1377
|
+
/**
|
|
1378
|
+
*
|
|
1379
|
+
* @type {string}
|
|
1380
|
+
* @memberof ServiceRequestBody
|
|
1381
|
+
*/
|
|
1382
|
+
'title': string;
|
|
1383
|
+
/**
|
|
1384
|
+
*
|
|
1385
|
+
* @type {string}
|
|
1386
|
+
* @memberof ServiceRequestBody
|
|
1387
|
+
*/
|
|
1388
|
+
'requester_id': string;
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @type {string}
|
|
1392
|
+
* @memberof ServiceRequestBody
|
|
1393
|
+
*/
|
|
1394
|
+
'issue_type_id': string;
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @type {string}
|
|
1398
|
+
* @memberof ServiceRequestBody
|
|
1399
|
+
*/
|
|
1400
|
+
'floor_id': string;
|
|
1401
|
+
/**
|
|
1402
|
+
*
|
|
1403
|
+
* @type {string}
|
|
1404
|
+
* @memberof ServiceRequestBody
|
|
1405
|
+
*/
|
|
1406
|
+
'tower_id': string;
|
|
1407
|
+
/**
|
|
1408
|
+
*
|
|
1409
|
+
* @type {Array<string>}
|
|
1410
|
+
* @memberof ServiceRequestBody
|
|
1411
|
+
*/
|
|
1412
|
+
'image_url': Array<string>;
|
|
1413
|
+
}
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @export
|
|
1417
|
+
* @interface ServiceRequestData
|
|
1418
|
+
*/
|
|
1419
|
+
export interface ServiceRequestData {
|
|
1420
|
+
/**
|
|
1421
|
+
*
|
|
1422
|
+
* @type {string}
|
|
1423
|
+
* @memberof ServiceRequestData
|
|
1424
|
+
*/
|
|
1425
|
+
'updated_at': string;
|
|
1426
|
+
/**
|
|
1427
|
+
*
|
|
1428
|
+
* @type {string}
|
|
1429
|
+
* @memberof ServiceRequestData
|
|
1430
|
+
*/
|
|
1431
|
+
'created_at': string;
|
|
1432
|
+
/**
|
|
1433
|
+
*
|
|
1434
|
+
* @type {string}
|
|
1435
|
+
* @memberof ServiceRequestData
|
|
1436
|
+
*/
|
|
1437
|
+
'description': string;
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @type {string}
|
|
1441
|
+
* @memberof ServiceRequestData
|
|
1442
|
+
*/
|
|
1443
|
+
'status': string;
|
|
1444
|
+
/**
|
|
1445
|
+
*
|
|
1446
|
+
* @type {string}
|
|
1447
|
+
* @memberof ServiceRequestData
|
|
1448
|
+
*/
|
|
1449
|
+
'title': string;
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @type {string}
|
|
1453
|
+
* @memberof ServiceRequestData
|
|
1454
|
+
*/
|
|
1455
|
+
'requester_id': string;
|
|
1456
|
+
/**
|
|
1457
|
+
*
|
|
1458
|
+
* @type {IssueTypeData}
|
|
1459
|
+
* @memberof ServiceRequestData
|
|
1460
|
+
*/
|
|
1461
|
+
'issue_type': IssueTypeData;
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* @type {FloorData}
|
|
1465
|
+
* @memberof ServiceRequestData
|
|
1466
|
+
*/
|
|
1467
|
+
'floor': FloorData;
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @type {TowerData}
|
|
1471
|
+
* @memberof ServiceRequestData
|
|
1472
|
+
*/
|
|
1473
|
+
'tower': TowerData;
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @type {Array<string>}
|
|
1477
|
+
* @memberof ServiceRequestData
|
|
1478
|
+
*/
|
|
1479
|
+
'image_url': Array<string>;
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof ServiceRequestData
|
|
1484
|
+
*/
|
|
1485
|
+
'id': string;
|
|
1486
|
+
}
|
|
1315
1487
|
/**
|
|
1316
1488
|
*
|
|
1317
1489
|
* @export
|
|
@@ -2105,7 +2277,7 @@ export interface WebhookCreateBody {
|
|
|
2105
2277
|
* @type {WebhookCreateBodyPayload}
|
|
2106
2278
|
* @memberof WebhookCreateBody
|
|
2107
2279
|
*/
|
|
2108
|
-
'payload': WebhookCreateBodyPayload;
|
|
2280
|
+
'payload': WebhookCreateBodyPayload | null;
|
|
2109
2281
|
}
|
|
2110
2282
|
/**
|
|
2111
2283
|
*
|
|
@@ -2232,6 +2404,32 @@ export interface WrappedResponseCommandsIndexResponse {
|
|
|
2232
2404
|
*/
|
|
2233
2405
|
export interface WrappedResponseCommandsIndexResponseData {
|
|
2234
2406
|
}
|
|
2407
|
+
/**
|
|
2408
|
+
*
|
|
2409
|
+
* @export
|
|
2410
|
+
* @interface WrappedResponseCreateServiceRequestResponse
|
|
2411
|
+
*/
|
|
2412
|
+
export interface WrappedResponseCreateServiceRequestResponse {
|
|
2413
|
+
/**
|
|
2414
|
+
*
|
|
2415
|
+
* @type {WrappedResponseCreateServiceRequestResponseData}
|
|
2416
|
+
* @memberof WrappedResponseCreateServiceRequestResponse
|
|
2417
|
+
*/
|
|
2418
|
+
'data': WrappedResponseCreateServiceRequestResponseData | null;
|
|
2419
|
+
}
|
|
2420
|
+
/**
|
|
2421
|
+
*
|
|
2422
|
+
* @export
|
|
2423
|
+
* @interface WrappedResponseCreateServiceRequestResponseData
|
|
2424
|
+
*/
|
|
2425
|
+
export interface WrappedResponseCreateServiceRequestResponseData {
|
|
2426
|
+
/**
|
|
2427
|
+
*
|
|
2428
|
+
* @type {string}
|
|
2429
|
+
* @memberof WrappedResponseCreateServiceRequestResponseData
|
|
2430
|
+
*/
|
|
2431
|
+
'id': string;
|
|
2432
|
+
}
|
|
2235
2433
|
/**
|
|
2236
2434
|
*
|
|
2237
2435
|
* @export
|
|
@@ -2338,6 +2536,26 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2338
2536
|
*/
|
|
2339
2537
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
2340
2538
|
}
|
|
2539
|
+
/**
|
|
2540
|
+
*
|
|
2541
|
+
* @export
|
|
2542
|
+
* @interface WrappedResponseIssueTypeResponse
|
|
2543
|
+
*/
|
|
2544
|
+
export interface WrappedResponseIssueTypeResponse {
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @type {WrappedResponseIssueTypeResponseData}
|
|
2548
|
+
* @memberof WrappedResponseIssueTypeResponse
|
|
2549
|
+
*/
|
|
2550
|
+
'data': WrappedResponseIssueTypeResponseData | null;
|
|
2551
|
+
}
|
|
2552
|
+
/**
|
|
2553
|
+
*
|
|
2554
|
+
* @export
|
|
2555
|
+
* @interface WrappedResponseIssueTypeResponseData
|
|
2556
|
+
*/
|
|
2557
|
+
export interface WrappedResponseIssueTypeResponseData {
|
|
2558
|
+
}
|
|
2341
2559
|
/**
|
|
2342
2560
|
*
|
|
2343
2561
|
* @export
|
|
@@ -2633,6 +2851,26 @@ export declare const WrappedResponsePassConsentResponseDataStatusEnum: {
|
|
|
2633
2851
|
readonly Confirmed: "confirmed";
|
|
2634
2852
|
};
|
|
2635
2853
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
2854
|
+
/**
|
|
2855
|
+
*
|
|
2856
|
+
* @export
|
|
2857
|
+
* @interface WrappedResponseServiceRequestResponse
|
|
2858
|
+
*/
|
|
2859
|
+
export interface WrappedResponseServiceRequestResponse {
|
|
2860
|
+
/**
|
|
2861
|
+
*
|
|
2862
|
+
* @type {WrappedResponseServiceRequestResponseData}
|
|
2863
|
+
* @memberof WrappedResponseServiceRequestResponse
|
|
2864
|
+
*/
|
|
2865
|
+
'data': WrappedResponseServiceRequestResponseData | null;
|
|
2866
|
+
}
|
|
2867
|
+
/**
|
|
2868
|
+
*
|
|
2869
|
+
* @export
|
|
2870
|
+
* @interface WrappedResponseServiceRequestResponseData
|
|
2871
|
+
*/
|
|
2872
|
+
export interface WrappedResponseServiceRequestResponseData {
|
|
2873
|
+
}
|
|
2636
2874
|
/**
|
|
2637
2875
|
*
|
|
2638
2876
|
* @export
|
|
@@ -2798,6 +3036,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2798
3036
|
* @throws {RequiredError}
|
|
2799
3037
|
*/
|
|
2800
3038
|
integrationsFsMembersDelete: (destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3039
|
+
/**
|
|
3040
|
+
*
|
|
3041
|
+
* @param {*} [options] Override http request option.
|
|
3042
|
+
* @throws {RequiredError}
|
|
3043
|
+
*/
|
|
3044
|
+
issueTypesIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2801
3045
|
/**
|
|
2802
3046
|
*
|
|
2803
3047
|
* @param {*} [options] Override http request option.
|
|
@@ -2895,6 +3139,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2895
3139
|
* @throws {RequiredError}
|
|
2896
3140
|
*/
|
|
2897
3141
|
passesShow: (visitScheduleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3142
|
+
/**
|
|
3143
|
+
*
|
|
3144
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
3145
|
+
* @param {*} [options] Override http request option.
|
|
3146
|
+
* @throws {RequiredError}
|
|
3147
|
+
*/
|
|
3148
|
+
serviceRequestsCreate: (serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3149
|
+
/**
|
|
3150
|
+
*
|
|
3151
|
+
* @param {string} [requesterId]
|
|
3152
|
+
* @param {*} [options] Override http request option.
|
|
3153
|
+
* @throws {RequiredError}
|
|
3154
|
+
*/
|
|
3155
|
+
serviceRequestsIndex: (requesterId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2898
3156
|
/**
|
|
2899
3157
|
*
|
|
2900
3158
|
* @param {SyncBody} syncBody
|
|
@@ -2963,6 +3221,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2963
3221
|
* @throws {RequiredError}
|
|
2964
3222
|
*/
|
|
2965
3223
|
integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DestroyMembersResponse>>;
|
|
3224
|
+
/**
|
|
3225
|
+
*
|
|
3226
|
+
* @param {*} [options] Override http request option.
|
|
3227
|
+
* @throws {RequiredError}
|
|
3228
|
+
*/
|
|
3229
|
+
issueTypesIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseIssueTypeResponse>>;
|
|
2966
3230
|
/**
|
|
2967
3231
|
*
|
|
2968
3232
|
* @param {*} [options] Override http request option.
|
|
@@ -3060,6 +3324,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3060
3324
|
* @throws {RequiredError}
|
|
3061
3325
|
*/
|
|
3062
3326
|
passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
|
|
3327
|
+
/**
|
|
3328
|
+
*
|
|
3329
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
3330
|
+
* @param {*} [options] Override http request option.
|
|
3331
|
+
* @throws {RequiredError}
|
|
3332
|
+
*/
|
|
3333
|
+
serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateServiceRequestResponse>>;
|
|
3334
|
+
/**
|
|
3335
|
+
*
|
|
3336
|
+
* @param {string} [requesterId]
|
|
3337
|
+
* @param {*} [options] Override http request option.
|
|
3338
|
+
* @throws {RequiredError}
|
|
3339
|
+
*/
|
|
3340
|
+
serviceRequestsIndex(requesterId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseServiceRequestResponse>>;
|
|
3063
3341
|
/**
|
|
3064
3342
|
*
|
|
3065
3343
|
* @param {SyncBody} syncBody
|
|
@@ -3128,6 +3406,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3128
3406
|
* @throws {RequiredError}
|
|
3129
3407
|
*/
|
|
3130
3408
|
integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<DestroyMembersResponse>;
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @param {*} [options] Override http request option.
|
|
3412
|
+
* @throws {RequiredError}
|
|
3413
|
+
*/
|
|
3414
|
+
issueTypesIndex(options?: any): AxiosPromise<WrappedResponseIssueTypeResponse>;
|
|
3131
3415
|
/**
|
|
3132
3416
|
*
|
|
3133
3417
|
* @param {*} [options] Override http request option.
|
|
@@ -3225,6 +3509,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3225
3509
|
* @throws {RequiredError}
|
|
3226
3510
|
*/
|
|
3227
3511
|
passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
|
|
3512
|
+
/**
|
|
3513
|
+
*
|
|
3514
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
3515
|
+
* @param {*} [options] Override http request option.
|
|
3516
|
+
* @throws {RequiredError}
|
|
3517
|
+
*/
|
|
3518
|
+
serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: any): AxiosPromise<WrappedResponseCreateServiceRequestResponse>;
|
|
3519
|
+
/**
|
|
3520
|
+
*
|
|
3521
|
+
* @param {string} [requesterId]
|
|
3522
|
+
* @param {*} [options] Override http request option.
|
|
3523
|
+
* @throws {RequiredError}
|
|
3524
|
+
*/
|
|
3525
|
+
serviceRequestsIndex(requesterId?: string, options?: any): AxiosPromise<WrappedResponseServiceRequestResponse>;
|
|
3228
3526
|
/**
|
|
3229
3527
|
*
|
|
3230
3528
|
* @param {SyncBody} syncBody
|
|
@@ -3299,6 +3597,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3299
3597
|
* @memberof DefaultApi
|
|
3300
3598
|
*/
|
|
3301
3599
|
integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DestroyMembersResponse, any>>;
|
|
3600
|
+
/**
|
|
3601
|
+
*
|
|
3602
|
+
* @param {*} [options] Override http request option.
|
|
3603
|
+
* @throws {RequiredError}
|
|
3604
|
+
* @memberof DefaultApi
|
|
3605
|
+
*/
|
|
3606
|
+
issueTypesIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseIssueTypeResponse, any>>;
|
|
3302
3607
|
/**
|
|
3303
3608
|
*
|
|
3304
3609
|
* @param {*} [options] Override http request option.
|
|
@@ -3408,6 +3713,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3408
3713
|
* @memberof DefaultApi
|
|
3409
3714
|
*/
|
|
3410
3715
|
passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
|
|
3716
|
+
/**
|
|
3717
|
+
*
|
|
3718
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
3719
|
+
* @param {*} [options] Override http request option.
|
|
3720
|
+
* @throws {RequiredError}
|
|
3721
|
+
* @memberof DefaultApi
|
|
3722
|
+
*/
|
|
3723
|
+
serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCreateServiceRequestResponse, any>>;
|
|
3724
|
+
/**
|
|
3725
|
+
*
|
|
3726
|
+
* @param {string} [requesterId]
|
|
3727
|
+
* @param {*} [options] Override http request option.
|
|
3728
|
+
* @throws {RequiredError}
|
|
3729
|
+
* @memberof DefaultApi
|
|
3730
|
+
*/
|
|
3731
|
+
serviceRequestsIndex(requesterId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseServiceRequestResponse, any>>;
|
|
3411
3732
|
/**
|
|
3412
3733
|
*
|
|
3413
3734
|
* @param {SyncBody} syncBody
|
package/dist/api/api.js
CHANGED
|
@@ -173,6 +173,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
173
173
|
options: localVarRequestOptions,
|
|
174
174
|
};
|
|
175
175
|
}),
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
issueTypesIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
const localVarPath = `/issue_types`;
|
|
183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
185
|
+
let baseOptions;
|
|
186
|
+
if (configuration) {
|
|
187
|
+
baseOptions = configuration.baseOptions;
|
|
188
|
+
}
|
|
189
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
190
|
+
const localVarHeaderParameter = {};
|
|
191
|
+
const localVarQueryParameter = {};
|
|
192
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
193
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
194
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
195
|
+
return {
|
|
196
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
197
|
+
options: localVarRequestOptions,
|
|
198
|
+
};
|
|
199
|
+
}),
|
|
176
200
|
/**
|
|
177
201
|
*
|
|
178
202
|
* @param {*} [options] Override http request option.
|
|
@@ -573,6 +597,63 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
573
597
|
options: localVarRequestOptions,
|
|
574
598
|
};
|
|
575
599
|
}),
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
serviceRequestsCreate: (serviceRequestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
// verify required parameter 'serviceRequestBody' is not null or undefined
|
|
608
|
+
(0, common_1.assertParamExists)('serviceRequestsCreate', 'serviceRequestBody', serviceRequestBody);
|
|
609
|
+
const localVarPath = `/service_requests`;
|
|
610
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
611
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
612
|
+
let baseOptions;
|
|
613
|
+
if (configuration) {
|
|
614
|
+
baseOptions = configuration.baseOptions;
|
|
615
|
+
}
|
|
616
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
617
|
+
const localVarHeaderParameter = {};
|
|
618
|
+
const localVarQueryParameter = {};
|
|
619
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
620
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
622
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
623
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(serviceRequestBody, localVarRequestOptions, configuration);
|
|
624
|
+
return {
|
|
625
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
626
|
+
options: localVarRequestOptions,
|
|
627
|
+
};
|
|
628
|
+
}),
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
* @param {string} [requesterId]
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
serviceRequestsIndex: (requesterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
636
|
+
const localVarPath = `/service_requests`;
|
|
637
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
638
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
639
|
+
let baseOptions;
|
|
640
|
+
if (configuration) {
|
|
641
|
+
baseOptions = configuration.baseOptions;
|
|
642
|
+
}
|
|
643
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
644
|
+
const localVarHeaderParameter = {};
|
|
645
|
+
const localVarQueryParameter = {};
|
|
646
|
+
if (requesterId !== undefined) {
|
|
647
|
+
localVarQueryParameter['requester_id'] = requesterId;
|
|
648
|
+
}
|
|
649
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
650
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
651
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
652
|
+
return {
|
|
653
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
654
|
+
options: localVarRequestOptions,
|
|
655
|
+
};
|
|
656
|
+
}),
|
|
576
657
|
/**
|
|
577
658
|
*
|
|
578
659
|
* @param {SyncBody} syncBody
|
|
@@ -772,6 +853,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
772
853
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
773
854
|
});
|
|
774
855
|
},
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* @param {*} [options] Override http request option.
|
|
859
|
+
* @throws {RequiredError}
|
|
860
|
+
*/
|
|
861
|
+
issueTypesIndex(options) {
|
|
862
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
863
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.issueTypesIndex(options);
|
|
864
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
865
|
+
});
|
|
866
|
+
},
|
|
775
867
|
/**
|
|
776
868
|
*
|
|
777
869
|
* @param {*} [options] Override http request option.
|
|
@@ -929,6 +1021,30 @@ const DefaultApiFp = function (configuration) {
|
|
|
929
1021
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
930
1022
|
});
|
|
931
1023
|
},
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
1027
|
+
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1029
|
+
*/
|
|
1030
|
+
serviceRequestsCreate(serviceRequestBody, options) {
|
|
1031
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1032
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.serviceRequestsCreate(serviceRequestBody, options);
|
|
1033
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1034
|
+
});
|
|
1035
|
+
},
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @param {string} [requesterId]
|
|
1039
|
+
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @throws {RequiredError}
|
|
1041
|
+
*/
|
|
1042
|
+
serviceRequestsIndex(requesterId, options) {
|
|
1043
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1044
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.serviceRequestsIndex(requesterId, options);
|
|
1045
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1046
|
+
});
|
|
1047
|
+
},
|
|
932
1048
|
/**
|
|
933
1049
|
*
|
|
934
1050
|
* @param {SyncBody} syncBody
|
|
@@ -1034,6 +1150,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1034
1150
|
integrationsFsMembersDelete(destroyFSMembers, options) {
|
|
1035
1151
|
return localVarFp.integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(axios, basePath));
|
|
1036
1152
|
},
|
|
1153
|
+
/**
|
|
1154
|
+
*
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
issueTypesIndex(options) {
|
|
1159
|
+
return localVarFp.issueTypesIndex(options).then((request) => request(axios, basePath));
|
|
1160
|
+
},
|
|
1037
1161
|
/**
|
|
1038
1162
|
*
|
|
1039
1163
|
* @param {*} [options] Override http request option.
|
|
@@ -1155,6 +1279,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1155
1279
|
passesShow(visitScheduleId, options) {
|
|
1156
1280
|
return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
|
|
1157
1281
|
},
|
|
1282
|
+
/**
|
|
1283
|
+
*
|
|
1284
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
1285
|
+
* @param {*} [options] Override http request option.
|
|
1286
|
+
* @throws {RequiredError}
|
|
1287
|
+
*/
|
|
1288
|
+
serviceRequestsCreate(serviceRequestBody, options) {
|
|
1289
|
+
return localVarFp.serviceRequestsCreate(serviceRequestBody, options).then((request) => request(axios, basePath));
|
|
1290
|
+
},
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
* @param {string} [requesterId]
|
|
1294
|
+
* @param {*} [options] Override http request option.
|
|
1295
|
+
* @throws {RequiredError}
|
|
1296
|
+
*/
|
|
1297
|
+
serviceRequestsIndex(requesterId, options) {
|
|
1298
|
+
return localVarFp.serviceRequestsIndex(requesterId, options).then((request) => request(axios, basePath));
|
|
1299
|
+
},
|
|
1158
1300
|
/**
|
|
1159
1301
|
*
|
|
1160
1302
|
* @param {SyncBody} syncBody
|
|
@@ -1249,6 +1391,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1249
1391
|
integrationsFsMembersDelete(destroyFSMembers, options) {
|
|
1250
1392
|
return (0, exports.DefaultApiFp)(this.configuration).integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(this.axios, this.basePath));
|
|
1251
1393
|
}
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @param {*} [options] Override http request option.
|
|
1397
|
+
* @throws {RequiredError}
|
|
1398
|
+
* @memberof DefaultApi
|
|
1399
|
+
*/
|
|
1400
|
+
issueTypesIndex(options) {
|
|
1401
|
+
return (0, exports.DefaultApiFp)(this.configuration).issueTypesIndex(options).then((request) => request(this.axios, this.basePath));
|
|
1402
|
+
}
|
|
1252
1403
|
/**
|
|
1253
1404
|
*
|
|
1254
1405
|
* @param {*} [options] Override http request option.
|
|
@@ -1382,6 +1533,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1382
1533
|
passesShow(visitScheduleId, options) {
|
|
1383
1534
|
return (0, exports.DefaultApiFp)(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
1384
1535
|
}
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* @param {ServiceRequestBody} serviceRequestBody
|
|
1539
|
+
* @param {*} [options] Override http request option.
|
|
1540
|
+
* @throws {RequiredError}
|
|
1541
|
+
* @memberof DefaultApi
|
|
1542
|
+
*/
|
|
1543
|
+
serviceRequestsCreate(serviceRequestBody, options) {
|
|
1544
|
+
return (0, exports.DefaultApiFp)(this.configuration).serviceRequestsCreate(serviceRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1545
|
+
}
|
|
1546
|
+
/**
|
|
1547
|
+
*
|
|
1548
|
+
* @param {string} [requesterId]
|
|
1549
|
+
* @param {*} [options] Override http request option.
|
|
1550
|
+
* @throws {RequiredError}
|
|
1551
|
+
* @memberof DefaultApi
|
|
1552
|
+
*/
|
|
1553
|
+
serviceRequestsIndex(requesterId, options) {
|
|
1554
|
+
return (0, exports.DefaultApiFp)(this.configuration).serviceRequestsIndex(requesterId, options).then((request) => request(this.axios, this.basePath));
|
|
1555
|
+
}
|
|
1385
1556
|
/**
|
|
1386
1557
|
*
|
|
1387
1558
|
* @param {SyncBody} syncBody
|