@memberjunction/core-entities 6.2.0-edge.1 → 6.2.0-edge.3
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/.tsbuildinfo +1 -1
- package/dist/custom/FormScope/FormContributionClaims.d.ts +20 -0
- package/dist/custom/FormScope/FormContributionClaims.d.ts.map +1 -0
- package/dist/custom/FormScope/FormContributionClaims.js +33 -0
- package/dist/custom/FormScope/FormContributionClaims.js.map +1 -0
- package/dist/custom/FormScope/FormContributionLifecycle.d.ts +43 -0
- package/dist/custom/FormScope/FormContributionLifecycle.d.ts.map +1 -0
- package/dist/custom/FormScope/FormContributionLifecycle.js +47 -0
- package/dist/custom/FormScope/FormContributionLifecycle.js.map +1 -0
- package/dist/custom/FormScope/FormContributionRow.d.ts +40 -0
- package/dist/custom/FormScope/FormContributionRow.d.ts.map +1 -0
- package/dist/custom/FormScope/FormContributionRow.js +84 -0
- package/dist/custom/FormScope/FormContributionRow.js.map +1 -0
- package/dist/custom/FormScope/FormPanelHides.d.ts +14 -0
- package/dist/custom/FormScope/FormPanelHides.d.ts.map +1 -0
- package/dist/custom/FormScope/FormPanelHides.js +32 -0
- package/dist/custom/FormScope/FormPanelHides.js.map +1 -0
- package/dist/custom/FormScope/FormScopeRules.d.ts +220 -0
- package/dist/custom/FormScope/FormScopeRules.d.ts.map +1 -0
- package/dist/custom/FormScope/FormScopeRules.js +295 -0
- package/dist/custom/FormScope/FormScopeRules.js.map +1 -0
- package/dist/custom/MJConversationDetailEntityExtended.d.ts +7 -2
- package/dist/custom/MJConversationDetailEntityExtended.d.ts.map +1 -1
- package/dist/custom/MJConversationDetailEntityExtended.js +27 -17
- package/dist/custom/MJConversationDetailEntityExtended.js.map +1 -1
- package/dist/engines/IdentityClaimEngine.d.ts +15 -2
- package/dist/engines/IdentityClaimEngine.d.ts.map +1 -1
- package/dist/engines/IdentityClaimEngine.js.map +1 -1
- package/dist/engines/QueryEngine.d.ts.map +1 -1
- package/dist/engines/QueryEngine.js +2 -1
- package/dist/engines/QueryEngine.js.map +1 -1
- package/dist/engines/component-metadata.d.ts +3 -1
- package/dist/engines/component-metadata.d.ts.map +1 -1
- package/dist/engines/component-metadata.js +12 -5
- package/dist/engines/component-metadata.js.map +1 -1
- package/dist/engines/interactive-forms.d.ts +128 -9
- package/dist/engines/interactive-forms.d.ts.map +1 -1
- package/dist/engines/interactive-forms.js +268 -14
- package/dist/engines/interactive-forms.js.map +1 -1
- package/dist/engines/knowledgeHubMetadata.d.ts +21 -6
- package/dist/engines/knowledgeHubMetadata.d.ts.map +1 -1
- package/dist/engines/knowledgeHubMetadata.js +32 -15
- package/dist/engines/knowledgeHubMetadata.js.map +1 -1
- package/dist/generated/entities/__mj.d.ts +12547 -3929
- package/dist/generated/entities/__mj.d.ts.map +1 -1
- package/dist/generated/entities/__mj.js +65010 -54217
- package/dist/generated/entities/__mj.js.map +1 -1
- package/dist/generated/remote_operations.d.ts +685 -3
- package/dist/generated/remote_operations.d.ts.map +1 -1
- package/dist/generated/remote_operations.js +198 -0
- package/dist/generated/remote_operations.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -413,6 +413,315 @@ export interface PredictiveStudioTrainModelOutput {
|
|
|
413
413
|
/** Lifecycle status of the produced model (always `Draft` immediately after training). */
|
|
414
414
|
status: string;
|
|
415
415
|
}
|
|
416
|
+
/** A single primary-key field/value pair identifying a record. */
|
|
417
|
+
export interface RecordCloneKeyValuePair {
|
|
418
|
+
/** Primary-key field name (e.g. "ID"). */
|
|
419
|
+
FieldName: string;
|
|
420
|
+
/** Primary-key value as a string. */
|
|
421
|
+
Value: string;
|
|
422
|
+
}
|
|
423
|
+
/** Record key expressed as composite key-value pairs. */
|
|
424
|
+
export interface RecordCloneKey {
|
|
425
|
+
KeyValuePairs: RecordCloneKeyValuePair[];
|
|
426
|
+
}
|
|
427
|
+
/** Input for `RecordClone.Describe`. */
|
|
428
|
+
export interface RecordCloneDescribeInput {
|
|
429
|
+
/** Registered entity name to inspect for cloning capabilities. */
|
|
430
|
+
EntityName: string;
|
|
431
|
+
/** Optional specific record key to inspect. */
|
|
432
|
+
Key?: RecordCloneKey;
|
|
433
|
+
}
|
|
434
|
+
/** Relationship clone policy and status. */
|
|
435
|
+
export interface RecordCloneDescribeRelationship {
|
|
436
|
+
/** Relationship display name or target entity. */
|
|
437
|
+
Name: string;
|
|
438
|
+
/** Related entity name. */
|
|
439
|
+
RelatedEntity: string;
|
|
440
|
+
/** Default clone policy applied to this relationship. */
|
|
441
|
+
DefaultPolicy: 'Deep' | 'Reference' | 'Skip';
|
|
442
|
+
/** Whether policy changes are locked by configuration or database constraint. */
|
|
443
|
+
Locked: boolean;
|
|
444
|
+
/** Optional count of child records for the specified record. */
|
|
445
|
+
ChildCount?: number;
|
|
446
|
+
}
|
|
447
|
+
/** Output for `RecordClone.Describe`. */
|
|
448
|
+
export interface RecordCloneDescribeOutput {
|
|
449
|
+
/** Whether the entity can be cloned. */
|
|
450
|
+
CanClone: boolean;
|
|
451
|
+
/** Optional explanation if cloning is disabled or blocked. */
|
|
452
|
+
Reason?: string;
|
|
453
|
+
/** Presets configured on the entity. */
|
|
454
|
+
Presets?: string[];
|
|
455
|
+
/** Granularity of user editing allowed. */
|
|
456
|
+
UserEditable?: 'none' | 'fields' | 'scope' | 'all';
|
|
457
|
+
/** Direct relationships and their clone policies. */
|
|
458
|
+
Relationships: RecordCloneDescribeRelationship[];
|
|
459
|
+
/** Authorization check result for the calling user. */
|
|
460
|
+
Authorization?: {
|
|
461
|
+
Name: string;
|
|
462
|
+
Granted: boolean;
|
|
463
|
+
};
|
|
464
|
+
/** Whether the calling user holds `Clone Records: Fire Hooks`, so the UI may offer the Fire Entity Actions toggle. */
|
|
465
|
+
CanFireHooks?: boolean;
|
|
466
|
+
/** Whether the calling user holds `Clone Records: Override Scope`, so the UI may offer scope overrides beyond the entity's configuration. */
|
|
467
|
+
CanOverrideScope?: boolean;
|
|
468
|
+
}
|
|
469
|
+
/** Options controlling clone execution. */
|
|
470
|
+
export interface RecordCloneExecuteOptions {
|
|
471
|
+
/** Plan and validate only: returns the plan in `Plan` and writes nothing. */
|
|
472
|
+
DryRun?: boolean;
|
|
473
|
+
Preset?: string;
|
|
474
|
+
MaxDepth?: number;
|
|
475
|
+
MaxRecords?: number;
|
|
476
|
+
Subtypes?: 'include' | 'exclude';
|
|
477
|
+
Hierarchy?: 'subtree' | 'node';
|
|
478
|
+
SoftLinks?: 'skip' | 'include';
|
|
479
|
+
/** Whether Entity Actions run on the cloned rows. Default from the entity's `Hooks` (else 'fire'); changing it needs `Clone Records: Fire Hooks`. */
|
|
480
|
+
EntityActions?: 'suppress' | 'fire';
|
|
481
|
+
/** Whether Entity AI Actions run. Default from the entity's `Hooks` (else 'suppress'); changing it needs `Clone Records: Fire Hooks`. */
|
|
482
|
+
AIActions?: 'suppress' | 'fire';
|
|
483
|
+
Embeddings?: 'copy' | 'regenerate';
|
|
484
|
+
FieldOverrides?: Record<string, string | number | boolean | null>;
|
|
485
|
+
PromptedValues?: Record<string, string | number | boolean | null>;
|
|
486
|
+
/** Point foreign keys on the root at other records. Only fields listed in the entity's `Clone.UI.RetargetFields` apply. */
|
|
487
|
+
Retarget?: Array<{
|
|
488
|
+
EntityName: string;
|
|
489
|
+
Field: string;
|
|
490
|
+
Value: string;
|
|
491
|
+
}>;
|
|
492
|
+
NamingTemplate?: string;
|
|
493
|
+
NamingStrategy?: 'suffix' | 'increment' | 'prompt' | 'none';
|
|
494
|
+
Naming?: {
|
|
495
|
+
Template?: string;
|
|
496
|
+
Strategy?: 'suffix' | 'increment' | 'prompt' | 'none';
|
|
497
|
+
};
|
|
498
|
+
Reason?: string;
|
|
499
|
+
}
|
|
500
|
+
/** Per-edge policy override. */
|
|
501
|
+
export interface RecordCloneEdgeOverride {
|
|
502
|
+
RelationshipID?: string;
|
|
503
|
+
Policy: 'Deep' | 'Reference' | 'Skip';
|
|
504
|
+
}
|
|
505
|
+
/** Input for `RecordClone.Execute`. */
|
|
506
|
+
export interface RecordCloneExecuteInput {
|
|
507
|
+
EntityName?: string;
|
|
508
|
+
SourceRecordKey?: RecordCloneKey;
|
|
509
|
+
Roots?: Array<{
|
|
510
|
+
EntityName: string;
|
|
511
|
+
Key: RecordCloneKey;
|
|
512
|
+
}>;
|
|
513
|
+
Options?: RecordCloneExecuteOptions;
|
|
514
|
+
EdgeOverrides?: RecordCloneEdgeOverride[];
|
|
515
|
+
ExpectedPlanHash?: string;
|
|
516
|
+
}
|
|
517
|
+
/** Record mapping result from clone execution. */
|
|
518
|
+
export interface RecordCloneRecordMapping {
|
|
519
|
+
EntityName: string;
|
|
520
|
+
SourceKey: string;
|
|
521
|
+
TargetKey: string;
|
|
522
|
+
Depth?: number;
|
|
523
|
+
}
|
|
524
|
+
/** Record skipped during clone execution. */
|
|
525
|
+
export interface RecordCloneSkippedRecord {
|
|
526
|
+
EntityName: string;
|
|
527
|
+
SourceKey: string;
|
|
528
|
+
Reason: string;
|
|
529
|
+
}
|
|
530
|
+
/** Warning or execution issue. */
|
|
531
|
+
export interface RecordCloneExecuteWarning {
|
|
532
|
+
Code: string;
|
|
533
|
+
Severity: 'Info' | 'Warning' | 'Error';
|
|
534
|
+
NodeKey?: string;
|
|
535
|
+
Field?: string;
|
|
536
|
+
Message: string;
|
|
537
|
+
}
|
|
538
|
+
/** Output for `RecordClone.Execute`. */
|
|
539
|
+
export interface RecordCloneExecuteOutput {
|
|
540
|
+
/** Whether the clone succeeded. */
|
|
541
|
+
Success: boolean;
|
|
542
|
+
/** Outcome code. */
|
|
543
|
+
ResultCode: 'SUCCESS' | 'PLAN_CHANGED' | 'BLOCKED' | 'FORBIDDEN' | 'EXECUTION_ERROR';
|
|
544
|
+
/** ID of the created MJ: Record Clone Logs header row, if written. */
|
|
545
|
+
CloneLogID: string | null;
|
|
546
|
+
/** Mappings for the root records. */
|
|
547
|
+
Roots: RecordCloneRecordMapping[];
|
|
548
|
+
/** Mappings for all successfully created records. */
|
|
549
|
+
Created: RecordCloneRecordMapping[];
|
|
550
|
+
/** Records that were skipped. */
|
|
551
|
+
Skipped: RecordCloneSkippedRecord[];
|
|
552
|
+
/** Aggregate counts. */
|
|
553
|
+
Counts: {
|
|
554
|
+
ByEntity: Record<string, {
|
|
555
|
+
Create: number;
|
|
556
|
+
Reference: number;
|
|
557
|
+
Skip: number;
|
|
558
|
+
}>;
|
|
559
|
+
Create: number;
|
|
560
|
+
Total: number;
|
|
561
|
+
};
|
|
562
|
+
/** Warnings emitted during planning or execution. */
|
|
563
|
+
Warnings: RecordCloneExecuteWarning[];
|
|
564
|
+
/** Updated plan returned on PLAN_CHANGED or BLOCKED. */
|
|
565
|
+
Plan?: RecordClonePlanDetails;
|
|
566
|
+
/** Error message on failure. */
|
|
567
|
+
ErrorMessage?: string;
|
|
568
|
+
}
|
|
569
|
+
/** Input for `RecordClone.GetLineage`. */
|
|
570
|
+
export interface RecordCloneGetLineageInput {
|
|
571
|
+
/** Registered entity name. */
|
|
572
|
+
EntityName: string;
|
|
573
|
+
/** Composite key of the record whose clone lineage is being queried. */
|
|
574
|
+
Key: RecordCloneKey;
|
|
575
|
+
/** Direction of traversal: ancestors ('up'), descendants ('down'), or both ('both'). Defaults to 'both'. */
|
|
576
|
+
Direction?: 'up' | 'down' | 'both';
|
|
577
|
+
}
|
|
578
|
+
/** Single item in a record's clone lineage. */
|
|
579
|
+
export interface RecordCloneLineageItem {
|
|
580
|
+
/** Entity name of the record. */
|
|
581
|
+
EntityName: string;
|
|
582
|
+
/** Primary key of the record. */
|
|
583
|
+
RecordID: string;
|
|
584
|
+
/** Human-readable display name of the record. */
|
|
585
|
+
DisplayName?: string;
|
|
586
|
+
/** ID of the MJ: Record Clone Logs header row that produced this clone, if known. */
|
|
587
|
+
CloneLogID?: string;
|
|
588
|
+
/** ISO timestamp when the clone occurred, if known. */
|
|
589
|
+
ClonedAt?: string;
|
|
590
|
+
/** User ID or display name who initiated the clone, if known. */
|
|
591
|
+
ClonedBy?: string;
|
|
592
|
+
}
|
|
593
|
+
/** Output for `RecordClone.GetLineage`. */
|
|
594
|
+
export interface RecordCloneGetLineageOutput {
|
|
595
|
+
/** Chain of ancestor records cloned from, ordered oldest to immediate parent. */
|
|
596
|
+
Ancestors: RecordCloneLineageItem[];
|
|
597
|
+
/** Direct descendant records cloned from this record. */
|
|
598
|
+
Clones: RecordCloneLineageItem[];
|
|
599
|
+
/** Total count of direct descendant clones. */
|
|
600
|
+
TotalClones: number;
|
|
601
|
+
}
|
|
602
|
+
/** Options controlling plan generation. */
|
|
603
|
+
export interface RecordClonePlanOptions {
|
|
604
|
+
DryRun?: boolean;
|
|
605
|
+
Preset?: string;
|
|
606
|
+
MaxDepth?: number;
|
|
607
|
+
MaxRecords?: number;
|
|
608
|
+
Subtypes?: 'include' | 'exclude';
|
|
609
|
+
Hierarchy?: 'subtree' | 'node';
|
|
610
|
+
SoftLinks?: 'skip' | 'include';
|
|
611
|
+
/** Whether Entity Actions run on the cloned rows. Default from the entity's `Hooks` (else 'fire'); changing it needs `Clone Records: Fire Hooks`. */
|
|
612
|
+
EntityActions?: 'suppress' | 'fire';
|
|
613
|
+
/** Whether Entity AI Actions run. Default from the entity's `Hooks` (else 'suppress'); changing it needs `Clone Records: Fire Hooks`. */
|
|
614
|
+
AIActions?: 'suppress' | 'fire';
|
|
615
|
+
Embeddings?: 'copy' | 'regenerate';
|
|
616
|
+
FieldOverrides?: Record<string, string | number | boolean | null>;
|
|
617
|
+
PromptedValues?: Record<string, string | number | boolean | null>;
|
|
618
|
+
/** Point foreign keys on the root at other records. Only fields listed in the entity's `Clone.UI.RetargetFields` apply. */
|
|
619
|
+
Retarget?: Array<{
|
|
620
|
+
EntityName: string;
|
|
621
|
+
Field: string;
|
|
622
|
+
Value: string;
|
|
623
|
+
}>;
|
|
624
|
+
NamingTemplate?: string;
|
|
625
|
+
NamingStrategy?: 'suffix' | 'increment' | 'prompt' | 'none';
|
|
626
|
+
Naming?: {
|
|
627
|
+
Template?: string;
|
|
628
|
+
Strategy?: 'suffix' | 'increment' | 'prompt' | 'none';
|
|
629
|
+
};
|
|
630
|
+
Reason?: string;
|
|
631
|
+
}
|
|
632
|
+
/** Input for `RecordClone.Plan`. */
|
|
633
|
+
export interface RecordClonePlanInput {
|
|
634
|
+
EntityName?: string;
|
|
635
|
+
SourceRecordKey?: RecordCloneKey;
|
|
636
|
+
Roots?: Array<{
|
|
637
|
+
EntityName: string;
|
|
638
|
+
Key: RecordCloneKey;
|
|
639
|
+
}>;
|
|
640
|
+
Options?: RecordClonePlanOptions;
|
|
641
|
+
EdgeOverrides?: RecordCloneEdgeOverride[];
|
|
642
|
+
ExpectedPlanHash?: string;
|
|
643
|
+
}
|
|
644
|
+
/** A single field change in the planned record clone. */
|
|
645
|
+
export interface RecordClonePlanFieldChange {
|
|
646
|
+
Field: string;
|
|
647
|
+
Kind: string;
|
|
648
|
+
OldValue: string | number | boolean | null;
|
|
649
|
+
NewValue: string | number | boolean | null;
|
|
650
|
+
Reason: string;
|
|
651
|
+
}
|
|
652
|
+
/** Warning or validation issue identified during planning. */
|
|
653
|
+
export interface RecordClonePlanWarning {
|
|
654
|
+
Code: string;
|
|
655
|
+
Severity: 'Info' | 'Warning' | 'Error';
|
|
656
|
+
NodeKey?: string;
|
|
657
|
+
Field?: string;
|
|
658
|
+
Message: string;
|
|
659
|
+
}
|
|
660
|
+
/** Node in the planned record clone graph. */
|
|
661
|
+
export interface RecordClonePlanNode {
|
|
662
|
+
Key: string;
|
|
663
|
+
EntityName: string;
|
|
664
|
+
SourceKey: string;
|
|
665
|
+
TargetKey: string | null;
|
|
666
|
+
Action: 'Create' | 'Reference' | 'Skip' | 'Blocked';
|
|
667
|
+
Reason: string;
|
|
668
|
+
Depth: number;
|
|
669
|
+
ParentKey: string | null;
|
|
670
|
+
DisplayName: string;
|
|
671
|
+
IsSubtypeRow?: boolean;
|
|
672
|
+
FieldChanges: RecordClonePlanFieldChange[];
|
|
673
|
+
Warnings: RecordClonePlanWarning[];
|
|
674
|
+
Route: string;
|
|
675
|
+
}
|
|
676
|
+
/** Relationship edge in the planned record clone graph. */
|
|
677
|
+
export interface RecordClonePlanEdge {
|
|
678
|
+
FromKey: string;
|
|
679
|
+
ToKey: string;
|
|
680
|
+
Kind: string;
|
|
681
|
+
RelatedEntityName: string;
|
|
682
|
+
JoinField: string;
|
|
683
|
+
RelationshipID?: string;
|
|
684
|
+
CollectionName?: string;
|
|
685
|
+
IsSoftLink?: boolean;
|
|
686
|
+
Policy: 'Deep' | 'Reference' | 'Skip';
|
|
687
|
+
Locked: boolean;
|
|
688
|
+
PolicySource: string;
|
|
689
|
+
}
|
|
690
|
+
/** Execution options effectively applied to the plan. */
|
|
691
|
+
export interface RecordClonePlanEffectiveOptions {
|
|
692
|
+
MaxDepth: number;
|
|
693
|
+
MaxRecords: number;
|
|
694
|
+
Subtypes: 'include' | 'exclude';
|
|
695
|
+
Hierarchy: 'subtree' | 'node';
|
|
696
|
+
SoftLinks: 'skip' | 'include';
|
|
697
|
+
EntityActions: 'suppress' | 'fire';
|
|
698
|
+
AIActions: 'suppress' | 'fire';
|
|
699
|
+
Embeddings: 'copy' | 'regenerate';
|
|
700
|
+
}
|
|
701
|
+
/** Complete clone plan returned by RecordClone.Plan. */
|
|
702
|
+
export interface RecordClonePlanDetails {
|
|
703
|
+
PlanVersion: 1;
|
|
704
|
+
Hash: string;
|
|
705
|
+
Roots: string[];
|
|
706
|
+
Nodes: RecordClonePlanNode[];
|
|
707
|
+
Edges: RecordClonePlanEdge[];
|
|
708
|
+
Counts: {
|
|
709
|
+
ByEntity: Record<string, {
|
|
710
|
+
Create: number;
|
|
711
|
+
Reference: number;
|
|
712
|
+
Skip: number;
|
|
713
|
+
}>;
|
|
714
|
+
Create: number;
|
|
715
|
+
Total: number;
|
|
716
|
+
};
|
|
717
|
+
Warnings: RecordClonePlanWarning[];
|
|
718
|
+
Blocked: boolean;
|
|
719
|
+
EffectiveOptions: RecordClonePlanEffectiveOptions;
|
|
720
|
+
}
|
|
721
|
+
/** Output for `RecordClone.Plan`. */
|
|
722
|
+
export interface RecordClonePlanOutput {
|
|
723
|
+
Plan: RecordClonePlanDetails;
|
|
724
|
+
}
|
|
416
725
|
/** A single primary-key field/value pair identifying a record to compare. */
|
|
417
726
|
export interface RecordComparisonKeyValuePair {
|
|
418
727
|
/** Primary-key field name (e.g. "ID"). */
|
|
@@ -657,7 +966,7 @@ export interface TaskGraphSubmitInput {
|
|
|
657
966
|
tempId: string;
|
|
658
967
|
name: string;
|
|
659
968
|
description: string;
|
|
660
|
-
kind: 'Agent' | 'Action' | 'Human' | 'Prompt' | 'ForEach' | 'While' | 'External';
|
|
969
|
+
kind: 'Agent' | 'Action' | 'Human' | 'Prompt' | 'ForEach' | 'While' | 'External' | 'Decision';
|
|
661
970
|
configuration: {
|
|
662
971
|
agentName: string;
|
|
663
972
|
message?: string;
|
|
@@ -684,6 +993,27 @@ export interface TaskGraphSubmitInput {
|
|
|
684
993
|
} | {
|
|
685
994
|
domain: string;
|
|
686
995
|
ref?: string;
|
|
996
|
+
} | {
|
|
997
|
+
promptName?: string;
|
|
998
|
+
state?: string;
|
|
999
|
+
questions: Record<string, {
|
|
1000
|
+
kind: 'Likelihood';
|
|
1001
|
+
instructions: string;
|
|
1002
|
+
minConfidence?: number;
|
|
1003
|
+
} | {
|
|
1004
|
+
kind: 'Choice';
|
|
1005
|
+
instructions: string;
|
|
1006
|
+
options: Array<{
|
|
1007
|
+
value: string;
|
|
1008
|
+
description: string;
|
|
1009
|
+
}>;
|
|
1010
|
+
minConfidence?: number;
|
|
1011
|
+
} | {
|
|
1012
|
+
kind: 'Score';
|
|
1013
|
+
instructions: string;
|
|
1014
|
+
levels: string[];
|
|
1015
|
+
minConfidence?: number;
|
|
1016
|
+
}>;
|
|
687
1017
|
};
|
|
688
1018
|
dependsOn: Array<string | {
|
|
689
1019
|
tempId: string;
|
|
@@ -836,6 +1166,184 @@ export interface WebSearchQueryOutput {
|
|
|
836
1166
|
*/
|
|
837
1167
|
attempts: WebSearchQueryAttempt[];
|
|
838
1168
|
}
|
|
1169
|
+
/** Input for `WorkQueue.DiscardDelivery`. */
|
|
1170
|
+
export interface WorkQueueDiscardDeliveryInput {
|
|
1171
|
+
subscriptionName: string;
|
|
1172
|
+
/** A pending, dead-lettered or in-flight delivery. */
|
|
1173
|
+
deliveryID: string;
|
|
1174
|
+
/** Why the work is being dropped. Required; at most 1000 characters. */
|
|
1175
|
+
reason: string;
|
|
1176
|
+
}
|
|
1177
|
+
/** Output of `WorkQueue.DiscardDelivery`. */
|
|
1178
|
+
export interface WorkQueueDiscardDeliveryOutput {
|
|
1179
|
+
/** False when the transport cannot discard this kind of delivery (for example any SQS message). */
|
|
1180
|
+
supported: boolean;
|
|
1181
|
+
/** True when the delivery is now Discarded, or (for an in-flight delivery) its cancel was recorded. */
|
|
1182
|
+
discarded: boolean;
|
|
1183
|
+
/**
|
|
1184
|
+
* True when the delivery was in flight: CancelRequestedAt is set, the running handler's next heartbeat (30 s at
|
|
1185
|
+
* most) aborts it with reason 'Cancelled', and the row becomes Discarded when the handler acknowledges — or at
|
|
1186
|
+
* lease expiry if its worker is gone (03 §7).
|
|
1187
|
+
*/
|
|
1188
|
+
cancelRequested: boolean;
|
|
1189
|
+
}
|
|
1190
|
+
/** Input for `WorkQueue.GetBacklog`. */
|
|
1191
|
+
export interface WorkQueueGetBacklogInput {
|
|
1192
|
+
subscriptionName: string;
|
|
1193
|
+
}
|
|
1194
|
+
/** Output of `WorkQueue.GetBacklog` — the autoscaler metric for one subscription. */
|
|
1195
|
+
export interface WorkQueueGetBacklogOutput {
|
|
1196
|
+
/** False when the subscription's transport cannot report a backlog (AWS — scale Lambda from the queue's own metrics). */
|
|
1197
|
+
supported: boolean;
|
|
1198
|
+
/** Pending deliveries that a worker could claim right now (partition rules applied). */
|
|
1199
|
+
claimable: number;
|
|
1200
|
+
/** Deliveries currently leased by a worker. */
|
|
1201
|
+
inFlight: number;
|
|
1202
|
+
/** claimable + inFlight — the value a scheduler should scale on. */
|
|
1203
|
+
total: number;
|
|
1204
|
+
/** True when either count hit its cap of 1000: the real backlog is at least this large. */
|
|
1205
|
+
capped: boolean;
|
|
1206
|
+
}
|
|
1207
|
+
/** Input for `WorkQueue.GetSubscriptionStats`. */
|
|
1208
|
+
export interface WorkQueueGetSubscriptionStatsInput {
|
|
1209
|
+
/** One subscription by name (case-insensitive). Omit for every subscription. */
|
|
1210
|
+
subscriptionName?: string;
|
|
1211
|
+
}
|
|
1212
|
+
/** One subscription's counts, read from its transport. */
|
|
1213
|
+
export interface WorkQueueSubscriptionStatsRow {
|
|
1214
|
+
SubscriptionName: string;
|
|
1215
|
+
Pending: number;
|
|
1216
|
+
InFlight: number;
|
|
1217
|
+
DeadLettered: number;
|
|
1218
|
+
/** Null when the transport cannot count blocked keys. */
|
|
1219
|
+
BlockedKeys: number | null;
|
|
1220
|
+
/** Null when unknown (always null on AWS in Phase 1). */
|
|
1221
|
+
OldestPendingAgeSeconds: number | null;
|
|
1222
|
+
/** Null unless the transport keeps completed rows. */
|
|
1223
|
+
CompletedLastHour: number | null;
|
|
1224
|
+
/** ISO 8601 time the counts were read. */
|
|
1225
|
+
AsOf: string;
|
|
1226
|
+
}
|
|
1227
|
+
/** A subscription whose stats could not be read. camelCase, as 03 §8 writes it. */
|
|
1228
|
+
export interface WorkQueueStatsFailureRow {
|
|
1229
|
+
subscriptionName: string;
|
|
1230
|
+
/** A sanitised message — never raw driver or SQL text. */
|
|
1231
|
+
error: string;
|
|
1232
|
+
}
|
|
1233
|
+
/** Output of `WorkQueue.GetSubscriptionStats`. */
|
|
1234
|
+
export interface WorkQueueGetSubscriptionStatsOutput {
|
|
1235
|
+
subscriptions: WorkQueueSubscriptionStatsRow[];
|
|
1236
|
+
/** Populated only when no subscriptionName was given; a named subscription that fails fails the operation. */
|
|
1237
|
+
failures: WorkQueueStatsFailureRow[];
|
|
1238
|
+
}
|
|
1239
|
+
/** Input for `WorkQueue.ListDeadLetters`. */
|
|
1240
|
+
export interface WorkQueueListDeadLettersInput {
|
|
1241
|
+
/** The subscription to read (case-insensitive). */
|
|
1242
|
+
subscriptionName: string;
|
|
1243
|
+
/** The nextCursor of a previous page. Omit for the first page. */
|
|
1244
|
+
cursor?: string;
|
|
1245
|
+
/** 1–500; default 50. */
|
|
1246
|
+
pageSize?: number;
|
|
1247
|
+
}
|
|
1248
|
+
/** Reference to data held outside the queue (claim-check). */
|
|
1249
|
+
export interface WorkQueuePayloadRefRow {
|
|
1250
|
+
Uri: string;
|
|
1251
|
+
ContentType?: string;
|
|
1252
|
+
SizeBytes?: number;
|
|
1253
|
+
Checksum?: string;
|
|
1254
|
+
}
|
|
1255
|
+
/** The dead-lettered message envelope. */
|
|
1256
|
+
export interface WorkQueueDeadLetterMessageRow {
|
|
1257
|
+
MessageID: string;
|
|
1258
|
+
Topic: string;
|
|
1259
|
+
PartitionKey?: string;
|
|
1260
|
+
Attributes: Record<string, string>;
|
|
1261
|
+
/** The inline payload serialized as JSON, or null when the message carries none. */
|
|
1262
|
+
PayloadJSON: string | null;
|
|
1263
|
+
PayloadRef?: WorkQueuePayloadRefRow;
|
|
1264
|
+
CorrelationID?: string;
|
|
1265
|
+
/** ISO 8601 publish time. */
|
|
1266
|
+
PublishedAt: string;
|
|
1267
|
+
}
|
|
1268
|
+
/** One dead-lettered delivery. */
|
|
1269
|
+
export interface WorkQueueDeadLetterRow {
|
|
1270
|
+
/** Database: MJ: Work Queue Deliveries ID. AWS: the envelope MessageID. */
|
|
1271
|
+
DeliveryID: string;
|
|
1272
|
+
Message: WorkQueueDeadLetterMessageRow;
|
|
1273
|
+
PartitionKey: string | null;
|
|
1274
|
+
Attempts: number;
|
|
1275
|
+
/** Handler reason, MaxAttemptsExceeded, LeaseExpired, HandlerNotRegistered, RedrivePolicy, InvalidEnvelope, … */
|
|
1276
|
+
Reason: string;
|
|
1277
|
+
LastError: string | null;
|
|
1278
|
+
DeadLetteredAt: string | null;
|
|
1279
|
+
/** True when this delivery is the dead-lettered head of an Ordered key (Database transport). */
|
|
1280
|
+
BlocksKey: boolean;
|
|
1281
|
+
}
|
|
1282
|
+
/** Output of `WorkQueue.ListDeadLetters`. */
|
|
1283
|
+
export interface WorkQueueListDeadLettersOutput {
|
|
1284
|
+
/** False when the subscription's transport cannot list dead letters; items is then empty. */
|
|
1285
|
+
supported: boolean;
|
|
1286
|
+
items: WorkQueueDeadLetterRow[];
|
|
1287
|
+
nextCursor: string | null;
|
|
1288
|
+
}
|
|
1289
|
+
/** Input for `WorkQueue.ListPartitions`. */
|
|
1290
|
+
export interface WorkQueueListPartitionsInput {
|
|
1291
|
+
/** The subscription to read (case-insensitive). */
|
|
1292
|
+
subscriptionName: string;
|
|
1293
|
+
/** Only keys in this condition. Omit for every non-idle key. */
|
|
1294
|
+
condition?: 'Idle' | 'InFlight' | 'Blocked';
|
|
1295
|
+
/** The nextCursor of a previous page. Omit for the first page. */
|
|
1296
|
+
cursor?: string;
|
|
1297
|
+
/** 1–500; default 50. */
|
|
1298
|
+
pageSize?: number;
|
|
1299
|
+
}
|
|
1300
|
+
/** One partition key's derived condition. */
|
|
1301
|
+
export interface WorkQueuePartitionStateRow {
|
|
1302
|
+
PartitionKey: string;
|
|
1303
|
+
Condition: 'Idle' | 'InFlight' | 'Blocked';
|
|
1304
|
+
/** The head delivery: in flight, or dead-lettered when Blocked. */
|
|
1305
|
+
HeadDeliveryID: string | null;
|
|
1306
|
+
/** Deliveries waiting behind the head. */
|
|
1307
|
+
WaitingItems: number;
|
|
1308
|
+
}
|
|
1309
|
+
/** Output of `WorkQueue.ListPartitions`. */
|
|
1310
|
+
export interface WorkQueueListPartitionsOutput {
|
|
1311
|
+
/** False when the subscription's transport cannot list partitions (AWS); items is then empty. */
|
|
1312
|
+
supported: boolean;
|
|
1313
|
+
items: WorkQueuePartitionStateRow[];
|
|
1314
|
+
nextCursor: string | null;
|
|
1315
|
+
}
|
|
1316
|
+
/** Input for `WorkQueue.ReplayDeadLetter`. */
|
|
1317
|
+
export interface WorkQueueReplayDeadLetterInput {
|
|
1318
|
+
subscriptionName: string;
|
|
1319
|
+
/** A DeliveryID from WorkQueue.ListDeadLetters. */
|
|
1320
|
+
deliveryID: string;
|
|
1321
|
+
/** Optional operator note stored with the resolution; at most 1000 characters. */
|
|
1322
|
+
note?: string;
|
|
1323
|
+
}
|
|
1324
|
+
/** Output of `WorkQueue.ReplayDeadLetter`. */
|
|
1325
|
+
export interface WorkQueueReplayDeadLetterOutput {
|
|
1326
|
+
/** False when the subscription's transport cannot replay a single dead letter. */
|
|
1327
|
+
supported: boolean;
|
|
1328
|
+
/** False when the delivery does not exist or is not dead-lettered. */
|
|
1329
|
+
replayed: boolean;
|
|
1330
|
+
}
|
|
1331
|
+
/** Input for `WorkQueue.ValidateBindings`. */
|
|
1332
|
+
export interface WorkQueueValidateBindingsInput {
|
|
1333
|
+
/** Validate only this transport's bindings against its resources. Omit to validate the whole topology. */
|
|
1334
|
+
transportName?: string;
|
|
1335
|
+
}
|
|
1336
|
+
/** One validation finding. */
|
|
1337
|
+
export interface WorkQueueBindingIssueRow {
|
|
1338
|
+
Severity: 'Error' | 'Warning';
|
|
1339
|
+
/** The topic, subscription or resource the finding is about. */
|
|
1340
|
+
Subject: string;
|
|
1341
|
+
Message: string;
|
|
1342
|
+
}
|
|
1343
|
+
/** Output of `WorkQueue.ValidateBindings`. */
|
|
1344
|
+
export interface WorkQueueValidateBindingsOutput {
|
|
1345
|
+
issues: WorkQueueBindingIssueRow[];
|
|
1346
|
+
}
|
|
839
1347
|
/** Input for `Workflow.Draft`. */
|
|
840
1348
|
export interface WorkflowDraftInput {
|
|
841
1349
|
/** What the person wants done, in their own words. */
|
|
@@ -862,7 +1370,7 @@ export interface WorkflowDraftOutput {
|
|
|
862
1370
|
tempId: string;
|
|
863
1371
|
name: string;
|
|
864
1372
|
description: string;
|
|
865
|
-
kind: 'Agent' | 'Action' | 'Human' | 'Prompt' | 'ForEach' | 'While' | 'External';
|
|
1373
|
+
kind: 'Agent' | 'Action' | 'Human' | 'Prompt' | 'ForEach' | 'While' | 'External' | 'Decision';
|
|
866
1374
|
configuration: {
|
|
867
1375
|
agentName: string;
|
|
868
1376
|
message?: string;
|
|
@@ -889,6 +1397,27 @@ export interface WorkflowDraftOutput {
|
|
|
889
1397
|
} | {
|
|
890
1398
|
domain: string;
|
|
891
1399
|
ref?: string;
|
|
1400
|
+
} | {
|
|
1401
|
+
promptName?: string;
|
|
1402
|
+
state?: string;
|
|
1403
|
+
questions: Record<string, {
|
|
1404
|
+
kind: 'Likelihood';
|
|
1405
|
+
instructions: string;
|
|
1406
|
+
minConfidence?: number;
|
|
1407
|
+
} | {
|
|
1408
|
+
kind: 'Choice';
|
|
1409
|
+
instructions: string;
|
|
1410
|
+
options: Array<{
|
|
1411
|
+
value: string;
|
|
1412
|
+
description: string;
|
|
1413
|
+
}>;
|
|
1414
|
+
minConfidence?: number;
|
|
1415
|
+
} | {
|
|
1416
|
+
kind: 'Score';
|
|
1417
|
+
instructions: string;
|
|
1418
|
+
levels: string[];
|
|
1419
|
+
minConfidence?: number;
|
|
1420
|
+
}>;
|
|
892
1421
|
};
|
|
893
1422
|
dependsOn: Array<string | {
|
|
894
1423
|
tempId: string;
|
|
@@ -936,7 +1465,7 @@ export interface WorkflowSaveInput {
|
|
|
936
1465
|
tempId: string;
|
|
937
1466
|
name: string;
|
|
938
1467
|
description: string;
|
|
939
|
-
kind: 'Agent' | 'Action' | 'Human' | 'Prompt' | 'ForEach' | 'While' | 'External';
|
|
1468
|
+
kind: 'Agent' | 'Action' | 'Human' | 'Prompt' | 'ForEach' | 'While' | 'External' | 'Decision';
|
|
940
1469
|
configuration: {
|
|
941
1470
|
agentName: string;
|
|
942
1471
|
message?: string;
|
|
@@ -963,6 +1492,27 @@ export interface WorkflowSaveInput {
|
|
|
963
1492
|
} | {
|
|
964
1493
|
domain: string;
|
|
965
1494
|
ref?: string;
|
|
1495
|
+
} | {
|
|
1496
|
+
promptName?: string;
|
|
1497
|
+
state?: string;
|
|
1498
|
+
questions: Record<string, {
|
|
1499
|
+
kind: 'Likelihood';
|
|
1500
|
+
instructions: string;
|
|
1501
|
+
minConfidence?: number;
|
|
1502
|
+
} | {
|
|
1503
|
+
kind: 'Choice';
|
|
1504
|
+
instructions: string;
|
|
1505
|
+
options: Array<{
|
|
1506
|
+
value: string;
|
|
1507
|
+
description: string;
|
|
1508
|
+
}>;
|
|
1509
|
+
minConfidence?: number;
|
|
1510
|
+
} | {
|
|
1511
|
+
kind: 'Score';
|
|
1512
|
+
instructions: string;
|
|
1513
|
+
levels: string[];
|
|
1514
|
+
minConfidence?: number;
|
|
1515
|
+
}>;
|
|
966
1516
|
};
|
|
967
1517
|
dependsOn: Array<string | {
|
|
968
1518
|
tempId: string;
|
|
@@ -1155,6 +1705,54 @@ export declare class PredictiveStudioTrainModelOperation extends BaseRemotableOp
|
|
|
1155
1705
|
readonly RequiredScope = "predictive:execute";
|
|
1156
1706
|
readonly RequiresSystemUser = false;
|
|
1157
1707
|
}
|
|
1708
|
+
/**
|
|
1709
|
+
* Describe Record Clone
|
|
1710
|
+
* Inspect an entity or specific record for clone capability, policies, relationship policies, and authorization. Implemented by RecordCloneDescribeServerOperation in @memberjunction/record-cloning.
|
|
1711
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
1712
|
+
* under 'RecordClone.Describe'. This generated base provides the typed contract only (client-safe).
|
|
1713
|
+
*/
|
|
1714
|
+
export declare class RecordCloneDescribeOperation extends BaseRemotableOperation<RecordCloneDescribeInput, RecordCloneDescribeOutput> {
|
|
1715
|
+
readonly OperationKey = "RecordClone.Describe";
|
|
1716
|
+
readonly ExecutionMode: "Sync";
|
|
1717
|
+
readonly RequiredScope = "recordclone:read";
|
|
1718
|
+
readonly RequiresSystemUser = false;
|
|
1719
|
+
}
|
|
1720
|
+
/**
|
|
1721
|
+
* Execute Record Clone
|
|
1722
|
+
* Execute an entity record clone plan within an entity transaction, staging entities and writing clone logs and links. Implemented by RecordCloneExecuteServerOperation in @memberjunction/record-cloning.
|
|
1723
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
1724
|
+
* under 'RecordClone.Execute'. This generated base provides the typed contract only (client-safe).
|
|
1725
|
+
*/
|
|
1726
|
+
export declare class RecordCloneExecuteOperation extends BaseRemotableOperation<RecordCloneExecuteInput, RecordCloneExecuteOutput> {
|
|
1727
|
+
readonly OperationKey = "RecordClone.Execute";
|
|
1728
|
+
readonly ExecutionMode: "LongRunning";
|
|
1729
|
+
readonly RequiredScope = "recordclone:execute";
|
|
1730
|
+
readonly RequiresSystemUser = false;
|
|
1731
|
+
}
|
|
1732
|
+
/**
|
|
1733
|
+
* Get Record Clone Lineage
|
|
1734
|
+
* Traverse record links and clone logs to return clone ancestors and descendants for a record. Implemented by RecordCloneGetLineageServerOperation in @memberjunction/record-cloning.
|
|
1735
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
1736
|
+
* under 'RecordClone.GetLineage'. This generated base provides the typed contract only (client-safe).
|
|
1737
|
+
*/
|
|
1738
|
+
export declare class RecordCloneGetLineageOperation extends BaseRemotableOperation<RecordCloneGetLineageInput, RecordCloneGetLineageOutput> {
|
|
1739
|
+
readonly OperationKey = "RecordClone.GetLineage";
|
|
1740
|
+
readonly ExecutionMode: "Sync";
|
|
1741
|
+
readonly RequiredScope = "recordclone:read";
|
|
1742
|
+
readonly RequiresSystemUser = false;
|
|
1743
|
+
}
|
|
1744
|
+
/**
|
|
1745
|
+
* Plan Record Clone
|
|
1746
|
+
* Plan a deterministic record clone graph traversal with pre-minted target keys and field transformations. Implemented by RecordClonePlanServerOperation in @memberjunction/record-cloning.
|
|
1747
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
1748
|
+
* under 'RecordClone.Plan'. This generated base provides the typed contract only (client-safe).
|
|
1749
|
+
*/
|
|
1750
|
+
export declare class RecordClonePlanOperation extends BaseRemotableOperation<RecordClonePlanInput, RecordClonePlanOutput> {
|
|
1751
|
+
readonly OperationKey = "RecordClone.Plan";
|
|
1752
|
+
readonly ExecutionMode: "Sync";
|
|
1753
|
+
readonly RequiredScope = "recordclone:read";
|
|
1754
|
+
readonly RequiresSystemUser = false;
|
|
1755
|
+
}
|
|
1158
1756
|
/**
|
|
1159
1757
|
* Compare Records
|
|
1160
1758
|
* Load a set of an entity's records (by composite key, column 0 = survivor/reference) and compute the field-level delta matrix between them. Read-only. Returns the loaded records + per-field deltas. Implemented by RecordComparisonCompareServerOperation in @memberjunction/record-comparison.
|
|
@@ -1394,6 +1992,90 @@ export declare class WebSearchQueryOperation extends BaseRemotableOperation<WebS
|
|
|
1394
1992
|
readonly RequiredScope = "websearch:execute";
|
|
1395
1993
|
readonly RequiresSystemUser = false;
|
|
1396
1994
|
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Discard Work Queue Delivery
|
|
1997
|
+
* Resolves one delivery without processing it, with a required reason. A pending or dead-lettered delivery becomes Discarded immediately; discarding a dead-lettered Ordered head unblocks its key. An in-flight delivery is cancelled instead (cancelRequested = true): the running handler is told to stop within one heartbeat interval (30 s at most) and the delivery becomes Discarded as soon as the handler acknowledges, or at lease expiry if its worker is gone. Implemented by WorkQueueDiscardDeliveryServerOperation in @memberjunction/work-queue-engine.
|
|
1998
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
1999
|
+
* under 'WorkQueue.DiscardDelivery'. This generated base provides the typed contract only (client-safe).
|
|
2000
|
+
*/
|
|
2001
|
+
export declare class WorkQueueDiscardDeliveryOperation extends BaseRemotableOperation<WorkQueueDiscardDeliveryInput, WorkQueueDiscardDeliveryOutput> {
|
|
2002
|
+
readonly OperationKey = "WorkQueue.DiscardDelivery";
|
|
2003
|
+
readonly ExecutionMode: "Sync";
|
|
2004
|
+
readonly RequiredScope = "workqueue:operate";
|
|
2005
|
+
readonly RequiresSystemUser = false;
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* Get Work Queue Backlog
|
|
2009
|
+
* Returns the autoscaler metric for one subscription: claimable pending deliveries (partition rules applied) plus in-flight deliveries. Both counts matter — schedulers such as KEDA subtract running executions from the metric, so a pending-only count starves the queue. Each count is capped at 1000 (capped = true). Implemented by WorkQueueGetBacklogServerOperation in @memberjunction/work-queue-engine.
|
|
2010
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
2011
|
+
* under 'WorkQueue.GetBacklog'. This generated base provides the typed contract only (client-safe).
|
|
2012
|
+
*/
|
|
2013
|
+
export declare class WorkQueueGetBacklogOperation extends BaseRemotableOperation<WorkQueueGetBacklogInput, WorkQueueGetBacklogOutput> {
|
|
2014
|
+
readonly OperationKey = "WorkQueue.GetBacklog";
|
|
2015
|
+
readonly ExecutionMode: "Sync";
|
|
2016
|
+
readonly RequiredScope = "workqueue:read";
|
|
2017
|
+
readonly RequiresSystemUser = false;
|
|
2018
|
+
}
|
|
2019
|
+
/**
|
|
2020
|
+
* Get Work Queue Subscription Stats
|
|
2021
|
+
* Returns pending, in-flight and dead-lettered counts (plus blocked keys, oldest pending age and recent completions where the transport supports them) for one work-queue subscription or all of them. Implemented by WorkQueueGetSubscriptionStatsServerOperation in @memberjunction/work-queue-engine.
|
|
2022
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
2023
|
+
* under 'WorkQueue.GetSubscriptionStats'. This generated base provides the typed contract only (client-safe).
|
|
2024
|
+
*/
|
|
2025
|
+
export declare class WorkQueueGetSubscriptionStatsOperation extends BaseRemotableOperation<WorkQueueGetSubscriptionStatsInput, WorkQueueGetSubscriptionStatsOutput> {
|
|
2026
|
+
readonly OperationKey = "WorkQueue.GetSubscriptionStats";
|
|
2027
|
+
readonly ExecutionMode: "Sync";
|
|
2028
|
+
readonly RequiredScope = "workqueue:read";
|
|
2029
|
+
readonly RequiresSystemUser = false;
|
|
2030
|
+
}
|
|
2031
|
+
/**
|
|
2032
|
+
* List Work Queue Dead Letters
|
|
2033
|
+
* Pages through one subscription's dead-lettered deliveries with their message, attempts, reason, last error and whether each blocks its partition key. Implemented by WorkQueueListDeadLettersServerOperation in @memberjunction/work-queue-engine.
|
|
2034
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
2035
|
+
* under 'WorkQueue.ListDeadLetters'. This generated base provides the typed contract only (client-safe).
|
|
2036
|
+
*/
|
|
2037
|
+
export declare class WorkQueueListDeadLettersOperation extends BaseRemotableOperation<WorkQueueListDeadLettersInput, WorkQueueListDeadLettersOutput> {
|
|
2038
|
+
readonly OperationKey = "WorkQueue.ListDeadLetters";
|
|
2039
|
+
readonly ExecutionMode: "Sync";
|
|
2040
|
+
readonly RequiredScope = "workqueue:read";
|
|
2041
|
+
readonly RequiresSystemUser = false;
|
|
2042
|
+
}
|
|
2043
|
+
/**
|
|
2044
|
+
* List Work Queue Partitions
|
|
2045
|
+
* Pages through one subscription's partition keys that are in flight or blocked by a dead-lettered Ordered head, optionally filtered to one condition. Implemented by WorkQueueListPartitionsServerOperation in @memberjunction/work-queue-engine.
|
|
2046
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
2047
|
+
* under 'WorkQueue.ListPartitions'. This generated base provides the typed contract only (client-safe).
|
|
2048
|
+
*/
|
|
2049
|
+
export declare class WorkQueueListPartitionsOperation extends BaseRemotableOperation<WorkQueueListPartitionsInput, WorkQueueListPartitionsOutput> {
|
|
2050
|
+
readonly OperationKey = "WorkQueue.ListPartitions";
|
|
2051
|
+
readonly ExecutionMode: "Sync";
|
|
2052
|
+
readonly RequiredScope = "workqueue:read";
|
|
2053
|
+
readonly RequiresSystemUser = false;
|
|
2054
|
+
}
|
|
2055
|
+
/**
|
|
2056
|
+
* Replay Work Queue Dead Letter
|
|
2057
|
+
* Returns one dead-lettered delivery to Pending with its attempts reset; an Ordered head keeps its position, so its key resumes once the replay completes. Implemented by WorkQueueReplayDeadLetterServerOperation in @memberjunction/work-queue-engine.
|
|
2058
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
2059
|
+
* under 'WorkQueue.ReplayDeadLetter'. This generated base provides the typed contract only (client-safe).
|
|
2060
|
+
*/
|
|
2061
|
+
export declare class WorkQueueReplayDeadLetterOperation extends BaseRemotableOperation<WorkQueueReplayDeadLetterInput, WorkQueueReplayDeadLetterOutput> {
|
|
2062
|
+
readonly OperationKey = "WorkQueue.ReplayDeadLetter";
|
|
2063
|
+
readonly ExecutionMode: "Sync";
|
|
2064
|
+
readonly RequiredScope = "workqueue:operate";
|
|
2065
|
+
readonly RequiresSystemUser = false;
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* Validate Work Queue Bindings
|
|
2069
|
+
* Validates work-queue topology and cloud resource bindings: with no transport name, the whole topology; with one, every topic and subscription bound to that transport against the resources it names. Implemented by WorkQueueValidateBindingsServerOperation in @memberjunction/work-queue-engine.
|
|
2070
|
+
* GenerationType=Manual — the server body is supplied by a hand-authored subclass registered
|
|
2071
|
+
* under 'WorkQueue.ValidateBindings'. This generated base provides the typed contract only (client-safe).
|
|
2072
|
+
*/
|
|
2073
|
+
export declare class WorkQueueValidateBindingsOperation extends BaseRemotableOperation<WorkQueueValidateBindingsInput, WorkQueueValidateBindingsOutput> {
|
|
2074
|
+
readonly OperationKey = "WorkQueue.ValidateBindings";
|
|
2075
|
+
readonly ExecutionMode: "Sync";
|
|
2076
|
+
readonly RequiredScope = "workqueue:read";
|
|
2077
|
+
readonly RequiresSystemUser = false;
|
|
2078
|
+
}
|
|
1397
2079
|
/**
|
|
1398
2080
|
* Draft Workflow
|
|
1399
2081
|
* Draft a workflow's steps from a plain-English description. Returns a TaskGraphSpec and persists NOTHING — the draft goes to the canvas for the author to review, and only Workflow.Save commits it, which is what makes the front door's "nothing is saved until you approve it" promise true rather than merely stated. Constrained to agents that actually exist on the instance, because a workflow referencing an unknown agent cannot be saved and a draft that cannot be saved wastes the author's time. Validated with the SAME ValidateTaskGraphSpec the canvas and Workflow.Save run, so a draft that comes back cannot be rejected later for a reason drafting never checked. Implemented by WorkflowDraftServerOperation in @memberjunction/task-graph.
|