@emilgroup/partner-sdk-node 1.6.1-beta.3 → 1.8.0
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/.openapi-generator/FILES +6 -6
- package/README.md +2 -2
- package/api/{partner-invitation-api.ts → partner-invitations-api.ts} +20 -20
- package/api/{partner-relation-api.ts → partner-relations-api.ts} +91 -91
- package/api/{partner-tag-api.ts → partner-tags-api.ts} +66 -66
- package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
- package/api/{partner-version-api.ts → partner-versions-api.ts} +37 -37
- package/api/{partner-api.ts → partners-api.ts} +74 -74
- package/api.ts +12 -12
- package/dist/api/{partner-invitation-api.d.ts → partner-invitations-api.d.ts} +17 -17
- package/dist/api/{partner-invitation-api.js → partner-invitations-api.js} +23 -23
- package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +82 -82
- package/dist/api/{partner-relation-api.js → partner-relations-api.js} +50 -50
- package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +59 -59
- package/dist/api/{partner-tag-api.js → partner-tags-api.js} +42 -42
- package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
- package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
- package/dist/api/{partner-version-api.d.ts → partner-versions-api.d.ts} +33 -33
- package/dist/api/{partner-version-api.js → partner-versions-api.js} +27 -27
- package/dist/api/{partner-api.d.ts → partners-api.d.ts} +66 -66
- package/dist/api/{partner-api.js → partners-api.js} +43 -43
- package/dist/api.d.ts +6 -6
- package/dist/api.js +6 -6
- package/package.json +1 -1
|
@@ -41,10 +41,10 @@ import { UpdatePartnerResponseClass } from '../models';
|
|
|
41
41
|
import { URL, URLSearchParams } from 'url';
|
|
42
42
|
const FormData = require('form-data');
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* PartnersApi - axios parameter creator
|
|
45
45
|
* @export
|
|
46
46
|
*/
|
|
47
|
-
export const
|
|
47
|
+
export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48
48
|
return {
|
|
49
49
|
/**
|
|
50
50
|
* This will create a partner.
|
|
@@ -370,11 +370,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
370
370
|
};
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
|
-
*
|
|
373
|
+
* PartnersApi - functional programming interface
|
|
374
374
|
* @export
|
|
375
375
|
*/
|
|
376
|
-
export const
|
|
377
|
-
const localVarAxiosParamCreator =
|
|
376
|
+
export const PartnersApiFp = function(configuration?: Configuration) {
|
|
377
|
+
const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
|
|
378
378
|
return {
|
|
379
379
|
/**
|
|
380
380
|
* This will create a partner.
|
|
@@ -461,11 +461,11 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
|
|
461
461
|
};
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
|
-
*
|
|
464
|
+
* PartnersApi - factory interface
|
|
465
465
|
* @export
|
|
466
466
|
*/
|
|
467
|
-
export const
|
|
468
|
-
const localVarFp =
|
|
467
|
+
export const PartnersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
468
|
+
const localVarFp = PartnersApiFp(configuration)
|
|
469
469
|
return {
|
|
470
470
|
/**
|
|
471
471
|
* This will create a partner.
|
|
@@ -546,270 +546,270 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
|
|
546
546
|
};
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
|
-
* Request parameters for createPartner operation in
|
|
549
|
+
* Request parameters for createPartner operation in PartnersApi.
|
|
550
550
|
* @export
|
|
551
|
-
* @interface
|
|
551
|
+
* @interface PartnersApiCreatePartnerRequest
|
|
552
552
|
*/
|
|
553
|
-
export interface
|
|
553
|
+
export interface PartnersApiCreatePartnerRequest {
|
|
554
554
|
/**
|
|
555
555
|
*
|
|
556
556
|
* @type {CreatePartnerRequestDto}
|
|
557
|
-
* @memberof
|
|
557
|
+
* @memberof PartnersApiCreatePartner
|
|
558
558
|
*/
|
|
559
559
|
readonly createPartnerRequestDto: CreatePartnerRequestDto
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
562
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
563
563
|
* @type {string}
|
|
564
|
-
* @memberof
|
|
564
|
+
* @memberof PartnersApiCreatePartner
|
|
565
565
|
*/
|
|
566
566
|
readonly authorization?: string
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
/**
|
|
570
|
-
* Request parameters for deletePartner operation in
|
|
570
|
+
* Request parameters for deletePartner operation in PartnersApi.
|
|
571
571
|
* @export
|
|
572
|
-
* @interface
|
|
572
|
+
* @interface PartnersApiDeletePartnerRequest
|
|
573
573
|
*/
|
|
574
|
-
export interface
|
|
574
|
+
export interface PartnersApiDeletePartnerRequest {
|
|
575
575
|
/**
|
|
576
576
|
*
|
|
577
577
|
* @type {string}
|
|
578
|
-
* @memberof
|
|
578
|
+
* @memberof PartnersApiDeletePartner
|
|
579
579
|
*/
|
|
580
580
|
readonly code: string
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
583
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
584
584
|
* @type {string}
|
|
585
|
-
* @memberof
|
|
585
|
+
* @memberof PartnersApiDeletePartner
|
|
586
586
|
*/
|
|
587
587
|
readonly authorization?: string
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
|
-
* Request parameters for getPartner operation in
|
|
591
|
+
* Request parameters for getPartner operation in PartnersApi.
|
|
592
592
|
* @export
|
|
593
|
-
* @interface
|
|
593
|
+
* @interface PartnersApiGetPartnerRequest
|
|
594
594
|
*/
|
|
595
|
-
export interface
|
|
595
|
+
export interface PartnersApiGetPartnerRequest {
|
|
596
596
|
/**
|
|
597
597
|
* Unique identifier for the object.
|
|
598
598
|
* @type {string}
|
|
599
|
-
* @memberof
|
|
599
|
+
* @memberof PartnersApiGetPartner
|
|
600
600
|
*/
|
|
601
601
|
readonly code: string
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
605
605
|
* @type {string}
|
|
606
|
-
* @memberof
|
|
606
|
+
* @memberof PartnersApiGetPartner
|
|
607
607
|
*/
|
|
608
608
|
readonly authorization?: string
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
*
|
|
612
612
|
* @type {any}
|
|
613
|
-
* @memberof
|
|
613
|
+
* @memberof PartnersApiGetPartner
|
|
614
614
|
*/
|
|
615
615
|
readonly expand?: any
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
/**
|
|
619
|
-
* Request parameters for listPartners operation in
|
|
619
|
+
* Request parameters for listPartners operation in PartnersApi.
|
|
620
620
|
* @export
|
|
621
|
-
* @interface
|
|
621
|
+
* @interface PartnersApiListPartnersRequest
|
|
622
622
|
*/
|
|
623
|
-
export interface
|
|
623
|
+
export interface PartnersApiListPartnersRequest {
|
|
624
624
|
/**
|
|
625
625
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
626
|
* @type {string}
|
|
627
|
-
* @memberof
|
|
627
|
+
* @memberof PartnersApiListPartners
|
|
628
628
|
*/
|
|
629
629
|
readonly authorization?: string
|
|
630
630
|
|
|
631
631
|
/**
|
|
632
632
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
633
633
|
* @type {any}
|
|
634
|
-
* @memberof
|
|
634
|
+
* @memberof PartnersApiListPartners
|
|
635
635
|
*/
|
|
636
636
|
readonly pageSize?: any
|
|
637
637
|
|
|
638
638
|
/**
|
|
639
639
|
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
640
640
|
* @type {any}
|
|
641
|
-
* @memberof
|
|
641
|
+
* @memberof PartnersApiListPartners
|
|
642
642
|
*/
|
|
643
643
|
readonly pageToken?: any
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
646
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
|
|
647
647
|
* @type {string}
|
|
648
|
-
* @memberof
|
|
648
|
+
* @memberof PartnersApiListPartners
|
|
649
649
|
*/
|
|
650
650
|
readonly filter?: string
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
653
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
654
654
|
* @type {any}
|
|
655
|
-
* @memberof
|
|
655
|
+
* @memberof PartnersApiListPartners
|
|
656
656
|
*/
|
|
657
657
|
readonly search?: any
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
660
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
661
661
|
* @type {string}
|
|
662
|
-
* @memberof
|
|
662
|
+
* @memberof PartnersApiListPartners
|
|
663
663
|
*/
|
|
664
664
|
readonly order?: string
|
|
665
665
|
|
|
666
666
|
/**
|
|
667
667
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
668
668
|
* @type {string}
|
|
669
|
-
* @memberof
|
|
669
|
+
* @memberof PartnersApiListPartners
|
|
670
670
|
*/
|
|
671
671
|
readonly expand?: string
|
|
672
672
|
|
|
673
673
|
/**
|
|
674
674
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
|
|
675
675
|
* @type {string}
|
|
676
|
-
* @memberof
|
|
676
|
+
* @memberof PartnersApiListPartners
|
|
677
677
|
*/
|
|
678
678
|
readonly filters?: string
|
|
679
679
|
}
|
|
680
680
|
|
|
681
681
|
/**
|
|
682
|
-
* Request parameters for tagPartner operation in
|
|
682
|
+
* Request parameters for tagPartner operation in PartnersApi.
|
|
683
683
|
* @export
|
|
684
|
-
* @interface
|
|
684
|
+
* @interface PartnersApiTagPartnerRequest
|
|
685
685
|
*/
|
|
686
|
-
export interface
|
|
686
|
+
export interface PartnersApiTagPartnerRequest {
|
|
687
687
|
/**
|
|
688
688
|
*
|
|
689
689
|
* @type {string}
|
|
690
|
-
* @memberof
|
|
690
|
+
* @memberof PartnersApiTagPartner
|
|
691
691
|
*/
|
|
692
692
|
readonly code: string
|
|
693
693
|
|
|
694
694
|
/**
|
|
695
695
|
*
|
|
696
696
|
* @type {TagPartnerRequestDtoRest}
|
|
697
|
-
* @memberof
|
|
697
|
+
* @memberof PartnersApiTagPartner
|
|
698
698
|
*/
|
|
699
699
|
readonly tagPartnerRequestDtoRest: TagPartnerRequestDtoRest
|
|
700
700
|
|
|
701
701
|
/**
|
|
702
702
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
703
703
|
* @type {string}
|
|
704
|
-
* @memberof
|
|
704
|
+
* @memberof PartnersApiTagPartner
|
|
705
705
|
*/
|
|
706
706
|
readonly authorization?: string
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
/**
|
|
710
|
-
* Request parameters for updatePartner operation in
|
|
710
|
+
* Request parameters for updatePartner operation in PartnersApi.
|
|
711
711
|
* @export
|
|
712
|
-
* @interface
|
|
712
|
+
* @interface PartnersApiUpdatePartnerRequest
|
|
713
713
|
*/
|
|
714
|
-
export interface
|
|
714
|
+
export interface PartnersApiUpdatePartnerRequest {
|
|
715
715
|
/**
|
|
716
716
|
* Unique identifier for the object.
|
|
717
717
|
* @type {string}
|
|
718
|
-
* @memberof
|
|
718
|
+
* @memberof PartnersApiUpdatePartner
|
|
719
719
|
*/
|
|
720
720
|
readonly code: string
|
|
721
721
|
|
|
722
722
|
/**
|
|
723
723
|
*
|
|
724
724
|
* @type {UpdatePartnerRequestDto}
|
|
725
|
-
* @memberof
|
|
725
|
+
* @memberof PartnersApiUpdatePartner
|
|
726
726
|
*/
|
|
727
727
|
readonly updatePartnerRequestDto: UpdatePartnerRequestDto
|
|
728
728
|
|
|
729
729
|
/**
|
|
730
730
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
731
731
|
* @type {string}
|
|
732
|
-
* @memberof
|
|
732
|
+
* @memberof PartnersApiUpdatePartner
|
|
733
733
|
*/
|
|
734
734
|
readonly authorization?: string
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
/**
|
|
738
|
-
*
|
|
738
|
+
* PartnersApi - object-oriented interface
|
|
739
739
|
* @export
|
|
740
|
-
* @class
|
|
740
|
+
* @class PartnersApi
|
|
741
741
|
* @extends {BaseAPI}
|
|
742
742
|
*/
|
|
743
|
-
export class
|
|
743
|
+
export class PartnersApi extends BaseAPI {
|
|
744
744
|
/**
|
|
745
745
|
* This will create a partner.
|
|
746
746
|
* @summary Create the partner
|
|
747
|
-
* @param {
|
|
747
|
+
* @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
|
|
748
748
|
* @param {*} [options] Override http request option.
|
|
749
749
|
* @throws {RequiredError}
|
|
750
|
-
* @memberof
|
|
750
|
+
* @memberof PartnersApi
|
|
751
751
|
*/
|
|
752
|
-
public createPartner(requestParameters:
|
|
753
|
-
return
|
|
752
|
+
public createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig) {
|
|
753
|
+
return PartnersApiFp(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
754
754
|
}
|
|
755
755
|
|
|
756
756
|
/**
|
|
757
757
|
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
758
758
|
* @summary Delete the partner
|
|
759
|
-
* @param {
|
|
759
|
+
* @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
|
|
760
760
|
* @param {*} [options] Override http request option.
|
|
761
761
|
* @throws {RequiredError}
|
|
762
|
-
* @memberof
|
|
762
|
+
* @memberof PartnersApi
|
|
763
763
|
*/
|
|
764
|
-
public deletePartner(requestParameters:
|
|
765
|
-
return
|
|
764
|
+
public deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig) {
|
|
765
|
+
return PartnersApiFp(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
/**
|
|
769
769
|
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
770
770
|
* @summary Retrieve the partner
|
|
771
|
-
* @param {
|
|
771
|
+
* @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
|
|
772
772
|
* @param {*} [options] Override http request option.
|
|
773
773
|
* @throws {RequiredError}
|
|
774
|
-
* @memberof
|
|
774
|
+
* @memberof PartnersApi
|
|
775
775
|
*/
|
|
776
|
-
public getPartner(requestParameters:
|
|
777
|
-
return
|
|
776
|
+
public getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig) {
|
|
777
|
+
return PartnersApiFp(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
778
778
|
}
|
|
779
779
|
|
|
780
780
|
/**
|
|
781
781
|
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
782
782
|
* @summary List partners
|
|
783
|
-
* @param {
|
|
783
|
+
* @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
|
|
784
784
|
* @param {*} [options] Override http request option.
|
|
785
785
|
* @throws {RequiredError}
|
|
786
|
-
* @memberof
|
|
786
|
+
* @memberof PartnersApi
|
|
787
787
|
*/
|
|
788
|
-
public listPartners(requestParameters:
|
|
789
|
-
return
|
|
788
|
+
public listPartners(requestParameters: PartnersApiListPartnersRequest = {}, options?: AxiosRequestConfig) {
|
|
789
|
+
return PartnersApiFp(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
/**
|
|
793
793
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
794
794
|
* @summary Update the partner
|
|
795
|
-
* @param {
|
|
795
|
+
* @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
|
|
796
796
|
* @param {*} [options] Override http request option.
|
|
797
797
|
* @throws {RequiredError}
|
|
798
|
-
* @memberof
|
|
798
|
+
* @memberof PartnersApi
|
|
799
799
|
*/
|
|
800
|
-
public tagPartner(requestParameters:
|
|
801
|
-
return
|
|
800
|
+
public tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig) {
|
|
801
|
+
return PartnersApiFp(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
805
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
806
806
|
* @summary Update the partner
|
|
807
|
-
* @param {
|
|
807
|
+
* @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
|
|
808
808
|
* @param {*} [options] Override http request option.
|
|
809
809
|
* @throws {RequiredError}
|
|
810
|
-
* @memberof
|
|
810
|
+
* @memberof PartnersApi
|
|
811
811
|
*/
|
|
812
|
-
public updatePartner(requestParameters:
|
|
813
|
-
return
|
|
812
|
+
public updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
|
|
813
|
+
return PartnersApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
814
814
|
}
|
|
815
815
|
}
|
package/api.ts
CHANGED
|
@@ -25,19 +25,19 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { DefaultApi } from './api';
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
28
|
+
import { PartnerInvitationsApi } from './api';
|
|
29
|
+
import { PartnerRelationsApi } from './api';
|
|
30
|
+
import { PartnerTagsApi } from './api';
|
|
31
|
+
import { PartnerTypesApi } from './api';
|
|
32
|
+
import { PartnerVersionsApi } from './api';
|
|
33
|
+
import { PartnersApi } from './api';
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
export * from './api/default-api';
|
|
37
|
-
export * from './api/partner-api';
|
|
38
|
-
export * from './api/partner-
|
|
39
|
-
export * from './api/partner-
|
|
40
|
-
export * from './api/partner-
|
|
41
|
-
export * from './api/partner-
|
|
42
|
-
export * from './api/
|
|
37
|
+
export * from './api/partner-invitations-api';
|
|
38
|
+
export * from './api/partner-relations-api';
|
|
39
|
+
export * from './api/partner-tags-api';
|
|
40
|
+
export * from './api/partner-types-api';
|
|
41
|
+
export * from './api/partner-versions-api';
|
|
42
|
+
export * from './api/partners-api';
|
|
43
43
|
|
|
@@ -15,10 +15,10 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { InvitePartnerToEISRequestDto } from '../models';
|
|
16
16
|
import { InvitePartnerToEisResponseClass } from '../models';
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* PartnerInvitationsApi - axios parameter creator
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const PartnerInvitationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
24
24
|
* @summary Create the Partner Invitation
|
|
@@ -30,10 +30,10 @@ export declare const PartnerInvitationApiAxiosParamCreator: (configuration?: Con
|
|
|
30
30
|
invitePartnerToEIS: (invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* PartnerInvitationsApi - functional programming interface
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const PartnerInvitationsApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
38
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
39
39
|
* @summary Create the Partner Invitation
|
|
@@ -45,10 +45,10 @@ export declare const PartnerInvitationApiFp: (configuration?: Configuration) =>
|
|
|
45
45
|
invitePartnerToEIS(invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvitePartnerToEisResponseClass>>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* PartnerInvitationsApi - factory interface
|
|
49
49
|
* @export
|
|
50
50
|
*/
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const PartnerInvitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
52
|
/**
|
|
53
53
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
54
54
|
* @summary Create the Partner Invitation
|
|
@@ -60,38 +60,38 @@ export declare const PartnerInvitationApiFactory: (configuration?: Configuration
|
|
|
60
60
|
invitePartnerToEIS(invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto, authorization?: string, options?: any): AxiosPromise<InvitePartnerToEisResponseClass>;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
|
-
* Request parameters for invitePartnerToEIS operation in
|
|
63
|
+
* Request parameters for invitePartnerToEIS operation in PartnerInvitationsApi.
|
|
64
64
|
* @export
|
|
65
|
-
* @interface
|
|
65
|
+
* @interface PartnerInvitationsApiInvitePartnerToEISRequest
|
|
66
66
|
*/
|
|
67
|
-
export interface
|
|
67
|
+
export interface PartnerInvitationsApiInvitePartnerToEISRequest {
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {InvitePartnerToEISRequestDto}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof PartnerInvitationsApiInvitePartnerToEIS
|
|
72
72
|
*/
|
|
73
73
|
readonly invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto;
|
|
74
74
|
/**
|
|
75
75
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
76
|
* @type {string}
|
|
77
|
-
* @memberof
|
|
77
|
+
* @memberof PartnerInvitationsApiInvitePartnerToEIS
|
|
78
78
|
*/
|
|
79
79
|
readonly authorization?: string;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* PartnerInvitationsApi - object-oriented interface
|
|
83
83
|
* @export
|
|
84
|
-
* @class
|
|
84
|
+
* @class PartnerInvitationsApi
|
|
85
85
|
* @extends {BaseAPI}
|
|
86
86
|
*/
|
|
87
|
-
export declare class
|
|
87
|
+
export declare class PartnerInvitationsApi extends BaseAPI {
|
|
88
88
|
/**
|
|
89
89
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
90
90
|
* @summary Create the Partner Invitation
|
|
91
|
-
* @param {
|
|
91
|
+
* @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
|
-
* @memberof
|
|
94
|
+
* @memberof PartnerInvitationsApi
|
|
95
95
|
*/
|
|
96
|
-
invitePartnerToEIS(requestParameters:
|
|
96
|
+
invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvitePartnerToEisResponseClass, any>>;
|
|
97
97
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.PartnerInvitationsApi = exports.PartnerInvitationsApiFactory = exports.PartnerInvitationsApiFp = exports.PartnerInvitationsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,10 +90,10 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* PartnerInvitationsApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var PartnerInvitationsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
@@ -147,13 +147,13 @@ var PartnerInvitationApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
},
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
exports.
|
|
150
|
+
exports.PartnerInvitationsApiAxiosParamCreator = PartnerInvitationsApiAxiosParamCreator;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* PartnerInvitationsApi - functional programming interface
|
|
153
153
|
* @export
|
|
154
154
|
*/
|
|
155
|
-
var
|
|
156
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
155
|
+
var PartnerInvitationsApiFp = function (configuration) {
|
|
156
|
+
var localVarAxiosParamCreator = (0, exports.PartnerInvitationsApiAxiosParamCreator)(configuration);
|
|
157
157
|
return {
|
|
158
158
|
/**
|
|
159
159
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
@@ -178,13 +178,13 @@ var PartnerInvitationApiFp = function (configuration) {
|
|
|
178
178
|
},
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
-
exports.
|
|
181
|
+
exports.PartnerInvitationsApiFp = PartnerInvitationsApiFp;
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* PartnerInvitationsApi - factory interface
|
|
184
184
|
* @export
|
|
185
185
|
*/
|
|
186
|
-
var
|
|
187
|
-
var localVarFp = (0, exports.
|
|
186
|
+
var PartnerInvitationsApiFactory = function (configuration, basePath, axios) {
|
|
187
|
+
var localVarFp = (0, exports.PartnerInvitationsApiFp)(configuration);
|
|
188
188
|
return {
|
|
189
189
|
/**
|
|
190
190
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
@@ -199,30 +199,30 @@ var PartnerInvitationApiFactory = function (configuration, basePath, axios) {
|
|
|
199
199
|
},
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
|
-
exports.
|
|
202
|
+
exports.PartnerInvitationsApiFactory = PartnerInvitationsApiFactory;
|
|
203
203
|
/**
|
|
204
|
-
*
|
|
204
|
+
* PartnerInvitationsApi - object-oriented interface
|
|
205
205
|
* @export
|
|
206
|
-
* @class
|
|
206
|
+
* @class PartnerInvitationsApi
|
|
207
207
|
* @extends {BaseAPI}
|
|
208
208
|
*/
|
|
209
|
-
var
|
|
210
|
-
__extends(
|
|
211
|
-
function
|
|
209
|
+
var PartnerInvitationsApi = /** @class */ (function (_super) {
|
|
210
|
+
__extends(PartnerInvitationsApi, _super);
|
|
211
|
+
function PartnerInvitationsApi() {
|
|
212
212
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
215
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
216
216
|
* @summary Create the Partner Invitation
|
|
217
|
-
* @param {
|
|
217
|
+
* @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
|
|
218
218
|
* @param {*} [options] Override http request option.
|
|
219
219
|
* @throws {RequiredError}
|
|
220
|
-
* @memberof
|
|
220
|
+
* @memberof PartnerInvitationsApi
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
PartnerInvitationsApi.prototype.invitePartnerToEIS = function (requestParameters, options) {
|
|
223
223
|
var _this = this;
|
|
224
|
-
return (0, exports.
|
|
224
|
+
return (0, exports.PartnerInvitationsApiFp)(this.configuration).invitePartnerToEIS(requestParameters.invitePartnerToEISRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
225
225
|
};
|
|
226
|
-
return
|
|
226
|
+
return PartnerInvitationsApi;
|
|
227
227
|
}(base_1.BaseAPI));
|
|
228
|
-
exports.
|
|
228
|
+
exports.PartnerInvitationsApi = PartnerInvitationsApi;
|