@goauthentik/api 2023.8.3-1697813667 → 2023.8.3-1698323628
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/dist/apis/StagesApi.d.ts +12 -0
- package/dist/apis/StagesApi.js +14 -1
- package/dist/esm/apis/StagesApi.d.ts +12 -0
- package/dist/esm/apis/StagesApi.js +13 -0
- package/dist/esm/models/PatchedUserWriteStageRequest.d.ts +7 -0
- package/dist/esm/models/PatchedUserWriteStageRequest.js +3 -0
- package/dist/esm/models/UserWriteStage.d.ts +7 -0
- package/dist/esm/models/UserWriteStage.js +3 -0
- package/dist/esm/models/UserWriteStageRequest.d.ts +7 -0
- package/dist/esm/models/UserWriteStageRequest.js +3 -0
- package/dist/models/PatchedUserWriteStageRequest.d.ts +7 -0
- package/dist/models/PatchedUserWriteStageRequest.js +3 -0
- package/dist/models/UserWriteStage.d.ts +7 -0
- package/dist/models/UserWriteStage.js +3 -0
- package/dist/models/UserWriteStageRequest.d.ts +7 -0
- package/dist/models/UserWriteStageRequest.js +3 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +16 -0
- package/src/models/PatchedUserWriteStageRequest.ts +14 -0
- package/src/models/UserWriteStage.ts +14 -0
- package/src/models/UserWriteStageRequest.ts +14 -0
package/dist/apis/StagesApi.d.ts
CHANGED
|
@@ -676,6 +676,7 @@ export interface StagesUserWriteListRequest {
|
|
|
676
676
|
stageUuid?: string;
|
|
677
677
|
userCreationMode?: StagesUserWriteListUserCreationModeEnum;
|
|
678
678
|
userPathTemplate?: string;
|
|
679
|
+
userType?: StagesUserWriteListUserTypeEnum;
|
|
679
680
|
}
|
|
680
681
|
export interface StagesUserWritePartialUpdateRequest {
|
|
681
682
|
stageUuid: string;
|
|
@@ -2071,3 +2072,14 @@ export declare const StagesUserWriteListUserCreationModeEnum: {
|
|
|
2071
2072
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
2072
2073
|
};
|
|
2073
2074
|
export type StagesUserWriteListUserCreationModeEnum = typeof StagesUserWriteListUserCreationModeEnum[keyof typeof StagesUserWriteListUserCreationModeEnum];
|
|
2075
|
+
/**
|
|
2076
|
+
* @export
|
|
2077
|
+
*/
|
|
2078
|
+
export declare const StagesUserWriteListUserTypeEnum: {
|
|
2079
|
+
readonly External: "external";
|
|
2080
|
+
readonly Internal: "internal";
|
|
2081
|
+
readonly InternalServiceAccount: "internal_service_account";
|
|
2082
|
+
readonly ServiceAccount: "service_account";
|
|
2083
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
2084
|
+
};
|
|
2085
|
+
export type StagesUserWriteListUserTypeEnum = typeof StagesUserWriteListUserTypeEnum[keyof typeof StagesUserWriteListUserTypeEnum];
|
package/dist/apis/StagesApi.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.StagesUserWriteListUserCreationModeEnum = exports.StagesPromptPromptsListTypeEnum = exports.StagesConsentListModeEnum = exports.StagesAuthenticatorWebauthnListUserVerificationEnum = exports.StagesAuthenticatorWebauthnListResidentKeyRequirementEnum = exports.StagesAuthenticatorWebauthnListAuthenticatorAttachmentEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorTotpListDigitsEnum = exports.StagesAuthenticatorSmsListProviderEnum = exports.StagesAuthenticatorSmsListAuthTypeEnum = exports.StagesApi = void 0;
|
|
25
|
+
exports.StagesUserWriteListUserTypeEnum = exports.StagesUserWriteListUserCreationModeEnum = exports.StagesPromptPromptsListTypeEnum = exports.StagesConsentListModeEnum = exports.StagesAuthenticatorWebauthnListUserVerificationEnum = exports.StagesAuthenticatorWebauthnListResidentKeyRequirementEnum = exports.StagesAuthenticatorWebauthnListAuthenticatorAttachmentEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorTotpListDigitsEnum = exports.StagesAuthenticatorSmsListProviderEnum = exports.StagesAuthenticatorSmsListAuthTypeEnum = exports.StagesApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const models_1 = require("../models");
|
|
28
28
|
/**
|
|
@@ -5454,6 +5454,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
5454
5454
|
if (requestParameters.userPathTemplate !== undefined) {
|
|
5455
5455
|
queryParameters['user_path_template'] = requestParameters.userPathTemplate;
|
|
5456
5456
|
}
|
|
5457
|
+
if (requestParameters.userType !== undefined) {
|
|
5458
|
+
queryParameters['user_type'] = requestParameters.userType;
|
|
5459
|
+
}
|
|
5457
5460
|
const headerParameters = {};
|
|
5458
5461
|
if (this.configuration && this.configuration.apiKey) {
|
|
5459
5462
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -5710,3 +5713,13 @@ exports.StagesUserWriteListUserCreationModeEnum = {
|
|
|
5710
5713
|
NeverCreate: 'never_create',
|
|
5711
5714
|
UnknownDefaultOpenApi: '11184809'
|
|
5712
5715
|
};
|
|
5716
|
+
/**
|
|
5717
|
+
* @export
|
|
5718
|
+
*/
|
|
5719
|
+
exports.StagesUserWriteListUserTypeEnum = {
|
|
5720
|
+
External: 'external',
|
|
5721
|
+
Internal: 'internal',
|
|
5722
|
+
InternalServiceAccount: 'internal_service_account',
|
|
5723
|
+
ServiceAccount: 'service_account',
|
|
5724
|
+
UnknownDefaultOpenApi: '11184809'
|
|
5725
|
+
};
|
|
@@ -676,6 +676,7 @@ export interface StagesUserWriteListRequest {
|
|
|
676
676
|
stageUuid?: string;
|
|
677
677
|
userCreationMode?: StagesUserWriteListUserCreationModeEnum;
|
|
678
678
|
userPathTemplate?: string;
|
|
679
|
+
userType?: StagesUserWriteListUserTypeEnum;
|
|
679
680
|
}
|
|
680
681
|
export interface StagesUserWritePartialUpdateRequest {
|
|
681
682
|
stageUuid: string;
|
|
@@ -2071,3 +2072,14 @@ export declare const StagesUserWriteListUserCreationModeEnum: {
|
|
|
2071
2072
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
2072
2073
|
};
|
|
2073
2074
|
export type StagesUserWriteListUserCreationModeEnum = typeof StagesUserWriteListUserCreationModeEnum[keyof typeof StagesUserWriteListUserCreationModeEnum];
|
|
2075
|
+
/**
|
|
2076
|
+
* @export
|
|
2077
|
+
*/
|
|
2078
|
+
export declare const StagesUserWriteListUserTypeEnum: {
|
|
2079
|
+
readonly External: "external";
|
|
2080
|
+
readonly Internal: "internal";
|
|
2081
|
+
readonly InternalServiceAccount: "internal_service_account";
|
|
2082
|
+
readonly ServiceAccount: "service_account";
|
|
2083
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
2084
|
+
};
|
|
2085
|
+
export type StagesUserWriteListUserTypeEnum = typeof StagesUserWriteListUserTypeEnum[keyof typeof StagesUserWriteListUserTypeEnum];
|
|
@@ -5451,6 +5451,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
5451
5451
|
if (requestParameters.userPathTemplate !== undefined) {
|
|
5452
5452
|
queryParameters['user_path_template'] = requestParameters.userPathTemplate;
|
|
5453
5453
|
}
|
|
5454
|
+
if (requestParameters.userType !== undefined) {
|
|
5455
|
+
queryParameters['user_type'] = requestParameters.userType;
|
|
5456
|
+
}
|
|
5454
5457
|
const headerParameters = {};
|
|
5455
5458
|
if (this.configuration && this.configuration.apiKey) {
|
|
5456
5459
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -5706,3 +5709,13 @@ export const StagesUserWriteListUserCreationModeEnum = {
|
|
|
5706
5709
|
NeverCreate: 'never_create',
|
|
5707
5710
|
UnknownDefaultOpenApi: '11184809'
|
|
5708
5711
|
};
|
|
5712
|
+
/**
|
|
5713
|
+
* @export
|
|
5714
|
+
*/
|
|
5715
|
+
export const StagesUserWriteListUserTypeEnum = {
|
|
5716
|
+
External: 'external',
|
|
5717
|
+
Internal: 'internal',
|
|
5718
|
+
InternalServiceAccount: 'internal_service_account',
|
|
5719
|
+
ServiceAccount: 'service_account',
|
|
5720
|
+
UnknownDefaultOpenApi: '11184809'
|
|
5721
|
+
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
13
|
import type { UserCreationModeEnum } from './UserCreationModeEnum';
|
|
14
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* UserWriteStage Serializer
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface PatchedUserWriteStageRequest {
|
|
|
47
48
|
* @memberof PatchedUserWriteStageRequest
|
|
48
49
|
*/
|
|
49
50
|
createUsersGroup?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {UserTypeEnum}
|
|
54
|
+
* @memberof PatchedUserWriteStageRequest
|
|
55
|
+
*/
|
|
56
|
+
userType?: UserTypeEnum;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
16
16
|
import { UserCreationModeEnumFromJSON, UserCreationModeEnumToJSON, } from './UserCreationModeEnum';
|
|
17
|
+
import { UserTypeEnumFromJSON, UserTypeEnumToJSON, } from './UserTypeEnum';
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the PatchedUserWriteStageRequest interface.
|
|
19
20
|
*/
|
|
@@ -34,6 +35,7 @@ export function PatchedUserWriteStageRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
34
35
|
'userCreationMode': !exists(json, 'user_creation_mode') ? undefined : UserCreationModeEnumFromJSON(json['user_creation_mode']),
|
|
35
36
|
'createUsersAsInactive': !exists(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
36
37
|
'createUsersGroup': !exists(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
38
|
+
'userType': !exists(json, 'user_type') ? undefined : UserTypeEnumFromJSON(json['user_type']),
|
|
37
39
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
@@ -50,6 +52,7 @@ export function PatchedUserWriteStageRequestToJSON(value) {
|
|
|
50
52
|
'user_creation_mode': UserCreationModeEnumToJSON(value.userCreationMode),
|
|
51
53
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
52
54
|
'create_users_group': value.createUsersGroup,
|
|
55
|
+
'user_type': UserTypeEnumToJSON(value.userType),
|
|
53
56
|
'user_path_template': value.userPathTemplate,
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSet } from './FlowSet';
|
|
13
13
|
import type { UserCreationModeEnum } from './UserCreationModeEnum';
|
|
14
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* UserWriteStage Serializer
|
|
16
17
|
* @export
|
|
@@ -77,6 +78,12 @@ export interface UserWriteStage {
|
|
|
77
78
|
* @memberof UserWriteStage
|
|
78
79
|
*/
|
|
79
80
|
createUsersGroup?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {UserTypeEnum}
|
|
84
|
+
* @memberof UserWriteStage
|
|
85
|
+
*/
|
|
86
|
+
userType?: UserTypeEnum;
|
|
80
87
|
/**
|
|
81
88
|
*
|
|
82
89
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowSetFromJSON, FlowSetToJSON, } from './FlowSet';
|
|
16
16
|
import { UserCreationModeEnumFromJSON, UserCreationModeEnumToJSON, } from './UserCreationModeEnum';
|
|
17
|
+
import { UserTypeEnumFromJSON, UserTypeEnumToJSON, } from './UserTypeEnum';
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the UserWriteStage interface.
|
|
19
20
|
*/
|
|
@@ -45,6 +46,7 @@ export function UserWriteStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
46
|
'userCreationMode': !exists(json, 'user_creation_mode') ? undefined : UserCreationModeEnumFromJSON(json['user_creation_mode']),
|
|
46
47
|
'createUsersAsInactive': !exists(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
47
48
|
'createUsersGroup': !exists(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
49
|
+
'userType': !exists(json, 'user_type') ? undefined : UserTypeEnumFromJSON(json['user_type']),
|
|
48
50
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -61,6 +63,7 @@ export function UserWriteStageToJSON(value) {
|
|
|
61
63
|
'user_creation_mode': UserCreationModeEnumToJSON(value.userCreationMode),
|
|
62
64
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
63
65
|
'create_users_group': value.createUsersGroup,
|
|
66
|
+
'user_type': UserTypeEnumToJSON(value.userType),
|
|
64
67
|
'user_path_template': value.userPathTemplate,
|
|
65
68
|
};
|
|
66
69
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
13
|
import type { UserCreationModeEnum } from './UserCreationModeEnum';
|
|
14
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* UserWriteStage Serializer
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface UserWriteStageRequest {
|
|
|
47
48
|
* @memberof UserWriteStageRequest
|
|
48
49
|
*/
|
|
49
50
|
createUsersGroup?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {UserTypeEnum}
|
|
54
|
+
* @memberof UserWriteStageRequest
|
|
55
|
+
*/
|
|
56
|
+
userType?: UserTypeEnum;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
16
16
|
import { UserCreationModeEnumFromJSON, UserCreationModeEnumToJSON, } from './UserCreationModeEnum';
|
|
17
|
+
import { UserTypeEnumFromJSON, UserTypeEnumToJSON, } from './UserTypeEnum';
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the UserWriteStageRequest interface.
|
|
19
20
|
*/
|
|
@@ -35,6 +36,7 @@ export function UserWriteStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'userCreationMode': !exists(json, 'user_creation_mode') ? undefined : UserCreationModeEnumFromJSON(json['user_creation_mode']),
|
|
36
37
|
'createUsersAsInactive': !exists(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
37
38
|
'createUsersGroup': !exists(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
39
|
+
'userType': !exists(json, 'user_type') ? undefined : UserTypeEnumFromJSON(json['user_type']),
|
|
38
40
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
39
41
|
};
|
|
40
42
|
}
|
|
@@ -51,6 +53,7 @@ export function UserWriteStageRequestToJSON(value) {
|
|
|
51
53
|
'user_creation_mode': UserCreationModeEnumToJSON(value.userCreationMode),
|
|
52
54
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
53
55
|
'create_users_group': value.createUsersGroup,
|
|
56
|
+
'user_type': UserTypeEnumToJSON(value.userType),
|
|
54
57
|
'user_path_template': value.userPathTemplate,
|
|
55
58
|
};
|
|
56
59
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
13
|
import type { UserCreationModeEnum } from './UserCreationModeEnum';
|
|
14
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* UserWriteStage Serializer
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface PatchedUserWriteStageRequest {
|
|
|
47
48
|
* @memberof PatchedUserWriteStageRequest
|
|
48
49
|
*/
|
|
49
50
|
createUsersGroup?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {UserTypeEnum}
|
|
54
|
+
* @memberof PatchedUserWriteStageRequest
|
|
55
|
+
*/
|
|
56
|
+
userType?: UserTypeEnum;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -17,6 +17,7 @@ exports.PatchedUserWriteStageRequestToJSON = exports.PatchedUserWriteStageReques
|
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
19
19
|
const UserCreationModeEnum_1 = require("./UserCreationModeEnum");
|
|
20
|
+
const UserTypeEnum_1 = require("./UserTypeEnum");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the PatchedUserWriteStageRequest interface.
|
|
22
23
|
*/
|
|
@@ -39,6 +40,7 @@ function PatchedUserWriteStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'userCreationMode': !(0, runtime_1.exists)(json, 'user_creation_mode') ? undefined : (0, UserCreationModeEnum_1.UserCreationModeEnumFromJSON)(json['user_creation_mode']),
|
|
40
41
|
'createUsersAsInactive': !(0, runtime_1.exists)(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
41
42
|
'createUsersGroup': !(0, runtime_1.exists)(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
43
|
+
'userType': !(0, runtime_1.exists)(json, 'user_type') ? undefined : (0, UserTypeEnum_1.UserTypeEnumFromJSON)(json['user_type']),
|
|
42
44
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -56,6 +58,7 @@ function PatchedUserWriteStageRequestToJSON(value) {
|
|
|
56
58
|
'user_creation_mode': (0, UserCreationModeEnum_1.UserCreationModeEnumToJSON)(value.userCreationMode),
|
|
57
59
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
58
60
|
'create_users_group': value.createUsersGroup,
|
|
61
|
+
'user_type': (0, UserTypeEnum_1.UserTypeEnumToJSON)(value.userType),
|
|
59
62
|
'user_path_template': value.userPathTemplate,
|
|
60
63
|
};
|
|
61
64
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSet } from './FlowSet';
|
|
13
13
|
import type { UserCreationModeEnum } from './UserCreationModeEnum';
|
|
14
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* UserWriteStage Serializer
|
|
16
17
|
* @export
|
|
@@ -77,6 +78,12 @@ export interface UserWriteStage {
|
|
|
77
78
|
* @memberof UserWriteStage
|
|
78
79
|
*/
|
|
79
80
|
createUsersGroup?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {UserTypeEnum}
|
|
84
|
+
* @memberof UserWriteStage
|
|
85
|
+
*/
|
|
86
|
+
userType?: UserTypeEnum;
|
|
80
87
|
/**
|
|
81
88
|
*
|
|
82
89
|
* @type {string}
|
|
@@ -17,6 +17,7 @@ exports.UserWriteStageToJSON = exports.UserWriteStageFromJSONTyped = exports.Use
|
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const FlowSet_1 = require("./FlowSet");
|
|
19
19
|
const UserCreationModeEnum_1 = require("./UserCreationModeEnum");
|
|
20
|
+
const UserTypeEnum_1 = require("./UserTypeEnum");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the UserWriteStage interface.
|
|
22
23
|
*/
|
|
@@ -50,6 +51,7 @@ function UserWriteStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
51
|
'userCreationMode': !(0, runtime_1.exists)(json, 'user_creation_mode') ? undefined : (0, UserCreationModeEnum_1.UserCreationModeEnumFromJSON)(json['user_creation_mode']),
|
|
51
52
|
'createUsersAsInactive': !(0, runtime_1.exists)(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
52
53
|
'createUsersGroup': !(0, runtime_1.exists)(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
54
|
+
'userType': !(0, runtime_1.exists)(json, 'user_type') ? undefined : (0, UserTypeEnum_1.UserTypeEnumFromJSON)(json['user_type']),
|
|
53
55
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -67,6 +69,7 @@ function UserWriteStageToJSON(value) {
|
|
|
67
69
|
'user_creation_mode': (0, UserCreationModeEnum_1.UserCreationModeEnumToJSON)(value.userCreationMode),
|
|
68
70
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
69
71
|
'create_users_group': value.createUsersGroup,
|
|
72
|
+
'user_type': (0, UserTypeEnum_1.UserTypeEnumToJSON)(value.userType),
|
|
70
73
|
'user_path_template': value.userPathTemplate,
|
|
71
74
|
};
|
|
72
75
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
13
|
import type { UserCreationModeEnum } from './UserCreationModeEnum';
|
|
14
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* UserWriteStage Serializer
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface UserWriteStageRequest {
|
|
|
47
48
|
* @memberof UserWriteStageRequest
|
|
48
49
|
*/
|
|
49
50
|
createUsersGroup?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {UserTypeEnum}
|
|
54
|
+
* @memberof UserWriteStageRequest
|
|
55
|
+
*/
|
|
56
|
+
userType?: UserTypeEnum;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -17,6 +17,7 @@ exports.UserWriteStageRequestToJSON = exports.UserWriteStageRequestFromJSONTyped
|
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
19
19
|
const UserCreationModeEnum_1 = require("./UserCreationModeEnum");
|
|
20
|
+
const UserTypeEnum_1 = require("./UserTypeEnum");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the UserWriteStageRequest interface.
|
|
22
23
|
*/
|
|
@@ -40,6 +41,7 @@ function UserWriteStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
41
|
'userCreationMode': !(0, runtime_1.exists)(json, 'user_creation_mode') ? undefined : (0, UserCreationModeEnum_1.UserCreationModeEnumFromJSON)(json['user_creation_mode']),
|
|
41
42
|
'createUsersAsInactive': !(0, runtime_1.exists)(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
42
43
|
'createUsersGroup': !(0, runtime_1.exists)(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
44
|
+
'userType': !(0, runtime_1.exists)(json, 'user_type') ? undefined : (0, UserTypeEnum_1.UserTypeEnumFromJSON)(json['user_type']),
|
|
43
45
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
44
46
|
};
|
|
45
47
|
}
|
|
@@ -57,6 +59,7 @@ function UserWriteStageRequestToJSON(value) {
|
|
|
57
59
|
'user_creation_mode': (0, UserCreationModeEnum_1.UserCreationModeEnumToJSON)(value.userCreationMode),
|
|
58
60
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
59
61
|
'create_users_group': value.createUsersGroup,
|
|
62
|
+
'user_type': (0, UserTypeEnum_1.UserTypeEnumToJSON)(value.userType),
|
|
60
63
|
'user_path_template': value.userPathTemplate,
|
|
61
64
|
};
|
|
62
65
|
}
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -1119,6 +1119,7 @@ export interface StagesUserWriteListRequest {
|
|
|
1119
1119
|
stageUuid?: string;
|
|
1120
1120
|
userCreationMode?: StagesUserWriteListUserCreationModeEnum;
|
|
1121
1121
|
userPathTemplate?: string;
|
|
1122
|
+
userType?: StagesUserWriteListUserTypeEnum;
|
|
1122
1123
|
}
|
|
1123
1124
|
|
|
1124
1125
|
export interface StagesUserWritePartialUpdateRequest {
|
|
@@ -7282,6 +7283,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
7282
7283
|
queryParameters['user_path_template'] = requestParameters.userPathTemplate;
|
|
7283
7284
|
}
|
|
7284
7285
|
|
|
7286
|
+
if (requestParameters.userType !== undefined) {
|
|
7287
|
+
queryParameters['user_type'] = requestParameters.userType;
|
|
7288
|
+
}
|
|
7289
|
+
|
|
7285
7290
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
7286
7291
|
|
|
7287
7292
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -7565,3 +7570,14 @@ export const StagesUserWriteListUserCreationModeEnum = {
|
|
|
7565
7570
|
UnknownDefaultOpenApi: '11184809'
|
|
7566
7571
|
} as const;
|
|
7567
7572
|
export type StagesUserWriteListUserCreationModeEnum = typeof StagesUserWriteListUserCreationModeEnum[keyof typeof StagesUserWriteListUserCreationModeEnum];
|
|
7573
|
+
/**
|
|
7574
|
+
* @export
|
|
7575
|
+
*/
|
|
7576
|
+
export const StagesUserWriteListUserTypeEnum = {
|
|
7577
|
+
External: 'external',
|
|
7578
|
+
Internal: 'internal',
|
|
7579
|
+
InternalServiceAccount: 'internal_service_account',
|
|
7580
|
+
ServiceAccount: 'service_account',
|
|
7581
|
+
UnknownDefaultOpenApi: '11184809'
|
|
7582
|
+
} as const;
|
|
7583
|
+
export type StagesUserWriteListUserTypeEnum = typeof StagesUserWriteListUserTypeEnum[keyof typeof StagesUserWriteListUserTypeEnum];
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
UserCreationModeEnumFromJSONTyped,
|
|
26
26
|
UserCreationModeEnumToJSON,
|
|
27
27
|
} from './UserCreationModeEnum';
|
|
28
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
29
|
+
import {
|
|
30
|
+
UserTypeEnumFromJSON,
|
|
31
|
+
UserTypeEnumFromJSONTyped,
|
|
32
|
+
UserTypeEnumToJSON,
|
|
33
|
+
} from './UserTypeEnum';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
* UserWriteStage Serializer
|
|
@@ -62,6 +68,12 @@ export interface PatchedUserWriteStageRequest {
|
|
|
62
68
|
* @memberof PatchedUserWriteStageRequest
|
|
63
69
|
*/
|
|
64
70
|
createUsersGroup?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {UserTypeEnum}
|
|
74
|
+
* @memberof PatchedUserWriteStageRequest
|
|
75
|
+
*/
|
|
76
|
+
userType?: UserTypeEnum;
|
|
65
77
|
/**
|
|
66
78
|
*
|
|
67
79
|
* @type {string}
|
|
@@ -94,6 +106,7 @@ export function PatchedUserWriteStageRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
94
106
|
'userCreationMode': !exists(json, 'user_creation_mode') ? undefined : UserCreationModeEnumFromJSON(json['user_creation_mode']),
|
|
95
107
|
'createUsersAsInactive': !exists(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
96
108
|
'createUsersGroup': !exists(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
109
|
+
'userType': !exists(json, 'user_type') ? undefined : UserTypeEnumFromJSON(json['user_type']),
|
|
97
110
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
98
111
|
};
|
|
99
112
|
}
|
|
@@ -112,6 +125,7 @@ export function PatchedUserWriteStageRequestToJSON(value?: PatchedUserWriteStage
|
|
|
112
125
|
'user_creation_mode': UserCreationModeEnumToJSON(value.userCreationMode),
|
|
113
126
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
114
127
|
'create_users_group': value.createUsersGroup,
|
|
128
|
+
'user_type': UserTypeEnumToJSON(value.userType),
|
|
115
129
|
'user_path_template': value.userPathTemplate,
|
|
116
130
|
};
|
|
117
131
|
}
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
UserCreationModeEnumFromJSONTyped,
|
|
26
26
|
UserCreationModeEnumToJSON,
|
|
27
27
|
} from './UserCreationModeEnum';
|
|
28
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
29
|
+
import {
|
|
30
|
+
UserTypeEnumFromJSON,
|
|
31
|
+
UserTypeEnumFromJSONTyped,
|
|
32
|
+
UserTypeEnumToJSON,
|
|
33
|
+
} from './UserTypeEnum';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
* UserWriteStage Serializer
|
|
@@ -92,6 +98,12 @@ export interface UserWriteStage {
|
|
|
92
98
|
* @memberof UserWriteStage
|
|
93
99
|
*/
|
|
94
100
|
createUsersGroup?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {UserTypeEnum}
|
|
104
|
+
* @memberof UserWriteStage
|
|
105
|
+
*/
|
|
106
|
+
userType?: UserTypeEnum;
|
|
95
107
|
/**
|
|
96
108
|
*
|
|
97
109
|
* @type {string}
|
|
@@ -135,6 +147,7 @@ export function UserWriteStageFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
135
147
|
'userCreationMode': !exists(json, 'user_creation_mode') ? undefined : UserCreationModeEnumFromJSON(json['user_creation_mode']),
|
|
136
148
|
'createUsersAsInactive': !exists(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
137
149
|
'createUsersGroup': !exists(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
150
|
+
'userType': !exists(json, 'user_type') ? undefined : UserTypeEnumFromJSON(json['user_type']),
|
|
138
151
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
139
152
|
};
|
|
140
153
|
}
|
|
@@ -153,6 +166,7 @@ export function UserWriteStageToJSON(value?: UserWriteStage | null): any {
|
|
|
153
166
|
'user_creation_mode': UserCreationModeEnumToJSON(value.userCreationMode),
|
|
154
167
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
155
168
|
'create_users_group': value.createUsersGroup,
|
|
169
|
+
'user_type': UserTypeEnumToJSON(value.userType),
|
|
156
170
|
'user_path_template': value.userPathTemplate,
|
|
157
171
|
};
|
|
158
172
|
}
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
UserCreationModeEnumFromJSONTyped,
|
|
26
26
|
UserCreationModeEnumToJSON,
|
|
27
27
|
} from './UserCreationModeEnum';
|
|
28
|
+
import type { UserTypeEnum } from './UserTypeEnum';
|
|
29
|
+
import {
|
|
30
|
+
UserTypeEnumFromJSON,
|
|
31
|
+
UserTypeEnumFromJSONTyped,
|
|
32
|
+
UserTypeEnumToJSON,
|
|
33
|
+
} from './UserTypeEnum';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
* UserWriteStage Serializer
|
|
@@ -62,6 +68,12 @@ export interface UserWriteStageRequest {
|
|
|
62
68
|
* @memberof UserWriteStageRequest
|
|
63
69
|
*/
|
|
64
70
|
createUsersGroup?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {UserTypeEnum}
|
|
74
|
+
* @memberof UserWriteStageRequest
|
|
75
|
+
*/
|
|
76
|
+
userType?: UserTypeEnum;
|
|
65
77
|
/**
|
|
66
78
|
*
|
|
67
79
|
* @type {string}
|
|
@@ -95,6 +107,7 @@ export function UserWriteStageRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
95
107
|
'userCreationMode': !exists(json, 'user_creation_mode') ? undefined : UserCreationModeEnumFromJSON(json['user_creation_mode']),
|
|
96
108
|
'createUsersAsInactive': !exists(json, 'create_users_as_inactive') ? undefined : json['create_users_as_inactive'],
|
|
97
109
|
'createUsersGroup': !exists(json, 'create_users_group') ? undefined : json['create_users_group'],
|
|
110
|
+
'userType': !exists(json, 'user_type') ? undefined : UserTypeEnumFromJSON(json['user_type']),
|
|
98
111
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
99
112
|
};
|
|
100
113
|
}
|
|
@@ -113,6 +126,7 @@ export function UserWriteStageRequestToJSON(value?: UserWriteStageRequest | null
|
|
|
113
126
|
'user_creation_mode': UserCreationModeEnumToJSON(value.userCreationMode),
|
|
114
127
|
'create_users_as_inactive': value.createUsersAsInactive,
|
|
115
128
|
'create_users_group': value.createUsersGroup,
|
|
129
|
+
'user_type': UserTypeEnumToJSON(value.userType),
|
|
116
130
|
'user_path_template': value.userPathTemplate,
|
|
117
131
|
};
|
|
118
132
|
}
|