@emilgroup/partner-sdk 1.6.0 → 1.6.1-beta.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 +10 -4
  2. package/README.md +2 -2
  3. package/api/{partners-api.ts → partner-api.ts} +82 -82
  4. package/api/partner-invitation-api.ts +165 -0
  5. package/api/{partner-relations-api.ts → partner-relation-api.ts} +91 -91
  6. package/api/{partner-tags-api.ts → partner-tag-api.ts} +66 -66
  7. package/api/{partner-types-api.ts → partner-type-api.ts} +64 -64
  8. package/api.ts +10 -8
  9. package/dist/api/{partners-api.d.ts → partner-api.d.ts} +74 -74
  10. package/dist/api/{partners-api.js → partner-api.js} +49 -49
  11. package/dist/api/partner-invitation-api.d.ts +97 -0
  12. package/dist/api/partner-invitation-api.js +224 -0
  13. package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +82 -82
  14. package/dist/api/{partner-relations-api.js → partner-relation-api.js} +50 -50
  15. package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +59 -59
  16. package/dist/api/{partner-tags-api.js → partner-tag-api.js} +42 -42
  17. package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +57 -57
  18. package/dist/api/{partner-types-api.js → partner-type-api.js} +39 -39
  19. package/dist/api.d.ts +5 -4
  20. package/dist/api.js +5 -4
  21. package/dist/models/create-partner-response-class.d.ts +7 -0
  22. package/dist/models/index.d.ts +5 -0
  23. package/dist/models/index.js +5 -0
  24. package/dist/models/invite-class.d.ts +79 -0
  25. package/dist/models/invite-class.js +15 -0
  26. package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
  27. package/dist/models/invite-partner-to-eis-response-class.js +15 -0
  28. package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
  29. package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
  30. package/dist/models/partner-class.d.ts +6 -0
  31. package/dist/models/permission-class.d.ts +72 -0
  32. package/dist/models/permission-class.js +15 -0
  33. package/dist/models/role-class.d.ts +73 -0
  34. package/dist/models/role-class.js +15 -0
  35. package/models/create-partner-response-class.ts +7 -0
  36. package/models/index.ts +5 -0
  37. package/models/invite-class.ts +85 -0
  38. package/models/invite-partner-to-eis-response-class.ts +31 -0
  39. package/models/invite-partner-to-eisrequest-dto.ts +48 -0
  40. package/models/partner-class.ts +6 -0
  41. package/models/permission-class.ts +78 -0
  42. package/models/role-class.ts +79 -0
  43. package/package.json +1 -1
@@ -21,10 +21,10 @@ import { TagPartnerRequestDtoRest } from '../models';
21
21
  import { UpdatePartnerRequestDto } from '../models';
22
22
  import { UpdatePartnerResponseClass } from '../models';
23
23
  /**
24
- * PartnersApi - axios parameter creator
24
+ * PartnerApi - axios parameter creator
25
25
  * @export
26
26
  */
27
- export declare const PartnersApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ export declare const PartnerApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
29
  * This will create a partner.
30
30
  * @summary Create the partner
@@ -59,11 +59,11 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
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</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, tenantUserCode</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</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>
67
67
  * @param {*} [options] Override http request option.
68
68
  * @throws {RequiredError}
69
69
  */
@@ -90,10 +90,10 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
90
90
  updatePartner: (code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
91
91
  };
92
92
  /**
93
- * PartnersApi - functional programming interface
93
+ * PartnerApi - functional programming interface
94
94
  * @export
95
95
  */
96
- export declare const PartnersApiFp: (configuration?: Configuration) => {
96
+ export declare const PartnerApiFp: (configuration?: Configuration) => {
97
97
  /**
98
98
  * This will create a partner.
99
99
  * @summary Create the partner
@@ -128,11 +128,11 @@ export declare const PartnersApiFp: (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&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, tenantUserCode&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&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;
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
@@ -159,10 +159,10 @@ export declare const PartnersApiFp: (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
- * PartnersApi - factory interface
162
+ * PartnerApi - factory interface
163
163
  * @export
164
164
  */
165
- export declare const PartnersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
165
+ export declare const PartnerApiFactory: (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 PartnersApiFactory: (configuration?: Configuration, basePat
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&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, tenantUserCode&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&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;
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
207
207
  */
@@ -228,232 +228,232 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
228
228
  updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerResponseClass>;
229
229
  };
230
230
  /**
231
- * Request parameters for createPartner operation in PartnersApi.
231
+ * Request parameters for createPartner operation in PartnerApi.
232
232
  * @export
233
- * @interface PartnersApiCreatePartnerRequest
233
+ * @interface PartnerApiCreatePartnerRequest
234
234
  */
235
- export interface PartnersApiCreatePartnerRequest {
235
+ export interface PartnerApiCreatePartnerRequest {
236
236
  /**
237
237
  *
238
238
  * @type {CreatePartnerRequestDto}
239
- * @memberof PartnersApiCreatePartner
239
+ * @memberof PartnerApiCreatePartner
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 PartnersApiCreatePartner
245
+ * @memberof PartnerApiCreatePartner
246
246
  */
247
247
  readonly authorization?: string;
248
248
  }
249
249
  /**
250
- * Request parameters for deletePartner operation in PartnersApi.
250
+ * Request parameters for deletePartner operation in PartnerApi.
251
251
  * @export
252
- * @interface PartnersApiDeletePartnerRequest
252
+ * @interface PartnerApiDeletePartnerRequest
253
253
  */
254
- export interface PartnersApiDeletePartnerRequest {
254
+ export interface PartnerApiDeletePartnerRequest {
255
255
  /**
256
256
  *
257
257
  * @type {string}
258
- * @memberof PartnersApiDeletePartner
258
+ * @memberof PartnerApiDeletePartner
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 PartnersApiDeletePartner
264
+ * @memberof PartnerApiDeletePartner
265
265
  */
266
266
  readonly authorization?: string;
267
267
  }
268
268
  /**
269
- * Request parameters for getPartner operation in PartnersApi.
269
+ * Request parameters for getPartner operation in PartnerApi.
270
270
  * @export
271
- * @interface PartnersApiGetPartnerRequest
271
+ * @interface PartnerApiGetPartnerRequest
272
272
  */
273
- export interface PartnersApiGetPartnerRequest {
273
+ export interface PartnerApiGetPartnerRequest {
274
274
  /**
275
275
  * Unique identifier for the object.
276
276
  * @type {string}
277
- * @memberof PartnersApiGetPartner
277
+ * @memberof PartnerApiGetPartner
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 PartnersApiGetPartner
283
+ * @memberof PartnerApiGetPartner
284
284
  */
285
285
  readonly authorization?: string;
286
286
  /**
287
287
  *
288
288
  * @type {any}
289
- * @memberof PartnersApiGetPartner
289
+ * @memberof PartnerApiGetPartner
290
290
  */
291
291
  readonly expand?: any;
292
292
  }
293
293
  /**
294
- * Request parameters for listPartners operation in PartnersApi.
294
+ * Request parameters for listPartners operation in PartnerApi.
295
295
  * @export
296
- * @interface PartnersApiListPartnersRequest
296
+ * @interface PartnerApiListPartnersRequest
297
297
  */
298
- export interface PartnersApiListPartnersRequest {
298
+ export interface PartnerApiListPartnersRequest {
299
299
  /**
300
300
  * Bearer Token: provided by the login endpoint under the name accessToken.
301
301
  * @type {string}
302
- * @memberof PartnersApiListPartners
302
+ * @memberof PartnerApiListPartners
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 PartnersApiListPartners
308
+ * @memberof PartnerApiListPartners
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 PartnersApiListPartners
314
+ * @memberof PartnerApiListPartners
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&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, tenantUserCode&lt;/i&gt;
319
319
  * @type {string}
320
- * @memberof PartnersApiListPartners
320
+ * @memberof PartnerApiListPartners
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 PartnersApiListPartners
326
+ * @memberof PartnerApiListPartners
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 PartnersApiListPartners
332
+ * @memberof PartnerApiListPartners
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 PartnersApiListPartners
338
+ * @memberof PartnerApiListPartners
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&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, tenantUserCode&lt;/i&gt;
343
343
  * @type {string}
344
- * @memberof PartnersApiListPartners
344
+ * @memberof PartnerApiListPartners
345
345
  */
346
346
  readonly filters?: string;
347
347
  }
348
348
  /**
349
- * Request parameters for tagPartner operation in PartnersApi.
349
+ * Request parameters for tagPartner operation in PartnerApi.
350
350
  * @export
351
- * @interface PartnersApiTagPartnerRequest
351
+ * @interface PartnerApiTagPartnerRequest
352
352
  */
353
- export interface PartnersApiTagPartnerRequest {
353
+ export interface PartnerApiTagPartnerRequest {
354
354
  /**
355
355
  *
356
356
  * @type {string}
357
- * @memberof PartnersApiTagPartner
357
+ * @memberof PartnerApiTagPartner
358
358
  */
359
359
  readonly code: string;
360
360
  /**
361
361
  *
362
362
  * @type {TagPartnerRequestDtoRest}
363
- * @memberof PartnersApiTagPartner
363
+ * @memberof PartnerApiTagPartner
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 PartnersApiTagPartner
369
+ * @memberof PartnerApiTagPartner
370
370
  */
371
371
  readonly authorization?: string;
372
372
  }
373
373
  /**
374
- * Request parameters for updatePartner operation in PartnersApi.
374
+ * Request parameters for updatePartner operation in PartnerApi.
375
375
  * @export
376
- * @interface PartnersApiUpdatePartnerRequest
376
+ * @interface PartnerApiUpdatePartnerRequest
377
377
  */
378
- export interface PartnersApiUpdatePartnerRequest {
378
+ export interface PartnerApiUpdatePartnerRequest {
379
379
  /**
380
380
  * Unique identifier for the object.
381
381
  * @type {string}
382
- * @memberof PartnersApiUpdatePartner
382
+ * @memberof PartnerApiUpdatePartner
383
383
  */
384
384
  readonly code: string;
385
385
  /**
386
386
  *
387
387
  * @type {UpdatePartnerRequestDto}
388
- * @memberof PartnersApiUpdatePartner
388
+ * @memberof PartnerApiUpdatePartner
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 PartnersApiUpdatePartner
394
+ * @memberof PartnerApiUpdatePartner
395
395
  */
396
396
  readonly authorization?: string;
397
397
  }
398
398
  /**
399
- * PartnersApi - object-oriented interface
399
+ * PartnerApi - object-oriented interface
400
400
  * @export
401
- * @class PartnersApi
401
+ * @class PartnerApi
402
402
  * @extends {BaseAPI}
403
403
  */
404
- export declare class PartnersApi extends BaseAPI {
404
+ export declare class PartnerApi extends BaseAPI {
405
405
  /**
406
406
  * This will create a partner.
407
407
  * @summary Create the partner
408
- * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
408
+ * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters.
409
409
  * @param {*} [options] Override http request option.
410
410
  * @throws {RequiredError}
411
- * @memberof PartnersApi
411
+ * @memberof PartnerApi
412
412
  */
413
- createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any>>;
413
+ createPartner(requestParameters: PartnerApiCreatePartnerRequest, 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 {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
417
+ * @param {PartnerApiDeletePartnerRequest} requestParameters Request parameters.
418
418
  * @param {*} [options] Override http request option.
419
419
  * @throws {RequiredError}
420
- * @memberof PartnersApi
420
+ * @memberof PartnerApi
421
421
  */
422
- deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
422
+ deletePartner(requestParameters: PartnerApiDeletePartnerRequest, 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 {PartnersApiGetPartnerRequest} requestParameters Request parameters.
426
+ * @param {PartnerApiGetPartnerRequest} requestParameters Request parameters.
427
427
  * @param {*} [options] Override http request option.
428
428
  * @throws {RequiredError}
429
- * @memberof PartnersApi
429
+ * @memberof PartnerApi
430
430
  */
431
- getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
431
+ getPartner(requestParameters: PartnerApiGetPartnerRequest, 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 {PartnersApiListPartnersRequest} requestParameters Request parameters.
435
+ * @param {PartnerApiListPartnersRequest} requestParameters Request parameters.
436
436
  * @param {*} [options] Override http request option.
437
437
  * @throws {RequiredError}
438
- * @memberof PartnersApi
438
+ * @memberof PartnerApi
439
439
  */
440
- listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>;
440
+ listPartners(requestParameters?: PartnerApiListPartnersRequest, 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 {PartnersApiTagPartnerRequest} requestParameters Request parameters.
444
+ * @param {PartnerApiTagPartnerRequest} requestParameters Request parameters.
445
445
  * @param {*} [options] Override http request option.
446
446
  * @throws {RequiredError}
447
- * @memberof PartnersApi
447
+ * @memberof PartnerApi
448
448
  */
449
- tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
449
+ tagPartner(requestParameters: PartnerApiTagPartnerRequest, 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 {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
453
+ * @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
454
454
  * @param {*} [options] Override http request option.
455
455
  * @throws {RequiredError}
456
- * @memberof PartnersApi
456
+ * @memberof PartnerApi
457
457
  */
458
- updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any>>;
458
+ updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, 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.PartnersApi = exports.PartnersApiFactory = exports.PartnersApiFp = exports.PartnersApiAxiosParamCreator = void 0;
81
+ exports.PartnerApi = exports.PartnerApiFactory = exports.PartnerApiFp = exports.PartnerApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -86,10 +86,10 @@ var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
88
  /**
89
- * PartnersApi - axios parameter creator
89
+ * PartnerApi - axios parameter creator
90
90
  * @export
91
91
  */
92
- var PartnersApiAxiosParamCreator = function (configuration) {
92
+ var PartnerApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
@@ -247,11 +247,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
248
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @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.
250
- * @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;
250
+ * @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;
251
251
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
252
252
  * @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;
253
253
  * @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;
254
- * @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;
254
+ * @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;
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
@@ -421,13 +421,13 @@ var PartnersApiAxiosParamCreator = function (configuration) {
421
421
  },
422
422
  };
423
423
  };
424
- exports.PartnersApiAxiosParamCreator = PartnersApiAxiosParamCreator;
424
+ exports.PartnerApiAxiosParamCreator = PartnerApiAxiosParamCreator;
425
425
  /**
426
- * PartnersApi - functional programming interface
426
+ * PartnerApi - functional programming interface
427
427
  * @export
428
428
  */
429
- var PartnersApiFp = function (configuration) {
430
- var localVarAxiosParamCreator = (0, exports.PartnersApiAxiosParamCreator)(configuration);
429
+ var PartnerApiFp = function (configuration) {
430
+ var localVarAxiosParamCreator = (0, exports.PartnerApiAxiosParamCreator)(configuration);
431
431
  return {
432
432
  /**
433
433
  * This will create a partner.
@@ -499,11 +499,11 @@ var PartnersApiFp = function (configuration) {
499
499
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
500
500
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
501
501
  * @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.
502
- * @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;
502
+ * @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;
503
503
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
504
504
  * @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;
505
505
  * @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;
506
- * @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;
506
+ * @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;
507
507
  * @param {*} [options] Override http request option.
508
508
  * @throws {RequiredError}
509
509
  */
@@ -566,13 +566,13 @@ var PartnersApiFp = function (configuration) {
566
566
  },
567
567
  };
568
568
  };
569
- exports.PartnersApiFp = PartnersApiFp;
569
+ exports.PartnerApiFp = PartnerApiFp;
570
570
  /**
571
- * PartnersApi - factory interface
571
+ * PartnerApi - factory interface
572
572
  * @export
573
573
  */
574
- var PartnersApiFactory = function (configuration, basePath, axios) {
575
- var localVarFp = (0, exports.PartnersApiFp)(configuration);
574
+ var PartnerApiFactory = function (configuration, basePath, axios) {
575
+ var localVarFp = (0, exports.PartnerApiFp)(configuration);
576
576
  return {
577
577
  /**
578
578
  * This will create a partner.
@@ -614,11 +614,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
614
614
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
615
615
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
616
616
  * @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.
617
- * @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;
617
+ * @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;
618
618
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
619
619
  * @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;
620
620
  * @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;
621
- * @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;
621
+ * @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;
622
622
  * @param {*} [options] Override http request option.
623
623
  * @throws {RequiredError}
624
624
  */
@@ -651,91 +651,91 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
651
651
  },
652
652
  };
653
653
  };
654
- exports.PartnersApiFactory = PartnersApiFactory;
654
+ exports.PartnerApiFactory = PartnerApiFactory;
655
655
  /**
656
- * PartnersApi - object-oriented interface
656
+ * PartnerApi - object-oriented interface
657
657
  * @export
658
- * @class PartnersApi
658
+ * @class PartnerApi
659
659
  * @extends {BaseAPI}
660
660
  */
661
- var PartnersApi = /** @class */ (function (_super) {
662
- __extends(PartnersApi, _super);
663
- function PartnersApi() {
661
+ var PartnerApi = /** @class */ (function (_super) {
662
+ __extends(PartnerApi, _super);
663
+ function PartnerApi() {
664
664
  return _super !== null && _super.apply(this, arguments) || this;
665
665
  }
666
666
  /**
667
667
  * This will create a partner.
668
668
  * @summary Create the partner
669
- * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
669
+ * @param {PartnerApiCreatePartnerRequest} requestParameters Request parameters.
670
670
  * @param {*} [options] Override http request option.
671
671
  * @throws {RequiredError}
672
- * @memberof PartnersApi
672
+ * @memberof PartnerApi
673
673
  */
674
- PartnersApi.prototype.createPartner = function (requestParameters, options) {
674
+ PartnerApi.prototype.createPartner = function (requestParameters, options) {
675
675
  var _this = this;
676
- return (0, exports.PartnersApiFp)(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
676
+ return (0, exports.PartnerApiFp)(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
677
677
  };
678
678
  /**
679
679
  * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
680
680
  * @summary Delete the partner
681
- * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
681
+ * @param {PartnerApiDeletePartnerRequest} requestParameters Request parameters.
682
682
  * @param {*} [options] Override http request option.
683
683
  * @throws {RequiredError}
684
- * @memberof PartnersApi
684
+ * @memberof PartnerApi
685
685
  */
686
- PartnersApi.prototype.deletePartner = function (requestParameters, options) {
686
+ PartnerApi.prototype.deletePartner = function (requestParameters, options) {
687
687
  var _this = this;
688
- return (0, exports.PartnersApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
688
+ return (0, exports.PartnerApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
689
689
  };
690
690
  /**
691
691
  * 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.
692
692
  * @summary Retrieve the partner
693
- * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
693
+ * @param {PartnerApiGetPartnerRequest} requestParameters Request parameters.
694
694
  * @param {*} [options] Override http request option.
695
695
  * @throws {RequiredError}
696
- * @memberof PartnersApi
696
+ * @memberof PartnerApi
697
697
  */
698
- PartnersApi.prototype.getPartner = function (requestParameters, options) {
698
+ PartnerApi.prototype.getPartner = function (requestParameters, options) {
699
699
  var _this = this;
700
- return (0, exports.PartnersApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
700
+ return (0, exports.PartnerApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
701
701
  };
702
702
  /**
703
703
  * 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.
704
704
  * @summary List partners
705
- * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
705
+ * @param {PartnerApiListPartnersRequest} requestParameters Request parameters.
706
706
  * @param {*} [options] Override http request option.
707
707
  * @throws {RequiredError}
708
- * @memberof PartnersApi
708
+ * @memberof PartnerApi
709
709
  */
710
- PartnersApi.prototype.listPartners = function (requestParameters, options) {
710
+ PartnerApi.prototype.listPartners = function (requestParameters, options) {
711
711
  var _this = this;
712
712
  if (requestParameters === void 0) { requestParameters = {}; }
713
- 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); });
713
+ 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); });
714
714
  };
715
715
  /**
716
716
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
717
717
  * @summary Update the partner
718
- * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
718
+ * @param {PartnerApiTagPartnerRequest} requestParameters Request parameters.
719
719
  * @param {*} [options] Override http request option.
720
720
  * @throws {RequiredError}
721
- * @memberof PartnersApi
721
+ * @memberof PartnerApi
722
722
  */
723
- PartnersApi.prototype.tagPartner = function (requestParameters, options) {
723
+ PartnerApi.prototype.tagPartner = function (requestParameters, options) {
724
724
  var _this = this;
725
- return (0, exports.PartnersApiFp)(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
725
+ return (0, exports.PartnerApiFp)(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
726
726
  };
727
727
  /**
728
728
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
729
729
  * @summary Update the partner
730
- * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
730
+ * @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
731
731
  * @param {*} [options] Override http request option.
732
732
  * @throws {RequiredError}
733
- * @memberof PartnersApi
733
+ * @memberof PartnerApi
734
734
  */
735
- PartnersApi.prototype.updatePartner = function (requestParameters, options) {
735
+ PartnerApi.prototype.updatePartner = function (requestParameters, options) {
736
736
  var _this = this;
737
- return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
737
+ return (0, exports.PartnerApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
738
738
  };
739
- return PartnersApi;
739
+ return PartnerApi;
740
740
  }(base_1.BaseAPI));
741
- exports.PartnersApi = PartnersApi;
741
+ exports.PartnerApi = PartnerApi;