ob-bms-sdk 0.0.121 → 0.0.122

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
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.20.1
7
+ * The version of the OpenAPI document: 2.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1602,6 +1602,31 @@ export interface ErrorUpsertHoliday {
1602
1602
  */
1603
1603
  'error': string;
1604
1604
  }
1605
+ /**
1606
+ *
1607
+ * @export
1608
+ * @interface FSLocationData
1609
+ */
1610
+ export interface FSLocationData {
1611
+ /**
1612
+ *
1613
+ * @type {number}
1614
+ * @memberof FSLocationData
1615
+ */
1616
+ 'locationID': number;
1617
+ /**
1618
+ *
1619
+ * @type {string}
1620
+ * @memberof FSLocationData
1621
+ */
1622
+ 'locationName': string;
1623
+ /**
1624
+ *
1625
+ * @type {boolean}
1626
+ * @memberof FSLocationData
1627
+ */
1628
+ 'isDefault': boolean;
1629
+ }
1605
1630
  /**
1606
1631
  *
1607
1632
  * @export
@@ -1691,98 +1716,11 @@ export interface FindVisitorsByEmailInput {
1691
1716
  export interface FindVisitorsByEmailResponse {
1692
1717
  /**
1693
1718
  *
1694
- * @type {Array<FindVisitorsByEmailResponseDataInner>}
1719
+ * @type {Array<Model24ResultDefaultSelectionPrisma24PassPayload>}
1695
1720
  * @memberof FindVisitorsByEmailResponse
1696
1721
  */
1697
- 'data': Array<FindVisitorsByEmailResponseDataInner>;
1722
+ 'data': Array<Model24ResultDefaultSelectionPrisma24PassPayload>;
1698
1723
  }
1699
- /**
1700
- *
1701
- * @export
1702
- * @interface FindVisitorsByEmailResponseDataInner
1703
- */
1704
- export interface FindVisitorsByEmailResponseDataInner {
1705
- /**
1706
- *
1707
- * @type {PrismaJsonValue}
1708
- * @memberof FindVisitorsByEmailResponseDataInner
1709
- */
1710
- 'metadata_resident': PrismaJsonValue | null;
1711
- /**
1712
- *
1713
- * @type {boolean}
1714
- * @memberof FindVisitorsByEmailResponseDataInner
1715
- */
1716
- 'consent': boolean | null;
1717
- /**
1718
- *
1719
- * @type {string}
1720
- * @memberof FindVisitorsByEmailResponseDataInner
1721
- */
1722
- 'updated_at': string;
1723
- /**
1724
- *
1725
- * @type {string}
1726
- * @memberof FindVisitorsByEmailResponseDataInner
1727
- */
1728
- 'created_at': string;
1729
- /**
1730
- *
1731
- * @type {string}
1732
- * @memberof FindVisitorsByEmailResponseDataInner
1733
- */
1734
- 'status': FindVisitorsByEmailResponseDataInnerStatusEnum;
1735
- /**
1736
- *
1737
- * @type {string}
1738
- * @memberof FindVisitorsByEmailResponseDataInner
1739
- */
1740
- 'issuer_id': string;
1741
- /**
1742
- *
1743
- * @type {string}
1744
- * @memberof FindVisitorsByEmailResponseDataInner
1745
- */
1746
- 'visit_schedule_id': string;
1747
- /**
1748
- *
1749
- * @type {string}
1750
- * @memberof FindVisitorsByEmailResponseDataInner
1751
- */
1752
- 'visitor_id': string;
1753
- /**
1754
- *
1755
- * @type {string}
1756
- * @memberof FindVisitorsByEmailResponseDataInner
1757
- */
1758
- 'to': string;
1759
- /**
1760
- *
1761
- * @type {string}
1762
- * @memberof FindVisitorsByEmailResponseDataInner
1763
- */
1764
- 'from': string;
1765
- /**
1766
- *
1767
- * @type {string}
1768
- * @memberof FindVisitorsByEmailResponseDataInner
1769
- */
1770
- 'uid': string | null;
1771
- /**
1772
- *
1773
- * @type {string}
1774
- * @memberof FindVisitorsByEmailResponseDataInner
1775
- */
1776
- 'id': string;
1777
- }
1778
-
1779
- export const FindVisitorsByEmailResponseDataInnerStatusEnum = {
1780
- Pending: 'pending',
1781
- Confirmed: 'confirmed'
1782
- } as const;
1783
-
1784
- export type FindVisitorsByEmailResponseDataInnerStatusEnum = typeof FindVisitorsByEmailResponseDataInnerStatusEnum[keyof typeof FindVisitorsByEmailResponseDataInnerStatusEnum];
1785
-
1786
1724
  /**
1787
1725
  *
1788
1726
  * @export
@@ -2479,6 +2417,37 @@ export interface MemberAccessLog {
2479
2417
  */
2480
2418
  'terminalPosition': number;
2481
2419
  }
2420
+ /**
2421
+ *
2422
+ * @export
2423
+ * @interface MemberAccountIdInterface
2424
+ */
2425
+ export interface MemberAccountIdInterface {
2426
+ /**
2427
+ *
2428
+ * @type {string}
2429
+ * @memberof MemberAccountIdInterface
2430
+ */
2431
+ 'id': string;
2432
+ /**
2433
+ *
2434
+ * @type {string}
2435
+ * @memberof MemberAccountIdInterface
2436
+ */
2437
+ 'uid': string;
2438
+ /**
2439
+ *
2440
+ * @type {string}
2441
+ * @memberof MemberAccountIdInterface
2442
+ */
2443
+ 'account_id'?: string | null;
2444
+ /**
2445
+ *
2446
+ * @type {Array<string>}
2447
+ * @memberof MemberAccountIdInterface
2448
+ */
2449
+ 'tenant_name': Array<string> | null;
2450
+ }
2482
2451
  /**
2483
2452
  *
2484
2453
  * @export
@@ -2957,6 +2926,85 @@ export interface MetaDataPasses {
2957
2926
  */
2958
2927
  'invite_name': string;
2959
2928
  }
2929
+ /**
2930
+ *
2931
+ * @export
2932
+ * @interface Model24ResultDefaultSelectionPrisma24PassPayload
2933
+ */
2934
+ export interface Model24ResultDefaultSelectionPrisma24PassPayload {
2935
+ /**
2936
+ *
2937
+ * @type {JsonValue}
2938
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2939
+ */
2940
+ 'metadata_resident': JsonValue | null;
2941
+ /**
2942
+ *
2943
+ * @type {boolean}
2944
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2945
+ */
2946
+ 'consent': boolean;
2947
+ /**
2948
+ *
2949
+ * @type {string}
2950
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2951
+ */
2952
+ 'updated_at': string;
2953
+ /**
2954
+ *
2955
+ * @type {string}
2956
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2957
+ */
2958
+ 'created_at': string;
2959
+ /**
2960
+ *
2961
+ * @type {any}
2962
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2963
+ */
2964
+ 'status': any;
2965
+ /**
2966
+ *
2967
+ * @type {string}
2968
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2969
+ */
2970
+ 'issuer_id': string;
2971
+ /**
2972
+ *
2973
+ * @type {string}
2974
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2975
+ */
2976
+ 'visit_schedule_id': string;
2977
+ /**
2978
+ *
2979
+ * @type {string}
2980
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2981
+ */
2982
+ 'visitor_id': string;
2983
+ /**
2984
+ *
2985
+ * @type {string}
2986
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2987
+ */
2988
+ 'to': string;
2989
+ /**
2990
+ *
2991
+ * @type {string}
2992
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2993
+ */
2994
+ 'from': string;
2995
+ /**
2996
+ *
2997
+ * @type {string}
2998
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2999
+ */
3000
+ 'uid': string;
3001
+ /**
3002
+ *
3003
+ * @type {string}
3004
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
3005
+ */
3006
+ 'id': string;
3007
+ }
2960
3008
  /**
2961
3009
  *
2962
3010
  * @export
@@ -3990,6 +4038,36 @@ export interface ParkingSpaceDetailAndSpaceDetailData {
3990
4038
  * @memberof ParkingSpaceDetailAndSpaceDetailData
3991
4039
  */
3992
4040
  'ibeacon_ipc_minor'?: string;
4041
+ /**
4042
+ *
4043
+ * @type {number}
4044
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4045
+ */
4046
+ 'free_hh': number;
4047
+ /**
4048
+ *
4049
+ * @type {string}
4050
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4051
+ */
4052
+ 'last_date_time_payment_at_kiosk': string;
4053
+ /**
4054
+ *
4055
+ * @type {number}
4056
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4057
+ */
4058
+ 'time_used_in_minute': number;
4059
+ /**
4060
+ *
4061
+ * @type {number}
4062
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4063
+ */
4064
+ 'duration_in_minute': number;
4065
+ /**
4066
+ *
4067
+ * @type {number}
4068
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4069
+ */
4070
+ 'remain_in_minute': number;
3993
4071
  }
3994
4072
  /**
3995
4073
  *
@@ -4703,10 +4781,10 @@ export interface PersonData {
4703
4781
  'emails': Array<string>;
4704
4782
  /**
4705
4783
  *
4706
- * @type {Array<LocationData>}
4784
+ * @type {Array<FSLocationData>}
4707
4785
  * @memberof PersonData
4708
4786
  */
4709
- 'locations': Array<LocationData>;
4787
+ 'locations': Array<FSLocationData>;
4710
4788
  /**
4711
4789
  *
4712
4790
  * @type {string}
@@ -7520,6 +7598,12 @@ export interface VisitorSchedulePasses {
7520
7598
  * @memberof VisitorSchedulePasses
7521
7599
  */
7522
7600
  'updated_at': string;
7601
+ /**
7602
+ *
7603
+ * @type {string}
7604
+ * @memberof VisitorSchedulePasses
7605
+ */
7606
+ 'deleted_at': string | null;
7523
7607
  /**
7524
7608
  *
7525
7609
  * @type {Array<VisitorScheduleTokens>}
@@ -8569,6 +8653,50 @@ export interface WrappedResponseLocationIndexResponse {
8569
8653
  */
8570
8654
  export interface WrappedResponseLocationIndexResponseData {
8571
8655
  }
8656
+ /**
8657
+ *
8658
+ * @export
8659
+ * @interface WrappedResponseMemberAccountIdInterface
8660
+ */
8661
+ export interface WrappedResponseMemberAccountIdInterface {
8662
+ /**
8663
+ *
8664
+ * @type {WrappedResponseMemberAccountIdInterfaceData}
8665
+ * @memberof WrappedResponseMemberAccountIdInterface
8666
+ */
8667
+ 'data': WrappedResponseMemberAccountIdInterfaceData | null;
8668
+ }
8669
+ /**
8670
+ *
8671
+ * @export
8672
+ * @interface WrappedResponseMemberAccountIdInterfaceData
8673
+ */
8674
+ export interface WrappedResponseMemberAccountIdInterfaceData {
8675
+ /**
8676
+ *
8677
+ * @type {string}
8678
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8679
+ */
8680
+ 'id': string;
8681
+ /**
8682
+ *
8683
+ * @type {string}
8684
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8685
+ */
8686
+ 'uid': string;
8687
+ /**
8688
+ *
8689
+ * @type {string}
8690
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8691
+ */
8692
+ 'account_id'?: string | null;
8693
+ /**
8694
+ *
8695
+ * @type {Array<string>}
8696
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8697
+ */
8698
+ 'tenant_name': Array<string> | null;
8699
+ }
8572
8700
  /**
8573
8701
  *
8574
8702
  * @export
@@ -8905,6 +9033,36 @@ export interface WrappedResponseParkingSpaceDetailAndSpaceDetailDataData {
8905
9033
  * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8906
9034
  */
8907
9035
  'ibeacon_ipc_minor'?: string;
9036
+ /**
9037
+ *
9038
+ * @type {number}
9039
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
9040
+ */
9041
+ 'free_hh': number;
9042
+ /**
9043
+ *
9044
+ * @type {string}
9045
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
9046
+ */
9047
+ 'last_date_time_payment_at_kiosk': string;
9048
+ /**
9049
+ *
9050
+ * @type {number}
9051
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
9052
+ */
9053
+ 'time_used_in_minute': number;
9054
+ /**
9055
+ *
9056
+ * @type {number}
9057
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
9058
+ */
9059
+ 'duration_in_minute': number;
9060
+ /**
9061
+ *
9062
+ * @type {number}
9063
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
9064
+ */
9065
+ 'remain_in_minute': number;
8908
9066
  }
8909
9067
  /**
8910
9068
  *
@@ -10678,6 +10836,75 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
10678
10836
 
10679
10837
 
10680
10838
 
10839
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10840
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10841
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10842
+
10843
+ return {
10844
+ url: toPathString(localVarUrlObj),
10845
+ options: localVarRequestOptions,
10846
+ };
10847
+ },
10848
+ /**
10849
+ *
10850
+ * @param {string} accountId
10851
+ * @param {*} [options] Override http request option.
10852
+ * @throws {RequiredError}
10853
+ */
10854
+ membersAccountId: async (accountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10855
+ // verify required parameter 'accountId' is not null or undefined
10856
+ assertParamExists('membersAccountId', 'accountId', accountId)
10857
+ const localVarPath = `/members/account-id/{account_id}`
10858
+ .replace(`{${"account_id"}}`, encodeURIComponent(String(accountId)));
10859
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10860
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10861
+ let baseOptions;
10862
+ if (configuration) {
10863
+ baseOptions = configuration.baseOptions;
10864
+ }
10865
+
10866
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10867
+ const localVarHeaderParameter = {} as any;
10868
+ const localVarQueryParameter = {} as any;
10869
+
10870
+
10871
+
10872
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10873
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10874
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10875
+
10876
+ return {
10877
+ url: toPathString(localVarUrlObj),
10878
+ options: localVarRequestOptions,
10879
+ };
10880
+ },
10881
+ /**
10882
+ *
10883
+ * @param {string} xAccountId
10884
+ * @param {*} [options] Override http request option.
10885
+ * @throws {RequiredError}
10886
+ */
10887
+ membersByAccountId: async (xAccountId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10888
+ // verify required parameter 'xAccountId' is not null or undefined
10889
+ assertParamExists('membersByAccountId', 'xAccountId', xAccountId)
10890
+ const localVarPath = `/members/by-account-id`;
10891
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10892
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10893
+ let baseOptions;
10894
+ if (configuration) {
10895
+ baseOptions = configuration.baseOptions;
10896
+ }
10897
+
10898
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10899
+ const localVarHeaderParameter = {} as any;
10900
+ const localVarQueryParameter = {} as any;
10901
+
10902
+ if (xAccountId != null) {
10903
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
10904
+ }
10905
+
10906
+
10907
+
10681
10908
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10682
10909
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10683
10910
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -13133,6 +13360,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
13133
13360
  const localVarAxiosArgs = await localVarAxiosParamCreator.locationsIndex(options);
13134
13361
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13135
13362
  },
13363
+ /**
13364
+ *
13365
+ * @param {string} accountId
13366
+ * @param {*} [options] Override http request option.
13367
+ * @throws {RequiredError}
13368
+ */
13369
+ async membersAccountId(accountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberAccountIdInterface>> {
13370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersAccountId(accountId, options);
13371
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13372
+ },
13373
+ /**
13374
+ *
13375
+ * @param {string} xAccountId
13376
+ * @param {*} [options] Override http request option.
13377
+ * @throws {RequiredError}
13378
+ */
13379
+ async membersByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>> {
13380
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersByAccountId(xAccountId, options);
13381
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13382
+ },
13136
13383
  /**
13137
13384
  *
13138
13385
  * @param {string} memberId
@@ -13993,6 +14240,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
13993
14240
  locationsIndex(options?: any): AxiosPromise<WrappedResponseLocationIndexResponse> {
13994
14241
  return localVarFp.locationsIndex(options).then((request) => request(axios, basePath));
13995
14242
  },
14243
+ /**
14244
+ *
14245
+ * @param {string} accountId
14246
+ * @param {*} [options] Override http request option.
14247
+ * @throws {RequiredError}
14248
+ */
14249
+ membersAccountId(accountId: string, options?: any): AxiosPromise<WrappedResponseMemberAccountIdInterface> {
14250
+ return localVarFp.membersAccountId(accountId, options).then((request) => request(axios, basePath));
14251
+ },
14252
+ /**
14253
+ *
14254
+ * @param {string} xAccountId
14255
+ * @param {*} [options] Override http request option.
14256
+ * @throws {RequiredError}
14257
+ */
14258
+ membersByAccountId(xAccountId: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull> {
14259
+ return localVarFp.membersByAccountId(xAccountId, options).then((request) => request(axios, basePath));
14260
+ },
13996
14261
  /**
13997
14262
  *
13998
14263
  * @param {string} memberId
@@ -14852,6 +15117,28 @@ export class DefaultApi extends BaseAPI {
14852
15117
  return DefaultApiFp(this.configuration).locationsIndex(options).then((request) => request(this.axios, this.basePath));
14853
15118
  }
14854
15119
 
15120
+ /**
15121
+ *
15122
+ * @param {string} accountId
15123
+ * @param {*} [options] Override http request option.
15124
+ * @throws {RequiredError}
15125
+ * @memberof DefaultApi
15126
+ */
15127
+ public membersAccountId(accountId: string, options?: AxiosRequestConfig) {
15128
+ return DefaultApiFp(this.configuration).membersAccountId(accountId, options).then((request) => request(this.axios, this.basePath));
15129
+ }
15130
+
15131
+ /**
15132
+ *
15133
+ * @param {string} xAccountId
15134
+ * @param {*} [options] Override http request option.
15135
+ * @throws {RequiredError}
15136
+ * @memberof DefaultApi
15137
+ */
15138
+ public membersByAccountId(xAccountId: string, options?: AxiosRequestConfig) {
15139
+ return DefaultApiFp(this.configuration).membersByAccountId(xAccountId, options).then((request) => request(this.axios, this.basePath));
15140
+ }
15141
+
14855
15142
  /**
14856
15143
  *
14857
15144
  * @param {string} memberId
package/api/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.20.1
7
+ * The version of the OpenAPI document: 2.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.20.1
7
+ * The version of the OpenAPI document: 2.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.20.1
7
+ * The version of the OpenAPI document: 2.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.20.1
7
+ * The version of the OpenAPI document: 2.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.20.1
5
+ * The version of the OpenAPI document: 2.4.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1574,6 +1574,31 @@ export interface ErrorUpsertHoliday {
1574
1574
  */
1575
1575
  'error': string;
1576
1576
  }
1577
+ /**
1578
+ *
1579
+ * @export
1580
+ * @interface FSLocationData
1581
+ */
1582
+ export interface FSLocationData {
1583
+ /**
1584
+ *
1585
+ * @type {number}
1586
+ * @memberof FSLocationData
1587
+ */
1588
+ 'locationID': number;
1589
+ /**
1590
+ *
1591
+ * @type {string}
1592
+ * @memberof FSLocationData
1593
+ */
1594
+ 'locationName': string;
1595
+ /**
1596
+ *
1597
+ * @type {boolean}
1598
+ * @memberof FSLocationData
1599
+ */
1600
+ 'isDefault': boolean;
1601
+ }
1577
1602
  /**
1578
1603
  *
1579
1604
  * @export
@@ -1663,95 +1688,11 @@ export interface FindVisitorsByEmailInput {
1663
1688
  export interface FindVisitorsByEmailResponse {
1664
1689
  /**
1665
1690
  *
1666
- * @type {Array<FindVisitorsByEmailResponseDataInner>}
1691
+ * @type {Array<Model24ResultDefaultSelectionPrisma24PassPayload>}
1667
1692
  * @memberof FindVisitorsByEmailResponse
1668
1693
  */
1669
- 'data': Array<FindVisitorsByEmailResponseDataInner>;
1694
+ 'data': Array<Model24ResultDefaultSelectionPrisma24PassPayload>;
1670
1695
  }
1671
- /**
1672
- *
1673
- * @export
1674
- * @interface FindVisitorsByEmailResponseDataInner
1675
- */
1676
- export interface FindVisitorsByEmailResponseDataInner {
1677
- /**
1678
- *
1679
- * @type {PrismaJsonValue}
1680
- * @memberof FindVisitorsByEmailResponseDataInner
1681
- */
1682
- 'metadata_resident': PrismaJsonValue | null;
1683
- /**
1684
- *
1685
- * @type {boolean}
1686
- * @memberof FindVisitorsByEmailResponseDataInner
1687
- */
1688
- 'consent': boolean | null;
1689
- /**
1690
- *
1691
- * @type {string}
1692
- * @memberof FindVisitorsByEmailResponseDataInner
1693
- */
1694
- 'updated_at': string;
1695
- /**
1696
- *
1697
- * @type {string}
1698
- * @memberof FindVisitorsByEmailResponseDataInner
1699
- */
1700
- 'created_at': string;
1701
- /**
1702
- *
1703
- * @type {string}
1704
- * @memberof FindVisitorsByEmailResponseDataInner
1705
- */
1706
- 'status': FindVisitorsByEmailResponseDataInnerStatusEnum;
1707
- /**
1708
- *
1709
- * @type {string}
1710
- * @memberof FindVisitorsByEmailResponseDataInner
1711
- */
1712
- 'issuer_id': string;
1713
- /**
1714
- *
1715
- * @type {string}
1716
- * @memberof FindVisitorsByEmailResponseDataInner
1717
- */
1718
- 'visit_schedule_id': string;
1719
- /**
1720
- *
1721
- * @type {string}
1722
- * @memberof FindVisitorsByEmailResponseDataInner
1723
- */
1724
- 'visitor_id': string;
1725
- /**
1726
- *
1727
- * @type {string}
1728
- * @memberof FindVisitorsByEmailResponseDataInner
1729
- */
1730
- 'to': string;
1731
- /**
1732
- *
1733
- * @type {string}
1734
- * @memberof FindVisitorsByEmailResponseDataInner
1735
- */
1736
- 'from': string;
1737
- /**
1738
- *
1739
- * @type {string}
1740
- * @memberof FindVisitorsByEmailResponseDataInner
1741
- */
1742
- 'uid': string | null;
1743
- /**
1744
- *
1745
- * @type {string}
1746
- * @memberof FindVisitorsByEmailResponseDataInner
1747
- */
1748
- 'id': string;
1749
- }
1750
- export declare const FindVisitorsByEmailResponseDataInnerStatusEnum: {
1751
- readonly Pending: "pending";
1752
- readonly Confirmed: "confirmed";
1753
- };
1754
- export type FindVisitorsByEmailResponseDataInnerStatusEnum = typeof FindVisitorsByEmailResponseDataInnerStatusEnum[keyof typeof FindVisitorsByEmailResponseDataInnerStatusEnum];
1755
1696
  /**
1756
1697
  *
1757
1698
  * @export
@@ -2446,6 +2387,37 @@ export interface MemberAccessLog {
2446
2387
  */
2447
2388
  'terminalPosition': number;
2448
2389
  }
2390
+ /**
2391
+ *
2392
+ * @export
2393
+ * @interface MemberAccountIdInterface
2394
+ */
2395
+ export interface MemberAccountIdInterface {
2396
+ /**
2397
+ *
2398
+ * @type {string}
2399
+ * @memberof MemberAccountIdInterface
2400
+ */
2401
+ 'id': string;
2402
+ /**
2403
+ *
2404
+ * @type {string}
2405
+ * @memberof MemberAccountIdInterface
2406
+ */
2407
+ 'uid': string;
2408
+ /**
2409
+ *
2410
+ * @type {string}
2411
+ * @memberof MemberAccountIdInterface
2412
+ */
2413
+ 'account_id'?: string | null;
2414
+ /**
2415
+ *
2416
+ * @type {Array<string>}
2417
+ * @memberof MemberAccountIdInterface
2418
+ */
2419
+ 'tenant_name': Array<string> | null;
2420
+ }
2449
2421
  /**
2450
2422
  *
2451
2423
  * @export
@@ -2924,6 +2896,85 @@ export interface MetaDataPasses {
2924
2896
  */
2925
2897
  'invite_name': string;
2926
2898
  }
2899
+ /**
2900
+ *
2901
+ * @export
2902
+ * @interface Model24ResultDefaultSelectionPrisma24PassPayload
2903
+ */
2904
+ export interface Model24ResultDefaultSelectionPrisma24PassPayload {
2905
+ /**
2906
+ *
2907
+ * @type {JsonValue}
2908
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2909
+ */
2910
+ 'metadata_resident': JsonValue | null;
2911
+ /**
2912
+ *
2913
+ * @type {boolean}
2914
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2915
+ */
2916
+ 'consent': boolean;
2917
+ /**
2918
+ *
2919
+ * @type {string}
2920
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2921
+ */
2922
+ 'updated_at': string;
2923
+ /**
2924
+ *
2925
+ * @type {string}
2926
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2927
+ */
2928
+ 'created_at': string;
2929
+ /**
2930
+ *
2931
+ * @type {any}
2932
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2933
+ */
2934
+ 'status': any;
2935
+ /**
2936
+ *
2937
+ * @type {string}
2938
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2939
+ */
2940
+ 'issuer_id': string;
2941
+ /**
2942
+ *
2943
+ * @type {string}
2944
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2945
+ */
2946
+ 'visit_schedule_id': string;
2947
+ /**
2948
+ *
2949
+ * @type {string}
2950
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2951
+ */
2952
+ 'visitor_id': string;
2953
+ /**
2954
+ *
2955
+ * @type {string}
2956
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2957
+ */
2958
+ 'to': string;
2959
+ /**
2960
+ *
2961
+ * @type {string}
2962
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2963
+ */
2964
+ 'from': string;
2965
+ /**
2966
+ *
2967
+ * @type {string}
2968
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2969
+ */
2970
+ 'uid': string;
2971
+ /**
2972
+ *
2973
+ * @type {string}
2974
+ * @memberof Model24ResultDefaultSelectionPrisma24PassPayload
2975
+ */
2976
+ 'id': string;
2977
+ }
2927
2978
  /**
2928
2979
  *
2929
2980
  * @export
@@ -3950,6 +4001,36 @@ export interface ParkingSpaceDetailAndSpaceDetailData {
3950
4001
  * @memberof ParkingSpaceDetailAndSpaceDetailData
3951
4002
  */
3952
4003
  'ibeacon_ipc_minor'?: string;
4004
+ /**
4005
+ *
4006
+ * @type {number}
4007
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4008
+ */
4009
+ 'free_hh': number;
4010
+ /**
4011
+ *
4012
+ * @type {string}
4013
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4014
+ */
4015
+ 'last_date_time_payment_at_kiosk': string;
4016
+ /**
4017
+ *
4018
+ * @type {number}
4019
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4020
+ */
4021
+ 'time_used_in_minute': number;
4022
+ /**
4023
+ *
4024
+ * @type {number}
4025
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4026
+ */
4027
+ 'duration_in_minute': number;
4028
+ /**
4029
+ *
4030
+ * @type {number}
4031
+ * @memberof ParkingSpaceDetailAndSpaceDetailData
4032
+ */
4033
+ 'remain_in_minute': number;
3953
4034
  }
3954
4035
  /**
3955
4036
  *
@@ -4646,10 +4727,10 @@ export interface PersonData {
4646
4727
  'emails': Array<string>;
4647
4728
  /**
4648
4729
  *
4649
- * @type {Array<LocationData>}
4730
+ * @type {Array<FSLocationData>}
4650
4731
  * @memberof PersonData
4651
4732
  */
4652
- 'locations': Array<LocationData>;
4733
+ 'locations': Array<FSLocationData>;
4653
4734
  /**
4654
4735
  *
4655
4736
  * @type {string}
@@ -7418,6 +7499,12 @@ export interface VisitorSchedulePasses {
7418
7499
  * @memberof VisitorSchedulePasses
7419
7500
  */
7420
7501
  'updated_at': string;
7502
+ /**
7503
+ *
7504
+ * @type {string}
7505
+ * @memberof VisitorSchedulePasses
7506
+ */
7507
+ 'deleted_at': string | null;
7421
7508
  /**
7422
7509
  *
7423
7510
  * @type {Array<VisitorScheduleTokens>}
@@ -8467,6 +8554,50 @@ export interface WrappedResponseLocationIndexResponse {
8467
8554
  */
8468
8555
  export interface WrappedResponseLocationIndexResponseData {
8469
8556
  }
8557
+ /**
8558
+ *
8559
+ * @export
8560
+ * @interface WrappedResponseMemberAccountIdInterface
8561
+ */
8562
+ export interface WrappedResponseMemberAccountIdInterface {
8563
+ /**
8564
+ *
8565
+ * @type {WrappedResponseMemberAccountIdInterfaceData}
8566
+ * @memberof WrappedResponseMemberAccountIdInterface
8567
+ */
8568
+ 'data': WrappedResponseMemberAccountIdInterfaceData | null;
8569
+ }
8570
+ /**
8571
+ *
8572
+ * @export
8573
+ * @interface WrappedResponseMemberAccountIdInterfaceData
8574
+ */
8575
+ export interface WrappedResponseMemberAccountIdInterfaceData {
8576
+ /**
8577
+ *
8578
+ * @type {string}
8579
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8580
+ */
8581
+ 'id': string;
8582
+ /**
8583
+ *
8584
+ * @type {string}
8585
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8586
+ */
8587
+ 'uid': string;
8588
+ /**
8589
+ *
8590
+ * @type {string}
8591
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8592
+ */
8593
+ 'account_id'?: string | null;
8594
+ /**
8595
+ *
8596
+ * @type {Array<string>}
8597
+ * @memberof WrappedResponseMemberAccountIdInterfaceData
8598
+ */
8599
+ 'tenant_name': Array<string> | null;
8600
+ }
8470
8601
  /**
8471
8602
  *
8472
8603
  * @export
@@ -8800,6 +8931,36 @@ export interface WrappedResponseParkingSpaceDetailAndSpaceDetailDataData {
8800
8931
  * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8801
8932
  */
8802
8933
  'ibeacon_ipc_minor'?: string;
8934
+ /**
8935
+ *
8936
+ * @type {number}
8937
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8938
+ */
8939
+ 'free_hh': number;
8940
+ /**
8941
+ *
8942
+ * @type {string}
8943
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8944
+ */
8945
+ 'last_date_time_payment_at_kiosk': string;
8946
+ /**
8947
+ *
8948
+ * @type {number}
8949
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8950
+ */
8951
+ 'time_used_in_minute': number;
8952
+ /**
8953
+ *
8954
+ * @type {number}
8955
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8956
+ */
8957
+ 'duration_in_minute': number;
8958
+ /**
8959
+ *
8960
+ * @type {number}
8961
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailDataData
8962
+ */
8963
+ 'remain_in_minute': number;
8803
8964
  }
8804
8965
  /**
8805
8966
  *
@@ -9793,6 +9954,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9793
9954
  * @throws {RequiredError}
9794
9955
  */
9795
9956
  locationsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
9957
+ /**
9958
+ *
9959
+ * @param {string} accountId
9960
+ * @param {*} [options] Override http request option.
9961
+ * @throws {RequiredError}
9962
+ */
9963
+ membersAccountId: (accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9964
+ /**
9965
+ *
9966
+ * @param {string} xAccountId
9967
+ * @param {*} [options] Override http request option.
9968
+ * @throws {RequiredError}
9969
+ */
9970
+ membersByAccountId: (xAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9796
9971
  /**
9797
9972
  *
9798
9973
  * @param {string} memberId
@@ -10438,6 +10613,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
10438
10613
  * @throws {RequiredError}
10439
10614
  */
10440
10615
  locationsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseLocationIndexResponse>>;
10616
+ /**
10617
+ *
10618
+ * @param {string} accountId
10619
+ * @param {*} [options] Override http request option.
10620
+ * @throws {RequiredError}
10621
+ */
10622
+ membersAccountId(accountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberAccountIdInterface>>;
10623
+ /**
10624
+ *
10625
+ * @param {string} xAccountId
10626
+ * @param {*} [options] Override http request option.
10627
+ * @throws {RequiredError}
10628
+ */
10629
+ membersByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>>;
10441
10630
  /**
10442
10631
  *
10443
10632
  * @param {string} memberId
@@ -11083,6 +11272,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11083
11272
  * @throws {RequiredError}
11084
11273
  */
11085
11274
  locationsIndex(options?: any): AxiosPromise<WrappedResponseLocationIndexResponse>;
11275
+ /**
11276
+ *
11277
+ * @param {string} accountId
11278
+ * @param {*} [options] Override http request option.
11279
+ * @throws {RequiredError}
11280
+ */
11281
+ membersAccountId(accountId: string, options?: any): AxiosPromise<WrappedResponseMemberAccountIdInterface>;
11282
+ /**
11283
+ *
11284
+ * @param {string} xAccountId
11285
+ * @param {*} [options] Override http request option.
11286
+ * @throws {RequiredError}
11287
+ */
11288
+ membersByAccountId(xAccountId: string, options?: any): AxiosPromise<WrappedResponseMemberIndexInterfaceArrayOrNull>;
11086
11289
  /**
11087
11290
  *
11088
11291
  * @param {string} memberId
@@ -11756,6 +11959,22 @@ export declare class DefaultApi extends BaseAPI {
11756
11959
  * @memberof DefaultApi
11757
11960
  */
11758
11961
  locationsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseLocationIndexResponse, any>>;
11962
+ /**
11963
+ *
11964
+ * @param {string} accountId
11965
+ * @param {*} [options] Override http request option.
11966
+ * @throws {RequiredError}
11967
+ * @memberof DefaultApi
11968
+ */
11969
+ membersAccountId(accountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMemberAccountIdInterface, any>>;
11970
+ /**
11971
+ *
11972
+ * @param {string} xAccountId
11973
+ * @param {*} [options] Override http request option.
11974
+ * @throws {RequiredError}
11975
+ * @memberof DefaultApi
11976
+ */
11977
+ membersByAccountId(xAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMemberIndexInterfaceArrayOrNull, any>>;
11759
11978
  /**
11760
11979
  *
11761
11980
  * @param {string} memberId
package/dist/api/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.20.1
8
+ * The version of the OpenAPI document: 2.4.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,7 @@ 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.ParkingTicketsIndexTypeEnum = exports.ParkingResidentialTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.TenantMemberRole = exports.SyncRoleType = exports.SyncRoleStatus = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PositionStatus = exports.PaymentStatus = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ParkingResidentialTicketsIndexQueryTypeEnum = exports.FindVisitorsByEmailResponseDataInnerStatusEnum = exports.AlgType = exports.AccessorType = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
28
+ exports.ParkingTicketsIndexTypeEnum = exports.ParkingResidentialTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.TenantMemberRole = exports.SyncRoleType = exports.SyncRoleStatus = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PositionStatus = exports.PaymentStatus = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ParkingResidentialTicketsIndexQueryTypeEnum = exports.AlgType = exports.AccessorType = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -78,10 +78,6 @@ exports.AlgType = {
78
78
  TenantToShopper: 'TenantToShopper',
79
79
  VisitorToApp: 'VisitorToApp'
80
80
  };
81
- exports.FindVisitorsByEmailResponseDataInnerStatusEnum = {
82
- Pending: 'pending',
83
- Confirmed: 'confirmed'
84
- };
85
81
  exports.ParkingResidentialTicketsIndexQueryTypeEnum = {
86
82
  LogId: 'log_id',
87
83
  TicketNumber: 'ticket_number',
@@ -1025,6 +1021,64 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1025
1021
  options: localVarRequestOptions,
1026
1022
  };
1027
1023
  }),
1024
+ /**
1025
+ *
1026
+ * @param {string} accountId
1027
+ * @param {*} [options] Override http request option.
1028
+ * @throws {RequiredError}
1029
+ */
1030
+ membersAccountId: (accountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1031
+ // verify required parameter 'accountId' is not null or undefined
1032
+ (0, common_1.assertParamExists)('membersAccountId', 'accountId', accountId);
1033
+ const localVarPath = `/members/account-id/{account_id}`
1034
+ .replace(`{${"account_id"}}`, encodeURIComponent(String(accountId)));
1035
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1036
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1037
+ let baseOptions;
1038
+ if (configuration) {
1039
+ baseOptions = configuration.baseOptions;
1040
+ }
1041
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1042
+ const localVarHeaderParameter = {};
1043
+ const localVarQueryParameter = {};
1044
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1046
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1047
+ return {
1048
+ url: (0, common_1.toPathString)(localVarUrlObj),
1049
+ options: localVarRequestOptions,
1050
+ };
1051
+ }),
1052
+ /**
1053
+ *
1054
+ * @param {string} xAccountId
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ */
1058
+ membersByAccountId: (xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1059
+ // verify required parameter 'xAccountId' is not null or undefined
1060
+ (0, common_1.assertParamExists)('membersByAccountId', 'xAccountId', xAccountId);
1061
+ const localVarPath = `/members/by-account-id`;
1062
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1063
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1064
+ let baseOptions;
1065
+ if (configuration) {
1066
+ baseOptions = configuration.baseOptions;
1067
+ }
1068
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1069
+ const localVarHeaderParameter = {};
1070
+ const localVarQueryParameter = {};
1071
+ if (xAccountId != null) {
1072
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
1073
+ }
1074
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1075
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1076
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1077
+ return {
1078
+ url: (0, common_1.toPathString)(localVarUrlObj),
1079
+ options: localVarRequestOptions,
1080
+ };
1081
+ }),
1028
1082
  /**
1029
1083
  *
1030
1084
  * @param {string} memberId
@@ -3160,6 +3214,30 @@ const DefaultApiFp = function (configuration) {
3160
3214
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3161
3215
  });
3162
3216
  },
3217
+ /**
3218
+ *
3219
+ * @param {string} accountId
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ */
3223
+ membersAccountId(accountId, options) {
3224
+ return __awaiter(this, void 0, void 0, function* () {
3225
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersAccountId(accountId, options);
3226
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3227
+ });
3228
+ },
3229
+ /**
3230
+ *
3231
+ * @param {string} xAccountId
3232
+ * @param {*} [options] Override http request option.
3233
+ * @throws {RequiredError}
3234
+ */
3235
+ membersByAccountId(xAccountId, options) {
3236
+ return __awaiter(this, void 0, void 0, function* () {
3237
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersByAccountId(xAccountId, options);
3238
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3239
+ });
3240
+ },
3163
3241
  /**
3164
3242
  *
3165
3243
  * @param {string} memberId
@@ -4126,6 +4204,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4126
4204
  locationsIndex(options) {
4127
4205
  return localVarFp.locationsIndex(options).then((request) => request(axios, basePath));
4128
4206
  },
4207
+ /**
4208
+ *
4209
+ * @param {string} accountId
4210
+ * @param {*} [options] Override http request option.
4211
+ * @throws {RequiredError}
4212
+ */
4213
+ membersAccountId(accountId, options) {
4214
+ return localVarFp.membersAccountId(accountId, options).then((request) => request(axios, basePath));
4215
+ },
4216
+ /**
4217
+ *
4218
+ * @param {string} xAccountId
4219
+ * @param {*} [options] Override http request option.
4220
+ * @throws {RequiredError}
4221
+ */
4222
+ membersByAccountId(xAccountId, options) {
4223
+ return localVarFp.membersByAccountId(xAccountId, options).then((request) => request(axios, basePath));
4224
+ },
4129
4225
  /**
4130
4226
  *
4131
4227
  * @param {string} memberId
@@ -4959,6 +5055,26 @@ class DefaultApi extends base_1.BaseAPI {
4959
5055
  locationsIndex(options) {
4960
5056
  return (0, exports.DefaultApiFp)(this.configuration).locationsIndex(options).then((request) => request(this.axios, this.basePath));
4961
5057
  }
5058
+ /**
5059
+ *
5060
+ * @param {string} accountId
5061
+ * @param {*} [options] Override http request option.
5062
+ * @throws {RequiredError}
5063
+ * @memberof DefaultApi
5064
+ */
5065
+ membersAccountId(accountId, options) {
5066
+ return (0, exports.DefaultApiFp)(this.configuration).membersAccountId(accountId, options).then((request) => request(this.axios, this.basePath));
5067
+ }
5068
+ /**
5069
+ *
5070
+ * @param {string} xAccountId
5071
+ * @param {*} [options] Override http request option.
5072
+ * @throws {RequiredError}
5073
+ * @memberof DefaultApi
5074
+ */
5075
+ membersByAccountId(xAccountId, options) {
5076
+ return (0, exports.DefaultApiFp)(this.configuration).membersByAccountId(xAccountId, options).then((request) => request(this.axios, this.basePath));
5077
+ }
4962
5078
  /**
4963
5079
  *
4964
5080
  * @param {string} memberId
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.20.1
5
+ * The version of the OpenAPI document: 2.4.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.20.1
8
+ * The version of the OpenAPI document: 2.4.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.20.1
5
+ * The version of the OpenAPI document: 2.4.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.20.1
8
+ * The version of the OpenAPI document: 2.4.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.20.1
5
+ * The version of the OpenAPI document: 2.4.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.20.1
8
+ * The version of the OpenAPI document: 2.4.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.20.1
5
+ * The version of the OpenAPI document: 2.4.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.20.1
8
+ * The version of the OpenAPI document: 2.4.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"