@emilgroup/customer-sdk-node 1.0.0 → 1.1.1

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 (38) hide show
  1. package/.openapi-generator/FILES +8 -4
  2. package/README.md +12 -12
  3. package/api/customers-api.ts +304 -114
  4. package/base.ts +57 -43
  5. package/dist/api/customers-api.d.ts +180 -76
  6. package/dist/api/customers-api.js +249 -89
  7. package/dist/base.d.ts +3 -0
  8. package/dist/base.js +75 -42
  9. package/dist/models/{login-request-dto.d.ts → authentication-result-class.d.ts} +8 -14
  10. package/dist/models/{invite-customer-request-dto.js → authentication-result-class.js} +0 -0
  11. package/dist/models/index.d.ts +8 -4
  12. package/dist/models/index.js +8 -4
  13. package/dist/models/initiate-auth-request-dto.d.ts +36 -0
  14. package/dist/models/{invite-customer-response-class.js → initiate-auth-request-dto.js} +0 -0
  15. package/dist/models/initiate-auth-response-class.d.ts +43 -0
  16. package/dist/models/{login-request-dto.js → initiate-auth-response-class.js} +0 -0
  17. package/dist/models/{invite-customer-request-dto.d.ts → invite-by-customer-request-dto.d.ts} +6 -6
  18. package/dist/models/{login-response-class.js → invite-by-customer-request-dto.js} +0 -0
  19. package/dist/models/invite-by-customer-response-class.d.ts +25 -0
  20. package/dist/models/invite-by-customer-response-class.js +15 -0
  21. package/dist/models/{invite-customer-response-class.d.ts → invite-by-tenant-response-class.d.ts} +3 -3
  22. package/dist/models/invite-by-tenant-response-class.js +15 -0
  23. package/dist/models/respond-to-auth-challenge-class.d.ts +43 -0
  24. package/dist/models/respond-to-auth-challenge-class.js +15 -0
  25. package/dist/models/respond-to-auth-challenge-request-dto.d.ts +42 -0
  26. package/dist/models/respond-to-auth-challenge-request-dto.js +15 -0
  27. package/models/{login-request-dto.ts → authentication-result-class.ts} +8 -14
  28. package/models/index.ts +8 -4
  29. package/models/initiate-auth-request-dto.ts +42 -0
  30. package/models/initiate-auth-response-class.ts +49 -0
  31. package/models/{invite-customer-request-dto.ts → invite-by-customer-request-dto.ts} +6 -6
  32. package/models/invite-by-customer-response-class.ts +31 -0
  33. package/models/{invite-customer-response-class.ts → invite-by-tenant-response-class.ts} +3 -3
  34. package/models/respond-to-auth-challenge-class.ts +49 -0
  35. package/models/respond-to-auth-challenge-request-dto.ts +48 -0
  36. package/package.json +1 -1
  37. package/dist/models/login-response-class.d.ts +0 -30
  38. package/models/login-response-class.ts +0 -36
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InitiateAuthRequestDto
21
+ */
22
+ export interface InitiateAuthRequestDto {
23
+ /**
24
+ * Auth flow for the authentication process
25
+ * @type {string}
26
+ * @memberof InitiateAuthRequestDto
27
+ */
28
+ 'authFlow': string;
29
+ /**
30
+ * Auth flow parameters for the authentication process
31
+ * @type {object}
32
+ * @memberof InitiateAuthRequestDto
33
+ */
34
+ 'authParameters'?: object;
35
+ /**
36
+ * Tenant slug
37
+ * @type {string}
38
+ * @memberof InitiateAuthRequestDto
39
+ */
40
+ 'tenantSlug': string;
41
+ }
42
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { AuthenticationResultClass } from './authentication-result-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface InitiateAuthResponseClass
22
+ */
23
+ export interface InitiateAuthResponseClass {
24
+ /**
25
+ * Authentication Result
26
+ * @type {AuthenticationResultClass}
27
+ * @memberof InitiateAuthResponseClass
28
+ */
29
+ 'authenticationResult': AuthenticationResultClass;
30
+ /**
31
+ * Challenge name
32
+ * @type {string}
33
+ * @memberof InitiateAuthResponseClass
34
+ */
35
+ 'challengeName': string;
36
+ /**
37
+ * MFA Challenge parameters
38
+ * @type {object}
39
+ * @memberof InitiateAuthResponseClass
40
+ */
41
+ 'challengeParameters': object;
42
+ /**
43
+ * session
44
+ * @type {string}
45
+ * @memberof InitiateAuthResponseClass
46
+ */
47
+ 'session': string;
48
+ }
49
+
@@ -17,20 +17,20 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface InviteCustomerRequestDto
20
+ * @interface InviteByCustomerRequestDto
21
21
  */
22
- export interface InviteCustomerRequestDto {
22
+ export interface InviteByCustomerRequestDto {
23
23
  /**
24
24
  * User\'s email address
25
25
  * @type {string}
26
- * @memberof InviteCustomerRequestDto
26
+ * @memberof InviteByCustomerRequestDto
27
27
  */
28
28
  'email': string;
29
29
  /**
30
- * Account code
30
+ * Tenant slug
31
31
  * @type {string}
32
- * @memberof InviteCustomerRequestDto
32
+ * @memberof InviteByCustomerRequestDto
33
33
  */
34
- 'accountCode'?: string;
34
+ 'tenantSlug': string;
35
35
  }
36
36
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { InviteClass } from './invite-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface InviteByCustomerResponseClass
22
+ */
23
+ export interface InviteByCustomerResponseClass {
24
+ /**
25
+ * invite
26
+ * @type {InviteClass}
27
+ * @memberof InviteByCustomerResponseClass
28
+ */
29
+ 'invite': InviteClass;
30
+ }
31
+
@@ -18,13 +18,13 @@ import { InviteClass } from './invite-class';
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface InviteCustomerResponseClass
21
+ * @interface InviteByTenantResponseClass
22
22
  */
23
- export interface InviteCustomerResponseClass {
23
+ export interface InviteByTenantResponseClass {
24
24
  /**
25
25
  * invite
26
26
  * @type {InviteClass}
27
- * @memberof InviteCustomerResponseClass
27
+ * @memberof InviteByTenantResponseClass
28
28
  */
29
29
  'invite': InviteClass;
30
30
  }
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { AuthenticationResultClass } from './authentication-result-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface RespondToAuthChallengeClass
22
+ */
23
+ export interface RespondToAuthChallengeClass {
24
+ /**
25
+ * Authentication Result
26
+ * @type {AuthenticationResultClass}
27
+ * @memberof RespondToAuthChallengeClass
28
+ */
29
+ 'authenticationResult': AuthenticationResultClass;
30
+ /**
31
+ * Challenge name
32
+ * @type {string}
33
+ * @memberof RespondToAuthChallengeClass
34
+ */
35
+ 'challengeName': string;
36
+ /**
37
+ * MFA Challenge
38
+ * @type {object}
39
+ * @memberof RespondToAuthChallengeClass
40
+ */
41
+ 'challengeParameters': object;
42
+ /**
43
+ * session
44
+ * @type {string}
45
+ * @memberof RespondToAuthChallengeClass
46
+ */
47
+ 'session': string;
48
+ }
49
+
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RespondToAuthChallengeRequestDto
21
+ */
22
+ export interface RespondToAuthChallengeRequestDto {
23
+ /**
24
+ * Auth flow for the authentication process
25
+ * @type {string}
26
+ * @memberof RespondToAuthChallengeRequestDto
27
+ */
28
+ 'session'?: string;
29
+ /**
30
+ * Responses for the challenges sent during last challenge
31
+ * @type {object}
32
+ * @memberof RespondToAuthChallengeRequestDto
33
+ */
34
+ 'challengeResponses'?: object;
35
+ /**
36
+ * Challenge name
37
+ * @type {string}
38
+ * @memberof RespondToAuthChallengeRequestDto
39
+ */
40
+ 'challengeName': string;
41
+ /**
42
+ * Tenant slug
43
+ * @type {string}
44
+ * @memberof RespondToAuthChallengeRequestDto
45
+ */
46
+ 'tenantSlug': string;
47
+ }
48
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,30 +0,0 @@
1
- /**
2
- * EMIL CustomerService
3
- * The EMIL CustomerService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface LoginResponseClass
16
- */
17
- export interface LoginResponseClass {
18
- /**
19
- * Access token containing identity information of the customer; needs to be sent as Authorization header for other customer api end points
20
- * @type {string}
21
- * @memberof LoginResponseClass
22
- */
23
- 'accessToken': string;
24
- /**
25
- * MFA Challenge
26
- * @type {object}
27
- * @memberof LoginResponseClass
28
- */
29
- 'mfaChallenge': object;
30
- }
@@ -1,36 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL CustomerService
5
- * The EMIL CustomerService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface LoginResponseClass
21
- */
22
- export interface LoginResponseClass {
23
- /**
24
- * Access token containing identity information of the customer; needs to be sent as Authorization header for other customer api end points
25
- * @type {string}
26
- * @memberof LoginResponseClass
27
- */
28
- 'accessToken': string;
29
- /**
30
- * MFA Challenge
31
- * @type {object}
32
- * @memberof LoginResponseClass
33
- */
34
- 'mfaChallenge': object;
35
- }
36
-