ob-bms-sdk 0.0.45 → 0.0.47

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 CHANGED
@@ -394,6 +394,25 @@ export interface DestroyMembersResponse {
394
394
  */
395
395
  'error': { [key: string]: any; } | null;
396
396
  }
397
+ /**
398
+ *
399
+ * @export
400
+ * @interface FetchParkingResult
401
+ */
402
+ export interface FetchParkingResult {
403
+ /**
404
+ *
405
+ * @type {boolean}
406
+ * @memberof FetchParkingResult
407
+ */
408
+ 'result': boolean;
409
+ /**
410
+ *
411
+ * @type {Array<SyncResultSyncJobErrorInner>}
412
+ * @memberof FetchParkingResult
413
+ */
414
+ 'error': Array<SyncResultSyncJobErrorInner>;
415
+ }
397
416
  /**
398
417
  *
399
418
  * @export
@@ -795,6 +814,67 @@ export interface MembersShowResponse {
795
814
  */
796
815
  'passed_turnstile': boolean;
797
816
  }
817
+ /**
818
+ *
819
+ * @export
820
+ * @interface ParkingFloorData
821
+ */
822
+ export interface ParkingFloorData {
823
+ /**
824
+ *
825
+ * @type {string}
826
+ * @memberof ParkingFloorData
827
+ */
828
+ 'id'?: string;
829
+ /**
830
+ *
831
+ * @type {string}
832
+ * @memberof ParkingFloorData
833
+ */
834
+ 'uid'?: string;
835
+ /**
836
+ *
837
+ * @type {string}
838
+ * @memberof ParkingFloorData
839
+ */
840
+ 'name'?: string;
841
+ /**
842
+ *
843
+ * @type {PrismaJsonValue}
844
+ * @memberof ParkingFloorData
845
+ */
846
+ 'display_name'?: PrismaJsonValue | null;
847
+ /**
848
+ *
849
+ * @type {string}
850
+ * @memberof ParkingFloorData
851
+ */
852
+ 'parking_tower_id'?: string;
853
+ /**
854
+ *
855
+ * @type {string}
856
+ * @memberof ParkingFloorData
857
+ */
858
+ 'created_at'?: string;
859
+ /**
860
+ *
861
+ * @type {string}
862
+ * @memberof ParkingFloorData
863
+ */
864
+ 'updated_at'?: string;
865
+ /**
866
+ *
867
+ * @type {Array<ParkingLotData>}
868
+ * @memberof ParkingFloorData
869
+ */
870
+ 'parking_lots': Array<ParkingLotData>;
871
+ /**
872
+ *
873
+ * @type {number}
874
+ * @memberof ParkingFloorData
875
+ */
876
+ 'total_available_slots': number;
877
+ }
798
878
  /**
799
879
  *
800
880
  * @export
@@ -807,6 +887,12 @@ export interface ParkingLotData {
807
887
  * @memberof ParkingLotData
808
888
  */
809
889
  'id'?: string;
890
+ /**
891
+ *
892
+ * @type {string}
893
+ * @memberof ParkingLotData
894
+ */
895
+ 'uid'?: string;
810
896
  /**
811
897
  *
812
898
  * @type {string}
@@ -836,7 +922,7 @@ export interface ParkingLotData {
836
922
  * @type {string}
837
923
  * @memberof ParkingLotData
838
924
  */
839
- 'area_id'?: string;
925
+ 'parking_floor_id'?: string;
840
926
  /**
841
927
  *
842
928
  * @type {Array<SpotTypeData>}
@@ -849,12 +935,6 @@ export interface ParkingLotData {
849
935
  * @memberof ParkingLotData
850
936
  */
851
937
  'total_available_slots': number;
852
- /**
853
- *
854
- * @type {ZoneData}
855
- * @memberof ParkingLotData
856
- */
857
- 'zone': ZoneData;
858
938
  }
859
939
  /**
860
940
  *
@@ -874,6 +954,24 @@ export interface ParkingTicketResult {
874
954
  * @memberof ParkingTicketResult
875
955
  */
876
956
  'plate_number': string;
957
+ /**
958
+ *
959
+ * @type {string}
960
+ * @memberof ParkingTicketResult
961
+ */
962
+ 'ticket_number': string;
963
+ /**
964
+ *
965
+ * @type {string}
966
+ * @memberof ParkingTicketResult
967
+ */
968
+ 'vehicle_type': string;
969
+ /**
970
+ *
971
+ * @type {number}
972
+ * @memberof ParkingTicketResult
973
+ */
974
+ 'total_fee': number;
877
975
  /**
878
976
  *
879
977
  * @type {string}
@@ -882,16 +980,16 @@ export interface ParkingTicketResult {
882
980
  'member_id': string;
883
981
  /**
884
982
  *
885
- * @type {FindMemberResultCreatedAt}
983
+ * @type {string}
886
984
  * @memberof ParkingTicketResult
887
985
  */
888
- 'created_at': FindMemberResultCreatedAt;
986
+ 'parked_at': string;
889
987
  /**
890
988
  *
891
- * @type {FindMemberResultCreatedAt}
989
+ * @type {RateDetail}
892
990
  * @memberof ParkingTicketResult
893
991
  */
894
- 'updated_at': FindMemberResultCreatedAt;
992
+ 'rate_detail': RateDetail;
895
993
  }
896
994
  /**
897
995
  *
@@ -1123,6 +1221,25 @@ export interface PersonData {
1123
1221
  */
1124
1222
  export interface PrismaJsonValue {
1125
1223
  }
1224
+ /**
1225
+ *
1226
+ * @export
1227
+ * @interface RateDetail
1228
+ */
1229
+ export interface RateDetail {
1230
+ /**
1231
+ *
1232
+ * @type {string}
1233
+ * @memberof RateDetail
1234
+ */
1235
+ 'th': string;
1236
+ /**
1237
+ *
1238
+ * @type {string}
1239
+ * @memberof RateDetail
1240
+ */
1241
+ 'en': string;
1242
+ }
1126
1243
  /**
1127
1244
  *
1128
1245
  * @export
@@ -2051,6 +2168,38 @@ export interface WrappedResponseCreateVisitorResponseData {
2051
2168
  */
2052
2169
  'updated_at': string;
2053
2170
  }
2171
+ /**
2172
+ *
2173
+ * @export
2174
+ * @interface WrappedResponseFetchParkingResult
2175
+ */
2176
+ export interface WrappedResponseFetchParkingResult {
2177
+ /**
2178
+ *
2179
+ * @type {WrappedResponseFetchParkingResultData}
2180
+ * @memberof WrappedResponseFetchParkingResult
2181
+ */
2182
+ 'data': WrappedResponseFetchParkingResultData | null;
2183
+ }
2184
+ /**
2185
+ *
2186
+ * @export
2187
+ * @interface WrappedResponseFetchParkingResultData
2188
+ */
2189
+ export interface WrappedResponseFetchParkingResultData {
2190
+ /**
2191
+ *
2192
+ * @type {boolean}
2193
+ * @memberof WrappedResponseFetchParkingResultData
2194
+ */
2195
+ 'result': boolean;
2196
+ /**
2197
+ *
2198
+ * @type {Array<SyncResultSyncJobErrorInner>}
2199
+ * @memberof WrappedResponseFetchParkingResultData
2200
+ */
2201
+ 'error': Array<SyncResultSyncJobErrorInner>;
2202
+ }
2054
2203
  /**
2055
2204
  *
2056
2205
  * @export
@@ -2242,6 +2391,24 @@ export interface WrappedResponseParkingTicketResultData {
2242
2391
  * @memberof WrappedResponseParkingTicketResultData
2243
2392
  */
2244
2393
  'plate_number': string;
2394
+ /**
2395
+ *
2396
+ * @type {string}
2397
+ * @memberof WrappedResponseParkingTicketResultData
2398
+ */
2399
+ 'ticket_number': string;
2400
+ /**
2401
+ *
2402
+ * @type {string}
2403
+ * @memberof WrappedResponseParkingTicketResultData
2404
+ */
2405
+ 'vehicle_type': string;
2406
+ /**
2407
+ *
2408
+ * @type {number}
2409
+ * @memberof WrappedResponseParkingTicketResultData
2410
+ */
2411
+ 'total_fee': number;
2245
2412
  /**
2246
2413
  *
2247
2414
  * @type {string}
@@ -2250,16 +2417,16 @@ export interface WrappedResponseParkingTicketResultData {
2250
2417
  'member_id': string;
2251
2418
  /**
2252
2419
  *
2253
- * @type {FindMemberResultCreatedAt}
2420
+ * @type {string}
2254
2421
  * @memberof WrappedResponseParkingTicketResultData
2255
2422
  */
2256
- 'created_at': FindMemberResultCreatedAt;
2423
+ 'parked_at': string;
2257
2424
  /**
2258
2425
  *
2259
- * @type {FindMemberResultCreatedAt}
2426
+ * @type {RateDetail}
2260
2427
  * @memberof WrappedResponseParkingTicketResultData
2261
2428
  */
2262
- 'updated_at': FindMemberResultCreatedAt;
2429
+ 'rate_detail': RateDetail;
2263
2430
  }
2264
2431
  /**
2265
2432
  *
@@ -2468,61 +2635,6 @@ export interface WrappedResponseUpdateMemberResponseData {
2468
2635
  */
2469
2636
  'result': boolean | null;
2470
2637
  }
2471
- /**
2472
- *
2473
- * @export
2474
- * @interface ZoneData
2475
- */
2476
- export interface ZoneData {
2477
- /**
2478
- *
2479
- * @type {TowerData}
2480
- * @memberof ZoneData
2481
- */
2482
- 'tower': TowerData;
2483
- /**
2484
- *
2485
- * @type {string}
2486
- * @memberof ZoneData
2487
- */
2488
- 'id'?: string;
2489
- /**
2490
- *
2491
- * @type {string}
2492
- * @memberof ZoneData
2493
- */
2494
- 'uid'?: string;
2495
- /**
2496
- *
2497
- * @type {string}
2498
- * @memberof ZoneData
2499
- */
2500
- 'name'?: string;
2501
- /**
2502
- *
2503
- * @type {PrismaJsonValue}
2504
- * @memberof ZoneData
2505
- */
2506
- 'display_name'?: PrismaJsonValue | null;
2507
- /**
2508
- *
2509
- * @type {string}
2510
- * @memberof ZoneData
2511
- */
2512
- 'tower_id'?: string;
2513
- /**
2514
- *
2515
- * @type {string}
2516
- * @memberof ZoneData
2517
- */
2518
- 'created_at'?: string;
2519
- /**
2520
- *
2521
- * @type {string}
2522
- * @memberof ZoneData
2523
- */
2524
- 'updated_at'?: string;
2525
- }
2526
2638
 
2527
2639
  /**
2528
2640
  * DefaultApi - axios parameter creator
@@ -2565,6 +2677,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2565
2677
  options: localVarRequestOptions,
2566
2678
  };
2567
2679
  },
2680
+ /**
2681
+ *
2682
+ * @param {*} [options] Override http request option.
2683
+ * @throws {RequiredError}
2684
+ */
2685
+ fetch: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2686
+ const localVarPath = `/integrations/fs/parking`;
2687
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2688
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2689
+ let baseOptions;
2690
+ if (configuration) {
2691
+ baseOptions = configuration.baseOptions;
2692
+ }
2693
+
2694
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2695
+ const localVarHeaderParameter = {} as any;
2696
+ const localVarQueryParameter = {} as any;
2697
+
2698
+
2699
+
2700
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2701
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2702
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2703
+
2704
+ return {
2705
+ url: toPathString(localVarUrlObj),
2706
+ options: localVarRequestOptions,
2707
+ };
2708
+ },
2568
2709
  /**
2569
2710
  *
2570
2711
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -2763,10 +2904,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2763
2904
  },
2764
2905
  /**
2765
2906
  *
2907
+ * @param {string} [identifier]
2908
+ * @param {string} [xAccountId]
2766
2909
  * @param {*} [options] Override http request option.
2767
2910
  * @throws {RequiredError}
2768
2911
  */
2769
- membersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2912
+ membersIndex: async (identifier?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2770
2913
  const localVarPath = `/members`;
2771
2914
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2772
2915
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2779,6 +2922,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2779
2922
  const localVarHeaderParameter = {} as any;
2780
2923
  const localVarQueryParameter = {} as any;
2781
2924
 
2925
+ if (identifier !== undefined) {
2926
+ localVarQueryParameter['identifier'] = identifier;
2927
+ }
2928
+
2929
+ if (xAccountId != null) {
2930
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
2931
+ }
2932
+
2782
2933
 
2783
2934
 
2784
2935
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3157,6 +3308,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3157
3308
  const localVarAxiosArgs = await localVarAxiosParamCreator.create(webhookCreateBody, options);
3158
3309
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3159
3310
  },
3311
+ /**
3312
+ *
3313
+ * @param {*} [options] Override http request option.
3314
+ * @throws {RequiredError}
3315
+ */
3316
+ async fetch(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFetchParkingResult>> {
3317
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fetch(options);
3318
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3319
+ },
3160
3320
  /**
3161
3321
  *
3162
3322
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -3214,11 +3374,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3214
3374
  },
3215
3375
  /**
3216
3376
  *
3377
+ * @param {string} [identifier]
3378
+ * @param {string} [xAccountId]
3217
3379
  * @param {*} [options] Override http request option.
3218
3380
  * @throws {RequiredError}
3219
3381
  */
3220
- async membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3221
- const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(options);
3382
+ async membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
3222
3384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3223
3385
  },
3224
3386
  /**
@@ -3342,6 +3504,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3342
3504
  create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void> {
3343
3505
  return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
3344
3506
  },
3507
+ /**
3508
+ *
3509
+ * @param {*} [options] Override http request option.
3510
+ * @throws {RequiredError}
3511
+ */
3512
+ fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult> {
3513
+ return localVarFp.fetch(options).then((request) => request(axios, basePath));
3514
+ },
3345
3515
  /**
3346
3516
  *
3347
3517
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -3394,11 +3564,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3394
3564
  },
3395
3565
  /**
3396
3566
  *
3567
+ * @param {string} [identifier]
3568
+ * @param {string} [xAccountId]
3397
3569
  * @param {*} [options] Override http request option.
3398
3570
  * @throws {RequiredError}
3399
3571
  */
3400
- membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3401
- return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
3572
+ membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3573
+ return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
3402
3574
  },
3403
3575
  /**
3404
3576
  *
@@ -3513,6 +3685,16 @@ export class DefaultApi extends BaseAPI {
3513
3685
  return DefaultApiFp(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
3514
3686
  }
3515
3687
 
3688
+ /**
3689
+ *
3690
+ * @param {*} [options] Override http request option.
3691
+ * @throws {RequiredError}
3692
+ * @memberof DefaultApi
3693
+ */
3694
+ public fetch(options?: AxiosRequestConfig) {
3695
+ return DefaultApiFp(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
3696
+ }
3697
+
3516
3698
  /**
3517
3699
  *
3518
3700
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -3575,12 +3757,14 @@ export class DefaultApi extends BaseAPI {
3575
3757
 
3576
3758
  /**
3577
3759
  *
3760
+ * @param {string} [identifier]
3761
+ * @param {string} [xAccountId]
3578
3762
  * @param {*} [options] Override http request option.
3579
3763
  * @throws {RequiredError}
3580
3764
  * @memberof DefaultApi
3581
3765
  */
3582
- public membersIndex(options?: AxiosRequestConfig) {
3583
- return DefaultApiFp(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
3766
+ public membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) {
3767
+ return DefaultApiFp(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
3584
3768
  }
3585
3769
 
3586
3770
  /**
package/dist/api/api.d.ts CHANGED
@@ -392,6 +392,25 @@ export interface DestroyMembersResponse {
392
392
  [key: string]: any;
393
393
  } | null;
394
394
  }
395
+ /**
396
+ *
397
+ * @export
398
+ * @interface FetchParkingResult
399
+ */
400
+ export interface FetchParkingResult {
401
+ /**
402
+ *
403
+ * @type {boolean}
404
+ * @memberof FetchParkingResult
405
+ */
406
+ 'result': boolean;
407
+ /**
408
+ *
409
+ * @type {Array<SyncResultSyncJobErrorInner>}
410
+ * @memberof FetchParkingResult
411
+ */
412
+ 'error': Array<SyncResultSyncJobErrorInner>;
413
+ }
395
414
  /**
396
415
  *
397
416
  * @export
@@ -793,6 +812,67 @@ export interface MembersShowResponse {
793
812
  */
794
813
  'passed_turnstile': boolean;
795
814
  }
815
+ /**
816
+ *
817
+ * @export
818
+ * @interface ParkingFloorData
819
+ */
820
+ export interface ParkingFloorData {
821
+ /**
822
+ *
823
+ * @type {string}
824
+ * @memberof ParkingFloorData
825
+ */
826
+ 'id'?: string;
827
+ /**
828
+ *
829
+ * @type {string}
830
+ * @memberof ParkingFloorData
831
+ */
832
+ 'uid'?: string;
833
+ /**
834
+ *
835
+ * @type {string}
836
+ * @memberof ParkingFloorData
837
+ */
838
+ 'name'?: string;
839
+ /**
840
+ *
841
+ * @type {PrismaJsonValue}
842
+ * @memberof ParkingFloorData
843
+ */
844
+ 'display_name'?: PrismaJsonValue | null;
845
+ /**
846
+ *
847
+ * @type {string}
848
+ * @memberof ParkingFloorData
849
+ */
850
+ 'parking_tower_id'?: string;
851
+ /**
852
+ *
853
+ * @type {string}
854
+ * @memberof ParkingFloorData
855
+ */
856
+ 'created_at'?: string;
857
+ /**
858
+ *
859
+ * @type {string}
860
+ * @memberof ParkingFloorData
861
+ */
862
+ 'updated_at'?: string;
863
+ /**
864
+ *
865
+ * @type {Array<ParkingLotData>}
866
+ * @memberof ParkingFloorData
867
+ */
868
+ 'parking_lots': Array<ParkingLotData>;
869
+ /**
870
+ *
871
+ * @type {number}
872
+ * @memberof ParkingFloorData
873
+ */
874
+ 'total_available_slots': number;
875
+ }
796
876
  /**
797
877
  *
798
878
  * @export
@@ -805,6 +885,12 @@ export interface ParkingLotData {
805
885
  * @memberof ParkingLotData
806
886
  */
807
887
  'id'?: string;
888
+ /**
889
+ *
890
+ * @type {string}
891
+ * @memberof ParkingLotData
892
+ */
893
+ 'uid'?: string;
808
894
  /**
809
895
  *
810
896
  * @type {string}
@@ -834,7 +920,7 @@ export interface ParkingLotData {
834
920
  * @type {string}
835
921
  * @memberof ParkingLotData
836
922
  */
837
- 'area_id'?: string;
923
+ 'parking_floor_id'?: string;
838
924
  /**
839
925
  *
840
926
  * @type {Array<SpotTypeData>}
@@ -847,12 +933,6 @@ export interface ParkingLotData {
847
933
  * @memberof ParkingLotData
848
934
  */
849
935
  'total_available_slots': number;
850
- /**
851
- *
852
- * @type {ZoneData}
853
- * @memberof ParkingLotData
854
- */
855
- 'zone': ZoneData;
856
936
  }
857
937
  /**
858
938
  *
@@ -872,6 +952,24 @@ export interface ParkingTicketResult {
872
952
  * @memberof ParkingTicketResult
873
953
  */
874
954
  'plate_number': string;
955
+ /**
956
+ *
957
+ * @type {string}
958
+ * @memberof ParkingTicketResult
959
+ */
960
+ 'ticket_number': string;
961
+ /**
962
+ *
963
+ * @type {string}
964
+ * @memberof ParkingTicketResult
965
+ */
966
+ 'vehicle_type': string;
967
+ /**
968
+ *
969
+ * @type {number}
970
+ * @memberof ParkingTicketResult
971
+ */
972
+ 'total_fee': number;
875
973
  /**
876
974
  *
877
975
  * @type {string}
@@ -880,16 +978,16 @@ export interface ParkingTicketResult {
880
978
  'member_id': string;
881
979
  /**
882
980
  *
883
- * @type {FindMemberResultCreatedAt}
981
+ * @type {string}
884
982
  * @memberof ParkingTicketResult
885
983
  */
886
- 'created_at': FindMemberResultCreatedAt;
984
+ 'parked_at': string;
887
985
  /**
888
986
  *
889
- * @type {FindMemberResultCreatedAt}
987
+ * @type {RateDetail}
890
988
  * @memberof ParkingTicketResult
891
989
  */
892
- 'updated_at': FindMemberResultCreatedAt;
990
+ 'rate_detail': RateDetail;
893
991
  }
894
992
  /**
895
993
  *
@@ -1115,6 +1213,25 @@ export interface PersonData {
1115
1213
  */
1116
1214
  export interface PrismaJsonValue {
1117
1215
  }
1216
+ /**
1217
+ *
1218
+ * @export
1219
+ * @interface RateDetail
1220
+ */
1221
+ export interface RateDetail {
1222
+ /**
1223
+ *
1224
+ * @type {string}
1225
+ * @memberof RateDetail
1226
+ */
1227
+ 'th': string;
1228
+ /**
1229
+ *
1230
+ * @type {string}
1231
+ * @memberof RateDetail
1232
+ */
1233
+ 'en': string;
1234
+ }
1118
1235
  /**
1119
1236
  *
1120
1237
  * @export
@@ -2040,6 +2157,38 @@ export interface WrappedResponseCreateVisitorResponseData {
2040
2157
  */
2041
2158
  'updated_at': string;
2042
2159
  }
2160
+ /**
2161
+ *
2162
+ * @export
2163
+ * @interface WrappedResponseFetchParkingResult
2164
+ */
2165
+ export interface WrappedResponseFetchParkingResult {
2166
+ /**
2167
+ *
2168
+ * @type {WrappedResponseFetchParkingResultData}
2169
+ * @memberof WrappedResponseFetchParkingResult
2170
+ */
2171
+ 'data': WrappedResponseFetchParkingResultData | null;
2172
+ }
2173
+ /**
2174
+ *
2175
+ * @export
2176
+ * @interface WrappedResponseFetchParkingResultData
2177
+ */
2178
+ export interface WrappedResponseFetchParkingResultData {
2179
+ /**
2180
+ *
2181
+ * @type {boolean}
2182
+ * @memberof WrappedResponseFetchParkingResultData
2183
+ */
2184
+ 'result': boolean;
2185
+ /**
2186
+ *
2187
+ * @type {Array<SyncResultSyncJobErrorInner>}
2188
+ * @memberof WrappedResponseFetchParkingResultData
2189
+ */
2190
+ 'error': Array<SyncResultSyncJobErrorInner>;
2191
+ }
2043
2192
  /**
2044
2193
  *
2045
2194
  * @export
@@ -2228,6 +2377,24 @@ export interface WrappedResponseParkingTicketResultData {
2228
2377
  * @memberof WrappedResponseParkingTicketResultData
2229
2378
  */
2230
2379
  'plate_number': string;
2380
+ /**
2381
+ *
2382
+ * @type {string}
2383
+ * @memberof WrappedResponseParkingTicketResultData
2384
+ */
2385
+ 'ticket_number': string;
2386
+ /**
2387
+ *
2388
+ * @type {string}
2389
+ * @memberof WrappedResponseParkingTicketResultData
2390
+ */
2391
+ 'vehicle_type': string;
2392
+ /**
2393
+ *
2394
+ * @type {number}
2395
+ * @memberof WrappedResponseParkingTicketResultData
2396
+ */
2397
+ 'total_fee': number;
2231
2398
  /**
2232
2399
  *
2233
2400
  * @type {string}
@@ -2236,16 +2403,16 @@ export interface WrappedResponseParkingTicketResultData {
2236
2403
  'member_id': string;
2237
2404
  /**
2238
2405
  *
2239
- * @type {FindMemberResultCreatedAt}
2406
+ * @type {string}
2240
2407
  * @memberof WrappedResponseParkingTicketResultData
2241
2408
  */
2242
- 'created_at': FindMemberResultCreatedAt;
2409
+ 'parked_at': string;
2243
2410
  /**
2244
2411
  *
2245
- * @type {FindMemberResultCreatedAt}
2412
+ * @type {RateDetail}
2246
2413
  * @memberof WrappedResponseParkingTicketResultData
2247
2414
  */
2248
- 'updated_at': FindMemberResultCreatedAt;
2415
+ 'rate_detail': RateDetail;
2249
2416
  }
2250
2417
  /**
2251
2418
  *
@@ -2451,61 +2618,6 @@ export interface WrappedResponseUpdateMemberResponseData {
2451
2618
  */
2452
2619
  'result': boolean | null;
2453
2620
  }
2454
- /**
2455
- *
2456
- * @export
2457
- * @interface ZoneData
2458
- */
2459
- export interface ZoneData {
2460
- /**
2461
- *
2462
- * @type {TowerData}
2463
- * @memberof ZoneData
2464
- */
2465
- 'tower': TowerData;
2466
- /**
2467
- *
2468
- * @type {string}
2469
- * @memberof ZoneData
2470
- */
2471
- 'id'?: string;
2472
- /**
2473
- *
2474
- * @type {string}
2475
- * @memberof ZoneData
2476
- */
2477
- 'uid'?: string;
2478
- /**
2479
- *
2480
- * @type {string}
2481
- * @memberof ZoneData
2482
- */
2483
- 'name'?: string;
2484
- /**
2485
- *
2486
- * @type {PrismaJsonValue}
2487
- * @memberof ZoneData
2488
- */
2489
- 'display_name'?: PrismaJsonValue | null;
2490
- /**
2491
- *
2492
- * @type {string}
2493
- * @memberof ZoneData
2494
- */
2495
- 'tower_id'?: string;
2496
- /**
2497
- *
2498
- * @type {string}
2499
- * @memberof ZoneData
2500
- */
2501
- 'created_at'?: string;
2502
- /**
2503
- *
2504
- * @type {string}
2505
- * @memberof ZoneData
2506
- */
2507
- 'updated_at'?: string;
2508
- }
2509
2621
  /**
2510
2622
  * DefaultApi - axios parameter creator
2511
2623
  * @export
@@ -2518,6 +2630,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2518
2630
  * @throws {RequiredError}
2519
2631
  */
2520
2632
  create: (webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2633
+ /**
2634
+ *
2635
+ * @param {*} [options] Override http request option.
2636
+ * @throws {RequiredError}
2637
+ */
2638
+ fetch: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2521
2639
  /**
2522
2640
  *
2523
2641
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -2560,10 +2678,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2560
2678
  membersCommandsIndex: (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2561
2679
  /**
2562
2680
  *
2681
+ * @param {string} [identifier]
2682
+ * @param {string} [xAccountId]
2563
2683
  * @param {*} [options] Override http request option.
2564
2684
  * @throws {RequiredError}
2565
2685
  */
2566
- membersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2686
+ membersIndex: (identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2567
2687
  /**
2568
2688
  *
2569
2689
  * @param {string} id
@@ -2649,6 +2769,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2649
2769
  * @throws {RequiredError}
2650
2770
  */
2651
2771
  create(webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2772
+ /**
2773
+ *
2774
+ * @param {*} [options] Override http request option.
2775
+ * @throws {RequiredError}
2776
+ */
2777
+ fetch(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFetchParkingResult>>;
2652
2778
  /**
2653
2779
  *
2654
2780
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -2691,10 +2817,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2691
2817
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
2692
2818
  /**
2693
2819
  *
2820
+ * @param {string} [identifier]
2821
+ * @param {string} [xAccountId]
2694
2822
  * @param {*} [options] Override http request option.
2695
2823
  * @throws {RequiredError}
2696
2824
  */
2697
- membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2825
+ membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2698
2826
  /**
2699
2827
  *
2700
2828
  * @param {string} id
@@ -2780,6 +2908,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2780
2908
  * @throws {RequiredError}
2781
2909
  */
2782
2910
  create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void>;
2911
+ /**
2912
+ *
2913
+ * @param {*} [options] Override http request option.
2914
+ * @throws {RequiredError}
2915
+ */
2916
+ fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult>;
2783
2917
  /**
2784
2918
  *
2785
2919
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -2822,10 +2956,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2822
2956
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
2823
2957
  /**
2824
2958
  *
2959
+ * @param {string} [identifier]
2960
+ * @param {string} [xAccountId]
2825
2961
  * @param {*} [options] Override http request option.
2826
2962
  * @throws {RequiredError}
2827
2963
  */
2828
- membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2964
+ membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2829
2965
  /**
2830
2966
  *
2831
2967
  * @param {string} id
@@ -2914,6 +3050,13 @@ export declare class DefaultApi extends BaseAPI {
2914
3050
  * @memberof DefaultApi
2915
3051
  */
2916
3052
  create(webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3053
+ /**
3054
+ *
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ * @memberof DefaultApi
3058
+ */
3059
+ fetch(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFetchParkingResult, any>>;
2917
3060
  /**
2918
3061
  *
2919
3062
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -2961,11 +3104,13 @@ export declare class DefaultApi extends BaseAPI {
2961
3104
  membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
2962
3105
  /**
2963
3106
  *
3107
+ * @param {string} [identifier]
3108
+ * @param {string} [xAccountId]
2964
3109
  * @param {*} [options] Override http request option.
2965
3110
  * @throws {RequiredError}
2966
3111
  * @memberof DefaultApi
2967
3112
  */
2968
- membersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
3113
+ membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
2969
3114
  /**
2970
3115
  *
2971
3116
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -86,6 +86,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
86
86
  options: localVarRequestOptions,
87
87
  };
88
88
  }),
89
+ /**
90
+ *
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ fetch: (options = {}) => __awaiter(this, void 0, void 0, function* () {
95
+ const localVarPath = `/integrations/fs/parking`;
96
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
98
+ let baseOptions;
99
+ if (configuration) {
100
+ baseOptions = configuration.baseOptions;
101
+ }
102
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103
+ const localVarHeaderParameter = {};
104
+ const localVarQueryParameter = {};
105
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
106
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
107
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108
+ return {
109
+ url: (0, common_1.toPathString)(localVarUrlObj),
110
+ options: localVarRequestOptions,
111
+ };
112
+ }),
89
113
  /**
90
114
  *
91
115
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -251,10 +275,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
251
275
  }),
252
276
  /**
253
277
  *
278
+ * @param {string} [identifier]
279
+ * @param {string} [xAccountId]
254
280
  * @param {*} [options] Override http request option.
255
281
  * @throws {RequiredError}
256
282
  */
257
- membersIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
283
+ membersIndex: (identifier, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
258
284
  const localVarPath = `/members`;
259
285
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
260
286
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -265,6 +291,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
265
291
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
266
292
  const localVarHeaderParameter = {};
267
293
  const localVarQueryParameter = {};
294
+ if (identifier !== undefined) {
295
+ localVarQueryParameter['identifier'] = identifier;
296
+ }
297
+ if (xAccountId != null) {
298
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
299
+ }
268
300
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
269
301
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
302
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -587,6 +619,17 @@ const DefaultApiFp = function (configuration) {
587
619
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
588
620
  });
589
621
  },
622
+ /**
623
+ *
624
+ * @param {*} [options] Override http request option.
625
+ * @throws {RequiredError}
626
+ */
627
+ fetch(options) {
628
+ return __awaiter(this, void 0, void 0, function* () {
629
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.fetch(options);
630
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
631
+ });
632
+ },
590
633
  /**
591
634
  *
592
635
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -654,12 +697,14 @@ const DefaultApiFp = function (configuration) {
654
697
  },
655
698
  /**
656
699
  *
700
+ * @param {string} [identifier]
701
+ * @param {string} [xAccountId]
657
702
  * @param {*} [options] Override http request option.
658
703
  * @throws {RequiredError}
659
704
  */
660
- membersIndex(options) {
705
+ membersIndex(identifier, xAccountId, options) {
661
706
  return __awaiter(this, void 0, void 0, function* () {
662
- const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(options);
707
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
663
708
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
664
709
  });
665
710
  },
@@ -804,6 +849,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
804
849
  create(webhookCreateBody, options) {
805
850
  return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
806
851
  },
852
+ /**
853
+ *
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ fetch(options) {
858
+ return localVarFp.fetch(options).then((request) => request(axios, basePath));
859
+ },
807
860
  /**
808
861
  *
809
862
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -856,11 +909,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
856
909
  },
857
910
  /**
858
911
  *
912
+ * @param {string} [identifier]
913
+ * @param {string} [xAccountId]
859
914
  * @param {*} [options] Override http request option.
860
915
  * @throws {RequiredError}
861
916
  */
862
- membersIndex(options) {
863
- return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
917
+ membersIndex(identifier, xAccountId, options) {
918
+ return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
864
919
  },
865
920
  /**
866
921
  *
@@ -974,6 +1029,15 @@ class DefaultApi extends base_1.BaseAPI {
974
1029
  create(webhookCreateBody, options) {
975
1030
  return (0, exports.DefaultApiFp)(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
976
1031
  }
1032
+ /**
1033
+ *
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ * @memberof DefaultApi
1037
+ */
1038
+ fetch(options) {
1039
+ return (0, exports.DefaultApiFp)(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
1040
+ }
977
1041
  /**
978
1042
  *
979
1043
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -1031,12 +1095,14 @@ class DefaultApi extends base_1.BaseAPI {
1031
1095
  }
1032
1096
  /**
1033
1097
  *
1098
+ * @param {string} [identifier]
1099
+ * @param {string} [xAccountId]
1034
1100
  * @param {*} [options] Override http request option.
1035
1101
  * @throws {RequiredError}
1036
1102
  * @memberof DefaultApi
1037
1103
  */
1038
- membersIndex(options) {
1039
- return (0, exports.DefaultApiFp)(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
1104
+ membersIndex(identifier, xAccountId, options) {
1105
+ return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
1040
1106
  }
1041
1107
  /**
1042
1108
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
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
+ })();