ob-bms-sdk 0.0.78 → 0.0.79

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
@@ -37,10 +37,10 @@ export interface ACRequestBody {
37
37
  'floor_id': string;
38
38
  /**
39
39
  *
40
- * @type {string}
40
+ * @type {Array<string>}
41
41
  * @memberof ACRequestBody
42
42
  */
43
- 'ac_zone_id': string;
43
+ 'ac_zone_id': Array<string>;
44
44
  /**
45
45
  *
46
46
  * @type {string}
@@ -147,24 +147,12 @@ export interface ACRequestResponse {
147
147
  * @memberof ACRequestResponse
148
148
  */
149
149
  'floor_id': string;
150
- /**
151
- *
152
- * @type {string}
153
- * @memberof ACRequestResponse
154
- */
155
- 'ac_zone_id': string;
156
150
  /**
157
151
  *
158
152
  * @type {string}
159
153
  * @memberof ACRequestResponse
160
154
  */
161
155
  'estimated_cost': string;
162
- /**
163
- *
164
- * @type {string}
165
- * @memberof ACRequestResponse
166
- */
167
- 'rate': string;
168
156
  /**
169
157
  *
170
158
  * @type {string}
@@ -188,7 +176,7 @@ export interface ACRequestResponse {
188
176
  * @type {number}
189
177
  * @memberof ACRequestResponse
190
178
  */
191
- 'area_size': number;
179
+ 'total_area_size': number;
192
180
  /**
193
181
  *
194
182
  * @type {string}
@@ -215,10 +203,10 @@ export interface ACRequestResponse {
215
203
  'requester_id': string;
216
204
  /**
217
205
  *
218
- * @type {ACZoneData}
206
+ * @type {Array<ACRequestZone>}
219
207
  * @memberof ACRequestResponse
220
208
  */
221
- 'ac_zone': ACZoneData;
209
+ 'ac_zone': Array<ACRequestZone>;
222
210
  /**
223
211
  *
224
212
  * @type {FloorData}
@@ -329,6 +317,55 @@ export interface ACRequestUpdateBody {
329
317
  */
330
318
  export interface ACRequestUpdateBodyStatus {
331
319
  }
320
+ /**
321
+ *
322
+ * @export
323
+ * @interface ACRequestZone
324
+ */
325
+ export interface ACRequestZone {
326
+ /**
327
+ *
328
+ * @type {string}
329
+ * @memberof ACRequestZone
330
+ */
331
+ 'id': string;
332
+ /**
333
+ *
334
+ * @type {ACZoneData}
335
+ * @memberof ACRequestZone
336
+ */
337
+ 'ac_zone': ACZoneData;
338
+ /**
339
+ *
340
+ * @type {string}
341
+ * @memberof ACRequestZone
342
+ */
343
+ 'ac_request_id': string;
344
+ /**
345
+ *
346
+ * @type {string}
347
+ * @memberof ACRequestZone
348
+ */
349
+ 'rate': string;
350
+ /**
351
+ *
352
+ * @type {number}
353
+ * @memberof ACRequestZone
354
+ */
355
+ 'area_size': number;
356
+ /**
357
+ *
358
+ * @type {string}
359
+ * @memberof ACRequestZone
360
+ */
361
+ 'created_at': string;
362
+ /**
363
+ *
364
+ * @type {string}
365
+ * @memberof ACRequestZone
366
+ */
367
+ 'updated_at': string;
368
+ }
332
369
  /**
333
370
  *
334
371
  * @export
@@ -496,6 +533,19 @@ export interface ConsentRequestBody {
496
533
  */
497
534
  'consent': boolean;
498
535
  }
536
+ /**
537
+ *
538
+ * @export
539
+ * @interface CreateACRequestResponse
540
+ */
541
+ export interface CreateACRequestResponse {
542
+ /**
543
+ *
544
+ * @type {string}
545
+ * @memberof CreateACRequestResponse
546
+ */
547
+ 'references': string;
548
+ }
499
549
  /**
500
550
  *
501
551
  * @export
@@ -1785,6 +1835,19 @@ export interface RequesterData {
1785
1835
  */
1786
1836
  'id': string;
1787
1837
  }
1838
+ /**
1839
+ *
1840
+ * @export
1841
+ * @interface ResultResponseData
1842
+ */
1843
+ export interface ResultResponseData {
1844
+ /**
1845
+ *
1846
+ * @type {boolean}
1847
+ * @memberof ResultResponseData
1848
+ */
1849
+ 'result': boolean;
1850
+ }
1788
1851
  /**
1789
1852
  *
1790
1853
  * @export
@@ -2662,6 +2725,26 @@ export interface UpdateMemberResponse {
2662
2725
  */
2663
2726
  'result': boolean | null;
2664
2727
  }
2728
+ /**
2729
+ *
2730
+ * @export
2731
+ * @interface UpdateVisitorScheduleBody
2732
+ */
2733
+ export interface UpdateVisitorScheduleBody {
2734
+ /**
2735
+ *
2736
+ * @type {UpdateVisitorScheduleBodyDeletedAt}
2737
+ * @memberof UpdateVisitorScheduleBody
2738
+ */
2739
+ 'deleted_at': UpdateVisitorScheduleBodyDeletedAt;
2740
+ }
2741
+ /**
2742
+ *
2743
+ * @export
2744
+ * @interface UpdateVisitorScheduleBodyDeletedAt
2745
+ */
2746
+ export interface UpdateVisitorScheduleBodyDeletedAt {
2747
+ }
2665
2748
  /**
2666
2749
  *
2667
2750
  * @export
@@ -2829,16 +2912,16 @@ export interface VisitorSchedule {
2829
2912
  'floor_id': string;
2830
2913
  /**
2831
2914
  *
2832
- * @type {VisitorScheduleFrom}
2915
+ * @type {UpdateVisitorScheduleBodyDeletedAt}
2833
2916
  * @memberof VisitorSchedule
2834
2917
  */
2835
- 'from': VisitorScheduleFrom;
2918
+ 'from': UpdateVisitorScheduleBodyDeletedAt;
2836
2919
  /**
2837
2920
  *
2838
- * @type {VisitorScheduleFrom}
2921
+ * @type {UpdateVisitorScheduleBodyDeletedAt}
2839
2922
  * @memberof VisitorSchedule
2840
2923
  */
2841
- 'to': VisitorScheduleFrom;
2924
+ 'to': UpdateVisitorScheduleBodyDeletedAt;
2842
2925
  /**
2843
2926
  *
2844
2927
  * @type {object}
@@ -2846,13 +2929,6 @@ export interface VisitorSchedule {
2846
2929
  */
2847
2930
  'repetition'?: object;
2848
2931
  }
2849
- /**
2850
- *
2851
- * @export
2852
- * @interface VisitorScheduleFrom
2853
- */
2854
- export interface VisitorScheduleFrom {
2855
- }
2856
2932
  /**
2857
2933
  *
2858
2934
  * @export
@@ -3150,15 +3226,15 @@ export interface WrappedOneResponseACRequestResponse {
3150
3226
  /**
3151
3227
  *
3152
3228
  * @export
3153
- * @interface WrappedOneResponseBoolean
3229
+ * @interface WrappedOneResponseCreateACRequestResponse
3154
3230
  */
3155
- export interface WrappedOneResponseBoolean {
3231
+ export interface WrappedOneResponseCreateACRequestResponse {
3156
3232
  /**
3157
3233
  *
3158
- * @type {boolean}
3159
- * @memberof WrappedOneResponseBoolean
3234
+ * @type {CreateACRequestResponse}
3235
+ * @memberof WrappedOneResponseCreateACRequestResponse
3160
3236
  */
3161
- 'data': boolean;
3237
+ 'data': CreateACRequestResponse;
3162
3238
  }
3163
3239
  /**
3164
3240
  *
@@ -3694,6 +3770,32 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
3694
3770
 
3695
3771
  export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
3696
3772
 
3773
+ /**
3774
+ *
3775
+ * @export
3776
+ * @interface WrappedResponseResultResponseData
3777
+ */
3778
+ export interface WrappedResponseResultResponseData {
3779
+ /**
3780
+ *
3781
+ * @type {WrappedResponseResultResponseDataData}
3782
+ * @memberof WrappedResponseResultResponseData
3783
+ */
3784
+ 'data': WrappedResponseResultResponseDataData | null;
3785
+ }
3786
+ /**
3787
+ *
3788
+ * @export
3789
+ * @interface WrappedResponseResultResponseDataData
3790
+ */
3791
+ export interface WrappedResponseResultResponseDataData {
3792
+ /**
3793
+ *
3794
+ * @type {boolean}
3795
+ * @memberof WrappedResponseResultResponseDataData
3796
+ */
3797
+ 'result': boolean;
3798
+ }
3697
3799
  /**
3698
3800
  *
3699
3801
  * @export
@@ -5130,6 +5232,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5130
5232
  options: localVarRequestOptions,
5131
5233
  };
5132
5234
  },
5235
+ /**
5236
+ *
5237
+ * @param {string} id
5238
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
5239
+ * @param {*} [options] Override http request option.
5240
+ * @throws {RequiredError}
5241
+ */
5242
+ visitorSchedulesUpdate: async (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5243
+ // verify required parameter 'id' is not null or undefined
5244
+ assertParamExists('visitorSchedulesUpdate', 'id', id)
5245
+ // verify required parameter 'updateVisitorScheduleBody' is not null or undefined
5246
+ assertParamExists('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody)
5247
+ const localVarPath = `/visitor_schedules/{id}`
5248
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5250
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5251
+ let baseOptions;
5252
+ if (configuration) {
5253
+ baseOptions = configuration.baseOptions;
5254
+ }
5255
+
5256
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5257
+ const localVarHeaderParameter = {} as any;
5258
+ const localVarQueryParameter = {} as any;
5259
+
5260
+
5261
+
5262
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5263
+
5264
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5265
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5266
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5267
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVisitorScheduleBody, localVarRequestOptions, configuration)
5268
+
5269
+ return {
5270
+ url: toPathString(localVarUrlObj),
5271
+ options: localVarRequestOptions,
5272
+ };
5273
+ },
5133
5274
  /**
5134
5275
  *
5135
5276
  * @param {string} [tokenId]
@@ -5281,7 +5422,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5281
5422
  * @param {*} [options] Override http request option.
5282
5423
  * @throws {RequiredError}
5283
5424
  */
5284
- async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>> {
5425
+ async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateACRequestResponse>> {
5285
5426
  const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
5286
5427
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5287
5428
  },
@@ -5630,6 +5771,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5630
5771
  const localVarAxiosArgs = await localVarAxiosParamCreator.towersIndex(options);
5631
5772
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5632
5773
  },
5774
+ /**
5775
+ *
5776
+ * @param {string} id
5777
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
5778
+ * @param {*} [options] Override http request option.
5779
+ * @throws {RequiredError}
5780
+ */
5781
+ async visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
5782
+ const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
5783
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5784
+ },
5633
5785
  /**
5634
5786
  *
5635
5787
  * @param {string} [tokenId]
@@ -5686,7 +5838,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5686
5838
  * @param {*} [options] Override http request option.
5687
5839
  * @throws {RequiredError}
5688
5840
  */
5689
- acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean> {
5841
+ acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateACRequestResponse> {
5690
5842
  return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
5691
5843
  },
5692
5844
  /**
@@ -6002,6 +6154,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6002
6154
  towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse> {
6003
6155
  return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
6004
6156
  },
6157
+ /**
6158
+ *
6159
+ * @param {string} id
6160
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
6161
+ * @param {*} [options] Override http request option.
6162
+ * @throws {RequiredError}
6163
+ */
6164
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
6165
+ return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
6166
+ },
6005
6167
  /**
6006
6168
  *
6007
6169
  * @param {string} [tokenId]
@@ -6436,6 +6598,18 @@ export class DefaultApi extends BaseAPI {
6436
6598
  return DefaultApiFp(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
6437
6599
  }
6438
6600
 
6601
+ /**
6602
+ *
6603
+ * @param {string} id
6604
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
6605
+ * @param {*} [options] Override http request option.
6606
+ * @throws {RequiredError}
6607
+ * @memberof DefaultApi
6608
+ */
6609
+ public visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) {
6610
+ return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
6611
+ }
6612
+
6439
6613
  /**
6440
6614
  *
6441
6615
  * @param {string} [tokenId]
package/dist/api/api.d.ts CHANGED
@@ -27,10 +27,10 @@ export interface ACRequestBody {
27
27
  'floor_id': string;
28
28
  /**
29
29
  *
30
- * @type {string}
30
+ * @type {Array<string>}
31
31
  * @memberof ACRequestBody
32
32
  */
33
- 'ac_zone_id': string;
33
+ 'ac_zone_id': Array<string>;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -135,24 +135,12 @@ export interface ACRequestResponse {
135
135
  * @memberof ACRequestResponse
136
136
  */
137
137
  'floor_id': string;
138
- /**
139
- *
140
- * @type {string}
141
- * @memberof ACRequestResponse
142
- */
143
- 'ac_zone_id': string;
144
138
  /**
145
139
  *
146
140
  * @type {string}
147
141
  * @memberof ACRequestResponse
148
142
  */
149
143
  'estimated_cost': string;
150
- /**
151
- *
152
- * @type {string}
153
- * @memberof ACRequestResponse
154
- */
155
- 'rate': string;
156
144
  /**
157
145
  *
158
146
  * @type {string}
@@ -176,7 +164,7 @@ export interface ACRequestResponse {
176
164
  * @type {number}
177
165
  * @memberof ACRequestResponse
178
166
  */
179
- 'area_size': number;
167
+ 'total_area_size': number;
180
168
  /**
181
169
  *
182
170
  * @type {string}
@@ -203,10 +191,10 @@ export interface ACRequestResponse {
203
191
  'requester_id': string;
204
192
  /**
205
193
  *
206
- * @type {ACZoneData}
194
+ * @type {Array<ACRequestZone>}
207
195
  * @memberof ACRequestResponse
208
196
  */
209
- 'ac_zone': ACZoneData;
197
+ 'ac_zone': Array<ACRequestZone>;
210
198
  /**
211
199
  *
212
200
  * @type {FloorData}
@@ -305,6 +293,55 @@ export interface ACRequestUpdateBody {
305
293
  */
306
294
  export interface ACRequestUpdateBodyStatus {
307
295
  }
296
+ /**
297
+ *
298
+ * @export
299
+ * @interface ACRequestZone
300
+ */
301
+ export interface ACRequestZone {
302
+ /**
303
+ *
304
+ * @type {string}
305
+ * @memberof ACRequestZone
306
+ */
307
+ 'id': string;
308
+ /**
309
+ *
310
+ * @type {ACZoneData}
311
+ * @memberof ACRequestZone
312
+ */
313
+ 'ac_zone': ACZoneData;
314
+ /**
315
+ *
316
+ * @type {string}
317
+ * @memberof ACRequestZone
318
+ */
319
+ 'ac_request_id': string;
320
+ /**
321
+ *
322
+ * @type {string}
323
+ * @memberof ACRequestZone
324
+ */
325
+ 'rate': string;
326
+ /**
327
+ *
328
+ * @type {number}
329
+ * @memberof ACRequestZone
330
+ */
331
+ 'area_size': number;
332
+ /**
333
+ *
334
+ * @type {string}
335
+ * @memberof ACRequestZone
336
+ */
337
+ 'created_at': string;
338
+ /**
339
+ *
340
+ * @type {string}
341
+ * @memberof ACRequestZone
342
+ */
343
+ 'updated_at': string;
344
+ }
308
345
  /**
309
346
  *
310
347
  * @export
@@ -472,6 +509,19 @@ export interface ConsentRequestBody {
472
509
  */
473
510
  'consent': boolean;
474
511
  }
512
+ /**
513
+ *
514
+ * @export
515
+ * @interface CreateACRequestResponse
516
+ */
517
+ export interface CreateACRequestResponse {
518
+ /**
519
+ *
520
+ * @type {string}
521
+ * @memberof CreateACRequestResponse
522
+ */
523
+ 'references': string;
524
+ }
475
525
  /**
476
526
  *
477
527
  * @export
@@ -1760,6 +1810,19 @@ export interface RequesterData {
1760
1810
  */
1761
1811
  'id': string;
1762
1812
  }
1813
+ /**
1814
+ *
1815
+ * @export
1816
+ * @interface ResultResponseData
1817
+ */
1818
+ export interface ResultResponseData {
1819
+ /**
1820
+ *
1821
+ * @type {boolean}
1822
+ * @memberof ResultResponseData
1823
+ */
1824
+ 'result': boolean;
1825
+ }
1763
1826
  /**
1764
1827
  *
1765
1828
  * @export
@@ -2614,6 +2677,26 @@ export interface UpdateMemberResponse {
2614
2677
  */
2615
2678
  'result': boolean | null;
2616
2679
  }
2680
+ /**
2681
+ *
2682
+ * @export
2683
+ * @interface UpdateVisitorScheduleBody
2684
+ */
2685
+ export interface UpdateVisitorScheduleBody {
2686
+ /**
2687
+ *
2688
+ * @type {UpdateVisitorScheduleBodyDeletedAt}
2689
+ * @memberof UpdateVisitorScheduleBody
2690
+ */
2691
+ 'deleted_at': UpdateVisitorScheduleBodyDeletedAt;
2692
+ }
2693
+ /**
2694
+ *
2695
+ * @export
2696
+ * @interface UpdateVisitorScheduleBodyDeletedAt
2697
+ */
2698
+ export interface UpdateVisitorScheduleBodyDeletedAt {
2699
+ }
2617
2700
  /**
2618
2701
  *
2619
2702
  * @export
@@ -2781,16 +2864,16 @@ export interface VisitorSchedule {
2781
2864
  'floor_id': string;
2782
2865
  /**
2783
2866
  *
2784
- * @type {VisitorScheduleFrom}
2867
+ * @type {UpdateVisitorScheduleBodyDeletedAt}
2785
2868
  * @memberof VisitorSchedule
2786
2869
  */
2787
- 'from': VisitorScheduleFrom;
2870
+ 'from': UpdateVisitorScheduleBodyDeletedAt;
2788
2871
  /**
2789
2872
  *
2790
- * @type {VisitorScheduleFrom}
2873
+ * @type {UpdateVisitorScheduleBodyDeletedAt}
2791
2874
  * @memberof VisitorSchedule
2792
2875
  */
2793
- 'to': VisitorScheduleFrom;
2876
+ 'to': UpdateVisitorScheduleBodyDeletedAt;
2794
2877
  /**
2795
2878
  *
2796
2879
  * @type {object}
@@ -2798,13 +2881,6 @@ export interface VisitorSchedule {
2798
2881
  */
2799
2882
  'repetition'?: object;
2800
2883
  }
2801
- /**
2802
- *
2803
- * @export
2804
- * @interface VisitorScheduleFrom
2805
- */
2806
- export interface VisitorScheduleFrom {
2807
- }
2808
2884
  /**
2809
2885
  *
2810
2886
  * @export
@@ -3102,15 +3178,15 @@ export interface WrappedOneResponseACRequestResponse {
3102
3178
  /**
3103
3179
  *
3104
3180
  * @export
3105
- * @interface WrappedOneResponseBoolean
3181
+ * @interface WrappedOneResponseCreateACRequestResponse
3106
3182
  */
3107
- export interface WrappedOneResponseBoolean {
3183
+ export interface WrappedOneResponseCreateACRequestResponse {
3108
3184
  /**
3109
3185
  *
3110
- * @type {boolean}
3111
- * @memberof WrappedOneResponseBoolean
3186
+ * @type {CreateACRequestResponse}
3187
+ * @memberof WrappedOneResponseCreateACRequestResponse
3112
3188
  */
3113
- 'data': boolean;
3189
+ 'data': CreateACRequestResponse;
3114
3190
  }
3115
3191
  /**
3116
3192
  *
@@ -3640,6 +3716,32 @@ export declare const WrappedResponsePassConsentResponseDataStatusEnum: {
3640
3716
  readonly Confirmed: "confirmed";
3641
3717
  };
3642
3718
  export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
3719
+ /**
3720
+ *
3721
+ * @export
3722
+ * @interface WrappedResponseResultResponseData
3723
+ */
3724
+ export interface WrappedResponseResultResponseData {
3725
+ /**
3726
+ *
3727
+ * @type {WrappedResponseResultResponseDataData}
3728
+ * @memberof WrappedResponseResultResponseData
3729
+ */
3730
+ 'data': WrappedResponseResultResponseDataData | null;
3731
+ }
3732
+ /**
3733
+ *
3734
+ * @export
3735
+ * @interface WrappedResponseResultResponseDataData
3736
+ */
3737
+ export interface WrappedResponseResultResponseDataData {
3738
+ /**
3739
+ *
3740
+ * @type {boolean}
3741
+ * @memberof WrappedResponseResultResponseDataData
3742
+ */
3743
+ 'result': boolean;
3744
+ }
3643
3745
  /**
3644
3746
  *
3645
3747
  * @export
@@ -4074,6 +4176,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
4074
4176
  * @throws {RequiredError}
4075
4177
  */
4076
4178
  towersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4179
+ /**
4180
+ *
4181
+ * @param {string} id
4182
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
4183
+ * @param {*} [options] Override http request option.
4184
+ * @throws {RequiredError}
4185
+ */
4186
+ visitorSchedulesUpdate: (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4077
4187
  /**
4078
4188
  *
4079
4189
  * @param {string} [tokenId]
@@ -4114,7 +4224,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4114
4224
  * @param {*} [options] Override http request option.
4115
4225
  * @throws {RequiredError}
4116
4226
  */
4117
- acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>>;
4227
+ acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateACRequestResponse>>;
4118
4228
  /**
4119
4229
  *
4120
4230
  * @param {string} [orderBy]
@@ -4364,6 +4474,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4364
4474
  * @throws {RequiredError}
4365
4475
  */
4366
4476
  towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>>;
4477
+ /**
4478
+ *
4479
+ * @param {string} id
4480
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
4481
+ * @param {*} [options] Override http request option.
4482
+ * @throws {RequiredError}
4483
+ */
4484
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>>;
4367
4485
  /**
4368
4486
  *
4369
4487
  * @param {string} [tokenId]
@@ -4404,7 +4522,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4404
4522
  * @param {*} [options] Override http request option.
4405
4523
  * @throws {RequiredError}
4406
4524
  */
4407
- acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean>;
4525
+ acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateACRequestResponse>;
4408
4526
  /**
4409
4527
  *
4410
4528
  * @param {string} [orderBy]
@@ -4654,6 +4772,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4654
4772
  * @throws {RequiredError}
4655
4773
  */
4656
4774
  towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse>;
4775
+ /**
4776
+ *
4777
+ * @param {string} id
4778
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
4779
+ * @param {*} [options] Override http request option.
4780
+ * @throws {RequiredError}
4781
+ */
4782
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData>;
4657
4783
  /**
4658
4784
  *
4659
4785
  * @param {string} [tokenId]
@@ -4697,7 +4823,7 @@ export declare class DefaultApi extends BaseAPI {
4697
4823
  * @throws {RequiredError}
4698
4824
  * @memberof DefaultApi
4699
4825
  */
4700
- acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseBoolean, any>>;
4826
+ acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseCreateACRequestResponse, any>>;
4701
4827
  /**
4702
4828
  *
4703
4829
  * @param {string} [orderBy]
@@ -4979,6 +5105,15 @@ export declare class DefaultApi extends BaseAPI {
4979
5105
  * @memberof DefaultApi
4980
5106
  */
4981
5107
  towersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTowerIndexResponse, any>>;
5108
+ /**
5109
+ *
5110
+ * @param {string} id
5111
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
5112
+ * @param {*} [options] Override http request option.
5113
+ * @throws {RequiredError}
5114
+ * @memberof DefaultApi
5115
+ */
5116
+ visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseResultResponseData, any>>;
4982
5117
  /**
4983
5118
  *
4984
5119
  * @param {string} [tokenId]
package/dist/api/api.js CHANGED
@@ -1174,6 +1174,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1174
1174
  options: localVarRequestOptions,
1175
1175
  };
1176
1176
  }),
1177
+ /**
1178
+ *
1179
+ * @param {string} id
1180
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
1181
+ * @param {*} [options] Override http request option.
1182
+ * @throws {RequiredError}
1183
+ */
1184
+ visitorSchedulesUpdate: (id, updateVisitorScheduleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
1185
+ // verify required parameter 'id' is not null or undefined
1186
+ (0, common_1.assertParamExists)('visitorSchedulesUpdate', 'id', id);
1187
+ // verify required parameter 'updateVisitorScheduleBody' is not null or undefined
1188
+ (0, common_1.assertParamExists)('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody);
1189
+ const localVarPath = `/visitor_schedules/{id}`
1190
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1191
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1192
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1193
+ let baseOptions;
1194
+ if (configuration) {
1195
+ baseOptions = configuration.baseOptions;
1196
+ }
1197
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1198
+ const localVarHeaderParameter = {};
1199
+ const localVarQueryParameter = {};
1200
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1201
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1202
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1203
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1204
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateVisitorScheduleBody, localVarRequestOptions, configuration);
1205
+ return {
1206
+ url: (0, common_1.toPathString)(localVarUrlObj),
1207
+ options: localVarRequestOptions,
1208
+ };
1209
+ }),
1177
1210
  /**
1178
1211
  *
1179
1212
  * @param {string} [tokenId]
@@ -1718,6 +1751,19 @@ const DefaultApiFp = function (configuration) {
1718
1751
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1719
1752
  });
1720
1753
  },
1754
+ /**
1755
+ *
1756
+ * @param {string} id
1757
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
1758
+ * @param {*} [options] Override http request option.
1759
+ * @throws {RequiredError}
1760
+ */
1761
+ visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
1762
+ return __awaiter(this, void 0, void 0, function* () {
1763
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
1764
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1765
+ });
1766
+ },
1721
1767
  /**
1722
1768
  *
1723
1769
  * @param {string} [tokenId]
@@ -2098,6 +2144,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2098
2144
  towersIndex(options) {
2099
2145
  return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
2100
2146
  },
2147
+ /**
2148
+ *
2149
+ * @param {string} id
2150
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
2151
+ * @param {*} [options] Override http request option.
2152
+ * @throws {RequiredError}
2153
+ */
2154
+ visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
2155
+ return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
2156
+ },
2101
2157
  /**
2102
2158
  *
2103
2159
  * @param {string} [tokenId]
@@ -2499,6 +2555,17 @@ class DefaultApi extends base_1.BaseAPI {
2499
2555
  towersIndex(options) {
2500
2556
  return (0, exports.DefaultApiFp)(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
2501
2557
  }
2558
+ /**
2559
+ *
2560
+ * @param {string} id
2561
+ * @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
2562
+ * @param {*} [options] Override http request option.
2563
+ * @throws {RequiredError}
2564
+ * @memberof DefaultApi
2565
+ */
2566
+ visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
2567
+ return (0, exports.DefaultApiFp)(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
2568
+ }
2502
2569
  /**
2503
2570
  *
2504
2571
  * @param {string} [tokenId]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"