ob-bms-sdk 0.0.53 → 0.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/api.ts CHANGED
@@ -413,56 +413,6 @@ export interface FetchParkingResult {
413
413
  */
414
414
  'error': Array<SyncResultSyncJobErrorInner>;
415
415
  }
416
- /**
417
- *
418
- * @export
419
- * @interface FindMemberResult
420
- */
421
- export interface FindMemberResult {
422
- /**
423
- *
424
- * @type {string}
425
- * @memberof FindMemberResult
426
- */
427
- 'id': string;
428
- /**
429
- *
430
- * @type {string}
431
- * @memberof FindMemberResult
432
- */
433
- 'uid': string;
434
- /**
435
- *
436
- * @type {string}
437
- * @memberof FindMemberResult
438
- */
439
- 'account_id'?: string | null;
440
- /**
441
- *
442
- * @type {JsonValue}
443
- * @memberof FindMemberResult
444
- */
445
- 'metadata'?: JsonValue | null;
446
- /**
447
- *
448
- * @type {FindMemberResultCreatedAt}
449
- * @memberof FindMemberResult
450
- */
451
- 'created_at': FindMemberResultCreatedAt;
452
- /**
453
- *
454
- * @type {FindMemberResultCreatedAt}
455
- * @memberof FindMemberResult
456
- */
457
- 'updated_at': FindMemberResultCreatedAt;
458
- }
459
- /**
460
- *
461
- * @export
462
- * @interface FindMemberResultCreatedAt
463
- */
464
- export interface FindMemberResultCreatedAt {
465
- }
466
416
  /**
467
417
  *
468
418
  * @export
@@ -710,6 +660,61 @@ export interface LocationPasses {
710
660
  */
711
661
  'updated_at': string;
712
662
  }
663
+ /**
664
+ *
665
+ * @export
666
+ * @interface MemberIndexInterface
667
+ */
668
+ export interface MemberIndexInterface {
669
+ /**
670
+ *
671
+ * @type {string}
672
+ * @memberof MemberIndexInterface
673
+ */
674
+ 'id'?: string;
675
+ /**
676
+ *
677
+ * @type {string}
678
+ * @memberof MemberIndexInterface
679
+ */
680
+ 'uid'?: string;
681
+ /**
682
+ *
683
+ * @type {PrismaJsonValue}
684
+ * @memberof MemberIndexInterface
685
+ */
686
+ 'metadata'?: PrismaJsonValue | null;
687
+ /**
688
+ *
689
+ * @type {string}
690
+ * @memberof MemberIndexInterface
691
+ */
692
+ 'account_id'?: string | null;
693
+ /**
694
+ *
695
+ * @type {string}
696
+ * @memberof MemberIndexInterface
697
+ */
698
+ 'created_at'?: string;
699
+ /**
700
+ *
701
+ * @type {string}
702
+ * @memberof MemberIndexInterface
703
+ */
704
+ 'updated_at'?: string;
705
+ /**
706
+ *
707
+ * @type {string}
708
+ * @memberof MemberIndexInterface
709
+ */
710
+ 'default_floor'?: string | null;
711
+ /**
712
+ *
713
+ * @type {boolean}
714
+ * @memberof MemberIndexInterface
715
+ */
716
+ 'redemptionAuthorized': boolean;
717
+ }
713
718
  /**
714
719
  *
715
720
  * @export
@@ -1052,7 +1057,7 @@ export interface PassConsentResponse {
1052
1057
  * @type {string}
1053
1058
  * @memberof PassConsentResponse
1054
1059
  */
1055
- 'status': PassConsentResponseStatusEnum;
1060
+ 'uid': string | null;
1056
1061
  /**
1057
1062
  *
1058
1063
  * @type {string}
@@ -1070,7 +1075,7 @@ export interface PassConsentResponse {
1070
1075
  * @type {string}
1071
1076
  * @memberof PassConsentResponse
1072
1077
  */
1073
- 'uid': string | null;
1078
+ 'status': PassConsentResponseStatusEnum;
1074
1079
  /**
1075
1080
  *
1076
1081
  * @type {string}
@@ -1879,16 +1884,16 @@ export interface VisitorSchedule {
1879
1884
  'floor_id': string;
1880
1885
  /**
1881
1886
  *
1882
- * @type {FindMemberResultCreatedAt}
1887
+ * @type {VisitorScheduleFrom}
1883
1888
  * @memberof VisitorSchedule
1884
1889
  */
1885
- 'from': FindMemberResultCreatedAt;
1890
+ 'from': VisitorScheduleFrom;
1886
1891
  /**
1887
1892
  *
1888
- * @type {FindMemberResultCreatedAt}
1893
+ * @type {VisitorScheduleFrom}
1889
1894
  * @memberof VisitorSchedule
1890
1895
  */
1891
- 'to': FindMemberResultCreatedAt;
1896
+ 'to': VisitorScheduleFrom;
1892
1897
  /**
1893
1898
  *
1894
1899
  * @type {object}
@@ -1896,6 +1901,13 @@ export interface VisitorSchedule {
1896
1901
  */
1897
1902
  'repetition'?: object;
1898
1903
  }
1904
+ /**
1905
+ *
1906
+ * @export
1907
+ * @interface VisitorScheduleFrom
1908
+ */
1909
+ export interface VisitorScheduleFrom {
1910
+ }
1899
1911
  /**
1900
1912
  *
1901
1913
  * @export
@@ -2247,42 +2259,42 @@ export interface WrappedResponseFetchParkingResultData {
2247
2259
  /**
2248
2260
  *
2249
2261
  * @export
2250
- * @interface WrappedResponseFindMemberResultArrayOrNull
2262
+ * @interface WrappedResponseLocationIndexResponse
2251
2263
  */
2252
- export interface WrappedResponseFindMemberResultArrayOrNull {
2264
+ export interface WrappedResponseLocationIndexResponse {
2253
2265
  /**
2254
2266
  *
2255
- * @type {WrappedResponseFindMemberResultArrayOrNullData}
2256
- * @memberof WrappedResponseFindMemberResultArrayOrNull
2267
+ * @type {WrappedResponseLocationIndexResponseData}
2268
+ * @memberof WrappedResponseLocationIndexResponse
2257
2269
  */
2258
- 'data': WrappedResponseFindMemberResultArrayOrNullData | null;
2270
+ 'data': WrappedResponseLocationIndexResponseData | null;
2259
2271
  }
2260
2272
  /**
2261
2273
  *
2262
2274
  * @export
2263
- * @interface WrappedResponseFindMemberResultArrayOrNullData
2275
+ * @interface WrappedResponseLocationIndexResponseData
2264
2276
  */
2265
- export interface WrappedResponseFindMemberResultArrayOrNullData {
2277
+ export interface WrappedResponseLocationIndexResponseData {
2266
2278
  }
2267
2279
  /**
2268
2280
  *
2269
2281
  * @export
2270
- * @interface WrappedResponseLocationIndexResponse
2282
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNull
2271
2283
  */
2272
- export interface WrappedResponseLocationIndexResponse {
2284
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
2273
2285
  /**
2274
2286
  *
2275
- * @type {WrappedResponseLocationIndexResponseData}
2276
- * @memberof WrappedResponseLocationIndexResponse
2287
+ * @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
2288
+ * @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
2277
2289
  */
2278
- 'data': WrappedResponseLocationIndexResponseData | null;
2290
+ 'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
2279
2291
  }
2280
2292
  /**
2281
2293
  *
2282
2294
  * @export
2283
- * @interface WrappedResponseLocationIndexResponseData
2295
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
2284
2296
  */
2285
- export interface WrappedResponseLocationIndexResponseData {
2297
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2286
2298
  }
2287
2299
  /**
2288
2300
  *
@@ -2554,7 +2566,7 @@ export interface WrappedResponsePassConsentResponseData {
2554
2566
  * @type {string}
2555
2567
  * @memberof WrappedResponsePassConsentResponseData
2556
2568
  */
2557
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2569
+ 'uid': string | null;
2558
2570
  /**
2559
2571
  *
2560
2572
  * @type {string}
@@ -2572,7 +2584,7 @@ export interface WrappedResponsePassConsentResponseData {
2572
2584
  * @type {string}
2573
2585
  * @memberof WrappedResponsePassConsentResponseData
2574
2586
  */
2575
- 'uid': string | null;
2587
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2576
2588
  /**
2577
2589
  *
2578
2590
  * @type {string}
@@ -3576,7 +3588,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3576
3588
  * @param {*} [options] Override http request option.
3577
3589
  * @throws {RequiredError}
3578
3590
  */
3579
- async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3591
+ async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>> {
3580
3592
  const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
3581
3593
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3582
3594
  },
@@ -3792,7 +3804,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3792
3804
  * @param {*} [options] Override http request option.
3793
3805
  * @throws {RequiredError}
3794
3806
  */
3795
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3807
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull> {
3796
3808
  return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
3797
3809
  },
3798
3810
  /**
package/dist/api/api.d.ts CHANGED
@@ -411,56 +411,6 @@ export interface FetchParkingResult {
411
411
  */
412
412
  'error': Array<SyncResultSyncJobErrorInner>;
413
413
  }
414
- /**
415
- *
416
- * @export
417
- * @interface FindMemberResult
418
- */
419
- export interface FindMemberResult {
420
- /**
421
- *
422
- * @type {string}
423
- * @memberof FindMemberResult
424
- */
425
- 'id': string;
426
- /**
427
- *
428
- * @type {string}
429
- * @memberof FindMemberResult
430
- */
431
- 'uid': string;
432
- /**
433
- *
434
- * @type {string}
435
- * @memberof FindMemberResult
436
- */
437
- 'account_id'?: string | null;
438
- /**
439
- *
440
- * @type {JsonValue}
441
- * @memberof FindMemberResult
442
- */
443
- 'metadata'?: JsonValue | null;
444
- /**
445
- *
446
- * @type {FindMemberResultCreatedAt}
447
- * @memberof FindMemberResult
448
- */
449
- 'created_at': FindMemberResultCreatedAt;
450
- /**
451
- *
452
- * @type {FindMemberResultCreatedAt}
453
- * @memberof FindMemberResult
454
- */
455
- 'updated_at': FindMemberResultCreatedAt;
456
- }
457
- /**
458
- *
459
- * @export
460
- * @interface FindMemberResultCreatedAt
461
- */
462
- export interface FindMemberResultCreatedAt {
463
- }
464
414
  /**
465
415
  *
466
416
  * @export
@@ -708,6 +658,61 @@ export interface LocationPasses {
708
658
  */
709
659
  'updated_at': string;
710
660
  }
661
+ /**
662
+ *
663
+ * @export
664
+ * @interface MemberIndexInterface
665
+ */
666
+ export interface MemberIndexInterface {
667
+ /**
668
+ *
669
+ * @type {string}
670
+ * @memberof MemberIndexInterface
671
+ */
672
+ 'id'?: string;
673
+ /**
674
+ *
675
+ * @type {string}
676
+ * @memberof MemberIndexInterface
677
+ */
678
+ 'uid'?: string;
679
+ /**
680
+ *
681
+ * @type {PrismaJsonValue}
682
+ * @memberof MemberIndexInterface
683
+ */
684
+ 'metadata'?: PrismaJsonValue | null;
685
+ /**
686
+ *
687
+ * @type {string}
688
+ * @memberof MemberIndexInterface
689
+ */
690
+ 'account_id'?: string | null;
691
+ /**
692
+ *
693
+ * @type {string}
694
+ * @memberof MemberIndexInterface
695
+ */
696
+ 'created_at'?: string;
697
+ /**
698
+ *
699
+ * @type {string}
700
+ * @memberof MemberIndexInterface
701
+ */
702
+ 'updated_at'?: string;
703
+ /**
704
+ *
705
+ * @type {string}
706
+ * @memberof MemberIndexInterface
707
+ */
708
+ 'default_floor'?: string | null;
709
+ /**
710
+ *
711
+ * @type {boolean}
712
+ * @memberof MemberIndexInterface
713
+ */
714
+ 'redemptionAuthorized': boolean;
715
+ }
711
716
  /**
712
717
  *
713
718
  * @export
@@ -1050,7 +1055,7 @@ export interface PassConsentResponse {
1050
1055
  * @type {string}
1051
1056
  * @memberof PassConsentResponse
1052
1057
  */
1053
- 'status': PassConsentResponseStatusEnum;
1058
+ 'uid': string | null;
1054
1059
  /**
1055
1060
  *
1056
1061
  * @type {string}
@@ -1068,7 +1073,7 @@ export interface PassConsentResponse {
1068
1073
  * @type {string}
1069
1074
  * @memberof PassConsentResponse
1070
1075
  */
1071
- 'uid': string | null;
1076
+ 'status': PassConsentResponseStatusEnum;
1072
1077
  /**
1073
1078
  *
1074
1079
  * @type {string}
@@ -1868,16 +1873,16 @@ export interface VisitorSchedule {
1868
1873
  'floor_id': string;
1869
1874
  /**
1870
1875
  *
1871
- * @type {FindMemberResultCreatedAt}
1876
+ * @type {VisitorScheduleFrom}
1872
1877
  * @memberof VisitorSchedule
1873
1878
  */
1874
- 'from': FindMemberResultCreatedAt;
1879
+ 'from': VisitorScheduleFrom;
1875
1880
  /**
1876
1881
  *
1877
- * @type {FindMemberResultCreatedAt}
1882
+ * @type {VisitorScheduleFrom}
1878
1883
  * @memberof VisitorSchedule
1879
1884
  */
1880
- 'to': FindMemberResultCreatedAt;
1885
+ 'to': VisitorScheduleFrom;
1881
1886
  /**
1882
1887
  *
1883
1888
  * @type {object}
@@ -1885,6 +1890,13 @@ export interface VisitorSchedule {
1885
1890
  */
1886
1891
  'repetition'?: object;
1887
1892
  }
1893
+ /**
1894
+ *
1895
+ * @export
1896
+ * @interface VisitorScheduleFrom
1897
+ */
1898
+ export interface VisitorScheduleFrom {
1899
+ }
1888
1900
  /**
1889
1901
  *
1890
1902
  * @export
@@ -2236,42 +2248,42 @@ export interface WrappedResponseFetchParkingResultData {
2236
2248
  /**
2237
2249
  *
2238
2250
  * @export
2239
- * @interface WrappedResponseFindMemberResultArrayOrNull
2251
+ * @interface WrappedResponseLocationIndexResponse
2240
2252
  */
2241
- export interface WrappedResponseFindMemberResultArrayOrNull {
2253
+ export interface WrappedResponseLocationIndexResponse {
2242
2254
  /**
2243
2255
  *
2244
- * @type {WrappedResponseFindMemberResultArrayOrNullData}
2245
- * @memberof WrappedResponseFindMemberResultArrayOrNull
2256
+ * @type {WrappedResponseLocationIndexResponseData}
2257
+ * @memberof WrappedResponseLocationIndexResponse
2246
2258
  */
2247
- 'data': WrappedResponseFindMemberResultArrayOrNullData | null;
2259
+ 'data': WrappedResponseLocationIndexResponseData | null;
2248
2260
  }
2249
2261
  /**
2250
2262
  *
2251
2263
  * @export
2252
- * @interface WrappedResponseFindMemberResultArrayOrNullData
2264
+ * @interface WrappedResponseLocationIndexResponseData
2253
2265
  */
2254
- export interface WrappedResponseFindMemberResultArrayOrNullData {
2266
+ export interface WrappedResponseLocationIndexResponseData {
2255
2267
  }
2256
2268
  /**
2257
2269
  *
2258
2270
  * @export
2259
- * @interface WrappedResponseLocationIndexResponse
2271
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNull
2260
2272
  */
2261
- export interface WrappedResponseLocationIndexResponse {
2273
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNull {
2262
2274
  /**
2263
2275
  *
2264
- * @type {WrappedResponseLocationIndexResponseData}
2265
- * @memberof WrappedResponseLocationIndexResponse
2276
+ * @type {WrappedResponseMemberIndexInterfaceArrayOrNullData}
2277
+ * @memberof WrappedResponseMemberIndexInterfaceArrayOrNull
2266
2278
  */
2267
- 'data': WrappedResponseLocationIndexResponseData | null;
2279
+ 'data': WrappedResponseMemberIndexInterfaceArrayOrNullData | null;
2268
2280
  }
2269
2281
  /**
2270
2282
  *
2271
2283
  * @export
2272
- * @interface WrappedResponseLocationIndexResponseData
2284
+ * @interface WrappedResponseMemberIndexInterfaceArrayOrNullData
2273
2285
  */
2274
- export interface WrappedResponseLocationIndexResponseData {
2286
+ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
2275
2287
  }
2276
2288
  /**
2277
2289
  *
@@ -2540,7 +2552,7 @@ export interface WrappedResponsePassConsentResponseData {
2540
2552
  * @type {string}
2541
2553
  * @memberof WrappedResponsePassConsentResponseData
2542
2554
  */
2543
- 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2555
+ 'uid': string | null;
2544
2556
  /**
2545
2557
  *
2546
2558
  * @type {string}
@@ -2558,7 +2570,7 @@ export interface WrappedResponsePassConsentResponseData {
2558
2570
  * @type {string}
2559
2571
  * @memberof WrappedResponsePassConsentResponseData
2560
2572
  */
2561
- 'uid': string | null;
2573
+ 'status': WrappedResponsePassConsentResponseDataStatusEnum;
2562
2574
  /**
2563
2575
  *
2564
2576
  * @type {string}
@@ -2939,7 +2951,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2939
2951
  * @param {*} [options] Override http request option.
2940
2952
  * @throws {RequiredError}
2941
2953
  */
2942
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2954
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>>;
2943
2955
  /**
2944
2956
  *
2945
2957
  * @param {string} id
@@ -3098,7 +3110,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3098
3110
  * @param {*} [options] Override http request option.
3099
3111
  * @throws {RequiredError}
3100
3112
  */
3101
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
3113
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>;
3102
3114
  /**
3103
3115
  *
3104
3116
  * @param {string} id
@@ -3267,7 +3279,7 @@ export declare class DefaultApi extends BaseAPI {
3267
3279
  * @throws {RequiredError}
3268
3280
  * @memberof DefaultApi
3269
3281
  */
3270
- membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
3282
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMemberIndexInterfaceArrayOrNull, any>>;
3271
3283
  /**
3272
3284
  *
3273
3285
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"