ob-bms-sdk 0.0.56 → 0.0.57

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 +114 -132
  2. package/dist/api/api.d.ts +115 -133
  3. package/package.json +1 -1
  4. package/test.ts +15 -0
package/api/api.ts CHANGED
@@ -413,6 +413,56 @@ 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
+ }
416
466
  /**
417
467
  *
418
468
  * @export
@@ -660,61 +710,6 @@ export interface LocationPasses {
660
710
  */
661
711
  'updated_at': string;
662
712
  }
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
- }
718
713
  /**
719
714
  *
720
715
  * @export
@@ -949,16 +944,16 @@ export interface ParkingLotData {
949
944
  export interface ParkingRedemptionRateResult {
950
945
  /**
951
946
  *
952
- * @type {number}
947
+ * @type {RateDetail}
953
948
  * @memberof ParkingRedemptionRateResult
954
949
  */
955
- 'code': number;
950
+ 'detail': RateDetail;
956
951
  /**
957
952
  *
958
- * @type {RateDetail}
953
+ * @type {number}
959
954
  * @memberof ParkingRedemptionRateResult
960
955
  */
961
- 'detail': RateDetail;
956
+ 'code': number;
962
957
  }
963
958
  /**
964
959
  *
@@ -968,64 +963,64 @@ export interface ParkingRedemptionRateResult {
968
963
  export interface ParkingTicketResult {
969
964
  /**
970
965
  *
971
- * @type {string}
966
+ * @type {number}
972
967
  * @memberof ParkingTicketResult
973
968
  */
974
- 'id': string;
969
+ 'vehicle_type_id': number;
975
970
  /**
976
971
  *
977
- * @type {string}
972
+ * @type {number}
978
973
  * @memberof ParkingTicketResult
979
974
  */
980
- 'plate_number': string;
975
+ 'member_type_id': number;
981
976
  /**
982
977
  *
983
- * @type {string}
978
+ * @type {RateDetail}
984
979
  * @memberof ParkingTicketResult
985
980
  */
986
- 'ticket_number': string;
981
+ 'rate_detail': RateDetail;
987
982
  /**
988
983
  *
989
984
  * @type {string}
990
985
  * @memberof ParkingTicketResult
991
986
  */
992
- 'vehicle_type': string;
987
+ 'parked_at': string;
993
988
  /**
994
989
  *
995
- * @type {number}
990
+ * @type {string}
996
991
  * @memberof ParkingTicketResult
997
992
  */
998
- 'total_fee': number;
993
+ 'member_id': string;
999
994
  /**
1000
995
  *
1001
- * @type {string}
996
+ * @type {number}
1002
997
  * @memberof ParkingTicketResult
1003
998
  */
1004
- 'member_id': string;
999
+ 'total_fee': number;
1005
1000
  /**
1006
1001
  *
1007
1002
  * @type {string}
1008
1003
  * @memberof ParkingTicketResult
1009
1004
  */
1010
- 'parked_at': string;
1005
+ 'vehicle_type': string;
1011
1006
  /**
1012
1007
  *
1013
- * @type {RateDetail}
1008
+ * @type {string}
1014
1009
  * @memberof ParkingTicketResult
1015
1010
  */
1016
- 'rate_detail': RateDetail;
1011
+ 'ticket_number': string;
1017
1012
  /**
1018
1013
  *
1019
- * @type {number}
1014
+ * @type {string}
1020
1015
  * @memberof ParkingTicketResult
1021
1016
  */
1022
- 'member_type_id': number;
1017
+ 'plate_number': string;
1023
1018
  /**
1024
1019
  *
1025
- * @type {number}
1020
+ * @type {string}
1026
1021
  * @memberof ParkingTicketResult
1027
1022
  */
1028
- 'vehicle_type_id': number;
1023
+ 'id': string;
1029
1024
  }
1030
1025
  /**
1031
1026
  *
@@ -1057,7 +1052,7 @@ export interface PassConsentResponse {
1057
1052
  * @type {string}
1058
1053
  * @memberof PassConsentResponse
1059
1054
  */
1060
- 'uid': string | null;
1055
+ 'status': PassConsentResponseStatusEnum;
1061
1056
  /**
1062
1057
  *
1063
1058
  * @type {string}
@@ -1075,7 +1070,7 @@ export interface PassConsentResponse {
1075
1070
  * @type {string}
1076
1071
  * @memberof PassConsentResponse
1077
1072
  */
1078
- 'status': PassConsentResponseStatusEnum;
1073
+ 'uid': string | null;
1079
1074
  /**
1080
1075
  *
1081
1076
  * @type {string}
@@ -1169,12 +1164,6 @@ export interface PassData {
1169
1164
  * @memberof PassData
1170
1165
  */
1171
1166
  'visitor_id': string;
1172
- /**
1173
- *
1174
- * @type {boolean}
1175
- * @memberof PassData
1176
- */
1177
- 'consent': boolean | null;
1178
1167
  /**
1179
1168
  *
1180
1169
  * @type {string}
@@ -1890,16 +1879,16 @@ export interface VisitorSchedule {
1890
1879
  'floor_id': string;
1891
1880
  /**
1892
1881
  *
1893
- * @type {VisitorScheduleFrom}
1882
+ * @type {FindMemberResultUpdatedAt}
1894
1883
  * @memberof VisitorSchedule
1895
1884
  */
1896
- 'from': VisitorScheduleFrom;
1885
+ 'from': FindMemberResultUpdatedAt;
1897
1886
  /**
1898
1887
  *
1899
- * @type {VisitorScheduleFrom}
1888
+ * @type {FindMemberResultUpdatedAt}
1900
1889
  * @memberof VisitorSchedule
1901
1890
  */
1902
- 'to': VisitorScheduleFrom;
1891
+ 'to': FindMemberResultUpdatedAt;
1903
1892
  /**
1904
1893
  *
1905
1894
  * @type {object}
@@ -1907,13 +1896,6 @@ export interface VisitorSchedule {
1907
1896
  */
1908
1897
  'repetition'?: object;
1909
1898
  }
1910
- /**
1911
- *
1912
- * @export
1913
- * @interface VisitorScheduleFrom
1914
- */
1915
- export interface VisitorScheduleFrom {
1916
- }
1917
1899
  /**
1918
1900
  *
1919
1901
  * @export
@@ -2265,42 +2247,42 @@ export interface WrappedResponseFetchParkingResultData {
2265
2247
  /**
2266
2248
  *
2267
2249
  * @export
2268
- * @interface WrappedResponseLocationIndexResponse
2250
+ * @interface WrappedResponseFindMemberResultArray
2269
2251
  */
2270
- export interface WrappedResponseLocationIndexResponse {
2252
+ export interface WrappedResponseFindMemberResultArray {
2271
2253
  /**
2272
2254
  *
2273
- * @type {WrappedResponseLocationIndexResponseData}
2274
- * @memberof WrappedResponseLocationIndexResponse
2255
+ * @type {WrappedResponseFindMemberResultArrayData}
2256
+ * @memberof WrappedResponseFindMemberResultArray
2275
2257
  */
2276
- 'data': WrappedResponseLocationIndexResponseData | null;
2258
+ 'data': WrappedResponseFindMemberResultArrayData | null;
2277
2259
  }
2278
2260
  /**
2279
2261
  *
2280
2262
  * @export
2281
- * @interface WrappedResponseLocationIndexResponseData
2263
+ * @interface WrappedResponseFindMemberResultArrayData
2282
2264
  */
2283
- export interface WrappedResponseLocationIndexResponseData {
2265
+ export interface WrappedResponseFindMemberResultArrayData {
2284
2266
  }
2285
2267
  /**
2286
2268
  *
2287
2269
  * @export
2288
- * @interface WrappedResponseMemberIndexInterfaceArrayOrNull
2270
+ * @interface WrappedResponseLocationIndexResponse
2289
2271
  */
2290
- export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
2272
+ export interface WrappedResponseLocationIndexResponse {
2291
2273
  /**
2292
2274
  *
2293
- * @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
2294
- * @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
2275
+ * @type {WrappedResponseLocationIndexResponseData}
2276
+ * @memberof WrappedResponseLocationIndexResponse
2295
2277
  */
2296
- 'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
2278
+ 'data': WrappedResponseLocationIndexResponseData | null;
2297
2279
  }
2298
2280
  /**
2299
2281
  *
2300
2282
  * @export
2301
- * @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
2283
+ * @interface WrappedResponseLocationIndexResponseData
2302
2284
  */
2303
- export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2285
+ export interface WrappedResponseLocationIndexResponseData {
2304
2286
  }
2305
2287
  /**
2306
2288
  *
@@ -2483,64 +2465,64 @@ export interface WrappedResponseParkingTicketResultArrayData {
2483
2465
  export interface WrappedResponseParkingTicketResultData {
2484
2466
  /**
2485
2467
  *
2486
- * @type {string}
2468
+ * @type {number}
2487
2469
  * @memberof WrappedResponseParkingTicketResultData
2488
2470
  */
2489
- 'id': string;
2471
+ 'vehicle_type_id': number;
2490
2472
  /**
2491
2473
  *
2492
- * @type {string}
2474
+ * @type {number}
2493
2475
  * @memberof WrappedResponseParkingTicketResultData
2494
2476
  */
2495
- 'plate_number': string;
2477
+ 'member_type_id': number;
2496
2478
  /**
2497
2479
  *
2498
- * @type {string}
2480
+ * @type {RateDetail}
2499
2481
  * @memberof WrappedResponseParkingTicketResultData
2500
2482
  */
2501
- 'ticket_number': string;
2483
+ 'rate_detail': RateDetail;
2502
2484
  /**
2503
2485
  *
2504
2486
  * @type {string}
2505
2487
  * @memberof WrappedResponseParkingTicketResultData
2506
2488
  */
2507
- 'vehicle_type': string;
2489
+ 'parked_at': string;
2508
2490
  /**
2509
2491
  *
2510
- * @type {number}
2492
+ * @type {string}
2511
2493
  * @memberof WrappedResponseParkingTicketResultData
2512
2494
  */
2513
- 'total_fee': number;
2495
+ 'member_id': string;
2514
2496
  /**
2515
2497
  *
2516
- * @type {string}
2498
+ * @type {number}
2517
2499
  * @memberof WrappedResponseParkingTicketResultData
2518
2500
  */
2519
- 'member_id': string;
2501
+ 'total_fee': number;
2520
2502
  /**
2521
2503
  *
2522
2504
  * @type {string}
2523
2505
  * @memberof WrappedResponseParkingTicketResultData
2524
2506
  */
2525
- 'parked_at': string;
2507
+ 'vehicle_type': string;
2526
2508
  /**
2527
2509
  *
2528
- * @type {RateDetail}
2510
+ * @type {string}
2529
2511
  * @memberof WrappedResponseParkingTicketResultData
2530
2512
  */
2531
- 'rate_detail': RateDetail;
2513
+ 'ticket_number': string;
2532
2514
  /**
2533
2515
  *
2534
- * @type {number}
2516
+ * @type {string}
2535
2517
  * @memberof WrappedResponseParkingTicketResultData
2536
2518
  */
2537
- 'member_type_id': number;
2519
+ 'plate_number': string;
2538
2520
  /**
2539
2521
  *
2540
- * @type {number}
2522
+ * @type {string}
2541
2523
  * @memberof WrappedResponseParkingTicketResultData
2542
2524
  */
2543
- 'vehicle_type_id': number;
2525
+ 'id': string;
2544
2526
  }
2545
2527
  /**
2546
2528
  *
@@ -2572,7 +2554,7 @@ export interface WrappedResponsePassConsentResponseData {
2572
2554
  * @type {string}
2573
2555
  * @memberof WrappedResponsePassConsentResponseData
2574
2556
  */
2575
- 'uid': string | null;
2557
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2576
2558
  /**
2577
2559
  *
2578
2560
  * @type {string}
@@ -2590,7 +2572,7 @@ export interface WrappedResponsePassConsentResponseData {
2590
2572
  * @type {string}
2591
2573
  * @memberof WrappedResponsePassConsentResponseData
2592
2574
  */
2593
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2575
+ 'uid': string | null;
2594
2576
  /**
2595
2577
  *
2596
2578
  * @type {string}
@@ -3594,7 +3576,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3594
3576
  * @param {*} [options] Override http request option.
3595
3577
  * @throws {RequiredError}
3596
3578
  */
3597
- async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>> {
3579
+ async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArray>> {
3598
3580
  const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
3599
3581
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3600
3582
  },
@@ -3810,7 +3792,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3810
3792
  * @param {*} [options] Override http request option.
3811
3793
  * @throws {RequiredError}
3812
3794
  */
3813
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull> {
3795
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArray> {
3814
3796
  return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
3815
3797
  },
3816
3798
  /**
package/dist/api/api.d.ts CHANGED
@@ -411,6 +411,56 @@ 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
+ }
414
464
  /**
415
465
  *
416
466
  * @export
@@ -658,61 +708,6 @@ export interface LocationPasses {
658
708
  */
659
709
  'updated_at': string;
660
710
  }
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
- }
716
711
  /**
717
712
  *
718
713
  * @export
@@ -947,16 +942,16 @@ export interface ParkingLotData {
947
942
  export interface ParkingRedemptionRateResult {
948
943
  /**
949
944
  *
950
- * @type {number}
945
+ * @type {RateDetail}
951
946
  * @memberof ParkingRedemptionRateResult
952
947
  */
953
- 'code': number;
948
+ 'detail': RateDetail;
954
949
  /**
955
950
  *
956
- * @type {RateDetail}
951
+ * @type {number}
957
952
  * @memberof ParkingRedemptionRateResult
958
953
  */
959
- 'detail': RateDetail;
954
+ 'code': number;
960
955
  }
961
956
  /**
962
957
  *
@@ -966,64 +961,64 @@ export interface ParkingRedemptionRateResult {
966
961
  export interface ParkingTicketResult {
967
962
  /**
968
963
  *
969
- * @type {string}
964
+ * @type {number}
970
965
  * @memberof ParkingTicketResult
971
966
  */
972
- 'id': string;
967
+ 'vehicle_type_id': number;
973
968
  /**
974
969
  *
975
- * @type {string}
970
+ * @type {number}
976
971
  * @memberof ParkingTicketResult
977
972
  */
978
- 'plate_number': string;
973
+ 'member_type_id': number;
979
974
  /**
980
975
  *
981
- * @type {string}
976
+ * @type {RateDetail}
982
977
  * @memberof ParkingTicketResult
983
978
  */
984
- 'ticket_number': string;
979
+ 'rate_detail': RateDetail;
985
980
  /**
986
981
  *
987
982
  * @type {string}
988
983
  * @memberof ParkingTicketResult
989
984
  */
990
- 'vehicle_type': string;
985
+ 'parked_at': string;
991
986
  /**
992
987
  *
993
- * @type {number}
988
+ * @type {string}
994
989
  * @memberof ParkingTicketResult
995
990
  */
996
- 'total_fee': number;
991
+ 'member_id': string;
997
992
  /**
998
993
  *
999
- * @type {string}
994
+ * @type {number}
1000
995
  * @memberof ParkingTicketResult
1001
996
  */
1002
- 'member_id': string;
997
+ 'total_fee': number;
1003
998
  /**
1004
999
  *
1005
1000
  * @type {string}
1006
1001
  * @memberof ParkingTicketResult
1007
1002
  */
1008
- 'parked_at': string;
1003
+ 'vehicle_type': string;
1009
1004
  /**
1010
1005
  *
1011
- * @type {RateDetail}
1006
+ * @type {string}
1012
1007
  * @memberof ParkingTicketResult
1013
1008
  */
1014
- 'rate_detail': RateDetail;
1009
+ 'ticket_number': string;
1015
1010
  /**
1016
1011
  *
1017
- * @type {number}
1012
+ * @type {string}
1018
1013
  * @memberof ParkingTicketResult
1019
1014
  */
1020
- 'member_type_id': number;
1015
+ 'plate_number': string;
1021
1016
  /**
1022
1017
  *
1023
- * @type {number}
1018
+ * @type {string}
1024
1019
  * @memberof ParkingTicketResult
1025
1020
  */
1026
- 'vehicle_type_id': number;
1021
+ 'id': string;
1027
1022
  }
1028
1023
  /**
1029
1024
  *
@@ -1055,7 +1050,7 @@ export interface PassConsentResponse {
1055
1050
  * @type {string}
1056
1051
  * @memberof PassConsentResponse
1057
1052
  */
1058
- 'uid': string | null;
1053
+ 'status': PassConsentResponseStatusEnum;
1059
1054
  /**
1060
1055
  *
1061
1056
  * @type {string}
@@ -1073,7 +1068,7 @@ export interface PassConsentResponse {
1073
1068
  * @type {string}
1074
1069
  * @memberof PassConsentResponse
1075
1070
  */
1076
- 'status': PassConsentResponseStatusEnum;
1071
+ 'uid': string | null;
1077
1072
  /**
1078
1073
  *
1079
1074
  * @type {string}
@@ -1164,12 +1159,6 @@ export interface PassData {
1164
1159
  * @memberof PassData
1165
1160
  */
1166
1161
  'visitor_id': string;
1167
- /**
1168
- *
1169
- * @type {boolean}
1170
- * @memberof PassData
1171
- */
1172
- 'consent': boolean | null;
1173
1162
  /**
1174
1163
  *
1175
1164
  * @type {string}
@@ -1879,16 +1868,16 @@ export interface VisitorSchedule {
1879
1868
  'floor_id': string;
1880
1869
  /**
1881
1870
  *
1882
- * @type {VisitorScheduleFrom}
1871
+ * @type {FindMemberResultUpdatedAt}
1883
1872
  * @memberof VisitorSchedule
1884
1873
  */
1885
- 'from': VisitorScheduleFrom;
1874
+ 'from': FindMemberResultUpdatedAt;
1886
1875
  /**
1887
1876
  *
1888
- * @type {VisitorScheduleFrom}
1877
+ * @type {FindMemberResultUpdatedAt}
1889
1878
  * @memberof VisitorSchedule
1890
1879
  */
1891
- 'to': VisitorScheduleFrom;
1880
+ 'to': FindMemberResultUpdatedAt;
1892
1881
  /**
1893
1882
  *
1894
1883
  * @type {object}
@@ -1896,13 +1885,6 @@ export interface VisitorSchedule {
1896
1885
  */
1897
1886
  'repetition'?: object;
1898
1887
  }
1899
- /**
1900
- *
1901
- * @export
1902
- * @interface VisitorScheduleFrom
1903
- */
1904
- export interface VisitorScheduleFrom {
1905
- }
1906
1888
  /**
1907
1889
  *
1908
1890
  * @export
@@ -2254,42 +2236,42 @@ export interface WrappedResponseFetchParkingResultData {
2254
2236
  /**
2255
2237
  *
2256
2238
  * @export
2257
- * @interface WrappedResponseLocationIndexResponse
2239
+ * @interface WrappedResponseFindMemberResultArray
2258
2240
  */
2259
- export interface WrappedResponseLocationIndexResponse {
2241
+ export interface WrappedResponseFindMemberResultArray {
2260
2242
  /**
2261
2243
  *
2262
- * @type {WrappedResponseLocationIndexResponseData}
2263
- * @memberof WrappedResponseLocationIndexResponse
2244
+ * @type {WrappedResponseFindMemberResultArrayData}
2245
+ * @memberof WrappedResponseFindMemberResultArray
2264
2246
  */
2265
- 'data': WrappedResponseLocationIndexResponseData | null;
2247
+ 'data': WrappedResponseFindMemberResultArrayData | null;
2266
2248
  }
2267
2249
  /**
2268
2250
  *
2269
2251
  * @export
2270
- * @interface WrappedResponseLocationIndexResponseData
2252
+ * @interface WrappedResponseFindMemberResultArrayData
2271
2253
  */
2272
- export interface WrappedResponseLocationIndexResponseData {
2254
+ export interface WrappedResponseFindMemberResultArrayData {
2273
2255
  }
2274
2256
  /**
2275
2257
  *
2276
2258
  * @export
2277
- * @interface WrappedResponseMemberIndexInterfaceArrayOrNull
2259
+ * @interface WrappedResponseLocationIndexResponse
2278
2260
  */
2279
- export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
2261
+ export interface WrappedResponseLocationIndexResponse {
2280
2262
  /**
2281
2263
  *
2282
- * @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
2283
- * @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
2264
+ * @type {WrappedResponseLocationIndexResponseData}
2265
+ * @memberof WrappedResponseLocationIndexResponse
2284
2266
  */
2285
- 'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
2267
+ 'data': WrappedResponseLocationIndexResponseData | null;
2286
2268
  }
2287
2269
  /**
2288
2270
  *
2289
2271
  * @export
2290
- * @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
2272
+ * @interface WrappedResponseLocationIndexResponseData
2291
2273
  */
2292
- export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2274
+ export interface WrappedResponseLocationIndexResponseData {
2293
2275
  }
2294
2276
  /**
2295
2277
  *
@@ -2469,64 +2451,64 @@ export interface WrappedResponseParkingTicketResultArrayData {
2469
2451
  export interface WrappedResponseParkingTicketResultData {
2470
2452
  /**
2471
2453
  *
2472
- * @type {string}
2454
+ * @type {number}
2473
2455
  * @memberof WrappedResponseParkingTicketResultData
2474
2456
  */
2475
- 'id': string;
2457
+ 'vehicle_type_id': number;
2476
2458
  /**
2477
2459
  *
2478
- * @type {string}
2460
+ * @type {number}
2479
2461
  * @memberof WrappedResponseParkingTicketResultData
2480
2462
  */
2481
- 'plate_number': string;
2463
+ 'member_type_id': number;
2482
2464
  /**
2483
2465
  *
2484
- * @type {string}
2466
+ * @type {RateDetail}
2485
2467
  * @memberof WrappedResponseParkingTicketResultData
2486
2468
  */
2487
- 'ticket_number': string;
2469
+ 'rate_detail': RateDetail;
2488
2470
  /**
2489
2471
  *
2490
2472
  * @type {string}
2491
2473
  * @memberof WrappedResponseParkingTicketResultData
2492
2474
  */
2493
- 'vehicle_type': string;
2475
+ 'parked_at': string;
2494
2476
  /**
2495
2477
  *
2496
- * @type {number}
2478
+ * @type {string}
2497
2479
  * @memberof WrappedResponseParkingTicketResultData
2498
2480
  */
2499
- 'total_fee': number;
2481
+ 'member_id': string;
2500
2482
  /**
2501
2483
  *
2502
- * @type {string}
2484
+ * @type {number}
2503
2485
  * @memberof WrappedResponseParkingTicketResultData
2504
2486
  */
2505
- 'member_id': string;
2487
+ 'total_fee': number;
2506
2488
  /**
2507
2489
  *
2508
2490
  * @type {string}
2509
2491
  * @memberof WrappedResponseParkingTicketResultData
2510
2492
  */
2511
- 'parked_at': string;
2493
+ 'vehicle_type': string;
2512
2494
  /**
2513
2495
  *
2514
- * @type {RateDetail}
2496
+ * @type {string}
2515
2497
  * @memberof WrappedResponseParkingTicketResultData
2516
2498
  */
2517
- 'rate_detail': RateDetail;
2499
+ 'ticket_number': string;
2518
2500
  /**
2519
2501
  *
2520
- * @type {number}
2502
+ * @type {string}
2521
2503
  * @memberof WrappedResponseParkingTicketResultData
2522
2504
  */
2523
- 'member_type_id': number;
2505
+ 'plate_number': string;
2524
2506
  /**
2525
2507
  *
2526
- * @type {number}
2508
+ * @type {string}
2527
2509
  * @memberof WrappedResponseParkingTicketResultData
2528
2510
  */
2529
- 'vehicle_type_id': number;
2511
+ 'id': string;
2530
2512
  }
2531
2513
  /**
2532
2514
  *
@@ -2558,7 +2540,7 @@ export interface WrappedResponsePassConsentResponseData {
2558
2540
  * @type {string}
2559
2541
  * @memberof WrappedResponsePassConsentResponseData
2560
2542
  */
2561
- 'uid': string | null;
2543
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2562
2544
  /**
2563
2545
  *
2564
2546
  * @type {string}
@@ -2576,7 +2558,7 @@ export interface WrappedResponsePassConsentResponseData {
2576
2558
  * @type {string}
2577
2559
  * @memberof WrappedResponsePassConsentResponseData
2578
2560
  */
2579
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2561
+ 'uid': string | null;
2580
2562
  /**
2581
2563
  *
2582
2564
  * @type {string}
@@ -2957,7 +2939,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2957
2939
  * @param {*} [options] Override http request option.
2958
2940
  * @throws {RequiredError}
2959
2941
  */
2960
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>>;
2942
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArray>>;
2961
2943
  /**
2962
2944
  *
2963
2945
  * @param {string} id
@@ -3116,7 +3098,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3116
3098
  * @param {*} [options] Override http request option.
3117
3099
  * @throws {RequiredError}
3118
3100
  */
3119
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>;
3101
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArray>;
3120
3102
  /**
3121
3103
  *
3122
3104
  * @param {string} id
@@ -3285,7 +3267,7 @@ export declare class DefaultApi extends BaseAPI {
3285
3267
  * @throws {RequiredError}
3286
3268
  * @memberof DefaultApi
3287
3269
  */
3288
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMemberIndexInterfaceArrayOrNull, any>>;
3270
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArray, any>>;
3289
3271
  /**
3290
3272
  *
3291
3273
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"
package/test.ts ADDED
@@ -0,0 +1,15 @@
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.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOmFjY291bnQiLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJyZWFkIiwidXBkYXRlIiwiZGVsZXRlIl0sInJlc291cmNlX3R5cGUiOiJhY2NvdW50IiwicmVzb3VyY2UiOnsiaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiNWY0MDlmYzYtNDRkMi00YzQyLThhOGYtYzFiNTQ1MWZjODZiIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTpwcm9maWxlIiwic2VydmljZSI6Im9iLWlhbSIsImFjdGlvbnMiOlsicmVhZCIsInVwZGF0ZSJdLCJyZXNvdXJjZV90eXBlIjoicHJvZmlsZSIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiMDNlM2MxODctOTY3NC00MTdiLThjOGMtNDBmNGE0MjEyMDlkIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTppZGVudGl0eSIsInNlcnZpY2UiOiJvYi1pYW0iLCJhY3Rpb25zIjpbIioiXSwicmVzb3VyY2VfdHlwZSI6ImlkZW50aXR5IiwicmVzb3VyY2UiOnsiYWNjb3VudF9pZCI6InNlbGYifX0sImNyZWF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJ1cGRhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwiZGVsZXRlZF9hdCI6bnVsbCwiYWNjb3VudF9pZCI6IjgyNDI3MDVmLTM1YjUtNGQ3MS04ZTE5LWM1YTQxYWMyZTBhNCIsImFjY291bnRfZ3JvdXBfaWQiOm51bGx9LHsiaWQiOiIzMjU0MTEyNi00Nzc2LTQ0NzYtOTc5MS1mYjZhNjA2ZWUxNDIiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOnNldHRpbmciLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJ1cGRhdGUiXSwicmVzb3VyY2VfdHlwZSI6InNldHRpbmciLCJyZXNvdXJjZSI6eyJhY2NvdW50X2lkIjoic2VsZiJ9fSwiY3JlYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsInVwZGF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJkZWxldGVkX2F0IjpudWxsLCJhY2NvdW50X2lkIjoiODI0MjcwNWYtMzViNS00ZDcxLThlMTktYzVhNDFhYzJlMGE0IiwiYWNjb3VudF9ncm91cF9pZCI6bnVsbH0seyJpZCI6ImZjYzE3MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.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
+ })();