@emilgroup/partner-sdk 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
|
@@ -37,10 +37,10 @@ import { UpdatePartnerRequestDto } from '../models';
|
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
import { UpdatePartnerResponseClass } from '../models';
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* PartnersApi - axios parameter creator
|
|
41
41
|
* @export
|
|
42
42
|
*/
|
|
43
|
-
export const
|
|
43
|
+
export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
44
|
return {
|
|
45
45
|
/**
|
|
46
46
|
* This will create a partner.
|
|
@@ -366,11 +366,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
366
366
|
};
|
|
367
367
|
|
|
368
368
|
/**
|
|
369
|
-
*
|
|
369
|
+
* PartnersApi - functional programming interface
|
|
370
370
|
* @export
|
|
371
371
|
*/
|
|
372
|
-
export const
|
|
373
|
-
const localVarAxiosParamCreator =
|
|
372
|
+
export const PartnersApiFp = function(configuration?: Configuration) {
|
|
373
|
+
const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
|
|
374
374
|
return {
|
|
375
375
|
/**
|
|
376
376
|
* This will create a partner.
|
|
@@ -457,11 +457,11 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
|
|
457
457
|
};
|
|
458
458
|
|
|
459
459
|
/**
|
|
460
|
-
*
|
|
460
|
+
* PartnersApi - factory interface
|
|
461
461
|
* @export
|
|
462
462
|
*/
|
|
463
|
-
export const
|
|
464
|
-
const localVarFp =
|
|
463
|
+
export const PartnersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
464
|
+
const localVarFp = PartnersApiFp(configuration)
|
|
465
465
|
return {
|
|
466
466
|
/**
|
|
467
467
|
* This will create a partner.
|
|
@@ -542,270 +542,270 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
|
|
542
542
|
};
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
|
-
* Request parameters for createPartner operation in
|
|
545
|
+
* Request parameters for createPartner operation in PartnersApi.
|
|
546
546
|
* @export
|
|
547
|
-
* @interface
|
|
547
|
+
* @interface PartnersApiCreatePartnerRequest
|
|
548
548
|
*/
|
|
549
|
-
export interface
|
|
549
|
+
export interface PartnersApiCreatePartnerRequest {
|
|
550
550
|
/**
|
|
551
551
|
*
|
|
552
552
|
* @type {CreatePartnerRequestDto}
|
|
553
|
-
* @memberof
|
|
553
|
+
* @memberof PartnersApiCreatePartner
|
|
554
554
|
*/
|
|
555
555
|
readonly createPartnerRequestDto: CreatePartnerRequestDto
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
558
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
559
559
|
* @type {string}
|
|
560
|
-
* @memberof
|
|
560
|
+
* @memberof PartnersApiCreatePartner
|
|
561
561
|
*/
|
|
562
562
|
readonly authorization?: string
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
* Request parameters for deletePartner operation in
|
|
566
|
+
* Request parameters for deletePartner operation in PartnersApi.
|
|
567
567
|
* @export
|
|
568
|
-
* @interface
|
|
568
|
+
* @interface PartnersApiDeletePartnerRequest
|
|
569
569
|
*/
|
|
570
|
-
export interface
|
|
570
|
+
export interface PartnersApiDeletePartnerRequest {
|
|
571
571
|
/**
|
|
572
572
|
*
|
|
573
573
|
* @type {string}
|
|
574
|
-
* @memberof
|
|
574
|
+
* @memberof PartnersApiDeletePartner
|
|
575
575
|
*/
|
|
576
576
|
readonly code: string
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
580
580
|
* @type {string}
|
|
581
|
-
* @memberof
|
|
581
|
+
* @memberof PartnersApiDeletePartner
|
|
582
582
|
*/
|
|
583
583
|
readonly authorization?: string
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
|
-
* Request parameters for getPartner operation in
|
|
587
|
+
* Request parameters for getPartner operation in PartnersApi.
|
|
588
588
|
* @export
|
|
589
|
-
* @interface
|
|
589
|
+
* @interface PartnersApiGetPartnerRequest
|
|
590
590
|
*/
|
|
591
|
-
export interface
|
|
591
|
+
export interface PartnersApiGetPartnerRequest {
|
|
592
592
|
/**
|
|
593
593
|
* Unique identifier for the object.
|
|
594
594
|
* @type {string}
|
|
595
|
-
* @memberof
|
|
595
|
+
* @memberof PartnersApiGetPartner
|
|
596
596
|
*/
|
|
597
597
|
readonly code: string
|
|
598
598
|
|
|
599
599
|
/**
|
|
600
600
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
601
601
|
* @type {string}
|
|
602
|
-
* @memberof
|
|
602
|
+
* @memberof PartnersApiGetPartner
|
|
603
603
|
*/
|
|
604
604
|
readonly authorization?: string
|
|
605
605
|
|
|
606
606
|
/**
|
|
607
607
|
*
|
|
608
608
|
* @type {any}
|
|
609
|
-
* @memberof
|
|
609
|
+
* @memberof PartnersApiGetPartner
|
|
610
610
|
*/
|
|
611
611
|
readonly expand?: any
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
/**
|
|
615
|
-
* Request parameters for listPartners operation in
|
|
615
|
+
* Request parameters for listPartners operation in PartnersApi.
|
|
616
616
|
* @export
|
|
617
|
-
* @interface
|
|
617
|
+
* @interface PartnersApiListPartnersRequest
|
|
618
618
|
*/
|
|
619
|
-
export interface
|
|
619
|
+
export interface PartnersApiListPartnersRequest {
|
|
620
620
|
/**
|
|
621
621
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
622
622
|
* @type {string}
|
|
623
|
-
* @memberof
|
|
623
|
+
* @memberof PartnersApiListPartners
|
|
624
624
|
*/
|
|
625
625
|
readonly authorization?: string
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
628
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
629
629
|
* @type {any}
|
|
630
|
-
* @memberof
|
|
630
|
+
* @memberof PartnersApiListPartners
|
|
631
631
|
*/
|
|
632
632
|
readonly pageSize?: any
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* 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.
|
|
636
636
|
* @type {any}
|
|
637
|
-
* @memberof
|
|
637
|
+
* @memberof PartnersApiListPartners
|
|
638
638
|
*/
|
|
639
639
|
readonly pageToken?: any
|
|
640
640
|
|
|
641
641
|
/**
|
|
642
642
|
* 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>
|
|
643
643
|
* @type {string}
|
|
644
|
-
* @memberof
|
|
644
|
+
* @memberof PartnersApiListPartners
|
|
645
645
|
*/
|
|
646
646
|
readonly filter?: string
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
650
650
|
* @type {any}
|
|
651
|
-
* @memberof
|
|
651
|
+
* @memberof PartnersApiListPartners
|
|
652
652
|
*/
|
|
653
653
|
readonly search?: any
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
656
|
* 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>
|
|
657
657
|
* @type {string}
|
|
658
|
-
* @memberof
|
|
658
|
+
* @memberof PartnersApiListPartners
|
|
659
659
|
*/
|
|
660
660
|
readonly order?: string
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
663
|
* 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>
|
|
664
664
|
* @type {string}
|
|
665
|
-
* @memberof
|
|
665
|
+
* @memberof PartnersApiListPartners
|
|
666
666
|
*/
|
|
667
667
|
readonly expand?: string
|
|
668
668
|
|
|
669
669
|
/**
|
|
670
670
|
* 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>
|
|
671
671
|
* @type {string}
|
|
672
|
-
* @memberof
|
|
672
|
+
* @memberof PartnersApiListPartners
|
|
673
673
|
*/
|
|
674
674
|
readonly filters?: string
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
/**
|
|
678
|
-
* Request parameters for tagPartner operation in
|
|
678
|
+
* Request parameters for tagPartner operation in PartnersApi.
|
|
679
679
|
* @export
|
|
680
|
-
* @interface
|
|
680
|
+
* @interface PartnersApiTagPartnerRequest
|
|
681
681
|
*/
|
|
682
|
-
export interface
|
|
682
|
+
export interface PartnersApiTagPartnerRequest {
|
|
683
683
|
/**
|
|
684
684
|
*
|
|
685
685
|
* @type {string}
|
|
686
|
-
* @memberof
|
|
686
|
+
* @memberof PartnersApiTagPartner
|
|
687
687
|
*/
|
|
688
688
|
readonly code: string
|
|
689
689
|
|
|
690
690
|
/**
|
|
691
691
|
*
|
|
692
692
|
* @type {TagPartnerRequestDtoRest}
|
|
693
|
-
* @memberof
|
|
693
|
+
* @memberof PartnersApiTagPartner
|
|
694
694
|
*/
|
|
695
695
|
readonly tagPartnerRequestDtoRest: TagPartnerRequestDtoRest
|
|
696
696
|
|
|
697
697
|
/**
|
|
698
698
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
699
699
|
* @type {string}
|
|
700
|
-
* @memberof
|
|
700
|
+
* @memberof PartnersApiTagPartner
|
|
701
701
|
*/
|
|
702
702
|
readonly authorization?: string
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
|
-
* Request parameters for updatePartner operation in
|
|
706
|
+
* Request parameters for updatePartner operation in PartnersApi.
|
|
707
707
|
* @export
|
|
708
|
-
* @interface
|
|
708
|
+
* @interface PartnersApiUpdatePartnerRequest
|
|
709
709
|
*/
|
|
710
|
-
export interface
|
|
710
|
+
export interface PartnersApiUpdatePartnerRequest {
|
|
711
711
|
/**
|
|
712
712
|
* Unique identifier for the object.
|
|
713
713
|
* @type {string}
|
|
714
|
-
* @memberof
|
|
714
|
+
* @memberof PartnersApiUpdatePartner
|
|
715
715
|
*/
|
|
716
716
|
readonly code: string
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
*
|
|
720
720
|
* @type {UpdatePartnerRequestDto}
|
|
721
|
-
* @memberof
|
|
721
|
+
* @memberof PartnersApiUpdatePartner
|
|
722
722
|
*/
|
|
723
723
|
readonly updatePartnerRequestDto: UpdatePartnerRequestDto
|
|
724
724
|
|
|
725
725
|
/**
|
|
726
726
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
727
727
|
* @type {string}
|
|
728
|
-
* @memberof
|
|
728
|
+
* @memberof PartnersApiUpdatePartner
|
|
729
729
|
*/
|
|
730
730
|
readonly authorization?: string
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
/**
|
|
734
|
-
*
|
|
734
|
+
* PartnersApi - object-oriented interface
|
|
735
735
|
* @export
|
|
736
|
-
* @class
|
|
736
|
+
* @class PartnersApi
|
|
737
737
|
* @extends {BaseAPI}
|
|
738
738
|
*/
|
|
739
|
-
export class
|
|
739
|
+
export class PartnersApi extends BaseAPI {
|
|
740
740
|
/**
|
|
741
741
|
* This will create a partner.
|
|
742
742
|
* @summary Create the partner
|
|
743
|
-
* @param {
|
|
743
|
+
* @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
|
|
744
744
|
* @param {*} [options] Override http request option.
|
|
745
745
|
* @throws {RequiredError}
|
|
746
|
-
* @memberof
|
|
746
|
+
* @memberof PartnersApi
|
|
747
747
|
*/
|
|
748
|
-
public createPartner(requestParameters:
|
|
749
|
-
return
|
|
748
|
+
public createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig) {
|
|
749
|
+
return PartnersApiFp(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
750
750
|
}
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
753
|
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
754
754
|
* @summary Delete the partner
|
|
755
|
-
* @param {
|
|
755
|
+
* @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
|
|
756
756
|
* @param {*} [options] Override http request option.
|
|
757
757
|
* @throws {RequiredError}
|
|
758
|
-
* @memberof
|
|
758
|
+
* @memberof PartnersApi
|
|
759
759
|
*/
|
|
760
|
-
public deletePartner(requestParameters:
|
|
761
|
-
return
|
|
760
|
+
public deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig) {
|
|
761
|
+
return PartnersApiFp(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
762
762
|
}
|
|
763
763
|
|
|
764
764
|
/**
|
|
765
765
|
* 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.
|
|
766
766
|
* @summary Retrieve the partner
|
|
767
|
-
* @param {
|
|
767
|
+
* @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
|
|
768
768
|
* @param {*} [options] Override http request option.
|
|
769
769
|
* @throws {RequiredError}
|
|
770
|
-
* @memberof
|
|
770
|
+
* @memberof PartnersApi
|
|
771
771
|
*/
|
|
772
|
-
public getPartner(requestParameters:
|
|
773
|
-
return
|
|
772
|
+
public getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig) {
|
|
773
|
+
return PartnersApiFp(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
777
|
* 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.
|
|
778
778
|
* @summary List partners
|
|
779
|
-
* @param {
|
|
779
|
+
* @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
|
|
780
780
|
* @param {*} [options] Override http request option.
|
|
781
781
|
* @throws {RequiredError}
|
|
782
|
-
* @memberof
|
|
782
|
+
* @memberof PartnersApi
|
|
783
783
|
*/
|
|
784
|
-
public listPartners(requestParameters:
|
|
785
|
-
return
|
|
784
|
+
public listPartners(requestParameters: PartnersApiListPartnersRequest = {}, options?: AxiosRequestConfig) {
|
|
785
|
+
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));
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
/**
|
|
789
789
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
790
790
|
* @summary Update the partner
|
|
791
|
-
* @param {
|
|
791
|
+
* @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
|
|
792
792
|
* @param {*} [options] Override http request option.
|
|
793
793
|
* @throws {RequiredError}
|
|
794
|
-
* @memberof
|
|
794
|
+
* @memberof PartnersApi
|
|
795
795
|
*/
|
|
796
|
-
public tagPartner(requestParameters:
|
|
797
|
-
return
|
|
796
|
+
public tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig) {
|
|
797
|
+
return PartnersApiFp(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
/**
|
|
801
801
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
802
802
|
* @summary Update the partner
|
|
803
|
-
* @param {
|
|
803
|
+
* @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
|
|
804
804
|
* @param {*} [options] Override http request option.
|
|
805
805
|
* @throws {RequiredError}
|
|
806
|
-
* @memberof
|
|
806
|
+
* @memberof PartnersApi
|
|
807
807
|
*/
|
|
808
|
-
public updatePartner(requestParameters:
|
|
809
|
-
return
|
|
808
|
+
public updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
|
|
809
|
+
return PartnersApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
810
810
|
}
|
|
811
811
|
}
|
package/api.ts
CHANGED
|
@@ -21,19 +21,19 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { DefaultApi } from './api';
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
24
|
+
import { PartnerInvitationsApi } from './api';
|
|
25
|
+
import { PartnerRelationsApi } from './api';
|
|
26
|
+
import { PartnerTagsApi } from './api';
|
|
27
|
+
import { PartnerTypesApi } from './api';
|
|
28
|
+
import { PartnerVersionsApi } from './api';
|
|
29
|
+
import { PartnersApi } from './api';
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
export * from './api/default-api';
|
|
33
|
-
export * from './api/partner-api';
|
|
34
|
-
export * from './api/partner-
|
|
35
|
-
export * from './api/partner-
|
|
36
|
-
export * from './api/partner-
|
|
37
|
-
export * from './api/partner-
|
|
38
|
-
export * from './api/
|
|
33
|
+
export * from './api/partner-invitations-api';
|
|
34
|
+
export * from './api/partner-relations-api';
|
|
35
|
+
export * from './api/partner-tags-api';
|
|
36
|
+
export * from './api/partner-types-api';
|
|
37
|
+
export * from './api/partner-versions-api';
|
|
38
|
+
export * from './api/partners-api';
|
|
39
39
|
|
|
@@ -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
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* PartnerInvitationsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var PartnerInvitationsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -143,13 +143,13 @@ var PartnerInvitationApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
},
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
-
exports.
|
|
146
|
+
exports.PartnerInvitationsApiAxiosParamCreator = PartnerInvitationsApiAxiosParamCreator;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* PartnerInvitationsApi - functional programming interface
|
|
149
149
|
* @export
|
|
150
150
|
*/
|
|
151
|
-
var
|
|
152
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
151
|
+
var PartnerInvitationsApiFp = function (configuration) {
|
|
152
|
+
var localVarAxiosParamCreator = (0, exports.PartnerInvitationsApiAxiosParamCreator)(configuration);
|
|
153
153
|
return {
|
|
154
154
|
/**
|
|
155
155
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
@@ -174,13 +174,13 @@ var PartnerInvitationApiFp = function (configuration) {
|
|
|
174
174
|
},
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
177
|
+
exports.PartnerInvitationsApiFp = PartnerInvitationsApiFp;
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* PartnerInvitationsApi - factory interface
|
|
180
180
|
* @export
|
|
181
181
|
*/
|
|
182
|
-
var
|
|
183
|
-
var localVarFp = (0, exports.
|
|
182
|
+
var PartnerInvitationsApiFactory = function (configuration, basePath, axios) {
|
|
183
|
+
var localVarFp = (0, exports.PartnerInvitationsApiFp)(configuration);
|
|
184
184
|
return {
|
|
185
185
|
/**
|
|
186
186
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
@@ -195,30 +195,30 @@ var PartnerInvitationApiFactory = function (configuration, basePath, axios) {
|
|
|
195
195
|
},
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
198
|
+
exports.PartnerInvitationsApiFactory = PartnerInvitationsApiFactory;
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* PartnerInvitationsApi - object-oriented interface
|
|
201
201
|
* @export
|
|
202
|
-
* @class
|
|
202
|
+
* @class PartnerInvitationsApi
|
|
203
203
|
* @extends {BaseAPI}
|
|
204
204
|
*/
|
|
205
|
-
var
|
|
206
|
-
__extends(
|
|
207
|
-
function
|
|
205
|
+
var PartnerInvitationsApi = /** @class */ (function (_super) {
|
|
206
|
+
__extends(PartnerInvitationsApi, _super);
|
|
207
|
+
function PartnerInvitationsApi() {
|
|
208
208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
* Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
|
|
212
212
|
* @summary Create the Partner Invitation
|
|
213
|
-
* @param {
|
|
213
|
+
* @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
215
215
|
* @throws {RequiredError}
|
|
216
|
-
* @memberof
|
|
216
|
+
* @memberof PartnerInvitationsApi
|
|
217
217
|
*/
|
|
218
|
-
|
|
218
|
+
PartnerInvitationsApi.prototype.invitePartnerToEIS = function (requestParameters, options) {
|
|
219
219
|
var _this = this;
|
|
220
|
-
return (0, exports.
|
|
220
|
+
return (0, exports.PartnerInvitationsApiFp)(this.configuration).invitePartnerToEIS(requestParameters.invitePartnerToEISRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
221
221
|
};
|
|
222
|
-
return
|
|
222
|
+
return PartnerInvitationsApi;
|
|
223
223
|
}(base_1.BaseAPI));
|
|
224
|
-
exports.
|
|
224
|
+
exports.PartnerInvitationsApi = PartnerInvitationsApi;
|