@emilgroup/partner-sdk-node 1.0.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.
Files changed (109) hide show
  1. package/.openapi-generator/FILES +41 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/default-api.ts +120 -0
  6. package/api/partner-relations-api.ts +349 -0
  7. package/api/partner-types-api.ts +693 -0
  8. package/api/partner-version-api.ts +375 -0
  9. package/api/partners-api.ts +693 -0
  10. package/api.ts +35 -0
  11. package/base.ts +252 -0
  12. package/common.ts +198 -0
  13. package/configuration.ts +101 -0
  14. package/dist/api/default-api.d.ts +66 -0
  15. package/dist/api/default-api.js +196 -0
  16. package/dist/api/partner-relations-api.d.ts +206 -0
  17. package/dist/api/partner-relations-api.js +352 -0
  18. package/dist/api/partner-types-api.d.ts +394 -0
  19. package/dist/api/partner-types-api.js +642 -0
  20. package/dist/api/partner-version-api.d.ts +224 -0
  21. package/dist/api/partner-version-api.js +363 -0
  22. package/dist/api/partners-api.d.ts +394 -0
  23. package/dist/api/partners-api.js +642 -0
  24. package/dist/api.d.ts +16 -0
  25. package/dist/api.js +34 -0
  26. package/dist/base.d.ts +74 -0
  27. package/dist/base.js +299 -0
  28. package/dist/common.d.ts +91 -0
  29. package/dist/common.js +276 -0
  30. package/dist/configuration.d.ts +83 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +36 -0
  34. package/dist/models/create-partner-request-dto.d.ts +30 -0
  35. package/dist/models/create-partner-request-dto.js +15 -0
  36. package/dist/models/create-partner-response-class.d.ts +25 -0
  37. package/dist/models/create-partner-response-class.js +15 -0
  38. package/dist/models/create-partner-type-request-dto.d.ts +31 -0
  39. package/dist/models/create-partner-type-request-dto.js +15 -0
  40. package/dist/models/create-partner-type-response-class.d.ts +25 -0
  41. package/dist/models/create-partner-type-response-class.js +15 -0
  42. package/dist/models/delete-response-class.d.ts +24 -0
  43. package/dist/models/delete-response-class.js +15 -0
  44. package/dist/models/get-partner-relation-type-class.d.ts +25 -0
  45. package/dist/models/get-partner-relation-type-class.js +15 -0
  46. package/dist/models/get-partner-response-class.d.ts +25 -0
  47. package/dist/models/get-partner-response-class.js +15 -0
  48. package/dist/models/get-partner-type-response-class.d.ts +25 -0
  49. package/dist/models/get-partner-type-response-class.js +15 -0
  50. package/dist/models/get-partner-version-response-class.d.ts +25 -0
  51. package/dist/models/get-partner-version-response-class.js +15 -0
  52. package/dist/models/index.d.ts +23 -0
  53. package/dist/models/index.js +39 -0
  54. package/dist/models/inline-response200.d.ts +54 -0
  55. package/dist/models/inline-response200.js +15 -0
  56. package/dist/models/inline-response503.d.ts +54 -0
  57. package/dist/models/inline-response503.js +15 -0
  58. package/dist/models/list-partner-relation-types-class.d.ts +31 -0
  59. package/dist/models/list-partner-relation-types-class.js +15 -0
  60. package/dist/models/list-partner-types-response-class.d.ts +31 -0
  61. package/dist/models/list-partner-types-response-class.js +15 -0
  62. package/dist/models/list-partner-versions-response-class.d.ts +25 -0
  63. package/dist/models/list-partner-versions-response-class.js +15 -0
  64. package/dist/models/list-partners-response-class.d.ts +31 -0
  65. package/dist/models/list-partners-response-class.js +15 -0
  66. package/dist/models/partner-class.d.ts +79 -0
  67. package/dist/models/partner-class.js +15 -0
  68. package/dist/models/partner-relation-type-class.d.ts +66 -0
  69. package/dist/models/partner-relation-type-class.js +15 -0
  70. package/dist/models/partner-type-class.d.ts +60 -0
  71. package/dist/models/partner-type-class.js +15 -0
  72. package/dist/models/partner-type-custom-schema-dto.d.ts +66 -0
  73. package/dist/models/partner-type-custom-schema-dto.js +15 -0
  74. package/dist/models/update-partner-request-dto.d.ts +24 -0
  75. package/dist/models/update-partner-request-dto.js +15 -0
  76. package/dist/models/update-partner-response-class.d.ts +25 -0
  77. package/dist/models/update-partner-response-class.js +15 -0
  78. package/dist/models/update-partner-type-request-dto.d.ts +31 -0
  79. package/dist/models/update-partner-type-request-dto.js +15 -0
  80. package/dist/models/update-partner-type-response-class.d.ts +25 -0
  81. package/dist/models/update-partner-type-response-class.js +15 -0
  82. package/git_push.sh +57 -0
  83. package/index.ts +19 -0
  84. package/models/create-partner-request-dto.ts +36 -0
  85. package/models/create-partner-response-class.ts +31 -0
  86. package/models/create-partner-type-request-dto.ts +37 -0
  87. package/models/create-partner-type-response-class.ts +31 -0
  88. package/models/delete-response-class.ts +30 -0
  89. package/models/get-partner-relation-type-class.ts +31 -0
  90. package/models/get-partner-response-class.ts +31 -0
  91. package/models/get-partner-type-response-class.ts +31 -0
  92. package/models/get-partner-version-response-class.ts +31 -0
  93. package/models/index.ts +23 -0
  94. package/models/inline-response200.ts +48 -0
  95. package/models/inline-response503.ts +48 -0
  96. package/models/list-partner-relation-types-class.ts +37 -0
  97. package/models/list-partner-types-response-class.ts +37 -0
  98. package/models/list-partner-versions-response-class.ts +31 -0
  99. package/models/list-partners-response-class.ts +37 -0
  100. package/models/partner-class.ts +85 -0
  101. package/models/partner-relation-type-class.ts +72 -0
  102. package/models/partner-type-class.ts +66 -0
  103. package/models/partner-type-custom-schema-dto.ts +72 -0
  104. package/models/update-partner-request-dto.ts +30 -0
  105. package/models/update-partner-response-class.ts +31 -0
  106. package/models/update-partner-type-request-dto.ts +37 -0
  107. package/models/update-partner-type-response-class.ts +31 -0
  108. package/package.json +29 -0
  109. package/tsconfig.json +22 -0
@@ -0,0 +1,394 @@
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 { CreatePartnerTypeRequestDto } from '../models';
16
+ import { CreatePartnerTypeResponseClass } from '../models';
17
+ import { DeleteResponseClass } from '../models';
18
+ import { GetPartnerTypeResponseClass } from '../models';
19
+ import { ListPartnerTypesResponseClass } from '../models';
20
+ import { UpdatePartnerTypeRequestDto } from '../models';
21
+ import { UpdatePartnerTypeResponseClass } from '../models';
22
+ /**
23
+ * PartnerTypesApi - axios parameter creator
24
+ * @export
25
+ */
26
+ export declare const PartnerTypesApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ * This will create a partner type.
29
+ * @summary Create the partner-types
30
+ * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
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
+ createPartnerType: (createPartnerTypeRequestDto: CreatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
38
+ * @summary Delete the partner-types
39
+ * @param {string} code
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
+ deletePartnerType: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
47
+ * @summary Retrieve the partner-types
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 {any} [expand]
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ getPartnerType: (code: string, authorization?: string, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
57
+ * @summary List partner-types
58
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
60
+ * @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.
61
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
62
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
63
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
64
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
65
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ listPartnerTypes: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
+ /**
71
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
72
+ * @summary Update the partner-types
73
+ * @param {string} code Unique identifier for the object.
74
+ * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
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
+ updatePartnerType: (code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
+ };
81
+ /**
82
+ * PartnerTypesApi - functional programming interface
83
+ * @export
84
+ */
85
+ export declare const PartnerTypesApiFp: (configuration?: Configuration) => {
86
+ /**
87
+ * This will create a partner type.
88
+ * @summary Create the partner-types
89
+ * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
90
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ createPartnerType(createPartnerTypeRequestDto: CreatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerTypeResponseClass>>;
95
+ /**
96
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
97
+ * @summary Delete the partner-types
98
+ * @param {string} code
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ deletePartnerType(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
104
+ /**
105
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
106
+ * @summary Retrieve the partner-types
107
+ * @param {string} code Unique identifier for the object.
108
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
109
+ * @param {any} [expand]
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ getPartnerType(code: string, authorization?: string, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerTypeResponseClass>>;
114
+ /**
115
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
116
+ * @summary List partner-types
117
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
118
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
119
+ * @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.
120
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
121
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
122
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
123
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
124
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ listPartnerTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerTypesResponseClass>>;
129
+ /**
130
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
131
+ * @summary Update the partner-types
132
+ * @param {string} code Unique identifier for the object.
133
+ * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
134
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ updatePartnerType(code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerTypeResponseClass>>;
139
+ };
140
+ /**
141
+ * PartnerTypesApi - factory interface
142
+ * @export
143
+ */
144
+ export declare const PartnerTypesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
145
+ /**
146
+ * This will create a partner type.
147
+ * @summary Create the partner-types
148
+ * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
149
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ createPartnerType(createPartnerTypeRequestDto: CreatePartnerTypeRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePartnerTypeResponseClass>;
154
+ /**
155
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
156
+ * @summary Delete the partner-types
157
+ * @param {string} code
158
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ deletePartnerType(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
163
+ /**
164
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
165
+ * @summary Retrieve the partner-types
166
+ * @param {string} code Unique identifier for the object.
167
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
168
+ * @param {any} [expand]
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ getPartnerType(code: string, authorization?: string, expand?: any, options?: any): AxiosPromise<GetPartnerTypeResponseClass>;
173
+ /**
174
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
175
+ * @summary List partner-types
176
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
177
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
178
+ * @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.
179
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
180
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
181
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
182
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
183
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ listPartnerTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPartnerTypesResponseClass>;
188
+ /**
189
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
190
+ * @summary Update the partner-types
191
+ * @param {string} code Unique identifier for the object.
192
+ * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
193
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ updatePartnerType(code: string, updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerTypeResponseClass>;
198
+ };
199
+ /**
200
+ * Request parameters for createPartnerType operation in PartnerTypesApi.
201
+ * @export
202
+ * @interface PartnerTypesApiCreatePartnerTypeRequest
203
+ */
204
+ export interface PartnerTypesApiCreatePartnerTypeRequest {
205
+ /**
206
+ *
207
+ * @type {CreatePartnerTypeRequestDto}
208
+ * @memberof PartnerTypesApiCreatePartnerType
209
+ */
210
+ readonly createPartnerTypeRequestDto: CreatePartnerTypeRequestDto;
211
+ /**
212
+ * Bearer Token: provided by the login endpoint under the name accessToken.
213
+ * @type {string}
214
+ * @memberof PartnerTypesApiCreatePartnerType
215
+ */
216
+ readonly authorization?: string;
217
+ }
218
+ /**
219
+ * Request parameters for deletePartnerType operation in PartnerTypesApi.
220
+ * @export
221
+ * @interface PartnerTypesApiDeletePartnerTypeRequest
222
+ */
223
+ export interface PartnerTypesApiDeletePartnerTypeRequest {
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof PartnerTypesApiDeletePartnerType
228
+ */
229
+ readonly code: string;
230
+ /**
231
+ * Bearer Token: provided by the login endpoint under the name accessToken.
232
+ * @type {string}
233
+ * @memberof PartnerTypesApiDeletePartnerType
234
+ */
235
+ readonly authorization?: string;
236
+ }
237
+ /**
238
+ * Request parameters for getPartnerType operation in PartnerTypesApi.
239
+ * @export
240
+ * @interface PartnerTypesApiGetPartnerTypeRequest
241
+ */
242
+ export interface PartnerTypesApiGetPartnerTypeRequest {
243
+ /**
244
+ * Unique identifier for the object.
245
+ * @type {string}
246
+ * @memberof PartnerTypesApiGetPartnerType
247
+ */
248
+ readonly code: string;
249
+ /**
250
+ * Bearer Token: provided by the login endpoint under the name accessToken.
251
+ * @type {string}
252
+ * @memberof PartnerTypesApiGetPartnerType
253
+ */
254
+ readonly authorization?: string;
255
+ /**
256
+ *
257
+ * @type {any}
258
+ * @memberof PartnerTypesApiGetPartnerType
259
+ */
260
+ readonly expand?: any;
261
+ }
262
+ /**
263
+ * Request parameters for listPartnerTypes operation in PartnerTypesApi.
264
+ * @export
265
+ * @interface PartnerTypesApiListPartnerTypesRequest
266
+ */
267
+ export interface PartnerTypesApiListPartnerTypesRequest {
268
+ /**
269
+ * Bearer Token: provided by the login endpoint under the name accessToken.
270
+ * @type {string}
271
+ * @memberof PartnerTypesApiListPartnerTypes
272
+ */
273
+ readonly authorization?: string;
274
+ /**
275
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
276
+ * @type {any}
277
+ * @memberof PartnerTypesApiListPartnerTypes
278
+ */
279
+ readonly pageSize?: any;
280
+ /**
281
+ * 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.
282
+ * @type {any}
283
+ * @memberof PartnerTypesApiListPartnerTypes
284
+ */
285
+ readonly pageToken?: any;
286
+ /**
287
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
288
+ * @type {any}
289
+ * @memberof PartnerTypesApiListPartnerTypes
290
+ */
291
+ readonly filter?: any;
292
+ /**
293
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
294
+ * @type {any}
295
+ * @memberof PartnerTypesApiListPartnerTypes
296
+ */
297
+ readonly search?: any;
298
+ /**
299
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
300
+ * @type {any}
301
+ * @memberof PartnerTypesApiListPartnerTypes
302
+ */
303
+ readonly order?: any;
304
+ /**
305
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
306
+ * @type {any}
307
+ * @memberof PartnerTypesApiListPartnerTypes
308
+ */
309
+ readonly expand?: any;
310
+ /**
311
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
312
+ * @type {any}
313
+ * @memberof PartnerTypesApiListPartnerTypes
314
+ */
315
+ readonly filters?: any;
316
+ }
317
+ /**
318
+ * Request parameters for updatePartnerType operation in PartnerTypesApi.
319
+ * @export
320
+ * @interface PartnerTypesApiUpdatePartnerTypeRequest
321
+ */
322
+ export interface PartnerTypesApiUpdatePartnerTypeRequest {
323
+ /**
324
+ * Unique identifier for the object.
325
+ * @type {string}
326
+ * @memberof PartnerTypesApiUpdatePartnerType
327
+ */
328
+ readonly code: string;
329
+ /**
330
+ *
331
+ * @type {UpdatePartnerTypeRequestDto}
332
+ * @memberof PartnerTypesApiUpdatePartnerType
333
+ */
334
+ readonly updatePartnerTypeRequestDto: UpdatePartnerTypeRequestDto;
335
+ /**
336
+ * Bearer Token: provided by the login endpoint under the name accessToken.
337
+ * @type {string}
338
+ * @memberof PartnerTypesApiUpdatePartnerType
339
+ */
340
+ readonly authorization?: string;
341
+ }
342
+ /**
343
+ * PartnerTypesApi - object-oriented interface
344
+ * @export
345
+ * @class PartnerTypesApi
346
+ * @extends {BaseAPI}
347
+ */
348
+ export declare class PartnerTypesApi extends BaseAPI {
349
+ /**
350
+ * This will create a partner type.
351
+ * @summary Create the partner-types
352
+ * @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ * @memberof PartnerTypesApi
356
+ */
357
+ createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any>>;
358
+ /**
359
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
360
+ * @summary Delete the partner-types
361
+ * @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ * @memberof PartnerTypesApi
365
+ */
366
+ deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
367
+ /**
368
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
369
+ * @summary Retrieve the partner-types
370
+ * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ * @memberof PartnerTypesApi
374
+ */
375
+ getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any>>;
376
+ /**
377
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
378
+ * @summary List partner-types
379
+ * @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
380
+ * @param {*} [options] Override http request option.
381
+ * @throws {RequiredError}
382
+ * @memberof PartnerTypesApi
383
+ */
384
+ listPartnerTypes(requestParameters?: PartnerTypesApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any>>;
385
+ /**
386
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
387
+ * @summary Update the partner-types
388
+ * @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
389
+ * @param {*} [options] Override http request option.
390
+ * @throws {RequiredError}
391
+ * @memberof PartnerTypesApi
392
+ */
393
+ updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any>>;
394
+ }