ob-bms-sdk 0.0.2 → 0.0.4
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 +121 -65
- package/package.json +1 -1
- package/dist/api/api.d.ts +0 -538
- package/dist/api/api.js +0 -431
- package/dist/api/base.d.ts +0 -54
- package/dist/api/base.js +0 -62
- package/dist/api/common.d.ts +0 -65
- package/dist/api/common.js +0 -160
- package/dist/api/configuration.d.ts +0 -83
- package/dist/api/configuration.js +0 -42
- package/dist/api/index.d.ts +0 -13
- package/dist/api/index.js +0 -31
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -5
package/api/api.ts
CHANGED
|
@@ -425,14 +425,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
425
425
|
},
|
|
426
426
|
/**
|
|
427
427
|
*
|
|
428
|
-
* @param {
|
|
428
|
+
* @param {DestroyFSMembers} destroyFSMembers
|
|
429
429
|
* @param {*} [options] Override http request option.
|
|
430
430
|
* @throws {RequiredError}
|
|
431
431
|
*/
|
|
432
|
-
|
|
433
|
-
// verify required parameter '
|
|
434
|
-
assertParamExists('
|
|
435
|
-
const localVarPath = `/
|
|
432
|
+
destroy: async (destroyFSMembers: DestroyFSMembers, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
433
|
+
// verify required parameter 'destroyFSMembers' is not null or undefined
|
|
434
|
+
assertParamExists('destroy', 'destroyFSMembers', destroyFSMembers)
|
|
435
|
+
const localVarPath = `/integrations/fs/members`;
|
|
436
436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
437
437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
438
438
|
let baseOptions;
|
|
@@ -440,7 +440,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
440
440
|
baseOptions = configuration.baseOptions;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
-
const localVarRequestOptions = { method: '
|
|
443
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
444
444
|
const localVarHeaderParameter = {} as any;
|
|
445
445
|
const localVarQueryParameter = {} as any;
|
|
446
446
|
|
|
@@ -451,7 +451,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
451
451
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
452
452
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
453
453
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
454
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
454
|
+
localVarRequestOptions.data = serializeDataIfNeeded(destroyFSMembers, localVarRequestOptions, configuration)
|
|
455
455
|
|
|
456
456
|
return {
|
|
457
457
|
url: toPathString(localVarUrlObj),
|
|
@@ -460,14 +460,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
462
462
|
*
|
|
463
|
-
* @param {DestroyFSMembers} destroyFSMembers
|
|
464
463
|
* @param {*} [options] Override http request option.
|
|
465
464
|
* @throws {RequiredError}
|
|
466
465
|
*/
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
assertParamExists('destroy', 'destroyFSMembers', destroyFSMembers)
|
|
470
|
-
const localVarPath = `/integrations/fs/members`;
|
|
466
|
+
membersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
467
|
+
const localVarPath = `/members`;
|
|
471
468
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
472
469
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
473
470
|
let baseOptions;
|
|
@@ -475,18 +472,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
475
472
|
baseOptions = configuration.baseOptions;
|
|
476
473
|
}
|
|
477
474
|
|
|
478
|
-
const localVarRequestOptions = { method: '
|
|
475
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
479
476
|
const localVarHeaderParameter = {} as any;
|
|
480
477
|
const localVarQueryParameter = {} as any;
|
|
481
478
|
|
|
482
479
|
|
|
483
480
|
|
|
484
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
485
|
-
|
|
486
481
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
487
482
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
488
483
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
489
|
-
localVarRequestOptions.data = serializeDataIfNeeded(destroyFSMembers, localVarRequestOptions, configuration)
|
|
490
484
|
|
|
491
485
|
return {
|
|
492
486
|
url: toPathString(localVarUrlObj),
|
|
@@ -495,15 +489,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
495
489
|
},
|
|
496
490
|
/**
|
|
497
491
|
*
|
|
498
|
-
* @param {
|
|
492
|
+
* @param {SyncBody} syncBody
|
|
499
493
|
* @param {*} [options] Override http request option.
|
|
500
494
|
* @throws {RequiredError}
|
|
501
495
|
*/
|
|
502
|
-
|
|
503
|
-
// verify required parameter '
|
|
504
|
-
assertParamExists('
|
|
505
|
-
const localVarPath = `/
|
|
506
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
496
|
+
sync: async (syncBody: SyncBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
497
|
+
// verify required parameter 'syncBody' is not null or undefined
|
|
498
|
+
assertParamExists('sync', 'syncBody', syncBody)
|
|
499
|
+
const localVarPath = `/integrations/fs/job/sync`;
|
|
507
500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
508
501
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
509
502
|
let baseOptions;
|
|
@@ -511,15 +504,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
511
504
|
baseOptions = configuration.baseOptions;
|
|
512
505
|
}
|
|
513
506
|
|
|
514
|
-
const localVarRequestOptions = { method: '
|
|
507
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
515
508
|
const localVarHeaderParameter = {} as any;
|
|
516
509
|
const localVarQueryParameter = {} as any;
|
|
517
510
|
|
|
518
511
|
|
|
519
512
|
|
|
513
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
514
|
+
|
|
520
515
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
521
516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
522
517
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
518
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncBody, localVarRequestOptions, configuration)
|
|
523
519
|
|
|
524
520
|
return {
|
|
525
521
|
url: toPathString(localVarUrlObj),
|
|
@@ -528,14 +524,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
528
524
|
},
|
|
529
525
|
/**
|
|
530
526
|
*
|
|
531
|
-
* @param {
|
|
527
|
+
* @param {CreateVisitorBody} createVisitorBody
|
|
532
528
|
* @param {*} [options] Override http request option.
|
|
533
529
|
* @throws {RequiredError}
|
|
534
530
|
*/
|
|
535
|
-
|
|
536
|
-
// verify required parameter '
|
|
537
|
-
assertParamExists('
|
|
538
|
-
const localVarPath = `/
|
|
531
|
+
visitorsCreate: async (createVisitorBody: CreateVisitorBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
532
|
+
// verify required parameter 'createVisitorBody' is not null or undefined
|
|
533
|
+
assertParamExists('visitorsCreate', 'createVisitorBody', createVisitorBody)
|
|
534
|
+
const localVarPath = `/visitors`;
|
|
539
535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
540
536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
541
537
|
let baseOptions;
|
|
@@ -554,7 +550,40 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
554
550
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
555
551
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
556
552
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
557
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
553
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createVisitorBody, localVarRequestOptions, configuration)
|
|
554
|
+
|
|
555
|
+
return {
|
|
556
|
+
url: toPathString(localVarUrlObj),
|
|
557
|
+
options: localVarRequestOptions,
|
|
558
|
+
};
|
|
559
|
+
},
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @param {string} id
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
*/
|
|
566
|
+
visitorsShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
567
|
+
// verify required parameter 'id' is not null or undefined
|
|
568
|
+
assertParamExists('visitorsShow', 'id', id)
|
|
569
|
+
const localVarPath = `/visitors/{id}`
|
|
570
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
571
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
573
|
+
let baseOptions;
|
|
574
|
+
if (configuration) {
|
|
575
|
+
baseOptions = configuration.baseOptions;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
579
|
+
const localVarHeaderParameter = {} as any;
|
|
580
|
+
const localVarQueryParameter = {} as any;
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
585
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
586
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
558
587
|
|
|
559
588
|
return {
|
|
560
589
|
url: toPathString(localVarUrlObj),
|
|
@@ -593,42 +622,51 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
593
622
|
},
|
|
594
623
|
/**
|
|
595
624
|
*
|
|
596
|
-
* @param {
|
|
625
|
+
* @param {DestroyFSMembers} destroyFSMembers
|
|
597
626
|
* @param {*} [options] Override http request option.
|
|
598
627
|
* @throws {RequiredError}
|
|
599
628
|
*/
|
|
600
|
-
async
|
|
601
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
629
|
+
async destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
630
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.destroy(destroyFSMembers, options);
|
|
602
631
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
603
632
|
},
|
|
604
633
|
/**
|
|
605
634
|
*
|
|
606
|
-
* @param {DestroyFSMembers} destroyFSMembers
|
|
607
635
|
* @param {*} [options] Override http request option.
|
|
608
636
|
* @throws {RequiredError}
|
|
609
637
|
*/
|
|
610
|
-
async
|
|
611
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
638
|
+
async membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(options);
|
|
612
640
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
613
641
|
},
|
|
614
642
|
/**
|
|
615
643
|
*
|
|
616
|
-
* @param {
|
|
644
|
+
* @param {SyncBody} syncBody
|
|
617
645
|
* @param {*} [options] Override http request option.
|
|
618
646
|
* @throws {RequiredError}
|
|
619
647
|
*/
|
|
620
|
-
async
|
|
621
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
648
|
+
async sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>> {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sync(syncBody, options);
|
|
622
650
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
623
651
|
},
|
|
624
652
|
/**
|
|
625
653
|
*
|
|
626
|
-
* @param {
|
|
654
|
+
* @param {CreateVisitorBody} createVisitorBody
|
|
627
655
|
* @param {*} [options] Override http request option.
|
|
628
656
|
* @throws {RequiredError}
|
|
629
657
|
*/
|
|
630
|
-
async
|
|
631
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
658
|
+
async visitorsCreate(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateVisitorResponse>> {
|
|
659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorsCreate(createVisitorBody, options);
|
|
660
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
661
|
+
},
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @param {string} id
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
*/
|
|
668
|
+
async visitorsShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowVisitorResponse>> {
|
|
669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorsShow(id, options);
|
|
632
670
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
633
671
|
},
|
|
634
672
|
}
|
|
@@ -659,15 +697,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
659
697
|
create_1(body: any, options?: any): AxiosPromise<void> {
|
|
660
698
|
return localVarFp.create_1(body, options).then((request) => request(axios, basePath));
|
|
661
699
|
},
|
|
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
700
|
/**
|
|
672
701
|
*
|
|
673
702
|
* @param {DestroyFSMembers} destroyFSMembers
|
|
@@ -679,12 +708,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
679
708
|
},
|
|
680
709
|
/**
|
|
681
710
|
*
|
|
682
|
-
* @param {string} id
|
|
683
711
|
* @param {*} [options] Override http request option.
|
|
684
712
|
* @throws {RequiredError}
|
|
685
713
|
*/
|
|
686
|
-
|
|
687
|
-
return localVarFp.
|
|
714
|
+
membersIndex(options?: any): AxiosPromise<void> {
|
|
715
|
+
return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
|
|
688
716
|
},
|
|
689
717
|
/**
|
|
690
718
|
*
|
|
@@ -695,6 +723,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
695
723
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse> {
|
|
696
724
|
return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
|
|
697
725
|
},
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @param {CreateVisitorBody} createVisitorBody
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
visitorsCreate(createVisitorBody: CreateVisitorBody, options?: any): AxiosPromise<WrappedResponseCreateVisitorResponse> {
|
|
733
|
+
return localVarFp.visitorsCreate(createVisitorBody, options).then((request) => request(axios, basePath));
|
|
734
|
+
},
|
|
735
|
+
/**
|
|
736
|
+
*
|
|
737
|
+
* @param {string} id
|
|
738
|
+
* @param {*} [options] Override http request option.
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
*/
|
|
741
|
+
visitorsShow(id: string, options?: any): AxiosPromise<WrappedResponseShowVisitorResponse> {
|
|
742
|
+
return localVarFp.visitorsShow(id, options).then((request) => request(axios, basePath));
|
|
743
|
+
},
|
|
698
744
|
};
|
|
699
745
|
};
|
|
700
746
|
|
|
@@ -729,46 +775,56 @@ export class DefaultApi extends BaseAPI {
|
|
|
729
775
|
|
|
730
776
|
/**
|
|
731
777
|
*
|
|
732
|
-
* @param {
|
|
778
|
+
* @param {DestroyFSMembers} destroyFSMembers
|
|
733
779
|
* @param {*} [options] Override http request option.
|
|
734
780
|
* @throws {RequiredError}
|
|
735
781
|
* @memberof DefaultApi
|
|
736
782
|
*/
|
|
737
|
-
public
|
|
738
|
-
return DefaultApiFp(this.configuration).
|
|
783
|
+
public destroy(destroyFSMembers: DestroyFSMembers, options?: AxiosRequestConfig) {
|
|
784
|
+
return DefaultApiFp(this.configuration).destroy(destroyFSMembers, options).then((request) => request(this.axios, this.basePath));
|
|
739
785
|
}
|
|
740
786
|
|
|
741
787
|
/**
|
|
742
788
|
*
|
|
743
|
-
* @param {DestroyFSMembers} destroyFSMembers
|
|
744
789
|
* @param {*} [options] Override http request option.
|
|
745
790
|
* @throws {RequiredError}
|
|
746
791
|
* @memberof DefaultApi
|
|
747
792
|
*/
|
|
748
|
-
public
|
|
749
|
-
return DefaultApiFp(this.configuration).
|
|
793
|
+
public membersIndex(options?: AxiosRequestConfig) {
|
|
794
|
+
return DefaultApiFp(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
750
795
|
}
|
|
751
796
|
|
|
752
797
|
/**
|
|
753
798
|
*
|
|
754
|
-
* @param {
|
|
799
|
+
* @param {SyncBody} syncBody
|
|
755
800
|
* @param {*} [options] Override http request option.
|
|
756
801
|
* @throws {RequiredError}
|
|
757
802
|
* @memberof DefaultApi
|
|
758
803
|
*/
|
|
759
|
-
public
|
|
760
|
-
return DefaultApiFp(this.configuration).
|
|
804
|
+
public sync(syncBody: SyncBody, options?: AxiosRequestConfig) {
|
|
805
|
+
return DefaultApiFp(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
|
|
761
806
|
}
|
|
762
807
|
|
|
763
808
|
/**
|
|
764
809
|
*
|
|
765
|
-
* @param {
|
|
810
|
+
* @param {CreateVisitorBody} createVisitorBody
|
|
766
811
|
* @param {*} [options] Override http request option.
|
|
767
812
|
* @throws {RequiredError}
|
|
768
813
|
* @memberof DefaultApi
|
|
769
814
|
*/
|
|
770
|
-
public
|
|
771
|
-
return DefaultApiFp(this.configuration).
|
|
815
|
+
public visitorsCreate(createVisitorBody: CreateVisitorBody, options?: AxiosRequestConfig) {
|
|
816
|
+
return DefaultApiFp(this.configuration).visitorsCreate(createVisitorBody, options).then((request) => request(this.axios, this.basePath));
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @param {string} id
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
* @memberof DefaultApi
|
|
825
|
+
*/
|
|
826
|
+
public visitorsShow(id: string, options?: AxiosRequestConfig) {
|
|
827
|
+
return DefaultApiFp(this.configuration).visitorsShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
772
828
|
}
|
|
773
829
|
}
|
|
774
830
|
|