@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
package/.openapi-generator/FILES
CHANGED
|
@@ -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-
|
|
9
|
-
api/partner-
|
|
10
|
-
api/partner-
|
|
11
|
-
api/partner-
|
|
12
|
-
api/
|
|
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.
|
|
20
|
+
npm install @emilgroup/partner-sdk@1.8.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk@1.
|
|
24
|
+
yarn add @emilgroup/partner-sdk@1.8.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
|
-
*
|
|
28
|
+
* PartnerInvitationsApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
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
|
-
*
|
|
84
|
+
* PartnerInvitationsApi - functional programming interface
|
|
85
85
|
* @export
|
|
86
86
|
*/
|
|
87
|
-
export const
|
|
88
|
-
const localVarAxiosParamCreator =
|
|
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
|
-
*
|
|
106
|
+
* PartnerInvitationsApi - factory interface
|
|
107
107
|
* @export
|
|
108
108
|
*/
|
|
109
|
-
export const
|
|
110
|
-
const localVarFp =
|
|
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
|
|
127
|
+
* Request parameters for invitePartnerToEIS operation in PartnerInvitationsApi.
|
|
128
128
|
* @export
|
|
129
|
-
* @interface
|
|
129
|
+
* @interface PartnerInvitationsApiInvitePartnerToEISRequest
|
|
130
130
|
*/
|
|
131
|
-
export interface
|
|
131
|
+
export interface PartnerInvitationsApiInvitePartnerToEISRequest {
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
134
|
* @type {InvitePartnerToEISRequestDto}
|
|
135
|
-
* @memberof
|
|
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
|
|
142
|
+
* @memberof PartnerInvitationsApiInvitePartnerToEIS
|
|
143
143
|
*/
|
|
144
144
|
readonly authorization?: string
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* PartnerInvitationsApi - object-oriented interface
|
|
149
149
|
* @export
|
|
150
|
-
* @class
|
|
150
|
+
* @class PartnerInvitationsApi
|
|
151
151
|
* @extends {BaseAPI}
|
|
152
152
|
*/
|
|
153
|
-
export class
|
|
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 {
|
|
157
|
+
* @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
|
-
* @memberof
|
|
160
|
+
* @memberof PartnerInvitationsApi
|
|
161
161
|
*/
|
|
162
|
-
public invitePartnerToEIS(requestParameters:
|
|
163
|
-
return
|
|
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
|
-
*
|
|
40
|
+
* PartnerRelationsApi - axios parameter creator
|
|
41
41
|
* @export
|
|
42
42
|
*/
|
|
43
|
-
export const
|
|
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.
|
|
@@ -233,7 +233,7 @@ export const PartnerRelationApiAxiosParamCreator = function (configuration?: Con
|
|
|
233
233
|
* @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>
|
|
234
234
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
235
235
|
* @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>
|
|
236
|
-
* @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/>
|
|
236
|
+
* @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>
|
|
237
237
|
* @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>
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
@@ -431,11 +431,11 @@ export const PartnerRelationApiAxiosParamCreator = function (configuration?: Con
|
|
|
431
431
|
};
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* PartnerRelationsApi - functional programming interface
|
|
435
435
|
* @export
|
|
436
436
|
*/
|
|
437
|
-
export const
|
|
438
|
-
const localVarAxiosParamCreator =
|
|
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.
|
|
@@ -494,7 +494,7 @@ export const PartnerRelationApiFp = function(configuration?: Configuration) {
|
|
|
494
494
|
* @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>
|
|
495
495
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
496
496
|
* @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>
|
|
497
|
-
* @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/>
|
|
497
|
+
* @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>
|
|
498
498
|
* @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>
|
|
499
499
|
* @param {*} [options] Override http request option.
|
|
500
500
|
* @throws {RequiredError}
|
|
@@ -538,11 +538,11 @@ export const PartnerRelationApiFp = function(configuration?: Configuration) {
|
|
|
538
538
|
};
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
-
*
|
|
541
|
+
* PartnerRelationsApi - factory interface
|
|
542
542
|
* @export
|
|
543
543
|
*/
|
|
544
|
-
export const
|
|
545
|
-
const localVarFp =
|
|
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.
|
|
@@ -597,7 +597,7 @@ export const PartnerRelationApiFactory = function (configuration?: Configuration
|
|
|
597
597
|
* @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>
|
|
598
598
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
599
599
|
* @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>
|
|
600
|
-
* @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/>
|
|
600
|
+
* @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>
|
|
601
601
|
* @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>
|
|
602
602
|
* @param {*} [options] Override http request option.
|
|
603
603
|
* @throws {RequiredError}
|
|
@@ -638,331 +638,331 @@ export const PartnerRelationApiFactory = function (configuration?: Configuration
|
|
|
638
638
|
};
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
|
-
* Request parameters for createPartnerRelation operation in
|
|
641
|
+
* Request parameters for createPartnerRelation operation in PartnerRelationsApi.
|
|
642
642
|
* @export
|
|
643
|
-
* @interface
|
|
643
|
+
* @interface PartnerRelationsApiCreatePartnerRelationRequest
|
|
644
644
|
*/
|
|
645
|
-
export interface
|
|
645
|
+
export interface PartnerRelationsApiCreatePartnerRelationRequest {
|
|
646
646
|
/**
|
|
647
647
|
*
|
|
648
648
|
* @type {CreatePartnerRelationRequestDtoRest}
|
|
649
|
-
* @memberof
|
|
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
|
|
656
|
+
* @memberof PartnerRelationsApiCreatePartnerRelation
|
|
657
657
|
*/
|
|
658
658
|
readonly authorization?: string
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
|
-
* Request parameters for deletePartnerRelation operation in
|
|
662
|
+
* Request parameters for deletePartnerRelation operation in PartnerRelationsApi.
|
|
663
663
|
* @export
|
|
664
|
-
* @interface
|
|
664
|
+
* @interface PartnerRelationsApiDeletePartnerRelationRequest
|
|
665
665
|
*/
|
|
666
|
-
export interface
|
|
666
|
+
export interface PartnerRelationsApiDeletePartnerRelationRequest {
|
|
667
667
|
/**
|
|
668
668
|
*
|
|
669
669
|
* @type {number}
|
|
670
|
-
* @memberof
|
|
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
|
|
677
|
+
* @memberof PartnerRelationsApiDeletePartnerRelation
|
|
678
678
|
*/
|
|
679
679
|
readonly authorization?: string
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
|
-
* Request parameters for getPartnerRelation operation in
|
|
683
|
+
* Request parameters for getPartnerRelation operation in PartnerRelationsApi.
|
|
684
684
|
* @export
|
|
685
|
-
* @interface
|
|
685
|
+
* @interface PartnerRelationsApiGetPartnerRelationRequest
|
|
686
686
|
*/
|
|
687
|
-
export interface
|
|
687
|
+
export interface PartnerRelationsApiGetPartnerRelationRequest {
|
|
688
688
|
/**
|
|
689
689
|
* Id of the partner relation
|
|
690
690
|
* @type {number}
|
|
691
|
-
* @memberof
|
|
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
|
|
698
|
+
* @memberof PartnerRelationsApiGetPartnerRelation
|
|
699
699
|
*/
|
|
700
700
|
readonly authorization?: string
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
/**
|
|
704
|
-
* Request parameters for getPartnerRelationType operation in
|
|
704
|
+
* Request parameters for getPartnerRelationType operation in PartnerRelationsApi.
|
|
705
705
|
* @export
|
|
706
|
-
* @interface
|
|
706
|
+
* @interface PartnerRelationsApiGetPartnerRelationTypeRequest
|
|
707
707
|
*/
|
|
708
|
-
export interface
|
|
708
|
+
export interface PartnerRelationsApiGetPartnerRelationTypeRequest {
|
|
709
709
|
/**
|
|
710
710
|
* Identifying slug of the partner relation type
|
|
711
711
|
* @type {string}
|
|
712
|
-
* @memberof
|
|
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
|
|
719
|
+
* @memberof PartnerRelationsApiGetPartnerRelationType
|
|
720
720
|
*/
|
|
721
721
|
readonly authorization?: string
|
|
722
722
|
}
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
|
-
* Request parameters for listPartnerRelationTypes operation in
|
|
725
|
+
* Request parameters for listPartnerRelationTypes operation in PartnerRelationsApi.
|
|
726
726
|
* @export
|
|
727
|
-
* @interface
|
|
727
|
+
* @interface PartnerRelationsApiListPartnerRelationTypesRequest
|
|
728
728
|
*/
|
|
729
|
-
export interface
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
768
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
769
769
|
*/
|
|
770
770
|
readonly order?: string
|
|
771
771
|
|
|
772
772
|
/**
|
|
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/>
|
|
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
|
|
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
|
|
782
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
783
783
|
*/
|
|
784
784
|
readonly filters?: string
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
/**
|
|
788
|
-
* Request parameters for listPartnerRelations operation in
|
|
788
|
+
* Request parameters for listPartnerRelations operation in PartnerRelationsApi.
|
|
789
789
|
* @export
|
|
790
|
-
* @interface
|
|
790
|
+
* @interface PartnerRelationsApiListPartnerRelationsRequest
|
|
791
791
|
*/
|
|
792
|
-
export interface
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
845
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
846
846
|
*/
|
|
847
847
|
readonly filters?: string
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
/**
|
|
851
|
-
* Request parameters for updatePartnerRelation operation in
|
|
851
|
+
* Request parameters for updatePartnerRelation operation in PartnerRelationsApi.
|
|
852
852
|
* @export
|
|
853
|
-
* @interface
|
|
853
|
+
* @interface PartnerRelationsApiUpdatePartnerRelationRequest
|
|
854
854
|
*/
|
|
855
|
-
export interface
|
|
855
|
+
export interface PartnerRelationsApiUpdatePartnerRelationRequest {
|
|
856
856
|
/**
|
|
857
857
|
* Id of the partner relation
|
|
858
858
|
* @type {number}
|
|
859
|
-
* @memberof
|
|
859
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
860
860
|
*/
|
|
861
861
|
readonly id: number
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
*
|
|
865
865
|
* @type {UpdatePartnerRelationRequestDtoRest}
|
|
866
|
-
* @memberof
|
|
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
|
|
873
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
874
874
|
*/
|
|
875
875
|
readonly authorization?: string
|
|
876
876
|
}
|
|
877
877
|
|
|
878
878
|
/**
|
|
879
|
-
*
|
|
879
|
+
* PartnerRelationsApi - object-oriented interface
|
|
880
880
|
* @export
|
|
881
|
-
* @class
|
|
881
|
+
* @class PartnerRelationsApi
|
|
882
882
|
* @extends {BaseAPI}
|
|
883
883
|
*/
|
|
884
|
-
export class
|
|
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 {
|
|
888
|
+
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
889
889
|
* @param {*} [options] Override http request option.
|
|
890
890
|
* @throws {RequiredError}
|
|
891
|
-
* @memberof
|
|
891
|
+
* @memberof PartnerRelationsApi
|
|
892
892
|
*/
|
|
893
|
-
public createPartnerRelation(requestParameters:
|
|
894
|
-
return
|
|
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 {
|
|
900
|
+
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
901
901
|
* @param {*} [options] Override http request option.
|
|
902
902
|
* @throws {RequiredError}
|
|
903
|
-
* @memberof
|
|
903
|
+
* @memberof PartnerRelationsApi
|
|
904
904
|
*/
|
|
905
|
-
public deletePartnerRelation(requestParameters:
|
|
906
|
-
return
|
|
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 {
|
|
912
|
+
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
913
913
|
* @param {*} [options] Override http request option.
|
|
914
914
|
* @throws {RequiredError}
|
|
915
|
-
* @memberof
|
|
915
|
+
* @memberof PartnerRelationsApi
|
|
916
916
|
*/
|
|
917
|
-
public getPartnerRelation(requestParameters:
|
|
918
|
-
return
|
|
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 {
|
|
924
|
+
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
925
925
|
* @param {*} [options] Override http request option.
|
|
926
926
|
* @throws {RequiredError}
|
|
927
|
-
* @memberof
|
|
927
|
+
* @memberof PartnerRelationsApi
|
|
928
928
|
*/
|
|
929
|
-
public getPartnerRelationType(requestParameters:
|
|
930
|
-
return
|
|
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 {
|
|
936
|
+
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
937
937
|
* @param {*} [options] Override http request option.
|
|
938
938
|
* @throws {RequiredError}
|
|
939
|
-
* @memberof
|
|
939
|
+
* @memberof PartnerRelationsApi
|
|
940
940
|
*/
|
|
941
|
-
public listPartnerRelationTypes(requestParameters:
|
|
942
|
-
return
|
|
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 {
|
|
948
|
+
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
949
949
|
* @param {*} [options] Override http request option.
|
|
950
950
|
* @throws {RequiredError}
|
|
951
|
-
* @memberof
|
|
951
|
+
* @memberof PartnerRelationsApi
|
|
952
952
|
*/
|
|
953
|
-
public listPartnerRelations(requestParameters:
|
|
954
|
-
return
|
|
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 {
|
|
960
|
+
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
961
961
|
* @param {*} [options] Override http request option.
|
|
962
962
|
* @throws {RequiredError}
|
|
963
|
-
* @memberof
|
|
963
|
+
* @memberof PartnerRelationsApi
|
|
964
964
|
*/
|
|
965
|
-
public updatePartnerRelation(requestParameters:
|
|
966
|
-
return
|
|
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
|
}
|