@proteos/sdk 0.88.0 → 0.89.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-KX4VIMIJ.js → chunk-DXF354K4.js} +7 -2
- package/dist/chunk-DXF354K4.js.map +1 -0
- package/dist/{chunk-4BBHU3XA.cjs → chunk-SUS4QR63.cjs} +7 -2
- package/dist/chunk-SUS4QR63.cjs.map +1 -0
- package/dist/index.cjs +192 -124
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +214 -8
- package/dist/index.d.ts +214 -8
- package/dist/index.js +70 -2
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +96 -96
- 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-D38dRFU7.d.cts → types-BbiiuHnH.d.cts} +1 -1
- package/dist/{types-D38dRFU7.d.ts → types-BbiiuHnH.d.ts} +1 -1
- package/package.json +1 -1
- package/src/agent/index.ts +2 -0
- package/src/agent/session-types.ts +23 -0
- package/src/agent/sessions.ts +14 -0
- package/src/agent/types.ts +6 -3
- package/src/auth/platform-entities.ts +5 -0
- package/src/auth/users.ts +2 -0
- package/src/connector/types.ts +2 -0
- package/src/conversation/index.ts +65 -0
- package/src/conversation/types.ts +106 -0
- package/src/data/index.ts +5 -0
- package/src/data/queries.ts +90 -1
- package/src/index.ts +16 -0
- package/src/meta/layout/control-registry.json +6 -1
- package/dist/chunk-4BBHU3XA.cjs.map +0 -1
- package/dist/chunk-KX4VIMIJ.js.map +0 -1
package/src/index.ts
CHANGED
|
@@ -122,6 +122,8 @@ export type {
|
|
|
122
122
|
SessionEventEnvelope,
|
|
123
123
|
SessionEventsOptions,
|
|
124
124
|
SessionIdlePayload,
|
|
125
|
+
SessionPreview,
|
|
126
|
+
SessionPreviewStatus,
|
|
125
127
|
SessionRunningPayload,
|
|
126
128
|
SessionService,
|
|
127
129
|
SessionStatus,
|
|
@@ -414,6 +416,7 @@ export type {
|
|
|
414
416
|
CreateConversationTagRequest,
|
|
415
417
|
CreateConversationTagSetRequest,
|
|
416
418
|
CreateConversationTypeRequest,
|
|
419
|
+
CreateEmailSignatureRequest,
|
|
417
420
|
CreateGlossaryTermRequest,
|
|
418
421
|
CreateSendingRuleRequest,
|
|
419
422
|
CreateToneProfileSetupRequest,
|
|
@@ -430,6 +433,9 @@ export type {
|
|
|
430
433
|
EmailProviderStats,
|
|
431
434
|
EmailSender,
|
|
432
435
|
EmailSenderStatus,
|
|
436
|
+
EmailSignature,
|
|
437
|
+
EmailSignatureAppliesTo,
|
|
438
|
+
EmailSignatureService,
|
|
433
439
|
EmailSuppression,
|
|
434
440
|
EmailSuppressionCounts,
|
|
435
441
|
EmailSuppressionKind,
|
|
@@ -466,6 +472,7 @@ export type {
|
|
|
466
472
|
ListConversationTagSetsQuery,
|
|
467
473
|
ListConversationTagsQuery,
|
|
468
474
|
ListConversationTypesQuery,
|
|
475
|
+
ListEmailSignaturesQuery,
|
|
469
476
|
ListGlossaryTermsQuery,
|
|
470
477
|
ListMeetingBotsQuery,
|
|
471
478
|
ListMessagesQuery,
|
|
@@ -496,6 +503,7 @@ export type {
|
|
|
496
503
|
MessagePreview,
|
|
497
504
|
MessageRecipient,
|
|
498
505
|
MessageService,
|
|
506
|
+
MessageSignature,
|
|
499
507
|
MessageStatus,
|
|
500
508
|
MintCallTokenRequest,
|
|
501
509
|
MistranscribedTerm,
|
|
@@ -516,6 +524,7 @@ export type {
|
|
|
516
524
|
RecipientKind,
|
|
517
525
|
RecipientRole,
|
|
518
526
|
RecordPermissionEventRequest,
|
|
527
|
+
ResolveEmailSignatureQuery,
|
|
519
528
|
ResolveToneProfileQuery,
|
|
520
529
|
RespondChannelActionRequest,
|
|
521
530
|
RoleBasedFilterConfig,
|
|
@@ -533,6 +542,7 @@ export type {
|
|
|
533
542
|
SendRecipient,
|
|
534
543
|
SetCallRecordingRequest,
|
|
535
544
|
SetDefaultSenderRequest,
|
|
545
|
+
SignatureChoice,
|
|
536
546
|
SyncConnectionRequest,
|
|
537
547
|
ToneProfile,
|
|
538
548
|
ToneProfileScope,
|
|
@@ -564,6 +574,7 @@ export type {
|
|
|
564
574
|
UpdateConversationTagSetRequest,
|
|
565
575
|
UpdateConversationTypeRequest,
|
|
566
576
|
UpdateDraftRequest,
|
|
577
|
+
UpdateEmailSignatureRequest,
|
|
567
578
|
UpdateGlossaryTermRequest,
|
|
568
579
|
UpdatePhoneNumberRequest,
|
|
569
580
|
UpdateSendingRuleRequest,
|
|
@@ -585,6 +596,7 @@ export type {
|
|
|
585
596
|
BatchUpsertTransaction,
|
|
586
597
|
BatchUpsertTransactionResult,
|
|
587
598
|
CreateEntityIndexRequest,
|
|
599
|
+
CreateQueryRequest,
|
|
588
600
|
CreateRecordDraftRequest,
|
|
589
601
|
EntityIndex,
|
|
590
602
|
EntityIndexService,
|
|
@@ -593,10 +605,13 @@ export type {
|
|
|
593
605
|
EntityIndexType,
|
|
594
606
|
IndexEvidence,
|
|
595
607
|
IndexRecommendation,
|
|
608
|
+
ListQueriesQuery,
|
|
596
609
|
ListRecordDraftsQuery,
|
|
597
610
|
ListRecordDuplicatesQuery,
|
|
598
611
|
ListRecordsOptions,
|
|
599
612
|
PublishContactObservationsResponse,
|
|
613
|
+
Query,
|
|
614
|
+
QueryBuilder,
|
|
600
615
|
QueryExecuteMeta,
|
|
601
616
|
QueryExecuteResponse,
|
|
602
617
|
QueryRow,
|
|
@@ -624,6 +639,7 @@ export type {
|
|
|
624
639
|
RecordDuplicateStatus,
|
|
625
640
|
RecordService,
|
|
626
641
|
RejectRecordDraftRequest,
|
|
642
|
+
UpdateQueryRequest,
|
|
627
643
|
UpdateRecordDraftRequest,
|
|
628
644
|
} from './data/index.js'
|
|
629
645
|
// Data client (data-service)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_comment": "SOURCE OF TRUTH for the page-layout control registry. Each entry under `controls` declares the primary control slug and the full compatible list for one (type[+format|+items.type]) combination. Renderer dispatches off `primary`; inspector picker dispatches off `compatible`. Edit this file then run `go run ./scripts/codegen/page-layout-registry` from the repo root to regenerate packages/go/model/page_layout_registry_gen.go.",
|
|
3
3
|
"_attributeTypes": "Top-level keys MUST match the Go canonical AttributeType union in packages/go/model/meta/attribute.go (string \u00b7 number \u00b7 integer \u00b7 boolean \u00b7 array \u00b7 object \u00b7 datetime \u00b7 enum \u00b7 relation \u00b7 user \u00b7 principal \u00b7 currency \u00b7 knowledge-text \u00b7 file \u00b7 contact-address). `byFormat` keys for `string` MUST match StringFormat (email \u00b7 uri \u00b7 uuid \u00b7 hostname \u00b7 ipv4 \u00b7 ipv6). `byFormat` keys for `datetime` MUST match DatetimeFormat (date-time \u00b7 date \u00b7 time \u00b7 duration). `byItemsType` for `array` keys on the item Attribute's type. A null `primary` with empty `compatible` means \"render-only fallback\" \u2014 see plan \u00a73.2.5.",
|
|
4
|
-
"_slugRoster": "v1 ships only lib-backed slugs. Slugs without a backing @proteos/ui component (markdown \u00b7 json-editor \u00b7 slider \u00b7 stepper \u00b7 percent \u00b7 user-card) are intentionally omitted; they return when the matching lib primitive ships. See plan \u00a73.2.4 / \u00a77.3. The `user-picker` slug is backed by the web client's UserCombobox (account/user-service people picker). The `currency` slug is backed by the web client's currency control (CurrencyInput: decimal amount + ISO-4217 picker).",
|
|
4
|
+
"_slugRoster": "v1 ships only lib-backed slugs. Slugs without a backing @proteos/ui component (markdown \u00b7 json-editor \u00b7 slider \u00b7 stepper \u00b7 percent \u00b7 user-card) are intentionally omitted; they return when the matching lib primitive ships. See plan \u00a73.2.4 / \u00a77.3. The `user-picker` slug is backed by the web client's UserCombobox (account/user-service people picker); `user-multi-picker` is its many-users sibling for `array` + items.type=user. The `currency` slug is backed by the web client's currency control (CurrencyInput: decimal amount + ISO-4217 picker).",
|
|
5
5
|
"builtInControls": [
|
|
6
6
|
"text",
|
|
7
7
|
"textarea",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"tag-input",
|
|
22
22
|
"entity-picker",
|
|
23
23
|
"user-picker",
|
|
24
|
+
"user-multi-picker",
|
|
24
25
|
"principal-picker",
|
|
25
26
|
"currency",
|
|
26
27
|
"knowledge-text",
|
|
@@ -87,6 +88,10 @@
|
|
|
87
88
|
"enum": {
|
|
88
89
|
"primary": "multi-select",
|
|
89
90
|
"compatible": ["multi-select"]
|
|
91
|
+
},
|
|
92
|
+
"user": {
|
|
93
|
+
"primary": "user-multi-picker",
|
|
94
|
+
"compatible": ["user-multi-picker"]
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
97
|
},
|