@sylphx/sdk 0.32.11 → 0.32.17

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 (44) hide show
  1. package/README.md +50 -3
  2. package/dist/access.d.ts +12 -2
  3. package/dist/access.js +5 -1
  4. package/dist/access.js.map +1 -1
  5. package/dist/agents.d.ts +5 -1
  6. package/dist/agents.js.map +1 -1
  7. package/dist/artifacts.d.ts +107 -0
  8. package/dist/artifacts.js +111 -0
  9. package/dist/artifacts.js.map +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/data.d.ts +6 -2
  12. package/dist/data.js +6 -2
  13. package/dist/data.js.map +1 -1
  14. package/dist/ids.d.ts +40 -0
  15. package/dist/ids.js +8 -0
  16. package/dist/ids.js.map +1 -1
  17. package/dist/methods.js +346 -0
  18. package/dist/methods.js.map +1 -1
  19. package/dist/notify.d.ts +1331 -1
  20. package/dist/notify.js +970 -1
  21. package/dist/notify.js.map +1 -1
  22. package/dist/observability.d.ts +1 -1
  23. package/dist/observability.js +1 -1
  24. package/dist/runtime.js +2 -0
  25. package/dist/runtime.js.map +1 -1
  26. package/dist/sandboxes.d.ts +7 -7
  27. package/dist/sandboxes.js +5 -5
  28. package/dist/sign-in/contract.d.ts +46 -0
  29. package/dist/sign-in/contract.js +66 -0
  30. package/dist/sign-in/contract.js.map +1 -0
  31. package/dist/sign-in/form.d.ts +4 -0
  32. package/dist/sign-in/form.js +293 -0
  33. package/dist/sign-in/form.js.map +1 -0
  34. package/dist/sign-in/passkey.d.ts +6 -0
  35. package/dist/sign-in/passkey.js +91 -0
  36. package/dist/sign-in/passkey.js.map +1 -0
  37. package/dist/sign-in/provider-icons.d.ts +44 -0
  38. package/dist/sign-in/provider-icons.js +83 -0
  39. package/dist/sign-in/provider-icons.js.map +1 -0
  40. package/dist/sign-in.css +5 -0
  41. package/dist/sign-in.d.ts +2 -0
  42. package/dist/sign-in.js +4 -0
  43. package/dist/sign-in.js.map +1 -0
  44. package/package.json +23 -4
package/dist/notify.d.ts CHANGED
@@ -19,11 +19,52 @@ export interface ApplyPhoneNumberRouteRequest {
19
19
  /** Validate without provider or database mutation. */
20
20
  validateOnly?: boolean;
21
21
  }
22
+ /** Request for ApplySupportDecision. */
23
+ export interface ApplySupportDecisionRequest {
24
+ /** Canonical resource name, checked against the caller grant. */
25
+ name: string;
26
+ /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
27
+ expectedVersion: string;
28
+ /** Stable UUID for this logical operation. */
29
+ requestId?: string;
30
+ /** Validate without changing state or contacting an effect provider. */
31
+ validateOnly?: boolean;
32
+ /** Observed primary state; also checked against authoritative storage. */
33
+ before?: SupportCaseState;
34
+ /** Complete new decision; omitting an unresolved track is refused. */
35
+ after: SupportDecision;
36
+ /** Spam disposition; only authenticated verdicts clear suppression. */
37
+ spam?: SupportSpamDisposition;
38
+ /** Source proof for imported pending customer waits. */
39
+ pendingProof?: SupportPendingProof;
40
+ /** Immutable signal/decision identity for replay and audit. */
41
+ sourceKey?: string;
42
+ }
22
43
  /** The request of ArchiveInboxItem. */
23
44
  export interface ArchiveInboxItemRequest {
24
45
  /** The name of the inbox item. */
25
46
  name: string;
26
47
  }
48
+ /** Request for BeginSupportActionAttempt. */
49
+ export interface BeginSupportActionAttemptRequest {
50
+ /** Canonical resource name, checked against the caller grant. */
51
+ name: string;
52
+ /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
53
+ expectedVersion: string;
54
+ /** Stable UUID for this logical operation. */
55
+ requestId?: string;
56
+ /** Validate without changing state or contacting an effect provider. */
57
+ validateOnly?: boolean;
58
+ }
59
+ /** Fenced dispatch ownership; it is not a delivery receipt. */
60
+ export interface BeginSupportActionAttemptResponse {
61
+ /** Current action and version. */
62
+ action?: SupportAction;
63
+ /** Unique attempt identity; settlement must match it. */
64
+ attemptId?: string;
65
+ /** Claim expiry; expiry means unknown outcome, never safe retry. */
66
+ claimExpireTime?: string;
67
+ }
27
68
  /**
28
69
  * A Broadcast sends one template to a segment of recipients, fired by a
29
70
  * Workflows Schedule. Every recipient still passes suppression and
@@ -100,6 +141,17 @@ export interface ChannelDelivery {
100
141
  /** Hand-off attempts so far. */
101
142
  readonly attempts?: number;
102
143
  }
144
+ /** Configure the number's voicemail. No carrier-number writes occur. */
145
+ export interface ConfigureSmsNumberVoicemailRequest {
146
+ /** The number resource. */
147
+ name: string;
148
+ /** Plain-text greeting spoken before recording. */
149
+ greeting: string;
150
+ /** Content retention, 1–30 days. */
151
+ retentionDays: number;
152
+ /** Maximum recording duration, 10–180 whole seconds (for example, "120s"). */
153
+ maxRecordingDuration: string;
154
+ }
103
155
  /** Connect an existing owned line; no provider mutation occurs. */
104
156
  export interface ConnectPhoneNumberRequest {
105
157
  /** Tenant environment. */
@@ -243,6 +295,62 @@ export interface CreateSmsNumberRequest {
243
295
  /** The binding to create. */
244
296
  smsNumber: SmsNumber;
245
297
  }
298
+ /** Request to create a SupportAction. */
299
+ export interface CreateSupportActionRequest {
300
+ /** Authenticated parent scope. */
301
+ parent: string;
302
+ /** Record to admit; actor and output fields are derived by the service. */
303
+ supportAction: SupportAction;
304
+ /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
305
+ supportActionId?: string;
306
+ /** UUID request identity, stable across transport retries. */
307
+ requestId?: string;
308
+ /** Validate without admitting a case, message or effect. */
309
+ validateOnly?: boolean;
310
+ /** Case aggregate version observed by the caller. */
311
+ expectedVersion: string;
312
+ }
313
+ /** Request to create a SupportCase. */
314
+ export interface CreateSupportCaseRequest {
315
+ /** Authenticated parent scope. */
316
+ parent: string;
317
+ /** Record to admit; actor and output fields are derived by the service. */
318
+ supportCase: SupportCase;
319
+ /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
320
+ supportCaseId?: string;
321
+ /** UUID request identity, stable across transport retries. */
322
+ requestId?: string;
323
+ /** Validate without admitting a case, message or effect. */
324
+ validateOnly?: boolean;
325
+ }
326
+ /** Request to create a SupportInbox. */
327
+ export interface CreateSupportInboxRequest {
328
+ /** Authenticated parent scope. */
329
+ parent: string;
330
+ /** Record to admit; actor and output fields are derived by the service. */
331
+ supportInbox: SupportInbox;
332
+ /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
333
+ supportInboxId?: string;
334
+ /** UUID request identity, stable across transport retries. */
335
+ requestId?: string;
336
+ /** Validate without admitting a case, message or effect. */
337
+ validateOnly?: boolean;
338
+ }
339
+ /** Request to create a SupportThreadMessage. */
340
+ export interface CreateSupportThreadMessageRequest {
341
+ /** Authenticated parent scope. */
342
+ parent: string;
343
+ /** Record to admit; actor and output fields are derived by the service. */
344
+ supportThreadMessage: SupportThreadMessage;
345
+ /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
346
+ supportThreadMessageId?: string;
347
+ /** UUID request identity, stable across transport retries. */
348
+ requestId?: string;
349
+ /** Validate without admitting a case, message or effect. */
350
+ validateOnly?: boolean;
351
+ /** Case aggregate version observed by the caller. */
352
+ expectedVersion: string;
353
+ }
246
354
  /** The request of CreateSuppression. */
247
355
  export interface CreateSuppressionRequest {
248
356
  /** The parent to create in. */
@@ -419,6 +527,18 @@ export interface DnsRecord {
419
527
  /** The MX preference; zero for other record types. */
420
528
  readonly priority?: number;
421
529
  }
530
+ /** Download one retained voicemail recording. */
531
+ export interface DownloadInboundMessageRequest {
532
+ /** The message resource. */
533
+ name: string;
534
+ }
535
+ /** Bounded WAV audio, never a public carrier download URL. */
536
+ export interface DownloadInboundMessageResponse {
537
+ /** audio/wav. */
538
+ mimeType?: string;
539
+ /** Audio bytes, base64 in JSON. */
540
+ body?: string;
541
+ }
422
542
  /** Email content; bodies are Mustache templates. */
423
543
  export interface EmailContent {
424
544
  /** The From address; its domain is a verified Email Domain. */
@@ -520,6 +640,11 @@ export interface GetInboundEmailRequest {
520
640
  /** The name of the inbound email to get. */
521
641
  name: string;
522
642
  }
643
+ /** Get a unified inbox entry. */
644
+ export interface GetInboundMessageRequest {
645
+ /** The message resource. */
646
+ name: string;
647
+ }
523
648
  /** The request of GetInboundSms. */
524
649
  export interface GetInboundSmsRequest {
525
650
  /** The name of the inbound SMS to get. */
@@ -585,6 +710,36 @@ export interface GetSmsNumberRequest {
585
710
  /** The name of the binding to get. */
586
711
  name: string;
587
712
  }
713
+ /** Request to get a SupportAction. */
714
+ export interface GetSupportActionRequest {
715
+ /** Canonical resource name. */
716
+ name: string;
717
+ }
718
+ /** Request to get a SupportAuditEvent. */
719
+ export interface GetSupportAuditEventRequest {
720
+ /** Canonical resource name. */
721
+ name: string;
722
+ }
723
+ /** Request to get a SupportCase. */
724
+ export interface GetSupportCaseRequest {
725
+ /** Canonical resource name. */
726
+ name: string;
727
+ }
728
+ /** Request to get a SupportInbox. */
729
+ export interface GetSupportInboxRequest {
730
+ /** Canonical resource name. */
731
+ name: string;
732
+ }
733
+ /** Request to get a SupportReconciliation. */
734
+ export interface GetSupportReconciliationRequest {
735
+ /** Canonical resource name. */
736
+ name: string;
737
+ }
738
+ /** Request to get a SupportThreadMessage. */
739
+ export interface GetSupportThreadMessageRequest {
740
+ /** Canonical resource name. */
741
+ name: string;
742
+ }
588
743
  /** The request of GetSuppression. */
589
744
  export interface GetSuppressionRequest {
590
745
  /** The name of the suppression to get. */
@@ -595,6 +750,44 @@ export interface GetTemplateRequest {
595
750
  /** The name of the template to get. */
596
751
  name: string;
597
752
  }
753
+ /** Bounded, auditable history import by the owning service writer. */
754
+ export interface ImportSupportCasesRequest {
755
+ /** Authenticated destination environment. */
756
+ parent: string;
757
+ /** Stable source namespace and migration run identity. */
758
+ source?: string;
759
+ /** Original case records and typed projections; at most 500. */
760
+ supportCases?: SupportCase[];
761
+ /** Original thread records, including internal messages and erasure tombstones. */
762
+ messages?: SupportThreadMessage[];
763
+ /**
764
+ * Original actions/keys/receipts; ambiguous prior sends remain UNCERTAIN.
765
+ * Suppression never blocks inert CANCELLED/SUCCEEDED/UNCERTAIN history;
766
+ * import admits no PENDING/IN_FLIGHT action under suppression and sends nothing.
767
+ */
768
+ actions?: SupportAction[];
769
+ /** Original audit records; absent historical versions are not invented. */
770
+ auditEvents?: SupportAuditEvent[];
771
+ /** Full source-record hash of this batch; changed replay is refused. */
772
+ sourceSha256?: string;
773
+ /** Stable UUID for this batch. */
774
+ requestId?: string;
775
+ /** Validate and compare without writing. */
776
+ validateOnly?: boolean;
777
+ }
778
+ /** Losslessness receipt; exceptions keep an incomplete case from authoritative scheduling. */
779
+ export interface ImportSupportCasesResponse {
780
+ /** Source namespace echoed for verification. */
781
+ source?: string;
782
+ /** Inserted records, counted across every supplied kind. */
783
+ imported?: string;
784
+ /** Exact unchanged replays; no duplicate effect is created. */
785
+ replayed?: string;
786
+ /** Full canonical destination batch hash. */
787
+ targetSha256?: string;
788
+ /** Every missing classification/proof/source mismatch, not a truncated sample. */
789
+ exceptions?: SupportReconciliationException[];
790
+ }
598
791
  /**
599
792
  * An Inbound Email is one mail a mailbox holds, received or sent, kept as
600
793
  * evidence: parsed once, never changed except by erasure. Consumers read the
@@ -653,6 +846,40 @@ export interface InboundEmail {
653
846
  /** The Notify Message that sent it, for mail Notify sent as this mailbox. */
654
847
  readonly message?: string;
655
848
  }
849
+ /** The unified SMS and voice inbox, ordered by its resumable sequence. */
850
+ export interface InboundMessage {
851
+ /** `orgs/{org}/projects/{project}/envs/{env}/sms_numbers/{sms_number}/inbound_messages/{inbound_message}`. */
852
+ name?: string;
853
+ /** Stable identifier; existing SMS identifiers are preserved. */
854
+ readonly uid?: string;
855
+ /** Resource metadata. */
856
+ meta?: common.ResourceMeta;
857
+ /**
858
+ * The feed position, advancing when content changes within the environment; filter
859
+ * `sequence > N` to resume after the last one handled.
860
+ */
861
+ readonly sequence?: string;
862
+ /** The carrier's id for this message; the dedupe key on the number binding. */
863
+ readonly carrierMessageId?: string;
864
+ /** The sender, in E.164 when the carrier gave one. */
865
+ readonly senderNumber?: string;
866
+ /** The number the message was sent to, in E.164. */
867
+ readonly recipientNumber?: string;
868
+ /** SMS text or the completed voicemail transcript. Empty after retention. */
869
+ readonly text?: string;
870
+ /** SMS segments; not applicable to voice. */
871
+ readonly segments?: number;
872
+ /** When the carrier says it received the message. */
873
+ readonly receiveTime?: string;
874
+ /** The text has been cleared by retention; the dedupe key stays. */
875
+ readonly cleared?: boolean;
876
+ /** sms or voice. */
877
+ readonly channel?: string;
878
+ /** Call and recording metadata; present only for voice. */
879
+ readonly voice?: VoiceMessage;
880
+ /** Deadline for recording and transcript deletion. */
881
+ readonly expireTime?: string;
882
+ }
656
883
  /**
657
884
  * An Inbound SMS is one text a bound number received, kept as evidence. The
658
885
  * body is cleared when the environment's tier retention expires; the carrier's
@@ -717,6 +944,25 @@ export interface InboxItem {
717
944
  /** Read, unread, or archived. */
718
945
  readonly state?: InboxItemState;
719
946
  }
947
+ /** Request for IngestSupportSignal. */
948
+ export interface IngestSupportSignalRequest {
949
+ /** Canonical resource name, checked against the caller grant. */
950
+ name: string;
951
+ /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
952
+ expectedVersion: string;
953
+ /** Stable UUID for this logical operation. */
954
+ requestId?: string;
955
+ /** Validate without changing state or contacting an effect provider. */
956
+ validateOnly?: boolean;
957
+ /** Typed, verified signal; customer text is evidence, never authority. */
958
+ signal?: SupportDecisionReason;
959
+ /** Immutable source-scoped event identity. */
960
+ sourceKey: string;
961
+ /** Protected evidence references; never plaintext credentials. */
962
+ evidence?: SupportEvidence[];
963
+ /** Source-reported time used for intake latency verification. */
964
+ receiveTime: string;
965
+ }
720
966
  /** The request of ListBroadcasts. */
721
967
  export interface ListBroadcastsRequest {
722
968
  /** The parent to list in. */
@@ -777,6 +1023,26 @@ export interface ListInboundEmailsResponse {
777
1023
  /** The token of the next page; empty on the last page. */
778
1024
  nextPageToken?: string;
779
1025
  }
1026
+ /** List the unified inbox. */
1027
+ export interface ListInboundMessagesRequest {
1028
+ /** The number whose inbox to read. */
1029
+ parent: string;
1030
+ /** Default 50; at most 1000. */
1031
+ pageSize?: number;
1032
+ /** A previous page's continuation token. */
1033
+ pageToken?: string;
1034
+ /** sequence > N, optionally AND sender_number = "…". */
1035
+ filter?: string;
1036
+ /** sequence, oldest first. */
1037
+ orderBy?: string;
1038
+ }
1039
+ /** The unified inbox page. */
1040
+ export interface ListInboundMessagesResponse {
1041
+ /** Messages in sequence order. */
1042
+ inboundMessages?: InboundMessage[];
1043
+ /** Empty on the last page. */
1044
+ nextPageToken?: string;
1045
+ }
780
1046
  /** The request of ListInboundSms. */
781
1047
  export interface ListInboundSmsRequest {
782
1048
  /** The number binding to list in. */
@@ -1029,6 +1295,126 @@ export interface ListSmsNumbersResponse {
1029
1295
  /** The token of the next page; empty on the last page. */
1030
1296
  nextPageToken?: string;
1031
1297
  }
1298
+ /** Request to list support_actions. */
1299
+ export interface ListSupportActionsRequest {
1300
+ /** Authenticated parent scope. */
1301
+ parent: string;
1302
+ /** Maximum rows; default 50, at most 200. */
1303
+ pageSize?: number;
1304
+ /** Opaque continuation bound to the same scope and filter. */
1305
+ pageToken?: string;
1306
+ /** AIP-160 filter; cannot widen caller visibility. */
1307
+ filter?: string;
1308
+ /** Stable ordering, with resource identity as the final tie-breaker. */
1309
+ orderBy?: string;
1310
+ }
1311
+ /** A page of scoped support_actions. */
1312
+ export interface ListSupportActionsResponse {
1313
+ /** Visible records only. */
1314
+ supportActions?: SupportAction[];
1315
+ /** Continuation; empty only after the final page. */
1316
+ nextPageToken?: string;
1317
+ }
1318
+ /** Request to list support_audit_events. */
1319
+ export interface ListSupportAuditEventsRequest {
1320
+ /** Authenticated parent scope. */
1321
+ parent: string;
1322
+ /** Maximum rows; default 50, at most 200. */
1323
+ pageSize?: number;
1324
+ /** Opaque continuation bound to the same scope and filter. */
1325
+ pageToken?: string;
1326
+ /** AIP-160 filter; cannot widen caller visibility. */
1327
+ filter?: string;
1328
+ /** Stable ordering, with resource identity as the final tie-breaker. */
1329
+ orderBy?: string;
1330
+ }
1331
+ /** A page of scoped support_audit_events. */
1332
+ export interface ListSupportAuditEventsResponse {
1333
+ /** Visible records only. */
1334
+ supportAuditEvents?: SupportAuditEvent[];
1335
+ /** Continuation; empty only after the final page. */
1336
+ nextPageToken?: string;
1337
+ }
1338
+ /** Request to list support_cases. */
1339
+ export interface ListSupportCasesRequest {
1340
+ /** Authenticated parent scope. */
1341
+ parent: string;
1342
+ /** Maximum rows; default 50, at most 200. */
1343
+ pageSize?: number;
1344
+ /** Opaque continuation bound to the same scope and filter. */
1345
+ pageToken?: string;
1346
+ /** AIP-160 filter; cannot widen caller visibility. */
1347
+ filter?: string;
1348
+ /** Stable ordering, with resource identity as the final tie-breaker. */
1349
+ orderBy?: string;
1350
+ }
1351
+ /** A page of scoped support_cases. */
1352
+ export interface ListSupportCasesResponse {
1353
+ /** Visible records only. */
1354
+ supportCases?: SupportCase[];
1355
+ /** Continuation; empty only after the final page. */
1356
+ nextPageToken?: string;
1357
+ }
1358
+ /** Request to list support_inboxes. */
1359
+ export interface ListSupportInboxesRequest {
1360
+ /** Authenticated parent scope. */
1361
+ parent: string;
1362
+ /** Maximum rows; default 50, at most 200. */
1363
+ pageSize?: number;
1364
+ /** Opaque continuation bound to the same scope and filter. */
1365
+ pageToken?: string;
1366
+ /** AIP-160 filter; cannot widen caller visibility. */
1367
+ filter?: string;
1368
+ /** Stable ordering, with resource identity as the final tie-breaker. */
1369
+ orderBy?: string;
1370
+ }
1371
+ /** A page of scoped support_inboxes. */
1372
+ export interface ListSupportInboxesResponse {
1373
+ /** Visible records only. */
1374
+ supportInboxes?: SupportInbox[];
1375
+ /** Continuation; empty only after the final page. */
1376
+ nextPageToken?: string;
1377
+ }
1378
+ /** Request to list support_reconciliations. */
1379
+ export interface ListSupportReconciliationsRequest {
1380
+ /** Authenticated parent scope. */
1381
+ parent: string;
1382
+ /** Maximum rows; default 50, at most 200. */
1383
+ pageSize?: number;
1384
+ /** Opaque continuation bound to the same scope and filter. */
1385
+ pageToken?: string;
1386
+ /** AIP-160 filter; cannot widen caller visibility. */
1387
+ filter?: string;
1388
+ /** Stable ordering, with resource identity as the final tie-breaker. */
1389
+ orderBy?: string;
1390
+ }
1391
+ /** A page of scoped support_reconciliations. */
1392
+ export interface ListSupportReconciliationsResponse {
1393
+ /** Visible records only. */
1394
+ supportReconciliations?: SupportReconciliation[];
1395
+ /** Continuation; empty only after the final page. */
1396
+ nextPageToken?: string;
1397
+ }
1398
+ /** Request to list support_thread_messages. */
1399
+ export interface ListSupportThreadMessagesRequest {
1400
+ /** Authenticated parent scope. */
1401
+ parent: string;
1402
+ /** Maximum rows; default 50, at most 200. */
1403
+ pageSize?: number;
1404
+ /** Opaque continuation bound to the same scope and filter. */
1405
+ pageToken?: string;
1406
+ /** AIP-160 filter; cannot widen caller visibility. */
1407
+ filter?: string;
1408
+ /** Stable ordering, with resource identity as the final tie-breaker. */
1409
+ orderBy?: string;
1410
+ }
1411
+ /** A page of scoped support_thread_messages. */
1412
+ export interface ListSupportThreadMessagesResponse {
1413
+ /** Visible records only. */
1414
+ supportThreadMessages?: SupportThreadMessage[];
1415
+ /** Continuation; empty only after the final page. */
1416
+ nextPageToken?: string;
1417
+ }
1032
1418
  /** The request of ListSuppressions. */
1033
1419
  export interface ListSuppressionsRequest {
1034
1420
  /** The parent to list in. */
@@ -1662,6 +2048,32 @@ export interface Recipient {
1662
2048
  */
1663
2049
  test?: boolean;
1664
2050
  }
2051
+ /** Request for ReconcileSupportAction. */
2052
+ export interface ReconcileSupportActionRequest {
2053
+ /** Canonical resource name, checked against the caller grant. */
2054
+ name: string;
2055
+ /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
2056
+ expectedVersion: string;
2057
+ /** Stable UUID for this logical operation. */
2058
+ requestId?: string;
2059
+ /** Validate without changing state or contacting an effect provider. */
2060
+ validateOnly?: boolean;
2061
+ }
2062
+ /** Request for RecordSupportActionReceipt. */
2063
+ export interface RecordSupportActionReceiptRequest {
2064
+ /** Canonical resource name, checked against the caller grant. */
2065
+ name: string;
2066
+ /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
2067
+ expectedVersion: string;
2068
+ /** Stable UUID for this logical operation. */
2069
+ requestId?: string;
2070
+ /** Validate without changing state or contacting an effect provider. */
2071
+ validateOnly?: boolean;
2072
+ /** Authenticated envelope bound to the action key and payload hash. */
2073
+ receipt: SupportActionReceipt;
2074
+ /** Fenced attempt identity returned by BeginSupportActionAttempt; mismatches are refused. */
2075
+ attemptId: string;
2076
+ }
1665
2077
  /** Registers one device without replacing the recipient's other devices. */
1666
2078
  export interface RegisterPushDeviceRequest {
1667
2079
  /** The recipient to register for. */
@@ -1685,6 +2097,26 @@ export interface RegisterPushDeviceResponse {
1685
2097
  /** Exact registration epoch, encoded as a decimal string in JSON. */
1686
2098
  readonly registrationGeneration?: string;
1687
2099
  }
2100
+ /** Request for RevealSupportRequester. */
2101
+ export interface RevealSupportRequesterRequest {
2102
+ /** Canonical resource name, checked against the caller grant. */
2103
+ name: string;
2104
+ /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
2105
+ expectedVersion: string;
2106
+ /** Stable UUID for this logical operation. */
2107
+ requestId?: string;
2108
+ /** Validate without changing state or contacting an effect provider. */
2109
+ validateOnly?: boolean;
2110
+ /** Purpose of accessing unmasked personal data. */
2111
+ reason: string;
2112
+ }
2113
+ /** Protected requester disclosure; never returned in ordinary lists. */
2114
+ export interface RevealSupportRequesterResponse {
2115
+ /** Unmasked source identity, possibly a synthetic channel address. */
2116
+ identity?: string;
2117
+ /** Audit record of this access. */
2118
+ auditEvent?: string;
2119
+ }
1688
2120
  /**
1689
2121
  * A Route sends the mail a receiving Email Domain accepts for one address, a
1690
2122
  * pattern of addresses, or every other address to actions: deliver to
@@ -1745,6 +2177,23 @@ export interface RouteStatus {
1745
2177
  /** Ready, Reconciling, Stalled. */
1746
2178
  readonly conditions?: common.Condition[];
1747
2179
  }
2180
+ /** On-demand reconciliation; execution is invoked by the existing workflow authority. */
2181
+ export interface RunSupportReconciliationRequest {
2182
+ /** Authenticated environment scope. */
2183
+ parent: string;
2184
+ /** Population/pass type. */
2185
+ kind?: SupportReconciliationKind;
2186
+ /** Queue resource whose full population is covered. */
2187
+ inbox?: string;
2188
+ /** Stable pass identity; repeated invocation resumes the same pass. */
2189
+ requestId?: string;
2190
+ /** Continuation of the same snapshot, not a new empty population. */
2191
+ pageToken?: string;
2192
+ /** Maximum cases per bounded transaction; default 200, at most 500. */
2193
+ pageSize?: number;
2194
+ /** Validate scope without running or scheduling the pass. */
2195
+ validateOnly?: boolean;
2196
+ }
1748
2197
  /** The request of SendBroadcast. */
1749
2198
  export interface SendBroadcastRequest {
1750
2199
  /** The name of the broadcast. */
@@ -1867,6 +2316,18 @@ export interface SmsNumberStatus {
1867
2316
  readonly upfrontCost?: string;
1868
2317
  /** Accepted monthly price in USD. */
1869
2318
  readonly monthlyCost?: string;
2319
+ /** Desired voicemail behavior. Configuring this does not attach the line. */
2320
+ readonly voicemail?: VoicemailConfig;
2321
+ /**
2322
+ * Readback-verified standalone Call Control application. The line's owner
2323
+ * attaches it separately; Notify never changes a DID's voice configuration.
2324
+ */
2325
+ readonly voiceApplicationId?: string;
2326
+ /**
2327
+ * Safe provisioning error. Definite refusals are retryable after inventory
2328
+ * readback; an unknown create outcome is never blindly repeated.
2329
+ */
2330
+ readonly voiceApplicationError?: string;
1870
2331
  }
1871
2332
  /** An SMS origin. */
1872
2333
  export interface SmsSender {
@@ -1877,6 +2338,500 @@ export interface SmsSender {
1877
2338
  /** CLDR region codes the origin is registered for. */
1878
2339
  regionCodes?: string[];
1879
2340
  }
2341
+ /**
2342
+ * SupportAction is the case's business intent ledger, NOT an email outbox or
2343
+ * notify_deliveries row. Transport changes never mutate this record implicitly.
2344
+ * Stable keys and payload hashes survive all attempts, uncertain outcomes and
2345
+ * migration. Exactly-once visible results require duplicate-safe transport AND
2346
+ * authoritative provider/tenant reconciliation, not exactly-once HTTP delivery.
2347
+ */
2348
+ export interface SupportAction {
2349
+ /** Canonical action name. */
2350
+ name?: string;
2351
+ /** Immutable identity. */
2352
+ readonly uid?: string;
2353
+ /** Strong ETag and creation/update times. */
2354
+ meta?: common.ResourceMeta;
2355
+ /** Exact stable caller/source key; never replaced on retry or cutover. */
2356
+ idempotencyKey?: string;
2357
+ /** SHA-256 of immutable admitted intent bytes; changed-key reuse is refused. */
2358
+ payloadSha256?: string;
2359
+ /** Related action/issue track in the same case. */
2360
+ trackId?: string;
2361
+ /** Business state, independently versioned from the transport. */
2362
+ readonly state?: SupportActionState;
2363
+ /** Optimistic concurrency version of the business action. */
2364
+ readonly version?: string;
2365
+ /** Authenticated creator or admitting workload. */
2366
+ readonly actor?: SupportActor;
2367
+ /** Reply using an existing channel authority. */
2368
+ reply?: SupportChannelReply;
2369
+ /** Request the tenant's own remedy API; Support never writes product data. */
2370
+ remedy?: SupportRemedyRequest;
2371
+ /** Notify an accountable reviewer through an existing API. */
2372
+ escalation?: SupportEscalation;
2373
+ /** Latest authoritative receipt; dispatch/admission alone is not completion. */
2374
+ readonly receipt?: SupportActionReceipt;
2375
+ /** Cause and unknown effect are separate facts. */
2376
+ readonly failureCause?: string;
2377
+ /** Next permitted reconciliation/query time; UNKNOWN never means resend. */
2378
+ readonly reconcileTime?: string;
2379
+ /** Source outbox ID/key/payload/leases/attempts retained as protected evidence. */
2380
+ sourceRecords?: SupportSourceRecord[];
2381
+ /** Current dispatch attempt number; advances only on a new fenced claim. */
2382
+ readonly attemptCount?: number;
2383
+ /**
2384
+ * Storage-owned monotonic generation, incremented on each entry to UNCERTAIN.
2385
+ * A reconciliation receipt must resolve this exact episode and attempt.
2386
+ */
2387
+ readonly uncertaintyEpisode?: string;
2388
+ }
2389
+ /**
2390
+ * SupportActionReceipt is an immutable observation, linked to an authority's
2391
+ * own receipt. A receipt envelope is verified before storage; strings supplied
2392
+ * by a model/customer do not establish delivery, authorization or absence.
2393
+ */
2394
+ export interface SupportActionReceipt {
2395
+ /** Stable source receipt identity; conflicting replay is refused. */
2396
+ id?: string;
2397
+ /** Public authority that executed or queried the effect. */
2398
+ authority?: string;
2399
+ /** Public receipt resource, not a foreign database row or signed credential URL. */
2400
+ resource?: string;
2401
+ /** The action's unchanged stable key. */
2402
+ idempotencyKey?: string;
2403
+ /** Binds the receipt to the exact immutable action payload. */
2404
+ payloadSha256?: string;
2405
+ /** Confirmed applied, confirmed absent, unknown or rejected. */
2406
+ outcome?: SupportEffectOutcome;
2407
+ /** Provider delivery/message ID or tenant remedy receipt identity. */
2408
+ externalEffectId?: string;
2409
+ /** Authoritative observation time. */
2410
+ observeTime?: string;
2411
+ /** True only for a query-first reconciliation observation, not initial dispatch. */
2412
+ reconciliation?: boolean;
2413
+ /** Original envelope/evidence supporting verification. */
2414
+ evidence?: SupportEvidence[];
2415
+ /** Exact attempt observed, including zero for imported never-claimed uncertainty. */
2416
+ attemptNo?: number;
2417
+ /**
2418
+ * Exact uncertainty episode queried; zero for a non-reconciliation receipt.
2419
+ * A new episode always requires a new authenticated query and receipt.
2420
+ */
2421
+ uncertaintyEpisode?: string;
2422
+ }
2423
+ /**
2424
+ * SupportActor is derived from the authenticated caller or verified ingress.
2425
+ * Claimed customer text can never select the actor, decider or delegated grant.
2426
+ */
2427
+ export interface SupportActor {
2428
+ /** Acting Access principal or authenticated external source identity. */
2429
+ principal?: string;
2430
+ /** Delegating principal, when the grant records one. */
2431
+ delegatedFor?: string;
2432
+ /** Public source authority for a workload or channel event. */
2433
+ authority?: string;
2434
+ }
2435
+ /**
2436
+ * SupportAuditEvent journals a typed state transition or scheduling exception.
2437
+ * It is append-only apart from authorized personal-data erasure of evidence;
2438
+ * actor, before/after, versions and source identities are never fabricated.
2439
+ */
2440
+ export interface SupportAuditEvent {
2441
+ /** Canonical audit name. */
2442
+ name?: string;
2443
+ /** Immutable identity. */
2444
+ readonly uid?: string;
2445
+ /** Committed timestamps. */
2446
+ meta?: common.ResourceMeta;
2447
+ /** Verified actor/decider for this event. */
2448
+ actor?: SupportActor;
2449
+ /** Previous complete primary decision, including tracks and deadlines. */
2450
+ before?: SupportDecision;
2451
+ /** New complete primary decision. */
2452
+ after?: SupportDecision;
2453
+ /** Previous aggregate version, checked before applying the event. */
2454
+ beforeVersion?: string;
2455
+ /** New aggregate version; exactly before_version + 1 for a transition. */
2456
+ version?: string;
2457
+ /** Source event key; repeated delivery cannot create another transition. */
2458
+ sourceKey?: string;
2459
+ /** Typed overdue fact, when this is a due-scan event instead of a transition. */
2460
+ overdue?: SupportOverdue;
2461
+ /** Protected original historical event, when importing old audit without versions. */
2462
+ sourceRecords?: SupportSourceRecord[];
2463
+ }
2464
+ /**
2465
+ * A SupportCase has one primary state and independently linked issue/action
2466
+ * tracks. The case aggregate version serializes decisions across all tracks.
2467
+ * No API or resource name contains a deployment, database or provider address.
2468
+ */
2469
+ export interface SupportCase {
2470
+ /** The canonical resource name. */
2471
+ name?: string;
2472
+ /** Immutable platform identity. */
2473
+ readonly uid?: string;
2474
+ /** Strong ETag and common metadata. */
2475
+ meta?: common.ResourceMeta;
2476
+ /** The queue owning this case. */
2477
+ inbox?: string;
2478
+ /** Original customer-visible case number, including legacy CS numbers. */
2479
+ displayNumber?: string;
2480
+ /** Case subject; untrusted customer content. */
2481
+ subject?: string;
2482
+ /** Masked case-scoped requester snapshot; Knowledge owns mutable contacts. */
2483
+ requester?: SupportRequester;
2484
+ /** Tenant product/account reference. It conveys no verified account ownership. */
2485
+ tenantSubject?: string;
2486
+ /** Current primary decision, including the required owner and next action. */
2487
+ decision?: SupportDecision;
2488
+ /** Aggregate version; every accepted decision increments it exactly once. */
2489
+ readonly version?: string;
2490
+ /** First source-reported received time, preserved through import. */
2491
+ receiveTime?: string;
2492
+ /** Most recent committed intake time; compared with the inbox intake bound. */
2493
+ readonly intakeTime?: string;
2494
+ /** Exact source identities and protected full-record evidence references. */
2495
+ sourceRecords?: SupportSourceRecord[];
2496
+ /** Raw source state/priority/category are preserved rather than collapsed. */
2497
+ sourceState?: string;
2498
+ /** Case-level priority is separate from state and issue classification. */
2499
+ priority?: string;
2500
+ /** Last inbound activity, if known. */
2501
+ lastInboundTime?: string;
2502
+ /** Last confirmed outbound activity, if known. */
2503
+ lastOutboundTime?: string;
2504
+ /** Last activity, including internal notes. */
2505
+ lastActivityTime?: string;
2506
+ /** Original resolution time, if known; FINAL_NO_REPLY is still ingestible. */
2507
+ resolveTime?: string;
2508
+ /** Source evidence, including admission-refused/automated records when linked. */
2509
+ evidence?: SupportEvidence[];
2510
+ /** Spam suppression survives incoming evidence/payment/notices until a verdict. */
2511
+ spam?: SupportSpamDisposition;
2512
+ /** Required migration proof before legacy pending may mean WAITING_CUSTOMER. */
2513
+ pendingProof?: SupportPendingProof;
2514
+ }
2515
+ /**
2516
+ * A SupportChannel retains the configuration from an inbox's channel link.
2517
+ * Provider credentials, provider conversations and delivery execution remain
2518
+ * with the channel authority. No inbound event may have two business custodians.
2519
+ */
2520
+ export interface SupportChannel {
2521
+ /** Stable channel-link identity within the inbox. */
2522
+ id?: string;
2523
+ /** Immutable source identity of this configuration record. */
2524
+ uid?: string;
2525
+ /** Human-readable channel label. */
2526
+ displayName?: string;
2527
+ /** Public transport resource or authenticated ingress endpoint. */
2528
+ transport?: string;
2529
+ /** Exact canonical origins; an empty list never means wildcard browser access. */
2530
+ allowedOrigins?: string[];
2531
+ /** Whether platform-issued anonymous sessions may enter this browser channel. */
2532
+ anonymousAllowed?: boolean;
2533
+ /** Whether new intake is admitted; disabling never drops accepted events. */
2534
+ enabled?: boolean;
2535
+ /** Source metadata, not an authorization mechanism. */
2536
+ labels?: Record<string, string>;
2537
+ /** Unindexed source annotations. */
2538
+ annotations?: Record<string, string>;
2539
+ /** Configuration revision, independent of case and delivery versions. */
2540
+ version?: string;
2541
+ /** Original creation time. */
2542
+ createTime?: string;
2543
+ /** Last configuration change. */
2544
+ updateTime?: string;
2545
+ /** Channel class: browser, email, social or product; credentials stay external. */
2546
+ kind?: string;
2547
+ }
2548
+ /** SupportChannelReply names an existing transport. No provider key is exposed. */
2549
+ export interface SupportChannelReply {
2550
+ /** Permissioned channel resource; deployment and provider host are irrelevant. */
2551
+ transport?: string;
2552
+ /** Channel-scoped recipient/conversation identity, not verified tenant identity. */
2553
+ recipient?: string;
2554
+ /** Public reply body; legal/permission checks precede action admission. */
2555
+ body?: string;
2556
+ /** Threading subject, when the channel has one. */
2557
+ subject?: string;
2558
+ /** Exact original local message identity and provider ancestry. */
2559
+ localMessageId?: string;
2560
+ /** Nearest parent provider message identity. */
2561
+ inReplyTo?: string;
2562
+ /** Original ancestry in order. */
2563
+ references?: string[];
2564
+ }
2565
+ /**
2566
+ * SupportDeadline retains the external or internal obligation independently of
2567
+ * follow-up scheduling. An empty case deadline list does not clear next_action_at.
2568
+ */
2569
+ export interface SupportDeadline {
2570
+ /** Immutable obligation identity within the case. */
2571
+ id?: string;
2572
+ /** Legal, platform, contract or internal obligation. */
2573
+ kind?: SupportDeadlineKind;
2574
+ /** Applicable jurisdiction, or an explicit internal/platform scope. */
2575
+ jurisdiction?: string;
2576
+ /** Exact rule, law, platform term or contract establishing the deadline. */
2577
+ basis?: string;
2578
+ /** Absolute computed deadline; never extended by transport retry. */
2579
+ dueTime?: string;
2580
+ /** Related issue/action track; empty for a case-wide obligation. */
2581
+ trackId?: string;
2582
+ }
2583
+ /**
2584
+ * A SupportDecision is a tenant-policy classification receipt. Applying it
2585
+ * verifies permissions, expected version and evidence, then commits audit and
2586
+ * action admission atomically. ACT_NOW never bypasses legal or permission checks.
2587
+ */
2588
+ export interface SupportDecision {
2589
+ /** Exactly one primary state. */
2590
+ state?: SupportCaseState;
2591
+ /** Accountable Access principal; required even while waiting or final. */
2592
+ owner?: string;
2593
+ /** Typed cause of this decision or reopen. */
2594
+ reason?: SupportDecisionReason;
2595
+ /** Customer-safe explanation; no credentials or unrestricted product records. */
2596
+ explanation?: string;
2597
+ /** Required for every state, including FINAL_NO_REPLY. Never a delivery retry. */
2598
+ nextActionAt?: string;
2599
+ /** May be empty when no hard deadline applies; each entry keeps its basis. */
2600
+ deadlines?: SupportDeadline[];
2601
+ /** Independent linked issues and actions; mixed cases cannot drop an issue. */
2602
+ tracks?: SupportTrack[];
2603
+ /**
2604
+ * Required triggers. On spam they request reclassification review only;
2605
+ * no customer-facing reopen or outbound action occurs before a clearing verdict.
2606
+ */
2607
+ reopenTriggers?: SupportReopenTrigger[];
2608
+ /** Immutable tenant-policy API resource and version that produced the decision. */
2609
+ policyVersion?: string;
2610
+ /** IANA tenant time zone used for business-hours/deadline arithmetic. */
2611
+ timeZone?: string;
2612
+ /** Nonnegative settlement buffer used in that calculation. */
2613
+ settlementBuffer?: string;
2614
+ /** Evidence IDs used by the decider, never evidence invented by a model. */
2615
+ evidenceIds?: string[];
2616
+ }
2617
+ /** SupportEscalation names a reviewer and an existing notification operation. */
2618
+ export interface SupportEscalation {
2619
+ /** Accountable principal or reviewer group. */
2620
+ reviewer?: string;
2621
+ /** Permissioned destination API resource. */
2622
+ destination?: string;
2623
+ /** Review brief; internal, never a customer message. */
2624
+ brief?: string;
2625
+ }
2626
+ /**
2627
+ * SupportEvidence identifies protected source evidence. Raw email belongs to
2628
+ * its existing transport authority; a reference is not another message store.
2629
+ */
2630
+ export interface SupportEvidence {
2631
+ /** Stable evidence identity in the tenant environment. */
2632
+ id?: string;
2633
+ /** Authenticated source, not a caller-selected trust claim. */
2634
+ authority?: string;
2635
+ /** Permissioned public API resource containing the bytes; never a credential URL. */
2636
+ resource?: string;
2637
+ /** SHA-256 of the original evidence bytes, lowercase hexadecimal. */
2638
+ sha256?: string;
2639
+ /** Registered media type of the original bytes. */
2640
+ mediaType?: string;
2641
+ /** Exact byte length, not the number of Unicode characters. */
2642
+ sizeBytes?: string;
2643
+ /** Source-reported received time. */
2644
+ receiveTime?: string;
2645
+ /** Erasure keeps identity/hash/dedupe tombstones, never resurrects source content. */
2646
+ erased?: boolean;
2647
+ }
2648
+ /**
2649
+ * A SupportInbox is a tenant's case queue. It grants no identity or transport
2650
+ * authority. Access roles grant SupportService permissions on an org, project
2651
+ * or resource. Every storage query also binds org, project, environment and cell.
2652
+ */
2653
+ export interface SupportInbox {
2654
+ /** The canonical resource name. */
2655
+ name?: string;
2656
+ /** Immutable platform identity; never substitutes for a source case ID. */
2657
+ readonly uid?: string;
2658
+ /** Labels, annotations, display name, timestamps and strong ETag. */
2659
+ meta?: common.ResourceMeta;
2660
+ /** Supported BCP 47 locales; the language is still decided per message. */
2661
+ locales?: string[];
2662
+ /** Verified links to existing transport resources, not transport credentials. */
2663
+ channels?: SupportChannel[];
2664
+ /** Tenant-policy API resource; rule tables and remedy budgets remain there. */
2665
+ policy?: string;
2666
+ /** Maximum allowed delay from a received event to committed case intake. */
2667
+ intakeBound?: string;
2668
+ }
2669
+ /** SupportOverdue makes every missed case/track action or obligation explicit. */
2670
+ export interface SupportOverdue {
2671
+ /** next_action, track_next_action or deadline; exact target ID accompanies it. */
2672
+ kind?: string;
2673
+ /** Deadline/track identity, or empty for the primary next action. */
2674
+ targetId?: string;
2675
+ /** Time that was missed, never silently advanced by the scan. */
2676
+ dueTime?: string;
2677
+ /** When the miss was detected. */
2678
+ detectTime?: string;
2679
+ }
2680
+ /**
2681
+ * SupportReconciliation proves a complete scoped pass or lists its uncertainty.
2682
+ * Workflows invokes FULL_DAILY and deadline-aligned DUE_SCAN on demand; no
2683
+ * Support-specific timer, poll loop or retained warm instance is introduced.
2684
+ */
2685
+ export interface SupportReconciliation {
2686
+ /** Canonical report name. */
2687
+ name?: string;
2688
+ /** Immutable identity. */
2689
+ readonly uid?: string;
2690
+ /** Publication timestamps. */
2691
+ meta?: common.ResourceMeta;
2692
+ /** Full daily population or earliest-deadline-aligned due population. */
2693
+ kind?: SupportReconciliationKind;
2694
+ /** Exact queue/scope covered; never a cross-tenant scan bypass. */
2695
+ inbox?: string;
2696
+ /** Verified principal/workload that requested the pass. */
2697
+ actor?: SupportActor;
2698
+ /** Snapshot/read time and source watermark used to establish coverage. */
2699
+ snapshotTime?: string;
2700
+ /** Authoritative source cursor or snapshot token, not a secret. */
2701
+ sourceWatermark?: string;
2702
+ /** True only when every page in the declared population was checked. */
2703
+ complete?: boolean;
2704
+ /** Number of cases checked; zero proves nothing without complete coverage. */
2705
+ checkedCases?: string;
2706
+ /** Cases without an accountable owner. */
2707
+ unowned?: string;
2708
+ /** Cases without a required next action. */
2709
+ unscheduled?: string;
2710
+ /** Unhandled due obligations or next actions. */
2711
+ overdue?: string;
2712
+ /** Every exception is retained, not only a count or a truncated sample. */
2713
+ exceptions?: SupportReconciliationException[];
2714
+ /** Next on-demand scan, no later than the earliest unhandled obligation/action. */
2715
+ nextScanTime?: string;
2716
+ /** Full canonical population hash for migration/read-compare, when applicable. */
2717
+ populationSha256?: string;
2718
+ }
2719
+ /** SupportReconciliationException records the exact affected resource and reason. */
2720
+ export interface SupportReconciliationException {
2721
+ /** Affected case/action/source resource, scoped by the authenticated query. */
2722
+ resource?: string;
2723
+ /** unowned, unscheduled, overdue, uncertain_action, intake_late or source_mismatch. */
2724
+ kind?: string;
2725
+ /** Actionable explanation with no unrestricted customer content. */
2726
+ reason?: string;
2727
+ /** Earliest related missed action or obligation, when applicable. */
2728
+ dueTime?: string;
2729
+ }
2730
+ /** SupportRemedyRequest is a command for the tenant API, never a direct DB write. */
2731
+ export interface SupportRemedyRequest {
2732
+ /** Published tenant operation resource or API endpoint, under the caller grant. */
2733
+ operation?: string;
2734
+ /** Content-addressed, permissioned request evidence; contains no credentials. */
2735
+ request?: SupportEvidence;
2736
+ /** Tenant authorization/verification receipt binding exact remedy arguments. */
2737
+ authorizationReceipt?: string;
2738
+ }
2739
+ /**
2740
+ * SupportRequester is a case snapshot, never a second customer master or a
2741
+ * verified identity inferred from From. Reveal requires a separately audited RPC.
2742
+ */
2743
+ export interface SupportRequester {
2744
+ /** Permission-scoped Knowledge contact resource, when available. */
2745
+ contact?: string;
2746
+ /** Masked contact address or channel identity for ordinary case reads. */
2747
+ maskedIdentity?: string;
2748
+ /** Source display name; treated as personal data. */
2749
+ displayName?: string;
2750
+ /** none, suggested, confirmed or cleared; an unconfirmed link grants nothing. */
2751
+ linkState?: string;
2752
+ /** Tenant-owned subject mapping, not a Support-issued user identity. */
2753
+ tenantSubject?: string;
2754
+ /** Who verified or cleared the link, if known. */
2755
+ linkActor?: SupportActor;
2756
+ /** When the source link was verified or cleared, if known. */
2757
+ linkTime?: string;
2758
+ /** Original requester identity and source record, including tombstones. */
2759
+ sourceRecords?: SupportSourceRecord[];
2760
+ }
2761
+ /**
2762
+ * SupportSourceRecord preserves exact legacy IDs and complete protected source
2763
+ * records, including nullable fields. Backfill compares counts and full hashes;
2764
+ * it never reuses a historical source version as a new concurrency version.
2765
+ */
2766
+ export interface SupportSourceRecord {
2767
+ /** Stable source namespace, retained across retries and migration phases. */
2768
+ source?: string;
2769
+ /** Original relation or event kind. */
2770
+ sourceTable?: string;
2771
+ /** Unchanged source primary key, including numeric case/message/outbox IDs. */
2772
+ sourceId?: string;
2773
+ /** Evidence holding the full canonical source record, not a lossy projection. */
2774
+ evidence?: SupportEvidence;
2775
+ /** Original source version, if present; zero means absent, not fabricated. */
2776
+ sourceVersion?: string;
2777
+ }
2778
+ /**
2779
+ * SupportThreadMessage is the sole normalized case-thread record. Transport
2780
+ * buffers, provider indexes and agent context are not independent case history.
2781
+ */
2782
+ export interface SupportThreadMessage {
2783
+ /** Canonical thread message name. */
2784
+ name?: string;
2785
+ /** Immutable identity. */
2786
+ readonly uid?: string;
2787
+ /** Timestamps and metadata. */
2788
+ meta?: common.ResourceMeta;
2789
+ /** Immutable source-scoped event identity; changed replays are refused. */
2790
+ sourceKey?: string;
2791
+ /** Explicit audience; internal notes never enter the customer timeline. */
2792
+ visibility?: SupportMessageVisibility;
2793
+ /** Verified author; never inferred from a claimed From address. */
2794
+ author?: SupportActor;
2795
+ /** Text body or evidence projection; untrusted personal content. */
2796
+ body?: string;
2797
+ /** Source evidence, including explicitly untrusted HTML and attachments. */
2798
+ evidence?: SupportEvidence[];
2799
+ /** Existing channel-link ID, not a credential. */
2800
+ channelId?: string;
2801
+ /** Original provider message identity and ancestry. */
2802
+ threadKeys?: string[];
2803
+ /** Related business action, never a notification delivery state alias. */
2804
+ action?: string;
2805
+ /** Tombstone; source keys/ancestry survive authorized erasure. */
2806
+ erased?: boolean;
2807
+ /** Original IDs/records for lossless migration. */
2808
+ sourceRecords?: SupportSourceRecord[];
2809
+ /** Source direction: inbound, outbound or internal; independent of visibility. */
2810
+ direction?: string;
2811
+ }
2812
+ /** SupportTrack is an independently scheduled issue or action linked to a case. */
2813
+ export interface SupportTrack {
2814
+ /** Immutable identity within the case. */
2815
+ id?: string;
2816
+ /** ISSUE or ACTION; never a competing case/thread identity. */
2817
+ kind?: SupportTrackKind;
2818
+ /** Tenant's issue category, for example payment, privacy or technical. */
2819
+ category?: string;
2820
+ /** Independent track state; primary state cannot hide outstanding tracks. */
2821
+ state?: SupportCaseState;
2822
+ /** Accountable principal for this track. */
2823
+ owner?: string;
2824
+ /** Required follow-up for this track. */
2825
+ nextActionAt?: string;
2826
+ /** Other track IDs in the same case; no cross-tenant links. */
2827
+ linkedTrackIds?: string[];
2828
+ /** Action resource associated with an action track, when admitted. */
2829
+ action?: string;
2830
+ /** Evidence IDs relevant to this issue, not all case personal data. */
2831
+ evidenceIds?: string[];
2832
+ /** Classification reason for this track. */
2833
+ reason?: string;
2834
+ }
1880
2835
  /**
1881
2836
  * A Suppression stops delivery to one address on one channel. Bounces,
1882
2837
  * complaints, carrier opt-outs, uninstalled devices, and unsubscribes write
@@ -2052,6 +3007,15 @@ export interface UpdateSenderRequest {
2052
3007
  /** Validate and return the result without writing anything. */
2053
3008
  validateOnly?: boolean;
2054
3009
  }
3010
+ /** Conditional inbox configuration change. */
3011
+ export interface UpdateSupportInboxRequest {
3012
+ /** Inbox with the current meta.etag. */
3013
+ supportInbox: SupportInbox;
3014
+ /** Explicit fields to change; no case or transport state. */
3015
+ updateMask: string;
3016
+ /** Validate without changing configuration. */
3017
+ validateOnly?: boolean;
3018
+ }
2055
3019
  /** The request of UpdateTemplate. */
2056
3020
  export interface UpdateTemplateRequest {
2057
3021
  /** The template to update; `name` identifies it. */
@@ -2073,6 +3037,34 @@ export interface VerifySenderRequest {
2073
3037
  /** The name of the sender. */
2074
3038
  name: string;
2075
3039
  }
3040
+ /** One call remains visible even when recording or transcription fails. */
3041
+ export interface VoiceMessage {
3042
+ /** Stable carrier call-session identifier. */
3043
+ readonly callSessionId?: string;
3044
+ /** missed or recorded. A saved recording never regresses to missed. */
3045
+ readonly state?: string;
3046
+ /** Tenant-scoped Storage key. Read bytes through DownloadInboundMessage. */
3047
+ readonly recordingKey?: string;
3048
+ /** Duration of saved audio, preserving carrier-reported milliseconds. */
3049
+ readonly recordingDuration?: string;
3050
+ /** pending, completed or failed. Completed transcripts do not regress. */
3051
+ readonly transcriptionStatus?: string;
3052
+ /** Recording failed; call metadata remains available. */
3053
+ readonly recordingError?: boolean;
3054
+ /** Carrier-reported hangup time, if received. */
3055
+ readonly hangupTime?: string;
3056
+ /** Carrier-reported hangup cause, if received. */
3057
+ readonly hangupCause?: string;
3058
+ }
3059
+ /** A greeting and a bounded recording, with explicit content retention. */
3060
+ export interface VoicemailConfig {
3061
+ /** Greeting spoken before recording. Plain text, not SSML. */
3062
+ greeting?: string;
3063
+ /** Delete both carrier and Storage audio, and the transcript, after 1–30 days. */
3064
+ retentionDays?: number;
3065
+ /** Maximum recording duration, 10–180 whole seconds (for example, "120s"). */
3066
+ maxRecordingDuration?: string;
3067
+ }
2076
3068
  /** The progress of a Broadcast. */
2077
3069
  export type BroadcastState = 'draft' | 'scheduled' | 'sending' | 'sent' | 'cancelled' | (string & {});
2078
3070
  /** A Notify channel. */
@@ -2103,6 +3095,47 @@ export type MessageState = 'accepted' | 'suppressed' | 'delivering' | 'delivered
2103
3095
  export type PushPlatform = 'apns' | 'fcm' | 'web_push' | (string & {});
2104
3096
  /** What happens to mail judged spam on a Route. */
2105
3097
  export type RouteSpamPolicy = 'deliver' | 'drop' | 'reject' | (string & {});
3098
+ /** SupportActionState separates business completion from transport acceptance. */
3099
+ export type SupportActionState = 'pending' | 'in_flight' | 'uncertain' | 'succeeded' | 'failed' | 'cancelled' | (string & {});
3100
+ /**
3101
+ * SupportCaseState is the one primary operational state, not ownership,
3102
+ * transport delivery state, an agent turn or a replacement for linked tracks.
3103
+ */
3104
+ export type SupportCaseState = 'act_now' | 'scheduled' | 'waiting_customer' | 'waiting_review' | 'final_no_reply' | (string & {});
3105
+ /** SupportDeadlineKind names the authority establishing an obligation. */
3106
+ export type SupportDeadlineKind = 'legal' | 'platform' | 'contract' | 'internal' | (string & {});
3107
+ /** SupportDecisionReason distinguishes a fresh classification from a reopen. */
3108
+ export type SupportDecisionReason = 'policy' | 'operator' | 'new_evidence' | 'new_payment' | 'legal_notice' | 'regulatory_notice' | 'due' | 'migration' | 'spam_reclassification' | 'not_spam' | 'confirmed_customer' | 'institutional_notice' | (string & {});
3109
+ /**
3110
+ * SupportEffectOutcome distinguishes unknown from confirmed no-effect. Only an
3111
+ * authenticated query receipt proving NOT_APPLIED can release UNCERTAIN to a
3112
+ * new attempt of the SAME action/key. The receipt must bind the current attempt
3113
+ * AND uncertainty episode; a prior episode's absence proof is never reusable.
3114
+ * UNKNOWN remains scheduled for query/review.
3115
+ */
3116
+ export type SupportEffectOutcome = 'applied' | 'not_applied' | 'unknown' | 'rejected' | (string & {});
3117
+ /** SupportMessageVisibility is a hard customer-projection boundary. */
3118
+ export type SupportMessageVisibility = 'public' | 'internal' | (string & {});
3119
+ /**
3120
+ * SupportPendingProof records why legacy pending is genuinely a customer wait.
3121
+ * Without one of these source facts, policy must choose WAITING_REVIEW or SCHEDULED.
3122
+ */
3123
+ export type SupportPendingProof = 'last_outbound' | 'staff_action' | 'source_history' | (string & {});
3124
+ /** SupportReconciliationKind chooses a scope, not another execution engine. */
3125
+ export type SupportReconciliationKind = 'full_daily' | 'due_scan' | 'migration_compare' | (string & {});
3126
+ /**
3127
+ * SupportReopenTrigger applies even in FINAL_NO_REPLY. On suppressed spam it
3128
+ * starts reclassification review only; a verified not_spam/real-customer verdict
3129
+ * must precede reopen. Duplicated events/echoes are never new activity.
3130
+ */
3131
+ export type SupportReopenTrigger = 'new_evidence' | 'new_payment' | 'legal_notice' | 'regulatory_notice' | (string & {});
3132
+ /**
3133
+ * SupportSpamDisposition is independent from primary state. SUPPRESSED and
3134
+ * REVIEW_REQUIRED both keep FINAL_NO_REPLY and forbid outbound action admission.
3135
+ */
3136
+ export type SupportSpamDisposition = 'suppressed' | 'review_required' | 'not_spam' | 'confirmed_customer' | (string & {});
3137
+ /** SupportTrackKind separates a reported issue from a requested durable action. */
3138
+ export type SupportTrackKind = 'issue' | 'action' | (string & {});
2106
3139
  /** Why an address is suppressed. */
2107
3140
  export type SuppressionReason = 'bounce' | 'complaint' | 'carrier_opt_out' | 'unsubscribe' | 'uninstalled' | 'manual' | (string & {});
2108
3141
  /**
@@ -2149,6 +3182,20 @@ export declare class NotifyApi {
2149
3182
  readonly smsNumbers: SmsNumbersCollection;
2150
3183
  /** The `inbound_sms` collection. */
2151
3184
  readonly inboundSms: InboundSmsCollection;
3185
+ /** The `inbound_messages` collection. */
3186
+ readonly inboundMessages: InboundMessagesCollection;
3187
+ /** The `support_inboxes` collection. */
3188
+ readonly supportInboxes: SupportInboxesCollection;
3189
+ /** The `support_cases` collection. */
3190
+ readonly supportCases: SupportCasesCollection;
3191
+ /** The `support_thread_messages` collection. */
3192
+ readonly supportThreadMessages: SupportThreadMessagesCollection;
3193
+ /** The `support_actions` collection. */
3194
+ readonly supportActions: SupportActionsCollection;
3195
+ /** The `support_audit_events` collection. */
3196
+ readonly supportAuditEvents: SupportAuditEventsCollection;
3197
+ /** The `support_reconciliations` collection. */
3198
+ readonly supportReconciliations: SupportReconciliationsCollection;
2152
3199
  constructor(client: runtime.Client);
2153
3200
  }
2154
3201
  /** `phone_numbers` of Sylphx Notify: Resource type `notify.sylphx.com/PhoneNumber`. */
@@ -2619,7 +3666,7 @@ export declare class MessagesCollection {
2619
3666
  *
2620
3667
  * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/messages` · permission `notify:send` · effect `write`
2621
3668
  *
2622
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `RATE_LIMITED`, `INVALID_STATE`.
3669
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `RATE_LIMITED`, `DESTINATION_COUNTRY_NOT_ALLOWED`, `BUDGET_EXHAUSTED`, `INVALID_STATE`.
2623
3670
  */
2624
3671
  create(request: CreateMessageRequest): Promise<Message>;
2625
3672
  /**
@@ -2939,6 +3986,15 @@ export declare class SmsNumbersCollection {
2939
3986
  * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`.
2940
3987
  */
2941
3988
  delete(request: DeleteSmsNumberRequest): Promise<Record<string, never>>;
3989
+ /**
3990
+ * Configure voicemail and create an inert standalone carrier application.
3991
+ * Never buys, attaches, forwards or changes the voice profile of a line.
3992
+ *
3993
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/sms_numbers/*}:configureVoicemail` · permission `notify:write` · effect `write`
3994
+ *
3995
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `UNAVAILABLE`.
3996
+ */
3997
+ configureVoicemail(request: ConfigureSmsNumberVoicemailRequest): Promise<SmsNumber>;
2942
3998
  }
2943
3999
  /** `inbound_sms` of Sylphx Notify: Resource type `notify.sylphx.com/InboundSms`. */
2944
4000
  export declare class InboundSmsCollection {
@@ -2963,3 +4019,277 @@ export declare class InboundSmsCollection {
2963
4019
  /** Every item of every page of `list`. */
2964
4020
  listAll(request: ListInboundSmsRequest): AsyncGenerator<InboundSms>;
2965
4021
  }
4022
+ /** `inbound_messages` of Sylphx Notify: Resource type `notify.sylphx.com/InboundMessage`. */
4023
+ export declare class InboundMessagesCollection {
4024
+ private readonly client;
4025
+ constructor(client: runtime.Client);
4026
+ /**
4027
+ * Get one message in the unified SMS and voice inbox.
4028
+ *
4029
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/sms_numbers/*\/inbound_messages/*}` · permission `notify:read` · effect `read`
4030
+ *
4031
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
4032
+ */
4033
+ get(request: GetInboundMessageRequest): Promise<InboundMessage>;
4034
+ /**
4035
+ * List SMS and voice messages in sequence order. The sequence advances when
4036
+ * asynchronous content changes, so polling also observes completed transcripts.
4037
+ *
4038
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/sms_numbers/*}/inbound_messages` · permission `notify:read` · effect `read`
4039
+ *
4040
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
4041
+ */
4042
+ list(request: ListInboundMessagesRequest): Promise<ListInboundMessagesResponse>;
4043
+ /** Every item of every page of `list`. */
4044
+ listAll(request: ListInboundMessagesRequest): AsyncGenerator<InboundMessage>;
4045
+ /**
4046
+ * Download retained voicemail bytes with the inbox's tenant/resource permission.
4047
+ *
4048
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/sms_numbers/*\/inbound_messages/*}:download` · permission `notify:read` · effect `read`
4049
+ *
4050
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNAVAILABLE`.
4051
+ */
4052
+ download(request: DownloadInboundMessageRequest): Promise<DownloadInboundMessageResponse>;
4053
+ }
4054
+ /** `support_inboxes` of Sylphx Notify: Resource type `notify.sylphx.com/SupportInbox`. */
4055
+ export declare class SupportInboxesCollection {
4056
+ private readonly client;
4057
+ constructor(client: runtime.Client);
4058
+ /**
4059
+ * Gets one SupportInbox; protected identities require a separately audited reveal.
4060
+ *
4061
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:read` · effect `read`
4062
+ *
4063
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4064
+ */
4065
+ get(request: GetSupportInboxRequest): Promise<SupportInbox>;
4066
+ /**
4067
+ * Lists scoped support_inboxes; no cross-tenant or internal-message projection.
4068
+ *
4069
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:read` · effect `read`
4070
+ *
4071
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4072
+ */
4073
+ list(request: ListSupportInboxesRequest): Promise<ListSupportInboxesResponse>;
4074
+ /** Every item of every page of `list`. */
4075
+ listAll(request: ListSupportInboxesRequest): AsyncGenerator<SupportInbox>;
4076
+ /**
4077
+ * Creates an idempotent SupportInbox; changed replay and illegal state are refused.
4078
+ *
4079
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:configure` · effect `write`
4080
+ *
4081
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4082
+ */
4083
+ create(request: CreateSupportInboxRequest): Promise<SupportInbox>;
4084
+ /**
4085
+ * Updates configuration with a strong ETag; intake never creates a missing inbox.
4086
+ *
4087
+ * `PATCH /v1/{support_inbox.name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:configure` · effect `write`
4088
+ *
4089
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4090
+ */
4091
+ update(request: UpdateSupportInboxRequest): Promise<SupportInbox>;
4092
+ }
4093
+ /** `support_cases` of Sylphx Notify: Resource type `notify.sylphx.com/SupportCase`. */
4094
+ export declare class SupportCasesCollection {
4095
+ private readonly client;
4096
+ constructor(client: runtime.Client);
4097
+ /**
4098
+ * Gets one SupportCase; protected identities require a separately audited reveal.
4099
+ *
4100
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}` · permission `notify:support:read` · effect `read`
4101
+ *
4102
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4103
+ */
4104
+ get(request: GetSupportCaseRequest): Promise<SupportCase>;
4105
+ /**
4106
+ * Lists scoped support_cases; no cross-tenant or internal-message projection.
4107
+ *
4108
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:read` · effect `read`
4109
+ *
4110
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4111
+ */
4112
+ list(request: ListSupportCasesRequest): Promise<ListSupportCasesResponse>;
4113
+ /** Every item of every page of `list`. */
4114
+ listAll(request: ListSupportCasesRequest): AsyncGenerator<SupportCase>;
4115
+ /**
4116
+ * Creates an idempotent SupportCase; changed replay and illegal state are refused.
4117
+ *
4118
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:operate` · effect `write`
4119
+ *
4120
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4121
+ */
4122
+ create(request: CreateSupportCaseRequest): Promise<SupportCase>;
4123
+ /**
4124
+ * Atomically applies a typed decision, tracks and audit after checking expected_version. FINAL_NO_REPLY reopens to ACT_NOW only for an allowed trigger; spam requires a clearing verdict.
4125
+ *
4126
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:applySupportDecision` · permission `notify:support:operate` · effect `write`
4127
+ *
4128
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4129
+ */
4130
+ applySupportDecision(request: ApplySupportDecisionRequest): Promise<SupportCase>;
4131
+ /**
4132
+ * Admits one authenticated source signal, deduped by immutable identity. Spam signals wake reclassification review without reopening, customer reply or new business action.
4133
+ *
4134
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:ingestSupportSignal` · permission `notify:support:ingest` · effect `write`
4135
+ *
4136
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4137
+ */
4138
+ ingestSupportSignal(request: IngestSupportSignalRequest): Promise<SupportCase>;
4139
+ /**
4140
+ * Reveals the protected case requester under a purpose-bound grant and appends an audited read.
4141
+ *
4142
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:revealSupportRequester` · permission `notify:support:reveal` · effect `write`
4143
+ *
4144
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4145
+ */
4146
+ revealSupportRequester(request: RevealSupportRequesterRequest): Promise<RevealSupportRequesterResponse>;
4147
+ /**
4148
+ * Imports inert history with unchanged source IDs/keys/tombstones, full-record hashes and explicit migration exceptions. It sends nothing, runs no agent and meters no resolution.
4149
+ *
4150
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases:import` · permission `notify:support:import` · effect `write`
4151
+ *
4152
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4153
+ */
4154
+ import(request: ImportSupportCasesRequest): Promise<ImportSupportCasesResponse>;
4155
+ }
4156
+ /** `support_thread_messages` of Sylphx Notify: Resource type `notify.sylphx.com/SupportThreadMessage`. */
4157
+ export declare class SupportThreadMessagesCollection {
4158
+ private readonly client;
4159
+ constructor(client: runtime.Client);
4160
+ /**
4161
+ * Gets one SupportThreadMessage; protected identities require a separately audited reveal.
4162
+ *
4163
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_thread_messages/*}` · permission `notify:support:read` · effect `read`
4164
+ *
4165
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4166
+ */
4167
+ get(request: GetSupportThreadMessageRequest): Promise<SupportThreadMessage>;
4168
+ /**
4169
+ * Lists scoped support_thread_messages; no cross-tenant or internal-message projection.
4170
+ *
4171
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:read` · effect `read`
4172
+ *
4173
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4174
+ */
4175
+ list(request: ListSupportThreadMessagesRequest): Promise<ListSupportThreadMessagesResponse>;
4176
+ /** Every item of every page of `list`. */
4177
+ listAll(request: ListSupportThreadMessagesRequest): AsyncGenerator<SupportThreadMessage>;
4178
+ /**
4179
+ * Creates an idempotent SupportThreadMessage; changed replay and illegal state are refused.
4180
+ *
4181
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:operate` · effect `write`
4182
+ *
4183
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4184
+ */
4185
+ create(request: CreateSupportThreadMessageRequest): Promise<SupportThreadMessage>;
4186
+ }
4187
+ /** `support_actions` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAction`. */
4188
+ export declare class SupportActionsCollection {
4189
+ private readonly client;
4190
+ constructor(client: runtime.Client);
4191
+ /**
4192
+ * Gets one SupportAction; protected identities require a separately audited reveal.
4193
+ *
4194
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}` · permission `notify:support:read` · effect `read`
4195
+ *
4196
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4197
+ */
4198
+ get(request: GetSupportActionRequest): Promise<SupportAction>;
4199
+ /**
4200
+ * Lists scoped support_actions; no cross-tenant or internal-message projection.
4201
+ *
4202
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:read` · effect `read`
4203
+ *
4204
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4205
+ */
4206
+ list(request: ListSupportActionsRequest): Promise<ListSupportActionsResponse>;
4207
+ /** Every item of every page of `list`. */
4208
+ listAll(request: ListSupportActionsRequest): AsyncGenerator<SupportAction>;
4209
+ /**
4210
+ * Creates an idempotent SupportAction; changed replay and illegal state are refused.
4211
+ *
4212
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:actions` · effect `write`
4213
+ *
4214
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4215
+ */
4216
+ create(request: CreateSupportActionRequest): Promise<SupportAction>;
4217
+ /**
4218
+ * Claims one fenced attempt of a conclusively dispatchable action. An expired in-flight claim becomes UNCERTAIN, never PENDING.
4219
+ *
4220
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:beginSupportActionAttempt` · permission `notify:support:dispatch` · effect `write`
4221
+ *
4222
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4223
+ */
4224
+ beginSupportActionAttempt(request: BeginSupportActionAttemptRequest): Promise<BeginSupportActionAttemptResponse>;
4225
+ /**
4226
+ * Records an authenticated immutable authority receipt. Transport state changes alone never change a case or business action.
4227
+ *
4228
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:recordSupportActionReceipt` · permission `notify:support:receipts` · effect `write`
4229
+ *
4230
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4231
+ */
4232
+ recordSupportActionReceipt(request: RecordSupportActionReceiptRequest): Promise<SupportAction>;
4233
+ /**
4234
+ * Queries the original authority/key first; UNKNOWN remains UNCERTAIN. Only a verified NOT_APPLIED query receipt for the current attempt and uncertainty episode permits another attempt of the same action/key.
4235
+ *
4236
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:reconcile` · permission `notify:support:reconcile` · effect `write`
4237
+ *
4238
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4239
+ */
4240
+ reconcile(request: ReconcileSupportActionRequest): Promise<SupportAction>;
4241
+ }
4242
+ /** `support_audit_events` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAuditEvent`. */
4243
+ export declare class SupportAuditEventsCollection {
4244
+ private readonly client;
4245
+ constructor(client: runtime.Client);
4246
+ /**
4247
+ * Gets one SupportAuditEvent; protected identities require a separately audited reveal.
4248
+ *
4249
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_audit_events/*}` · permission `notify:support:read` · effect `read`
4250
+ *
4251
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4252
+ */
4253
+ get(request: GetSupportAuditEventRequest): Promise<SupportAuditEvent>;
4254
+ /**
4255
+ * Lists scoped support_audit_events; no cross-tenant or internal-message projection.
4256
+ *
4257
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_audit_events` · permission `notify:support:read` · effect `read`
4258
+ *
4259
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4260
+ */
4261
+ list(request: ListSupportAuditEventsRequest): Promise<ListSupportAuditEventsResponse>;
4262
+ /** Every item of every page of `list`. */
4263
+ listAll(request: ListSupportAuditEventsRequest): AsyncGenerator<SupportAuditEvent>;
4264
+ }
4265
+ /** `support_reconciliations` of Sylphx Notify: Resource type `notify.sylphx.com/SupportReconciliation`. */
4266
+ export declare class SupportReconciliationsCollection {
4267
+ private readonly client;
4268
+ constructor(client: runtime.Client);
4269
+ /**
4270
+ * Gets one SupportReconciliation; protected identities require a separately audited reveal.
4271
+ *
4272
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_reconciliations/*}` · permission `notify:support:read` · effect `read`
4273
+ *
4274
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4275
+ */
4276
+ get(request: GetSupportReconciliationRequest): Promise<SupportReconciliation>;
4277
+ /**
4278
+ * Lists scoped support_reconciliations; no cross-tenant or internal-message projection.
4279
+ *
4280
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations` · permission `notify:support:read` · effect `read`
4281
+ *
4282
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4283
+ */
4284
+ list(request: ListSupportReconciliationsRequest): Promise<ListSupportReconciliationsResponse>;
4285
+ /** Every item of every page of `list`. */
4286
+ listAll(request: ListSupportReconciliationsRequest): AsyncGenerator<SupportReconciliation>;
4287
+ /**
4288
+ * Runs one scoped daily census, dense due pass or migration comparison on demand. Incomplete coverage never proves zero exceptions.
4289
+ *
4290
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations:run` · permission `notify:support:reconcile` · effect `write`
4291
+ *
4292
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4293
+ */
4294
+ run(request: RunSupportReconciliationRequest): Promise<SupportReconciliation>;
4295
+ }