ob-bms-sdk 0.0.58 → 0.0.60

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
@@ -963,70 +963,92 @@ export interface ParkingRedemptionRateResult {
963
963
  /**
964
964
  *
965
965
  * @export
966
- * @interface ParkingTicketResult
966
+ * @interface ParkingTicketData
967
967
  */
968
- export interface ParkingTicketResult {
968
+ export interface ParkingTicketData {
969
969
  /**
970
970
  *
971
971
  * @type {number}
972
- * @memberof ParkingTicketResult
972
+ * @memberof ParkingTicketData
973
973
  */
974
974
  'vehicle_type_id': number;
975
975
  /**
976
976
  *
977
977
  * @type {number}
978
- * @memberof ParkingTicketResult
978
+ * @memberof ParkingTicketData
979
979
  */
980
980
  'member_type_id': number;
981
981
  /**
982
982
  *
983
983
  * @type {RateDetail}
984
- * @memberof ParkingTicketResult
984
+ * @memberof ParkingTicketData
985
985
  */
986
986
  'rate_detail': RateDetail;
987
987
  /**
988
988
  *
989
989
  * @type {string}
990
- * @memberof ParkingTicketResult
990
+ * @memberof ParkingTicketData
991
991
  */
992
992
  'parked_at': string;
993
- /**
994
- *
995
- * @type {string}
996
- * @memberof ParkingTicketResult
997
- */
998
- 'member_id': string;
999
993
  /**
1000
994
  *
1001
995
  * @type {number}
1002
- * @memberof ParkingTicketResult
996
+ * @memberof ParkingTicketData
1003
997
  */
1004
998
  'total_fee': number;
1005
999
  /**
1006
1000
  *
1007
1001
  * @type {string}
1008
- * @memberof ParkingTicketResult
1002
+ * @memberof ParkingTicketData
1009
1003
  */
1010
1004
  'vehicle_type': string;
1011
1005
  /**
1012
1006
  *
1013
1007
  * @type {string}
1014
- * @memberof ParkingTicketResult
1008
+ * @memberof ParkingTicketData
1015
1009
  */
1016
1010
  'ticket_number': string;
1017
1011
  /**
1018
1012
  *
1019
1013
  * @type {string}
1020
- * @memberof ParkingTicketResult
1014
+ * @memberof ParkingTicketData
1021
1015
  */
1022
1016
  'plate_number': string;
1023
1017
  /**
1024
1018
  *
1025
1019
  * @type {string}
1026
- * @memberof ParkingTicketResult
1020
+ * @memberof ParkingTicketData
1027
1021
  */
1028
1022
  'id': string;
1029
1023
  }
1024
+ /**
1025
+ *
1026
+ * @export
1027
+ * @interface ParkingTicketsIndexQuery
1028
+ */
1029
+ export interface ParkingTicketsIndexQuery {
1030
+ /**
1031
+ *
1032
+ * @type {string}
1033
+ * @memberof ParkingTicketsIndexQuery
1034
+ */
1035
+ 'type': ParkingTicketsIndexQueryTypeEnum;
1036
+ /**
1037
+ *
1038
+ * @type {string}
1039
+ * @memberof ParkingTicketsIndexQuery
1040
+ */
1041
+ 'id': string;
1042
+ }
1043
+
1044
+ export const ParkingTicketsIndexQueryTypeEnum = {
1045
+ LogId: 'log_id',
1046
+ InviteId: 'invite_id',
1047
+ MemberId: 'member_id'
1048
+ } as const;
1049
+
1050
+ export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTypeEnum[keyof typeof ParkingTicketsIndexQueryTypeEnum];
1051
+
1030
1052
  /**
1031
1053
  *
1032
1054
  * @export
@@ -2367,82 +2389,15 @@ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2367
2389
  /**
2368
2390
  *
2369
2391
  * @export
2370
- * @interface WrappedResponseMembersShowResponse
2371
- */
2372
- export interface WrappedResponseMembersShowResponse {
2373
- /**
2374
- *
2375
- * @type {WrappedResponseMembersShowResponseData}
2376
- * @memberof WrappedResponseMembersShowResponse
2377
- */
2378
- 'data': WrappedResponseMembersShowResponseData | null;
2379
- }
2380
- /**
2381
- *
2382
- * @export
2383
- * @interface WrappedResponseMembersShowResponseData
2392
+ * @interface WrappedResponseMembersShowResponseOrNull
2384
2393
  */
2385
- export interface WrappedResponseMembersShowResponseData {
2386
- /**
2387
- *
2388
- * @type {string}
2389
- * @memberof WrappedResponseMembersShowResponseData
2390
- */
2391
- 'id': string;
2392
- /**
2393
- *
2394
- * @type {string}
2395
- * @memberof WrappedResponseMembersShowResponseData
2396
- */
2397
- 'uid': string;
2398
- /**
2399
- *
2400
- * @type {JsonValue}
2401
- * @memberof WrappedResponseMembersShowResponseData
2402
- */
2403
- 'metadata': JsonValue | null;
2404
- /**
2405
- *
2406
- * @type {string}
2407
- * @memberof WrappedResponseMembersShowResponseData
2408
- */
2409
- 'defaultFloor': string | null;
2394
+ export interface WrappedResponseMembersShowResponseOrNull {
2410
2395
  /**
2411
2396
  *
2412
- * @type {string}
2413
- * @memberof WrappedResponseMembersShowResponseData
2414
- */
2415
- 'account_id': string | null;
2416
- /**
2417
- *
2418
- * @type {string}
2419
- * @memberof WrappedResponseMembersShowResponseData
2420
- */
2421
- 'created_at': string;
2422
- /**
2423
- *
2424
- * @type {string}
2425
- * @memberof WrappedResponseMembersShowResponseData
2426
- */
2427
- 'updated_at': string;
2428
- /**
2429
- *
2430
- * @type {Array<PassData>}
2431
- * @memberof WrappedResponseMembersShowResponseData
2432
- */
2433
- 'passes': Array<PassData>;
2434
- /**
2435
- *
2436
- * @type {Array<TowerData>}
2437
- * @memberof WrappedResponseMembersShowResponseData
2438
- */
2439
- 'towers': Array<TowerData>;
2440
- /**
2441
- *
2442
- * @type {boolean}
2443
- * @memberof WrappedResponseMembersShowResponseData
2397
+ * @type {Array<MembersShowResponse>}
2398
+ * @memberof WrappedResponseMembersShowResponseOrNull
2444
2399
  */
2445
- 'passed_turnstile': boolean;
2400
+ 'data': Array<MembersShowResponse> | null;
2446
2401
  }
2447
2402
  /**
2448
2403
  *
@@ -2507,100 +2462,94 @@ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2507
2462
  /**
2508
2463
  *
2509
2464
  * @export
2510
- * @interface WrappedResponseParkingTicketResult
2465
+ * @interface WrappedResponseParkingTicketData
2511
2466
  */
2512
- export interface WrappedResponseParkingTicketResult {
2467
+ export interface WrappedResponseParkingTicketData {
2513
2468
  /**
2514
2469
  *
2515
- * @type {WrappedResponseParkingTicketResultData}
2516
- * @memberof WrappedResponseParkingTicketResult
2470
+ * @type {WrappedResponseParkingTicketDataData}
2471
+ * @memberof WrappedResponseParkingTicketData
2517
2472
  */
2518
- 'data': WrappedResponseParkingTicketResultData | null;
2473
+ 'data': WrappedResponseParkingTicketDataData | null;
2519
2474
  }
2520
2475
  /**
2521
2476
  *
2522
2477
  * @export
2523
- * @interface WrappedResponseParkingTicketResultArray
2478
+ * @interface WrappedResponseParkingTicketDataArray
2524
2479
  */
2525
- export interface WrappedResponseParkingTicketResultArray {
2480
+ export interface WrappedResponseParkingTicketDataArray {
2526
2481
  /**
2527
2482
  *
2528
- * @type {WrappedResponseParkingTicketResultArrayData}
2529
- * @memberof WrappedResponseParkingTicketResultArray
2483
+ * @type {WrappedResponseParkingTicketDataArrayData}
2484
+ * @memberof WrappedResponseParkingTicketDataArray
2530
2485
  */
2531
- 'data': WrappedResponseParkingTicketResultArrayData | null;
2486
+ 'data': WrappedResponseParkingTicketDataArrayData | null;
2532
2487
  }
2533
2488
  /**
2534
2489
  *
2535
2490
  * @export
2536
- * @interface WrappedResponseParkingTicketResultArrayData
2491
+ * @interface WrappedResponseParkingTicketDataArrayData
2537
2492
  */
2538
- export interface WrappedResponseParkingTicketResultArrayData {
2493
+ export interface WrappedResponseParkingTicketDataArrayData {
2539
2494
  }
2540
2495
  /**
2541
2496
  *
2542
2497
  * @export
2543
- * @interface WrappedResponseParkingTicketResultData
2498
+ * @interface WrappedResponseParkingTicketDataData
2544
2499
  */
2545
- export interface WrappedResponseParkingTicketResultData {
2500
+ export interface WrappedResponseParkingTicketDataData {
2546
2501
  /**
2547
2502
  *
2548
2503
  * @type {number}
2549
- * @memberof WrappedResponseParkingTicketResultData
2504
+ * @memberof WrappedResponseParkingTicketDataData
2550
2505
  */
2551
2506
  'vehicle_type_id': number;
2552
2507
  /**
2553
2508
  *
2554
2509
  * @type {number}
2555
- * @memberof WrappedResponseParkingTicketResultData
2510
+ * @memberof WrappedResponseParkingTicketDataData
2556
2511
  */
2557
2512
  'member_type_id': number;
2558
2513
  /**
2559
2514
  *
2560
2515
  * @type {RateDetail}
2561
- * @memberof WrappedResponseParkingTicketResultData
2516
+ * @memberof WrappedResponseParkingTicketDataData
2562
2517
  */
2563
2518
  'rate_detail': RateDetail;
2564
2519
  /**
2565
2520
  *
2566
2521
  * @type {string}
2567
- * @memberof WrappedResponseParkingTicketResultData
2522
+ * @memberof WrappedResponseParkingTicketDataData
2568
2523
  */
2569
2524
  'parked_at': string;
2570
- /**
2571
- *
2572
- * @type {string}
2573
- * @memberof WrappedResponseParkingTicketResultData
2574
- */
2575
- 'member_id': string;
2576
2525
  /**
2577
2526
  *
2578
2527
  * @type {number}
2579
- * @memberof WrappedResponseParkingTicketResultData
2528
+ * @memberof WrappedResponseParkingTicketDataData
2580
2529
  */
2581
2530
  'total_fee': number;
2582
2531
  /**
2583
2532
  *
2584
2533
  * @type {string}
2585
- * @memberof WrappedResponseParkingTicketResultData
2534
+ * @memberof WrappedResponseParkingTicketDataData
2586
2535
  */
2587
2536
  'vehicle_type': string;
2588
2537
  /**
2589
2538
  *
2590
2539
  * @type {string}
2591
- * @memberof WrappedResponseParkingTicketResultData
2540
+ * @memberof WrappedResponseParkingTicketDataData
2592
2541
  */
2593
2542
  'ticket_number': string;
2594
2543
  /**
2595
2544
  *
2596
2545
  * @type {string}
2597
- * @memberof WrappedResponseParkingTicketResultData
2546
+ * @memberof WrappedResponseParkingTicketDataData
2598
2547
  */
2599
2548
  'plate_number': string;
2600
2549
  /**
2601
2550
  *
2602
2551
  * @type {string}
2603
- * @memberof WrappedResponseParkingTicketResultData
2552
+ * @memberof WrappedResponseParkingTicketDataData
2604
2553
  */
2605
2554
  'id': string;
2606
2555
  }
@@ -3297,15 +3246,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3297
3246
  },
3298
3247
  /**
3299
3248
  *
3300
- * @param {string} memberId
3249
+ * @param {ParkingTicketsIndexTypeEnum} type
3250
+ * @param {string} id
3301
3251
  * @param {*} [options] Override http request option.
3302
3252
  * @throws {RequiredError}
3303
3253
  */
3304
- parkingTicketsIndex: async (memberId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3305
- // verify required parameter 'memberId' is not null or undefined
3306
- assertParamExists('parkingTicketsIndex', 'memberId', memberId)
3307
- const localVarPath = `/members/{member_id}/parking_tickets`
3308
- .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
3254
+ parkingTicketsIndex: async (type: ParkingTicketsIndexTypeEnum, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3255
+ // verify required parameter 'type' is not null or undefined
3256
+ assertParamExists('parkingTicketsIndex', 'type', type)
3257
+ // verify required parameter 'id' is not null or undefined
3258
+ assertParamExists('parkingTicketsIndex', 'id', id)
3259
+ const localVarPath = `/parking_tickets`;
3309
3260
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3310
3261
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3311
3262
  let baseOptions;
@@ -3317,6 +3268,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3317
3268
  const localVarHeaderParameter = {} as any;
3318
3269
  const localVarQueryParameter = {} as any;
3319
3270
 
3271
+ if (type !== undefined) {
3272
+ localVarQueryParameter['type'] = type;
3273
+ }
3274
+
3275
+ if (id !== undefined) {
3276
+ localVarQueryParameter['id'] = id;
3277
+ }
3278
+
3320
3279
 
3321
3280
 
3322
3281
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3721,7 +3680,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3721
3680
  * @param {*} [options] Override http request option.
3722
3681
  * @throws {RequiredError}
3723
3682
  */
3724
- async membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponse>> {
3683
+ async membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponseOrNull>> {
3725
3684
  const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, locationId, options);
3726
3685
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3727
3686
  },
@@ -3759,12 +3718,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3759
3718
  },
3760
3719
  /**
3761
3720
  *
3762
- * @param {string} memberId
3721
+ * @param {ParkingTicketsIndexTypeEnum} type
3722
+ * @param {string} id
3763
3723
  * @param {*} [options] Override http request option.
3764
3724
  * @throws {RequiredError}
3765
3725
  */
3766
- async parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResultArray>> {
3767
- const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
3726
+ async parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>> {
3727
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
3768
3728
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3769
3729
  },
3770
3730
  /**
@@ -3776,7 +3736,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3776
3736
  * @param {*} [options] Override http request option.
3777
3737
  * @throws {RequiredError}
3778
3738
  */
3779
- async parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>> {
3739
+ async parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>> {
3780
3740
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options);
3781
3741
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3782
3742
  },
@@ -3946,7 +3906,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3946
3906
  * @param {*} [options] Override http request option.
3947
3907
  * @throws {RequiredError}
3948
3908
  */
3949
- membersShow(id: string, locationId?: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
3909
+ membersShow(id: string, locationId?: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponseOrNull> {
3950
3910
  return localVarFp.membersShow(id, locationId, options).then((request) => request(axios, basePath));
3951
3911
  },
3952
3912
  /**
@@ -3980,12 +3940,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3980
3940
  },
3981
3941
  /**
3982
3942
  *
3983
- * @param {string} memberId
3943
+ * @param {ParkingTicketsIndexTypeEnum} type
3944
+ * @param {string} id
3984
3945
  * @param {*} [options] Override http request option.
3985
3946
  * @throws {RequiredError}
3986
3947
  */
3987
- parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResultArray> {
3988
- return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
3948
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray> {
3949
+ return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
3989
3950
  },
3990
3951
  /**
3991
3952
  *
@@ -3996,7 +3957,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3996
3957
  * @param {*} [options] Override http request option.
3997
3958
  * @throws {RequiredError}
3998
3959
  */
3999
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult> {
3960
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketData> {
4000
3961
  return localVarFp.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(axios, basePath));
4001
3962
  },
4002
3963
  /**
@@ -4216,13 +4177,14 @@ export class DefaultApi extends BaseAPI {
4216
4177
 
4217
4178
  /**
4218
4179
  *
4219
- * @param {string} memberId
4180
+ * @param {ParkingTicketsIndexTypeEnum} type
4181
+ * @param {string} id
4220
4182
  * @param {*} [options] Override http request option.
4221
4183
  * @throws {RequiredError}
4222
4184
  * @memberof DefaultApi
4223
4185
  */
4224
- public parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig) {
4225
- return DefaultApiFp(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
4186
+ public parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) {
4187
+ return DefaultApiFp(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
4226
4188
  }
4227
4189
 
4228
4190
  /**
@@ -4318,5 +4280,14 @@ export class DefaultApi extends BaseAPI {
4318
4280
  }
4319
4281
  }
4320
4282
 
4283
+ /**
4284
+ * @export
4285
+ */
4286
+ export const ParkingTicketsIndexTypeEnum = {
4287
+ LogId: 'log_id',
4288
+ InviteId: 'invite_id',
4289
+ MemberId: 'member_id'
4290
+ } as const;
4291
+ export type ParkingTicketsIndexTypeEnum = typeof ParkingTicketsIndexTypeEnum[keyof typeof ParkingTicketsIndexTypeEnum];
4321
4292
 
4322
4293
 
package/dist/api/api.d.ts CHANGED
@@ -961,70 +961,89 @@ export interface ParkingRedemptionRateResult {
961
961
  /**
962
962
  *
963
963
  * @export
964
- * @interface ParkingTicketResult
964
+ * @interface ParkingTicketData
965
965
  */
966
- export interface ParkingTicketResult {
966
+ export interface ParkingTicketData {
967
967
  /**
968
968
  *
969
969
  * @type {number}
970
- * @memberof ParkingTicketResult
970
+ * @memberof ParkingTicketData
971
971
  */
972
972
  'vehicle_type_id': number;
973
973
  /**
974
974
  *
975
975
  * @type {number}
976
- * @memberof ParkingTicketResult
976
+ * @memberof ParkingTicketData
977
977
  */
978
978
  'member_type_id': number;
979
979
  /**
980
980
  *
981
981
  * @type {RateDetail}
982
- * @memberof ParkingTicketResult
982
+ * @memberof ParkingTicketData
983
983
  */
984
984
  'rate_detail': RateDetail;
985
985
  /**
986
986
  *
987
987
  * @type {string}
988
- * @memberof ParkingTicketResult
988
+ * @memberof ParkingTicketData
989
989
  */
990
990
  'parked_at': string;
991
- /**
992
- *
993
- * @type {string}
994
- * @memberof ParkingTicketResult
995
- */
996
- 'member_id': string;
997
991
  /**
998
992
  *
999
993
  * @type {number}
1000
- * @memberof ParkingTicketResult
994
+ * @memberof ParkingTicketData
1001
995
  */
1002
996
  'total_fee': number;
1003
997
  /**
1004
998
  *
1005
999
  * @type {string}
1006
- * @memberof ParkingTicketResult
1000
+ * @memberof ParkingTicketData
1007
1001
  */
1008
1002
  'vehicle_type': string;
1009
1003
  /**
1010
1004
  *
1011
1005
  * @type {string}
1012
- * @memberof ParkingTicketResult
1006
+ * @memberof ParkingTicketData
1013
1007
  */
1014
1008
  'ticket_number': string;
1015
1009
  /**
1016
1010
  *
1017
1011
  * @type {string}
1018
- * @memberof ParkingTicketResult
1012
+ * @memberof ParkingTicketData
1019
1013
  */
1020
1014
  'plate_number': string;
1021
1015
  /**
1022
1016
  *
1023
1017
  * @type {string}
1024
- * @memberof ParkingTicketResult
1018
+ * @memberof ParkingTicketData
1025
1019
  */
1026
1020
  'id': string;
1027
1021
  }
1022
+ /**
1023
+ *
1024
+ * @export
1025
+ * @interface ParkingTicketsIndexQuery
1026
+ */
1027
+ export interface ParkingTicketsIndexQuery {
1028
+ /**
1029
+ *
1030
+ * @type {string}
1031
+ * @memberof ParkingTicketsIndexQuery
1032
+ */
1033
+ 'type': ParkingTicketsIndexQueryTypeEnum;
1034
+ /**
1035
+ *
1036
+ * @type {string}
1037
+ * @memberof ParkingTicketsIndexQuery
1038
+ */
1039
+ 'id': string;
1040
+ }
1041
+ export declare const ParkingTicketsIndexQueryTypeEnum: {
1042
+ readonly LogId: "log_id";
1043
+ readonly InviteId: "invite_id";
1044
+ readonly MemberId: "member_id";
1045
+ };
1046
+ export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTypeEnum[keyof typeof ParkingTicketsIndexQueryTypeEnum];
1028
1047
  /**
1029
1048
  *
1030
1049
  * @export
@@ -2356,82 +2375,15 @@ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2356
2375
  /**
2357
2376
  *
2358
2377
  * @export
2359
- * @interface WrappedResponseMembersShowResponse
2378
+ * @interface WrappedResponseMembersShowResponseOrNull
2360
2379
  */
2361
- export interface WrappedResponseMembersShowResponse {
2362
- /**
2363
- *
2364
- * @type {WrappedResponseMembersShowResponseData}
2365
- * @memberof WrappedResponseMembersShowResponse
2366
- */
2367
- 'data': WrappedResponseMembersShowResponseData | null;
2368
- }
2369
- /**
2370
- *
2371
- * @export
2372
- * @interface WrappedResponseMembersShowResponseData
2373
- */
2374
- export interface WrappedResponseMembersShowResponseData {
2375
- /**
2376
- *
2377
- * @type {string}
2378
- * @memberof WrappedResponseMembersShowResponseData
2379
- */
2380
- 'id': string;
2381
- /**
2382
- *
2383
- * @type {string}
2384
- * @memberof WrappedResponseMembersShowResponseData
2385
- */
2386
- 'uid': string;
2387
- /**
2388
- *
2389
- * @type {JsonValue}
2390
- * @memberof WrappedResponseMembersShowResponseData
2391
- */
2392
- 'metadata': JsonValue | null;
2393
- /**
2394
- *
2395
- * @type {string}
2396
- * @memberof WrappedResponseMembersShowResponseData
2397
- */
2398
- 'defaultFloor': string | null;
2399
- /**
2400
- *
2401
- * @type {string}
2402
- * @memberof WrappedResponseMembersShowResponseData
2403
- */
2404
- 'account_id': string | null;
2405
- /**
2406
- *
2407
- * @type {string}
2408
- * @memberof WrappedResponseMembersShowResponseData
2409
- */
2410
- 'created_at': string;
2380
+ export interface WrappedResponseMembersShowResponseOrNull {
2411
2381
  /**
2412
2382
  *
2413
- * @type {string}
2414
- * @memberof WrappedResponseMembersShowResponseData
2415
- */
2416
- 'updated_at': string;
2417
- /**
2418
- *
2419
- * @type {Array<PassData>}
2420
- * @memberof WrappedResponseMembersShowResponseData
2421
- */
2422
- 'passes': Array<PassData>;
2423
- /**
2424
- *
2425
- * @type {Array<TowerData>}
2426
- * @memberof WrappedResponseMembersShowResponseData
2383
+ * @type {Array<MembersShowResponse>}
2384
+ * @memberof WrappedResponseMembersShowResponseOrNull
2427
2385
  */
2428
- 'towers': Array<TowerData>;
2429
- /**
2430
- *
2431
- * @type {boolean}
2432
- * @memberof WrappedResponseMembersShowResponseData
2433
- */
2434
- 'passed_turnstile': boolean;
2386
+ 'data': Array<MembersShowResponse> | null;
2435
2387
  }
2436
2388
  /**
2437
2389
  *
@@ -2493,100 +2445,94 @@ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2493
2445
  /**
2494
2446
  *
2495
2447
  * @export
2496
- * @interface WrappedResponseParkingTicketResult
2448
+ * @interface WrappedResponseParkingTicketData
2497
2449
  */
2498
- export interface WrappedResponseParkingTicketResult {
2450
+ export interface WrappedResponseParkingTicketData {
2499
2451
  /**
2500
2452
  *
2501
- * @type {WrappedResponseParkingTicketResultData}
2502
- * @memberof WrappedResponseParkingTicketResult
2453
+ * @type {WrappedResponseParkingTicketDataData}
2454
+ * @memberof WrappedResponseParkingTicketData
2503
2455
  */
2504
- 'data': WrappedResponseParkingTicketResultData | null;
2456
+ 'data': WrappedResponseParkingTicketDataData | null;
2505
2457
  }
2506
2458
  /**
2507
2459
  *
2508
2460
  * @export
2509
- * @interface WrappedResponseParkingTicketResultArray
2461
+ * @interface WrappedResponseParkingTicketDataArray
2510
2462
  */
2511
- export interface WrappedResponseParkingTicketResultArray {
2463
+ export interface WrappedResponseParkingTicketDataArray {
2512
2464
  /**
2513
2465
  *
2514
- * @type {WrappedResponseParkingTicketResultArrayData}
2515
- * @memberof WrappedResponseParkingTicketResultArray
2466
+ * @type {WrappedResponseParkingTicketDataArrayData}
2467
+ * @memberof WrappedResponseParkingTicketDataArray
2516
2468
  */
2517
- 'data': WrappedResponseParkingTicketResultArrayData | null;
2469
+ 'data': WrappedResponseParkingTicketDataArrayData | null;
2518
2470
  }
2519
2471
  /**
2520
2472
  *
2521
2473
  * @export
2522
- * @interface WrappedResponseParkingTicketResultArrayData
2474
+ * @interface WrappedResponseParkingTicketDataArrayData
2523
2475
  */
2524
- export interface WrappedResponseParkingTicketResultArrayData {
2476
+ export interface WrappedResponseParkingTicketDataArrayData {
2525
2477
  }
2526
2478
  /**
2527
2479
  *
2528
2480
  * @export
2529
- * @interface WrappedResponseParkingTicketResultData
2481
+ * @interface WrappedResponseParkingTicketDataData
2530
2482
  */
2531
- export interface WrappedResponseParkingTicketResultData {
2483
+ export interface WrappedResponseParkingTicketDataData {
2532
2484
  /**
2533
2485
  *
2534
2486
  * @type {number}
2535
- * @memberof WrappedResponseParkingTicketResultData
2487
+ * @memberof WrappedResponseParkingTicketDataData
2536
2488
  */
2537
2489
  'vehicle_type_id': number;
2538
2490
  /**
2539
2491
  *
2540
2492
  * @type {number}
2541
- * @memberof WrappedResponseParkingTicketResultData
2493
+ * @memberof WrappedResponseParkingTicketDataData
2542
2494
  */
2543
2495
  'member_type_id': number;
2544
2496
  /**
2545
2497
  *
2546
2498
  * @type {RateDetail}
2547
- * @memberof WrappedResponseParkingTicketResultData
2499
+ * @memberof WrappedResponseParkingTicketDataData
2548
2500
  */
2549
2501
  'rate_detail': RateDetail;
2550
2502
  /**
2551
2503
  *
2552
2504
  * @type {string}
2553
- * @memberof WrappedResponseParkingTicketResultData
2505
+ * @memberof WrappedResponseParkingTicketDataData
2554
2506
  */
2555
2507
  'parked_at': string;
2556
- /**
2557
- *
2558
- * @type {string}
2559
- * @memberof WrappedResponseParkingTicketResultData
2560
- */
2561
- 'member_id': string;
2562
2508
  /**
2563
2509
  *
2564
2510
  * @type {number}
2565
- * @memberof WrappedResponseParkingTicketResultData
2511
+ * @memberof WrappedResponseParkingTicketDataData
2566
2512
  */
2567
2513
  'total_fee': number;
2568
2514
  /**
2569
2515
  *
2570
2516
  * @type {string}
2571
- * @memberof WrappedResponseParkingTicketResultData
2517
+ * @memberof WrappedResponseParkingTicketDataData
2572
2518
  */
2573
2519
  'vehicle_type': string;
2574
2520
  /**
2575
2521
  *
2576
2522
  * @type {string}
2577
- * @memberof WrappedResponseParkingTicketResultData
2523
+ * @memberof WrappedResponseParkingTicketDataData
2578
2524
  */
2579
2525
  'ticket_number': string;
2580
2526
  /**
2581
2527
  *
2582
2528
  * @type {string}
2583
- * @memberof WrappedResponseParkingTicketResultData
2529
+ * @memberof WrappedResponseParkingTicketDataData
2584
2530
  */
2585
2531
  'plate_number': string;
2586
2532
  /**
2587
2533
  *
2588
2534
  * @type {string}
2589
- * @memberof WrappedResponseParkingTicketResultData
2535
+ * @memberof WrappedResponseParkingTicketDataData
2590
2536
  */
2591
2537
  'id': string;
2592
2538
  }
@@ -2914,11 +2860,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2914
2860
  parkingRedemptionRatesIndex: (id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2915
2861
  /**
2916
2862
  *
2917
- * @param {string} memberId
2863
+ * @param {ParkingTicketsIndexTypeEnum} type
2864
+ * @param {string} id
2918
2865
  * @param {*} [options] Override http request option.
2919
2866
  * @throws {RequiredError}
2920
2867
  */
2921
- parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2868
+ parkingTicketsIndex: (type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2922
2869
  /**
2923
2870
  *
2924
2871
  * @param {string} memberId
@@ -3054,7 +3001,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3054
3001
  * @param {*} [options] Override http request option.
3055
3002
  * @throws {RequiredError}
3056
3003
  */
3057
- membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponse>>;
3004
+ membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponseOrNull>>;
3058
3005
  /**
3059
3006
  *
3060
3007
  * @param {string} id
@@ -3080,11 +3027,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3080
3027
  parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>>;
3081
3028
  /**
3082
3029
  *
3083
- * @param {string} memberId
3030
+ * @param {ParkingTicketsIndexTypeEnum} type
3031
+ * @param {string} id
3084
3032
  * @param {*} [options] Override http request option.
3085
3033
  * @throws {RequiredError}
3086
3034
  */
3087
- parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResultArray>>;
3035
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>>;
3088
3036
  /**
3089
3037
  *
3090
3038
  * @param {string} memberId
@@ -3094,7 +3042,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3094
3042
  * @param {*} [options] Override http request option.
3095
3043
  * @throws {RequiredError}
3096
3044
  */
3097
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
3045
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>>;
3098
3046
  /**
3099
3047
  *
3100
3048
  * @param {string} visitScheduleId
@@ -3220,7 +3168,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3220
3168
  * @param {*} [options] Override http request option.
3221
3169
  * @throws {RequiredError}
3222
3170
  */
3223
- membersShow(id: string, locationId?: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse>;
3171
+ membersShow(id: string, locationId?: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponseOrNull>;
3224
3172
  /**
3225
3173
  *
3226
3174
  * @param {string} id
@@ -3246,11 +3194,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3246
3194
  parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>;
3247
3195
  /**
3248
3196
  *
3249
- * @param {string} memberId
3197
+ * @param {ParkingTicketsIndexTypeEnum} type
3198
+ * @param {string} id
3250
3199
  * @param {*} [options] Override http request option.
3251
3200
  * @throws {RequiredError}
3252
3201
  */
3253
- parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResultArray>;
3202
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray>;
3254
3203
  /**
3255
3204
  *
3256
3205
  * @param {string} memberId
@@ -3260,7 +3209,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3260
3209
  * @param {*} [options] Override http request option.
3261
3210
  * @throws {RequiredError}
3262
3211
  */
3263
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
3212
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketData>;
3264
3213
  /**
3265
3214
  *
3266
3215
  * @param {string} visitScheduleId
@@ -3397,7 +3346,7 @@ export declare class DefaultApi extends BaseAPI {
3397
3346
  * @throws {RequiredError}
3398
3347
  * @memberof DefaultApi
3399
3348
  */
3400
- membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMembersShowResponse, any>>;
3349
+ membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMembersShowResponseOrNull, any>>;
3401
3350
  /**
3402
3351
  *
3403
3352
  * @param {string} id
@@ -3426,12 +3375,13 @@ export declare class DefaultApi extends BaseAPI {
3426
3375
  parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingRedemptionRateResultArray, any>>;
3427
3376
  /**
3428
3377
  *
3429
- * @param {string} memberId
3378
+ * @param {ParkingTicketsIndexTypeEnum} type
3379
+ * @param {string} id
3430
3380
  * @param {*} [options] Override http request option.
3431
3381
  * @throws {RequiredError}
3432
3382
  * @memberof DefaultApi
3433
3383
  */
3434
- parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResultArray, any>>;
3384
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketDataArray, any>>;
3435
3385
  /**
3436
3386
  *
3437
3387
  * @param {string} memberId
@@ -3442,7 +3392,7 @@ export declare class DefaultApi extends BaseAPI {
3442
3392
  * @throws {RequiredError}
3443
3393
  * @memberof DefaultApi
3444
3394
  */
3445
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
3395
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketData, any>>;
3446
3396
  /**
3447
3397
  *
3448
3398
  * @param {string} visitScheduleId
@@ -3501,3 +3451,12 @@ export declare class DefaultApi extends BaseAPI {
3501
3451
  */
3502
3452
  visitorsShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowVisitorResponse, any>>;
3503
3453
  }
3454
+ /**
3455
+ * @export
3456
+ */
3457
+ export declare const ParkingTicketsIndexTypeEnum: {
3458
+ readonly LogId: "log_id";
3459
+ readonly InviteId: "invite_id";
3460
+ readonly MemberId: "member_id";
3461
+ };
3462
+ export type ParkingTicketsIndexTypeEnum = typeof ParkingTicketsIndexTypeEnum[keyof typeof ParkingTicketsIndexTypeEnum];
package/dist/api/api.js CHANGED
@@ -25,13 +25,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = void 0;
28
+ exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
32
32
  const common_1 = require("./common");
33
33
  // @ts-ignore
34
34
  const base_1 = require("./base");
35
+ exports.ParkingTicketsIndexQueryTypeEnum = {
36
+ LogId: 'log_id',
37
+ InviteId: 'invite_id',
38
+ MemberId: 'member_id'
39
+ };
35
40
  exports.PassConsentResponseStatusEnum = {
36
41
  Pending: 'pending',
37
42
  Confirmed: 'confirmed'
@@ -440,15 +445,17 @@ const DefaultApiAxiosParamCreator = function (configuration) {
440
445
  }),
441
446
  /**
442
447
  *
443
- * @param {string} memberId
448
+ * @param {ParkingTicketsIndexTypeEnum} type
449
+ * @param {string} id
444
450
  * @param {*} [options] Override http request option.
445
451
  * @throws {RequiredError}
446
452
  */
447
- parkingTicketsIndex: (memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
448
- // verify required parameter 'memberId' is not null or undefined
449
- (0, common_1.assertParamExists)('parkingTicketsIndex', 'memberId', memberId);
450
- const localVarPath = `/members/{member_id}/parking_tickets`
451
- .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
453
+ parkingTicketsIndex: (type, id, options = {}) => __awaiter(this, void 0, void 0, function* () {
454
+ // verify required parameter 'type' is not null or undefined
455
+ (0, common_1.assertParamExists)('parkingTicketsIndex', 'type', type);
456
+ // verify required parameter 'id' is not null or undefined
457
+ (0, common_1.assertParamExists)('parkingTicketsIndex', 'id', id);
458
+ const localVarPath = `/parking_tickets`;
452
459
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
453
460
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
454
461
  let baseOptions;
@@ -458,6 +465,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
458
465
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
459
466
  const localVarHeaderParameter = {};
460
467
  const localVarQueryParameter = {};
468
+ if (type !== undefined) {
469
+ localVarQueryParameter['type'] = type;
470
+ }
471
+ if (id !== undefined) {
472
+ localVarQueryParameter['id'] = id;
473
+ }
461
474
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
462
475
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
463
476
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -875,13 +888,14 @@ const DefaultApiFp = function (configuration) {
875
888
  },
876
889
  /**
877
890
  *
878
- * @param {string} memberId
891
+ * @param {ParkingTicketsIndexTypeEnum} type
892
+ * @param {string} id
879
893
  * @param {*} [options] Override http request option.
880
894
  * @throws {RequiredError}
881
895
  */
882
- parkingTicketsIndex(memberId, options) {
896
+ parkingTicketsIndex(type, id, options) {
883
897
  return __awaiter(this, void 0, void 0, function* () {
884
- const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
898
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
885
899
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
886
900
  });
887
901
  },
@@ -1114,12 +1128,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1114
1128
  },
1115
1129
  /**
1116
1130
  *
1117
- * @param {string} memberId
1131
+ * @param {ParkingTicketsIndexTypeEnum} type
1132
+ * @param {string} id
1118
1133
  * @param {*} [options] Override http request option.
1119
1134
  * @throws {RequiredError}
1120
1135
  */
1121
- parkingTicketsIndex(memberId, options) {
1122
- return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
1136
+ parkingTicketsIndex(type, id, options) {
1137
+ return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
1123
1138
  },
1124
1139
  /**
1125
1140
  *
@@ -1338,13 +1353,14 @@ class DefaultApi extends base_1.BaseAPI {
1338
1353
  }
1339
1354
  /**
1340
1355
  *
1341
- * @param {string} memberId
1356
+ * @param {ParkingTicketsIndexTypeEnum} type
1357
+ * @param {string} id
1342
1358
  * @param {*} [options] Override http request option.
1343
1359
  * @throws {RequiredError}
1344
1360
  * @memberof DefaultApi
1345
1361
  */
1346
- parkingTicketsIndex(memberId, options) {
1347
- return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
1362
+ parkingTicketsIndex(type, id, options) {
1363
+ return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
1348
1364
  }
1349
1365
  /**
1350
1366
  *
@@ -1432,3 +1448,11 @@ class DefaultApi extends base_1.BaseAPI {
1432
1448
  }
1433
1449
  }
1434
1450
  exports.DefaultApi = DefaultApi;
1451
+ /**
1452
+ * @export
1453
+ */
1454
+ exports.ParkingTicketsIndexTypeEnum = {
1455
+ LogId: 'log_id',
1456
+ InviteId: 'invite_id',
1457
+ MemberId: 'member_id'
1458
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"