@emilgroup/account-sdk 1.0.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 (58) hide show
  1. package/.openapi-generator/FILES +24 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +52 -0
  5. package/api/accounts-api.ts +527 -0
  6. package/api.ts +32 -0
  7. package/base.ts +182 -0
  8. package/common.ts +138 -0
  9. package/configuration.ts +109 -0
  10. package/dist/api/accounts-api.d.ts +255 -0
  11. package/dist/api/accounts-api.js +637 -0
  12. package/dist/api.d.ts +16 -0
  13. package/dist/api.js +36 -0
  14. package/dist/base.d.ts +68 -0
  15. package/dist/base.js +243 -0
  16. package/dist/common.d.ts +65 -0
  17. package/dist/common.js +243 -0
  18. package/dist/configuration.d.ts +90 -0
  19. package/dist/configuration.js +44 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.js +35 -0
  22. package/dist/models/account-class.d.ts +132 -0
  23. package/dist/models/account-class.js +15 -0
  24. package/dist/models/create-account-request-dto.d.ts +102 -0
  25. package/dist/models/create-account-request-dto.js +21 -0
  26. package/dist/models/create-account-response-class.d.ts +25 -0
  27. package/dist/models/create-account-response-class.js +15 -0
  28. package/dist/models/delete-request-dto.d.ts +24 -0
  29. package/dist/models/delete-request-dto.js +15 -0
  30. package/dist/models/get-account-request-dto.d.ts +30 -0
  31. package/dist/models/get-account-request-dto.js +15 -0
  32. package/dist/models/get-account-response-class.d.ts +25 -0
  33. package/dist/models/get-account-response-class.js +15 -0
  34. package/dist/models/index.d.ts +10 -0
  35. package/dist/models/index.js +26 -0
  36. package/dist/models/list-accounts-response-class.d.ts +31 -0
  37. package/dist/models/list-accounts-response-class.js +15 -0
  38. package/dist/models/register-policy-request-dto.d.ts +36 -0
  39. package/dist/models/register-policy-request-dto.js +15 -0
  40. package/dist/models/update-account-request-dto.d.ts +108 -0
  41. package/dist/models/update-account-request-dto.js +21 -0
  42. package/dist/models/update-account-response-class.d.ts +25 -0
  43. package/dist/models/update-account-response-class.js +15 -0
  44. package/git_push.sh +57 -0
  45. package/index.ts +19 -0
  46. package/models/account-class.ts +138 -0
  47. package/models/create-account-request-dto.ts +111 -0
  48. package/models/create-account-response-class.ts +31 -0
  49. package/models/delete-request-dto.ts +30 -0
  50. package/models/get-account-request-dto.ts +36 -0
  51. package/models/get-account-response-class.ts +31 -0
  52. package/models/index.ts +10 -0
  53. package/models/list-accounts-response-class.ts +37 -0
  54. package/models/register-policy-request-dto.ts +42 -0
  55. package/models/update-account-request-dto.ts +117 -0
  56. package/models/update-account-response-class.ts +31 -0
  57. package/package.json +27 -0
  58. package/tsconfig.json +21 -0
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService 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
+ import { AccountClass } from './account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListAccountsResponseClass
17
+ */
18
+ export interface ListAccountsResponseClass {
19
+ /**
20
+ * The list of accounts.
21
+ * @type {Array<AccountClass>}
22
+ * @memberof ListAccountsResponseClass
23
+ */
24
+ 'items': Array<AccountClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListAccountsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountService
6
+ * The EMIL AccountService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService 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 RegisterPolicyRequestDto
16
+ */
17
+ export interface RegisterPolicyRequestDto {
18
+ /**
19
+ * The account\'s code
20
+ * @type {string}
21
+ * @memberof RegisterPolicyRequestDto
22
+ */
23
+ 'accountCode': string;
24
+ /**
25
+ * The policy code that will be registered to the current account
26
+ * @type {string}
27
+ * @memberof RegisterPolicyRequestDto
28
+ */
29
+ 'policyCode': string;
30
+ /**
31
+ * The policy number that will be registered to the current account
32
+ * @type {string}
33
+ * @memberof RegisterPolicyRequestDto
34
+ */
35
+ 'policyNumber': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountService
6
+ * The EMIL AccountService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,108 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService 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 UpdateAccountRequestDto
16
+ */
17
+ export interface UpdateAccountRequestDto {
18
+ /**
19
+ * The account\'s first name.
20
+ * @type {string}
21
+ * @memberof UpdateAccountRequestDto
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * The account\'s last name.
26
+ * @type {string}
27
+ * @memberof UpdateAccountRequestDto
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * The account\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
32
+ * @type {string}
33
+ * @memberof UpdateAccountRequestDto
34
+ */
35
+ 'email': string;
36
+ /**
37
+ * The account\'s gender.
38
+ * @type {string}
39
+ * @memberof UpdateAccountRequestDto
40
+ */
41
+ 'gender': UpdateAccountRequestDtoGenderEnum;
42
+ /**
43
+ * The account\'s street name.
44
+ * @type {string}
45
+ * @memberof UpdateAccountRequestDto
46
+ */
47
+ 'street': string;
48
+ /**
49
+ * The account\'s ZIP or postal code.
50
+ * @type {string}
51
+ * @memberof UpdateAccountRequestDto
52
+ */
53
+ 'zipCode': string;
54
+ /**
55
+ * The account\'s city, district, suburb, town, or village.
56
+ * @type {string}
57
+ * @memberof UpdateAccountRequestDto
58
+ */
59
+ 'city': string;
60
+ /**
61
+ * The account\'s house number.
62
+ * @type {string}
63
+ * @memberof UpdateAccountRequestDto
64
+ */
65
+ 'houseNumber': string;
66
+ /**
67
+ * Account\'s birth date.
68
+ * @type {string}
69
+ * @memberof UpdateAccountRequestDto
70
+ */
71
+ 'birthDate': string;
72
+ /**
73
+ * The account\'s phone number.
74
+ * @type {string}
75
+ * @memberof UpdateAccountRequestDto
76
+ */
77
+ 'phone': string;
78
+ /**
79
+ * Optional field to enter your own account number.
80
+ * @type {string}
81
+ * @memberof UpdateAccountRequestDto
82
+ */
83
+ 'accountNumber'?: string;
84
+ /**
85
+ * Optional field to enter extra information.
86
+ * @type {object}
87
+ * @memberof UpdateAccountRequestDto
88
+ */
89
+ 'metadata'?: object;
90
+ /**
91
+ * Optional field to add predefined custom fields.
92
+ * @type {object}
93
+ * @memberof UpdateAccountRequestDto
94
+ */
95
+ 'customFields'?: object;
96
+ /**
97
+ * The account\'s code.
98
+ * @type {string}
99
+ * @memberof UpdateAccountRequestDto
100
+ */
101
+ 'code'?: string;
102
+ }
103
+ export declare const UpdateAccountRequestDtoGenderEnum: {
104
+ readonly Male: "male";
105
+ readonly Female: "female";
106
+ readonly Unspecified: "unspecified";
107
+ };
108
+ export declare type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountService
6
+ * The EMIL AccountService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UpdateAccountRequestDtoGenderEnum = void 0;
17
+ exports.UpdateAccountRequestDtoGenderEnum = {
18
+ Male: 'male',
19
+ Female: 'female',
20
+ Unspecified: 'unspecified'
21
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService 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
+ import { AccountClass } from './account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateAccountResponseClass
17
+ */
18
+ export interface UpdateAccountResponseClass {
19
+ /**
20
+ * The account response.
21
+ * @type {AccountClass}
22
+ * @memberof UpdateAccountResponseClass
23
+ */
24
+ 'account': AccountClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountService
6
+ * The EMIL AccountService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
package/git_push.sh ADDED
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="Emil"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="account-sdk"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
package/index.ts ADDED
@@ -0,0 +1,19 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService 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
+ export { BaseAPI } from "./base";
17
+ export * from "./api";
18
+ export * from "./configuration";
19
+ export * from "./models";
@@ -0,0 +1,138 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService 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 AccountClass
21
+ */
22
+ export interface AccountClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof AccountClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof AccountClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Optional field in order to use a specific account number.
37
+ * @type {string}
38
+ * @memberof AccountClass
39
+ */
40
+ 'accountNumber': string;
41
+ /**
42
+ * The account\'s first name.
43
+ * @type {string}
44
+ * @memberof AccountClass
45
+ */
46
+ 'firstName': string;
47
+ /**
48
+ * The account\'s last name.
49
+ * @type {string}
50
+ * @memberof AccountClass
51
+ */
52
+ 'lastName': string;
53
+ /**
54
+ * The account\'s email address, It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
55
+ * @type {string}
56
+ * @memberof AccountClass
57
+ */
58
+ 'email': string;
59
+ /**
60
+ * The account\'s gender.
61
+ * @type {string}
62
+ * @memberof AccountClass
63
+ */
64
+ 'gender': string;
65
+ /**
66
+ * The account\'s street name.
67
+ * @type {string}
68
+ * @memberof AccountClass
69
+ */
70
+ 'street': string;
71
+ /**
72
+ * The account\'s house number.
73
+ * @type {string}
74
+ * @memberof AccountClass
75
+ */
76
+ 'houseNumber': string;
77
+ /**
78
+ * The account\'s ZIP or postal code
79
+ * @type {string}
80
+ * @memberof AccountClass
81
+ */
82
+ 'zipCode': string;
83
+ /**
84
+ * The account\'s city, district, suburb, town, or village.
85
+ * @type {string}
86
+ * @memberof AccountClass
87
+ */
88
+ 'city': string;
89
+ /**
90
+ * The account\'s date of birth
91
+ * @type {string}
92
+ * @memberof AccountClass
93
+ */
94
+ 'birthDate': string;
95
+ /**
96
+ * The account\'s phone number.
97
+ * @type {string}
98
+ * @memberof AccountClass
99
+ */
100
+ 'phone': string;
101
+ /**
102
+ * The account\'s version.
103
+ * @type {number}
104
+ * @memberof AccountClass
105
+ */
106
+ 'version': number;
107
+ /**
108
+ * Time at which the object was created.
109
+ * @type {string}
110
+ * @memberof AccountClass
111
+ */
112
+ 'createdAt': string;
113
+ /**
114
+ * Time at which the object was updated.
115
+ * @type {string}
116
+ * @memberof AccountClass
117
+ */
118
+ 'updatedAt': string;
119
+ /**
120
+ * Policies linked to the account.
121
+ * @type {Array<string>}
122
+ * @memberof AccountClass
123
+ */
124
+ 'policies': Array<string>;
125
+ /**
126
+ * Optional field contain extra information
127
+ * @type {object}
128
+ * @memberof AccountClass
129
+ */
130
+ 'metadata': object;
131
+ /**
132
+ * Optional field contain custom fields
133
+ * @type {object}
134
+ * @memberof AccountClass
135
+ */
136
+ 'customFields': object;
137
+ }
138
+
@@ -0,0 +1,111 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService 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 CreateAccountRequestDto
21
+ */
22
+ export interface CreateAccountRequestDto {
23
+ /**
24
+ * The account\'s first name.
25
+ * @type {string}
26
+ * @memberof CreateAccountRequestDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * The account\'s last name.
31
+ * @type {string}
32
+ * @memberof CreateAccountRequestDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * The account\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
37
+ * @type {string}
38
+ * @memberof CreateAccountRequestDto
39
+ */
40
+ 'email': string;
41
+ /**
42
+ * The account\'s gender.
43
+ * @type {string}
44
+ * @memberof CreateAccountRequestDto
45
+ */
46
+ 'gender': CreateAccountRequestDtoGenderEnum;
47
+ /**
48
+ * The account\'s street name.
49
+ * @type {string}
50
+ * @memberof CreateAccountRequestDto
51
+ */
52
+ 'street': string;
53
+ /**
54
+ * The account\'s ZIP or postal code.
55
+ * @type {string}
56
+ * @memberof CreateAccountRequestDto
57
+ */
58
+ 'zipCode': string;
59
+ /**
60
+ * The account\'s city, district, suburb, town, or village.
61
+ * @type {string}
62
+ * @memberof CreateAccountRequestDto
63
+ */
64
+ 'city': string;
65
+ /**
66
+ * The account\'s house number.
67
+ * @type {string}
68
+ * @memberof CreateAccountRequestDto
69
+ */
70
+ 'houseNumber': string;
71
+ /**
72
+ * Account\'s birth date.
73
+ * @type {string}
74
+ * @memberof CreateAccountRequestDto
75
+ */
76
+ 'birthDate': string;
77
+ /**
78
+ * The account\'s phone number.
79
+ * @type {string}
80
+ * @memberof CreateAccountRequestDto
81
+ */
82
+ 'phone': string;
83
+ /**
84
+ * Optional field to enter your own account number.
85
+ * @type {string}
86
+ * @memberof CreateAccountRequestDto
87
+ */
88
+ 'accountNumber'?: string;
89
+ /**
90
+ * Optional field to enter extra information.
91
+ * @type {object}
92
+ * @memberof CreateAccountRequestDto
93
+ */
94
+ 'metadata'?: object;
95
+ /**
96
+ * Optional field to add predefined custom fields.
97
+ * @type {object}
98
+ * @memberof CreateAccountRequestDto
99
+ */
100
+ 'customFields'?: object;
101
+ }
102
+
103
+ export const CreateAccountRequestDtoGenderEnum = {
104
+ Male: 'male',
105
+ Female: 'female',
106
+ Unspecified: 'unspecified'
107
+ } as const;
108
+
109
+ export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
110
+
111
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService 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 { AccountClass } from './account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateAccountResponseClass
22
+ */
23
+ export interface CreateAccountResponseClass {
24
+ /**
25
+ * The account response.
26
+ * @type {AccountClass}
27
+ * @memberof CreateAccountResponseClass
28
+ */
29
+ 'account': AccountClass;
30
+ }
31
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService 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 DeleteRequestDto
21
+ */
22
+ export interface DeleteRequestDto {
23
+ /**
24
+ * Resource id
25
+ * @type {string}
26
+ * @memberof DeleteRequestDto
27
+ */
28
+ 'code': string;
29
+ }
30
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService 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 GetAccountRequestDto
21
+ */
22
+ export interface GetAccountRequestDto {
23
+ /**
24
+ * The account\'s code.
25
+ * @type {string}
26
+ * @memberof GetAccountRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * Use the expand query parameter when you need additional information. The expand query parameter increases the set of fields that appear in the response in addition to the default fields. Expanding resources reduces the number of API calls required to accomplish a task
31
+ * @type {string}
32
+ * @memberof GetAccountRequestDto
33
+ */
34
+ 'expand'?: string;
35
+ }
36
+