ob-bms-sdk 0.0.52 → 0.0.54

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.
Files changed (4) hide show
  1. package/api/api.ts +126 -114
  2. package/dist/api/api.d.ts +127 -115
  3. package/package.json +1 -1
  4. package/test.ts +0 -15
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
+ 'redemptionAuthorized': boolean;
717
+ }
713
718
  /**
714
719
  *
715
720
  * @export
@@ -944,16 +949,16 @@ export interface ParkingLotData {
944
949
  export interface ParkingRedemptionRateResult {
945
950
  /**
946
951
  *
947
- * @type {RateDetail}
952
+ * @type {number}
948
953
  * @memberof ParkingRedemptionRateResult
949
954
  */
950
- 'detail': RateDetail;
955
+ 'code': number;
951
956
  /**
952
957
  *
953
- * @type {number}
958
+ * @type {RateDetail}
954
959
  * @memberof ParkingRedemptionRateResult
955
960
  */
956
- 'code': number;
961
+ 'detail': RateDetail;
957
962
  }
958
963
  /**
959
964
  *
@@ -963,34 +968,28 @@ export interface ParkingRedemptionRateResult {
963
968
  export interface ParkingTicketResult {
964
969
  /**
965
970
  *
966
- * @type {number}
967
- * @memberof ParkingTicketResult
968
- */
969
- 'vehicle_type_id': number;
970
- /**
971
- *
972
- * @type {number}
971
+ * @type {string}
973
972
  * @memberof ParkingTicketResult
974
973
  */
975
- 'member_type_id': number;
974
+ 'id': string;
976
975
  /**
977
976
  *
978
- * @type {RateDetail}
977
+ * @type {string}
979
978
  * @memberof ParkingTicketResult
980
979
  */
981
- 'rate_detail': RateDetail;
980
+ 'plate_number': string;
982
981
  /**
983
982
  *
984
983
  * @type {string}
985
984
  * @memberof ParkingTicketResult
986
985
  */
987
- 'parked_at': string;
986
+ 'ticket_number': string;
988
987
  /**
989
988
  *
990
989
  * @type {string}
991
990
  * @memberof ParkingTicketResult
992
991
  */
993
- 'member_id': string;
992
+ 'vehicle_type': string;
994
993
  /**
995
994
  *
996
995
  * @type {number}
@@ -1002,25 +1001,31 @@ export interface ParkingTicketResult {
1002
1001
  * @type {string}
1003
1002
  * @memberof ParkingTicketResult
1004
1003
  */
1005
- 'vehicle_type': string;
1004
+ 'member_id': string;
1006
1005
  /**
1007
1006
  *
1008
1007
  * @type {string}
1009
1008
  * @memberof ParkingTicketResult
1010
1009
  */
1011
- 'ticket_number': string;
1010
+ 'parked_at': string;
1012
1011
  /**
1013
1012
  *
1014
- * @type {string}
1013
+ * @type {RateDetail}
1015
1014
  * @memberof ParkingTicketResult
1016
1015
  */
1017
- 'plate_number': string;
1016
+ 'rate_detail': RateDetail;
1018
1017
  /**
1019
1018
  *
1020
- * @type {string}
1019
+ * @type {number}
1021
1020
  * @memberof ParkingTicketResult
1022
1021
  */
1023
- 'id': string;
1022
+ 'member_type_id': number;
1023
+ /**
1024
+ *
1025
+ * @type {number}
1026
+ * @memberof ParkingTicketResult
1027
+ */
1028
+ 'vehicle_type_id': number;
1024
1029
  }
1025
1030
  /**
1026
1031
  *
@@ -1052,7 +1057,7 @@ export interface PassConsentResponse {
1052
1057
  * @type {string}
1053
1058
  * @memberof PassConsentResponse
1054
1059
  */
1055
- 'status': PassConsentResponseStatusEnum;
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
- 'uid': string | null;
1078
+ 'status': PassConsentResponseStatusEnum;
1074
1079
  /**
1075
1080
  *
1076
1081
  * @type {string}
@@ -1879,16 +1884,16 @@ export interface VisitorSchedule {
1879
1884
  'floor_id': string;
1880
1885
  /**
1881
1886
  *
1882
- * @type {FindMemberResultUpdatedAt}
1887
+ * @type {VisitorScheduleFrom}
1883
1888
  * @memberof VisitorSchedule
1884
1889
  */
1885
- 'from': FindMemberResultUpdatedAt;
1890
+ 'from': VisitorScheduleFrom;
1886
1891
  /**
1887
1892
  *
1888
- * @type {FindMemberResultUpdatedAt}
1893
+ * @type {VisitorScheduleFrom}
1889
1894
  * @memberof VisitorSchedule
1890
1895
  */
1891
- 'to': FindMemberResultUpdatedAt;
1896
+ 'to': VisitorScheduleFrom;
1892
1897
  /**
1893
1898
  *
1894
1899
  * @type {object}
@@ -1896,6 +1901,13 @@ export interface VisitorSchedule {
1896
1901
  */
1897
1902
  'repetition'?: object;
1898
1903
  }
1904
+ /**
1905
+ *
1906
+ * @export
1907
+ * @interface VisitorScheduleFrom
1908
+ */
1909
+ export interface VisitorScheduleFrom {
1910
+ }
1899
1911
  /**
1900
1912
  *
1901
1913
  * @export
@@ -2247,42 +2259,42 @@ export interface WrappedResponseFetchParkingResultData {
2247
2259
  /**
2248
2260
  *
2249
2261
  * @export
2250
- * @interface WrappedResponseFindMemberResultArray
2262
+ * @interface WrappedResponseLocationIndexResponse
2251
2263
  */
2252
- export interface WrappedResponseFindMemberResultArray {
2264
+ export interface WrappedResponseLocationIndexResponse {
2253
2265
  /**
2254
2266
  *
2255
- * @type {WrappedResponseFindMemberResultArrayData}
2256
- * @memberof WrappedResponseFindMemberResultArray
2267
+ * @type {WrappedResponseLocationIndexResponseData}
2268
+ * @memberof WrappedResponseLocationIndexResponse
2257
2269
  */
2258
- 'data': WrappedResponseFindMemberResultArrayData | null;
2270
+ 'data': WrappedResponseLocationIndexResponseData | null;
2259
2271
  }
2260
2272
  /**
2261
2273
  *
2262
2274
  * @export
2263
- * @interface WrappedResponseFindMemberResultArrayData
2275
+ * @interface WrappedResponseLocationIndexResponseData
2264
2276
  */
2265
- export interface WrappedResponseFindMemberResultArrayData {
2277
+ export interface WrappedResponseLocationIndexResponseData {
2266
2278
  }
2267
2279
  /**
2268
2280
  *
2269
2281
  * @export
2270
- * @interface WrappedResponseLocationIndexResponse
2282
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNull
2271
2283
  */
2272
- export interface WrappedResponseLocationIndexResponse {
2284
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
2273
2285
  /**
2274
2286
  *
2275
- * @type {WrappedResponseLocationIndexResponseData}
2276
- * @memberof WrappedResponseLocationIndexResponse
2287
+ * @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
2288
+ * @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
2277
2289
  */
2278
- 'data': WrappedResponseLocationIndexResponseData | null;
2290
+ 'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
2279
2291
  }
2280
2292
  /**
2281
2293
  *
2282
2294
  * @export
2283
- * @interface WrappedResponseLocationIndexResponseData
2295
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
2284
2296
  */
2285
- export interface WrappedResponseLocationIndexResponseData {
2297
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2286
2298
  }
2287
2299
  /**
2288
2300
  *
@@ -2465,34 +2477,28 @@ export interface WrappedResponseParkingTicketResultArrayData {
2465
2477
  export interface WrappedResponseParkingTicketResultData {
2466
2478
  /**
2467
2479
  *
2468
- * @type {number}
2469
- * @memberof WrappedResponseParkingTicketResultData
2470
- */
2471
- 'vehicle_type_id': number;
2472
- /**
2473
- *
2474
- * @type {number}
2480
+ * @type {string}
2475
2481
  * @memberof WrappedResponseParkingTicketResultData
2476
2482
  */
2477
- 'member_type_id': number;
2483
+ 'id': string;
2478
2484
  /**
2479
2485
  *
2480
- * @type {RateDetail}
2486
+ * @type {string}
2481
2487
  * @memberof WrappedResponseParkingTicketResultData
2482
2488
  */
2483
- 'rate_detail': RateDetail;
2489
+ 'plate_number': string;
2484
2490
  /**
2485
2491
  *
2486
2492
  * @type {string}
2487
2493
  * @memberof WrappedResponseParkingTicketResultData
2488
2494
  */
2489
- 'parked_at': string;
2495
+ 'ticket_number': string;
2490
2496
  /**
2491
2497
  *
2492
2498
  * @type {string}
2493
2499
  * @memberof WrappedResponseParkingTicketResultData
2494
2500
  */
2495
- 'member_id': string;
2501
+ 'vehicle_type': string;
2496
2502
  /**
2497
2503
  *
2498
2504
  * @type {number}
@@ -2504,25 +2510,31 @@ export interface WrappedResponseParkingTicketResultData {
2504
2510
  * @type {string}
2505
2511
  * @memberof WrappedResponseParkingTicketResultData
2506
2512
  */
2507
- 'vehicle_type': string;
2513
+ 'member_id': string;
2508
2514
  /**
2509
2515
  *
2510
2516
  * @type {string}
2511
2517
  * @memberof WrappedResponseParkingTicketResultData
2512
2518
  */
2513
- 'ticket_number': string;
2519
+ 'parked_at': string;
2514
2520
  /**
2515
2521
  *
2516
- * @type {string}
2522
+ * @type {RateDetail}
2517
2523
  * @memberof WrappedResponseParkingTicketResultData
2518
2524
  */
2519
- 'plate_number': string;
2525
+ 'rate_detail': RateDetail;
2520
2526
  /**
2521
2527
  *
2522
- * @type {string}
2528
+ * @type {number}
2523
2529
  * @memberof WrappedResponseParkingTicketResultData
2524
2530
  */
2525
- 'id': string;
2531
+ 'member_type_id': number;
2532
+ /**
2533
+ *
2534
+ * @type {number}
2535
+ * @memberof WrappedResponseParkingTicketResultData
2536
+ */
2537
+ 'vehicle_type_id': number;
2526
2538
  }
2527
2539
  /**
2528
2540
  *
@@ -2554,7 +2566,7 @@ export interface WrappedResponsePassConsentResponseData {
2554
2566
  * @type {string}
2555
2567
  * @memberof WrappedResponsePassConsentResponseData
2556
2568
  */
2557
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2569
+ 'uid': string | null;
2558
2570
  /**
2559
2571
  *
2560
2572
  * @type {string}
@@ -2572,7 +2584,7 @@ export interface WrappedResponsePassConsentResponseData {
2572
2584
  * @type {string}
2573
2585
  * @memberof WrappedResponsePassConsentResponseData
2574
2586
  */
2575
- 'uid': string | null;
2587
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2576
2588
  /**
2577
2589
  *
2578
2590
  * @type {string}
@@ -3576,7 +3588,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3576
3588
  * @param {*} [options] Override http request option.
3577
3589
  * @throws {RequiredError}
3578
3590
  */
3579
- async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArray>> {
3591
+ async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>> {
3580
3592
  const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
3581
3593
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3582
3594
  },
@@ -3792,7 +3804,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3792
3804
  * @param {*} [options] Override http request option.
3793
3805
  * @throws {RequiredError}
3794
3806
  */
3795
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArray> {
3807
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull> {
3796
3808
  return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
3797
3809
  },
3798
3810
  /**
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
+ 'redemptionAuthorized': boolean;
715
+ }
711
716
  /**
712
717
  *
713
718
  * @export
@@ -942,16 +947,16 @@ export interface ParkingLotData {
942
947
  export interface ParkingRedemptionRateResult {
943
948
  /**
944
949
  *
945
- * @type {RateDetail}
950
+ * @type {number}
946
951
  * @memberof ParkingRedemptionRateResult
947
952
  */
948
- 'detail': RateDetail;
953
+ 'code': number;
949
954
  /**
950
955
  *
951
- * @type {number}
956
+ * @type {RateDetail}
952
957
  * @memberof ParkingRedemptionRateResult
953
958
  */
954
- 'code': number;
959
+ 'detail': RateDetail;
955
960
  }
956
961
  /**
957
962
  *
@@ -961,34 +966,28 @@ export interface ParkingRedemptionRateResult {
961
966
  export interface ParkingTicketResult {
962
967
  /**
963
968
  *
964
- * @type {number}
965
- * @memberof ParkingTicketResult
966
- */
967
- 'vehicle_type_id': number;
968
- /**
969
- *
970
- * @type {number}
969
+ * @type {string}
971
970
  * @memberof ParkingTicketResult
972
971
  */
973
- 'member_type_id': number;
972
+ 'id': string;
974
973
  /**
975
974
  *
976
- * @type {RateDetail}
975
+ * @type {string}
977
976
  * @memberof ParkingTicketResult
978
977
  */
979
- 'rate_detail': RateDetail;
978
+ 'plate_number': string;
980
979
  /**
981
980
  *
982
981
  * @type {string}
983
982
  * @memberof ParkingTicketResult
984
983
  */
985
- 'parked_at': string;
984
+ 'ticket_number': string;
986
985
  /**
987
986
  *
988
987
  * @type {string}
989
988
  * @memberof ParkingTicketResult
990
989
  */
991
- 'member_id': string;
990
+ 'vehicle_type': string;
992
991
  /**
993
992
  *
994
993
  * @type {number}
@@ -1000,25 +999,31 @@ export interface ParkingTicketResult {
1000
999
  * @type {string}
1001
1000
  * @memberof ParkingTicketResult
1002
1001
  */
1003
- 'vehicle_type': string;
1002
+ 'member_id': string;
1004
1003
  /**
1005
1004
  *
1006
1005
  * @type {string}
1007
1006
  * @memberof ParkingTicketResult
1008
1007
  */
1009
- 'ticket_number': string;
1008
+ 'parked_at': string;
1010
1009
  /**
1011
1010
  *
1012
- * @type {string}
1011
+ * @type {RateDetail}
1013
1012
  * @memberof ParkingTicketResult
1014
1013
  */
1015
- 'plate_number': string;
1014
+ 'rate_detail': RateDetail;
1016
1015
  /**
1017
1016
  *
1018
- * @type {string}
1017
+ * @type {number}
1019
1018
  * @memberof ParkingTicketResult
1020
1019
  */
1021
- 'id': string;
1020
+ 'member_type_id': number;
1021
+ /**
1022
+ *
1023
+ * @type {number}
1024
+ * @memberof ParkingTicketResult
1025
+ */
1026
+ 'vehicle_type_id': number;
1022
1027
  }
1023
1028
  /**
1024
1029
  *
@@ -1050,7 +1055,7 @@ export interface PassConsentResponse {
1050
1055
  * @type {string}
1051
1056
  * @memberof PassConsentResponse
1052
1057
  */
1053
- 'status': PassConsentResponseStatusEnum;
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
- 'uid': string | null;
1076
+ 'status': PassConsentResponseStatusEnum;
1072
1077
  /**
1073
1078
  *
1074
1079
  * @type {string}
@@ -1868,16 +1873,16 @@ export interface VisitorSchedule {
1868
1873
  'floor_id': string;
1869
1874
  /**
1870
1875
  *
1871
- * @type {FindMemberResultUpdatedAt}
1876
+ * @type {VisitorScheduleFrom}
1872
1877
  * @memberof VisitorSchedule
1873
1878
  */
1874
- 'from': FindMemberResultUpdatedAt;
1879
+ 'from': VisitorScheduleFrom;
1875
1880
  /**
1876
1881
  *
1877
- * @type {FindMemberResultUpdatedAt}
1882
+ * @type {VisitorScheduleFrom}
1878
1883
  * @memberof VisitorSchedule
1879
1884
  */
1880
- 'to': FindMemberResultUpdatedAt;
1885
+ 'to': VisitorScheduleFrom;
1881
1886
  /**
1882
1887
  *
1883
1888
  * @type {object}
@@ -1885,6 +1890,13 @@ export interface VisitorSchedule {
1885
1890
  */
1886
1891
  'repetition'?: object;
1887
1892
  }
1893
+ /**
1894
+ *
1895
+ * @export
1896
+ * @interface VisitorScheduleFrom
1897
+ */
1898
+ export interface VisitorScheduleFrom {
1899
+ }
1888
1900
  /**
1889
1901
  *
1890
1902
  * @export
@@ -2236,42 +2248,42 @@ export interface WrappedResponseFetchParkingResultData {
2236
2248
  /**
2237
2249
  *
2238
2250
  * @export
2239
- * @interface WrappedResponseFindMemberResultArray
2251
+ * @interface WrappedResponseLocationIndexResponse
2240
2252
  */
2241
- export interface WrappedResponseFindMemberResultArray {
2253
+ export interface WrappedResponseLocationIndexResponse {
2242
2254
  /**
2243
2255
  *
2244
- * @type {WrappedResponseFindMemberResultArrayData}
2245
- * @memberof WrappedResponseFindMemberResultArray
2256
+ * @type {WrappedResponseLocationIndexResponseData}
2257
+ * @memberof WrappedResponseLocationIndexResponse
2246
2258
  */
2247
- 'data': WrappedResponseFindMemberResultArrayData | null;
2259
+ 'data': WrappedResponseLocationIndexResponseData | null;
2248
2260
  }
2249
2261
  /**
2250
2262
  *
2251
2263
  * @export
2252
- * @interface WrappedResponseFindMemberResultArrayData
2264
+ * @interface WrappedResponseLocationIndexResponseData
2253
2265
  */
2254
- export interface WrappedResponseFindMemberResultArrayData {
2266
+ export interface WrappedResponseLocationIndexResponseData {
2255
2267
  }
2256
2268
  /**
2257
2269
  *
2258
2270
  * @export
2259
- * @interface WrappedResponseLocationIndexResponse
2271
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNull
2260
2272
  */
2261
- export interface WrappedResponseLocationIndexResponse {
2273
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
2262
2274
  /**
2263
2275
  *
2264
- * @type {WrappedResponseLocationIndexResponseData}
2265
- * @memberof WrappedResponseLocationIndexResponse
2276
+ * @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
2277
+ * @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
2266
2278
  */
2267
- 'data': WrappedResponseLocationIndexResponseData | null;
2279
+ 'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
2268
2280
  }
2269
2281
  /**
2270
2282
  *
2271
2283
  * @export
2272
- * @interface WrappedResponseLocationIndexResponseData
2284
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
2273
2285
  */
2274
- export interface WrappedResponseLocationIndexResponseData {
2286
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2275
2287
  }
2276
2288
  /**
2277
2289
  *
@@ -2451,34 +2463,28 @@ export interface WrappedResponseParkingTicketResultArrayData {
2451
2463
  export interface WrappedResponseParkingTicketResultData {
2452
2464
  /**
2453
2465
  *
2454
- * @type {number}
2455
- * @memberof WrappedResponseParkingTicketResultData
2456
- */
2457
- 'vehicle_type_id': number;
2458
- /**
2459
- *
2460
- * @type {number}
2466
+ * @type {string}
2461
2467
  * @memberof WrappedResponseParkingTicketResultData
2462
2468
  */
2463
- 'member_type_id': number;
2469
+ 'id': string;
2464
2470
  /**
2465
2471
  *
2466
- * @type {RateDetail}
2472
+ * @type {string}
2467
2473
  * @memberof WrappedResponseParkingTicketResultData
2468
2474
  */
2469
- 'rate_detail': RateDetail;
2475
+ 'plate_number': string;
2470
2476
  /**
2471
2477
  *
2472
2478
  * @type {string}
2473
2479
  * @memberof WrappedResponseParkingTicketResultData
2474
2480
  */
2475
- 'parked_at': string;
2481
+ 'ticket_number': string;
2476
2482
  /**
2477
2483
  *
2478
2484
  * @type {string}
2479
2485
  * @memberof WrappedResponseParkingTicketResultData
2480
2486
  */
2481
- 'member_id': string;
2487
+ 'vehicle_type': string;
2482
2488
  /**
2483
2489
  *
2484
2490
  * @type {number}
@@ -2490,25 +2496,31 @@ export interface WrappedResponseParkingTicketResultData {
2490
2496
  * @type {string}
2491
2497
  * @memberof WrappedResponseParkingTicketResultData
2492
2498
  */
2493
- 'vehicle_type': string;
2499
+ 'member_id': string;
2494
2500
  /**
2495
2501
  *
2496
2502
  * @type {string}
2497
2503
  * @memberof WrappedResponseParkingTicketResultData
2498
2504
  */
2499
- 'ticket_number': string;
2505
+ 'parked_at': string;
2500
2506
  /**
2501
2507
  *
2502
- * @type {string}
2508
+ * @type {RateDetail}
2503
2509
  * @memberof WrappedResponseParkingTicketResultData
2504
2510
  */
2505
- 'plate_number': string;
2511
+ 'rate_detail': RateDetail;
2506
2512
  /**
2507
2513
  *
2508
- * @type {string}
2514
+ * @type {number}
2509
2515
  * @memberof WrappedResponseParkingTicketResultData
2510
2516
  */
2511
- 'id': string;
2517
+ 'member_type_id': number;
2518
+ /**
2519
+ *
2520
+ * @type {number}
2521
+ * @memberof WrappedResponseParkingTicketResultData
2522
+ */
2523
+ 'vehicle_type_id': number;
2512
2524
  }
2513
2525
  /**
2514
2526
  *
@@ -2540,7 +2552,7 @@ export interface WrappedResponsePassConsentResponseData {
2540
2552
  * @type {string}
2541
2553
  * @memberof WrappedResponsePassConsentResponseData
2542
2554
  */
2543
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2555
+ 'uid': string | null;
2544
2556
  /**
2545
2557
  *
2546
2558
  * @type {string}
@@ -2558,7 +2570,7 @@ export interface WrappedResponsePassConsentResponseData {
2558
2570
  * @type {string}
2559
2571
  * @memberof WrappedResponsePassConsentResponseData
2560
2572
  */
2561
- 'uid': string | null;
2573
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2562
2574
  /**
2563
2575
  *
2564
2576
  * @type {string}
@@ -2939,7 +2951,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2939
2951
  * @param {*} [options] Override http request option.
2940
2952
  * @throws {RequiredError}
2941
2953
  */
2942
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArray>>;
2954
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>>;
2943
2955
  /**
2944
2956
  *
2945
2957
  * @param {string} id
@@ -3098,7 +3110,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3098
3110
  * @param {*} [options] Override http request option.
3099
3111
  * @throws {RequiredError}
3100
3112
  */
3101
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArray>;
3113
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>;
3102
3114
  /**
3103
3115
  *
3104
3116
  * @param {string} id
@@ -3267,7 +3279,7 @@ export declare class DefaultApi extends BaseAPI {
3267
3279
  * @throws {RequiredError}
3268
3280
  * @memberof DefaultApi
3269
3281
  */
3270
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArray, any>>;
3282
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMemberIndexInterfaceArrayOrNull, any>>;
3271
3283
  /**
3272
3284
  *
3273
3285
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"
package/test.ts DELETED
@@ -1,15 +0,0 @@
1
- import * as OB_BMS_SDK from './dist';
2
-
3
- // OB_BMS_SDK.setAcessToken('789');
4
- OB_BMS_SDK.setBaseUrl('http://dev.glorymtel.xyz/ob-bms');
5
- OB_BMS_SDK.setAcessToken(
6
- 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUy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pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
7
- );
8
- (async () => {
9
- try {
10
- const res = await OB_BMS_SDK.client.membersIndex('t.shin@pjoe.com', {});
11
- console.dir(res.data, { depth: null });
12
- } catch (err) {
13
- console.log(err);
14
- }
15
- })();