ob-bms-sdk 0.0.4 → 0.0.6

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
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 0.0.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 0.0.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 0.0.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 0.0.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ob-bms
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 0.0.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,563 @@
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: 0.0.4
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 {DestroyFSMembers} destroyFSMembers
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ destroy: (destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig) => Promise<RequestArgs>;
365
+ /**
366
+ *
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ */
370
+ membersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
371
+ /**
372
+ *
373
+ * @param {SyncBody} syncBody
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ sync: (syncBody: SyncBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
378
+ /**
379
+ *
380
+ * @param {CreateVisitorBody} createVisitorBody
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ visitorsCreate: (createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
385
+ /**
386
+ *
387
+ * @param {string} id
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ visitorsShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
392
+ };
393
+ /**
394
+ * DefaultApi - functional programming interface
395
+ * @export
396
+ */
397
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
398
+ /**
399
+ *
400
+ * @param {CreateFSMembersBody} createFSMembersBody
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ create(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMemberResult>>;
405
+ /**
406
+ *
407
+ * @param {any} body
408
+ * @param {*} [options] Override http request option.
409
+ * @throws {RequiredError}
410
+ */
411
+ create_1(body: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
412
+ /**
413
+ *
414
+ * @param {DestroyFSMembers} destroyFSMembers
415
+ * @param {*} [options] Override http request option.
416
+ * @throws {RequiredError}
417
+ */
418
+ destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
419
+ /**
420
+ *
421
+ * @param {*} [options] Override http request option.
422
+ * @throws {RequiredError}
423
+ */
424
+ membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
425
+ /**
426
+ *
427
+ * @param {SyncBody} syncBody
428
+ * @param {*} [options] Override http request option.
429
+ * @throws {RequiredError}
430
+ */
431
+ sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>>;
432
+ /**
433
+ *
434
+ * @param {CreateVisitorBody} createVisitorBody
435
+ * @param {*} [options] Override http request option.
436
+ * @throws {RequiredError}
437
+ */
438
+ visitorsCreate(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateVisitorResponse>>;
439
+ /**
440
+ *
441
+ * @param {string} id
442
+ * @param {*} [options] Override http request option.
443
+ * @throws {RequiredError}
444
+ */
445
+ visitorsShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowVisitorResponse>>;
446
+ };
447
+ /**
448
+ * DefaultApi - factory interface
449
+ * @export
450
+ */
451
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
452
+ /**
453
+ *
454
+ * @param {CreateFSMembersBody} createFSMembersBody
455
+ * @param {*} [options] Override http request option.
456
+ * @throws {RequiredError}
457
+ */
458
+ create(createFSMembersBody: CreateFSMembersBody, options?: any): AxiosPromise<CreateMemberResult>;
459
+ /**
460
+ *
461
+ * @param {any} body
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ create_1(body: any, options?: any): AxiosPromise<void>;
466
+ /**
467
+ *
468
+ * @param {DestroyFSMembers} destroyFSMembers
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ destroy(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<void>;
473
+ /**
474
+ *
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ */
478
+ membersIndex(options?: any): AxiosPromise<void>;
479
+ /**
480
+ *
481
+ * @param {SyncBody} syncBody
482
+ * @param {*} [options] Override http request option.
483
+ * @throws {RequiredError}
484
+ */
485
+ sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse>;
486
+ /**
487
+ *
488
+ * @param {CreateVisitorBody} createVisitorBody
489
+ * @param {*} [options] Override http request option.
490
+ * @throws {RequiredError}
491
+ */
492
+ visitorsCreate(createVisitorBody: CreateVisitorBody, options?: any): AxiosPromise<WrappedResponseCreateVisitorResponse>;
493
+ /**
494
+ *
495
+ * @param {string} id
496
+ * @param {*} [options] Override http request option.
497
+ * @throws {RequiredError}
498
+ */
499
+ visitorsShow(id: string, options?: any): AxiosPromise<WrappedResponseShowVisitorResponse>;
500
+ };
501
+ /**
502
+ * DefaultApi - object-oriented interface
503
+ * @export
504
+ * @class DefaultApi
505
+ * @extends {BaseAPI}
506
+ */
507
+ export declare class DefaultApi extends BaseAPI {
508
+ /**
509
+ *
510
+ * @param {CreateFSMembersBody} createFSMembersBody
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ * @memberof DefaultApi
514
+ */
515
+ create(createFSMembersBody: CreateFSMembersBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMemberResult, any>>;
516
+ /**
517
+ *
518
+ * @param {any} body
519
+ * @param {*} [options] Override http request option.
520
+ * @throws {RequiredError}
521
+ * @memberof DefaultApi
522
+ */
523
+ create_1(body: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
524
+ /**
525
+ *
526
+ * @param {DestroyFSMembers} destroyFSMembers
527
+ * @param {*} [options] Override http request option.
528
+ * @throws {RequiredError}
529
+ * @memberof DefaultApi
530
+ */
531
+ destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
532
+ /**
533
+ *
534
+ * @param {*} [options] Override http request option.
535
+ * @throws {RequiredError}
536
+ * @memberof DefaultApi
537
+ */
538
+ membersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
539
+ /**
540
+ *
541
+ * @param {SyncBody} syncBody
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ * @memberof DefaultApi
545
+ */
546
+ sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncResponse, any>>;
547
+ /**
548
+ *
549
+ * @param {CreateVisitorBody} createVisitorBody
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ * @memberof DefaultApi
553
+ */
554
+ visitorsCreate(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCreateVisitorResponse, any>>;
555
+ /**
556
+ *
557
+ * @param {string} id
558
+ * @param {*} [options] Override http request option.
559
+ * @throws {RequiredError}
560
+ * @memberof DefaultApi
561
+ */
562
+ visitorsShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowVisitorResponse, any>>;
563
+ }