@equisoft/account-service-sdk-typescript 3.8.0 → 3.9.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 (224) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/OAuthApi.d.ts +5 -5
  5. package/dist/apis/OAuthApi.js +1 -1
  6. package/dist/apis/OrganizationApi.d.ts +37 -37
  7. package/dist/apis/OrganizationApi.js +1 -1
  8. package/dist/apis/PermissionApi.d.ts +3 -3
  9. package/dist/apis/PermissionApi.js +1 -1
  10. package/dist/apis/RoleApi.d.ts +3 -3
  11. package/dist/apis/RoleApi.js +1 -1
  12. package/dist/apis/ServiceAccountApi.d.ts +17 -17
  13. package/dist/apis/ServiceAccountApi.js +2 -2
  14. package/dist/apis/SessionApi.d.ts +25 -25
  15. package/dist/apis/SessionApi.js +1 -1
  16. package/dist/apis/UserApi.d.ts +33 -33
  17. package/dist/apis/UserApi.js +2 -2
  18. package/dist/models/ApplyPermissionsPayload.d.ts +2 -2
  19. package/dist/models/ApplyPermissionsPayload.js +4 -4
  20. package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +4 -4
  21. package/dist/models/CreateOrUpdateOAuthClientPayload.js +4 -4
  22. package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +2 -2
  23. package/dist/models/CreateOrUpdateOrganizationPayload.js +4 -4
  24. package/dist/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
  25. package/dist/models/CreateOrUpdatePermissionPayload.js +4 -4
  26. package/dist/models/CreateOrganizationPayload.d.ts +2 -2
  27. package/dist/models/CreateOrganizationPayload.js +4 -4
  28. package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +1 -1
  29. package/dist/models/CreateOrganizationUserServiceOptionPayload.js +1 -1
  30. package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
  31. package/dist/models/CreateOrganizationUserServicePayload.js +1 -1
  32. package/dist/models/CreateRole.d.ts +2 -2
  33. package/dist/models/CreateRole.js +4 -4
  34. package/dist/models/DatabaseState.d.ts +8 -8
  35. package/dist/models/DatabaseState.js +7 -9
  36. package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +1 -1
  37. package/dist/models/EnableEquisoftConnectPayloadSchema.js +1 -1
  38. package/dist/models/ErrorMessage.d.ts +17 -17
  39. package/dist/models/ErrorMessage.js +16 -18
  40. package/dist/models/ErrorPayload.d.ts +2 -2
  41. package/dist/models/ErrorPayload.js +4 -4
  42. package/dist/models/Id.d.ts +1 -1
  43. package/dist/models/Id.js +1 -1
  44. package/dist/models/ImpersonatePayload.d.ts +1 -1
  45. package/dist/models/ImpersonatePayload.js +1 -1
  46. package/dist/models/LegacyRoleSchema.d.ts +2 -2
  47. package/dist/models/LegacyRoleSchema.js +4 -4
  48. package/dist/models/ListOrganizationElement.d.ts +4 -2
  49. package/dist/models/ListOrganizationElement.js +10 -8
  50. package/dist/models/ListUserOrganizations.d.ts +2 -2
  51. package/dist/models/ListUserOrganizations.js +4 -4
  52. package/dist/models/LocalizedString.d.ts +1 -1
  53. package/dist/models/LocalizedString.js +1 -1
  54. package/dist/models/OAuthClient.d.ts +4 -4
  55. package/dist/models/OAuthClient.js +4 -4
  56. package/dist/models/OAuthClientCreated.d.ts +1 -1
  57. package/dist/models/OAuthClientCreated.js +1 -1
  58. package/dist/models/OAuthClientPublicKey.d.ts +1 -1
  59. package/dist/models/OAuthClientPublicKey.js +1 -1
  60. package/dist/models/Organization.d.ts +4 -2
  61. package/dist/models/Organization.js +10 -8
  62. package/dist/models/OrganizationCreated.d.ts +1 -1
  63. package/dist/models/OrganizationCreated.js +1 -1
  64. package/dist/models/OrganizationPathElement.d.ts +2 -2
  65. package/dist/models/OrganizationPathElement.js +4 -4
  66. package/dist/models/OrganizationRoleAttribution.d.ts +3 -2
  67. package/dist/models/OrganizationRoleAttribution.js +7 -6
  68. package/dist/models/OrganizationRoleAttributionPermission.d.ts +2 -2
  69. package/dist/models/OrganizationRoleAttributionPermission.js +4 -4
  70. package/dist/models/OrganizationRoleAttributionRole.d.ts +3 -2
  71. package/dist/models/OrganizationRoleAttributionRole.js +7 -6
  72. package/dist/models/OrganizationRoleAttributions.d.ts +2 -2
  73. package/dist/models/OrganizationRoleAttributions.js +4 -4
  74. package/dist/models/OrganizationServicesElement.d.ts +1 -1
  75. package/dist/models/OrganizationServicesElement.js +1 -1
  76. package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
  77. package/dist/models/OrganizationUserServiceAssociation.js +1 -1
  78. package/dist/models/PermissionCode.d.ts +1 -1
  79. package/dist/models/PermissionCode.js +1 -1
  80. package/dist/models/PermissionCreated.d.ts +1 -1
  81. package/dist/models/PermissionCreated.js +1 -1
  82. package/dist/models/PermissionList.d.ts +2 -2
  83. package/dist/models/PermissionList.js +4 -4
  84. package/dist/models/PermissionResourceType.d.ts +6 -6
  85. package/dist/models/PermissionResourceType.js +5 -7
  86. package/dist/models/Role.d.ts +2 -2
  87. package/dist/models/Role.js +4 -4
  88. package/dist/models/RoleCreated.d.ts +2 -2
  89. package/dist/models/RoleCreated.js +4 -4
  90. package/dist/models/RolesOnOrganization.d.ts +5 -2
  91. package/dist/models/RolesOnOrganization.js +13 -10
  92. package/dist/models/ServiceAccess.d.ts +3 -2
  93. package/dist/models/ServiceAccess.js +7 -6
  94. package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
  95. package/dist/models/ServiceAccountCreationSchema.js +1 -1
  96. package/dist/models/ServiceAccountSchema.d.ts +2 -2
  97. package/dist/models/ServiceAccountSchema.js +4 -4
  98. package/dist/models/ServiceAccountStatus.d.ts +7 -7
  99. package/dist/models/ServiceAccountStatus.js +6 -8
  100. package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
  101. package/dist/models/ServiceAccountUpdateSchema.js +1 -1
  102. package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
  103. package/dist/models/ServiceAccountUuidSchema.js +1 -1
  104. package/dist/models/ServiceName.d.ts +9 -9
  105. package/dist/models/ServiceName.js +8 -10
  106. package/dist/models/Session.d.ts +4 -2
  107. package/dist/models/Session.js +12 -10
  108. package/dist/models/SessionPayload.d.ts +2 -2
  109. package/dist/models/SessionPayload.js +4 -4
  110. package/dist/models/SessionState.d.ts +9 -9
  111. package/dist/models/SessionState.js +8 -10
  112. package/dist/models/SsoProvider.d.ts +1 -1
  113. package/dist/models/SsoProvider.js +1 -1
  114. package/dist/models/SsoToken.d.ts +1 -1
  115. package/dist/models/SsoToken.js +1 -1
  116. package/dist/models/UpdateParentOrganizationPayload.d.ts +1 -1
  117. package/dist/models/UpdateParentOrganizationPayload.js +1 -1
  118. package/dist/models/UpdateUserAccountPayload.d.ts +1 -1
  119. package/dist/models/UpdateUserAccountPayload.js +1 -1
  120. package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
  121. package/dist/models/UpdateUserAccountSsoPayload.js +1 -1
  122. package/dist/models/UpsertServicePayload.d.ts +1 -1
  123. package/dist/models/UpsertServicePayload.js +1 -1
  124. package/dist/models/User.d.ts +6 -2
  125. package/dist/models/User.js +18 -14
  126. package/dist/models/UserAccountOrganizationRoles.d.ts +3 -2
  127. package/dist/models/UserAccountOrganizationRoles.js +7 -6
  128. package/dist/models/UserAccountPermission.d.ts +2 -2
  129. package/dist/models/UserAccountPermission.js +4 -4
  130. package/dist/models/UserAccountRole.d.ts +2 -2
  131. package/dist/models/UserAccountRole.js +4 -4
  132. package/dist/models/UserAccountRoleAttributions.d.ts +2 -2
  133. package/dist/models/UserAccountRoleAttributions.js +4 -4
  134. package/dist/models/UserAccountSearchResult.d.ts +6 -2
  135. package/dist/models/UserAccountSearchResult.js +18 -14
  136. package/dist/models/UserAgreement.d.ts +2 -2
  137. package/dist/models/UserAgreement.js +4 -4
  138. package/dist/models/UserAgreementState.d.ts +6 -6
  139. package/dist/models/UserAgreementState.js +5 -7
  140. package/dist/models/UserPermissions.d.ts +3 -2
  141. package/dist/models/UserPermissions.js +7 -6
  142. package/dist/models/UserServiceAssociation.d.ts +1 -1
  143. package/dist/models/UserServiceAssociation.js +1 -1
  144. package/dist/models/UserSsoProvider.d.ts +1 -1
  145. package/dist/models/UserSsoProvider.js +1 -1
  146. package/dist/models/UserState.d.ts +7 -7
  147. package/dist/models/UserState.js +6 -8
  148. package/dist/runtime.d.ts +46 -29
  149. package/dist/runtime.js +117 -79
  150. package/package.json +1 -1
  151. package/src/apis/OAuthApi.ts +5 -5
  152. package/src/apis/OrganizationApi.ts +37 -37
  153. package/src/apis/PermissionApi.ts +3 -3
  154. package/src/apis/RoleApi.ts +3 -3
  155. package/src/apis/ServiceAccountApi.ts +17 -17
  156. package/src/apis/SessionApi.ts +25 -25
  157. package/src/apis/UserApi.ts +33 -33
  158. package/src/models/ApplyPermissionsPayload.ts +2 -3
  159. package/src/models/CreateOrUpdateOAuthClientPayload.ts +4 -5
  160. package/src/models/CreateOrUpdateOrganizationPayload.ts +2 -3
  161. package/src/models/CreateOrUpdatePermissionPayload.ts +2 -3
  162. package/src/models/CreateOrganizationPayload.ts +2 -3
  163. package/src/models/CreateOrganizationUserServiceOptionPayload.ts +1 -2
  164. package/src/models/CreateOrganizationUserServicePayload.ts +1 -2
  165. package/src/models/CreateRole.ts +2 -3
  166. package/src/models/DatabaseState.ts +10 -8
  167. package/src/models/EnableEquisoftConnectPayloadSchema.ts +1 -2
  168. package/src/models/ErrorMessage.ts +19 -17
  169. package/src/models/ErrorPayload.ts +2 -3
  170. package/src/models/Id.ts +1 -2
  171. package/src/models/ImpersonatePayload.ts +1 -2
  172. package/src/models/LegacyRoleSchema.ts +2 -3
  173. package/src/models/ListOrganizationElement.ts +6 -3
  174. package/src/models/ListUserOrganizations.ts +2 -3
  175. package/src/models/LocalizedString.ts +1 -2
  176. package/src/models/OAuthClient.ts +4 -5
  177. package/src/models/OAuthClientCreated.ts +1 -2
  178. package/src/models/OAuthClientPublicKey.ts +1 -2
  179. package/src/models/Organization.ts +6 -3
  180. package/src/models/OrganizationCreated.ts +1 -2
  181. package/src/models/OrganizationPathElement.ts +2 -3
  182. package/src/models/OrganizationRoleAttribution.ts +4 -3
  183. package/src/models/OrganizationRoleAttributionPermission.ts +2 -3
  184. package/src/models/OrganizationRoleAttributionRole.ts +4 -3
  185. package/src/models/OrganizationRoleAttributions.ts +2 -3
  186. package/src/models/OrganizationServicesElement.ts +1 -2
  187. package/src/models/OrganizationUserServiceAssociation.ts +1 -2
  188. package/src/models/PermissionCode.ts +1 -2
  189. package/src/models/PermissionCreated.ts +1 -2
  190. package/src/models/PermissionList.ts +2 -3
  191. package/src/models/PermissionResourceType.ts +8 -6
  192. package/src/models/Role.ts +2 -3
  193. package/src/models/RoleCreated.ts +2 -3
  194. package/src/models/RolesOnOrganization.ts +8 -3
  195. package/src/models/ServiceAccess.ts +4 -3
  196. package/src/models/ServiceAccountCreationSchema.ts +1 -2
  197. package/src/models/ServiceAccountSchema.ts +2 -3
  198. package/src/models/ServiceAccountStatus.ts +9 -7
  199. package/src/models/ServiceAccountUpdateSchema.ts +1 -2
  200. package/src/models/ServiceAccountUuidSchema.ts +1 -2
  201. package/src/models/ServiceName.ts +11 -9
  202. package/src/models/Session.ts +6 -3
  203. package/src/models/SessionPayload.ts +2 -3
  204. package/src/models/SessionState.ts +11 -9
  205. package/src/models/SsoProvider.ts +1 -2
  206. package/src/models/SsoToken.ts +1 -2
  207. package/src/models/UpdateParentOrganizationPayload.ts +1 -2
  208. package/src/models/UpdateUserAccountPayload.ts +1 -2
  209. package/src/models/UpdateUserAccountSsoPayload.ts +1 -2
  210. package/src/models/UpsertServicePayload.ts +1 -2
  211. package/src/models/User.ts +10 -3
  212. package/src/models/UserAccountOrganizationRoles.ts +4 -3
  213. package/src/models/UserAccountPermission.ts +2 -3
  214. package/src/models/UserAccountRole.ts +2 -3
  215. package/src/models/UserAccountRoleAttributions.ts +2 -3
  216. package/src/models/UserAccountSearchResult.ts +10 -3
  217. package/src/models/UserAgreement.ts +2 -3
  218. package/src/models/UserAgreementState.ts +8 -6
  219. package/src/models/UserPermissions.ts +4 -3
  220. package/src/models/UserServiceAssociation.ts +1 -2
  221. package/src/models/UserSsoProvider.ts +1 -2
  222. package/src/models/UserState.ts +9 -7
  223. package/src/runtime.ts +145 -96
  224. package/tsconfig.esm.json +7 -0
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  LocalizedStringFromJSON,
19
19
  LocalizedStringFromJSONTyped,
20
20
  LocalizedStringToJSON,
21
- } from './';
21
+ } from './LocalizedString';
22
22
 
23
23
  /**
24
24
  * created role schema
@@ -77,4 +77,3 @@ export function RoleCreatedToJSON(value?: RoleCreated | null): any {
77
77
  };
78
78
  }
79
79
 
80
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,19 +18,25 @@ import {
18
18
  LocalizedStringFromJSON,
19
19
  LocalizedStringFromJSONTyped,
20
20
  LocalizedStringToJSON,
21
+ } from './LocalizedString';
22
+ import {
21
23
  OrganizationPathElement,
22
24
  OrganizationPathElementFromJSON,
23
25
  OrganizationPathElementFromJSONTyped,
24
26
  OrganizationPathElementToJSON,
27
+ } from './OrganizationPathElement';
28
+ import {
25
29
  UserAccountPermission,
26
30
  UserAccountPermissionFromJSON,
27
31
  UserAccountPermissionFromJSONTyped,
28
32
  UserAccountPermissionToJSON,
33
+ } from './UserAccountPermission';
34
+ import {
29
35
  UserAccountRole,
30
36
  UserAccountRoleFromJSON,
31
37
  UserAccountRoleFromJSONTyped,
32
38
  UserAccountRoleToJSON,
33
- } from './';
39
+ } from './UserAccountRole';
34
40
 
35
41
  /**
36
42
  *
@@ -105,4 +111,3 @@ export function RolesOnOrganizationToJSON(value?: RolesOnOrganization | null): a
105
111
  };
106
112
  }
107
113
 
108
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,11 +18,13 @@ import {
18
18
  DatabaseStateFromJSON,
19
19
  DatabaseStateFromJSONTyped,
20
20
  DatabaseStateToJSON,
21
+ } from './DatabaseState';
22
+ import {
21
23
  ServiceName,
22
24
  ServiceNameFromJSON,
23
25
  ServiceNameFromJSONTyped,
24
26
  ServiceNameToJSON,
25
- } from './';
27
+ } from './ServiceName';
26
28
 
27
29
  /**
28
30
  *
@@ -105,4 +107,3 @@ export function ServiceAccessToJSON(value?: ServiceAccess | null): any {
105
107
  };
106
108
  }
107
109
 
108
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -70,4 +70,3 @@ export function ServiceAccountCreationSchemaToJSON(value?: ServiceAccountCreatio
70
70
  };
71
71
  }
72
72
 
73
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  ServiceAccountStatusFromJSON,
19
19
  ServiceAccountStatusFromJSONTyped,
20
20
  ServiceAccountStatusToJSON,
21
- } from './';
21
+ } from './ServiceAccountStatus';
22
22
 
23
23
  /**
24
24
  * Represents a service account
@@ -109,4 +109,3 @@ export function ServiceAccountSchemaToJSON(value?: ServiceAccountSchema | null):
109
109
  };
110
110
  }
111
111
 
112
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,16 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum ServiceAccountStatus {
21
- ENABLED = 'ENABLED',
22
- DISABLED = 'DISABLED',
23
- DELETED = 'DELETED'
24
- }
20
+ export const ServiceAccountStatus = {
21
+ ENABLED: 'ENABLED',
22
+ DISABLED: 'DISABLED',
23
+ DELETED: 'DELETED'
24
+ } as const;
25
+ export type ServiceAccountStatus = typeof ServiceAccountStatus[keyof typeof ServiceAccountStatus];
26
+
25
27
 
26
28
  export function ServiceAccountStatusFromJSON(json: any): ServiceAccountStatus {
27
29
  return ServiceAccountStatusFromJSONTyped(json, false);
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,3 @@ export function ServiceAccountUpdateSchemaToJSON(value?: ServiceAccountUpdateSch
62
62
  };
63
63
  }
64
64
 
65
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,4 +54,3 @@ export function ServiceAccountUuidSchemaToJSON(value?: ServiceAccountUuidSchema
54
54
  };
55
55
  }
56
56
 
57
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,18 +12,20 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum ServiceName {
21
- EQUISOFT_CONNECT = 'EQUISOFT_CONNECT',
22
- EQUISOFT_PLAN = 'EQUISOFT_PLAN',
23
- EQUISOFT_ANALYZE_FOR_ADVISORS = 'EQUISOFT_ANALYZE_FOR_ADVISORS',
24
- CPANEL = 'CPANEL',
25
- CPANEL2 = 'CPANEL2'
26
- }
20
+ export const ServiceName = {
21
+ EQUISOFT_CONNECT: 'EQUISOFT_CONNECT',
22
+ EQUISOFT_PLAN: 'EQUISOFT_PLAN',
23
+ EQUISOFT_ANALYZE_FOR_ADVISORS: 'EQUISOFT_ANALYZE_FOR_ADVISORS',
24
+ CPANEL: 'CPANEL',
25
+ CPANEL2: 'CPANEL2'
26
+ } as const;
27
+ export type ServiceName = typeof ServiceName[keyof typeof ServiceName];
28
+
27
29
 
28
30
  export function ServiceNameFromJSON(json: any): ServiceName {
29
31
  return ServiceNameFromJSONTyped(json, false);
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,15 +18,19 @@ import {
18
18
  SessionStateFromJSON,
19
19
  SessionStateFromJSONTyped,
20
20
  SessionStateToJSON,
21
+ } from './SessionState';
22
+ import {
21
23
  SsoProvider,
22
24
  SsoProviderFromJSON,
23
25
  SsoProviderFromJSONTyped,
24
26
  SsoProviderToJSON,
27
+ } from './SsoProvider';
28
+ import {
25
29
  User,
26
30
  UserFromJSON,
27
31
  UserFromJSONTyped,
28
32
  UserToJSON,
29
- } from './';
33
+ } from './User';
30
34
 
31
35
  /**
32
36
  *
@@ -149,4 +153,3 @@ export function SessionToJSON(value?: Session | null): any {
149
153
  };
150
154
  }
151
155
 
152
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  SsoProviderFromJSON,
19
19
  SsoProviderFromJSONTyped,
20
20
  SsoProviderToJSON,
21
- } from './';
21
+ } from './SsoProvider';
22
22
 
23
23
  /**
24
24
  * Data needed for the creation of a user session.
@@ -101,4 +101,3 @@ export function SessionPayloadToJSON(value?: SessionPayload | null): any {
101
101
  };
102
102
  }
103
103
 
104
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  * States:
17
18
  * * `NEW` - Session creation is not finished. It can't be used by consumer.
@@ -20,15 +21,16 @@
20
21
  * * `EXPIRED` - Session is expired.
21
22
  * * `DELETED` - Session exists but is soft-deleted (Not implemented yet).
22
23
  * @export
23
- * @enum {string}
24
24
  */
25
- export enum SessionState {
26
- NEW = 'NEW',
27
- ENABLED = 'ENABLED',
28
- SUSPENDED = 'SUSPENDED',
29
- EXPIRED = 'EXPIRED',
30
- DELETED = 'DELETED'
31
- }
25
+ export const SessionState = {
26
+ NEW: 'NEW',
27
+ ENABLED: 'ENABLED',
28
+ SUSPENDED: 'SUSPENDED',
29
+ EXPIRED: 'EXPIRED',
30
+ DELETED: 'DELETED'
31
+ } as const;
32
+ export type SessionState = typeof SessionState[keyof typeof SessionState];
33
+
32
34
 
33
35
  export function SessionStateFromJSON(json: any): SessionState {
34
36
  return SessionStateFromJSONTyped(json, false);
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,3 @@ export function SsoProviderToJSON(value?: SsoProvider | null): any {
62
62
  };
63
63
  }
64
64
 
65
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,3 @@ export function SsoTokenToJSON(value?: SsoToken | null): any {
62
62
  };
63
63
  }
64
64
 
65
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,4 +54,3 @@ export function UpdateParentOrganizationPayloadToJSON(value?: UpdateParentOrgani
54
54
  };
55
55
  }
56
56
 
57
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -86,4 +86,3 @@ export function UpdateUserAccountPayloadToJSON(value?: UpdateUserAccountPayload
86
86
  };
87
87
  }
88
88
 
89
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,3 @@ export function UpdateUserAccountSsoPayloadToJSON(value?: UpdateUserAccountSsoPa
62
62
  };
63
63
  }
64
64
 
65
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,4 +54,3 @@ export function UpsertServicePayloadToJSON(value?: UpsertServicePayload | null):
54
54
  };
55
55
  }
56
56
 
57
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,23 +18,31 @@ import {
18
18
  ServiceAccessFromJSON,
19
19
  ServiceAccessFromJSONTyped,
20
20
  ServiceAccessToJSON,
21
+ } from './ServiceAccess';
22
+ import {
21
23
  UserAgreement,
22
24
  UserAgreementFromJSON,
23
25
  UserAgreementFromJSONTyped,
24
26
  UserAgreementToJSON,
27
+ } from './UserAgreement';
28
+ import {
25
29
  UserServiceAssociation,
26
30
  UserServiceAssociationFromJSON,
27
31
  UserServiceAssociationFromJSONTyped,
28
32
  UserServiceAssociationToJSON,
33
+ } from './UserServiceAssociation';
34
+ import {
29
35
  UserSsoProvider,
30
36
  UserSsoProviderFromJSON,
31
37
  UserSsoProviderFromJSONTyped,
32
38
  UserSsoProviderToJSON,
39
+ } from './UserSsoProvider';
40
+ import {
33
41
  UserState,
34
42
  UserStateFromJSON,
35
43
  UserStateFromJSONTyped,
36
44
  UserStateToJSON,
37
- } from './';
45
+ } from './UserState';
38
46
 
39
47
  /**
40
48
  *
@@ -253,4 +261,3 @@ export function UserToJSON(value?: User | null): any {
253
261
  };
254
262
  }
255
263
 
256
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,11 +18,13 @@ import {
18
18
  LocalizedStringFromJSON,
19
19
  LocalizedStringFromJSONTyped,
20
20
  LocalizedStringToJSON,
21
+ } from './LocalizedString';
22
+ import {
21
23
  UserAccountRole,
22
24
  UserAccountRoleFromJSON,
23
25
  UserAccountRoleFromJSONTyped,
24
26
  UserAccountRoleToJSON,
25
- } from './';
27
+ } from './UserAccountRole';
26
28
 
27
29
  /**
28
30
  *
@@ -81,4 +83,3 @@ export function UserAccountOrganizationRolesToJSON(value?: UserAccountOrganizati
81
83
  };
82
84
  }
83
85
 
84
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  LocalizedStringFromJSON,
19
19
  LocalizedStringFromJSONTyped,
20
20
  LocalizedStringToJSON,
21
- } from './';
21
+ } from './LocalizedString';
22
22
 
23
23
  /**
24
24
  *
@@ -69,4 +69,3 @@ export function UserAccountPermissionToJSON(value?: UserAccountPermission | null
69
69
  };
70
70
  }
71
71
 
72
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  LocalizedStringFromJSON,
19
19
  LocalizedStringFromJSONTyped,
20
20
  LocalizedStringToJSON,
21
- } from './';
21
+ } from './LocalizedString';
22
22
 
23
23
  /**
24
24
  *
@@ -69,4 +69,3 @@ export function UserAccountRoleToJSON(value?: UserAccountRole | null): any {
69
69
  };
70
70
  }
71
71
 
72
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  UserAccountOrganizationRolesFromJSON,
19
19
  UserAccountOrganizationRolesFromJSONTyped,
20
20
  UserAccountOrganizationRolesToJSON,
21
- } from './';
21
+ } from './UserAccountOrganizationRoles';
22
22
 
23
23
  /**
24
24
  *
@@ -61,4 +61,3 @@ export function UserAccountRoleAttributionsToJSON(value?: UserAccountRoleAttribu
61
61
  };
62
62
  }
63
63
 
64
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,23 +18,31 @@ import {
18
18
  ServiceAccessFromJSON,
19
19
  ServiceAccessFromJSONTyped,
20
20
  ServiceAccessToJSON,
21
+ } from './ServiceAccess';
22
+ import {
21
23
  UserAgreement,
22
24
  UserAgreementFromJSON,
23
25
  UserAgreementFromJSONTyped,
24
26
  UserAgreementToJSON,
27
+ } from './UserAgreement';
28
+ import {
25
29
  UserServiceAssociation,
26
30
  UserServiceAssociationFromJSON,
27
31
  UserServiceAssociationFromJSONTyped,
28
32
  UserServiceAssociationToJSON,
33
+ } from './UserServiceAssociation';
34
+ import {
29
35
  UserSsoProvider,
30
36
  UserSsoProviderFromJSON,
31
37
  UserSsoProviderFromJSONTyped,
32
38
  UserSsoProviderToJSON,
39
+ } from './UserSsoProvider';
40
+ import {
33
41
  UserState,
34
42
  UserStateFromJSON,
35
43
  UserStateFromJSONTyped,
36
44
  UserStateToJSON,
37
- } from './';
45
+ } from './UserState';
38
46
 
39
47
  /**
40
48
  * The list of user accounts that matched the search.
@@ -253,4 +261,3 @@ export function UserAccountSearchResultToJSON(value?: UserAccountSearchResult |
253
261
  };
254
262
  }
255
263
 
256
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import {
18
18
  UserAgreementStateFromJSON,
19
19
  UserAgreementStateFromJSONTyped,
20
20
  UserAgreementStateToJSON,
21
- } from './';
21
+ } from './UserAgreementState';
22
22
 
23
23
  /**
24
24
  *
@@ -61,4 +61,3 @@ export function UserAgreementToJSON(value?: UserAgreement | null): any {
61
61
  };
62
62
  }
63
63
 
64
-
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,17 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  * States:
17
18
  * * `ACCEPTED` - User agreement and term of use accepted by user.
18
19
  * * `REQUESTED` - User has yet to approve user agreements.
19
20
  * @export
20
- * @enum {string}
21
21
  */
22
- export enum UserAgreementState {
23
- ACCEPTED = 'ACCEPTED',
24
- REQUESTED = 'REQUESTED'
25
- }
22
+ export const UserAgreementState = {
23
+ ACCEPTED: 'ACCEPTED',
24
+ REQUESTED: 'REQUESTED'
25
+ } as const;
26
+ export type UserAgreementState = typeof UserAgreementState[keyof typeof UserAgreementState];
27
+
26
28
 
27
29
  export function UserAgreementStateFromJSON(json: any): UserAgreementState {
28
30
  return UserAgreementStateFromJSONTyped(json, false);