ob-bms-sdk 0.0.57 → 0.0.58
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 +238 -74
- package/dist/api/api.d.ts +204 -75
- package/dist/api/api.js +59 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -413,56 +413,6 @@ export interface FetchParkingResult {
|
|
|
413
413
|
*/
|
|
414
414
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
415
415
|
}
|
|
416
|
-
/**
|
|
417
|
-
*
|
|
418
|
-
* @export
|
|
419
|
-
* @interface FindMemberResult
|
|
420
|
-
*/
|
|
421
|
-
export interface FindMemberResult {
|
|
422
|
-
/**
|
|
423
|
-
*
|
|
424
|
-
* @type {FindMemberResultUpdatedAt}
|
|
425
|
-
* @memberof FindMemberResult
|
|
426
|
-
*/
|
|
427
|
-
'updated_at': FindMemberResultUpdatedAt;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @type {FindMemberResultUpdatedAt}
|
|
431
|
-
* @memberof FindMemberResult
|
|
432
|
-
*/
|
|
433
|
-
'created_at': FindMemberResultUpdatedAt;
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @type {JsonValue}
|
|
437
|
-
* @memberof FindMemberResult
|
|
438
|
-
*/
|
|
439
|
-
'metadata'?: JsonValue | null;
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof FindMemberResult
|
|
444
|
-
*/
|
|
445
|
-
'account_id'?: string | null;
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof FindMemberResult
|
|
450
|
-
*/
|
|
451
|
-
'uid': string;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {string}
|
|
455
|
-
* @memberof FindMemberResult
|
|
456
|
-
*/
|
|
457
|
-
'id': string;
|
|
458
|
-
}
|
|
459
|
-
/**
|
|
460
|
-
*
|
|
461
|
-
* @export
|
|
462
|
-
* @interface FindMemberResultUpdatedAt
|
|
463
|
-
*/
|
|
464
|
-
export interface FindMemberResultUpdatedAt {
|
|
465
|
-
}
|
|
466
416
|
/**
|
|
467
417
|
*
|
|
468
418
|
* @export
|
|
@@ -710,6 +660,61 @@ export interface LocationPasses {
|
|
|
710
660
|
*/
|
|
711
661
|
'updated_at': string;
|
|
712
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @export
|
|
666
|
+
* @interface MemberIndexInterface
|
|
667
|
+
*/
|
|
668
|
+
export interface MemberIndexInterface {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof MemberIndexInterface
|
|
673
|
+
*/
|
|
674
|
+
'id'?: string;
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof MemberIndexInterface
|
|
679
|
+
*/
|
|
680
|
+
'uid'?: string;
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @type {PrismaJsonValue}
|
|
684
|
+
* @memberof MemberIndexInterface
|
|
685
|
+
*/
|
|
686
|
+
'metadata'?: PrismaJsonValue | null;
|
|
687
|
+
/**
|
|
688
|
+
*
|
|
689
|
+
* @type {string}
|
|
690
|
+
* @memberof MemberIndexInterface
|
|
691
|
+
*/
|
|
692
|
+
'account_id'?: string | null;
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @type {string}
|
|
696
|
+
* @memberof MemberIndexInterface
|
|
697
|
+
*/
|
|
698
|
+
'created_at'?: string;
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @type {string}
|
|
702
|
+
* @memberof MemberIndexInterface
|
|
703
|
+
*/
|
|
704
|
+
'updated_at'?: string;
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @type {string}
|
|
708
|
+
* @memberof MemberIndexInterface
|
|
709
|
+
*/
|
|
710
|
+
'default_floor'?: string | null;
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @type {boolean}
|
|
714
|
+
* @memberof MemberIndexInterface
|
|
715
|
+
*/
|
|
716
|
+
'redemption_authorized': boolean;
|
|
717
|
+
}
|
|
713
718
|
/**
|
|
714
719
|
*
|
|
715
720
|
* @export
|
|
@@ -1052,7 +1057,7 @@ export interface PassConsentResponse {
|
|
|
1052
1057
|
* @type {string}
|
|
1053
1058
|
* @memberof PassConsentResponse
|
|
1054
1059
|
*/
|
|
1055
|
-
'
|
|
1060
|
+
'uid': string | null;
|
|
1056
1061
|
/**
|
|
1057
1062
|
*
|
|
1058
1063
|
* @type {string}
|
|
@@ -1070,7 +1075,7 @@ export interface PassConsentResponse {
|
|
|
1070
1075
|
* @type {string}
|
|
1071
1076
|
* @memberof PassConsentResponse
|
|
1072
1077
|
*/
|
|
1073
|
-
'
|
|
1078
|
+
'status': PassConsentResponseStatusEnum;
|
|
1074
1079
|
/**
|
|
1075
1080
|
*
|
|
1076
1081
|
* @type {string}
|
|
@@ -1164,6 +1169,12 @@ export interface PassData {
|
|
|
1164
1169
|
* @memberof PassData
|
|
1165
1170
|
*/
|
|
1166
1171
|
'visitor_id': string;
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @type {boolean}
|
|
1175
|
+
* @memberof PassData
|
|
1176
|
+
*/
|
|
1177
|
+
'consent': boolean | null;
|
|
1167
1178
|
/**
|
|
1168
1179
|
*
|
|
1169
1180
|
* @type {string}
|
|
@@ -1879,16 +1890,16 @@ export interface VisitorSchedule {
|
|
|
1879
1890
|
'floor_id': string;
|
|
1880
1891
|
/**
|
|
1881
1892
|
*
|
|
1882
|
-
* @type {
|
|
1893
|
+
* @type {VisitorScheduleFrom}
|
|
1883
1894
|
* @memberof VisitorSchedule
|
|
1884
1895
|
*/
|
|
1885
|
-
'from':
|
|
1896
|
+
'from': VisitorScheduleFrom;
|
|
1886
1897
|
/**
|
|
1887
1898
|
*
|
|
1888
|
-
* @type {
|
|
1899
|
+
* @type {VisitorScheduleFrom}
|
|
1889
1900
|
* @memberof VisitorSchedule
|
|
1890
1901
|
*/
|
|
1891
|
-
'to':
|
|
1902
|
+
'to': VisitorScheduleFrom;
|
|
1892
1903
|
/**
|
|
1893
1904
|
*
|
|
1894
1905
|
* @type {object}
|
|
@@ -1896,6 +1907,13 @@ export interface VisitorSchedule {
|
|
|
1896
1907
|
*/
|
|
1897
1908
|
'repetition'?: object;
|
|
1898
1909
|
}
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @export
|
|
1913
|
+
* @interface VisitorScheduleFrom
|
|
1914
|
+
*/
|
|
1915
|
+
export interface VisitorScheduleFrom {
|
|
1916
|
+
}
|
|
1899
1917
|
/**
|
|
1900
1918
|
*
|
|
1901
1919
|
* @export
|
|
@@ -1994,6 +2012,68 @@ export interface VisitorScheduleTokens {
|
|
|
1994
2012
|
*/
|
|
1995
2013
|
'updated_at'?: string;
|
|
1996
2014
|
}
|
|
2015
|
+
/**
|
|
2016
|
+
*
|
|
2017
|
+
* @export
|
|
2018
|
+
* @interface VisitorTokenData
|
|
2019
|
+
*/
|
|
2020
|
+
export interface VisitorTokenData {
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof VisitorTokenData
|
|
2025
|
+
*/
|
|
2026
|
+
'id': string;
|
|
2027
|
+
/**
|
|
2028
|
+
*
|
|
2029
|
+
* @type {string}
|
|
2030
|
+
* @memberof VisitorTokenData
|
|
2031
|
+
*/
|
|
2032
|
+
'token_id': string;
|
|
2033
|
+
/**
|
|
2034
|
+
*
|
|
2035
|
+
* @type {string}
|
|
2036
|
+
* @memberof VisitorTokenData
|
|
2037
|
+
*/
|
|
2038
|
+
'expired_date': string | null;
|
|
2039
|
+
/**
|
|
2040
|
+
*
|
|
2041
|
+
* @type {string}
|
|
2042
|
+
* @memberof VisitorTokenData
|
|
2043
|
+
*/
|
|
2044
|
+
'visitor_schedule_id': string;
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
* @type {string}
|
|
2048
|
+
* @memberof VisitorTokenData
|
|
2049
|
+
*/
|
|
2050
|
+
'uid': string;
|
|
2051
|
+
/**
|
|
2052
|
+
*
|
|
2053
|
+
* @type {string}
|
|
2054
|
+
* @memberof VisitorTokenData
|
|
2055
|
+
*/
|
|
2056
|
+
'created_at': string;
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
* @type {string}
|
|
2060
|
+
* @memberof VisitorTokenData
|
|
2061
|
+
*/
|
|
2062
|
+
'updated_at': string;
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @export
|
|
2067
|
+
* @interface VisitorTokensIndexQuery
|
|
2068
|
+
*/
|
|
2069
|
+
export interface VisitorTokensIndexQuery {
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @type {string}
|
|
2073
|
+
* @memberof VisitorTokensIndexQuery
|
|
2074
|
+
*/
|
|
2075
|
+
'token_id'?: string;
|
|
2076
|
+
}
|
|
1997
2077
|
/**
|
|
1998
2078
|
*
|
|
1999
2079
|
* @export
|
|
@@ -2247,42 +2327,42 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2247
2327
|
/**
|
|
2248
2328
|
*
|
|
2249
2329
|
* @export
|
|
2250
|
-
* @interface
|
|
2330
|
+
* @interface WrappedResponseLocationIndexResponse
|
|
2251
2331
|
*/
|
|
2252
|
-
export interface
|
|
2332
|
+
export interface WrappedResponseLocationIndexResponse {
|
|
2253
2333
|
/**
|
|
2254
2334
|
*
|
|
2255
|
-
* @type {
|
|
2256
|
-
* @memberof
|
|
2335
|
+
* @type {WrappedResponseLocationIndexResponseData}
|
|
2336
|
+
* @memberof WrappedResponseLocationIndexResponse
|
|
2257
2337
|
*/
|
|
2258
|
-
'data':
|
|
2338
|
+
'data': WrappedResponseLocationIndexResponseData | null;
|
|
2259
2339
|
}
|
|
2260
2340
|
/**
|
|
2261
2341
|
*
|
|
2262
2342
|
* @export
|
|
2263
|
-
* @interface
|
|
2343
|
+
* @interface WrappedResponseLocationIndexResponseData
|
|
2264
2344
|
*/
|
|
2265
|
-
export interface
|
|
2345
|
+
export interface WrappedResponseLocationIndexResponseData {
|
|
2266
2346
|
}
|
|
2267
2347
|
/**
|
|
2268
2348
|
*
|
|
2269
2349
|
* @export
|
|
2270
|
-
* @interface
|
|
2350
|
+
* @interface WrappedResponseMemberIndexInterfaceArrayOrNull
|
|
2271
2351
|
*/
|
|
2272
|
-
export interface
|
|
2352
|
+
export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
|
|
2273
2353
|
/**
|
|
2274
2354
|
*
|
|
2275
|
-
* @type {
|
|
2276
|
-
* @memberof
|
|
2355
|
+
* @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
|
|
2356
|
+
* @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
|
|
2277
2357
|
*/
|
|
2278
|
-
'data':
|
|
2358
|
+
'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
|
|
2279
2359
|
}
|
|
2280
2360
|
/**
|
|
2281
2361
|
*
|
|
2282
2362
|
* @export
|
|
2283
|
-
* @interface
|
|
2363
|
+
* @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
|
|
2284
2364
|
*/
|
|
2285
|
-
export interface
|
|
2365
|
+
export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
|
|
2286
2366
|
}
|
|
2287
2367
|
/**
|
|
2288
2368
|
*
|
|
@@ -2554,7 +2634,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2554
2634
|
* @type {string}
|
|
2555
2635
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2556
2636
|
*/
|
|
2557
|
-
'
|
|
2637
|
+
'uid': string | null;
|
|
2558
2638
|
/**
|
|
2559
2639
|
*
|
|
2560
2640
|
* @type {string}
|
|
@@ -2572,7 +2652,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2572
2652
|
* @type {string}
|
|
2573
2653
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2574
2654
|
*/
|
|
2575
|
-
'
|
|
2655
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2576
2656
|
/**
|
|
2577
2657
|
*
|
|
2578
2658
|
* @type {string}
|
|
@@ -2731,6 +2811,26 @@ export interface WrappedResponseUpdateMemberResponseData {
|
|
|
2731
2811
|
*/
|
|
2732
2812
|
'result': boolean | null;
|
|
2733
2813
|
}
|
|
2814
|
+
/**
|
|
2815
|
+
*
|
|
2816
|
+
* @export
|
|
2817
|
+
* @interface WrappedResponseVisitorTokensIndexResponseData
|
|
2818
|
+
*/
|
|
2819
|
+
export interface WrappedResponseVisitorTokensIndexResponseData {
|
|
2820
|
+
/**
|
|
2821
|
+
*
|
|
2822
|
+
* @type {WrappedResponseVisitorTokensIndexResponseDataData}
|
|
2823
|
+
* @memberof WrappedResponseVisitorTokensIndexResponseData
|
|
2824
|
+
*/
|
|
2825
|
+
'data': WrappedResponseVisitorTokensIndexResponseDataData | null;
|
|
2826
|
+
}
|
|
2827
|
+
/**
|
|
2828
|
+
*
|
|
2829
|
+
* @export
|
|
2830
|
+
* @interface WrappedResponseVisitorTokensIndexResponseDataData
|
|
2831
|
+
*/
|
|
2832
|
+
export interface WrappedResponseVisitorTokensIndexResponseDataData {
|
|
2833
|
+
}
|
|
2734
2834
|
|
|
2735
2835
|
/**
|
|
2736
2836
|
* DefaultApi - axios parameter creator
|
|
@@ -3383,6 +3483,40 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3383
3483
|
options: localVarRequestOptions,
|
|
3384
3484
|
};
|
|
3385
3485
|
},
|
|
3486
|
+
/**
|
|
3487
|
+
*
|
|
3488
|
+
* @param {string} [tokenId]
|
|
3489
|
+
* @param {*} [options] Override http request option.
|
|
3490
|
+
* @throws {RequiredError}
|
|
3491
|
+
*/
|
|
3492
|
+
visitorTokensIndex: async (tokenId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3493
|
+
const localVarPath = `/visitor_tokens`;
|
|
3494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3496
|
+
let baseOptions;
|
|
3497
|
+
if (configuration) {
|
|
3498
|
+
baseOptions = configuration.baseOptions;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3502
|
+
const localVarHeaderParameter = {} as any;
|
|
3503
|
+
const localVarQueryParameter = {} as any;
|
|
3504
|
+
|
|
3505
|
+
if (tokenId !== undefined) {
|
|
3506
|
+
localVarQueryParameter['token_id'] = tokenId;
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3513
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3514
|
+
|
|
3515
|
+
return {
|
|
3516
|
+
url: toPathString(localVarUrlObj),
|
|
3517
|
+
options: localVarRequestOptions,
|
|
3518
|
+
};
|
|
3519
|
+
},
|
|
3386
3520
|
/**
|
|
3387
3521
|
*
|
|
3388
3522
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -3576,7 +3710,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3576
3710
|
* @param {*} [options] Override http request option.
|
|
3577
3711
|
* @throws {RequiredError}
|
|
3578
3712
|
*/
|
|
3579
|
-
async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3713
|
+
async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>> {
|
|
3580
3714
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
|
|
3581
3715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3582
3716
|
},
|
|
@@ -3677,6 +3811,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3677
3811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sync(syncBody, options);
|
|
3678
3812
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3679
3813
|
},
|
|
3814
|
+
/**
|
|
3815
|
+
*
|
|
3816
|
+
* @param {string} [tokenId]
|
|
3817
|
+
* @param {*} [options] Override http request option.
|
|
3818
|
+
* @throws {RequiredError}
|
|
3819
|
+
*/
|
|
3820
|
+
async visitorTokensIndex(tokenId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseVisitorTokensIndexResponseData>> {
|
|
3821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorTokensIndex(tokenId, options);
|
|
3822
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3823
|
+
},
|
|
3680
3824
|
/**
|
|
3681
3825
|
*
|
|
3682
3826
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -3792,7 +3936,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3792
3936
|
* @param {*} [options] Override http request option.
|
|
3793
3937
|
* @throws {RequiredError}
|
|
3794
3938
|
*/
|
|
3795
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<
|
|
3939
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull> {
|
|
3796
3940
|
return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
|
|
3797
3941
|
},
|
|
3798
3942
|
/**
|
|
@@ -3883,6 +4027,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3883
4027
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse> {
|
|
3884
4028
|
return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
|
|
3885
4029
|
},
|
|
4030
|
+
/**
|
|
4031
|
+
*
|
|
4032
|
+
* @param {string} [tokenId]
|
|
4033
|
+
* @param {*} [options] Override http request option.
|
|
4034
|
+
* @throws {RequiredError}
|
|
4035
|
+
*/
|
|
4036
|
+
visitorTokensIndex(tokenId?: string, options?: any): AxiosPromise<WrappedResponseVisitorTokensIndexResponseData> {
|
|
4037
|
+
return localVarFp.visitorTokensIndex(tokenId, options).then((request) => request(axios, basePath));
|
|
4038
|
+
},
|
|
3886
4039
|
/**
|
|
3887
4040
|
*
|
|
3888
4041
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -4120,6 +4273,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
4120
4273
|
return DefaultApiFp(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
|
|
4121
4274
|
}
|
|
4122
4275
|
|
|
4276
|
+
/**
|
|
4277
|
+
*
|
|
4278
|
+
* @param {string} [tokenId]
|
|
4279
|
+
* @param {*} [options] Override http request option.
|
|
4280
|
+
* @throws {RequiredError}
|
|
4281
|
+
* @memberof DefaultApi
|
|
4282
|
+
*/
|
|
4283
|
+
public visitorTokensIndex(tokenId?: string, options?: AxiosRequestConfig) {
|
|
4284
|
+
return DefaultApiFp(this.configuration).visitorTokensIndex(tokenId, options).then((request) => request(this.axios, this.basePath));
|
|
4285
|
+
}
|
|
4286
|
+
|
|
4123
4287
|
/**
|
|
4124
4288
|
*
|
|
4125
4289
|
* @param {CreateVisitorBody} createVisitorBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -411,56 +411,6 @@ export interface FetchParkingResult {
|
|
|
411
411
|
*/
|
|
412
412
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
413
413
|
}
|
|
414
|
-
/**
|
|
415
|
-
*
|
|
416
|
-
* @export
|
|
417
|
-
* @interface FindMemberResult
|
|
418
|
-
*/
|
|
419
|
-
export interface FindMemberResult {
|
|
420
|
-
/**
|
|
421
|
-
*
|
|
422
|
-
* @type {FindMemberResultUpdatedAt}
|
|
423
|
-
* @memberof FindMemberResult
|
|
424
|
-
*/
|
|
425
|
-
'updated_at': FindMemberResultUpdatedAt;
|
|
426
|
-
/**
|
|
427
|
-
*
|
|
428
|
-
* @type {FindMemberResultUpdatedAt}
|
|
429
|
-
* @memberof FindMemberResult
|
|
430
|
-
*/
|
|
431
|
-
'created_at': FindMemberResultUpdatedAt;
|
|
432
|
-
/**
|
|
433
|
-
*
|
|
434
|
-
* @type {JsonValue}
|
|
435
|
-
* @memberof FindMemberResult
|
|
436
|
-
*/
|
|
437
|
-
'metadata'?: JsonValue | null;
|
|
438
|
-
/**
|
|
439
|
-
*
|
|
440
|
-
* @type {string}
|
|
441
|
-
* @memberof FindMemberResult
|
|
442
|
-
*/
|
|
443
|
-
'account_id'?: string | null;
|
|
444
|
-
/**
|
|
445
|
-
*
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof FindMemberResult
|
|
448
|
-
*/
|
|
449
|
-
'uid': string;
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
* @type {string}
|
|
453
|
-
* @memberof FindMemberResult
|
|
454
|
-
*/
|
|
455
|
-
'id': string;
|
|
456
|
-
}
|
|
457
|
-
/**
|
|
458
|
-
*
|
|
459
|
-
* @export
|
|
460
|
-
* @interface FindMemberResultUpdatedAt
|
|
461
|
-
*/
|
|
462
|
-
export interface FindMemberResultUpdatedAt {
|
|
463
|
-
}
|
|
464
414
|
/**
|
|
465
415
|
*
|
|
466
416
|
* @export
|
|
@@ -708,6 +658,61 @@ export interface LocationPasses {
|
|
|
708
658
|
*/
|
|
709
659
|
'updated_at': string;
|
|
710
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @export
|
|
664
|
+
* @interface MemberIndexInterface
|
|
665
|
+
*/
|
|
666
|
+
export interface MemberIndexInterface {
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* @type {string}
|
|
670
|
+
* @memberof MemberIndexInterface
|
|
671
|
+
*/
|
|
672
|
+
'id'?: string;
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @type {string}
|
|
676
|
+
* @memberof MemberIndexInterface
|
|
677
|
+
*/
|
|
678
|
+
'uid'?: string;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {PrismaJsonValue}
|
|
682
|
+
* @memberof MemberIndexInterface
|
|
683
|
+
*/
|
|
684
|
+
'metadata'?: PrismaJsonValue | null;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @type {string}
|
|
688
|
+
* @memberof MemberIndexInterface
|
|
689
|
+
*/
|
|
690
|
+
'account_id'?: string | null;
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @type {string}
|
|
694
|
+
* @memberof MemberIndexInterface
|
|
695
|
+
*/
|
|
696
|
+
'created_at'?: string;
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {string}
|
|
700
|
+
* @memberof MemberIndexInterface
|
|
701
|
+
*/
|
|
702
|
+
'updated_at'?: string;
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof MemberIndexInterface
|
|
707
|
+
*/
|
|
708
|
+
'default_floor'?: string | null;
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @type {boolean}
|
|
712
|
+
* @memberof MemberIndexInterface
|
|
713
|
+
*/
|
|
714
|
+
'redemption_authorized': boolean;
|
|
715
|
+
}
|
|
711
716
|
/**
|
|
712
717
|
*
|
|
713
718
|
* @export
|
|
@@ -1050,7 +1055,7 @@ export interface PassConsentResponse {
|
|
|
1050
1055
|
* @type {string}
|
|
1051
1056
|
* @memberof PassConsentResponse
|
|
1052
1057
|
*/
|
|
1053
|
-
'
|
|
1058
|
+
'uid': string | null;
|
|
1054
1059
|
/**
|
|
1055
1060
|
*
|
|
1056
1061
|
* @type {string}
|
|
@@ -1068,7 +1073,7 @@ export interface PassConsentResponse {
|
|
|
1068
1073
|
* @type {string}
|
|
1069
1074
|
* @memberof PassConsentResponse
|
|
1070
1075
|
*/
|
|
1071
|
-
'
|
|
1076
|
+
'status': PassConsentResponseStatusEnum;
|
|
1072
1077
|
/**
|
|
1073
1078
|
*
|
|
1074
1079
|
* @type {string}
|
|
@@ -1159,6 +1164,12 @@ export interface PassData {
|
|
|
1159
1164
|
* @memberof PassData
|
|
1160
1165
|
*/
|
|
1161
1166
|
'visitor_id': string;
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @type {boolean}
|
|
1170
|
+
* @memberof PassData
|
|
1171
|
+
*/
|
|
1172
|
+
'consent': boolean | null;
|
|
1162
1173
|
/**
|
|
1163
1174
|
*
|
|
1164
1175
|
* @type {string}
|
|
@@ -1868,16 +1879,16 @@ export interface VisitorSchedule {
|
|
|
1868
1879
|
'floor_id': string;
|
|
1869
1880
|
/**
|
|
1870
1881
|
*
|
|
1871
|
-
* @type {
|
|
1882
|
+
* @type {VisitorScheduleFrom}
|
|
1872
1883
|
* @memberof VisitorSchedule
|
|
1873
1884
|
*/
|
|
1874
|
-
'from':
|
|
1885
|
+
'from': VisitorScheduleFrom;
|
|
1875
1886
|
/**
|
|
1876
1887
|
*
|
|
1877
|
-
* @type {
|
|
1888
|
+
* @type {VisitorScheduleFrom}
|
|
1878
1889
|
* @memberof VisitorSchedule
|
|
1879
1890
|
*/
|
|
1880
|
-
'to':
|
|
1891
|
+
'to': VisitorScheduleFrom;
|
|
1881
1892
|
/**
|
|
1882
1893
|
*
|
|
1883
1894
|
* @type {object}
|
|
@@ -1885,6 +1896,13 @@ export interface VisitorSchedule {
|
|
|
1885
1896
|
*/
|
|
1886
1897
|
'repetition'?: object;
|
|
1887
1898
|
}
|
|
1899
|
+
/**
|
|
1900
|
+
*
|
|
1901
|
+
* @export
|
|
1902
|
+
* @interface VisitorScheduleFrom
|
|
1903
|
+
*/
|
|
1904
|
+
export interface VisitorScheduleFrom {
|
|
1905
|
+
}
|
|
1888
1906
|
/**
|
|
1889
1907
|
*
|
|
1890
1908
|
* @export
|
|
@@ -1983,6 +2001,68 @@ export interface VisitorScheduleTokens {
|
|
|
1983
2001
|
*/
|
|
1984
2002
|
'updated_at'?: string;
|
|
1985
2003
|
}
|
|
2004
|
+
/**
|
|
2005
|
+
*
|
|
2006
|
+
* @export
|
|
2007
|
+
* @interface VisitorTokenData
|
|
2008
|
+
*/
|
|
2009
|
+
export interface VisitorTokenData {
|
|
2010
|
+
/**
|
|
2011
|
+
*
|
|
2012
|
+
* @type {string}
|
|
2013
|
+
* @memberof VisitorTokenData
|
|
2014
|
+
*/
|
|
2015
|
+
'id': string;
|
|
2016
|
+
/**
|
|
2017
|
+
*
|
|
2018
|
+
* @type {string}
|
|
2019
|
+
* @memberof VisitorTokenData
|
|
2020
|
+
*/
|
|
2021
|
+
'token_id': string;
|
|
2022
|
+
/**
|
|
2023
|
+
*
|
|
2024
|
+
* @type {string}
|
|
2025
|
+
* @memberof VisitorTokenData
|
|
2026
|
+
*/
|
|
2027
|
+
'expired_date': string | null;
|
|
2028
|
+
/**
|
|
2029
|
+
*
|
|
2030
|
+
* @type {string}
|
|
2031
|
+
* @memberof VisitorTokenData
|
|
2032
|
+
*/
|
|
2033
|
+
'visitor_schedule_id': string;
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @type {string}
|
|
2037
|
+
* @memberof VisitorTokenData
|
|
2038
|
+
*/
|
|
2039
|
+
'uid': string;
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {string}
|
|
2043
|
+
* @memberof VisitorTokenData
|
|
2044
|
+
*/
|
|
2045
|
+
'created_at': string;
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {string}
|
|
2049
|
+
* @memberof VisitorTokenData
|
|
2050
|
+
*/
|
|
2051
|
+
'updated_at': string;
|
|
2052
|
+
}
|
|
2053
|
+
/**
|
|
2054
|
+
*
|
|
2055
|
+
* @export
|
|
2056
|
+
* @interface VisitorTokensIndexQuery
|
|
2057
|
+
*/
|
|
2058
|
+
export interface VisitorTokensIndexQuery {
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @type {string}
|
|
2062
|
+
* @memberof VisitorTokensIndexQuery
|
|
2063
|
+
*/
|
|
2064
|
+
'token_id'?: string;
|
|
2065
|
+
}
|
|
1986
2066
|
/**
|
|
1987
2067
|
*
|
|
1988
2068
|
* @export
|
|
@@ -2236,42 +2316,42 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2236
2316
|
/**
|
|
2237
2317
|
*
|
|
2238
2318
|
* @export
|
|
2239
|
-
* @interface
|
|
2319
|
+
* @interface WrappedResponseLocationIndexResponse
|
|
2240
2320
|
*/
|
|
2241
|
-
export interface
|
|
2321
|
+
export interface WrappedResponseLocationIndexResponse {
|
|
2242
2322
|
/**
|
|
2243
2323
|
*
|
|
2244
|
-
* @type {
|
|
2245
|
-
* @memberof
|
|
2324
|
+
* @type {WrappedResponseLocationIndexResponseData}
|
|
2325
|
+
* @memberof WrappedResponseLocationIndexResponse
|
|
2246
2326
|
*/
|
|
2247
|
-
'data':
|
|
2327
|
+
'data': WrappedResponseLocationIndexResponseData | null;
|
|
2248
2328
|
}
|
|
2249
2329
|
/**
|
|
2250
2330
|
*
|
|
2251
2331
|
* @export
|
|
2252
|
-
* @interface
|
|
2332
|
+
* @interface WrappedResponseLocationIndexResponseData
|
|
2253
2333
|
*/
|
|
2254
|
-
export interface
|
|
2334
|
+
export interface WrappedResponseLocationIndexResponseData {
|
|
2255
2335
|
}
|
|
2256
2336
|
/**
|
|
2257
2337
|
*
|
|
2258
2338
|
* @export
|
|
2259
|
-
* @interface
|
|
2339
|
+
* @interface WrappedResponseMemberIndexInterfaceArrayOrNull
|
|
2260
2340
|
*/
|
|
2261
|
-
export interface
|
|
2341
|
+
export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
|
|
2262
2342
|
/**
|
|
2263
2343
|
*
|
|
2264
|
-
* @type {
|
|
2265
|
-
* @memberof
|
|
2344
|
+
* @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
|
|
2345
|
+
* @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
|
|
2266
2346
|
*/
|
|
2267
|
-
'data':
|
|
2347
|
+
'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
|
|
2268
2348
|
}
|
|
2269
2349
|
/**
|
|
2270
2350
|
*
|
|
2271
2351
|
* @export
|
|
2272
|
-
* @interface
|
|
2352
|
+
* @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
|
|
2273
2353
|
*/
|
|
2274
|
-
export interface
|
|
2354
|
+
export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
|
|
2275
2355
|
}
|
|
2276
2356
|
/**
|
|
2277
2357
|
*
|
|
@@ -2540,7 +2620,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2540
2620
|
* @type {string}
|
|
2541
2621
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2542
2622
|
*/
|
|
2543
|
-
'
|
|
2623
|
+
'uid': string | null;
|
|
2544
2624
|
/**
|
|
2545
2625
|
*
|
|
2546
2626
|
* @type {string}
|
|
@@ -2558,7 +2638,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2558
2638
|
* @type {string}
|
|
2559
2639
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2560
2640
|
*/
|
|
2561
|
-
'
|
|
2641
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2562
2642
|
/**
|
|
2563
2643
|
*
|
|
2564
2644
|
* @type {string}
|
|
@@ -2714,6 +2794,26 @@ export interface WrappedResponseUpdateMemberResponseData {
|
|
|
2714
2794
|
*/
|
|
2715
2795
|
'result': boolean | null;
|
|
2716
2796
|
}
|
|
2797
|
+
/**
|
|
2798
|
+
*
|
|
2799
|
+
* @export
|
|
2800
|
+
* @interface WrappedResponseVisitorTokensIndexResponseData
|
|
2801
|
+
*/
|
|
2802
|
+
export interface WrappedResponseVisitorTokensIndexResponseData {
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {WrappedResponseVisitorTokensIndexResponseDataData}
|
|
2806
|
+
* @memberof WrappedResponseVisitorTokensIndexResponseData
|
|
2807
|
+
*/
|
|
2808
|
+
'data': WrappedResponseVisitorTokensIndexResponseDataData | null;
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
*
|
|
2812
|
+
* @export
|
|
2813
|
+
* @interface WrappedResponseVisitorTokensIndexResponseDataData
|
|
2814
|
+
*/
|
|
2815
|
+
export interface WrappedResponseVisitorTokensIndexResponseDataData {
|
|
2816
|
+
}
|
|
2717
2817
|
/**
|
|
2718
2818
|
* DefaultApi - axios parameter creator
|
|
2719
2819
|
* @export
|
|
@@ -2851,6 +2951,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2851
2951
|
* @throws {RequiredError}
|
|
2852
2952
|
*/
|
|
2853
2953
|
sync: (syncBody: SyncBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2954
|
+
/**
|
|
2955
|
+
*
|
|
2956
|
+
* @param {string} [tokenId]
|
|
2957
|
+
* @param {*} [options] Override http request option.
|
|
2958
|
+
* @throws {RequiredError}
|
|
2959
|
+
*/
|
|
2960
|
+
visitorTokensIndex: (tokenId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2854
2961
|
/**
|
|
2855
2962
|
*
|
|
2856
2963
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -2939,7 +3046,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2939
3046
|
* @param {*} [options] Override http request option.
|
|
2940
3047
|
* @throws {RequiredError}
|
|
2941
3048
|
*/
|
|
2942
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3049
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>>;
|
|
2943
3050
|
/**
|
|
2944
3051
|
*
|
|
2945
3052
|
* @param {string} id
|
|
@@ -3010,6 +3117,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3010
3117
|
* @throws {RequiredError}
|
|
3011
3118
|
*/
|
|
3012
3119
|
sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>>;
|
|
3120
|
+
/**
|
|
3121
|
+
*
|
|
3122
|
+
* @param {string} [tokenId]
|
|
3123
|
+
* @param {*} [options] Override http request option.
|
|
3124
|
+
* @throws {RequiredError}
|
|
3125
|
+
*/
|
|
3126
|
+
visitorTokensIndex(tokenId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseVisitorTokensIndexResponseData>>;
|
|
3013
3127
|
/**
|
|
3014
3128
|
*
|
|
3015
3129
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -3098,7 +3212,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3098
3212
|
* @param {*} [options] Override http request option.
|
|
3099
3213
|
* @throws {RequiredError}
|
|
3100
3214
|
*/
|
|
3101
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<
|
|
3215
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>;
|
|
3102
3216
|
/**
|
|
3103
3217
|
*
|
|
3104
3218
|
* @param {string} id
|
|
@@ -3169,6 +3283,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3169
3283
|
* @throws {RequiredError}
|
|
3170
3284
|
*/
|
|
3171
3285
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse>;
|
|
3286
|
+
/**
|
|
3287
|
+
*
|
|
3288
|
+
* @param {string} [tokenId]
|
|
3289
|
+
* @param {*} [options] Override http request option.
|
|
3290
|
+
* @throws {RequiredError}
|
|
3291
|
+
*/
|
|
3292
|
+
visitorTokensIndex(tokenId?: string, options?: any): AxiosPromise<WrappedResponseVisitorTokensIndexResponseData>;
|
|
3172
3293
|
/**
|
|
3173
3294
|
*
|
|
3174
3295
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -3267,7 +3388,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3267
3388
|
* @throws {RequiredError}
|
|
3268
3389
|
* @memberof DefaultApi
|
|
3269
3390
|
*/
|
|
3270
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3391
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMemberIndexInterfaceArrayOrNull, any>>;
|
|
3271
3392
|
/**
|
|
3272
3393
|
*
|
|
3273
3394
|
* @param {string} id
|
|
@@ -3347,6 +3468,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3347
3468
|
* @memberof DefaultApi
|
|
3348
3469
|
*/
|
|
3349
3470
|
sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncResponse, any>>;
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @param {string} [tokenId]
|
|
3474
|
+
* @param {*} [options] Override http request option.
|
|
3475
|
+
* @throws {RequiredError}
|
|
3476
|
+
* @memberof DefaultApi
|
|
3477
|
+
*/
|
|
3478
|
+
visitorTokensIndex(tokenId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseVisitorTokensIndexResponseData, any>>;
|
|
3350
3479
|
/**
|
|
3351
3480
|
*
|
|
3352
3481
|
* @param {CreateVisitorBody} createVisitorBody
|
package/dist/api/api.js
CHANGED
|
@@ -597,6 +597,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
597
597
|
options: localVarRequestOptions,
|
|
598
598
|
};
|
|
599
599
|
}),
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @param {string} [tokenId]
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
visitorTokensIndex: (tokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
const localVarPath = `/visitor_tokens`;
|
|
608
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
609
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
610
|
+
let baseOptions;
|
|
611
|
+
if (configuration) {
|
|
612
|
+
baseOptions = configuration.baseOptions;
|
|
613
|
+
}
|
|
614
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
615
|
+
const localVarHeaderParameter = {};
|
|
616
|
+
const localVarQueryParameter = {};
|
|
617
|
+
if (tokenId !== undefined) {
|
|
618
|
+
localVarQueryParameter['token_id'] = tokenId;
|
|
619
|
+
}
|
|
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
|
+
return {
|
|
624
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
625
|
+
options: localVarRequestOptions,
|
|
626
|
+
};
|
|
627
|
+
}),
|
|
600
628
|
/**
|
|
601
629
|
*
|
|
602
630
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -909,6 +937,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
909
937
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
910
938
|
});
|
|
911
939
|
},
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @param {string} [tokenId]
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
*/
|
|
946
|
+
visitorTokensIndex(tokenId, options) {
|
|
947
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
948
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorTokensIndex(tokenId, options);
|
|
949
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
950
|
+
});
|
|
951
|
+
},
|
|
912
952
|
/**
|
|
913
953
|
*
|
|
914
954
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -1121,6 +1161,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1121
1161
|
sync(syncBody, options) {
|
|
1122
1162
|
return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
|
|
1123
1163
|
},
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @param {string} [tokenId]
|
|
1167
|
+
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @throws {RequiredError}
|
|
1169
|
+
*/
|
|
1170
|
+
visitorTokensIndex(tokenId, options) {
|
|
1171
|
+
return localVarFp.visitorTokensIndex(tokenId, options).then((request) => request(axios, basePath));
|
|
1172
|
+
},
|
|
1124
1173
|
/**
|
|
1125
1174
|
*
|
|
1126
1175
|
* @param {CreateVisitorBody} createVisitorBody
|
|
@@ -1341,6 +1390,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1341
1390
|
sync(syncBody, options) {
|
|
1342
1391
|
return (0, exports.DefaultApiFp)(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
|
|
1343
1392
|
}
|
|
1393
|
+
/**
|
|
1394
|
+
*
|
|
1395
|
+
* @param {string} [tokenId]
|
|
1396
|
+
* @param {*} [options] Override http request option.
|
|
1397
|
+
* @throws {RequiredError}
|
|
1398
|
+
* @memberof DefaultApi
|
|
1399
|
+
*/
|
|
1400
|
+
visitorTokensIndex(tokenId, options) {
|
|
1401
|
+
return (0, exports.DefaultApiFp)(this.configuration).visitorTokensIndex(tokenId, options).then((request) => request(this.axios, this.basePath));
|
|
1402
|
+
}
|
|
1344
1403
|
/**
|
|
1345
1404
|
*
|
|
1346
1405
|
* @param {CreateVisitorBody} createVisitorBody
|