@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.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +5 -5
- package/dist/apis/OAuthApi.js +1 -1
- package/dist/apis/OrganizationApi.d.ts +37 -37
- package/dist/apis/OrganizationApi.js +1 -1
- package/dist/apis/PermissionApi.d.ts +3 -3
- package/dist/apis/PermissionApi.js +1 -1
- package/dist/apis/RoleApi.d.ts +3 -3
- package/dist/apis/RoleApi.js +1 -1
- package/dist/apis/ServiceAccountApi.d.ts +17 -17
- package/dist/apis/ServiceAccountApi.js +2 -2
- package/dist/apis/SessionApi.d.ts +25 -25
- package/dist/apis/SessionApi.js +1 -1
- package/dist/apis/UserApi.d.ts +33 -33
- package/dist/apis/UserApi.js +2 -2
- package/dist/models/ApplyPermissionsPayload.d.ts +2 -2
- package/dist/models/ApplyPermissionsPayload.js +4 -4
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +4 -4
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +4 -4
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +2 -2
- package/dist/models/CreateOrUpdateOrganizationPayload.js +4 -4
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
- package/dist/models/CreateOrUpdatePermissionPayload.js +4 -4
- package/dist/models/CreateOrganizationPayload.d.ts +2 -2
- package/dist/models/CreateOrganizationPayload.js +4 -4
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +1 -1
- package/dist/models/CreateRole.d.ts +2 -2
- package/dist/models/CreateRole.js +4 -4
- package/dist/models/DatabaseState.d.ts +8 -8
- package/dist/models/DatabaseState.js +7 -9
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +1 -1
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +1 -1
- package/dist/models/ErrorMessage.d.ts +17 -17
- package/dist/models/ErrorMessage.js +16 -18
- package/dist/models/ErrorPayload.d.ts +2 -2
- package/dist/models/ErrorPayload.js +4 -4
- package/dist/models/Id.d.ts +1 -1
- package/dist/models/Id.js +1 -1
- package/dist/models/ImpersonatePayload.d.ts +1 -1
- package/dist/models/ImpersonatePayload.js +1 -1
- package/dist/models/LegacyRoleSchema.d.ts +2 -2
- package/dist/models/LegacyRoleSchema.js +4 -4
- package/dist/models/ListOrganizationElement.d.ts +4 -2
- package/dist/models/ListOrganizationElement.js +10 -8
- package/dist/models/ListUserOrganizations.d.ts +2 -2
- package/dist/models/ListUserOrganizations.js +4 -4
- package/dist/models/LocalizedString.d.ts +1 -1
- package/dist/models/LocalizedString.js +1 -1
- package/dist/models/OAuthClient.d.ts +4 -4
- package/dist/models/OAuthClient.js +4 -4
- package/dist/models/OAuthClientCreated.d.ts +1 -1
- package/dist/models/OAuthClientCreated.js +1 -1
- package/dist/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/models/OAuthClientPublicKey.js +1 -1
- package/dist/models/Organization.d.ts +4 -2
- package/dist/models/Organization.js +10 -8
- package/dist/models/OrganizationCreated.d.ts +1 -1
- package/dist/models/OrganizationCreated.js +1 -1
- package/dist/models/OrganizationPathElement.d.ts +2 -2
- package/dist/models/OrganizationPathElement.js +4 -4
- package/dist/models/OrganizationRoleAttribution.d.ts +3 -2
- package/dist/models/OrganizationRoleAttribution.js +7 -6
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributionPermission.js +4 -4
- package/dist/models/OrganizationRoleAttributionRole.d.ts +3 -2
- package/dist/models/OrganizationRoleAttributionRole.js +7 -6
- package/dist/models/OrganizationRoleAttributions.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributions.js +4 -4
- package/dist/models/OrganizationServicesElement.d.ts +1 -1
- package/dist/models/OrganizationServicesElement.js +1 -1
- package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
- package/dist/models/OrganizationUserServiceAssociation.js +1 -1
- package/dist/models/PermissionCode.d.ts +1 -1
- package/dist/models/PermissionCode.js +1 -1
- package/dist/models/PermissionCreated.d.ts +1 -1
- package/dist/models/PermissionCreated.js +1 -1
- package/dist/models/PermissionList.d.ts +2 -2
- package/dist/models/PermissionList.js +4 -4
- package/dist/models/PermissionResourceType.d.ts +6 -6
- package/dist/models/PermissionResourceType.js +5 -7
- package/dist/models/Role.d.ts +2 -2
- package/dist/models/Role.js +4 -4
- package/dist/models/RoleCreated.d.ts +2 -2
- package/dist/models/RoleCreated.js +4 -4
- package/dist/models/RolesOnOrganization.d.ts +5 -2
- package/dist/models/RolesOnOrganization.js +13 -10
- package/dist/models/ServiceAccess.d.ts +3 -2
- package/dist/models/ServiceAccess.js +7 -6
- package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
- package/dist/models/ServiceAccountCreationSchema.js +1 -1
- package/dist/models/ServiceAccountSchema.d.ts +2 -2
- package/dist/models/ServiceAccountSchema.js +4 -4
- package/dist/models/ServiceAccountStatus.d.ts +7 -7
- package/dist/models/ServiceAccountStatus.js +6 -8
- package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUpdateSchema.js +1 -1
- package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUuidSchema.js +1 -1
- package/dist/models/ServiceName.d.ts +9 -9
- package/dist/models/ServiceName.js +8 -10
- package/dist/models/Session.d.ts +4 -2
- package/dist/models/Session.js +12 -10
- package/dist/models/SessionPayload.d.ts +2 -2
- package/dist/models/SessionPayload.js +4 -4
- package/dist/models/SessionState.d.ts +9 -9
- package/dist/models/SessionState.js +8 -10
- package/dist/models/SsoProvider.d.ts +1 -1
- package/dist/models/SsoProvider.js +1 -1
- package/dist/models/SsoToken.d.ts +1 -1
- package/dist/models/SsoToken.js +1 -1
- package/dist/models/UpdateParentOrganizationPayload.d.ts +1 -1
- package/dist/models/UpdateParentOrganizationPayload.js +1 -1
- package/dist/models/UpdateUserAccountPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountPayload.js +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +1 -1
- package/dist/models/UpsertServicePayload.d.ts +1 -1
- package/dist/models/UpsertServicePayload.js +1 -1
- package/dist/models/User.d.ts +6 -2
- package/dist/models/User.js +18 -14
- package/dist/models/UserAccountOrganizationRoles.d.ts +3 -2
- package/dist/models/UserAccountOrganizationRoles.js +7 -6
- package/dist/models/UserAccountPermission.d.ts +2 -2
- package/dist/models/UserAccountPermission.js +4 -4
- package/dist/models/UserAccountRole.d.ts +2 -2
- package/dist/models/UserAccountRole.js +4 -4
- package/dist/models/UserAccountRoleAttributions.d.ts +2 -2
- package/dist/models/UserAccountRoleAttributions.js +4 -4
- package/dist/models/UserAccountSearchResult.d.ts +6 -2
- package/dist/models/UserAccountSearchResult.js +18 -14
- package/dist/models/UserAgreement.d.ts +2 -2
- package/dist/models/UserAgreement.js +4 -4
- package/dist/models/UserAgreementState.d.ts +6 -6
- package/dist/models/UserAgreementState.js +5 -7
- package/dist/models/UserPermissions.d.ts +3 -2
- package/dist/models/UserPermissions.js +7 -6
- package/dist/models/UserServiceAssociation.d.ts +1 -1
- package/dist/models/UserServiceAssociation.js +1 -1
- package/dist/models/UserSsoProvider.d.ts +1 -1
- package/dist/models/UserSsoProvider.js +1 -1
- package/dist/models/UserState.d.ts +7 -7
- package/dist/models/UserState.js +6 -8
- package/dist/runtime.d.ts +46 -29
- package/dist/runtime.js +117 -79
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +5 -5
- package/src/apis/OrganizationApi.ts +37 -37
- package/src/apis/PermissionApi.ts +3 -3
- package/src/apis/RoleApi.ts +3 -3
- package/src/apis/ServiceAccountApi.ts +17 -17
- package/src/apis/SessionApi.ts +25 -25
- package/src/apis/UserApi.ts +33 -33
- package/src/models/ApplyPermissionsPayload.ts +2 -3
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +4 -5
- package/src/models/CreateOrUpdateOrganizationPayload.ts +2 -3
- package/src/models/CreateOrUpdatePermissionPayload.ts +2 -3
- package/src/models/CreateOrganizationPayload.ts +2 -3
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +1 -2
- package/src/models/CreateOrganizationUserServicePayload.ts +1 -2
- package/src/models/CreateRole.ts +2 -3
- package/src/models/DatabaseState.ts +10 -8
- package/src/models/EnableEquisoftConnectPayloadSchema.ts +1 -2
- package/src/models/ErrorMessage.ts +19 -17
- package/src/models/ErrorPayload.ts +2 -3
- package/src/models/Id.ts +1 -2
- package/src/models/ImpersonatePayload.ts +1 -2
- package/src/models/LegacyRoleSchema.ts +2 -3
- package/src/models/ListOrganizationElement.ts +6 -3
- package/src/models/ListUserOrganizations.ts +2 -3
- package/src/models/LocalizedString.ts +1 -2
- package/src/models/OAuthClient.ts +4 -5
- package/src/models/OAuthClientCreated.ts +1 -2
- package/src/models/OAuthClientPublicKey.ts +1 -2
- package/src/models/Organization.ts +6 -3
- package/src/models/OrganizationCreated.ts +1 -2
- package/src/models/OrganizationPathElement.ts +2 -3
- package/src/models/OrganizationRoleAttribution.ts +4 -3
- package/src/models/OrganizationRoleAttributionPermission.ts +2 -3
- package/src/models/OrganizationRoleAttributionRole.ts +4 -3
- package/src/models/OrganizationRoleAttributions.ts +2 -3
- package/src/models/OrganizationServicesElement.ts +1 -2
- package/src/models/OrganizationUserServiceAssociation.ts +1 -2
- package/src/models/PermissionCode.ts +1 -2
- package/src/models/PermissionCreated.ts +1 -2
- package/src/models/PermissionList.ts +2 -3
- package/src/models/PermissionResourceType.ts +8 -6
- package/src/models/Role.ts +2 -3
- package/src/models/RoleCreated.ts +2 -3
- package/src/models/RolesOnOrganization.ts +8 -3
- package/src/models/ServiceAccess.ts +4 -3
- package/src/models/ServiceAccountCreationSchema.ts +1 -2
- package/src/models/ServiceAccountSchema.ts +2 -3
- package/src/models/ServiceAccountStatus.ts +9 -7
- package/src/models/ServiceAccountUpdateSchema.ts +1 -2
- package/src/models/ServiceAccountUuidSchema.ts +1 -2
- package/src/models/ServiceName.ts +11 -9
- package/src/models/Session.ts +6 -3
- package/src/models/SessionPayload.ts +2 -3
- package/src/models/SessionState.ts +11 -9
- package/src/models/SsoProvider.ts +1 -2
- package/src/models/SsoToken.ts +1 -2
- package/src/models/UpdateParentOrganizationPayload.ts +1 -2
- package/src/models/UpdateUserAccountPayload.ts +1 -2
- package/src/models/UpdateUserAccountSsoPayload.ts +1 -2
- package/src/models/UpsertServicePayload.ts +1 -2
- package/src/models/User.ts +10 -3
- package/src/models/UserAccountOrganizationRoles.ts +4 -3
- package/src/models/UserAccountPermission.ts +2 -3
- package/src/models/UserAccountRole.ts +2 -3
- package/src/models/UserAccountRoleAttributions.ts +2 -3
- package/src/models/UserAccountSearchResult.ts +10 -3
- package/src/models/UserAgreement.ts +2 -3
- package/src/models/UserAgreementState.ts +8 -6
- package/src/models/UserPermissions.ts +4 -3
- package/src/models/UserServiceAssociation.ts +1 -2
- package/src/models/UserSsoProvider.ts +1 -2
- package/src/models/UserState.ts +9 -7
- package/src/runtime.ts +145 -96
- package/tsconfig.esm.json +7 -0
package/dist/apis/UserApi.d.ts
CHANGED
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -77,129 +77,129 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
77
77
|
/**
|
|
78
78
|
* Activate user account.
|
|
79
79
|
*/
|
|
80
|
-
activateRaw(requestParameters: ActivateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
80
|
+
activateRaw(requestParameters: ActivateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
81
81
|
/**
|
|
82
82
|
* Activate user account.
|
|
83
83
|
*/
|
|
84
|
-
activate(requestParameters: ActivateRequest, initOverrides?: RequestInit): Promise<void>;
|
|
84
|
+
activate(requestParameters: ActivateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
85
85
|
/**
|
|
86
86
|
* update user account sso.
|
|
87
87
|
*/
|
|
88
|
-
addUpdateSsoRaw(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
88
|
+
addUpdateSsoRaw(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
89
89
|
/**
|
|
90
90
|
* update user account sso.
|
|
91
91
|
*/
|
|
92
|
-
addUpdateSso(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit): Promise<void>;
|
|
92
|
+
addUpdateSso(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
93
93
|
/**
|
|
94
94
|
* Add a role attribution for a user and organization
|
|
95
95
|
*/
|
|
96
|
-
addUserAccountRoleAttributionRaw(requestParameters: AddUserAccountRoleAttributionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
96
|
+
addUserAccountRoleAttributionRaw(requestParameters: AddUserAccountRoleAttributionRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
97
97
|
/**
|
|
98
98
|
* Add a role attribution for a user and organization
|
|
99
99
|
*/
|
|
100
|
-
addUserAccountRoleAttribution(requestParameters: AddUserAccountRoleAttributionRequest, initOverrides?: RequestInit): Promise<void>;
|
|
100
|
+
addUserAccountRoleAttribution(requestParameters: AddUserAccountRoleAttributionRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
101
101
|
/**
|
|
102
102
|
* Get permissions of a user on a user or an organization.
|
|
103
103
|
*/
|
|
104
|
-
applyPermissionsOnResource1Raw(requestParameters: ApplyPermissionsOnResource1Request, initOverrides?: RequestInit): Promise<runtime.ApiResponse<PermissionList>>;
|
|
104
|
+
applyPermissionsOnResource1Raw(requestParameters: ApplyPermissionsOnResource1Request, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<PermissionList>>;
|
|
105
105
|
/**
|
|
106
106
|
* Get permissions of a user on a user or an organization.
|
|
107
107
|
*/
|
|
108
|
-
applyPermissionsOnResource1(requestParameters: ApplyPermissionsOnResource1Request, initOverrides?: RequestInit): Promise<PermissionList>;
|
|
108
|
+
applyPermissionsOnResource1(requestParameters: ApplyPermissionsOnResource1Request, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<PermissionList>;
|
|
109
109
|
/**
|
|
110
110
|
* Deactivate user account.
|
|
111
111
|
*/
|
|
112
|
-
deactivateRaw(requestParameters: DeactivateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
112
|
+
deactivateRaw(requestParameters: DeactivateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
113
113
|
/**
|
|
114
114
|
* Deactivate user account.
|
|
115
115
|
*/
|
|
116
|
-
deactivate(requestParameters: DeactivateRequest, initOverrides?: RequestInit): Promise<void>;
|
|
116
|
+
deactivate(requestParameters: DeactivateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
117
117
|
/**
|
|
118
118
|
* delete user account sso.
|
|
119
119
|
*/
|
|
120
|
-
deleteSsoRaw(requestParameters: DeleteSsoRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
120
|
+
deleteSsoRaw(requestParameters: DeleteSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
121
121
|
/**
|
|
122
122
|
* delete user account sso.
|
|
123
123
|
*/
|
|
124
|
-
deleteSso(requestParameters: DeleteSsoRequest, initOverrides?: RequestInit): Promise<void>;
|
|
124
|
+
deleteSso(requestParameters: DeleteSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
125
125
|
/**
|
|
126
126
|
* Remove a role attribution for a user and organization
|
|
127
127
|
*/
|
|
128
|
-
deleteUserAccountRoleAttributionRaw(requestParameters: DeleteUserAccountRoleAttributionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
128
|
+
deleteUserAccountRoleAttributionRaw(requestParameters: DeleteUserAccountRoleAttributionRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
129
129
|
/**
|
|
130
130
|
* Remove a role attribution for a user and organization
|
|
131
131
|
*/
|
|
132
|
-
deleteUserAccountRoleAttribution(requestParameters: DeleteUserAccountRoleAttributionRequest, initOverrides?: RequestInit): Promise<void>;
|
|
132
|
+
deleteUserAccountRoleAttribution(requestParameters: DeleteUserAccountRoleAttributionRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
133
133
|
/**
|
|
134
134
|
* Delete all sessions for the user.
|
|
135
135
|
*/
|
|
136
|
-
deleteUserSessionsRaw(requestParameters: DeleteUserSessionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
136
|
+
deleteUserSessionsRaw(requestParameters: DeleteUserSessionsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
137
137
|
/**
|
|
138
138
|
* Delete all sessions for the user.
|
|
139
139
|
*/
|
|
140
|
-
deleteUserSessions(requestParameters: DeleteUserSessionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
140
|
+
deleteUserSessions(requestParameters: DeleteUserSessionsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
141
141
|
/**
|
|
142
142
|
* Get user\'s owner organization
|
|
143
143
|
*/
|
|
144
|
-
getOwnerOrganizationRaw(requestParameters: GetOwnerOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Organization>>;
|
|
144
|
+
getOwnerOrganizationRaw(requestParameters: GetOwnerOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<Organization>>;
|
|
145
145
|
/**
|
|
146
146
|
* Get user\'s owner organization
|
|
147
147
|
*/
|
|
148
|
-
getOwnerOrganization(requestParameters: GetOwnerOrganizationRequest, initOverrides?: RequestInit): Promise<Organization>;
|
|
148
|
+
getOwnerOrganization(requestParameters: GetOwnerOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<Organization>;
|
|
149
149
|
/**
|
|
150
150
|
* Get detailed information about a user account.
|
|
151
151
|
*/
|
|
152
|
-
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<User>>;
|
|
152
|
+
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<User>>;
|
|
153
153
|
/**
|
|
154
154
|
* Get detailed information about a user account.
|
|
155
155
|
*/
|
|
156
|
-
getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<User>;
|
|
156
|
+
getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<User>;
|
|
157
157
|
/**
|
|
158
158
|
* Get user role attributions
|
|
159
159
|
*/
|
|
160
|
-
getUserAccountRoleAttributionsRaw(requestParameters: GetUserAccountRoleAttributionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserAccountRoleAttributions>>;
|
|
160
|
+
getUserAccountRoleAttributionsRaw(requestParameters: GetUserAccountRoleAttributionsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<UserAccountRoleAttributions>>;
|
|
161
161
|
/**
|
|
162
162
|
* Get user role attributions
|
|
163
163
|
*/
|
|
164
|
-
getUserAccountRoleAttributions(requestParameters: GetUserAccountRoleAttributionsRequest, initOverrides?: RequestInit): Promise<UserAccountRoleAttributions>;
|
|
164
|
+
getUserAccountRoleAttributions(requestParameters: GetUserAccountRoleAttributionsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<UserAccountRoleAttributions>;
|
|
165
165
|
/**
|
|
166
166
|
* Get user permissions
|
|
167
167
|
*/
|
|
168
|
-
getUserPermissionsRaw(requestParameters: GetUserPermissionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserPermissions>>;
|
|
168
|
+
getUserPermissionsRaw(requestParameters: GetUserPermissionsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<UserPermissions>>;
|
|
169
169
|
/**
|
|
170
170
|
* Get user permissions
|
|
171
171
|
*/
|
|
172
|
-
getUserPermissions(requestParameters: GetUserPermissionsRequest, initOverrides?: RequestInit): Promise<UserPermissions>;
|
|
172
|
+
getUserPermissions(requestParameters: GetUserPermissionsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<UserPermissions>;
|
|
173
173
|
/**
|
|
174
174
|
* Find an uuid by id.
|
|
175
175
|
*/
|
|
176
|
-
getUuidByIdRaw(requestParameters: GetUuidByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Id>>;
|
|
176
|
+
getUuidByIdRaw(requestParameters: GetUuidByIdRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<Id>>;
|
|
177
177
|
/**
|
|
178
178
|
* Find an uuid by id.
|
|
179
179
|
*/
|
|
180
|
-
getUuidById(requestParameters: GetUuidByIdRequest, initOverrides?: RequestInit): Promise<Id>;
|
|
180
|
+
getUuidById(requestParameters: GetUuidByIdRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<Id>;
|
|
181
181
|
/**
|
|
182
182
|
* Searches accounts that match ALL params. If no search parameters are provided, returns all users.
|
|
183
183
|
*/
|
|
184
|
-
listUsersRaw(requestParameters: ListUsersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<UserAccountSearchResult>>>;
|
|
184
|
+
listUsersRaw(requestParameters: ListUsersRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<Array<UserAccountSearchResult>>>;
|
|
185
185
|
/**
|
|
186
186
|
* Searches accounts that match ALL params. If no search parameters are provided, returns all users.
|
|
187
187
|
*/
|
|
188
|
-
listUsers(requestParameters
|
|
188
|
+
listUsers(requestParameters?: ListUsersRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<Array<UserAccountSearchResult>>;
|
|
189
189
|
/**
|
|
190
190
|
* Unlock user account.
|
|
191
191
|
*/
|
|
192
|
-
unlockRaw(requestParameters: UnlockRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
192
|
+
unlockRaw(requestParameters: UnlockRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
193
193
|
/**
|
|
194
194
|
* Unlock user account.
|
|
195
195
|
*/
|
|
196
|
-
unlock(requestParameters: UnlockRequest, initOverrides?: RequestInit): Promise<void>;
|
|
196
|
+
unlock(requestParameters: UnlockRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
197
197
|
/**
|
|
198
198
|
* update user account.
|
|
199
199
|
*/
|
|
200
|
-
updateUserRaw(requestParameters: UpdateUserRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
200
|
+
updateUserRaw(requestParameters: UpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
201
201
|
/**
|
|
202
202
|
* update user account.
|
|
203
203
|
*/
|
|
204
|
-
updateUser(requestParameters: UpdateUserRequest, initOverrides?: RequestInit): Promise<void>;
|
|
204
|
+
updateUser(requestParameters: UpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
205
205
|
}
|
package/dist/apis/UserApi.js
CHANGED
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -554,7 +554,7 @@ class UserApi extends runtime.BaseAPI {
|
|
|
554
554
|
/**
|
|
555
555
|
* Searches accounts that match ALL params. If no search parameters are provided, returns all users.
|
|
556
556
|
*/
|
|
557
|
-
listUsers(requestParameters, initOverrides) {
|
|
557
|
+
listUsers(requestParameters = {}, initOverrides) {
|
|
558
558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
559
559
|
const response = yield this.listUsersRaw(requestParameters, initOverrides);
|
|
560
560
|
return yield response.value();
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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 { PermissionResourceType } from './';
|
|
12
|
+
import { PermissionResourceType } from './PermissionResourceType';
|
|
13
13
|
/**
|
|
14
14
|
* A request to calculate a user permissions on a resource (organization, user)
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ApplyPermissionsPayloadToJSON = exports.ApplyPermissionsPayloadFromJSONTyped = exports.ApplyPermissionsPayloadFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const PermissionResourceType_1 = require("./PermissionResourceType");
|
|
18
18
|
function ApplyPermissionsPayloadFromJSON(json) {
|
|
19
19
|
return ApplyPermissionsPayloadFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function ApplyPermissionsPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'resourceType':
|
|
27
|
+
'resourceType': PermissionResourceType_1.PermissionResourceTypeFromJSON(json['resourceType']),
|
|
28
28
|
'resourceUuid': json['resourceUuid'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
@@ -37,7 +37,7 @@ function ApplyPermissionsPayloadToJSON(value) {
|
|
|
37
37
|
return null;
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
|
-
'resourceType':
|
|
40
|
+
'resourceType': PermissionResourceType_1.PermissionResourceTypeToJSON(value.resourceType),
|
|
41
41
|
'resourceUuid': value.resourceUuid,
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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 { OAuthClientPublicKey } from './';
|
|
12
|
+
import { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
13
13
|
/**
|
|
14
14
|
* A request to create or update an oauth client
|
|
15
15
|
* @export
|
|
@@ -84,11 +84,11 @@ export interface CreateOrUpdateOAuthClientPayload {
|
|
|
84
84
|
serviceAccountDelegation: boolean;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @type {{ [key: string]:
|
|
87
|
+
* @type {{ [key: string]: any; }}
|
|
88
88
|
* @memberof CreateOrUpdateOAuthClientPayload
|
|
89
89
|
*/
|
|
90
90
|
additionalTokenFields?: {
|
|
91
|
-
[key: string]:
|
|
91
|
+
[key: string]: any;
|
|
92
92
|
} | null;
|
|
93
93
|
}
|
|
94
94
|
export declare function CreateOrUpdateOAuthClientPayloadFromJSON(json: any): CreateOrUpdateOAuthClientPayload;
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.CreateOrUpdateOAuthClientPayloadToJSON = exports.CreateOrUpdateOAuthClientPayloadFromJSONTyped = exports.CreateOrUpdateOAuthClientPayloadFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const OAuthClientPublicKey_1 = require("./OAuthClientPublicKey");
|
|
19
19
|
function CreateOrUpdateOAuthClientPayloadFromJSON(json) {
|
|
20
20
|
return CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, false);
|
|
21
21
|
}
|
|
@@ -33,7 +33,7 @@ function CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator
|
|
|
33
33
|
'grantTypes': !runtime_1.exists(json, 'grantTypes') ? undefined : json['grantTypes'],
|
|
34
34
|
'scopes': !runtime_1.exists(json, 'scopes') ? undefined : json['scopes'],
|
|
35
35
|
'jwksUri': !runtime_1.exists(json, 'jwksUri') ? undefined : json['jwksUri'],
|
|
36
|
-
'publicKey': !runtime_1.exists(json, 'publicKey') ? undefined :
|
|
36
|
+
'publicKey': !runtime_1.exists(json, 'publicKey') ? undefined : OAuthClientPublicKey_1.OAuthClientPublicKeyFromJSON(json['publicKey']),
|
|
37
37
|
'serviceAccount': json['serviceAccount'],
|
|
38
38
|
'serviceAccountDelegation': json['serviceAccountDelegation'],
|
|
39
39
|
'additionalTokenFields': !runtime_1.exists(json, 'additionalTokenFields') ? undefined : json['additionalTokenFields'],
|
|
@@ -56,7 +56,7 @@ function CreateOrUpdateOAuthClientPayloadToJSON(value) {
|
|
|
56
56
|
'grantTypes': value.grantTypes,
|
|
57
57
|
'scopes': value.scopes,
|
|
58
58
|
'jwksUri': value.jwksUri,
|
|
59
|
-
'publicKey':
|
|
59
|
+
'publicKey': OAuthClientPublicKey_1.OAuthClientPublicKeyToJSON(value.publicKey),
|
|
60
60
|
'serviceAccount': value.serviceAccount,
|
|
61
61
|
'serviceAccountDelegation': value.serviceAccountDelegation,
|
|
62
62
|
'additionalTokenFields': value.additionalTokenFields,
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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 { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
* A request to create or update an organization
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.CreateOrUpdateOrganizationPayloadToJSON = exports.CreateOrUpdateOrganizationPayloadFromJSONTyped = exports.CreateOrUpdateOrganizationPayloadFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
19
19
|
function CreateOrUpdateOrganizationPayloadFromJSON(json) {
|
|
20
20
|
return CreateOrUpdateOrganizationPayloadFromJSONTyped(json, false);
|
|
21
21
|
}
|
|
@@ -25,7 +25,7 @@ function CreateOrUpdateOrganizationPayloadFromJSONTyped(json, ignoreDiscriminato
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'name':
|
|
28
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
29
29
|
'equisoftConnectProfiles': json['equisoftConnectProfiles'],
|
|
30
30
|
'equisoftPlanProfiles': json['equisoftPlanProfiles'],
|
|
31
31
|
'parentUuid': !runtime_1.exists(json, 'parentUuid') ? undefined : json['parentUuid'],
|
|
@@ -40,7 +40,7 @@ function CreateOrUpdateOrganizationPayloadToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'name':
|
|
43
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
44
44
|
'equisoftConnectProfiles': value.equisoftConnectProfiles,
|
|
45
45
|
'equisoftPlanProfiles': value.equisoftPlanProfiles,
|
|
46
46
|
'parentUuid': value.parentUuid,
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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 { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
* A request to create or update a permission
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateOrUpdatePermissionPayloadToJSON = exports.CreateOrUpdatePermissionPayloadFromJSONTyped = exports.CreateOrUpdatePermissionPayloadFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
function CreateOrUpdatePermissionPayloadFromJSON(json) {
|
|
19
19
|
return CreateOrUpdatePermissionPayloadFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function CreateOrUpdatePermissionPayloadFromJSONTyped(json, ignoreDiscriminator)
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'name':
|
|
27
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
exports.CreateOrUpdatePermissionPayloadFromJSONTyped = CreateOrUpdatePermissionPayloadFromJSONTyped;
|
|
@@ -36,7 +36,7 @@ function CreateOrUpdatePermissionPayloadToJSON(value) {
|
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'name':
|
|
39
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
exports.CreateOrUpdatePermissionPayloadToJSON = CreateOrUpdatePermissionPayloadToJSON;
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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 { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
* A request to create a new organization
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.CreateOrganizationPayloadToJSON = exports.CreateOrganizationPayloadFromJSONTyped = exports.CreateOrganizationPayloadFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
19
19
|
function CreateOrganizationPayloadFromJSON(json) {
|
|
20
20
|
return CreateOrganizationPayloadFromJSONTyped(json, false);
|
|
21
21
|
}
|
|
@@ -25,7 +25,7 @@ function CreateOrganizationPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'name':
|
|
28
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
29
29
|
'equisoftConnectProfiles': json['equisoftConnectProfiles'],
|
|
30
30
|
'equisoftPlanProfiles': json['equisoftPlanProfiles'],
|
|
31
31
|
'parentUuid': !runtime_1.exists(json, 'parentUuid') ? undefined : json['parentUuid'],
|
|
@@ -40,7 +40,7 @@ function CreateOrganizationPayloadToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'name':
|
|
43
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
44
44
|
'equisoftConnectProfiles': value.equisoftConnectProfiles,
|
|
45
45
|
'equisoftPlanProfiles': value.equisoftPlanProfiles,
|
|
46
46
|
'parentUuid': value.parentUuid,
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
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 { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
* create role schema
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateRoleToJSON = exports.CreateRoleFromJSONTyped = exports.CreateRoleFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
function CreateRoleFromJSON(json) {
|
|
19
19
|
return CreateRoleFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function CreateRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'name':
|
|
27
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
28
28
|
'permissions': json['permissions'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
@@ -37,7 +37,7 @@ function CreateRoleToJSON(value) {
|
|
|
37
37
|
return null;
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
|
-
'name':
|
|
40
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
41
41
|
'permissions': value.permissions,
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
* * `DELETED` - Database is deleted.
|
|
17
17
|
* * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
|
|
18
18
|
* @export
|
|
19
|
-
* @enum {string}
|
|
20
19
|
*/
|
|
21
|
-
export declare
|
|
22
|
-
ENABLED
|
|
23
|
-
DISABLED
|
|
24
|
-
DELETED
|
|
25
|
-
MAINTENANCE
|
|
26
|
-
}
|
|
20
|
+
export declare const DatabaseState: {
|
|
21
|
+
readonly ENABLED: "ENABLED";
|
|
22
|
+
readonly DISABLED: "DISABLED";
|
|
23
|
+
readonly DELETED: "DELETED";
|
|
24
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
25
|
+
};
|
|
26
|
+
export declare type DatabaseState = typeof DatabaseState[keyof typeof DatabaseState];
|
|
27
27
|
export declare function DatabaseStateFromJSON(json: any): DatabaseState;
|
|
28
28
|
export declare function DatabaseStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseState;
|
|
29
29
|
export declare function DatabaseStateToJSON(value?: DatabaseState | 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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,15 +21,13 @@ exports.DatabaseStateToJSON = exports.DatabaseStateFromJSONTyped = exports.Datab
|
|
|
21
21
|
* * `DELETED` - Database is deleted.
|
|
22
22
|
* * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
|
|
23
23
|
* @export
|
|
24
|
-
* @enum {string}
|
|
25
24
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})(DatabaseState = exports.DatabaseState || (exports.DatabaseState = {}));
|
|
25
|
+
exports.DatabaseState = {
|
|
26
|
+
ENABLED: 'ENABLED',
|
|
27
|
+
DISABLED: 'DISABLED',
|
|
28
|
+
DELETED: 'DELETED',
|
|
29
|
+
MAINTENANCE: 'MAINTENANCE'
|
|
30
|
+
};
|
|
33
31
|
function DatabaseStateFromJSON(json) {
|
|
34
32
|
return DatabaseStateFromJSONTyped(json, false);
|
|
35
33
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|