@pam-ai/pam-ordo-contracts 3.30.0 → 3.32.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/generated.d.ts +390 -2
- package/dist/generated.d.ts.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/fixtures/conversation-interactions-window.json +1 -0
- package/fixtures/desktop-notification-preference-command.json +5 -0
- package/fixtures/desktop-notification-preference-result.json +11 -0
- package/fixtures/desktop-notification-settings.json +10 -0
- package/fixtures/desktop-push-subscription-register-command.json +12 -0
- package/fixtures/desktop-push-subscription-result.json +9 -0
- package/fixtures/desktop-push-subscription-unregister-command.json +5 -0
- package/fixtures/inbox-policy-v1.json +4 -0
- package/fixtures/manifest.json +9 -0
- package/fixtures/producer-inbound-advisor-call-command-v1.json +32 -0
- package/fixtures/record-reach-out-call-command.json +14 -0
- package/fixtures/record-reach-out-call-result.json +14 -0
- package/openapi/openapi.json +769 -21
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -243,6 +243,26 @@ export interface paths {
|
|
|
243
243
|
patch?: never;
|
|
244
244
|
trace?: never;
|
|
245
245
|
};
|
|
246
|
+
"/v1/inbox/desktop-notification-settings": {
|
|
247
|
+
parameters: {
|
|
248
|
+
query?: never;
|
|
249
|
+
header?: never;
|
|
250
|
+
path?: never;
|
|
251
|
+
cookie?: never;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Read the authenticated User's effective desktop-notification setting
|
|
255
|
+
* @description Returns the selected rooftop's default, the caller's optional rooftop-specific override, and the effective value. A present User override wins over the rooftop default in both directions. Browser permission and device subscription state remain local browser concerns and do not change this product preference.
|
|
256
|
+
*/
|
|
257
|
+
get: operations["getDesktopNotificationSettings"];
|
|
258
|
+
put?: never;
|
|
259
|
+
post?: never;
|
|
260
|
+
delete?: never;
|
|
261
|
+
options?: never;
|
|
262
|
+
head?: never;
|
|
263
|
+
patch?: never;
|
|
264
|
+
trace?: never;
|
|
265
|
+
};
|
|
246
266
|
"/v1/inbox/commands/create-customer": {
|
|
247
267
|
parameters: {
|
|
248
268
|
query?: never;
|
|
@@ -283,6 +303,26 @@ export interface paths {
|
|
|
283
303
|
patch?: never;
|
|
284
304
|
trace?: never;
|
|
285
305
|
};
|
|
306
|
+
"/v1/inbox/commands/record-reach-out-call": {
|
|
307
|
+
parameters: {
|
|
308
|
+
query?: never;
|
|
309
|
+
header?: never;
|
|
310
|
+
path?: never;
|
|
311
|
+
cookie?: never;
|
|
312
|
+
};
|
|
313
|
+
get?: never;
|
|
314
|
+
put?: never;
|
|
315
|
+
/**
|
|
316
|
+
* Open or reuse Ordo work after an accepted Reach Out call
|
|
317
|
+
* @description Records an outbound Reach Out call only after the telephony platform has accepted it and returned a stable callId. The canonical Customer must belong to the selected rooftop; a phone number or asserted actor is not accepted as identity. Ordo resolves or creates the Conversation and opens a WorkCycle assigned to the authenticated User only when no active cycle exists. An existing OPEN or SNOOZED cycle and its owner, including null, remain unchanged; this command never claims someone else's or an unassigned active cycle. This call-specific OPEN-cycle rule is an intentional exception to the outbound-text Reach Out lifecycle. Replays of the same sourceSystem and callId within the rooftop return the same result, even with a different operationId, without creating another cycle. A rejected or unaccepted dial must never call this endpoint. Requires CALL_CUSTOMER.
|
|
318
|
+
*/
|
|
319
|
+
post: operations["recordReachOutCall"];
|
|
320
|
+
delete?: never;
|
|
321
|
+
options?: never;
|
|
322
|
+
head?: never;
|
|
323
|
+
patch?: never;
|
|
324
|
+
trace?: never;
|
|
325
|
+
};
|
|
286
326
|
"/v1/inbox/commands/assign": {
|
|
287
327
|
parameters: {
|
|
288
328
|
query?: never;
|
|
@@ -550,6 +590,60 @@ export interface paths {
|
|
|
550
590
|
patch?: never;
|
|
551
591
|
trace?: never;
|
|
552
592
|
};
|
|
593
|
+
"/v1/inbox/commands/set-desktop-notification-preference": {
|
|
594
|
+
parameters: {
|
|
595
|
+
query?: never;
|
|
596
|
+
header?: never;
|
|
597
|
+
path?: never;
|
|
598
|
+
cookie?: never;
|
|
599
|
+
};
|
|
600
|
+
get?: never;
|
|
601
|
+
put?: never;
|
|
602
|
+
/** Set or clear the authenticated User's rooftop-specific desktop-notification override */
|
|
603
|
+
post: operations["setDesktopNotificationPreference"];
|
|
604
|
+
delete?: never;
|
|
605
|
+
options?: never;
|
|
606
|
+
head?: never;
|
|
607
|
+
patch?: never;
|
|
608
|
+
trace?: never;
|
|
609
|
+
};
|
|
610
|
+
"/v1/inbox/commands/register-desktop-push-subscription": {
|
|
611
|
+
parameters: {
|
|
612
|
+
query?: never;
|
|
613
|
+
header?: never;
|
|
614
|
+
path?: never;
|
|
615
|
+
cookie?: never;
|
|
616
|
+
};
|
|
617
|
+
get?: never;
|
|
618
|
+
put?: never;
|
|
619
|
+
/**
|
|
620
|
+
* Register or refresh an account-wide browser push subscription
|
|
621
|
+
* @description The authenticated User owns the subscription. It can deliver eligible notifications from every rooftop that User can currently access; rooftop and User preferences are still evaluated independently for each notification. An endpoint already owned by another User is never silently rebound.
|
|
622
|
+
*/
|
|
623
|
+
post: operations["registerDesktopPushSubscription"];
|
|
624
|
+
delete?: never;
|
|
625
|
+
options?: never;
|
|
626
|
+
head?: never;
|
|
627
|
+
patch?: never;
|
|
628
|
+
trace?: never;
|
|
629
|
+
};
|
|
630
|
+
"/v1/inbox/commands/unregister-desktop-push-subscription": {
|
|
631
|
+
parameters: {
|
|
632
|
+
query?: never;
|
|
633
|
+
header?: never;
|
|
634
|
+
path?: never;
|
|
635
|
+
cookie?: never;
|
|
636
|
+
};
|
|
637
|
+
get?: never;
|
|
638
|
+
put?: never;
|
|
639
|
+
/** Unregister the authenticated User's browser push subscription */
|
|
640
|
+
post: operations["unregisterDesktopPushSubscription"];
|
|
641
|
+
delete?: never;
|
|
642
|
+
options?: never;
|
|
643
|
+
head?: never;
|
|
644
|
+
patch?: never;
|
|
645
|
+
trace?: never;
|
|
646
|
+
};
|
|
553
647
|
"/v1/inbox/commands/resolve-mention": {
|
|
554
648
|
parameters: {
|
|
555
649
|
query?: never;
|
|
@@ -998,6 +1092,7 @@ export interface components {
|
|
|
998
1092
|
notifications: components["schemas"]["InboxPolicyNotificationRuleV1"][];
|
|
999
1093
|
customerMessageNotifications?: components["schemas"]["InboxPolicyCustomerMessageNotificationsV1"];
|
|
1000
1094
|
emailDelivery?: components["schemas"]["InboxEmailDeliveryPolicyV1"];
|
|
1095
|
+
webPushDelivery?: components["schemas"]["InboxWebPushDeliveryPolicyV1"];
|
|
1001
1096
|
staffWorkStatus?: components["schemas"]["InboxPolicyStaffWorkStatusV1"];
|
|
1002
1097
|
};
|
|
1003
1098
|
/** @description Rooftop activation for authoritative Permissions work status. Missing is normalized as DISPLAY_ONLY. SHADOW records the decision without changing routing; ENFORCED may exclude non-AVAILABLE Users from automatic routing. Manual assignment continues to use manualAssignmentEligible. */
|
|
@@ -1014,6 +1109,12 @@ export interface components {
|
|
|
1014
1109
|
activatedAt: string;
|
|
1015
1110
|
kinds: components["schemas"]["NotificationKind"][];
|
|
1016
1111
|
};
|
|
1112
|
+
/** @description Optional forward-only rooftop default for desktop Web Push. Missing policy or enabled=false defaults delivery off. A User's explicit rooftop override wins over this value in either direction. Only notifications created at or after activatedAt are eligible. */
|
|
1113
|
+
InboxWebPushDeliveryPolicyV1: {
|
|
1114
|
+
enabled: boolean;
|
|
1115
|
+
/** Format: date-time */
|
|
1116
|
+
activatedAt: string;
|
|
1117
|
+
};
|
|
1017
1118
|
/** @enum {string} */
|
|
1018
1119
|
RealtimeQueryAreaV1: "inbox" | "conversation" | "customer_notes" | "notifications";
|
|
1019
1120
|
/** @description Refetch instruction, never canonical state. eventId deduplicates repeated delivery. aggregateVersion is only a hint for the named aggregate and must not suppress independent comment, note, label, or recipient changes. A scope-only invalidation deliberately omits Conversation and aggregate identity, including when a formerly visible Conversation is no longer authorized. Notification areas are recipient-only. No source payloads, message bodies, Customer information, or subscription credentials belong in this frame. */
|
|
@@ -1380,11 +1481,18 @@ export interface components {
|
|
|
1380
1481
|
nextCursor: string | null;
|
|
1381
1482
|
};
|
|
1382
1483
|
};
|
|
1484
|
+
/**
|
|
1485
|
+
* @description Source-verified terminal outcome. Transient ringing and an absent recording do not establish one; missing on an Interaction means unknown, not answered.
|
|
1486
|
+
* @enum {string}
|
|
1487
|
+
*/
|
|
1488
|
+
CallTerminalOutcomeV1: "answered" | "voicemail" | "missed" | "busy" | "no_answer";
|
|
1383
1489
|
InteractionRef: {
|
|
1384
1490
|
/** Format: uuid */
|
|
1385
1491
|
id: string;
|
|
1386
1492
|
/** @description Authenticated User who authored an internal comment; null for non-User senders. */
|
|
1387
1493
|
senderUserId?: string | null;
|
|
1494
|
+
/** @description Verified recipient of an inbound Customer call or voicemail on a direct staff line. This records the dialed-line recipient, not WorkCycle ownership; an existing owner is never reassigned merely because this User received a call. */
|
|
1495
|
+
recipientUserId?: string | null;
|
|
1388
1496
|
/**
|
|
1389
1497
|
* Format: uuid
|
|
1390
1498
|
* @description Root internal comment referenced by this comment. Replies are flattened to one level.
|
|
@@ -1418,6 +1526,8 @@ export interface components {
|
|
|
1418
1526
|
repairOrder?: components["schemas"]["InteractionRepairOrderRefV1"] | null;
|
|
1419
1527
|
sequenceNumber: number;
|
|
1420
1528
|
kind: string;
|
|
1529
|
+
/** @description Optional terminal outcome for a call or voicemail Interaction, carried from the source record. Older calls and sources without an authoritative outcome omit it. A reader must not infer answered from absence or from the Interaction kind alone. */
|
|
1530
|
+
callOutcome?: components["schemas"]["CallTerminalOutcomeV1"];
|
|
1421
1531
|
channel?: string | null;
|
|
1422
1532
|
/** @enum {string} */
|
|
1423
1533
|
direction: "INBOUND" | "OUTBOUND" | "INTERNAL";
|
|
@@ -1621,7 +1731,7 @@ export interface components {
|
|
|
1621
1731
|
};
|
|
1622
1732
|
};
|
|
1623
1733
|
/** @enum {string} */
|
|
1624
|
-
NotificationKind: "reminder_due" | "customer_message" | "mention" | "internal_comment_reply" | "needs_attention" | "overdue" | "ro_opened" | "ro_closed";
|
|
1734
|
+
NotificationKind: "reminder_due" | "customer_message" | "customer_call" | "mention" | "internal_comment_reply" | "needs_attention" | "overdue" | "ro_opened" | "ro_closed";
|
|
1625
1735
|
/** @description Recipient-specific Ordo alert state. Opening or dismissing it never resolves domain work. */
|
|
1626
1736
|
InboxNotification: {
|
|
1627
1737
|
/** Format: uuid */
|
|
@@ -1805,8 +1915,10 @@ export interface components {
|
|
|
1805
1915
|
senderUserExternalId?: string;
|
|
1806
1916
|
/** @enum {string} */
|
|
1807
1917
|
lineType?: "pam" | "rooftop" | "advisor";
|
|
1808
|
-
/** @description
|
|
1918
|
+
/** @description Source-verified recipient advisor User for an inbound Customer SMS, call, or voicemail received on an advisor-owned line. This is not the sender and must be resolved within clientOrgId before direct routing. Producers must omit it when line ownership cannot be verified; a phone number or unverified display name is not authority for this identity. */
|
|
1809
1919
|
recipientUserExternalId?: string;
|
|
1920
|
+
/** @description Optional terminal telephony outcome for kind call or voicemail. Producers must not infer it from a transient ringing state or from an absent recording. Missing means outcome was not authoritatively established, not that the call was answered. Existing voicemail producers may omit it during the additive rollout. */
|
|
1921
|
+
callOutcome?: components["schemas"]["CallTerminalOutcomeV1"];
|
|
1810
1922
|
dynamoLocator?: components["schemas"]["ProducerDynamoLocatorV1"];
|
|
1811
1923
|
};
|
|
1812
1924
|
ProducerRepairOrderTransitionV1: {
|
|
@@ -2108,6 +2220,32 @@ export interface components {
|
|
|
2108
2220
|
/** @description Opaque continuation cursor from the immediately preceding page. */
|
|
2109
2221
|
cursor?: string;
|
|
2110
2222
|
};
|
|
2223
|
+
SetDesktopNotificationPreferenceCommand: {
|
|
2224
|
+
operationId: string;
|
|
2225
|
+
clientOrgId: string;
|
|
2226
|
+
/** @description Explicit User setting, or null to inherit the rooftop default. */
|
|
2227
|
+
override: boolean | null;
|
|
2228
|
+
};
|
|
2229
|
+
WebPushSubscriptionKeys: {
|
|
2230
|
+
p256dh: string;
|
|
2231
|
+
auth: string;
|
|
2232
|
+
};
|
|
2233
|
+
RegisterDesktopPushSubscriptionCommand: {
|
|
2234
|
+
operationId: string;
|
|
2235
|
+
clientOrgId: string;
|
|
2236
|
+
subscription: {
|
|
2237
|
+
/** Format: uri */
|
|
2238
|
+
endpoint: string;
|
|
2239
|
+
expirationTime: number | null;
|
|
2240
|
+
keys: components["schemas"]["WebPushSubscriptionKeys"];
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
UnregisterDesktopPushSubscriptionCommand: {
|
|
2244
|
+
operationId: string;
|
|
2245
|
+
clientOrgId: string;
|
|
2246
|
+
/** Format: uri */
|
|
2247
|
+
endpoint: string;
|
|
2248
|
+
};
|
|
2111
2249
|
/**
|
|
2112
2250
|
* @description Mark the caller's outstanding Mentions on one WorkCycle dealt with.
|
|
2113
2251
|
* CONVERSATION-WIDE, NOT PER-MENTION, and the shape is the point. A recipient does not think in Mentions; they think "I have handled this thread". Two colleagues naming the same person in one exchange raises two Mentions, and clearing one of them would leave the row on the Mentions list with nothing on screen to explain why.
|
|
@@ -2350,6 +2488,48 @@ export interface components {
|
|
|
2350
2488
|
ownershipDisposition: components["schemas"]["OutboundMessageOwnershipDisposition"];
|
|
2351
2489
|
};
|
|
2352
2490
|
};
|
|
2491
|
+
ReachOutCallSource: {
|
|
2492
|
+
/**
|
|
2493
|
+
* @description Typed authority for the accepted call identifier.
|
|
2494
|
+
* @constant
|
|
2495
|
+
*/
|
|
2496
|
+
sourceSystem: "comms_platform";
|
|
2497
|
+
/** @description Stable telephony call ID, not a freshly generated command ID. */
|
|
2498
|
+
callId: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* Format: date-time
|
|
2501
|
+
* @description Telephony platform's accepted-call timestamp when supplied; otherwise the time its successful initiate response was observed. Never the time of the dial request or a rejected attempt.
|
|
2502
|
+
*/
|
|
2503
|
+
acceptedAt: string;
|
|
2504
|
+
};
|
|
2505
|
+
RecordReachOutCallCommand: {
|
|
2506
|
+
operationId: string;
|
|
2507
|
+
clientOrgId: string;
|
|
2508
|
+
customer: components["schemas"]["InboxCustomerIdentity"];
|
|
2509
|
+
/**
|
|
2510
|
+
* Format: uuid
|
|
2511
|
+
* @description The Conversation observed by the caller, or null when contact search reported NONE. Ordo revalidates it against the canonical Customer.
|
|
2512
|
+
*/
|
|
2513
|
+
conversationId: string | null;
|
|
2514
|
+
call: components["schemas"]["ReachOutCallSource"];
|
|
2515
|
+
};
|
|
2516
|
+
RecordReachOutCallResult: {
|
|
2517
|
+
data: {
|
|
2518
|
+
operationId: string;
|
|
2519
|
+
applied: boolean;
|
|
2520
|
+
replayed: boolean;
|
|
2521
|
+
callId: string;
|
|
2522
|
+
/** Format: uuid */
|
|
2523
|
+
conversationId: string;
|
|
2524
|
+
conversationCreated: boolean;
|
|
2525
|
+
/** Format: uuid */
|
|
2526
|
+
workCycleId: string;
|
|
2527
|
+
workCycleCreated: boolean;
|
|
2528
|
+
/** @description Authenticated caller for a newly opened cycle, or the preserved owner of an existing active cycle. Null is possible when an existing active cycle was unassigned; the call never claims it. */
|
|
2529
|
+
ownerUserId: string | null;
|
|
2530
|
+
resultingVersion: number;
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2353
2533
|
CommandResult: {
|
|
2354
2534
|
data: {
|
|
2355
2535
|
operationId: string;
|
|
@@ -2451,6 +2631,41 @@ export interface components {
|
|
|
2451
2631
|
nextCursor: string | null;
|
|
2452
2632
|
};
|
|
2453
2633
|
};
|
|
2634
|
+
DesktopNotificationSettingsResponse: {
|
|
2635
|
+
data: {
|
|
2636
|
+
clientOrgId: string;
|
|
2637
|
+
rooftopDefaultEnabled: boolean;
|
|
2638
|
+
userOverride: boolean | null;
|
|
2639
|
+
effectiveEnabled: boolean;
|
|
2640
|
+
/** Format: date-time */
|
|
2641
|
+
activatedAt: string | null;
|
|
2642
|
+
vapidPublicKey: string;
|
|
2643
|
+
};
|
|
2644
|
+
};
|
|
2645
|
+
DesktopNotificationPreferenceResult: {
|
|
2646
|
+
data: {
|
|
2647
|
+
operationId: string;
|
|
2648
|
+
applied: boolean;
|
|
2649
|
+
replayed: boolean;
|
|
2650
|
+
clientOrgId: string;
|
|
2651
|
+
rooftopDefaultEnabled: boolean;
|
|
2652
|
+
userOverride: boolean | null;
|
|
2653
|
+
effectiveEnabled: boolean;
|
|
2654
|
+
};
|
|
2655
|
+
};
|
|
2656
|
+
DesktopPushSubscriptionResult: {
|
|
2657
|
+
data: {
|
|
2658
|
+
operationId: string;
|
|
2659
|
+
applied: boolean;
|
|
2660
|
+
replayed: boolean;
|
|
2661
|
+
/**
|
|
2662
|
+
* Format: uuid
|
|
2663
|
+
* @description Existing subscription identity, or null when unregistration was a no-op.
|
|
2664
|
+
*/
|
|
2665
|
+
subscriptionId: string | null;
|
|
2666
|
+
active: boolean;
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2454
2669
|
ErrorEnvelope: {
|
|
2455
2670
|
error: {
|
|
2456
2671
|
code: string;
|
|
@@ -2553,6 +2768,36 @@ export interface components {
|
|
|
2553
2768
|
"application/json": components["schemas"]["DismissNotificationsResult"];
|
|
2554
2769
|
};
|
|
2555
2770
|
};
|
|
2771
|
+
/** @description Applied or idempotently replayed desktop-notification preference. */
|
|
2772
|
+
DesktopNotificationPreferenceApplied: {
|
|
2773
|
+
headers: {
|
|
2774
|
+
"x-correlation-id": components["headers"]["CorrelationId"];
|
|
2775
|
+
[name: string]: unknown;
|
|
2776
|
+
};
|
|
2777
|
+
content: {
|
|
2778
|
+
"application/json": components["schemas"]["DesktopNotificationPreferenceResult"];
|
|
2779
|
+
};
|
|
2780
|
+
};
|
|
2781
|
+
/** @description Registered, refreshed, or idempotently replayed browser subscription. */
|
|
2782
|
+
DesktopPushSubscriptionRegistered: {
|
|
2783
|
+
headers: {
|
|
2784
|
+
"x-correlation-id": components["headers"]["CorrelationId"];
|
|
2785
|
+
[name: string]: unknown;
|
|
2786
|
+
};
|
|
2787
|
+
content: {
|
|
2788
|
+
"application/json": components["schemas"]["DesktopPushSubscriptionResult"];
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2791
|
+
/** @description Unregistered or idempotently replayed browser subscription. */
|
|
2792
|
+
DesktopPushSubscriptionUnregistered: {
|
|
2793
|
+
headers: {
|
|
2794
|
+
"x-correlation-id": components["headers"]["CorrelationId"];
|
|
2795
|
+
[name: string]: unknown;
|
|
2796
|
+
};
|
|
2797
|
+
content: {
|
|
2798
|
+
"application/json": components["schemas"]["DesktopPushSubscriptionResult"];
|
|
2799
|
+
};
|
|
2800
|
+
};
|
|
2556
2801
|
/** @description Created or idempotently replayed canonical Customer result. */
|
|
2557
2802
|
InboxCustomerCreated: {
|
|
2558
2803
|
headers: {
|
|
@@ -2573,6 +2818,16 @@ export interface components {
|
|
|
2573
2818
|
"application/json": components["schemas"]["SendInboxMessageResult"];
|
|
2574
2819
|
};
|
|
2575
2820
|
};
|
|
2821
|
+
/** @description Applied or idempotently replayed accepted Reach Out call result. */
|
|
2822
|
+
ReachOutCallRecorded: {
|
|
2823
|
+
headers: {
|
|
2824
|
+
"x-correlation-id": components["headers"]["CorrelationId"];
|
|
2825
|
+
[name: string]: unknown;
|
|
2826
|
+
};
|
|
2827
|
+
content: {
|
|
2828
|
+
"application/json": components["schemas"]["RecordReachOutCallResult"];
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2576
2831
|
/** @description Invalid input. */
|
|
2577
2832
|
BadRequest: {
|
|
2578
2833
|
headers: {
|
|
@@ -2735,6 +2990,21 @@ export interface components {
|
|
|
2735
2990
|
"application/json": components["schemas"]["DismissNotificationsCommand"];
|
|
2736
2991
|
};
|
|
2737
2992
|
};
|
|
2993
|
+
SetDesktopNotificationPreferenceCommand: {
|
|
2994
|
+
content: {
|
|
2995
|
+
"application/json": components["schemas"]["SetDesktopNotificationPreferenceCommand"];
|
|
2996
|
+
};
|
|
2997
|
+
};
|
|
2998
|
+
RegisterDesktopPushSubscriptionCommand: {
|
|
2999
|
+
content: {
|
|
3000
|
+
"application/json": components["schemas"]["RegisterDesktopPushSubscriptionCommand"];
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
UnregisterDesktopPushSubscriptionCommand: {
|
|
3004
|
+
content: {
|
|
3005
|
+
"application/json": components["schemas"]["UnregisterDesktopPushSubscriptionCommand"];
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
2738
3008
|
CreateInboxCustomerCommand: {
|
|
2739
3009
|
content: {
|
|
2740
3010
|
"application/json": components["schemas"]["CreateInboxCustomerCommand"];
|
|
@@ -2745,6 +3015,11 @@ export interface components {
|
|
|
2745
3015
|
"application/json": components["schemas"]["SendInboxMessageCommand"];
|
|
2746
3016
|
};
|
|
2747
3017
|
};
|
|
3018
|
+
RecordReachOutCallCommand: {
|
|
3019
|
+
content: {
|
|
3020
|
+
"application/json": components["schemas"]["RecordReachOutCallCommand"];
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
2748
3023
|
};
|
|
2749
3024
|
headers: {
|
|
2750
3025
|
/** @description Stable request correlation identifier. */
|
|
@@ -3254,6 +3529,34 @@ export interface operations {
|
|
|
3254
3529
|
503: components["responses"]["ServiceUnavailable"];
|
|
3255
3530
|
};
|
|
3256
3531
|
};
|
|
3532
|
+
getDesktopNotificationSettings: {
|
|
3533
|
+
parameters: {
|
|
3534
|
+
query?: never;
|
|
3535
|
+
header: {
|
|
3536
|
+
/** @description Authorized rooftop context. For commands this value must match body.clientOrgId; neither value is trusted without DASH-233 resolution. */
|
|
3537
|
+
"x-client-org-id": components["parameters"]["ClientOrgId"];
|
|
3538
|
+
};
|
|
3539
|
+
path?: never;
|
|
3540
|
+
cookie?: never;
|
|
3541
|
+
};
|
|
3542
|
+
requestBody?: never;
|
|
3543
|
+
responses: {
|
|
3544
|
+
/** @description Effective desktop-notification settings for the selected rooftop. */
|
|
3545
|
+
200: {
|
|
3546
|
+
headers: {
|
|
3547
|
+
"x-correlation-id": components["headers"]["CorrelationId"];
|
|
3548
|
+
[name: string]: unknown;
|
|
3549
|
+
};
|
|
3550
|
+
content: {
|
|
3551
|
+
"application/json": components["schemas"]["DesktopNotificationSettingsResponse"];
|
|
3552
|
+
};
|
|
3553
|
+
};
|
|
3554
|
+
401: components["responses"]["Unauthorized"];
|
|
3555
|
+
403: components["responses"]["Forbidden"];
|
|
3556
|
+
500: components["responses"]["InternalError"];
|
|
3557
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
3558
|
+
};
|
|
3559
|
+
};
|
|
3257
3560
|
createInboxCustomer: {
|
|
3258
3561
|
parameters: {
|
|
3259
3562
|
query?: never;
|
|
@@ -3297,6 +3600,28 @@ export interface operations {
|
|
|
3297
3600
|
503: components["responses"]["ServiceUnavailable"];
|
|
3298
3601
|
};
|
|
3299
3602
|
};
|
|
3603
|
+
recordReachOutCall: {
|
|
3604
|
+
parameters: {
|
|
3605
|
+
query?: never;
|
|
3606
|
+
header: {
|
|
3607
|
+
/** @description Authorized rooftop context. For commands this value must match body.clientOrgId; neither value is trusted without DASH-233 resolution. */
|
|
3608
|
+
"x-client-org-id": components["parameters"]["ClientOrgId"];
|
|
3609
|
+
};
|
|
3610
|
+
path?: never;
|
|
3611
|
+
cookie?: never;
|
|
3612
|
+
};
|
|
3613
|
+
requestBody: components["requestBodies"]["RecordReachOutCallCommand"];
|
|
3614
|
+
responses: {
|
|
3615
|
+
200: components["responses"]["ReachOutCallRecorded"];
|
|
3616
|
+
400: components["responses"]["BadRequest"];
|
|
3617
|
+
401: components["responses"]["Unauthorized"];
|
|
3618
|
+
403: components["responses"]["Forbidden"];
|
|
3619
|
+
404: components["responses"]["NotFound"];
|
|
3620
|
+
409: components["responses"]["Conflict"];
|
|
3621
|
+
500: components["responses"]["InternalError"];
|
|
3622
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3300
3625
|
assignConversation: {
|
|
3301
3626
|
parameters: {
|
|
3302
3627
|
query?: never;
|
|
@@ -3641,6 +3966,69 @@ export interface operations {
|
|
|
3641
3966
|
503: components["responses"]["ServiceUnavailable"];
|
|
3642
3967
|
};
|
|
3643
3968
|
};
|
|
3969
|
+
setDesktopNotificationPreference: {
|
|
3970
|
+
parameters: {
|
|
3971
|
+
query?: never;
|
|
3972
|
+
header: {
|
|
3973
|
+
/** @description Authorized rooftop context. For commands this value must match body.clientOrgId; neither value is trusted without DASH-233 resolution. */
|
|
3974
|
+
"x-client-org-id": components["parameters"]["ClientOrgId"];
|
|
3975
|
+
};
|
|
3976
|
+
path?: never;
|
|
3977
|
+
cookie?: never;
|
|
3978
|
+
};
|
|
3979
|
+
requestBody: components["requestBodies"]["SetDesktopNotificationPreferenceCommand"];
|
|
3980
|
+
responses: {
|
|
3981
|
+
200: components["responses"]["DesktopNotificationPreferenceApplied"];
|
|
3982
|
+
400: components["responses"]["BadRequest"];
|
|
3983
|
+
401: components["responses"]["Unauthorized"];
|
|
3984
|
+
403: components["responses"]["Forbidden"];
|
|
3985
|
+
409: components["responses"]["Conflict"];
|
|
3986
|
+
500: components["responses"]["InternalError"];
|
|
3987
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
3988
|
+
};
|
|
3989
|
+
};
|
|
3990
|
+
registerDesktopPushSubscription: {
|
|
3991
|
+
parameters: {
|
|
3992
|
+
query?: never;
|
|
3993
|
+
header: {
|
|
3994
|
+
/** @description Authorized rooftop context. For commands this value must match body.clientOrgId; neither value is trusted without DASH-233 resolution. */
|
|
3995
|
+
"x-client-org-id": components["parameters"]["ClientOrgId"];
|
|
3996
|
+
};
|
|
3997
|
+
path?: never;
|
|
3998
|
+
cookie?: never;
|
|
3999
|
+
};
|
|
4000
|
+
requestBody: components["requestBodies"]["RegisterDesktopPushSubscriptionCommand"];
|
|
4001
|
+
responses: {
|
|
4002
|
+
200: components["responses"]["DesktopPushSubscriptionRegistered"];
|
|
4003
|
+
400: components["responses"]["BadRequest"];
|
|
4004
|
+
401: components["responses"]["Unauthorized"];
|
|
4005
|
+
403: components["responses"]["Forbidden"];
|
|
4006
|
+
409: components["responses"]["Conflict"];
|
|
4007
|
+
500: components["responses"]["InternalError"];
|
|
4008
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
4009
|
+
};
|
|
4010
|
+
};
|
|
4011
|
+
unregisterDesktopPushSubscription: {
|
|
4012
|
+
parameters: {
|
|
4013
|
+
query?: never;
|
|
4014
|
+
header: {
|
|
4015
|
+
/** @description Authorized rooftop context. For commands this value must match body.clientOrgId; neither value is trusted without DASH-233 resolution. */
|
|
4016
|
+
"x-client-org-id": components["parameters"]["ClientOrgId"];
|
|
4017
|
+
};
|
|
4018
|
+
path?: never;
|
|
4019
|
+
cookie?: never;
|
|
4020
|
+
};
|
|
4021
|
+
requestBody: components["requestBodies"]["UnregisterDesktopPushSubscriptionCommand"];
|
|
4022
|
+
responses: {
|
|
4023
|
+
200: components["responses"]["DesktopPushSubscriptionUnregistered"];
|
|
4024
|
+
400: components["responses"]["BadRequest"];
|
|
4025
|
+
401: components["responses"]["Unauthorized"];
|
|
4026
|
+
403: components["responses"]["Forbidden"];
|
|
4027
|
+
409: components["responses"]["Conflict"];
|
|
4028
|
+
500: components["responses"]["InternalError"];
|
|
4029
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
4030
|
+
};
|
|
4031
|
+
};
|
|
3644
4032
|
resolveInboxMentions: {
|
|
3645
4033
|
parameters: {
|
|
3646
4034
|
query?: never;
|