@emilgroup/partner-sdk 1.0.1 → 1.2.1-beta.1
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 +21 -1
- package/README.md +2 -2
- package/api/default-api.ts +8 -4
- package/api/partner-relations-api.ts +968 -0
- package/api/partner-tags-api.ts +662 -0
- package/api/partner-types-api.ts +36 -22
- package/api/partner-version-api.ts +375 -0
- package/api/partners-api.ts +154 -22
- package/api.ts +6 -0
- package/base.ts +6 -1
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/api/partner-relations-api.d.ts +550 -0
- package/dist/api/partner-relations-api.js +857 -0
- package/dist/api/partner-tags-api.d.ts +375 -0
- package/dist/api/partner-tags-api.js +629 -0
- package/dist/api/partner-types-api.d.ts +28 -19
- package/dist/api/partner-types-api.js +26 -20
- package/dist/api/partner-version-api.d.ts +224 -0
- package/dist/api/partner-version-api.js +363 -0
- package/dist/api/partners-api.d.ts +93 -19
- package/dist/api/partners-api.js +125 -20
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +5 -1
- package/dist/models/create-partner-relation-request-dto-rest.d.ts +65 -0
- package/dist/models/create-partner-relation-request-dto-rest.js +26 -0
- package/dist/models/create-partner-relation-response-class.d.ts +25 -0
- package/dist/models/create-partner-type-request-dto.d.ts +13 -3
- package/dist/models/create-partner-type-request-dto.js +5 -0
- package/dist/models/create-tag-request-dto.d.ts +36 -0
- package/dist/models/create-tag-request-dto.js +15 -0
- package/dist/models/create-tag-response-class.d.ts +25 -0
- package/dist/models/create-tag-response-class.js +15 -0
- package/dist/models/get-partner-relation-class.d.ts +25 -0
- package/dist/models/get-partner-relation-class.js +15 -0
- package/dist/models/get-partner-relation-type-class.d.ts +25 -0
- package/dist/models/get-partner-relation-type-class.js +15 -0
- package/dist/models/get-partner-version-response-class.d.ts +25 -0
- package/dist/models/get-partner-version-response-class.js +15 -0
- package/dist/models/get-tag-response-class.d.ts +25 -0
- package/dist/models/get-tag-response-class.js +15 -0
- package/dist/models/index.d.ts +18 -1
- package/dist/models/index.js +18 -1
- package/dist/models/list-partner-relation-class.d.ts +31 -0
- package/dist/models/list-partner-relation-class.js +15 -0
- package/dist/models/list-partner-relation-types-class.d.ts +31 -0
- package/dist/models/list-partner-relation-types-class.js +15 -0
- package/dist/models/list-partner-versions-response-class.d.ts +25 -0
- package/dist/models/list-partner-versions-response-class.js +15 -0
- package/dist/models/list-tags-response-class.d.ts +31 -0
- package/dist/models/list-tags-response-class.js +15 -0
- package/dist/models/partner-class.d.ts +18 -0
- package/dist/models/partner-relation-class.d.ts +72 -0
- package/dist/models/partner-relation-class.js +15 -0
- package/dist/models/partner-relation-type-class.d.ts +66 -0
- package/dist/models/partner-relation-type-class.js +15 -0
- package/dist/models/partner-type-class.d.ts +11 -0
- package/dist/models/partner-type-class.js +5 -0
- package/dist/models/tag-class.d.ts +54 -0
- package/dist/models/tag-class.js +15 -0
- package/dist/models/tag-partner-request-dto-rest.d.ts +24 -0
- package/dist/models/tag-partner-request-dto-rest.js +15 -0
- package/dist/models/update-partner-relation-request-dto-rest.d.ts +36 -0
- package/dist/models/update-partner-relation-request-dto-rest.js +15 -0
- package/dist/models/update-partner-type-request-dto.d.ts +20 -4
- package/dist/models/update-partner-type-request-dto.js +5 -0
- package/dist/models/update-tag-response-class.d.ts +25 -0
- package/dist/models/update-tag-response-class.js +15 -0
- package/models/create-partner-relation-request-dto-rest.ts +74 -0
- package/models/create-partner-relation-response-class.ts +31 -0
- package/models/create-partner-type-request-dto.ts +16 -3
- package/models/create-tag-request-dto.ts +42 -0
- package/models/create-tag-response-class.ts +31 -0
- package/models/get-partner-relation-class.ts +31 -0
- package/models/get-partner-relation-type-class.ts +31 -0
- package/models/get-partner-version-response-class.ts +31 -0
- package/models/get-tag-response-class.ts +31 -0
- package/models/index.ts +18 -1
- package/models/list-partner-relation-class.ts +37 -0
- package/models/list-partner-relation-types-class.ts +37 -0
- package/models/list-partner-versions-response-class.ts +31 -0
- package/models/list-tags-response-class.ts +37 -0
- package/models/partner-class.ts +18 -0
- package/models/partner-relation-class.ts +78 -0
- package/models/partner-relation-type-class.ts +72 -0
- package/models/partner-type-class.ts +14 -0
- package/models/tag-class.ts +60 -0
- package/models/tag-partner-request-dto-rest.ts +30 -0
- package/models/update-partner-relation-request-dto-rest.ts +42 -0
- package/models/update-partner-type-request-dto.ts +23 -4
- package/models/update-tag-response-class.ts +31 -0
- package/package.json +1 -1
- package/dist/models/partner-type-custom-schema-dto.d.ts +0 -66
- package/models/partner-type-custom-schema-dto.ts +0 -72
- /package/dist/models/{partner-type-custom-schema-dto.js → create-partner-relation-response-class.js} +0 -0
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePartnerRelationRequestDtoRest } from '../models';
|
|
16
|
+
import { CreatePartnerRelationResponseClass } from '../models';
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { GetPartnerRelationClass } from '../models';
|
|
19
|
+
import { GetPartnerRelationTypeClass } from '../models';
|
|
20
|
+
import { ListPartnerRelationClass } from '../models';
|
|
21
|
+
import { ListPartnerRelationTypesClass } from '../models';
|
|
22
|
+
import { UpdatePartnerRelationRequestDtoRest } from '../models';
|
|
23
|
+
/**
|
|
24
|
+
* PartnerRelationsApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export declare const PartnerRelationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
+
/**
|
|
29
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
30
|
+
* @summary Create the partner relation
|
|
31
|
+
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
32
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
createPartnerRelation: (createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
39
|
+
* @summary Delete the partner-relation
|
|
40
|
+
* @param {number} id
|
|
41
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
deletePartnerRelation: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve a single partner relation identified by its id
|
|
48
|
+
* @summary Retrieve the partner relation
|
|
49
|
+
* @param {number} id Id of the partner relation
|
|
50
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
getPartnerRelation: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
+
/**
|
|
56
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
57
|
+
* @summary Retrieve the partner relation type
|
|
58
|
+
* @param {string} slug Identifying slug of the partner relation type
|
|
59
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
getPartnerRelationType: (slug: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* List all partner relation types - is used to create partner relations
|
|
66
|
+
* @summary List partner relation types
|
|
67
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
68
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
69
|
+
* @param {any} [pageToken] 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.
|
|
70
|
+
* @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>
|
|
71
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
72
|
+
* @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>
|
|
73
|
+
* @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>
|
|
74
|
+
* @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>
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
listPartnerRelationTypes: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
/**
|
|
80
|
+
* List all partner relations
|
|
81
|
+
* @summary List partner relations
|
|
82
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
83
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
84
|
+
* @param {any} [pageToken] 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.
|
|
85
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
86
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
87
|
+
* @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
88
|
+
* @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: partnerRelationType.<i>
|
|
89
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
listPartnerRelations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
|
+
/**
|
|
95
|
+
* Update a partner relation identified by its id
|
|
96
|
+
* @summary Update the partner relation
|
|
97
|
+
* @param {number} id Id of the partner relation
|
|
98
|
+
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
99
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
updatePartnerRelation: (id: number, updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* PartnerRelationsApi - functional programming interface
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export declare const PartnerRelationsApiFp: (configuration?: Configuration) => {
|
|
110
|
+
/**
|
|
111
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
112
|
+
* @summary Create the partner relation
|
|
113
|
+
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
114
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
createPartnerRelation(createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerRelationResponseClass>>;
|
|
119
|
+
/**
|
|
120
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
121
|
+
* @summary Delete the partner-relation
|
|
122
|
+
* @param {number} id
|
|
123
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
deletePartnerRelation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
128
|
+
/**
|
|
129
|
+
* Retrieve a single partner relation identified by its id
|
|
130
|
+
* @summary Retrieve the partner relation
|
|
131
|
+
* @param {number} id Id of the partner relation
|
|
132
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
getPartnerRelation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRelationClass>>;
|
|
137
|
+
/**
|
|
138
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
139
|
+
* @summary Retrieve the partner relation type
|
|
140
|
+
* @param {string} slug Identifying slug of the partner relation type
|
|
141
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
getPartnerRelationType(slug: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRelationTypeClass>>;
|
|
146
|
+
/**
|
|
147
|
+
* List all partner relation types - is used to create partner relations
|
|
148
|
+
* @summary List partner relation types
|
|
149
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
151
|
+
* @param {any} [pageToken] 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.
|
|
152
|
+
* @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>
|
|
153
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
154
|
+
* @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>
|
|
155
|
+
* @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>
|
|
156
|
+
* @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>
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
listPartnerRelationTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerRelationTypesClass>>;
|
|
161
|
+
/**
|
|
162
|
+
* List all partner relations
|
|
163
|
+
* @summary List partner relations
|
|
164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
166
|
+
* @param {any} [pageToken] 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.
|
|
167
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
168
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
169
|
+
* @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
170
|
+
* @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: partnerRelationType.<i>
|
|
171
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
listPartnerRelations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerRelationClass>>;
|
|
176
|
+
/**
|
|
177
|
+
* Update a partner relation identified by its id
|
|
178
|
+
* @summary Update the partner relation
|
|
179
|
+
* @param {number} id Id of the partner relation
|
|
180
|
+
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
181
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
updatePartnerRelation(id: number, updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRelationClass>>;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* PartnerRelationsApi - factory interface
|
|
189
|
+
* @export
|
|
190
|
+
*/
|
|
191
|
+
export declare const PartnerRelationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
192
|
+
/**
|
|
193
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
194
|
+
* @summary Create the partner relation
|
|
195
|
+
* @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
|
|
196
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
createPartnerRelation(createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest, authorization?: string, options?: any): AxiosPromise<CreatePartnerRelationResponseClass>;
|
|
201
|
+
/**
|
|
202
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
203
|
+
* @summary Delete the partner-relation
|
|
204
|
+
* @param {number} id
|
|
205
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
deletePartnerRelation(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
210
|
+
/**
|
|
211
|
+
* Retrieve a single partner relation identified by its id
|
|
212
|
+
* @summary Retrieve the partner relation
|
|
213
|
+
* @param {number} id Id of the partner relation
|
|
214
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
getPartnerRelation(id: number, authorization?: string, options?: any): AxiosPromise<GetPartnerRelationClass>;
|
|
219
|
+
/**
|
|
220
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
221
|
+
* @summary Retrieve the partner relation type
|
|
222
|
+
* @param {string} slug Identifying slug of the partner relation type
|
|
223
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
getPartnerRelationType(slug: string, authorization?: string, options?: any): AxiosPromise<GetPartnerRelationTypeClass>;
|
|
228
|
+
/**
|
|
229
|
+
* List all partner relation types - is used to create partner relations
|
|
230
|
+
* @summary List partner relation types
|
|
231
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
233
|
+
* @param {any} [pageToken] 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.
|
|
234
|
+
* @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>
|
|
235
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
236
|
+
* @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>
|
|
237
|
+
* @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>
|
|
238
|
+
* @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>
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
listPartnerRelationTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerRelationTypesClass>;
|
|
243
|
+
/**
|
|
244
|
+
* List all partner relations
|
|
245
|
+
* @summary List partner relations
|
|
246
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
248
|
+
* @param {any} [pageToken] 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.
|
|
249
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
250
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
251
|
+
* @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
252
|
+
* @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: partnerRelationType.<i>
|
|
253
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
*/
|
|
257
|
+
listPartnerRelations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerRelationClass>;
|
|
258
|
+
/**
|
|
259
|
+
* Update a partner relation identified by its id
|
|
260
|
+
* @summary Update the partner relation
|
|
261
|
+
* @param {number} id Id of the partner relation
|
|
262
|
+
* @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
|
|
263
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
updatePartnerRelation(id: number, updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetPartnerRelationClass>;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Request parameters for createPartnerRelation operation in PartnerRelationsApi.
|
|
271
|
+
* @export
|
|
272
|
+
* @interface PartnerRelationsApiCreatePartnerRelationRequest
|
|
273
|
+
*/
|
|
274
|
+
export interface PartnerRelationsApiCreatePartnerRelationRequest {
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @type {CreatePartnerRelationRequestDtoRest}
|
|
278
|
+
* @memberof PartnerRelationsApiCreatePartnerRelation
|
|
279
|
+
*/
|
|
280
|
+
readonly createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest;
|
|
281
|
+
/**
|
|
282
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof PartnerRelationsApiCreatePartnerRelation
|
|
285
|
+
*/
|
|
286
|
+
readonly authorization?: string;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Request parameters for deletePartnerRelation operation in PartnerRelationsApi.
|
|
290
|
+
* @export
|
|
291
|
+
* @interface PartnerRelationsApiDeletePartnerRelationRequest
|
|
292
|
+
*/
|
|
293
|
+
export interface PartnerRelationsApiDeletePartnerRelationRequest {
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {number}
|
|
297
|
+
* @memberof PartnerRelationsApiDeletePartnerRelation
|
|
298
|
+
*/
|
|
299
|
+
readonly id: number;
|
|
300
|
+
/**
|
|
301
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof PartnerRelationsApiDeletePartnerRelation
|
|
304
|
+
*/
|
|
305
|
+
readonly authorization?: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Request parameters for getPartnerRelation operation in PartnerRelationsApi.
|
|
309
|
+
* @export
|
|
310
|
+
* @interface PartnerRelationsApiGetPartnerRelationRequest
|
|
311
|
+
*/
|
|
312
|
+
export interface PartnerRelationsApiGetPartnerRelationRequest {
|
|
313
|
+
/**
|
|
314
|
+
* Id of the partner relation
|
|
315
|
+
* @type {number}
|
|
316
|
+
* @memberof PartnerRelationsApiGetPartnerRelation
|
|
317
|
+
*/
|
|
318
|
+
readonly id: number;
|
|
319
|
+
/**
|
|
320
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof PartnerRelationsApiGetPartnerRelation
|
|
323
|
+
*/
|
|
324
|
+
readonly authorization?: string;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Request parameters for getPartnerRelationType operation in PartnerRelationsApi.
|
|
328
|
+
* @export
|
|
329
|
+
* @interface PartnerRelationsApiGetPartnerRelationTypeRequest
|
|
330
|
+
*/
|
|
331
|
+
export interface PartnerRelationsApiGetPartnerRelationTypeRequest {
|
|
332
|
+
/**
|
|
333
|
+
* Identifying slug of the partner relation type
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof PartnerRelationsApiGetPartnerRelationType
|
|
336
|
+
*/
|
|
337
|
+
readonly slug: string;
|
|
338
|
+
/**
|
|
339
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof PartnerRelationsApiGetPartnerRelationType
|
|
342
|
+
*/
|
|
343
|
+
readonly authorization?: string;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Request parameters for listPartnerRelationTypes operation in PartnerRelationsApi.
|
|
347
|
+
* @export
|
|
348
|
+
* @interface PartnerRelationsApiListPartnerRelationTypesRequest
|
|
349
|
+
*/
|
|
350
|
+
export interface PartnerRelationsApiListPartnerRelationTypesRequest {
|
|
351
|
+
/**
|
|
352
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
353
|
+
* @type {string}
|
|
354
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
355
|
+
*/
|
|
356
|
+
readonly authorization?: string;
|
|
357
|
+
/**
|
|
358
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
359
|
+
* @type {any}
|
|
360
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
361
|
+
*/
|
|
362
|
+
readonly pageSize?: any;
|
|
363
|
+
/**
|
|
364
|
+
* 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.
|
|
365
|
+
* @type {any}
|
|
366
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
367
|
+
*/
|
|
368
|
+
readonly pageToken?: any;
|
|
369
|
+
/**
|
|
370
|
+
* 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>
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
373
|
+
*/
|
|
374
|
+
readonly filter?: string;
|
|
375
|
+
/**
|
|
376
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
377
|
+
* @type {any}
|
|
378
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
379
|
+
*/
|
|
380
|
+
readonly search?: any;
|
|
381
|
+
/**
|
|
382
|
+
* 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>
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
385
|
+
*/
|
|
386
|
+
readonly order?: string;
|
|
387
|
+
/**
|
|
388
|
+
* 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>
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
391
|
+
*/
|
|
392
|
+
readonly expand?: string;
|
|
393
|
+
/**
|
|
394
|
+
* 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>
|
|
395
|
+
* @type {string}
|
|
396
|
+
* @memberof PartnerRelationsApiListPartnerRelationTypes
|
|
397
|
+
*/
|
|
398
|
+
readonly filters?: string;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Request parameters for listPartnerRelations operation in PartnerRelationsApi.
|
|
402
|
+
* @export
|
|
403
|
+
* @interface PartnerRelationsApiListPartnerRelationsRequest
|
|
404
|
+
*/
|
|
405
|
+
export interface PartnerRelationsApiListPartnerRelationsRequest {
|
|
406
|
+
/**
|
|
407
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
408
|
+
* @type {string}
|
|
409
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
410
|
+
*/
|
|
411
|
+
readonly authorization?: string;
|
|
412
|
+
/**
|
|
413
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
414
|
+
* @type {any}
|
|
415
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
416
|
+
*/
|
|
417
|
+
readonly pageSize?: any;
|
|
418
|
+
/**
|
|
419
|
+
* 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.
|
|
420
|
+
* @type {any}
|
|
421
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
422
|
+
*/
|
|
423
|
+
readonly pageToken?: any;
|
|
424
|
+
/**
|
|
425
|
+
* 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>
|
|
426
|
+
* @type {string}
|
|
427
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
428
|
+
*/
|
|
429
|
+
readonly filter?: string;
|
|
430
|
+
/**
|
|
431
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
432
|
+
* @type {any}
|
|
433
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
434
|
+
*/
|
|
435
|
+
readonly search?: any;
|
|
436
|
+
/**
|
|
437
|
+
* 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>
|
|
438
|
+
* @type {string}
|
|
439
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
440
|
+
*/
|
|
441
|
+
readonly order?: string;
|
|
442
|
+
/**
|
|
443
|
+
* 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>
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
446
|
+
*/
|
|
447
|
+
readonly expand?: string;
|
|
448
|
+
/**
|
|
449
|
+
* 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>
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof PartnerRelationsApiListPartnerRelations
|
|
452
|
+
*/
|
|
453
|
+
readonly filters?: string;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Request parameters for updatePartnerRelation operation in PartnerRelationsApi.
|
|
457
|
+
* @export
|
|
458
|
+
* @interface PartnerRelationsApiUpdatePartnerRelationRequest
|
|
459
|
+
*/
|
|
460
|
+
export interface PartnerRelationsApiUpdatePartnerRelationRequest {
|
|
461
|
+
/**
|
|
462
|
+
* Id of the partner relation
|
|
463
|
+
* @type {number}
|
|
464
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
465
|
+
*/
|
|
466
|
+
readonly id: number;
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @type {UpdatePartnerRelationRequestDtoRest}
|
|
470
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
471
|
+
*/
|
|
472
|
+
readonly updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest;
|
|
473
|
+
/**
|
|
474
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
475
|
+
* @type {string}
|
|
476
|
+
* @memberof PartnerRelationsApiUpdatePartnerRelation
|
|
477
|
+
*/
|
|
478
|
+
readonly authorization?: string;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* PartnerRelationsApi - object-oriented interface
|
|
482
|
+
* @export
|
|
483
|
+
* @class PartnerRelationsApi
|
|
484
|
+
* @extends {BaseAPI}
|
|
485
|
+
*/
|
|
486
|
+
export declare class PartnerRelationsApi extends BaseAPI {
|
|
487
|
+
/**
|
|
488
|
+
* This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
|
|
489
|
+
* @summary Create the partner relation
|
|
490
|
+
* @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
* @memberof PartnerRelationsApi
|
|
494
|
+
*/
|
|
495
|
+
createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any>>;
|
|
496
|
+
/**
|
|
497
|
+
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
|
|
498
|
+
* @summary Delete the partner-relation
|
|
499
|
+
* @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
* @memberof PartnerRelationsApi
|
|
503
|
+
*/
|
|
504
|
+
deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
505
|
+
/**
|
|
506
|
+
* Retrieve a single partner relation identified by its id
|
|
507
|
+
* @summary Retrieve the partner relation
|
|
508
|
+
* @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
* @memberof PartnerRelationsApi
|
|
512
|
+
*/
|
|
513
|
+
getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
514
|
+
/**
|
|
515
|
+
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations
|
|
516
|
+
* @summary Retrieve the partner relation type
|
|
517
|
+
* @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
* @memberof PartnerRelationsApi
|
|
521
|
+
*/
|
|
522
|
+
getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any>>;
|
|
523
|
+
/**
|
|
524
|
+
* List all partner relation types - is used to create partner relations
|
|
525
|
+
* @summary List partner relation types
|
|
526
|
+
* @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
* @memberof PartnerRelationsApi
|
|
530
|
+
*/
|
|
531
|
+
listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any>>;
|
|
532
|
+
/**
|
|
533
|
+
* List all partner relations
|
|
534
|
+
* @summary List partner relations
|
|
535
|
+
* @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
* @memberof PartnerRelationsApi
|
|
539
|
+
*/
|
|
540
|
+
listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any>>;
|
|
541
|
+
/**
|
|
542
|
+
* Update a partner relation identified by its id
|
|
543
|
+
* @summary Update the partner relation
|
|
544
|
+
* @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
|
|
545
|
+
* @param {*} [options] Override http request option.
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
* @memberof PartnerRelationsApi
|
|
548
|
+
*/
|
|
549
|
+
updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
550
|
+
}
|