@proteos/sdk 0.52.0 → 0.54.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-WEEC4REL.cjs → chunk-KMNEQP3G.cjs} +38 -4
- package/dist/chunk-KMNEQP3G.cjs.map +1 -0
- package/dist/{chunk-VKS2VX24.js → chunk-OS4IQ5VH.js} +36 -5
- package/dist/chunk-OS4IQ5VH.js.map +1 -0
- package/dist/index.cjs +497 -115
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +965 -34
- package/dist/index.d.ts +965 -34
- package/dist/index.js +373 -4
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +84 -72
- package/dist/meta/index.d.cts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.js +1 -1
- package/dist/{types-DHhuGDpV.d.cts → types-amvSTwJy.d.cts} +130 -18
- package/dist/{types-DHhuGDpV.d.ts → types-amvSTwJy.d.ts} +130 -18
- package/package.json +1 -1
- package/src/auth/platform-entities.ts +8 -0
- package/src/connector/types.ts +8 -0
- package/src/conversation/types.ts +37 -4
- package/src/data/index.ts +15 -2
- package/src/data/records.ts +63 -0
- package/src/data/types.ts +52 -0
- package/src/index.ts +106 -1
- package/src/meta/index.ts +8 -1
- package/src/meta/layout/control-registry.json +10 -2
- package/src/meta/layout/elements.ts +29 -0
- package/src/meta/layout/index.ts +1 -0
- package/src/meta/types.ts +72 -0
- package/src/scheduling/index.ts +576 -0
- package/src/scheduling/types.ts +790 -0
- package/dist/chunk-VKS2VX24.js.map +0 -1
- package/dist/chunk-WEEC4REL.cjs.map +0 -1
|
@@ -1613,6 +1613,7 @@ declare const LayoutElementType: {
|
|
|
1613
1613
|
readonly RecordFilter: "record_filter";
|
|
1614
1614
|
readonly List: "list";
|
|
1615
1615
|
readonly WorkflowTrigger: "workflow_trigger";
|
|
1616
|
+
readonly SchedulingPicker: "scheduling_picker";
|
|
1616
1617
|
};
|
|
1617
1618
|
type LayoutElementType = (typeof LayoutElementType)[keyof typeof LayoutElementType];
|
|
1618
1619
|
type RowElement = CommonProps & {
|
|
@@ -1832,13 +1833,30 @@ type WorkflowTriggerElement = CommonProps & {
|
|
|
1832
1833
|
*/
|
|
1833
1834
|
execution_attribute?: string;
|
|
1834
1835
|
};
|
|
1836
|
+
/**
|
|
1837
|
+
* Embeds a scheduling link's booking flow (type → time → details →
|
|
1838
|
+
* confirmation) in the layout — the in-page counterpart of /s/:orgId/:key.
|
|
1839
|
+
* `type_key` pre-selects one of the link's types (the picker shows the choice
|
|
1840
|
+
* otherwise), `host_user_id` pins one host, `contact_id` is a Liquid template
|
|
1841
|
+
* over the page scope that binds the booking to a known contact (no name /
|
|
1842
|
+
* email asked). Allowed on every page type; public pages book through the
|
|
1843
|
+
* unauthenticated surface.
|
|
1844
|
+
*/
|
|
1845
|
+
type SchedulingPickerElement = CommonProps & {
|
|
1846
|
+
type: 'scheduling_picker';
|
|
1847
|
+
link_key: string;
|
|
1848
|
+
type_key?: string;
|
|
1849
|
+
host_user_id?: string;
|
|
1850
|
+
contact_id?: string;
|
|
1851
|
+
is_header_hidden?: boolean;
|
|
1852
|
+
};
|
|
1835
1853
|
type TextVariant = 'heading' | 'subheading' | 'body' | 'caption' | 'callout';
|
|
1836
1854
|
type TextElement = CommonProps & {
|
|
1837
1855
|
type: 'text';
|
|
1838
1856
|
variant: TextVariant;
|
|
1839
1857
|
content: string;
|
|
1840
1858
|
};
|
|
1841
|
-
type LayoutElement = RowElement | ColumnElement | SectionElement | CardElement | TabsElement | FieldElement | RelatedListElement | RelatedRecordElement | ComponentElement | DividerElement | TextElement | RecordFilterElement | ListElement | WorkflowTriggerElement;
|
|
1859
|
+
type LayoutElement = RowElement | ColumnElement | SectionElement | CardElement | TabsElement | FieldElement | RelatedListElement | RelatedRecordElement | ComponentElement | DividerElement | TextElement | RecordFilterElement | ListElement | WorkflowTriggerElement | SchedulingPickerElement;
|
|
1842
1860
|
declare const LayoutTabSchema: z.ZodType<LayoutTab>;
|
|
1843
1861
|
declare const LayoutElementSchema: z.ZodType<LayoutElement>;
|
|
1844
1862
|
|
|
@@ -2086,7 +2104,7 @@ interface MetaListOptions extends ListOptions {
|
|
|
2086
2104
|
* full set; format/structural variation lives on `Attribute.meta` (see
|
|
2087
2105
|
* `AttributeMeta` below), not on the type discriminator.
|
|
2088
2106
|
*/
|
|
2089
|
-
type AttributeType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object' | 'datetime' | 'enum' | 'relation' | 'user' | 'principal' | 'currency' | 'knowledge-text' | 'file';
|
|
2107
|
+
type AttributeType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object' | 'datetime' | 'enum' | 'relation' | 'user' | 'principal' | 'currency' | 'knowledge-text' | 'file' | 'contact-address';
|
|
2090
2108
|
/**
|
|
2091
2109
|
* Attribute-level permissions: restricting a FIELD rather than a record — a
|
|
2092
2110
|
* salary column readable only by the people team, a margin column writable only
|
|
@@ -2299,6 +2317,35 @@ declare const CurrencyAttributeMetaSchema: z.ZodObject<{
|
|
|
2299
2317
|
default_currency_code?: string | undefined;
|
|
2300
2318
|
allowed_currency_codes?: string[] | undefined;
|
|
2301
2319
|
}>;
|
|
2320
|
+
/**
|
|
2321
|
+
* Which endpoint a `contact-address` attribute holds. The record-capable
|
|
2322
|
+
* subset of the conversation contact-address kinds — what a human types.
|
|
2323
|
+
*/
|
|
2324
|
+
type ContactAddressAttributeKind = 'email' | 'phone' | 'linkedin_public_identifier';
|
|
2325
|
+
/**
|
|
2326
|
+
* Metadata for a `contact-address`-typed attribute: ONE canonical reachable
|
|
2327
|
+
* address of the person the record represents. The stored value is a plain
|
|
2328
|
+
* string canonicalized on write (lowercased email, E.164 phone with a leading
|
|
2329
|
+
* `+`, LinkedIn public identifier — a pasted profile URL is reduced to its
|
|
2330
|
+
* `/in/<slug>`; displayed as https://www.linkedin.com/in/<slug>; LinkedIn
|
|
2331
|
+
* profile ids such as ACoAA… are refused — the platform learns them itself).
|
|
2332
|
+
* Records carrying such values bind to exactly one conversation contact;
|
|
2333
|
+
* `kind` is REQUIRED. Mirror of the Go `metamodel.ContactAddressAttributeMeta`.
|
|
2334
|
+
*/
|
|
2335
|
+
interface ContactAddressAttributeMeta {
|
|
2336
|
+
kind: ContactAddressAttributeKind;
|
|
2337
|
+
description?: string;
|
|
2338
|
+
}
|
|
2339
|
+
declare const ContactAddressAttributeMetaSchema: z.ZodObject<{
|
|
2340
|
+
kind: z.ZodEnum<["email", "phone", "linkedin_public_identifier"]>;
|
|
2341
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2342
|
+
}, "strip", z.ZodTypeAny, {
|
|
2343
|
+
kind: "email" | "phone" | "linkedin_public_identifier";
|
|
2344
|
+
description?: string | undefined;
|
|
2345
|
+
}, {
|
|
2346
|
+
kind: "email" | "phone" | "linkedin_public_identifier";
|
|
2347
|
+
description?: string | undefined;
|
|
2348
|
+
}>;
|
|
2302
2349
|
/**
|
|
2303
2350
|
* Metadata for a `knowledge-text`-typed attribute. The value is a
|
|
2304
2351
|
* {@link KnowledgeNodeRef}; the data-service materializes client-sent text
|
|
@@ -2337,7 +2384,7 @@ declare const FileAttributeMetaSchema: z.ZodObject<{
|
|
|
2337
2384
|
* appropriate shape based on `Attribute.type`; runtime consumers can
|
|
2338
2385
|
* narrow via the `type` field.
|
|
2339
2386
|
*/
|
|
2340
|
-
type AttributeMeta = StringAttributeMeta | NumberAttributeMeta | DatetimeAttributeMeta | ArrayAttributeMeta | ObjectAttributeMeta | EnumAttributeMeta | RelationAttributeMeta | UserAttributeMeta | PrincipalAttributeMeta | CurrencyAttributeMeta | KnowledgeTextAttributeMeta | FileAttributeMeta;
|
|
2387
|
+
type AttributeMeta = StringAttributeMeta | NumberAttributeMeta | DatetimeAttributeMeta | ArrayAttributeMeta | ObjectAttributeMeta | EnumAttributeMeta | RelationAttributeMeta | UserAttributeMeta | PrincipalAttributeMeta | CurrencyAttributeMeta | KnowledgeTextAttributeMeta | FileAttributeMeta | ContactAddressAttributeMeta;
|
|
2341
2388
|
/**
|
|
2342
2389
|
* Entity attribute definition. Mirrors `model.Attribute` in the Go SDK.
|
|
2343
2390
|
*/
|
|
@@ -2525,6 +2572,13 @@ declare function parseUserMeta(attr: Attribute): UserAttributeMeta | null;
|
|
|
2525
2572
|
* with no meta still resolves to an empty `{}` rather than null.
|
|
2526
2573
|
*/
|
|
2527
2574
|
declare function parseFileMeta(attr: Attribute): FileAttributeMeta | null;
|
|
2575
|
+
/**
|
|
2576
|
+
* Returns the typed `ContactAddressAttributeMeta` when `attr` is a
|
|
2577
|
+
* contact-address attribute with a valid kind; null otherwise. Unlike the
|
|
2578
|
+
* `{}`-defaulting parsers, `kind` is required — an attribute without one
|
|
2579
|
+
* cannot be canonicalized, so it resolves to null (shape of parseRelationMeta).
|
|
2580
|
+
*/
|
|
2581
|
+
declare function parseContactAddressMeta(attr: Attribute): ContactAddressAttributeMeta | null;
|
|
2528
2582
|
/**
|
|
2529
2583
|
* A single operation a resource may be publicly exposed for. Independent set
|
|
2530
2584
|
* (not a level): a resource can be public for `write` without `read`. Only
|
|
@@ -2535,6 +2589,28 @@ type PublicAccessOperation = 'read' | 'write' | 'delete';
|
|
|
2535
2589
|
* Entity definition.
|
|
2536
2590
|
* Note: Entity uses `slug` as its primary identifier, not `id`.
|
|
2537
2591
|
*/
|
|
2592
|
+
/**
|
|
2593
|
+
* What happens when a record's contact-address value already belongs to a
|
|
2594
|
+
* contact linked to ANOTHER record of the same entity: `reject` fails the
|
|
2595
|
+
* write (409 `record_duplicate`); `flag` (default) accepts it and raises a
|
|
2596
|
+
* record duplicate pair for review.
|
|
2597
|
+
*/
|
|
2598
|
+
type ContactBindingDuplicatePolicy = 'reject' | 'flag';
|
|
2599
|
+
/**
|
|
2600
|
+
* The entity-level contact-binding setting — meaningful only for entities
|
|
2601
|
+
* with `contact-address` attributes; absent on the wire means `flag`. Mirror
|
|
2602
|
+
* of the Go `metamodel.ContactBinding`.
|
|
2603
|
+
*/
|
|
2604
|
+
interface EntityContactBinding {
|
|
2605
|
+
duplicate_policy: ContactBindingDuplicatePolicy;
|
|
2606
|
+
}
|
|
2607
|
+
declare const EntityContactBindingSchema: z.ZodObject<{
|
|
2608
|
+
duplicate_policy: z.ZodEnum<["reject", "flag"]>;
|
|
2609
|
+
}, "strip", z.ZodTypeAny, {
|
|
2610
|
+
duplicate_policy: "reject" | "flag";
|
|
2611
|
+
}, {
|
|
2612
|
+
duplicate_policy: "reject" | "flag";
|
|
2613
|
+
}>;
|
|
2538
2614
|
interface Entity extends AuditFields {
|
|
2539
2615
|
slug: string;
|
|
2540
2616
|
name: string;
|
|
@@ -2548,6 +2624,11 @@ interface Entity extends AuditFields {
|
|
|
2548
2624
|
* (default).
|
|
2549
2625
|
*/
|
|
2550
2626
|
public_record_access: PublicAccessOperation[];
|
|
2627
|
+
/**
|
|
2628
|
+
* Contact-binding setting (see `EntityContactBinding`). Optional: a Go
|
|
2629
|
+
* build that predates the setting omits it, which means `flag`.
|
|
2630
|
+
*/
|
|
2631
|
+
contact_binding?: EntityContactBinding;
|
|
2551
2632
|
module_slug: string;
|
|
2552
2633
|
/**
|
|
2553
2634
|
* Liquid template that renders a human-readable title for an instance
|
|
@@ -2590,6 +2671,13 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2590
2671
|
description: z.ZodString;
|
|
2591
2672
|
is_remote: z.ZodBoolean;
|
|
2592
2673
|
public_record_access: z.ZodDefault<z.ZodArray<z.ZodEnum<["read", "write", "delete"]>, "many">>;
|
|
2674
|
+
contact_binding: z.ZodOptional<z.ZodObject<{
|
|
2675
|
+
duplicate_policy: z.ZodEnum<["reject", "flag"]>;
|
|
2676
|
+
}, "strip", z.ZodTypeAny, {
|
|
2677
|
+
duplicate_policy: "reject" | "flag";
|
|
2678
|
+
}, {
|
|
2679
|
+
duplicate_policy: "reject" | "flag";
|
|
2680
|
+
}>>;
|
|
2593
2681
|
module_slug: z.ZodString;
|
|
2594
2682
|
title_template: z.ZodDefault<z.ZodString>;
|
|
2595
2683
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -2734,6 +2822,9 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2734
2822
|
public_record_access: ("read" | "write" | "delete")[];
|
|
2735
2823
|
module_slug: string;
|
|
2736
2824
|
title_template: string;
|
|
2825
|
+
contact_binding?: {
|
|
2826
|
+
duplicate_policy: "reject" | "flag";
|
|
2827
|
+
} | undefined;
|
|
2737
2828
|
}, {
|
|
2738
2829
|
name: string;
|
|
2739
2830
|
created_at: string;
|
|
@@ -2775,6 +2866,9 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2775
2866
|
is_remote: boolean;
|
|
2776
2867
|
module_slug: string;
|
|
2777
2868
|
public_record_access?: ("read" | "write" | "delete")[] | undefined;
|
|
2869
|
+
contact_binding?: {
|
|
2870
|
+
duplicate_policy: "reject" | "flag";
|
|
2871
|
+
} | undefined;
|
|
2778
2872
|
title_template?: string | undefined;
|
|
2779
2873
|
}>;
|
|
2780
2874
|
/**
|
|
@@ -2812,6 +2906,13 @@ declare const EntityWithSchemaSchema: z.ZodObject<{
|
|
|
2812
2906
|
description: z.ZodString;
|
|
2813
2907
|
is_remote: z.ZodBoolean;
|
|
2814
2908
|
public_record_access: z.ZodDefault<z.ZodArray<z.ZodEnum<["read", "write", "delete"]>, "many">>;
|
|
2909
|
+
contact_binding: z.ZodOptional<z.ZodObject<{
|
|
2910
|
+
duplicate_policy: z.ZodEnum<["reject", "flag"]>;
|
|
2911
|
+
}, "strip", z.ZodTypeAny, {
|
|
2912
|
+
duplicate_policy: "reject" | "flag";
|
|
2913
|
+
}, {
|
|
2914
|
+
duplicate_policy: "reject" | "flag";
|
|
2915
|
+
}>>;
|
|
2815
2916
|
module_slug: z.ZodString;
|
|
2816
2917
|
title_template: z.ZodDefault<z.ZodString>;
|
|
2817
2918
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -2959,6 +3060,9 @@ declare const EntityWithSchemaSchema: z.ZodObject<{
|
|
|
2959
3060
|
module_slug: string;
|
|
2960
3061
|
title_template: string;
|
|
2961
3062
|
schema: Record<string, unknown>;
|
|
3063
|
+
contact_binding?: {
|
|
3064
|
+
duplicate_policy: "reject" | "flag";
|
|
3065
|
+
} | undefined;
|
|
2962
3066
|
}, {
|
|
2963
3067
|
name: string;
|
|
2964
3068
|
created_at: string;
|
|
@@ -3001,6 +3105,9 @@ declare const EntityWithSchemaSchema: z.ZodObject<{
|
|
|
3001
3105
|
module_slug: string;
|
|
3002
3106
|
schema: Record<string, unknown>;
|
|
3003
3107
|
public_record_access?: ("read" | "write" | "delete")[] | undefined;
|
|
3108
|
+
contact_binding?: {
|
|
3109
|
+
duplicate_policy: "reject" | "flag";
|
|
3110
|
+
} | undefined;
|
|
3004
3111
|
title_template?: string | undefined;
|
|
3005
3112
|
}>;
|
|
3006
3113
|
/**
|
|
@@ -3025,6 +3132,10 @@ interface CreateEntityRequest {
|
|
|
3025
3132
|
* the field resets it to private.
|
|
3026
3133
|
*/
|
|
3027
3134
|
public_record_access?: PublicAccessOperation[];
|
|
3135
|
+
/**
|
|
3136
|
+
* Contact-binding setting; full-replacement on upsert (omitted = `flag`).
|
|
3137
|
+
*/
|
|
3138
|
+
contact_binding?: EntityContactBinding;
|
|
3028
3139
|
module_slug: string;
|
|
3029
3140
|
description: string;
|
|
3030
3141
|
title_template?: string;
|
|
@@ -3037,6 +3148,7 @@ interface UpdateEntityRequest {
|
|
|
3037
3148
|
name?: string;
|
|
3038
3149
|
is_remote?: boolean;
|
|
3039
3150
|
public_record_access?: PublicAccessOperation[];
|
|
3151
|
+
contact_binding?: EntityContactBinding;
|
|
3040
3152
|
module_slug?: string;
|
|
3041
3153
|
description?: string;
|
|
3042
3154
|
title_template?: string;
|
|
@@ -3462,8 +3574,8 @@ declare const PageActionSchema: z.ZodObject<{
|
|
|
3462
3574
|
workflow?: string | undefined;
|
|
3463
3575
|
inputs?: Record<string, string> | undefined;
|
|
3464
3576
|
skip_confirmation?: boolean | undefined;
|
|
3465
|
-
action?: string | undefined;
|
|
3466
3577
|
kind?: "workflow" | "action" | undefined;
|
|
3578
|
+
action?: string | undefined;
|
|
3467
3579
|
}, {
|
|
3468
3580
|
label: string;
|
|
3469
3581
|
icon: string;
|
|
@@ -3472,8 +3584,8 @@ declare const PageActionSchema: z.ZodObject<{
|
|
|
3472
3584
|
workflow?: string | undefined;
|
|
3473
3585
|
inputs?: Record<string, string> | undefined;
|
|
3474
3586
|
skip_confirmation?: boolean | undefined;
|
|
3475
|
-
action?: string | undefined;
|
|
3476
3587
|
kind?: "workflow" | "action" | undefined;
|
|
3588
|
+
action?: string | undefined;
|
|
3477
3589
|
}>;
|
|
3478
3590
|
/**
|
|
3479
3591
|
* Whether a list's rows can be checked, and whether the checkboxes show from
|
|
@@ -3596,8 +3708,8 @@ declare const ListSchema: z.ZodObject<{
|
|
|
3596
3708
|
workflow?: string | undefined;
|
|
3597
3709
|
inputs?: Record<string, string> | undefined;
|
|
3598
3710
|
skip_confirmation?: boolean | undefined;
|
|
3599
|
-
action?: string | undefined;
|
|
3600
3711
|
kind?: "workflow" | "action" | undefined;
|
|
3712
|
+
action?: string | undefined;
|
|
3601
3713
|
}, {
|
|
3602
3714
|
label: string;
|
|
3603
3715
|
icon: string;
|
|
@@ -3606,8 +3718,8 @@ declare const ListSchema: z.ZodObject<{
|
|
|
3606
3718
|
workflow?: string | undefined;
|
|
3607
3719
|
inputs?: Record<string, string> | undefined;
|
|
3608
3720
|
skip_confirmation?: boolean | undefined;
|
|
3609
|
-
action?: string | undefined;
|
|
3610
3721
|
kind?: "workflow" | "action" | undefined;
|
|
3722
|
+
action?: string | undefined;
|
|
3611
3723
|
}>, "many">>;
|
|
3612
3724
|
selection_mode: z.ZodOptional<z.ZodEnum<["on_demand", "always", "off"]>>;
|
|
3613
3725
|
sorting: z.ZodArray<z.ZodObject<{
|
|
@@ -3655,8 +3767,8 @@ declare const ListSchema: z.ZodObject<{
|
|
|
3655
3767
|
workflow?: string | undefined;
|
|
3656
3768
|
inputs?: Record<string, string> | undefined;
|
|
3657
3769
|
skip_confirmation?: boolean | undefined;
|
|
3658
|
-
action?: string | undefined;
|
|
3659
3770
|
kind?: "workflow" | "action" | undefined;
|
|
3771
|
+
action?: string | undefined;
|
|
3660
3772
|
}[] | undefined;
|
|
3661
3773
|
selection_mode?: "on_demand" | "always" | "off" | undefined;
|
|
3662
3774
|
}, {
|
|
@@ -3693,8 +3805,8 @@ declare const ListSchema: z.ZodObject<{
|
|
|
3693
3805
|
workflow?: string | undefined;
|
|
3694
3806
|
inputs?: Record<string, string> | undefined;
|
|
3695
3807
|
skip_confirmation?: boolean | undefined;
|
|
3696
|
-
action?: string | undefined;
|
|
3697
3808
|
kind?: "workflow" | "action" | undefined;
|
|
3809
|
+
action?: string | undefined;
|
|
3698
3810
|
}[] | undefined;
|
|
3699
3811
|
selection_mode?: "on_demand" | "always" | "off" | undefined;
|
|
3700
3812
|
}>;
|
|
@@ -3966,8 +4078,8 @@ declare const PageSchema: z.ZodObject<{
|
|
|
3966
4078
|
workflow?: string | undefined;
|
|
3967
4079
|
inputs?: Record<string, string> | undefined;
|
|
3968
4080
|
skip_confirmation?: boolean | undefined;
|
|
3969
|
-
action?: string | undefined;
|
|
3970
4081
|
kind?: "workflow" | "action" | undefined;
|
|
4082
|
+
action?: string | undefined;
|
|
3971
4083
|
}, {
|
|
3972
4084
|
label: string;
|
|
3973
4085
|
icon: string;
|
|
@@ -3976,8 +4088,8 @@ declare const PageSchema: z.ZodObject<{
|
|
|
3976
4088
|
workflow?: string | undefined;
|
|
3977
4089
|
inputs?: Record<string, string> | undefined;
|
|
3978
4090
|
skip_confirmation?: boolean | undefined;
|
|
3979
|
-
action?: string | undefined;
|
|
3980
4091
|
kind?: "workflow" | "action" | undefined;
|
|
4092
|
+
action?: string | undefined;
|
|
3981
4093
|
}>, "many">;
|
|
3982
4094
|
layout: z.ZodObject<{
|
|
3983
4095
|
version: z.ZodLiteral<1>;
|
|
@@ -4063,8 +4175,8 @@ declare const PageSchema: z.ZodObject<{
|
|
|
4063
4175
|
workflow?: string | undefined;
|
|
4064
4176
|
inputs?: Record<string, string> | undefined;
|
|
4065
4177
|
skip_confirmation?: boolean | undefined;
|
|
4066
|
-
action?: string | undefined;
|
|
4067
4178
|
kind?: "workflow" | "action" | undefined;
|
|
4179
|
+
action?: string | undefined;
|
|
4068
4180
|
}[];
|
|
4069
4181
|
layout: {
|
|
4070
4182
|
version: 1;
|
|
@@ -4105,8 +4217,8 @@ declare const PageSchema: z.ZodObject<{
|
|
|
4105
4217
|
workflow?: string | undefined;
|
|
4106
4218
|
inputs?: Record<string, string> | undefined;
|
|
4107
4219
|
skip_confirmation?: boolean | undefined;
|
|
4108
|
-
action?: string | undefined;
|
|
4109
4220
|
kind?: "workflow" | "action" | undefined;
|
|
4221
|
+
action?: string | undefined;
|
|
4110
4222
|
}[];
|
|
4111
4223
|
layout: {
|
|
4112
4224
|
version: 1;
|
|
@@ -5087,8 +5199,8 @@ declare const ListExtensionSchema: z.ZodObject<{
|
|
|
5087
5199
|
workflow?: string | undefined;
|
|
5088
5200
|
inputs?: Record<string, string> | undefined;
|
|
5089
5201
|
skip_confirmation?: boolean | undefined;
|
|
5090
|
-
action?: string | undefined;
|
|
5091
5202
|
kind?: "workflow" | "action" | undefined;
|
|
5203
|
+
action?: string | undefined;
|
|
5092
5204
|
}, {
|
|
5093
5205
|
label: string;
|
|
5094
5206
|
icon: string;
|
|
@@ -5097,8 +5209,8 @@ declare const ListExtensionSchema: z.ZodObject<{
|
|
|
5097
5209
|
workflow?: string | undefined;
|
|
5098
5210
|
inputs?: Record<string, string> | undefined;
|
|
5099
5211
|
skip_confirmation?: boolean | undefined;
|
|
5100
|
-
action?: string | undefined;
|
|
5101
5212
|
kind?: "workflow" | "action" | undefined;
|
|
5213
|
+
action?: string | undefined;
|
|
5102
5214
|
}>, "many">;
|
|
5103
5215
|
}, "strip", z.ZodTypeAny, {
|
|
5104
5216
|
key: string;
|
|
@@ -5134,8 +5246,8 @@ declare const ListExtensionSchema: z.ZodObject<{
|
|
|
5134
5246
|
workflow?: string | undefined;
|
|
5135
5247
|
inputs?: Record<string, string> | undefined;
|
|
5136
5248
|
skip_confirmation?: boolean | undefined;
|
|
5137
|
-
action?: string | undefined;
|
|
5138
5249
|
kind?: "workflow" | "action" | undefined;
|
|
5250
|
+
action?: string | undefined;
|
|
5139
5251
|
}[];
|
|
5140
5252
|
org_id: string;
|
|
5141
5253
|
}, {
|
|
@@ -5172,8 +5284,8 @@ declare const ListExtensionSchema: z.ZodObject<{
|
|
|
5172
5284
|
workflow?: string | undefined;
|
|
5173
5285
|
inputs?: Record<string, string> | undefined;
|
|
5174
5286
|
skip_confirmation?: boolean | undefined;
|
|
5175
|
-
action?: string | undefined;
|
|
5176
5287
|
kind?: "workflow" | "action" | undefined;
|
|
5288
|
+
action?: string | undefined;
|
|
5177
5289
|
}[];
|
|
5178
5290
|
org_id: string;
|
|
5179
5291
|
}>;
|
|
@@ -5612,4 +5724,4 @@ declare function isCurrentUserDefault(value: unknown): value is CurrentUserDefau
|
|
|
5612
5724
|
/** Only the identity-valued attribute types can carry the sentinel. */
|
|
5613
5725
|
declare function acceptsCurrentUserDefault(type: AttributeType): boolean;
|
|
5614
5726
|
|
|
5615
|
-
export {
|
|
5727
|
+
export { CurrencyAttributeMetaSchema as $, type AuditFields as A, type ComponentService as B, CURRENT_USER_DEFAULT as C, type ContactAddressAttributeKind as D, type ContactAddressAttributeMeta as E, type FileRef as F, ContactAddressAttributeMetaSchema as G, type ContactBindingDuplicatePolicy as H, type CreateAppConfigurationRequest as I, type CreateAppRequest as J, type CreateComponentRequest as K, type ListOptions as L, type CreateDesignReferenceRequest as M, type CreateEntityExtensionRequest as N, type CreateEntityRequest as O, PageIterator as P, type CreateListExtensionRequest as Q, type ResponseMeta as R, type CreateListRequest as S, type CreateListViewRequest as T, type UserRef as U, type CreateMenuConfigurationExtensionRequest as V, type CreateMenuConfigurationRequest as W, type CreatePageExtensionRequest as X, type CreatePageRequest as Y, type CreateVariableRequest as Z, type CurrencyAttributeMeta as _, type Attribute as a, type MenuConfigurationExtensionPlacement as a$, type CurrencySymbolSide as a0, type CurrencyValue as a1, type CurrentUserDefault as a2, DEFAULT_OPTIONS as a3, DEFAULT_PAGE_SIZE as a4, DONE as a5, type DeployModuleRequest as a6, type DesignReference as a7, type DesignReferenceContent as a8, DesignReferenceSchema as a9, type ListDesignReferencesOptions as aA, type ListEntitiesOptions as aB, type ListEntityExtensionsOptions as aC, type ListExtension as aD, type ListExtensionColumnPlacement as aE, ListExtensionColumnPlacementSchema as aF, ListExtensionSchema as aG, type ListExtensionService as aH, type ListFn as aI, type ListListExtensionsOptions as aJ, type ListListViewsOptions as aK, type ListListsOptions as aL, type ListMenuConfigurationExtensionsOptions as aM, type ListMenuConfigurationsOptions as aN, type ListModulesOptions as aO, type ListPageExtensionsOptions as aP, type ListPagesOptions as aQ, ListSchema as aR, type ListService as aS, type ListVariablesOptions as aT, type ListView as aU, ListViewSchema as aV, type ListViewService as aW, type LogicalOperator as aX, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS as aY, type MenuConfiguration as aZ, type MenuConfigurationExtension as a_, type DesignReferenceService as aa, type Done as ab, type Entity as ac, type EntityContactBinding as ad, EntityContactBindingSchema as ae, type EntityExtension as af, EntityExtensionSchema as ag, type EntityExtensionService as ah, EntitySchema as ai, type EntityService as aj, type EntityWithSchema as ak, EntityWithSchemaSchema as al, type EnumAttributeMeta as am, type EnumValue as an, type ExtensionPosition as ao, ExtensionPositionSchema as ap, type FileAttributeMeta as aq, FileRefSchema as ar, type FilterElement as as, FilterElementSchema as at, type FilterGroup as au, FilterGroupSchema as av, type List as aw, type ListAppConfigurationsOptions as ax, type ListAppsOptions as ay, type ListComponentsOptions as az, type ListResult as b, type UserType as b$, MenuConfigurationExtensionPlacementSchema as b0, type MenuConfigurationExtensionPosition as b1, MenuConfigurationExtensionPositionSchema as b2, MenuConfigurationExtensionSchema as b3, type MenuConfigurationExtensionService as b4, MenuConfigurationSchema as b5, type MenuConfigurationService as b6, type MenuItem as b7, MenuItemSchema as b8, MenuItemType as b9, type PublicPageComponent as bA, type PublicPageResponse as bB, type RelationAttributeMeta as bC, RelationAttributeMetaSchema as bD, type RequestOptions as bE, type ResolvedClientOptions as bF, ResponseMetaSchema as bG, type SortConfig as bH, SortConfigSchema as bI, type SortDirection as bJ, type Timestamps as bK, type TokenProvider as bL, type UpdateAppConfigurationRequest as bM, type UpdateAppRequest as bN, type UpdateComponentRequest as bO, type UpdateDesignReferenceRequest as bP, type UpdateEntityExtensionRequest as bQ, type UpdateEntityRequest as bR, type UpdateListExtensionRequest as bS, type UpdateListRequest as bT, type UpdateListViewRequest as bU, type UpdateMenuConfigurationExtensionRequest as bV, type UpdateMenuConfigurationRequest as bW, type UpdatePageExtensionRequest as bX, type UpdatePageRequest as bY, type UpdateVariableRequest as bZ, UserRefSchema as b_, MetaClient as ba, type MetaListOptions as bb, type Module as bc, ModuleSchema as bd, type ModuleService as be, type ModuleStatus as bf, type OnDeleteAction as bg, OnDeleteActionSchema as bh, PAGE_EXTENSION_ANCHOR_MAIN as bi, PAGE_EXTENSION_ANCHOR_SIDE_PANEL as bj, PLATFORM_ATTRIBUTE_NAMES as bk, PLATFORM_USER_ID as bl, type Page as bm, type PageAction as bn, type PageActionKind as bo, PageActionSchema as bp, type PageExtension as bq, type PageExtensionPlacement as br, PageExtensionPlacementSchema as bs, PageExtensionSchema as bt, type PageExtensionService as bu, type PageLayout as bv, PageLayoutSchema as bw, PageSchema as bx, type PageService as by, type PageType as bz, ProteosClient as c, SizeValueSchema as c$, type Variable as c0, VariableSchema as c1, type VariableService as c2, acceptsCurrentUserDefault as c3, allCurrencyCodes as c4, createIterator as c5, createListResultSchema as c6, currencyLabel as c7, currencySymbol as c8, currencySymbolSide as c9, type LayoutAlign as cA, type LayoutElement as cB, LayoutElementSchema as cC, LayoutElementType as cD, type LayoutGap as cE, type LayoutJustify as cF, type LayoutTab as cG, LayoutTabSchema as cH, type ListElement as cI, type NumberAttributeMeta as cJ, type ObjectAttributeMeta as cK, PAGE_BACKGROUND_TOKENS as cL, type PageBackgroundToken as cM, type PageLayoutSidePanel as cN, PageLayoutSidePanelSchema as cO, type PageStyle as cP, PageStyleSchema as cQ, type PrincipalAttributeMeta as cR, type PrincipalType as cS, type RecordFilterElement as cT, type RelatedListElement as cU, type RelatedRecordElement as cV, type ResponsiveSizing as cW, type RowElement as cX, type SchedulingPickerElement as cY, type SectionElement as cZ, type SizeValue as c_, formatAmount as ca, formatMoney as cb, isCurrentUserDefault as cc, isPlatformAttributeName as cd, localeNumberSeparators as ce, parseAmount as cf, parseContactAddressMeta as cg, parseCurrencyMeta as ch, parseFileMeta as ci, parseRelationMeta as cj, platformAttributes as ck, resolveOptions as cl, type AttributeForLookup as cm, type AttributeMeta as cn, BUILT_IN_CONTROLS as co, type BuiltInControlSlug as cp, type CardElement as cq, type ColumnElement as cr, type CommonProps as cs, type ComponentElement as ct, type ControlBucket as cu, type DatetimeAttributeMeta as cv, type DatetimeFormat as cw, type DividerElement as cx, type FieldElement as cy, FileAttributeMetaSchema as cz, type PrincipalRef as d, type SizingProps as d0, type StringAttributeMeta as d1, type StringFormat as d2, type TabsElement as d3, type TextElement as d4, type TextVariant as d5, type UserAttributeMeta as d6, UserAttributeMetaSchema as d7, type WorkflowTriggerElement as d8, isBuiltInControl as d9, lookupCompatibleControls as da, lookupControls as db, lookupPrimaryControl as dc, parsePrincipalMeta as dd, parseUserMeta as de, type PublicAccessOperation as e, type App as f, type AppConfiguration as g, AppConfigurationSchema as h, type AppConfigurationService as i, type AppHome as j, AppHomeSchema as k, type AppHomeType as l, AppSchema as m, type AppService as n, type ArrayAttributeMeta as o, type AttributeAccessRule as p, type AttributeRestrictions as q, AttributeSchema as r, type AttributeType as s, AuditFieldsSchema as t, type ClientOptions as u, type Column as v, ColumnSchema as w, type ComparisonOperator as x, type Component as y, ComponentSchema as z };
|