@emilgroup/partner-sdk 1.22.1-beta.14 → 1.22.1-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/.openapi-generator/FILES +0 -16
  2. package/README.md +2 -2
  3. package/api.ts +0 -4
  4. package/dist/api.d.ts +0 -2
  5. package/dist/api.js +0 -2
  6. package/dist/models/index.d.ts +0 -14
  7. package/dist/models/index.js +0 -14
  8. package/models/index.ts +0 -14
  9. package/package.json +1 -1
  10. package/api/blacklist-api.ts +0 -662
  11. package/api/blacklist-reasons-api.ts +0 -797
  12. package/dist/api/blacklist-api.d.ts +0 -375
  13. package/dist/api/blacklist-api.js +0 -629
  14. package/dist/api/blacklist-reasons-api.d.ts +0 -450
  15. package/dist/api/blacklist-reasons-api.js +0 -735
  16. package/dist/models/blacklist-item-class.d.ts +0 -78
  17. package/dist/models/blacklist-item-class.js +0 -15
  18. package/dist/models/blacklist-reason-class.d.ts +0 -78
  19. package/dist/models/blacklist-reason-class.js +0 -15
  20. package/dist/models/create-blacklist-item-request-dto.d.ts +0 -36
  21. package/dist/models/create-blacklist-item-request-dto.js +0 -15
  22. package/dist/models/create-blacklist-item-response-class.d.ts +0 -25
  23. package/dist/models/create-blacklist-item-response-class.js +0 -15
  24. package/dist/models/create-blacklist-reason-request-dto.d.ts +0 -36
  25. package/dist/models/create-blacklist-reason-request-dto.js +0 -15
  26. package/dist/models/create-blacklist-reason-response-class.d.ts +0 -25
  27. package/dist/models/create-blacklist-reason-response-class.js +0 -15
  28. package/dist/models/get-blacklist-item-response-class.d.ts +0 -25
  29. package/dist/models/get-blacklist-item-response-class.js +0 -15
  30. package/dist/models/get-blacklist-reason-response-class.d.ts +0 -25
  31. package/dist/models/get-blacklist-reason-response-class.js +0 -15
  32. package/dist/models/is-blacklisted-response-class.d.ts +0 -54
  33. package/dist/models/is-blacklisted-response-class.js +0 -15
  34. package/dist/models/list-blacklist-items-response-class.d.ts +0 -31
  35. package/dist/models/list-blacklist-items-response-class.js +0 -15
  36. package/dist/models/list-blacklist-reasons-response-class.d.ts +0 -43
  37. package/dist/models/list-blacklist-reasons-response-class.js +0 -15
  38. package/dist/models/update-blacklist-reason-request-dto.d.ts +0 -30
  39. package/dist/models/update-blacklist-reason-request-dto.js +0 -15
  40. package/dist/models/update-blacklist-reason-response-class.d.ts +0 -25
  41. package/dist/models/update-blacklist-reason-response-class.js +0 -15
  42. package/dist/models/update-blacklist-reason-status-request-dto.d.ts +0 -24
  43. package/dist/models/update-blacklist-reason-status-request-dto.js +0 -15
  44. package/models/blacklist-item-class.ts +0 -84
  45. package/models/blacklist-reason-class.ts +0 -84
  46. package/models/create-blacklist-item-request-dto.ts +0 -42
  47. package/models/create-blacklist-item-response-class.ts +0 -31
  48. package/models/create-blacklist-reason-request-dto.ts +0 -42
  49. package/models/create-blacklist-reason-response-class.ts +0 -31
  50. package/models/get-blacklist-item-response-class.ts +0 -31
  51. package/models/get-blacklist-reason-response-class.ts +0 -31
  52. package/models/is-blacklisted-response-class.ts +0 -60
  53. package/models/list-blacklist-items-response-class.ts +0 -37
  54. package/models/list-blacklist-reasons-response-class.ts +0 -49
  55. package/models/update-blacklist-reason-request-dto.ts +0 -36
  56. package/models/update-blacklist-reason-response-class.ts +0 -31
  57. package/models/update-blacklist-reason-status-request-dto.ts +0 -30
@@ -1,450 +0,0 @@
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 { CreateBlacklistReasonRequestDto } from '../models';
16
- import { CreateBlacklistReasonResponseClass } from '../models';
17
- import { DeleteResponseClass } from '../models';
18
- import { GetBlacklistReasonResponseClass } from '../models';
19
- import { ListBlacklistReasonsResponseClass } from '../models';
20
- import { UpdateBlacklistReasonRequestDto } from '../models';
21
- import { UpdateBlacklistReasonResponseClass } from '../models';
22
- import { UpdateBlacklistReasonStatusRequestDto } from '../models';
23
- /**
24
- * BlacklistReasonsApi - axios parameter creator
25
- * @export
26
- */
27
- export declare const BlacklistReasonsApiAxiosParamCreator: (configuration?: Configuration) => {
28
- /**
29
- * Create a new blacklist reason. **Required Permissions** \"partner-management.partners.create\"
30
- * @summary Create the blacklist reason
31
- * @param {CreateBlacklistReasonRequestDto} createBlacklistReasonRequestDto
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
- createBlacklistReason: (createBlacklistReasonRequestDto: CreateBlacklistReasonRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
- /**
38
- * Permanently deletes the blacklist reason. Supply the unique code that was returned when you created the blacklist reason and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
39
- * @summary Delete the blacklist reason
40
- * @param {string} code Unique identifier for the object.
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
- deleteBlacklistReason: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
- /**
47
- * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
48
- * @summary Retrieve the blacklist reason
49
- * @param {string} code Unique identifier for the object.
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
- getBlacklistReason: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
- /**
56
- * Returns a list of blacklist-reasons you have previously created. The blacklist-reasons are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
57
- * @summary List blacklist-reasons
58
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
60
- * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
61
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
62
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
63
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, createdAt, updatedAt&lt;/i&gt;
64
- * @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.&lt;br/&gt; &lt;br/&gt;
65
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
66
- * @param {*} [options] Override http request option.
67
- * @throws {RequiredError}
68
- */
69
- listBlacklistReasons: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
- /**
71
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
72
- * @summary Update the blacklist reason
73
- * @param {string} code Unique identifier for the object.
74
- * @param {UpdateBlacklistReasonRequestDto} updateBlacklistReasonRequestDto
75
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- updateBlacklistReason: (code: string, updateBlacklistReasonRequestDto: UpdateBlacklistReasonRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
- /**
81
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
82
- * @summary Update blacklist reason status
83
- * @param {string} code Unique identifier for the object.
84
- * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
85
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
86
- * @param {*} [options] Override http request option.
87
- * @throws {RequiredError}
88
- */
89
- updateBlacklistReasonStatus: (code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
90
- };
91
- /**
92
- * BlacklistReasonsApi - functional programming interface
93
- * @export
94
- */
95
- export declare const BlacklistReasonsApiFp: (configuration?: Configuration) => {
96
- /**
97
- * Create a new blacklist reason. **Required Permissions** \"partner-management.partners.create\"
98
- * @summary Create the blacklist reason
99
- * @param {CreateBlacklistReasonRequestDto} createBlacklistReasonRequestDto
100
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
101
- * @param {*} [options] Override http request option.
102
- * @throws {RequiredError}
103
- */
104
- createBlacklistReason(createBlacklistReasonRequestDto: CreateBlacklistReasonRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBlacklistReasonResponseClass>>;
105
- /**
106
- * Permanently deletes the blacklist reason. Supply the unique code that was returned when you created the blacklist reason and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
107
- * @summary Delete the blacklist reason
108
- * @param {string} code Unique identifier for the object.
109
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
110
- * @param {*} [options] Override http request option.
111
- * @throws {RequiredError}
112
- */
113
- deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
114
- /**
115
- * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
116
- * @summary Retrieve the blacklist reason
117
- * @param {string} code Unique identifier for the object.
118
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
119
- * @param {*} [options] Override http request option.
120
- * @throws {RequiredError}
121
- */
122
- getBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBlacklistReasonResponseClass>>;
123
- /**
124
- * Returns a list of blacklist-reasons you have previously created. The blacklist-reasons are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
125
- * @summary List blacklist-reasons
126
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
128
- * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
129
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
130
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
131
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, createdAt, updatedAt&lt;/i&gt;
132
- * @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.&lt;br/&gt; &lt;br/&gt;
133
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
134
- * @param {*} [options] Override http request option.
135
- * @throws {RequiredError}
136
- */
137
- listBlacklistReasons(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBlacklistReasonsResponseClass>>;
138
- /**
139
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
140
- * @summary Update the blacklist reason
141
- * @param {string} code Unique identifier for the object.
142
- * @param {UpdateBlacklistReasonRequestDto} updateBlacklistReasonRequestDto
143
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
- * @param {*} [options] Override http request option.
145
- * @throws {RequiredError}
146
- */
147
- updateBlacklistReason(code: string, updateBlacklistReasonRequestDto: UpdateBlacklistReasonRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>>;
148
- /**
149
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
150
- * @summary Update blacklist reason status
151
- * @param {string} code Unique identifier for the object.
152
- * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
153
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
- * @param {*} [options] Override http request option.
155
- * @throws {RequiredError}
156
- */
157
- updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>>;
158
- };
159
- /**
160
- * BlacklistReasonsApi - factory interface
161
- * @export
162
- */
163
- export declare const BlacklistReasonsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
164
- /**
165
- * Create a new blacklist reason. **Required Permissions** \"partner-management.partners.create\"
166
- * @summary Create the blacklist reason
167
- * @param {CreateBlacklistReasonRequestDto} createBlacklistReasonRequestDto
168
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
169
- * @param {*} [options] Override http request option.
170
- * @throws {RequiredError}
171
- */
172
- createBlacklistReason(createBlacklistReasonRequestDto: CreateBlacklistReasonRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBlacklistReasonResponseClass>;
173
- /**
174
- * Permanently deletes the blacklist reason. Supply the unique code that was returned when you created the blacklist reason and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
175
- * @summary Delete the blacklist reason
176
- * @param {string} code Unique identifier for the object.
177
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
178
- * @param {*} [options] Override http request option.
179
- * @throws {RequiredError}
180
- */
181
- deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
182
- /**
183
- * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
184
- * @summary Retrieve the blacklist reason
185
- * @param {string} code Unique identifier for the object.
186
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
- * @param {*} [options] Override http request option.
188
- * @throws {RequiredError}
189
- */
190
- getBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<GetBlacklistReasonResponseClass>;
191
- /**
192
- * Returns a list of blacklist-reasons you have previously created. The blacklist-reasons are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
193
- * @summary List blacklist-reasons
194
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
195
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
196
- * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
197
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
198
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
199
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, createdAt, updatedAt&lt;/i&gt;
200
- * @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.&lt;br/&gt; &lt;br/&gt;
201
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
202
- * @param {*} [options] Override http request option.
203
- * @throws {RequiredError}
204
- */
205
- listBlacklistReasons(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBlacklistReasonsResponseClass>;
206
- /**
207
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
208
- * @summary Update the blacklist reason
209
- * @param {string} code Unique identifier for the object.
210
- * @param {UpdateBlacklistReasonRequestDto} updateBlacklistReasonRequestDto
211
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- updateBlacklistReason(code: string, updateBlacklistReasonRequestDto: UpdateBlacklistReasonRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass>;
216
- /**
217
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
218
- * @summary Update blacklist reason status
219
- * @param {string} code Unique identifier for the object.
220
- * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
221
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
222
- * @param {*} [options] Override http request option.
223
- * @throws {RequiredError}
224
- */
225
- updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass>;
226
- };
227
- /**
228
- * Request parameters for createBlacklistReason operation in BlacklistReasonsApi.
229
- * @export
230
- * @interface BlacklistReasonsApiCreateBlacklistReasonRequest
231
- */
232
- export interface BlacklistReasonsApiCreateBlacklistReasonRequest {
233
- /**
234
- *
235
- * @type {CreateBlacklistReasonRequestDto}
236
- * @memberof BlacklistReasonsApiCreateBlacklistReason
237
- */
238
- readonly createBlacklistReasonRequestDto: CreateBlacklistReasonRequestDto;
239
- /**
240
- * Bearer Token: provided by the login endpoint under the name accessToken.
241
- * @type {string}
242
- * @memberof BlacklistReasonsApiCreateBlacklistReason
243
- */
244
- readonly authorization?: string;
245
- }
246
- /**
247
- * Request parameters for deleteBlacklistReason operation in BlacklistReasonsApi.
248
- * @export
249
- * @interface BlacklistReasonsApiDeleteBlacklistReasonRequest
250
- */
251
- export interface BlacklistReasonsApiDeleteBlacklistReasonRequest {
252
- /**
253
- * Unique identifier for the object.
254
- * @type {string}
255
- * @memberof BlacklistReasonsApiDeleteBlacklistReason
256
- */
257
- readonly code: string;
258
- /**
259
- * Bearer Token: provided by the login endpoint under the name accessToken.
260
- * @type {string}
261
- * @memberof BlacklistReasonsApiDeleteBlacklistReason
262
- */
263
- readonly authorization?: string;
264
- }
265
- /**
266
- * Request parameters for getBlacklistReason operation in BlacklistReasonsApi.
267
- * @export
268
- * @interface BlacklistReasonsApiGetBlacklistReasonRequest
269
- */
270
- export interface BlacklistReasonsApiGetBlacklistReasonRequest {
271
- /**
272
- * Unique identifier for the object.
273
- * @type {string}
274
- * @memberof BlacklistReasonsApiGetBlacklistReason
275
- */
276
- readonly code: string;
277
- /**
278
- * Bearer Token: provided by the login endpoint under the name accessToken.
279
- * @type {string}
280
- * @memberof BlacklistReasonsApiGetBlacklistReason
281
- */
282
- readonly authorization?: string;
283
- }
284
- /**
285
- * Request parameters for listBlacklistReasons operation in BlacklistReasonsApi.
286
- * @export
287
- * @interface BlacklistReasonsApiListBlacklistReasonsRequest
288
- */
289
- export interface BlacklistReasonsApiListBlacklistReasonsRequest {
290
- /**
291
- * Bearer Token: provided by the login endpoint under the name accessToken.
292
- * @type {string}
293
- * @memberof BlacklistReasonsApiListBlacklistReasons
294
- */
295
- readonly authorization?: string;
296
- /**
297
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
- * @type {number}
299
- * @memberof BlacklistReasonsApiListBlacklistReasons
300
- */
301
- readonly pageSize?: number;
302
- /**
303
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
304
- * @type {string}
305
- * @memberof BlacklistReasonsApiListBlacklistReasons
306
- */
307
- readonly pageToken?: string;
308
- /**
309
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
310
- * @type {string}
311
- * @memberof BlacklistReasonsApiListBlacklistReasons
312
- */
313
- readonly filter?: string;
314
- /**
315
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
316
- * @type {string}
317
- * @memberof BlacklistReasonsApiListBlacklistReasons
318
- */
319
- readonly search?: string;
320
- /**
321
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, createdAt, updatedAt&lt;/i&gt;
322
- * @type {string}
323
- * @memberof BlacklistReasonsApiListBlacklistReasons
324
- */
325
- readonly order?: string;
326
- /**
327
- * 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.&lt;br/&gt; &lt;br/&gt;
328
- * @type {string}
329
- * @memberof BlacklistReasonsApiListBlacklistReasons
330
- */
331
- readonly expand?: string;
332
- /**
333
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, key, label, isActive, createdAt, updatedAt&lt;/i&gt;
334
- * @type {string}
335
- * @memberof BlacklistReasonsApiListBlacklistReasons
336
- */
337
- readonly filters?: string;
338
- }
339
- /**
340
- * Request parameters for updateBlacklistReason operation in BlacklistReasonsApi.
341
- * @export
342
- * @interface BlacklistReasonsApiUpdateBlacklistReasonRequest
343
- */
344
- export interface BlacklistReasonsApiUpdateBlacklistReasonRequest {
345
- /**
346
- * Unique identifier for the object.
347
- * @type {string}
348
- * @memberof BlacklistReasonsApiUpdateBlacklistReason
349
- */
350
- readonly code: string;
351
- /**
352
- *
353
- * @type {UpdateBlacklistReasonRequestDto}
354
- * @memberof BlacklistReasonsApiUpdateBlacklistReason
355
- */
356
- readonly updateBlacklistReasonRequestDto: UpdateBlacklistReasonRequestDto;
357
- /**
358
- * Bearer Token: provided by the login endpoint under the name accessToken.
359
- * @type {string}
360
- * @memberof BlacklistReasonsApiUpdateBlacklistReason
361
- */
362
- readonly authorization?: string;
363
- }
364
- /**
365
- * Request parameters for updateBlacklistReasonStatus operation in BlacklistReasonsApi.
366
- * @export
367
- * @interface BlacklistReasonsApiUpdateBlacklistReasonStatusRequest
368
- */
369
- export interface BlacklistReasonsApiUpdateBlacklistReasonStatusRequest {
370
- /**
371
- * Unique identifier for the object.
372
- * @type {string}
373
- * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
374
- */
375
- readonly code: string;
376
- /**
377
- *
378
- * @type {UpdateBlacklistReasonStatusRequestDto}
379
- * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
380
- */
381
- readonly updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto;
382
- /**
383
- * Bearer Token: provided by the login endpoint under the name accessToken.
384
- * @type {string}
385
- * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
386
- */
387
- readonly authorization?: string;
388
- }
389
- /**
390
- * BlacklistReasonsApi - object-oriented interface
391
- * @export
392
- * @class BlacklistReasonsApi
393
- * @extends {BaseAPI}
394
- */
395
- export declare class BlacklistReasonsApi extends BaseAPI {
396
- /**
397
- * Create a new blacklist reason. **Required Permissions** \"partner-management.partners.create\"
398
- * @summary Create the blacklist reason
399
- * @param {BlacklistReasonsApiCreateBlacklistReasonRequest} requestParameters Request parameters.
400
- * @param {*} [options] Override http request option.
401
- * @throws {RequiredError}
402
- * @memberof BlacklistReasonsApi
403
- */
404
- createBlacklistReason(requestParameters: BlacklistReasonsApiCreateBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBlacklistReasonResponseClass, any, {}>>;
405
- /**
406
- * Permanently deletes the blacklist reason. Supply the unique code that was returned when you created the blacklist reason and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
407
- * @summary Delete the blacklist reason
408
- * @param {BlacklistReasonsApiDeleteBlacklistReasonRequest} requestParameters Request parameters.
409
- * @param {*} [options] Override http request option.
410
- * @throws {RequiredError}
411
- * @memberof BlacklistReasonsApi
412
- */
413
- deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
414
- /**
415
- * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
416
- * @summary Retrieve the blacklist reason
417
- * @param {BlacklistReasonsApiGetBlacklistReasonRequest} requestParameters Request parameters.
418
- * @param {*} [options] Override http request option.
419
- * @throws {RequiredError}
420
- * @memberof BlacklistReasonsApi
421
- */
422
- getBlacklistReason(requestParameters: BlacklistReasonsApiGetBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBlacklistReasonResponseClass, any, {}>>;
423
- /**
424
- * Returns a list of blacklist-reasons you have previously created. The blacklist-reasons are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
425
- * @summary List blacklist-reasons
426
- * @param {BlacklistReasonsApiListBlacklistReasonsRequest} requestParameters Request parameters.
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- * @memberof BlacklistReasonsApi
430
- */
431
- listBlacklistReasons(requestParameters?: BlacklistReasonsApiListBlacklistReasonsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBlacklistReasonsResponseClass, any, {}>>;
432
- /**
433
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
434
- * @summary Update the blacklist reason
435
- * @param {BlacklistReasonsApiUpdateBlacklistReasonRequest} requestParameters Request parameters.
436
- * @param {*} [options] Override http request option.
437
- * @throws {RequiredError}
438
- * @memberof BlacklistReasonsApi
439
- */
440
- updateBlacklistReason(requestParameters: BlacklistReasonsApiUpdateBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBlacklistReasonResponseClass, any, {}>>;
441
- /**
442
- * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
443
- * @summary Update blacklist reason status
444
- * @param {BlacklistReasonsApiUpdateBlacklistReasonStatusRequest} requestParameters Request parameters.
445
- * @param {*} [options] Override http request option.
446
- * @throws {RequiredError}
447
- * @memberof BlacklistReasonsApi
448
- */
449
- updateBlacklistReasonStatus(requestParameters: BlacklistReasonsApiUpdateBlacklistReasonStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBlacklistReasonResponseClass, any, {}>>;
450
- }