@emilgroup/partner-sdk 1.7.0 → 1.8.1-beta.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.
Files changed (24) hide show
  1. package/.openapi-generator/FILES +6 -6
  2. package/README.md +2 -2
  3. package/api/{partner-invitation-api.ts → partner-invitations-api.ts} +20 -20
  4. package/api/{partner-relation-api.ts → partner-relations-api.ts} +87 -87
  5. package/api/{partner-tag-api.ts → partner-tags-api.ts} +62 -62
  6. package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
  7. package/api/{partner-version-api.ts → partner-versions-api.ts} +37 -37
  8. package/api/{partner-api.ts → partners-api.ts} +74 -74
  9. package/api.ts +12 -12
  10. package/dist/api/{partner-invitation-api.d.ts → partner-invitations-api.d.ts} +17 -17
  11. package/dist/api/{partner-invitation-api.js → partner-invitations-api.js} +23 -23
  12. package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +78 -78
  13. package/dist/api/{partner-relation-api.js → partner-relations-api.js} +47 -47
  14. package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +55 -55
  15. package/dist/api/{partner-tag-api.js → partner-tags-api.js} +39 -39
  16. package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
  17. package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
  18. package/dist/api/{partner-version-api.d.ts → partner-versions-api.d.ts} +33 -33
  19. package/dist/api/{partner-version-api.js → partner-versions-api.js} +27 -27
  20. package/dist/api/{partner-api.d.ts → partners-api.d.ts} +66 -66
  21. package/dist/api/{partner-api.js → partners-api.js} +43 -43
  22. package/dist/api.d.ts +6 -6
  23. package/dist/api.js +6 -6
  24. package/package.json +1 -1
@@ -4,12 +4,12 @@
4
4
  README.md
5
5
  api.ts
6
6
  api/default-api.ts
7
- api/partner-api.ts
8
- api/partner-invitation-api.ts
9
- api/partner-relation-api.ts
10
- api/partner-tag-api.ts
11
- api/partner-type-api.ts
12
- api/partner-version-api.ts
7
+ api/partner-invitations-api.ts
8
+ api/partner-relations-api.ts
9
+ api/partner-tags-api.ts
10
+ api/partner-types-api.ts
11
+ api/partner-versions-api.ts
12
+ api/partners-api.ts
13
13
  base.ts
14
14
  common.ts
15
15
  configuration.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/partner-sdk@1.7.0 --save
20
+ npm install @emilgroup/partner-sdk@1.8.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk@1.7.0
24
+ yarn add @emilgroup/partner-sdk@1.8.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
@@ -25,10 +25,10 @@ import { InvitePartnerToEISRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { InvitePartnerToEisResponseClass } from '../models';
27
27
  /**
28
- * PartnerInvitationApi - axios parameter creator
28
+ * PartnerInvitationsApi - axios parameter creator
29
29
  * @export
30
30
  */
31
- export const PartnerInvitationApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ export const PartnerInvitationsApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
34
  * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
@@ -81,11 +81,11 @@ export const PartnerInvitationApiAxiosParamCreator = function (configuration?: C
81
81
  };
82
82
 
83
83
  /**
84
- * PartnerInvitationApi - functional programming interface
84
+ * PartnerInvitationsApi - functional programming interface
85
85
  * @export
86
86
  */
87
- export const PartnerInvitationApiFp = function(configuration?: Configuration) {
88
- const localVarAxiosParamCreator = PartnerInvitationApiAxiosParamCreator(configuration)
87
+ export const PartnerInvitationsApiFp = function(configuration?: Configuration) {
88
+ const localVarAxiosParamCreator = PartnerInvitationsApiAxiosParamCreator(configuration)
89
89
  return {
90
90
  /**
91
91
  * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
@@ -103,11 +103,11 @@ export const PartnerInvitationApiFp = function(configuration?: Configuration) {
103
103
  };
104
104
 
105
105
  /**
106
- * PartnerInvitationApi - factory interface
106
+ * PartnerInvitationsApi - factory interface
107
107
  * @export
108
108
  */
109
- export const PartnerInvitationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
110
- const localVarFp = PartnerInvitationApiFp(configuration)
109
+ export const PartnerInvitationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
110
+ const localVarFp = PartnerInvitationsApiFp(configuration)
111
111
  return {
112
112
  /**
113
113
  * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
@@ -124,42 +124,42 @@ export const PartnerInvitationApiFactory = function (configuration?: Configurati
124
124
  };
125
125
 
126
126
  /**
127
- * Request parameters for invitePartnerToEIS operation in PartnerInvitationApi.
127
+ * Request parameters for invitePartnerToEIS operation in PartnerInvitationsApi.
128
128
  * @export
129
- * @interface PartnerInvitationApiInvitePartnerToEISRequest
129
+ * @interface PartnerInvitationsApiInvitePartnerToEISRequest
130
130
  */
131
- export interface PartnerInvitationApiInvitePartnerToEISRequest {
131
+ export interface PartnerInvitationsApiInvitePartnerToEISRequest {
132
132
  /**
133
133
  *
134
134
  * @type {InvitePartnerToEISRequestDto}
135
- * @memberof PartnerInvitationApiInvitePartnerToEIS
135
+ * @memberof PartnerInvitationsApiInvitePartnerToEIS
136
136
  */
137
137
  readonly invitePartnerToEISRequestDto: InvitePartnerToEISRequestDto
138
138
 
139
139
  /**
140
140
  * Bearer Token: provided by the login endpoint under the name accessToken.
141
141
  * @type {string}
142
- * @memberof PartnerInvitationApiInvitePartnerToEIS
142
+ * @memberof PartnerInvitationsApiInvitePartnerToEIS
143
143
  */
144
144
  readonly authorization?: string
145
145
  }
146
146
 
147
147
  /**
148
- * PartnerInvitationApi - object-oriented interface
148
+ * PartnerInvitationsApi - object-oriented interface
149
149
  * @export
150
- * @class PartnerInvitationApi
150
+ * @class PartnerInvitationsApi
151
151
  * @extends {BaseAPI}
152
152
  */
153
- export class PartnerInvitationApi extends BaseAPI {
153
+ export class PartnerInvitationsApi extends BaseAPI {
154
154
  /**
155
155
  * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
156
156
  * @summary Create the Partner Invitation
157
- * @param {PartnerInvitationApiInvitePartnerToEISRequest} requestParameters Request parameters.
157
+ * @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
- * @memberof PartnerInvitationApi
160
+ * @memberof PartnerInvitationsApi
161
161
  */
162
- public invitePartnerToEIS(requestParameters: PartnerInvitationApiInvitePartnerToEISRequest, options?: AxiosRequestConfig) {
163
- return PartnerInvitationApiFp(this.configuration).invitePartnerToEIS(requestParameters.invitePartnerToEISRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
162
+ public invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig) {
163
+ return PartnerInvitationsApiFp(this.configuration).invitePartnerToEIS(requestParameters.invitePartnerToEISRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
164
164
  }
165
165
  }
@@ -37,10 +37,10 @@ import { ListPartnerRelationTypesClass } from '../models';
37
37
  // @ts-ignore
38
38
  import { UpdatePartnerRelationRequestDtoRest } from '../models';
39
39
  /**
40
- * PartnerRelationApi - axios parameter creator
40
+ * PartnerRelationsApi - axios parameter creator
41
41
  * @export
42
42
  */
43
- export const PartnerRelationApiAxiosParamCreator = function (configuration?: Configuration) {
43
+ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
46
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -431,11 +431,11 @@ export const PartnerRelationApiAxiosParamCreator = function (configuration?: Con
431
431
  };
432
432
 
433
433
  /**
434
- * PartnerRelationApi - functional programming interface
434
+ * PartnerRelationsApi - functional programming interface
435
435
  * @export
436
436
  */
437
- export const PartnerRelationApiFp = function(configuration?: Configuration) {
438
- const localVarAxiosParamCreator = PartnerRelationApiAxiosParamCreator(configuration)
437
+ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
438
+ const localVarAxiosParamCreator = PartnerRelationsApiAxiosParamCreator(configuration)
439
439
  return {
440
440
  /**
441
441
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -538,11 +538,11 @@ export const PartnerRelationApiFp = function(configuration?: Configuration) {
538
538
  };
539
539
 
540
540
  /**
541
- * PartnerRelationApi - factory interface
541
+ * PartnerRelationsApi - factory interface
542
542
  * @export
543
543
  */
544
- export const PartnerRelationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
545
- const localVarFp = PartnerRelationApiFp(configuration)
544
+ export const PartnerRelationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
545
+ const localVarFp = PartnerRelationsApiFp(configuration)
546
546
  return {
547
547
  /**
548
548
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -638,331 +638,331 @@ export const PartnerRelationApiFactory = function (configuration?: Configuration
638
638
  };
639
639
 
640
640
  /**
641
- * Request parameters for createPartnerRelation operation in PartnerRelationApi.
641
+ * Request parameters for createPartnerRelation operation in PartnerRelationsApi.
642
642
  * @export
643
- * @interface PartnerRelationApiCreatePartnerRelationRequest
643
+ * @interface PartnerRelationsApiCreatePartnerRelationRequest
644
644
  */
645
- export interface PartnerRelationApiCreatePartnerRelationRequest {
645
+ export interface PartnerRelationsApiCreatePartnerRelationRequest {
646
646
  /**
647
647
  *
648
648
  * @type {CreatePartnerRelationRequestDtoRest}
649
- * @memberof PartnerRelationApiCreatePartnerRelation
649
+ * @memberof PartnerRelationsApiCreatePartnerRelation
650
650
  */
651
651
  readonly createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest
652
652
 
653
653
  /**
654
654
  * Bearer Token: provided by the login endpoint under the name accessToken.
655
655
  * @type {string}
656
- * @memberof PartnerRelationApiCreatePartnerRelation
656
+ * @memberof PartnerRelationsApiCreatePartnerRelation
657
657
  */
658
658
  readonly authorization?: string
659
659
  }
660
660
 
661
661
  /**
662
- * Request parameters for deletePartnerRelation operation in PartnerRelationApi.
662
+ * Request parameters for deletePartnerRelation operation in PartnerRelationsApi.
663
663
  * @export
664
- * @interface PartnerRelationApiDeletePartnerRelationRequest
664
+ * @interface PartnerRelationsApiDeletePartnerRelationRequest
665
665
  */
666
- export interface PartnerRelationApiDeletePartnerRelationRequest {
666
+ export interface PartnerRelationsApiDeletePartnerRelationRequest {
667
667
  /**
668
668
  *
669
669
  * @type {number}
670
- * @memberof PartnerRelationApiDeletePartnerRelation
670
+ * @memberof PartnerRelationsApiDeletePartnerRelation
671
671
  */
672
672
  readonly id: number
673
673
 
674
674
  /**
675
675
  * Bearer Token: provided by the login endpoint under the name accessToken.
676
676
  * @type {string}
677
- * @memberof PartnerRelationApiDeletePartnerRelation
677
+ * @memberof PartnerRelationsApiDeletePartnerRelation
678
678
  */
679
679
  readonly authorization?: string
680
680
  }
681
681
 
682
682
  /**
683
- * Request parameters for getPartnerRelation operation in PartnerRelationApi.
683
+ * Request parameters for getPartnerRelation operation in PartnerRelationsApi.
684
684
  * @export
685
- * @interface PartnerRelationApiGetPartnerRelationRequest
685
+ * @interface PartnerRelationsApiGetPartnerRelationRequest
686
686
  */
687
- export interface PartnerRelationApiGetPartnerRelationRequest {
687
+ export interface PartnerRelationsApiGetPartnerRelationRequest {
688
688
  /**
689
689
  * Id of the partner relation
690
690
  * @type {number}
691
- * @memberof PartnerRelationApiGetPartnerRelation
691
+ * @memberof PartnerRelationsApiGetPartnerRelation
692
692
  */
693
693
  readonly id: number
694
694
 
695
695
  /**
696
696
  * Bearer Token: provided by the login endpoint under the name accessToken.
697
697
  * @type {string}
698
- * @memberof PartnerRelationApiGetPartnerRelation
698
+ * @memberof PartnerRelationsApiGetPartnerRelation
699
699
  */
700
700
  readonly authorization?: string
701
701
  }
702
702
 
703
703
  /**
704
- * Request parameters for getPartnerRelationType operation in PartnerRelationApi.
704
+ * Request parameters for getPartnerRelationType operation in PartnerRelationsApi.
705
705
  * @export
706
- * @interface PartnerRelationApiGetPartnerRelationTypeRequest
706
+ * @interface PartnerRelationsApiGetPartnerRelationTypeRequest
707
707
  */
708
- export interface PartnerRelationApiGetPartnerRelationTypeRequest {
708
+ export interface PartnerRelationsApiGetPartnerRelationTypeRequest {
709
709
  /**
710
710
  * Identifying slug of the partner relation type
711
711
  * @type {string}
712
- * @memberof PartnerRelationApiGetPartnerRelationType
712
+ * @memberof PartnerRelationsApiGetPartnerRelationType
713
713
  */
714
714
  readonly slug: string
715
715
 
716
716
  /**
717
717
  * Bearer Token: provided by the login endpoint under the name accessToken.
718
718
  * @type {string}
719
- * @memberof PartnerRelationApiGetPartnerRelationType
719
+ * @memberof PartnerRelationsApiGetPartnerRelationType
720
720
  */
721
721
  readonly authorization?: string
722
722
  }
723
723
 
724
724
  /**
725
- * Request parameters for listPartnerRelationTypes operation in PartnerRelationApi.
725
+ * Request parameters for listPartnerRelationTypes operation in PartnerRelationsApi.
726
726
  * @export
727
- * @interface PartnerRelationApiListPartnerRelationTypesRequest
727
+ * @interface PartnerRelationsApiListPartnerRelationTypesRequest
728
728
  */
729
- export interface PartnerRelationApiListPartnerRelationTypesRequest {
729
+ export interface PartnerRelationsApiListPartnerRelationTypesRequest {
730
730
  /**
731
731
  * Bearer Token: provided by the login endpoint under the name accessToken.
732
732
  * @type {string}
733
- * @memberof PartnerRelationApiListPartnerRelationTypes
733
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
734
734
  */
735
735
  readonly authorization?: string
736
736
 
737
737
  /**
738
738
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
739
739
  * @type {any}
740
- * @memberof PartnerRelationApiListPartnerRelationTypes
740
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
741
741
  */
742
742
  readonly pageSize?: any
743
743
 
744
744
  /**
745
745
  * 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.
746
746
  * @type {any}
747
- * @memberof PartnerRelationApiListPartnerRelationTypes
747
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
748
748
  */
749
749
  readonly pageToken?: any
750
750
 
751
751
  /**
752
752
  * 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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
753
753
  * @type {string}
754
- * @memberof PartnerRelationApiListPartnerRelationTypes
754
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
755
755
  */
756
756
  readonly filter?: string
757
757
 
758
758
  /**
759
759
  * To search the list by any field, pass search=xxx to fetch the result.
760
760
  * @type {any}
761
- * @memberof PartnerRelationApiListPartnerRelationTypes
761
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
762
762
  */
763
763
  readonly search?: any
764
764
 
765
765
  /**
766
766
  * 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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
767
767
  * @type {string}
768
- * @memberof PartnerRelationApiListPartnerRelationTypes
768
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
769
769
  */
770
770
  readonly order?: string
771
771
 
772
772
  /**
773
773
  * 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: <i>
774
774
  * @type {string}
775
- * @memberof PartnerRelationApiListPartnerRelationTypes
775
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
776
776
  */
777
777
  readonly expand?: string
778
778
 
779
779
  /**
780
780
  * 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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
781
781
  * @type {string}
782
- * @memberof PartnerRelationApiListPartnerRelationTypes
782
+ * @memberof PartnerRelationsApiListPartnerRelationTypes
783
783
  */
784
784
  readonly filters?: string
785
785
  }
786
786
 
787
787
  /**
788
- * Request parameters for listPartnerRelations operation in PartnerRelationApi.
788
+ * Request parameters for listPartnerRelations operation in PartnerRelationsApi.
789
789
  * @export
790
- * @interface PartnerRelationApiListPartnerRelationsRequest
790
+ * @interface PartnerRelationsApiListPartnerRelationsRequest
791
791
  */
792
- export interface PartnerRelationApiListPartnerRelationsRequest {
792
+ export interface PartnerRelationsApiListPartnerRelationsRequest {
793
793
  /**
794
794
  * Bearer Token: provided by the login endpoint under the name accessToken.
795
795
  * @type {string}
796
- * @memberof PartnerRelationApiListPartnerRelations
796
+ * @memberof PartnerRelationsApiListPartnerRelations
797
797
  */
798
798
  readonly authorization?: string
799
799
 
800
800
  /**
801
801
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
802
802
  * @type {any}
803
- * @memberof PartnerRelationApiListPartnerRelations
803
+ * @memberof PartnerRelationsApiListPartnerRelations
804
804
  */
805
805
  readonly pageSize?: any
806
806
 
807
807
  /**
808
808
  * 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.
809
809
  * @type {any}
810
- * @memberof PartnerRelationApiListPartnerRelations
810
+ * @memberof PartnerRelationsApiListPartnerRelations
811
811
  */
812
812
  readonly pageToken?: any
813
813
 
814
814
  /**
815
815
  * 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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
816
816
  * @type {string}
817
- * @memberof PartnerRelationApiListPartnerRelations
817
+ * @memberof PartnerRelationsApiListPartnerRelations
818
818
  */
819
819
  readonly filter?: string
820
820
 
821
821
  /**
822
822
  * To search the list by any field, pass search=xxx to fetch the result.
823
823
  * @type {any}
824
- * @memberof PartnerRelationApiListPartnerRelations
824
+ * @memberof PartnerRelationsApiListPartnerRelations
825
825
  */
826
826
  readonly search?: any
827
827
 
828
828
  /**
829
829
  * 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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
830
830
  * @type {string}
831
- * @memberof PartnerRelationApiListPartnerRelations
831
+ * @memberof PartnerRelationsApiListPartnerRelations
832
832
  */
833
833
  readonly order?: string
834
834
 
835
835
  /**
836
836
  * 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: partnerRelationType<i>
837
837
  * @type {string}
838
- * @memberof PartnerRelationApiListPartnerRelations
838
+ * @memberof PartnerRelationsApiListPartnerRelations
839
839
  */
840
840
  readonly expand?: string
841
841
 
842
842
  /**
843
843
  * 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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
844
844
  * @type {string}
845
- * @memberof PartnerRelationApiListPartnerRelations
845
+ * @memberof PartnerRelationsApiListPartnerRelations
846
846
  */
847
847
  readonly filters?: string
848
848
  }
849
849
 
850
850
  /**
851
- * Request parameters for updatePartnerRelation operation in PartnerRelationApi.
851
+ * Request parameters for updatePartnerRelation operation in PartnerRelationsApi.
852
852
  * @export
853
- * @interface PartnerRelationApiUpdatePartnerRelationRequest
853
+ * @interface PartnerRelationsApiUpdatePartnerRelationRequest
854
854
  */
855
- export interface PartnerRelationApiUpdatePartnerRelationRequest {
855
+ export interface PartnerRelationsApiUpdatePartnerRelationRequest {
856
856
  /**
857
857
  * Id of the partner relation
858
858
  * @type {number}
859
- * @memberof PartnerRelationApiUpdatePartnerRelation
859
+ * @memberof PartnerRelationsApiUpdatePartnerRelation
860
860
  */
861
861
  readonly id: number
862
862
 
863
863
  /**
864
864
  *
865
865
  * @type {UpdatePartnerRelationRequestDtoRest}
866
- * @memberof PartnerRelationApiUpdatePartnerRelation
866
+ * @memberof PartnerRelationsApiUpdatePartnerRelation
867
867
  */
868
868
  readonly updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest
869
869
 
870
870
  /**
871
871
  * Bearer Token: provided by the login endpoint under the name accessToken.
872
872
  * @type {string}
873
- * @memberof PartnerRelationApiUpdatePartnerRelation
873
+ * @memberof PartnerRelationsApiUpdatePartnerRelation
874
874
  */
875
875
  readonly authorization?: string
876
876
  }
877
877
 
878
878
  /**
879
- * PartnerRelationApi - object-oriented interface
879
+ * PartnerRelationsApi - object-oriented interface
880
880
  * @export
881
- * @class PartnerRelationApi
881
+ * @class PartnerRelationsApi
882
882
  * @extends {BaseAPI}
883
883
  */
884
- export class PartnerRelationApi extends BaseAPI {
884
+ export class PartnerRelationsApi extends BaseAPI {
885
885
  /**
886
886
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
887
887
  * @summary Create the partner relation
888
- * @param {PartnerRelationApiCreatePartnerRelationRequest} requestParameters Request parameters.
888
+ * @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
889
889
  * @param {*} [options] Override http request option.
890
890
  * @throws {RequiredError}
891
- * @memberof PartnerRelationApi
891
+ * @memberof PartnerRelationsApi
892
892
  */
893
- public createPartnerRelation(requestParameters: PartnerRelationApiCreatePartnerRelationRequest, options?: AxiosRequestConfig) {
894
- return PartnerRelationApiFp(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
893
+ public createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig) {
894
+ return PartnerRelationsApiFp(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
895
895
  }
896
896
 
897
897
  /**
898
898
  * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
899
899
  * @summary Delete the partner-relation
900
- * @param {PartnerRelationApiDeletePartnerRelationRequest} requestParameters Request parameters.
900
+ * @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
901
901
  * @param {*} [options] Override http request option.
902
902
  * @throws {RequiredError}
903
- * @memberof PartnerRelationApi
903
+ * @memberof PartnerRelationsApi
904
904
  */
905
- public deletePartnerRelation(requestParameters: PartnerRelationApiDeletePartnerRelationRequest, options?: AxiosRequestConfig) {
906
- return PartnerRelationApiFp(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
905
+ public deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig) {
906
+ return PartnerRelationsApiFp(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
907
907
  }
908
908
 
909
909
  /**
910
910
  * Retrieve a single partner relation identified by its id
911
911
  * @summary Retrieve the partner relation
912
- * @param {PartnerRelationApiGetPartnerRelationRequest} requestParameters Request parameters.
912
+ * @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
913
913
  * @param {*} [options] Override http request option.
914
914
  * @throws {RequiredError}
915
- * @memberof PartnerRelationApi
915
+ * @memberof PartnerRelationsApi
916
916
  */
917
- public getPartnerRelation(requestParameters: PartnerRelationApiGetPartnerRelationRequest, options?: AxiosRequestConfig) {
918
- return PartnerRelationApiFp(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
917
+ public getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig) {
918
+ return PartnerRelationsApiFp(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
919
919
  }
920
920
 
921
921
  /**
922
922
  * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
923
923
  * @summary Retrieve the partner relation type
924
- * @param {PartnerRelationApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
924
+ * @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
925
925
  * @param {*} [options] Override http request option.
926
926
  * @throws {RequiredError}
927
- * @memberof PartnerRelationApi
927
+ * @memberof PartnerRelationsApi
928
928
  */
929
- public getPartnerRelationType(requestParameters: PartnerRelationApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig) {
930
- return PartnerRelationApiFp(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
929
+ public getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig) {
930
+ return PartnerRelationsApiFp(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
931
931
  }
932
932
 
933
933
  /**
934
934
  * List all partner relation types - is used to create partner relations
935
935
  * @summary List partner relation types
936
- * @param {PartnerRelationApiListPartnerRelationTypesRequest} requestParameters Request parameters.
936
+ * @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
937
937
  * @param {*} [options] Override http request option.
938
938
  * @throws {RequiredError}
939
- * @memberof PartnerRelationApi
939
+ * @memberof PartnerRelationsApi
940
940
  */
941
- public listPartnerRelationTypes(requestParameters: PartnerRelationApiListPartnerRelationTypesRequest = {}, options?: AxiosRequestConfig) {
942
- return PartnerRelationApiFp(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
941
+ public listPartnerRelationTypes(requestParameters: PartnerRelationsApiListPartnerRelationTypesRequest = {}, options?: AxiosRequestConfig) {
942
+ return PartnerRelationsApiFp(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
943
943
  }
944
944
 
945
945
  /**
946
946
  * List all partner relations
947
947
  * @summary List partner relations
948
- * @param {PartnerRelationApiListPartnerRelationsRequest} requestParameters Request parameters.
948
+ * @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
949
949
  * @param {*} [options] Override http request option.
950
950
  * @throws {RequiredError}
951
- * @memberof PartnerRelationApi
951
+ * @memberof PartnerRelationsApi
952
952
  */
953
- public listPartnerRelations(requestParameters: PartnerRelationApiListPartnerRelationsRequest = {}, options?: AxiosRequestConfig) {
954
- return PartnerRelationApiFp(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
953
+ public listPartnerRelations(requestParameters: PartnerRelationsApiListPartnerRelationsRequest = {}, options?: AxiosRequestConfig) {
954
+ return PartnerRelationsApiFp(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
955
955
  }
956
956
 
957
957
  /**
958
958
  * Update a partner relation identified by its id
959
959
  * @summary Update the partner relation
960
- * @param {PartnerRelationApiUpdatePartnerRelationRequest} requestParameters Request parameters.
960
+ * @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
961
961
  * @param {*} [options] Override http request option.
962
962
  * @throws {RequiredError}
963
- * @memberof PartnerRelationApi
963
+ * @memberof PartnerRelationsApi
964
964
  */
965
- public updatePartnerRelation(requestParameters: PartnerRelationApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig) {
966
- return PartnerRelationApiFp(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
965
+ public updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig) {
966
+ return PartnerRelationsApiFp(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
967
967
  }
968
968
  }