ob-bms-sdk 0.0.34 → 0.0.35

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
@@ -47,18 +47,6 @@ export interface CommandData {
47
47
  * @memberof CommandData
48
48
  */
49
49
  'data'?: PrismaJsonValue | null;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof CommandData
54
- */
55
- 'status'?: string;
56
- /**
57
- *
58
- * @type {PrismaJsonValue}
59
- * @memberof CommandData
60
- */
61
- 'result'?: PrismaJsonValue | null;
62
50
  /**
63
51
  *
64
52
  * @type {string}
@@ -767,21 +755,52 @@ export interface ParkingLotData {
767
755
  /**
768
756
  *
769
757
  * @export
770
- * @interface PassConsentResponse
758
+ * @interface ParkingTicketResult
771
759
  */
772
- export interface PassConsentResponse {
760
+ export interface ParkingTicketResult {
773
761
  /**
774
762
  *
775
763
  * @type {string}
776
- * @memberof PassConsentResponse
764
+ * @memberof ParkingTicketResult
777
765
  */
778
766
  'id': string;
767
+ /**
768
+ *
769
+ * @type {string}
770
+ * @memberof ParkingTicketResult
771
+ */
772
+ 'plate_number': string;
773
+ /**
774
+ *
775
+ * @type {string}
776
+ * @memberof ParkingTicketResult
777
+ */
778
+ 'member_id': string;
779
+ /**
780
+ *
781
+ * @type {FindMemberResultCreatedAt}
782
+ * @memberof ParkingTicketResult
783
+ */
784
+ 'created_at': FindMemberResultCreatedAt;
785
+ /**
786
+ *
787
+ * @type {FindMemberResultCreatedAt}
788
+ * @memberof ParkingTicketResult
789
+ */
790
+ 'updated_at': FindMemberResultCreatedAt;
791
+ }
792
+ /**
793
+ *
794
+ * @export
795
+ * @interface PassConsentResponse
796
+ */
797
+ export interface PassConsentResponse {
779
798
  /**
780
799
  *
781
800
  * @type {string}
782
801
  * @memberof PassConsentResponse
783
802
  */
784
- 'status': PassConsentResponseStatusEnum;
803
+ 'id': string;
785
804
  /**
786
805
  *
787
806
  * @type {string}
@@ -824,6 +843,12 @@ export interface PassConsentResponse {
824
843
  * @memberof PassConsentResponse
825
844
  */
826
845
  'issuer_id': string;
846
+ /**
847
+ *
848
+ * @type {string}
849
+ * @memberof PassConsentResponse
850
+ */
851
+ 'status': PassConsentResponseStatusEnum;
827
852
  /**
828
853
  *
829
854
  * @type {string}
@@ -1666,18 +1691,6 @@ export interface WrappedResponseCommandsCreateResponseData {
1666
1691
  * @memberof WrappedResponseCommandsCreateResponseData
1667
1692
  */
1668
1693
  'data'?: PrismaJsonValue | null;
1669
- /**
1670
- *
1671
- * @type {string}
1672
- * @memberof WrappedResponseCommandsCreateResponseData
1673
- */
1674
- 'status'?: string;
1675
- /**
1676
- *
1677
- * @type {PrismaJsonValue}
1678
- * @memberof WrappedResponseCommandsCreateResponseData
1679
- */
1680
- 'result'?: PrismaJsonValue | null;
1681
1694
  /**
1682
1695
  *
1683
1696
  * @type {string}
@@ -1939,6 +1952,56 @@ export interface WrappedResponseParkingLotsIndexResponse {
1939
1952
  */
1940
1953
  export interface WrappedResponseParkingLotsIndexResponseData {
1941
1954
  }
1955
+ /**
1956
+ *
1957
+ * @export
1958
+ * @interface WrappedResponseParkingTicketResult
1959
+ */
1960
+ export interface WrappedResponseParkingTicketResult {
1961
+ /**
1962
+ *
1963
+ * @type {WrappedResponseParkingTicketResultData}
1964
+ * @memberof WrappedResponseParkingTicketResult
1965
+ */
1966
+ 'data': WrappedResponseParkingTicketResultData | null;
1967
+ }
1968
+ /**
1969
+ *
1970
+ * @export
1971
+ * @interface WrappedResponseParkingTicketResultData
1972
+ */
1973
+ export interface WrappedResponseParkingTicketResultData {
1974
+ /**
1975
+ *
1976
+ * @type {string}
1977
+ * @memberof WrappedResponseParkingTicketResultData
1978
+ */
1979
+ 'id': string;
1980
+ /**
1981
+ *
1982
+ * @type {string}
1983
+ * @memberof WrappedResponseParkingTicketResultData
1984
+ */
1985
+ 'plate_number': string;
1986
+ /**
1987
+ *
1988
+ * @type {string}
1989
+ * @memberof WrappedResponseParkingTicketResultData
1990
+ */
1991
+ 'member_id': string;
1992
+ /**
1993
+ *
1994
+ * @type {FindMemberResultCreatedAt}
1995
+ * @memberof WrappedResponseParkingTicketResultData
1996
+ */
1997
+ 'created_at': FindMemberResultCreatedAt;
1998
+ /**
1999
+ *
2000
+ * @type {FindMemberResultCreatedAt}
2001
+ * @memberof WrappedResponseParkingTicketResultData
2002
+ */
2003
+ 'updated_at': FindMemberResultCreatedAt;
2004
+ }
1942
2005
  /**
1943
2006
  *
1944
2007
  * @export
@@ -1964,12 +2027,6 @@ export interface WrappedResponsePassConsentResponseData {
1964
2027
  * @memberof WrappedResponsePassConsentResponseData
1965
2028
  */
1966
2029
  'id': string;
1967
- /**
1968
- *
1969
- * @type {string}
1970
- * @memberof WrappedResponsePassConsentResponseData
1971
- */
1972
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
1973
2030
  /**
1974
2031
  *
1975
2032
  * @type {string}
@@ -2012,6 +2069,12 @@ export interface WrappedResponsePassConsentResponseData {
2012
2069
  * @memberof WrappedResponsePassConsentResponseData
2013
2070
  */
2014
2071
  'issuer_id': string;
2072
+ /**
2073
+ *
2074
+ * @type {string}
2075
+ * @memberof WrappedResponsePassConsentResponseData
2076
+ */
2077
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2015
2078
  /**
2016
2079
  *
2017
2080
  * @type {string}
@@ -2502,6 +2565,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2502
2565
 
2503
2566
 
2504
2567
 
2568
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2569
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2570
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2571
+
2572
+ return {
2573
+ url: toPathString(localVarUrlObj),
2574
+ options: localVarRequestOptions,
2575
+ };
2576
+ },
2577
+ /**
2578
+ *
2579
+ * @param {string} memberId
2580
+ * @param {*} [options] Override http request option.
2581
+ * @throws {RequiredError}
2582
+ */
2583
+ parkingTicketsIndex: async (memberId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2584
+ // verify required parameter 'memberId' is not null or undefined
2585
+ assertParamExists('parkingTicketsIndex', 'memberId', memberId)
2586
+ const localVarPath = `/members/{member_id}/parking_tickets`
2587
+ .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
2588
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2589
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2590
+ let baseOptions;
2591
+ if (configuration) {
2592
+ baseOptions = configuration.baseOptions;
2593
+ }
2594
+
2595
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2596
+ const localVarHeaderParameter = {} as any;
2597
+ const localVarQueryParameter = {} as any;
2598
+
2599
+
2600
+
2505
2601
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2506
2602
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2507
2603
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2823,6 +2919,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2823
2919
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
2824
2920
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2825
2921
  },
2922
+ /**
2923
+ *
2924
+ * @param {string} memberId
2925
+ * @param {*} [options] Override http request option.
2926
+ * @throws {RequiredError}
2927
+ */
2928
+ async parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>> {
2929
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
2930
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2931
+ },
2826
2932
  /**
2827
2933
  *
2828
2934
  * @param {string} id
@@ -2979,6 +3085,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
2979
3085
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
2980
3086
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
2981
3087
  },
3088
+ /**
3089
+ *
3090
+ * @param {string} memberId
3091
+ * @param {*} [options] Override http request option.
3092
+ * @throws {RequiredError}
3093
+ */
3094
+ parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult> {
3095
+ return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
3096
+ },
2982
3097
  /**
2983
3098
  *
2984
3099
  * @param {string} id
@@ -3147,6 +3262,17 @@ export class DefaultApi extends BaseAPI {
3147
3262
  return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
3148
3263
  }
3149
3264
 
3265
+ /**
3266
+ *
3267
+ * @param {string} memberId
3268
+ * @param {*} [options] Override http request option.
3269
+ * @throws {RequiredError}
3270
+ * @memberof DefaultApi
3271
+ */
3272
+ public parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig) {
3273
+ return DefaultApiFp(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
3274
+ }
3275
+
3150
3276
  /**
3151
3277
  *
3152
3278
  * @param {string} id
package/dist/api/api.d.ts CHANGED
@@ -37,18 +37,6 @@ export interface CommandData {
37
37
  * @memberof CommandData
38
38
  */
39
39
  'data'?: PrismaJsonValue | null;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof CommandData
44
- */
45
- 'status'?: string;
46
- /**
47
- *
48
- * @type {PrismaJsonValue}
49
- * @memberof CommandData
50
- */
51
- 'result'?: PrismaJsonValue | null;
52
40
  /**
53
41
  *
54
42
  * @type {string}
@@ -765,21 +753,52 @@ export interface ParkingLotData {
765
753
  /**
766
754
  *
767
755
  * @export
768
- * @interface PassConsentResponse
756
+ * @interface ParkingTicketResult
769
757
  */
770
- export interface PassConsentResponse {
758
+ export interface ParkingTicketResult {
771
759
  /**
772
760
  *
773
761
  * @type {string}
774
- * @memberof PassConsentResponse
762
+ * @memberof ParkingTicketResult
775
763
  */
776
764
  'id': string;
765
+ /**
766
+ *
767
+ * @type {string}
768
+ * @memberof ParkingTicketResult
769
+ */
770
+ 'plate_number': string;
771
+ /**
772
+ *
773
+ * @type {string}
774
+ * @memberof ParkingTicketResult
775
+ */
776
+ 'member_id': string;
777
+ /**
778
+ *
779
+ * @type {FindMemberResultCreatedAt}
780
+ * @memberof ParkingTicketResult
781
+ */
782
+ 'created_at': FindMemberResultCreatedAt;
783
+ /**
784
+ *
785
+ * @type {FindMemberResultCreatedAt}
786
+ * @memberof ParkingTicketResult
787
+ */
788
+ 'updated_at': FindMemberResultCreatedAt;
789
+ }
790
+ /**
791
+ *
792
+ * @export
793
+ * @interface PassConsentResponse
794
+ */
795
+ export interface PassConsentResponse {
777
796
  /**
778
797
  *
779
798
  * @type {string}
780
799
  * @memberof PassConsentResponse
781
800
  */
782
- 'status': PassConsentResponseStatusEnum;
801
+ 'id': string;
783
802
  /**
784
803
  *
785
804
  * @type {string}
@@ -822,6 +841,12 @@ export interface PassConsentResponse {
822
841
  * @memberof PassConsentResponse
823
842
  */
824
843
  'issuer_id': string;
844
+ /**
845
+ *
846
+ * @type {string}
847
+ * @memberof PassConsentResponse
848
+ */
849
+ 'status': PassConsentResponseStatusEnum;
825
850
  /**
826
851
  *
827
852
  * @type {string}
@@ -1655,18 +1680,6 @@ export interface WrappedResponseCommandsCreateResponseData {
1655
1680
  * @memberof WrappedResponseCommandsCreateResponseData
1656
1681
  */
1657
1682
  'data'?: PrismaJsonValue | null;
1658
- /**
1659
- *
1660
- * @type {string}
1661
- * @memberof WrappedResponseCommandsCreateResponseData
1662
- */
1663
- 'status'?: string;
1664
- /**
1665
- *
1666
- * @type {PrismaJsonValue}
1667
- * @memberof WrappedResponseCommandsCreateResponseData
1668
- */
1669
- 'result'?: PrismaJsonValue | null;
1670
1683
  /**
1671
1684
  *
1672
1685
  * @type {string}
@@ -1925,6 +1938,56 @@ export interface WrappedResponseParkingLotsIndexResponse {
1925
1938
  */
1926
1939
  export interface WrappedResponseParkingLotsIndexResponseData {
1927
1940
  }
1941
+ /**
1942
+ *
1943
+ * @export
1944
+ * @interface WrappedResponseParkingTicketResult
1945
+ */
1946
+ export interface WrappedResponseParkingTicketResult {
1947
+ /**
1948
+ *
1949
+ * @type {WrappedResponseParkingTicketResultData}
1950
+ * @memberof WrappedResponseParkingTicketResult
1951
+ */
1952
+ 'data': WrappedResponseParkingTicketResultData | null;
1953
+ }
1954
+ /**
1955
+ *
1956
+ * @export
1957
+ * @interface WrappedResponseParkingTicketResultData
1958
+ */
1959
+ export interface WrappedResponseParkingTicketResultData {
1960
+ /**
1961
+ *
1962
+ * @type {string}
1963
+ * @memberof WrappedResponseParkingTicketResultData
1964
+ */
1965
+ 'id': string;
1966
+ /**
1967
+ *
1968
+ * @type {string}
1969
+ * @memberof WrappedResponseParkingTicketResultData
1970
+ */
1971
+ 'plate_number': string;
1972
+ /**
1973
+ *
1974
+ * @type {string}
1975
+ * @memberof WrappedResponseParkingTicketResultData
1976
+ */
1977
+ 'member_id': string;
1978
+ /**
1979
+ *
1980
+ * @type {FindMemberResultCreatedAt}
1981
+ * @memberof WrappedResponseParkingTicketResultData
1982
+ */
1983
+ 'created_at': FindMemberResultCreatedAt;
1984
+ /**
1985
+ *
1986
+ * @type {FindMemberResultCreatedAt}
1987
+ * @memberof WrappedResponseParkingTicketResultData
1988
+ */
1989
+ 'updated_at': FindMemberResultCreatedAt;
1990
+ }
1928
1991
  /**
1929
1992
  *
1930
1993
  * @export
@@ -1950,12 +2013,6 @@ export interface WrappedResponsePassConsentResponseData {
1950
2013
  * @memberof WrappedResponsePassConsentResponseData
1951
2014
  */
1952
2015
  'id': string;
1953
- /**
1954
- *
1955
- * @type {string}
1956
- * @memberof WrappedResponsePassConsentResponseData
1957
- */
1958
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
1959
2016
  /**
1960
2017
  *
1961
2018
  * @type {string}
@@ -1998,6 +2055,12 @@ export interface WrappedResponsePassConsentResponseData {
1998
2055
  * @memberof WrappedResponsePassConsentResponseData
1999
2056
  */
2000
2057
  'issuer_id': string;
2058
+ /**
2059
+ *
2060
+ * @type {string}
2061
+ * @memberof WrappedResponsePassConsentResponseData
2062
+ */
2063
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2001
2064
  /**
2002
2065
  *
2003
2066
  * @type {string}
@@ -2230,6 +2293,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2230
2293
  * @throws {RequiredError}
2231
2294
  */
2232
2295
  parkingLotsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2296
+ /**
2297
+ *
2298
+ * @param {string} memberId
2299
+ * @param {*} [options] Override http request option.
2300
+ * @throws {RequiredError}
2301
+ */
2302
+ parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2233
2303
  /**
2234
2304
  *
2235
2305
  * @param {string} id
@@ -2346,6 +2416,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2346
2416
  * @throws {RequiredError}
2347
2417
  */
2348
2418
  parkingLotsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingLotsIndexResponse>>;
2419
+ /**
2420
+ *
2421
+ * @param {string} memberId
2422
+ * @param {*} [options] Override http request option.
2423
+ * @throws {RequiredError}
2424
+ */
2425
+ parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
2349
2426
  /**
2350
2427
  *
2351
2428
  * @param {string} id
@@ -2462,6 +2539,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2462
2539
  * @throws {RequiredError}
2463
2540
  */
2464
2541
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse>;
2542
+ /**
2543
+ *
2544
+ * @param {string} memberId
2545
+ * @param {*} [options] Override http request option.
2546
+ * @throws {RequiredError}
2547
+ */
2548
+ parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
2465
2549
  /**
2466
2550
  *
2467
2551
  * @param {string} id
@@ -2589,6 +2673,14 @@ export declare class DefaultApi extends BaseAPI {
2589
2673
  * @memberof DefaultApi
2590
2674
  */
2591
2675
  parkingLotsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingLotsIndexResponse, any>>;
2676
+ /**
2677
+ *
2678
+ * @param {string} memberId
2679
+ * @param {*} [options] Override http request option.
2680
+ * @throws {RequiredError}
2681
+ * @memberof DefaultApi
2682
+ */
2683
+ parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
2592
2684
  /**
2593
2685
  *
2594
2686
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -331,6 +331,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
331
331
  options: localVarRequestOptions,
332
332
  };
333
333
  }),
334
+ /**
335
+ *
336
+ * @param {string} memberId
337
+ * @param {*} [options] Override http request option.
338
+ * @throws {RequiredError}
339
+ */
340
+ parkingTicketsIndex: (memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
341
+ // verify required parameter 'memberId' is not null or undefined
342
+ (0, common_1.assertParamExists)('parkingTicketsIndex', 'memberId', memberId);
343
+ const localVarPath = `/members/{member_id}/parking_tickets`
344
+ .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
345
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
346
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
347
+ let baseOptions;
348
+ if (configuration) {
349
+ baseOptions = configuration.baseOptions;
350
+ }
351
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
352
+ const localVarHeaderParameter = {};
353
+ const localVarQueryParameter = {};
354
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
355
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
356
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
357
+ return {
358
+ url: (0, common_1.toPathString)(localVarUrlObj),
359
+ options: localVarRequestOptions,
360
+ };
361
+ }),
334
362
  /**
335
363
  *
336
364
  * @param {string} id
@@ -628,6 +656,18 @@ const DefaultApiFp = function (configuration) {
628
656
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
629
657
  });
630
658
  },
659
+ /**
660
+ *
661
+ * @param {string} memberId
662
+ * @param {*} [options] Override http request option.
663
+ * @throws {RequiredError}
664
+ */
665
+ parkingTicketsIndex(memberId, options) {
666
+ return __awaiter(this, void 0, void 0, function* () {
667
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
668
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
669
+ });
670
+ },
631
671
  /**
632
672
  *
633
673
  * @param {string} id
@@ -796,6 +836,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
796
836
  parkingLotsIndex(options) {
797
837
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
798
838
  },
839
+ /**
840
+ *
841
+ * @param {string} memberId
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ parkingTicketsIndex(memberId, options) {
846
+ return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
847
+ },
799
848
  /**
800
849
  *
801
850
  * @param {string} id
@@ -955,6 +1004,16 @@ class DefaultApi extends base_1.BaseAPI {
955
1004
  parkingLotsIndex(options) {
956
1005
  return (0, exports.DefaultApiFp)(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
957
1006
  }
1007
+ /**
1008
+ *
1009
+ * @param {string} memberId
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ * @memberof DefaultApi
1013
+ */
1014
+ parkingTicketsIndex(memberId, options) {
1015
+ return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
1016
+ }
958
1017
  /**
959
1018
  *
960
1019
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"
package/test.ts DELETED
@@ -1,15 +0,0 @@
1
- import * as OB_BMS_SDK from './dist';
2
-
3
- // OB_BMS_SDK.setAcessToken('789');
4
- OB_BMS_SDK.setBaseUrl('http://dev.glorymtel.xyz/ob-bms');
5
- OB_BMS_SDK.setAcessToken(
6
- 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOmFjY291bnQiLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJyZWFkIiwidXBkYXRlIiwiZGVsZXRlIl0sInJlc291cmNlX3R5cGUiOiJhY2NvdW50IiwicmVzb3VyY2UiOnsiaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjI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GUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.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
- })();