@pam-ai/pam-ordo-contracts 3.4.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.
Files changed (59) hide show
  1. package/README.md +72 -0
  2. package/dist/generated.d.ts +1848 -0
  3. package/dist/generated.d.ts.map +1 -0
  4. package/dist/generated.js +6 -0
  5. package/dist/generated.js.map +1 -0
  6. package/dist/inbox-policy.d.ts +9 -0
  7. package/dist/inbox-policy.d.ts.map +1 -0
  8. package/dist/inbox-policy.js +27 -0
  9. package/dist/inbox-policy.js.map +1 -0
  10. package/dist/index.d.ts +35 -0
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +4 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/ordo-capability.d.ts +27 -0
  15. package/dist/ordo-capability.d.ts.map +1 -0
  16. package/dist/ordo-capability.js +37 -0
  17. package/dist/ordo-capability.js.map +1 -0
  18. package/dist/producer-command.d.ts +18 -0
  19. package/dist/producer-command.d.ts.map +1 -0
  20. package/dist/producer-command.js +38 -0
  21. package/dist/producer-command.js.map +1 -0
  22. package/fixtures/acknowledge-attention-command.json +8 -0
  23. package/fixtures/add-customer-note-command.json +6 -0
  24. package/fixtures/add-internal-comment-command.json +9 -0
  25. package/fixtures/advance-read-cursor-command.json +6 -0
  26. package/fixtures/assign-command.json +11 -0
  27. package/fixtures/assign-team-routing-command.json +11 -0
  28. package/fixtures/command-result.json +10 -0
  29. package/fixtures/contact-search.json +111 -0
  30. package/fixtures/conversation-detail-missing-body.json +133 -0
  31. package/fixtures/customer-note-command-result.json +10 -0
  32. package/fixtures/customer-notes-page.json +17 -0
  33. package/fixtures/delete-customer-note-command.json +7 -0
  34. package/fixtures/inbox-list-customer-no-work.json +93 -0
  35. package/fixtures/inbox-list-partial-hydration.json +175 -0
  36. package/fixtures/inbox-policy-v1.json +33 -0
  37. package/fixtures/inbox-target-resolution-request-v1.json +8 -0
  38. package/fixtures/inbox-target-resolution-response-v1.json +23 -0
  39. package/fixtures/internal-comment-result.json +13 -0
  40. package/fixtures/manifest.json +32 -0
  41. package/fixtures/notification-command-result.json +10 -0
  42. package/fixtures/notification-command.json +5 -0
  43. package/fixtures/notification-list.json +25 -0
  44. package/fixtures/permissions-unavailable.json +7 -0
  45. package/fixtures/producer-attention-command-v1.json +28 -0
  46. package/fixtures/producer-invalid-actor-command-v1.json +17 -0
  47. package/fixtures/producer-invalid-customer-identity-v1.json +15 -0
  48. package/fixtures/producer-invalid-missing-source-version-v1.json +16 -0
  49. package/fixtures/producer-invalid-oversized-v1.json +15 -0
  50. package/fixtures/producer-invalid-unknown-field-v1.json +17 -0
  51. package/fixtures/producer-overdue-fire-command-v1.json +21 -0
  52. package/fixtures/producer-reminder-fire-command-v1.json +20 -0
  53. package/fixtures/producer-snooze-return-command-v1.json +20 -0
  54. package/fixtures/producer-source-activity-command-v1.json +34 -0
  55. package/fixtures/read-cursor-result.json +10 -0
  56. package/fixtures/resolve-attention-command.json +9 -0
  57. package/fixtures/version-conflict.json +11 -0
  58. package/openapi/openapi.json +4577 -0
  59. package/package.json +67 -0
@@ -0,0 +1,133 @@
1
+ {
2
+ "data": {
3
+ "conversationId": "019c0000-0000-7000-8000-000000000001",
4
+ "clientOrgId": "fixture-rooftop",
5
+ "customerId": "customer-001",
6
+ "version": 4,
7
+ "currentCycle": {
8
+ "id": "019c0000-0000-7000-8000-000000000002",
9
+ "cycleNumber": 1,
10
+ "status": "OPEN",
11
+ "openedAt": "2026-08-31T12:00:00.000Z",
12
+ "oldestUnrespondedAt": "2026-08-31T12:05:00.000Z",
13
+ "snoozedAt": null,
14
+ "resolvedAt": null,
15
+ "version": 3
16
+ },
17
+ "owner": null,
18
+ "reminder": null,
19
+ "attention": null,
20
+ "overdue": {
21
+ "isOverdue": false,
22
+ "overdueAt": "2026-08-31T12:35:00.000Z",
23
+ "presentationSuppressedByReminder": false
24
+ },
25
+ "customerDisplayName": {
26
+ "value": null,
27
+ "availability": {
28
+ "state": "timeout",
29
+ "source": "pam-customers-service"
30
+ }
31
+ },
32
+ "customerPhone": {
33
+ "value": null,
34
+ "availability": {
35
+ "state": "timeout",
36
+ "source": "pam-customers-service"
37
+ }
38
+ },
39
+ "aiContext": {
40
+ "summary": {
41
+ "value": null,
42
+ "availability": {
43
+ "state": "timeout",
44
+ "source": "conversation-worker"
45
+ }
46
+ },
47
+ "categories": {
48
+ "value": null,
49
+ "availability": {
50
+ "state": "timeout",
51
+ "source": "conversation-worker"
52
+ }
53
+ },
54
+ "sentiment": {
55
+ "value": null,
56
+ "availability": {
57
+ "state": "timeout",
58
+ "source": "conversation-worker"
59
+ }
60
+ },
61
+ "recommendedNextStep": {
62
+ "value": null,
63
+ "availability": {
64
+ "state": "unsupported",
65
+ "source": "conversation-worker"
66
+ }
67
+ }
68
+ },
69
+ "viewerState": {
70
+ "unreadCount": 1,
71
+ "isMentionWatcher": false,
72
+ "unreadMentionCount": 0,
73
+ "readThroughInteractionId": null,
74
+ "readThroughSequenceNumber": null
75
+ },
76
+ "interactionSummary": {
77
+ "totalCount": 1,
78
+ "inboundCount": 1,
79
+ "outboundCount": 0,
80
+ "internalCount": 0,
81
+ "channels": ["SMS"]
82
+ },
83
+ "cycles": [
84
+ {
85
+ "id": "019c0000-0000-7000-8000-000000000002",
86
+ "cycleNumber": 1,
87
+ "status": "OPEN",
88
+ "openedAt": "2026-08-31T12:00:00.000Z",
89
+ "oldestUnrespondedAt": "2026-08-31T12:05:00.000Z",
90
+ "snoozedAt": null,
91
+ "resolvedAt": null,
92
+ "version": 3
93
+ }
94
+ ],
95
+ "interactions": [
96
+ {
97
+ "id": "019c0000-0000-7000-8000-000000000004",
98
+ "senderUserId": null,
99
+ "replyToInteractionId": null,
100
+ "mentions": [],
101
+ "workCycleId": "019c0000-0000-7000-8000-000000000002",
102
+ "sequenceNumber": 1,
103
+ "kind": "sms",
104
+ "channel": "SMS",
105
+ "direction": "INBOUND",
106
+ "occurredAt": "2026-08-31T12:05:00.000Z",
107
+ "body": {
108
+ "value": null,
109
+ "availability": {
110
+ "state": "missing",
111
+ "source": "pam_messaging_dynamodb"
112
+ }
113
+ },
114
+ "availability": {
115
+ "state": "missing",
116
+ "source": "pam_messaging_dynamodb"
117
+ }
118
+ }
119
+ ],
120
+ "repairOrders": [],
121
+ "availableActions": ["ASSIGN", "SNOOZE", "SET_REMINDER", "CLOSE"],
122
+ "availability": {
123
+ "customer": {
124
+ "state": "timeout",
125
+ "source": "pam-customers-service"
126
+ },
127
+ "repairOrders": {
128
+ "state": "available",
129
+ "source": "dms"
130
+ }
131
+ }
132
+ }
133
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "data": {
3
+ "operationId": "note-create-01",
4
+ "applied": true,
5
+ "replayed": false,
6
+ "conversationId": "01a05847-dde0-7000-8000-000000000093",
7
+ "noteId": "019a1111-1111-7111-8111-111111111111",
8
+ "resultingNoteVersion": 1
9
+ }
10
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "data": {
3
+ "notes": [
4
+ {
5
+ "id": "019a1111-1111-7111-8111-111111111111",
6
+ "body": "Customer prefers text messages after 4 PM.",
7
+ "authorUserId": "user-omer",
8
+ "createdAt": "2026-09-02T16:00:00.000Z",
9
+ "updatedAt": "2026-09-02T16:00:00.000Z",
10
+ "version": 1
11
+ }
12
+ ]
13
+ },
14
+ "meta": {
15
+ "nextCursor": null
16
+ }
17
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "operationId": "note-delete-01",
3
+ "clientOrgId": "clone_aeef094b-616c-48fd-aefa-768eab85212c",
4
+ "conversationId": "01a05847-dde0-7000-8000-000000000093",
5
+ "noteId": "019a1111-1111-7111-8111-111111111111",
6
+ "expectedNoteVersion": 1
7
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "data": {
3
+ "rows": [
4
+ {
5
+ "conversationId": "019c0000-0000-7000-8000-000000000011",
6
+ "clientOrgId": "fixture-rooftop",
7
+ "customerId": "customer-011",
8
+ "workCycle": null,
9
+ "owner": null,
10
+ "reminder": null,
11
+ "attention": null,
12
+ "overdue": {
13
+ "isOverdue": false,
14
+ "overdueAt": null,
15
+ "presentationSuppressedByReminder": false
16
+ },
17
+ "latestActivityAt": "2026-08-31T12:00:00.000Z",
18
+ "customerDisplayName": {
19
+ "value": "Jordan Customer",
20
+ "availability": {
21
+ "state": "available",
22
+ "source": "pam-customers-service"
23
+ }
24
+ },
25
+ "customerPhone": {
26
+ "value": "+17045550148",
27
+ "availability": {
28
+ "state": "available",
29
+ "source": "pam-customers-service"
30
+ }
31
+ },
32
+ "activeRepairOrders": [],
33
+ "aiContext": {
34
+ "summary": {
35
+ "value": null,
36
+ "availability": {
37
+ "state": "missing",
38
+ "source": "conversation-worker"
39
+ }
40
+ },
41
+ "categories": {
42
+ "value": null,
43
+ "availability": {
44
+ "state": "missing",
45
+ "source": "conversation-worker"
46
+ }
47
+ },
48
+ "sentiment": {
49
+ "value": null,
50
+ "availability": {
51
+ "state": "missing",
52
+ "source": "conversation-worker"
53
+ }
54
+ },
55
+ "recommendedNextStep": {
56
+ "value": null,
57
+ "availability": {
58
+ "state": "unsupported",
59
+ "source": "conversation-worker"
60
+ }
61
+ }
62
+ },
63
+ "viewerState": {
64
+ "unreadCount": 0,
65
+ "isMentionWatcher": false,
66
+ "unreadMentionCount": 0,
67
+ "readThroughInteractionId": null,
68
+ "readThroughSequenceNumber": null
69
+ },
70
+ "interactionSummary": {
71
+ "totalCount": 0,
72
+ "inboundCount": 0,
73
+ "outboundCount": 0,
74
+ "internalCount": 0,
75
+ "channels": []
76
+ },
77
+ "availableActions": [],
78
+ "availability": {}
79
+ }
80
+ ],
81
+ "counts": {
82
+ "total": 1,
83
+ "open": 0,
84
+ "snoozed": 0,
85
+ "overdue": 0,
86
+ "needsAttention": 0,
87
+ "resolved": 0
88
+ }
89
+ },
90
+ "meta": {
91
+ "nextCursor": null
92
+ }
93
+ }
@@ -0,0 +1,175 @@
1
+ {
2
+ "data": {
3
+ "rows": [
4
+ {
5
+ "conversationId": "019c0000-0000-7000-8000-000000000001",
6
+ "clientOrgId": "fixture-rooftop",
7
+ "customerId": "customer-001",
8
+ "workCycle": {
9
+ "id": "019c0000-0000-7000-8000-000000000002",
10
+ "cycleNumber": 1,
11
+ "status": "OPEN",
12
+ "openedAt": "2026-08-31T12:00:00.000Z",
13
+ "oldestUnrespondedAt": "2026-08-31T12:05:00.000Z",
14
+ "snoozedAt": null,
15
+ "resolvedAt": null,
16
+ "version": 3
17
+ },
18
+ "owner": null,
19
+ "reminder": null,
20
+ "attention": {
21
+ "id": "019c0000-0000-7000-8000-000000000003",
22
+ "category": "negative_sentiment",
23
+ "status": "ACTIVE",
24
+ "openedAt": "2026-08-31T12:10:00.000Z",
25
+ "version": 1
26
+ },
27
+ "overdue": {
28
+ "isOverdue": true,
29
+ "overdueAt": "2026-08-31T12:35:00.000Z",
30
+ "presentationSuppressedByReminder": false
31
+ },
32
+ "latestActivityAt": "2026-08-31T12:10:00.000Z",
33
+ "customerDisplayName": {
34
+ "value": null,
35
+ "availability": {
36
+ "state": "timeout",
37
+ "source": "pam-customers-service",
38
+ "reason": "Synthetic hydration timeout"
39
+ }
40
+ },
41
+ "customerPhone": {
42
+ "value": null,
43
+ "availability": {
44
+ "state": "timeout",
45
+ "source": "pam-customers-service",
46
+ "reason": "Synthetic hydration timeout"
47
+ }
48
+ },
49
+ "activeRepairOrders": [
50
+ {
51
+ "sourceSystem": "dms",
52
+ "externalId": "ro-1001",
53
+ "relationship": "ACTIVE",
54
+ "displayNumber": {
55
+ "value": "1001",
56
+ "availability": {
57
+ "state": "available",
58
+ "source": "pam-customers-service"
59
+ }
60
+ },
61
+ "status": {
62
+ "value": "OPEN",
63
+ "availability": {
64
+ "state": "available",
65
+ "source": "pam-customers-service"
66
+ }
67
+ },
68
+ "vehicle": {
69
+ "sourceSystem": "pam-customers-service",
70
+ "externalId": "vehicle-001",
71
+ "year": {
72
+ "value": "2024",
73
+ "availability": {
74
+ "state": "available",
75
+ "source": "pam-customers-service"
76
+ }
77
+ },
78
+ "make": {
79
+ "value": "Ford",
80
+ "availability": {
81
+ "state": "available",
82
+ "source": "pam-customers-service"
83
+ }
84
+ },
85
+ "model": {
86
+ "value": null,
87
+ "availability": {
88
+ "state": "missing",
89
+ "source": "pam-customers-service"
90
+ }
91
+ },
92
+ "vin": {
93
+ "value": "1FTFW1E50PKF00001",
94
+ "availability": {
95
+ "state": "available",
96
+ "source": "pam-customers-service"
97
+ }
98
+ },
99
+ "availability": {
100
+ "state": "available",
101
+ "source": "pam-customers-service"
102
+ }
103
+ },
104
+ "availability": {
105
+ "state": "available",
106
+ "source": "pam-customers-service"
107
+ }
108
+ }
109
+ ],
110
+ "aiContext": {
111
+ "summary": {
112
+ "value": "Customer is requesting an update on the active repair order.",
113
+ "availability": {
114
+ "state": "available",
115
+ "source": "conversation-worker"
116
+ }
117
+ },
118
+ "categories": {
119
+ "value": ["service_status_check"],
120
+ "availability": {
121
+ "state": "available",
122
+ "source": "conversation-worker"
123
+ }
124
+ },
125
+ "sentiment": {
126
+ "value": "negative",
127
+ "availability": {
128
+ "state": "available",
129
+ "source": "conversation-worker"
130
+ }
131
+ },
132
+ "recommendedNextStep": {
133
+ "value": null,
134
+ "availability": {
135
+ "state": "unsupported",
136
+ "source": "conversation-worker"
137
+ }
138
+ }
139
+ },
140
+ "viewerState": {
141
+ "unreadCount": 2,
142
+ "isMentionWatcher": true,
143
+ "unreadMentionCount": 1,
144
+ "readThroughInteractionId": "019c0000-0000-7000-8000-000000000004",
145
+ "readThroughSequenceNumber": 1
146
+ },
147
+ "interactionSummary": {
148
+ "totalCount": 3,
149
+ "inboundCount": 2,
150
+ "outboundCount": 1,
151
+ "internalCount": 0,
152
+ "channels": ["SMS"]
153
+ },
154
+ "availableActions": ["ASSIGN", "SNOOZE", "SET_REMINDER"],
155
+ "availability": {
156
+ "customer": {
157
+ "state": "timeout",
158
+ "source": "pam-customers-service"
159
+ }
160
+ }
161
+ }
162
+ ],
163
+ "counts": {
164
+ "total": 1,
165
+ "open": 1,
166
+ "snoozed": 0,
167
+ "overdue": 1,
168
+ "needsAttention": 1,
169
+ "resolved": 0
170
+ }
171
+ },
172
+ "meta": {
173
+ "nextCursor": null
174
+ }
175
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "categories": [
4
+ {
5
+ "category": "unresolved_call",
6
+ "enabled": true,
7
+ "createsWorkCycle": true,
8
+ "routing": { "type": "TEAM", "dashboardGroupId": "group-bdc" },
9
+ "needsAttention": {
10
+ "enabled": true,
11
+ "recipients": [
12
+ { "type": "TEAM", "dashboardGroupId": "group-bdc-managers" },
13
+ { "type": "USER", "userId": "user-operations-lead" }
14
+ ]
15
+ }
16
+ },
17
+ {
18
+ "category": "informational_status",
19
+ "enabled": true,
20
+ "createsWorkCycle": false,
21
+ "routing": { "type": "UNASSIGNED" },
22
+ "needsAttention": { "enabled": false, "recipients": [] }
23
+ }
24
+ ],
25
+ "overdue": { "enabled": true, "thresholdMinutes": 30 },
26
+ "notifications": [
27
+ {
28
+ "kind": "ro_closed",
29
+ "enabled": true,
30
+ "recipients": [{ "type": "TEAM", "dashboardGroupId": "group-service" }]
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "clientOrgId": "clone_aeef094b-616c-48fd-aefa-768eab85212c",
4
+ "targets": [
5
+ { "type": "TEAM", "dashboardGroupId": "group-bdc" },
6
+ { "type": "USER", "userId": "user-operations-lead" }
7
+ ]
8
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "clientOrgId": "clone_aeef094b-616c-48fd-aefa-768eab85212c",
4
+ "results": [
5
+ {
6
+ "target": { "type": "TEAM", "dashboardGroupId": "group-bdc" },
7
+ "status": "resolved",
8
+ "userIds": ["user-bdc-1"]
9
+ },
10
+ {
11
+ "target": { "type": "USER", "userId": "user-operations-lead" },
12
+ "status": "none",
13
+ "userIds": []
14
+ }
15
+ ],
16
+ "users": [
17
+ {
18
+ "userId": "user-bdc-1",
19
+ "persona": "BDC_REPRESENTATIVE",
20
+ "capabilities": ["VIEW_OWN_INBOX", "ASSIGN_OWNED_WORK"]
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "data": {
3
+ "operationId": "internal-comment-01",
4
+ "applied": true,
5
+ "replayed": false,
6
+ "conversationId": "01a05847-dde0-7000-8000-000000000001",
7
+ "workCycleId": "01a05847-dde0-7000-8000-000000000002",
8
+ "resultingVersion": 3,
9
+ "interactionRefId": "01a05847-dde0-7000-8000-000000000011",
10
+ "sequenceNumber": 8,
11
+ "mentionCount": 1
12
+ }
13
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "contact-search.json": "ContactSearchResponse",
3
+ "inbox-list-partial-hydration.json": "InboxListResponse",
4
+ "inbox-list-customer-no-work.json": "InboxListResponse",
5
+ "conversation-detail-missing-body.json": "ConversationDetailResponse",
6
+ "assign-command.json": "AssignCommand",
7
+ "assign-team-routing-command.json": "AssignCommand",
8
+ "acknowledge-attention-command.json": "AcknowledgeAttentionCommand",
9
+ "resolve-attention-command.json": "ResolveAttentionCommand",
10
+ "add-internal-comment-command.json": "AddInternalCommentCommand",
11
+ "advance-read-cursor-command.json": "AdvanceReadCursorCommand",
12
+ "customer-notes-page.json": "CustomerNoteListResponse",
13
+ "add-customer-note-command.json": "AddCustomerNoteCommand",
14
+ "delete-customer-note-command.json": "DeleteCustomerNoteCommand",
15
+ "command-result.json": "CommandResult",
16
+ "internal-comment-result.json": "InternalCommentResult",
17
+ "read-cursor-result.json": "ReadCursorResult",
18
+ "customer-note-command-result.json": "CustomerNoteCommandResult",
19
+ "notification-list.json": "NotificationListResponse",
20
+ "notification-command.json": "NotificationCommand",
21
+ "notification-command-result.json": "NotificationCommandResult",
22
+ "version-conflict.json": "ErrorEnvelope",
23
+ "permissions-unavailable.json": "ErrorEnvelope",
24
+ "producer-source-activity-command-v1.json": "ProducerCommandV1",
25
+ "producer-attention-command-v1.json": "ProducerCommandV1",
26
+ "producer-reminder-fire-command-v1.json": "ProducerCommandV1",
27
+ "producer-snooze-return-command-v1.json": "ProducerCommandV1",
28
+ "producer-overdue-fire-command-v1.json": "ProducerCommandV1",
29
+ "inbox-policy-v1.json": "InboxPolicyV1",
30
+ "inbox-target-resolution-request-v1.json": "InboxTargetResolutionRequestV1",
31
+ "inbox-target-resolution-response-v1.json": "InboxTargetResolutionResponseV1"
32
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "data": {
3
+ "operationId": "notification-read-01",
4
+ "applied": true,
5
+ "replayed": false,
6
+ "notificationId": "019a2222-2222-7222-8222-222222222222",
7
+ "readAt": "2026-09-03T12:05:00.000Z",
8
+ "dismissedAt": null
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "operationId": "notification-read-01",
3
+ "clientOrgId": "clone_aeef094b-616c-48fd-aefa-768eab85212c",
4
+ "notificationId": "019a2222-2222-7222-8222-222222222222"
5
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "data": {
3
+ "notifications": [
4
+ {
5
+ "id": "019a2222-2222-7222-8222-222222222222",
6
+ "kind": "mention",
7
+ "conversationId": "01a05847-dde0-7000-8000-000000000093",
8
+ "workCycleId": "01a05847-dde0-7000-8000-000000000194",
9
+ "reminderId": null,
10
+ "mentionId": "019a3333-3333-7333-8333-333333333333",
11
+ "attentionCycleId": null,
12
+ "interactionId": "019a4444-4444-7444-8444-444444444444",
13
+ "title": "New mention",
14
+ "body": "You were mentioned in an internal comment.",
15
+ "payloadVersion": 1,
16
+ "createdAt": "2026-09-03T12:00:00.000Z",
17
+ "readAt": null
18
+ }
19
+ ],
20
+ "unreadCount": 1
21
+ },
22
+ "meta": {
23
+ "nextCursor": null
24
+ }
25
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "error": {
3
+ "code": "PERMISSIONS_AUTHORITY_UNAVAILABLE",
4
+ "message": "The permissions authority is temporarily unavailable.",
5
+ "correlationId": "fixture-correlation-503"
6
+ }
7
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "operationId": "attention:evidence:01",
4
+ "commandType": "attention.open_or_add_evidence",
5
+ "clientOrgId": "clone_aeef094b-616c-48fd-aefa-768eab85212c",
6
+ "traceId": "trace-attention-01",
7
+ "occurredAt": "2026-09-03T13:46:00.000Z",
8
+ "actor": { "type": "pam" },
9
+ "source": {
10
+ "system": "conversation-worker",
11
+ "eventId": "classification-456",
12
+ "eventVersion": "3"
13
+ },
14
+ "target": { "conversationId": "0199082e-8d80-7000-8000-000000000001" },
15
+ "payload": {
16
+ "workCycleId": "0199082e-8d80-7000-8000-000000000002",
17
+ "category": "frustrated_customer",
18
+ "policySnapshot": { "policyVersion": "attention-v3" },
19
+ "recipients": [
20
+ {
21
+ "recipientUserExternalId": "user-manager-1",
22
+ "configuredTargetType": "group",
23
+ "configuredTargetExternalId": "bdc-managers",
24
+ "policyVersion": "attention-v3"
25
+ }
26
+ ]
27
+ }
28
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "operationId": "invalid-actor",
4
+ "commandType": "overdue.fire",
5
+ "clientOrgId": "clone-test",
6
+ "traceId": "trace-invalid",
7
+ "occurredAt": "2026-09-03T14:15:00.000Z",
8
+ "actor": { "type": "source" },
9
+ "source": { "system": "scheduler", "eventId": "1", "eventVersion": "1" },
10
+ "target": { "conversationId": "0199082e-8d80-7000-8000-000000000001" },
11
+ "payload": {
12
+ "workCycleId": "0199082e-8d80-7000-8000-000000000002",
13
+ "deadline": "2026-09-03T14:15:00.000Z",
14
+ "oldestUnrespondedAt": "2026-09-03T13:45:00.000Z",
15
+ "recipientUserExternalId": "user-owner-1"
16
+ }
17
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "operationId": "invalid-identity",
4
+ "commandType": "work_cycle.source_activity",
5
+ "clientOrgId": "clone-test",
6
+ "traceId": "trace-invalid",
7
+ "occurredAt": "2026-09-03T13:45:00.000Z",
8
+ "actor": { "type": "source" },
9
+ "source": { "system": "sms", "eventId": "1", "eventVersion": "1" },
10
+ "target": { "customerIdentity": { "customerSourceSystem": "customers" } },
11
+ "payload": {
12
+ "activityType": "customer_activity",
13
+ "interaction": { "kind": "sms", "direction": "inbound", "senderType": "customer" }
14
+ }
15
+ }