@gravity-rail/sdk 0.16.0 → 0.18.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/dist/{chunk-4B7T6MBH.js → chunk-MP5ENP4Q.js} +493 -77
- package/dist/chunk-MP5ENP4Q.js.map +1 -0
- package/dist/{chunk-GP6ICMWF.js → chunk-PJFEGUHM.js} +8 -1
- package/dist/chunk-PJFEGUHM.js.map +1 -0
- package/dist/{client-3xYGmF3t.d.ts → client-B51HZ6zY.d.cts} +2229 -217
- package/dist/{client-BhO_UFFz.d.cts → client-G5i59XtT.d.ts} +2229 -217
- package/dist/helpers.cjs +7 -0
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +449 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -5
- package/dist/index.d.ts +23 -5
- package/dist/index.js +77 -4
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +564 -72
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +95 -7
- package/dist/internal.d.ts +95 -7
- package/dist/internal.js +93 -6
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-Dma10N9s.d.ts → revision-state-Cc7RAf8A.d.ts} +30 -5
- package/dist/{revision-state-Dx8gCQIj.d.cts → revision-state-DudSCwea.d.cts} +30 -5
- package/dist/schemas.cjs +170 -216
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +11 -11
- package/dist/schemas.d.ts +11 -11
- package/dist/schemas.js +170 -209
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-vupYoJgG.d.cts → tasks-1JXJJuG8.d.cts} +256 -73
- package/dist/{tasks-vupYoJgG.d.ts → tasks-1JXJJuG8.d.ts} +256 -73
- package/package.json +3 -3
- package/dist/chunk-4B7T6MBH.js.map +0 -1
- package/dist/chunk-GP6ICMWF.js.map +0 -1
|
@@ -196,7 +196,6 @@ type WebhookLogSortField = 'createdAt';
|
|
|
196
196
|
type RuleExecutionSortField = 'createdAt' | 'completedAt' | 'durationMs' | 'status';
|
|
197
197
|
type RoutineSortField = 'createdAt' | 'updatedAt' | 'name' | 'scheduledTime';
|
|
198
198
|
type EventRunSortField = 'createdAt';
|
|
199
|
-
type MilestoneSortField = 'name' | 'createdAt' | 'updatedAt' | 'targetDate';
|
|
200
199
|
type AccountSortField = 'createdAt' | 'updatedAt' | 'name' | 'email';
|
|
201
200
|
type WorkspaceSortField = 'createdAt' | 'updatedAt' | 'name';
|
|
202
201
|
type AdminWorkspaceSortField = 'name' | 'slug' | 'createdAt';
|
|
@@ -542,6 +541,44 @@ type WebAuthnRegistrationResponseCredentialCreationOptions = {
|
|
|
542
541
|
[key: string]: unknown;
|
|
543
542
|
};
|
|
544
543
|
|
|
544
|
+
/**
|
|
545
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
546
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
547
|
+
* Group: config
|
|
548
|
+
*/
|
|
549
|
+
/**
|
|
550
|
+
* OIDC config posted by an admin. Carries cleartext `clientSecret`.
|
|
551
|
+
*
|
|
552
|
+
* The route encrypts it before persistence and never stores it in
|
|
553
|
+
* cleartext. Re-saving config with `client_secret=None` keeps the
|
|
554
|
+
* previously encrypted blob intact.
|
|
555
|
+
*/
|
|
556
|
+
interface OIDCAdminConfigInput$1 {
|
|
557
|
+
providerType?: OIDCAdminConfigInputProviderType;
|
|
558
|
+
issuer: string;
|
|
559
|
+
clientId: string;
|
|
560
|
+
expectedAudience?: string | null;
|
|
561
|
+
expectedTenantId?: string | null;
|
|
562
|
+
multiTenant?: boolean;
|
|
563
|
+
issuerIsMultiTenantTemplate?: boolean;
|
|
564
|
+
autoProvision?: boolean;
|
|
565
|
+
roleMapping?: OIDCAdminConfigInputRoleMapping;
|
|
566
|
+
rolesKey?: string | null;
|
|
567
|
+
groupsKey?: string | null;
|
|
568
|
+
postLogoutRedirectUris?: string[] | null;
|
|
569
|
+
clientSecret?: string | null;
|
|
570
|
+
}
|
|
571
|
+
type OIDCAdminConfigInputProviderType = typeof OIDCAdminConfigInputProviderType[keyof typeof OIDCAdminConfigInputProviderType];
|
|
572
|
+
declare const OIDCAdminConfigInputProviderType: {
|
|
573
|
+
readonly azure_ad: "azure_ad";
|
|
574
|
+
readonly okta: "okta";
|
|
575
|
+
readonly auth0: "auth0";
|
|
576
|
+
readonly generic: "generic";
|
|
577
|
+
};
|
|
578
|
+
type OIDCAdminConfigInputRoleMapping = {
|
|
579
|
+
[key: string]: string;
|
|
580
|
+
} | null;
|
|
581
|
+
|
|
545
582
|
/**
|
|
546
583
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
547
584
|
* (group map from emit_openapi.py). Do not edit manually.
|
|
@@ -1030,6 +1067,38 @@ interface SSOConfigData {
|
|
|
1030
1067
|
type SSOConfigDataRoleMapping = {
|
|
1031
1068
|
[key: string]: string;
|
|
1032
1069
|
} | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Request model for SSO configuration.
|
|
1072
|
+
*/
|
|
1073
|
+
interface SSOConfigRequest {
|
|
1074
|
+
provider: SSOConfigRequestProvider;
|
|
1075
|
+
domain: string;
|
|
1076
|
+
authMode?: SSOConfigRequestAuthMode;
|
|
1077
|
+
config?: SSOProviderConfig | null;
|
|
1078
|
+
}
|
|
1079
|
+
type SSOConfigRequestAuthMode = typeof SSOConfigRequestAuthMode[keyof typeof SSOConfigRequestAuthMode];
|
|
1080
|
+
declare const SSOConfigRequestAuthMode: {
|
|
1081
|
+
readonly open: "open";
|
|
1082
|
+
readonly ssoForDomain: "ssoForDomain";
|
|
1083
|
+
readonly ssoOnly: "ssoOnly";
|
|
1084
|
+
};
|
|
1085
|
+
type SSOConfigRequestProvider = typeof SSOConfigRequestProvider[keyof typeof SSOConfigRequestProvider];
|
|
1086
|
+
declare const SSOConfigRequestProvider: {
|
|
1087
|
+
readonly google: "google";
|
|
1088
|
+
readonly saml: "saml";
|
|
1089
|
+
readonly oidc: "oidc";
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* Configuration for SSO provider.
|
|
1093
|
+
*/
|
|
1094
|
+
interface SSOProviderConfig {
|
|
1095
|
+
autoProvision?: boolean | null;
|
|
1096
|
+
roleMapping?: SSOProviderConfigRoleMapping;
|
|
1097
|
+
oidc?: OIDCAdminConfigInput$1 | null;
|
|
1098
|
+
}
|
|
1099
|
+
type SSOProviderConfigRoleMapping = {
|
|
1100
|
+
[key: string]: string;
|
|
1101
|
+
} | null;
|
|
1033
1102
|
/**
|
|
1034
1103
|
* SiteMapping rows that will be dropped on disable.
|
|
1035
1104
|
*/
|
|
@@ -1669,6 +1738,7 @@ interface CurrentMemberResponse {
|
|
|
1669
1738
|
locale: string | null;
|
|
1670
1739
|
memberRoleId: number;
|
|
1671
1740
|
memberRoleName: string;
|
|
1741
|
+
memberRoleSystemKey?: string | null;
|
|
1672
1742
|
homeFolderId?: number | null;
|
|
1673
1743
|
labels?: MemberLabelResponse[];
|
|
1674
1744
|
accountEnabled?: boolean | null;
|
|
@@ -1919,6 +1989,7 @@ interface MemberRoleResponse {
|
|
|
1919
1989
|
id: number;
|
|
1920
1990
|
uuid: string;
|
|
1921
1991
|
name: string;
|
|
1992
|
+
systemKey?: string | null;
|
|
1922
1993
|
grantedScopes?: string[];
|
|
1923
1994
|
siteAccess?: MemberRoleSiteAccessResponse[];
|
|
1924
1995
|
dataTypeAccess?: MemberRoleDataTypeAccessResponse[];
|
|
@@ -2055,6 +2126,7 @@ interface WorkspaceMemberResponse {
|
|
|
2055
2126
|
locale: string | null;
|
|
2056
2127
|
memberRoleId: number;
|
|
2057
2128
|
memberRoleName: string;
|
|
2129
|
+
memberRoleSystemKey?: string | null;
|
|
2058
2130
|
homeFolderId?: number | null;
|
|
2059
2131
|
labels?: MemberLabelResponse[];
|
|
2060
2132
|
accountEnabled?: boolean | null;
|
|
@@ -2327,77 +2399,6 @@ interface QueryFieldsResponse {
|
|
|
2327
2399
|
aggregateSourceCategories?: Record<string, Record<string, string>>;
|
|
2328
2400
|
}
|
|
2329
2401
|
|
|
2330
|
-
declare const MilestoneGoalFormDataSchema: z.ZodObject<{
|
|
2331
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
2332
|
-
name: z.ZodString;
|
|
2333
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2334
|
-
memberFilterId: z.ZodNumber;
|
|
2335
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
2336
|
-
}, z.core.$strip>;
|
|
2337
|
-
declare const MilestoneFormDataSchema: z.ZodObject<{
|
|
2338
|
-
name: z.ZodString;
|
|
2339
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2340
|
-
targetDate: z.ZodString;
|
|
2341
|
-
goals: z.ZodArray<z.ZodObject<{
|
|
2342
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
2343
|
-
name: z.ZodString;
|
|
2344
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2345
|
-
memberFilterId: z.ZodNumber;
|
|
2346
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
2347
|
-
}, z.core.$strip>>;
|
|
2348
|
-
}, z.core.$strip>;
|
|
2349
|
-
declare const ListMilestonesSchema: z.ZodObject<{
|
|
2350
|
-
wid: z.ZodString;
|
|
2351
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
2352
|
-
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
2353
|
-
sortBy: z.ZodOptional<z.ZodString>;
|
|
2354
|
-
sortOrder: z.ZodOptional<z.ZodEnum<{
|
|
2355
|
-
asc: "asc";
|
|
2356
|
-
desc: "desc";
|
|
2357
|
-
}>>;
|
|
2358
|
-
}, z.core.$strip>;
|
|
2359
|
-
declare const GetMilestoneSchema: z.ZodObject<{
|
|
2360
|
-
wid: z.ZodString;
|
|
2361
|
-
milestoneId: z.ZodNumber;
|
|
2362
|
-
}, z.core.$strip>;
|
|
2363
|
-
declare const CreateMilestoneSchema: z.ZodObject<{
|
|
2364
|
-
wid: z.ZodString;
|
|
2365
|
-
name: z.ZodString;
|
|
2366
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2367
|
-
targetDate: z.ZodString;
|
|
2368
|
-
goals: z.ZodArray<z.ZodObject<{
|
|
2369
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
2370
|
-
name: z.ZodString;
|
|
2371
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2372
|
-
memberFilterId: z.ZodNumber;
|
|
2373
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
2374
|
-
}, z.core.$strip>>;
|
|
2375
|
-
}, z.core.$strip>;
|
|
2376
|
-
declare const UpdateMilestoneSchema: z.ZodObject<{
|
|
2377
|
-
wid: z.ZodString;
|
|
2378
|
-
milestoneId: z.ZodNumber;
|
|
2379
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2380
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2381
|
-
targetDate: z.ZodOptional<z.ZodString>;
|
|
2382
|
-
goals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2383
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
2384
|
-
name: z.ZodString;
|
|
2385
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2386
|
-
memberFilterId: z.ZodNumber;
|
|
2387
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
2388
|
-
}, z.core.$strip>>>;
|
|
2389
|
-
}, z.core.$strip>;
|
|
2390
|
-
declare const DeleteMilestoneSchema: z.ZodObject<{
|
|
2391
|
-
wid: z.ZodString;
|
|
2392
|
-
milestoneId: z.ZodNumber;
|
|
2393
|
-
}, z.core.$strip>;
|
|
2394
|
-
type MilestoneFormData = z.infer<typeof MilestoneFormDataSchema>;
|
|
2395
|
-
type ListMilestonesInput = z.infer<typeof ListMilestonesSchema>;
|
|
2396
|
-
type GetMilestoneInput = z.infer<typeof GetMilestoneSchema>;
|
|
2397
|
-
type CreateMilestoneInput = z.infer<typeof CreateMilestoneSchema>;
|
|
2398
|
-
type UpdateMilestoneInput = z.infer<typeof UpdateMilestoneSchema>;
|
|
2399
|
-
type DeleteMilestoneInput = z.infer<typeof DeleteMilestoneSchema>;
|
|
2400
|
-
|
|
2401
2402
|
type MemoryItem = MemoryResponse$1;
|
|
2402
2403
|
type MemoryResponse = MemoryItem;
|
|
2403
2404
|
type MemberMemoriesResponse = Omit<MemoryListResponse, 'items'> & {
|
|
@@ -2555,7 +2556,99 @@ interface MemberFormData {
|
|
|
2555
2556
|
email?: string;
|
|
2556
2557
|
externalId?: string;
|
|
2557
2558
|
dateOfBirth?: string | null;
|
|
2559
|
+
/**
|
|
2560
|
+
* Resolve a contact-uniqueness collision by clearing the colliding value off
|
|
2561
|
+
* the member that currently holds it, in the same transaction that claims
|
|
2562
|
+
* it. Requires `members:admin`. Only the fields this request is claiming,
|
|
2563
|
+
* and only where that member's current value *is* the claimed one, are
|
|
2564
|
+
* cleared. See `MemberContactConflict`.
|
|
2565
|
+
*/
|
|
2566
|
+
releaseContactFromMemberId?: number;
|
|
2567
|
+
}
|
|
2568
|
+
type MemberContactField = 'phone' | 'email' | 'externalId';
|
|
2569
|
+
/**
|
|
2570
|
+
* Structured 409 body returned when a member's phone / email / external ID is
|
|
2571
|
+
* already held by another member in the workspace. Returned by `POST /members`,
|
|
2572
|
+
* `PUT /members/{id}` and `PUT /me` alike.
|
|
2573
|
+
*
|
|
2574
|
+
* Carries the blocking member's **id** only — never their name or contact
|
|
2575
|
+
* value. Fetch the record through the normal member endpoints to display it.
|
|
2576
|
+
*/
|
|
2577
|
+
interface MemberContactConflict {
|
|
2578
|
+
error: true;
|
|
2579
|
+
code: 'MEMBER_CONTACT_CONFLICT';
|
|
2580
|
+
message: string;
|
|
2581
|
+
conflictField: MemberContactField;
|
|
2582
|
+
/**
|
|
2583
|
+
* `null` on the server's race backstop, which learns that a uniqueness
|
|
2584
|
+
* constraint fired but not who holds the value. `canRelease` is always
|
|
2585
|
+
* `false` in that case — there is nothing to release *from*.
|
|
2586
|
+
*/
|
|
2587
|
+
conflictingMemberId: number | null;
|
|
2588
|
+
conflictingMemberArchived: boolean;
|
|
2589
|
+
/** Whether the caller holds `members:admin` and may release the value. */
|
|
2590
|
+
canRelease: boolean;
|
|
2591
|
+
}
|
|
2592
|
+
/**
|
|
2593
|
+
* Structured 409 body returned when the contact value belongs to another global
|
|
2594
|
+
* **Account** in the organization rather than to a member of this workspace.
|
|
2595
|
+
*
|
|
2596
|
+
* Deliberately carries no member id and no `canRelease`: there is no local
|
|
2597
|
+
* record to show, and the remedy is a verified / holder-consented identity
|
|
2598
|
+
* flow, not something the caller can resolve in this request.
|
|
2599
|
+
*/
|
|
2600
|
+
interface AccountContactConflict {
|
|
2601
|
+
error: true;
|
|
2602
|
+
code: 'ACCOUNT_CONTACT_CONFLICT';
|
|
2603
|
+
message: string;
|
|
2604
|
+
conflictField: MemberContactField;
|
|
2605
|
+
}
|
|
2606
|
+
/**
|
|
2607
|
+
* Narrow an unknown thrown value to a member contact conflict.
|
|
2608
|
+
*
|
|
2609
|
+
* Deliberately structural rather than an `instanceof ApiError` check, so the
|
|
2610
|
+
* guard works on errors that crossed a React Query boundary or were re-wrapped.
|
|
2611
|
+
*
|
|
2612
|
+
* A conflict with a null `conflictingMemberId` still matches — it is a real
|
|
2613
|
+
* conflict and its message is the right thing to show. Callers that want to
|
|
2614
|
+
* render the resolution UI should branch on `canRelease`, which is the field
|
|
2615
|
+
* that actually answers "is there something to do about this".
|
|
2616
|
+
*
|
|
2617
|
+
* Only `code` and the id's shape are validated, deliberately. `conflictField`,
|
|
2618
|
+
* `canRelease` and `conflictingMemberArchived` come from the same server
|
|
2619
|
+
* response as `code`; re-validating them would turn a server that added a new
|
|
2620
|
+
* `conflictField` value into a silent "not a conflict at all", which is a worse
|
|
2621
|
+
* failure than rendering an unfamiliar noun. The id is checked because callers
|
|
2622
|
+
* pass it back as a member id.
|
|
2623
|
+
*/
|
|
2624
|
+
declare function isMemberContactConflict(error: unknown): MemberContactConflict | null;
|
|
2625
|
+
/** Narrow an unknown thrown value to an account-level contact conflict. */
|
|
2626
|
+
declare function isAccountContactConflict(error: unknown): AccountContactConflict | null;
|
|
2627
|
+
/**
|
|
2628
|
+
* The archived member's id when `POST /members` collided with an archived
|
|
2629
|
+
* record, or `null`. Unlike a contact conflict, the remedy here is to unarchive
|
|
2630
|
+
* that member rather than take a value from them.
|
|
2631
|
+
*/
|
|
2632
|
+
declare function archivedMemberConflictId(error: unknown): number | null;
|
|
2633
|
+
/**
|
|
2634
|
+
* A conflict that names the member holding the value.
|
|
2635
|
+
*
|
|
2636
|
+
* This is what the resolution UI needs: something to show the user. Whether
|
|
2637
|
+
* they may also *act* on it is a separate question answered by `canRelease` —
|
|
2638
|
+
* a non-admin still benefits from being told who holds the value and to ask an
|
|
2639
|
+
* admin. The only conflict excluded here is the server's race backstop, which
|
|
2640
|
+
* has no id and so has nothing to display beyond its message.
|
|
2641
|
+
*/
|
|
2642
|
+
interface IdentifiedMemberContactConflict extends MemberContactConflict {
|
|
2643
|
+
conflictingMemberId: number;
|
|
2558
2644
|
}
|
|
2645
|
+
declare function isIdentifiedMemberContactConflict(conflict: MemberContactConflict | null): conflict is IdentifiedMemberContactConflict;
|
|
2646
|
+
/**
|
|
2647
|
+
* Narrow a thrown value straight to a displayable member conflict — the common
|
|
2648
|
+
* call-site need, since a conflict with no id has no resolution UI and belongs
|
|
2649
|
+
* in the ordinary error toast.
|
|
2650
|
+
*/
|
|
2651
|
+
declare function asIdentifiedMemberContactConflict(error: unknown): IdentifiedMemberContactConflict | null;
|
|
2559
2652
|
interface CreateWorkspaceMemberRequest {
|
|
2560
2653
|
email?: string;
|
|
2561
2654
|
phone?: string;
|
|
@@ -2566,6 +2659,12 @@ interface CreateWorkspaceMemberRequest {
|
|
|
2566
2659
|
dateOfBirth?: string;
|
|
2567
2660
|
emailTrusted?: boolean;
|
|
2568
2661
|
phoneTrusted?: boolean;
|
|
2662
|
+
/**
|
|
2663
|
+
* Resolve a contact-uniqueness collision by clearing the colliding value off
|
|
2664
|
+
* the member currently holding it, in the same transaction that creates this
|
|
2665
|
+
* one. Requires `members:admin`. See `MemberContactConflict`.
|
|
2666
|
+
*/
|
|
2667
|
+
releaseContactFromMemberId?: number;
|
|
2569
2668
|
memberRoleId: number;
|
|
2570
2669
|
notifySms?: boolean;
|
|
2571
2670
|
notifyEmail?: boolean;
|
|
@@ -2604,6 +2703,12 @@ interface UpdateWorkspaceMemberRequest {
|
|
|
2604
2703
|
isSuperuser?: boolean;
|
|
2605
2704
|
accountTosAccepted?: boolean;
|
|
2606
2705
|
memberType?: MemberType;
|
|
2706
|
+
/**
|
|
2707
|
+
* Resolve a contact-uniqueness collision by clearing the colliding value off
|
|
2708
|
+
* the member currently holding it, in the same transaction that claims it
|
|
2709
|
+
* here. Requires `members:admin`. See `MemberContactConflict`.
|
|
2710
|
+
*/
|
|
2711
|
+
releaseContactFromMemberId?: number;
|
|
2607
2712
|
}
|
|
2608
2713
|
interface MergeMembersRequest {
|
|
2609
2714
|
targetMemberId: number;
|
|
@@ -3078,6 +3183,42 @@ type UpdateDataRecordFilterRequestQuery = {
|
|
|
3078
3183
|
[key: string]: unknown;
|
|
3079
3184
|
} | null;
|
|
3080
3185
|
|
|
3186
|
+
/**
|
|
3187
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
3188
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
3189
|
+
* Group: routine_config_event
|
|
3190
|
+
*/
|
|
3191
|
+
/**
|
|
3192
|
+
* Who performed the change.
|
|
3193
|
+
*
|
|
3194
|
+
* ``MEMBER`` — a workspace Member acting through the API or the AI manager
|
|
3195
|
+
* tool; ``actor_member_id`` identifies them.
|
|
3196
|
+
*
|
|
3197
|
+
* ``SYSTEM`` — the platform itself, with no member in the loop.
|
|
3198
|
+
* ``actor_member_id`` is NULL and ``reason`` carries the why.
|
|
3199
|
+
*/
|
|
3200
|
+
type RoutineConfigEventActorType = typeof RoutineConfigEventActorType[keyof typeof RoutineConfigEventActorType];
|
|
3201
|
+
declare const RoutineConfigEventActorType: {
|
|
3202
|
+
readonly member: "member";
|
|
3203
|
+
readonly system: "system";
|
|
3204
|
+
};
|
|
3205
|
+
/**
|
|
3206
|
+
* Closed vocabulary for why a change happened.
|
|
3207
|
+
*
|
|
3208
|
+
* Closed rather than free text so the column stays PHI-free by construction
|
|
3209
|
+
* and the UI can render each case with its own copy. Extending it is an
|
|
3210
|
+
* ordinary migration-free addition on the Python side ONLY if the DB CHECK is
|
|
3211
|
+
* widened in the same PR — see ``ck_routine_config_events_reason``.
|
|
3212
|
+
*/
|
|
3213
|
+
type RoutineConfigEventReason = typeof RoutineConfigEventReason[keyof typeof RoutineConfigEventReason];
|
|
3214
|
+
declare const RoutineConfigEventReason: {
|
|
3215
|
+
readonly user_edit: "user_edit";
|
|
3216
|
+
readonly routine_created: "routine_created";
|
|
3217
|
+
readonly runs_reset: "runs_reset";
|
|
3218
|
+
readonly finite_repeat_exhausted: "finite_repeat_exhausted";
|
|
3219
|
+
readonly outbound_safety_autopause: "outbound_safety_autopause";
|
|
3220
|
+
};
|
|
3221
|
+
|
|
3081
3222
|
/**
|
|
3082
3223
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
3083
3224
|
* (group map from emit_openapi.py). Do not edit manually.
|
|
@@ -3091,6 +3232,36 @@ interface MemberSummary {
|
|
|
3091
3232
|
id: number;
|
|
3092
3233
|
name?: string | null;
|
|
3093
3234
|
}
|
|
3235
|
+
/**
|
|
3236
|
+
* One row of the Routine History tab (GH #22937).
|
|
3237
|
+
*
|
|
3238
|
+
* PHI-free by construction: IDs, closed-vocabulary enums, booleans, a
|
|
3239
|
+
* timestamp, and field NAMES. Carries no Routine name, cron string, or prompt
|
|
3240
|
+
* text — the same allowlist the audit payload enforces.
|
|
3241
|
+
*
|
|
3242
|
+
* ``actorType`` / ``reason`` are what let the UI say "you turned this off" vs
|
|
3243
|
+
* "we turned this off, and here is why". ``scheduleTransitioned`` /
|
|
3244
|
+
* ``webhookTransitioned`` are computed server-side so no client has to
|
|
3245
|
+
* re-derive the no-op-save rule (and get it wrong the way reading
|
|
3246
|
+
* ``fieldsChanged`` as a diff does).
|
|
3247
|
+
*/
|
|
3248
|
+
interface RoutineConfigEventResponse {
|
|
3249
|
+
id: number;
|
|
3250
|
+
uuid: string;
|
|
3251
|
+
routineId: number;
|
|
3252
|
+
occurredAt: string;
|
|
3253
|
+
actorType: RoutineConfigEventActorType;
|
|
3254
|
+
actorMemberId?: number | null;
|
|
3255
|
+
reason: RoutineConfigEventReason;
|
|
3256
|
+
scheduleEnabledBefore?: boolean | null;
|
|
3257
|
+
scheduleEnabledAfter?: boolean | null;
|
|
3258
|
+
webhookEnabledBefore?: boolean | null;
|
|
3259
|
+
webhookEnabledAfter?: boolean | null;
|
|
3260
|
+
scheduleTransitioned: boolean;
|
|
3261
|
+
webhookTransitioned: boolean;
|
|
3262
|
+
fieldsChanged?: string[] | null;
|
|
3263
|
+
actor?: MemberSummary | null;
|
|
3264
|
+
}
|
|
3094
3265
|
/**
|
|
3095
3266
|
* Response model for Routines.
|
|
3096
3267
|
*/
|
|
@@ -3111,6 +3282,9 @@ interface RoutineResponse$1 {
|
|
|
3111
3282
|
memberFilterName?: string | null;
|
|
3112
3283
|
targetMemberId?: number | null;
|
|
3113
3284
|
workflowId?: number | null;
|
|
3285
|
+
managerPrompt?: string | null;
|
|
3286
|
+
managerSkills?: string[] | null;
|
|
3287
|
+
managerModel?: string | null;
|
|
3114
3288
|
limit: number;
|
|
3115
3289
|
visibility: string;
|
|
3116
3290
|
ownerId: number | null;
|
|
@@ -3626,6 +3800,12 @@ interface CreateRoutineRequest {
|
|
|
3626
3800
|
memberFilterId?: number | null;
|
|
3627
3801
|
targetMemberId?: number | null;
|
|
3628
3802
|
workflowId?: number | null;
|
|
3803
|
+
/** Manager-task purpose: prompt the Workspace Manager should run. */
|
|
3804
|
+
managerPrompt?: string | null;
|
|
3805
|
+
/** Optional starting Manager skills for the task. */
|
|
3806
|
+
managerSkills?: string[] | null;
|
|
3807
|
+
/** Optional model override for the Manager task. */
|
|
3808
|
+
managerModel?: string | null;
|
|
3629
3809
|
limit?: number;
|
|
3630
3810
|
visibility?: 'private' | 'workspace';
|
|
3631
3811
|
/** When true, the server generates a webhook secret and returns its
|
|
@@ -3652,6 +3832,9 @@ interface UpdateRoutineRequest {
|
|
|
3652
3832
|
memberFilterId?: number | null;
|
|
3653
3833
|
targetMemberId?: number | null;
|
|
3654
3834
|
workflowId?: number | null;
|
|
3835
|
+
managerPrompt?: string | null;
|
|
3836
|
+
managerSkills?: string[] | null;
|
|
3837
|
+
managerModel?: string | null;
|
|
3655
3838
|
limit?: number;
|
|
3656
3839
|
visibility?: 'private' | 'workspace';
|
|
3657
3840
|
/** Ordered event rules to attach. Server syncs by UUID: same-UUID rows
|
|
@@ -4506,4 +4689,4 @@ type DeleteTaskInput = z.infer<typeof DeleteTaskSchema>;
|
|
|
4506
4689
|
type ArchiveTaskInput = z.infer<typeof ArchiveTaskSchema>;
|
|
4507
4690
|
type UnarchiveTaskInput = z.infer<typeof UnarchiveTaskSchema>;
|
|
4508
4691
|
|
|
4509
|
-
export { type EventResponse as $, AccessLevel as A, AttendeeResponseStatus as B, AttendeeStatus as C, DataFieldType as D, EventRuleEventType as E, type AuthorizedRep as F, type AvailabilityCheck as G, type AvailabilityResponse as H, type AvailableSlotsRequest as I, type AvailableSlotsResponse as J, type BotSortField as K, type BulkCreateDataRecordRequest as L, type BulkCreateDataRecordResponse as M, type BulkCreateMembersRequest as N, type BulkCreateMembersResponse as O, type BulkMemberItem as P, type QueryPredicate as Q, type BulkMemberResult as R, type SchemaField as S, BulkMemberResultStatus as T, type BulkRecordResult as U, BusinessIndustry as V, type BusinessInfo as W, type BusinessProfileCancelResponse as X, type BusinessProfileSubmitResponse as Y, BusinessType as Z, type Calendar as _, EventRuleActionType as a, type DataTypeFormData as a$, type CalendarEventFormData as a0, type CalendarEventSortField as a1, CalendarEventStatus as a2, type EventTypeResponse as a3, type CalendarEventTypeFormData as a4, type CalendarEventsQueryParams as a5, type CalendarFormData as a6, CalendarPermissionType as a7, type CalendarResponse as a8, type CalendarSchedule as a9, type CredentialChangeInviteDetailsResponse as aA, type CredentialChangeInviteResponse as aB, type CredentialChangeRequestResponse as aC, type CredentialChangeVerifyResponse as aD, type CredentialType as aE, type CurrentMemberResponse as aF, type CurrentOrgMember as aG, type CursorPaginatedResponse as aH, DataCategory as aI, type DataField as aJ, type DataIntegrityReportItem as aK, type DataRecordResponse as aL, type DataRecordAssociationFormData as aM, type DataRecordFieldWarning as aN, type DataRecordFilterResponse as aO, type DataRecordFilterFormData as aP, type DataRecordFilterWithQuery as aQ, type DataRecordFormData as aR, type DataRecordReportItem as aS, type DataRecordRetirementResponse as aT, DataRecordRetirementResponseReason as aU, type DataRecordUpdateResponse as aV, type DataRecordWithAccessMode as aW, type DataRecordsPaginatedResponse as aX, DataSensitivity as aY, type DataTypeResponse as aZ, type DataTypeExportItem as a_, CalendarScheduleAvailabilityType as aa, type CalendarScheduleFormData as ab, CalendarScheduleRecurrence as ac, type CalendarScheduleResponse as ad, CalendarSource as ae, type CancelCredentialChangeInviteResponse as af, type CancelCredentialChangeResponse as ag, type CapabilityRequirementFinding as ah, type CapabilityStatus as ai, type ChatContinueActionParams as aj, type ChatCreateActionParams as ak, type ChatPauseActionParams as al, type ChatSortField as am, type ChatSummarizeActionParams as an, type ConcludeAssignmentActionParams as ao, type CreateAccountOrgMembershipRequest as ap, type CreateAccountOrgMembershipResponse as aq, type CreateAgentRequest as ar, type CreateAnonymousMemberRequest as as, type CreateCredentialChangeInviteRequest as at, type CreateDataRecordFilterRequest as au, type CreateOrganizationRequest as av, type CreateRoutineRequest as aw, type CreateSignupResponse as ax, type CreateWorkspaceMemberRequest as ay, type CredentialChangeInviteConfirmResponse as az, type EventRuleInput as b, type MemberFilterFormData as b$, type DataTypeMemberRoleAccessInput as b0, type DataTypeMemberRoleAccessResponse as b1, DataTypeRecordScope as b2, type DataTypeSortField as b3, type DeleteAccountOrgMembershipResponse as b4, type DetailedAccount as b5, type DuplicateAccountInfo as b6, type EcwRefreshMemberEncountersActionParams as b7, type EmailDisableImpactResponse as b8, EmailDnsRecordType as b9, type GoogleCalendarInsufficientScopesResponse as bA, type GoogleCalendarStatusResponse as bB, type ICalFeedTokenResponse as bC, type ICalFeedUrlResponse as bD, type IdentityConflictPolicy as bE, IndexStatus as bF, type IndexStatusResponse as bG, type InvokeCustomToolActionParams as bH, JobPosition as bI, type JourneyEnrollActionParams as bJ, type JourneySortField as bK, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as bL, type LinkCalendarRequest as bM, type LinkCalendarResponse as bN, type LoginRequest as bO, type LoginResponse as bP, type LogoUploadRequest as bQ, type LogoUploadResponse as bR, MASKED_SECRET_SENTINEL as bS, type McpServerSortField as bT, type WorkspaceMemberResponse as bU, type MemberCredentialResponse as bV, type MemberFieldResponse as bW, type MemberFieldDefinitionResponse as bX, type MemberFieldDefinitionListResponse as bY, type MemberFieldListResponse as bZ, type MemberFilterResponse as b_, type EmailDomainConfigResponse as ba, type EmailSendActionParams as bb, type EmailVerificationResponse as bc, type EnumOption as bd, type ErrorResponse as be, type EventActionMapping as bf, type EventActionMappingsResponse as bg, type EventRule as bh, type EventRuleExportItem as bi, type EventRuleFormData as bj, EventRuleObjectType as bk, type EventRuleResponse as bl, type EventRunSortField as bm, type ExpireAnonymousMemberRequest as bn, type ExternalAttendeeData as bo, type FileSortField as bp, type FormFieldUpdateActionParams as bq, type GenerateRecoveryCodesRequest as br, type BusinessProfileResponse as bs, type CalendarResponse$1 as bt, type CalendarScheduleResponse$1 as bu, type MemoryListResponse as bv, type MemoryResponse$1 as bw, type OrgDomainResponse as bx, type OwnershipDnsRecord as by, type GoogleCalendarInfo as bz, type AccountResponse as c, PERMISSION_ADMIN as c$, type MemberFilterWithQuery as c0, type MemberFormData as c1, type MemberImportConflictInfo as c2, type MemberImportIdentitySnapshot as c3, type MemberImportMatchInfo as c4, MemberImportMatchInfoMatchType as c5, type MemberImportPreviewResponse as c6, type MemberImportPreviewRow as c7, MemberImportPreviewRowAction as c8, type MemberImportPreviewSummary as c9, type MembersQueryParams as cA, type MemoryItem as cB, type MemoryResponse as cC, type MemoryType as cD, type MergeMembersRequest as cE, type MergeMembersResponse as cF, type MessageValidationActionParams as cG, type MilestoneSortField as cH, type MissingMembershipItem as cI, type MondayColumnMapping as cJ, type MondayLookupType as cK, type MondayRefreshActionParams as cL, type MondayRefreshColumnMapping as cM, type MondayUpsertItemActionParams as cN, type MondayUpsertMode as cO, type MultiMatchBehavior as cP, type NormalizeMemberRequest as cQ, type NormalizeMemberResponse as cR, type OIDCAdminConfigView as cS, OIDCAdminConfigViewProviderType as cT, type ObjectPermission as cU, type ObjectPermissionFlags as cV, type OrgMember as cW, type OrgMemberListResponse as cX, type OrgMemberRole as cY, type OrganizationResponse as cZ, type OwnershipVerificationResponse as c_, type MemberImportStreamConflict as ca, type MemberImportStreamEvent as cb, type MemberLabelResponse as cc, type MemberLabelActionParams as cd, type MemberLabelFormData as ce, type MemberMemoriesResponse as cf, type MemberMessageActivity as cg, type MemberOrgView as ch, type MemberReportItem as ci, type MemberRoleResponse as cj, type MemberRoleCalendarAccessResponse as ck, type MemberRoleDataTypeAccessResponse as cl, type MemberRoleFileAccessResponse as cm, type MemberRoleFolderAccessResponse as cn, type MemberRoleFormData as co, type MemberRoleInboxAccessResponse as cp, type MemberRoleSiteAccessResponse as cq, type MemberRoleTaskAccess as cr, type MemberRoleWorkflowAccessResponse as cs, type MemberSortField as ct, type MemberSummary as cu, type MemberSyncLink as cv, MemberType as cw, type MemberUpsertActionParams as cx, type MemberUpsertBehavior as cy, type MemberWorkspaceInfo as cz, type AccountFormData as d, type RoutineRunResponse as d$, PERMISSION_CREATE as d0, PERMISSION_DELETE as d1, PERMISSION_EDIT as d2, PERMISSION_GEOLOCATE as d3, PERMISSION_LIST as d4, PERMISSION_LIST_ALL as d5, PERMISSION_NONE as d6, PERMISSION_USE as d7, PERMISSION_VERIFY as d8, type PageSortField as d9, type QueryMatchAll as dA, type QueryMetric as dB, type QueryNot as dC, type QueryNowValue as dD, type QueryOr as dE, type QueryRangeBound as dF, type QueryRangeValue as dG, type QueryRecordFieldInfo as dH, type QueryRecordMatch as dI, type QueryRecordSelection as dJ, type QueryRelationMatch as dK, type QueryRunMode as dL, type QuerySavedFilterRef as dM, type QueryScalar as dN, type QuerySortKey as dO, type QuerySubQueryRef as dP, type QueryTemporalValue as dQ, type QueryValue as dR, type RecoveryCodeResponse as dS, Region as dT, RegistrationIdentifier as dU, type RequestCredentialChangeRequest as dV, type RequestMagicLinkRequest as dW, type RequestMagicLinkResponse as dX, type ResolveAnonymousMemberRequest as dY, type Routine as dZ, type RoutineResponse as d_, type PaginatedResponse as da, type PendingAnonymousMembersResponse as db, type PendingCredentialChangeResponse as dc, type PendingCredentialChangeInviteResponse as dd, type PhoneCallActionParams as de, type PlayAudioActionParams as df, QUERY_VALUELESS_OPS as dg, type QualificationSortField as dh, type QueryAggregateOp as di, type QueryAggregatePredicate as dj, type QueryAggregateSpec as dk, type QueryAnd as dl, type QueryCompare as dm, type QueryComparisonOp as dn, type QueryCostInfo as dp, type QueryDataTypeInfo as dq, type QueryDayBoundaryValue as dr, type QueryDaysAgoValue as ds, type QueryDaysFromNowValue as dt, type QueryEntityType as du, type QueryEnumOption as dv, type QueryFieldInfo as dw, type QueryFieldsResponse as dx, type QueryGroupBy as dy, type QueryIR as dz, type AccountLookupResponse as e, type VerifyWebAuthnSetupRequest as e$, type RoutineRunStatus as e0, type RoutineRunsQueryParams as e1, type RoutineScheduleMode as e2, type RoutineSortField as e3, type RoutineVisibility as e4, type RoutineWorkflowAccessMissingRoleResponse as e5, type RoutineWorkflowAccessPreviewRequest as e6, type RoutineWorkflowAccessPreviewResponse as e7, type RoutineWorkflowAccessWarningResponse as e8, type RoutinesQueryParams as e9, type TaskExportDataTypeRelation as eA, type TaskExportEventRuleRelation as eB, type TaskSortField as eC, type TestWebhookRequest as eD, type TestWebhookResponse as eE, type TimeSlot as eF, type TwoFactorMethod as eG, type TwoFactorOperationResponse as eH, type TwoFactorStatus as eI, type UnlinkCalendarResponse as eJ, type UpdateAgentRequest as eK, type UpdateAttendeeRequest as eL, type UpdateDataRecordFilterRequest as eM, type UpdateEventRuleFormData as eN, type UpdateOrgMemberRequest as eO, type UpdateOrganizationRequest as eP, type UpdateRoutineRequest as eQ, type UpdateTwoFactorMethodRequest as eR, type UpdateWorkspaceMemberRequest as eS, type ValidateMagicLinkRequest as eT, type ValidateMagicLinkResponse as eU, type ValidateQueryResponse as eV, type VerifyCodeRequest as eW, type VerifyCodeResponse as eX, type VerifyCredentialChangeRequest as eY, type VerifyEmailRequest as eZ, type VerifyTOTPSetupRequest as e_, type RuleExecutionSortField as ea, type RuleExecutionsQueryParams as eb, type RunQueryRequest as ec, type RunQueryResponse as ed, type SendLoginCodeResponse as ee, type SSOConfigData as ef, type SchedulePreviewRequest as eg, type SchedulePreviewResponse as eh, Scope as ei, type SendEmailVerificationRequest as ej, type SessionExchangeRequest as ek, type SessionExchangeResponse as el, type SetupTOTPRequest as em, type SetupWebAuthnRequest as en, type SignupAccountResponse as eo, type SignupMemberResponse as ep, type SiteDisableImpactResponse as eq, SiteDnsRecordType as er, type SiteDomainConfigResponse as es, type SiteSortField as et, type SiteVerificationResponse as eu, type SmsSendActionParams as ev, type SortOrder as ew, type SwitchTaskActionParams as ex, type SyncCalendarResponse as ey, type TOTPSetupResponse as ez, type AccountReportItem as f, DeclaredDataUse as f$, WORKFLOW_IMPLICIT_USE_SCOPE as f0, type WebhookActionParams as f1, type WebhookLogSortField as f2, type WebhookLogsQueryParams as f3, type WorkflowAccessRole as f4, type WorkflowRoleAccess as f5, type WorkflowSortField as f6, type WorkspaceMemberCountResponse as f7, type WorkspaceMemberCountResponseActiveByType as f8, type WorkspaceSortField as f9, EnrichInquirySchema as fA, type GetInquiryInput as fB, GetInquirySchema as fC, type GetMilestoneInput as fD, GetMilestoneSchema as fE, type GetTaskInput as fF, GetTaskSchema as fG, type ListInquiriesInput as fH, ListInquiriesSchema as fI, type ListMilestonesInput as fJ, ListMilestonesSchema as fK, type ListTasksInput as fL, ListTasksSchema as fM, type MilestoneFormData as fN, MilestoneFormDataSchema as fO, MilestoneGoalFormDataSchema as fP, type TaskFormData as fQ, TaskFormDataSchema as fR, type UnarchiveTaskInput as fS, UnarchiveTaskSchema as fT, type UpdateInquiryInput as fU, UpdateInquiryRequestSchema as fV, UpdateInquirySchema as fW, type UpdateMilestoneInput as fX, UpdateMilestoneSchema as fY, type UpdateTaskInput as fZ, UpdateTaskSchema as f_, decodePermissions as fa, encodePermissions as fb, eventRuleActionParams as fc, roleCanUseWorkflow as fd, roleImplicitWorkflowUseScope as fe, roleWorkflowAccess as ff, type AbilityData as fg, AbilityDataSchema as fh, AnonymousInquiryFormSchema as fi, type ArchiveTaskInput as fj, ArchiveTaskSchema as fk, type ChildTaskFormData as fl, ChildTaskFormDataSchema as fm, type CreateInquiryInput as fn, CreateInquirySchema as fo, type CreateMilestoneInput as fp, CreateMilestoneSchema as fq, type CreateTaskInput as fr, CreateTaskSchema as fs, type DeleteInquiryInput as ft, DeleteInquirySchema as fu, type DeleteMilestoneInput as fv, DeleteMilestoneSchema as fw, type DeleteTaskInput as fx, DeleteTaskSchema as fy, type EnrichInquiryInput as fz, type AccountSortField as g, type AccountDataExport as g0, type AccountExternalIdentityResponse as g1, type AccountIdentityResolutionResponse as g2, type AdminAccountResponse as g3, type AdminAccountFormData as g4, type AdminAccountMembership as g5, type AdminAccountMembershipResponse as g6, type AdminAccountOrgMembershipResponse as g7, type AdminOrganization as g8, type AdminOrganizationResponse as g9, type AdminWorkspaceMemberFormData as ga, type ConsentRecordExport as gb, type DataExportResponse as gc, type DeletionCancelResponse as gd, type DeletionRequestResponse as ge, type TwoFactorMethodResponse$1 as gf, type TwoFactorStatusResponse$1 as gg, type OIDCAdminConfigInput as gh, type OrgMembershipExport as gi, type OrgScopedIdentityResponse as gj, type TwoFactorMethodResponse as gk, type TwoFactorMethodType as gl, type TwoFactorStatusResponse as gm, type WebAuthnRegistrationResponse as gn, type WorkspaceMembershipExport as go, type EnumOption$1 as gp, type EventRuleResponse$1 as gq, type OrgDomainListResponse as gr, type EmailDnsRecord as gs, type EmailDomainConfigGetResponse as gt, type SiteDnsRecord as gu, type SiteDomainConfigGetResponse as gv, type AccountState as h, type Address as i, type AdminWorkspaceSortField as j, type AgentResponse as k, type AgentConfigResponse as l, type AgentConfigFormData as m, type AgentMemoryConfig as n, type AgentSortField as o, type AnonymousInteractionResponse as p, type AnonymousMemberResolutionResponse as q, type AnonymousMemberResolutionStatus as r, type ApiKeyResponse as s, type ApiKeyCreatedResponse as t, type ApiKeyFormData as u, type ApiKeyScope as v, type ApiKeyScopesResponse as w, type AssignmentSortField as x, type AssistantMessageActionParams as y, type AttendeeResponse as z };
|
|
4692
|
+
export { type Calendar as $, AccessLevel as A, type AttendeeResponse as B, AttendeeResponseStatus as C, DataFieldType as D, EventRuleEventType as E, AttendeeStatus as F, type AuthorizedRep as G, type AvailabilityCheck as H, type AvailabilityResponse as I, type AvailableSlotsRequest as J, type AvailableSlotsResponse as K, type BotSortField as L, type BulkCreateDataRecordRequest as M, type BulkCreateDataRecordResponse as N, type BulkCreateMembersRequest as O, type BulkCreateMembersResponse as P, type QueryPredicate as Q, type BulkMemberItem as R, type SchemaField as S, type BulkMemberResult as T, BulkMemberResultStatus as U, type BulkRecordResult as V, BusinessIndustry as W, type BusinessInfo as X, type BusinessProfileCancelResponse as Y, type BusinessProfileSubmitResponse as Z, BusinessType as _, EventRuleActionType as a, type DataTypeExportItem as a$, type EventResponse as a0, type CalendarEventFormData as a1, type CalendarEventSortField as a2, CalendarEventStatus as a3, type EventTypeResponse as a4, type CalendarEventTypeFormData as a5, type CalendarEventsQueryParams as a6, type CalendarFormData as a7, CalendarPermissionType as a8, type CalendarResponse as a9, type CredentialChangeInviteConfirmResponse as aA, type CredentialChangeInviteDetailsResponse as aB, type CredentialChangeInviteResponse as aC, type CredentialChangeRequestResponse as aD, type CredentialChangeVerifyResponse as aE, type CredentialType as aF, type CurrentMemberResponse as aG, type CurrentOrgMember as aH, type CursorPaginatedResponse as aI, DataCategory as aJ, type DataField as aK, type DataIntegrityReportItem as aL, type DataRecordResponse as aM, type DataRecordAssociationFormData as aN, type DataRecordFieldWarning as aO, type DataRecordFilterResponse as aP, type DataRecordFilterFormData as aQ, type DataRecordFilterWithQuery as aR, type DataRecordFormData as aS, type DataRecordReportItem as aT, type DataRecordRetirementResponse as aU, DataRecordRetirementResponseReason as aV, type DataRecordUpdateResponse as aW, type DataRecordWithAccessMode as aX, type DataRecordsPaginatedResponse as aY, DataSensitivity as aZ, type DataTypeResponse as a_, type CalendarSchedule as aa, CalendarScheduleAvailabilityType as ab, type CalendarScheduleFormData as ac, CalendarScheduleRecurrence as ad, type CalendarScheduleResponse as ae, CalendarSource as af, type CancelCredentialChangeInviteResponse as ag, type CancelCredentialChangeResponse as ah, type CapabilityRequirementFinding as ai, type CapabilityStatus as aj, type ChatContinueActionParams as ak, type ChatCreateActionParams as al, type ChatPauseActionParams as am, type ChatSortField as an, type ChatSummarizeActionParams as ao, type ConcludeAssignmentActionParams as ap, type CreateAccountOrgMembershipRequest as aq, type CreateAccountOrgMembershipResponse as ar, type CreateAgentRequest as as, type CreateAnonymousMemberRequest as at, type CreateCredentialChangeInviteRequest as au, type CreateDataRecordFilterRequest as av, type CreateOrganizationRequest as aw, type CreateRoutineRequest as ax, type CreateSignupResponse as ay, type CreateWorkspaceMemberRequest as az, type EventRuleInput as b, type MemberFieldDefinitionResponse as b$, type DataTypeFormData as b0, type DataTypeMemberRoleAccessInput as b1, type DataTypeMemberRoleAccessResponse as b2, DataTypeRecordScope as b3, type DataTypeSortField as b4, type DeleteAccountOrgMembershipResponse as b5, type DetailedAccount as b6, type DuplicateAccountInfo as b7, type EcwRefreshMemberEncountersActionParams as b8, type EmailDisableImpactResponse as b9, type GoogleCalendarInfo as bA, type GoogleCalendarInsufficientScopesResponse as bB, type GoogleCalendarStatusResponse as bC, type ICalFeedTokenResponse as bD, type ICalFeedUrlResponse as bE, type IdentifiedMemberContactConflict as bF, type IdentityConflictPolicy as bG, IndexStatus as bH, type IndexStatusResponse as bI, type InvokeCustomToolActionParams as bJ, JobPosition as bK, type JourneyEnrollActionParams as bL, type JourneySortField as bM, type LibModelsGlbResponsesOrganizationResponsesSSOConfigResponse as bN, type LinkCalendarRequest as bO, type LinkCalendarResponse as bP, type LoginRequest as bQ, type LoginResponse as bR, type LogoUploadRequest as bS, type LogoUploadResponse as bT, MASKED_SECRET_SENTINEL as bU, type McpServerSortField as bV, type WorkspaceMemberResponse as bW, type MemberContactConflict as bX, type MemberContactField as bY, type MemberCredentialResponse as bZ, type MemberFieldResponse as b_, EmailDnsRecordType as ba, type EmailDomainConfigResponse as bb, type EmailSendActionParams as bc, type EmailVerificationResponse as bd, type EnumOption as be, type ErrorResponse as bf, type EventActionMapping as bg, type EventActionMappingsResponse as bh, type EventRule as bi, type EventRuleExportItem as bj, type EventRuleFormData as bk, EventRuleObjectType as bl, type EventRuleResponse as bm, type EventRunSortField as bn, type ExpireAnonymousMemberRequest as bo, type ExternalAttendeeData as bp, type FileSortField as bq, type FormFieldUpdateActionParams as br, type GenerateRecoveryCodesRequest as bs, type BusinessProfileResponse as bt, type CalendarResponse$1 as bu, type CalendarScheduleResponse$1 as bv, type MemoryListResponse as bw, type MemoryResponse$1 as bx, type OrgDomainResponse as by, type OwnershipDnsRecord as bz, type AccountResponse as c, type OrgMemberRole as c$, type MemberFieldDefinitionListResponse as c0, type MemberFieldListResponse as c1, type MemberFilterResponse as c2, type MemberFilterFormData as c3, type MemberFilterWithQuery as c4, type MemberFormData as c5, type MemberImportConflictInfo as c6, type MemberImportIdentitySnapshot as c7, type MemberImportMatchInfo as c8, MemberImportMatchInfoMatchType as c9, MemberType as cA, type MemberUpsertActionParams as cB, type MemberUpsertBehavior as cC, type MemberWorkspaceInfo as cD, type MembersQueryParams as cE, type MemoryItem as cF, type MemoryResponse as cG, type MemoryType as cH, type MergeMembersRequest as cI, type MergeMembersResponse as cJ, type MessageValidationActionParams as cK, type MissingMembershipItem as cL, type MondayColumnMapping as cM, type MondayLookupType as cN, type MondayRefreshActionParams as cO, type MondayRefreshColumnMapping as cP, type MondayUpsertItemActionParams as cQ, type MondayUpsertMode as cR, type MultiMatchBehavior as cS, type NormalizeMemberRequest as cT, type NormalizeMemberResponse as cU, type OIDCAdminConfigView as cV, OIDCAdminConfigViewProviderType as cW, type ObjectPermission as cX, type ObjectPermissionFlags as cY, type OrgMember as cZ, type OrgMemberListResponse as c_, type MemberImportPreviewResponse as ca, type MemberImportPreviewRow as cb, MemberImportPreviewRowAction as cc, type MemberImportPreviewSummary as cd, type MemberImportStreamConflict as ce, type MemberImportStreamEvent as cf, type MemberLabelResponse as cg, type MemberLabelActionParams as ch, type MemberLabelFormData as ci, type MemberMemoriesResponse as cj, type MemberMessageActivity as ck, type MemberOrgView as cl, type MemberReportItem as cm, type MemberRoleResponse as cn, type MemberRoleCalendarAccessResponse as co, type MemberRoleDataTypeAccessResponse as cp, type MemberRoleFileAccessResponse as cq, type MemberRoleFolderAccessResponse as cr, type MemberRoleFormData as cs, type MemberRoleInboxAccessResponse as ct, type MemberRoleSiteAccessResponse as cu, type MemberRoleTaskAccess as cv, type MemberRoleWorkflowAccessResponse as cw, type MemberSortField as cx, type MemberSummary as cy, type MemberSyncLink as cz, type AccountContactConflict as d, type ResolveAnonymousMemberRequest as d$, type OrganizationResponse as d0, type OwnershipVerificationResponse as d1, PERMISSION_ADMIN as d2, PERMISSION_CREATE as d3, PERMISSION_DELETE as d4, PERMISSION_EDIT as d5, PERMISSION_GEOLOCATE as d6, PERMISSION_LIST as d7, PERMISSION_LIST_ALL as d8, PERMISSION_NONE as d9, type QueryFieldsResponse as dA, type QueryGroupBy as dB, type QueryIR as dC, type QueryMatchAll as dD, type QueryMetric as dE, type QueryNot as dF, type QueryNowValue as dG, type QueryOr as dH, type QueryRangeBound as dI, type QueryRangeValue as dJ, type QueryRecordFieldInfo as dK, type QueryRecordMatch as dL, type QueryRecordSelection as dM, type QueryRelationMatch as dN, type QueryRunMode as dO, type QuerySavedFilterRef as dP, type QueryScalar as dQ, type QuerySortKey as dR, type QuerySubQueryRef as dS, type QueryTemporalValue as dT, type QueryValue as dU, type RecoveryCodeResponse as dV, Region as dW, RegistrationIdentifier as dX, type RequestCredentialChangeRequest as dY, type RequestMagicLinkRequest as dZ, type RequestMagicLinkResponse as d_, PERMISSION_USE as da, PERMISSION_VERIFY as db, type PageSortField as dc, type PaginatedResponse as dd, type PendingAnonymousMembersResponse as de, type PendingCredentialChangeResponse as df, type PendingCredentialChangeInviteResponse as dg, type PhoneCallActionParams as dh, type PlayAudioActionParams as di, QUERY_VALUELESS_OPS as dj, type QualificationSortField as dk, type QueryAggregateOp as dl, type QueryAggregatePredicate as dm, type QueryAggregateSpec as dn, type QueryAnd as dp, type QueryCompare as dq, type QueryComparisonOp as dr, type QueryCostInfo as ds, type QueryDataTypeInfo as dt, type QueryDayBoundaryValue as du, type QueryDaysAgoValue as dv, type QueryDaysFromNowValue as dw, type QueryEntityType as dx, type QueryEnumOption as dy, type QueryFieldInfo as dz, type AccountFormData as e, type ValidateQueryResponse as e$, type Routine as e0, type RoutineConfigEventResponse as e1, type RoutineResponse as e2, type RoutineRunResponse as e3, type RoutineRunStatus as e4, type RoutineRunsQueryParams as e5, type RoutineScheduleMode as e6, type RoutineSortField as e7, type RoutineVisibility as e8, type RoutineWorkflowAccessMissingRoleResponse as e9, type SiteVerificationResponse as eA, type SmsSendActionParams as eB, type SortOrder as eC, type SwitchTaskActionParams as eD, type SyncCalendarResponse as eE, type TOTPSetupResponse as eF, type TaskExportDataTypeRelation as eG, type TaskExportEventRuleRelation as eH, type TaskSortField as eI, type TestWebhookRequest as eJ, type TestWebhookResponse as eK, type TimeSlot as eL, type TwoFactorMethod as eM, type TwoFactorOperationResponse as eN, type TwoFactorStatus as eO, type UnlinkCalendarResponse as eP, type UpdateAgentRequest as eQ, type UpdateAttendeeRequest as eR, type UpdateDataRecordFilterRequest as eS, type UpdateEventRuleFormData as eT, type UpdateOrgMemberRequest as eU, type UpdateOrganizationRequest as eV, type UpdateRoutineRequest as eW, type UpdateTwoFactorMethodRequest as eX, type UpdateWorkspaceMemberRequest as eY, type ValidateMagicLinkRequest as eZ, type ValidateMagicLinkResponse as e_, type RoutineWorkflowAccessPreviewRequest as ea, type RoutineWorkflowAccessPreviewResponse as eb, type RoutineWorkflowAccessWarningResponse as ec, type RoutinesQueryParams as ed, type RuleExecutionSortField as ee, type RuleExecutionsQueryParams as ef, type RunQueryRequest as eg, type RunQueryResponse as eh, type SendLoginCodeResponse as ei, type SSOConfigData as ej, type SSOConfigRequest as ek, type SSOProviderConfig as el, type SchedulePreviewRequest as em, type SchedulePreviewResponse as en, Scope as eo, type SendEmailVerificationRequest as ep, type SessionExchangeRequest as eq, type SessionExchangeResponse as er, type SetupTOTPRequest as es, type SetupWebAuthnRequest as et, type SignupAccountResponse as eu, type SignupMemberResponse as ev, type SiteDisableImpactResponse as ew, SiteDnsRecordType as ex, type SiteDomainConfigResponse as ey, type SiteSortField as ez, type AccountLookupResponse as f, type AccountExternalIdentityResponse as f$, type VerifyCodeRequest as f0, type VerifyCodeResponse as f1, type VerifyCredentialChangeRequest as f2, type VerifyEmailRequest as f3, type VerifyTOTPSetupRequest as f4, type VerifyWebAuthnSetupRequest as f5, WORKFLOW_IMPLICIT_USE_SCOPE as f6, type WebhookActionParams as f7, type WebhookLogSortField as f8, type WebhookLogsQueryParams as f9, type CreateTaskInput as fA, CreateTaskSchema as fB, type DeleteInquiryInput as fC, DeleteInquirySchema as fD, type DeleteTaskInput as fE, DeleteTaskSchema as fF, type EnrichInquiryInput as fG, EnrichInquirySchema as fH, type GetInquiryInput as fI, GetInquirySchema as fJ, type GetTaskInput as fK, GetTaskSchema as fL, type ListInquiriesInput as fM, ListInquiriesSchema as fN, type ListTasksInput as fO, ListTasksSchema as fP, type TaskFormData as fQ, TaskFormDataSchema as fR, type UnarchiveTaskInput as fS, UnarchiveTaskSchema as fT, type UpdateInquiryInput as fU, UpdateInquiryRequestSchema as fV, UpdateInquirySchema as fW, type UpdateTaskInput as fX, UpdateTaskSchema as fY, DeclaredDataUse as fZ, type AccountDataExport as f_, type WorkflowAccessRole as fa, type WorkflowRoleAccess as fb, type WorkflowSortField as fc, type WorkspaceMemberCountResponse as fd, type WorkspaceMemberCountResponseActiveByType as fe, type WorkspaceSortField as ff, archivedMemberConflictId as fg, asIdentifiedMemberContactConflict as fh, decodePermissions as fi, encodePermissions as fj, eventRuleActionParams as fk, isAccountContactConflict as fl, isIdentifiedMemberContactConflict as fm, isMemberContactConflict as fn, roleCanUseWorkflow as fo, roleImplicitWorkflowUseScope as fp, roleWorkflowAccess as fq, type AbilityData as fr, AbilityDataSchema as fs, AnonymousInquiryFormSchema as ft, type ArchiveTaskInput as fu, ArchiveTaskSchema as fv, type ChildTaskFormData as fw, ChildTaskFormDataSchema as fx, type CreateInquiryInput as fy, CreateInquirySchema as fz, type AccountReportItem as g, type AccountIdentityResolutionResponse as g0, type AdminAccountResponse as g1, type AdminAccountFormData as g2, type AdminAccountMembership as g3, type AdminAccountMembershipResponse as g4, type AdminAccountOrgMembershipResponse as g5, type AdminOrganization as g6, type AdminOrganizationResponse as g7, type AdminWorkspaceMemberFormData as g8, type ConsentRecordExport as g9, type DataExportResponse as ga, type DeletionCancelResponse as gb, type DeletionRequestResponse as gc, type TwoFactorMethodResponse$1 as gd, type TwoFactorStatusResponse$1 as ge, type OIDCAdminConfigInput as gf, type OrgMembershipExport as gg, type OrgScopedIdentityResponse as gh, type TwoFactorMethodResponse as gi, type TwoFactorMethodType as gj, type TwoFactorStatusResponse as gk, type WebAuthnRegistrationResponse as gl, type WorkspaceMembershipExport as gm, type EnumOption$1 as gn, type EventRuleResponse$1 as go, type OrgDomainListResponse as gp, type EmailDnsRecord as gq, type EmailDomainConfigGetResponse as gr, type SiteDnsRecord as gs, type SiteDomainConfigGetResponse as gt, type AccountSortField as h, type AccountState as i, type Address as j, type AdminWorkspaceSortField as k, type AgentResponse as l, type AgentConfigResponse as m, type AgentConfigFormData as n, type AgentMemoryConfig as o, type AgentSortField as p, type AnonymousInteractionResponse as q, type AnonymousMemberResolutionResponse as r, type AnonymousMemberResolutionStatus as s, type ApiKeyResponse as t, type ApiKeyCreatedResponse as u, type ApiKeyFormData as v, type ApiKeyScope as w, type ApiKeyScopesResponse as x, type AssignmentSortField as y, type AssistantMessageActionParams as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-rail/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Gravity Rail TypeScript SDK — API client for workspace management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"docs:json": "typedoc --json docs/api.json"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"libphonenumber-js": "^1.13.
|
|
80
|
+
"libphonenumber-js": "^1.13.10",
|
|
81
81
|
"react-hook-form": "^7.80.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
97
97
|
"@types/jest": "^30.0.0",
|
|
98
|
-
"@types/node": "^
|
|
98
|
+
"@types/node": "^26.1.2",
|
|
99
99
|
"@types/react": "^19.2.17",
|
|
100
100
|
"jest": "^30.4.2",
|
|
101
101
|
"react": "^19.2.8",
|