ob-bms-sdk 0.0.1

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 ADDED
@@ -0,0 +1,776 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * ob-bms
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from './configuration';
17
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
22
+ import type { RequestArgs } from './base';
23
+ // @ts-ignore
24
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface CreateFSMembersBody
30
+ */
31
+ export interface CreateFSMembersBody {
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof CreateFSMembersBody
36
+ */
37
+ 'count': number;
38
+ /**
39
+ *
40
+ * @type {Array<PersonData>}
41
+ * @memberof CreateFSMembersBody
42
+ */
43
+ 'data': Array<PersonData>;
44
+ }
45
+ /**
46
+ *
47
+ * @export
48
+ * @interface CreateMemberResult
49
+ */
50
+ export interface CreateMemberResult {
51
+ /**
52
+ *
53
+ * @type {boolean}
54
+ * @memberof CreateMemberResult
55
+ */
56
+ 'result': boolean;
57
+ /**
58
+ *
59
+ * @type {Array<SyncResultSyncJobErrorInner>}
60
+ * @memberof CreateMemberResult
61
+ */
62
+ 'error': Array<SyncResultSyncJobErrorInner>;
63
+ }
64
+ /**
65
+ *
66
+ * @export
67
+ * @interface CreateVisitorBody
68
+ */
69
+ export interface CreateVisitorBody {
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof CreateVisitorBody
74
+ */
75
+ 'name': string;
76
+ }
77
+ /**
78
+ *
79
+ * @export
80
+ * @interface CreateVisitorResponse
81
+ */
82
+ export interface CreateVisitorResponse {
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof CreateVisitorResponse
87
+ */
88
+ 'id': string;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof CreateVisitorResponse
93
+ */
94
+ 'name': string;
95
+ }
96
+ /**
97
+ *
98
+ * @export
99
+ * @interface DestroyFSMembers
100
+ */
101
+ export interface DestroyFSMembers {
102
+ /**
103
+ *
104
+ * @type {Array<string>}
105
+ * @memberof DestroyFSMembers
106
+ */
107
+ 'member_ids': Array<string>;
108
+ }
109
+ /**
110
+ *
111
+ * @export
112
+ * @interface LocationData
113
+ */
114
+ export interface LocationData {
115
+ /**
116
+ *
117
+ * @type {number}
118
+ * @memberof LocationData
119
+ */
120
+ 'locationID': number;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof LocationData
125
+ */
126
+ 'locationName': string;
127
+ /**
128
+ *
129
+ * @type {boolean}
130
+ * @memberof LocationData
131
+ */
132
+ 'isDefault': boolean;
133
+ }
134
+ /**
135
+ *
136
+ * @export
137
+ * @interface PersonData
138
+ */
139
+ export interface PersonData {
140
+ /**
141
+ *
142
+ * @type {string}
143
+ * @memberof PersonData
144
+ */
145
+ 'personID': string;
146
+ /**
147
+ *
148
+ * @type {Array<number>}
149
+ * @memberof PersonData
150
+ */
151
+ 'tenantIDs': Array<number>;
152
+ /**
153
+ *
154
+ * @type {Array<string>}
155
+ * @memberof PersonData
156
+ */
157
+ 'phones': Array<string>;
158
+ /**
159
+ *
160
+ * @type {Array<string>}
161
+ * @memberof PersonData
162
+ */
163
+ 'emails': Array<string>;
164
+ /**
165
+ *
166
+ * @type {Array<LocationData>}
167
+ * @memberof PersonData
168
+ */
169
+ 'locations': Array<LocationData>;
170
+ /**
171
+ *
172
+ * @type {string}
173
+ * @memberof PersonData
174
+ */
175
+ 'updateTime': string;
176
+ /**
177
+ *
178
+ * @type {boolean}
179
+ * @memberof PersonData
180
+ */
181
+ 'active': boolean;
182
+ /**
183
+ *
184
+ * @type {string}
185
+ * @memberof PersonData
186
+ */
187
+ 'status': string;
188
+ }
189
+ /**
190
+ *
191
+ * @export
192
+ * @interface ShowVisitorResponse
193
+ */
194
+ export interface ShowVisitorResponse {
195
+ /**
196
+ *
197
+ * @type {string}
198
+ * @memberof ShowVisitorResponse
199
+ */
200
+ 'id': string;
201
+ /**
202
+ *
203
+ * @type {string}
204
+ * @memberof ShowVisitorResponse
205
+ */
206
+ 'name': string;
207
+ }
208
+ /**
209
+ *
210
+ * @export
211
+ * @interface SyncBody
212
+ */
213
+ export interface SyncBody {
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof SyncBody
218
+ */
219
+ 'name': string;
220
+ }
221
+ /**
222
+ *
223
+ * @export
224
+ * @interface SyncResponse
225
+ */
226
+ export interface SyncResponse {
227
+ /**
228
+ *
229
+ * @type {SyncResult}
230
+ * @memberof SyncResponse
231
+ */
232
+ 'data': SyncResult;
233
+ }
234
+ /**
235
+ *
236
+ * @export
237
+ * @interface SyncResult
238
+ */
239
+ export interface SyncResult {
240
+ /**
241
+ *
242
+ * @type {SyncResultSync}
243
+ * @memberof SyncResult
244
+ */
245
+ 'sync': SyncResultSync;
246
+ }
247
+ /**
248
+ *
249
+ * @export
250
+ * @interface SyncResultSync
251
+ */
252
+ export interface SyncResultSync {
253
+ /**
254
+ *
255
+ * @type {Array<SyncResultSyncJobErrorInner>}
256
+ * @memberof SyncResultSync
257
+ */
258
+ 'jobError': Array<SyncResultSyncJobErrorInner>;
259
+ /**
260
+ *
261
+ * @type {boolean}
262
+ * @memberof SyncResultSync
263
+ */
264
+ 'result': boolean;
265
+ }
266
+ /**
267
+ *
268
+ * @export
269
+ * @interface SyncResultSyncJobErrorInner
270
+ */
271
+ export interface SyncResultSyncJobErrorInner {
272
+ /**
273
+ *
274
+ * @type {string}
275
+ * @memberof SyncResultSyncJobErrorInner
276
+ */
277
+ 'uid_name': string;
278
+ /**
279
+ *
280
+ * @type {string}
281
+ * @memberof SyncResultSyncJobErrorInner
282
+ */
283
+ 'type': string;
284
+ }
285
+ /**
286
+ *
287
+ * @export
288
+ * @interface WrappedResponseCreateVisitorResponse
289
+ */
290
+ export interface WrappedResponseCreateVisitorResponse {
291
+ /**
292
+ *
293
+ * @type {WrappedResponseCreateVisitorResponseData}
294
+ * @memberof WrappedResponseCreateVisitorResponse
295
+ */
296
+ 'data': WrappedResponseCreateVisitorResponseData;
297
+ }
298
+ /**
299
+ *
300
+ * @export
301
+ * @interface WrappedResponseCreateVisitorResponseData
302
+ */
303
+ export interface WrappedResponseCreateVisitorResponseData {
304
+ /**
305
+ *
306
+ * @type {string}
307
+ * @memberof WrappedResponseCreateVisitorResponseData
308
+ */
309
+ 'id': string;
310
+ /**
311
+ *
312
+ * @type {string}
313
+ * @memberof WrappedResponseCreateVisitorResponseData
314
+ */
315
+ 'name': string;
316
+ }
317
+ /**
318
+ *
319
+ * @export
320
+ * @interface WrappedResponseShowVisitorResponse
321
+ */
322
+ export interface WrappedResponseShowVisitorResponse {
323
+ /**
324
+ *
325
+ * @type {WrappedResponseShowVisitorResponseData}
326
+ * @memberof WrappedResponseShowVisitorResponse
327
+ */
328
+ 'data': WrappedResponseShowVisitorResponseData;
329
+ }
330
+ /**
331
+ *
332
+ * @export
333
+ * @interface WrappedResponseShowVisitorResponseData
334
+ */
335
+ export interface WrappedResponseShowVisitorResponseData {
336
+ /**
337
+ *
338
+ * @type {string}
339
+ * @memberof WrappedResponseShowVisitorResponseData
340
+ */
341
+ 'id': string;
342
+ /**
343
+ *
344
+ * @type {string}
345
+ * @memberof WrappedResponseShowVisitorResponseData
346
+ */
347
+ 'name': string;
348
+ }
349
+
350
+ /**
351
+ * DefaultApi - axios parameter creator
352
+ * @export
353
+ */
354
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
355
+ return {
356
+ /**
357
+ *
358
+ * @param {CreateFSMembersBody} createFSMembersBody
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ */
362
+ create: async (createFSMembersBody: CreateFSMembersBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
363
+ // verify required parameter 'createFSMembersBody' is not null or undefined
364
+ assertParamExists('create', 'createFSMembersBody', createFSMembersBody)
365
+ const localVarPath = `/integrations/fs/members`;
366
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
367
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
368
+ let baseOptions;
369
+ if (configuration) {
370
+ baseOptions = configuration.baseOptions;
371
+ }
372
+
373
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
374
+ const localVarHeaderParameter = {} as any;
375
+ const localVarQueryParameter = {} as any;
376
+
377
+
378
+
379
+ localVarHeaderParameter['Content-Type'] = 'application/json';
380
+
381
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
382
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
383
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
384
+ localVarRequestOptions.data = serializeDataIfNeeded(createFSMembersBody, localVarRequestOptions, configuration)
385
+
386
+ return {
387
+ url: toPathString(localVarUrlObj),
388
+ options: localVarRequestOptions,
389
+ };
390
+ },
391
+ /**
392
+ *
393
+ * @param {any} body
394
+ * @param {*} [options] Override http request option.
395
+ * @throws {RequiredError}
396
+ */
397
+ create_1: async (body: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
398
+ // verify required parameter 'body' is not null or undefined
399
+ assertParamExists('create_1', 'body', body)
400
+ const localVarPath = `/integrations/fs/webhook`;
401
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
402
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
403
+ let baseOptions;
404
+ if (configuration) {
405
+ baseOptions = configuration.baseOptions;
406
+ }
407
+
408
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
409
+ const localVarHeaderParameter = {} as any;
410
+ const localVarQueryParameter = {} as any;
411
+
412
+
413
+
414
+ localVarHeaderParameter['Content-Type'] = 'application/json';
415
+
416
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
417
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
418
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
419
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
420
+
421
+ return {
422
+ url: toPathString(localVarUrlObj),
423
+ options: localVarRequestOptions,
424
+ };
425
+ },
426
+ /**
427
+ *
428
+ * @param {CreateVisitorBody} createVisitorBody
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ create_2: async (createVisitorBody: CreateVisitorBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
433
+ // verify required parameter 'createVisitorBody' is not null or undefined
434
+ assertParamExists('create_2', 'createVisitorBody', createVisitorBody)
435
+ const localVarPath = `/visitors`;
436
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
437
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
438
+ let baseOptions;
439
+ if (configuration) {
440
+ baseOptions = configuration.baseOptions;
441
+ }
442
+
443
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
444
+ const localVarHeaderParameter = {} as any;
445
+ const localVarQueryParameter = {} as any;
446
+
447
+
448
+
449
+ localVarHeaderParameter['Content-Type'] = 'application/json';
450
+
451
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
452
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
453
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
454
+ localVarRequestOptions.data = serializeDataIfNeeded(createVisitorBody, localVarRequestOptions, configuration)
455
+
456
+ return {
457
+ url: toPathString(localVarUrlObj),
458
+ options: localVarRequestOptions,
459
+ };
460
+ },
461
+ /**
462
+ *
463
+ * @param {DestroyFSMembers} destroyFSMembers
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ destroy: async (destroyFSMembers: DestroyFSMembers, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
468
+ // verify required parameter 'destroyFSMembers' is not null or undefined
469
+ assertParamExists('destroy', 'destroyFSMembers', destroyFSMembers)
470
+ const localVarPath = `/integrations/fs/members`;
471
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
472
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
473
+ let baseOptions;
474
+ if (configuration) {
475
+ baseOptions = configuration.baseOptions;
476
+ }
477
+
478
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
479
+ const localVarHeaderParameter = {} as any;
480
+ const localVarQueryParameter = {} as any;
481
+
482
+
483
+
484
+ localVarHeaderParameter['Content-Type'] = 'application/json';
485
+
486
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
488
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
489
+ localVarRequestOptions.data = serializeDataIfNeeded(destroyFSMembers, localVarRequestOptions, configuration)
490
+
491
+ return {
492
+ url: toPathString(localVarUrlObj),
493
+ options: localVarRequestOptions,
494
+ };
495
+ },
496
+ /**
497
+ *
498
+ * @param {string} id
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ show: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
503
+ // verify required parameter 'id' is not null or undefined
504
+ assertParamExists('show', 'id', id)
505
+ const localVarPath = `/visitors/{id}`
506
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
507
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
509
+ let baseOptions;
510
+ if (configuration) {
511
+ baseOptions = configuration.baseOptions;
512
+ }
513
+
514
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
515
+ const localVarHeaderParameter = {} as any;
516
+ const localVarQueryParameter = {} as any;
517
+
518
+
519
+
520
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
521
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
522
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
523
+
524
+ return {
525
+ url: toPathString(localVarUrlObj),
526
+ options: localVarRequestOptions,
527
+ };
528
+ },
529
+ /**
530
+ *
531
+ * @param {SyncBody} syncBody
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ sync: async (syncBody: SyncBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
536
+ // verify required parameter 'syncBody' is not null or undefined
537
+ assertParamExists('sync', 'syncBody', syncBody)
538
+ const localVarPath = `/integrations/fs/job/sync`;
539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
540
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
541
+ let baseOptions;
542
+ if (configuration) {
543
+ baseOptions = configuration.baseOptions;
544
+ }
545
+
546
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
547
+ const localVarHeaderParameter = {} as any;
548
+ const localVarQueryParameter = {} as any;
549
+
550
+
551
+
552
+ localVarHeaderParameter['Content-Type'] = 'application/json';
553
+
554
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
555
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
556
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
557
+ localVarRequestOptions.data = serializeDataIfNeeded(syncBody, localVarRequestOptions, configuration)
558
+
559
+ return {
560
+ url: toPathString(localVarUrlObj),
561
+ options: localVarRequestOptions,
562
+ };
563
+ },
564
+ }
565
+ };
566
+
567
+ /**
568
+ * DefaultApi - functional programming interface
569
+ * @export
570
+ */
571
+ export const DefaultApiFp = function(configuration?: Configuration) {
572
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
573
+ return {
574
+ /**
575
+ *
576
+ * @param {CreateFSMembersBody} createFSMembersBody
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ */
580
+ async create(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMemberResult>> {
581
+ const localVarAxiosArgs = await localVarAxiosParamCreator.create(createFSMembersBody, options);
582
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
583
+ },
584
+ /**
585
+ *
586
+ * @param {any} body
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ */
590
+ async create_1(body: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.create_1(body, options);
592
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
593
+ },
594
+ /**
595
+ *
596
+ * @param {CreateVisitorBody} createVisitorBody
597
+ * @param {*} [options] Override http request option.
598
+ * @throws {RequiredError}
599
+ */
600
+ async create_2(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateVisitorResponse>> {
601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.create_2(createVisitorBody, options);
602
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
603
+ },
604
+ /**
605
+ *
606
+ * @param {DestroyFSMembers} destroyFSMembers
607
+ * @param {*} [options] Override http request option.
608
+ * @throws {RequiredError}
609
+ */
610
+ async destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
611
+ const localVarAxiosArgs = await localVarAxiosParamCreator.destroy(destroyFSMembers, options);
612
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
613
+ },
614
+ /**
615
+ *
616
+ * @param {string} id
617
+ * @param {*} [options] Override http request option.
618
+ * @throws {RequiredError}
619
+ */
620
+ async show(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowVisitorResponse>> {
621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.show(id, options);
622
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
623
+ },
624
+ /**
625
+ *
626
+ * @param {SyncBody} syncBody
627
+ * @param {*} [options] Override http request option.
628
+ * @throws {RequiredError}
629
+ */
630
+ async sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>> {
631
+ const localVarAxiosArgs = await localVarAxiosParamCreator.sync(syncBody, options);
632
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
633
+ },
634
+ }
635
+ };
636
+
637
+ /**
638
+ * DefaultApi - factory interface
639
+ * @export
640
+ */
641
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
642
+ const localVarFp = DefaultApiFp(configuration)
643
+ return {
644
+ /**
645
+ *
646
+ * @param {CreateFSMembersBody} createFSMembersBody
647
+ * @param {*} [options] Override http request option.
648
+ * @throws {RequiredError}
649
+ */
650
+ create(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMemberResult> {
651
+ return localVarFp.create(createFSMembersBody, options).then((request) => request(axios, basePath));
652
+ },
653
+ /**
654
+ *
655
+ * @param {any} body
656
+ * @param {*} [options] Override http request option.
657
+ * @throws {RequiredError}
658
+ */
659
+ create_1(body: any, options?: any): AxiosPromise<void> {
660
+ return localVarFp.create_1(body, options).then((request) => request(axios, basePath));
661
+ },
662
+ /**
663
+ *
664
+ * @param {CreateVisitorBody} createVisitorBody
665
+ * @param {*} [options] Override http request option.
666
+ * @throws {RequiredError}
667
+ */
668
+ create_2(createVisitorBody: CreateVisitorBody, options?: any): AxiosPromise<WrappedResponseCreateVisitorResponse> {
669
+ return localVarFp.create_2(createVisitorBody, options).then((request) => request(axios, basePath));
670
+ },
671
+ /**
672
+ *
673
+ * @param {DestroyFSMembers} destroyFSMembers
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ destroy(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<void> {
678
+ return localVarFp.destroy(destroyFSMembers, options).then((request) => request(axios, basePath));
679
+ },
680
+ /**
681
+ *
682
+ * @param {string} id
683
+ * @param {*} [options] Override http request option.
684
+ * @throws {RequiredError}
685
+ */
686
+ show(id: string, options?: any): AxiosPromise<WrappedResponseShowVisitorResponse> {
687
+ return localVarFp.show(id, options).then((request) => request(axios, basePath));
688
+ },
689
+ /**
690
+ *
691
+ * @param {SyncBody} syncBody
692
+ * @param {*} [options] Override http request option.
693
+ * @throws {RequiredError}
694
+ */
695
+ sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse> {
696
+ return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
697
+ },
698
+ };
699
+ };
700
+
701
+ /**
702
+ * DefaultApi - object-oriented interface
703
+ * @export
704
+ * @class DefaultApi
705
+ * @extends {BaseAPI}
706
+ */
707
+ export class DefaultApi extends BaseAPI {
708
+ /**
709
+ *
710
+ * @param {CreateFSMembersBody} createFSMembersBody
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ * @memberof DefaultApi
714
+ */
715
+ public create(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig) {
716
+ return DefaultApiFp(this.configuration).create(createFSMembersBody, options).then((request) => request(this.axios, this.basePath));
717
+ }
718
+
719
+ /**
720
+ *
721
+ * @param {any} body
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ * @memberof DefaultApi
725
+ */
726
+ public create_1(body: any, options?: AxiosRequestConfig) {
727
+ return DefaultApiFp(this.configuration).create_1(body, options).then((request) => request(this.axios, this.basePath));
728
+ }
729
+
730
+ /**
731
+ *
732
+ * @param {CreateVisitorBody} createVisitorBody
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ * @memberof DefaultApi
736
+ */
737
+ public create_2(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig) {
738
+ return DefaultApiFp(this.configuration).create_2(createVisitorBody, options).then((request) => request(this.axios, this.basePath));
739
+ }
740
+
741
+ /**
742
+ *
743
+ * @param {DestroyFSMembers} destroyFSMembers
744
+ * @param {*} [options] Override http request option.
745
+ * @throws {RequiredError}
746
+ * @memberof DefaultApi
747
+ */
748
+ public destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig) {
749
+ return DefaultApiFp(this.configuration).destroy(destroyFSMembers, options).then((request) => request(this.axios, this.basePath));
750
+ }
751
+
752
+ /**
753
+ *
754
+ * @param {string} id
755
+ * @param {*} [options] Override http request option.
756
+ * @throws {RequiredError}
757
+ * @memberof DefaultApi
758
+ */
759
+ public show(id: string, options?: AxiosRequestConfig) {
760
+ return DefaultApiFp(this.configuration).show(id, options).then((request) => request(this.axios, this.basePath));
761
+ }
762
+
763
+ /**
764
+ *
765
+ * @param {SyncBody} syncBody
766
+ * @param {*} [options] Override http request option.
767
+ * @throws {RequiredError}
768
+ * @memberof DefaultApi
769
+ */
770
+ public sync(syncBody: SyncBody, options?: AxiosRequestConfig) {
771
+ return DefaultApiFp(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
772
+ }
773
+ }
774
+
775
+
776
+