@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,375 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { GetPartnerVersionResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { ListPartnerVersionsResponseClass } from '../models';
27
+ /**
28
+ * PartnerVersionApi - axios parameter creator
29
+ * @export
30
+ */
31
+ export const PartnerVersionApiAxiosParamCreator = function (configuration?: Configuration) {
32
+ return {
33
+ /**
34
+ * Retrieve a partner version by providing partner code and version number
35
+ * @summary Retrieve the partner version
36
+ * @param {string} code Unique identifier for the object.
37
+ * @param {number} version
38
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ getPartnerVersion: async (code: string, version: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ // verify required parameter 'code' is not null or undefined
44
+ assertParamExists('getPartnerVersion', 'code', code)
45
+ // verify required parameter 'version' is not null or undefined
46
+ assertParamExists('getPartnerVersion', 'version', version)
47
+ const localVarPath = `/partnerservice/v1/partners/{code}/versions/{version}`
48
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)))
49
+ .replace(`{${"version"}}`, encodeURIComponent(String(version)));
50
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52
+ let baseOptions;
53
+ let baseAccessToken;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ baseAccessToken = configuration.accessToken;
57
+ }
58
+
59
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
60
+ const localVarHeaderParameter = {} as any;
61
+ const localVarQueryParameter = {} as any;
62
+
63
+ // authentication bearer required
64
+ // http bearer authentication required
65
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
66
+
67
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
68
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
69
+ }
70
+
71
+
72
+
73
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
74
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
76
+
77
+ return {
78
+ url: toPathString(localVarUrlObj),
79
+ options: localVarRequestOptions,
80
+ };
81
+ },
82
+ /**
83
+ * List all partner versions by providing partner code
84
+ * @summary List partner versions
85
+ * @param {string} code
86
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
88
+ * @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.
89
+ * @param {any} [filter] Filter the response by one or multiple fields&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
90
+ * @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.
91
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: displayName, createdAt, updatedAt, version&lt;/i&gt;
92
+ * @param {'partnerType'} [expand] Allowed expands for the partner version
93
+ * @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.
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ listPartnerVersion: async (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partnerType', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
98
+ // verify required parameter 'code' is not null or undefined
99
+ assertParamExists('listPartnerVersion', 'code', code)
100
+ const localVarPath = `/partnerservice/v1/partners/{code}/versions`
101
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104
+ let baseOptions;
105
+ let baseAccessToken;
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ baseAccessToken = configuration.accessToken;
109
+ }
110
+
111
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
112
+ const localVarHeaderParameter = {} as any;
113
+ const localVarQueryParameter = {} as any;
114
+
115
+ // authentication bearer required
116
+ // http bearer authentication required
117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
118
+
119
+ if (pageSize !== undefined) {
120
+ localVarQueryParameter['pageSize'] = pageSize;
121
+ }
122
+
123
+ if (pageToken !== undefined) {
124
+ localVarQueryParameter['pageToken'] = pageToken;
125
+ }
126
+
127
+ if (filter !== undefined) {
128
+ localVarQueryParameter['filter'] = filter;
129
+ }
130
+
131
+ if (search !== undefined) {
132
+ localVarQueryParameter['search'] = search;
133
+ }
134
+
135
+ if (order !== undefined) {
136
+ localVarQueryParameter['order'] = order;
137
+ }
138
+
139
+ if (expand !== undefined) {
140
+ localVarQueryParameter['expand'] = expand;
141
+ }
142
+
143
+ if (filters !== undefined) {
144
+ localVarQueryParameter['filters'] = filters;
145
+ }
146
+
147
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
148
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
149
+ }
150
+
151
+
152
+
153
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
155
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
156
+
157
+ return {
158
+ url: toPathString(localVarUrlObj),
159
+ options: localVarRequestOptions,
160
+ };
161
+ },
162
+ }
163
+ };
164
+
165
+ /**
166
+ * PartnerVersionApi - functional programming interface
167
+ * @export
168
+ */
169
+ export const PartnerVersionApiFp = function(configuration?: Configuration) {
170
+ const localVarAxiosParamCreator = PartnerVersionApiAxiosParamCreator(configuration)
171
+ return {
172
+ /**
173
+ * Retrieve a partner version by providing partner code and version number
174
+ * @summary Retrieve the partner version
175
+ * @param {string} code Unique identifier for the object.
176
+ * @param {number} version
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
+ async getPartnerVersion(code: string, version: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerVersionResponseClass>> {
182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPartnerVersion(code, version, authorization, options);
183
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
184
+ },
185
+ /**
186
+ * List all partner versions by providing partner code
187
+ * @summary List partner versions
188
+ * @param {string} code
189
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
191
+ * @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.
192
+ * @param {any} [filter] Filter the response by one or multiple fields&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
193
+ * @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.
194
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: displayName, createdAt, updatedAt, version&lt;/i&gt;
195
+ * @param {'partnerType'} [expand] Allowed expands for the partner version
196
+ * @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.
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ */
200
+ async listPartnerVersion(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partnerType', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerVersionsResponseClass>> {
201
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPartnerVersion(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
202
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
203
+ },
204
+ }
205
+ };
206
+
207
+ /**
208
+ * PartnerVersionApi - factory interface
209
+ * @export
210
+ */
211
+ export const PartnerVersionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
212
+ const localVarFp = PartnerVersionApiFp(configuration)
213
+ return {
214
+ /**
215
+ * Retrieve a partner version by providing partner code and version number
216
+ * @summary Retrieve the partner version
217
+ * @param {string} code Unique identifier for the object.
218
+ * @param {number} version
219
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ */
223
+ getPartnerVersion(code: string, version: number, authorization?: string, options?: any): AxiosPromise<GetPartnerVersionResponseClass> {
224
+ return localVarFp.getPartnerVersion(code, version, authorization, options).then((request) => request(axios, basePath));
225
+ },
226
+ /**
227
+ * List all partner versions by providing partner code
228
+ * @summary List partner versions
229
+ * @param {string} code
230
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
231
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
232
+ * @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.
233
+ * @param {any} [filter] Filter the response by one or multiple fields&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
234
+ * @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.
235
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: displayName, createdAt, updatedAt, version&lt;/i&gt;
236
+ * @param {'partnerType'} [expand] Allowed expands for the partner version
237
+ * @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.
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ listPartnerVersion(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partnerType', filters?: any, options?: any): AxiosPromise<ListPartnerVersionsResponseClass> {
242
+ return localVarFp.listPartnerVersion(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
243
+ },
244
+ };
245
+ };
246
+
247
+ /**
248
+ * Request parameters for getPartnerVersion operation in PartnerVersionApi.
249
+ * @export
250
+ * @interface PartnerVersionApiGetPartnerVersionRequest
251
+ */
252
+ export interface PartnerVersionApiGetPartnerVersionRequest {
253
+ /**
254
+ * Unique identifier for the object.
255
+ * @type {string}
256
+ * @memberof PartnerVersionApiGetPartnerVersion
257
+ */
258
+ readonly code: string
259
+
260
+ /**
261
+ *
262
+ * @type {number}
263
+ * @memberof PartnerVersionApiGetPartnerVersion
264
+ */
265
+ readonly version: number
266
+
267
+ /**
268
+ * Bearer Token: provided by the login endpoint under the name accessToken.
269
+ * @type {string}
270
+ * @memberof PartnerVersionApiGetPartnerVersion
271
+ */
272
+ readonly authorization?: string
273
+ }
274
+
275
+ /**
276
+ * Request parameters for listPartnerVersion operation in PartnerVersionApi.
277
+ * @export
278
+ * @interface PartnerVersionApiListPartnerVersionRequest
279
+ */
280
+ export interface PartnerVersionApiListPartnerVersionRequest {
281
+ /**
282
+ *
283
+ * @type {string}
284
+ * @memberof PartnerVersionApiListPartnerVersion
285
+ */
286
+ readonly code: string
287
+
288
+ /**
289
+ * Bearer Token: provided by the login endpoint under the name accessToken.
290
+ * @type {string}
291
+ * @memberof PartnerVersionApiListPartnerVersion
292
+ */
293
+ readonly authorization?: string
294
+
295
+ /**
296
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
297
+ * @type {any}
298
+ * @memberof PartnerVersionApiListPartnerVersion
299
+ */
300
+ readonly pageSize?: any
301
+
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 {any}
305
+ * @memberof PartnerVersionApiListPartnerVersion
306
+ */
307
+ readonly pageToken?: any
308
+
309
+ /**
310
+ * Filter the response by one or multiple fields&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
311
+ * @type {any}
312
+ * @memberof PartnerVersionApiListPartnerVersion
313
+ */
314
+ readonly filter?: any
315
+
316
+ /**
317
+ * 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.
318
+ * @type {any}
319
+ * @memberof PartnerVersionApiListPartnerVersion
320
+ */
321
+ readonly search?: any
322
+
323
+ /**
324
+ * Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: displayName, createdAt, updatedAt, version&lt;/i&gt;
325
+ * @type {any}
326
+ * @memberof PartnerVersionApiListPartnerVersion
327
+ */
328
+ readonly order?: any
329
+
330
+ /**
331
+ * Allowed expands for the partner version
332
+ * @type {'partnerType'}
333
+ * @memberof PartnerVersionApiListPartnerVersion
334
+ */
335
+ readonly expand?: 'partnerType'
336
+
337
+ /**
338
+ * 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.
339
+ * @type {any}
340
+ * @memberof PartnerVersionApiListPartnerVersion
341
+ */
342
+ readonly filters?: any
343
+ }
344
+
345
+ /**
346
+ * PartnerVersionApi - object-oriented interface
347
+ * @export
348
+ * @class PartnerVersionApi
349
+ * @extends {BaseAPI}
350
+ */
351
+ export class PartnerVersionApi extends BaseAPI {
352
+ /**
353
+ * Retrieve a partner version by providing partner code and version number
354
+ * @summary Retrieve the partner version
355
+ * @param {PartnerVersionApiGetPartnerVersionRequest} requestParameters Request parameters.
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ * @memberof PartnerVersionApi
359
+ */
360
+ public getPartnerVersion(requestParameters: PartnerVersionApiGetPartnerVersionRequest, options?: AxiosRequestConfig) {
361
+ return PartnerVersionApiFp(this.configuration).getPartnerVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
362
+ }
363
+
364
+ /**
365
+ * List all partner versions by providing partner code
366
+ * @summary List partner versions
367
+ * @param {PartnerVersionApiListPartnerVersionRequest} requestParameters Request parameters.
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ * @memberof PartnerVersionApi
371
+ */
372
+ public listPartnerVersion(requestParameters: PartnerVersionApiListPartnerVersionRequest, options?: AxiosRequestConfig) {
373
+ return PartnerVersionApiFp(this.configuration).listPartnerVersion(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
374
+ }
375
+ }