@emilgroup/partner-sdk-node 1.4.0 → 1.5.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 (56) hide show
  1. package/README.md +38 -5
  2. package/api/default-api.ts +4 -0
  3. package/api/partner-relations-api.ts +12 -8
  4. package/api/partner-tags-api.ts +12 -8
  5. package/api/partner-types-api.ts +8 -4
  6. package/api/partner-version-api.ts +8 -4
  7. package/api/partners-api.ts +12 -8
  8. package/api.ts +4 -0
  9. package/base.ts +94 -65
  10. package/common.ts +1 -0
  11. package/configuration.ts +8 -0
  12. package/dist/api/default-api.js +5 -1
  13. package/dist/api/partner-relations-api.d.ts +8 -8
  14. package/dist/api/partner-relations-api.js +17 -13
  15. package/dist/api/partner-tags-api.d.ts +8 -8
  16. package/dist/api/partner-tags-api.js +16 -12
  17. package/dist/api/partner-types-api.d.ts +4 -4
  18. package/dist/api/partner-types-api.js +13 -9
  19. package/dist/api/partner-version-api.d.ts +4 -4
  20. package/dist/api/partner-version-api.js +9 -5
  21. package/dist/api/partners-api.d.ts +8 -8
  22. package/dist/api/partners-api.js +17 -13
  23. package/dist/base.d.ts +11 -8
  24. package/dist/base.js +138 -47
  25. package/dist/common.d.ts +1 -0
  26. package/dist/common.js +2 -1
  27. package/dist/configuration.d.ts +7 -0
  28. package/dist/models/create-partner-type-response-class.d.ts +1 -1
  29. package/dist/models/get-partner-type-response-class.d.ts +1 -1
  30. package/dist/models/get-partner-version-response-class.d.ts +3 -3
  31. package/dist/models/list-partner-relation-class.d.ts +1 -1
  32. package/dist/models/list-partner-relation-types-class.d.ts +1 -1
  33. package/dist/models/list-partner-types-response-class.d.ts +1 -1
  34. package/dist/models/list-partner-versions-response-class.d.ts +7 -1
  35. package/dist/models/list-partners-response-class.d.ts +1 -1
  36. package/dist/models/partner-class.d.ts +12 -6
  37. package/dist/models/partner-relation-class.d.ts +12 -0
  38. package/dist/models/partner-relation-type-class.d.ts +12 -0
  39. package/dist/models/partner-type-class.d.ts +12 -0
  40. package/dist/models/tag-class.d.ts +12 -0
  41. package/dist/models/update-partner-type-response-class.d.ts +1 -1
  42. package/models/create-partner-type-response-class.ts +1 -1
  43. package/models/get-partner-type-response-class.ts +1 -1
  44. package/models/get-partner-version-response-class.ts +3 -3
  45. package/models/list-partner-relation-class.ts +1 -1
  46. package/models/list-partner-relation-types-class.ts +1 -1
  47. package/models/list-partner-types-response-class.ts +1 -1
  48. package/models/list-partner-versions-response-class.ts +7 -1
  49. package/models/list-partners-response-class.ts +1 -1
  50. package/models/partner-class.ts +12 -6
  51. package/models/partner-relation-class.ts +12 -0
  52. package/models/partner-relation-type-class.ts +12 -0
  53. package/models/partner-type-class.ts +12 -0
  54. package/models/tag-class.ts +12 -0
  55. package/models/update-partner-type-response-class.ts +1 -1
  56. package/package.json +5 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Emil Partner SDK
2
2
 
3
- This TypeScript/JavaScript client utilizes [axios](https://github.com/axios/axios). The generated module can be used with client-based applications (i.e. React).
3
+ This TypeScript/JavaScript client utilizes [axios](https://github.com/axios/axios). The generated Node module can be used with Nodejs based applications.
4
4
 
5
5
  Language level
6
6
  * ES5 - you must have a Promises/A+ library installed
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/partner-sdk-node@1.4.0 --save
20
+ npm install @emilgroup/partner-sdk-node@1.5.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk-node@1.4.0
24
+ yarn add @emilgroup/partner-sdk-node@1.5.0
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
@@ -31,15 +31,48 @@ import { PartnersApi } from '@emilgroup/partner-sdk-node'
31
31
 
32
32
  const partnersApi = new PartnersApi();
33
33
  ```
34
+ ## Credentials
34
35
 
35
- To use authentication protected endpoints, you have to first authorize. To do so, use the `authorize` function in `PartnersApi`:
36
+ To use authentication protected endpoints, you have to first authorize. To do so, the easiest way is to provide a configuration file under `~/.emil/credentials` with the following content:
37
+
38
+ ```shell
39
+ emil_username=XXXXX@XXXX.XXX
40
+ emil_password=XXXXXXXXXXXXXX
41
+ ```
42
+
43
+ It is also possible to provide environment variables instead:
44
+
45
+ ```shell
46
+ export EMIL_USERNAME=XXXXX@XXXX.XXX
47
+ export EMIL_PASSWORD=XXXXXXXXXXXXXX
48
+ ```
49
+
50
+ ## Base path
51
+
52
+ To select the basic path for using the API, we can use two approaches. The first is to use one of the predefined environments, and the second is to specify the domain as a string.
53
+
54
+ ```ts
55
+ import { PartnersApi, Environment } from '@emilgroup/partner-sdk-node'
56
+
57
+ const partnersApi = new PartnersApi();
58
+
59
+ // Allows you to simply choose environment. It will usually be Environment.Production.
60
+ partnersApi.selectEnvironment(Environment.Production);
61
+
62
+ // For advanced users, use the custom baseUrl of the website you need to connect to.
63
+ partnersApi.selectBasePath('https://my-custom-domain.com');
64
+ ```
65
+
66
+ ## Example
67
+
68
+ Here is a basic functionning example:
36
69
 
37
70
  ```ts
38
71
  async function listPartners(): Promise<Void> {
39
72
  try {
40
73
  const partnersApi = new PartnersApi();
41
74
 
42
- await partnersApi.authorize('username', 'password');
75
+ await partnersApi.initialize(); // should be called only once per Api.
43
76
 
44
77
  const { data: { items } } = await partnersApi.listPartners();
45
78
 
@@ -24,6 +24,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
24
24
  import { InlineResponse200 } from '../models';
25
25
  // @ts-ignore
26
26
  import { InlineResponse503 } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
27
31
  /**
28
32
  * DefaultApi - axios parameter creator
29
33
  * @export
@@ -36,6 +36,10 @@ import { ListPartnerRelationClass } from '../models';
36
36
  import { ListPartnerRelationTypesClass } from '../models';
37
37
  // @ts-ignore
38
38
  import { UpdatePartnerRelationRequestDtoRest } from '../models';
39
+ // URLSearchParams not necessarily used
40
+ // @ts-ignore
41
+ import { URL, URLSearchParams } from 'url';
42
+ const FormData = require('form-data');
39
43
  /**
40
44
  * PartnerRelationsApi - axios parameter creator
41
45
  * @export
@@ -233,7 +237,7 @@ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Co
233
237
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality&lt;/i&gt;
234
238
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
235
239
  * @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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt&lt;/i&gt;
236
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
240
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
237
241
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality&lt;/i&gt;
238
242
  * @param {*} [options] Override http request option.
239
243
  * @throws {RequiredError}
@@ -309,7 +313,7 @@ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Co
309
313
  * @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId&lt;/i&gt;
310
314
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
311
315
  * @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt&lt;/i&gt;
312
- * @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: partnerRelationType.&lt;i&gt;
316
+ * @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: partnerRelationType&lt;i&gt;
313
317
  * @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId&lt;/i&gt;
314
318
  * @param {*} [options] Override http request option.
315
319
  * @throws {RequiredError}
@@ -494,7 +498,7 @@ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
494
498
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality&lt;/i&gt;
495
499
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
496
500
  * @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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt&lt;/i&gt;
497
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
501
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
498
502
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality&lt;/i&gt;
499
503
  * @param {*} [options] Override http request option.
500
504
  * @throws {RequiredError}
@@ -512,7 +516,7 @@ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
512
516
  * @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId&lt;/i&gt;
513
517
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
514
518
  * @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt&lt;/i&gt;
515
- * @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: partnerRelationType.&lt;i&gt;
519
+ * @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: partnerRelationType&lt;i&gt;
516
520
  * @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId&lt;/i&gt;
517
521
  * @param {*} [options] Override http request option.
518
522
  * @throws {RequiredError}
@@ -597,7 +601,7 @@ export const PartnerRelationsApiFactory = function (configuration?: Configuratio
597
601
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality&lt;/i&gt;
598
602
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
599
603
  * @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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt&lt;/i&gt;
600
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
604
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
601
605
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality&lt;/i&gt;
602
606
  * @param {*} [options] Override http request option.
603
607
  * @throws {RequiredError}
@@ -614,7 +618,7 @@ export const PartnerRelationsApiFactory = function (configuration?: Configuratio
614
618
  * @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId&lt;/i&gt;
615
619
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
616
620
  * @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt&lt;/i&gt;
617
- * @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: partnerRelationType.&lt;i&gt;
621
+ * @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: partnerRelationType&lt;i&gt;
618
622
  * @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId&lt;/i&gt;
619
623
  * @param {*} [options] Override http request option.
620
624
  * @throws {RequiredError}
@@ -770,7 +774,7 @@ export interface PartnerRelationsApiListPartnerRelationTypesRequest {
770
774
  readonly order?: string
771
775
 
772
776
  /**
773
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
777
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
774
778
  * @type {string}
775
779
  * @memberof PartnerRelationsApiListPartnerRelationTypes
776
780
  */
@@ -833,7 +837,7 @@ export interface PartnerRelationsApiListPartnerRelationsRequest {
833
837
  readonly order?: string
834
838
 
835
839
  /**
836
- * 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: partnerRelationType.&lt;i&gt;
840
+ * 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: partnerRelationType&lt;i&gt;
837
841
  * @type {string}
838
842
  * @memberof PartnerRelationsApiListPartnerRelations
839
843
  */
@@ -32,6 +32,10 @@ import { GetTagResponseClass } from '../models';
32
32
  import { ListTagsResponseClass } from '../models';
33
33
  // @ts-ignore
34
34
  import { UpdateTagResponseClass } from '../models';
35
+ // URLSearchParams not necessarily used
36
+ // @ts-ignore
37
+ import { URL, URLSearchParams } from 'url';
38
+ const FormData = require('form-data');
35
39
  /**
36
40
  * PartnerTagsApi - axios parameter creator
37
41
  * @export
@@ -131,7 +135,7 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
131
135
  };
132
136
  },
133
137
  /**
134
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
138
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
135
139
  * @summary Retrieve the partner tag
136
140
  * @param {string} code Unique identifier for the object.
137
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -184,7 +188,7 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
184
188
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
185
189
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
186
190
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label, createdAt, updatedAt&lt;/i&gt;
187
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
191
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
188
192
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
189
193
  * @param {*} [options] Override http request option.
190
194
  * @throws {RequiredError}
@@ -331,7 +335,7 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
331
335
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
332
336
  },
333
337
  /**
334
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
338
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
335
339
  * @summary Retrieve the partner tag
336
340
  * @param {string} code Unique identifier for the object.
337
341
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -351,7 +355,7 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
351
355
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
352
356
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
353
357
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label, createdAt, updatedAt&lt;/i&gt;
354
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
358
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
355
359
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
356
360
  * @param {*} [options] Override http request option.
357
361
  * @throws {RequiredError}
@@ -405,7 +409,7 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
405
409
  return localVarFp.deleteTag(code, authorization, options).then((request) => request(axios, basePath));
406
410
  },
407
411
  /**
408
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
412
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
409
413
  * @summary Retrieve the partner tag
410
414
  * @param {string} code Unique identifier for the object.
411
415
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -424,7 +428,7 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
424
428
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
425
429
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
426
430
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label, createdAt, updatedAt&lt;/i&gt;
427
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
431
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
428
432
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
429
433
  * @param {*} [options] Override http request option.
430
434
  * @throws {RequiredError}
@@ -558,7 +562,7 @@ export interface PartnerTagsApiListTagsRequest {
558
562
  readonly order?: string
559
563
 
560
564
  /**
561
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
565
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
562
566
  * @type {string}
563
567
  * @memberof PartnerTagsApiListTags
564
568
  */
@@ -625,7 +629,7 @@ export class PartnerTagsApi extends BaseAPI {
625
629
  }
626
630
 
627
631
  /**
628
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
632
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
629
633
  * @summary Retrieve the partner tag
630
634
  * @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
631
635
  * @param {*} [options] Override http request option.
@@ -34,6 +34,10 @@ import { ListPartnerTypesResponseClass } from '../models';
34
34
  import { UpdatePartnerTypeRequestDto } from '../models';
35
35
  // @ts-ignore
36
36
  import { UpdatePartnerTypeResponseClass } from '../models';
37
+ // URLSearchParams not necessarily used
38
+ // @ts-ignore
39
+ import { URL, URLSearchParams } from 'url';
40
+ const FormData = require('form-data');
37
41
  /**
38
42
  * PartnerTypesApi - axios parameter creator
39
43
  * @export
@@ -133,7 +137,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
133
137
  };
134
138
  },
135
139
  /**
136
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
140
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
137
141
  * @summary Retrieve the partner-types
138
142
  * @param {string} code Unique identifier for the object.
139
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -344,7 +348,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
344
348
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
349
  },
346
350
  /**
347
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
351
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
348
352
  * @summary Retrieve the partner-types
349
353
  * @param {string} code Unique identifier for the object.
350
354
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -420,7 +424,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
420
424
  return localVarFp.deletePartnerType(code, authorization, options).then((request) => request(axios, basePath));
421
425
  },
422
426
  /**
423
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
427
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
424
428
  * @summary Retrieve the partner-types
425
429
  * @param {string} code Unique identifier for the object.
426
430
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -656,7 +660,7 @@ export class PartnerTypesApi extends BaseAPI {
656
660
  }
657
661
 
658
662
  /**
659
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
663
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
660
664
  * @summary Retrieve the partner-types
661
665
  * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
662
666
  * @param {*} [options] Override http request option.
@@ -24,6 +24,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
24
24
  import { GetPartnerVersionResponseClass } from '../models';
25
25
  // @ts-ignore
26
26
  import { ListPartnerVersionsResponseClass } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
27
31
  /**
28
32
  * PartnerVersionApi - axios parameter creator
29
33
  * @export
@@ -89,7 +93,7 @@ export const PartnerVersionApiAxiosParamCreator = function (configuration?: Conf
89
93
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
90
94
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
91
95
  * @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: displayName, createdAt, updatedAt, version&lt;/i&gt;
92
- * @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.&lt;i&gt;
96
+ * @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&lt;i&gt;
93
97
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
94
98
  * @param {*} [options] Override http request option.
95
99
  * @throws {RequiredError}
@@ -192,7 +196,7 @@ export const PartnerVersionApiFp = function(configuration?: Configuration) {
192
196
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
193
197
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
194
198
  * @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: displayName, createdAt, updatedAt, version&lt;/i&gt;
195
- * @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.&lt;i&gt;
199
+ * @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&lt;i&gt;
196
200
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
197
201
  * @param {*} [options] Override http request option.
198
202
  * @throws {RequiredError}
@@ -233,7 +237,7 @@ export const PartnerVersionApiFactory = function (configuration?: Configuration,
233
237
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
234
238
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
235
239
  * @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: displayName, createdAt, updatedAt, version&lt;/i&gt;
236
- * @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.&lt;i&gt;
240
+ * @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&lt;i&gt;
237
241
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, version, displayName, updatedAt, updatedBy&lt;/i&gt;
238
242
  * @param {*} [options] Override http request option.
239
243
  * @throws {RequiredError}
@@ -328,7 +332,7 @@ export interface PartnerVersionApiListPartnerVersionRequest {
328
332
  readonly order?: string
329
333
 
330
334
  /**
331
- * 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.&lt;i&gt;
335
+ * 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&lt;i&gt;
332
336
  * @type {string}
333
337
  * @memberof PartnerVersionApiListPartnerVersion
334
338
  */
@@ -36,6 +36,10 @@ import { TagPartnerRequestDtoRest } from '../models';
36
36
  import { UpdatePartnerRequestDto } from '../models';
37
37
  // @ts-ignore
38
38
  import { UpdatePartnerResponseClass } from '../models';
39
+ // URLSearchParams not necessarily used
40
+ // @ts-ignore
41
+ import { URL, URLSearchParams } from 'url';
42
+ const FormData = require('form-data');
39
43
  /**
40
44
  * PartnersApi - axios parameter creator
41
45
  * @export
@@ -135,7 +139,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
135
139
  };
136
140
  },
137
141
  /**
138
- * 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.
142
+ * 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.
139
143
  * @summary Retrieve the partner
140
144
  * @param {string} code Unique identifier for the object.
141
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -193,7 +197,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
193
197
  * @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;
194
198
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
195
199
  * @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;
196
- * @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;
200
+ * @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;
197
201
  * @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;
198
202
  * @param {*} [options] Override http request option.
199
203
  * @throws {RequiredError}
@@ -397,7 +401,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
397
401
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
398
402
  },
399
403
  /**
400
- * 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.
404
+ * 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.
401
405
  * @summary Retrieve the partner
402
406
  * @param {string} code Unique identifier for the object.
403
407
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -418,7 +422,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
418
422
  * @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;
419
423
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
420
424
  * @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;
421
- * @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;
425
+ * @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;
422
426
  * @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;
423
427
  * @param {*} [options] Override http request option.
424
428
  * @throws {RequiredError}
@@ -486,7 +490,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
486
490
  return localVarFp.deletePartner(code, authorization, options).then((request) => request(axios, basePath));
487
491
  },
488
492
  /**
489
- * 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.
493
+ * 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.
490
494
  * @summary Retrieve the partner
491
495
  * @param {string} code Unique identifier for the object.
492
496
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -506,7 +510,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
506
510
  * @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
511
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
508
512
  * @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
- * @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;
513
+ * @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
514
  * @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
515
  * @param {*} [options] Override http request option.
512
516
  * @throws {RequiredError}
@@ -660,7 +664,7 @@ export interface PartnersApiListPartnersRequest {
660
664
  readonly order?: string
661
665
 
662
666
  /**
663
- * 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;
667
+ * 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;
664
668
  * @type {string}
665
669
  * @memberof PartnersApiListPartners
666
670
  */
@@ -762,7 +766,7 @@ export class PartnersApi extends BaseAPI {
762
766
  }
763
767
 
764
768
  /**
765
- * 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.
769
+ * 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.
766
770
  * @summary Retrieve the partner
767
771
  * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
768
772
  * @param {*} [options] Override http request option.
package/api.ts CHANGED
@@ -15,6 +15,10 @@
15
15
 
16
16
  import { Configuration } from './configuration';
17
17
  import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
18
+ // URLSearchParams not necessarily used
19
+ // @ts-ignore
20
+ import { URL, URLSearchParams } from 'url';
21
+ import FormData from 'form-data'
18
22
  // Some imports not used depending on template conditions
19
23
  // @ts-ignore
20
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';