ob-bms-sdk 0.0.98 → 0.0.99

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/dist/api/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.6.0
8
+ * The version of the OpenAPI document: 1.8.15
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -976,6 +976,99 @@ const DefaultApiAxiosParamCreator = function (configuration) {
976
976
  options: localVarRequestOptions,
977
977
  };
978
978
  }),
979
+ /**
980
+ *
981
+ * @param {string} [orderBy]
982
+ * @param {string} [orderDirection]
983
+ * @param {number} [pageNumber]
984
+ * @param {number} [pageSize]
985
+ * @param {string} [floorId]
986
+ * @param {string} [tenantId]
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ */
990
+ membersV2Index: (orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options = {}) => __awaiter(this, void 0, void 0, function* () {
991
+ const localVarPath = `/v2/members`;
992
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
993
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
994
+ let baseOptions;
995
+ if (configuration) {
996
+ baseOptions = configuration.baseOptions;
997
+ }
998
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
999
+ const localVarHeaderParameter = {};
1000
+ const localVarQueryParameter = {};
1001
+ if (orderBy !== undefined) {
1002
+ localVarQueryParameter['order_by'] = orderBy;
1003
+ }
1004
+ if (orderDirection !== undefined) {
1005
+ localVarQueryParameter['order_direction'] = orderDirection;
1006
+ }
1007
+ if (pageNumber !== undefined) {
1008
+ localVarQueryParameter['page_number'] = pageNumber;
1009
+ }
1010
+ if (pageSize !== undefined) {
1011
+ localVarQueryParameter['page_size'] = pageSize;
1012
+ }
1013
+ if (floorId !== undefined) {
1014
+ localVarQueryParameter['floor_id'] = floorId;
1015
+ }
1016
+ if (tenantId !== undefined) {
1017
+ localVarQueryParameter['tenant_id'] = tenantId;
1018
+ }
1019
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1020
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1021
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1022
+ return {
1023
+ url: (0, common_1.toPathString)(localVarUrlObj),
1024
+ options: localVarRequestOptions,
1025
+ };
1026
+ }),
1027
+ /**
1028
+ *
1029
+ * @param {MemberListBody} memberListBody
1030
+ * @param {string} [orderBy]
1031
+ * @param {string} [orderDirection]
1032
+ * @param {number} [pageNumber]
1033
+ * @param {number} [pageSize]
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ */
1037
+ membersV2ListMembers: (memberListBody, orderBy, orderDirection, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
1038
+ // verify required parameter 'memberListBody' is not null or undefined
1039
+ (0, common_1.assertParamExists)('membersV2ListMembers', 'memberListBody', memberListBody);
1040
+ const localVarPath = `/v2/members`;
1041
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1042
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1043
+ let baseOptions;
1044
+ if (configuration) {
1045
+ baseOptions = configuration.baseOptions;
1046
+ }
1047
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1048
+ const localVarHeaderParameter = {};
1049
+ const localVarQueryParameter = {};
1050
+ if (orderBy !== undefined) {
1051
+ localVarQueryParameter['order_by'] = orderBy;
1052
+ }
1053
+ if (orderDirection !== undefined) {
1054
+ localVarQueryParameter['order_direction'] = orderDirection;
1055
+ }
1056
+ if (pageNumber !== undefined) {
1057
+ localVarQueryParameter['page_number'] = pageNumber;
1058
+ }
1059
+ if (pageSize !== undefined) {
1060
+ localVarQueryParameter['page_size'] = pageSize;
1061
+ }
1062
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1063
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1064
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1065
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1066
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(memberListBody, localVarRequestOptions, configuration);
1067
+ return {
1068
+ url: (0, common_1.toPathString)(localVarUrlObj),
1069
+ options: localVarRequestOptions,
1070
+ };
1071
+ }),
979
1072
  /**
980
1073
  *
981
1074
  * @param {string} [orderBy]
@@ -1168,6 +1261,35 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1168
1261
  options: localVarRequestOptions,
1169
1262
  };
1170
1263
  }),
1264
+ /**
1265
+ *
1266
+ * @param {ParkingSpaceDetailBody} parkingSpaceDetailBody
1267
+ * @param {*} [options] Override http request option.
1268
+ * @throws {RequiredError}
1269
+ */
1270
+ parkingTicketsLocation: (parkingSpaceDetailBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
1271
+ // verify required parameter 'parkingSpaceDetailBody' is not null or undefined
1272
+ (0, common_1.assertParamExists)('parkingTicketsLocation', 'parkingSpaceDetailBody', parkingSpaceDetailBody);
1273
+ const localVarPath = `/parking_tickets/location`;
1274
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1275
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1276
+ let baseOptions;
1277
+ if (configuration) {
1278
+ baseOptions = configuration.baseOptions;
1279
+ }
1280
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1281
+ const localVarHeaderParameter = {};
1282
+ const localVarQueryParameter = {};
1283
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1284
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1286
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1287
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(parkingSpaceDetailBody, localVarRequestOptions, configuration);
1288
+ return {
1289
+ url: (0, common_1.toPathString)(localVarUrlObj),
1290
+ options: localVarRequestOptions,
1291
+ };
1292
+ }),
1171
1293
  /**
1172
1294
  *
1173
1295
  * @param {string} logId
@@ -1998,6 +2120,39 @@ const DefaultApiFp = function (configuration) {
1998
2120
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1999
2121
  });
2000
2122
  },
2123
+ /**
2124
+ *
2125
+ * @param {string} [orderBy]
2126
+ * @param {string} [orderDirection]
2127
+ * @param {number} [pageNumber]
2128
+ * @param {number} [pageSize]
2129
+ * @param {string} [floorId]
2130
+ * @param {string} [tenantId]
2131
+ * @param {*} [options] Override http request option.
2132
+ * @throws {RequiredError}
2133
+ */
2134
+ membersV2Index(orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options) {
2135
+ return __awaiter(this, void 0, void 0, function* () {
2136
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersV2Index(orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options);
2137
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2138
+ });
2139
+ },
2140
+ /**
2141
+ *
2142
+ * @param {MemberListBody} memberListBody
2143
+ * @param {string} [orderBy]
2144
+ * @param {string} [orderDirection]
2145
+ * @param {number} [pageNumber]
2146
+ * @param {number} [pageSize]
2147
+ * @param {*} [options] Override http request option.
2148
+ * @throws {RequiredError}
2149
+ */
2150
+ membersV2ListMembers(memberListBody, orderBy, orderDirection, pageNumber, pageSize, options) {
2151
+ return __awaiter(this, void 0, void 0, function* () {
2152
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersV2ListMembers(memberListBody, orderBy, orderDirection, pageNumber, pageSize, options);
2153
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2154
+ });
2155
+ },
2001
2156
  /**
2002
2157
  *
2003
2158
  * @param {string} [orderBy]
@@ -2069,6 +2224,18 @@ const DefaultApiFp = function (configuration) {
2069
2224
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2070
2225
  });
2071
2226
  },
2227
+ /**
2228
+ *
2229
+ * @param {ParkingSpaceDetailBody} parkingSpaceDetailBody
2230
+ * @param {*} [options] Override http request option.
2231
+ * @throws {RequiredError}
2232
+ */
2233
+ parkingTicketsLocation(parkingSpaceDetailBody, options) {
2234
+ return __awaiter(this, void 0, void 0, function* () {
2235
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsLocation(parkingSpaceDetailBody, options);
2236
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2237
+ });
2238
+ },
2072
2239
  /**
2073
2240
  *
2074
2241
  * @param {string} logId
@@ -2532,6 +2699,33 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2532
2699
  membersUpdate(id, updateMemberRequestBody, options) {
2533
2700
  return localVarFp.membersUpdate(id, updateMemberRequestBody, options).then((request) => request(axios, basePath));
2534
2701
  },
2702
+ /**
2703
+ *
2704
+ * @param {string} [orderBy]
2705
+ * @param {string} [orderDirection]
2706
+ * @param {number} [pageNumber]
2707
+ * @param {number} [pageSize]
2708
+ * @param {string} [floorId]
2709
+ * @param {string} [tenantId]
2710
+ * @param {*} [options] Override http request option.
2711
+ * @throws {RequiredError}
2712
+ */
2713
+ membersV2Index(orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options) {
2714
+ return localVarFp.membersV2Index(orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options).then((request) => request(axios, basePath));
2715
+ },
2716
+ /**
2717
+ *
2718
+ * @param {MemberListBody} memberListBody
2719
+ * @param {string} [orderBy]
2720
+ * @param {string} [orderDirection]
2721
+ * @param {number} [pageNumber]
2722
+ * @param {number} [pageSize]
2723
+ * @param {*} [options] Override http request option.
2724
+ * @throws {RequiredError}
2725
+ */
2726
+ membersV2ListMembers(memberListBody, orderBy, orderDirection, pageNumber, pageSize, options) {
2727
+ return localVarFp.membersV2ListMembers(memberListBody, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
2728
+ },
2535
2729
  /**
2536
2730
  *
2537
2731
  * @param {string} [orderBy]
@@ -2588,6 +2782,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2588
2782
  parkingTicketsIndex(type, id, options) {
2589
2783
  return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
2590
2784
  },
2785
+ /**
2786
+ *
2787
+ * @param {ParkingSpaceDetailBody} parkingSpaceDetailBody
2788
+ * @param {*} [options] Override http request option.
2789
+ * @throws {RequiredError}
2790
+ */
2791
+ parkingTicketsLocation(parkingSpaceDetailBody, options) {
2792
+ return localVarFp.parkingTicketsLocation(parkingSpaceDetailBody, options).then((request) => request(axios, basePath));
2793
+ },
2591
2794
  /**
2592
2795
  *
2593
2796
  * @param {string} logId
@@ -3028,6 +3231,35 @@ class DefaultApi extends base_1.BaseAPI {
3028
3231
  membersUpdate(id, updateMemberRequestBody, options) {
3029
3232
  return (0, exports.DefaultApiFp)(this.configuration).membersUpdate(id, updateMemberRequestBody, options).then((request) => request(this.axios, this.basePath));
3030
3233
  }
3234
+ /**
3235
+ *
3236
+ * @param {string} [orderBy]
3237
+ * @param {string} [orderDirection]
3238
+ * @param {number} [pageNumber]
3239
+ * @param {number} [pageSize]
3240
+ * @param {string} [floorId]
3241
+ * @param {string} [tenantId]
3242
+ * @param {*} [options] Override http request option.
3243
+ * @throws {RequiredError}
3244
+ * @memberof DefaultApi
3245
+ */
3246
+ membersV2Index(orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options) {
3247
+ return (0, exports.DefaultApiFp)(this.configuration).membersV2Index(orderBy, orderDirection, pageNumber, pageSize, floorId, tenantId, options).then((request) => request(this.axios, this.basePath));
3248
+ }
3249
+ /**
3250
+ *
3251
+ * @param {MemberListBody} memberListBody
3252
+ * @param {string} [orderBy]
3253
+ * @param {string} [orderDirection]
3254
+ * @param {number} [pageNumber]
3255
+ * @param {number} [pageSize]
3256
+ * @param {*} [options] Override http request option.
3257
+ * @throws {RequiredError}
3258
+ * @memberof DefaultApi
3259
+ */
3260
+ membersV2ListMembers(memberListBody, orderBy, orderDirection, pageNumber, pageSize, options) {
3261
+ return (0, exports.DefaultApiFp)(this.configuration).membersV2ListMembers(memberListBody, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
3262
+ }
3031
3263
  /**
3032
3264
  *
3033
3265
  * @param {string} [orderBy]
@@ -3089,6 +3321,16 @@ class DefaultApi extends base_1.BaseAPI {
3089
3321
  parkingTicketsIndex(type, id, options) {
3090
3322
  return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
3091
3323
  }
3324
+ /**
3325
+ *
3326
+ * @param {ParkingSpaceDetailBody} parkingSpaceDetailBody
3327
+ * @param {*} [options] Override http request option.
3328
+ * @throws {RequiredError}
3329
+ * @memberof DefaultApi
3330
+ */
3331
+ parkingTicketsLocation(parkingSpaceDetailBody, options) {
3332
+ return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsLocation(parkingSpaceDetailBody, options).then((request) => request(this.axios, this.basePath));
3333
+ }
3092
3334
  /**
3093
3335
  *
3094
3336
  * @param {string} logId
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.6.0
5
+ * The version of the OpenAPI document: 1.8.15
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.6.0
8
+ * The version of the OpenAPI document: 1.8.15
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.6.0
5
+ * The version of the OpenAPI document: 1.8.15
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.6.0
8
+ * The version of the OpenAPI document: 1.8.15
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.6.0
5
+ * The version of the OpenAPI document: 1.8.15
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.6.0
8
+ * The version of the OpenAPI document: 1.8.15
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * ob-bms
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.6.0
5
+ * The version of the OpenAPI document: 1.8.15
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * ob-bms
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.6.0
8
+ * The version of the OpenAPI document: 1.8.15
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.98",
3
+ "version": "0.0.99",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"