@emilgroup/insurance-sdk-node 1.49.1 → 1.49.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +18 -8
- package/README.md +2 -2
- package/api/partner-links-api.ts +800 -0
- package/api/partner-roles-api.ts +683 -0
- package/api/policies-api.ts +13 -13
- package/api.ts +4 -2
- package/dist/api/partner-links-api.d.ts +450 -0
- package/dist/api/partner-links-api.js +738 -0
- package/dist/api/partner-roles-api.d.ts +385 -0
- package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +136 -136
- package/dist/api/policies-api.d.ts +13 -13
- package/dist/api/policies-api.js +6 -6
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/create-account-request-dto.d.ts +1 -1
- package/dist/models/create-account-request-dto.js +1 -1
- package/dist/models/create-lead-request-dto.d.ts +12 -0
- package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +5 -5
- package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
- package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-link-response-class.d.ts} +7 -7
- package/dist/models/{create-policy-partner-role-response-class.d.ts → get-partner-role-response-class.d.ts} +7 -7
- package/dist/models/index.d.ts +16 -7
- package/dist/models/index.js +16 -7
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/link-partner-request-dto.d.ts +54 -0
- package/dist/models/link-partner-response-class.d.ts +25 -0
- package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-partner-links-response-class.d.ts} +8 -8
- package/dist/models/list-partner-roles-response-class.d.ts +31 -0
- package/dist/models/list-partner-roles-response-class.js +15 -0
- package/dist/models/partner-class.d.ts +60 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +86 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +9 -9
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/policy-class.d.ts +7 -0
- package/dist/models/unlink-partner-response-class.d.ts +25 -0
- package/dist/models/unlink-partner-response-class.js +15 -0
- package/dist/models/update-partner-link-request-dto.d.ts +30 -0
- package/dist/models/update-partner-link-request-dto.js +15 -0
- package/dist/models/update-partner-link-response-class.d.ts +25 -0
- package/dist/models/update-partner-link-response-class.js +15 -0
- package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +5 -5
- package/dist/models/update-partner-role-request-dto.js +15 -0
- package/dist/models/update-partner-role-response-class.d.ts +25 -0
- package/dist/models/update-partner-role-response-class.js +15 -0
- package/models/create-account-request-dto.ts +1 -1
- package/models/create-lead-request-dto.ts +12 -0
- package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +5 -5
- package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
- package/models/{create-policy-partner-role-response-class.ts → get-partner-link-response-class.ts} +7 -7
- package/models/{update-policy-partner-role-response-class.ts → get-partner-role-response-class.ts} +7 -7
- package/models/index.ts +16 -7
- package/models/lead-class.ts +7 -0
- package/models/link-partner-request-dto.ts +60 -0
- package/models/link-partner-response-class.ts +31 -0
- package/models/{list-policy-partner-roles-response-class.ts → list-partner-links-response-class.ts} +8 -8
- package/models/list-partner-roles-response-class.ts +37 -0
- package/models/partner-class.ts +66 -0
- package/models/partner-link-class.ts +92 -0
- package/models/{policy-partner-role-class.ts → partner-role-class.ts} +9 -9
- package/models/policy-class.ts +7 -0
- package/models/unlink-partner-response-class.ts +31 -0
- package/models/update-partner-link-request-dto.ts +36 -0
- package/models/update-partner-link-response-class.ts +31 -0
- package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +5 -5
- package/models/update-partner-role-response-class.ts +31 -0
- package/package.json +1 -1
- package/api/policy-partner-roles-api.ts +0 -683
- package/dist/api/policy-partner-roles-api.d.ts +0 -385
- /package/dist/models/{create-policy-partner-role-request-dto.js → create-partner-role-request-dto.js} +0 -0
- /package/dist/models/{create-policy-partner-role-response-class.js → create-partner-role-response-class.js} +0 -0
- /package/dist/models/{get-policy-partner-role-response-class.js → get-partner-link-response-class.js} +0 -0
- /package/dist/models/{list-policy-partner-roles-response-class.js → get-partner-role-response-class.js} +0 -0
- /package/dist/models/{policy-partner-role-class.js → link-partner-request-dto.js} +0 -0
- /package/dist/models/{update-policy-partner-role-request-dto.js → link-partner-response-class.js} +0 -0
- /package/dist/models/{update-policy-partner-role-response-class.js → list-partner-links-response-class.js} +0 -0
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { CreatePartnerRoleRequestDto } from '../models';
|
|
16
|
+
import { CreatePartnerRoleResponseClass } from '../models';
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { GetPartnerRoleResponseClass } from '../models';
|
|
19
|
+
import { ListPartnerRolesResponseClass } from '../models';
|
|
20
|
+
import { UpdatePartnerRoleRequestDto } from '../models';
|
|
21
|
+
import { UpdatePartnerRoleResponseClass } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* PartnerRolesApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const PartnerRolesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* This will create a partner role.
|
|
29
|
+
* @summary Create the partner role
|
|
30
|
+
* @param {CreatePartnerRoleRequestDto} createPartnerRoleRequestDto
|
|
31
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
createPartnerRole: (createPartnerRoleRequestDto: CreatePartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
* Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
|
|
38
|
+
* @summary Delete the partner role
|
|
39
|
+
* @param {string} code Unique identifier for the object.
|
|
40
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
deletePartnerRole: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
|
|
47
|
+
* @summary Retrieve the partner role
|
|
48
|
+
* @param {string} code Unique identifier for the object.
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
getPartnerRole: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
56
|
+
* @summary List partner roles
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {number} [pageSize] Page size.
|
|
59
|
+
* @param {string} [pageToken] Page token.
|
|
60
|
+
* @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: name, productSlug</i>
|
|
61
|
+
* @param {string} [search] Search query.
|
|
62
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
|
|
63
|
+
* @param {string} [expand] This entity has no expand parameters
|
|
64
|
+
* @param {string} [filters]
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
listPartnerRole: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
71
|
+
* @summary Update the partner role
|
|
72
|
+
* @param {string} code Unique identifier for the object.
|
|
73
|
+
* @param {UpdatePartnerRoleRequestDto} updatePartnerRoleRequestDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
updatePartnerRole: (code: string, updatePartnerRoleRequestDto: UpdatePartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* PartnerRolesApi - functional programming interface
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const PartnerRolesApiFp: (configuration?: Configuration) => {
|
|
85
|
+
/**
|
|
86
|
+
* This will create a partner role.
|
|
87
|
+
* @summary Create the partner role
|
|
88
|
+
* @param {CreatePartnerRoleRequestDto} createPartnerRoleRequestDto
|
|
89
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
createPartnerRole(createPartnerRoleRequestDto: CreatePartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerRoleResponseClass>>;
|
|
94
|
+
/**
|
|
95
|
+
* Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
|
|
96
|
+
* @summary Delete the partner role
|
|
97
|
+
* @param {string} code Unique identifier for the object.
|
|
98
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
deletePartnerRole(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
|
|
105
|
+
* @summary Retrieve the partner role
|
|
106
|
+
* @param {string} code Unique identifier for the object.
|
|
107
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
getPartnerRole(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerRoleResponseClass>>;
|
|
112
|
+
/**
|
|
113
|
+
* Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
114
|
+
* @summary List partner roles
|
|
115
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
|
+
* @param {number} [pageSize] Page size.
|
|
117
|
+
* @param {string} [pageToken] Page token.
|
|
118
|
+
* @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: name, productSlug</i>
|
|
119
|
+
* @param {string} [search] Search query.
|
|
120
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
|
|
121
|
+
* @param {string} [expand] This entity has no expand parameters
|
|
122
|
+
* @param {string} [filters]
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
listPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerRolesResponseClass>>;
|
|
127
|
+
/**
|
|
128
|
+
* Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
129
|
+
* @summary Update the partner role
|
|
130
|
+
* @param {string} code Unique identifier for the object.
|
|
131
|
+
* @param {UpdatePartnerRoleRequestDto} updatePartnerRoleRequestDto
|
|
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
|
+
updatePartnerRole(code: string, updatePartnerRoleRequestDto: UpdatePartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerRoleResponseClass>>;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* PartnerRolesApi - factory interface
|
|
140
|
+
* @export
|
|
141
|
+
*/
|
|
142
|
+
export declare const PartnerRolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
143
|
+
/**
|
|
144
|
+
* This will create a partner role.
|
|
145
|
+
* @summary Create the partner role
|
|
146
|
+
* @param {CreatePartnerRoleRequestDto} createPartnerRoleRequestDto
|
|
147
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
createPartnerRole(createPartnerRoleRequestDto: CreatePartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePartnerRoleResponseClass>;
|
|
152
|
+
/**
|
|
153
|
+
* Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
|
|
154
|
+
* @summary Delete the partner role
|
|
155
|
+
* @param {string} code Unique identifier for the object.
|
|
156
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
deletePartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
161
|
+
/**
|
|
162
|
+
* Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
|
|
163
|
+
* @summary Retrieve the partner role
|
|
164
|
+
* @param {string} code Unique identifier for the object.
|
|
165
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
getPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<GetPartnerRoleResponseClass>;
|
|
170
|
+
/**
|
|
171
|
+
* Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
172
|
+
* @summary List partner roles
|
|
173
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
174
|
+
* @param {number} [pageSize] Page size.
|
|
175
|
+
* @param {string} [pageToken] Page token.
|
|
176
|
+
* @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: name, productSlug</i>
|
|
177
|
+
* @param {string} [search] Search query.
|
|
178
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
|
|
179
|
+
* @param {string} [expand] This entity has no expand parameters
|
|
180
|
+
* @param {string} [filters]
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
listPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerRolesResponseClass>;
|
|
185
|
+
/**
|
|
186
|
+
* Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
187
|
+
* @summary Update the partner role
|
|
188
|
+
* @param {string} code Unique identifier for the object.
|
|
189
|
+
* @param {UpdatePartnerRoleRequestDto} updatePartnerRoleRequestDto
|
|
190
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
updatePartnerRole(code: string, updatePartnerRoleRequestDto: UpdatePartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerRoleResponseClass>;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Request parameters for createPartnerRole operation in PartnerRolesApi.
|
|
198
|
+
* @export
|
|
199
|
+
* @interface PartnerRolesApiCreatePartnerRoleRequest
|
|
200
|
+
*/
|
|
201
|
+
export interface PartnerRolesApiCreatePartnerRoleRequest {
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {CreatePartnerRoleRequestDto}
|
|
205
|
+
* @memberof PartnerRolesApiCreatePartnerRole
|
|
206
|
+
*/
|
|
207
|
+
readonly createPartnerRoleRequestDto: CreatePartnerRoleRequestDto;
|
|
208
|
+
/**
|
|
209
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof PartnerRolesApiCreatePartnerRole
|
|
212
|
+
*/
|
|
213
|
+
readonly authorization?: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Request parameters for deletePartnerRole operation in PartnerRolesApi.
|
|
217
|
+
* @export
|
|
218
|
+
* @interface PartnerRolesApiDeletePartnerRoleRequest
|
|
219
|
+
*/
|
|
220
|
+
export interface PartnerRolesApiDeletePartnerRoleRequest {
|
|
221
|
+
/**
|
|
222
|
+
* Unique identifier for the object.
|
|
223
|
+
* @type {string}
|
|
224
|
+
* @memberof PartnerRolesApiDeletePartnerRole
|
|
225
|
+
*/
|
|
226
|
+
readonly code: string;
|
|
227
|
+
/**
|
|
228
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof PartnerRolesApiDeletePartnerRole
|
|
231
|
+
*/
|
|
232
|
+
readonly authorization?: string;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Request parameters for getPartnerRole operation in PartnerRolesApi.
|
|
236
|
+
* @export
|
|
237
|
+
* @interface PartnerRolesApiGetPartnerRoleRequest
|
|
238
|
+
*/
|
|
239
|
+
export interface PartnerRolesApiGetPartnerRoleRequest {
|
|
240
|
+
/**
|
|
241
|
+
* Unique identifier for the object.
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof PartnerRolesApiGetPartnerRole
|
|
244
|
+
*/
|
|
245
|
+
readonly code: string;
|
|
246
|
+
/**
|
|
247
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof PartnerRolesApiGetPartnerRole
|
|
250
|
+
*/
|
|
251
|
+
readonly authorization?: string;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Request parameters for listPartnerRole operation in PartnerRolesApi.
|
|
255
|
+
* @export
|
|
256
|
+
* @interface PartnerRolesApiListPartnerRoleRequest
|
|
257
|
+
*/
|
|
258
|
+
export interface PartnerRolesApiListPartnerRoleRequest {
|
|
259
|
+
/**
|
|
260
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
263
|
+
*/
|
|
264
|
+
readonly authorization?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Page size.
|
|
267
|
+
* @type {number}
|
|
268
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
269
|
+
*/
|
|
270
|
+
readonly pageSize?: number;
|
|
271
|
+
/**
|
|
272
|
+
* Page token.
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
275
|
+
*/
|
|
276
|
+
readonly pageToken?: string;
|
|
277
|
+
/**
|
|
278
|
+
* 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: name, productSlug</i>
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
281
|
+
*/
|
|
282
|
+
readonly filter?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Search query.
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
287
|
+
*/
|
|
288
|
+
readonly search?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
293
|
+
*/
|
|
294
|
+
readonly order?: string;
|
|
295
|
+
/**
|
|
296
|
+
* This entity has no expand parameters
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
299
|
+
*/
|
|
300
|
+
readonly expand?: string;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof PartnerRolesApiListPartnerRole
|
|
305
|
+
*/
|
|
306
|
+
readonly filters?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Request parameters for updatePartnerRole operation in PartnerRolesApi.
|
|
310
|
+
* @export
|
|
311
|
+
* @interface PartnerRolesApiUpdatePartnerRoleRequest
|
|
312
|
+
*/
|
|
313
|
+
export interface PartnerRolesApiUpdatePartnerRoleRequest {
|
|
314
|
+
/**
|
|
315
|
+
* Unique identifier for the object.
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof PartnerRolesApiUpdatePartnerRole
|
|
318
|
+
*/
|
|
319
|
+
readonly code: string;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {UpdatePartnerRoleRequestDto}
|
|
323
|
+
* @memberof PartnerRolesApiUpdatePartnerRole
|
|
324
|
+
*/
|
|
325
|
+
readonly updatePartnerRoleRequestDto: UpdatePartnerRoleRequestDto;
|
|
326
|
+
/**
|
|
327
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof PartnerRolesApiUpdatePartnerRole
|
|
330
|
+
*/
|
|
331
|
+
readonly authorization?: string;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* PartnerRolesApi - object-oriented interface
|
|
335
|
+
* @export
|
|
336
|
+
* @class PartnerRolesApi
|
|
337
|
+
* @extends {BaseAPI}
|
|
338
|
+
*/
|
|
339
|
+
export declare class PartnerRolesApi extends BaseAPI {
|
|
340
|
+
/**
|
|
341
|
+
* This will create a partner role.
|
|
342
|
+
* @summary Create the partner role
|
|
343
|
+
* @param {PartnerRolesApiCreatePartnerRoleRequest} requestParameters Request parameters.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
* @memberof PartnerRolesApi
|
|
347
|
+
*/
|
|
348
|
+
createPartnerRole(requestParameters: PartnerRolesApiCreatePartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRoleResponseClass, any>>;
|
|
349
|
+
/**
|
|
350
|
+
* Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
|
|
351
|
+
* @summary Delete the partner role
|
|
352
|
+
* @param {PartnerRolesApiDeletePartnerRoleRequest} requestParameters Request parameters.
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
* @memberof PartnerRolesApi
|
|
356
|
+
*/
|
|
357
|
+
deletePartnerRole(requestParameters: PartnerRolesApiDeletePartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
358
|
+
/**
|
|
359
|
+
* Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
|
|
360
|
+
* @summary Retrieve the partner role
|
|
361
|
+
* @param {PartnerRolesApiGetPartnerRoleRequest} requestParameters Request parameters.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
* @memberof PartnerRolesApi
|
|
365
|
+
*/
|
|
366
|
+
getPartnerRole(requestParameters: PartnerRolesApiGetPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRoleResponseClass, any>>;
|
|
367
|
+
/**
|
|
368
|
+
* Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
369
|
+
* @summary List partner roles
|
|
370
|
+
* @param {PartnerRolesApiListPartnerRoleRequest} requestParameters Request parameters.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof PartnerRolesApi
|
|
374
|
+
*/
|
|
375
|
+
listPartnerRole(requestParameters?: PartnerRolesApiListPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRolesResponseClass, any>>;
|
|
376
|
+
/**
|
|
377
|
+
* Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
378
|
+
* @summary Update the partner role
|
|
379
|
+
* @param {PartnerRolesApiUpdatePartnerRoleRequest} requestParameters Request parameters.
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof PartnerRolesApi
|
|
383
|
+
*/
|
|
384
|
+
updatePartnerRole(requestParameters: PartnerRolesApiUpdatePartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerRoleResponseClass, any>>;
|
|
385
|
+
}
|