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.
@@ -0,0 +1,538 @@
1
+ /**
2
+ * ob-bms
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CreateFSMembersBody
20
+ */
21
+ export interface CreateFSMembersBody {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof CreateFSMembersBody
26
+ */
27
+ 'count': number;
28
+ /**
29
+ *
30
+ * @type {Array<PersonData>}
31
+ * @memberof CreateFSMembersBody
32
+ */
33
+ 'data': Array<PersonData>;
34
+ }
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface CreateMemberResult
39
+ */
40
+ export interface CreateMemberResult {
41
+ /**
42
+ *
43
+ * @type {boolean}
44
+ * @memberof CreateMemberResult
45
+ */
46
+ 'result': boolean;
47
+ /**
48
+ *
49
+ * @type {Array<SyncResultSyncJobErrorInner>}
50
+ * @memberof CreateMemberResult
51
+ */
52
+ 'error': Array<SyncResultSyncJobErrorInner>;
53
+ }
54
+ /**
55
+ *
56
+ * @export
57
+ * @interface CreateVisitorBody
58
+ */
59
+ export interface CreateVisitorBody {
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof CreateVisitorBody
64
+ */
65
+ 'name': string;
66
+ }
67
+ /**
68
+ *
69
+ * @export
70
+ * @interface CreateVisitorResponse
71
+ */
72
+ export interface CreateVisitorResponse {
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof CreateVisitorResponse
77
+ */
78
+ 'id': string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof CreateVisitorResponse
83
+ */
84
+ 'name': string;
85
+ }
86
+ /**
87
+ *
88
+ * @export
89
+ * @interface DestroyFSMembers
90
+ */
91
+ export interface DestroyFSMembers {
92
+ /**
93
+ *
94
+ * @type {Array<string>}
95
+ * @memberof DestroyFSMembers
96
+ */
97
+ 'member_ids': Array<string>;
98
+ }
99
+ /**
100
+ *
101
+ * @export
102
+ * @interface LocationData
103
+ */
104
+ export interface LocationData {
105
+ /**
106
+ *
107
+ * @type {number}
108
+ * @memberof LocationData
109
+ */
110
+ 'locationID': number;
111
+ /**
112
+ *
113
+ * @type {string}
114
+ * @memberof LocationData
115
+ */
116
+ 'locationName': string;
117
+ /**
118
+ *
119
+ * @type {boolean}
120
+ * @memberof LocationData
121
+ */
122
+ 'isDefault': boolean;
123
+ }
124
+ /**
125
+ *
126
+ * @export
127
+ * @interface PersonData
128
+ */
129
+ export interface PersonData {
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof PersonData
134
+ */
135
+ 'personID': string;
136
+ /**
137
+ *
138
+ * @type {Array<number>}
139
+ * @memberof PersonData
140
+ */
141
+ 'tenantIDs': Array<number>;
142
+ /**
143
+ *
144
+ * @type {Array<string>}
145
+ * @memberof PersonData
146
+ */
147
+ 'phones': Array<string>;
148
+ /**
149
+ *
150
+ * @type {Array<string>}
151
+ * @memberof PersonData
152
+ */
153
+ 'emails': Array<string>;
154
+ /**
155
+ *
156
+ * @type {Array<LocationData>}
157
+ * @memberof PersonData
158
+ */
159
+ 'locations': Array<LocationData>;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof PersonData
164
+ */
165
+ 'updateTime': string;
166
+ /**
167
+ *
168
+ * @type {boolean}
169
+ * @memberof PersonData
170
+ */
171
+ 'active': boolean;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof PersonData
176
+ */
177
+ 'status': string;
178
+ }
179
+ /**
180
+ *
181
+ * @export
182
+ * @interface ShowVisitorResponse
183
+ */
184
+ export interface ShowVisitorResponse {
185
+ /**
186
+ *
187
+ * @type {string}
188
+ * @memberof ShowVisitorResponse
189
+ */
190
+ 'id': string;
191
+ /**
192
+ *
193
+ * @type {string}
194
+ * @memberof ShowVisitorResponse
195
+ */
196
+ 'name': string;
197
+ }
198
+ /**
199
+ *
200
+ * @export
201
+ * @interface SyncBody
202
+ */
203
+ export interface SyncBody {
204
+ /**
205
+ *
206
+ * @type {string}
207
+ * @memberof SyncBody
208
+ */
209
+ 'name': string;
210
+ }
211
+ /**
212
+ *
213
+ * @export
214
+ * @interface SyncResponse
215
+ */
216
+ export interface SyncResponse {
217
+ /**
218
+ *
219
+ * @type {SyncResult}
220
+ * @memberof SyncResponse
221
+ */
222
+ 'data': SyncResult;
223
+ }
224
+ /**
225
+ *
226
+ * @export
227
+ * @interface SyncResult
228
+ */
229
+ export interface SyncResult {
230
+ /**
231
+ *
232
+ * @type {SyncResultSync}
233
+ * @memberof SyncResult
234
+ */
235
+ 'sync': SyncResultSync;
236
+ }
237
+ /**
238
+ *
239
+ * @export
240
+ * @interface SyncResultSync
241
+ */
242
+ export interface SyncResultSync {
243
+ /**
244
+ *
245
+ * @type {Array<SyncResultSyncJobErrorInner>}
246
+ * @memberof SyncResultSync
247
+ */
248
+ 'jobError': Array<SyncResultSyncJobErrorInner>;
249
+ /**
250
+ *
251
+ * @type {boolean}
252
+ * @memberof SyncResultSync
253
+ */
254
+ 'result': boolean;
255
+ }
256
+ /**
257
+ *
258
+ * @export
259
+ * @interface SyncResultSyncJobErrorInner
260
+ */
261
+ export interface SyncResultSyncJobErrorInner {
262
+ /**
263
+ *
264
+ * @type {string}
265
+ * @memberof SyncResultSyncJobErrorInner
266
+ */
267
+ 'uid_name': string;
268
+ /**
269
+ *
270
+ * @type {string}
271
+ * @memberof SyncResultSyncJobErrorInner
272
+ */
273
+ 'type': string;
274
+ }
275
+ /**
276
+ *
277
+ * @export
278
+ * @interface WrappedResponseCreateVisitorResponse
279
+ */
280
+ export interface WrappedResponseCreateVisitorResponse {
281
+ /**
282
+ *
283
+ * @type {WrappedResponseCreateVisitorResponseData}
284
+ * @memberof WrappedResponseCreateVisitorResponse
285
+ */
286
+ 'data': WrappedResponseCreateVisitorResponseData;
287
+ }
288
+ /**
289
+ *
290
+ * @export
291
+ * @interface WrappedResponseCreateVisitorResponseData
292
+ */
293
+ export interface WrappedResponseCreateVisitorResponseData {
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof WrappedResponseCreateVisitorResponseData
298
+ */
299
+ 'id': string;
300
+ /**
301
+ *
302
+ * @type {string}
303
+ * @memberof WrappedResponseCreateVisitorResponseData
304
+ */
305
+ 'name': string;
306
+ }
307
+ /**
308
+ *
309
+ * @export
310
+ * @interface WrappedResponseShowVisitorResponse
311
+ */
312
+ export interface WrappedResponseShowVisitorResponse {
313
+ /**
314
+ *
315
+ * @type {WrappedResponseShowVisitorResponseData}
316
+ * @memberof WrappedResponseShowVisitorResponse
317
+ */
318
+ 'data': WrappedResponseShowVisitorResponseData;
319
+ }
320
+ /**
321
+ *
322
+ * @export
323
+ * @interface WrappedResponseShowVisitorResponseData
324
+ */
325
+ export interface WrappedResponseShowVisitorResponseData {
326
+ /**
327
+ *
328
+ * @type {string}
329
+ * @memberof WrappedResponseShowVisitorResponseData
330
+ */
331
+ 'id': string;
332
+ /**
333
+ *
334
+ * @type {string}
335
+ * @memberof WrappedResponseShowVisitorResponseData
336
+ */
337
+ 'name': string;
338
+ }
339
+ /**
340
+ * DefaultApi - axios parameter creator
341
+ * @export
342
+ */
343
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
344
+ /**
345
+ *
346
+ * @param {CreateFSMembersBody} createFSMembersBody
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ create: (createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
351
+ /**
352
+ *
353
+ * @param {any} body
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ create_1: (body: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
358
+ /**
359
+ *
360
+ * @param {CreateVisitorBody} createVisitorBody
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ create_2: (createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
365
+ /**
366
+ *
367
+ * @param {DestroyFSMembers} destroyFSMembers
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ */
371
+ destroy: (destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig) => Promise<RequestArgs>;
372
+ /**
373
+ *
374
+ * @param {string} id
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ show: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
379
+ /**
380
+ *
381
+ * @param {SyncBody} syncBody
382
+ * @param {*} [options] Override http request option.
383
+ * @throws {RequiredError}
384
+ */
385
+ sync: (syncBody: SyncBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
386
+ };
387
+ /**
388
+ * DefaultApi - functional programming interface
389
+ * @export
390
+ */
391
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
392
+ /**
393
+ *
394
+ * @param {CreateFSMembersBody} createFSMembersBody
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ create(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMemberResult>>;
399
+ /**
400
+ *
401
+ * @param {any} body
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ */
405
+ create_1(body: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
406
+ /**
407
+ *
408
+ * @param {CreateVisitorBody} createVisitorBody
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ create_2(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateVisitorResponse>>;
413
+ /**
414
+ *
415
+ * @param {DestroyFSMembers} destroyFSMembers
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
420
+ /**
421
+ *
422
+ * @param {string} id
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ show(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowVisitorResponse>>;
427
+ /**
428
+ *
429
+ * @param {SyncBody} syncBody
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>>;
434
+ };
435
+ /**
436
+ * DefaultApi - factory interface
437
+ * @export
438
+ */
439
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
440
+ /**
441
+ *
442
+ * @param {CreateFSMembersBody} createFSMembersBody
443
+ * @param {*} [options] Override http request option.
444
+ * @throws {RequiredError}
445
+ */
446
+ create(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMemberResult>;
447
+ /**
448
+ *
449
+ * @param {any} body
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ */
453
+ create_1(body: any, options?: any): AxiosPromise<void>;
454
+ /**
455
+ *
456
+ * @param {CreateVisitorBody} createVisitorBody
457
+ * @param {*} [options] Override http request option.
458
+ * @throws {RequiredError}
459
+ */
460
+ create_2(createVisitorBody: CreateVisitorBody, options?: any): AxiosPromise<WrappedResponseCreateVisitorResponse>;
461
+ /**
462
+ *
463
+ * @param {DestroyFSMembers} destroyFSMembers
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ destroy(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<void>;
468
+ /**
469
+ *
470
+ * @param {string} id
471
+ * @param {*} [options] Override http request option.
472
+ * @throws {RequiredError}
473
+ */
474
+ show(id: string, options?: any): AxiosPromise<WrappedResponseShowVisitorResponse>;
475
+ /**
476
+ *
477
+ * @param {SyncBody} syncBody
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse>;
482
+ };
483
+ /**
484
+ * DefaultApi - object-oriented interface
485
+ * @export
486
+ * @class DefaultApi
487
+ * @extends {BaseAPI}
488
+ */
489
+ export declare class DefaultApi extends BaseAPI {
490
+ /**
491
+ *
492
+ * @param {CreateFSMembersBody} createFSMembersBody
493
+ * @param {*} [options] Override http request option.
494
+ * @throws {RequiredError}
495
+ * @memberof DefaultApi
496
+ */
497
+ create(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMemberResult, any>>;
498
+ /**
499
+ *
500
+ * @param {any} body
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ * @memberof DefaultApi
504
+ */
505
+ create_1(body: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
506
+ /**
507
+ *
508
+ * @param {CreateVisitorBody} createVisitorBody
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ * @memberof DefaultApi
512
+ */
513
+ create_2(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCreateVisitorResponse, any>>;
514
+ /**
515
+ *
516
+ * @param {DestroyFSMembers} destroyFSMembers
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ * @memberof DefaultApi
520
+ */
521
+ destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
522
+ /**
523
+ *
524
+ * @param {string} id
525
+ * @param {*} [options] Override http request option.
526
+ * @throws {RequiredError}
527
+ * @memberof DefaultApi
528
+ */
529
+ show(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowVisitorResponse, any>>;
530
+ /**
531
+ *
532
+ * @param {SyncBody} syncBody
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ * @memberof DefaultApi
536
+ */
537
+ sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncResponse, any>>;
538
+ }