@emilgroup/partner-sdk-node 1.5.1-beta.3 → 1.6.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 (43) hide show
  1. package/.openapi-generator/FILES +4 -10
  2. package/README.md +2 -2
  3. package/api/{partner-relation-api.ts → partner-relations-api.ts} +87 -87
  4. package/api/{partner-tag-api.ts → partner-tags-api.ts} +62 -62
  5. package/api/{partner-type-api.ts → partner-types-api.ts} +64 -64
  6. package/api/{partner-api.ts → partners-api.ts} +82 -82
  7. package/api.ts +8 -10
  8. package/dist/api/{partner-relation-api.d.ts → partner-relations-api.d.ts} +78 -78
  9. package/dist/api/{partner-relation-api.js → partner-relations-api.js} +47 -47
  10. package/dist/api/{partner-tag-api.d.ts → partner-tags-api.d.ts} +55 -55
  11. package/dist/api/{partner-tag-api.js → partner-tags-api.js} +39 -39
  12. package/dist/api/{partner-type-api.d.ts → partner-types-api.d.ts} +57 -57
  13. package/dist/api/{partner-type-api.js → partner-types-api.js} +39 -39
  14. package/dist/api/{partner-api.d.ts → partners-api.d.ts} +74 -74
  15. package/dist/api/{partner-api.js → partners-api.js} +49 -49
  16. package/dist/api.d.ts +4 -5
  17. package/dist/api.js +4 -5
  18. package/dist/models/create-partner-response-class.d.ts +0 -7
  19. package/dist/models/index.d.ts +0 -5
  20. package/dist/models/index.js +0 -5
  21. package/dist/models/partner-class.d.ts +0 -6
  22. package/models/create-partner-response-class.ts +0 -7
  23. package/models/index.ts +0 -5
  24. package/models/partner-class.ts +0 -6
  25. package/package.json +1 -1
  26. package/api/partner-invitation-api.ts +0 -169
  27. package/dist/api/partner-invitation-api.d.ts +0 -97
  28. package/dist/api/partner-invitation-api.js +0 -228
  29. package/dist/models/invite-class.d.ts +0 -79
  30. package/dist/models/invite-class.js +0 -15
  31. package/dist/models/invite-partner-to-eis-response-class.d.ts +0 -25
  32. package/dist/models/invite-partner-to-eis-response-class.js +0 -15
  33. package/dist/models/invite-partner-to-eisrequest-dto.d.ts +0 -42
  34. package/dist/models/invite-partner-to-eisrequest-dto.js +0 -15
  35. package/dist/models/permission-class.d.ts +0 -72
  36. package/dist/models/permission-class.js +0 -15
  37. package/dist/models/role-class.d.ts +0 -73
  38. package/dist/models/role-class.js +0 -15
  39. package/models/invite-class.ts +0 -85
  40. package/models/invite-partner-to-eis-response-class.ts +0 -31
  41. package/models/invite-partner-to-eisrequest-dto.ts +0 -48
  42. package/models/permission-class.ts +0 -78
  43. package/models/role-class.ts +0 -79
@@ -21,10 +21,10 @@ import { TagPartnerRequestDtoRest } from '../models';
21
21
  import { UpdatePartnerRequestDto } from '../models';
22
22
  import { UpdatePartnerResponseClass } from '../models';
23
23
  /**
24
- * PartnerApi - axios parameter creator
24
+ * PartnersApi - axios parameter creator
25
25
  * @export
26
26
  */
27
- export declare const PartnerApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
29
  * This will create a partner.
30
30
  * @summary Create the partner
@@ -59,11 +59,11 @@ export declare const PartnerApiAxiosParamCreator: (configuration?: Configuration
59
59
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
60
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
61
61
  * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
62
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
62
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
63
63
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
64
64
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
65
65
  * @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.<br/> <br/> <i>Allowed values: partnerType, tags<i>
66
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode</i>
66
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
67
67
  * @param {*} [options] Override http request option.
68
68
  * @throws {RequiredError}
69
69
  */
@@ -90,10 +90,10 @@ export declare const PartnerApiAxiosParamCreator: (configuration?: Configuration
90
90
  updatePartner: (code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
91
91
  };
92
92
  /**
93
- * PartnerApi - functional programming interface
93
+ * PartnersApi - functional programming interface
94
94
  * @export
95
95
  */
96
- export declare const PartnerApiFp: (configuration?: Configuration) => {
96
+ export declare const PartnersApiFp: (configuration?: Configuration) => {
97
97
  /**
98
98
  * This will create a partner.
99
99
  * @summary Create the partner
@@ -128,11 +128,11 @@ export declare const PartnerApiFp: (configuration?: Configuration) => {
128
128
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
129
129
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
130
130
  * @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.
131
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
131
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
132
132
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
133
133
  * @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, displayName, createdAt, updatedAt, version, tags, tagSlugs&lt;/i&gt;
134
134
  * @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: partnerType, tags&lt;i&gt;
135
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
135
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
@@ -159,10 +159,10 @@ export declare const PartnerApiFp: (configuration?: Configuration) => {
159
159
  updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerResponseClass>>;
160
160
  };
161
161
  /**
162
- * PartnerApi - factory interface
162
+ * PartnersApi - factory interface
163
163
  * @export
164
164
  */
165
- export declare const PartnerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
165
+ export declare const PartnersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
166
166
  /**
167
167
  * This will create a partner.
168
168
  * @summary Create the partner
@@ -197,11 +197,11 @@ export declare const PartnerApiFactory: (configuration?: Configuration, basePath
197
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
198
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
199
199
  * @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.
200
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
200
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
201
201
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
202
202
  * @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, displayName, createdAt, updatedAt, version, tags, tagSlugs&lt;/i&gt;
203
203
  * @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: partnerType, tags&lt;i&gt;
204
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
204
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
207
207
  */
@@ -228,232 +228,232 @@ export declare const PartnerApiFactory: (configuration?: Configuration, basePath
228
228
  updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerResponseClass>;
229
229
  };
230
230
  /**
231
- * Request parameters for createPartner operation in PartnerApi.
231
+ * Request parameters for createPartner operation in PartnersApi.
232
232
  * @export
233
- * @interface PartnerApiCreatePartnerRequest
233
+ * @interface PartnersApiCreatePartnerRequest
234
234
  */
235
- export interface PartnerApiCreatePartnerRequest {
235
+ export interface PartnersApiCreatePartnerRequest {
236
236
  /**
237
237
  *
238
238
  * @type {CreatePartnerRequestDto}
239
- * @memberof PartnerApiCreatePartner
239
+ * @memberof PartnersApiCreatePartner
240
240
  */
241
241
  readonly createPartnerRequestDto: CreatePartnerRequestDto;
242
242
  /**
243
243
  * Bearer Token: provided by the login endpoint under the name accessToken.
244
244
  * @type {string}
245
- * @memberof PartnerApiCreatePartner
245
+ * @memberof PartnersApiCreatePartner
246
246
  */
247
247
  readonly authorization?: string;
248
248
  }
249
249
  /**
250
- * Request parameters for deletePartner operation in PartnerApi.
250
+ * Request parameters for deletePartner operation in PartnersApi.
251
251
  * @export
252
- * @interface PartnerApiDeletePartnerRequest
252
+ * @interface PartnersApiDeletePartnerRequest
253
253
  */
254
- export interface PartnerApiDeletePartnerRequest {
254
+ export interface PartnersApiDeletePartnerRequest {
255
255
  /**
256
256
  *
257
257
  * @type {string}
258
- * @memberof PartnerApiDeletePartner
258
+ * @memberof PartnersApiDeletePartner
259
259
  */
260
260
  readonly code: string;
261
261
  /**
262
262
  * Bearer Token: provided by the login endpoint under the name accessToken.
263
263
  * @type {string}
264
- * @memberof PartnerApiDeletePartner
264
+ * @memberof PartnersApiDeletePartner
265
265
  */
266
266
  readonly authorization?: string;
267
267
  }
268
268
  /**
269
- * Request parameters for getPartner operation in PartnerApi.
269
+ * Request parameters for getPartner operation in PartnersApi.
270
270
  * @export
271
- * @interface PartnerApiGetPartnerRequest
271
+ * @interface PartnersApiGetPartnerRequest
272
272
  */
273
- export interface PartnerApiGetPartnerRequest {
273
+ export interface PartnersApiGetPartnerRequest {
274
274
  /**
275
275
  * Unique identifier for the object.
276
276
  * @type {string}
277
- * @memberof PartnerApiGetPartner
277
+ * @memberof PartnersApiGetPartner
278
278
  */
279
279
  readonly code: string;
280
280
  /**
281
281
  * Bearer Token: provided by the login endpoint under the name accessToken.
282
282
  * @type {string}
283
- * @memberof PartnerApiGetPartner
283
+ * @memberof PartnersApiGetPartner
284
284
  */
285
285
  readonly authorization?: string;
286
286
  /**
287
287
  *
288
288
  * @type {any}
289
- * @memberof PartnerApiGetPartner
289
+ * @memberof PartnersApiGetPartner
290
290
  */
291
291
  readonly expand?: any;
292
292
  }
293
293
  /**
294
- * Request parameters for listPartners operation in PartnerApi.
294
+ * Request parameters for listPartners operation in PartnersApi.
295
295
  * @export
296
- * @interface PartnerApiListPartnersRequest
296
+ * @interface PartnersApiListPartnersRequest
297
297
  */
298
- export interface PartnerApiListPartnersRequest {
298
+ export interface PartnersApiListPartnersRequest {
299
299
  /**
300
300
  * Bearer Token: provided by the login endpoint under the name accessToken.
301
301
  * @type {string}
302
- * @memberof PartnerApiListPartners
302
+ * @memberof PartnersApiListPartners
303
303
  */
304
304
  readonly authorization?: string;
305
305
  /**
306
306
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
307
307
  * @type {any}
308
- * @memberof PartnerApiListPartners
308
+ * @memberof PartnersApiListPartners
309
309
  */
310
310
  readonly pageSize?: any;
311
311
  /**
312
312
  * 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.
313
313
  * @type {any}
314
- * @memberof PartnerApiListPartners
314
+ * @memberof PartnersApiListPartners
315
315
  */
316
316
  readonly pageToken?: any;
317
317
  /**
318
- * 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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
318
+ * 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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
319
319
  * @type {string}
320
- * @memberof PartnerApiListPartners
320
+ * @memberof PartnersApiListPartners
321
321
  */
322
322
  readonly filter?: string;
323
323
  /**
324
324
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
325
325
  * @type {any}
326
- * @memberof PartnerApiListPartners
326
+ * @memberof PartnersApiListPartners
327
327
  */
328
328
  readonly search?: any;
329
329
  /**
330
330
  * 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, displayName, createdAt, updatedAt, version, tags, tagSlugs&lt;/i&gt;
331
331
  * @type {string}
332
- * @memberof PartnerApiListPartners
332
+ * @memberof PartnersApiListPartners
333
333
  */
334
334
  readonly order?: string;
335
335
  /**
336
336
  * 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: partnerType, tags&lt;i&gt;
337
337
  * @type {string}
338
- * @memberof PartnerApiListPartners
338
+ * @memberof PartnersApiListPartners
339
339
  */
340
340
  readonly expand?: string;
341
341
  /**
342
- * 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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
342
+ * 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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
343
343
  * @type {string}
344
- * @memberof PartnerApiListPartners
344
+ * @memberof PartnersApiListPartners
345
345
  */
346
346
  readonly filters?: string;
347
347
  }
348
348
  /**
349
- * Request parameters for tagPartner operation in PartnerApi.
349
+ * Request parameters for tagPartner operation in PartnersApi.
350
350
  * @export
351
- * @interface PartnerApiTagPartnerRequest
351
+ * @interface PartnersApiTagPartnerRequest
352
352
  */
353
- export interface PartnerApiTagPartnerRequest {
353
+ export interface PartnersApiTagPartnerRequest {
354
354
  /**
355
355
  *
356
356
  * @type {string}
357
- * @memberof PartnerApiTagPartner
357
+ * @memberof PartnersApiTagPartner
358
358
  */
359
359
  readonly code: string;
360
360
  /**
361
361
  *
362
362
  * @type {TagPartnerRequestDtoRest}
363
- * @memberof PartnerApiTagPartner
363
+ * @memberof PartnersApiTagPartner
364
364
  */
365
365
  readonly tagPartnerRequestDtoRest: TagPartnerRequestDtoRest;
366
366
  /**
367
367
  * Bearer Token: provided by the login endpoint under the name accessToken.
368
368
  * @type {string}
369
- * @memberof PartnerApiTagPartner
369
+ * @memberof PartnersApiTagPartner
370
370
  */
371
371
  readonly authorization?: string;
372
372
  }
373
373
  /**
374
- * Request parameters for updatePartner operation in PartnerApi.
374
+ * Request parameters for updatePartner operation in PartnersApi.
375
375
  * @export
376
- * @interface PartnerApiUpdatePartnerRequest
376
+ * @interface PartnersApiUpdatePartnerRequest
377
377
  */
378
- export interface PartnerApiUpdatePartnerRequest {
378
+ export interface PartnersApiUpdatePartnerRequest {
379
379
  /**
380
380
  * Unique identifier for the object.
381
381
  * @type {string}
382
- * @memberof PartnerApiUpdatePartner
382
+ * @memberof PartnersApiUpdatePartner
383
383
  */
384
384
  readonly code: string;
385
385
  /**
386
386
  *
387
387
  * @type {UpdatePartnerRequestDto}
388
- * @memberof PartnerApiUpdatePartner
388
+ * @memberof PartnersApiUpdatePartner
389
389
  */
390
390
  readonly updatePartnerRequestDto: UpdatePartnerRequestDto;
391
391
  /**
392
392
  * Bearer Token: provided by the login endpoint under the name accessToken.
393
393
  * @type {string}
394
- * @memberof PartnerApiUpdatePartner
394
+ * @memberof PartnersApiUpdatePartner
395
395
  */
396
396
  readonly authorization?: string;
397
397
  }
398
398
  /**
399
- * PartnerApi - object-oriented interface
399
+ * PartnersApi - object-oriented interface
400
400
  * @export
401
- * @class PartnerApi
401
+ * @class PartnersApi
402
402
  * @extends {BaseAPI}
403
403
  */
404
- export declare class PartnerApi extends BaseAPI {
404
+ export declare class PartnersApi extends BaseAPI {
405
405
  /**
406
406
  * This will create a partner.
407
407
  * @summary Create the partner
408
- * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters.
408
+ * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
409
409
  * @param {*} [options] Override http request option.
410
410
  * @throws {RequiredError}
411
- * @memberof PartnerApi
411
+ * @memberof PartnersApi
412
412
  */
413
- createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any>>;
413
+ createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any>>;
414
414
  /**
415
415
  * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
416
416
  * @summary Delete the partner
417
- * @param {PartnerApiDeletePartnerRequest} requestParameters Request parameters.
417
+ * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
418
418
  * @param {*} [options] Override http request option.
419
419
  * @throws {RequiredError}
420
- * @memberof PartnerApi
420
+ * @memberof PartnersApi
421
421
  */
422
- deletePartner(requestParameters: PartnerApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
422
+ deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
423
423
  /**
424
424
  * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
425
425
  * @summary Retrieve the partner
426
- * @param {PartnerApiGetPartnerRequest} requestParameters Request parameters.
426
+ * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
427
427
  * @param {*} [options] Override http request option.
428
428
  * @throws {RequiredError}
429
- * @memberof PartnerApi
429
+ * @memberof PartnersApi
430
430
  */
431
- getPartner(requestParameters: PartnerApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
431
+ getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
432
432
  /**
433
433
  * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
434
434
  * @summary List partners
435
- * @param {PartnerApiListPartnersRequest} requestParameters Request parameters.
435
+ * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
436
436
  * @param {*} [options] Override http request option.
437
437
  * @throws {RequiredError}
438
- * @memberof PartnerApi
438
+ * @memberof PartnersApi
439
439
  */
440
- listPartners(requestParameters?: PartnerApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>;
440
+ listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>;
441
441
  /**
442
442
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
443
443
  * @summary Update the partner
444
- * @param {PartnerApiTagPartnerRequest} requestParameters Request parameters.
444
+ * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
445
445
  * @param {*} [options] Override http request option.
446
446
  * @throws {RequiredError}
447
- * @memberof PartnerApi
447
+ * @memberof PartnersApi
448
448
  */
449
- tagPartner(requestParameters: PartnerApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
449
+ tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
450
450
  /**
451
451
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
452
452
  * @summary Update the partner
453
- * @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
453
+ * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
454
454
  * @param {*} [options] Override http request option.
455
455
  * @throws {RequiredError}
456
- * @memberof PartnerApi
456
+ * @memberof PartnersApi
457
457
  */
458
- updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any>>;
458
+ updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any>>;
459
459
  }
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.PartnerApi = exports.PartnerApiFactory = exports.PartnerApiFp = exports.PartnerApiAxiosParamCreator = void 0;
81
+ exports.PartnersApi = exports.PartnersApiFactory = exports.PartnersApiFp = exports.PartnersApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * PartnerApi - axios parameter creator
93
+ * PartnersApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var PartnerApiAxiosParamCreator = function (configuration) {
96
+ var PartnersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -251,11 +251,11 @@ var PartnerApiAxiosParamCreator = function (configuration) {
251
251
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
252
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
253
253
  * @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.
254
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
254
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
255
255
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
256
256
  * @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, displayName, createdAt, updatedAt, version, tags, tagSlugs&lt;/i&gt;
257
257
  * @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: partnerType, tags&lt;i&gt;
258
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
258
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
259
259
  * @param {*} [options] Override http request option.
260
260
  * @throws {RequiredError}
261
261
  */
@@ -425,13 +425,13 @@ var PartnerApiAxiosParamCreator = function (configuration) {
425
425
  },
426
426
  };
427
427
  };
428
- exports.PartnerApiAxiosParamCreator = PartnerApiAxiosParamCreator;
428
+ exports.PartnersApiAxiosParamCreator = PartnersApiAxiosParamCreator;
429
429
  /**
430
- * PartnerApi - functional programming interface
430
+ * PartnersApi - functional programming interface
431
431
  * @export
432
432
  */
433
- var PartnerApiFp = function (configuration) {
434
- var localVarAxiosParamCreator = (0, exports.PartnerApiAxiosParamCreator)(configuration);
433
+ var PartnersApiFp = function (configuration) {
434
+ var localVarAxiosParamCreator = (0, exports.PartnersApiAxiosParamCreator)(configuration);
435
435
  return {
436
436
  /**
437
437
  * This will create a partner.
@@ -503,11 +503,11 @@ var PartnerApiFp = function (configuration) {
503
503
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
504
504
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
505
505
  * @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.
506
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
506
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
507
507
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
508
508
  * @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, displayName, createdAt, updatedAt, version, tags, tagSlugs&lt;/i&gt;
509
509
  * @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: partnerType, tags&lt;i&gt;
510
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
510
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
511
511
  * @param {*} [options] Override http request option.
512
512
  * @throws {RequiredError}
513
513
  */
@@ -570,13 +570,13 @@ var PartnerApiFp = function (configuration) {
570
570
  },
571
571
  };
572
572
  };
573
- exports.PartnerApiFp = PartnerApiFp;
573
+ exports.PartnersApiFp = PartnersApiFp;
574
574
  /**
575
- * PartnerApi - factory interface
575
+ * PartnersApi - factory interface
576
576
  * @export
577
577
  */
578
- var PartnerApiFactory = function (configuration, basePath, axios) {
579
- var localVarFp = (0, exports.PartnerApiFp)(configuration);
578
+ var PartnersApiFactory = function (configuration, basePath, axios) {
579
+ var localVarFp = (0, exports.PartnersApiFp)(configuration);
580
580
  return {
581
581
  /**
582
582
  * This will create a partner.
@@ -618,11 +618,11 @@ var PartnerApiFactory = function (configuration, basePath, axios) {
618
618
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
619
619
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
620
620
  * @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.
621
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
621
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
622
622
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
623
623
  * @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, displayName, createdAt, updatedAt, version, tags, tagSlugs&lt;/i&gt;
624
624
  * @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: partnerType, tags&lt;i&gt;
625
- * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode&lt;/i&gt;
625
+ * @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, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId&lt;/i&gt;
626
626
  * @param {*} [options] Override http request option.
627
627
  * @throws {RequiredError}
628
628
  */
@@ -655,91 +655,91 @@ var PartnerApiFactory = function (configuration, basePath, axios) {
655
655
  },
656
656
  };
657
657
  };
658
- exports.PartnerApiFactory = PartnerApiFactory;
658
+ exports.PartnersApiFactory = PartnersApiFactory;
659
659
  /**
660
- * PartnerApi - object-oriented interface
660
+ * PartnersApi - object-oriented interface
661
661
  * @export
662
- * @class PartnerApi
662
+ * @class PartnersApi
663
663
  * @extends {BaseAPI}
664
664
  */
665
- var PartnerApi = /** @class */ (function (_super) {
666
- __extends(PartnerApi, _super);
667
- function PartnerApi() {
665
+ var PartnersApi = /** @class */ (function (_super) {
666
+ __extends(PartnersApi, _super);
667
+ function PartnersApi() {
668
668
  return _super !== null && _super.apply(this, arguments) || this;
669
669
  }
670
670
  /**
671
671
  * This will create a partner.
672
672
  * @summary Create the partner
673
- * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters.
673
+ * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
674
674
  * @param {*} [options] Override http request option.
675
675
  * @throws {RequiredError}
676
- * @memberof PartnerApi
676
+ * @memberof PartnersApi
677
677
  */
678
- PartnerApi.prototype.createPartner = function (requestParameters, options) {
678
+ PartnersApi.prototype.createPartner = function (requestParameters, options) {
679
679
  var _this = this;
680
- return (0, exports.PartnerApiFp)(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
680
+ return (0, exports.PartnersApiFp)(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
681
681
  };
682
682
  /**
683
683
  * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
684
684
  * @summary Delete the partner
685
- * @param {PartnerApiDeletePartnerRequest} requestParameters Request parameters.
685
+ * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
686
686
  * @param {*} [options] Override http request option.
687
687
  * @throws {RequiredError}
688
- * @memberof PartnerApi
688
+ * @memberof PartnersApi
689
689
  */
690
- PartnerApi.prototype.deletePartner = function (requestParameters, options) {
690
+ PartnersApi.prototype.deletePartner = function (requestParameters, options) {
691
691
  var _this = this;
692
- return (0, exports.PartnerApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
692
+ return (0, exports.PartnersApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
693
693
  };
694
694
  /**
695
695
  * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
696
696
  * @summary Retrieve the partner
697
- * @param {PartnerApiGetPartnerRequest} requestParameters Request parameters.
697
+ * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
698
698
  * @param {*} [options] Override http request option.
699
699
  * @throws {RequiredError}
700
- * @memberof PartnerApi
700
+ * @memberof PartnersApi
701
701
  */
702
- PartnerApi.prototype.getPartner = function (requestParameters, options) {
702
+ PartnersApi.prototype.getPartner = function (requestParameters, options) {
703
703
  var _this = this;
704
- return (0, exports.PartnerApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
704
+ return (0, exports.PartnersApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
705
705
  };
706
706
  /**
707
707
  * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
708
708
  * @summary List partners
709
- * @param {PartnerApiListPartnersRequest} requestParameters Request parameters.
709
+ * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
710
710
  * @param {*} [options] Override http request option.
711
711
  * @throws {RequiredError}
712
- * @memberof PartnerApi
712
+ * @memberof PartnersApi
713
713
  */
714
- PartnerApi.prototype.listPartners = function (requestParameters, options) {
714
+ PartnersApi.prototype.listPartners = function (requestParameters, options) {
715
715
  var _this = this;
716
716
  if (requestParameters === void 0) { requestParameters = {}; }
717
- return (0, exports.PartnerApiFp)(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
717
+ return (0, exports.PartnersApiFp)(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
718
718
  };
719
719
  /**
720
720
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
721
721
  * @summary Update the partner
722
- * @param {PartnerApiTagPartnerRequest} requestParameters Request parameters.
722
+ * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
723
723
  * @param {*} [options] Override http request option.
724
724
  * @throws {RequiredError}
725
- * @memberof PartnerApi
725
+ * @memberof PartnersApi
726
726
  */
727
- PartnerApi.prototype.tagPartner = function (requestParameters, options) {
727
+ PartnersApi.prototype.tagPartner = function (requestParameters, options) {
728
728
  var _this = this;
729
- return (0, exports.PartnerApiFp)(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
729
+ return (0, exports.PartnersApiFp)(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
730
730
  };
731
731
  /**
732
732
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
733
733
  * @summary Update the partner
734
- * @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
734
+ * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
735
735
  * @param {*} [options] Override http request option.
736
736
  * @throws {RequiredError}
737
- * @memberof PartnerApi
737
+ * @memberof PartnersApi
738
738
  */
739
- PartnerApi.prototype.updatePartner = function (requestParameters, options) {
739
+ PartnersApi.prototype.updatePartner = function (requestParameters, options) {
740
740
  var _this = this;
741
- return (0, exports.PartnerApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
741
+ return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
742
742
  };
743
- return PartnerApi;
743
+ return PartnersApi;
744
744
  }(base_1.BaseAPI));
745
- exports.PartnerApi = PartnerApi;
745
+ exports.PartnersApi = PartnersApi;
package/dist/api.d.ts CHANGED
@@ -10,9 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/default-api';
13
- export * from './api/partner-api';
14
- export * from './api/partner-invitation-api';
15
- export * from './api/partner-relation-api';
16
- export * from './api/partner-tag-api';
17
- export * from './api/partner-type-api';
13
+ export * from './api/partner-relations-api';
14
+ export * from './api/partner-tags-api';
15
+ export * from './api/partner-types-api';
18
16
  export * from './api/partner-version-api';
17
+ export * from './api/partners-api';