@swiss-ai-hub/web 0.316.2 → 0.317.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/components/FormKit/TenantSelect.vue +63 -0
- package/components/Knowledge/Document/List.vue +7 -2
- package/composables/document/useDocumentUrl.ts +2 -1
- package/formkit.config.ts +4 -1
- package/i18n/locales/de.yaml +1 -0
- package/i18n/locales/en.yaml +1 -0
- package/i18n/locales/fr.yaml +1 -0
- package/i18n/locales/it.yaml +1 -0
- package/package.json +1 -1
- package/pages/[tenant]/service/roles/[role_id].vue +3 -5
- package/sdk/client/index.ts +2 -2
- package/sdk/client/schemas.gen.ts +498 -582
- package/sdk/client/sdk.gen.ts +1 -1
- package/sdk/client/types.gen.ts +306 -297
|
@@ -448,9 +448,6 @@ export const AgentClassDTOSchema = {
|
|
|
448
448
|
{
|
|
449
449
|
$ref: "#/components/schemas/MultiSelect",
|
|
450
450
|
},
|
|
451
|
-
{
|
|
452
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
453
|
-
},
|
|
454
451
|
{
|
|
455
452
|
$ref: "#/components/schemas/Password",
|
|
456
453
|
},
|
|
@@ -472,6 +469,9 @@ export const AgentClassDTOSchema = {
|
|
|
472
469
|
{
|
|
473
470
|
$ref: "#/components/schemas/Slider",
|
|
474
471
|
},
|
|
472
|
+
{
|
|
473
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
474
|
+
},
|
|
475
475
|
{
|
|
476
476
|
$ref: "#/components/schemas/Textarea",
|
|
477
477
|
},
|
|
@@ -669,9 +669,6 @@ export const AgentConfigDTOSchema = {
|
|
|
669
669
|
{
|
|
670
670
|
$ref: "#/components/schemas/MultiSelect",
|
|
671
671
|
},
|
|
672
|
-
{
|
|
673
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
674
|
-
},
|
|
675
672
|
{
|
|
676
673
|
$ref: "#/components/schemas/Password",
|
|
677
674
|
},
|
|
@@ -693,6 +690,9 @@ export const AgentConfigDTOSchema = {
|
|
|
693
690
|
{
|
|
694
691
|
$ref: "#/components/schemas/Slider",
|
|
695
692
|
},
|
|
693
|
+
{
|
|
694
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
695
|
+
},
|
|
696
696
|
{
|
|
697
697
|
$ref: "#/components/schemas/Textarea",
|
|
698
698
|
},
|
|
@@ -8257,9 +8257,6 @@ export const FullProcessInstanceDTOSchema = {
|
|
|
8257
8257
|
{
|
|
8258
8258
|
$ref: "#/components/schemas/MultiSelect",
|
|
8259
8259
|
},
|
|
8260
|
-
{
|
|
8261
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
8262
|
-
},
|
|
8263
8260
|
{
|
|
8264
8261
|
$ref: "#/components/schemas/Password",
|
|
8265
8262
|
},
|
|
@@ -8281,6 +8278,9 @@ export const FullProcessInstanceDTOSchema = {
|
|
|
8281
8278
|
{
|
|
8282
8279
|
$ref: "#/components/schemas/Slider",
|
|
8283
8280
|
},
|
|
8281
|
+
{
|
|
8282
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
8283
|
+
},
|
|
8284
8284
|
{
|
|
8285
8285
|
$ref: "#/components/schemas/Textarea",
|
|
8286
8286
|
},
|
|
@@ -8536,9 +8536,6 @@ export const GroupSchema = {
|
|
|
8536
8536
|
{
|
|
8537
8537
|
$ref: "#/components/schemas/MultiSelect",
|
|
8538
8538
|
},
|
|
8539
|
-
{
|
|
8540
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
8541
|
-
},
|
|
8542
8539
|
{
|
|
8543
8540
|
$ref: "#/components/schemas/Password",
|
|
8544
8541
|
},
|
|
@@ -8560,6 +8557,9 @@ export const GroupSchema = {
|
|
|
8560
8557
|
{
|
|
8561
8558
|
$ref: "#/components/schemas/Slider",
|
|
8562
8559
|
},
|
|
8560
|
+
{
|
|
8561
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
8562
|
+
},
|
|
8563
8563
|
{
|
|
8564
8564
|
$ref: "#/components/schemas/Textarea",
|
|
8565
8565
|
},
|
|
@@ -8578,6 +8578,26 @@ export const GroupSchema = {
|
|
|
8578
8578
|
title: "Children",
|
|
8579
8579
|
description: "Child form elements contained within this group",
|
|
8580
8580
|
},
|
|
8581
|
+
accessRule: {
|
|
8582
|
+
anyOf: [
|
|
8583
|
+
{
|
|
8584
|
+
type: "string",
|
|
8585
|
+
},
|
|
8586
|
+
{
|
|
8587
|
+
type: "null",
|
|
8588
|
+
},
|
|
8589
|
+
],
|
|
8590
|
+
title: "Accessrule",
|
|
8591
|
+
description:
|
|
8592
|
+
"Access rule the user must satisfy to submit this section as enabled",
|
|
8593
|
+
},
|
|
8594
|
+
accessDeniedMessagePath: {
|
|
8595
|
+
type: "string",
|
|
8596
|
+
title: "Accessdeniedmessagepath",
|
|
8597
|
+
description:
|
|
8598
|
+
"i18n path for the message shown when access_rule is not satisfied",
|
|
8599
|
+
default: "lib.common.authorization.no_access_section",
|
|
8600
|
+
},
|
|
8581
8601
|
},
|
|
8582
8602
|
additionalProperties: true,
|
|
8583
8603
|
type: "object",
|
|
@@ -9032,9 +9052,6 @@ export const HumanInDTOSchema = {
|
|
|
9032
9052
|
{
|
|
9033
9053
|
$ref: "#/components/schemas/MultiSelect",
|
|
9034
9054
|
},
|
|
9035
|
-
{
|
|
9036
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
9037
|
-
},
|
|
9038
9055
|
{
|
|
9039
9056
|
$ref: "#/components/schemas/Password",
|
|
9040
9057
|
},
|
|
@@ -9056,6 +9073,9 @@ export const HumanInDTOSchema = {
|
|
|
9056
9073
|
{
|
|
9057
9074
|
$ref: "#/components/schemas/Slider",
|
|
9058
9075
|
},
|
|
9076
|
+
{
|
|
9077
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
9078
|
+
},
|
|
9059
9079
|
{
|
|
9060
9080
|
$ref: "#/components/schemas/Textarea",
|
|
9061
9081
|
},
|
|
@@ -9178,9 +9198,6 @@ export const HumanInSpecsSchema = {
|
|
|
9178
9198
|
{
|
|
9179
9199
|
$ref: "#/components/schemas/MultiSelect",
|
|
9180
9200
|
},
|
|
9181
|
-
{
|
|
9182
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
9183
|
-
},
|
|
9184
9201
|
{
|
|
9185
9202
|
$ref: "#/components/schemas/Password",
|
|
9186
9203
|
},
|
|
@@ -9202,6 +9219,9 @@ export const HumanInSpecsSchema = {
|
|
|
9202
9219
|
{
|
|
9203
9220
|
$ref: "#/components/schemas/Slider",
|
|
9204
9221
|
},
|
|
9222
|
+
{
|
|
9223
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
9224
|
+
},
|
|
9205
9225
|
{
|
|
9206
9226
|
$ref: "#/components/schemas/Textarea",
|
|
9207
9227
|
},
|
|
@@ -16329,254 +16349,6 @@ export const OpenWebuiWebhookUserSchema = {
|
|
|
16329
16349
|
title: "OpenWebuiWebhookUser",
|
|
16330
16350
|
} as const;
|
|
16331
16351
|
|
|
16332
|
-
export const OrgMemoryTenantInputSchema = {
|
|
16333
|
-
properties: {
|
|
16334
|
-
is_formkit_element: {
|
|
16335
|
-
type: "boolean",
|
|
16336
|
-
const: true,
|
|
16337
|
-
title: "Is Formkit Element",
|
|
16338
|
-
description: "Indicates that this element is a FormKit element",
|
|
16339
|
-
default: true,
|
|
16340
|
-
},
|
|
16341
|
-
if: {
|
|
16342
|
-
anyOf: [
|
|
16343
|
-
{
|
|
16344
|
-
type: "string",
|
|
16345
|
-
pattern: "^\\$.+",
|
|
16346
|
-
},
|
|
16347
|
-
{
|
|
16348
|
-
type: "null",
|
|
16349
|
-
},
|
|
16350
|
-
],
|
|
16351
|
-
title: "If",
|
|
16352
|
-
description: "Conditional expression to show this element",
|
|
16353
|
-
},
|
|
16354
|
-
id: {
|
|
16355
|
-
anyOf: [
|
|
16356
|
-
{
|
|
16357
|
-
type: "string",
|
|
16358
|
-
},
|
|
16359
|
-
{
|
|
16360
|
-
type: "null",
|
|
16361
|
-
},
|
|
16362
|
-
],
|
|
16363
|
-
title: "Id",
|
|
16364
|
-
description: "Unique identifier for this element",
|
|
16365
|
-
},
|
|
16366
|
-
nullable: {
|
|
16367
|
-
type: "boolean",
|
|
16368
|
-
title: "Nullable",
|
|
16369
|
-
description:
|
|
16370
|
-
"Render with a sibling toggle that sets this field to null when off",
|
|
16371
|
-
default: false,
|
|
16372
|
-
},
|
|
16373
|
-
defaultEnabled: {
|
|
16374
|
-
anyOf: [
|
|
16375
|
-
{
|
|
16376
|
-
type: "boolean",
|
|
16377
|
-
},
|
|
16378
|
-
{
|
|
16379
|
-
type: "null",
|
|
16380
|
-
},
|
|
16381
|
-
],
|
|
16382
|
-
title: "Defaultenabled",
|
|
16383
|
-
description:
|
|
16384
|
-
"For a nullable element, whether its toggle should start enabled on a fresh form (i.e. the field's data default is non-null). Ignored for non-nullable elements.",
|
|
16385
|
-
},
|
|
16386
|
-
formkit: {
|
|
16387
|
-
type: "string",
|
|
16388
|
-
const: "orgMemoryTenantInput",
|
|
16389
|
-
title: "Formkit",
|
|
16390
|
-
description: "Organization-memory tenant_id input element.",
|
|
16391
|
-
default: "orgMemoryTenantInput",
|
|
16392
|
-
},
|
|
16393
|
-
name: {
|
|
16394
|
-
anyOf: [
|
|
16395
|
-
{
|
|
16396
|
-
type: "string",
|
|
16397
|
-
},
|
|
16398
|
-
{
|
|
16399
|
-
type: "null",
|
|
16400
|
-
},
|
|
16401
|
-
],
|
|
16402
|
-
title: "Name",
|
|
16403
|
-
description: "Name of this field",
|
|
16404
|
-
},
|
|
16405
|
-
label: {
|
|
16406
|
-
anyOf: [
|
|
16407
|
-
{
|
|
16408
|
-
$ref: "#/components/schemas/LocaleString",
|
|
16409
|
-
},
|
|
16410
|
-
{
|
|
16411
|
-
type: "string",
|
|
16412
|
-
},
|
|
16413
|
-
],
|
|
16414
|
-
title: "Label",
|
|
16415
|
-
description: "Label of this field",
|
|
16416
|
-
},
|
|
16417
|
-
help: {
|
|
16418
|
-
anyOf: [
|
|
16419
|
-
{
|
|
16420
|
-
$ref: "#/components/schemas/LocaleString",
|
|
16421
|
-
},
|
|
16422
|
-
{
|
|
16423
|
-
type: "string",
|
|
16424
|
-
},
|
|
16425
|
-
{
|
|
16426
|
-
type: "null",
|
|
16427
|
-
},
|
|
16428
|
-
],
|
|
16429
|
-
title: "Help",
|
|
16430
|
-
description: "Help text of this field",
|
|
16431
|
-
},
|
|
16432
|
-
value: {
|
|
16433
|
-
anyOf: [
|
|
16434
|
-
{
|
|
16435
|
-
type: "string",
|
|
16436
|
-
},
|
|
16437
|
-
{
|
|
16438
|
-
type: "integer",
|
|
16439
|
-
},
|
|
16440
|
-
{
|
|
16441
|
-
type: "number",
|
|
16442
|
-
},
|
|
16443
|
-
{
|
|
16444
|
-
type: "boolean",
|
|
16445
|
-
},
|
|
16446
|
-
{
|
|
16447
|
-
items: {
|
|
16448
|
-
type: "string",
|
|
16449
|
-
},
|
|
16450
|
-
type: "array",
|
|
16451
|
-
},
|
|
16452
|
-
{
|
|
16453
|
-
additionalProperties: {
|
|
16454
|
-
type: "string",
|
|
16455
|
-
},
|
|
16456
|
-
type: "object",
|
|
16457
|
-
},
|
|
16458
|
-
{
|
|
16459
|
-
type: "null",
|
|
16460
|
-
},
|
|
16461
|
-
],
|
|
16462
|
-
title: "Value",
|
|
16463
|
-
description: "Default value for this field",
|
|
16464
|
-
},
|
|
16465
|
-
required: {
|
|
16466
|
-
type: "boolean",
|
|
16467
|
-
title: "Required",
|
|
16468
|
-
description: "Whether this field is required",
|
|
16469
|
-
default: false,
|
|
16470
|
-
},
|
|
16471
|
-
additional_validation_rules: {
|
|
16472
|
-
anyOf: [
|
|
16473
|
-
{
|
|
16474
|
-
type: "string",
|
|
16475
|
-
},
|
|
16476
|
-
{
|
|
16477
|
-
type: "null",
|
|
16478
|
-
},
|
|
16479
|
-
],
|
|
16480
|
-
title: "Additional Validation Rules",
|
|
16481
|
-
description: "Validation expression",
|
|
16482
|
-
},
|
|
16483
|
-
disabled: {
|
|
16484
|
-
type: "boolean",
|
|
16485
|
-
title: "Disabled",
|
|
16486
|
-
description: "Whether the input is disabled",
|
|
16487
|
-
default: false,
|
|
16488
|
-
},
|
|
16489
|
-
readonly: {
|
|
16490
|
-
type: "boolean",
|
|
16491
|
-
title: "Readonly",
|
|
16492
|
-
description: "Whether the input is readonly",
|
|
16493
|
-
default: false,
|
|
16494
|
-
},
|
|
16495
|
-
placeholder: {
|
|
16496
|
-
anyOf: [
|
|
16497
|
-
{
|
|
16498
|
-
$ref: "#/components/schemas/LocaleString",
|
|
16499
|
-
},
|
|
16500
|
-
{
|
|
16501
|
-
type: "string",
|
|
16502
|
-
},
|
|
16503
|
-
{
|
|
16504
|
-
type: "null",
|
|
16505
|
-
},
|
|
16506
|
-
],
|
|
16507
|
-
title: "Placeholder",
|
|
16508
|
-
description: "Placeholder text",
|
|
16509
|
-
},
|
|
16510
|
-
prefix: {
|
|
16511
|
-
anyOf: [
|
|
16512
|
-
{
|
|
16513
|
-
$ref: "#/components/schemas/LocaleString",
|
|
16514
|
-
},
|
|
16515
|
-
{
|
|
16516
|
-
type: "string",
|
|
16517
|
-
},
|
|
16518
|
-
{
|
|
16519
|
-
type: "null",
|
|
16520
|
-
},
|
|
16521
|
-
],
|
|
16522
|
-
title: "Prefix",
|
|
16523
|
-
description: "Prefix text",
|
|
16524
|
-
},
|
|
16525
|
-
suffix: {
|
|
16526
|
-
anyOf: [
|
|
16527
|
-
{
|
|
16528
|
-
$ref: "#/components/schemas/LocaleString",
|
|
16529
|
-
},
|
|
16530
|
-
{
|
|
16531
|
-
type: "string",
|
|
16532
|
-
},
|
|
16533
|
-
{
|
|
16534
|
-
type: "null",
|
|
16535
|
-
},
|
|
16536
|
-
],
|
|
16537
|
-
title: "Suffix",
|
|
16538
|
-
description: "Suffix text",
|
|
16539
|
-
},
|
|
16540
|
-
iconPrefix: {
|
|
16541
|
-
anyOf: [
|
|
16542
|
-
{
|
|
16543
|
-
type: "string",
|
|
16544
|
-
pattern: "^pi pi-[a-z0-9-]+$",
|
|
16545
|
-
},
|
|
16546
|
-
{
|
|
16547
|
-
type: "null",
|
|
16548
|
-
},
|
|
16549
|
-
],
|
|
16550
|
-
title: "Iconprefix",
|
|
16551
|
-
description: "Icon prefix",
|
|
16552
|
-
},
|
|
16553
|
-
iconSuffix: {
|
|
16554
|
-
anyOf: [
|
|
16555
|
-
{
|
|
16556
|
-
type: "string",
|
|
16557
|
-
pattern: "^pi pi-[a-z0-9-]+$",
|
|
16558
|
-
},
|
|
16559
|
-
{
|
|
16560
|
-
type: "null",
|
|
16561
|
-
},
|
|
16562
|
-
],
|
|
16563
|
-
title: "Iconsuffix",
|
|
16564
|
-
description: "Icon suffix",
|
|
16565
|
-
},
|
|
16566
|
-
validation: {
|
|
16567
|
-
type: "string",
|
|
16568
|
-
title: "Validation",
|
|
16569
|
-
readOnly: true,
|
|
16570
|
-
},
|
|
16571
|
-
},
|
|
16572
|
-
additionalProperties: true,
|
|
16573
|
-
type: "object",
|
|
16574
|
-
required: ["label", "validation"],
|
|
16575
|
-
title: "OrgMemoryTenantInput",
|
|
16576
|
-
description:
|
|
16577
|
-
"Text input for the organization-memory `tenant_id` field that also enforces\nconfig-time access control.\n\nRenders identically to a plain `InputText` (same UI), but its presence in a\nsubmitted config means the section is enabled — so we require the configuring user\nto hold `aihub.user.memory.organization`. When the parent `org_memory` section is\nnull the walker never reaches this element, so no check fires.",
|
|
16578
|
-
} as const;
|
|
16579
|
-
|
|
16580
16352
|
export const PaginatedDocumentsResponseSchema = {
|
|
16581
16353
|
properties: {
|
|
16582
16354
|
total: {
|
|
@@ -17236,9 +17008,6 @@ export const ProcessClassDTOSchema = {
|
|
|
17236
17008
|
{
|
|
17237
17009
|
$ref: "#/components/schemas/MultiSelect",
|
|
17238
17010
|
},
|
|
17239
|
-
{
|
|
17240
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
17241
|
-
},
|
|
17242
17011
|
{
|
|
17243
17012
|
$ref: "#/components/schemas/Password",
|
|
17244
17013
|
},
|
|
@@ -17260,6 +17029,9 @@ export const ProcessClassDTOSchema = {
|
|
|
17260
17029
|
{
|
|
17261
17030
|
$ref: "#/components/schemas/Slider",
|
|
17262
17031
|
},
|
|
17032
|
+
{
|
|
17033
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
17034
|
+
},
|
|
17263
17035
|
{
|
|
17264
17036
|
$ref: "#/components/schemas/Textarea",
|
|
17265
17037
|
},
|
|
@@ -18787,9 +18559,6 @@ export const RepeaterSchema = {
|
|
|
18787
18559
|
{
|
|
18788
18560
|
$ref: "#/components/schemas/MultiSelect",
|
|
18789
18561
|
},
|
|
18790
|
-
{
|
|
18791
|
-
$ref: "#/components/schemas/OrgMemoryTenantInput",
|
|
18792
|
-
},
|
|
18793
18562
|
{
|
|
18794
18563
|
$ref: "#/components/schemas/Password",
|
|
18795
18564
|
},
|
|
@@ -18811,6 +18580,9 @@ export const RepeaterSchema = {
|
|
|
18811
18580
|
{
|
|
18812
18581
|
$ref: "#/components/schemas/Slider",
|
|
18813
18582
|
},
|
|
18583
|
+
{
|
|
18584
|
+
$ref: "#/components/schemas/TenantSelect",
|
|
18585
|
+
},
|
|
18814
18586
|
{
|
|
18815
18587
|
$ref: "#/components/schemas/Textarea",
|
|
18816
18588
|
},
|
|
@@ -21209,6 +20981,192 @@ export const TenantMembershipDTOSchema = {
|
|
|
21209
20981
|
description: "A tenant the current user belongs to.",
|
|
21210
20982
|
} as const;
|
|
21211
20983
|
|
|
20984
|
+
export const TenantSelectSchema = {
|
|
20985
|
+
properties: {
|
|
20986
|
+
is_formkit_element: {
|
|
20987
|
+
type: "boolean",
|
|
20988
|
+
const: true,
|
|
20989
|
+
title: "Is Formkit Element",
|
|
20990
|
+
description: "Indicates that this element is a FormKit element",
|
|
20991
|
+
default: true,
|
|
20992
|
+
},
|
|
20993
|
+
if: {
|
|
20994
|
+
anyOf: [
|
|
20995
|
+
{
|
|
20996
|
+
type: "string",
|
|
20997
|
+
pattern: "^\\$.+",
|
|
20998
|
+
},
|
|
20999
|
+
{
|
|
21000
|
+
type: "null",
|
|
21001
|
+
},
|
|
21002
|
+
],
|
|
21003
|
+
title: "If",
|
|
21004
|
+
description: "Conditional expression to show this element",
|
|
21005
|
+
},
|
|
21006
|
+
id: {
|
|
21007
|
+
anyOf: [
|
|
21008
|
+
{
|
|
21009
|
+
type: "string",
|
|
21010
|
+
},
|
|
21011
|
+
{
|
|
21012
|
+
type: "null",
|
|
21013
|
+
},
|
|
21014
|
+
],
|
|
21015
|
+
title: "Id",
|
|
21016
|
+
description: "Unique identifier for this element",
|
|
21017
|
+
},
|
|
21018
|
+
nullable: {
|
|
21019
|
+
type: "boolean",
|
|
21020
|
+
title: "Nullable",
|
|
21021
|
+
description:
|
|
21022
|
+
"Render with a sibling toggle that sets this field to null when off",
|
|
21023
|
+
default: false,
|
|
21024
|
+
},
|
|
21025
|
+
defaultEnabled: {
|
|
21026
|
+
anyOf: [
|
|
21027
|
+
{
|
|
21028
|
+
type: "boolean",
|
|
21029
|
+
},
|
|
21030
|
+
{
|
|
21031
|
+
type: "null",
|
|
21032
|
+
},
|
|
21033
|
+
],
|
|
21034
|
+
title: "Defaultenabled",
|
|
21035
|
+
description:
|
|
21036
|
+
"For a nullable element, whether its toggle should start enabled on a fresh form (i.e. the field's data default is non-null). Ignored for non-nullable elements.",
|
|
21037
|
+
},
|
|
21038
|
+
formkit: {
|
|
21039
|
+
type: "string",
|
|
21040
|
+
const: "tenantSelect",
|
|
21041
|
+
title: "Formkit",
|
|
21042
|
+
description: "Tenant select element.",
|
|
21043
|
+
default: "tenantSelect",
|
|
21044
|
+
},
|
|
21045
|
+
name: {
|
|
21046
|
+
anyOf: [
|
|
21047
|
+
{
|
|
21048
|
+
type: "string",
|
|
21049
|
+
},
|
|
21050
|
+
{
|
|
21051
|
+
type: "null",
|
|
21052
|
+
},
|
|
21053
|
+
],
|
|
21054
|
+
title: "Name",
|
|
21055
|
+
description: "Name of this field",
|
|
21056
|
+
},
|
|
21057
|
+
label: {
|
|
21058
|
+
anyOf: [
|
|
21059
|
+
{
|
|
21060
|
+
$ref: "#/components/schemas/LocaleString",
|
|
21061
|
+
},
|
|
21062
|
+
{
|
|
21063
|
+
type: "string",
|
|
21064
|
+
},
|
|
21065
|
+
],
|
|
21066
|
+
title: "Label",
|
|
21067
|
+
description: "Label of this field",
|
|
21068
|
+
},
|
|
21069
|
+
help: {
|
|
21070
|
+
anyOf: [
|
|
21071
|
+
{
|
|
21072
|
+
$ref: "#/components/schemas/LocaleString",
|
|
21073
|
+
},
|
|
21074
|
+
{
|
|
21075
|
+
type: "string",
|
|
21076
|
+
},
|
|
21077
|
+
{
|
|
21078
|
+
type: "null",
|
|
21079
|
+
},
|
|
21080
|
+
],
|
|
21081
|
+
title: "Help",
|
|
21082
|
+
description: "Help text of this field",
|
|
21083
|
+
},
|
|
21084
|
+
value: {
|
|
21085
|
+
anyOf: [
|
|
21086
|
+
{
|
|
21087
|
+
type: "string",
|
|
21088
|
+
},
|
|
21089
|
+
{
|
|
21090
|
+
type: "integer",
|
|
21091
|
+
},
|
|
21092
|
+
{
|
|
21093
|
+
type: "number",
|
|
21094
|
+
},
|
|
21095
|
+
{
|
|
21096
|
+
type: "boolean",
|
|
21097
|
+
},
|
|
21098
|
+
{
|
|
21099
|
+
items: {
|
|
21100
|
+
type: "string",
|
|
21101
|
+
},
|
|
21102
|
+
type: "array",
|
|
21103
|
+
},
|
|
21104
|
+
{
|
|
21105
|
+
additionalProperties: {
|
|
21106
|
+
type: "string",
|
|
21107
|
+
},
|
|
21108
|
+
type: "object",
|
|
21109
|
+
},
|
|
21110
|
+
{
|
|
21111
|
+
type: "null",
|
|
21112
|
+
},
|
|
21113
|
+
],
|
|
21114
|
+
title: "Value",
|
|
21115
|
+
description: "Default value for this field",
|
|
21116
|
+
},
|
|
21117
|
+
required: {
|
|
21118
|
+
type: "boolean",
|
|
21119
|
+
title: "Required",
|
|
21120
|
+
description: "Whether this field is required",
|
|
21121
|
+
default: false,
|
|
21122
|
+
},
|
|
21123
|
+
additional_validation_rules: {
|
|
21124
|
+
anyOf: [
|
|
21125
|
+
{
|
|
21126
|
+
type: "string",
|
|
21127
|
+
},
|
|
21128
|
+
{
|
|
21129
|
+
type: "null",
|
|
21130
|
+
},
|
|
21131
|
+
],
|
|
21132
|
+
title: "Additional Validation Rules",
|
|
21133
|
+
description: "Validation expression",
|
|
21134
|
+
},
|
|
21135
|
+
placeholder: {
|
|
21136
|
+
anyOf: [
|
|
21137
|
+
{
|
|
21138
|
+
$ref: "#/components/schemas/LocaleString",
|
|
21139
|
+
},
|
|
21140
|
+
{
|
|
21141
|
+
type: "string",
|
|
21142
|
+
},
|
|
21143
|
+
{
|
|
21144
|
+
type: "null",
|
|
21145
|
+
},
|
|
21146
|
+
],
|
|
21147
|
+
title: "Placeholder",
|
|
21148
|
+
description: "Placeholder text",
|
|
21149
|
+
},
|
|
21150
|
+
filter: {
|
|
21151
|
+
type: "boolean",
|
|
21152
|
+
title: "Filter",
|
|
21153
|
+
description: "Whether to enable filtering/search",
|
|
21154
|
+
default: true,
|
|
21155
|
+
},
|
|
21156
|
+
validation: {
|
|
21157
|
+
type: "string",
|
|
21158
|
+
title: "Validation",
|
|
21159
|
+
readOnly: true,
|
|
21160
|
+
},
|
|
21161
|
+
},
|
|
21162
|
+
additionalProperties: true,
|
|
21163
|
+
type: "object",
|
|
21164
|
+
required: ["label", "validation"],
|
|
21165
|
+
title: "TenantSelect",
|
|
21166
|
+
description:
|
|
21167
|
+
'A FormKit element for selecting one of the tenants the user belongs to.\n\nRenders as a select dropdown listing tenant *names*, while the submitted value is the\ntenant *id*. The frontend populates the options from the user\'s memberships and\npre-selects their active tenant.\n\n### Form Duality\n\n```python\nclass MyConfig(Form):\n tenant_id: Annotated[\n str | TenantSelect,\n Field(description="Tenant to scope against"),\n ]\n\n @classmethod\n def as_form(cls) -> "MyConfig":\n return cls(\n tenant_id=TenantSelect(\n label=LocaleString(en="Tenant"),\n ),\n )\n\n# Data mode - from submission:\nconfig = MyConfig(tenant_id="507f1f77bcf86cd799439011")\n```',
|
|
21168
|
+
} as const;
|
|
21169
|
+
|
|
21212
21170
|
export const TextBlockSchema = {
|
|
21213
21171
|
properties: {
|
|
21214
21172
|
block_type: {
|
|
@@ -24418,9 +24376,6 @@ export const AgentClassDTOWritableSchema = {
|
|
|
24418
24376
|
{
|
|
24419
24377
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
24420
24378
|
},
|
|
24421
|
-
{
|
|
24422
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
24423
|
-
},
|
|
24424
24379
|
{
|
|
24425
24380
|
$ref: "#/components/schemas/PasswordWritable",
|
|
24426
24381
|
},
|
|
@@ -24442,6 +24397,9 @@ export const AgentClassDTOWritableSchema = {
|
|
|
24442
24397
|
{
|
|
24443
24398
|
$ref: "#/components/schemas/SliderWritable",
|
|
24444
24399
|
},
|
|
24400
|
+
{
|
|
24401
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
24402
|
+
},
|
|
24445
24403
|
{
|
|
24446
24404
|
$ref: "#/components/schemas/TextareaWritable",
|
|
24447
24405
|
},
|
|
@@ -24639,9 +24597,6 @@ export const AgentConfigDTOWritableSchema = {
|
|
|
24639
24597
|
{
|
|
24640
24598
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
24641
24599
|
},
|
|
24642
|
-
{
|
|
24643
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
24644
|
-
},
|
|
24645
24600
|
{
|
|
24646
24601
|
$ref: "#/components/schemas/PasswordWritable",
|
|
24647
24602
|
},
|
|
@@ -24663,6 +24618,9 @@ export const AgentConfigDTOWritableSchema = {
|
|
|
24663
24618
|
{
|
|
24664
24619
|
$ref: "#/components/schemas/SliderWritable",
|
|
24665
24620
|
},
|
|
24621
|
+
{
|
|
24622
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
24623
|
+
},
|
|
24666
24624
|
{
|
|
24667
24625
|
$ref: "#/components/schemas/TextareaWritable",
|
|
24668
24626
|
},
|
|
@@ -27951,9 +27909,6 @@ export const FullProcessInstanceDTOWritableSchema = {
|
|
|
27951
27909
|
{
|
|
27952
27910
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
27953
27911
|
},
|
|
27954
|
-
{
|
|
27955
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
27956
|
-
},
|
|
27957
27912
|
{
|
|
27958
27913
|
$ref: "#/components/schemas/PasswordWritable",
|
|
27959
27914
|
},
|
|
@@ -27975,6 +27930,9 @@ export const FullProcessInstanceDTOWritableSchema = {
|
|
|
27975
27930
|
{
|
|
27976
27931
|
$ref: "#/components/schemas/SliderWritable",
|
|
27977
27932
|
},
|
|
27933
|
+
{
|
|
27934
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
27935
|
+
},
|
|
27978
27936
|
{
|
|
27979
27937
|
$ref: "#/components/schemas/TextareaWritable",
|
|
27980
27938
|
},
|
|
@@ -28160,9 +28118,6 @@ export const GroupWritableSchema = {
|
|
|
28160
28118
|
{
|
|
28161
28119
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
28162
28120
|
},
|
|
28163
|
-
{
|
|
28164
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
28165
|
-
},
|
|
28166
28121
|
{
|
|
28167
28122
|
$ref: "#/components/schemas/PasswordWritable",
|
|
28168
28123
|
},
|
|
@@ -28184,6 +28139,9 @@ export const GroupWritableSchema = {
|
|
|
28184
28139
|
{
|
|
28185
28140
|
$ref: "#/components/schemas/SliderWritable",
|
|
28186
28141
|
},
|
|
28142
|
+
{
|
|
28143
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
28144
|
+
},
|
|
28187
28145
|
{
|
|
28188
28146
|
$ref: "#/components/schemas/TextareaWritable",
|
|
28189
28147
|
},
|
|
@@ -28202,6 +28160,26 @@ export const GroupWritableSchema = {
|
|
|
28202
28160
|
title: "Children",
|
|
28203
28161
|
description: "Child form elements contained within this group",
|
|
28204
28162
|
},
|
|
28163
|
+
accessRule: {
|
|
28164
|
+
anyOf: [
|
|
28165
|
+
{
|
|
28166
|
+
type: "string",
|
|
28167
|
+
},
|
|
28168
|
+
{
|
|
28169
|
+
type: "null",
|
|
28170
|
+
},
|
|
28171
|
+
],
|
|
28172
|
+
title: "Accessrule",
|
|
28173
|
+
description:
|
|
28174
|
+
"Access rule the user must satisfy to submit this section as enabled",
|
|
28175
|
+
},
|
|
28176
|
+
accessDeniedMessagePath: {
|
|
28177
|
+
type: "string",
|
|
28178
|
+
title: "Accessdeniedmessagepath",
|
|
28179
|
+
description:
|
|
28180
|
+
"i18n path for the message shown when access_rule is not satisfied",
|
|
28181
|
+
default: "lib.common.authorization.no_access_section",
|
|
28182
|
+
},
|
|
28205
28183
|
},
|
|
28206
28184
|
additionalProperties: true,
|
|
28207
28185
|
type: "object",
|
|
@@ -28439,9 +28417,6 @@ export const HumanInDTOWritableSchema = {
|
|
|
28439
28417
|
{
|
|
28440
28418
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
28441
28419
|
},
|
|
28442
|
-
{
|
|
28443
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
28444
|
-
},
|
|
28445
28420
|
{
|
|
28446
28421
|
$ref: "#/components/schemas/PasswordWritable",
|
|
28447
28422
|
},
|
|
@@ -28463,6 +28438,9 @@ export const HumanInDTOWritableSchema = {
|
|
|
28463
28438
|
{
|
|
28464
28439
|
$ref: "#/components/schemas/SliderWritable",
|
|
28465
28440
|
},
|
|
28441
|
+
{
|
|
28442
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
28443
|
+
},
|
|
28466
28444
|
{
|
|
28467
28445
|
$ref: "#/components/schemas/TextareaWritable",
|
|
28468
28446
|
},
|
|
@@ -28585,9 +28563,6 @@ export const HumanInSpecsWritableSchema = {
|
|
|
28585
28563
|
{
|
|
28586
28564
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
28587
28565
|
},
|
|
28588
|
-
{
|
|
28589
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
28590
|
-
},
|
|
28591
28566
|
{
|
|
28592
28567
|
$ref: "#/components/schemas/PasswordWritable",
|
|
28593
28568
|
},
|
|
@@ -28609,6 +28584,9 @@ export const HumanInSpecsWritableSchema = {
|
|
|
28609
28584
|
{
|
|
28610
28585
|
$ref: "#/components/schemas/SliderWritable",
|
|
28611
28586
|
},
|
|
28587
|
+
{
|
|
28588
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
28589
|
+
},
|
|
28612
28590
|
{
|
|
28613
28591
|
$ref: "#/components/schemas/TextareaWritable",
|
|
28614
28592
|
},
|
|
@@ -32687,279 +32665,17 @@ export const MultiSelectWritableSchema = {
|
|
|
32687
32665
|
title: "Placeholder",
|
|
32688
32666
|
description: "Placeholder text",
|
|
32689
32667
|
},
|
|
32690
|
-
options: {
|
|
32691
|
-
items: {
|
|
32692
|
-
additionalProperties: true,
|
|
32693
|
-
type: "object",
|
|
32694
|
-
},
|
|
32695
|
-
type: "array",
|
|
32696
|
-
title: "Options",
|
|
32697
|
-
description: "Array of selectable option objects",
|
|
32698
|
-
},
|
|
32699
|
-
optionLabel: {
|
|
32700
|
-
anyOf: [
|
|
32701
|
-
{
|
|
32702
|
-
type: "string",
|
|
32703
|
-
},
|
|
32704
|
-
{
|
|
32705
|
-
type: "null",
|
|
32706
|
-
},
|
|
32707
|
-
],
|
|
32708
|
-
title: "Optionlabel",
|
|
32709
|
-
description: "Property name to use as the label of an option",
|
|
32710
|
-
},
|
|
32711
|
-
optionValue: {
|
|
32712
|
-
anyOf: [
|
|
32713
|
-
{
|
|
32714
|
-
type: "string",
|
|
32715
|
-
},
|
|
32716
|
-
{
|
|
32717
|
-
type: "null",
|
|
32718
|
-
},
|
|
32719
|
-
],
|
|
32720
|
-
title: "Optionvalue",
|
|
32721
|
-
description: "Property name to use as the value of an option",
|
|
32722
|
-
},
|
|
32723
|
-
filter: {
|
|
32724
|
-
type: "boolean",
|
|
32725
|
-
title: "Filter",
|
|
32726
|
-
description: "Whether to enable filtering",
|
|
32727
|
-
default: false,
|
|
32728
|
-
},
|
|
32729
|
-
},
|
|
32730
|
-
additionalProperties: true,
|
|
32731
|
-
type: "object",
|
|
32732
|
-
required: ["label", "options"],
|
|
32733
|
-
title: "MultiSelect",
|
|
32734
|
-
description: "https://formkit-primevue.netlify.app/inputs/MultiSelect",
|
|
32735
|
-
} as const;
|
|
32736
|
-
|
|
32737
|
-
export const OpenChatHitlResponseWritableSchema = {
|
|
32738
|
-
properties: {
|
|
32739
|
-
has_open_chat_hitl: {
|
|
32740
|
-
type: "boolean",
|
|
32741
|
-
title: "Has Open Chat Hitl",
|
|
32742
|
-
description:
|
|
32743
|
-
"Whether there is an open chat HITL request awaiting response.",
|
|
32744
|
-
},
|
|
32745
|
-
hitl_request: {
|
|
32746
|
-
anyOf: [
|
|
32747
|
-
{
|
|
32748
|
-
$ref: "#/components/schemas/HumanInTheLoopRequestEventWritable",
|
|
32749
|
-
},
|
|
32750
|
-
{
|
|
32751
|
-
type: "null",
|
|
32752
|
-
},
|
|
32753
|
-
],
|
|
32754
|
-
description:
|
|
32755
|
-
"The HITL request event if there is an open chat HITL, None otherwise.",
|
|
32756
|
-
},
|
|
32757
|
-
},
|
|
32758
|
-
type: "object",
|
|
32759
|
-
required: ["has_open_chat_hitl"],
|
|
32760
|
-
title: "OpenChatHitlResponse",
|
|
32761
|
-
description:
|
|
32762
|
-
"Response indicating whether there's an open chat HITL request for a thread.",
|
|
32763
|
-
} as const;
|
|
32764
|
-
|
|
32765
|
-
export const OrgMemoryTenantInputWritableSchema = {
|
|
32766
|
-
properties: {
|
|
32767
|
-
is_formkit_element: {
|
|
32768
|
-
type: "boolean",
|
|
32769
|
-
const: true,
|
|
32770
|
-
title: "Is Formkit Element",
|
|
32771
|
-
description: "Indicates that this element is a FormKit element",
|
|
32772
|
-
default: true,
|
|
32773
|
-
},
|
|
32774
|
-
if: {
|
|
32775
|
-
anyOf: [
|
|
32776
|
-
{
|
|
32777
|
-
type: "string",
|
|
32778
|
-
pattern: "^\\$.+",
|
|
32779
|
-
},
|
|
32780
|
-
{
|
|
32781
|
-
type: "null",
|
|
32782
|
-
},
|
|
32783
|
-
],
|
|
32784
|
-
title: "If",
|
|
32785
|
-
description: "Conditional expression to show this element",
|
|
32786
|
-
},
|
|
32787
|
-
id: {
|
|
32788
|
-
anyOf: [
|
|
32789
|
-
{
|
|
32790
|
-
type: "string",
|
|
32791
|
-
},
|
|
32792
|
-
{
|
|
32793
|
-
type: "null",
|
|
32794
|
-
},
|
|
32795
|
-
],
|
|
32796
|
-
title: "Id",
|
|
32797
|
-
description: "Unique identifier for this element",
|
|
32798
|
-
},
|
|
32799
|
-
nullable: {
|
|
32800
|
-
type: "boolean",
|
|
32801
|
-
title: "Nullable",
|
|
32802
|
-
description:
|
|
32803
|
-
"Render with a sibling toggle that sets this field to null when off",
|
|
32804
|
-
default: false,
|
|
32805
|
-
},
|
|
32806
|
-
defaultEnabled: {
|
|
32807
|
-
anyOf: [
|
|
32808
|
-
{
|
|
32809
|
-
type: "boolean",
|
|
32810
|
-
},
|
|
32811
|
-
{
|
|
32812
|
-
type: "null",
|
|
32813
|
-
},
|
|
32814
|
-
],
|
|
32815
|
-
title: "Defaultenabled",
|
|
32816
|
-
description:
|
|
32817
|
-
"For a nullable element, whether its toggle should start enabled on a fresh form (i.e. the field's data default is non-null). Ignored for non-nullable elements.",
|
|
32818
|
-
},
|
|
32819
|
-
formkit: {
|
|
32820
|
-
type: "string",
|
|
32821
|
-
const: "orgMemoryTenantInput",
|
|
32822
|
-
title: "Formkit",
|
|
32823
|
-
description: "Organization-memory tenant_id input element.",
|
|
32824
|
-
default: "orgMemoryTenantInput",
|
|
32825
|
-
},
|
|
32826
|
-
name: {
|
|
32827
|
-
anyOf: [
|
|
32828
|
-
{
|
|
32829
|
-
type: "string",
|
|
32830
|
-
},
|
|
32831
|
-
{
|
|
32832
|
-
type: "null",
|
|
32833
|
-
},
|
|
32834
|
-
],
|
|
32835
|
-
title: "Name",
|
|
32836
|
-
description: "Name of this field",
|
|
32837
|
-
},
|
|
32838
|
-
label: {
|
|
32839
|
-
anyOf: [
|
|
32840
|
-
{
|
|
32841
|
-
$ref: "#/components/schemas/LocaleString",
|
|
32842
|
-
},
|
|
32843
|
-
{
|
|
32844
|
-
type: "string",
|
|
32845
|
-
},
|
|
32846
|
-
],
|
|
32847
|
-
title: "Label",
|
|
32848
|
-
description: "Label of this field",
|
|
32849
|
-
},
|
|
32850
|
-
help: {
|
|
32851
|
-
anyOf: [
|
|
32852
|
-
{
|
|
32853
|
-
$ref: "#/components/schemas/LocaleString",
|
|
32854
|
-
},
|
|
32855
|
-
{
|
|
32856
|
-
type: "string",
|
|
32857
|
-
},
|
|
32858
|
-
{
|
|
32859
|
-
type: "null",
|
|
32860
|
-
},
|
|
32861
|
-
],
|
|
32862
|
-
title: "Help",
|
|
32863
|
-
description: "Help text of this field",
|
|
32864
|
-
},
|
|
32865
|
-
value: {
|
|
32866
|
-
anyOf: [
|
|
32867
|
-
{
|
|
32868
|
-
type: "string",
|
|
32869
|
-
},
|
|
32870
|
-
{
|
|
32871
|
-
type: "integer",
|
|
32872
|
-
},
|
|
32873
|
-
{
|
|
32874
|
-
type: "number",
|
|
32875
|
-
},
|
|
32876
|
-
{
|
|
32877
|
-
type: "boolean",
|
|
32878
|
-
},
|
|
32879
|
-
{
|
|
32880
|
-
items: {
|
|
32881
|
-
type: "string",
|
|
32882
|
-
},
|
|
32883
|
-
type: "array",
|
|
32884
|
-
},
|
|
32885
|
-
{
|
|
32886
|
-
additionalProperties: {
|
|
32887
|
-
type: "string",
|
|
32888
|
-
},
|
|
32889
|
-
type: "object",
|
|
32890
|
-
},
|
|
32891
|
-
{
|
|
32892
|
-
type: "null",
|
|
32893
|
-
},
|
|
32894
|
-
],
|
|
32895
|
-
title: "Value",
|
|
32896
|
-
description: "Default value for this field",
|
|
32897
|
-
},
|
|
32898
|
-
required: {
|
|
32899
|
-
type: "boolean",
|
|
32900
|
-
title: "Required",
|
|
32901
|
-
description: "Whether this field is required",
|
|
32902
|
-
default: false,
|
|
32903
|
-
},
|
|
32904
|
-
additional_validation_rules: {
|
|
32905
|
-
anyOf: [
|
|
32906
|
-
{
|
|
32907
|
-
type: "string",
|
|
32908
|
-
},
|
|
32909
|
-
{
|
|
32910
|
-
type: "null",
|
|
32911
|
-
},
|
|
32912
|
-
],
|
|
32913
|
-
title: "Additional Validation Rules",
|
|
32914
|
-
description: "Validation expression",
|
|
32915
|
-
},
|
|
32916
|
-
disabled: {
|
|
32917
|
-
type: "boolean",
|
|
32918
|
-
title: "Disabled",
|
|
32919
|
-
description: "Whether the input is disabled",
|
|
32920
|
-
default: false,
|
|
32921
|
-
},
|
|
32922
|
-
readonly: {
|
|
32923
|
-
type: "boolean",
|
|
32924
|
-
title: "Readonly",
|
|
32925
|
-
description: "Whether the input is readonly",
|
|
32926
|
-
default: false,
|
|
32927
|
-
},
|
|
32928
|
-
placeholder: {
|
|
32929
|
-
anyOf: [
|
|
32930
|
-
{
|
|
32931
|
-
$ref: "#/components/schemas/LocaleString",
|
|
32932
|
-
},
|
|
32933
|
-
{
|
|
32934
|
-
type: "string",
|
|
32935
|
-
},
|
|
32936
|
-
{
|
|
32937
|
-
type: "null",
|
|
32938
|
-
},
|
|
32939
|
-
],
|
|
32940
|
-
title: "Placeholder",
|
|
32941
|
-
description: "Placeholder text",
|
|
32942
|
-
},
|
|
32943
|
-
prefix: {
|
|
32944
|
-
anyOf: [
|
|
32945
|
-
{
|
|
32946
|
-
$ref: "#/components/schemas/LocaleString",
|
|
32947
|
-
},
|
|
32948
|
-
{
|
|
32949
|
-
type: "string",
|
|
32950
|
-
},
|
|
32951
|
-
{
|
|
32952
|
-
type: "null",
|
|
32953
|
-
},
|
|
32954
|
-
],
|
|
32955
|
-
title: "Prefix",
|
|
32956
|
-
description: "Prefix text",
|
|
32668
|
+
options: {
|
|
32669
|
+
items: {
|
|
32670
|
+
additionalProperties: true,
|
|
32671
|
+
type: "object",
|
|
32672
|
+
},
|
|
32673
|
+
type: "array",
|
|
32674
|
+
title: "Options",
|
|
32675
|
+
description: "Array of selectable option objects",
|
|
32957
32676
|
},
|
|
32958
|
-
|
|
32677
|
+
optionLabel: {
|
|
32959
32678
|
anyOf: [
|
|
32960
|
-
{
|
|
32961
|
-
$ref: "#/components/schemas/LocaleString",
|
|
32962
|
-
},
|
|
32963
32679
|
{
|
|
32964
32680
|
type: "string",
|
|
32965
32681
|
},
|
|
@@ -32967,42 +32683,61 @@ export const OrgMemoryTenantInputWritableSchema = {
|
|
|
32967
32683
|
type: "null",
|
|
32968
32684
|
},
|
|
32969
32685
|
],
|
|
32970
|
-
title: "
|
|
32971
|
-
description: "
|
|
32686
|
+
title: "Optionlabel",
|
|
32687
|
+
description: "Property name to use as the label of an option",
|
|
32972
32688
|
},
|
|
32973
|
-
|
|
32689
|
+
optionValue: {
|
|
32974
32690
|
anyOf: [
|
|
32975
32691
|
{
|
|
32976
32692
|
type: "string",
|
|
32977
|
-
pattern: "^pi pi-[a-z0-9-]+$",
|
|
32978
32693
|
},
|
|
32979
32694
|
{
|
|
32980
32695
|
type: "null",
|
|
32981
32696
|
},
|
|
32982
32697
|
],
|
|
32983
|
-
title: "
|
|
32984
|
-
description: "
|
|
32698
|
+
title: "Optionvalue",
|
|
32699
|
+
description: "Property name to use as the value of an option",
|
|
32985
32700
|
},
|
|
32986
|
-
|
|
32701
|
+
filter: {
|
|
32702
|
+
type: "boolean",
|
|
32703
|
+
title: "Filter",
|
|
32704
|
+
description: "Whether to enable filtering",
|
|
32705
|
+
default: false,
|
|
32706
|
+
},
|
|
32707
|
+
},
|
|
32708
|
+
additionalProperties: true,
|
|
32709
|
+
type: "object",
|
|
32710
|
+
required: ["label", "options"],
|
|
32711
|
+
title: "MultiSelect",
|
|
32712
|
+
description: "https://formkit-primevue.netlify.app/inputs/MultiSelect",
|
|
32713
|
+
} as const;
|
|
32714
|
+
|
|
32715
|
+
export const OpenChatHitlResponseWritableSchema = {
|
|
32716
|
+
properties: {
|
|
32717
|
+
has_open_chat_hitl: {
|
|
32718
|
+
type: "boolean",
|
|
32719
|
+
title: "Has Open Chat Hitl",
|
|
32720
|
+
description:
|
|
32721
|
+
"Whether there is an open chat HITL request awaiting response.",
|
|
32722
|
+
},
|
|
32723
|
+
hitl_request: {
|
|
32987
32724
|
anyOf: [
|
|
32988
32725
|
{
|
|
32989
|
-
|
|
32990
|
-
pattern: "^pi pi-[a-z0-9-]+$",
|
|
32726
|
+
$ref: "#/components/schemas/HumanInTheLoopRequestEventWritable",
|
|
32991
32727
|
},
|
|
32992
32728
|
{
|
|
32993
32729
|
type: "null",
|
|
32994
32730
|
},
|
|
32995
32731
|
],
|
|
32996
|
-
|
|
32997
|
-
|
|
32732
|
+
description:
|
|
32733
|
+
"The HITL request event if there is an open chat HITL, None otherwise.",
|
|
32998
32734
|
},
|
|
32999
32735
|
},
|
|
33000
|
-
additionalProperties: true,
|
|
33001
32736
|
type: "object",
|
|
33002
|
-
required: ["
|
|
33003
|
-
title: "
|
|
32737
|
+
required: ["has_open_chat_hitl"],
|
|
32738
|
+
title: "OpenChatHitlResponse",
|
|
33004
32739
|
description:
|
|
33005
|
-
"
|
|
32740
|
+
"Response indicating whether there's an open chat HITL request for a thread.",
|
|
33006
32741
|
} as const;
|
|
33007
32742
|
|
|
33008
32743
|
export const PaginatedProcessWalkthroughsResponseWritableSchema = {
|
|
@@ -33442,9 +33177,6 @@ export const ProcessClassDTOWritableSchema = {
|
|
|
33442
33177
|
{
|
|
33443
33178
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
33444
33179
|
},
|
|
33445
|
-
{
|
|
33446
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
33447
|
-
},
|
|
33448
33180
|
{
|
|
33449
33181
|
$ref: "#/components/schemas/PasswordWritable",
|
|
33450
33182
|
},
|
|
@@ -33466,6 +33198,9 @@ export const ProcessClassDTOWritableSchema = {
|
|
|
33466
33198
|
{
|
|
33467
33199
|
$ref: "#/components/schemas/SliderWritable",
|
|
33468
33200
|
},
|
|
33201
|
+
{
|
|
33202
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
33203
|
+
},
|
|
33469
33204
|
{
|
|
33470
33205
|
$ref: "#/components/schemas/TextareaWritable",
|
|
33471
33206
|
},
|
|
@@ -34547,9 +34282,6 @@ export const RepeaterWritableSchema = {
|
|
|
34547
34282
|
{
|
|
34548
34283
|
$ref: "#/components/schemas/MultiSelectWritable",
|
|
34549
34284
|
},
|
|
34550
|
-
{
|
|
34551
|
-
$ref: "#/components/schemas/OrgMemoryTenantInputWritable",
|
|
34552
|
-
},
|
|
34553
34285
|
{
|
|
34554
34286
|
$ref: "#/components/schemas/PasswordWritable",
|
|
34555
34287
|
},
|
|
@@ -34571,6 +34303,9 @@ export const RepeaterWritableSchema = {
|
|
|
34571
34303
|
{
|
|
34572
34304
|
$ref: "#/components/schemas/SliderWritable",
|
|
34573
34305
|
},
|
|
34306
|
+
{
|
|
34307
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
34308
|
+
},
|
|
34574
34309
|
{
|
|
34575
34310
|
$ref: "#/components/schemas/TextareaWritable",
|
|
34576
34311
|
},
|
|
@@ -36344,6 +36079,187 @@ export const StoreUserMemoryEventWritableSchema = {
|
|
|
36344
36079
|
"Specialized BaseStoreMemoryEvent for user-specific memories.\n\nEmitted when an agent stores private user memories to long-term storage.\nThese memories are scoped to individual users and never shared across users.\nUser memories are typically inferred from conversation context.",
|
|
36345
36080
|
} as const;
|
|
36346
36081
|
|
|
36082
|
+
export const TenantSelectWritableSchema = {
|
|
36083
|
+
properties: {
|
|
36084
|
+
is_formkit_element: {
|
|
36085
|
+
type: "boolean",
|
|
36086
|
+
const: true,
|
|
36087
|
+
title: "Is Formkit Element",
|
|
36088
|
+
description: "Indicates that this element is a FormKit element",
|
|
36089
|
+
default: true,
|
|
36090
|
+
},
|
|
36091
|
+
if: {
|
|
36092
|
+
anyOf: [
|
|
36093
|
+
{
|
|
36094
|
+
type: "string",
|
|
36095
|
+
pattern: "^\\$.+",
|
|
36096
|
+
},
|
|
36097
|
+
{
|
|
36098
|
+
type: "null",
|
|
36099
|
+
},
|
|
36100
|
+
],
|
|
36101
|
+
title: "If",
|
|
36102
|
+
description: "Conditional expression to show this element",
|
|
36103
|
+
},
|
|
36104
|
+
id: {
|
|
36105
|
+
anyOf: [
|
|
36106
|
+
{
|
|
36107
|
+
type: "string",
|
|
36108
|
+
},
|
|
36109
|
+
{
|
|
36110
|
+
type: "null",
|
|
36111
|
+
},
|
|
36112
|
+
],
|
|
36113
|
+
title: "Id",
|
|
36114
|
+
description: "Unique identifier for this element",
|
|
36115
|
+
},
|
|
36116
|
+
nullable: {
|
|
36117
|
+
type: "boolean",
|
|
36118
|
+
title: "Nullable",
|
|
36119
|
+
description:
|
|
36120
|
+
"Render with a sibling toggle that sets this field to null when off",
|
|
36121
|
+
default: false,
|
|
36122
|
+
},
|
|
36123
|
+
defaultEnabled: {
|
|
36124
|
+
anyOf: [
|
|
36125
|
+
{
|
|
36126
|
+
type: "boolean",
|
|
36127
|
+
},
|
|
36128
|
+
{
|
|
36129
|
+
type: "null",
|
|
36130
|
+
},
|
|
36131
|
+
],
|
|
36132
|
+
title: "Defaultenabled",
|
|
36133
|
+
description:
|
|
36134
|
+
"For a nullable element, whether its toggle should start enabled on a fresh form (i.e. the field's data default is non-null). Ignored for non-nullable elements.",
|
|
36135
|
+
},
|
|
36136
|
+
formkit: {
|
|
36137
|
+
type: "string",
|
|
36138
|
+
const: "tenantSelect",
|
|
36139
|
+
title: "Formkit",
|
|
36140
|
+
description: "Tenant select element.",
|
|
36141
|
+
default: "tenantSelect",
|
|
36142
|
+
},
|
|
36143
|
+
name: {
|
|
36144
|
+
anyOf: [
|
|
36145
|
+
{
|
|
36146
|
+
type: "string",
|
|
36147
|
+
},
|
|
36148
|
+
{
|
|
36149
|
+
type: "null",
|
|
36150
|
+
},
|
|
36151
|
+
],
|
|
36152
|
+
title: "Name",
|
|
36153
|
+
description: "Name of this field",
|
|
36154
|
+
},
|
|
36155
|
+
label: {
|
|
36156
|
+
anyOf: [
|
|
36157
|
+
{
|
|
36158
|
+
$ref: "#/components/schemas/LocaleString",
|
|
36159
|
+
},
|
|
36160
|
+
{
|
|
36161
|
+
type: "string",
|
|
36162
|
+
},
|
|
36163
|
+
],
|
|
36164
|
+
title: "Label",
|
|
36165
|
+
description: "Label of this field",
|
|
36166
|
+
},
|
|
36167
|
+
help: {
|
|
36168
|
+
anyOf: [
|
|
36169
|
+
{
|
|
36170
|
+
$ref: "#/components/schemas/LocaleString",
|
|
36171
|
+
},
|
|
36172
|
+
{
|
|
36173
|
+
type: "string",
|
|
36174
|
+
},
|
|
36175
|
+
{
|
|
36176
|
+
type: "null",
|
|
36177
|
+
},
|
|
36178
|
+
],
|
|
36179
|
+
title: "Help",
|
|
36180
|
+
description: "Help text of this field",
|
|
36181
|
+
},
|
|
36182
|
+
value: {
|
|
36183
|
+
anyOf: [
|
|
36184
|
+
{
|
|
36185
|
+
type: "string",
|
|
36186
|
+
},
|
|
36187
|
+
{
|
|
36188
|
+
type: "integer",
|
|
36189
|
+
},
|
|
36190
|
+
{
|
|
36191
|
+
type: "number",
|
|
36192
|
+
},
|
|
36193
|
+
{
|
|
36194
|
+
type: "boolean",
|
|
36195
|
+
},
|
|
36196
|
+
{
|
|
36197
|
+
items: {
|
|
36198
|
+
type: "string",
|
|
36199
|
+
},
|
|
36200
|
+
type: "array",
|
|
36201
|
+
},
|
|
36202
|
+
{
|
|
36203
|
+
additionalProperties: {
|
|
36204
|
+
type: "string",
|
|
36205
|
+
},
|
|
36206
|
+
type: "object",
|
|
36207
|
+
},
|
|
36208
|
+
{
|
|
36209
|
+
type: "null",
|
|
36210
|
+
},
|
|
36211
|
+
],
|
|
36212
|
+
title: "Value",
|
|
36213
|
+
description: "Default value for this field",
|
|
36214
|
+
},
|
|
36215
|
+
required: {
|
|
36216
|
+
type: "boolean",
|
|
36217
|
+
title: "Required",
|
|
36218
|
+
description: "Whether this field is required",
|
|
36219
|
+
default: false,
|
|
36220
|
+
},
|
|
36221
|
+
additional_validation_rules: {
|
|
36222
|
+
anyOf: [
|
|
36223
|
+
{
|
|
36224
|
+
type: "string",
|
|
36225
|
+
},
|
|
36226
|
+
{
|
|
36227
|
+
type: "null",
|
|
36228
|
+
},
|
|
36229
|
+
],
|
|
36230
|
+
title: "Additional Validation Rules",
|
|
36231
|
+
description: "Validation expression",
|
|
36232
|
+
},
|
|
36233
|
+
placeholder: {
|
|
36234
|
+
anyOf: [
|
|
36235
|
+
{
|
|
36236
|
+
$ref: "#/components/schemas/LocaleString",
|
|
36237
|
+
},
|
|
36238
|
+
{
|
|
36239
|
+
type: "string",
|
|
36240
|
+
},
|
|
36241
|
+
{
|
|
36242
|
+
type: "null",
|
|
36243
|
+
},
|
|
36244
|
+
],
|
|
36245
|
+
title: "Placeholder",
|
|
36246
|
+
description: "Placeholder text",
|
|
36247
|
+
},
|
|
36248
|
+
filter: {
|
|
36249
|
+
type: "boolean",
|
|
36250
|
+
title: "Filter",
|
|
36251
|
+
description: "Whether to enable filtering/search",
|
|
36252
|
+
default: true,
|
|
36253
|
+
},
|
|
36254
|
+
},
|
|
36255
|
+
additionalProperties: true,
|
|
36256
|
+
type: "object",
|
|
36257
|
+
required: ["label"],
|
|
36258
|
+
title: "TenantSelect",
|
|
36259
|
+
description:
|
|
36260
|
+
'A FormKit element for selecting one of the tenants the user belongs to.\n\nRenders as a select dropdown listing tenant *names*, while the submitted value is the\ntenant *id*. The frontend populates the options from the user\'s memberships and\npre-selects their active tenant.\n\n### Form Duality\n\n```python\nclass MyConfig(Form):\n tenant_id: Annotated[\n str | TenantSelect,\n Field(description="Tenant to scope against"),\n ]\n\n @classmethod\n def as_form(cls) -> "MyConfig":\n return cls(\n tenant_id=TenantSelect(\n label=LocaleString(en="Tenant"),\n ),\n )\n\n# Data mode - from submission:\nconfig = MyConfig(tenant_id="507f1f77bcf86cd799439011")\n```',
|
|
36261
|
+
} as const;
|
|
36262
|
+
|
|
36347
36263
|
export const TextareaWritableSchema = {
|
|
36348
36264
|
properties: {
|
|
36349
36265
|
is_formkit_element: {
|