ob-bms-sdk 0.0.69 → 0.0.70

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
@@ -102,7 +102,15 @@ export interface ACRequestQuery {
102
102
  * @memberof ACRequestQuery
103
103
  */
104
104
  'page_size'?: number;
105
+ /**
106
+ *
107
+ * @type {ACRequestStatus}
108
+ * @memberof ACRequestQuery
109
+ */
110
+ 'status'?: ACRequestStatus;
105
111
  }
112
+
113
+
106
114
  /**
107
115
  *
108
116
  * @export
@@ -147,16 +155,16 @@ export interface ACRequestResponse {
147
155
  'rate': string;
148
156
  /**
149
157
  *
150
- * @type {ACZoneDataCreatedAt}
158
+ * @type {string}
151
159
  * @memberof ACRequestResponse
152
160
  */
153
- 'from': ACZoneDataCreatedAt;
161
+ 'from': string;
154
162
  /**
155
163
  *
156
- * @type {ACZoneDataCreatedAt}
164
+ * @type {string}
157
165
  * @memberof ACRequestResponse
158
166
  */
159
- 'to': ACZoneDataCreatedAt;
167
+ 'to': string;
160
168
  /**
161
169
  *
162
170
  * @type {number}
@@ -177,16 +185,16 @@ export interface ACRequestResponse {
177
185
  'status': string;
178
186
  /**
179
187
  *
180
- * @type {ACZoneDataCreatedAt}
188
+ * @type {string}
181
189
  * @memberof ACRequestResponse
182
190
  */
183
- 'created_at': ACZoneDataCreatedAt;
191
+ 'created_at': string;
184
192
  /**
185
193
  *
186
- * @type {ACZoneDataCreatedAt}
194
+ * @type {string}
187
195
  * @memberof ACRequestResponse
188
196
  */
189
- 'updated_at': ACZoneDataCreatedAt;
197
+ 'updated_at': string;
190
198
  /**
191
199
  *
192
200
  * @type {string}
@@ -218,6 +226,21 @@ export interface ACRequestResponse {
218
226
  */
219
227
  'requester': RequesterData;
220
228
  }
229
+ /**
230
+ *
231
+ * @export
232
+ * @enum {string}
233
+ */
234
+
235
+ export const ACRequestStatus = {
236
+ Submitted: 'submitted',
237
+ Rejected: 'rejected',
238
+ Approved: 'approved'
239
+ } as const;
240
+
241
+ export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
242
+
243
+
221
244
  /**
222
245
  *
223
246
  * @export
@@ -250,23 +273,16 @@ export interface ACZoneData {
250
273
  'floor_id': string;
251
274
  /**
252
275
  *
253
- * @type {ACZoneDataCreatedAt}
276
+ * @type {string}
254
277
  * @memberof ACZoneData
255
278
  */
256
- 'created_at': ACZoneDataCreatedAt;
279
+ 'created_at': string;
257
280
  /**
258
281
  *
259
- * @type {ACZoneDataCreatedAt}
282
+ * @type {string}
260
283
  * @memberof ACZoneData
261
284
  */
262
- 'updated_at': ACZoneDataCreatedAt;
263
- }
264
- /**
265
- *
266
- * @export
267
- * @interface ACZoneDataCreatedAt
268
- */
269
- export interface ACZoneDataCreatedAt {
285
+ 'updated_at': string;
270
286
  }
271
287
  /**
272
288
  *
@@ -1596,16 +1612,16 @@ export interface RateDetail {
1596
1612
  export interface RequesterData {
1597
1613
  /**
1598
1614
  *
1599
- * @type {ACZoneDataCreatedAt}
1615
+ * @type {string}
1600
1616
  * @memberof RequesterData
1601
1617
  */
1602
- 'updated_at': ACZoneDataCreatedAt;
1618
+ 'updated_at': string;
1603
1619
  /**
1604
1620
  *
1605
- * @type {ACZoneDataCreatedAt}
1621
+ * @type {string}
1606
1622
  * @memberof RequesterData
1607
1623
  */
1608
- 'created_at': ACZoneDataCreatedAt;
1624
+ 'created_at': string;
1609
1625
  /**
1610
1626
  *
1611
1627
  * @type {JsonValue}
@@ -2596,16 +2612,16 @@ export interface VisitorSchedule {
2596
2612
  'floor_id': string;
2597
2613
  /**
2598
2614
  *
2599
- * @type {ACZoneDataCreatedAt}
2615
+ * @type {VisitorScheduleFrom}
2600
2616
  * @memberof VisitorSchedule
2601
2617
  */
2602
- 'from': ACZoneDataCreatedAt;
2618
+ 'from': VisitorScheduleFrom;
2603
2619
  /**
2604
2620
  *
2605
- * @type {ACZoneDataCreatedAt}
2621
+ * @type {VisitorScheduleFrom}
2606
2622
  * @memberof VisitorSchedule
2607
2623
  */
2608
- 'to': ACZoneDataCreatedAt;
2624
+ 'to': VisitorScheduleFrom;
2609
2625
  /**
2610
2626
  *
2611
2627
  * @type {object}
@@ -2613,6 +2629,13 @@ export interface VisitorSchedule {
2613
2629
  */
2614
2630
  'repetition'?: object;
2615
2631
  }
2632
+ /**
2633
+ *
2634
+ * @export
2635
+ * @interface VisitorScheduleFrom
2636
+ */
2637
+ export interface VisitorScheduleFrom {
2638
+ }
2616
2639
  /**
2617
2640
  *
2618
2641
  * @export
@@ -2938,16 +2961,16 @@ export interface WrappedResponseACRequestResponseData {
2938
2961
  'rate': string;
2939
2962
  /**
2940
2963
  *
2941
- * @type {ACZoneDataCreatedAt}
2964
+ * @type {string}
2942
2965
  * @memberof WrappedResponseACRequestResponseData
2943
2966
  */
2944
- 'from': ACZoneDataCreatedAt;
2967
+ 'from': string;
2945
2968
  /**
2946
2969
  *
2947
- * @type {ACZoneDataCreatedAt}
2970
+ * @type {string}
2948
2971
  * @memberof WrappedResponseACRequestResponseData
2949
2972
  */
2950
- 'to': ACZoneDataCreatedAt;
2973
+ 'to': string;
2951
2974
  /**
2952
2975
  *
2953
2976
  * @type {number}
@@ -2968,16 +2991,16 @@ export interface WrappedResponseACRequestResponseData {
2968
2991
  'status': string;
2969
2992
  /**
2970
2993
  *
2971
- * @type {ACZoneDataCreatedAt}
2994
+ * @type {string}
2972
2995
  * @memberof WrappedResponseACRequestResponseData
2973
2996
  */
2974
- 'created_at': ACZoneDataCreatedAt;
2997
+ 'created_at': string;
2975
2998
  /**
2976
2999
  *
2977
- * @type {ACZoneDataCreatedAt}
3000
+ * @type {string}
2978
3001
  * @memberof WrappedResponseACRequestResponseData
2979
3002
  */
2980
- 'updated_at': ACZoneDataCreatedAt;
3003
+ 'updated_at': string;
2981
3004
  /**
2982
3005
  *
2983
3006
  * @type {string}
@@ -3054,16 +3077,16 @@ export interface WrappedResponseACZoneDataData {
3054
3077
  'floor_id': string;
3055
3078
  /**
3056
3079
  *
3057
- * @type {ACZoneDataCreatedAt}
3080
+ * @type {string}
3058
3081
  * @memberof WrappedResponseACZoneDataData
3059
3082
  */
3060
- 'created_at': ACZoneDataCreatedAt;
3083
+ 'created_at': string;
3061
3084
  /**
3062
3085
  *
3063
- * @type {ACZoneDataCreatedAt}
3086
+ * @type {string}
3064
3087
  * @memberof WrappedResponseACZoneDataData
3065
3088
  */
3066
- 'updated_at': ACZoneDataCreatedAt;
3089
+ 'updated_at': string;
3067
3090
  }
3068
3091
  /**
3069
3092
  *
@@ -3782,10 +3805,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3782
3805
  * @param {string} [orderDirection]
3783
3806
  * @param {number} [pageNumber]
3784
3807
  * @param {number} [pageSize]
3808
+ * @param {ACRequestStatus} [status]
3785
3809
  * @param {*} [options] Override http request option.
3786
3810
  * @throws {RequiredError}
3787
3811
  */
3788
- acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3812
+ acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3789
3813
  const localVarPath = `/ac_request`;
3790
3814
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3791
3815
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3818,6 +3842,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3818
3842
  localVarQueryParameter['page_size'] = pageSize;
3819
3843
  }
3820
3844
 
3845
+ if (status !== undefined) {
3846
+ localVarQueryParameter['status'] = status;
3847
+ }
3848
+
3821
3849
 
3822
3850
 
3823
3851
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4939,11 +4967,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4939
4967
  * @param {string} [orderDirection]
4940
4968
  * @param {number} [pageNumber]
4941
4969
  * @param {number} [pageSize]
4970
+ * @param {ACRequestStatus} [status]
4942
4971
  * @param {*} [options] Override http request option.
4943
4972
  * @throws {RequiredError}
4944
4973
  */
4945
- async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
4946
- const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options);
4974
+ async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
4975
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
4947
4976
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4948
4977
  },
4949
4978
  /**
@@ -5280,11 +5309,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5280
5309
  * @param {string} [orderDirection]
5281
5310
  * @param {number} [pageNumber]
5282
5311
  * @param {number} [pageSize]
5312
+ * @param {ACRequestStatus} [status]
5283
5313
  * @param {*} [options] Override http request option.
5284
5314
  * @throws {RequiredError}
5285
5315
  */
5286
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
5287
- return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
5316
+ acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
5317
+ return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
5288
5318
  },
5289
5319
  /**
5290
5320
  *
@@ -5593,12 +5623,13 @@ export class DefaultApi extends BaseAPI {
5593
5623
  * @param {string} [orderDirection]
5594
5624
  * @param {number} [pageNumber]
5595
5625
  * @param {number} [pageSize]
5626
+ * @param {ACRequestStatus} [status]
5596
5627
  * @param {*} [options] Override http request option.
5597
5628
  * @throws {RequiredError}
5598
5629
  * @memberof DefaultApi
5599
5630
  */
5600
- public acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) {
5601
- return DefaultApiFp(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
5631
+ public acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig) {
5632
+ return DefaultApiFp(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(this.axios, this.basePath));
5602
5633
  }
5603
5634
 
5604
5635
  /**
package/dist/api/api.d.ts CHANGED
@@ -92,6 +92,12 @@ export interface ACRequestQuery {
92
92
  * @memberof ACRequestQuery
93
93
  */
94
94
  'page_size'?: number;
95
+ /**
96
+ *
97
+ * @type {ACRequestStatus}
98
+ * @memberof ACRequestQuery
99
+ */
100
+ 'status'?: ACRequestStatus;
95
101
  }
96
102
  /**
97
103
  *
@@ -137,16 +143,16 @@ export interface ACRequestResponse {
137
143
  'rate': string;
138
144
  /**
139
145
  *
140
- * @type {ACZoneDataCreatedAt}
146
+ * @type {string}
141
147
  * @memberof ACRequestResponse
142
148
  */
143
- 'from': ACZoneDataCreatedAt;
149
+ 'from': string;
144
150
  /**
145
151
  *
146
- * @type {ACZoneDataCreatedAt}
152
+ * @type {string}
147
153
  * @memberof ACRequestResponse
148
154
  */
149
- 'to': ACZoneDataCreatedAt;
155
+ 'to': string;
150
156
  /**
151
157
  *
152
158
  * @type {number}
@@ -167,16 +173,16 @@ export interface ACRequestResponse {
167
173
  'status': string;
168
174
  /**
169
175
  *
170
- * @type {ACZoneDataCreatedAt}
176
+ * @type {string}
171
177
  * @memberof ACRequestResponse
172
178
  */
173
- 'created_at': ACZoneDataCreatedAt;
179
+ 'created_at': string;
174
180
  /**
175
181
  *
176
- * @type {ACZoneDataCreatedAt}
182
+ * @type {string}
177
183
  * @memberof ACRequestResponse
178
184
  */
179
- 'updated_at': ACZoneDataCreatedAt;
185
+ 'updated_at': string;
180
186
  /**
181
187
  *
182
188
  * @type {string}
@@ -208,6 +214,17 @@ export interface ACRequestResponse {
208
214
  */
209
215
  'requester': RequesterData;
210
216
  }
217
+ /**
218
+ *
219
+ * @export
220
+ * @enum {string}
221
+ */
222
+ export declare const ACRequestStatus: {
223
+ readonly Submitted: "submitted";
224
+ readonly Rejected: "rejected";
225
+ readonly Approved: "approved";
226
+ };
227
+ export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
211
228
  /**
212
229
  *
213
230
  * @export
@@ -240,23 +257,16 @@ export interface ACZoneData {
240
257
  'floor_id': string;
241
258
  /**
242
259
  *
243
- * @type {ACZoneDataCreatedAt}
260
+ * @type {string}
244
261
  * @memberof ACZoneData
245
262
  */
246
- 'created_at': ACZoneDataCreatedAt;
263
+ 'created_at': string;
247
264
  /**
248
265
  *
249
- * @type {ACZoneDataCreatedAt}
266
+ * @type {string}
250
267
  * @memberof ACZoneData
251
268
  */
252
- 'updated_at': ACZoneDataCreatedAt;
253
- }
254
- /**
255
- *
256
- * @export
257
- * @interface ACZoneDataCreatedAt
258
- */
259
- export interface ACZoneDataCreatedAt {
269
+ 'updated_at': string;
260
270
  }
261
271
  /**
262
272
  *
@@ -1585,16 +1595,16 @@ export interface RateDetail {
1585
1595
  export interface RequesterData {
1586
1596
  /**
1587
1597
  *
1588
- * @type {ACZoneDataCreatedAt}
1598
+ * @type {string}
1589
1599
  * @memberof RequesterData
1590
1600
  */
1591
- 'updated_at': ACZoneDataCreatedAt;
1601
+ 'updated_at': string;
1592
1602
  /**
1593
1603
  *
1594
- * @type {ACZoneDataCreatedAt}
1604
+ * @type {string}
1595
1605
  * @memberof RequesterData
1596
1606
  */
1597
- 'created_at': ACZoneDataCreatedAt;
1607
+ 'created_at': string;
1598
1608
  /**
1599
1609
  *
1600
1610
  * @type {JsonValue}
@@ -2562,16 +2572,16 @@ export interface VisitorSchedule {
2562
2572
  'floor_id': string;
2563
2573
  /**
2564
2574
  *
2565
- * @type {ACZoneDataCreatedAt}
2575
+ * @type {VisitorScheduleFrom}
2566
2576
  * @memberof VisitorSchedule
2567
2577
  */
2568
- 'from': ACZoneDataCreatedAt;
2578
+ 'from': VisitorScheduleFrom;
2569
2579
  /**
2570
2580
  *
2571
- * @type {ACZoneDataCreatedAt}
2581
+ * @type {VisitorScheduleFrom}
2572
2582
  * @memberof VisitorSchedule
2573
2583
  */
2574
- 'to': ACZoneDataCreatedAt;
2584
+ 'to': VisitorScheduleFrom;
2575
2585
  /**
2576
2586
  *
2577
2587
  * @type {object}
@@ -2579,6 +2589,13 @@ export interface VisitorSchedule {
2579
2589
  */
2580
2590
  'repetition'?: object;
2581
2591
  }
2592
+ /**
2593
+ *
2594
+ * @export
2595
+ * @interface VisitorScheduleFrom
2596
+ */
2597
+ export interface VisitorScheduleFrom {
2598
+ }
2582
2599
  /**
2583
2600
  *
2584
2601
  * @export
@@ -2904,16 +2921,16 @@ export interface WrappedResponseACRequestResponseData {
2904
2921
  'rate': string;
2905
2922
  /**
2906
2923
  *
2907
- * @type {ACZoneDataCreatedAt}
2924
+ * @type {string}
2908
2925
  * @memberof WrappedResponseACRequestResponseData
2909
2926
  */
2910
- 'from': ACZoneDataCreatedAt;
2927
+ 'from': string;
2911
2928
  /**
2912
2929
  *
2913
- * @type {ACZoneDataCreatedAt}
2930
+ * @type {string}
2914
2931
  * @memberof WrappedResponseACRequestResponseData
2915
2932
  */
2916
- 'to': ACZoneDataCreatedAt;
2933
+ 'to': string;
2917
2934
  /**
2918
2935
  *
2919
2936
  * @type {number}
@@ -2934,16 +2951,16 @@ export interface WrappedResponseACRequestResponseData {
2934
2951
  'status': string;
2935
2952
  /**
2936
2953
  *
2937
- * @type {ACZoneDataCreatedAt}
2954
+ * @type {string}
2938
2955
  * @memberof WrappedResponseACRequestResponseData
2939
2956
  */
2940
- 'created_at': ACZoneDataCreatedAt;
2957
+ 'created_at': string;
2941
2958
  /**
2942
2959
  *
2943
- * @type {ACZoneDataCreatedAt}
2960
+ * @type {string}
2944
2961
  * @memberof WrappedResponseACRequestResponseData
2945
2962
  */
2946
- 'updated_at': ACZoneDataCreatedAt;
2963
+ 'updated_at': string;
2947
2964
  /**
2948
2965
  *
2949
2966
  * @type {string}
@@ -3020,16 +3037,16 @@ export interface WrappedResponseACZoneDataData {
3020
3037
  'floor_id': string;
3021
3038
  /**
3022
3039
  *
3023
- * @type {ACZoneDataCreatedAt}
3040
+ * @type {string}
3024
3041
  * @memberof WrappedResponseACZoneDataData
3025
3042
  */
3026
- 'created_at': ACZoneDataCreatedAt;
3043
+ 'created_at': string;
3027
3044
  /**
3028
3045
  *
3029
- * @type {ACZoneDataCreatedAt}
3046
+ * @type {string}
3030
3047
  * @memberof WrappedResponseACZoneDataData
3031
3048
  */
3032
- 'updated_at': ACZoneDataCreatedAt;
3049
+ 'updated_at': string;
3033
3050
  }
3034
3051
  /**
3035
3052
  *
@@ -3712,10 +3729,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3712
3729
  * @param {string} [orderDirection]
3713
3730
  * @param {number} [pageNumber]
3714
3731
  * @param {number} [pageSize]
3732
+ * @param {ACRequestStatus} [status]
3715
3733
  * @param {*} [options] Override http request option.
3716
3734
  * @throws {RequiredError}
3717
3735
  */
3718
- acRequestIndex: (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3736
+ acRequestIndex: (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3719
3737
  /**
3720
3738
  *
3721
3739
  * @param {string} id
@@ -3957,10 +3975,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3957
3975
  * @param {string} [orderDirection]
3958
3976
  * @param {number} [pageNumber]
3959
3977
  * @param {number} [pageSize]
3978
+ * @param {ACRequestStatus} [status]
3960
3979
  * @param {*} [options] Override http request option.
3961
3980
  * @throws {RequiredError}
3962
3981
  */
3963
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>>;
3982
+ acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>>;
3964
3983
  /**
3965
3984
  *
3966
3985
  * @param {string} id
@@ -4202,10 +4221,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4202
4221
  * @param {string} [orderDirection]
4203
4222
  * @param {number} [pageNumber]
4204
4223
  * @param {number} [pageSize]
4224
+ * @param {ACRequestStatus} [status]
4205
4225
  * @param {*} [options] Override http request option.
4206
4226
  * @throws {RequiredError}
4207
4227
  */
4208
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseACRequestResponse>;
4228
+ acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedResponseACRequestResponse>;
4209
4229
  /**
4210
4230
  *
4211
4231
  * @param {string} id
@@ -4450,11 +4470,12 @@ export declare class DefaultApi extends BaseAPI {
4450
4470
  * @param {string} [orderDirection]
4451
4471
  * @param {number} [pageNumber]
4452
4472
  * @param {number} [pageSize]
4473
+ * @param {ACRequestStatus} [status]
4453
4474
  * @param {*} [options] Override http request option.
4454
4475
  * @throws {RequiredError}
4455
4476
  * @memberof DefaultApi
4456
4477
  */
4457
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseACRequestResponse, any>>;
4478
+ acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseACRequestResponse, any>>;
4458
4479
  /**
4459
4480
  *
4460
4481
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -25,13 +25,23 @@ 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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = void 0;
28
+ exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = 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
32
32
  const common_1 = require("./common");
33
33
  // @ts-ignore
34
34
  const base_1 = require("./base");
35
+ /**
36
+ *
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ exports.ACRequestStatus = {
41
+ Submitted: 'submitted',
42
+ Rejected: 'rejected',
43
+ Approved: 'approved'
44
+ };
35
45
  exports.ParkingTicketsIndexQueryTypeEnum = {
36
46
  LogId: 'log_id',
37
47
  InviteId: 'invite_id',
@@ -136,10 +146,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
136
146
  * @param {string} [orderDirection]
137
147
  * @param {number} [pageNumber]
138
148
  * @param {number} [pageSize]
149
+ * @param {ACRequestStatus} [status]
139
150
  * @param {*} [options] Override http request option.
140
151
  * @throws {RequiredError}
141
152
  */
142
- acRequestIndex: (requesterId, orderBy, orderDirection, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
153
+ acRequestIndex: (requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
143
154
  const localVarPath = `/ac_request`;
144
155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
145
156
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -165,6 +176,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
165
176
  if (pageSize !== undefined) {
166
177
  localVarQueryParameter['page_size'] = pageSize;
167
178
  }
179
+ if (status !== undefined) {
180
+ localVarQueryParameter['status'] = status;
181
+ }
168
182
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
169
183
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
170
184
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1107,12 +1121,13 @@ const DefaultApiFp = function (configuration) {
1107
1121
  * @param {string} [orderDirection]
1108
1122
  * @param {number} [pageNumber]
1109
1123
  * @param {number} [pageSize]
1124
+ * @param {ACRequestStatus} [status]
1110
1125
  * @param {*} [options] Override http request option.
1111
1126
  * @throws {RequiredError}
1112
1127
  */
1113
- acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options) {
1128
+ acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options) {
1114
1129
  return __awaiter(this, void 0, void 0, function* () {
1115
- const localVarAxiosArgs = yield localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options);
1130
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
1116
1131
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1117
1132
  });
1118
1133
  },
@@ -1508,11 +1523,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1508
1523
  * @param {string} [orderDirection]
1509
1524
  * @param {number} [pageNumber]
1510
1525
  * @param {number} [pageSize]
1526
+ * @param {ACRequestStatus} [status]
1511
1527
  * @param {*} [options] Override http request option.
1512
1528
  * @throws {RequiredError}
1513
1529
  */
1514
- acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options) {
1515
- return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
1530
+ acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options) {
1531
+ return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
1516
1532
  },
1517
1533
  /**
1518
1534
  *
@@ -1820,12 +1836,13 @@ class DefaultApi extends base_1.BaseAPI {
1820
1836
  * @param {string} [orderDirection]
1821
1837
  * @param {number} [pageNumber]
1822
1838
  * @param {number} [pageSize]
1839
+ * @param {ACRequestStatus} [status]
1823
1840
  * @param {*} [options] Override http request option.
1824
1841
  * @throws {RequiredError}
1825
1842
  * @memberof DefaultApi
1826
1843
  */
1827
- acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options) {
1828
- return (0, exports.DefaultApiFp)(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
1844
+ acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options) {
1845
+ return (0, exports.DefaultApiFp)(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(this.axios, this.basePath));
1829
1846
  }
1830
1847
  /**
1831
1848
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"