@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.
Files changed (97) hide show
  1. package/.openapi-generator/FILES +21 -1
  2. package/README.md +2 -2
  3. package/api/default-api.ts +8 -4
  4. package/api/partner-relations-api.ts +968 -0
  5. package/api/partner-tags-api.ts +662 -0
  6. package/api/partner-types-api.ts +36 -22
  7. package/api/partner-version-api.ts +375 -0
  8. package/api/partners-api.ts +154 -22
  9. package/api.ts +6 -0
  10. package/base.ts +6 -1
  11. package/dist/api/default-api.d.ts +8 -4
  12. package/dist/api/default-api.js +8 -4
  13. package/dist/api/partner-relations-api.d.ts +550 -0
  14. package/dist/api/partner-relations-api.js +857 -0
  15. package/dist/api/partner-tags-api.d.ts +375 -0
  16. package/dist/api/partner-tags-api.js +629 -0
  17. package/dist/api/partner-types-api.d.ts +28 -19
  18. package/dist/api/partner-types-api.js +26 -20
  19. package/dist/api/partner-version-api.d.ts +224 -0
  20. package/dist/api/partner-version-api.js +363 -0
  21. package/dist/api/partners-api.d.ts +93 -19
  22. package/dist/api/partners-api.js +125 -20
  23. package/dist/api.d.ts +3 -0
  24. package/dist/api.js +3 -0
  25. package/dist/base.d.ts +1 -0
  26. package/dist/base.js +5 -1
  27. package/dist/models/create-partner-relation-request-dto-rest.d.ts +65 -0
  28. package/dist/models/create-partner-relation-request-dto-rest.js +26 -0
  29. package/dist/models/create-partner-relation-response-class.d.ts +25 -0
  30. package/dist/models/create-partner-type-request-dto.d.ts +13 -3
  31. package/dist/models/create-partner-type-request-dto.js +5 -0
  32. package/dist/models/create-tag-request-dto.d.ts +36 -0
  33. package/dist/models/create-tag-request-dto.js +15 -0
  34. package/dist/models/create-tag-response-class.d.ts +25 -0
  35. package/dist/models/create-tag-response-class.js +15 -0
  36. package/dist/models/get-partner-relation-class.d.ts +25 -0
  37. package/dist/models/get-partner-relation-class.js +15 -0
  38. package/dist/models/get-partner-relation-type-class.d.ts +25 -0
  39. package/dist/models/get-partner-relation-type-class.js +15 -0
  40. package/dist/models/get-partner-version-response-class.d.ts +25 -0
  41. package/dist/models/get-partner-version-response-class.js +15 -0
  42. package/dist/models/get-tag-response-class.d.ts +25 -0
  43. package/dist/models/get-tag-response-class.js +15 -0
  44. package/dist/models/index.d.ts +18 -1
  45. package/dist/models/index.js +18 -1
  46. package/dist/models/list-partner-relation-class.d.ts +31 -0
  47. package/dist/models/list-partner-relation-class.js +15 -0
  48. package/dist/models/list-partner-relation-types-class.d.ts +31 -0
  49. package/dist/models/list-partner-relation-types-class.js +15 -0
  50. package/dist/models/list-partner-versions-response-class.d.ts +25 -0
  51. package/dist/models/list-partner-versions-response-class.js +15 -0
  52. package/dist/models/list-tags-response-class.d.ts +31 -0
  53. package/dist/models/list-tags-response-class.js +15 -0
  54. package/dist/models/partner-class.d.ts +18 -0
  55. package/dist/models/partner-relation-class.d.ts +72 -0
  56. package/dist/models/partner-relation-class.js +15 -0
  57. package/dist/models/partner-relation-type-class.d.ts +66 -0
  58. package/dist/models/partner-relation-type-class.js +15 -0
  59. package/dist/models/partner-type-class.d.ts +11 -0
  60. package/dist/models/partner-type-class.js +5 -0
  61. package/dist/models/tag-class.d.ts +54 -0
  62. package/dist/models/tag-class.js +15 -0
  63. package/dist/models/tag-partner-request-dto-rest.d.ts +24 -0
  64. package/dist/models/tag-partner-request-dto-rest.js +15 -0
  65. package/dist/models/update-partner-relation-request-dto-rest.d.ts +36 -0
  66. package/dist/models/update-partner-relation-request-dto-rest.js +15 -0
  67. package/dist/models/update-partner-type-request-dto.d.ts +20 -4
  68. package/dist/models/update-partner-type-request-dto.js +5 -0
  69. package/dist/models/update-tag-response-class.d.ts +25 -0
  70. package/dist/models/update-tag-response-class.js +15 -0
  71. package/models/create-partner-relation-request-dto-rest.ts +74 -0
  72. package/models/create-partner-relation-response-class.ts +31 -0
  73. package/models/create-partner-type-request-dto.ts +16 -3
  74. package/models/create-tag-request-dto.ts +42 -0
  75. package/models/create-tag-response-class.ts +31 -0
  76. package/models/get-partner-relation-class.ts +31 -0
  77. package/models/get-partner-relation-type-class.ts +31 -0
  78. package/models/get-partner-version-response-class.ts +31 -0
  79. package/models/get-tag-response-class.ts +31 -0
  80. package/models/index.ts +18 -1
  81. package/models/list-partner-relation-class.ts +37 -0
  82. package/models/list-partner-relation-types-class.ts +37 -0
  83. package/models/list-partner-versions-response-class.ts +31 -0
  84. package/models/list-tags-response-class.ts +37 -0
  85. package/models/partner-class.ts +18 -0
  86. package/models/partner-relation-class.ts +78 -0
  87. package/models/partner-relation-type-class.ts +72 -0
  88. package/models/partner-type-class.ts +14 -0
  89. package/models/tag-class.ts +60 -0
  90. package/models/tag-partner-request-dto-rest.ts +30 -0
  91. package/models/update-partner-relation-request-dto-rest.ts +42 -0
  92. package/models/update-partner-type-request-dto.ts +23 -4
  93. package/models/update-tag-response-class.ts +31 -0
  94. package/package.json +1 -1
  95. package/dist/models/partner-type-custom-schema-dto.d.ts +0 -66
  96. package/models/partner-type-custom-schema-dto.ts +0 -72
  97. /package/dist/models/{partner-type-custom-schema-dto.js → create-partner-relation-response-class.js} +0 -0
@@ -0,0 +1,375 @@
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 { CreateTagRequestDto } from '../models';
16
+ import { CreateTagResponseClass } from '../models';
17
+ import { DeleteResponseClass } from '../models';
18
+ import { GetTagResponseClass } from '../models';
19
+ import { ListTagsResponseClass } from '../models';
20
+ import { UpdateTagResponseClass } from '../models';
21
+ /**
22
+ * PartnerTagsApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
28
+ * @summary Create the partner tag
29
+ * @param {CreateTagRequestDto} createTagRequestDto
30
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createTag: (createTagRequestDto: CreateTagRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
37
+ * @summary Delete the partner tag
38
+ * @param {string} code
39
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ deleteTag: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
46
+ * @summary Retrieve the partner tag
47
+ * @param {string} code Unique identifier for the object.
48
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ getTag: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
+ * @summary List partner tags
56
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
+ * @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: code, slug, label&lt;/i&gt;
60
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
61
+ * @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: code, slug, label, createdAt, updatedAt&lt;/i&gt;
62
+ * @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; &lt;i&gt;Allowed values: .&lt;i&gt;
63
+ * @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: code, slug, label&lt;/i&gt;
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ listTags: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
70
+ * @summary Update the partner tag
71
+ * @param {string} code
72
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ updateTag: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
+ };
78
+ /**
79
+ * PartnerTagsApi - functional programming interface
80
+ * @export
81
+ */
82
+ export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
83
+ /**
84
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
85
+ * @summary Create the partner tag
86
+ * @param {CreateTagRequestDto} createTagRequestDto
87
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ createTag(createTagRequestDto: CreateTagRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTagResponseClass>>;
92
+ /**
93
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
94
+ * @summary Delete the partner tag
95
+ * @param {string} code
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ deleteTag(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
101
+ /**
102
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
103
+ * @summary Retrieve the partner tag
104
+ * @param {string} code Unique identifier for the object.
105
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getTag(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTagResponseClass>>;
110
+ /**
111
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
+ * @summary List partner tags
113
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
115
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
116
+ * @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: code, slug, label&lt;/i&gt;
117
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
118
+ * @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: code, slug, label, createdAt, updatedAt&lt;/i&gt;
119
+ * @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; &lt;i&gt;Allowed values: .&lt;i&gt;
120
+ * @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: code, slug, label&lt;/i&gt;
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ listTags(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTagsResponseClass>>;
125
+ /**
126
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
127
+ * @summary Update the partner tag
128
+ * @param {string} code
129
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ updateTag(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTagResponseClass>>;
134
+ };
135
+ /**
136
+ * PartnerTagsApi - factory interface
137
+ * @export
138
+ */
139
+ export declare const PartnerTagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
140
+ /**
141
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
142
+ * @summary Create the partner tag
143
+ * @param {CreateTagRequestDto} createTagRequestDto
144
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ createTag(createTagRequestDto: CreateTagRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTagResponseClass>;
149
+ /**
150
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
151
+ * @summary Delete the partner tag
152
+ * @param {string} code
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
+ deleteTag(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
158
+ /**
159
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
160
+ * @summary Retrieve the partner tag
161
+ * @param {string} code Unique identifier for the object.
162
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ getTag(code: string, authorization?: string, options?: any): AxiosPromise<GetTagResponseClass>;
167
+ /**
168
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
169
+ * @summary List partner tags
170
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
171
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
172
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
173
+ * @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: code, slug, label&lt;/i&gt;
174
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
175
+ * @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: code, slug, label, createdAt, updatedAt&lt;/i&gt;
176
+ * @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; &lt;i&gt;Allowed values: .&lt;i&gt;
177
+ * @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: code, slug, label&lt;/i&gt;
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ listTags(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass>;
182
+ /**
183
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
184
+ * @summary Update the partner tag
185
+ * @param {string} code
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
+ updateTag(code: string, authorization?: string, options?: any): AxiosPromise<UpdateTagResponseClass>;
191
+ };
192
+ /**
193
+ * Request parameters for createTag operation in PartnerTagsApi.
194
+ * @export
195
+ * @interface PartnerTagsApiCreateTagRequest
196
+ */
197
+ export interface PartnerTagsApiCreateTagRequest {
198
+ /**
199
+ *
200
+ * @type {CreateTagRequestDto}
201
+ * @memberof PartnerTagsApiCreateTag
202
+ */
203
+ readonly createTagRequestDto: CreateTagRequestDto;
204
+ /**
205
+ * Bearer Token: provided by the login endpoint under the name accessToken.
206
+ * @type {string}
207
+ * @memberof PartnerTagsApiCreateTag
208
+ */
209
+ readonly authorization?: string;
210
+ }
211
+ /**
212
+ * Request parameters for deleteTag operation in PartnerTagsApi.
213
+ * @export
214
+ * @interface PartnerTagsApiDeleteTagRequest
215
+ */
216
+ export interface PartnerTagsApiDeleteTagRequest {
217
+ /**
218
+ *
219
+ * @type {string}
220
+ * @memberof PartnerTagsApiDeleteTag
221
+ */
222
+ readonly code: string;
223
+ /**
224
+ * Bearer Token: provided by the login endpoint under the name accessToken.
225
+ * @type {string}
226
+ * @memberof PartnerTagsApiDeleteTag
227
+ */
228
+ readonly authorization?: string;
229
+ }
230
+ /**
231
+ * Request parameters for getTag operation in PartnerTagsApi.
232
+ * @export
233
+ * @interface PartnerTagsApiGetTagRequest
234
+ */
235
+ export interface PartnerTagsApiGetTagRequest {
236
+ /**
237
+ * Unique identifier for the object.
238
+ * @type {string}
239
+ * @memberof PartnerTagsApiGetTag
240
+ */
241
+ readonly code: string;
242
+ /**
243
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
+ * @type {string}
245
+ * @memberof PartnerTagsApiGetTag
246
+ */
247
+ readonly authorization?: string;
248
+ }
249
+ /**
250
+ * Request parameters for listTags operation in PartnerTagsApi.
251
+ * @export
252
+ * @interface PartnerTagsApiListTagsRequest
253
+ */
254
+ export interface PartnerTagsApiListTagsRequest {
255
+ /**
256
+ * Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @type {string}
258
+ * @memberof PartnerTagsApiListTags
259
+ */
260
+ readonly authorization?: string;
261
+ /**
262
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
263
+ * @type {any}
264
+ * @memberof PartnerTagsApiListTags
265
+ */
266
+ readonly pageSize?: any;
267
+ /**
268
+ * 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.
269
+ * @type {any}
270
+ * @memberof PartnerTagsApiListTags
271
+ */
272
+ readonly pageToken?: any;
273
+ /**
274
+ * 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: code, slug, label&lt;/i&gt;
275
+ * @type {string}
276
+ * @memberof PartnerTagsApiListTags
277
+ */
278
+ readonly filter?: string;
279
+ /**
280
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
281
+ * @type {any}
282
+ * @memberof PartnerTagsApiListTags
283
+ */
284
+ readonly search?: any;
285
+ /**
286
+ * 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: code, slug, label, createdAt, updatedAt&lt;/i&gt;
287
+ * @type {string}
288
+ * @memberof PartnerTagsApiListTags
289
+ */
290
+ readonly order?: string;
291
+ /**
292
+ * 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; &lt;i&gt;Allowed values: .&lt;i&gt;
293
+ * @type {string}
294
+ * @memberof PartnerTagsApiListTags
295
+ */
296
+ readonly expand?: string;
297
+ /**
298
+ * 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: code, slug, label&lt;/i&gt;
299
+ * @type {string}
300
+ * @memberof PartnerTagsApiListTags
301
+ */
302
+ readonly filters?: string;
303
+ }
304
+ /**
305
+ * Request parameters for updateTag operation in PartnerTagsApi.
306
+ * @export
307
+ * @interface PartnerTagsApiUpdateTagRequest
308
+ */
309
+ export interface PartnerTagsApiUpdateTagRequest {
310
+ /**
311
+ *
312
+ * @type {string}
313
+ * @memberof PartnerTagsApiUpdateTag
314
+ */
315
+ readonly code: string;
316
+ /**
317
+ * Bearer Token: provided by the login endpoint under the name accessToken.
318
+ * @type {string}
319
+ * @memberof PartnerTagsApiUpdateTag
320
+ */
321
+ readonly authorization?: string;
322
+ }
323
+ /**
324
+ * PartnerTagsApi - object-oriented interface
325
+ * @export
326
+ * @class PartnerTagsApi
327
+ * @extends {BaseAPI}
328
+ */
329
+ export declare class PartnerTagsApi extends BaseAPI {
330
+ /**
331
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
332
+ * @summary Create the partner tag
333
+ * @param {PartnerTagsApiCreateTagRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof PartnerTagsApi
337
+ */
338
+ createTag(requestParameters: PartnerTagsApiCreateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTagResponseClass, any>>;
339
+ /**
340
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
341
+ * @summary Delete the partner tag
342
+ * @param {PartnerTagsApiDeleteTagRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof PartnerTagsApi
346
+ */
347
+ deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
348
+ /**
349
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
350
+ * @summary Retrieve the partner tag
351
+ * @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof PartnerTagsApi
355
+ */
356
+ getTag(requestParameters: PartnerTagsApiGetTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTagResponseClass, any>>;
357
+ /**
358
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
359
+ * @summary List partner tags
360
+ * @param {PartnerTagsApiListTagsRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof PartnerTagsApi
364
+ */
365
+ listTags(requestParameters?: PartnerTagsApiListTagsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTagsResponseClass, any>>;
366
+ /**
367
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
368
+ * @summary Update the partner tag
369
+ * @param {PartnerTagsApiUpdateTagRequest} requestParameters Request parameters.
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ * @memberof PartnerTagsApi
373
+ */
374
+ updateTag(requestParameters: PartnerTagsApiUpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTagResponseClass, any>>;
375
+ }