ob-bms-sdk 0.0.100 → 0.0.102

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
@@ -2803,6 +2803,42 @@ export interface ParkingSpaceDetailAndSpaceDetail {
2803
2803
  * @memberof ParkingSpaceDetailAndSpaceDetail
2804
2804
  */
2805
2805
  'zoneName': string;
2806
+ /**
2807
+ *
2808
+ * @type {string}
2809
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2810
+ */
2811
+ 'poleId'?: string;
2812
+ /**
2813
+ *
2814
+ * @type {string}
2815
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2816
+ */
2817
+ 'poleName'?: string;
2818
+ /**
2819
+ *
2820
+ * @type {string}
2821
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2822
+ */
2823
+ 'poleRow'?: string;
2824
+ /**
2825
+ *
2826
+ * @type {string}
2827
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2828
+ */
2829
+ 'poleColumn'?: string;
2830
+ /**
2831
+ *
2832
+ * @type {string}
2833
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2834
+ */
2835
+ 'poleColorName'?: string;
2836
+ /**
2837
+ *
2838
+ * @type {string}
2839
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2840
+ */
2841
+ 'poleColorCode'?: string;
2806
2842
  }
2807
2843
  /**
2808
2844
  *
@@ -3394,6 +3430,19 @@ export interface SensorIndicatorData {
3394
3430
  */
3395
3431
  'floors': Array<FloorSensorData>;
3396
3432
  }
3433
+ /**
3434
+ *
3435
+ * @export
3436
+ * @interface SensorTrafficData
3437
+ */
3438
+ export interface SensorTrafficData {
3439
+ /**
3440
+ *
3441
+ * @type {string}
3442
+ * @memberof SensorTrafficData
3443
+ */
3444
+ 'direction': string;
3445
+ }
3397
3446
  /**
3398
3447
  *
3399
3448
  * @export
@@ -4357,6 +4406,122 @@ export interface TowerDataPasses {
4357
4406
  */
4358
4407
  'updated_at': string;
4359
4408
  }
4409
+ /**
4410
+ *
4411
+ * @export
4412
+ * @interface TrafficRecordData
4413
+ */
4414
+ export interface TrafficRecordData {
4415
+ /**
4416
+ *
4417
+ * @type {TrafficRecordDataMeta}
4418
+ * @memberof TrafficRecordData
4419
+ */
4420
+ 'meta': TrafficRecordDataMeta;
4421
+ /**
4422
+ *
4423
+ * @type {SensorTrafficData}
4424
+ * @memberof TrafficRecordData
4425
+ */
4426
+ 'data': SensorTrafficData;
4427
+ /**
4428
+ *
4429
+ * @type {string}
4430
+ * @memberof TrafficRecordData
4431
+ */
4432
+ 'type': string;
4433
+ /**
4434
+ *
4435
+ * @type {string}
4436
+ * @memberof TrafficRecordData
4437
+ */
4438
+ 'name': string;
4439
+ /**
4440
+ *
4441
+ * @type {string}
4442
+ * @memberof TrafficRecordData
4443
+ */
4444
+ 'uid': string;
4445
+ }
4446
+ /**
4447
+ *
4448
+ * @export
4449
+ * @interface TrafficRecordDataMeta
4450
+ */
4451
+ export interface TrafficRecordDataMeta {
4452
+ /**
4453
+ *
4454
+ * @type {number}
4455
+ * @memberof TrafficRecordDataMeta
4456
+ */
4457
+ 'vehicleSpeed': number;
4458
+ /**
4459
+ *
4460
+ * @type {string}
4461
+ * @memberof TrafficRecordDataMeta
4462
+ */
4463
+ 'time': string;
4464
+ /**
4465
+ *
4466
+ * @type {number}
4467
+ * @memberof TrafficRecordDataMeta
4468
+ */
4469
+ 'queueLen': number;
4470
+ /**
4471
+ *
4472
+ * @type {number}
4473
+ * @memberof TrafficRecordDataMeta
4474
+ */
4475
+ 'laneState': number;
4476
+ /**
4477
+ *
4478
+ * @type {number}
4479
+ * @memberof TrafficRecordDataMeta
4480
+ */
4481
+ 'laneNo': number;
4482
+ /**
4483
+ *
4484
+ * @type {number}
4485
+ * @memberof TrafficRecordDataMeta
4486
+ */
4487
+ 'jamLevel': number;
4488
+ /**
4489
+ *
4490
+ * @type {number}
4491
+ * @memberof TrafficRecordDataMeta
4492
+ */
4493
+ 'jamFlow': number;
4494
+ /**
4495
+ *
4496
+ * @type {number}
4497
+ * @memberof TrafficRecordDataMeta
4498
+ */
4499
+ 'upwardFlow': number;
4500
+ /**
4501
+ *
4502
+ * @type {number}
4503
+ * @memberof TrafficRecordDataMeta
4504
+ */
4505
+ 'downwardFlow': number;
4506
+ /**
4507
+ *
4508
+ * @type {string}
4509
+ * @memberof TrafficRecordDataMeta
4510
+ */
4511
+ 'monitoringPointName': string;
4512
+ /**
4513
+ *
4514
+ * @type {string}
4515
+ * @memberof TrafficRecordDataMeta
4516
+ */
4517
+ 'monitoringPointSyscode': string;
4518
+ /**
4519
+ *
4520
+ * @type {string}
4521
+ * @memberof TrafficRecordDataMeta
4522
+ */
4523
+ 'eventId': string;
4524
+ }
4360
4525
  /**
4361
4526
  *
4362
4527
  * @export
@@ -5907,6 +6072,42 @@ export interface WrappedResponseParkingSpaceDetailAndSpaceDetailData {
5907
6072
  * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
5908
6073
  */
5909
6074
  'zoneName': string;
6075
+ /**
6076
+ *
6077
+ * @type {string}
6078
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6079
+ */
6080
+ 'poleId'?: string;
6081
+ /**
6082
+ *
6083
+ * @type {string}
6084
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6085
+ */
6086
+ 'poleName'?: string;
6087
+ /**
6088
+ *
6089
+ * @type {string}
6090
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6091
+ */
6092
+ 'poleRow'?: string;
6093
+ /**
6094
+ *
6095
+ * @type {string}
6096
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6097
+ */
6098
+ 'poleColumn'?: string;
6099
+ /**
6100
+ *
6101
+ * @type {string}
6102
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6103
+ */
6104
+ 'poleColorName'?: string;
6105
+ /**
6106
+ *
6107
+ * @type {string}
6108
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6109
+ */
6110
+ 'poleColorCode'?: string;
5910
6111
  }
5911
6112
  /**
5912
6113
  *
@@ -6249,6 +6450,26 @@ export interface WrappedResponseTowerIndexResponse {
6249
6450
  */
6250
6451
  export interface WrappedResponseTowerIndexResponseData {
6251
6452
  }
6453
+ /**
6454
+ *
6455
+ * @export
6456
+ * @interface WrappedResponseTrafficRecordsIndexResponseData
6457
+ */
6458
+ export interface WrappedResponseTrafficRecordsIndexResponseData {
6459
+ /**
6460
+ *
6461
+ * @type {WrappedResponseTrafficRecordsIndexResponseDataData}
6462
+ * @memberof WrappedResponseTrafficRecordsIndexResponseData
6463
+ */
6464
+ 'data': WrappedResponseTrafficRecordsIndexResponseDataData | null;
6465
+ }
6466
+ /**
6467
+ *
6468
+ * @export
6469
+ * @interface WrappedResponseTrafficRecordsIndexResponseDataData
6470
+ */
6471
+ export interface WrappedResponseTrafficRecordsIndexResponseDataData {
6472
+ }
6252
6473
  /**
6253
6474
  *
6254
6475
  * @export
@@ -8470,6 +8691,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8470
8691
 
8471
8692
 
8472
8693
 
8694
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8695
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8696
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8697
+
8698
+ return {
8699
+ url: toPathString(localVarUrlObj),
8700
+ options: localVarRequestOptions,
8701
+ };
8702
+ },
8703
+ /**
8704
+ *
8705
+ * @param {*} [options] Override http request option.
8706
+ * @throws {RequiredError}
8707
+ */
8708
+ trafficRecordsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8709
+ const localVarPath = `/traffic_records`;
8710
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8711
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8712
+ let baseOptions;
8713
+ if (configuration) {
8714
+ baseOptions = configuration.baseOptions;
8715
+ }
8716
+
8717
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8718
+ const localVarHeaderParameter = {} as any;
8719
+ const localVarQueryParameter = {} as any;
8720
+
8721
+
8722
+
8473
8723
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8474
8724
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8475
8725
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9187,6 +9437,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
9187
9437
  const localVarAxiosArgs = await localVarAxiosParamCreator.towersIndex(options);
9188
9438
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9189
9439
  },
9440
+ /**
9441
+ *
9442
+ * @param {*} [options] Override http request option.
9443
+ * @throws {RequiredError}
9444
+ */
9445
+ async trafficRecordsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTrafficRecordsIndexResponseData>> {
9446
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trafficRecordsIndex(options);
9447
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9448
+ },
9190
9449
  /**
9191
9450
  *
9192
9451
  * @param {string} id
@@ -9725,6 +9984,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9725
9984
  towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse> {
9726
9985
  return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
9727
9986
  },
9987
+ /**
9988
+ *
9989
+ * @param {*} [options] Override http request option.
9990
+ * @throws {RequiredError}
9991
+ */
9992
+ trafficRecordsIndex(options?: any): AxiosPromise<WrappedResponseTrafficRecordsIndexResponseData> {
9993
+ return localVarFp.trafficRecordsIndex(options).then((request) => request(axios, basePath));
9994
+ },
9728
9995
  /**
9729
9996
  *
9730
9997
  * @param {string} id
@@ -10352,6 +10619,16 @@ export class DefaultApi extends BaseAPI {
10352
10619
  return DefaultApiFp(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
10353
10620
  }
10354
10621
 
10622
+ /**
10623
+ *
10624
+ * @param {*} [options] Override http request option.
10625
+ * @throws {RequiredError}
10626
+ * @memberof DefaultApi
10627
+ */
10628
+ public trafficRecordsIndex(options?: AxiosRequestConfig) {
10629
+ return DefaultApiFp(this.configuration).trafficRecordsIndex(options).then((request) => request(this.axios, this.basePath));
10630
+ }
10631
+
10355
10632
  /**
10356
10633
  *
10357
10634
  * @param {string} id
package/dist/api/api.d.ts CHANGED
@@ -2775,6 +2775,42 @@ export interface ParkingSpaceDetailAndSpaceDetail {
2775
2775
  * @memberof ParkingSpaceDetailAndSpaceDetail
2776
2776
  */
2777
2777
  'zoneName': string;
2778
+ /**
2779
+ *
2780
+ * @type {string}
2781
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2782
+ */
2783
+ 'poleId'?: string;
2784
+ /**
2785
+ *
2786
+ * @type {string}
2787
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2788
+ */
2789
+ 'poleName'?: string;
2790
+ /**
2791
+ *
2792
+ * @type {string}
2793
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2794
+ */
2795
+ 'poleRow'?: string;
2796
+ /**
2797
+ *
2798
+ * @type {string}
2799
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2800
+ */
2801
+ 'poleColumn'?: string;
2802
+ /**
2803
+ *
2804
+ * @type {string}
2805
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2806
+ */
2807
+ 'poleColorName'?: string;
2808
+ /**
2809
+ *
2810
+ * @type {string}
2811
+ * @memberof ParkingSpaceDetailAndSpaceDetail
2812
+ */
2813
+ 'poleColorCode'?: string;
2778
2814
  }
2779
2815
  /**
2780
2816
  *
@@ -3351,6 +3387,19 @@ export interface SensorIndicatorData {
3351
3387
  */
3352
3388
  'floors': Array<FloorSensorData>;
3353
3389
  }
3390
+ /**
3391
+ *
3392
+ * @export
3393
+ * @interface SensorTrafficData
3394
+ */
3395
+ export interface SensorTrafficData {
3396
+ /**
3397
+ *
3398
+ * @type {string}
3399
+ * @memberof SensorTrafficData
3400
+ */
3401
+ 'direction': string;
3402
+ }
3354
3403
  /**
3355
3404
  *
3356
3405
  * @export
@@ -4287,6 +4336,122 @@ export interface TowerDataPasses {
4287
4336
  */
4288
4337
  'updated_at': string;
4289
4338
  }
4339
+ /**
4340
+ *
4341
+ * @export
4342
+ * @interface TrafficRecordData
4343
+ */
4344
+ export interface TrafficRecordData {
4345
+ /**
4346
+ *
4347
+ * @type {TrafficRecordDataMeta}
4348
+ * @memberof TrafficRecordData
4349
+ */
4350
+ 'meta': TrafficRecordDataMeta;
4351
+ /**
4352
+ *
4353
+ * @type {SensorTrafficData}
4354
+ * @memberof TrafficRecordData
4355
+ */
4356
+ 'data': SensorTrafficData;
4357
+ /**
4358
+ *
4359
+ * @type {string}
4360
+ * @memberof TrafficRecordData
4361
+ */
4362
+ 'type': string;
4363
+ /**
4364
+ *
4365
+ * @type {string}
4366
+ * @memberof TrafficRecordData
4367
+ */
4368
+ 'name': string;
4369
+ /**
4370
+ *
4371
+ * @type {string}
4372
+ * @memberof TrafficRecordData
4373
+ */
4374
+ 'uid': string;
4375
+ }
4376
+ /**
4377
+ *
4378
+ * @export
4379
+ * @interface TrafficRecordDataMeta
4380
+ */
4381
+ export interface TrafficRecordDataMeta {
4382
+ /**
4383
+ *
4384
+ * @type {number}
4385
+ * @memberof TrafficRecordDataMeta
4386
+ */
4387
+ 'vehicleSpeed': number;
4388
+ /**
4389
+ *
4390
+ * @type {string}
4391
+ * @memberof TrafficRecordDataMeta
4392
+ */
4393
+ 'time': string;
4394
+ /**
4395
+ *
4396
+ * @type {number}
4397
+ * @memberof TrafficRecordDataMeta
4398
+ */
4399
+ 'queueLen': number;
4400
+ /**
4401
+ *
4402
+ * @type {number}
4403
+ * @memberof TrafficRecordDataMeta
4404
+ */
4405
+ 'laneState': number;
4406
+ /**
4407
+ *
4408
+ * @type {number}
4409
+ * @memberof TrafficRecordDataMeta
4410
+ */
4411
+ 'laneNo': number;
4412
+ /**
4413
+ *
4414
+ * @type {number}
4415
+ * @memberof TrafficRecordDataMeta
4416
+ */
4417
+ 'jamLevel': number;
4418
+ /**
4419
+ *
4420
+ * @type {number}
4421
+ * @memberof TrafficRecordDataMeta
4422
+ */
4423
+ 'jamFlow': number;
4424
+ /**
4425
+ *
4426
+ * @type {number}
4427
+ * @memberof TrafficRecordDataMeta
4428
+ */
4429
+ 'upwardFlow': number;
4430
+ /**
4431
+ *
4432
+ * @type {number}
4433
+ * @memberof TrafficRecordDataMeta
4434
+ */
4435
+ 'downwardFlow': number;
4436
+ /**
4437
+ *
4438
+ * @type {string}
4439
+ * @memberof TrafficRecordDataMeta
4440
+ */
4441
+ 'monitoringPointName': string;
4442
+ /**
4443
+ *
4444
+ * @type {string}
4445
+ * @memberof TrafficRecordDataMeta
4446
+ */
4447
+ 'monitoringPointSyscode': string;
4448
+ /**
4449
+ *
4450
+ * @type {string}
4451
+ * @memberof TrafficRecordDataMeta
4452
+ */
4453
+ 'eventId': string;
4454
+ }
4290
4455
  /**
4291
4456
  *
4292
4457
  * @export
@@ -5834,6 +5999,42 @@ export interface WrappedResponseParkingSpaceDetailAndSpaceDetailData {
5834
5999
  * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
5835
6000
  */
5836
6001
  'zoneName': string;
6002
+ /**
6003
+ *
6004
+ * @type {string}
6005
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6006
+ */
6007
+ 'poleId'?: string;
6008
+ /**
6009
+ *
6010
+ * @type {string}
6011
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6012
+ */
6013
+ 'poleName'?: string;
6014
+ /**
6015
+ *
6016
+ * @type {string}
6017
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6018
+ */
6019
+ 'poleRow'?: string;
6020
+ /**
6021
+ *
6022
+ * @type {string}
6023
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6024
+ */
6025
+ 'poleColumn'?: string;
6026
+ /**
6027
+ *
6028
+ * @type {string}
6029
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6030
+ */
6031
+ 'poleColorName'?: string;
6032
+ /**
6033
+ *
6034
+ * @type {string}
6035
+ * @memberof WrappedResponseParkingSpaceDetailAndSpaceDetailData
6036
+ */
6037
+ 'poleColorCode'?: string;
5837
6038
  }
5838
6039
  /**
5839
6040
  *
@@ -6173,6 +6374,26 @@ export interface WrappedResponseTowerIndexResponse {
6173
6374
  */
6174
6375
  export interface WrappedResponseTowerIndexResponseData {
6175
6376
  }
6377
+ /**
6378
+ *
6379
+ * @export
6380
+ * @interface WrappedResponseTrafficRecordsIndexResponseData
6381
+ */
6382
+ export interface WrappedResponseTrafficRecordsIndexResponseData {
6383
+ /**
6384
+ *
6385
+ * @type {WrappedResponseTrafficRecordsIndexResponseDataData}
6386
+ * @memberof WrappedResponseTrafficRecordsIndexResponseData
6387
+ */
6388
+ 'data': WrappedResponseTrafficRecordsIndexResponseDataData | null;
6389
+ }
6390
+ /**
6391
+ *
6392
+ * @export
6393
+ * @interface WrappedResponseTrafficRecordsIndexResponseDataData
6394
+ */
6395
+ export interface WrappedResponseTrafficRecordsIndexResponseDataData {
6396
+ }
6176
6397
  /**
6177
6398
  *
6178
6399
  * @export
@@ -6901,6 +7122,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6901
7122
  * @throws {RequiredError}
6902
7123
  */
6903
7124
  towersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7125
+ /**
7126
+ *
7127
+ * @param {*} [options] Override http request option.
7128
+ * @throws {RequiredError}
7129
+ */
7130
+ trafficRecordsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
6904
7131
  /**
6905
7132
  *
6906
7133
  * @param {string} id
@@ -7326,6 +7553,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7326
7553
  * @throws {RequiredError}
7327
7554
  */
7328
7555
  towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>>;
7556
+ /**
7557
+ *
7558
+ * @param {*} [options] Override http request option.
7559
+ * @throws {RequiredError}
7560
+ */
7561
+ trafficRecordsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTrafficRecordsIndexResponseData>>;
7329
7562
  /**
7330
7563
  *
7331
7564
  * @param {string} id
@@ -7751,6 +7984,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7751
7984
  * @throws {RequiredError}
7752
7985
  */
7753
7986
  towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse>;
7987
+ /**
7988
+ *
7989
+ * @param {*} [options] Override http request option.
7990
+ * @throws {RequiredError}
7991
+ */
7992
+ trafficRecordsIndex(options?: any): AxiosPromise<WrappedResponseTrafficRecordsIndexResponseData>;
7754
7993
  /**
7755
7994
  *
7756
7995
  * @param {string} id
@@ -8225,6 +8464,13 @@ export declare class DefaultApi extends BaseAPI {
8225
8464
  * @memberof DefaultApi
8226
8465
  */
8227
8466
  towersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTowerIndexResponse, any>>;
8467
+ /**
8468
+ *
8469
+ * @param {*} [options] Override http request option.
8470
+ * @throws {RequiredError}
8471
+ * @memberof DefaultApi
8472
+ */
8473
+ trafficRecordsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTrafficRecordsIndexResponseData, any>>;
8228
8474
  /**
8229
8475
  *
8230
8476
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -1718,6 +1718,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1718
1718
  options: localVarRequestOptions,
1719
1719
  };
1720
1720
  }),
1721
+ /**
1722
+ *
1723
+ * @param {*} [options] Override http request option.
1724
+ * @throws {RequiredError}
1725
+ */
1726
+ trafficRecordsIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1727
+ const localVarPath = `/traffic_records`;
1728
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1729
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1730
+ let baseOptions;
1731
+ if (configuration) {
1732
+ baseOptions = configuration.baseOptions;
1733
+ }
1734
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1735
+ const localVarHeaderParameter = {};
1736
+ const localVarQueryParameter = {};
1737
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1738
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1739
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1740
+ return {
1741
+ url: (0, common_1.toPathString)(localVarUrlObj),
1742
+ options: localVarRequestOptions,
1743
+ };
1744
+ }),
1721
1745
  /**
1722
1746
  *
1723
1747
  * @param {string} id
@@ -2492,6 +2516,17 @@ const DefaultApiFp = function (configuration) {
2492
2516
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2493
2517
  });
2494
2518
  },
2519
+ /**
2520
+ *
2521
+ * @param {*} [options] Override http request option.
2522
+ * @throws {RequiredError}
2523
+ */
2524
+ trafficRecordsIndex(options) {
2525
+ return __awaiter(this, void 0, void 0, function* () {
2526
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.trafficRecordsIndex(options);
2527
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2528
+ });
2529
+ },
2495
2530
  /**
2496
2531
  *
2497
2532
  * @param {string} id
@@ -3040,6 +3075,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3040
3075
  towersIndex(options) {
3041
3076
  return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
3042
3077
  },
3078
+ /**
3079
+ *
3080
+ * @param {*} [options] Override http request option.
3081
+ * @throws {RequiredError}
3082
+ */
3083
+ trafficRecordsIndex(options) {
3084
+ return localVarFp.trafficRecordsIndex(options).then((request) => request(axios, basePath));
3085
+ },
3043
3086
  /**
3044
3087
  *
3045
3088
  * @param {string} id
@@ -3620,6 +3663,15 @@ class DefaultApi extends base_1.BaseAPI {
3620
3663
  towersIndex(options) {
3621
3664
  return (0, exports.DefaultApiFp)(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
3622
3665
  }
3666
+ /**
3667
+ *
3668
+ * @param {*} [options] Override http request option.
3669
+ * @throws {RequiredError}
3670
+ * @memberof DefaultApi
3671
+ */
3672
+ trafficRecordsIndex(options) {
3673
+ return (0, exports.DefaultApiFp)(this.configuration).trafficRecordsIndex(options).then((request) => request(this.axios, this.basePath));
3674
+ }
3623
3675
  /**
3624
3676
  *
3625
3677
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.100",
3
+ "version": "0.0.102",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"