@sylphx/sdk 0.32.26 → 0.32.28

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/notify.d.ts CHANGED
@@ -36,52 +36,11 @@ export interface ApplyPhoneNumberRouteRequest {
36
36
  /** Validate without provider or database mutation. */
37
37
  validateOnly?: boolean;
38
38
  }
39
- /** Request for ApplySupportDecision. */
40
- export interface ApplySupportDecisionRequest {
41
- /** Canonical resource name, checked against the caller grant. */
42
- name: string;
43
- /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
44
- expectedVersion: string;
45
- /** Stable UUID for this logical operation. */
46
- requestId?: string;
47
- /** Validate without changing state or contacting an effect provider. */
48
- validateOnly?: boolean;
49
- /** Observed primary state; also checked against authoritative storage. */
50
- before?: SupportCaseState;
51
- /** Complete new decision; omitting an unresolved track is refused. */
52
- after: SupportDecision;
53
- /** Spam disposition; only authenticated verdicts clear suppression. */
54
- spam?: SupportSpamDisposition;
55
- /** Source proof for imported pending customer waits. */
56
- pendingProof?: SupportPendingProof;
57
- /** Immutable signal/decision identity for replay and audit. */
58
- sourceKey?: string;
59
- }
60
39
  /** The request of ArchiveInboxItem. */
61
40
  export interface ArchiveInboxItemRequest {
62
41
  /** The name of the inbox item. */
63
42
  name: string;
64
43
  }
65
- /** Request for BeginSupportActionAttempt. */
66
- export interface BeginSupportActionAttemptRequest {
67
- /** Canonical resource name, checked against the caller grant. */
68
- name: string;
69
- /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
70
- expectedVersion: string;
71
- /** Stable UUID for this logical operation. */
72
- requestId?: string;
73
- /** Validate without changing state or contacting an effect provider. */
74
- validateOnly?: boolean;
75
- }
76
- /** Fenced dispatch ownership; it is not a delivery receipt. */
77
- export interface BeginSupportActionAttemptResponse {
78
- /** Current action and version. */
79
- action?: SupportAction;
80
- /** Unique attempt identity; settlement must match it. */
81
- attemptId?: string;
82
- /** Claim expiry; expiry means unknown outcome, never safe retry. */
83
- claimExpireTime?: string;
84
- }
85
44
  /**
86
45
  * A Broadcast sends one template to a segment of recipients, fired by a
87
46
  * Workflows Schedule. Every recipient still passes suppression and
@@ -312,62 +271,6 @@ export interface CreateSmsNumberRequest {
312
271
  /** The binding to create. */
313
272
  smsNumber: SmsNumber;
314
273
  }
315
- /** Request to create a SupportAction. */
316
- export interface CreateSupportActionRequest {
317
- /** Authenticated parent scope. */
318
- parent: string;
319
- /** Record to admit; actor and output fields are derived by the service. */
320
- supportAction: SupportAction;
321
- /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
322
- supportActionId?: string;
323
- /** UUID request identity, stable across transport retries. */
324
- requestId?: string;
325
- /** Validate without admitting a case, message or effect. */
326
- validateOnly?: boolean;
327
- /** Case aggregate version observed by the caller. */
328
- expectedVersion: string;
329
- }
330
- /** Request to create a SupportCase. */
331
- export interface CreateSupportCaseRequest {
332
- /** Authenticated parent scope. */
333
- parent: string;
334
- /** Record to admit; actor and output fields are derived by the service. */
335
- supportCase: SupportCase;
336
- /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
337
- supportCaseId?: string;
338
- /** UUID request identity, stable across transport retries. */
339
- requestId?: string;
340
- /** Validate without admitting a case, message or effect. */
341
- validateOnly?: boolean;
342
- }
343
- /** Request to create a SupportInbox. */
344
- export interface CreateSupportInboxRequest {
345
- /** Authenticated parent scope. */
346
- parent: string;
347
- /** Record to admit; actor and output fields are derived by the service. */
348
- supportInbox: SupportInbox;
349
- /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
350
- supportInboxId?: string;
351
- /** UUID request identity, stable across transport retries. */
352
- requestId?: string;
353
- /** Validate without admitting a case, message or effect. */
354
- validateOnly?: boolean;
355
- }
356
- /** Request to create a SupportThreadMessage. */
357
- export interface CreateSupportThreadMessageRequest {
358
- /** Authenticated parent scope. */
359
- parent: string;
360
- /** Record to admit; actor and output fields are derived by the service. */
361
- supportThreadMessage: SupportThreadMessage;
362
- /** Optional caller-selected platform ID; legacy IDs stay in source_records. */
363
- supportThreadMessageId?: string;
364
- /** UUID request identity, stable across transport retries. */
365
- requestId?: string;
366
- /** Validate without admitting a case, message or effect. */
367
- validateOnly?: boolean;
368
- /** Case aggregate version observed by the caller. */
369
- expectedVersion: string;
370
- }
371
274
  /** The request of CreateSuppression. */
372
275
  export interface CreateSuppressionRequest {
373
276
  /** The parent to create in. */
@@ -727,36 +630,6 @@ export interface GetSmsNumberRequest {
727
630
  /** The name of the binding to get. */
728
631
  name: string;
729
632
  }
730
- /** Request to get a SupportAction. */
731
- export interface GetSupportActionRequest {
732
- /** Canonical resource name. */
733
- name: string;
734
- }
735
- /** Request to get a SupportAuditEvent. */
736
- export interface GetSupportAuditEventRequest {
737
- /** Canonical resource name. */
738
- name: string;
739
- }
740
- /** Request to get a SupportCase. */
741
- export interface GetSupportCaseRequest {
742
- /** Canonical resource name. */
743
- name: string;
744
- }
745
- /** Request to get a SupportInbox. */
746
- export interface GetSupportInboxRequest {
747
- /** Canonical resource name. */
748
- name: string;
749
- }
750
- /** Request to get a SupportReconciliation. */
751
- export interface GetSupportReconciliationRequest {
752
- /** Canonical resource name. */
753
- name: string;
754
- }
755
- /** Request to get a SupportThreadMessage. */
756
- export interface GetSupportThreadMessageRequest {
757
- /** Canonical resource name. */
758
- name: string;
759
- }
760
633
  /** The request of GetSuppression. */
761
634
  export interface GetSuppressionRequest {
762
635
  /** The name of the suppression to get. */
@@ -767,44 +640,6 @@ export interface GetTemplateRequest {
767
640
  /** The name of the template to get. */
768
641
  name: string;
769
642
  }
770
- /** Bounded, auditable history import by the owning service writer. */
771
- export interface ImportSupportCasesRequest {
772
- /** Authenticated destination environment. */
773
- parent: string;
774
- /** Stable source namespace and migration run identity. */
775
- source?: string;
776
- /** Original case records and typed projections; at most 500. */
777
- supportCases?: SupportCase[];
778
- /** Original thread records, including internal messages and erasure tombstones. */
779
- messages?: SupportThreadMessage[];
780
- /**
781
- * Original actions/keys/receipts; ambiguous prior sends remain UNCERTAIN.
782
- * Suppression never blocks inert CANCELLED/SUCCEEDED/UNCERTAIN history;
783
- * import admits no PENDING/IN_FLIGHT action under suppression and sends nothing.
784
- */
785
- actions?: SupportAction[];
786
- /** Original audit records; absent historical versions are not invented. */
787
- auditEvents?: SupportAuditEvent[];
788
- /** Full source-record hash of this batch; changed replay is refused. */
789
- sourceSha256?: string;
790
- /** Stable UUID for this batch. */
791
- requestId?: string;
792
- /** Validate and compare without writing. */
793
- validateOnly?: boolean;
794
- }
795
- /** Losslessness receipt; exceptions keep an incomplete case from authoritative scheduling. */
796
- export interface ImportSupportCasesResponse {
797
- /** Source namespace echoed for verification. */
798
- source?: string;
799
- /** Inserted records, counted across every supplied kind. */
800
- imported?: string;
801
- /** Exact unchanged replays; no duplicate effect is created. */
802
- replayed?: string;
803
- /** Full canonical destination batch hash. */
804
- targetSha256?: string;
805
- /** Every missing classification/proof/source mismatch, not a truncated sample. */
806
- exceptions?: SupportReconciliationException[];
807
- }
808
643
  /**
809
644
  * An Inbound Email is one mail a mailbox holds, received or sent, kept as
810
645
  * evidence: parsed once, never changed except by erasure. Consumers read the
@@ -961,25 +796,6 @@ export interface InboxItem {
961
796
  /** Read, unread, or archived. */
962
797
  readonly state?: InboxItemState;
963
798
  }
964
- /** Request for IngestSupportSignal. */
965
- export interface IngestSupportSignalRequest {
966
- /** Canonical resource name, checked against the caller grant. */
967
- name: string;
968
- /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
969
- expectedVersion: string;
970
- /** Stable UUID for this logical operation. */
971
- requestId?: string;
972
- /** Validate without changing state or contacting an effect provider. */
973
- validateOnly?: boolean;
974
- /** Typed, verified signal; customer text is evidence, never authority. */
975
- signal?: SupportDecisionReason;
976
- /** Immutable source-scoped event identity. */
977
- sourceKey: string;
978
- /** Protected evidence references; never plaintext credentials. */
979
- evidence?: SupportEvidence[];
980
- /** Source-reported time used for intake latency verification. */
981
- receiveTime: string;
982
- }
983
799
  /** The request of ListBroadcasts. */
984
800
  export interface ListBroadcastsRequest {
985
801
  /** The parent to list in. */
@@ -1312,126 +1128,6 @@ export interface ListSmsNumbersResponse {
1312
1128
  /** The token of the next page; empty on the last page. */
1313
1129
  nextPageToken?: string;
1314
1130
  }
1315
- /** Request to list support_actions. */
1316
- export interface ListSupportActionsRequest {
1317
- /** Authenticated parent scope. */
1318
- parent: string;
1319
- /** Maximum rows; default 50, at most 200. */
1320
- pageSize?: number;
1321
- /** Opaque continuation bound to the same scope and filter. */
1322
- pageToken?: string;
1323
- /** AIP-160 filter; cannot widen caller visibility. */
1324
- filter?: string;
1325
- /** Stable ordering, with resource identity as the final tie-breaker. */
1326
- orderBy?: string;
1327
- }
1328
- /** A page of scoped support_actions. */
1329
- export interface ListSupportActionsResponse {
1330
- /** Visible records only. */
1331
- supportActions?: SupportAction[];
1332
- /** Continuation; empty only after the final page. */
1333
- nextPageToken?: string;
1334
- }
1335
- /** Request to list support_audit_events. */
1336
- export interface ListSupportAuditEventsRequest {
1337
- /** Authenticated parent scope. */
1338
- parent: string;
1339
- /** Maximum rows; default 50, at most 200. */
1340
- pageSize?: number;
1341
- /** Opaque continuation bound to the same scope and filter. */
1342
- pageToken?: string;
1343
- /** AIP-160 filter; cannot widen caller visibility. */
1344
- filter?: string;
1345
- /** Stable ordering, with resource identity as the final tie-breaker. */
1346
- orderBy?: string;
1347
- }
1348
- /** A page of scoped support_audit_events. */
1349
- export interface ListSupportAuditEventsResponse {
1350
- /** Visible records only. */
1351
- supportAuditEvents?: SupportAuditEvent[];
1352
- /** Continuation; empty only after the final page. */
1353
- nextPageToken?: string;
1354
- }
1355
- /** Request to list support_cases. */
1356
- export interface ListSupportCasesRequest {
1357
- /** Authenticated parent scope. */
1358
- parent: string;
1359
- /** Maximum rows; default 50, at most 200. */
1360
- pageSize?: number;
1361
- /** Opaque continuation bound to the same scope and filter. */
1362
- pageToken?: string;
1363
- /** AIP-160 filter; cannot widen caller visibility. */
1364
- filter?: string;
1365
- /** Stable ordering, with resource identity as the final tie-breaker. */
1366
- orderBy?: string;
1367
- }
1368
- /** A page of scoped support_cases. */
1369
- export interface ListSupportCasesResponse {
1370
- /** Visible records only. */
1371
- supportCases?: SupportCase[];
1372
- /** Continuation; empty only after the final page. */
1373
- nextPageToken?: string;
1374
- }
1375
- /** Request to list support_inboxes. */
1376
- export interface ListSupportInboxesRequest {
1377
- /** Authenticated parent scope. */
1378
- parent: string;
1379
- /** Maximum rows; default 50, at most 200. */
1380
- pageSize?: number;
1381
- /** Opaque continuation bound to the same scope and filter. */
1382
- pageToken?: string;
1383
- /** AIP-160 filter; cannot widen caller visibility. */
1384
- filter?: string;
1385
- /** Stable ordering, with resource identity as the final tie-breaker. */
1386
- orderBy?: string;
1387
- }
1388
- /** A page of scoped support_inboxes. */
1389
- export interface ListSupportInboxesResponse {
1390
- /** Visible records only. */
1391
- supportInboxes?: SupportInbox[];
1392
- /** Continuation; empty only after the final page. */
1393
- nextPageToken?: string;
1394
- }
1395
- /** Request to list support_reconciliations. */
1396
- export interface ListSupportReconciliationsRequest {
1397
- /** Authenticated parent scope. */
1398
- parent: string;
1399
- /** Maximum rows; default 50, at most 200. */
1400
- pageSize?: number;
1401
- /** Opaque continuation bound to the same scope and filter. */
1402
- pageToken?: string;
1403
- /** AIP-160 filter; cannot widen caller visibility. */
1404
- filter?: string;
1405
- /** Stable ordering, with resource identity as the final tie-breaker. */
1406
- orderBy?: string;
1407
- }
1408
- /** A page of scoped support_reconciliations. */
1409
- export interface ListSupportReconciliationsResponse {
1410
- /** Visible records only. */
1411
- supportReconciliations?: SupportReconciliation[];
1412
- /** Continuation; empty only after the final page. */
1413
- nextPageToken?: string;
1414
- }
1415
- /** Request to list support_thread_messages. */
1416
- export interface ListSupportThreadMessagesRequest {
1417
- /** Authenticated parent scope. */
1418
- parent: string;
1419
- /** Maximum rows; default 50, at most 200. */
1420
- pageSize?: number;
1421
- /** Opaque continuation bound to the same scope and filter. */
1422
- pageToken?: string;
1423
- /** AIP-160 filter; cannot widen caller visibility. */
1424
- filter?: string;
1425
- /** Stable ordering, with resource identity as the final tie-breaker. */
1426
- orderBy?: string;
1427
- }
1428
- /** A page of scoped support_thread_messages. */
1429
- export interface ListSupportThreadMessagesResponse {
1430
- /** Visible records only. */
1431
- supportThreadMessages?: SupportThreadMessage[];
1432
- /** Continuation; empty only after the final page. */
1433
- nextPageToken?: string;
1434
- }
1435
1131
  /** The request of ListSuppressions. */
1436
1132
  export interface ListSuppressionsRequest {
1437
1133
  /** The parent to list in. */
@@ -1770,6 +1466,12 @@ export interface Message {
1770
1466
  references?: string[];
1771
1467
  /** The Message-ID Notify gave the email, without angle brackets. */
1772
1468
  readonly emailMessageId?: string;
1469
+ /**
1470
+ * The Reply-To address for this email, from a template or a mailbox. Use one
1471
+ * bare ASCII email address with a DNS domain, at most 254 bytes. Its domain
1472
+ * may differ from the From domain. Omit to send without a Reply-To header.
1473
+ */
1474
+ replyTo?: string;
1773
1475
  }
1774
1476
  /** What a message to a test recipient rendered to. */
1775
1477
  export interface MessageCapture {
@@ -2065,32 +1767,6 @@ export interface Recipient {
2065
1767
  */
2066
1768
  test?: boolean;
2067
1769
  }
2068
- /** Request for ReconcileSupportAction. */
2069
- export interface ReconcileSupportActionRequest {
2070
- /** Canonical resource name, checked against the caller grant. */
2071
- name: string;
2072
- /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
2073
- expectedVersion: string;
2074
- /** Stable UUID for this logical operation. */
2075
- requestId?: string;
2076
- /** Validate without changing state or contacting an effect provider. */
2077
- validateOnly?: boolean;
2078
- }
2079
- /** Request for RecordSupportActionReceipt. */
2080
- export interface RecordSupportActionReceiptRequest {
2081
- /** Canonical resource name, checked against the caller grant. */
2082
- name: string;
2083
- /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
2084
- expectedVersion: string;
2085
- /** Stable UUID for this logical operation. */
2086
- requestId?: string;
2087
- /** Validate without changing state or contacting an effect provider. */
2088
- validateOnly?: boolean;
2089
- /** Authenticated envelope bound to the action key and payload hash. */
2090
- receipt: SupportActionReceipt;
2091
- /** Fenced attempt identity returned by BeginSupportActionAttempt; mismatches are refused. */
2092
- attemptId: string;
2093
- }
2094
1770
  /** Registers one device without replacing the recipient's other devices. */
2095
1771
  export interface RegisterPushDeviceRequest {
2096
1772
  /** The recipient to register for. */
@@ -2114,26 +1790,6 @@ export interface RegisterPushDeviceResponse {
2114
1790
  /** Exact registration epoch, encoded as a decimal string in JSON. */
2115
1791
  readonly registrationGeneration?: string;
2116
1792
  }
2117
- /** Request for RevealSupportRequester. */
2118
- export interface RevealSupportRequesterRequest {
2119
- /** Canonical resource name, checked against the caller grant. */
2120
- name: string;
2121
- /** Optimistic version precondition; mismatch returns ETAG_MISMATCH. */
2122
- expectedVersion: string;
2123
- /** Stable UUID for this logical operation. */
2124
- requestId?: string;
2125
- /** Validate without changing state or contacting an effect provider. */
2126
- validateOnly?: boolean;
2127
- /** Purpose of accessing unmasked personal data. */
2128
- reason: string;
2129
- }
2130
- /** Protected requester disclosure; never returned in ordinary lists. */
2131
- export interface RevealSupportRequesterResponse {
2132
- /** Unmasked source identity, possibly a synthetic channel address. */
2133
- identity?: string;
2134
- /** Audit record of this access. */
2135
- auditEvent?: string;
2136
- }
2137
1793
  /**
2138
1794
  * A Route sends the mail a receiving Email Domain accepts for one address, a
2139
1795
  * pattern of addresses, or every other address to actions: deliver to
@@ -2194,23 +1850,6 @@ export interface RouteStatus {
2194
1850
  /** Ready, Reconciling, Stalled. */
2195
1851
  readonly conditions?: common.Condition[];
2196
1852
  }
2197
- /** On-demand reconciliation; execution is invoked by the existing workflow authority. */
2198
- export interface RunSupportReconciliationRequest {
2199
- /** Authenticated environment scope. */
2200
- parent: string;
2201
- /** Population/pass type. */
2202
- kind?: SupportReconciliationKind;
2203
- /** Queue resource whose full population is covered. */
2204
- inbox?: string;
2205
- /** Stable pass identity; repeated invocation resumes the same pass. */
2206
- requestId?: string;
2207
- /** Continuation of the same snapshot, not a new empty population. */
2208
- pageToken?: string;
2209
- /** Maximum cases per bounded transaction; default 200, at most 500. */
2210
- pageSize?: number;
2211
- /** Validate scope without running or scheduling the pass. */
2212
- validateOnly?: boolean;
2213
- }
2214
1853
  /** The request of SendBroadcast. */
2215
1854
  export interface SendBroadcastRequest {
2216
1855
  /** The name of the broadcast. */
@@ -2355,500 +1994,6 @@ export interface SmsSender {
2355
1994
  /** CLDR region codes the origin is registered for. */
2356
1995
  regionCodes?: string[];
2357
1996
  }
2358
- /**
2359
- * SupportAction is the case's business intent ledger, NOT an email outbox or
2360
- * notify_deliveries row. Transport changes never mutate this record implicitly.
2361
- * Stable keys and payload hashes survive all attempts, uncertain outcomes and
2362
- * migration. Exactly-once visible results require duplicate-safe transport AND
2363
- * authoritative provider/tenant reconciliation, not exactly-once HTTP delivery.
2364
- */
2365
- export interface SupportAction {
2366
- /** Canonical action name. */
2367
- name?: string;
2368
- /** Immutable identity. */
2369
- readonly uid?: string;
2370
- /** Strong ETag and creation/update times. */
2371
- meta?: common.ResourceMeta;
2372
- /** Exact stable caller/source key; never replaced on retry or cutover. */
2373
- idempotencyKey?: string;
2374
- /** SHA-256 of immutable admitted intent bytes; changed-key reuse is refused. */
2375
- payloadSha256?: string;
2376
- /** Related action/issue track in the same case. */
2377
- trackId?: string;
2378
- /** Business state, independently versioned from the transport. */
2379
- readonly state?: SupportActionState;
2380
- /** Optimistic concurrency version of the business action. */
2381
- readonly version?: string;
2382
- /** Authenticated creator or admitting workload. */
2383
- readonly actor?: SupportActor;
2384
- /** Reply using an existing channel authority. */
2385
- reply?: SupportChannelReply;
2386
- /** Request the tenant's own remedy API; Support never writes product data. */
2387
- remedy?: SupportRemedyRequest;
2388
- /** Notify an accountable reviewer through an existing API. */
2389
- escalation?: SupportEscalation;
2390
- /** Latest authoritative receipt; dispatch/admission alone is not completion. */
2391
- readonly receipt?: SupportActionReceipt;
2392
- /** Cause and unknown effect are separate facts. */
2393
- readonly failureCause?: string;
2394
- /** Next permitted reconciliation/query time; UNKNOWN never means resend. */
2395
- readonly reconcileTime?: string;
2396
- /** Source outbox ID/key/payload/leases/attempts retained as protected evidence. */
2397
- sourceRecords?: SupportSourceRecord[];
2398
- /** Current dispatch attempt number; advances only on a new fenced claim. */
2399
- readonly attemptCount?: number;
2400
- /**
2401
- * Storage-owned monotonic generation, incremented on each entry to UNCERTAIN.
2402
- * A reconciliation receipt must resolve this exact episode and attempt.
2403
- */
2404
- readonly uncertaintyEpisode?: string;
2405
- }
2406
- /**
2407
- * SupportActionReceipt is an immutable observation, linked to an authority's
2408
- * own receipt. A receipt envelope is verified before storage; strings supplied
2409
- * by a model/customer do not establish delivery, authorization or absence.
2410
- */
2411
- export interface SupportActionReceipt {
2412
- /** Stable source receipt identity; conflicting replay is refused. */
2413
- id?: string;
2414
- /** Public authority that executed or queried the effect. */
2415
- authority?: string;
2416
- /** Public receipt resource, not a foreign database row or signed credential URL. */
2417
- resource?: string;
2418
- /** The action's unchanged stable key. */
2419
- idempotencyKey?: string;
2420
- /** Binds the receipt to the exact immutable action payload. */
2421
- payloadSha256?: string;
2422
- /** Confirmed applied, confirmed absent, unknown or rejected. */
2423
- outcome?: SupportEffectOutcome;
2424
- /** Provider delivery/message ID or tenant remedy receipt identity. */
2425
- externalEffectId?: string;
2426
- /** Authoritative observation time. */
2427
- observeTime?: string;
2428
- /** True only for a query-first reconciliation observation, not initial dispatch. */
2429
- reconciliation?: boolean;
2430
- /** Original envelope/evidence supporting verification. */
2431
- evidence?: SupportEvidence[];
2432
- /** Exact attempt observed, including zero for imported never-claimed uncertainty. */
2433
- attemptNo?: number;
2434
- /**
2435
- * Exact uncertainty episode queried; zero for a non-reconciliation receipt.
2436
- * A new episode always requires a new authenticated query and receipt.
2437
- */
2438
- uncertaintyEpisode?: string;
2439
- }
2440
- /**
2441
- * SupportActor is derived from the authenticated caller or verified ingress.
2442
- * Claimed customer text can never select the actor, decider or delegated grant.
2443
- */
2444
- export interface SupportActor {
2445
- /** Acting Access principal or authenticated external source identity. */
2446
- principal?: string;
2447
- /** Delegating principal, when the grant records one. */
2448
- delegatedFor?: string;
2449
- /** Public source authority for a workload or channel event. */
2450
- authority?: string;
2451
- }
2452
- /**
2453
- * SupportAuditEvent journals a typed state transition or scheduling exception.
2454
- * It is append-only apart from authorized personal-data erasure of evidence;
2455
- * actor, before/after, versions and source identities are never fabricated.
2456
- */
2457
- export interface SupportAuditEvent {
2458
- /** Canonical audit name. */
2459
- name?: string;
2460
- /** Immutable identity. */
2461
- readonly uid?: string;
2462
- /** Committed timestamps. */
2463
- meta?: common.ResourceMeta;
2464
- /** Verified actor/decider for this event. */
2465
- actor?: SupportActor;
2466
- /** Previous complete primary decision, including tracks and deadlines. */
2467
- before?: SupportDecision;
2468
- /** New complete primary decision. */
2469
- after?: SupportDecision;
2470
- /** Previous aggregate version, checked before applying the event. */
2471
- beforeVersion?: string;
2472
- /** New aggregate version; exactly before_version + 1 for a transition. */
2473
- version?: string;
2474
- /** Source event key; repeated delivery cannot create another transition. */
2475
- sourceKey?: string;
2476
- /** Typed overdue fact, when this is a due-scan event instead of a transition. */
2477
- overdue?: SupportOverdue;
2478
- /** Protected original historical event, when importing old audit without versions. */
2479
- sourceRecords?: SupportSourceRecord[];
2480
- }
2481
- /**
2482
- * A SupportCase has one primary state and independently linked issue/action
2483
- * tracks. The case aggregate version serializes decisions across all tracks.
2484
- * No API or resource name contains a deployment, database or provider address.
2485
- */
2486
- export interface SupportCase {
2487
- /** The canonical resource name. */
2488
- name?: string;
2489
- /** Immutable platform identity. */
2490
- readonly uid?: string;
2491
- /** Strong ETag and common metadata. */
2492
- meta?: common.ResourceMeta;
2493
- /** The queue owning this case. */
2494
- inbox?: string;
2495
- /** Original customer-visible case number, including legacy CS numbers. */
2496
- displayNumber?: string;
2497
- /** Case subject; untrusted customer content. */
2498
- subject?: string;
2499
- /** Masked case-scoped requester snapshot; Knowledge owns mutable contacts. */
2500
- requester?: SupportRequester;
2501
- /** Tenant product/account reference. It conveys no verified account ownership. */
2502
- tenantSubject?: string;
2503
- /** Current primary decision, including the required owner and next action. */
2504
- decision?: SupportDecision;
2505
- /** Aggregate version; every accepted decision increments it exactly once. */
2506
- readonly version?: string;
2507
- /** First source-reported received time, preserved through import. */
2508
- receiveTime?: string;
2509
- /** Most recent committed intake time; compared with the inbox intake bound. */
2510
- readonly intakeTime?: string;
2511
- /** Exact source identities and protected full-record evidence references. */
2512
- sourceRecords?: SupportSourceRecord[];
2513
- /** Raw source state/priority/category are preserved rather than collapsed. */
2514
- sourceState?: string;
2515
- /** Case-level priority is separate from state and issue classification. */
2516
- priority?: string;
2517
- /** Last inbound activity, if known. */
2518
- lastInboundTime?: string;
2519
- /** Last confirmed outbound activity, if known. */
2520
- lastOutboundTime?: string;
2521
- /** Last activity, including internal notes. */
2522
- lastActivityTime?: string;
2523
- /** Original resolution time, if known; FINAL_NO_REPLY is still ingestible. */
2524
- resolveTime?: string;
2525
- /** Source evidence, including admission-refused/automated records when linked. */
2526
- evidence?: SupportEvidence[];
2527
- /** Spam suppression survives incoming evidence/payment/notices until a verdict. */
2528
- spam?: SupportSpamDisposition;
2529
- /** Required migration proof before legacy pending may mean WAITING_CUSTOMER. */
2530
- pendingProof?: SupportPendingProof;
2531
- }
2532
- /**
2533
- * A SupportChannel retains the configuration from an inbox's channel link.
2534
- * Provider credentials, provider conversations and delivery execution remain
2535
- * with the channel authority. No inbound event may have two business custodians.
2536
- */
2537
- export interface SupportChannel {
2538
- /** Stable channel-link identity within the inbox. */
2539
- id?: string;
2540
- /** Immutable source identity of this configuration record. */
2541
- uid?: string;
2542
- /** Human-readable channel label. */
2543
- displayName?: string;
2544
- /** Public transport resource or authenticated ingress endpoint. */
2545
- transport?: string;
2546
- /** Exact canonical origins; an empty list never means wildcard browser access. */
2547
- allowedOrigins?: string[];
2548
- /** Whether platform-issued anonymous sessions may enter this browser channel. */
2549
- anonymousAllowed?: boolean;
2550
- /** Whether new intake is admitted; disabling never drops accepted events. */
2551
- enabled?: boolean;
2552
- /** Source metadata, not an authorization mechanism. */
2553
- labels?: Record<string, string>;
2554
- /** Unindexed source annotations. */
2555
- annotations?: Record<string, string>;
2556
- /** Configuration revision, independent of case and delivery versions. */
2557
- version?: string;
2558
- /** Original creation time. */
2559
- createTime?: string;
2560
- /** Last configuration change. */
2561
- updateTime?: string;
2562
- /** Channel class: browser, email, social or product; credentials stay external. */
2563
- kind?: string;
2564
- }
2565
- /** SupportChannelReply names an existing transport. No provider key is exposed. */
2566
- export interface SupportChannelReply {
2567
- /** Permissioned channel resource; deployment and provider host are irrelevant. */
2568
- transport?: string;
2569
- /** Channel-scoped recipient/conversation identity, not verified tenant identity. */
2570
- recipient?: string;
2571
- /** Public reply body; legal/permission checks precede action admission. */
2572
- body?: string;
2573
- /** Threading subject, when the channel has one. */
2574
- subject?: string;
2575
- /** Exact original local message identity and provider ancestry. */
2576
- localMessageId?: string;
2577
- /** Nearest parent provider message identity. */
2578
- inReplyTo?: string;
2579
- /** Original ancestry in order. */
2580
- references?: string[];
2581
- }
2582
- /**
2583
- * SupportDeadline retains the external or internal obligation independently of
2584
- * follow-up scheduling. An empty case deadline list does not clear next_action_at.
2585
- */
2586
- export interface SupportDeadline {
2587
- /** Immutable obligation identity within the case. */
2588
- id?: string;
2589
- /** Legal, platform, contract or internal obligation. */
2590
- kind?: SupportDeadlineKind;
2591
- /** Applicable jurisdiction, or an explicit internal/platform scope. */
2592
- jurisdiction?: string;
2593
- /** Exact rule, law, platform term or contract establishing the deadline. */
2594
- basis?: string;
2595
- /** Absolute computed deadline; never extended by transport retry. */
2596
- dueTime?: string;
2597
- /** Related issue/action track; empty for a case-wide obligation. */
2598
- trackId?: string;
2599
- }
2600
- /**
2601
- * A SupportDecision is a tenant-policy classification receipt. Applying it
2602
- * verifies permissions, expected version and evidence, then commits audit and
2603
- * action admission atomically. ACT_NOW never bypasses legal or permission checks.
2604
- */
2605
- export interface SupportDecision {
2606
- /** Exactly one primary state. */
2607
- state?: SupportCaseState;
2608
- /** Accountable Access principal; required even while waiting or final. */
2609
- owner?: string;
2610
- /** Typed cause of this decision or reopen. */
2611
- reason?: SupportDecisionReason;
2612
- /** Customer-safe explanation; no credentials or unrestricted product records. */
2613
- explanation?: string;
2614
- /** Required for every state, including FINAL_NO_REPLY. Never a delivery retry. */
2615
- nextActionAt?: string;
2616
- /** May be empty when no hard deadline applies; each entry keeps its basis. */
2617
- deadlines?: SupportDeadline[];
2618
- /** Independent linked issues and actions; mixed cases cannot drop an issue. */
2619
- tracks?: SupportTrack[];
2620
- /**
2621
- * Required triggers. On spam they request reclassification review only;
2622
- * no customer-facing reopen or outbound action occurs before a clearing verdict.
2623
- */
2624
- reopenTriggers?: SupportReopenTrigger[];
2625
- /** Immutable tenant-policy API resource and version that produced the decision. */
2626
- policyVersion?: string;
2627
- /** IANA tenant time zone used for business-hours/deadline arithmetic. */
2628
- timeZone?: string;
2629
- /** Nonnegative settlement buffer used in that calculation. */
2630
- settlementBuffer?: string;
2631
- /** Evidence IDs used by the decider, never evidence invented by a model. */
2632
- evidenceIds?: string[];
2633
- }
2634
- /** SupportEscalation names a reviewer and an existing notification operation. */
2635
- export interface SupportEscalation {
2636
- /** Accountable principal or reviewer group. */
2637
- reviewer?: string;
2638
- /** Permissioned destination API resource. */
2639
- destination?: string;
2640
- /** Review brief; internal, never a customer message. */
2641
- brief?: string;
2642
- }
2643
- /**
2644
- * SupportEvidence identifies protected source evidence. Raw email belongs to
2645
- * its existing transport authority; a reference is not another message store.
2646
- */
2647
- export interface SupportEvidence {
2648
- /** Stable evidence identity in the tenant environment. */
2649
- id?: string;
2650
- /** Authenticated source, not a caller-selected trust claim. */
2651
- authority?: string;
2652
- /** Permissioned public API resource containing the bytes; never a credential URL. */
2653
- resource?: string;
2654
- /** SHA-256 of the original evidence bytes, lowercase hexadecimal. */
2655
- sha256?: string;
2656
- /** Registered media type of the original bytes. */
2657
- mediaType?: string;
2658
- /** Exact byte length, not the number of Unicode characters. */
2659
- sizeBytes?: string;
2660
- /** Source-reported received time. */
2661
- receiveTime?: string;
2662
- /** Erasure keeps identity/hash/dedupe tombstones, never resurrects source content. */
2663
- erased?: boolean;
2664
- }
2665
- /**
2666
- * A SupportInbox is a tenant's case queue. It grants no identity or transport
2667
- * authority. Access roles grant SupportService permissions on an org, project
2668
- * or resource. Every storage query also binds org, project, environment and cell.
2669
- */
2670
- export interface SupportInbox {
2671
- /** The canonical resource name. */
2672
- name?: string;
2673
- /** Immutable platform identity; never substitutes for a source case ID. */
2674
- readonly uid?: string;
2675
- /** Labels, annotations, display name, timestamps and strong ETag. */
2676
- meta?: common.ResourceMeta;
2677
- /** Supported BCP 47 locales; the language is still decided per message. */
2678
- locales?: string[];
2679
- /** Verified links to existing transport resources, not transport credentials. */
2680
- channels?: SupportChannel[];
2681
- /** Tenant-policy API resource; rule tables and remedy budgets remain there. */
2682
- policy?: string;
2683
- /** Maximum allowed delay from a received event to committed case intake. */
2684
- intakeBound?: string;
2685
- }
2686
- /** SupportOverdue makes every missed case/track action or obligation explicit. */
2687
- export interface SupportOverdue {
2688
- /** next_action, track_next_action or deadline; exact target ID accompanies it. */
2689
- kind?: string;
2690
- /** Deadline/track identity, or empty for the primary next action. */
2691
- targetId?: string;
2692
- /** Time that was missed, never silently advanced by the scan. */
2693
- dueTime?: string;
2694
- /** When the miss was detected. */
2695
- detectTime?: string;
2696
- }
2697
- /**
2698
- * SupportReconciliation proves a complete scoped pass or lists its uncertainty.
2699
- * Workflows invokes FULL_DAILY and deadline-aligned DUE_SCAN on demand; no
2700
- * Support-specific timer, poll loop or retained warm instance is introduced.
2701
- */
2702
- export interface SupportReconciliation {
2703
- /** Canonical report name. */
2704
- name?: string;
2705
- /** Immutable identity. */
2706
- readonly uid?: string;
2707
- /** Publication timestamps. */
2708
- meta?: common.ResourceMeta;
2709
- /** Full daily population or earliest-deadline-aligned due population. */
2710
- kind?: SupportReconciliationKind;
2711
- /** Exact queue/scope covered; never a cross-tenant scan bypass. */
2712
- inbox?: string;
2713
- /** Verified principal/workload that requested the pass. */
2714
- actor?: SupportActor;
2715
- /** Snapshot/read time and source watermark used to establish coverage. */
2716
- snapshotTime?: string;
2717
- /** Authoritative source cursor or snapshot token, not a secret. */
2718
- sourceWatermark?: string;
2719
- /** True only when every page in the declared population was checked. */
2720
- complete?: boolean;
2721
- /** Number of cases checked; zero proves nothing without complete coverage. */
2722
- checkedCases?: string;
2723
- /** Cases without an accountable owner. */
2724
- unowned?: string;
2725
- /** Cases without a required next action. */
2726
- unscheduled?: string;
2727
- /** Unhandled due obligations or next actions. */
2728
- overdue?: string;
2729
- /** Every exception is retained, not only a count or a truncated sample. */
2730
- exceptions?: SupportReconciliationException[];
2731
- /** Next on-demand scan, no later than the earliest unhandled obligation/action. */
2732
- nextScanTime?: string;
2733
- /** Full canonical population hash for migration/read-compare, when applicable. */
2734
- populationSha256?: string;
2735
- }
2736
- /** SupportReconciliationException records the exact affected resource and reason. */
2737
- export interface SupportReconciliationException {
2738
- /** Affected case/action/source resource, scoped by the authenticated query. */
2739
- resource?: string;
2740
- /** unowned, unscheduled, overdue, uncertain_action, intake_late or source_mismatch. */
2741
- kind?: string;
2742
- /** Actionable explanation with no unrestricted customer content. */
2743
- reason?: string;
2744
- /** Earliest related missed action or obligation, when applicable. */
2745
- dueTime?: string;
2746
- }
2747
- /** SupportRemedyRequest is a command for the tenant API, never a direct DB write. */
2748
- export interface SupportRemedyRequest {
2749
- /** Published tenant operation resource or API endpoint, under the caller grant. */
2750
- operation?: string;
2751
- /** Content-addressed, permissioned request evidence; contains no credentials. */
2752
- request?: SupportEvidence;
2753
- /** Tenant authorization/verification receipt binding exact remedy arguments. */
2754
- authorizationReceipt?: string;
2755
- }
2756
- /**
2757
- * SupportRequester is a case snapshot, never a second customer master or a
2758
- * verified identity inferred from From. Reveal requires a separately audited RPC.
2759
- */
2760
- export interface SupportRequester {
2761
- /** Permission-scoped Knowledge contact resource, when available. */
2762
- contact?: string;
2763
- /** Masked contact address or channel identity for ordinary case reads. */
2764
- maskedIdentity?: string;
2765
- /** Source display name; treated as personal data. */
2766
- displayName?: string;
2767
- /** none, suggested, confirmed or cleared; an unconfirmed link grants nothing. */
2768
- linkState?: string;
2769
- /** Tenant-owned subject mapping, not a Support-issued user identity. */
2770
- tenantSubject?: string;
2771
- /** Who verified or cleared the link, if known. */
2772
- linkActor?: SupportActor;
2773
- /** When the source link was verified or cleared, if known. */
2774
- linkTime?: string;
2775
- /** Original requester identity and source record, including tombstones. */
2776
- sourceRecords?: SupportSourceRecord[];
2777
- }
2778
- /**
2779
- * SupportSourceRecord preserves exact legacy IDs and complete protected source
2780
- * records, including nullable fields. Backfill compares counts and full hashes;
2781
- * it never reuses a historical source version as a new concurrency version.
2782
- */
2783
- export interface SupportSourceRecord {
2784
- /** Stable source namespace, retained across retries and migration phases. */
2785
- source?: string;
2786
- /** Original relation or event kind. */
2787
- sourceTable?: string;
2788
- /** Unchanged source primary key, including numeric case/message/outbox IDs. */
2789
- sourceId?: string;
2790
- /** Evidence holding the full canonical source record, not a lossy projection. */
2791
- evidence?: SupportEvidence;
2792
- /** Original source version, if present; zero means absent, not fabricated. */
2793
- sourceVersion?: string;
2794
- }
2795
- /**
2796
- * SupportThreadMessage is the sole normalized case-thread record. Transport
2797
- * buffers, provider indexes and agent context are not independent case history.
2798
- */
2799
- export interface SupportThreadMessage {
2800
- /** Canonical thread message name. */
2801
- name?: string;
2802
- /** Immutable identity. */
2803
- readonly uid?: string;
2804
- /** Timestamps and metadata. */
2805
- meta?: common.ResourceMeta;
2806
- /** Immutable source-scoped event identity; changed replays are refused. */
2807
- sourceKey?: string;
2808
- /** Explicit audience; internal notes never enter the customer timeline. */
2809
- visibility?: SupportMessageVisibility;
2810
- /** Verified author; never inferred from a claimed From address. */
2811
- author?: SupportActor;
2812
- /** Text body or evidence projection; untrusted personal content. */
2813
- body?: string;
2814
- /** Source evidence, including explicitly untrusted HTML and attachments. */
2815
- evidence?: SupportEvidence[];
2816
- /** Existing channel-link ID, not a credential. */
2817
- channelId?: string;
2818
- /** Original provider message identity and ancestry. */
2819
- threadKeys?: string[];
2820
- /** Related business action, never a notification delivery state alias. */
2821
- action?: string;
2822
- /** Tombstone; source keys/ancestry survive authorized erasure. */
2823
- erased?: boolean;
2824
- /** Original IDs/records for lossless migration. */
2825
- sourceRecords?: SupportSourceRecord[];
2826
- /** Source direction: inbound, outbound or internal; independent of visibility. */
2827
- direction?: string;
2828
- }
2829
- /** SupportTrack is an independently scheduled issue or action linked to a case. */
2830
- export interface SupportTrack {
2831
- /** Immutable identity within the case. */
2832
- id?: string;
2833
- /** ISSUE or ACTION; never a competing case/thread identity. */
2834
- kind?: SupportTrackKind;
2835
- /** Tenant's issue category, for example payment, privacy or technical. */
2836
- category?: string;
2837
- /** Independent track state; primary state cannot hide outstanding tracks. */
2838
- state?: SupportCaseState;
2839
- /** Accountable principal for this track. */
2840
- owner?: string;
2841
- /** Required follow-up for this track. */
2842
- nextActionAt?: string;
2843
- /** Other track IDs in the same case; no cross-tenant links. */
2844
- linkedTrackIds?: string[];
2845
- /** Action resource associated with an action track, when admitted. */
2846
- action?: string;
2847
- /** Evidence IDs relevant to this issue, not all case personal data. */
2848
- evidenceIds?: string[];
2849
- /** Classification reason for this track. */
2850
- reason?: string;
2851
- }
2852
1997
  /**
2853
1998
  * A Suppression stops delivery to one address on one channel. Bounces,
2854
1999
  * complaints, carrier opt-outs, uninstalled devices, and unsubscribes write
@@ -3024,15 +2169,6 @@ export interface UpdateSenderRequest {
3024
2169
  /** Validate and return the result without writing anything. */
3025
2170
  validateOnly?: boolean;
3026
2171
  }
3027
- /** Conditional inbox configuration change. */
3028
- export interface UpdateSupportInboxRequest {
3029
- /** Inbox with the current meta.etag. */
3030
- supportInbox: SupportInbox;
3031
- /** Explicit fields to change; no case or transport state. */
3032
- updateMask: string;
3033
- /** Validate without changing configuration. */
3034
- validateOnly?: boolean;
3035
- }
3036
2172
  /** The request of UpdateTemplate. */
3037
2173
  export interface UpdateTemplateRequest {
3038
2174
  /** The template to update; `name` identifies it. */
@@ -3112,47 +2248,6 @@ export type MessageState = 'accepted' | 'suppressed' | 'delivering' | 'delivered
3112
2248
  export type PushPlatform = 'apns' | 'fcm' | 'web_push' | (string & {});
3113
2249
  /** What happens to mail judged spam on a Route. */
3114
2250
  export type RouteSpamPolicy = 'deliver' | 'drop' | 'reject' | (string & {});
3115
- /** SupportActionState separates business completion from transport acceptance. */
3116
- export type SupportActionState = 'pending' | 'in_flight' | 'uncertain' | 'succeeded' | 'failed' | 'cancelled' | (string & {});
3117
- /**
3118
- * SupportCaseState is the one primary operational state, not ownership,
3119
- * transport delivery state, an agent turn or a replacement for linked tracks.
3120
- */
3121
- export type SupportCaseState = 'act_now' | 'scheduled' | 'waiting_customer' | 'waiting_review' | 'final_no_reply' | (string & {});
3122
- /** SupportDeadlineKind names the authority establishing an obligation. */
3123
- export type SupportDeadlineKind = 'legal' | 'platform' | 'contract' | 'internal' | (string & {});
3124
- /** SupportDecisionReason distinguishes a fresh classification from a reopen. */
3125
- export type SupportDecisionReason = 'policy' | 'operator' | 'new_evidence' | 'new_payment' | 'legal_notice' | 'regulatory_notice' | 'due' | 'migration' | 'spam_reclassification' | 'not_spam' | 'confirmed_customer' | 'institutional_notice' | (string & {});
3126
- /**
3127
- * SupportEffectOutcome distinguishes unknown from confirmed no-effect. Only an
3128
- * authenticated query receipt proving NOT_APPLIED can release UNCERTAIN to a
3129
- * new attempt of the SAME action/key. The receipt must bind the current attempt
3130
- * AND uncertainty episode; a prior episode's absence proof is never reusable.
3131
- * UNKNOWN remains scheduled for query/review.
3132
- */
3133
- export type SupportEffectOutcome = 'applied' | 'not_applied' | 'unknown' | 'rejected' | (string & {});
3134
- /** SupportMessageVisibility is a hard customer-projection boundary. */
3135
- export type SupportMessageVisibility = 'public' | 'internal' | (string & {});
3136
- /**
3137
- * SupportPendingProof records why legacy pending is genuinely a customer wait.
3138
- * Without one of these source facts, policy must choose WAITING_REVIEW or SCHEDULED.
3139
- */
3140
- export type SupportPendingProof = 'last_outbound' | 'staff_action' | 'source_history' | (string & {});
3141
- /** SupportReconciliationKind chooses a scope, not another execution engine. */
3142
- export type SupportReconciliationKind = 'full_daily' | 'due_scan' | 'migration_compare' | (string & {});
3143
- /**
3144
- * SupportReopenTrigger applies even in FINAL_NO_REPLY. On suppressed spam it
3145
- * starts reclassification review only; a verified not_spam/real-customer verdict
3146
- * must precede reopen. Duplicated events/echoes are never new activity.
3147
- */
3148
- export type SupportReopenTrigger = 'new_evidence' | 'new_payment' | 'legal_notice' | 'regulatory_notice' | (string & {});
3149
- /**
3150
- * SupportSpamDisposition is independent from primary state. SUPPRESSED and
3151
- * REVIEW_REQUIRED both keep FINAL_NO_REPLY and forbid outbound action admission.
3152
- */
3153
- export type SupportSpamDisposition = 'suppressed' | 'review_required' | 'not_spam' | 'confirmed_customer' | (string & {});
3154
- /** SupportTrackKind separates a reported issue from a requested durable action. */
3155
- export type SupportTrackKind = 'issue' | 'action' | (string & {});
3156
2251
  /** Why an address is suppressed. */
3157
2252
  export type SuppressionReason = 'bounce' | 'complaint' | 'carrier_opt_out' | 'unsubscribe' | 'uninstalled' | 'manual' | (string & {});
3158
2253
  /**
@@ -3201,18 +2296,6 @@ export declare class NotifyApi {
3201
2296
  readonly inboundSms: InboundSmsCollection;
3202
2297
  /** The `inbound_messages` collection. */
3203
2298
  readonly inboundMessages: InboundMessagesCollection;
3204
- /** The `support_inboxes` collection. */
3205
- readonly supportInboxes: SupportInboxesCollection;
3206
- /** The `support_cases` collection. */
3207
- readonly supportCases: SupportCasesCollection;
3208
- /** The `support_thread_messages` collection. */
3209
- readonly supportThreadMessages: SupportThreadMessagesCollection;
3210
- /** The `support_actions` collection. */
3211
- readonly supportActions: SupportActionsCollection;
3212
- /** The `support_audit_events` collection. */
3213
- readonly supportAuditEvents: SupportAuditEventsCollection;
3214
- /** The `support_reconciliations` collection. */
3215
- readonly supportReconciliations: SupportReconciliationsCollection;
3216
2299
  constructor(client: runtime.Client);
3217
2300
  }
3218
2301
  /** `phone_numbers` of Sylphx Notify: Resource type `notify.sylphx.com/PhoneNumber`. */
@@ -4077,245 +3160,3 @@ export declare class InboundMessagesCollection {
4077
3160
  */
4078
3161
  download(request: DownloadInboundMessageRequest): Promise<DownloadInboundMessageResponse>;
4079
3162
  }
4080
- /** `support_inboxes` of Sylphx Notify: Resource type `notify.sylphx.com/SupportInbox`. */
4081
- export declare class SupportInboxesCollection {
4082
- private readonly client;
4083
- constructor(client: runtime.Client);
4084
- /**
4085
- * Gets one SupportInbox; protected identities require a separately audited reveal.
4086
- *
4087
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:read` · effect `read`
4088
- *
4089
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4090
- */
4091
- get(request: GetSupportInboxRequest): Promise<SupportInbox>;
4092
- /**
4093
- * Lists scoped support_inboxes; no cross-tenant or internal-message projection.
4094
- *
4095
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:read` · effect `read`
4096
- *
4097
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4098
- */
4099
- list(request: ListSupportInboxesRequest): Promise<ListSupportInboxesResponse>;
4100
- /** Every item of every page of `list`. */
4101
- listAll(request: ListSupportInboxesRequest): AsyncGenerator<SupportInbox>;
4102
- /**
4103
- * Creates an idempotent SupportInbox; changed replay and illegal state are refused.
4104
- *
4105
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:configure` · effect `write`
4106
- *
4107
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4108
- */
4109
- create(request: CreateSupportInboxRequest): Promise<SupportInbox>;
4110
- /**
4111
- * Updates configuration with a strong ETag; intake never creates a missing inbox.
4112
- *
4113
- * `PATCH /v1/{support_inbox.name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:configure` · effect `write`
4114
- *
4115
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4116
- */
4117
- update(request: UpdateSupportInboxRequest): Promise<SupportInbox>;
4118
- }
4119
- /** `support_cases` of Sylphx Notify: Resource type `notify.sylphx.com/SupportCase`. */
4120
- export declare class SupportCasesCollection {
4121
- private readonly client;
4122
- constructor(client: runtime.Client);
4123
- /**
4124
- * Gets one SupportCase; protected identities require a separately audited reveal.
4125
- *
4126
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}` · permission `notify:support:read` · effect `read`
4127
- *
4128
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4129
- */
4130
- get(request: GetSupportCaseRequest): Promise<SupportCase>;
4131
- /**
4132
- * Lists scoped support_cases; no cross-tenant or internal-message projection.
4133
- *
4134
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:read` · effect `read`
4135
- *
4136
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4137
- */
4138
- list(request: ListSupportCasesRequest): Promise<ListSupportCasesResponse>;
4139
- /** Every item of every page of `list`. */
4140
- listAll(request: ListSupportCasesRequest): AsyncGenerator<SupportCase>;
4141
- /**
4142
- * Creates an idempotent SupportCase; changed replay and illegal state are refused.
4143
- *
4144
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:operate` · effect `write`
4145
- *
4146
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4147
- */
4148
- create(request: CreateSupportCaseRequest): Promise<SupportCase>;
4149
- /**
4150
- * 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.
4151
- *
4152
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:applySupportDecision` · permission `notify:support:operate` · effect `write`
4153
- *
4154
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4155
- */
4156
- applySupportDecision(request: ApplySupportDecisionRequest): Promise<SupportCase>;
4157
- /**
4158
- * Admits one authenticated source signal, deduped by immutable identity. Spam signals wake reclassification review without reopening, customer reply or new business action.
4159
- *
4160
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:ingestSupportSignal` · permission `notify:support:ingest` · effect `write`
4161
- *
4162
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4163
- */
4164
- ingestSupportSignal(request: IngestSupportSignalRequest): Promise<SupportCase>;
4165
- /**
4166
- * Reveals the protected case requester under a purpose-bound grant and appends an audited read.
4167
- *
4168
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:revealSupportRequester` · permission `notify:support:reveal` · effect `write`
4169
- *
4170
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4171
- */
4172
- revealSupportRequester(request: RevealSupportRequesterRequest): Promise<RevealSupportRequesterResponse>;
4173
- /**
4174
- * 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.
4175
- *
4176
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases:import` · permission `notify:support:import` · effect `write`
4177
- *
4178
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4179
- */
4180
- import(request: ImportSupportCasesRequest): Promise<ImportSupportCasesResponse>;
4181
- }
4182
- /** `support_thread_messages` of Sylphx Notify: Resource type `notify.sylphx.com/SupportThreadMessage`. */
4183
- export declare class SupportThreadMessagesCollection {
4184
- private readonly client;
4185
- constructor(client: runtime.Client);
4186
- /**
4187
- * Gets one SupportThreadMessage; protected identities require a separately audited reveal.
4188
- *
4189
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_thread_messages/*}` · permission `notify:support:read` · effect `read`
4190
- *
4191
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4192
- */
4193
- get(request: GetSupportThreadMessageRequest): Promise<SupportThreadMessage>;
4194
- /**
4195
- * Lists scoped support_thread_messages; no cross-tenant or internal-message projection.
4196
- *
4197
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:read` · effect `read`
4198
- *
4199
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4200
- */
4201
- list(request: ListSupportThreadMessagesRequest): Promise<ListSupportThreadMessagesResponse>;
4202
- /** Every item of every page of `list`. */
4203
- listAll(request: ListSupportThreadMessagesRequest): AsyncGenerator<SupportThreadMessage>;
4204
- /**
4205
- * Creates an idempotent SupportThreadMessage; changed replay and illegal state are refused.
4206
- *
4207
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:operate` · effect `write`
4208
- *
4209
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4210
- */
4211
- create(request: CreateSupportThreadMessageRequest): Promise<SupportThreadMessage>;
4212
- }
4213
- /** `support_actions` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAction`. */
4214
- export declare class SupportActionsCollection {
4215
- private readonly client;
4216
- constructor(client: runtime.Client);
4217
- /**
4218
- * Gets one SupportAction; protected identities require a separately audited reveal.
4219
- *
4220
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}` · permission `notify:support:read` · effect `read`
4221
- *
4222
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4223
- */
4224
- get(request: GetSupportActionRequest): Promise<SupportAction>;
4225
- /**
4226
- * Lists scoped support_actions; no cross-tenant or internal-message projection.
4227
- *
4228
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:read` · effect `read`
4229
- *
4230
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4231
- */
4232
- list(request: ListSupportActionsRequest): Promise<ListSupportActionsResponse>;
4233
- /** Every item of every page of `list`. */
4234
- listAll(request: ListSupportActionsRequest): AsyncGenerator<SupportAction>;
4235
- /**
4236
- * Creates an idempotent SupportAction; changed replay and illegal state are refused.
4237
- *
4238
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:actions` · effect `write`
4239
- *
4240
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4241
- */
4242
- create(request: CreateSupportActionRequest): Promise<SupportAction>;
4243
- /**
4244
- * Claims one fenced attempt of a conclusively dispatchable action. An expired in-flight claim becomes UNCERTAIN, never PENDING.
4245
- *
4246
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:beginSupportActionAttempt` · permission `notify:support:dispatch` · effect `write`
4247
- *
4248
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4249
- */
4250
- beginSupportActionAttempt(request: BeginSupportActionAttemptRequest): Promise<BeginSupportActionAttemptResponse>;
4251
- /**
4252
- * Records an authenticated immutable authority receipt. Transport state changes alone never change a case or business action.
4253
- *
4254
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:recordSupportActionReceipt` · permission `notify:support:receipts` · effect `write`
4255
- *
4256
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4257
- */
4258
- recordSupportActionReceipt(request: RecordSupportActionReceiptRequest): Promise<SupportAction>;
4259
- /**
4260
- * 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.
4261
- *
4262
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:reconcile` · permission `notify:support:reconcile` · effect `write`
4263
- *
4264
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4265
- */
4266
- reconcile(request: ReconcileSupportActionRequest): Promise<SupportAction>;
4267
- }
4268
- /** `support_audit_events` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAuditEvent`. */
4269
- export declare class SupportAuditEventsCollection {
4270
- private readonly client;
4271
- constructor(client: runtime.Client);
4272
- /**
4273
- * Gets one SupportAuditEvent; protected identities require a separately audited reveal.
4274
- *
4275
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_audit_events/*}` · permission `notify:support:read` · effect `read`
4276
- *
4277
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4278
- */
4279
- get(request: GetSupportAuditEventRequest): Promise<SupportAuditEvent>;
4280
- /**
4281
- * Lists scoped support_audit_events; no cross-tenant or internal-message projection.
4282
- *
4283
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_audit_events` · permission `notify:support:read` · effect `read`
4284
- *
4285
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4286
- */
4287
- list(request: ListSupportAuditEventsRequest): Promise<ListSupportAuditEventsResponse>;
4288
- /** Every item of every page of `list`. */
4289
- listAll(request: ListSupportAuditEventsRequest): AsyncGenerator<SupportAuditEvent>;
4290
- }
4291
- /** `support_reconciliations` of Sylphx Notify: Resource type `notify.sylphx.com/SupportReconciliation`. */
4292
- export declare class SupportReconciliationsCollection {
4293
- private readonly client;
4294
- constructor(client: runtime.Client);
4295
- /**
4296
- * Gets one SupportReconciliation; protected identities require a separately audited reveal.
4297
- *
4298
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_reconciliations/*}` · permission `notify:support:read` · effect `read`
4299
- *
4300
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4301
- */
4302
- get(request: GetSupportReconciliationRequest): Promise<SupportReconciliation>;
4303
- /**
4304
- * Lists scoped support_reconciliations; no cross-tenant or internal-message projection.
4305
- *
4306
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations` · permission `notify:support:read` · effect `read`
4307
- *
4308
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
4309
- */
4310
- list(request: ListSupportReconciliationsRequest): Promise<ListSupportReconciliationsResponse>;
4311
- /** Every item of every page of `list`. */
4312
- listAll(request: ListSupportReconciliationsRequest): AsyncGenerator<SupportReconciliation>;
4313
- /**
4314
- * Runs one scoped daily census, dense due pass or migration comparison on demand. Incomplete coverage never proves zero exceptions.
4315
- *
4316
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations:run` · permission `notify:support:reconcile` · effect `write`
4317
- *
4318
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
4319
- */
4320
- run(request: RunSupportReconciliationRequest): Promise<SupportReconciliation>;
4321
- }