@emilgroup/partner-sdk 1.22.1-beta.14 → 1.22.1-beta.15

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 (64) hide show
  1. package/.openapi-generator/FILES +10 -1
  2. package/README.md +2 -2
  3. package/api/blacklist-api.ts +3 -3
  4. package/api/blacklist-reasons-api.ts +3 -3
  5. package/api/{default-api.ts → health-api.ts} +13 -13
  6. package/api/partner-hierarchy-types-api.ts +679 -0
  7. package/api.ts +4 -2
  8. package/base.ts +1 -0
  9. package/dist/api/blacklist-api.d.ts +4 -4
  10. package/dist/api/blacklist-reasons-api.d.ts +4 -4
  11. package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
  12. package/dist/api/{default-api.js → health-api.js} +22 -22
  13. package/dist/api/partner-hierarchy-types-api.d.ts +385 -0
  14. package/dist/api/partner-hierarchy-types-api.js +636 -0
  15. package/dist/api.d.ts +2 -1
  16. package/dist/api.js +2 -1
  17. package/dist/base.d.ts +2 -1
  18. package/dist/base.js +1 -0
  19. package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +30 -0
  20. package/dist/models/create-partner-hierarchy-type-request-dto.js +15 -0
  21. package/dist/models/create-partner-hierarchy-type-response-class.d.ts +25 -0
  22. package/dist/models/create-partner-hierarchy-type-response-class.js +15 -0
  23. package/dist/models/delete-by-code-response-class.d.ts +24 -0
  24. package/dist/models/delete-by-code-response-class.js +15 -0
  25. package/dist/models/get-partner-hierarchy-type-response-class.d.ts +25 -0
  26. package/dist/models/get-partner-hierarchy-type-response-class.js +15 -0
  27. package/dist/models/index.d.ts +8 -0
  28. package/dist/models/index.js +8 -0
  29. package/dist/models/list-blacklist-items-response-class.d.ts +12 -0
  30. package/dist/models/list-partner-hierarchy-types-response-class.d.ts +43 -0
  31. package/dist/models/list-partner-hierarchy-types-response-class.js +15 -0
  32. package/dist/models/list-partner-relation-class.d.ts +18 -6
  33. package/dist/models/list-partner-relation-types-class.d.ts +18 -6
  34. package/dist/models/list-partner-types-response-class.d.ts +18 -6
  35. package/dist/models/list-partner-versions-response-class.d.ts +18 -6
  36. package/dist/models/list-partners-response-class.d.ts +18 -6
  37. package/dist/models/list-related-partners-response-class.d.ts +18 -6
  38. package/dist/models/list-tags-response-class.d.ts +18 -6
  39. package/dist/models/partner-hierarchy-type-class.d.ts +66 -0
  40. package/dist/models/partner-hierarchy-type-class.js +15 -0
  41. package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
  42. package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +30 -0
  43. package/dist/models/update-partner-hierarchy-type-request-dto.js +15 -0
  44. package/dist/models/update-partner-hierarchy-type-response-class.d.ts +25 -0
  45. package/dist/models/update-partner-hierarchy-type-response-class.js +15 -0
  46. package/models/create-partner-hierarchy-type-request-dto.ts +36 -0
  47. package/models/create-partner-hierarchy-type-response-class.ts +31 -0
  48. package/models/delete-by-code-response-class.ts +30 -0
  49. package/models/get-partner-hierarchy-type-response-class.ts +31 -0
  50. package/models/index.ts +8 -0
  51. package/models/list-blacklist-items-response-class.ts +12 -0
  52. package/models/list-partner-hierarchy-types-response-class.ts +49 -0
  53. package/models/list-partner-relation-class.ts +18 -6
  54. package/models/list-partner-relation-types-class.ts +18 -6
  55. package/models/list-partner-types-response-class.ts +18 -6
  56. package/models/list-partner-versions-response-class.ts +18 -6
  57. package/models/list-partners-response-class.ts +18 -6
  58. package/models/list-related-partners-response-class.ts +18 -6
  59. package/models/list-tags-response-class.ts +18 -6
  60. package/models/partner-hierarchy-type-class.ts +72 -0
  61. package/models/update-blacklist-reason-status-request-dto.ts +1 -1
  62. package/models/update-partner-hierarchy-type-request-dto.ts +36 -0
  63. package/models/update-partner-hierarchy-type-response-class.ts +31 -0
  64. package/package.json +1 -1
@@ -5,7 +5,8 @@ README.md
5
5
  api.ts
6
6
  api/blacklist-api.ts
7
7
  api/blacklist-reasons-api.ts
8
- api/default-api.ts
8
+ api/health-api.ts
9
+ api/partner-hierarchy-types-api.ts
9
10
  api/partner-invitations-api.ts
10
11
  api/partner-relations-api.ts
11
12
  api/partner-tags-api.ts
@@ -25,6 +26,8 @@ models/create-blacklist-reason-request-dto.ts
25
26
  models/create-blacklist-reason-response-class.ts
26
27
  models/create-or-update-partner-from-account-request-dto.ts
27
28
  models/create-or-update-partner-from-account-response-class.ts
29
+ models/create-partner-hierarchy-type-request-dto.ts
30
+ models/create-partner-hierarchy-type-response-class.ts
28
31
  models/create-partner-relation-request-dto-rest.ts
29
32
  models/create-partner-relation-response-class.ts
30
33
  models/create-partner-request-dto.ts
@@ -33,9 +36,11 @@ models/create-partner-type-request-dto.ts
33
36
  models/create-partner-type-response-class.ts
34
37
  models/create-tag-request-dto.ts
35
38
  models/create-tag-response-class.ts
39
+ models/delete-by-code-response-class.ts
36
40
  models/delete-response-class.ts
37
41
  models/get-blacklist-item-response-class.ts
38
42
  models/get-blacklist-reason-response-class.ts
43
+ models/get-partner-hierarchy-type-response-class.ts
39
44
  models/get-partner-relation-class.ts
40
45
  models/get-partner-relation-type-class.ts
41
46
  models/get-partner-response-class.ts
@@ -52,6 +57,7 @@ models/invite-partner-to-eisrequest-dto.ts
52
57
  models/is-blacklisted-response-class.ts
53
58
  models/list-blacklist-items-response-class.ts
54
59
  models/list-blacklist-reasons-response-class.ts
60
+ models/list-partner-hierarchy-types-response-class.ts
55
61
  models/list-partner-relation-class.ts
56
62
  models/list-partner-relation-types-class.ts
57
63
  models/list-partner-types-response-class.ts
@@ -64,6 +70,7 @@ models/mapped-account-from-partner-class.ts
64
70
  models/merge-partners-request-dto.ts
65
71
  models/merge-partners-response-class.ts
66
72
  models/partner-class.ts
73
+ models/partner-hierarchy-type-class.ts
67
74
  models/partner-relation-class.ts
68
75
  models/partner-relation-type-class.ts
69
76
  models/partner-type-class.ts
@@ -76,6 +83,8 @@ models/tag-partner-request-dto-rest.ts
76
83
  models/update-blacklist-reason-request-dto.ts
77
84
  models/update-blacklist-reason-response-class.ts
78
85
  models/update-blacklist-reason-status-request-dto.ts
86
+ models/update-partner-hierarchy-type-request-dto.ts
87
+ models/update-partner-hierarchy-type-response-class.ts
79
88
  models/update-partner-relation-request-dto-rest.ts
80
89
  models/update-partner-request-dto.ts
81
90
  models/update-partner-response-class.ts
package/README.md CHANGED
@@ -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@1.22.1-beta.14 --save
20
+ npm install @emilgroup/partner-sdk@1.22.1-beta.15 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk@1.22.1-beta.14
24
+ yarn add @emilgroup/partner-sdk@1.22.1-beta.15
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
@@ -25,7 +25,7 @@ import { CreateBlacklistItemRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateBlacklistItemResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { DeleteResponseClass } from '../models';
28
+ import { DeleteByCodeResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { GetBlacklistItemResponseClass } from '../models';
31
31
  // @ts-ignore
@@ -326,7 +326,7 @@ export const BlacklistApiFp = function(configuration?: Configuration) {
326
326
  * @param {*} [options] Override http request option.
327
327
  * @throws {RequiredError}
328
328
  */
329
- async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
329
+ async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
330
330
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistItem(code, authorization, options);
331
331
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
332
332
  },
@@ -401,7 +401,7 @@ export const BlacklistApiFactory = function (configuration?: Configuration, base
401
401
  * @param {*} [options] Override http request option.
402
402
  * @throws {RequiredError}
403
403
  */
404
- deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
404
+ deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
405
405
  return localVarFp.deleteBlacklistItem(code, authorization, options).then((request) => request(axios, basePath));
406
406
  },
407
407
  /**
@@ -25,7 +25,7 @@ import { CreateBlacklistReasonRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateBlacklistReasonResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { DeleteResponseClass } from '../models';
28
+ import { DeleteByCodeResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { GetBlacklistReasonResponseClass } from '../models';
31
31
  // @ts-ignore
@@ -387,7 +387,7 @@ export const BlacklistReasonsApiFp = function(configuration?: Configuration) {
387
387
  * @param {*} [options] Override http request option.
388
388
  * @throws {RequiredError}
389
389
  */
390
- async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
390
+ async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
391
391
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistReason(code, authorization, options);
392
392
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
393
393
  },
@@ -476,7 +476,7 @@ export const BlacklistReasonsApiFactory = function (configuration?: Configuratio
476
476
  * @param {*} [options] Override http request option.
477
477
  * @throws {RequiredError}
478
478
  */
479
- deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
479
+ deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
480
480
  return localVarFp.deleteBlacklistReason(code, authorization, options).then((request) => request(axios, basePath));
481
481
  },
482
482
  /**
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
25
25
  // @ts-ignore
26
26
  import { InlineResponse503 } from '../models';
27
27
  /**
28
- * DefaultApi - axios parameter creator
28
+ * HealthApi - axios parameter creator
29
29
  * @export
30
30
  */
31
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
34
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -66,11 +66,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
66
66
  };
67
67
 
68
68
  /**
69
- * DefaultApi - functional programming interface
69
+ * HealthApi - functional programming interface
70
70
  * @export
71
71
  */
72
- export const DefaultApiFp = function(configuration?: Configuration) {
73
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
72
+ export const HealthApiFp = function(configuration?: Configuration) {
73
+ const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
74
74
  return {
75
75
  /**
76
76
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -86,11 +86,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
86
86
  };
87
87
 
88
88
  /**
89
- * DefaultApi - factory interface
89
+ * HealthApi - factory interface
90
90
  * @export
91
91
  */
92
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
- const localVarFp = DefaultApiFp(configuration)
92
+ export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
+ const localVarFp = HealthApiFp(configuration)
94
94
  return {
95
95
  /**
96
96
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -105,20 +105,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
105
105
  };
106
106
 
107
107
  /**
108
- * DefaultApi - object-oriented interface
108
+ * HealthApi - object-oriented interface
109
109
  * @export
110
- * @class DefaultApi
110
+ * @class HealthApi
111
111
  * @extends {BaseAPI}
112
112
  */
113
- export class DefaultApi extends BaseAPI {
113
+ export class HealthApi extends BaseAPI {
114
114
  /**
115
115
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
116
116
  * @summary Health Check
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
- * @memberof DefaultApi
119
+ * @memberof HealthApi
120
120
  */
121
121
  public check(options?: AxiosRequestConfig) {
122
- return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
122
+ return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
123
  }
124
124
  }