@equisoft/account-service-sdk-typescript 3.7.4-snapshot.20220615190058 → 3.8.1-snapshot.20220629125736

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
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,8 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ServiceAccessToJSON = exports.ServiceAccessFromJSONTyped = exports.ServiceAccessFromJSON = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const _1 = require("./");
18
+ const DatabaseState_1 = require("./DatabaseState");
19
+ const ServiceName_1 = require("./ServiceName");
19
20
  function ServiceAccessFromJSON(json) {
20
21
  return ServiceAccessFromJSONTyped(json, false);
21
22
  }
@@ -25,10 +26,10 @@ function ServiceAccessFromJSONTyped(json, ignoreDiscriminator) {
25
26
  return json;
26
27
  }
27
28
  return {
28
- 'serviceName': _1.ServiceNameFromJSON(json['serviceName']),
29
+ 'serviceName': ServiceName_1.ServiceNameFromJSON(json['serviceName']),
29
30
  'databaseId': !runtime_1.exists(json, 'databaseId') ? undefined : json['databaseId'],
30
31
  'databaseName': !runtime_1.exists(json, 'databaseName') ? undefined : json['databaseName'],
31
- 'databaseState': !runtime_1.exists(json, 'databaseState') ? undefined : _1.DatabaseStateFromJSON(json['databaseState']),
32
+ 'databaseState': !runtime_1.exists(json, 'databaseState') ? undefined : DatabaseState_1.DatabaseStateFromJSON(json['databaseState']),
32
33
  'userId': !runtime_1.exists(json, 'userId') ? undefined : json['userId'],
33
34
  'maxConcurrentAccess': !runtime_1.exists(json, 'maxConcurrentAccess') ? undefined : json['maxConcurrentAccess'],
34
35
  };
@@ -42,10 +43,10 @@ function ServiceAccessToJSON(value) {
42
43
  return null;
43
44
  }
44
45
  return {
45
- 'serviceName': _1.ServiceNameToJSON(value.serviceName),
46
+ 'serviceName': ServiceName_1.ServiceNameToJSON(value.serviceName),
46
47
  'databaseId': value.databaseId,
47
48
  'databaseName': value.databaseName,
48
- 'databaseState': _1.DatabaseStateToJSON(value.databaseState),
49
+ 'databaseState': DatabaseState_1.DatabaseStateToJSON(value.databaseState),
49
50
  'userId': value.userId,
50
51
  'maxConcurrentAccess': value.maxConcurrentAccess,
51
52
  };
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +2,14 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ServiceAccountStatus } from './';
12
+ import { ServiceAccountStatus } from './ServiceAccountStatus';
13
13
  /**
14
14
  * Represents a service account
15
15
  * @export
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ServiceAccountSchemaToJSON = exports.ServiceAccountSchemaFromJSONTyped = exports.ServiceAccountSchemaFromJSON = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const _1 = require("./");
18
+ const ServiceAccountStatus_1 = require("./ServiceAccountStatus");
19
19
  function ServiceAccountSchemaFromJSON(json) {
20
20
  return ServiceAccountSchemaFromJSONTyped(json, false);
21
21
  }
@@ -29,7 +29,7 @@ function ServiceAccountSchemaFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'name': json['name'],
30
30
  'clientId': json['clientId'],
31
31
  'displayName': json['displayName'],
32
- 'status': _1.ServiceAccountStatusFromJSON(json['status']),
32
+ 'status': ServiceAccountStatus_1.ServiceAccountStatusFromJSON(json['status']),
33
33
  'createdAt': (new Date(json['createdAt'])),
34
34
  'modifiedAt': !runtime_1.exists(json, 'modifiedAt') ? undefined : (json['modifiedAt'] === null ? null : new Date(json['modifiedAt'])),
35
35
  };
@@ -47,7 +47,7 @@ function ServiceAccountSchemaToJSON(value) {
47
47
  'name': value.name,
48
48
  'clientId': value.clientId,
49
49
  'displayName': value.displayName,
50
- 'status': _1.ServiceAccountStatusToJSON(value.status),
50
+ 'status': ServiceAccountStatus_1.ServiceAccountStatusToJSON(value.status),
51
51
  'createdAt': (value.createdAt.toISOString()),
52
52
  'modifiedAt': value.modifiedAt === undefined ? undefined : (value.modifiedAt === null ? null : value.modifiedAt.toISOString()),
53
53
  };
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,13 +12,13 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @enum {string}
16
15
  */
17
- export declare enum ServiceAccountStatus {
18
- ENABLED = "ENABLED",
19
- DISABLED = "DISABLED",
20
- DELETED = "DELETED"
21
- }
16
+ export declare const ServiceAccountStatus: {
17
+ readonly ENABLED: "ENABLED";
18
+ readonly DISABLED: "DISABLED";
19
+ readonly DELETED: "DELETED";
20
+ };
21
+ export declare type ServiceAccountStatus = typeof ServiceAccountStatus[keyof typeof ServiceAccountStatus];
22
22
  export declare function ServiceAccountStatusFromJSON(json: any): ServiceAccountStatus;
23
23
  export declare function ServiceAccountStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountStatus;
24
24
  export declare function ServiceAccountStatusToJSON(value?: ServiceAccountStatus | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,14 +17,12 @@ exports.ServiceAccountStatusToJSON = exports.ServiceAccountStatusFromJSONTyped =
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @enum {string}
21
20
  */
22
- var ServiceAccountStatus;
23
- (function (ServiceAccountStatus) {
24
- ServiceAccountStatus["ENABLED"] = "ENABLED";
25
- ServiceAccountStatus["DISABLED"] = "DISABLED";
26
- ServiceAccountStatus["DELETED"] = "DELETED";
27
- })(ServiceAccountStatus = exports.ServiceAccountStatus || (exports.ServiceAccountStatus = {}));
21
+ exports.ServiceAccountStatus = {
22
+ ENABLED: 'ENABLED',
23
+ DISABLED: 'DISABLED',
24
+ DELETED: 'DELETED'
25
+ };
28
26
  function ServiceAccountStatusFromJSON(json) {
29
27
  return ServiceAccountStatusFromJSONTyped(json, false);
30
28
  }
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,15 +12,15 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @enum {string}
16
15
  */
17
- export declare enum ServiceName {
18
- EQUISOFT_CONNECT = "EQUISOFT_CONNECT",
19
- EQUISOFT_PLAN = "EQUISOFT_PLAN",
20
- EQUISOFT_ANALYZE_FOR_ADVISORS = "EQUISOFT_ANALYZE_FOR_ADVISORS",
21
- CPANEL = "CPANEL",
22
- CPANEL2 = "CPANEL2"
23
- }
16
+ export declare const ServiceName: {
17
+ readonly EQUISOFT_CONNECT: "EQUISOFT_CONNECT";
18
+ readonly EQUISOFT_PLAN: "EQUISOFT_PLAN";
19
+ readonly EQUISOFT_ANALYZE_FOR_ADVISORS: "EQUISOFT_ANALYZE_FOR_ADVISORS";
20
+ readonly CPANEL: "CPANEL";
21
+ readonly CPANEL2: "CPANEL2";
22
+ };
23
+ export declare type ServiceName = typeof ServiceName[keyof typeof ServiceName];
24
24
  export declare function ServiceNameFromJSON(json: any): ServiceName;
25
25
  export declare function ServiceNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceName;
26
26
  export declare function ServiceNameToJSON(value?: ServiceName | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,16 +17,14 @@ exports.ServiceNameToJSON = exports.ServiceNameFromJSONTyped = exports.ServiceNa
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @enum {string}
21
20
  */
22
- var ServiceName;
23
- (function (ServiceName) {
24
- ServiceName["EQUISOFT_CONNECT"] = "EQUISOFT_CONNECT";
25
- ServiceName["EQUISOFT_PLAN"] = "EQUISOFT_PLAN";
26
- ServiceName["EQUISOFT_ANALYZE_FOR_ADVISORS"] = "EQUISOFT_ANALYZE_FOR_ADVISORS";
27
- ServiceName["CPANEL"] = "CPANEL";
28
- ServiceName["CPANEL2"] = "CPANEL2";
29
- })(ServiceName = exports.ServiceName || (exports.ServiceName = {}));
21
+ exports.ServiceName = {
22
+ EQUISOFT_CONNECT: 'EQUISOFT_CONNECT',
23
+ EQUISOFT_PLAN: 'EQUISOFT_PLAN',
24
+ EQUISOFT_ANALYZE_FOR_ADVISORS: 'EQUISOFT_ANALYZE_FOR_ADVISORS',
25
+ CPANEL: 'CPANEL',
26
+ CPANEL2: 'CPANEL2'
27
+ };
30
28
  function ServiceNameFromJSON(json) {
31
29
  return ServiceNameFromJSONTyped(json, false);
32
30
  }
@@ -2,14 +2,16 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SessionState, SsoProvider, User } from './';
12
+ import { SessionState } from './SessionState';
13
+ import { SsoProvider } from './SsoProvider';
14
+ import { User } from './User';
13
15
  /**
14
16
  *
15
17
  * @export
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,9 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SessionToJSON = exports.SessionFromJSONTyped = exports.SessionFromJSON = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const _1 = require("./");
18
+ const SessionState_1 = require("./SessionState");
19
+ const SsoProvider_1 = require("./SsoProvider");
20
+ const User_1 = require("./User");
19
21
  function SessionFromJSON(json) {
20
22
  return SessionFromJSONTyped(json, false);
21
23
  }
@@ -26,14 +28,14 @@ function SessionFromJSONTyped(json, ignoreDiscriminator) {
26
28
  }
27
29
  return {
28
30
  'sessionId': json['sessionId'],
29
- 'state': _1.SessionStateFromJSON(json['state']),
31
+ 'state': SessionState_1.SessionStateFromJSON(json['state']),
30
32
  'created': (new Date(json['created'])),
31
33
  'suspend': (new Date(json['suspend'])),
32
34
  'expire': (new Date(json['expire'])),
33
35
  'cookieDomain': !runtime_1.exists(json, 'cookieDomain') ? undefined : json['cookieDomain'],
34
- 'user': _1.UserFromJSON(json['user']),
35
- 'actor': !runtime_1.exists(json, 'actor') ? undefined : _1.UserFromJSON(json['actor']),
36
- 'sso': !runtime_1.exists(json, 'sso') ? undefined : _1.SsoProviderFromJSON(json['sso']),
36
+ 'user': User_1.UserFromJSON(json['user']),
37
+ 'actor': !runtime_1.exists(json, 'actor') ? undefined : User_1.UserFromJSON(json['actor']),
38
+ 'sso': !runtime_1.exists(json, 'sso') ? undefined : SsoProvider_1.SsoProviderFromJSON(json['sso']),
37
39
  'enabledForEquisoftConnect': json['enabledForEquisoftConnect'],
38
40
  'mobile': json['mobile'],
39
41
  };
@@ -48,14 +50,14 @@ function SessionToJSON(value) {
48
50
  }
49
51
  return {
50
52
  'sessionId': value.sessionId,
51
- 'state': _1.SessionStateToJSON(value.state),
53
+ 'state': SessionState_1.SessionStateToJSON(value.state),
52
54
  'created': (value.created.toISOString()),
53
55
  'suspend': (value.suspend.toISOString()),
54
56
  'expire': (value.expire.toISOString()),
55
57
  'cookieDomain': value.cookieDomain,
56
- 'user': _1.UserToJSON(value.user),
57
- 'actor': _1.UserToJSON(value.actor),
58
- 'sso': _1.SsoProviderToJSON(value.sso),
58
+ 'user': User_1.UserToJSON(value.user),
59
+ 'actor': User_1.UserToJSON(value.actor),
60
+ 'sso': SsoProvider_1.SsoProviderToJSON(value.sso),
59
61
  'enabledForEquisoftConnect': value.enabledForEquisoftConnect,
60
62
  'mobile': value.mobile,
61
63
  };
@@ -2,14 +2,14 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SsoProvider } from './';
12
+ import { SsoProvider } from './SsoProvider';
13
13
  /**
14
14
  * Data needed for the creation of a user session.
15
15
  * @export
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SessionPayloadToJSON = exports.SessionPayloadFromJSONTyped = exports.SessionPayloadFromJSON = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const _1 = require("./");
18
+ const SsoProvider_1 = require("./SsoProvider");
19
19
  function SessionPayloadFromJSON(json) {
20
20
  return SessionPayloadFromJSONTyped(json, false);
21
21
  }
@@ -27,7 +27,7 @@ function SessionPayloadFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'userUuid': json['userUuid'],
29
29
  'enable': json['enable'],
30
- 'sso': !runtime_1.exists(json, 'sso') ? undefined : _1.SsoProviderFromJSON(json['sso']),
30
+ 'sso': !runtime_1.exists(json, 'sso') ? undefined : SsoProvider_1.SsoProviderFromJSON(json['sso']),
31
31
  'publicComputer': !runtime_1.exists(json, 'publicComputer') ? undefined : json['publicComputer'],
32
32
  'mobileDevice': !runtime_1.exists(json, 'mobileDevice') ? undefined : json['mobileDevice'],
33
33
  'cookieDomain': !runtime_1.exists(json, 'cookieDomain') ? undefined : json['cookieDomain'],
@@ -44,7 +44,7 @@ function SessionPayloadToJSON(value) {
44
44
  return {
45
45
  'userUuid': value.userUuid,
46
46
  'enable': value.enable,
47
- 'sso': _1.SsoProviderToJSON(value.sso),
47
+ 'sso': SsoProvider_1.SsoProviderToJSON(value.sso),
48
48
  'publicComputer': value.publicComputer,
49
49
  'mobileDevice': value.mobileDevice,
50
50
  'cookieDomain': value.cookieDomain,
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,15 +17,15 @@
17
17
  * * `EXPIRED` - Session is expired.
18
18
  * * `DELETED` - Session exists but is soft-deleted (Not implemented yet).
19
19
  * @export
20
- * @enum {string}
21
20
  */
22
- export declare enum SessionState {
23
- NEW = "NEW",
24
- ENABLED = "ENABLED",
25
- SUSPENDED = "SUSPENDED",
26
- EXPIRED = "EXPIRED",
27
- DELETED = "DELETED"
28
- }
21
+ export declare const SessionState: {
22
+ readonly NEW: "NEW";
23
+ readonly ENABLED: "ENABLED";
24
+ readonly SUSPENDED: "SUSPENDED";
25
+ readonly EXPIRED: "EXPIRED";
26
+ readonly DELETED: "DELETED";
27
+ };
28
+ export declare type SessionState = typeof SessionState[keyof typeof SessionState];
29
29
  export declare function SessionStateFromJSON(json: any): SessionState;
30
30
  export declare function SessionStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionState;
31
31
  export declare function SessionStateToJSON(value?: SessionState | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,16 +22,14 @@ exports.SessionStateToJSON = exports.SessionStateFromJSONTyped = exports.Session
22
22
  * * `EXPIRED` - Session is expired.
23
23
  * * `DELETED` - Session exists but is soft-deleted (Not implemented yet).
24
24
  * @export
25
- * @enum {string}
26
25
  */
27
- var SessionState;
28
- (function (SessionState) {
29
- SessionState["NEW"] = "NEW";
30
- SessionState["ENABLED"] = "ENABLED";
31
- SessionState["SUSPENDED"] = "SUSPENDED";
32
- SessionState["EXPIRED"] = "EXPIRED";
33
- SessionState["DELETED"] = "DELETED";
34
- })(SessionState = exports.SessionState || (exports.SessionState = {}));
26
+ exports.SessionState = {
27
+ NEW: 'NEW',
28
+ ENABLED: 'ENABLED',
29
+ SUSPENDED: 'SUSPENDED',
30
+ EXPIRED: 'EXPIRED',
31
+ DELETED: 'DELETED'
32
+ };
35
33
  function SessionStateFromJSON(json) {
36
34
  return SessionStateFromJSONTyped(json, false);
37
35
  }
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +2,18 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 3.7.4-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.1-SNAPSHOT
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ServiceAccess, UserAgreement, UserServiceAssociation, UserSsoProvider, UserState } from './';
12
+ import { ServiceAccess } from './ServiceAccess';
13
+ import { UserAgreement } from './UserAgreement';
14
+ import { UserServiceAssociation } from './UserServiceAssociation';
15
+ import { UserSsoProvider } from './UserSsoProvider';
16
+ import { UserState } from './UserState';
13
17
  /**
14
18
  *
15
19
  * @export