ob-bms-sdk 0.0.13 → 0.0.14

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
@@ -45,21 +45,27 @@ export interface CreateFSMembersBody {
45
45
  /**
46
46
  *
47
47
  * @export
48
- * @interface CreateMemberResult
48
+ * @interface CreateMembersResponse
49
49
  */
50
- export interface CreateMemberResult {
50
+ export interface CreateMembersResponse {
51
51
  /**
52
52
  *
53
53
  * @type {boolean}
54
- * @memberof CreateMemberResult
54
+ * @memberof CreateMembersResponse
55
55
  */
56
56
  'result': boolean;
57
57
  /**
58
58
  *
59
- * @type {Array<SyncResultSyncJobErrorInner>}
60
- * @memberof CreateMemberResult
59
+ * @type {{ [key: string]: any; }}
60
+ * @memberof CreateMembersResponse
61
+ */
62
+ 'data': { [key: string]: any; };
63
+ /**
64
+ *
65
+ * @type {{ [key: string]: any; }}
66
+ * @memberof CreateMembersResponse
61
67
  */
62
- 'error': Array<SyncResultSyncJobErrorInner>;
68
+ 'error': { [key: string]: any; } | null;
63
69
  }
64
70
  /**
65
71
  *
@@ -184,6 +190,31 @@ export interface DestroyFSMembers {
184
190
  */
185
191
  'member_ids': Array<string>;
186
192
  }
193
+ /**
194
+ *
195
+ * @export
196
+ * @interface DestroyMembersResponse
197
+ */
198
+ export interface DestroyMembersResponse {
199
+ /**
200
+ *
201
+ * @type {boolean}
202
+ * @memberof DestroyMembersResponse
203
+ */
204
+ 'result': boolean;
205
+ /**
206
+ *
207
+ * @type {{ [key: string]: any; }}
208
+ * @memberof DestroyMembersResponse
209
+ */
210
+ 'data': { [key: string]: any; };
211
+ /**
212
+ *
213
+ * @type {{ [key: string]: any; }}
214
+ * @memberof DestroyMembersResponse
215
+ */
216
+ 'error': { [key: string]: any; } | null;
217
+ }
187
218
  /**
188
219
  *
189
220
  * @export
@@ -866,6 +897,26 @@ export interface WrappedResponseFindMemberResultData {
866
897
  */
867
898
  'member'?: FindMemberResultMember;
868
899
  }
900
+ /**
901
+ *
902
+ * @export
903
+ * @interface WrappedResponseNull
904
+ */
905
+ export interface WrappedResponseNull {
906
+ /**
907
+ *
908
+ * @type {Array<number>}
909
+ * @memberof WrappedResponseNull
910
+ */
911
+ 'data': Array<WrappedResponseNullDataEnum>;
912
+ }
913
+
914
+ export const WrappedResponseNullDataEnum = {
915
+ NUMBER_null: null
916
+ } as const;
917
+
918
+ export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
919
+
869
920
  /**
870
921
  *
871
922
  * @export
@@ -1253,6 +1304,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1253
1304
  options: localVarRequestOptions,
1254
1305
  };
1255
1306
  },
1307
+ /**
1308
+ *
1309
+ * @param {string} id
1310
+ * @param {*} [options] Override http request option.
1311
+ * @throws {RequiredError}
1312
+ */
1313
+ visitorsDestroy: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1314
+ // verify required parameter 'id' is not null or undefined
1315
+ assertParamExists('visitorsDestroy', 'id', id)
1316
+ const localVarPath = `/visitors/{id}`
1317
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1318
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1319
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1320
+ let baseOptions;
1321
+ if (configuration) {
1322
+ baseOptions = configuration.baseOptions;
1323
+ }
1324
+
1325
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
1326
+ const localVarHeaderParameter = {} as any;
1327
+ const localVarQueryParameter = {} as any;
1328
+
1329
+
1330
+
1331
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1332
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1333
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1334
+
1335
+ return {
1336
+ url: toPathString(localVarUrlObj),
1337
+ options: localVarRequestOptions,
1338
+ };
1339
+ },
1256
1340
  /**
1257
1341
  *
1258
1342
  * @param {string} id
@@ -1312,7 +1396,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
1312
1396
  * @param {*} [options] Override http request option.
1313
1397
  * @throws {RequiredError}
1314
1398
  */
1315
- async integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMemberResult>> {
1399
+ async integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMembersResponse>> {
1316
1400
  const localVarAxiosArgs = await localVarAxiosParamCreator.integrationsFsMembersCreate(createFSMembersBody, options);
1317
1401
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1318
1402
  },
@@ -1322,7 +1406,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
1322
1406
  * @param {*} [options] Override http request option.
1323
1407
  * @throws {RequiredError}
1324
1408
  */
1325
- async integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1409
+ async integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DestroyMembersResponse>> {
1326
1410
  const localVarAxiosArgs = await localVarAxiosParamCreator.integrationsFsMembersDelete(destroyFSMembers, options);
1327
1411
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1328
1412
  },
@@ -1366,6 +1450,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
1366
1450
  const localVarAxiosArgs = await localVarAxiosParamCreator.visitorsCreate(createVisitorBody, options);
1367
1451
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1368
1452
  },
1453
+ /**
1454
+ *
1455
+ * @param {string} id
1456
+ * @param {*} [options] Override http request option.
1457
+ * @throws {RequiredError}
1458
+ */
1459
+ async visitorsDestroy(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseNull>> {
1460
+ const localVarAxiosArgs = await localVarAxiosParamCreator.visitorsDestroy(id, options);
1461
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1462
+ },
1369
1463
  /**
1370
1464
  *
1371
1465
  * @param {string} id
@@ -1401,7 +1495,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
1401
1495
  * @param {*} [options] Override http request option.
1402
1496
  * @throws {RequiredError}
1403
1497
  */
1404
- integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMemberResult> {
1498
+ integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMembersResponse> {
1405
1499
  return localVarFp.integrationsFsMembersCreate(createFSMembersBody, options).then((request) => request(axios, basePath));
1406
1500
  },
1407
1501
  /**
@@ -1410,7 +1504,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
1410
1504
  * @param {*} [options] Override http request option.
1411
1505
  * @throws {RequiredError}
1412
1506
  */
1413
- integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<void> {
1507
+ integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<DestroyMembersResponse> {
1414
1508
  return localVarFp.integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(axios, basePath));
1415
1509
  },
1416
1510
  /**
@@ -1449,6 +1543,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
1449
1543
  visitorsCreate(createVisitorBody: CreateVisitorBody, options?: any): AxiosPromise<WrappedResponseCreateVisitorResponse> {
1450
1544
  return localVarFp.visitorsCreate(createVisitorBody, options).then((request) => request(axios, basePath));
1451
1545
  },
1546
+ /**
1547
+ *
1548
+ * @param {string} id
1549
+ * @param {*} [options] Override http request option.
1550
+ * @throws {RequiredError}
1551
+ */
1552
+ visitorsDestroy(id: string, options?: any): AxiosPromise<WrappedResponseNull> {
1553
+ return localVarFp.visitorsDestroy(id, options).then((request) => request(axios, basePath));
1554
+ },
1452
1555
  /**
1453
1556
  *
1454
1557
  * @param {string} id
@@ -1545,6 +1648,17 @@ export class DefaultApi extends BaseAPI {
1545
1648
  return DefaultApiFp(this.configuration).visitorsCreate(createVisitorBody, options).then((request) => request(this.axios, this.basePath));
1546
1649
  }
1547
1650
 
1651
+ /**
1652
+ *
1653
+ * @param {string} id
1654
+ * @param {*} [options] Override http request option.
1655
+ * @throws {RequiredError}
1656
+ * @memberof DefaultApi
1657
+ */
1658
+ public visitorsDestroy(id: string, options?: AxiosRequestConfig) {
1659
+ return DefaultApiFp(this.configuration).visitorsDestroy(id, options).then((request) => request(this.axios, this.basePath));
1660
+ }
1661
+
1548
1662
  /**
1549
1663
  *
1550
1664
  * @param {string} id
package/dist/api/api.d.ts CHANGED
@@ -35,21 +35,31 @@ export interface CreateFSMembersBody {
35
35
  /**
36
36
  *
37
37
  * @export
38
- * @interface CreateMemberResult
38
+ * @interface CreateMembersResponse
39
39
  */
40
- export interface CreateMemberResult {
40
+ export interface CreateMembersResponse {
41
41
  /**
42
42
  *
43
43
  * @type {boolean}
44
- * @memberof CreateMemberResult
44
+ * @memberof CreateMembersResponse
45
45
  */
46
46
  'result': boolean;
47
47
  /**
48
48
  *
49
- * @type {Array<SyncResultSyncJobErrorInner>}
50
- * @memberof CreateMemberResult
49
+ * @type {{ [key: string]: any; }}
50
+ * @memberof CreateMembersResponse
51
51
  */
52
- 'error': Array<SyncResultSyncJobErrorInner>;
52
+ 'data': {
53
+ [key: string]: any;
54
+ };
55
+ /**
56
+ *
57
+ * @type {{ [key: string]: any; }}
58
+ * @memberof CreateMembersResponse
59
+ */
60
+ 'error': {
61
+ [key: string]: any;
62
+ } | null;
53
63
  }
54
64
  /**
55
65
  *
@@ -174,6 +184,35 @@ export interface DestroyFSMembers {
174
184
  */
175
185
  'member_ids': Array<string>;
176
186
  }
187
+ /**
188
+ *
189
+ * @export
190
+ * @interface DestroyMembersResponse
191
+ */
192
+ export interface DestroyMembersResponse {
193
+ /**
194
+ *
195
+ * @type {boolean}
196
+ * @memberof DestroyMembersResponse
197
+ */
198
+ 'result': boolean;
199
+ /**
200
+ *
201
+ * @type {{ [key: string]: any; }}
202
+ * @memberof DestroyMembersResponse
203
+ */
204
+ 'data': {
205
+ [key: string]: any;
206
+ };
207
+ /**
208
+ *
209
+ * @type {{ [key: string]: any; }}
210
+ * @memberof DestroyMembersResponse
211
+ */
212
+ 'error': {
213
+ [key: string]: any;
214
+ } | null;
215
+ }
177
216
  /**
178
217
  *
179
218
  * @export
@@ -858,6 +897,23 @@ export interface WrappedResponseFindMemberResultData {
858
897
  */
859
898
  'member'?: FindMemberResultMember;
860
899
  }
900
+ /**
901
+ *
902
+ * @export
903
+ * @interface WrappedResponseNull
904
+ */
905
+ export interface WrappedResponseNull {
906
+ /**
907
+ *
908
+ * @type {Array<number>}
909
+ * @memberof WrappedResponseNull
910
+ */
911
+ 'data': Array<WrappedResponseNullDataEnum>;
912
+ }
913
+ export declare const WrappedResponseNullDataEnum: {
914
+ readonly NUMBER_null: null;
915
+ };
916
+ export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
861
917
  /**
862
918
  *
863
919
  * @export
@@ -1048,6 +1104,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1048
1104
  * @throws {RequiredError}
1049
1105
  */
1050
1106
  visitorsCreate: (createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1107
+ /**
1108
+ *
1109
+ * @param {string} id
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ visitorsDestroy: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1051
1114
  /**
1052
1115
  *
1053
1116
  * @param {string} id
@@ -1074,14 +1137,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1074
1137
  * @param {*} [options] Override http request option.
1075
1138
  * @throws {RequiredError}
1076
1139
  */
1077
- integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMemberResult>>;
1140
+ integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMembersResponse>>;
1078
1141
  /**
1079
1142
  *
1080
1143
  * @param {DestroyFSMembers} destroyFSMembers
1081
1144
  * @param {*} [options] Override http request option.
1082
1145
  * @throws {RequiredError}
1083
1146
  */
1084
- integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1147
+ integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DestroyMembersResponse>>;
1085
1148
  /**
1086
1149
  *
1087
1150
  * @param {string} id
@@ -1110,6 +1173,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1110
1173
  * @throws {RequiredError}
1111
1174
  */
1112
1175
  visitorsCreate(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateVisitorResponse>>;
1176
+ /**
1177
+ *
1178
+ * @param {string} id
1179
+ * @param {*} [options] Override http request option.
1180
+ * @throws {RequiredError}
1181
+ */
1182
+ visitorsDestroy(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseNull>>;
1113
1183
  /**
1114
1184
  *
1115
1185
  * @param {string} id
@@ -1136,14 +1206,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1136
1206
  * @param {*} [options] Override http request option.
1137
1207
  * @throws {RequiredError}
1138
1208
  */
1139
- integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMemberResult>;
1209
+ integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMembersResponse>;
1140
1210
  /**
1141
1211
  *
1142
1212
  * @param {DestroyFSMembers} destroyFSMembers
1143
1213
  * @param {*} [options] Override http request option.
1144
1214
  * @throws {RequiredError}
1145
1215
  */
1146
- integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<void>;
1216
+ integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<DestroyMembersResponse>;
1147
1217
  /**
1148
1218
  *
1149
1219
  * @param {string} id
@@ -1172,6 +1242,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1172
1242
  * @throws {RequiredError}
1173
1243
  */
1174
1244
  visitorsCreate(createVisitorBody: CreateVisitorBody, options?: any): AxiosPromise<WrappedResponseCreateVisitorResponse>;
1245
+ /**
1246
+ *
1247
+ * @param {string} id
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ visitorsDestroy(id: string, options?: any): AxiosPromise<WrappedResponseNull>;
1175
1252
  /**
1176
1253
  *
1177
1254
  * @param {string} id
@@ -1202,7 +1279,7 @@ export declare class DefaultApi extends BaseAPI {
1202
1279
  * @throws {RequiredError}
1203
1280
  * @memberof DefaultApi
1204
1281
  */
1205
- integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMemberResult, any>>;
1282
+ integrationsFsMembersCreate(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMembersResponse, any>>;
1206
1283
  /**
1207
1284
  *
1208
1285
  * @param {DestroyFSMembers} destroyFSMembers
@@ -1210,7 +1287,7 @@ export declare class DefaultApi extends BaseAPI {
1210
1287
  * @throws {RequiredError}
1211
1288
  * @memberof DefaultApi
1212
1289
  */
1213
- integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1290
+ integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DestroyMembersResponse, any>>;
1214
1291
  /**
1215
1292
  *
1216
1293
  * @param {string} id
@@ -1243,6 +1320,14 @@ export declare class DefaultApi extends BaseAPI {
1243
1320
  * @memberof DefaultApi
1244
1321
  */
1245
1322
  visitorsCreate(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCreateVisitorResponse, any>>;
1323
+ /**
1324
+ *
1325
+ * @param {string} id
1326
+ * @param {*} [options] Override http request option.
1327
+ * @throws {RequiredError}
1328
+ * @memberof DefaultApi
1329
+ */
1330
+ visitorsDestroy(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseNull, any>>;
1246
1331
  /**
1247
1332
  *
1248
1333
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -25,13 +25,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
28
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponseNullDataEnum = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
32
32
  const common_1 = require("./common");
33
33
  // @ts-ignore
34
34
  const base_1 = require("./base");
35
+ exports.WrappedResponseNullDataEnum = {
36
+ NUMBER_null: null
37
+ };
35
38
  /**
36
39
  * DefaultApi - axios parameter creator
37
40
  * @export
@@ -241,6 +244,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
241
244
  options: localVarRequestOptions,
242
245
  };
243
246
  }),
247
+ /**
248
+ *
249
+ * @param {string} id
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ visitorsDestroy: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
254
+ // verify required parameter 'id' is not null or undefined
255
+ (0, common_1.assertParamExists)('visitorsDestroy', 'id', id);
256
+ const localVarPath = `/visitors/{id}`
257
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
258
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
259
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
260
+ let baseOptions;
261
+ if (configuration) {
262
+ baseOptions = configuration.baseOptions;
263
+ }
264
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
265
+ const localVarHeaderParameter = {};
266
+ const localVarQueryParameter = {};
267
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
270
+ return {
271
+ url: (0, common_1.toPathString)(localVarUrlObj),
272
+ options: localVarRequestOptions,
273
+ };
274
+ }),
244
275
  /**
245
276
  *
246
277
  * @param {string} id
@@ -363,6 +394,18 @@ const DefaultApiFp = function (configuration) {
363
394
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
364
395
  });
365
396
  },
397
+ /**
398
+ *
399
+ * @param {string} id
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ visitorsDestroy(id, options) {
404
+ return __awaiter(this, void 0, void 0, function* () {
405
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorsDestroy(id, options);
406
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
407
+ });
408
+ },
366
409
  /**
367
410
  *
368
411
  * @param {string} id
@@ -448,6 +491,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
448
491
  visitorsCreate(createVisitorBody, options) {
449
492
  return localVarFp.visitorsCreate(createVisitorBody, options).then((request) => request(axios, basePath));
450
493
  },
494
+ /**
495
+ *
496
+ * @param {string} id
497
+ * @param {*} [options] Override http request option.
498
+ * @throws {RequiredError}
499
+ */
500
+ visitorsDestroy(id, options) {
501
+ return localVarFp.visitorsDestroy(id, options).then((request) => request(axios, basePath));
502
+ },
451
503
  /**
452
504
  *
453
505
  * @param {string} id
@@ -537,6 +589,16 @@ class DefaultApi extends base_1.BaseAPI {
537
589
  visitorsCreate(createVisitorBody, options) {
538
590
  return (0, exports.DefaultApiFp)(this.configuration).visitorsCreate(createVisitorBody, options).then((request) => request(this.axios, this.basePath));
539
591
  }
592
+ /**
593
+ *
594
+ * @param {string} id
595
+ * @param {*} [options] Override http request option.
596
+ * @throws {RequiredError}
597
+ * @memberof DefaultApi
598
+ */
599
+ visitorsDestroy(id, options) {
600
+ return (0, exports.DefaultApiFp)(this.configuration).visitorsDestroy(id, options).then((request) => request(this.axios, this.basePath));
601
+ }
540
602
  /**
541
603
  *
542
604
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"