ob-bms-sdk 0.0.79 → 0.0.80

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
@@ -887,6 +887,49 @@ export interface FloorSensorData {
887
887
  */
888
888
  'floor_id': string;
889
889
  }
890
+ /**
891
+ *
892
+ * @export
893
+ * @interface HolidayResponse
894
+ */
895
+ export interface HolidayResponse {
896
+ /**
897
+ *
898
+ * @type {string}
899
+ * @memberof HolidayResponse
900
+ */
901
+ 'holiday_week_day': string;
902
+ /**
903
+ *
904
+ * @type {string}
905
+ * @memberof HolidayResponse
906
+ */
907
+ 'holiday_week_day_thai': string;
908
+ /**
909
+ *
910
+ * @type {string}
911
+ * @memberof HolidayResponse
912
+ */
913
+ 'date': string;
914
+ /**
915
+ *
916
+ * @type {string}
917
+ * @memberof HolidayResponse
918
+ */
919
+ 'date_thai': string;
920
+ /**
921
+ *
922
+ * @type {string}
923
+ * @memberof HolidayResponse
924
+ */
925
+ 'holiday_description': string;
926
+ /**
927
+ *
928
+ * @type {string}
929
+ * @memberof HolidayResponse
930
+ */
931
+ 'holiday_description_thai': string;
932
+ }
890
933
  /**
891
934
  *
892
935
  * @export
@@ -905,6 +948,12 @@ export interface IssueTypeData {
905
948
  * @memberof IssueTypeData
906
949
  */
907
950
  'created_at': string;
951
+ /**
952
+ *
953
+ * @type {string}
954
+ * @memberof IssueTypeData
955
+ */
956
+ 'internal_remark': string | null;
908
957
  /**
909
958
  *
910
959
  * @type {JsonValue}
@@ -1123,6 +1172,55 @@ export interface LocationPasses {
1123
1172
  */
1124
1173
  'updated_at': string;
1125
1174
  }
1175
+ /**
1176
+ *
1177
+ * @export
1178
+ * @interface MemberAccessLog
1179
+ */
1180
+ export interface MemberAccessLog {
1181
+ /**
1182
+ *
1183
+ * @type {number}
1184
+ * @memberof MemberAccessLog
1185
+ */
1186
+ 'transacId': number;
1187
+ /**
1188
+ *
1189
+ * @type {string}
1190
+ * @memberof MemberAccessLog
1191
+ */
1192
+ 'transcDatetime': string;
1193
+ /**
1194
+ *
1195
+ * @type {number}
1196
+ * @memberof MemberAccessLog
1197
+ */
1198
+ 'projectID': number;
1199
+ /**
1200
+ *
1201
+ * @type {number}
1202
+ * @memberof MemberAccessLog
1203
+ */
1204
+ 'towerID': number;
1205
+ /**
1206
+ *
1207
+ * @type {string}
1208
+ * @memberof MemberAccessLog
1209
+ */
1210
+ 'personID': string;
1211
+ /**
1212
+ *
1213
+ * @type {string}
1214
+ * @memberof MemberAccessLog
1215
+ */
1216
+ 'turnstileID': string;
1217
+ /**
1218
+ *
1219
+ * @type {number}
1220
+ * @memberof MemberAccessLog
1221
+ */
1222
+ 'terminalPosition': number;
1223
+ }
1126
1224
  /**
1127
1225
  *
1128
1226
  * @export
@@ -1410,6 +1508,43 @@ export interface ParkingLotData {
1410
1508
  */
1411
1509
  'total_available_slots': number;
1412
1510
  }
1511
+ /**
1512
+ *
1513
+ * @export
1514
+ * @interface ParkingMemberAccessLog
1515
+ */
1516
+ export interface ParkingMemberAccessLog {
1517
+ /**
1518
+ *
1519
+ * @type {number}
1520
+ * @memberof ParkingMemberAccessLog
1521
+ */
1522
+ 'transacId': number;
1523
+ /**
1524
+ *
1525
+ * @type {string}
1526
+ * @memberof ParkingMemberAccessLog
1527
+ */
1528
+ 'transcDatetime': string;
1529
+ /**
1530
+ *
1531
+ * @type {string}
1532
+ * @memberof ParkingMemberAccessLog
1533
+ */
1534
+ 'personID': string;
1535
+ /**
1536
+ *
1537
+ * @type {string}
1538
+ * @memberof ParkingMemberAccessLog
1539
+ */
1540
+ 'terminalID': string;
1541
+ /**
1542
+ *
1543
+ * @type {number}
1544
+ * @memberof ParkingMemberAccessLog
1545
+ */
1546
+ 'terminalPosition': number;
1547
+ }
1413
1548
  /**
1414
1549
  *
1415
1550
  * @export
@@ -1537,6 +1672,43 @@ export interface ParkingTicketsRedeemBody {
1537
1672
  */
1538
1673
  'redeemer_id': string;
1539
1674
  }
1675
+ /**
1676
+ *
1677
+ * @export
1678
+ * @interface ParkingVisitorAccessLog
1679
+ */
1680
+ export interface ParkingVisitorAccessLog {
1681
+ /**
1682
+ *
1683
+ * @type {number}
1684
+ * @memberof ParkingVisitorAccessLog
1685
+ */
1686
+ 'transacId': number;
1687
+ /**
1688
+ *
1689
+ * @type {string}
1690
+ * @memberof ParkingVisitorAccessLog
1691
+ */
1692
+ 'transcDatetime': string;
1693
+ /**
1694
+ *
1695
+ * @type {string}
1696
+ * @memberof ParkingVisitorAccessLog
1697
+ */
1698
+ 'inviteID': string;
1699
+ /**
1700
+ *
1701
+ * @type {string}
1702
+ * @memberof ParkingVisitorAccessLog
1703
+ */
1704
+ 'terminalID': string;
1705
+ /**
1706
+ *
1707
+ * @type {number}
1708
+ * @memberof ParkingVisitorAccessLog
1709
+ */
1710
+ 'terminalPosition': number;
1711
+ }
1540
1712
  /**
1541
1713
  *
1542
1714
  * @export
@@ -2745,6 +2917,55 @@ export interface UpdateVisitorScheduleBody {
2745
2917
  */
2746
2918
  export interface UpdateVisitorScheduleBodyDeletedAt {
2747
2919
  }
2920
+ /**
2921
+ *
2922
+ * @export
2923
+ * @interface VisitorAccessLog
2924
+ */
2925
+ export interface VisitorAccessLog {
2926
+ /**
2927
+ *
2928
+ * @type {number}
2929
+ * @memberof VisitorAccessLog
2930
+ */
2931
+ 'transacId': number;
2932
+ /**
2933
+ *
2934
+ * @type {string}
2935
+ * @memberof VisitorAccessLog
2936
+ */
2937
+ 'transcDatetime': string;
2938
+ /**
2939
+ *
2940
+ * @type {number}
2941
+ * @memberof VisitorAccessLog
2942
+ */
2943
+ 'projectID': number;
2944
+ /**
2945
+ *
2946
+ * @type {number}
2947
+ * @memberof VisitorAccessLog
2948
+ */
2949
+ 'towerID': number;
2950
+ /**
2951
+ *
2952
+ * @type {string}
2953
+ * @memberof VisitorAccessLog
2954
+ */
2955
+ 'inviteID': string;
2956
+ /**
2957
+ *
2958
+ * @type {string}
2959
+ * @memberof VisitorAccessLog
2960
+ */
2961
+ 'turnstileID': string;
2962
+ /**
2963
+ *
2964
+ * @type {number}
2965
+ * @memberof VisitorAccessLog
2966
+ */
2967
+ 'terminalPosition': number;
2968
+ }
2748
2969
  /**
2749
2970
  *
2750
2971
  * @export
@@ -3171,6 +3392,19 @@ export interface WrappedArrayResponseACZoneData {
3171
3392
  */
3172
3393
  'data': Array<ACZoneData>;
3173
3394
  }
3395
+ /**
3396
+ *
3397
+ * @export
3398
+ * @interface WrappedArrayResponseHolidayResponse
3399
+ */
3400
+ export interface WrappedArrayResponseHolidayResponse {
3401
+ /**
3402
+ *
3403
+ * @type {Array<HolidayResponse>}
3404
+ * @memberof WrappedArrayResponseHolidayResponse
3405
+ */
3406
+ 'data': Array<HolidayResponse>;
3407
+ }
3174
3408
  /**
3175
3409
  *
3176
3410
  * @export
@@ -4240,6 +4474,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4240
4474
 
4241
4475
 
4242
4476
 
4477
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4478
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4479
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4480
+
4481
+ return {
4482
+ url: toPathString(localVarUrlObj),
4483
+ options: localVarRequestOptions,
4484
+ };
4485
+ },
4486
+ /**
4487
+ *
4488
+ * @param {*} [options] Override http request option.
4489
+ * @throws {RequiredError}
4490
+ */
4491
+ holidaysIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4492
+ const localVarPath = `/holidays`;
4493
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4494
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4495
+ let baseOptions;
4496
+ if (configuration) {
4497
+ baseOptions = configuration.baseOptions;
4498
+ }
4499
+
4500
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4501
+ const localVarHeaderParameter = {} as any;
4502
+ const localVarQueryParameter = {} as any;
4503
+
4504
+
4505
+
4243
4506
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4244
4507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4245
4508
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5493,6 +5756,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5493
5756
  const localVarAxiosArgs = await localVarAxiosParamCreator.fetch(options);
5494
5757
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5495
5758
  },
5759
+ /**
5760
+ *
5761
+ * @param {*} [options] Override http request option.
5762
+ * @throws {RequiredError}
5763
+ */
5764
+ async holidaysIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseHolidayResponse>> {
5765
+ const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysIndex(options);
5766
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5767
+ },
5496
5768
  /**
5497
5769
  *
5498
5770
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -5902,6 +6174,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5902
6174
  fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult> {
5903
6175
  return localVarFp.fetch(options).then((request) => request(axios, basePath));
5904
6176
  },
6177
+ /**
6178
+ *
6179
+ * @param {*} [options] Override http request option.
6180
+ * @throws {RequiredError}
6181
+ */
6182
+ holidaysIndex(options?: any): AxiosPromise<WrappedArrayResponseHolidayResponse> {
6183
+ return localVarFp.holidaysIndex(options).then((request) => request(axios, basePath));
6184
+ },
5905
6185
  /**
5906
6186
  *
5907
6187
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -6294,6 +6574,16 @@ export class DefaultApi extends BaseAPI {
6294
6574
  return DefaultApiFp(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
6295
6575
  }
6296
6576
 
6577
+ /**
6578
+ *
6579
+ * @param {*} [options] Override http request option.
6580
+ * @throws {RequiredError}
6581
+ * @memberof DefaultApi
6582
+ */
6583
+ public holidaysIndex(options?: AxiosRequestConfig) {
6584
+ return DefaultApiFp(this.configuration).holidaysIndex(options).then((request) => request(this.axios, this.basePath));
6585
+ }
6586
+
6297
6587
  /**
6298
6588
  *
6299
6589
  * @param {CreateFSMembersBody} createFSMembersBody
package/dist/api/api.d.ts CHANGED
@@ -871,6 +871,49 @@ export interface FloorSensorData {
871
871
  */
872
872
  'floor_id': string;
873
873
  }
874
+ /**
875
+ *
876
+ * @export
877
+ * @interface HolidayResponse
878
+ */
879
+ export interface HolidayResponse {
880
+ /**
881
+ *
882
+ * @type {string}
883
+ * @memberof HolidayResponse
884
+ */
885
+ 'holiday_week_day': string;
886
+ /**
887
+ *
888
+ * @type {string}
889
+ * @memberof HolidayResponse
890
+ */
891
+ 'holiday_week_day_thai': string;
892
+ /**
893
+ *
894
+ * @type {string}
895
+ * @memberof HolidayResponse
896
+ */
897
+ 'date': string;
898
+ /**
899
+ *
900
+ * @type {string}
901
+ * @memberof HolidayResponse
902
+ */
903
+ 'date_thai': string;
904
+ /**
905
+ *
906
+ * @type {string}
907
+ * @memberof HolidayResponse
908
+ */
909
+ 'holiday_description': string;
910
+ /**
911
+ *
912
+ * @type {string}
913
+ * @memberof HolidayResponse
914
+ */
915
+ 'holiday_description_thai': string;
916
+ }
874
917
  /**
875
918
  *
876
919
  * @export
@@ -889,6 +932,12 @@ export interface IssueTypeData {
889
932
  * @memberof IssueTypeData
890
933
  */
891
934
  'created_at': string;
935
+ /**
936
+ *
937
+ * @type {string}
938
+ * @memberof IssueTypeData
939
+ */
940
+ 'internal_remark': string | null;
892
941
  /**
893
942
  *
894
943
  * @type {JsonValue}
@@ -1107,6 +1156,55 @@ export interface LocationPasses {
1107
1156
  */
1108
1157
  'updated_at': string;
1109
1158
  }
1159
+ /**
1160
+ *
1161
+ * @export
1162
+ * @interface MemberAccessLog
1163
+ */
1164
+ export interface MemberAccessLog {
1165
+ /**
1166
+ *
1167
+ * @type {number}
1168
+ * @memberof MemberAccessLog
1169
+ */
1170
+ 'transacId': number;
1171
+ /**
1172
+ *
1173
+ * @type {string}
1174
+ * @memberof MemberAccessLog
1175
+ */
1176
+ 'transcDatetime': string;
1177
+ /**
1178
+ *
1179
+ * @type {number}
1180
+ * @memberof MemberAccessLog
1181
+ */
1182
+ 'projectID': number;
1183
+ /**
1184
+ *
1185
+ * @type {number}
1186
+ * @memberof MemberAccessLog
1187
+ */
1188
+ 'towerID': number;
1189
+ /**
1190
+ *
1191
+ * @type {string}
1192
+ * @memberof MemberAccessLog
1193
+ */
1194
+ 'personID': string;
1195
+ /**
1196
+ *
1197
+ * @type {string}
1198
+ * @memberof MemberAccessLog
1199
+ */
1200
+ 'turnstileID': string;
1201
+ /**
1202
+ *
1203
+ * @type {number}
1204
+ * @memberof MemberAccessLog
1205
+ */
1206
+ 'terminalPosition': number;
1207
+ }
1110
1208
  /**
1111
1209
  *
1112
1210
  * @export
@@ -1394,6 +1492,43 @@ export interface ParkingLotData {
1394
1492
  */
1395
1493
  'total_available_slots': number;
1396
1494
  }
1495
+ /**
1496
+ *
1497
+ * @export
1498
+ * @interface ParkingMemberAccessLog
1499
+ */
1500
+ export interface ParkingMemberAccessLog {
1501
+ /**
1502
+ *
1503
+ * @type {number}
1504
+ * @memberof ParkingMemberAccessLog
1505
+ */
1506
+ 'transacId': number;
1507
+ /**
1508
+ *
1509
+ * @type {string}
1510
+ * @memberof ParkingMemberAccessLog
1511
+ */
1512
+ 'transcDatetime': string;
1513
+ /**
1514
+ *
1515
+ * @type {string}
1516
+ * @memberof ParkingMemberAccessLog
1517
+ */
1518
+ 'personID': string;
1519
+ /**
1520
+ *
1521
+ * @type {string}
1522
+ * @memberof ParkingMemberAccessLog
1523
+ */
1524
+ 'terminalID': string;
1525
+ /**
1526
+ *
1527
+ * @type {number}
1528
+ * @memberof ParkingMemberAccessLog
1529
+ */
1530
+ 'terminalPosition': number;
1531
+ }
1397
1532
  /**
1398
1533
  *
1399
1534
  * @export
@@ -1518,6 +1653,43 @@ export interface ParkingTicketsRedeemBody {
1518
1653
  */
1519
1654
  'redeemer_id': string;
1520
1655
  }
1656
+ /**
1657
+ *
1658
+ * @export
1659
+ * @interface ParkingVisitorAccessLog
1660
+ */
1661
+ export interface ParkingVisitorAccessLog {
1662
+ /**
1663
+ *
1664
+ * @type {number}
1665
+ * @memberof ParkingVisitorAccessLog
1666
+ */
1667
+ 'transacId': number;
1668
+ /**
1669
+ *
1670
+ * @type {string}
1671
+ * @memberof ParkingVisitorAccessLog
1672
+ */
1673
+ 'transcDatetime': string;
1674
+ /**
1675
+ *
1676
+ * @type {string}
1677
+ * @memberof ParkingVisitorAccessLog
1678
+ */
1679
+ 'inviteID': string;
1680
+ /**
1681
+ *
1682
+ * @type {string}
1683
+ * @memberof ParkingVisitorAccessLog
1684
+ */
1685
+ 'terminalID': string;
1686
+ /**
1687
+ *
1688
+ * @type {number}
1689
+ * @memberof ParkingVisitorAccessLog
1690
+ */
1691
+ 'terminalPosition': number;
1692
+ }
1521
1693
  /**
1522
1694
  *
1523
1695
  * @export
@@ -2697,6 +2869,55 @@ export interface UpdateVisitorScheduleBody {
2697
2869
  */
2698
2870
  export interface UpdateVisitorScheduleBodyDeletedAt {
2699
2871
  }
2872
+ /**
2873
+ *
2874
+ * @export
2875
+ * @interface VisitorAccessLog
2876
+ */
2877
+ export interface VisitorAccessLog {
2878
+ /**
2879
+ *
2880
+ * @type {number}
2881
+ * @memberof VisitorAccessLog
2882
+ */
2883
+ 'transacId': number;
2884
+ /**
2885
+ *
2886
+ * @type {string}
2887
+ * @memberof VisitorAccessLog
2888
+ */
2889
+ 'transcDatetime': string;
2890
+ /**
2891
+ *
2892
+ * @type {number}
2893
+ * @memberof VisitorAccessLog
2894
+ */
2895
+ 'projectID': number;
2896
+ /**
2897
+ *
2898
+ * @type {number}
2899
+ * @memberof VisitorAccessLog
2900
+ */
2901
+ 'towerID': number;
2902
+ /**
2903
+ *
2904
+ * @type {string}
2905
+ * @memberof VisitorAccessLog
2906
+ */
2907
+ 'inviteID': string;
2908
+ /**
2909
+ *
2910
+ * @type {string}
2911
+ * @memberof VisitorAccessLog
2912
+ */
2913
+ 'turnstileID': string;
2914
+ /**
2915
+ *
2916
+ * @type {number}
2917
+ * @memberof VisitorAccessLog
2918
+ */
2919
+ 'terminalPosition': number;
2920
+ }
2700
2921
  /**
2701
2922
  *
2702
2923
  * @export
@@ -3123,6 +3344,19 @@ export interface WrappedArrayResponseACZoneData {
3123
3344
  */
3124
3345
  'data': Array<ACZoneData>;
3125
3346
  }
3347
+ /**
3348
+ *
3349
+ * @export
3350
+ * @interface WrappedArrayResponseHolidayResponse
3351
+ */
3352
+ export interface WrappedArrayResponseHolidayResponse {
3353
+ /**
3354
+ *
3355
+ * @type {Array<HolidayResponse>}
3356
+ * @memberof WrappedArrayResponseHolidayResponse
3357
+ */
3358
+ 'data': Array<HolidayResponse>;
3359
+ }
3126
3360
  /**
3127
3361
  *
3128
3362
  * @export
@@ -3976,6 +4210,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3976
4210
  * @throws {RequiredError}
3977
4211
  */
3978
4212
  fetch: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4213
+ /**
4214
+ *
4215
+ * @param {*} [options] Override http request option.
4216
+ * @throws {RequiredError}
4217
+ */
4218
+ holidaysIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3979
4219
  /**
3980
4220
  *
3981
4221
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -4274,6 +4514,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4274
4514
  * @throws {RequiredError}
4275
4515
  */
4276
4516
  fetch(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFetchParkingResult>>;
4517
+ /**
4518
+ *
4519
+ * @param {*} [options] Override http request option.
4520
+ * @throws {RequiredError}
4521
+ */
4522
+ holidaysIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseHolidayResponse>>;
4277
4523
  /**
4278
4524
  *
4279
4525
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -4572,6 +4818,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4572
4818
  * @throws {RequiredError}
4573
4819
  */
4574
4820
  fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult>;
4821
+ /**
4822
+ *
4823
+ * @param {*} [options] Override http request option.
4824
+ * @throws {RequiredError}
4825
+ */
4826
+ holidaysIndex(options?: any): AxiosPromise<WrappedArrayResponseHolidayResponse>;
4575
4827
  /**
4576
4828
  *
4577
4829
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -4879,6 +5131,13 @@ export declare class DefaultApi extends BaseAPI {
4879
5131
  * @memberof DefaultApi
4880
5132
  */
4881
5133
  fetch(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFetchParkingResult, any>>;
5134
+ /**
5135
+ *
5136
+ * @param {*} [options] Override http request option.
5137
+ * @throws {RequiredError}
5138
+ * @memberof DefaultApi
5139
+ */
5140
+ holidaysIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseHolidayResponse, any>>;
4882
5141
  /**
4883
5142
  *
4884
5143
  * @param {CreateFSMembersBody} createFSMembersBody
package/dist/api/api.js CHANGED
@@ -353,6 +353,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
353
353
  options: localVarRequestOptions,
354
354
  };
355
355
  }),
356
+ /**
357
+ *
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ */
361
+ holidaysIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
362
+ const localVarPath = `/holidays`;
363
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
364
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
365
+ let baseOptions;
366
+ if (configuration) {
367
+ baseOptions = configuration.baseOptions;
368
+ }
369
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
370
+ const localVarHeaderParameter = {};
371
+ const localVarQueryParameter = {};
372
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
373
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
374
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
375
+ return {
376
+ url: (0, common_1.toPathString)(localVarUrlObj),
377
+ options: localVarRequestOptions,
378
+ };
379
+ }),
356
380
  /**
357
381
  *
358
382
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -1421,6 +1445,17 @@ const DefaultApiFp = function (configuration) {
1421
1445
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1422
1446
  });
1423
1447
  },
1448
+ /**
1449
+ *
1450
+ * @param {*} [options] Override http request option.
1451
+ * @throws {RequiredError}
1452
+ */
1453
+ holidaysIndex(options) {
1454
+ return __awaiter(this, void 0, void 0, function* () {
1455
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.holidaysIndex(options);
1456
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1457
+ });
1458
+ },
1424
1459
  /**
1425
1460
  *
1426
1461
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -1892,6 +1927,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1892
1927
  fetch(options) {
1893
1928
  return localVarFp.fetch(options).then((request) => request(axios, basePath));
1894
1929
  },
1930
+ /**
1931
+ *
1932
+ * @param {*} [options] Override http request option.
1933
+ * @throws {RequiredError}
1934
+ */
1935
+ holidaysIndex(options) {
1936
+ return localVarFp.holidaysIndex(options).then((request) => request(axios, basePath));
1937
+ },
1895
1938
  /**
1896
1939
  *
1897
1940
  * @param {CreateFSMembersBody} createFSMembersBody
@@ -2277,6 +2320,15 @@ class DefaultApi extends base_1.BaseAPI {
2277
2320
  fetch(options) {
2278
2321
  return (0, exports.DefaultApiFp)(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
2279
2322
  }
2323
+ /**
2324
+ *
2325
+ * @param {*} [options] Override http request option.
2326
+ * @throws {RequiredError}
2327
+ * @memberof DefaultApi
2328
+ */
2329
+ holidaysIndex(options) {
2330
+ return (0, exports.DefaultApiFp)(this.configuration).holidaysIndex(options).then((request) => request(this.axios, this.basePath));
2331
+ }
2280
2332
  /**
2281
2333
  *
2282
2334
  * @param {CreateFSMembersBody} createFSMembersBody
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"