@collective-intelligence/external-apps-server-sdk 0.1.9 → 0.1.11
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/README.md +131 -39
- package/dist/admin.d.ts +537 -319
- package/dist/admin.js +1 -1
- package/dist/auth/better-auth.d.ts +4 -2
- package/dist/auth/federated.d.ts +17 -7
- package/dist/auth/federated.js +1 -1
- package/dist/auth.d.ts +3 -1
- package/dist/express.d.ts +15 -2
- package/dist/gateway/contracts.d.ts +15 -2
- package/dist/gateway.d.ts +15 -2
- package/dist/gateway.js +2 -2
- package/dist/index.d.ts +232 -73
- package/dist/index.js +3 -3
- package/dist/knowledge-sources/payload.d.ts +23 -2
- package/dist/knowledge-sources/strapi.d.ts +23 -2
- package/dist/persistence/drizzle.d.ts +43 -4
- package/dist/persistence/drizzle.js +4 -4
- package/dist/resources.d.ts +39 -5
- package/dist/resources.js +3 -3
- package/dist/runtime/effect.d.ts +93 -5
- package/dist/runtime/effect.js +4 -4
- package/dist/runtime/express.d.ts +15 -2
- package/dist/runtime/nestjs.d.ts +36 -5
- package/dist/runtime/nestjs.js +2 -2
- package/dist/runtime/next.d.ts +37 -6
- package/dist/runtime/next.js +2 -2
- package/dist/runtime/web.d.ts +19 -4
- package/dist/runtime/web.js +2 -2
- package/dist/tools/ai-sdk.js +2 -2
- package/package.json +3 -3
package/dist/admin.d.ts
CHANGED
|
@@ -325,14 +325,49 @@ declare const FeatureFlagRolloutMode: {
|
|
|
325
325
|
readonly DISABLED_FOR_ORGANIZATIONS: "disabled_for_organizations";
|
|
326
326
|
};
|
|
327
327
|
export type FeatureFlagRolloutMode = typeof FeatureFlagRolloutMode[keyof typeof FeatureFlagRolloutMode];
|
|
328
|
-
export type
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
328
|
+
export type KnowledgeRelationFieldEntry = {
|
|
329
|
+
autocomplete?: {
|
|
330
|
+
baseFilters?: Array<{
|
|
331
|
+
caseSensitive?: boolean;
|
|
332
|
+
field: string;
|
|
333
|
+
operator: "eq" | "ne" | "in" | "nin" | "contains" | "not_contains" | "starts_with" | "ends_with" | "gt" | "gte" | "lt" | "lte" | "exists" | "is_empty" | "is_not_empty";
|
|
334
|
+
value: Suspend;
|
|
335
|
+
}>;
|
|
336
|
+
fields?: Array<{
|
|
337
|
+
field: string;
|
|
338
|
+
scope: "data" | "entity";
|
|
339
|
+
}>;
|
|
340
|
+
};
|
|
341
|
+
cardinality: "one_to_one" | "one_to_many" | "many_to_one" | "many_to_many";
|
|
342
|
+
display?: {
|
|
343
|
+
fields: Array<{
|
|
344
|
+
field: string;
|
|
345
|
+
scope: "data" | "entity";
|
|
346
|
+
}>;
|
|
347
|
+
};
|
|
348
|
+
inverseOf?: unknown;
|
|
349
|
+
maxItems?: number;
|
|
350
|
+
onDelete?: "clear" | "restrict";
|
|
335
351
|
targetSchemaFqn: string;
|
|
352
|
+
} | {
|
|
353
|
+
autocomplete?: unknown;
|
|
354
|
+
cardinality?: unknown;
|
|
355
|
+
display?: {
|
|
356
|
+
fields: Array<{
|
|
357
|
+
field: string;
|
|
358
|
+
scope: "data" | "entity";
|
|
359
|
+
}>;
|
|
360
|
+
};
|
|
361
|
+
inverseOf: {
|
|
362
|
+
field: string;
|
|
363
|
+
schemaFqn: string;
|
|
364
|
+
};
|
|
365
|
+
maxItems?: unknown;
|
|
366
|
+
onDelete?: unknown;
|
|
367
|
+
targetSchemaFqn?: unknown;
|
|
368
|
+
};
|
|
369
|
+
export type Suspend = null | boolean | number | string | Array<Suspend> | {
|
|
370
|
+
[key: string]: Suspend;
|
|
336
371
|
};
|
|
337
372
|
declare const KnowledgeFileVisibility: {
|
|
338
373
|
readonly PUBLIC: "public";
|
|
@@ -350,52 +385,7 @@ export type PackageOperationAccepted7 = {
|
|
|
350
385
|
export type PackageOperationAccepted5 = {
|
|
351
386
|
operationId: string;
|
|
352
387
|
};
|
|
353
|
-
export type
|
|
354
|
-
operationId: string;
|
|
355
|
-
};
|
|
356
|
-
export type UpdatePackageInstallationRequestEncoded = {
|
|
357
|
-
acceptBreakingChanges?: boolean;
|
|
358
|
-
deploymentPolicy?: "strict";
|
|
359
|
-
gatewayUrls?: {
|
|
360
|
-
[key: string]: string;
|
|
361
|
-
};
|
|
362
|
-
installationId: string;
|
|
363
|
-
protocolVersion: "v1";
|
|
364
|
-
releaseId: string;
|
|
365
|
-
setup?: {
|
|
366
|
-
adoptions?: {
|
|
367
|
-
[key: string]: {
|
|
368
|
-
instanceId: string;
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
connections?: {
|
|
372
|
-
[key: string]: {
|
|
373
|
-
connectionId: string;
|
|
374
|
-
} | {
|
|
375
|
-
newConnection: {
|
|
376
|
-
fields: {
|
|
377
|
-
[key: string]: unknown;
|
|
378
|
-
};
|
|
379
|
-
name: string;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
};
|
|
383
|
-
};
|
|
384
|
-
variables?: {
|
|
385
|
-
[key: string]: {
|
|
386
|
-
link: string;
|
|
387
|
-
} | unknown;
|
|
388
|
-
};
|
|
389
|
-
};
|
|
390
|
-
export type PackageOperationAccepted2 = {
|
|
391
|
-
operationId: string;
|
|
392
|
-
};
|
|
393
|
-
export type PromotePackageReleaseRequestEncoded = {
|
|
394
|
-
protocolVersion: "v1";
|
|
395
|
-
releaseId: string;
|
|
396
|
-
[key: string]: unknown | "v1" | string;
|
|
397
|
-
};
|
|
398
|
-
export type PackageOperationAccepted1 = {
|
|
388
|
+
export type PackageOperationAccepted4 = {
|
|
399
389
|
operationId: string;
|
|
400
390
|
};
|
|
401
391
|
export type PublishPackageReleaseRequestEncoded = {
|
|
@@ -529,6 +519,52 @@ export type ExtensionReleaseManifestEncoded = {
|
|
|
529
519
|
[key: string]: unknown;
|
|
530
520
|
} | string | undefined;
|
|
531
521
|
};
|
|
522
|
+
export type PackageOperationAccepted3 = {
|
|
523
|
+
operationId: string;
|
|
524
|
+
};
|
|
525
|
+
export type PromotePackageReleaseRequestEncoded = {
|
|
526
|
+
protocolVersion: "v1";
|
|
527
|
+
releaseId: string;
|
|
528
|
+
[key: string]: unknown | "v1" | string;
|
|
529
|
+
};
|
|
530
|
+
export type PackageOperationAccepted1 = {
|
|
531
|
+
operationId: string;
|
|
532
|
+
};
|
|
533
|
+
export type UpdatePackageInstallationRequestEncoded = {
|
|
534
|
+
acceptBreakingChanges?: boolean;
|
|
535
|
+
allowAdminPrincipals?: boolean;
|
|
536
|
+
deploymentPolicy?: "strict";
|
|
537
|
+
gatewayUrls?: {
|
|
538
|
+
[key: string]: string;
|
|
539
|
+
};
|
|
540
|
+
installationId: string;
|
|
541
|
+
protocolVersion: "v1";
|
|
542
|
+
releaseId: string;
|
|
543
|
+
setup?: {
|
|
544
|
+
adoptions?: {
|
|
545
|
+
[key: string]: {
|
|
546
|
+
instanceId: string;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
connections?: {
|
|
550
|
+
[key: string]: {
|
|
551
|
+
connectionId: string;
|
|
552
|
+
} | {
|
|
553
|
+
newConnection: {
|
|
554
|
+
fields: {
|
|
555
|
+
[key: string]: unknown;
|
|
556
|
+
};
|
|
557
|
+
name: string;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
variables?: {
|
|
563
|
+
[key: string]: {
|
|
564
|
+
link: string;
|
|
565
|
+
} | unknown;
|
|
566
|
+
};
|
|
567
|
+
};
|
|
532
568
|
export type AssociateToolRequest = {
|
|
533
569
|
description?: string | null;
|
|
534
570
|
name?: string | null;
|
|
@@ -591,14 +627,19 @@ export type AiSkillPackageSummaryDto = {
|
|
|
591
627
|
totalSizeBytes: number;
|
|
592
628
|
};
|
|
593
629
|
export type AiSkillBindingRefDto = {
|
|
594
|
-
|
|
595
|
-
|
|
630
|
+
grantee: {
|
|
631
|
+
kind: "organization";
|
|
632
|
+
} | {
|
|
633
|
+
kind: "user";
|
|
634
|
+
userId: string;
|
|
635
|
+
} | {
|
|
636
|
+
coverage: "direct" | "inherited";
|
|
637
|
+
groupId: string;
|
|
638
|
+
kind: "group";
|
|
639
|
+
};
|
|
640
|
+
granteeName: string | null;
|
|
596
641
|
id: string;
|
|
597
|
-
membershipCoverage: string;
|
|
598
642
|
organizationId: string;
|
|
599
|
-
type: string;
|
|
600
|
-
userId: string | null;
|
|
601
|
-
userName: string | null;
|
|
602
643
|
};
|
|
603
644
|
export type UpdateAiSkillRequest = {
|
|
604
645
|
archivedAt?: string | null;
|
|
@@ -647,11 +688,23 @@ export type CreateAiSkillRequest = {
|
|
|
647
688
|
organizationId: string;
|
|
648
689
|
organizationModelDefaultId?: string | null;
|
|
649
690
|
package?: unknown;
|
|
650
|
-
permissions?: Array<
|
|
691
|
+
permissions?: Array<AiSkillPermissionInput>;
|
|
651
692
|
slug: string;
|
|
652
693
|
toolBindings?: Array<AssociateToolRequest>;
|
|
653
694
|
toolIds?: Array<string>;
|
|
654
695
|
};
|
|
696
|
+
export type AiSkillPermissionInput = {
|
|
697
|
+
grantee: {
|
|
698
|
+
kind: "organization";
|
|
699
|
+
} | {
|
|
700
|
+
kind: "user";
|
|
701
|
+
userId: string;
|
|
702
|
+
} | {
|
|
703
|
+
coverage: "direct" | "inherited";
|
|
704
|
+
groupId: string;
|
|
705
|
+
kind: "group";
|
|
706
|
+
};
|
|
707
|
+
};
|
|
655
708
|
export type UpdateAiEmbeddingModelRequest = {
|
|
656
709
|
adapterType?: "bedrock" | "cohere" | "gemini" | "gemini_native" | "openai";
|
|
657
710
|
description?: string | null;
|
|
@@ -964,10 +1017,17 @@ export type AiApprovalRequestsCreateRuleData = {
|
|
|
964
1017
|
expiresInSeconds?: number | null;
|
|
965
1018
|
requireAllSteps?: boolean;
|
|
966
1019
|
steps: Array<{
|
|
967
|
-
|
|
1020
|
+
grantee: {
|
|
1021
|
+
kind: "organization";
|
|
1022
|
+
} | {
|
|
1023
|
+
kind: "user";
|
|
1024
|
+
userId: string;
|
|
1025
|
+
} | {
|
|
1026
|
+
coverage: "direct" | "inherited";
|
|
1027
|
+
groupId: string;
|
|
1028
|
+
kind: "group";
|
|
1029
|
+
};
|
|
968
1030
|
requiredApprovals?: number;
|
|
969
|
-
subjectId: string;
|
|
970
|
-
subjectKind: "user" | "group";
|
|
971
1031
|
}>;
|
|
972
1032
|
};
|
|
973
1033
|
description?: string | null;
|
|
@@ -1472,15 +1532,16 @@ export type KnowledgeConnectorTemplatesInstallData = {
|
|
|
1472
1532
|
query?: never;
|
|
1473
1533
|
url: "/admin/extensions/knowledge-connector-templates/{fqn}/install";
|
|
1474
1534
|
};
|
|
1475
|
-
export type
|
|
1476
|
-
body:
|
|
1535
|
+
export type PackageReleasesUpdateInstallationData = {
|
|
1536
|
+
body: UpdatePackageInstallationRequestEncoded;
|
|
1477
1537
|
headers: {
|
|
1478
1538
|
authorization?: string;
|
|
1539
|
+
"x-organization-id": string;
|
|
1479
1540
|
"idempotency-key": string;
|
|
1480
1541
|
};
|
|
1481
1542
|
path?: never;
|
|
1482
1543
|
query?: never;
|
|
1483
|
-
url: "/admin/extensions/package-
|
|
1544
|
+
url: "/admin/extensions/package-installations/update";
|
|
1484
1545
|
};
|
|
1485
1546
|
export type PackageReleasesPromoteData = {
|
|
1486
1547
|
body: PromotePackageReleaseRequestEncoded;
|
|
@@ -1492,16 +1553,15 @@ export type PackageReleasesPromoteData = {
|
|
|
1492
1553
|
query?: never;
|
|
1493
1554
|
url: "/admin/extensions/package-releases/promote";
|
|
1494
1555
|
};
|
|
1495
|
-
export type
|
|
1496
|
-
body:
|
|
1556
|
+
export type PackageReleasesPublishData = {
|
|
1557
|
+
body: PublishPackageReleaseRequestEncoded;
|
|
1497
1558
|
headers: {
|
|
1498
1559
|
authorization?: string;
|
|
1499
|
-
"x-organization-id": string;
|
|
1500
1560
|
"idempotency-key": string;
|
|
1501
1561
|
};
|
|
1502
1562
|
path?: never;
|
|
1503
1563
|
query?: never;
|
|
1504
|
-
url: "/admin/extensions/package-
|
|
1564
|
+
url: "/admin/extensions/package-releases/publish";
|
|
1505
1565
|
};
|
|
1506
1566
|
export type ExtensionPackagesListData = {
|
|
1507
1567
|
body?: never;
|
|
@@ -1543,6 +1603,7 @@ export type ExtensionPackagesGetData = {
|
|
|
1543
1603
|
export type ExtensionPackagesInstallData = {
|
|
1544
1604
|
body?: {
|
|
1545
1605
|
acceptBreakingChanges?: boolean;
|
|
1606
|
+
allowAdminPrincipals?: boolean;
|
|
1546
1607
|
deploymentPolicy?: "strict";
|
|
1547
1608
|
gatewayUrls?: {
|
|
1548
1609
|
[key: string]: string;
|
|
@@ -1917,6 +1978,7 @@ export type RelationSchemasUpdateData = {
|
|
|
1917
1978
|
unique?: boolean;
|
|
1918
1979
|
file?: unknown;
|
|
1919
1980
|
mediaVisibility?: unknown;
|
|
1981
|
+
relation?: unknown;
|
|
1920
1982
|
};
|
|
1921
1983
|
};
|
|
1922
1984
|
fqn?: string;
|
|
@@ -2030,6 +2092,7 @@ export type RelationSchemasCreateData = {
|
|
|
2030
2092
|
unique?: boolean;
|
|
2031
2093
|
file?: unknown;
|
|
2032
2094
|
mediaVisibility?: unknown;
|
|
2095
|
+
relation?: unknown;
|
|
2033
2096
|
};
|
|
2034
2097
|
};
|
|
2035
2098
|
fqn: string;
|
|
@@ -2280,6 +2343,7 @@ export type EntitySchemasUpdateData = {
|
|
|
2280
2343
|
unique?: boolean;
|
|
2281
2344
|
file?: KnowledgeFileFieldEntry;
|
|
2282
2345
|
mediaVisibility?: KnowledgeFileVisibility;
|
|
2346
|
+
relation?: KnowledgeRelationFieldEntry;
|
|
2283
2347
|
};
|
|
2284
2348
|
};
|
|
2285
2349
|
fqn?: string;
|
|
@@ -2302,7 +2366,6 @@ export type EntitySchemasUpdateData = {
|
|
|
2302
2366
|
name?: string;
|
|
2303
2367
|
overviewInputMaxChars?: number | null;
|
|
2304
2368
|
persistFullFieldContributions?: boolean;
|
|
2305
|
-
relationFields?: Array<EntityRelationField>;
|
|
2306
2369
|
richEnrichment?: boolean | null;
|
|
2307
2370
|
usableAsDocumentScope?: boolean;
|
|
2308
2371
|
};
|
|
@@ -2421,6 +2484,7 @@ export type EntitySchemasCreateData = {
|
|
|
2421
2484
|
unique?: boolean;
|
|
2422
2485
|
file?: KnowledgeFileFieldEntry;
|
|
2423
2486
|
mediaVisibility?: KnowledgeFileVisibility;
|
|
2487
|
+
relation?: KnowledgeRelationFieldEntry;
|
|
2424
2488
|
};
|
|
2425
2489
|
};
|
|
2426
2490
|
fqn: string;
|
|
@@ -2437,7 +2501,6 @@ export type EntitySchemasCreateData = {
|
|
|
2437
2501
|
name: string;
|
|
2438
2502
|
overviewInputMaxChars?: number | null;
|
|
2439
2503
|
persistFullFieldContributions?: boolean;
|
|
2440
|
-
relationFields?: Array<EntityRelationField>;
|
|
2441
2504
|
richEnrichment?: boolean | null;
|
|
2442
2505
|
usableAsDocumentScope?: boolean;
|
|
2443
2506
|
};
|
|
@@ -2773,39 +2836,6 @@ export type TenantFeatureFlagsUpdateData = {
|
|
|
2773
2836
|
query?: never;
|
|
2774
2837
|
url: "/admin/tenant/feature-flags/{uid}";
|
|
2775
2838
|
};
|
|
2776
|
-
export type TenantExternalAppsCreateData = {
|
|
2777
|
-
body: {
|
|
2778
|
-
allowedOrigins: Array<string>;
|
|
2779
|
-
audience: string;
|
|
2780
|
-
name: string;
|
|
2781
|
-
postLogoutRedirectUris: Array<string>;
|
|
2782
|
-
/**
|
|
2783
|
-
* Every accepted callback, including the primary redirect URI.
|
|
2784
|
-
*/
|
|
2785
|
-
redirectUris: Array<string>;
|
|
2786
|
-
scopes: Array<string>;
|
|
2787
|
-
setupInstructions: string;
|
|
2788
|
-
applicationType: "public" | "confidential";
|
|
2789
|
-
fqn: string;
|
|
2790
|
-
/**
|
|
2791
|
-
* Default callback for people and tools. It must be one of redirectUris; it does not restrict which redirect URI an authorization request may use.
|
|
2792
|
-
*/
|
|
2793
|
-
primaryRedirectUri?: string;
|
|
2794
|
-
scope: {
|
|
2795
|
-
kind: "organization";
|
|
2796
|
-
organizationId: string;
|
|
2797
|
-
} | {
|
|
2798
|
-
allowedOrganizationIds: Array<string>;
|
|
2799
|
-
kind: "tenant";
|
|
2800
|
-
};
|
|
2801
|
-
};
|
|
2802
|
-
headers?: {
|
|
2803
|
-
authorization?: string;
|
|
2804
|
-
};
|
|
2805
|
-
path?: never;
|
|
2806
|
-
query?: never;
|
|
2807
|
-
url: "/admin/tenant/external-apps";
|
|
2808
|
-
};
|
|
2809
2839
|
export type TenantVariablesSearchData = {
|
|
2810
2840
|
body: {
|
|
2811
2841
|
limit?: number;
|
|
@@ -3016,10 +3046,10 @@ export type OrganizationUsersSearchData = {
|
|
|
3016
3046
|
lte?: string;
|
|
3017
3047
|
};
|
|
3018
3048
|
role?: {
|
|
3019
|
-
eq?: "
|
|
3020
|
-
in?: Array<"
|
|
3049
|
+
eq?: "organization_admin" | "organization_operator" | "organization_member";
|
|
3050
|
+
in?: Array<"organization_admin" | "organization_operator" | "organization_member">;
|
|
3021
3051
|
isNull?: boolean;
|
|
3022
|
-
notIn?: Array<"
|
|
3052
|
+
notIn?: Array<"organization_admin" | "organization_operator" | "organization_member">;
|
|
3023
3053
|
};
|
|
3024
3054
|
updatedAt?: {
|
|
3025
3055
|
eq?: string;
|
|
@@ -3062,7 +3092,8 @@ export type OrganizationUsersDeleteData = {
|
|
|
3062
3092
|
};
|
|
3063
3093
|
export type OrganizationUsersUpdateData = {
|
|
3064
3094
|
body: {
|
|
3065
|
-
|
|
3095
|
+
companyDomainException?: boolean;
|
|
3096
|
+
role?: "organization_admin" | "organization_operator" | "organization_member";
|
|
3066
3097
|
};
|
|
3067
3098
|
headers: {
|
|
3068
3099
|
authorization?: string;
|
|
@@ -3202,12 +3233,6 @@ export type OrganizationGroupMembersSearchData = {
|
|
|
3202
3233
|
groupId?: {
|
|
3203
3234
|
eq?: string;
|
|
3204
3235
|
};
|
|
3205
|
-
role?: {
|
|
3206
|
-
eq?: "member" | "admin";
|
|
3207
|
-
in?: Array<"member" | "admin">;
|
|
3208
|
-
isNull?: boolean;
|
|
3209
|
-
notIn?: Array<"member" | "admin">;
|
|
3210
|
-
};
|
|
3211
3236
|
updatedAt?: {
|
|
3212
3237
|
eq?: string;
|
|
3213
3238
|
gt?: string;
|
|
@@ -3227,7 +3252,7 @@ export type OrganizationGroupMembersSearchData = {
|
|
|
3227
3252
|
};
|
|
3228
3253
|
sort?: Array<{
|
|
3229
3254
|
direction: "asc" | "desc";
|
|
3230
|
-
field: "createdAt" | "
|
|
3255
|
+
field: "createdAt" | "groupId" | "updatedAt" | "userId";
|
|
3231
3256
|
}>;
|
|
3232
3257
|
};
|
|
3233
3258
|
headers: {
|
|
@@ -3253,7 +3278,6 @@ export type OrganizationGroupMembersDeleteData = {
|
|
|
3253
3278
|
export type OrganizationGroupMembersCreateData = {
|
|
3254
3279
|
body: {
|
|
3255
3280
|
groupId: string;
|
|
3256
|
-
role?: "member" | "admin";
|
|
3257
3281
|
userId: string;
|
|
3258
3282
|
};
|
|
3259
3283
|
headers: {
|
|
@@ -3268,8 +3292,7 @@ export type OrganizationInvitationsCreateData = {
|
|
|
3268
3292
|
body: {
|
|
3269
3293
|
email: string;
|
|
3270
3294
|
groupIds?: Array<string>;
|
|
3271
|
-
organizationRole?: "
|
|
3272
|
-
role?: "member" | "admin";
|
|
3295
|
+
organizationRole?: "organization_admin" | "organization_operator" | "organization_member";
|
|
3273
3296
|
};
|
|
3274
3297
|
headers: {
|
|
3275
3298
|
authorization?: string;
|
|
@@ -3492,7 +3515,7 @@ export type OrganizationAuthenticationConfigureSsoProviderData = {
|
|
|
3492
3515
|
credentials?: {
|
|
3493
3516
|
[key: string]: string;
|
|
3494
3517
|
};
|
|
3495
|
-
defaultRole?: "organization_admin" | "
|
|
3518
|
+
defaultRole?: "organization_admin" | "organization_operator" | "organization_member";
|
|
3496
3519
|
domains: Array<string>;
|
|
3497
3520
|
enabled?: boolean;
|
|
3498
3521
|
loginProviderId?: string;
|
|
@@ -3682,114 +3705,6 @@ export type OrganizationConnectionsRefreshData = {
|
|
|
3682
3705
|
query?: never;
|
|
3683
3706
|
url: "/admin/organization/connections/{id}/refresh";
|
|
3684
3707
|
};
|
|
3685
|
-
export type OrganizationApiKeysSearchData = {
|
|
3686
|
-
body: {
|
|
3687
|
-
limit?: number;
|
|
3688
|
-
page?: number;
|
|
3689
|
-
filter?: {
|
|
3690
|
-
createdAt?: {
|
|
3691
|
-
eq?: string;
|
|
3692
|
-
gt?: string;
|
|
3693
|
-
gte?: string;
|
|
3694
|
-
isNull?: boolean;
|
|
3695
|
-
lt?: string;
|
|
3696
|
-
lte?: string;
|
|
3697
|
-
};
|
|
3698
|
-
expiresAt?: {
|
|
3699
|
-
eq?: string;
|
|
3700
|
-
gt?: string;
|
|
3701
|
-
gte?: string;
|
|
3702
|
-
isNull?: boolean;
|
|
3703
|
-
lt?: string;
|
|
3704
|
-
lte?: string;
|
|
3705
|
-
};
|
|
3706
|
-
keyPrefix?: {
|
|
3707
|
-
eq?: string;
|
|
3708
|
-
ieq?: string;
|
|
3709
|
-
in?: Array<string>;
|
|
3710
|
-
isEmpty?: boolean;
|
|
3711
|
-
isNull?: boolean;
|
|
3712
|
-
like?: string;
|
|
3713
|
-
notIn?: Array<string>;
|
|
3714
|
-
};
|
|
3715
|
-
lastUsedAt?: {
|
|
3716
|
-
eq?: string;
|
|
3717
|
-
gt?: string;
|
|
3718
|
-
gte?: string;
|
|
3719
|
-
isNull?: boolean;
|
|
3720
|
-
lt?: string;
|
|
3721
|
-
lte?: string;
|
|
3722
|
-
};
|
|
3723
|
-
name?: {
|
|
3724
|
-
eq?: string;
|
|
3725
|
-
ieq?: string;
|
|
3726
|
-
in?: Array<string>;
|
|
3727
|
-
isEmpty?: boolean;
|
|
3728
|
-
isNull?: boolean;
|
|
3729
|
-
like?: string;
|
|
3730
|
-
notIn?: Array<string>;
|
|
3731
|
-
};
|
|
3732
|
-
revokedAt?: {
|
|
3733
|
-
eq?: string;
|
|
3734
|
-
gt?: string;
|
|
3735
|
-
gte?: string;
|
|
3736
|
-
isNull?: boolean;
|
|
3737
|
-
lt?: string;
|
|
3738
|
-
lte?: string;
|
|
3739
|
-
};
|
|
3740
|
-
updatedAt?: {
|
|
3741
|
-
eq?: string;
|
|
3742
|
-
gt?: string;
|
|
3743
|
-
gte?: string;
|
|
3744
|
-
isNull?: boolean;
|
|
3745
|
-
lt?: string;
|
|
3746
|
-
lte?: string;
|
|
3747
|
-
};
|
|
3748
|
-
};
|
|
3749
|
-
textSearch?: {
|
|
3750
|
-
fields: Array<"keyPrefix" | "name">;
|
|
3751
|
-
query: string;
|
|
3752
|
-
useSimilarity?: boolean;
|
|
3753
|
-
};
|
|
3754
|
-
sort?: Array<{
|
|
3755
|
-
direction: "asc" | "desc";
|
|
3756
|
-
field: "createdAt" | "expiresAt" | "keyPrefix" | "lastUsedAt" | "name" | "revokedAt" | "updatedAt";
|
|
3757
|
-
}>;
|
|
3758
|
-
};
|
|
3759
|
-
headers: {
|
|
3760
|
-
authorization?: string;
|
|
3761
|
-
"x-organization-id": string;
|
|
3762
|
-
};
|
|
3763
|
-
path?: never;
|
|
3764
|
-
query?: never;
|
|
3765
|
-
url: "/admin/organization/api-keys/search";
|
|
3766
|
-
};
|
|
3767
|
-
export type OrganizationApiKeysCreateData = {
|
|
3768
|
-
body: {
|
|
3769
|
-
expiresAt?: string | null;
|
|
3770
|
-
name: string;
|
|
3771
|
-
scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "external_apps_manage">;
|
|
3772
|
-
};
|
|
3773
|
-
headers: {
|
|
3774
|
-
authorization?: string;
|
|
3775
|
-
"x-organization-id": string;
|
|
3776
|
-
};
|
|
3777
|
-
path?: never;
|
|
3778
|
-
query?: never;
|
|
3779
|
-
url: "/admin/organization/api-keys";
|
|
3780
|
-
};
|
|
3781
|
-
export type OrganizationApiKeysRevokeData = {
|
|
3782
|
-
body?: never;
|
|
3783
|
-
headers: {
|
|
3784
|
-
authorization?: string;
|
|
3785
|
-
"x-organization-id": string;
|
|
3786
|
-
};
|
|
3787
|
-
path: {
|
|
3788
|
-
id: string;
|
|
3789
|
-
};
|
|
3790
|
-
query?: never;
|
|
3791
|
-
url: "/admin/organization/api-keys/{id}/revoke";
|
|
3792
|
-
};
|
|
3793
3708
|
export type OrganizationExternalAppsListResponses = {
|
|
3794
3709
|
/**
|
|
3795
3710
|
* Success
|
|
@@ -3817,9 +3732,6 @@ export type OrganizationExternalAppsListResponses = {
|
|
|
3817
3732
|
scope: {
|
|
3818
3733
|
kind: "organization";
|
|
3819
3734
|
organizationId: string;
|
|
3820
|
-
} | {
|
|
3821
|
-
allowedOrganizationIds: Array<string>;
|
|
3822
|
-
kind: "tenant";
|
|
3823
3735
|
};
|
|
3824
3736
|
scopes: Array<string>;
|
|
3825
3737
|
setupInstructions: string;
|
|
@@ -3828,6 +3740,37 @@ export type OrganizationExternalAppsListResponses = {
|
|
|
3828
3740
|
};
|
|
3829
3741
|
};
|
|
3830
3742
|
export type OrganizationExternalAppsListResponse = OrganizationExternalAppsListResponses[keyof OrganizationExternalAppsListResponses];
|
|
3743
|
+
export type OrganizationExternalAppsCreateData = {
|
|
3744
|
+
body: {
|
|
3745
|
+
allowedOrigins: Array<string>;
|
|
3746
|
+
audience: string;
|
|
3747
|
+
name: string;
|
|
3748
|
+
postLogoutRedirectUris: Array<string>;
|
|
3749
|
+
/**
|
|
3750
|
+
* Every accepted callback, including the primary redirect URI.
|
|
3751
|
+
*/
|
|
3752
|
+
redirectUris: Array<string>;
|
|
3753
|
+
scopes: Array<string>;
|
|
3754
|
+
setupInstructions: string;
|
|
3755
|
+
applicationType: "public" | "confidential";
|
|
3756
|
+
fqn: string;
|
|
3757
|
+
/**
|
|
3758
|
+
* Default callback for people and tools. It must be one of redirectUris; it does not restrict which redirect URI an authorization request may use.
|
|
3759
|
+
*/
|
|
3760
|
+
primaryRedirectUri?: string;
|
|
3761
|
+
scope: {
|
|
3762
|
+
kind: "organization";
|
|
3763
|
+
organizationId: string;
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
3766
|
+
headers: {
|
|
3767
|
+
authorization?: string;
|
|
3768
|
+
"x-organization-id": string;
|
|
3769
|
+
};
|
|
3770
|
+
path?: never;
|
|
3771
|
+
query?: never;
|
|
3772
|
+
url: "/admin/organization/external-apps";
|
|
3773
|
+
};
|
|
3831
3774
|
export type OrganizationExternalAppsCreateResponses = {
|
|
3832
3775
|
/**
|
|
3833
3776
|
* Success
|
|
@@ -3855,9 +3798,6 @@ export type OrganizationExternalAppsCreateResponses = {
|
|
|
3855
3798
|
scope: {
|
|
3856
3799
|
kind: "organization";
|
|
3857
3800
|
organizationId: string;
|
|
3858
|
-
} | {
|
|
3859
|
-
allowedOrganizationIds: Array<string>;
|
|
3860
|
-
kind: "tenant";
|
|
3861
3801
|
};
|
|
3862
3802
|
scopes: Array<string>;
|
|
3863
3803
|
setupInstructions: string;
|
|
@@ -3887,9 +3827,6 @@ export type OrganizationExternalAppsCreateResponses = {
|
|
|
3887
3827
|
scope: {
|
|
3888
3828
|
kind: "organization";
|
|
3889
3829
|
organizationId: string;
|
|
3890
|
-
} | {
|
|
3891
|
-
allowedOrganizationIds: Array<string>;
|
|
3892
|
-
kind: "tenant";
|
|
3893
3830
|
};
|
|
3894
3831
|
scopes: Array<string>;
|
|
3895
3832
|
setupInstructions: string;
|
|
@@ -3926,9 +3863,6 @@ export type OrganizationExternalAppsGetResponses = {
|
|
|
3926
3863
|
scope: {
|
|
3927
3864
|
kind: "organization";
|
|
3928
3865
|
organizationId: string;
|
|
3929
|
-
} | {
|
|
3930
|
-
allowedOrganizationIds: Array<string>;
|
|
3931
|
-
kind: "tenant";
|
|
3932
3866
|
};
|
|
3933
3867
|
scopes: Array<string>;
|
|
3934
3868
|
setupInstructions: string;
|
|
@@ -3955,9 +3889,6 @@ export type OrganizationExternalAppsUpdateData = {
|
|
|
3955
3889
|
scope?: {
|
|
3956
3890
|
kind: "organization";
|
|
3957
3891
|
organizationId: string;
|
|
3958
|
-
} | {
|
|
3959
|
-
allowedOrganizationIds: Array<string>;
|
|
3960
|
-
kind: "tenant";
|
|
3961
3892
|
};
|
|
3962
3893
|
scopes?: Array<string>;
|
|
3963
3894
|
setupInstructions?: string;
|
|
@@ -3999,9 +3930,6 @@ export type OrganizationExternalAppsRotateCredentialResponses = {
|
|
|
3999
3930
|
scope: {
|
|
4000
3931
|
kind: "organization";
|
|
4001
3932
|
organizationId: string;
|
|
4002
|
-
} | {
|
|
4003
|
-
allowedOrganizationIds: Array<string>;
|
|
4004
|
-
kind: "tenant";
|
|
4005
3933
|
};
|
|
4006
3934
|
scopes: Array<string>;
|
|
4007
3935
|
setupInstructions: string;
|
|
@@ -4042,6 +3970,11 @@ export type WorkflowAuthoringLayout = {
|
|
|
4042
3970
|
viewport?: WorkflowAuthoringViewport;
|
|
4043
3971
|
};
|
|
4044
3972
|
export type WorkflowAuthoringDefinition = {
|
|
3973
|
+
dataAccess?: {
|
|
3974
|
+
datasets?: "user" | "workflow";
|
|
3975
|
+
documents?: "user" | "workflow";
|
|
3976
|
+
knowledge?: "user" | "workflow";
|
|
3977
|
+
};
|
|
4045
3978
|
edges: Array<WorkflowAuthoringEdge>;
|
|
4046
3979
|
inputBoundary: {
|
|
4047
3980
|
templateFqn: string;
|
|
@@ -4441,10 +4374,17 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4441
4374
|
expiresInSeconds: number | null;
|
|
4442
4375
|
requireAllSteps: boolean;
|
|
4443
4376
|
steps: Array<{
|
|
4444
|
-
|
|
4377
|
+
grantee: {
|
|
4378
|
+
kind: "organization";
|
|
4379
|
+
} | {
|
|
4380
|
+
kind: "user";
|
|
4381
|
+
userId: string;
|
|
4382
|
+
} | {
|
|
4383
|
+
coverage: "direct" | "inherited";
|
|
4384
|
+
groupId: string;
|
|
4385
|
+
kind: "group";
|
|
4386
|
+
};
|
|
4445
4387
|
requiredApprovals: number;
|
|
4446
|
-
subjectId: string;
|
|
4447
|
-
subjectKind: "user" | "group";
|
|
4448
4388
|
}>;
|
|
4449
4389
|
};
|
|
4450
4390
|
createdAt: string | null;
|
|
@@ -4506,10 +4446,17 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4506
4446
|
expiresInSeconds: number | null;
|
|
4507
4447
|
requireAllSteps: boolean;
|
|
4508
4448
|
steps: Array<{
|
|
4509
|
-
|
|
4449
|
+
grantee: {
|
|
4450
|
+
kind: "organization";
|
|
4451
|
+
} | {
|
|
4452
|
+
kind: "user";
|
|
4453
|
+
userId: string;
|
|
4454
|
+
} | {
|
|
4455
|
+
coverage: "direct" | "inherited";
|
|
4456
|
+
groupId: string;
|
|
4457
|
+
kind: "group";
|
|
4458
|
+
};
|
|
4510
4459
|
requiredApprovals: number;
|
|
4511
|
-
subjectId: string;
|
|
4512
|
-
subjectKind: "user" | "group";
|
|
4513
4460
|
}>;
|
|
4514
4461
|
};
|
|
4515
4462
|
skillId: string | null;
|
|
@@ -4579,10 +4526,17 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4579
4526
|
expiresInSeconds: number | null;
|
|
4580
4527
|
requireAllSteps: boolean;
|
|
4581
4528
|
steps: Array<{
|
|
4582
|
-
|
|
4529
|
+
grantee: {
|
|
4530
|
+
kind: "organization";
|
|
4531
|
+
} | {
|
|
4532
|
+
kind: "user";
|
|
4533
|
+
userId: string;
|
|
4534
|
+
} | {
|
|
4535
|
+
coverage: "direct" | "inherited";
|
|
4536
|
+
groupId: string;
|
|
4537
|
+
kind: "group";
|
|
4538
|
+
};
|
|
4583
4539
|
requiredApprovals: number;
|
|
4584
|
-
subjectId: string;
|
|
4585
|
-
subjectKind: "user" | "group";
|
|
4586
4540
|
}>;
|
|
4587
4541
|
};
|
|
4588
4542
|
skillId: string | null;
|
|
@@ -4621,48 +4575,6 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4621
4575
|
}>;
|
|
4622
4576
|
revealRun: (options: Pick<Options$1<AiRunsRevealData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<unknown>;
|
|
4623
4577
|
};
|
|
4624
|
-
apiKeys: {
|
|
4625
|
-
create: (options: Pick<Options$1<OrganizationApiKeysCreateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
|
|
4626
|
-
apiKey: {
|
|
4627
|
-
createdAt: string | null;
|
|
4628
|
-
createdByUserId: string | null;
|
|
4629
|
-
expiresAt: string | null;
|
|
4630
|
-
id: string;
|
|
4631
|
-
keyPrefix: string;
|
|
4632
|
-
lastUsedAt: string | null;
|
|
4633
|
-
name: string;
|
|
4634
|
-
organizationId: string;
|
|
4635
|
-
revokedAt: string | null;
|
|
4636
|
-
scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "external_apps_manage">;
|
|
4637
|
-
updatedAt: string | null;
|
|
4638
|
-
};
|
|
4639
|
-
plaintextKey: string;
|
|
4640
|
-
}>;
|
|
4641
|
-
list: (options: Pick<Options$1<OrganizationApiKeysSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
|
|
4642
|
-
data: Array<{
|
|
4643
|
-
createdAt: string | null;
|
|
4644
|
-
createdByUserId: string | null;
|
|
4645
|
-
expiresAt: string | null;
|
|
4646
|
-
id: string;
|
|
4647
|
-
keyPrefix: string;
|
|
4648
|
-
lastUsedAt: string | null;
|
|
4649
|
-
name: string;
|
|
4650
|
-
organizationId: string;
|
|
4651
|
-
revokedAt: string | null;
|
|
4652
|
-
scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "external_apps_manage">;
|
|
4653
|
-
updatedAt: string | null;
|
|
4654
|
-
}>;
|
|
4655
|
-
paging: {
|
|
4656
|
-
page: number;
|
|
4657
|
-
pageSize: number;
|
|
4658
|
-
totalItems: number;
|
|
4659
|
-
totalPages: number;
|
|
4660
|
-
};
|
|
4661
|
-
}>;
|
|
4662
|
-
revoke: (options: Pick<Options$1<OrganizationApiKeysRevokeData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
|
|
4663
|
-
message: string;
|
|
4664
|
-
}>;
|
|
4665
|
-
};
|
|
4666
4578
|
audit: {
|
|
4667
4579
|
detail: (options: Pick<Options$1<AdminActivitiesDetailData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
|
|
4668
4580
|
id: string;
|
|
@@ -4698,7 +4610,7 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4698
4610
|
connectionId: string | null;
|
|
4699
4611
|
connectionName: string | null;
|
|
4700
4612
|
connectionStatus: string | null;
|
|
4701
|
-
defaultRole: "organization_admin" | "
|
|
4613
|
+
defaultRole: "organization_admin" | "organization_operator" | "organization_member";
|
|
4702
4614
|
domains: Array<string>;
|
|
4703
4615
|
enabled: boolean;
|
|
4704
4616
|
id: string;
|
|
@@ -4711,7 +4623,7 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4711
4623
|
connectionId: string | null;
|
|
4712
4624
|
connectionName: string | null;
|
|
4713
4625
|
connectionStatus: string | null;
|
|
4714
|
-
defaultRole: "organization_admin" | "
|
|
4626
|
+
defaultRole: "organization_admin" | "organization_operator" | "organization_member";
|
|
4715
4627
|
domains: Array<string>;
|
|
4716
4628
|
enabled: boolean;
|
|
4717
4629
|
id: string;
|
|
@@ -4731,7 +4643,7 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
4731
4643
|
connectionId: string | null;
|
|
4732
4644
|
connectionName: string | null;
|
|
4733
4645
|
connectionStatus: string | null;
|
|
4734
|
-
defaultRole: "organization_admin" | "
|
|
4646
|
+
defaultRole: "organization_admin" | "organization_operator" | "organization_member";
|
|
4735
4647
|
domains: Array<string>;
|
|
4736
4648
|
enabled: boolean;
|
|
4737
4649
|
id: string;
|
|
@@ -5025,7 +4937,6 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
5025
4937
|
createdAt: string | null;
|
|
5026
4938
|
groupId: string;
|
|
5027
4939
|
id: string;
|
|
5028
|
-
role: "member" | "admin";
|
|
5029
4940
|
updatedAt: string | null;
|
|
5030
4941
|
userEmail: string | null;
|
|
5031
4942
|
userId: string;
|
|
@@ -5123,7 +5034,6 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
5123
5034
|
createdAt: string | null;
|
|
5124
5035
|
groupId: string;
|
|
5125
5036
|
id: string;
|
|
5126
|
-
role: "member" | "admin";
|
|
5127
5037
|
updatedAt: string | null;
|
|
5128
5038
|
userEmail: string | null;
|
|
5129
5039
|
userId: string;
|
|
@@ -5302,6 +5212,85 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
5302
5212
|
op: "transform";
|
|
5303
5213
|
remote: string;
|
|
5304
5214
|
transformerId: string;
|
|
5215
|
+
} | {
|
|
5216
|
+
direction: "both" | "inbound" | "outbound";
|
|
5217
|
+
local: string;
|
|
5218
|
+
skipIfNull: boolean;
|
|
5219
|
+
op: "reference";
|
|
5220
|
+
remote: string;
|
|
5221
|
+
target?: string;
|
|
5222
|
+
} | {
|
|
5223
|
+
direction: "both" | "inbound" | "outbound";
|
|
5224
|
+
local: string;
|
|
5225
|
+
skipIfNull: boolean;
|
|
5226
|
+
fieldMap: Array<{
|
|
5227
|
+
direction: "both" | "inbound" | "outbound";
|
|
5228
|
+
local: string;
|
|
5229
|
+
skipIfNull: boolean;
|
|
5230
|
+
op: "path";
|
|
5231
|
+
remote: string;
|
|
5232
|
+
} | {
|
|
5233
|
+
direction: "both" | "inbound" | "outbound";
|
|
5234
|
+
local: string;
|
|
5235
|
+
skipIfNull: boolean;
|
|
5236
|
+
falseValues?: Array<string>;
|
|
5237
|
+
op: "cast";
|
|
5238
|
+
remote: string;
|
|
5239
|
+
trueValues?: Array<string>;
|
|
5240
|
+
} | {
|
|
5241
|
+
direction: "both" | "inbound" | "outbound";
|
|
5242
|
+
local: string;
|
|
5243
|
+
skipIfNull: boolean;
|
|
5244
|
+
op: "default";
|
|
5245
|
+
remote?: string;
|
|
5246
|
+
value: unknown;
|
|
5247
|
+
} | {
|
|
5248
|
+
direction: "both" | "inbound" | "outbound";
|
|
5249
|
+
local: string;
|
|
5250
|
+
skipIfNull: boolean;
|
|
5251
|
+
op: "concat";
|
|
5252
|
+
remote: Array<string>;
|
|
5253
|
+
separator?: string;
|
|
5254
|
+
} | {
|
|
5255
|
+
direction: "both" | "inbound" | "outbound";
|
|
5256
|
+
local: string;
|
|
5257
|
+
skipIfNull: boolean;
|
|
5258
|
+
discardEmpty?: boolean;
|
|
5259
|
+
op: "split";
|
|
5260
|
+
remote: string;
|
|
5261
|
+
separators?: Array<string>;
|
|
5262
|
+
trimItems?: boolean;
|
|
5263
|
+
uniqueItems?: boolean;
|
|
5264
|
+
} | {
|
|
5265
|
+
direction: "both" | "inbound" | "outbound";
|
|
5266
|
+
local: string;
|
|
5267
|
+
skipIfNull: boolean;
|
|
5268
|
+
latitudeKey?: string;
|
|
5269
|
+
longitudeKey?: string;
|
|
5270
|
+
op: "coordinates";
|
|
5271
|
+
remote: [
|
|
5272
|
+
string,
|
|
5273
|
+
string
|
|
5274
|
+
];
|
|
5275
|
+
} | {
|
|
5276
|
+
direction: "both" | "inbound" | "outbound";
|
|
5277
|
+
local: string;
|
|
5278
|
+
skipIfNull: boolean;
|
|
5279
|
+
op: "transform";
|
|
5280
|
+
remote: string;
|
|
5281
|
+
transformerId: string;
|
|
5282
|
+
} | {
|
|
5283
|
+
direction: "both" | "inbound" | "outbound";
|
|
5284
|
+
local: string;
|
|
5285
|
+
skipIfNull: boolean;
|
|
5286
|
+
op: "reference";
|
|
5287
|
+
remote: string;
|
|
5288
|
+
target?: string;
|
|
5289
|
+
}>;
|
|
5290
|
+
op: "embedded";
|
|
5291
|
+
remote: string;
|
|
5292
|
+
remoteId: string;
|
|
5293
|
+
target?: string;
|
|
5305
5294
|
}>;
|
|
5306
5295
|
fqn: string;
|
|
5307
5296
|
outboundStrategy?: "local_first" | "remote_first";
|
|
@@ -5403,6 +5392,85 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
5403
5392
|
op: "transform";
|
|
5404
5393
|
remote: string;
|
|
5405
5394
|
transformerId: string;
|
|
5395
|
+
} | {
|
|
5396
|
+
direction: "both" | "inbound" | "outbound";
|
|
5397
|
+
local: string;
|
|
5398
|
+
skipIfNull: boolean;
|
|
5399
|
+
op: "reference";
|
|
5400
|
+
remote: string;
|
|
5401
|
+
target?: string;
|
|
5402
|
+
} | {
|
|
5403
|
+
direction: "both" | "inbound" | "outbound";
|
|
5404
|
+
local: string;
|
|
5405
|
+
skipIfNull: boolean;
|
|
5406
|
+
fieldMap: Array<{
|
|
5407
|
+
direction: "both" | "inbound" | "outbound";
|
|
5408
|
+
local: string;
|
|
5409
|
+
skipIfNull: boolean;
|
|
5410
|
+
op: "path";
|
|
5411
|
+
remote: string;
|
|
5412
|
+
} | {
|
|
5413
|
+
direction: "both" | "inbound" | "outbound";
|
|
5414
|
+
local: string;
|
|
5415
|
+
skipIfNull: boolean;
|
|
5416
|
+
falseValues?: Array<string>;
|
|
5417
|
+
op: "cast";
|
|
5418
|
+
remote: string;
|
|
5419
|
+
trueValues?: Array<string>;
|
|
5420
|
+
} | {
|
|
5421
|
+
direction: "both" | "inbound" | "outbound";
|
|
5422
|
+
local: string;
|
|
5423
|
+
skipIfNull: boolean;
|
|
5424
|
+
op: "default";
|
|
5425
|
+
remote?: string;
|
|
5426
|
+
value: unknown;
|
|
5427
|
+
} | {
|
|
5428
|
+
direction: "both" | "inbound" | "outbound";
|
|
5429
|
+
local: string;
|
|
5430
|
+
skipIfNull: boolean;
|
|
5431
|
+
op: "concat";
|
|
5432
|
+
remote: Array<string>;
|
|
5433
|
+
separator?: string;
|
|
5434
|
+
} | {
|
|
5435
|
+
direction: "both" | "inbound" | "outbound";
|
|
5436
|
+
local: string;
|
|
5437
|
+
skipIfNull: boolean;
|
|
5438
|
+
discardEmpty?: boolean;
|
|
5439
|
+
op: "split";
|
|
5440
|
+
remote: string;
|
|
5441
|
+
separators?: Array<string>;
|
|
5442
|
+
trimItems?: boolean;
|
|
5443
|
+
uniqueItems?: boolean;
|
|
5444
|
+
} | {
|
|
5445
|
+
direction: "both" | "inbound" | "outbound";
|
|
5446
|
+
local: string;
|
|
5447
|
+
skipIfNull: boolean;
|
|
5448
|
+
latitudeKey?: string;
|
|
5449
|
+
longitudeKey?: string;
|
|
5450
|
+
op: "coordinates";
|
|
5451
|
+
remote: [
|
|
5452
|
+
string,
|
|
5453
|
+
string
|
|
5454
|
+
];
|
|
5455
|
+
} | {
|
|
5456
|
+
direction: "both" | "inbound" | "outbound";
|
|
5457
|
+
local: string;
|
|
5458
|
+
skipIfNull: boolean;
|
|
5459
|
+
op: "transform";
|
|
5460
|
+
remote: string;
|
|
5461
|
+
transformerId: string;
|
|
5462
|
+
} | {
|
|
5463
|
+
direction: "both" | "inbound" | "outbound";
|
|
5464
|
+
local: string;
|
|
5465
|
+
skipIfNull: boolean;
|
|
5466
|
+
op: "reference";
|
|
5467
|
+
remote: string;
|
|
5468
|
+
target?: string;
|
|
5469
|
+
}>;
|
|
5470
|
+
op: "embedded";
|
|
5471
|
+
remote: string;
|
|
5472
|
+
remoteId: string;
|
|
5473
|
+
target?: string;
|
|
5406
5474
|
}>;
|
|
5407
5475
|
fqn: string;
|
|
5408
5476
|
outboundStrategy?: "local_first" | "remote_first";
|
|
@@ -5771,6 +5839,85 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
5771
5839
|
op: "transform";
|
|
5772
5840
|
remote: string;
|
|
5773
5841
|
transformerId: string;
|
|
5842
|
+
} | {
|
|
5843
|
+
direction: "both" | "inbound" | "outbound";
|
|
5844
|
+
local: string;
|
|
5845
|
+
skipIfNull: boolean;
|
|
5846
|
+
op: "reference";
|
|
5847
|
+
remote: string;
|
|
5848
|
+
target?: string;
|
|
5849
|
+
} | {
|
|
5850
|
+
direction: "both" | "inbound" | "outbound";
|
|
5851
|
+
local: string;
|
|
5852
|
+
skipIfNull: boolean;
|
|
5853
|
+
fieldMap: Array<{
|
|
5854
|
+
direction: "both" | "inbound" | "outbound";
|
|
5855
|
+
local: string;
|
|
5856
|
+
skipIfNull: boolean;
|
|
5857
|
+
op: "path";
|
|
5858
|
+
remote: string;
|
|
5859
|
+
} | {
|
|
5860
|
+
direction: "both" | "inbound" | "outbound";
|
|
5861
|
+
local: string;
|
|
5862
|
+
skipIfNull: boolean;
|
|
5863
|
+
falseValues?: Array<string>;
|
|
5864
|
+
op: "cast";
|
|
5865
|
+
remote: string;
|
|
5866
|
+
trueValues?: Array<string>;
|
|
5867
|
+
} | {
|
|
5868
|
+
direction: "both" | "inbound" | "outbound";
|
|
5869
|
+
local: string;
|
|
5870
|
+
skipIfNull: boolean;
|
|
5871
|
+
op: "default";
|
|
5872
|
+
remote?: string;
|
|
5873
|
+
value: unknown;
|
|
5874
|
+
} | {
|
|
5875
|
+
direction: "both" | "inbound" | "outbound";
|
|
5876
|
+
local: string;
|
|
5877
|
+
skipIfNull: boolean;
|
|
5878
|
+
op: "concat";
|
|
5879
|
+
remote: Array<string>;
|
|
5880
|
+
separator?: string;
|
|
5881
|
+
} | {
|
|
5882
|
+
direction: "both" | "inbound" | "outbound";
|
|
5883
|
+
local: string;
|
|
5884
|
+
skipIfNull: boolean;
|
|
5885
|
+
discardEmpty?: boolean;
|
|
5886
|
+
op: "split";
|
|
5887
|
+
remote: string;
|
|
5888
|
+
separators?: Array<string>;
|
|
5889
|
+
trimItems?: boolean;
|
|
5890
|
+
uniqueItems?: boolean;
|
|
5891
|
+
} | {
|
|
5892
|
+
direction: "both" | "inbound" | "outbound";
|
|
5893
|
+
local: string;
|
|
5894
|
+
skipIfNull: boolean;
|
|
5895
|
+
latitudeKey?: string;
|
|
5896
|
+
longitudeKey?: string;
|
|
5897
|
+
op: "coordinates";
|
|
5898
|
+
remote: [
|
|
5899
|
+
string,
|
|
5900
|
+
string
|
|
5901
|
+
];
|
|
5902
|
+
} | {
|
|
5903
|
+
direction: "both" | "inbound" | "outbound";
|
|
5904
|
+
local: string;
|
|
5905
|
+
skipIfNull: boolean;
|
|
5906
|
+
op: "transform";
|
|
5907
|
+
remote: string;
|
|
5908
|
+
transformerId: string;
|
|
5909
|
+
} | {
|
|
5910
|
+
direction: "both" | "inbound" | "outbound";
|
|
5911
|
+
local: string;
|
|
5912
|
+
skipIfNull: boolean;
|
|
5913
|
+
op: "reference";
|
|
5914
|
+
remote: string;
|
|
5915
|
+
target?: string;
|
|
5916
|
+
}>;
|
|
5917
|
+
op: "embedded";
|
|
5918
|
+
remote: string;
|
|
5919
|
+
remoteId: string;
|
|
5920
|
+
target?: string;
|
|
5774
5921
|
}>;
|
|
5775
5922
|
fqn: string;
|
|
5776
5923
|
outboundStrategy?: "local_first" | "remote_first";
|
|
@@ -5872,6 +6019,85 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
5872
6019
|
op: "transform";
|
|
5873
6020
|
remote: string;
|
|
5874
6021
|
transformerId: string;
|
|
6022
|
+
} | {
|
|
6023
|
+
direction: "both" | "inbound" | "outbound";
|
|
6024
|
+
local: string;
|
|
6025
|
+
skipIfNull: boolean;
|
|
6026
|
+
op: "reference";
|
|
6027
|
+
remote: string;
|
|
6028
|
+
target?: string;
|
|
6029
|
+
} | {
|
|
6030
|
+
direction: "both" | "inbound" | "outbound";
|
|
6031
|
+
local: string;
|
|
6032
|
+
skipIfNull: boolean;
|
|
6033
|
+
fieldMap: Array<{
|
|
6034
|
+
direction: "both" | "inbound" | "outbound";
|
|
6035
|
+
local: string;
|
|
6036
|
+
skipIfNull: boolean;
|
|
6037
|
+
op: "path";
|
|
6038
|
+
remote: string;
|
|
6039
|
+
} | {
|
|
6040
|
+
direction: "both" | "inbound" | "outbound";
|
|
6041
|
+
local: string;
|
|
6042
|
+
skipIfNull: boolean;
|
|
6043
|
+
falseValues?: Array<string>;
|
|
6044
|
+
op: "cast";
|
|
6045
|
+
remote: string;
|
|
6046
|
+
trueValues?: Array<string>;
|
|
6047
|
+
} | {
|
|
6048
|
+
direction: "both" | "inbound" | "outbound";
|
|
6049
|
+
local: string;
|
|
6050
|
+
skipIfNull: boolean;
|
|
6051
|
+
op: "default";
|
|
6052
|
+
remote?: string;
|
|
6053
|
+
value: unknown;
|
|
6054
|
+
} | {
|
|
6055
|
+
direction: "both" | "inbound" | "outbound";
|
|
6056
|
+
local: string;
|
|
6057
|
+
skipIfNull: boolean;
|
|
6058
|
+
op: "concat";
|
|
6059
|
+
remote: Array<string>;
|
|
6060
|
+
separator?: string;
|
|
6061
|
+
} | {
|
|
6062
|
+
direction: "both" | "inbound" | "outbound";
|
|
6063
|
+
local: string;
|
|
6064
|
+
skipIfNull: boolean;
|
|
6065
|
+
discardEmpty?: boolean;
|
|
6066
|
+
op: "split";
|
|
6067
|
+
remote: string;
|
|
6068
|
+
separators?: Array<string>;
|
|
6069
|
+
trimItems?: boolean;
|
|
6070
|
+
uniqueItems?: boolean;
|
|
6071
|
+
} | {
|
|
6072
|
+
direction: "both" | "inbound" | "outbound";
|
|
6073
|
+
local: string;
|
|
6074
|
+
skipIfNull: boolean;
|
|
6075
|
+
latitudeKey?: string;
|
|
6076
|
+
longitudeKey?: string;
|
|
6077
|
+
op: "coordinates";
|
|
6078
|
+
remote: [
|
|
6079
|
+
string,
|
|
6080
|
+
string
|
|
6081
|
+
];
|
|
6082
|
+
} | {
|
|
6083
|
+
direction: "both" | "inbound" | "outbound";
|
|
6084
|
+
local: string;
|
|
6085
|
+
skipIfNull: boolean;
|
|
6086
|
+
op: "transform";
|
|
6087
|
+
remote: string;
|
|
6088
|
+
transformerId: string;
|
|
6089
|
+
} | {
|
|
6090
|
+
direction: "both" | "inbound" | "outbound";
|
|
6091
|
+
local: string;
|
|
6092
|
+
skipIfNull: boolean;
|
|
6093
|
+
op: "reference";
|
|
6094
|
+
remote: string;
|
|
6095
|
+
target?: string;
|
|
6096
|
+
}>;
|
|
6097
|
+
op: "embedded";
|
|
6098
|
+
remote: string;
|
|
6099
|
+
remoteId: string;
|
|
6100
|
+
target?: string;
|
|
5875
6101
|
}>;
|
|
5876
6102
|
fqn: string;
|
|
5877
6103
|
outboundStrategy?: "local_first" | "remote_first";
|
|
@@ -6413,6 +6639,7 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
6413
6639
|
unique?: boolean;
|
|
6414
6640
|
file?: KnowledgeFileFieldEntry;
|
|
6415
6641
|
mediaVisibility?: KnowledgeFileVisibility;
|
|
6642
|
+
relation?: KnowledgeRelationFieldEntry;
|
|
6416
6643
|
};
|
|
6417
6644
|
};
|
|
6418
6645
|
fqn: string;
|
|
@@ -6431,7 +6658,6 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
6431
6658
|
name: string;
|
|
6432
6659
|
overviewInputMaxChars: number | null;
|
|
6433
6660
|
persistFullFieldContributions: boolean;
|
|
6434
|
-
relationFields: Array<EntityRelationField>;
|
|
6435
6661
|
removedFields: Array<unknown>;
|
|
6436
6662
|
richEnrichment: boolean | null;
|
|
6437
6663
|
updatedAt: string | null;
|
|
@@ -6654,6 +6880,7 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
6654
6880
|
unique?: boolean;
|
|
6655
6881
|
file?: KnowledgeFileFieldEntry;
|
|
6656
6882
|
mediaVisibility?: KnowledgeFileVisibility;
|
|
6883
|
+
relation?: KnowledgeRelationFieldEntry;
|
|
6657
6884
|
};
|
|
6658
6885
|
};
|
|
6659
6886
|
fqn: string;
|
|
@@ -6672,7 +6899,6 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
6672
6899
|
name: string;
|
|
6673
6900
|
overviewInputMaxChars: number | null;
|
|
6674
6901
|
persistFullFieldContributions: boolean;
|
|
6675
|
-
relationFields: Array<EntityRelationField>;
|
|
6676
6902
|
removedFields: Array<unknown>;
|
|
6677
6903
|
richEnrichment: boolean | null;
|
|
6678
6904
|
updatedAt: string | null;
|
|
@@ -6890,6 +7116,7 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
6890
7116
|
unique?: boolean;
|
|
6891
7117
|
file?: KnowledgeFileFieldEntry;
|
|
6892
7118
|
mediaVisibility?: KnowledgeFileVisibility;
|
|
7119
|
+
relation?: KnowledgeRelationFieldEntry;
|
|
6893
7120
|
};
|
|
6894
7121
|
};
|
|
6895
7122
|
fqn: string;
|
|
@@ -6908,7 +7135,6 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
6908
7135
|
name: string;
|
|
6909
7136
|
overviewInputMaxChars: number | null;
|
|
6910
7137
|
persistFullFieldContributions: boolean;
|
|
6911
|
-
relationFields: Array<EntityRelationField>;
|
|
6912
7138
|
removedFields: Array<unknown>;
|
|
6913
7139
|
richEnrichment: boolean | null;
|
|
6914
7140
|
updatedAt: string | null;
|
|
@@ -7051,16 +7277,16 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
7051
7277
|
id: string;
|
|
7052
7278
|
organizationId: string;
|
|
7053
7279
|
organizationRole: string;
|
|
7054
|
-
role: "member" | "admin";
|
|
7055
7280
|
status: "pending" | "accepted" | "revoked";
|
|
7056
7281
|
updatedAt: string | null;
|
|
7057
7282
|
}>;
|
|
7058
7283
|
list: (options: Pick<Options$1<OrganizationUsersSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
|
|
7059
7284
|
data: Array<{
|
|
7285
|
+
companyDomainException: boolean;
|
|
7060
7286
|
createdAt: string | null;
|
|
7061
7287
|
id: string;
|
|
7062
7288
|
organizationId: string;
|
|
7063
|
-
role: "
|
|
7289
|
+
role: "organization_admin" | "organization_operator" | "organization_member";
|
|
7064
7290
|
updatedAt: string | null;
|
|
7065
7291
|
userEmail: string | null;
|
|
7066
7292
|
userId: string;
|
|
@@ -7179,10 +7405,10 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
7179
7405
|
name: string;
|
|
7180
7406
|
version: string;
|
|
7181
7407
|
}[]>;
|
|
7182
|
-
promoteRelease: (options: Pick<Options$1<PackageReleasesPromoteData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<
|
|
7183
|
-
publishRelease: (options: Pick<Options$1<PackageReleasesPublishData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<
|
|
7408
|
+
promoteRelease: (options: Pick<Options$1<PackageReleasesPromoteData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<PackageOperationAccepted3>;
|
|
7409
|
+
publishRelease: (options: Pick<Options$1<PackageReleasesPublishData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<PackageOperationAccepted4>;
|
|
7184
7410
|
uninstall: (options: Pick<Options$1<ExtensionPackagesUninstallData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<PackageOperationAccepted7>;
|
|
7185
|
-
updateInstallation: (options: Pick<Options$1<PackageReleasesUpdateInstallationData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<
|
|
7411
|
+
updateInstallation: (options: Pick<Options$1<PackageReleasesUpdateInstallationData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<PackageOperationAccepted1>;
|
|
7186
7412
|
};
|
|
7187
7413
|
reports: {
|
|
7188
7414
|
archiveDefinition: (options: Pick<Options$1<OrganizationReportDefinitionsArchiveData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<void>;
|
|
@@ -7719,13 +7945,11 @@ declare const createAdministrationApi: (client: Client$1) => {
|
|
|
7719
7945
|
export type AdministrationApi = ReturnType<typeof createAdministrationApi>;
|
|
7720
7946
|
export type ExternalAppRegistration = OrganizationExternalAppsGetResponse;
|
|
7721
7947
|
export type ExternalAppRegistrationList = OrganizationExternalAppsListResponse;
|
|
7722
|
-
export type CreateExternalAppRegistration =
|
|
7948
|
+
export type CreateExternalAppRegistration = OrganizationExternalAppsCreateData["body"];
|
|
7723
7949
|
export type UpdateExternalAppRegistration = OrganizationExternalAppsUpdateData["body"];
|
|
7724
7950
|
export type CreatedExternalAppRegistration = OrganizationExternalAppsCreateResponse;
|
|
7725
7951
|
export type RotatedExternalAppCredential = OrganizationExternalAppsRotateCredentialResponse;
|
|
7726
7952
|
export type ExternalAppAdministrationScope = Readonly<{
|
|
7727
|
-
kind: "tenant";
|
|
7728
|
-
}> | Readonly<{
|
|
7729
7953
|
kind: "organization";
|
|
7730
7954
|
organizationId: string;
|
|
7731
7955
|
}>;
|
|
@@ -7768,12 +7992,6 @@ export declare const createAdminClient: (config: ServerAdminClientConfig) => Ser
|
|
|
7768
7992
|
];
|
|
7769
7993
|
readonly availability: "generated";
|
|
7770
7994
|
};
|
|
7771
|
-
readonly apiKeys: {
|
|
7772
|
-
readonly scopes: readonly [
|
|
7773
|
-
"organizations:admin"
|
|
7774
|
-
];
|
|
7775
|
-
readonly availability: "generated";
|
|
7776
|
-
};
|
|
7777
7995
|
readonly applications: {
|
|
7778
7996
|
readonly availability: "generated";
|
|
7779
7997
|
readonly scopes: readonly [
|