@proteos/sdk 0.93.0 → 0.94.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-DXF354K4.js → chunk-TJGUHXZP.js} +5 -3
- package/dist/chunk-TJGUHXZP.js.map +1 -0
- package/dist/{chunk-SUS4QR63.cjs → chunk-VKCPXFOR.cjs} +5 -2
- package/dist/chunk-VKCPXFOR.cjs.map +1 -0
- package/dist/index.cjs +487 -171
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1123 -19
- package/dist/index.d.ts +1123 -19
- package/dist/index.js +358 -49
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +100 -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-BbiiuHnH.d.cts → types-UHBpVQQI.d.cts} +19 -1
- package/dist/{types-BbiiuHnH.d.ts → types-UHBpVQQI.d.ts} +19 -1
- package/package.json +1 -1
- package/src/auth/platform-entities.ts +9 -0
- package/src/conversation/types.ts +8 -0
- package/src/data/index.ts +10 -0
- package/src/data/record-drafts.ts +38 -7
- package/src/data/types.ts +135 -9
- package/src/enrichment/index.ts +512 -0
- package/src/enrichment/types.ts +836 -0
- package/src/index.ts +104 -0
- package/src/meta/index.ts +2 -0
- package/src/meta/types.ts +18 -0
- package/dist/chunk-DXF354K4.js.map +0 -1
- package/dist/chunk-SUS4QR63.cjs.map +0 -1
package/src/index.ts
CHANGED
|
@@ -627,6 +627,7 @@ export type {
|
|
|
627
627
|
ListRecordDraftsQuery,
|
|
628
628
|
ListRecordDuplicatesQuery,
|
|
629
629
|
ListRecordsOptions,
|
|
630
|
+
ProposedValuesQuery,
|
|
630
631
|
PublishContactObservationsResponse,
|
|
631
632
|
Query,
|
|
632
633
|
QueryBuilder,
|
|
@@ -640,14 +641,21 @@ export type {
|
|
|
640
641
|
RecordDraft,
|
|
641
642
|
RecordDraftChange,
|
|
642
643
|
RecordDraftChangeKind,
|
|
644
|
+
RecordDraftCitation,
|
|
645
|
+
RecordDraftEvidence,
|
|
643
646
|
RecordDraftIntent,
|
|
644
647
|
RecordDraftItem,
|
|
645
648
|
RecordDraftItemError,
|
|
646
649
|
RecordDraftItemInput,
|
|
647
650
|
RecordDraftItemResult,
|
|
648
651
|
RecordDraftItemResultStatus,
|
|
652
|
+
RecordDraftItemVerdict,
|
|
653
|
+
RecordDraftProposedValue,
|
|
654
|
+
RecordDraftReference,
|
|
655
|
+
RecordDraftScope,
|
|
649
656
|
RecordDraftService,
|
|
650
657
|
RecordDraftStatus,
|
|
658
|
+
RecordDraftVerdict,
|
|
651
659
|
RecordDraftVersion,
|
|
652
660
|
RecordDraftVersionKind,
|
|
653
661
|
RecordDraftVersions,
|
|
@@ -667,7 +675,9 @@ export {
|
|
|
667
675
|
BatchUpsertTransactionResultSchema,
|
|
668
676
|
BatchUpsertTransactionSchema,
|
|
669
677
|
DataClient,
|
|
678
|
+
isRecordDraftReference,
|
|
670
679
|
RecordDraftChangeSchema,
|
|
680
|
+
RecordDraftEvidenceSchema,
|
|
671
681
|
RecordDraftItemResultSchema,
|
|
672
682
|
RecordDraftItemSchema,
|
|
673
683
|
} from './data/index.js'
|
|
@@ -738,6 +748,98 @@ export type {
|
|
|
738
748
|
UpdateDiscoveryInterviewDefinitionRequest,
|
|
739
749
|
} from './discovery/index.js'
|
|
740
750
|
export { DiscoveryClient } from './discovery/index.js'
|
|
751
|
+
// Enrichment types (enrichment-service: filling attributes from providers
|
|
752
|
+
// through waterfalls)
|
|
753
|
+
export type {
|
|
754
|
+
CreateEnrichmentConnectionRequest,
|
|
755
|
+
CreateEnrichmentRunRequest,
|
|
756
|
+
CreateResearchDefinitionRequest,
|
|
757
|
+
CreateSignalMonitorRequest,
|
|
758
|
+
CreateWaterfallRequest,
|
|
759
|
+
EnrichmentApplied,
|
|
760
|
+
EnrichmentApplyLevel,
|
|
761
|
+
EnrichmentAttribute,
|
|
762
|
+
EnrichmentAttributeProvenance,
|
|
763
|
+
EnrichmentAttributeResult,
|
|
764
|
+
EnrichmentBlock,
|
|
765
|
+
EnrichmentCatalogService,
|
|
766
|
+
EnrichmentCitation,
|
|
767
|
+
EnrichmentConfidence,
|
|
768
|
+
EnrichmentConnection,
|
|
769
|
+
EnrichmentConnectionConfig,
|
|
770
|
+
EnrichmentConnectionService,
|
|
771
|
+
EnrichmentConnectionStatus,
|
|
772
|
+
EnrichmentEntry,
|
|
773
|
+
EnrichmentItem,
|
|
774
|
+
EnrichmentItemStatus,
|
|
775
|
+
EnrichmentMapping,
|
|
776
|
+
EnrichmentMappingService,
|
|
777
|
+
EnrichmentOutcome,
|
|
778
|
+
EnrichmentProvenance,
|
|
779
|
+
EnrichmentProvider,
|
|
780
|
+
EnrichmentProviderOffering,
|
|
781
|
+
EnrichmentResultStep,
|
|
782
|
+
EnrichmentRun,
|
|
783
|
+
EnrichmentRunKind,
|
|
784
|
+
EnrichmentRunList,
|
|
785
|
+
EnrichmentRunOrigin,
|
|
786
|
+
EnrichmentRunResponse,
|
|
787
|
+
EnrichmentRunService,
|
|
788
|
+
EnrichmentRunStatus,
|
|
789
|
+
EnrichmentRunTrigger,
|
|
790
|
+
EnrichmentTrigger,
|
|
791
|
+
EnrichmentType,
|
|
792
|
+
EnrichmentTypesResponse,
|
|
793
|
+
EnrichRequest,
|
|
794
|
+
EnrichResponse,
|
|
795
|
+
ListEnrichmentRunsQuery,
|
|
796
|
+
ListResearchRunsQuery,
|
|
797
|
+
ListSignalsQuery,
|
|
798
|
+
PatchEnrichmentConnectionRequest,
|
|
799
|
+
PatchResearchDefinitionRequest,
|
|
800
|
+
PatchSignalMonitorRequest,
|
|
801
|
+
PatchWaterfallRequest,
|
|
802
|
+
PutSignalMappingRequest,
|
|
803
|
+
ReplaceEnrichmentMappingRequest,
|
|
804
|
+
ResearchChildRule,
|
|
805
|
+
ResearchCriteria,
|
|
806
|
+
ResearchDefinition,
|
|
807
|
+
ResearchDefinitionStatus,
|
|
808
|
+
ResearchEntityMapping,
|
|
809
|
+
ResearchEntityRule,
|
|
810
|
+
ResearchEvidence,
|
|
811
|
+
ResearchResult,
|
|
812
|
+
ResearchResultStatus,
|
|
813
|
+
ResearchRun,
|
|
814
|
+
ResearchRunList,
|
|
815
|
+
ResearchSchedule,
|
|
816
|
+
ResearchService,
|
|
817
|
+
ResearchSource,
|
|
818
|
+
ResearchUpdatePolicy,
|
|
819
|
+
Signal,
|
|
820
|
+
SignalCreateEffect,
|
|
821
|
+
SignalEffects,
|
|
822
|
+
SignalKind,
|
|
823
|
+
SignalList,
|
|
824
|
+
SignalMapping,
|
|
825
|
+
SignalMonitor,
|
|
826
|
+
SignalMonitorConfig,
|
|
827
|
+
SignalMonitorKind,
|
|
828
|
+
SignalMonitorSchedule,
|
|
829
|
+
SignalMonitorStatus,
|
|
830
|
+
SignalMonitorSubject,
|
|
831
|
+
SignalService,
|
|
832
|
+
SignalUpdateEffect,
|
|
833
|
+
SignalUpdatePolicy,
|
|
834
|
+
Waterfall,
|
|
835
|
+
WaterfallService,
|
|
836
|
+
WaterfallStatus,
|
|
837
|
+
WaterfallStep,
|
|
838
|
+
WaterfallStepKind,
|
|
839
|
+
WaterfallStopCondition,
|
|
840
|
+
WaterfallValidation,
|
|
841
|
+
} from './enrichment/index.js'
|
|
842
|
+
export { EnrichmentClient } from './enrichment/index.js'
|
|
741
843
|
export type { ApiErrorResponse, ErrorCodeType } from './errors.js'
|
|
742
844
|
// Error handling
|
|
743
845
|
export {
|
|
@@ -983,6 +1085,7 @@ export type {
|
|
|
983
1085
|
RelationAttributeMeta,
|
|
984
1086
|
SortConfig,
|
|
985
1087
|
SortDirection,
|
|
1088
|
+
SuggestionsMode,
|
|
986
1089
|
TriggerPageBinding,
|
|
987
1090
|
TriggerPhase,
|
|
988
1091
|
UpdateAppConfigurationRequest,
|
|
@@ -1070,6 +1173,7 @@ export {
|
|
|
1070
1173
|
RecordPageBindingSchema,
|
|
1071
1174
|
RelationAttributeMetaSchema,
|
|
1072
1175
|
SortConfigSchema,
|
|
1176
|
+
SuggestionsModeSchema,
|
|
1073
1177
|
TriggerPageBindingSchema,
|
|
1074
1178
|
VariableSchema,
|
|
1075
1179
|
} from './meta/index.js'
|
package/src/meta/index.ts
CHANGED
|
@@ -292,6 +292,7 @@ export type {
|
|
|
292
292
|
SortDirection,
|
|
293
293
|
StringAttributeMeta,
|
|
294
294
|
StringFormat,
|
|
295
|
+
SuggestionsMode,
|
|
295
296
|
TriggerPageBinding,
|
|
296
297
|
TriggerPhase,
|
|
297
298
|
UpdateAppConfigurationRequest,
|
|
@@ -370,6 +371,7 @@ export {
|
|
|
370
371
|
RecordPageBindingSchema,
|
|
371
372
|
RelationAttributeMetaSchema,
|
|
372
373
|
SortConfigSchema,
|
|
374
|
+
SuggestionsModeSchema,
|
|
373
375
|
TriggerPageBindingSchema,
|
|
374
376
|
UserAttributeMetaSchema,
|
|
375
377
|
VariableSchema,
|
package/src/meta/types.ts
CHANGED
|
@@ -1226,6 +1226,19 @@ export type SelectionMode = 'on_demand' | 'always' | 'off'
|
|
|
1226
1226
|
|
|
1227
1227
|
export const SelectionModeSchema = z.enum(['on_demand', 'always', 'off'])
|
|
1228
1228
|
|
|
1229
|
+
/**
|
|
1230
|
+
* Whether a list offers the suggestions overlay (what open record drafts would
|
|
1231
|
+
* write to its rows), and whether it is on from the start:
|
|
1232
|
+
*
|
|
1233
|
+
* - `off` (default) — the list never offers suggestions; it is an opt-in.
|
|
1234
|
+
* - `on_demand` — a Suggestions toggle shows in the toolbar while the visible
|
|
1235
|
+
* rows have suggestions.
|
|
1236
|
+
* - `always` — the overlay is on from the start.
|
|
1237
|
+
*/
|
|
1238
|
+
export type SuggestionsMode = 'off' | 'on_demand' | 'always'
|
|
1239
|
+
|
|
1240
|
+
export const SuggestionsModeSchema = z.enum(['off', 'on_demand', 'always'])
|
|
1241
|
+
|
|
1229
1242
|
/**
|
|
1230
1243
|
* List configuration.
|
|
1231
1244
|
* Note: List uses `slug` as its primary identifier, not `id`.
|
|
@@ -1246,6 +1259,8 @@ export interface List extends AuditFields {
|
|
|
1246
1259
|
actions?: PageAction[]
|
|
1247
1260
|
/** Row-selection affordance; absent normalizes to `on_demand`. */
|
|
1248
1261
|
selection_mode?: SelectionMode
|
|
1262
|
+
/** Suggestions overlay; absent normalizes to `off`. */
|
|
1263
|
+
suggestions_mode?: SuggestionsMode
|
|
1249
1264
|
/** Record page to open from this list; empty/absent = org default for the entity. */
|
|
1250
1265
|
sorting: SortConfig[]
|
|
1251
1266
|
filters: FilterGroup[]
|
|
@@ -1271,6 +1286,7 @@ export const ListSchema = AuditFieldsSchema.extend({
|
|
|
1271
1286
|
columns: z.array(ColumnSchema),
|
|
1272
1287
|
actions: z.array(PageActionSchema).optional(),
|
|
1273
1288
|
selection_mode: SelectionModeSchema.optional(),
|
|
1289
|
+
suggestions_mode: SuggestionsModeSchema.optional(),
|
|
1274
1290
|
sorting: z.array(SortConfigSchema),
|
|
1275
1291
|
filters: z.array(FilterGroupSchema),
|
|
1276
1292
|
})
|
|
@@ -1296,6 +1312,7 @@ export interface CreateListRequest {
|
|
|
1296
1312
|
columns: Column[]
|
|
1297
1313
|
actions?: PageAction[]
|
|
1298
1314
|
selection_mode?: SelectionMode
|
|
1315
|
+
suggestions_mode?: SuggestionsMode
|
|
1299
1316
|
sorting: SortConfig[]
|
|
1300
1317
|
filters: FilterGroup[]
|
|
1301
1318
|
}
|
|
@@ -1309,6 +1326,7 @@ export interface UpdateListRequest {
|
|
|
1309
1326
|
columns?: Column[]
|
|
1310
1327
|
actions?: PageAction[]
|
|
1311
1328
|
selection_mode?: SelectionMode
|
|
1329
|
+
suggestions_mode?: SuggestionsMode
|
|
1312
1330
|
/** Set to '' to clear back to the org default. */
|
|
1313
1331
|
sorting?: SortConfig[]
|
|
1314
1332
|
filters?: FilterGroup[]
|