@goauthentik/api 2022.2.1-1645007230 → 2022.2.1-1646299239
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 -1
- package/dist/apis/CoreApi.d.ts +3 -12
- package/dist/apis/CoreApi.js +6 -33
- package/dist/apis/StagesApi.d.ts +1 -0
- package/dist/apis/StagesApi.js +1 -0
- package/dist/esm/apis/CoreApi.d.ts +3 -12
- package/dist/esm/apis/CoreApi.js +7 -34
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.js +1 -0
- package/dist/esm/models/CurrentTenant.d.ts +6 -0
- package/dist/esm/models/CurrentTenant.js +2 -0
- package/dist/esm/models/PatchedPromptRequest.d.ts +6 -0
- package/dist/esm/models/PatchedPromptRequest.js +2 -0
- package/dist/esm/models/PatchedTenantRequest.d.ts +6 -0
- package/dist/esm/models/PatchedTenantRequest.js +2 -0
- package/dist/esm/models/Prompt.d.ts +6 -0
- package/dist/esm/models/Prompt.js +2 -0
- package/dist/esm/models/PromptRequest.d.ts +6 -0
- package/dist/esm/models/PromptRequest.js +2 -0
- package/dist/esm/models/PromptTypeEnum.d.ts +2 -1
- package/dist/esm/models/PromptTypeEnum.js +1 -0
- package/dist/esm/models/ProviderTypeEnum.d.ts +2 -1
- package/dist/esm/models/ProviderTypeEnum.js +1 -0
- package/dist/esm/models/Tenant.d.ts +6 -0
- package/dist/esm/models/Tenant.js +2 -0
- package/dist/esm/models/TenantRequest.d.ts +6 -0
- package/dist/esm/models/TenantRequest.js +2 -0
- package/dist/esm/models/UserSetting.d.ts +1 -1
- package/dist/esm/models/UserSetting.js +1 -1
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/esm/runtime.js +1 -0
- package/dist/models/CurrentTenant.d.ts +6 -0
- package/dist/models/CurrentTenant.js +2 -0
- package/dist/models/PatchedPromptRequest.d.ts +6 -0
- package/dist/models/PatchedPromptRequest.js +2 -0
- package/dist/models/PatchedTenantRequest.d.ts +6 -0
- package/dist/models/PatchedTenantRequest.js +2 -0
- package/dist/models/Prompt.d.ts +6 -0
- package/dist/models/Prompt.js +2 -0
- package/dist/models/PromptRequest.d.ts +6 -0
- package/dist/models/PromptRequest.js +2 -0
- package/dist/models/PromptTypeEnum.d.ts +2 -1
- package/dist/models/PromptTypeEnum.js +1 -0
- package/dist/models/ProviderTypeEnum.d.ts +2 -1
- package/dist/models/ProviderTypeEnum.js +1 -0
- package/dist/models/Tenant.d.ts +6 -0
- package/dist/models/Tenant.js +2 -0
- package/dist/models/TenantRequest.d.ts +6 -0
- package/dist/models/TenantRequest.js +2 -0
- package/dist/models/UserSetting.d.ts +1 -1
- package/dist/models/UserSetting.js +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/runtime.js +1 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +10 -44
- package/src/apis/StagesApi.ts +1 -0
- package/src/models/CurrentTenant.ts +8 -0
- package/src/models/PatchedPromptRequest.ts +8 -0
- package/src/models/PatchedTenantRequest.ts +8 -0
- package/src/models/Prompt.ts +8 -0
- package/src/models/PromptRequest.ts +8 -0
- package/src/models/PromptTypeEnum.ts +2 -1
- package/src/models/ProviderTypeEnum.ts +2 -1
- package/src/models/Tenant.ts +8 -0
- package/src/models/TenantRequest.ts +8 -0
- package/src/models/UserSetting.ts +2 -2
- package/src/models/index.ts +0 -1
- package/src/runtime.ts +2 -0
- package/dist/esm/models/UserSelfRequest.d.ts +0 -48
- package/dist/esm/models/UserSelfRequest.js +0 -42
- package/dist/models/UserSelfRequest.d.ts +0 -48
- package/dist/models/UserSelfRequest.js +0 -48
- package/src/models/UserSelfRequest.ts +0 -81
package/.openapi-generator/FILES
CHANGED
|
@@ -433,7 +433,6 @@ src/models/UserPasswordSetRequest.ts
|
|
|
433
433
|
src/models/UserRequest.ts
|
|
434
434
|
src/models/UserSelf.ts
|
|
435
435
|
src/models/UserSelfGroups.ts
|
|
436
|
-
src/models/UserSelfRequest.ts
|
|
437
436
|
src/models/UserServiceAccountRequest.ts
|
|
438
437
|
src/models/UserServiceAccountResponse.ts
|
|
439
438
|
src/models/UserSetting.ts
|
|
@@ -448,4 +447,5 @@ src/models/WebAuthnDeviceRequest.ts
|
|
|
448
447
|
src/models/Workers.ts
|
|
449
448
|
src/models/index.ts
|
|
450
449
|
src/runtime.ts
|
|
450
|
+
tsconfig.esm.json
|
|
451
451
|
tsconfig.json
|
package/dist/apis/CoreApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenView, UsedBy, User, UserConsent, UserMetrics, UserPasswordSetRequest, UserRequest,
|
|
13
|
+
import { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenView, UsedBy, User, UserConsent, UserMetrics, UserPasswordSetRequest, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
14
14
|
export interface CoreApplicationsCheckAccessRetrieveRequest {
|
|
15
15
|
slug: string;
|
|
16
16
|
forUser?: number;
|
|
@@ -120,6 +120,7 @@ export interface CoreTenantsListRequest {
|
|
|
120
120
|
flowInvalidation?: string;
|
|
121
121
|
flowRecovery?: string;
|
|
122
122
|
flowUnenrollment?: string;
|
|
123
|
+
flowUserSettings?: string;
|
|
123
124
|
ordering?: string;
|
|
124
125
|
page?: number;
|
|
125
126
|
pageSize?: number;
|
|
@@ -212,6 +213,7 @@ export interface CoreUsersListRequest {
|
|
|
212
213
|
page?: number;
|
|
213
214
|
pageSize?: number;
|
|
214
215
|
search?: string;
|
|
216
|
+
uid?: string;
|
|
215
217
|
username?: string;
|
|
216
218
|
}
|
|
217
219
|
export interface CoreUsersMetricsRetrieveRequest {
|
|
@@ -242,9 +244,6 @@ export interface CoreUsersUpdateRequest {
|
|
|
242
244
|
id: number;
|
|
243
245
|
userRequest: UserRequest;
|
|
244
246
|
}
|
|
245
|
-
export interface CoreUsersUpdateSelfUpdateRequest {
|
|
246
|
-
userSelfRequest: UserSelfRequest;
|
|
247
|
-
}
|
|
248
247
|
export interface CoreUsersUsedByListRequest {
|
|
249
248
|
id: number;
|
|
250
249
|
}
|
|
@@ -684,14 +683,6 @@ export declare class CoreApi extends runtime.BaseAPI {
|
|
|
684
683
|
* User Viewset
|
|
685
684
|
*/
|
|
686
685
|
coreUsersUpdate(requestParameters: CoreUsersUpdateRequest, initOverrides?: RequestInit): Promise<User>;
|
|
687
|
-
/**
|
|
688
|
-
* Allow users to change information on their own profile
|
|
689
|
-
*/
|
|
690
|
-
coreUsersUpdateSelfUpdateRaw(requestParameters: CoreUsersUpdateSelfUpdateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SessionUser>>;
|
|
691
|
-
/**
|
|
692
|
-
* Allow users to change information on their own profile
|
|
693
|
-
*/
|
|
694
|
-
coreUsersUpdateSelfUpdate(requestParameters: CoreUsersUpdateSelfUpdateRequest, initOverrides?: RequestInit): Promise<SessionUser>;
|
|
695
686
|
/**
|
|
696
687
|
* Get a list of all objects that use this object
|
|
697
688
|
*/
|
package/dist/apis/CoreApi.js
CHANGED
|
@@ -935,6 +935,9 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
935
935
|
if (requestParameters.flowUnenrollment !== undefined) {
|
|
936
936
|
queryParameters['flow_unenrollment'] = requestParameters.flowUnenrollment;
|
|
937
937
|
}
|
|
938
|
+
if (requestParameters.flowUserSettings !== undefined) {
|
|
939
|
+
queryParameters['flow_user_settings'] = requestParameters.flowUserSettings;
|
|
940
|
+
}
|
|
938
941
|
if (requestParameters.ordering !== undefined) {
|
|
939
942
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
940
943
|
}
|
|
@@ -1632,6 +1635,9 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
1632
1635
|
if (requestParameters.search !== undefined) {
|
|
1633
1636
|
queryParameters['search'] = requestParameters.search;
|
|
1634
1637
|
}
|
|
1638
|
+
if (requestParameters.uid !== undefined) {
|
|
1639
|
+
queryParameters['uid'] = requestParameters.uid;
|
|
1640
|
+
}
|
|
1635
1641
|
if (requestParameters.username !== undefined) {
|
|
1636
1642
|
queryParameters['username'] = requestParameters.username;
|
|
1637
1643
|
}
|
|
@@ -1951,39 +1957,6 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
1951
1957
|
return yield response.value();
|
|
1952
1958
|
});
|
|
1953
1959
|
}
|
|
1954
|
-
/**
|
|
1955
|
-
* Allow users to change information on their own profile
|
|
1956
|
-
*/
|
|
1957
|
-
coreUsersUpdateSelfUpdateRaw(requestParameters, initOverrides) {
|
|
1958
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1959
|
-
if (requestParameters.userSelfRequest === null || requestParameters.userSelfRequest === undefined) {
|
|
1960
|
-
throw new runtime.RequiredError('userSelfRequest', 'Required parameter requestParameters.userSelfRequest was null or undefined when calling coreUsersUpdateSelfUpdate.');
|
|
1961
|
-
}
|
|
1962
|
-
const queryParameters = {};
|
|
1963
|
-
const headerParameters = {};
|
|
1964
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1965
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
1966
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1967
|
-
}
|
|
1968
|
-
const response = yield this.request({
|
|
1969
|
-
path: `/core/users/update_self/`,
|
|
1970
|
-
method: 'PUT',
|
|
1971
|
-
headers: headerParameters,
|
|
1972
|
-
query: queryParameters,
|
|
1973
|
-
body: models_1.UserSelfRequestToJSON(requestParameters.userSelfRequest),
|
|
1974
|
-
}, initOverrides);
|
|
1975
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.SessionUserFromJSON(jsonValue));
|
|
1976
|
-
});
|
|
1977
|
-
}
|
|
1978
|
-
/**
|
|
1979
|
-
* Allow users to change information on their own profile
|
|
1980
|
-
*/
|
|
1981
|
-
coreUsersUpdateSelfUpdate(requestParameters, initOverrides) {
|
|
1982
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1983
|
-
const response = yield this.coreUsersUpdateSelfUpdateRaw(requestParameters, initOverrides);
|
|
1984
|
-
return yield response.value();
|
|
1985
|
-
});
|
|
1986
|
-
}
|
|
1987
1960
|
/**
|
|
1988
1961
|
* Get a list of all objects that use this object
|
|
1989
1962
|
*/
|
package/dist/apis/StagesApi.d.ts
CHANGED
package/dist/apis/StagesApi.js
CHANGED
|
@@ -5578,6 +5578,7 @@ var StagesConsentListModeEnum;
|
|
|
5578
5578
|
*/
|
|
5579
5579
|
var StagesPromptPromptsListTypeEnum;
|
|
5580
5580
|
(function (StagesPromptPromptsListTypeEnum) {
|
|
5581
|
+
StagesPromptPromptsListTypeEnum["AkLocale"] = "ak-locale";
|
|
5581
5582
|
StagesPromptPromptsListTypeEnum["Checkbox"] = "checkbox";
|
|
5582
5583
|
StagesPromptPromptsListTypeEnum["Date"] = "date";
|
|
5583
5584
|
StagesPromptPromptsListTypeEnum["DateTime"] = "date-time";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenView, UsedBy, User, UserConsent, UserMetrics, UserPasswordSetRequest, UserRequest,
|
|
13
|
+
import { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenView, UsedBy, User, UserConsent, UserMetrics, UserPasswordSetRequest, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
14
14
|
export interface CoreApplicationsCheckAccessRetrieveRequest {
|
|
15
15
|
slug: string;
|
|
16
16
|
forUser?: number;
|
|
@@ -120,6 +120,7 @@ export interface CoreTenantsListRequest {
|
|
|
120
120
|
flowInvalidation?: string;
|
|
121
121
|
flowRecovery?: string;
|
|
122
122
|
flowUnenrollment?: string;
|
|
123
|
+
flowUserSettings?: string;
|
|
123
124
|
ordering?: string;
|
|
124
125
|
page?: number;
|
|
125
126
|
pageSize?: number;
|
|
@@ -212,6 +213,7 @@ export interface CoreUsersListRequest {
|
|
|
212
213
|
page?: number;
|
|
213
214
|
pageSize?: number;
|
|
214
215
|
search?: string;
|
|
216
|
+
uid?: string;
|
|
215
217
|
username?: string;
|
|
216
218
|
}
|
|
217
219
|
export interface CoreUsersMetricsRetrieveRequest {
|
|
@@ -242,9 +244,6 @@ export interface CoreUsersUpdateRequest {
|
|
|
242
244
|
id: number;
|
|
243
245
|
userRequest: UserRequest;
|
|
244
246
|
}
|
|
245
|
-
export interface CoreUsersUpdateSelfUpdateRequest {
|
|
246
|
-
userSelfRequest: UserSelfRequest;
|
|
247
|
-
}
|
|
248
247
|
export interface CoreUsersUsedByListRequest {
|
|
249
248
|
id: number;
|
|
250
249
|
}
|
|
@@ -684,14 +683,6 @@ export declare class CoreApi extends runtime.BaseAPI {
|
|
|
684
683
|
* User Viewset
|
|
685
684
|
*/
|
|
686
685
|
coreUsersUpdate(requestParameters: CoreUsersUpdateRequest, initOverrides?: RequestInit): Promise<User>;
|
|
687
|
-
/**
|
|
688
|
-
* Allow users to change information on their own profile
|
|
689
|
-
*/
|
|
690
|
-
coreUsersUpdateSelfUpdateRaw(requestParameters: CoreUsersUpdateSelfUpdateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SessionUser>>;
|
|
691
|
-
/**
|
|
692
|
-
* Allow users to change information on their own profile
|
|
693
|
-
*/
|
|
694
|
-
coreUsersUpdateSelfUpdate(requestParameters: CoreUsersUpdateSelfUpdateRequest, initOverrides?: RequestInit): Promise<SessionUser>;
|
|
695
686
|
/**
|
|
696
687
|
* Get a list of all objects that use this object
|
|
697
688
|
*/
|
package/dist/esm/apis/CoreApi.js
CHANGED
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { ApplicationFromJSON, ApplicationRequestToJSON, AuthenticatedSessionFromJSON, CoordinateFromJSON, CurrentTenantFromJSON, FilePathRequestToJSON, GroupFromJSON, GroupRequestToJSON, LinkFromJSON, PaginatedApplicationListFromJSON, PaginatedAuthenticatedSessionListFromJSON, PaginatedGroupListFromJSON, PaginatedTenantListFromJSON, PaginatedTokenListFromJSON, PaginatedUserConsentListFromJSON, PaginatedUserListFromJSON, PatchedApplicationRequestToJSON, PatchedGroupRequestToJSON, PatchedTenantRequestToJSON, PatchedTokenRequestToJSON, PatchedUserRequestToJSON, PolicyTestResultFromJSON, SessionUserFromJSON, TenantFromJSON, TenantRequestToJSON, TokenFromJSON, TokenRequestToJSON, TokenViewFromJSON, UsedByFromJSON, UserFromJSON, UserConsentFromJSON, UserMetricsFromJSON, UserPasswordSetRequestToJSON, UserRequestToJSON,
|
|
24
|
+
import { ApplicationFromJSON, ApplicationRequestToJSON, AuthenticatedSessionFromJSON, CoordinateFromJSON, CurrentTenantFromJSON, FilePathRequestToJSON, GroupFromJSON, GroupRequestToJSON, LinkFromJSON, PaginatedApplicationListFromJSON, PaginatedAuthenticatedSessionListFromJSON, PaginatedGroupListFromJSON, PaginatedTenantListFromJSON, PaginatedTokenListFromJSON, PaginatedUserConsentListFromJSON, PaginatedUserListFromJSON, PatchedApplicationRequestToJSON, PatchedGroupRequestToJSON, PatchedTenantRequestToJSON, PatchedTokenRequestToJSON, PatchedUserRequestToJSON, PolicyTestResultFromJSON, SessionUserFromJSON, TenantFromJSON, TenantRequestToJSON, TokenFromJSON, TokenRequestToJSON, TokenViewFromJSON, UsedByFromJSON, UserFromJSON, UserConsentFromJSON, UserMetricsFromJSON, UserPasswordSetRequestToJSON, UserRequestToJSON, UserServiceAccountRequestToJSON, UserServiceAccountResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -932,6 +932,9 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
932
932
|
if (requestParameters.flowUnenrollment !== undefined) {
|
|
933
933
|
queryParameters['flow_unenrollment'] = requestParameters.flowUnenrollment;
|
|
934
934
|
}
|
|
935
|
+
if (requestParameters.flowUserSettings !== undefined) {
|
|
936
|
+
queryParameters['flow_user_settings'] = requestParameters.flowUserSettings;
|
|
937
|
+
}
|
|
935
938
|
if (requestParameters.ordering !== undefined) {
|
|
936
939
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
937
940
|
}
|
|
@@ -1629,6 +1632,9 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
1629
1632
|
if (requestParameters.search !== undefined) {
|
|
1630
1633
|
queryParameters['search'] = requestParameters.search;
|
|
1631
1634
|
}
|
|
1635
|
+
if (requestParameters.uid !== undefined) {
|
|
1636
|
+
queryParameters['uid'] = requestParameters.uid;
|
|
1637
|
+
}
|
|
1632
1638
|
if (requestParameters.username !== undefined) {
|
|
1633
1639
|
queryParameters['username'] = requestParameters.username;
|
|
1634
1640
|
}
|
|
@@ -1948,39 +1954,6 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
1948
1954
|
return yield response.value();
|
|
1949
1955
|
});
|
|
1950
1956
|
}
|
|
1951
|
-
/**
|
|
1952
|
-
* Allow users to change information on their own profile
|
|
1953
|
-
*/
|
|
1954
|
-
coreUsersUpdateSelfUpdateRaw(requestParameters, initOverrides) {
|
|
1955
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1956
|
-
if (requestParameters.userSelfRequest === null || requestParameters.userSelfRequest === undefined) {
|
|
1957
|
-
throw new runtime.RequiredError('userSelfRequest', 'Required parameter requestParameters.userSelfRequest was null or undefined when calling coreUsersUpdateSelfUpdate.');
|
|
1958
|
-
}
|
|
1959
|
-
const queryParameters = {};
|
|
1960
|
-
const headerParameters = {};
|
|
1961
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1962
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
1963
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1964
|
-
}
|
|
1965
|
-
const response = yield this.request({
|
|
1966
|
-
path: `/core/users/update_self/`,
|
|
1967
|
-
method: 'PUT',
|
|
1968
|
-
headers: headerParameters,
|
|
1969
|
-
query: queryParameters,
|
|
1970
|
-
body: UserSelfRequestToJSON(requestParameters.userSelfRequest),
|
|
1971
|
-
}, initOverrides);
|
|
1972
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SessionUserFromJSON(jsonValue));
|
|
1973
|
-
});
|
|
1974
|
-
}
|
|
1975
|
-
/**
|
|
1976
|
-
* Allow users to change information on their own profile
|
|
1977
|
-
*/
|
|
1978
|
-
coreUsersUpdateSelfUpdate(requestParameters, initOverrides) {
|
|
1979
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1980
|
-
const response = yield this.coreUsersUpdateSelfUpdateRaw(requestParameters, initOverrides);
|
|
1981
|
-
return yield response.value();
|
|
1982
|
-
});
|
|
1983
|
-
}
|
|
1984
1957
|
/**
|
|
1985
1958
|
* Get a list of all objects that use this object
|
|
1986
1959
|
*/
|
|
@@ -5574,6 +5574,7 @@ export var StagesConsentListModeEnum;
|
|
|
5574
5574
|
*/
|
|
5575
5575
|
export var StagesPromptPromptsListTypeEnum;
|
|
5576
5576
|
(function (StagesPromptPromptsListTypeEnum) {
|
|
5577
|
+
StagesPromptPromptsListTypeEnum["AkLocale"] = "ak-locale";
|
|
5577
5578
|
StagesPromptPromptsListTypeEnum["Checkbox"] = "checkbox";
|
|
5578
5579
|
StagesPromptPromptsListTypeEnum["Date"] = "date";
|
|
5579
5580
|
StagesPromptPromptsListTypeEnum["DateTime"] = "date-time";
|
|
@@ -70,6 +70,12 @@ export interface CurrentTenant {
|
|
|
70
70
|
* @memberof CurrentTenant
|
|
71
71
|
*/
|
|
72
72
|
flowUnenrollment?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CurrentTenant
|
|
77
|
+
*/
|
|
78
|
+
flowUserSettings?: string;
|
|
73
79
|
}
|
|
74
80
|
export declare function CurrentTenantFromJSON(json: any): CurrentTenant;
|
|
75
81
|
export declare function CurrentTenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentTenant;
|
|
@@ -30,6 +30,7 @@ export function CurrentTenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
31
31
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
32
32
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
33
|
+
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function CurrentTenantToJSON(value) {
|
|
@@ -48,5 +49,6 @@ export function CurrentTenantToJSON(value) {
|
|
|
48
49
|
'flow_invalidation': value.flowInvalidation,
|
|
49
50
|
'flow_recovery': value.flowRecovery,
|
|
50
51
|
'flow_unenrollment': value.flowUnenrollment,
|
|
52
|
+
'flow_user_settings': value.flowUserSettings,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -65,6 +65,12 @@ export interface PatchedPromptRequest {
|
|
|
65
65
|
* @memberof PatchedPromptRequest
|
|
66
66
|
*/
|
|
67
67
|
subText?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof PatchedPromptRequest
|
|
72
|
+
*/
|
|
73
|
+
placeholderExpression?: boolean;
|
|
68
74
|
}
|
|
69
75
|
export declare function PatchedPromptRequestFromJSON(json: any): PatchedPromptRequest;
|
|
70
76
|
export declare function PatchedPromptRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedPromptRequest;
|
|
@@ -30,6 +30,7 @@ export function PatchedPromptRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
31
31
|
'promptstageSet': !exists(json, 'promptstage_set') ? undefined : (json['promptstage_set'].map(StageRequestFromJSON)),
|
|
32
32
|
'subText': !exists(json, 'sub_text') ? undefined : json['sub_text'],
|
|
33
|
+
'placeholderExpression': !exists(json, 'placeholder_expression') ? undefined : json['placeholder_expression'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function PatchedPromptRequestToJSON(value) {
|
|
@@ -48,5 +49,6 @@ export function PatchedPromptRequestToJSON(value) {
|
|
|
48
49
|
'order': value.order,
|
|
49
50
|
'promptstage_set': value.promptstageSet === undefined ? undefined : (value.promptstageSet.map(StageRequestToJSON)),
|
|
50
51
|
'sub_text': value.subText,
|
|
52
|
+
'placeholder_expression': value.placeholderExpression,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -69,6 +69,12 @@ export interface PatchedTenantRequest {
|
|
|
69
69
|
* @memberof PatchedTenantRequest
|
|
70
70
|
*/
|
|
71
71
|
flowUnenrollment?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PatchedTenantRequest
|
|
76
|
+
*/
|
|
77
|
+
flowUserSettings?: string | null;
|
|
72
78
|
/**
|
|
73
79
|
* Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
|
|
74
80
|
* @type {string}
|
|
@@ -29,6 +29,7 @@ export function PatchedTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
30
30
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
31
31
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
32
|
+
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
32
33
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
33
34
|
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
34
35
|
};
|
|
@@ -50,6 +51,7 @@ export function PatchedTenantRequestToJSON(value) {
|
|
|
50
51
|
'flow_invalidation': value.flowInvalidation,
|
|
51
52
|
'flow_recovery': value.flowRecovery,
|
|
52
53
|
'flow_unenrollment': value.flowUnenrollment,
|
|
54
|
+
'flow_user_settings': value.flowUserSettings,
|
|
53
55
|
'event_retention': value.eventRetention,
|
|
54
56
|
'web_certificate': value.webCertificate,
|
|
55
57
|
};
|
|
@@ -71,6 +71,12 @@ export interface Prompt {
|
|
|
71
71
|
* @memberof Prompt
|
|
72
72
|
*/
|
|
73
73
|
subText?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof Prompt
|
|
78
|
+
*/
|
|
79
|
+
placeholderExpression?: boolean;
|
|
74
80
|
}
|
|
75
81
|
export declare function PromptFromJSON(json: any): Prompt;
|
|
76
82
|
export declare function PromptFromJSONTyped(json: any, ignoreDiscriminator: boolean): Prompt;
|
|
@@ -31,6 +31,7 @@ export function PromptFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
32
32
|
'promptstageSet': !exists(json, 'promptstage_set') ? undefined : (json['promptstage_set'].map(StageFromJSON)),
|
|
33
33
|
'subText': !exists(json, 'sub_text') ? undefined : json['sub_text'],
|
|
34
|
+
'placeholderExpression': !exists(json, 'placeholder_expression') ? undefined : json['placeholder_expression'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
export function PromptToJSON(value) {
|
|
@@ -49,5 +50,6 @@ export function PromptToJSON(value) {
|
|
|
49
50
|
'order': value.order,
|
|
50
51
|
'promptstage_set': value.promptstageSet === undefined ? undefined : (value.promptstageSet.map(StageToJSON)),
|
|
51
52
|
'sub_text': value.subText,
|
|
53
|
+
'placeholder_expression': value.placeholderExpression,
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -65,6 +65,12 @@ export interface PromptRequest {
|
|
|
65
65
|
* @memberof PromptRequest
|
|
66
66
|
*/
|
|
67
67
|
subText?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof PromptRequest
|
|
72
|
+
*/
|
|
73
|
+
placeholderExpression?: boolean;
|
|
68
74
|
}
|
|
69
75
|
export declare function PromptRequestFromJSON(json: any): PromptRequest;
|
|
70
76
|
export declare function PromptRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptRequest;
|
|
@@ -30,6 +30,7 @@ export function PromptRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
31
31
|
'promptstageSet': !exists(json, 'promptstage_set') ? undefined : (json['promptstage_set'].map(StageRequestFromJSON)),
|
|
32
32
|
'subText': !exists(json, 'sub_text') ? undefined : json['sub_text'],
|
|
33
|
+
'placeholderExpression': !exists(json, 'placeholder_expression') ? undefined : json['placeholder_expression'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function PromptRequestToJSON(value) {
|
|
@@ -48,5 +49,6 @@ export function PromptRequestToJSON(value) {
|
|
|
48
49
|
'order': value.order,
|
|
49
50
|
'promptstage_set': value.promptstageSet === undefined ? undefined : (value.promptstageSet.map(StageRequestToJSON)),
|
|
50
51
|
'sub_text': value.subText,
|
|
52
|
+
'placeholder_expression': value.placeholderExpression,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -26,7 +26,8 @@ export declare enum PromptTypeEnum {
|
|
|
26
26
|
DateTime = "date-time",
|
|
27
27
|
Separator = "separator",
|
|
28
28
|
Hidden = "hidden",
|
|
29
|
-
Static = "static"
|
|
29
|
+
Static = "static",
|
|
30
|
+
AkLocale = "ak-locale"
|
|
30
31
|
}
|
|
31
32
|
export declare function PromptTypeEnumFromJSON(json: any): PromptTypeEnum;
|
|
32
33
|
export declare function PromptTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptTypeEnum;
|
|
@@ -30,6 +30,7 @@ export var PromptTypeEnum;
|
|
|
30
30
|
PromptTypeEnum["Separator"] = "separator";
|
|
31
31
|
PromptTypeEnum["Hidden"] = "hidden";
|
|
32
32
|
PromptTypeEnum["Static"] = "static";
|
|
33
|
+
PromptTypeEnum["AkLocale"] = "ak-locale";
|
|
33
34
|
})(PromptTypeEnum || (PromptTypeEnum = {}));
|
|
34
35
|
export function PromptTypeEnumFromJSON(json) {
|
|
35
36
|
return PromptTypeEnumFromJSONTyped(json, false);
|
|
@@ -24,7 +24,8 @@ export declare enum ProviderTypeEnum {
|
|
|
24
24
|
Openidconnect = "openidconnect",
|
|
25
25
|
Okta = "okta",
|
|
26
26
|
Reddit = "reddit",
|
|
27
|
-
Twitter = "twitter"
|
|
27
|
+
Twitter = "twitter",
|
|
28
|
+
Mailcow = "mailcow"
|
|
28
29
|
}
|
|
29
30
|
export declare function ProviderTypeEnumFromJSON(json: any): ProviderTypeEnum;
|
|
30
31
|
export declare function ProviderTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderTypeEnum;
|
|
@@ -28,6 +28,7 @@ export var ProviderTypeEnum;
|
|
|
28
28
|
ProviderTypeEnum["Okta"] = "okta";
|
|
29
29
|
ProviderTypeEnum["Reddit"] = "reddit";
|
|
30
30
|
ProviderTypeEnum["Twitter"] = "twitter";
|
|
31
|
+
ProviderTypeEnum["Mailcow"] = "mailcow";
|
|
31
32
|
})(ProviderTypeEnum || (ProviderTypeEnum = {}));
|
|
32
33
|
export function ProviderTypeEnumFromJSON(json) {
|
|
33
34
|
return ProviderTypeEnumFromJSONTyped(json, false);
|
|
@@ -75,6 +75,12 @@ export interface Tenant {
|
|
|
75
75
|
* @memberof Tenant
|
|
76
76
|
*/
|
|
77
77
|
flowUnenrollment?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof Tenant
|
|
82
|
+
*/
|
|
83
|
+
flowUserSettings?: string | null;
|
|
78
84
|
/**
|
|
79
85
|
* Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
|
|
80
86
|
* @type {string}
|
|
@@ -30,6 +30,7 @@ export function TenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
31
31
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
32
32
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
33
|
+
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
33
34
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
34
35
|
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
35
36
|
};
|
|
@@ -51,6 +52,7 @@ export function TenantToJSON(value) {
|
|
|
51
52
|
'flow_invalidation': value.flowInvalidation,
|
|
52
53
|
'flow_recovery': value.flowRecovery,
|
|
53
54
|
'flow_unenrollment': value.flowUnenrollment,
|
|
55
|
+
'flow_user_settings': value.flowUserSettings,
|
|
54
56
|
'event_retention': value.eventRetention,
|
|
55
57
|
'web_certificate': value.webCertificate,
|
|
56
58
|
};
|
|
@@ -69,6 +69,12 @@ export interface TenantRequest {
|
|
|
69
69
|
* @memberof TenantRequest
|
|
70
70
|
*/
|
|
71
71
|
flowUnenrollment?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof TenantRequest
|
|
76
|
+
*/
|
|
77
|
+
flowUserSettings?: string | null;
|
|
72
78
|
/**
|
|
73
79
|
* Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
|
|
74
80
|
* @type {string}
|
|
@@ -29,6 +29,7 @@ export function TenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
30
30
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
31
31
|
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
32
|
+
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
32
33
|
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
33
34
|
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
34
35
|
};
|
|
@@ -50,6 +51,7 @@ export function TenantRequestToJSON(value) {
|
|
|
50
51
|
'flow_invalidation': value.flowInvalidation,
|
|
51
52
|
'flow_recovery': value.flowRecovery,
|
|
52
53
|
'flow_unenrollment': value.flowUnenrollment,
|
|
54
|
+
'flow_user_settings': value.flowUserSettings,
|
|
53
55
|
'event_retention': value.eventRetention,
|
|
54
56
|
'web_certificate': value.webCertificate,
|
|
55
57
|
};
|
|
@@ -44,7 +44,7 @@ export interface UserSetting {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UserSetting
|
|
46
46
|
*/
|
|
47
|
-
iconUrl
|
|
47
|
+
iconUrl?: string;
|
|
48
48
|
}
|
|
49
49
|
export declare function UserSettingFromJSON(json: any): UserSetting;
|
|
50
50
|
export declare function UserSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSetting;
|
|
@@ -24,7 +24,7 @@ export function UserSettingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'component': json['component'],
|
|
25
25
|
'title': json['title'],
|
|
26
26
|
'configureUrl': !exists(json, 'configure_url') ? undefined : json['configure_url'],
|
|
27
|
-
'iconUrl': json['icon_url'],
|
|
27
|
+
'iconUrl': !exists(json, 'icon_url') ? undefined : json['icon_url'],
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
export function UserSettingToJSON(value) {
|
|
@@ -411,7 +411,6 @@ export * from './UserPasswordSetRequest';
|
|
|
411
411
|
export * from './UserRequest';
|
|
412
412
|
export * from './UserSelf';
|
|
413
413
|
export * from './UserSelfGroups';
|
|
414
|
-
export * from './UserSelfRequest';
|
|
415
414
|
export * from './UserServiceAccountRequest';
|
|
416
415
|
export * from './UserServiceAccountResponse';
|
|
417
416
|
export * from './UserSetting';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -413,7 +413,6 @@ export * from './UserPasswordSetRequest';
|
|
|
413
413
|
export * from './UserRequest';
|
|
414
414
|
export * from './UserSelf';
|
|
415
415
|
export * from './UserSelfGroups';
|
|
416
|
-
export * from './UserSelfRequest';
|
|
417
416
|
export * from './UserServiceAccountRequest';
|
|
418
417
|
export * from './UserServiceAccountResponse';
|
|
419
418
|
export * from './UserSetting';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -85,6 +85,7 @@ export class BaseAPI {
|
|
|
85
85
|
? context.body
|
|
86
86
|
: JSON.stringify(context.body);
|
|
87
87
|
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
88
|
+
Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
|
|
88
89
|
const init = Object.assign({ method: context.method, headers: headers, body, credentials: this.configuration.credentials }, initOverrides);
|
|
89
90
|
return { url, init };
|
|
90
91
|
}
|
|
@@ -70,6 +70,12 @@ export interface CurrentTenant {
|
|
|
70
70
|
* @memberof CurrentTenant
|
|
71
71
|
*/
|
|
72
72
|
flowUnenrollment?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CurrentTenant
|
|
77
|
+
*/
|
|
78
|
+
flowUserSettings?: string;
|
|
73
79
|
}
|
|
74
80
|
export declare function CurrentTenantFromJSON(json: any): CurrentTenant;
|
|
75
81
|
export declare function CurrentTenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentTenant;
|
|
@@ -34,6 +34,7 @@ function CurrentTenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'flowInvalidation': !runtime_1.exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
35
35
|
'flowRecovery': !runtime_1.exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
36
36
|
'flowUnenrollment': !runtime_1.exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
37
|
+
'flowUserSettings': !runtime_1.exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.CurrentTenantFromJSONTyped = CurrentTenantFromJSONTyped;
|
|
@@ -53,6 +54,7 @@ function CurrentTenantToJSON(value) {
|
|
|
53
54
|
'flow_invalidation': value.flowInvalidation,
|
|
54
55
|
'flow_recovery': value.flowRecovery,
|
|
55
56
|
'flow_unenrollment': value.flowUnenrollment,
|
|
57
|
+
'flow_user_settings': value.flowUserSettings,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
exports.CurrentTenantToJSON = CurrentTenantToJSON;
|
|
@@ -65,6 +65,12 @@ export interface PatchedPromptRequest {
|
|
|
65
65
|
* @memberof PatchedPromptRequest
|
|
66
66
|
*/
|
|
67
67
|
subText?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof PatchedPromptRequest
|
|
72
|
+
*/
|
|
73
|
+
placeholderExpression?: boolean;
|
|
68
74
|
}
|
|
69
75
|
export declare function PatchedPromptRequestFromJSON(json: any): PatchedPromptRequest;
|
|
70
76
|
export declare function PatchedPromptRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedPromptRequest;
|