@goauthentik/api 2023.3.1-1679003056 → 2023.3.1-1679248594
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 +4 -0
- package/dist/apis/StagesApi.js +4 -0
- package/dist/esm/apis/StagesApi.d.ts +4 -0
- package/dist/esm/apis/StagesApi.js +4 -0
- package/dist/esm/models/PatchedPromptRequest.d.ts +1 -1
- package/dist/esm/models/Prompt.d.ts +1 -1
- package/dist/esm/models/PromptRequest.d.ts +1 -1
- package/dist/esm/models/PromptTypeEnum.d.ts +8 -0
- package/dist/esm/models/PromptTypeEnum.js +8 -0
- package/dist/esm/models/StagePrompt.d.ts +6 -0
- package/dist/esm/models/StagePrompt.js +2 -0
- package/dist/models/PatchedPromptRequest.d.ts +1 -1
- package/dist/models/Prompt.d.ts +1 -1
- package/dist/models/PromptRequest.d.ts +1 -1
- package/dist/models/PromptTypeEnum.d.ts +8 -0
- package/dist/models/PromptTypeEnum.js +8 -0
- package/dist/models/StagePrompt.d.ts +6 -0
- package/dist/models/StagePrompt.js +2 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +4 -0
- package/src/models/PatchedPromptRequest.ts +1 -1
- package/src/models/Prompt.ts +1 -1
- package/src/models/PromptRequest.ts +1 -1
- package/src/models/PromptTypeEnum.ts +8 -0
- package/src/models/StagePrompt.ts +8 -0
package/dist/apis/StagesApi.d.ts
CHANGED
|
@@ -2027,14 +2027,18 @@ export declare const StagesPromptPromptsListTypeEnum: {
|
|
|
2027
2027
|
readonly Checkbox: "checkbox";
|
|
2028
2028
|
readonly Date: "date";
|
|
2029
2029
|
readonly DateTime: "date-time";
|
|
2030
|
+
readonly Dropdown: "dropdown";
|
|
2030
2031
|
readonly Email: "email";
|
|
2031
2032
|
readonly File: "file";
|
|
2032
2033
|
readonly Hidden: "hidden";
|
|
2033
2034
|
readonly Number: "number";
|
|
2034
2035
|
readonly Password: "password";
|
|
2036
|
+
readonly RadioButtonGroup: "radio-button-group";
|
|
2035
2037
|
readonly Separator: "separator";
|
|
2036
2038
|
readonly Static: "static";
|
|
2037
2039
|
readonly Text: "text";
|
|
2040
|
+
readonly TextArea: "text_area";
|
|
2041
|
+
readonly TextAreaReadOnly: "text_area_read_only";
|
|
2038
2042
|
readonly TextReadOnly: "text_read_only";
|
|
2039
2043
|
readonly Username: "username";
|
|
2040
2044
|
readonly UnknownDefaultOpenApi: "11184809";
|
package/dist/apis/StagesApi.js
CHANGED
|
@@ -5634,14 +5634,18 @@ exports.StagesPromptPromptsListTypeEnum = {
|
|
|
5634
5634
|
Checkbox: 'checkbox',
|
|
5635
5635
|
Date: 'date',
|
|
5636
5636
|
DateTime: 'date-time',
|
|
5637
|
+
Dropdown: 'dropdown',
|
|
5637
5638
|
Email: 'email',
|
|
5638
5639
|
File: 'file',
|
|
5639
5640
|
Hidden: 'hidden',
|
|
5640
5641
|
Number: 'number',
|
|
5641
5642
|
Password: 'password',
|
|
5643
|
+
RadioButtonGroup: 'radio-button-group',
|
|
5642
5644
|
Separator: 'separator',
|
|
5643
5645
|
Static: 'static',
|
|
5644
5646
|
Text: 'text',
|
|
5647
|
+
TextArea: 'text_area',
|
|
5648
|
+
TextAreaReadOnly: 'text_area_read_only',
|
|
5645
5649
|
TextReadOnly: 'text_read_only',
|
|
5646
5650
|
Username: 'username',
|
|
5647
5651
|
UnknownDefaultOpenApi: '11184809'
|
|
@@ -2027,14 +2027,18 @@ export declare const StagesPromptPromptsListTypeEnum: {
|
|
|
2027
2027
|
readonly Checkbox: "checkbox";
|
|
2028
2028
|
readonly Date: "date";
|
|
2029
2029
|
readonly DateTime: "date-time";
|
|
2030
|
+
readonly Dropdown: "dropdown";
|
|
2030
2031
|
readonly Email: "email";
|
|
2031
2032
|
readonly File: "file";
|
|
2032
2033
|
readonly Hidden: "hidden";
|
|
2033
2034
|
readonly Number: "number";
|
|
2034
2035
|
readonly Password: "password";
|
|
2036
|
+
readonly RadioButtonGroup: "radio-button-group";
|
|
2035
2037
|
readonly Separator: "separator";
|
|
2036
2038
|
readonly Static: "static";
|
|
2037
2039
|
readonly Text: "text";
|
|
2040
|
+
readonly TextArea: "text_area";
|
|
2041
|
+
readonly TextAreaReadOnly: "text_area_read_only";
|
|
2038
2042
|
readonly TextReadOnly: "text_read_only";
|
|
2039
2043
|
readonly Username: "username";
|
|
2040
2044
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
@@ -5630,14 +5630,18 @@ export const StagesPromptPromptsListTypeEnum = {
|
|
|
5630
5630
|
Checkbox: 'checkbox',
|
|
5631
5631
|
Date: 'date',
|
|
5632
5632
|
DateTime: 'date-time',
|
|
5633
|
+
Dropdown: 'dropdown',
|
|
5633
5634
|
Email: 'email',
|
|
5634
5635
|
File: 'file',
|
|
5635
5636
|
Hidden: 'hidden',
|
|
5636
5637
|
Number: 'number',
|
|
5637
5638
|
Password: 'password',
|
|
5639
|
+
RadioButtonGroup: 'radio-button-group',
|
|
5638
5640
|
Separator: 'separator',
|
|
5639
5641
|
Static: 'static',
|
|
5640
5642
|
Text: 'text',
|
|
5643
|
+
TextArea: 'text_area',
|
|
5644
|
+
TextAreaReadOnly: 'text_area_read_only',
|
|
5641
5645
|
TextReadOnly: 'text_read_only',
|
|
5642
5646
|
Username: 'username',
|
|
5643
5647
|
UnknownDefaultOpenApi: '11184809'
|
|
@@ -48,7 +48,7 @@ export interface PatchedPromptRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
required?: boolean;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* When creating a Radio Button Group or Dropdown, enable interpreting as expression and return a list to return multiple choices.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof PatchedPromptRequest
|
|
54
54
|
*/
|
|
@@ -48,7 +48,7 @@ export interface PromptRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
required?: boolean;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* When creating a Radio Button Group or Dropdown, enable interpreting as expression and return a list to return multiple choices.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof PromptRequest
|
|
54
54
|
*/
|
|
@@ -11,12 +11,16 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* * `text` - Text: Simple Text input
|
|
14
|
+
* * `text_area` - Text area: Multiline Text Input.
|
|
14
15
|
* * `text_read_only` - Text (read-only): Simple Text input, but cannot be edited.
|
|
16
|
+
* * `text_area_read_only` - Text area (read-only): Multiline Text input, but cannot be edited.
|
|
15
17
|
* * `username` - Username: Same as Text input, but checks for and prevents duplicate usernames.
|
|
16
18
|
* * `email` - Email: Text field with Email type.
|
|
17
19
|
* * `password` - Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical.
|
|
18
20
|
* * `number` - Number
|
|
19
21
|
* * `checkbox` - Checkbox
|
|
22
|
+
* * `radio-button-group` - Fixed choice field rendered as a group of radio buttons.
|
|
23
|
+
* * `dropdown` - Fixed choice field rendered as a dropdown.
|
|
20
24
|
* * `date` - Date
|
|
21
25
|
* * `date-time` - Date Time
|
|
22
26
|
* * `file` - File: File upload for arbitrary files. File content will be available in flow context as data-URI
|
|
@@ -28,12 +32,16 @@
|
|
|
28
32
|
*/
|
|
29
33
|
export declare const PromptTypeEnum: {
|
|
30
34
|
readonly Text: "text";
|
|
35
|
+
readonly TextArea: "text_area";
|
|
31
36
|
readonly TextReadOnly: "text_read_only";
|
|
37
|
+
readonly TextAreaReadOnly: "text_area_read_only";
|
|
32
38
|
readonly Username: "username";
|
|
33
39
|
readonly Email: "email";
|
|
34
40
|
readonly Password: "password";
|
|
35
41
|
readonly Number: "number";
|
|
36
42
|
readonly Checkbox: "checkbox";
|
|
43
|
+
readonly RadioButtonGroup: "radio-button-group";
|
|
44
|
+
readonly Dropdown: "dropdown";
|
|
37
45
|
readonly Date: "date";
|
|
38
46
|
readonly DateTime: "date-time";
|
|
39
47
|
readonly File: "file";
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* * `text` - Text: Simple Text input
|
|
16
|
+
* * `text_area` - Text area: Multiline Text Input.
|
|
16
17
|
* * `text_read_only` - Text (read-only): Simple Text input, but cannot be edited.
|
|
18
|
+
* * `text_area_read_only` - Text area (read-only): Multiline Text input, but cannot be edited.
|
|
17
19
|
* * `username` - Username: Same as Text input, but checks for and prevents duplicate usernames.
|
|
18
20
|
* * `email` - Email: Text field with Email type.
|
|
19
21
|
* * `password` - Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical.
|
|
20
22
|
* * `number` - Number
|
|
21
23
|
* * `checkbox` - Checkbox
|
|
24
|
+
* * `radio-button-group` - Fixed choice field rendered as a group of radio buttons.
|
|
25
|
+
* * `dropdown` - Fixed choice field rendered as a dropdown.
|
|
22
26
|
* * `date` - Date
|
|
23
27
|
* * `date-time` - Date Time
|
|
24
28
|
* * `file` - File: File upload for arbitrary files. File content will be available in flow context as data-URI
|
|
@@ -30,12 +34,16 @@
|
|
|
30
34
|
*/
|
|
31
35
|
export const PromptTypeEnum = {
|
|
32
36
|
Text: 'text',
|
|
37
|
+
TextArea: 'text_area',
|
|
33
38
|
TextReadOnly: 'text_read_only',
|
|
39
|
+
TextAreaReadOnly: 'text_area_read_only',
|
|
34
40
|
Username: 'username',
|
|
35
41
|
Email: 'email',
|
|
36
42
|
Password: 'password',
|
|
37
43
|
Number: 'number',
|
|
38
44
|
Checkbox: 'checkbox',
|
|
45
|
+
RadioButtonGroup: 'radio-button-group',
|
|
46
|
+
Dropdown: 'dropdown',
|
|
39
47
|
Date: 'date',
|
|
40
48
|
DateTime: 'date-time',
|
|
41
49
|
File: 'file',
|
|
@@ -58,6 +58,12 @@ export interface StagePrompt {
|
|
|
58
58
|
* @memberof StagePrompt
|
|
59
59
|
*/
|
|
60
60
|
subText: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof StagePrompt
|
|
65
|
+
*/
|
|
66
|
+
choices: Array<string> | null;
|
|
61
67
|
}
|
|
62
68
|
export declare function StagePromptFromJSON(json: any): StagePrompt;
|
|
63
69
|
export declare function StagePromptFromJSONTyped(json: any, ignoreDiscriminator: boolean): StagePrompt;
|
|
@@ -27,6 +27,7 @@ export function StagePromptFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'placeholder': json['placeholder'],
|
|
28
28
|
'order': json['order'],
|
|
29
29
|
'subText': json['sub_text'],
|
|
30
|
+
'choices': json['choices'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function StagePromptToJSON(value) {
|
|
@@ -44,5 +45,6 @@ export function StagePromptToJSON(value) {
|
|
|
44
45
|
'placeholder': value.placeholder,
|
|
45
46
|
'order': value.order,
|
|
46
47
|
'sub_text': value.subText,
|
|
48
|
+
'choices': value.choices,
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -48,7 +48,7 @@ export interface PatchedPromptRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
required?: boolean;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* When creating a Radio Button Group or Dropdown, enable interpreting as expression and return a list to return multiple choices.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof PatchedPromptRequest
|
|
54
54
|
*/
|
package/dist/models/Prompt.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export interface PromptRequest {
|
|
|
48
48
|
*/
|
|
49
49
|
required?: boolean;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* When creating a Radio Button Group or Dropdown, enable interpreting as expression and return a list to return multiple choices.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof PromptRequest
|
|
54
54
|
*/
|
|
@@ -11,12 +11,16 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* * `text` - Text: Simple Text input
|
|
14
|
+
* * `text_area` - Text area: Multiline Text Input.
|
|
14
15
|
* * `text_read_only` - Text (read-only): Simple Text input, but cannot be edited.
|
|
16
|
+
* * `text_area_read_only` - Text area (read-only): Multiline Text input, but cannot be edited.
|
|
15
17
|
* * `username` - Username: Same as Text input, but checks for and prevents duplicate usernames.
|
|
16
18
|
* * `email` - Email: Text field with Email type.
|
|
17
19
|
* * `password` - Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical.
|
|
18
20
|
* * `number` - Number
|
|
19
21
|
* * `checkbox` - Checkbox
|
|
22
|
+
* * `radio-button-group` - Fixed choice field rendered as a group of radio buttons.
|
|
23
|
+
* * `dropdown` - Fixed choice field rendered as a dropdown.
|
|
20
24
|
* * `date` - Date
|
|
21
25
|
* * `date-time` - Date Time
|
|
22
26
|
* * `file` - File: File upload for arbitrary files. File content will be available in flow context as data-URI
|
|
@@ -28,12 +32,16 @@
|
|
|
28
32
|
*/
|
|
29
33
|
export declare const PromptTypeEnum: {
|
|
30
34
|
readonly Text: "text";
|
|
35
|
+
readonly TextArea: "text_area";
|
|
31
36
|
readonly TextReadOnly: "text_read_only";
|
|
37
|
+
readonly TextAreaReadOnly: "text_area_read_only";
|
|
32
38
|
readonly Username: "username";
|
|
33
39
|
readonly Email: "email";
|
|
34
40
|
readonly Password: "password";
|
|
35
41
|
readonly Number: "number";
|
|
36
42
|
readonly Checkbox: "checkbox";
|
|
43
|
+
readonly RadioButtonGroup: "radio-button-group";
|
|
44
|
+
readonly Dropdown: "dropdown";
|
|
37
45
|
readonly Date: "date";
|
|
38
46
|
readonly DateTime: "date-time";
|
|
39
47
|
readonly File: "file";
|
|
@@ -16,12 +16,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.PromptTypeEnumToJSON = exports.PromptTypeEnumFromJSONTyped = exports.PromptTypeEnumFromJSON = exports.PromptTypeEnum = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* * `text` - Text: Simple Text input
|
|
19
|
+
* * `text_area` - Text area: Multiline Text Input.
|
|
19
20
|
* * `text_read_only` - Text (read-only): Simple Text input, but cannot be edited.
|
|
21
|
+
* * `text_area_read_only` - Text area (read-only): Multiline Text input, but cannot be edited.
|
|
20
22
|
* * `username` - Username: Same as Text input, but checks for and prevents duplicate usernames.
|
|
21
23
|
* * `email` - Email: Text field with Email type.
|
|
22
24
|
* * `password` - Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical.
|
|
23
25
|
* * `number` - Number
|
|
24
26
|
* * `checkbox` - Checkbox
|
|
27
|
+
* * `radio-button-group` - Fixed choice field rendered as a group of radio buttons.
|
|
28
|
+
* * `dropdown` - Fixed choice field rendered as a dropdown.
|
|
25
29
|
* * `date` - Date
|
|
26
30
|
* * `date-time` - Date Time
|
|
27
31
|
* * `file` - File: File upload for arbitrary files. File content will be available in flow context as data-URI
|
|
@@ -33,12 +37,16 @@ exports.PromptTypeEnumToJSON = exports.PromptTypeEnumFromJSONTyped = exports.Pro
|
|
|
33
37
|
*/
|
|
34
38
|
exports.PromptTypeEnum = {
|
|
35
39
|
Text: 'text',
|
|
40
|
+
TextArea: 'text_area',
|
|
36
41
|
TextReadOnly: 'text_read_only',
|
|
42
|
+
TextAreaReadOnly: 'text_area_read_only',
|
|
37
43
|
Username: 'username',
|
|
38
44
|
Email: 'email',
|
|
39
45
|
Password: 'password',
|
|
40
46
|
Number: 'number',
|
|
41
47
|
Checkbox: 'checkbox',
|
|
48
|
+
RadioButtonGroup: 'radio-button-group',
|
|
49
|
+
Dropdown: 'dropdown',
|
|
42
50
|
Date: 'date',
|
|
43
51
|
DateTime: 'date-time',
|
|
44
52
|
File: 'file',
|
|
@@ -58,6 +58,12 @@ export interface StagePrompt {
|
|
|
58
58
|
* @memberof StagePrompt
|
|
59
59
|
*/
|
|
60
60
|
subText: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof StagePrompt
|
|
65
|
+
*/
|
|
66
|
+
choices: Array<string> | null;
|
|
61
67
|
}
|
|
62
68
|
export declare function StagePromptFromJSON(json: any): StagePrompt;
|
|
63
69
|
export declare function StagePromptFromJSONTyped(json: any, ignoreDiscriminator: boolean): StagePrompt;
|
|
@@ -31,6 +31,7 @@ function StagePromptFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'placeholder': json['placeholder'],
|
|
32
32
|
'order': json['order'],
|
|
33
33
|
'subText': json['sub_text'],
|
|
34
|
+
'choices': json['choices'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
exports.StagePromptFromJSONTyped = StagePromptFromJSONTyped;
|
|
@@ -49,6 +50,7 @@ function StagePromptToJSON(value) {
|
|
|
49
50
|
'placeholder': value.placeholder,
|
|
50
51
|
'order': value.order,
|
|
51
52
|
'sub_text': value.subText,
|
|
53
|
+
'choices': value.choices,
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
exports.StagePromptToJSON = StagePromptToJSON;
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -7462,14 +7462,18 @@ export const StagesPromptPromptsListTypeEnum = {
|
|
|
7462
7462
|
Checkbox: 'checkbox',
|
|
7463
7463
|
Date: 'date',
|
|
7464
7464
|
DateTime: 'date-time',
|
|
7465
|
+
Dropdown: 'dropdown',
|
|
7465
7466
|
Email: 'email',
|
|
7466
7467
|
File: 'file',
|
|
7467
7468
|
Hidden: 'hidden',
|
|
7468
7469
|
Number: 'number',
|
|
7469
7470
|
Password: 'password',
|
|
7471
|
+
RadioButtonGroup: 'radio-button-group',
|
|
7470
7472
|
Separator: 'separator',
|
|
7471
7473
|
Static: 'static',
|
|
7472
7474
|
Text: 'text',
|
|
7475
|
+
TextArea: 'text_area',
|
|
7476
|
+
TextAreaReadOnly: 'text_area_read_only',
|
|
7473
7477
|
TextReadOnly: 'text_read_only',
|
|
7474
7478
|
Username: 'username',
|
|
7475
7479
|
UnknownDefaultOpenApi: '11184809'
|
|
@@ -63,7 +63,7 @@ export interface PatchedPromptRequest {
|
|
|
63
63
|
*/
|
|
64
64
|
required?: boolean;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* When creating a Radio Button Group or Dropdown, enable interpreting as expression and return a list to return multiple choices.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof PatchedPromptRequest
|
|
69
69
|
*/
|
package/src/models/Prompt.ts
CHANGED
|
@@ -63,7 +63,7 @@ export interface PromptRequest {
|
|
|
63
63
|
*/
|
|
64
64
|
required?: boolean;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* When creating a Radio Button Group or Dropdown, enable interpreting as expression and return a list to return multiple choices.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof PromptRequest
|
|
69
69
|
*/
|
|
@@ -15,12 +15,16 @@
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* * `text` - Text: Simple Text input
|
|
18
|
+
* * `text_area` - Text area: Multiline Text Input.
|
|
18
19
|
* * `text_read_only` - Text (read-only): Simple Text input, but cannot be edited.
|
|
20
|
+
* * `text_area_read_only` - Text area (read-only): Multiline Text input, but cannot be edited.
|
|
19
21
|
* * `username` - Username: Same as Text input, but checks for and prevents duplicate usernames.
|
|
20
22
|
* * `email` - Email: Text field with Email type.
|
|
21
23
|
* * `password` - Password: Masked input, password is validated against sources. Policies still have to be applied to this Stage. If two of these are used in the same stage, they are ensured to be identical.
|
|
22
24
|
* * `number` - Number
|
|
23
25
|
* * `checkbox` - Checkbox
|
|
26
|
+
* * `radio-button-group` - Fixed choice field rendered as a group of radio buttons.
|
|
27
|
+
* * `dropdown` - Fixed choice field rendered as a dropdown.
|
|
24
28
|
* * `date` - Date
|
|
25
29
|
* * `date-time` - Date Time
|
|
26
30
|
* * `file` - File: File upload for arbitrary files. File content will be available in flow context as data-URI
|
|
@@ -32,12 +36,16 @@
|
|
|
32
36
|
*/
|
|
33
37
|
export const PromptTypeEnum = {
|
|
34
38
|
Text: 'text',
|
|
39
|
+
TextArea: 'text_area',
|
|
35
40
|
TextReadOnly: 'text_read_only',
|
|
41
|
+
TextAreaReadOnly: 'text_area_read_only',
|
|
36
42
|
Username: 'username',
|
|
37
43
|
Email: 'email',
|
|
38
44
|
Password: 'password',
|
|
39
45
|
Number: 'number',
|
|
40
46
|
Checkbox: 'checkbox',
|
|
47
|
+
RadioButtonGroup: 'radio-button-group',
|
|
48
|
+
Dropdown: 'dropdown',
|
|
41
49
|
Date: 'date',
|
|
42
50
|
DateTime: 'date-time',
|
|
43
51
|
File: 'file',
|
|
@@ -68,6 +68,12 @@ export interface StagePrompt {
|
|
|
68
68
|
* @memberof StagePrompt
|
|
69
69
|
*/
|
|
70
70
|
subText: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof StagePrompt
|
|
75
|
+
*/
|
|
76
|
+
choices: Array<string> | null;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
export function StagePromptFromJSON(json: any): StagePrompt {
|
|
@@ -87,6 +93,7 @@ export function StagePromptFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
87
93
|
'placeholder': json['placeholder'],
|
|
88
94
|
'order': json['order'],
|
|
89
95
|
'subText': json['sub_text'],
|
|
96
|
+
'choices': json['choices'],
|
|
90
97
|
};
|
|
91
98
|
}
|
|
92
99
|
|
|
@@ -106,6 +113,7 @@ export function StagePromptToJSON(value?: StagePrompt | null): any {
|
|
|
106
113
|
'placeholder': value.placeholder,
|
|
107
114
|
'order': value.order,
|
|
108
115
|
'sub_text': value.subText,
|
|
116
|
+
'choices': value.choices,
|
|
109
117
|
};
|
|
110
118
|
}
|
|
111
119
|
|