ob-bms-sdk 0.0.35 → 0.0.37
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 +177 -72
- package/dist/api/api.d.ts +156 -51
- package/dist/api/api.js +45 -45
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -47,6 +47,18 @@ export interface CommandData {
|
|
|
47
47
|
* @memberof CommandData
|
|
48
48
|
*/
|
|
49
49
|
'data'?: PrismaJsonValue | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CommandData
|
|
54
|
+
*/
|
|
55
|
+
'status'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PrismaJsonValue}
|
|
59
|
+
* @memberof CommandData
|
|
60
|
+
*/
|
|
61
|
+
'result'?: PrismaJsonValue | null;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {string}
|
|
@@ -501,6 +513,37 @@ export interface LiftCallCommandData {
|
|
|
501
513
|
*/
|
|
502
514
|
'location_id': string;
|
|
503
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @export
|
|
519
|
+
* @interface LiftCalledPayload
|
|
520
|
+
*/
|
|
521
|
+
export interface LiftCalledPayload {
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof LiftCalledPayload
|
|
526
|
+
*/
|
|
527
|
+
'personID': string;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {string}
|
|
531
|
+
* @memberof LiftCalledPayload
|
|
532
|
+
*/
|
|
533
|
+
'liftName': string;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof LiftCalledPayload
|
|
538
|
+
*/
|
|
539
|
+
'floorName': string;
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {string}
|
|
543
|
+
* @memberof LiftCalledPayload
|
|
544
|
+
*/
|
|
545
|
+
'towerName': string;
|
|
546
|
+
}
|
|
504
547
|
/**
|
|
505
548
|
*
|
|
506
549
|
* @export
|
|
@@ -550,12 +593,6 @@ export interface LocationPasses {
|
|
|
550
593
|
* @memberof LocationPasses
|
|
551
594
|
*/
|
|
552
595
|
'name': string;
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @type {string}
|
|
556
|
-
* @memberof LocationPasses
|
|
557
|
-
*/
|
|
558
|
-
'coordinate': string;
|
|
559
596
|
/**
|
|
560
597
|
*
|
|
561
598
|
* @type {string}
|
|
@@ -801,6 +838,12 @@ export interface PassConsentResponse {
|
|
|
801
838
|
* @memberof PassConsentResponse
|
|
802
839
|
*/
|
|
803
840
|
'id': string;
|
|
841
|
+
/**
|
|
842
|
+
*
|
|
843
|
+
* @type {string}
|
|
844
|
+
* @memberof PassConsentResponse
|
|
845
|
+
*/
|
|
846
|
+
'status': PassConsentResponseStatusEnum;
|
|
804
847
|
/**
|
|
805
848
|
*
|
|
806
849
|
* @type {string}
|
|
@@ -843,12 +886,6 @@ export interface PassConsentResponse {
|
|
|
843
886
|
* @memberof PassConsentResponse
|
|
844
887
|
*/
|
|
845
888
|
'issuer_id': string;
|
|
846
|
-
/**
|
|
847
|
-
*
|
|
848
|
-
* @type {string}
|
|
849
|
-
* @memberof PassConsentResponse
|
|
850
|
-
*/
|
|
851
|
-
'status': PassConsentResponseStatusEnum;
|
|
852
889
|
/**
|
|
853
890
|
*
|
|
854
891
|
* @type {string}
|
|
@@ -1005,6 +1042,12 @@ export interface PersonData {
|
|
|
1005
1042
|
* @memberof PersonData
|
|
1006
1043
|
*/
|
|
1007
1044
|
'status': string;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {boolean}
|
|
1048
|
+
* @memberof PersonData
|
|
1049
|
+
*/
|
|
1050
|
+
'canPreRegister': boolean;
|
|
1008
1051
|
}
|
|
1009
1052
|
/**
|
|
1010
1053
|
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
@@ -1359,6 +1402,12 @@ export interface TowerData {
|
|
|
1359
1402
|
* @memberof TowerData
|
|
1360
1403
|
*/
|
|
1361
1404
|
'floors': Array<FloorData>;
|
|
1405
|
+
/**
|
|
1406
|
+
*
|
|
1407
|
+
* @type {Array<FloorData>}
|
|
1408
|
+
* @memberof TowerData
|
|
1409
|
+
*/
|
|
1410
|
+
'locations': Array<FloorData>;
|
|
1362
1411
|
}
|
|
1363
1412
|
/**
|
|
1364
1413
|
*
|
|
@@ -1470,6 +1519,37 @@ export interface VisitorData {
|
|
|
1470
1519
|
*/
|
|
1471
1520
|
'id': string;
|
|
1472
1521
|
}
|
|
1522
|
+
/**
|
|
1523
|
+
*
|
|
1524
|
+
* @export
|
|
1525
|
+
* @interface VisitorPassedPayload
|
|
1526
|
+
*/
|
|
1527
|
+
export interface VisitorPassedPayload {
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @type {string}
|
|
1531
|
+
* @memberof VisitorPassedPayload
|
|
1532
|
+
*/
|
|
1533
|
+
'inviteID': string;
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof VisitorPassedPayload
|
|
1538
|
+
*/
|
|
1539
|
+
'liftName': string;
|
|
1540
|
+
/**
|
|
1541
|
+
*
|
|
1542
|
+
* @type {string}
|
|
1543
|
+
* @memberof VisitorPassedPayload
|
|
1544
|
+
*/
|
|
1545
|
+
'floorName': string;
|
|
1546
|
+
/**
|
|
1547
|
+
*
|
|
1548
|
+
* @type {string}
|
|
1549
|
+
* @memberof VisitorPassedPayload
|
|
1550
|
+
*/
|
|
1551
|
+
'towerName': string;
|
|
1552
|
+
}
|
|
1473
1553
|
/**
|
|
1474
1554
|
*
|
|
1475
1555
|
* @export
|
|
@@ -1622,37 +1702,50 @@ export interface WebhookCreateBody {
|
|
|
1622
1702
|
* @type {string}
|
|
1623
1703
|
* @memberof WebhookCreateBody
|
|
1624
1704
|
*/
|
|
1625
|
-
'
|
|
1705
|
+
'action': string;
|
|
1626
1706
|
/**
|
|
1627
1707
|
*
|
|
1628
|
-
* @type {
|
|
1708
|
+
* @type {WebhookCreateBodyPayload}
|
|
1629
1709
|
* @memberof WebhookCreateBody
|
|
1630
1710
|
*/
|
|
1711
|
+
'payload': WebhookCreateBodyPayload;
|
|
1712
|
+
}
|
|
1713
|
+
/**
|
|
1714
|
+
*
|
|
1715
|
+
* @export
|
|
1716
|
+
* @interface WebhookCreateBodyPayload
|
|
1717
|
+
*/
|
|
1718
|
+
export interface WebhookCreateBodyPayload {
|
|
1719
|
+
/**
|
|
1720
|
+
*
|
|
1721
|
+
* @type {string}
|
|
1722
|
+
* @memberof WebhookCreateBodyPayload
|
|
1723
|
+
*/
|
|
1631
1724
|
'personID': string;
|
|
1632
1725
|
/**
|
|
1633
1726
|
*
|
|
1634
1727
|
* @type {string}
|
|
1635
|
-
* @memberof
|
|
1728
|
+
* @memberof WebhookCreateBodyPayload
|
|
1636
1729
|
*/
|
|
1637
1730
|
'liftName': string;
|
|
1638
1731
|
/**
|
|
1639
1732
|
*
|
|
1640
1733
|
* @type {string}
|
|
1641
|
-
* @memberof
|
|
1734
|
+
* @memberof WebhookCreateBodyPayload
|
|
1642
1735
|
*/
|
|
1643
1736
|
'floorName': string;
|
|
1644
1737
|
/**
|
|
1645
1738
|
*
|
|
1646
|
-
* @type {
|
|
1647
|
-
* @memberof
|
|
1739
|
+
* @type {string}
|
|
1740
|
+
* @memberof WebhookCreateBodyPayload
|
|
1648
1741
|
*/
|
|
1649
|
-
'
|
|
1742
|
+
'towerName': string;
|
|
1650
1743
|
/**
|
|
1651
1744
|
*
|
|
1652
1745
|
* @type {string}
|
|
1653
|
-
* @memberof
|
|
1746
|
+
* @memberof WebhookCreateBodyPayload
|
|
1654
1747
|
*/
|
|
1655
|
-
'
|
|
1748
|
+
'inviteID': string;
|
|
1656
1749
|
}
|
|
1657
1750
|
/**
|
|
1658
1751
|
*
|
|
@@ -1691,6 +1784,18 @@ export interface WrappedResponseCommandsCreateResponseData {
|
|
|
1691
1784
|
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1692
1785
|
*/
|
|
1693
1786
|
'data'?: PrismaJsonValue | null;
|
|
1787
|
+
/**
|
|
1788
|
+
*
|
|
1789
|
+
* @type {string}
|
|
1790
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1791
|
+
*/
|
|
1792
|
+
'status'?: string;
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @type {PrismaJsonValue}
|
|
1796
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1797
|
+
*/
|
|
1798
|
+
'result'?: PrismaJsonValue | null;
|
|
1694
1799
|
/**
|
|
1695
1800
|
*
|
|
1696
1801
|
* @type {string}
|
|
@@ -2027,6 +2132,12 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2027
2132
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2028
2133
|
*/
|
|
2029
2134
|
'id': string;
|
|
2135
|
+
/**
|
|
2136
|
+
*
|
|
2137
|
+
* @type {string}
|
|
2138
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
2139
|
+
*/
|
|
2140
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2030
2141
|
/**
|
|
2031
2142
|
*
|
|
2032
2143
|
* @type {string}
|
|
@@ -2069,12 +2180,6 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2069
2180
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2070
2181
|
*/
|
|
2071
2182
|
'issuer_id': string;
|
|
2072
|
-
/**
|
|
2073
|
-
*
|
|
2074
|
-
* @type {string}
|
|
2075
|
-
* @memberof WrappedResponsePassConsentResponseData
|
|
2076
|
-
*/
|
|
2077
|
-
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2078
2183
|
/**
|
|
2079
2184
|
*
|
|
2080
2185
|
* @type {string}
|
|
@@ -2478,13 +2583,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2478
2583
|
},
|
|
2479
2584
|
/**
|
|
2480
2585
|
*
|
|
2481
|
-
* @param {string}
|
|
2586
|
+
* @param {string} xAccountId
|
|
2482
2587
|
* @param {*} [options] Override http request option.
|
|
2483
2588
|
* @throws {RequiredError}
|
|
2484
2589
|
*/
|
|
2485
|
-
membersIndex: async (
|
|
2486
|
-
// verify required parameter '
|
|
2487
|
-
assertParamExists('membersIndex', '
|
|
2590
|
+
membersIndex: async (xAccountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2591
|
+
// verify required parameter 'xAccountId' is not null or undefined
|
|
2592
|
+
assertParamExists('membersIndex', 'xAccountId', xAccountId)
|
|
2488
2593
|
const localVarPath = `/members`;
|
|
2489
2594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2490
2595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2497,8 +2602,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2497
2602
|
const localVarHeaderParameter = {} as any;
|
|
2498
2603
|
const localVarQueryParameter = {} as any;
|
|
2499
2604
|
|
|
2500
|
-
if (
|
|
2501
|
-
|
|
2605
|
+
if (xAccountId != null) {
|
|
2606
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
2502
2607
|
}
|
|
2503
2608
|
|
|
2504
2609
|
|
|
@@ -2609,18 +2714,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2609
2714
|
},
|
|
2610
2715
|
/**
|
|
2611
2716
|
*
|
|
2612
|
-
* @param {string}
|
|
2717
|
+
* @param {string} visitScheduleId
|
|
2613
2718
|
* @param {ConsentRequestBody} consentRequestBody
|
|
2614
2719
|
* @param {*} [options] Override http request option.
|
|
2615
2720
|
* @throws {RequiredError}
|
|
2616
2721
|
*/
|
|
2617
|
-
passesConsent: async (
|
|
2618
|
-
// verify required parameter '
|
|
2619
|
-
assertParamExists('passesConsent', '
|
|
2722
|
+
passesConsent: async (visitScheduleId: string, consentRequestBody: ConsentRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2723
|
+
// verify required parameter 'visitScheduleId' is not null or undefined
|
|
2724
|
+
assertParamExists('passesConsent', 'visitScheduleId', visitScheduleId)
|
|
2620
2725
|
// verify required parameter 'consentRequestBody' is not null or undefined
|
|
2621
2726
|
assertParamExists('passesConsent', 'consentRequestBody', consentRequestBody)
|
|
2622
|
-
const localVarPath = `/passes/consent/{
|
|
2623
|
-
.replace(`{${"
|
|
2727
|
+
const localVarPath = `/passes/consent/{visit_schedule_id}`
|
|
2728
|
+
.replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
|
|
2624
2729
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2625
2730
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2626
2731
|
let baseOptions;
|
|
@@ -2648,15 +2753,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2648
2753
|
},
|
|
2649
2754
|
/**
|
|
2650
2755
|
*
|
|
2651
|
-
* @param {string}
|
|
2756
|
+
* @param {string} visitScheduleId
|
|
2652
2757
|
* @param {*} [options] Override http request option.
|
|
2653
2758
|
* @throws {RequiredError}
|
|
2654
2759
|
*/
|
|
2655
|
-
passesShow: async (
|
|
2656
|
-
// verify required parameter '
|
|
2657
|
-
assertParamExists('passesShow', '
|
|
2658
|
-
const localVarPath = `/passes/{
|
|
2659
|
-
.replace(`{${"
|
|
2760
|
+
passesShow: async (visitScheduleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2761
|
+
// verify required parameter 'visitScheduleId' is not null or undefined
|
|
2762
|
+
assertParamExists('passesShow', 'visitScheduleId', visitScheduleId)
|
|
2763
|
+
const localVarPath = `/passes/{visit_schedule_id}`
|
|
2764
|
+
.replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
|
|
2660
2765
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2661
2766
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2662
2767
|
let baseOptions;
|
|
@@ -2892,12 +2997,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2892
2997
|
},
|
|
2893
2998
|
/**
|
|
2894
2999
|
*
|
|
2895
|
-
* @param {string}
|
|
3000
|
+
* @param {string} xAccountId
|
|
2896
3001
|
* @param {*} [options] Override http request option.
|
|
2897
3002
|
* @throws {RequiredError}
|
|
2898
3003
|
*/
|
|
2899
|
-
async membersIndex(
|
|
2900
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(
|
|
3004
|
+
async membersIndex(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
3005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(xAccountId, options);
|
|
2901
3006
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2902
3007
|
},
|
|
2903
3008
|
/**
|
|
@@ -2931,23 +3036,23 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2931
3036
|
},
|
|
2932
3037
|
/**
|
|
2933
3038
|
*
|
|
2934
|
-
* @param {string}
|
|
3039
|
+
* @param {string} visitScheduleId
|
|
2935
3040
|
* @param {ConsentRequestBody} consentRequestBody
|
|
2936
3041
|
* @param {*} [options] Override http request option.
|
|
2937
3042
|
* @throws {RequiredError}
|
|
2938
3043
|
*/
|
|
2939
|
-
async passesConsent(
|
|
2940
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(
|
|
3044
|
+
async passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>> {
|
|
3045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passesConsent(visitScheduleId, consentRequestBody, options);
|
|
2941
3046
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2942
3047
|
},
|
|
2943
3048
|
/**
|
|
2944
3049
|
*
|
|
2945
|
-
* @param {string}
|
|
3050
|
+
* @param {string} visitScheduleId
|
|
2946
3051
|
* @param {*} [options] Override http request option.
|
|
2947
3052
|
* @throws {RequiredError}
|
|
2948
3053
|
*/
|
|
2949
|
-
async passesShow(
|
|
2950
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(
|
|
3054
|
+
async passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
|
|
3055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(visitScheduleId, options);
|
|
2951
3056
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2952
3057
|
},
|
|
2953
3058
|
/**
|
|
@@ -3061,12 +3166,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3061
3166
|
},
|
|
3062
3167
|
/**
|
|
3063
3168
|
*
|
|
3064
|
-
* @param {string}
|
|
3169
|
+
* @param {string} xAccountId
|
|
3065
3170
|
* @param {*} [options] Override http request option.
|
|
3066
3171
|
* @throws {RequiredError}
|
|
3067
3172
|
*/
|
|
3068
|
-
membersIndex(
|
|
3069
|
-
return localVarFp.membersIndex(
|
|
3173
|
+
membersIndex(xAccountId: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
3174
|
+
return localVarFp.membersIndex(xAccountId, options).then((request) => request(axios, basePath));
|
|
3070
3175
|
},
|
|
3071
3176
|
/**
|
|
3072
3177
|
*
|
|
@@ -3096,22 +3201,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3096
3201
|
},
|
|
3097
3202
|
/**
|
|
3098
3203
|
*
|
|
3099
|
-
* @param {string}
|
|
3204
|
+
* @param {string} visitScheduleId
|
|
3100
3205
|
* @param {ConsentRequestBody} consentRequestBody
|
|
3101
3206
|
* @param {*} [options] Override http request option.
|
|
3102
3207
|
* @throws {RequiredError}
|
|
3103
3208
|
*/
|
|
3104
|
-
passesConsent(
|
|
3105
|
-
return localVarFp.passesConsent(
|
|
3209
|
+
passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse> {
|
|
3210
|
+
return localVarFp.passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(axios, basePath));
|
|
3106
3211
|
},
|
|
3107
3212
|
/**
|
|
3108
3213
|
*
|
|
3109
|
-
* @param {string}
|
|
3214
|
+
* @param {string} visitScheduleId
|
|
3110
3215
|
* @param {*} [options] Override http request option.
|
|
3111
3216
|
* @throws {RequiredError}
|
|
3112
3217
|
*/
|
|
3113
|
-
passesShow(
|
|
3114
|
-
return localVarFp.passesShow(
|
|
3218
|
+
passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
|
|
3219
|
+
return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
|
|
3115
3220
|
},
|
|
3116
3221
|
/**
|
|
3117
3222
|
*
|
|
@@ -3232,13 +3337,13 @@ export class DefaultApi extends BaseAPI {
|
|
|
3232
3337
|
|
|
3233
3338
|
/**
|
|
3234
3339
|
*
|
|
3235
|
-
* @param {string}
|
|
3340
|
+
* @param {string} xAccountId
|
|
3236
3341
|
* @param {*} [options] Override http request option.
|
|
3237
3342
|
* @throws {RequiredError}
|
|
3238
3343
|
* @memberof DefaultApi
|
|
3239
3344
|
*/
|
|
3240
|
-
public membersIndex(
|
|
3241
|
-
return DefaultApiFp(this.configuration).membersIndex(
|
|
3345
|
+
public membersIndex(xAccountId: string, options?: AxiosRequestConfig) {
|
|
3346
|
+
return DefaultApiFp(this.configuration).membersIndex(xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3242
3347
|
}
|
|
3243
3348
|
|
|
3244
3349
|
/**
|
|
@@ -3275,25 +3380,25 @@ export class DefaultApi extends BaseAPI {
|
|
|
3275
3380
|
|
|
3276
3381
|
/**
|
|
3277
3382
|
*
|
|
3278
|
-
* @param {string}
|
|
3383
|
+
* @param {string} visitScheduleId
|
|
3279
3384
|
* @param {ConsentRequestBody} consentRequestBody
|
|
3280
3385
|
* @param {*} [options] Override http request option.
|
|
3281
3386
|
* @throws {RequiredError}
|
|
3282
3387
|
* @memberof DefaultApi
|
|
3283
3388
|
*/
|
|
3284
|
-
public passesConsent(
|
|
3285
|
-
return DefaultApiFp(this.configuration).passesConsent(
|
|
3389
|
+
public passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) {
|
|
3390
|
+
return DefaultApiFp(this.configuration).passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
3286
3391
|
}
|
|
3287
3392
|
|
|
3288
3393
|
/**
|
|
3289
3394
|
*
|
|
3290
|
-
* @param {string}
|
|
3395
|
+
* @param {string} visitScheduleId
|
|
3291
3396
|
* @param {*} [options] Override http request option.
|
|
3292
3397
|
* @throws {RequiredError}
|
|
3293
3398
|
* @memberof DefaultApi
|
|
3294
3399
|
*/
|
|
3295
|
-
public passesShow(
|
|
3296
|
-
return DefaultApiFp(this.configuration).passesShow(
|
|
3400
|
+
public passesShow(visitScheduleId: string, options?: AxiosRequestConfig) {
|
|
3401
|
+
return DefaultApiFp(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
3297
3402
|
}
|
|
3298
3403
|
|
|
3299
3404
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -37,6 +37,18 @@ export interface CommandData {
|
|
|
37
37
|
* @memberof CommandData
|
|
38
38
|
*/
|
|
39
39
|
'data'?: PrismaJsonValue | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CommandData
|
|
44
|
+
*/
|
|
45
|
+
'status'?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {PrismaJsonValue}
|
|
49
|
+
* @memberof CommandData
|
|
50
|
+
*/
|
|
51
|
+
'result'?: PrismaJsonValue | null;
|
|
40
52
|
/**
|
|
41
53
|
*
|
|
42
54
|
* @type {string}
|
|
@@ -499,6 +511,37 @@ export interface LiftCallCommandData {
|
|
|
499
511
|
*/
|
|
500
512
|
'location_id': string;
|
|
501
513
|
}
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @export
|
|
517
|
+
* @interface LiftCalledPayload
|
|
518
|
+
*/
|
|
519
|
+
export interface LiftCalledPayload {
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @memberof LiftCalledPayload
|
|
524
|
+
*/
|
|
525
|
+
'personID': string;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @type {string}
|
|
529
|
+
* @memberof LiftCalledPayload
|
|
530
|
+
*/
|
|
531
|
+
'liftName': string;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @type {string}
|
|
535
|
+
* @memberof LiftCalledPayload
|
|
536
|
+
*/
|
|
537
|
+
'floorName': string;
|
|
538
|
+
/**
|
|
539
|
+
*
|
|
540
|
+
* @type {string}
|
|
541
|
+
* @memberof LiftCalledPayload
|
|
542
|
+
*/
|
|
543
|
+
'towerName': string;
|
|
544
|
+
}
|
|
502
545
|
/**
|
|
503
546
|
*
|
|
504
547
|
* @export
|
|
@@ -548,12 +591,6 @@ export interface LocationPasses {
|
|
|
548
591
|
* @memberof LocationPasses
|
|
549
592
|
*/
|
|
550
593
|
'name': string;
|
|
551
|
-
/**
|
|
552
|
-
*
|
|
553
|
-
* @type {string}
|
|
554
|
-
* @memberof LocationPasses
|
|
555
|
-
*/
|
|
556
|
-
'coordinate': string;
|
|
557
594
|
/**
|
|
558
595
|
*
|
|
559
596
|
* @type {string}
|
|
@@ -799,6 +836,12 @@ export interface PassConsentResponse {
|
|
|
799
836
|
* @memberof PassConsentResponse
|
|
800
837
|
*/
|
|
801
838
|
'id': string;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof PassConsentResponse
|
|
843
|
+
*/
|
|
844
|
+
'status': PassConsentResponseStatusEnum;
|
|
802
845
|
/**
|
|
803
846
|
*
|
|
804
847
|
* @type {string}
|
|
@@ -841,12 +884,6 @@ export interface PassConsentResponse {
|
|
|
841
884
|
* @memberof PassConsentResponse
|
|
842
885
|
*/
|
|
843
886
|
'issuer_id': string;
|
|
844
|
-
/**
|
|
845
|
-
*
|
|
846
|
-
* @type {string}
|
|
847
|
-
* @memberof PassConsentResponse
|
|
848
|
-
*/
|
|
849
|
-
'status': PassConsentResponseStatusEnum;
|
|
850
887
|
/**
|
|
851
888
|
*
|
|
852
889
|
* @type {string}
|
|
@@ -997,6 +1034,12 @@ export interface PersonData {
|
|
|
997
1034
|
* @memberof PersonData
|
|
998
1035
|
*/
|
|
999
1036
|
'status': string;
|
|
1037
|
+
/**
|
|
1038
|
+
*
|
|
1039
|
+
* @type {boolean}
|
|
1040
|
+
* @memberof PersonData
|
|
1041
|
+
*/
|
|
1042
|
+
'canPreRegister': boolean;
|
|
1000
1043
|
}
|
|
1001
1044
|
/**
|
|
1002
1045
|
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
@@ -1348,6 +1391,12 @@ export interface TowerData {
|
|
|
1348
1391
|
* @memberof TowerData
|
|
1349
1392
|
*/
|
|
1350
1393
|
'floors': Array<FloorData>;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {Array<FloorData>}
|
|
1397
|
+
* @memberof TowerData
|
|
1398
|
+
*/
|
|
1399
|
+
'locations': Array<FloorData>;
|
|
1351
1400
|
}
|
|
1352
1401
|
/**
|
|
1353
1402
|
*
|
|
@@ -1459,6 +1508,37 @@ export interface VisitorData {
|
|
|
1459
1508
|
*/
|
|
1460
1509
|
'id': string;
|
|
1461
1510
|
}
|
|
1511
|
+
/**
|
|
1512
|
+
*
|
|
1513
|
+
* @export
|
|
1514
|
+
* @interface VisitorPassedPayload
|
|
1515
|
+
*/
|
|
1516
|
+
export interface VisitorPassedPayload {
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @type {string}
|
|
1520
|
+
* @memberof VisitorPassedPayload
|
|
1521
|
+
*/
|
|
1522
|
+
'inviteID': string;
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof VisitorPassedPayload
|
|
1527
|
+
*/
|
|
1528
|
+
'liftName': string;
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @type {string}
|
|
1532
|
+
* @memberof VisitorPassedPayload
|
|
1533
|
+
*/
|
|
1534
|
+
'floorName': string;
|
|
1535
|
+
/**
|
|
1536
|
+
*
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof VisitorPassedPayload
|
|
1539
|
+
*/
|
|
1540
|
+
'towerName': string;
|
|
1541
|
+
}
|
|
1462
1542
|
/**
|
|
1463
1543
|
*
|
|
1464
1544
|
* @export
|
|
@@ -1611,37 +1691,50 @@ export interface WebhookCreateBody {
|
|
|
1611
1691
|
* @type {string}
|
|
1612
1692
|
* @memberof WebhookCreateBody
|
|
1613
1693
|
*/
|
|
1614
|
-
'
|
|
1694
|
+
'action': string;
|
|
1615
1695
|
/**
|
|
1616
1696
|
*
|
|
1617
|
-
* @type {
|
|
1697
|
+
* @type {WebhookCreateBodyPayload}
|
|
1618
1698
|
* @memberof WebhookCreateBody
|
|
1619
1699
|
*/
|
|
1700
|
+
'payload': WebhookCreateBodyPayload;
|
|
1701
|
+
}
|
|
1702
|
+
/**
|
|
1703
|
+
*
|
|
1704
|
+
* @export
|
|
1705
|
+
* @interface WebhookCreateBodyPayload
|
|
1706
|
+
*/
|
|
1707
|
+
export interface WebhookCreateBodyPayload {
|
|
1708
|
+
/**
|
|
1709
|
+
*
|
|
1710
|
+
* @type {string}
|
|
1711
|
+
* @memberof WebhookCreateBodyPayload
|
|
1712
|
+
*/
|
|
1620
1713
|
'personID': string;
|
|
1621
1714
|
/**
|
|
1622
1715
|
*
|
|
1623
1716
|
* @type {string}
|
|
1624
|
-
* @memberof
|
|
1717
|
+
* @memberof WebhookCreateBodyPayload
|
|
1625
1718
|
*/
|
|
1626
1719
|
'liftName': string;
|
|
1627
1720
|
/**
|
|
1628
1721
|
*
|
|
1629
1722
|
* @type {string}
|
|
1630
|
-
* @memberof
|
|
1723
|
+
* @memberof WebhookCreateBodyPayload
|
|
1631
1724
|
*/
|
|
1632
1725
|
'floorName': string;
|
|
1633
1726
|
/**
|
|
1634
1727
|
*
|
|
1635
|
-
* @type {
|
|
1636
|
-
* @memberof
|
|
1728
|
+
* @type {string}
|
|
1729
|
+
* @memberof WebhookCreateBodyPayload
|
|
1637
1730
|
*/
|
|
1638
|
-
'
|
|
1731
|
+
'towerName': string;
|
|
1639
1732
|
/**
|
|
1640
1733
|
*
|
|
1641
1734
|
* @type {string}
|
|
1642
|
-
* @memberof
|
|
1735
|
+
* @memberof WebhookCreateBodyPayload
|
|
1643
1736
|
*/
|
|
1644
|
-
'
|
|
1737
|
+
'inviteID': string;
|
|
1645
1738
|
}
|
|
1646
1739
|
/**
|
|
1647
1740
|
*
|
|
@@ -1680,6 +1773,18 @@ export interface WrappedResponseCommandsCreateResponseData {
|
|
|
1680
1773
|
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1681
1774
|
*/
|
|
1682
1775
|
'data'?: PrismaJsonValue | null;
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @type {string}
|
|
1779
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1780
|
+
*/
|
|
1781
|
+
'status'?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {PrismaJsonValue}
|
|
1785
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1786
|
+
*/
|
|
1787
|
+
'result'?: PrismaJsonValue | null;
|
|
1683
1788
|
/**
|
|
1684
1789
|
*
|
|
1685
1790
|
* @type {string}
|
|
@@ -2013,6 +2118,12 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2013
2118
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2014
2119
|
*/
|
|
2015
2120
|
'id': string;
|
|
2121
|
+
/**
|
|
2122
|
+
*
|
|
2123
|
+
* @type {string}
|
|
2124
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
2125
|
+
*/
|
|
2126
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2016
2127
|
/**
|
|
2017
2128
|
*
|
|
2018
2129
|
* @type {string}
|
|
@@ -2055,12 +2166,6 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2055
2166
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2056
2167
|
*/
|
|
2057
2168
|
'issuer_id': string;
|
|
2058
|
-
/**
|
|
2059
|
-
*
|
|
2060
|
-
* @type {string}
|
|
2061
|
-
* @memberof WrappedResponsePassConsentResponseData
|
|
2062
|
-
*/
|
|
2063
|
-
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2064
2169
|
/**
|
|
2065
2170
|
*
|
|
2066
2171
|
* @type {string}
|
|
@@ -2275,11 +2380,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2275
2380
|
membersCommandsIndex: (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2276
2381
|
/**
|
|
2277
2382
|
*
|
|
2278
|
-
* @param {string}
|
|
2383
|
+
* @param {string} xAccountId
|
|
2279
2384
|
* @param {*} [options] Override http request option.
|
|
2280
2385
|
* @throws {RequiredError}
|
|
2281
2386
|
*/
|
|
2282
|
-
membersIndex: (
|
|
2387
|
+
membersIndex: (xAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2283
2388
|
/**
|
|
2284
2389
|
*
|
|
2285
2390
|
* @param {string} id
|
|
@@ -2302,19 +2407,19 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2302
2407
|
parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2303
2408
|
/**
|
|
2304
2409
|
*
|
|
2305
|
-
* @param {string}
|
|
2410
|
+
* @param {string} visitScheduleId
|
|
2306
2411
|
* @param {ConsentRequestBody} consentRequestBody
|
|
2307
2412
|
* @param {*} [options] Override http request option.
|
|
2308
2413
|
* @throws {RequiredError}
|
|
2309
2414
|
*/
|
|
2310
|
-
passesConsent: (
|
|
2415
|
+
passesConsent: (visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2311
2416
|
/**
|
|
2312
2417
|
*
|
|
2313
|
-
* @param {string}
|
|
2418
|
+
* @param {string} visitScheduleId
|
|
2314
2419
|
* @param {*} [options] Override http request option.
|
|
2315
2420
|
* @throws {RequiredError}
|
|
2316
2421
|
*/
|
|
2317
|
-
passesShow: (
|
|
2422
|
+
passesShow: (visitScheduleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2318
2423
|
/**
|
|
2319
2424
|
*
|
|
2320
2425
|
* @param {SyncBody} syncBody
|
|
@@ -2398,11 +2503,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2398
2503
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
|
|
2399
2504
|
/**
|
|
2400
2505
|
*
|
|
2401
|
-
* @param {string}
|
|
2506
|
+
* @param {string} xAccountId
|
|
2402
2507
|
* @param {*} [options] Override http request option.
|
|
2403
2508
|
* @throws {RequiredError}
|
|
2404
2509
|
*/
|
|
2405
|
-
membersIndex(
|
|
2510
|
+
membersIndex(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
|
|
2406
2511
|
/**
|
|
2407
2512
|
*
|
|
2408
2513
|
* @param {string} id
|
|
@@ -2425,19 +2530,19 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2425
2530
|
parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
|
|
2426
2531
|
/**
|
|
2427
2532
|
*
|
|
2428
|
-
* @param {string}
|
|
2533
|
+
* @param {string} visitScheduleId
|
|
2429
2534
|
* @param {ConsentRequestBody} consentRequestBody
|
|
2430
2535
|
* @param {*} [options] Override http request option.
|
|
2431
2536
|
* @throws {RequiredError}
|
|
2432
2537
|
*/
|
|
2433
|
-
passesConsent(
|
|
2538
|
+
passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponsePassConsentResponse>>;
|
|
2434
2539
|
/**
|
|
2435
2540
|
*
|
|
2436
|
-
* @param {string}
|
|
2541
|
+
* @param {string} visitScheduleId
|
|
2437
2542
|
* @param {*} [options] Override http request option.
|
|
2438
2543
|
* @throws {RequiredError}
|
|
2439
2544
|
*/
|
|
2440
|
-
passesShow(
|
|
2545
|
+
passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
|
|
2441
2546
|
/**
|
|
2442
2547
|
*
|
|
2443
2548
|
* @param {SyncBody} syncBody
|
|
@@ -2521,11 +2626,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2521
2626
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
|
|
2522
2627
|
/**
|
|
2523
2628
|
*
|
|
2524
|
-
* @param {string}
|
|
2629
|
+
* @param {string} xAccountId
|
|
2525
2630
|
* @param {*} [options] Override http request option.
|
|
2526
2631
|
* @throws {RequiredError}
|
|
2527
2632
|
*/
|
|
2528
|
-
membersIndex(
|
|
2633
|
+
membersIndex(xAccountId: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
|
|
2529
2634
|
/**
|
|
2530
2635
|
*
|
|
2531
2636
|
* @param {string} id
|
|
@@ -2548,19 +2653,19 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2548
2653
|
parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
|
|
2549
2654
|
/**
|
|
2550
2655
|
*
|
|
2551
|
-
* @param {string}
|
|
2656
|
+
* @param {string} visitScheduleId
|
|
2552
2657
|
* @param {ConsentRequestBody} consentRequestBody
|
|
2553
2658
|
* @param {*} [options] Override http request option.
|
|
2554
2659
|
* @throws {RequiredError}
|
|
2555
2660
|
*/
|
|
2556
|
-
passesConsent(
|
|
2661
|
+
passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: any): AxiosPromise<WrappedResponsePassConsentResponse>;
|
|
2557
2662
|
/**
|
|
2558
2663
|
*
|
|
2559
|
-
* @param {string}
|
|
2664
|
+
* @param {string} visitScheduleId
|
|
2560
2665
|
* @param {*} [options] Override http request option.
|
|
2561
2666
|
* @throws {RequiredError}
|
|
2562
2667
|
*/
|
|
2563
|
-
passesShow(
|
|
2668
|
+
passesShow(visitScheduleId: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
|
|
2564
2669
|
/**
|
|
2565
2670
|
*
|
|
2566
2671
|
* @param {SyncBody} syncBody
|
|
@@ -2652,12 +2757,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2652
2757
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
|
|
2653
2758
|
/**
|
|
2654
2759
|
*
|
|
2655
|
-
* @param {string}
|
|
2760
|
+
* @param {string} xAccountId
|
|
2656
2761
|
* @param {*} [options] Override http request option.
|
|
2657
2762
|
* @throws {RequiredError}
|
|
2658
2763
|
* @memberof DefaultApi
|
|
2659
2764
|
*/
|
|
2660
|
-
membersIndex(
|
|
2765
|
+
membersIndex(xAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
|
|
2661
2766
|
/**
|
|
2662
2767
|
*
|
|
2663
2768
|
* @param {string} id
|
|
@@ -2683,21 +2788,21 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2683
2788
|
parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
|
|
2684
2789
|
/**
|
|
2685
2790
|
*
|
|
2686
|
-
* @param {string}
|
|
2791
|
+
* @param {string} visitScheduleId
|
|
2687
2792
|
* @param {ConsentRequestBody} consentRequestBody
|
|
2688
2793
|
* @param {*} [options] Override http request option.
|
|
2689
2794
|
* @throws {RequiredError}
|
|
2690
2795
|
* @memberof DefaultApi
|
|
2691
2796
|
*/
|
|
2692
|
-
passesConsent(
|
|
2797
|
+
passesConsent(visitScheduleId: string, consentRequestBody: ConsentRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponsePassConsentResponse, any>>;
|
|
2693
2798
|
/**
|
|
2694
2799
|
*
|
|
2695
|
-
* @param {string}
|
|
2800
|
+
* @param {string} visitScheduleId
|
|
2696
2801
|
* @param {*} [options] Override http request option.
|
|
2697
2802
|
* @throws {RequiredError}
|
|
2698
2803
|
* @memberof DefaultApi
|
|
2699
2804
|
*/
|
|
2700
|
-
passesShow(
|
|
2805
|
+
passesShow(visitScheduleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
|
|
2701
2806
|
/**
|
|
2702
2807
|
*
|
|
2703
2808
|
* @param {SyncBody} syncBody
|
package/dist/api/api.js
CHANGED
|
@@ -251,13 +251,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
}),
|
|
252
252
|
/**
|
|
253
253
|
*
|
|
254
|
-
* @param {string}
|
|
254
|
+
* @param {string} xAccountId
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
258
|
-
membersIndex: (
|
|
259
|
-
// verify required parameter '
|
|
260
|
-
(0, common_1.assertParamExists)('membersIndex', '
|
|
258
|
+
membersIndex: (xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
259
|
+
// verify required parameter 'xAccountId' is not null or undefined
|
|
260
|
+
(0, common_1.assertParamExists)('membersIndex', 'xAccountId', xAccountId);
|
|
261
261
|
const localVarPath = `/members`;
|
|
262
262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
263
263
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -268,8 +268,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
268
268
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
269
269
|
const localVarHeaderParameter = {};
|
|
270
270
|
const localVarQueryParameter = {};
|
|
271
|
-
if (
|
|
272
|
-
|
|
271
|
+
if (xAccountId != null) {
|
|
272
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
273
273
|
}
|
|
274
274
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
275
275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -361,18 +361,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
361
361
|
}),
|
|
362
362
|
/**
|
|
363
363
|
*
|
|
364
|
-
* @param {string}
|
|
364
|
+
* @param {string} visitScheduleId
|
|
365
365
|
* @param {ConsentRequestBody} consentRequestBody
|
|
366
366
|
* @param {*} [options] Override http request option.
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
*/
|
|
369
|
-
passesConsent: (
|
|
370
|
-
// verify required parameter '
|
|
371
|
-
(0, common_1.assertParamExists)('passesConsent', '
|
|
369
|
+
passesConsent: (visitScheduleId, consentRequestBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
370
|
+
// verify required parameter 'visitScheduleId' is not null or undefined
|
|
371
|
+
(0, common_1.assertParamExists)('passesConsent', 'visitScheduleId', visitScheduleId);
|
|
372
372
|
// verify required parameter 'consentRequestBody' is not null or undefined
|
|
373
373
|
(0, common_1.assertParamExists)('passesConsent', 'consentRequestBody', consentRequestBody);
|
|
374
|
-
const localVarPath = `/passes/consent/{
|
|
375
|
-
.replace(`{${"
|
|
374
|
+
const localVarPath = `/passes/consent/{visit_schedule_id}`
|
|
375
|
+
.replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
|
|
376
376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
377
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
378
378
|
let baseOptions;
|
|
@@ -394,15 +394,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
394
394
|
}),
|
|
395
395
|
/**
|
|
396
396
|
*
|
|
397
|
-
* @param {string}
|
|
397
|
+
* @param {string} visitScheduleId
|
|
398
398
|
* @param {*} [options] Override http request option.
|
|
399
399
|
* @throws {RequiredError}
|
|
400
400
|
*/
|
|
401
|
-
passesShow: (
|
|
402
|
-
// verify required parameter '
|
|
403
|
-
(0, common_1.assertParamExists)('passesShow', '
|
|
404
|
-
const localVarPath = `/passes/{
|
|
405
|
-
.replace(`{${"
|
|
401
|
+
passesShow: (visitScheduleId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
402
|
+
// verify required parameter 'visitScheduleId' is not null or undefined
|
|
403
|
+
(0, common_1.assertParamExists)('passesShow', 'visitScheduleId', visitScheduleId);
|
|
404
|
+
const localVarPath = `/passes/{visit_schedule_id}`
|
|
405
|
+
.replace(`{${"visit_schedule_id"}}`, encodeURIComponent(String(visitScheduleId)));
|
|
406
406
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
407
407
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
408
|
let baseOptions;
|
|
@@ -623,13 +623,13 @@ const DefaultApiFp = function (configuration) {
|
|
|
623
623
|
},
|
|
624
624
|
/**
|
|
625
625
|
*
|
|
626
|
-
* @param {string}
|
|
626
|
+
* @param {string} xAccountId
|
|
627
627
|
* @param {*} [options] Override http request option.
|
|
628
628
|
* @throws {RequiredError}
|
|
629
629
|
*/
|
|
630
|
-
membersIndex(
|
|
630
|
+
membersIndex(xAccountId, options) {
|
|
631
631
|
return __awaiter(this, void 0, void 0, function* () {
|
|
632
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(
|
|
632
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(xAccountId, options);
|
|
633
633
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
634
634
|
});
|
|
635
635
|
},
|
|
@@ -670,26 +670,26 @@ const DefaultApiFp = function (configuration) {
|
|
|
670
670
|
},
|
|
671
671
|
/**
|
|
672
672
|
*
|
|
673
|
-
* @param {string}
|
|
673
|
+
* @param {string} visitScheduleId
|
|
674
674
|
* @param {ConsentRequestBody} consentRequestBody
|
|
675
675
|
* @param {*} [options] Override http request option.
|
|
676
676
|
* @throws {RequiredError}
|
|
677
677
|
*/
|
|
678
|
-
passesConsent(
|
|
678
|
+
passesConsent(visitScheduleId, consentRequestBody, options) {
|
|
679
679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
680
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.passesConsent(
|
|
680
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.passesConsent(visitScheduleId, consentRequestBody, options);
|
|
681
681
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
682
682
|
});
|
|
683
683
|
},
|
|
684
684
|
/**
|
|
685
685
|
*
|
|
686
|
-
* @param {string}
|
|
686
|
+
* @param {string} visitScheduleId
|
|
687
687
|
* @param {*} [options] Override http request option.
|
|
688
688
|
* @throws {RequiredError}
|
|
689
689
|
*/
|
|
690
|
-
passesShow(
|
|
690
|
+
passesShow(visitScheduleId, options) {
|
|
691
691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
692
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(
|
|
692
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(visitScheduleId, options);
|
|
693
693
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
694
694
|
});
|
|
695
695
|
},
|
|
@@ -812,12 +812,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
812
812
|
},
|
|
813
813
|
/**
|
|
814
814
|
*
|
|
815
|
-
* @param {string}
|
|
815
|
+
* @param {string} xAccountId
|
|
816
816
|
* @param {*} [options] Override http request option.
|
|
817
817
|
* @throws {RequiredError}
|
|
818
818
|
*/
|
|
819
|
-
membersIndex(
|
|
820
|
-
return localVarFp.membersIndex(
|
|
819
|
+
membersIndex(xAccountId, options) {
|
|
820
|
+
return localVarFp.membersIndex(xAccountId, options).then((request) => request(axios, basePath));
|
|
821
821
|
},
|
|
822
822
|
/**
|
|
823
823
|
*
|
|
@@ -847,22 +847,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
847
847
|
},
|
|
848
848
|
/**
|
|
849
849
|
*
|
|
850
|
-
* @param {string}
|
|
850
|
+
* @param {string} visitScheduleId
|
|
851
851
|
* @param {ConsentRequestBody} consentRequestBody
|
|
852
852
|
* @param {*} [options] Override http request option.
|
|
853
853
|
* @throws {RequiredError}
|
|
854
854
|
*/
|
|
855
|
-
passesConsent(
|
|
856
|
-
return localVarFp.passesConsent(
|
|
855
|
+
passesConsent(visitScheduleId, consentRequestBody, options) {
|
|
856
|
+
return localVarFp.passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(axios, basePath));
|
|
857
857
|
},
|
|
858
858
|
/**
|
|
859
859
|
*
|
|
860
|
-
* @param {string}
|
|
860
|
+
* @param {string} visitScheduleId
|
|
861
861
|
* @param {*} [options] Override http request option.
|
|
862
862
|
* @throws {RequiredError}
|
|
863
863
|
*/
|
|
864
|
-
passesShow(
|
|
865
|
-
return localVarFp.passesShow(
|
|
864
|
+
passesShow(visitScheduleId, options) {
|
|
865
|
+
return localVarFp.passesShow(visitScheduleId, options).then((request) => request(axios, basePath));
|
|
866
866
|
},
|
|
867
867
|
/**
|
|
868
868
|
*
|
|
@@ -977,13 +977,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
977
977
|
}
|
|
978
978
|
/**
|
|
979
979
|
*
|
|
980
|
-
* @param {string}
|
|
980
|
+
* @param {string} xAccountId
|
|
981
981
|
* @param {*} [options] Override http request option.
|
|
982
982
|
* @throws {RequiredError}
|
|
983
983
|
* @memberof DefaultApi
|
|
984
984
|
*/
|
|
985
|
-
membersIndex(
|
|
986
|
-
return (0, exports.DefaultApiFp)(this.configuration).membersIndex(
|
|
985
|
+
membersIndex(xAccountId, options) {
|
|
986
|
+
return (0, exports.DefaultApiFp)(this.configuration).membersIndex(xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
987
987
|
}
|
|
988
988
|
/**
|
|
989
989
|
*
|
|
@@ -1016,24 +1016,24 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
/**
|
|
1018
1018
|
*
|
|
1019
|
-
* @param {string}
|
|
1019
|
+
* @param {string} visitScheduleId
|
|
1020
1020
|
* @param {ConsentRequestBody} consentRequestBody
|
|
1021
1021
|
* @param {*} [options] Override http request option.
|
|
1022
1022
|
* @throws {RequiredError}
|
|
1023
1023
|
* @memberof DefaultApi
|
|
1024
1024
|
*/
|
|
1025
|
-
passesConsent(
|
|
1026
|
-
return (0, exports.DefaultApiFp)(this.configuration).passesConsent(
|
|
1025
|
+
passesConsent(visitScheduleId, consentRequestBody, options) {
|
|
1026
|
+
return (0, exports.DefaultApiFp)(this.configuration).passesConsent(visitScheduleId, consentRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1027
1027
|
}
|
|
1028
1028
|
/**
|
|
1029
1029
|
*
|
|
1030
|
-
* @param {string}
|
|
1030
|
+
* @param {string} visitScheduleId
|
|
1031
1031
|
* @param {*} [options] Override http request option.
|
|
1032
1032
|
* @throws {RequiredError}
|
|
1033
1033
|
* @memberof DefaultApi
|
|
1034
1034
|
*/
|
|
1035
|
-
passesShow(
|
|
1036
|
-
return (0, exports.DefaultApiFp)(this.configuration).passesShow(
|
|
1035
|
+
passesShow(visitScheduleId, options) {
|
|
1036
|
+
return (0, exports.DefaultApiFp)(this.configuration).passesShow(visitScheduleId, options).then((request) => request(this.axios, this.basePath));
|
|
1037
1037
|
}
|
|
1038
1038
|
/**
|
|
1039
1039
|
*
|