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