@proteos/sdk 0.51.1 → 0.52.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-IRFFXJMB.js → chunk-VKS2VX24.js} +289 -16
- package/dist/chunk-VKS2VX24.js.map +1 -0
- package/dist/{chunk-RKFXHDVU.cjs → chunk-WEEC4REL.cjs} +301 -15
- package/dist/chunk-WEEC4REL.cjs.map +1 -0
- package/dist/index.cjs +162 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -8
- package/dist/index.d.ts +107 -8
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +111 -59
- 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-C9flkAj-.d.cts → types-DHhuGDpV.d.cts} +1200 -75
- package/dist/{types-C9flkAj-.d.ts → types-DHhuGDpV.d.ts} +1200 -75
- package/package.json +1 -1
- package/src/conversation/index.ts +39 -0
- package/src/conversation/types.ts +72 -1
- package/src/index.ts +41 -0
- package/src/meta/entity-extensions.ts +98 -0
- package/src/meta/index.ts +76 -0
- package/src/meta/layout/common-props.ts +8 -0
- package/src/meta/layout/elements.ts +15 -10
- package/src/meta/layout/index.ts +1 -0
- package/src/meta/list-extensions.ts +98 -0
- package/src/meta/menu-configuration-extensions.ts +132 -0
- package/src/meta/page-extensions.ts +98 -0
- package/src/meta/types.ts +398 -0
- package/dist/chunk-IRFFXJMB.js.map +0 -1
- package/dist/chunk-RKFXHDVU.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PublicAccessOperation } from './types-
|
|
2
|
-
export { f as App, g as AppConfiguration, h as AppConfigurationSchema, i as AppConfigurationService, j as AppHome, k as AppHomeSchema, l as AppHomeType, m as AppSchema, n as AppService, o as ArrayAttributeMeta, p as AttributeAccessRule, q as AttributeRestrictions, r as AttributeSchema, s as AttributeType, t as AuditFieldsSchema, C as CURRENT_USER_DEFAULT, u as ClientOptions, v as Column, w as ColumnSchema, x as ComparisonOperator, y as Component, z as ComponentSchema, B as ComponentService, D as CreateAppConfigurationRequest, E as CreateAppRequest, G as CreateComponentRequest, H as CreateDesignReferenceRequest, I as
|
|
1
|
+
import { A as AuditFields, L as ListOptions, a as Attribute, U as UserRef$2, P as PageIterator, b as ListResult, c as ProteosClient, F as FileRef, d as PrincipalRef, e as PublicAccessOperation } from './types-DHhuGDpV.js';
|
|
2
|
+
export { f as App, g as AppConfiguration, h as AppConfigurationSchema, i as AppConfigurationService, j as AppHome, k as AppHomeSchema, l as AppHomeType, m as AppSchema, n as AppService, o as ArrayAttributeMeta, p as AttributeAccessRule, q as AttributeRestrictions, r as AttributeSchema, s as AttributeType, t as AuditFieldsSchema, C as CURRENT_USER_DEFAULT, u as ClientOptions, v as Column, w as ColumnSchema, x as ComparisonOperator, y as Component, z as ComponentSchema, B as ComponentService, D as CreateAppConfigurationRequest, E as CreateAppRequest, G as CreateComponentRequest, H as CreateDesignReferenceRequest, I as CreateEntityExtensionRequest, J as CreateEntityRequest, K as CreateListExtensionRequest, M as CreateListRequest, N as CreateListViewRequest, O as CreateMenuConfigurationExtensionRequest, Q as CreateMenuConfigurationRequest, R as CreatePageExtensionRequest, S as CreatePageRequest, T as CreateVariableRequest, V as CurrencyAttributeMeta, W as CurrencyAttributeMetaSchema, X as CurrencySymbolSide, Y as CurrencyValue, Z as CurrentUserDefault, _ as DEFAULT_OPTIONS, $ as DEFAULT_PAGE_SIZE, a0 as DONE, a1 as DeployModuleRequest, a2 as DesignReference, a3 as DesignReferenceContent, a4 as DesignReferenceSchema, a5 as DesignReferenceService, a6 as Done, a7 as Entity, a8 as EntityExtension, a9 as EntityExtensionSchema, aa as EntityExtensionService, ab as EntitySchema, ac as EntityService, ad as EntityWithSchema, ae as EntityWithSchemaSchema, af as EnumAttributeMeta, ag as EnumValue, ah as ExtensionPosition, ai as ExtensionPositionSchema, aj as FileAttributeMeta, ak as FileRefSchema, al as FilterElement, am as FilterElementSchema, an as FilterGroup, ao as FilterGroupSchema, ap as List, aq as ListAppConfigurationsOptions, ar as ListAppsOptions, as as ListComponentsOptions, at as ListDesignReferencesOptions, au as ListEntitiesOptions, av as ListEntityExtensionsOptions, aw as ListExtension, ax as ListExtensionColumnPlacement, ay as ListExtensionColumnPlacementSchema, az as ListExtensionSchema, aA as ListExtensionService, aB as ListFn, aC as ListListExtensionsOptions, aD as ListListViewsOptions, aE as ListListsOptions, aF as ListMenuConfigurationExtensionsOptions, aG as ListMenuConfigurationsOptions, aH as ListModulesOptions, aI as ListPageExtensionsOptions, aJ as ListPagesOptions, aK as ListSchema, aL as ListService, aM as ListVariablesOptions, aN as ListView, aO as ListViewSchema, aP as ListViewService, aQ as LogicalOperator, aR as MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, aS as MenuConfiguration, aT as MenuConfigurationExtension, aU as MenuConfigurationExtensionPlacement, aV as MenuConfigurationExtensionPlacementSchema, aW as MenuConfigurationExtensionPosition, aX as MenuConfigurationExtensionPositionSchema, aY as MenuConfigurationExtensionSchema, aZ as MenuConfigurationExtensionService, a_ as MenuConfigurationSchema, a$ as MenuConfigurationService, b0 as MenuItem, b1 as MenuItemSchema, b2 as MenuItemType, b3 as MetaClient, b4 as MetaListOptions, b5 as Module, b6 as ModuleSchema, b7 as ModuleService, b8 as ModuleStatus, b9 as OnDeleteAction, ba as OnDeleteActionSchema, bb as PAGE_EXTENSION_ANCHOR_MAIN, bc as PAGE_EXTENSION_ANCHOR_SIDE_PANEL, bd as PLATFORM_ATTRIBUTE_NAMES, be as PLATFORM_USER_ID, bf as Page, bg as PageAction, bh as PageActionKind, bi as PageActionSchema, bj as PageExtension, bk as PageExtensionPlacement, bl as PageExtensionPlacementSchema, bm as PageExtensionSchema, bn as PageExtensionService, bo as PageLayout, bp as PageLayoutSchema, bq as PageSchema, br as PageService, bs as PageType, bt as PublicPageComponent, bu as PublicPageResponse, bv as RelationAttributeMeta, bw as RelationAttributeMetaSchema, bx as RequestOptions, by as ResolvedClientOptions, bz as ResponseMeta, bA as ResponseMetaSchema, bB as SortConfig, bC as SortConfigSchema, bD as SortDirection, bE as Timestamps, bF as TokenProvider, bG as UpdateAppConfigurationRequest, bH as UpdateAppRequest, bI as UpdateComponentRequest, bJ as UpdateDesignReferenceRequest, bK as UpdateEntityExtensionRequest, bL as UpdateEntityRequest, bM as UpdateListExtensionRequest, bN as UpdateListRequest, bO as UpdateListViewRequest, bP as UpdateMenuConfigurationExtensionRequest, bQ as UpdateMenuConfigurationRequest, bR as UpdatePageExtensionRequest, bS as UpdatePageRequest, bT as UpdateVariableRequest, bU as UserRefSchema, bV as UserType, bW as Variable, bX as VariableSchema, bY as VariableService, bZ as acceptsCurrentUserDefault, b_ as allCurrencyCodes, b$ as createIterator, c0 as createListResultSchema, c1 as currencyLabel, c2 as currencySymbol, c3 as currencySymbolSide, c4 as formatAmount, c5 as formatMoney, c6 as isCurrentUserDefault, c7 as isPlatformAttributeName, c8 as localeNumberSeparators, c9 as parseAmount, ca as parseCurrencyMeta, cb as parseFileMeta, cc as parseRelationMeta, cd as platformAttributes, ce as resolveOptions } from './types-DHhuGDpV.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -3528,6 +3528,13 @@ interface ListContactGroupsQuery extends PaginationQuery {
|
|
|
3528
3528
|
type ToneProfileSetupStatus = 'empty' | 'processing' | 'ready';
|
|
3529
3529
|
/** A tone profile row's tier — derived, most specific wins at read time. */
|
|
3530
3530
|
type ToneProfileScope = 'user' | 'channel' | 'group' | 'contact';
|
|
3531
|
+
/**
|
|
3532
|
+
* Who wrote a tone profile, and therefore who may change it. `manual` rows are
|
|
3533
|
+
* hand-authored and authoritative: synthesis never overwrites or prunes them,
|
|
3534
|
+
* and deleting the user's setup (the AI opt-in) leaves them standing. `model`
|
|
3535
|
+
* rows belong to the synthesis sweep, which owns them outright.
|
|
3536
|
+
*/
|
|
3537
|
+
type ToneProfileSource = 'manual' | 'model';
|
|
3531
3538
|
/**
|
|
3532
3539
|
* The per-user opt-in for tone-of-voice synthesis: only set-up users are
|
|
3533
3540
|
* swept. Also carries the whole-user synthesis claim (status/started_at).
|
|
@@ -3546,7 +3553,8 @@ interface ToneProfileSetup {
|
|
|
3546
3553
|
updated_by: UserRef;
|
|
3547
3554
|
}
|
|
3548
3555
|
/**
|
|
3549
|
-
* One
|
|
3556
|
+
* One tone-of-voice instruction row — synthesized or hand-authored (`source`).
|
|
3557
|
+
* Rows form a specificity
|
|
3550
3558
|
* hierarchy — user aggregate (the constant voice), per-channel base, per
|
|
3551
3559
|
* contact-group, per individual contact — and every row is SELF-CONTAINED: a
|
|
3552
3560
|
* drafting consumer injects exactly one row's `instructions` verbatim (use
|
|
@@ -3564,6 +3572,8 @@ interface ToneProfile {
|
|
|
3564
3572
|
/** Scopes the row to one individual contact within the group. */
|
|
3565
3573
|
contact_id?: string;
|
|
3566
3574
|
scope: ToneProfileScope;
|
|
3575
|
+
/** Who owns this row — see ToneProfileSource. */
|
|
3576
|
+
source: ToneProfileSource;
|
|
3567
3577
|
/** COMPLETE markdown instruction set, served verbatim to a drafting model. */
|
|
3568
3578
|
instructions: string;
|
|
3569
3579
|
/** Short delta vs the tier above — what a human scans; empty on root tiers. */
|
|
@@ -3585,6 +3595,29 @@ interface ListToneProfilesQuery extends PaginationQuery {
|
|
|
3585
3595
|
owned_by_id?: string;
|
|
3586
3596
|
channel?: Channel;
|
|
3587
3597
|
scope?: ToneProfileScope;
|
|
3598
|
+
/** Narrow to hand-authored (`manual`) or synthesized (`model`) rows. */
|
|
3599
|
+
source?: ToneProfileSource;
|
|
3600
|
+
}
|
|
3601
|
+
/**
|
|
3602
|
+
* Writes ONE hand-authored tone profile. The identity is the scope tuple, not
|
|
3603
|
+
* an id — re-sending the same scope updates the row it created. The row lands
|
|
3604
|
+
* `source: 'manual'`, which locks that scope against synthesis; it also takes
|
|
3605
|
+
* the scope over from a `model` row already sitting there.
|
|
3606
|
+
*
|
|
3607
|
+
* Scope grammar (mirrors the resolve precedence): omit `channel` for the
|
|
3608
|
+
* cross-channel base voice; `contact_group_key` needs a `channel`;
|
|
3609
|
+
* `contact_id` needs both, because resolution reaches a contact row only
|
|
3610
|
+
* through its group.
|
|
3611
|
+
*/
|
|
3612
|
+
interface UpsertToneProfileRequest {
|
|
3613
|
+
owned_by_id: string;
|
|
3614
|
+
channel?: Channel;
|
|
3615
|
+
contact_group_key?: string;
|
|
3616
|
+
contact_id?: string;
|
|
3617
|
+
/** COMPLETE markdown style guide for this tier; never a delta. */
|
|
3618
|
+
instructions: string;
|
|
3619
|
+
/** Optional human-facing note on how this tier differs from the one above. */
|
|
3620
|
+
differences?: string;
|
|
3588
3621
|
}
|
|
3589
3622
|
/**
|
|
3590
3623
|
* A drafting context to resolve the single most-specific profile for:
|
|
@@ -4094,12 +4127,46 @@ interface Transcription {
|
|
|
4094
4127
|
updated_at: string;
|
|
4095
4128
|
updated_by: UserRef;
|
|
4096
4129
|
}
|
|
4130
|
+
/**
|
|
4131
|
+
* Transcribes a storage-service audio file. Asynchronous: the row lands
|
|
4132
|
+
* `processing` and the caller polls until `completed`.
|
|
4133
|
+
*/
|
|
4097
4134
|
interface CreateTranscriptionRequest {
|
|
4098
4135
|
file_id: string;
|
|
4099
4136
|
language?: string;
|
|
4100
4137
|
model?: string;
|
|
4101
4138
|
is_diarized?: boolean;
|
|
4102
4139
|
}
|
|
4140
|
+
/**
|
|
4141
|
+
* Lands an ALREADY WRITTEN transcript — no provider runs and the row is
|
|
4142
|
+
* `completed` when the call returns. This is how a transcript, and through
|
|
4143
|
+
* `materialize` a conversation, is authored from text with nothing to upload.
|
|
4144
|
+
* `source_file_id` stays empty, which is how a reader tells the two kinds apart.
|
|
4145
|
+
*
|
|
4146
|
+
* Timings are optional: plain text has none, and materialization then sequences
|
|
4147
|
+
* the turns by their position instead of by `start_ms`.
|
|
4148
|
+
*/
|
|
4149
|
+
/**
|
|
4150
|
+
* One turn of an authored transcript. Distinct from TranscriptTurn (the read
|
|
4151
|
+
* shape, always fully populated) because everything but who-said-what is
|
|
4152
|
+
* derived server-side: an unlabelled speaker becomes "Speaker N", and text with
|
|
4153
|
+
* no timings is sequenced by position at materialization.
|
|
4154
|
+
*/
|
|
4155
|
+
interface AuthoredTranscriptTurn {
|
|
4156
|
+
/** Speaker index — the same number means the same person. */
|
|
4157
|
+
speaker: number;
|
|
4158
|
+
speaker_label?: string;
|
|
4159
|
+
text: string;
|
|
4160
|
+
start_ms?: number;
|
|
4161
|
+
end_ms?: number;
|
|
4162
|
+
confidence?: number;
|
|
4163
|
+
}
|
|
4164
|
+
interface CreateTranscriptionFromTextRequest {
|
|
4165
|
+
turns: AuthoredTranscriptTurn[];
|
|
4166
|
+
language?: string;
|
|
4167
|
+
/** Defaults to whether the turns name more than one speaker. */
|
|
4168
|
+
is_diarized?: boolean;
|
|
4169
|
+
}
|
|
4103
4170
|
/**
|
|
4104
4171
|
* Edits a COMPLETED transcription in place. `turns`, when present, replace the
|
|
4105
4172
|
* diarized turns wholesale; `speaker_labels` maps diarized speaker indexes
|
|
@@ -5112,6 +5179,20 @@ interface ToneProfileService {
|
|
|
5112
5179
|
getProfile(id: string): Promise<ToneProfile>;
|
|
5113
5180
|
/** The single most-specific profile for a drafting context; 404 when none. */
|
|
5114
5181
|
resolve(query: ResolveToneProfileQuery): Promise<ToneProfile>;
|
|
5182
|
+
/**
|
|
5183
|
+
* Writes a HAND-AUTHORED profile, addressed by its scope tuple rather than an
|
|
5184
|
+
* id — so re-sending the same scope updates the row it created. The row lands
|
|
5185
|
+
* `source: 'manual'`, which locks that scope against synthesis forever after;
|
|
5186
|
+
* it also takes the scope over from a `model` row already there. Needs no
|
|
5187
|
+
* setup: a setup is the opt-in to AI synthesis, and writing a voice by hand is
|
|
5188
|
+
* the opposite of asking for one.
|
|
5189
|
+
*/
|
|
5190
|
+
upsertProfile(request: UpsertToneProfileRequest): Promise<ToneProfile>;
|
|
5191
|
+
/**
|
|
5192
|
+
* Removes one profile row, manual or model. A deleted model row comes back on
|
|
5193
|
+
* the next run; a deleted manual row hands its scope back to synthesis.
|
|
5194
|
+
*/
|
|
5195
|
+
deleteProfile(id: string): Promise<void>;
|
|
5115
5196
|
}
|
|
5116
5197
|
/** Batch transcription of stored audio files + materialization. */
|
|
5117
5198
|
interface TranscriptionService {
|
|
@@ -5121,6 +5202,14 @@ interface TranscriptionService {
|
|
|
5121
5202
|
* status is `completed` (or `failed`), then `materialize`.
|
|
5122
5203
|
*/
|
|
5123
5204
|
createFromFile(request: CreateTranscriptionRequest): Promise<Transcription>;
|
|
5205
|
+
/**
|
|
5206
|
+
* Lands an ALREADY WRITTEN transcript. Synchronous — no provider runs, and
|
|
5207
|
+
* the entity comes back `completed`, ready to `materialize` straight away.
|
|
5208
|
+
* The door for authoring a transcript (and so a conversation) from text with
|
|
5209
|
+
* nothing to upload. Same endpoint as `createFromFile`; the shape of the body
|
|
5210
|
+
* chooses the mode, and exactly one of the two is allowed.
|
|
5211
|
+
*/
|
|
5212
|
+
createFromText(request: CreateTranscriptionFromTextRequest): Promise<Transcription>;
|
|
5124
5213
|
list(query?: ListTranscriptionsQuery): Promise<ListResponse<Transcription>>;
|
|
5125
5214
|
get(id: string): Promise<Transcription>;
|
|
5126
5215
|
/**
|
|
@@ -5795,6 +5884,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5795
5884
|
is_nullable: z.ZodOptional<z.ZodBoolean>;
|
|
5796
5885
|
is_unique: z.ZodBoolean;
|
|
5797
5886
|
is_read_only: z.ZodOptional<z.ZodBoolean>;
|
|
5887
|
+
extension_key: z.ZodOptional<z.ZodString>;
|
|
5798
5888
|
restrictions: z.ZodOptional<z.ZodObject<{
|
|
5799
5889
|
read: z.ZodOptional<z.ZodObject<{
|
|
5800
5890
|
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5846,6 +5936,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5846
5936
|
is_unique: boolean;
|
|
5847
5937
|
options?: Record<string, unknown> | undefined;
|
|
5848
5938
|
meta?: unknown;
|
|
5939
|
+
extension_key?: string | undefined;
|
|
5849
5940
|
description?: string | undefined;
|
|
5850
5941
|
is_read_only?: boolean | undefined;
|
|
5851
5942
|
is_nullable?: boolean | undefined;
|
|
@@ -5868,6 +5959,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5868
5959
|
is_unique: boolean;
|
|
5869
5960
|
options?: Record<string, unknown> | undefined;
|
|
5870
5961
|
meta?: unknown;
|
|
5962
|
+
extension_key?: string | undefined;
|
|
5871
5963
|
description?: string | undefined;
|
|
5872
5964
|
is_read_only?: boolean | undefined;
|
|
5873
5965
|
is_nullable?: boolean | undefined;
|
|
@@ -5892,6 +5984,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5892
5984
|
is_nullable: z.ZodOptional<z.ZodBoolean>;
|
|
5893
5985
|
is_unique: z.ZodBoolean;
|
|
5894
5986
|
is_read_only: z.ZodOptional<z.ZodBoolean>;
|
|
5987
|
+
extension_key: z.ZodOptional<z.ZodString>;
|
|
5895
5988
|
restrictions: z.ZodOptional<z.ZodObject<{
|
|
5896
5989
|
read: z.ZodOptional<z.ZodObject<{
|
|
5897
5990
|
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5943,6 +6036,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5943
6036
|
is_unique: boolean;
|
|
5944
6037
|
options?: Record<string, unknown> | undefined;
|
|
5945
6038
|
meta?: unknown;
|
|
6039
|
+
extension_key?: string | undefined;
|
|
5946
6040
|
description?: string | undefined;
|
|
5947
6041
|
is_read_only?: boolean | undefined;
|
|
5948
6042
|
is_nullable?: boolean | undefined;
|
|
@@ -5965,6 +6059,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5965
6059
|
is_unique: boolean;
|
|
5966
6060
|
options?: Record<string, unknown> | undefined;
|
|
5967
6061
|
meta?: unknown;
|
|
6062
|
+
extension_key?: string | undefined;
|
|
5968
6063
|
description?: string | undefined;
|
|
5969
6064
|
is_read_only?: boolean | undefined;
|
|
5970
6065
|
is_nullable?: boolean | undefined;
|
|
@@ -5989,6 +6084,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
5989
6084
|
is_unique: boolean;
|
|
5990
6085
|
options?: Record<string, unknown> | undefined;
|
|
5991
6086
|
meta?: unknown;
|
|
6087
|
+
extension_key?: string | undefined;
|
|
5992
6088
|
description?: string | undefined;
|
|
5993
6089
|
is_read_only?: boolean | undefined;
|
|
5994
6090
|
is_nullable?: boolean | undefined;
|
|
@@ -6029,6 +6125,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
6029
6125
|
is_unique: boolean;
|
|
6030
6126
|
options?: Record<string, unknown> | undefined;
|
|
6031
6127
|
meta?: unknown;
|
|
6128
|
+
extension_key?: string | undefined;
|
|
6032
6129
|
description?: string | undefined;
|
|
6033
6130
|
is_read_only?: boolean | undefined;
|
|
6034
6131
|
is_nullable?: boolean | undefined;
|
|
@@ -6054,6 +6151,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
6054
6151
|
is_unique: boolean;
|
|
6055
6152
|
options?: Record<string, unknown> | undefined;
|
|
6056
6153
|
meta?: unknown;
|
|
6154
|
+
extension_key?: string | undefined;
|
|
6057
6155
|
description?: string | undefined;
|
|
6058
6156
|
is_read_only?: boolean | undefined;
|
|
6059
6157
|
is_nullable?: boolean | undefined;
|
|
@@ -6094,6 +6192,7 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
6094
6192
|
is_unique: boolean;
|
|
6095
6193
|
options?: Record<string, unknown> | undefined;
|
|
6096
6194
|
meta?: unknown;
|
|
6195
|
+
extension_key?: string | undefined;
|
|
6097
6196
|
description?: string | undefined;
|
|
6098
6197
|
is_read_only?: boolean | undefined;
|
|
6099
6198
|
is_nullable?: boolean | undefined;
|
|
@@ -6835,8 +6934,8 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
|
|
|
6835
6934
|
type: "person" | "agent" | "api";
|
|
6836
6935
|
id: string;
|
|
6837
6936
|
};
|
|
6838
|
-
title: string;
|
|
6839
6937
|
content: string;
|
|
6938
|
+
title: string;
|
|
6840
6939
|
org_id: string;
|
|
6841
6940
|
file_id?: string | null | undefined;
|
|
6842
6941
|
url?: string | null | undefined;
|
|
@@ -6859,8 +6958,8 @@ declare const KnowledgeNodeSchema: z.ZodObject<{
|
|
|
6859
6958
|
type: "person" | "agent" | "api";
|
|
6860
6959
|
id: string;
|
|
6861
6960
|
};
|
|
6862
|
-
title: string;
|
|
6863
6961
|
content: string;
|
|
6962
|
+
title: string;
|
|
6864
6963
|
org_id: string;
|
|
6865
6964
|
file_id?: string | null | undefined;
|
|
6866
6965
|
url?: string | null | undefined;
|
|
@@ -7108,8 +7207,8 @@ declare const KnowledgeLabelSchema: z.ZodObject<{
|
|
|
7108
7207
|
};
|
|
7109
7208
|
slug: string;
|
|
7110
7209
|
org_id: string;
|
|
7111
|
-
description?: string | null | undefined;
|
|
7112
7210
|
icon?: string | null | undefined;
|
|
7211
|
+
description?: string | null | undefined;
|
|
7113
7212
|
color?: string | null | undefined;
|
|
7114
7213
|
}, {
|
|
7115
7214
|
id: string;
|
|
@@ -7126,8 +7225,8 @@ declare const KnowledgeLabelSchema: z.ZodObject<{
|
|
|
7126
7225
|
};
|
|
7127
7226
|
slug: string;
|
|
7128
7227
|
org_id: string;
|
|
7129
|
-
description?: string | null | undefined;
|
|
7130
7228
|
icon?: string | null | undefined;
|
|
7229
|
+
description?: string | null | undefined;
|
|
7131
7230
|
color?: string | null | undefined;
|
|
7132
7231
|
}>;
|
|
7133
7232
|
declare const KnowledgeNodeLabelSchema: z.ZodObject<{
|
|
@@ -8318,4 +8417,4 @@ declare class WorkflowClient {
|
|
|
8318
8417
|
constructor(client: ProteosClient);
|
|
8319
8418
|
}
|
|
8320
8419
|
|
|
8321
|
-
export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type ApplySendingLimitPresetRequest, type AssignPermissionRequest, type AssignRoleRequest, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BounceClassification, type BounceKind, type CallStatus, type CallTokenResponse, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ClientEventType, type ClientToolSchema, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationTypeRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateUserRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DependentAgent, type DependentSyncResult, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListProfilesOptions, type ListPromptsOptions, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDirection, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublishEventRequest, type QueryBinding, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordLinkService, type RecordPermissionEventRequest, type RecordService, type RedriveResult, type ResolveToneProfileQuery, type RespondChannelActionRequest, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type Skill, type SkillBundle, type SkillService, type SkillVersion, type SpaceService, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationTypeRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateRoleRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
|
|
8420
|
+
export { type AcceptMistranscribedTermRequest, AccountClient, type Action, type ActionBinding, ActionSchema, type ActionScope, ActionScopeSchema, type ActionService, type AddTeamMemberRequest, type AddressFilterConfig, type Agent, type AgentActionParams, type AgentArtifactsPayload, AgentClient, type AgentListener, type AgentListenerAcknowledgementConfig, type AgentListenerAcknowledgementType, type AgentListenerActingUserMode, type AgentListenerService, type AgentListenerTriggerType, type AgentMessagePayload, type AgentResourceListOptions, type AgentService, type AllFilterConfig, type ApiErrorResponse, type ApiKey, type AppendEventRequest, type ApplySendingLimitPresetRequest, type AssignPermissionRequest, type AssignRoleRequest, type AttachContactAddressRequest, type AttachConversationBriefRequest, type Attachment, Attribute, AuditFields, type AuthListOptions, type AuthoredTranscriptTurn, type AutomatedFilterConfig, type AutomatedSignal, type BatchTransactionError, BatchTransactionErrorSchema, type BatchTransactionStatus, type BatchUpsertRecordsResponse, BatchUpsertRecordsResponseSchema, type BatchUpsertTransaction, type BatchUpsertTransactionResult, BatchUpsertTransactionResultSchema, BatchUpsertTransactionSchema, type BinaryRef, type BlockContactRequest, type BounceClassification, type BounceKind, type CallStatus, type CallTokenResponse, type Channel, type ChannelAction, type ChannelActionCapability, type ChannelActionParams, type ChannelActionResponse, type ChannelActionService, type ChannelActionStatus, type ChannelActionTargetKind, type ChannelActionType, type ChannelEvent, type ChannelEventService, type ChannelEventType, type ClientEventType, type ClientToolSchema, type Connection, type ConnectionCredentials, type ConnectionEndpoint, type ConnectionScope, type ConnectionService, type ConnectionStatus, type ConnectionSyncRange, type ConnectionSyncStatus, type Connector, type ConnectorCatalogEntry, ConnectorClient, type ConnectorConnection, type ConnectionScope$1 as ConnectorConnectionScope, type ConnectionStatus$1 as ConnectorConnectionStatus, type ConnectionTokenResponse as ConnectorConnectionTokenResponse, type CredentialKind as ConnectorCredentialKind, type ConnectorKey, type ConnectorMethod, type ConnectorProvider, type ConsentStatus, type ConsumerGroup, type Contact, type ContactAddress, type ContactAddressKind, type ContactAddressSource, type ContactErasureRequest, type ContactGroup, type ContactGroupService, type ContactGroupSource, type ContactMergeProposal, type ContactRef, type ContactService, type ContactSource, type ContactStatus, type ContentBlock$1 as ContentBlock, type ContentMatch, type ContentResponse, type ContextCompactedPayload, type Conversation, type ConversationBrief, type ConversationBriefService, type ConversationBriefStatus, ConversationClient, type ConversationFilter, type ConversationFilterAction, type ConversationFilterConfig, type ConversationFilterEvent, type ConversationFilterService, type ConversationFilterType, type ConversationParticipant, type ConversationService, type ConversationStatus, type ConversationSummaryStatus, type ConversationType, type ConversationTypeConfig, type ConversationTypeService, type CreateAgentListenerRequest, type CreateAgentRequest, type CreateApiKeyRequest, type CreateConnectionRequest, type CreateConnectorConnectionRequest, type CreateContactGroupRequest, type CreateContactRequest, type CreateConversationBriefRequest, type CreateConversationFilterRequest, type CreateConversationTypeRequest, type CreateFileMetadata, type CreateGlossaryTermRequest, type CreateLabelRequest, type CreateLinkRequest, type CreateMcpServerRequest, type CreateNodeRequest, type CreateOrganizationRequest, type CreateProfileRequest, type CreatePromptRequest, type CreateRecordLinkRequest, type CreateRoleRequest, type CreateSendingRuleRequest, type CreateSessionRequest, type CreateSpaceRequest, type CreateTeamRequest, type CreateToneProfileSetupRequest, type CreateToolRequest, type CreateToolsetRequest, type CreateTranscriptionFromTextRequest, type CreateUserRequest, type CreateWorkflowRequest, type CreatedApiKey, type CredentialSpec, type CronTriggerParams, DEFAULT_PORT, DataClient, type DependentAgent, type DependentSyncResult, type DispatchMeetingBotRequest, type DisplayOptions, type DomainFilterConfig, ERROR_PORT, type EditContentRequest, type EditContentResponse, type EmailDnsRecord, type EmailDomainStatus, type EmailEngagementQuality, type EmailHealth, type EmailHealthWindow, type EmailIp, type EmailProviderHealth, type EmailProviderStats, type EmailSender, type EmailSenderStatus, type EmailSuppression, type EmailSuppressionCounts, type EmailSuppressionKind, type EmptyPayload, type ErasureRequestStatus, ErrorCode, type ErrorCodeType, type ErrorPayload, type EventTriggerParams, type EventType, type EventVerb, EventsClient, type ExecutionError, type ExecutionStatus, type ExecutionTriggerContext, type FileBlock, FileRef, type FileService, type FileVersionContent, type FilterMatchOn, type FrequencyCapRuleConfig, FunctionsClient, type GetConnectionHealthQuery, type GetExecutionDetailResponse, type GetGraphOptions, type GetNodeExecutionItemsOptions, type GetNodeExecutionItemsResponse, type GetNodeTypesResponse, type GlossaryTerm, type GlossaryTermService, type GraphService, type InlineLinkRequest, type InmailParams, type InstallConnectionResponse, type InstallConnectorConnectionResponse, type InternalConversationsFilterConfig, type InvitationParams, type InvokeActionResponse, type InvokeNodeMethodRequest, type InvokeNodeMethodResponse, type Item, type KickoffSource, type KickoffType, KnowledgeClient, type KnowledgeGraph, type KnowledgeGraphLink, type KnowledgeGraphNode, type KnowledgeLabel, KnowledgeLabelSchema, type KnowledgeLink, KnowledgeLinkSchema, type KnowledgeNode, type KnowledgeNodeLabel, KnowledgeNodeLabelSchema, type KnowledgeNodeMetadata, KnowledgeNodeMetadataSchema, KnowledgeNodeSchema, type KnowledgeNodeSearchResult, KnowledgeNodeSearchResultSchema, type KnowledgeRecordLink, KnowledgeRecordLinkSchema, type KnowledgeSpace, type LabelService, type LimitRuleConfig, type LinkService, type LinkType, type ListActionsOptions, type ListAgentListenersQuery, type ListAgentsOptions, type ListChannelActionsQuery, type ListChannelEventsQuery, type ListConnectionsQuery, type ListConnectorConnectionsQuery, type ListConnectorsQuery, type ListContactAddressesQuery, type ListContactGroupsQuery, type ListContactMergeProposalsQuery, type ListContactsQuery, type ListConversationBriefsQuery, type ListConversationFilterEventsQuery, type ListConversationFiltersQuery, type ListConversationTypesQuery, type ListConversationsQuery, type ListEventsOptions, type ListExecutionsOptions, type ListGlossaryTermsQuery, type ListLabelsOptions, type ListLinksOptions, type ListMcpServersOptions, type ListMessagesQuery, type ListMistranscribedTermsQuery, type ListNodesOptions, ListOptions, type ListOrgUserRoleAssignmentsOptions, type ListOrganizationsOptions, type ListProfilesOptions, type ListPromptsOptions, type ListRecordLinksOptions, type ListRecordsOptions, type ListResponse, ListResult, type ListRolePermissionsOptions, type ListRolesOptions, type ListRoomsQuery, type ListSendingLimitPresetsQuery, type ListSendingRulesQuery, type ListSessionsOptions, type ListSkillsOptions, type ListSpacesOptions, type ListTeamMembersOptions, type ListTeamsOptions, type ListToneProfileSetupsQuery, type ListToneProfilesQuery, type ListToolsOptions, type ListToolsetsOptions, type ListUserProfileAssignmentsOptions, type ListUserRoleAssignmentsOptions, type ListUsersOptions, type ListWorkflowsOptions, type ManualTriggerParams, type MatchMode, type McpBinding, type McpConnectionState, type McpConnectionStatus, type McpServer, type McpServerAuth, type McpServerOAuth, type McpServerService, type McpToolSummary, type MeService, type MeetingService, type MergeContactsRequest, type MergeProposalStatus, type Message, type ContentBlock as MessageContentBlock, type MessageDelivery, type MessageDeliveryStatus, type MessageDirection, type MessagePreview, type MessageRecipient, type MessageService, type MessageStatus, type MessageTriggerParams, type MintCallTokenRequest, type MistranscribedTerm, type MistranscribedTermService, type MistranscribedTermStatus, type MistranscriptionSuggestionSource, type ModelCallParams, type ModelConfig, type ModelRequestEndPayload, type ModelRequestStartPayload, type ModelUsage, type NeighborDirection, type NeighborEdge, type NeighborNode, type NeighborsOptions, type NodeContentMatches, type NodeDescriptor, type NodeExecution, type NodeGroup, type NodeMethodOption, type NodeNeighborhood, NodeNeighborhoodSchema, type NodeOutline, type NodePosition, type NodeProperty, type NodeRetryPolicy, type NodeRuntime, type NodeService, type NodeStatus, type NodeType, type NodeTypeKey, type NodeTypeService, type NodeTypeStatus, type OnErrorPolicy, type Organization, OrganizationSchema, type OrganizationService, type OutlineHeading, type OutlineRequest, type OutlineResponse, PLATFORM_ENTITIES, PLATFORM_ENTITY_SLUGS, PageIterator, type PairedItem, type ParseStatus, type PerformChannelActionRequest, type Permission, type PermissionEventSource, type PermissionEventType, type PhoneNumber, type PhoneNumberRouting, type PhoneNumberStatus, type PlatformBinding, type PlatformEntity, type PlatformEvent, type PortSpec, type Profile, ProfileSchema, type ProfileService, type ProfileVisitParams, type Prompt, type PromptService, type PromptVersion, type PropertyOption, type PropertyType, ProteosClient, ProteosError, PublicAccessOperation, type PublishEventRequest, type QueryBinding, type QueryExecuteMeta, type QueryExecuteResponse, type QueryObject, type QueryRow, type QueryService, type QueryValidateMeta, type QueryValidateResponse, type QueryValue, type Reaction, type ReactionCapability, type ReactionOption, type ReactionSetKind, type ReasoningPayload, type RecipientKind, type RecipientRole, type RecordData, type RecordLinkService, type RecordPermissionEventRequest, type RecordService, type RedriveResult, type ResolveToneProfileQuery, type RespondChannelActionRequest, type ResultBlock, type Role, type RoleBasedFilterConfig, type RoleEntityPermission, RoleEntityPermissionSchema, RoleSchema, type RoleService, type Room, type RoutingTarget, type RunWorkflowRequest, SCOPED_PLATFORM_ENTITY_SLUGS, type SearchContentRequest, type SearchContentResponse, type SearchNodesRequest, type SendEligibility, type SendEligibilityRequest, type SendMessageRequest, type SendRecipient, type SendingLimitPreset, type SendingPeriod, type SendingRule, type SendingRuleConfig, type SendingRuleService, type SendingRuleType, type Session, type SessionEvent, type SessionEventEnvelope, type SessionEventsOptions, type SessionIdlePayload, type SessionService, type SessionStatus, type SessionStreamOptions, type SessionUpdatedPayload, type SetDefaultSenderRequest, type SetProfileRequest, type SharePermission, type ShareRow, type ShareService, type Skill, type SkillBundle, type SkillService, type SkillVersion, type SpaceService, type StartMcpOAuthResponse, type StopReason, StorageClient, type StorageFile, type StorageFileVersion, type SyncConnectionRequest, type SystemSource, type TailOptions, type Team, type TeamMember, type TeamService, type TestNodeCandidate, type TestNodeInputSource, type TestNodeRequest, type TestNodeResponse, type TextBlock, type ToneProfile, type ToneProfileScope, type ToneProfileService, type ToneProfileSetup, type ToneProfileSetupStatus, type ToneProfileSource, type Tool, type ToolBinding, type ToolConfirmationPayload, type ToolKind, type ToolResultPayload, type ToolService, type ToolUsePayload, type Toolset, type ToolsetKind, type ToolsetService, type ToolsetToolSummary, type Topic, type TopicKind, type TopicService, type TranscribeStreamOptions, type TranscriptResult, type TranscriptTurn, type Transcription, type TranscriptionReviewStatus, type TranscriptionStatus, type TriggerKind, type Turn, UNASSIGNED_SPACE_SLUG, type UnreadCounts, type UpdateAgentListenerRequest, type UpdateAgentRequest, type UpdateConnectionRequest, type UpdateConnectorConnectionRequest, type UpdateContactGroupRequest, type UpdateContactRequest, type UpdateConversationBriefRequest, type UpdateConversationFilterRequest, type UpdateConversationTypeRequest, type UpdateDraftRequest, type UpdateFileMetadata, type UpdateGlossaryTermRequest, type UpdateLabelRequest, type UpdateLinkRequest, type UpdateMcpServerRequest, type UpdateMeRequest, type UpdateNodeRequest, type UpdateOrganizationRequest, type UpdatePhoneNumberRequest, type UpdateProfileRequest, type UpdatePromptRequest, type UpdateRoleRequest, type UpdateSendingRuleRequest, type UpdateSpaceRequest, type UpdateTeamRequest, type UpdateToolRequest, type UpdateToolsetRequest, type UpdateUserRequest, type UpdateWorkflowRequest, type UpsertToneProfileRequest, type User, type UserMessagePayload, type UserProfileAssignment, UserProfileAssignmentSchema, type UserProfileAssignmentService, UserRef$2 as UserRef, type UserRoleAssignment, UserRoleAssignmentSchema, type UserRoleAssignmentService, UserSchema, type UserService, type VoiceService, type VoiceTranscriptionStream, type WarmupRuleConfig, type WebhookTriggerParams, type Weekday, type WindowDay, type WindowRuleConfig, type Workflow, WorkflowClient, type WorkflowConnection, type WorkflowExecution, type WorkflowGraph, type WorkflowNode, type WorkflowNodeType, type WorkflowStatus, type WorkflowVersion, type WorkflowVersionAuthor, type WorkflowVersionSummary, type WriteContentResponse, type WriteCredentialsRequest, buildUrl, getDefaultErrorCode, isBadRequest, isConflict, isForbidden, isNotFound, isPlatformEntity, isProteosError, isShareable, isUnauthorized, parseErrorResponse, shareRouteFor, toQueryParams, toQueryString };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AuditFieldsSchema, FileRefSchema, PrincipalRefSchema, AttributeSchema, UserRefSchema, PageIterator } from './chunk-
|
|
2
|
-
export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntitySchema, EntityWithSchemaSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, ListSchema, ListViewSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionSchema, PageIterator, PageLayoutSchema, PageSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SortConfigSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isCurrentUserDefault, isPlatformAttributeName, localeNumberSeparators, parseAmount, parseCurrencyMeta, parseFileMeta, parseRelationMeta, platformAttributes } from './chunk-
|
|
1
|
+
import { AuditFieldsSchema, FileRefSchema, PrincipalRefSchema, AttributeSchema, UserRefSchema, PageIterator } from './chunk-VKS2VX24.js';
|
|
2
|
+
export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SortConfigSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isCurrentUserDefault, isPlatformAttributeName, localeNumberSeparators, parseAmount, parseCurrencyMeta, parseFileMeta, parseRelationMeta, platformAttributes } from './chunk-VKS2VX24.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { fetchEventSource } from '@microsoft/fetch-event-source';
|
|
5
5
|
|
|
@@ -2279,6 +2279,15 @@ var ToneProfileServiceImpl = class {
|
|
|
2279
2279
|
query
|
|
2280
2280
|
);
|
|
2281
2281
|
}
|
|
2282
|
+
upsertProfile(request) {
|
|
2283
|
+
return this.client.request("PUT", `${CONVERSATION_BASE_PATH}/tone-profiles`, request);
|
|
2284
|
+
}
|
|
2285
|
+
async deleteProfile(id) {
|
|
2286
|
+
await this.client.request(
|
|
2287
|
+
"DELETE",
|
|
2288
|
+
`${CONVERSATION_BASE_PATH}/tone-profiles/${encodeURIComponent(id)}`
|
|
2289
|
+
);
|
|
2290
|
+
}
|
|
2282
2291
|
};
|
|
2283
2292
|
var TranscriptionServiceImpl = class {
|
|
2284
2293
|
constructor(client) {
|
|
@@ -2288,6 +2297,9 @@ var TranscriptionServiceImpl = class {
|
|
|
2288
2297
|
createFromFile(request) {
|
|
2289
2298
|
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/transcriptions`, request);
|
|
2290
2299
|
}
|
|
2300
|
+
createFromText(request) {
|
|
2301
|
+
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/transcriptions`, request);
|
|
2302
|
+
}
|
|
2291
2303
|
list(query = {}) {
|
|
2292
2304
|
return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/transcriptions`, query);
|
|
2293
2305
|
}
|