@sylphx/sdk 0.32.24 → 0.32.27

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.js CHANGED
@@ -16,25 +16,7 @@ runtime.registerSchemas({
16
16
  ['providerSessionToken', 'provider_session_token'],
17
17
  ['validateOnly', 'validate_only'],
18
18
  ],
19
- 'sylphx.notify.v1.ApplySupportDecisionRequest': [
20
- ['expectedVersion', 'expected_version'],
21
- ['requestId', 'request_id'],
22
- ['validateOnly', 'validate_only'],
23
- ['after', 'after', 'sylphx.notify.v1.SupportDecision'],
24
- ['pendingProof', 'pending_proof'],
25
- ['sourceKey', 'source_key'],
26
- ],
27
19
  'sylphx.notify.v1.ArchiveInboxItemRequest': [],
28
- 'sylphx.notify.v1.BeginSupportActionAttemptRequest': [
29
- ['expectedVersion', 'expected_version'],
30
- ['requestId', 'request_id'],
31
- ['validateOnly', 'validate_only'],
32
- ],
33
- 'sylphx.notify.v1.BeginSupportActionAttemptResponse': [
34
- ['action', 'action', 'sylphx.notify.v1.SupportAction'],
35
- ['attemptId', 'attempt_id'],
36
- ['claimExpireTime', 'claim_expire_time'],
37
- ],
38
20
  'sylphx.notify.v1.Broadcast': [
39
21
  ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
40
22
  ['spec', 'spec', 'sylphx.notify.v1.BroadcastSpec'],
@@ -119,32 +101,6 @@ runtime.registerSchemas({
119
101
  ['smsNumberId', 'sms_number_id'],
120
102
  ['smsNumber', 'sms_number', 'sylphx.notify.v1.SmsNumber'],
121
103
  ],
122
- 'sylphx.notify.v1.CreateSupportActionRequest': [
123
- ['supportAction', 'support_action', 'sylphx.notify.v1.SupportAction'],
124
- ['supportActionId', 'support_action_id'],
125
- ['requestId', 'request_id'],
126
- ['validateOnly', 'validate_only'],
127
- ['expectedVersion', 'expected_version'],
128
- ],
129
- 'sylphx.notify.v1.CreateSupportCaseRequest': [
130
- ['supportCase', 'support_case', 'sylphx.notify.v1.SupportCase'],
131
- ['supportCaseId', 'support_case_id'],
132
- ['requestId', 'request_id'],
133
- ['validateOnly', 'validate_only'],
134
- ],
135
- 'sylphx.notify.v1.CreateSupportInboxRequest': [
136
- ['supportInbox', 'support_inbox', 'sylphx.notify.v1.SupportInbox'],
137
- ['supportInboxId', 'support_inbox_id'],
138
- ['requestId', 'request_id'],
139
- ['validateOnly', 'validate_only'],
140
- ],
141
- 'sylphx.notify.v1.CreateSupportThreadMessageRequest': [
142
- ['supportThreadMessage', 'support_thread_message', 'sylphx.notify.v1.SupportThreadMessage'],
143
- ['supportThreadMessageId', 'support_thread_message_id'],
144
- ['requestId', 'request_id'],
145
- ['validateOnly', 'validate_only'],
146
- ['expectedVersion', 'expected_version'],
147
- ],
148
104
  'sylphx.notify.v1.CreateSuppressionRequest': [
149
105
  ['suppressionId', 'suppression_id'],
150
106
  ['suppression', 'suppression', 'sylphx.notify.v1.Suppression'],
@@ -255,27 +211,8 @@ runtime.registerSchemas({
255
211
  'sylphx.notify.v1.GetRouteRequest': [],
256
212
  'sylphx.notify.v1.GetSenderRequest': [],
257
213
  'sylphx.notify.v1.GetSmsNumberRequest': [],
258
- 'sylphx.notify.v1.GetSupportActionRequest': [],
259
- 'sylphx.notify.v1.GetSupportAuditEventRequest': [],
260
- 'sylphx.notify.v1.GetSupportCaseRequest': [],
261
- 'sylphx.notify.v1.GetSupportInboxRequest': [],
262
- 'sylphx.notify.v1.GetSupportReconciliationRequest': [],
263
- 'sylphx.notify.v1.GetSupportThreadMessageRequest': [],
264
214
  'sylphx.notify.v1.GetSuppressionRequest': [],
265
215
  'sylphx.notify.v1.GetTemplateRequest': [],
266
- 'sylphx.notify.v1.ImportSupportCasesRequest': [
267
- ['supportCases', 'support_cases', 'sylphx.notify.v1.SupportCase'],
268
- ['messages', 'messages', 'sylphx.notify.v1.SupportThreadMessage'],
269
- ['actions', 'actions', 'sylphx.notify.v1.SupportAction'],
270
- ['auditEvents', 'audit_events', 'sylphx.notify.v1.SupportAuditEvent'],
271
- ['sourceSha256', 'source_sha256'],
272
- ['requestId', 'request_id'],
273
- ['validateOnly', 'validate_only'],
274
- ],
275
- 'sylphx.notify.v1.ImportSupportCasesResponse': [
276
- ['targetSha256', 'target_sha256'],
277
- ['exceptions', 'exceptions', 'sylphx.notify.v1.SupportReconciliationException'],
278
- ],
279
216
  'sylphx.notify.v1.InboundEmail': [
280
217
  ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
281
218
  ['messageId', 'message_id'],
@@ -313,14 +250,6 @@ runtime.registerSchemas({
313
250
  ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
314
251
  ['actionUri', 'action_uri'],
315
252
  ],
316
- 'sylphx.notify.v1.IngestSupportSignalRequest': [
317
- ['expectedVersion', 'expected_version'],
318
- ['requestId', 'request_id'],
319
- ['validateOnly', 'validate_only'],
320
- ['sourceKey', 'source_key'],
321
- ['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
322
- ['receiveTime', 'receive_time'],
323
- ],
324
253
  'sylphx.notify.v1.ListBroadcastsRequest': [
325
254
  ['pageSize', 'page_size'],
326
255
  ['pageToken', 'page_token'],
@@ -472,60 +401,6 @@ runtime.registerSchemas({
472
401
  ['smsNumbers', 'sms_numbers', 'sylphx.notify.v1.SmsNumber'],
473
402
  ['nextPageToken', 'next_page_token'],
474
403
  ],
475
- 'sylphx.notify.v1.ListSupportActionsRequest': [
476
- ['pageSize', 'page_size'],
477
- ['pageToken', 'page_token'],
478
- ['orderBy', 'order_by'],
479
- ],
480
- 'sylphx.notify.v1.ListSupportActionsResponse': [
481
- ['supportActions', 'support_actions', 'sylphx.notify.v1.SupportAction'],
482
- ['nextPageToken', 'next_page_token'],
483
- ],
484
- 'sylphx.notify.v1.ListSupportAuditEventsRequest': [
485
- ['pageSize', 'page_size'],
486
- ['pageToken', 'page_token'],
487
- ['orderBy', 'order_by'],
488
- ],
489
- 'sylphx.notify.v1.ListSupportAuditEventsResponse': [
490
- ['supportAuditEvents', 'support_audit_events', 'sylphx.notify.v1.SupportAuditEvent'],
491
- ['nextPageToken', 'next_page_token'],
492
- ],
493
- 'sylphx.notify.v1.ListSupportCasesRequest': [
494
- ['pageSize', 'page_size'],
495
- ['pageToken', 'page_token'],
496
- ['orderBy', 'order_by'],
497
- ],
498
- 'sylphx.notify.v1.ListSupportCasesResponse': [
499
- ['supportCases', 'support_cases', 'sylphx.notify.v1.SupportCase'],
500
- ['nextPageToken', 'next_page_token'],
501
- ],
502
- 'sylphx.notify.v1.ListSupportInboxesRequest': [
503
- ['pageSize', 'page_size'],
504
- ['pageToken', 'page_token'],
505
- ['orderBy', 'order_by'],
506
- ],
507
- 'sylphx.notify.v1.ListSupportInboxesResponse': [
508
- ['supportInboxes', 'support_inboxes', 'sylphx.notify.v1.SupportInbox'],
509
- ['nextPageToken', 'next_page_token'],
510
- ],
511
- 'sylphx.notify.v1.ListSupportReconciliationsRequest': [
512
- ['pageSize', 'page_size'],
513
- ['pageToken', 'page_token'],
514
- ['orderBy', 'order_by'],
515
- ],
516
- 'sylphx.notify.v1.ListSupportReconciliationsResponse': [
517
- ['supportReconciliations', 'support_reconciliations', 'sylphx.notify.v1.SupportReconciliation'],
518
- ['nextPageToken', 'next_page_token'],
519
- ],
520
- 'sylphx.notify.v1.ListSupportThreadMessagesRequest': [
521
- ['pageSize', 'page_size'],
522
- ['pageToken', 'page_token'],
523
- ['orderBy', 'order_by'],
524
- ],
525
- 'sylphx.notify.v1.ListSupportThreadMessagesResponse': [
526
- ['supportThreadMessages', 'support_thread_messages', 'sylphx.notify.v1.SupportThreadMessage'],
527
- ['nextPageToken', 'next_page_token'],
528
- ],
529
404
  'sylphx.notify.v1.ListSuppressionsRequest': [
530
405
  ['pageSize', 'page_size'],
531
406
  ['pageToken', 'page_token'],
@@ -613,6 +488,7 @@ runtime.registerSchemas({
613
488
  ['content', 'content', 'sylphx.notify.v1.MessageContent'],
614
489
  ['parentMessageId', 'parent_message_id'],
615
490
  ['emailMessageId', 'email_message_id'],
491
+ ['replyTo', 'reply_to'],
616
492
  ],
617
493
  'sylphx.notify.v1.MessageCapture': [
618
494
  ['textBody', 'text_body'],
@@ -707,18 +583,6 @@ runtime.registerSchemas({
707
583
  ['languageCode', 'language_code'],
708
584
  ['timeZone', 'time_zone'],
709
585
  ],
710
- 'sylphx.notify.v1.ReconcileSupportActionRequest': [
711
- ['expectedVersion', 'expected_version'],
712
- ['requestId', 'request_id'],
713
- ['validateOnly', 'validate_only'],
714
- ],
715
- 'sylphx.notify.v1.RecordSupportActionReceiptRequest': [
716
- ['expectedVersion', 'expected_version'],
717
- ['requestId', 'request_id'],
718
- ['validateOnly', 'validate_only'],
719
- ['receipt', 'receipt', 'sylphx.notify.v1.SupportActionReceipt'],
720
- ['attemptId', 'attempt_id'],
721
- ],
722
586
  'sylphx.notify.v1.RegisterPushDeviceRequest': [
723
587
  ['device', 'device', 'sylphx.notify.v1.PushDevice'],
724
588
  ],
@@ -728,14 +592,6 @@ runtime.registerSchemas({
728
592
  ['recipientUid', 'recipient_uid'],
729
593
  ['registrationGeneration', 'registration_generation'],
730
594
  ],
731
- 'sylphx.notify.v1.RevealSupportRequesterRequest': [
732
- ['expectedVersion', 'expected_version'],
733
- ['requestId', 'request_id'],
734
- ['validateOnly', 'validate_only'],
735
- ],
736
- 'sylphx.notify.v1.RevealSupportRequesterResponse': [
737
- ['auditEvent', 'audit_event'],
738
- ],
739
595
  'sylphx.notify.v1.Route': [
740
596
  ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
741
597
  ['spec', 'spec', 'sylphx.notify.v1.RouteSpec'],
@@ -753,12 +609,6 @@ runtime.registerSchemas({
753
609
  ['observedGeneration', 'observed_generation'],
754
610
  ['conditions', 'conditions', 'sylphx.common.v1.Condition'],
755
611
  ],
756
- 'sylphx.notify.v1.RunSupportReconciliationRequest': [
757
- ['requestId', 'request_id'],
758
- ['pageToken', 'page_token'],
759
- ['pageSize', 'page_size'],
760
- ['validateOnly', 'validate_only'],
761
- ],
762
612
  'sylphx.notify.v1.SendBroadcastRequest': [
763
613
  ['validateOnly', 'validate_only'],
764
614
  ],
@@ -814,150 +664,6 @@ runtime.registerSchemas({
814
664
  ['senderKey', 'sender_key'],
815
665
  ['regionCodes', 'region_codes'],
816
666
  ],
817
- 'sylphx.notify.v1.SupportAction': [
818
- ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
819
- ['idempotencyKey', 'idempotency_key'],
820
- ['payloadSha256', 'payload_sha256'],
821
- ['trackId', 'track_id'],
822
- ['actor', 'actor', 'sylphx.notify.v1.SupportActor'],
823
- ['reply', 'reply', 'sylphx.notify.v1.SupportChannelReply'],
824
- ['remedy', 'remedy', 'sylphx.notify.v1.SupportRemedyRequest'],
825
- ['escalation', 'escalation', 'sylphx.notify.v1.SupportEscalation'],
826
- ['receipt', 'receipt', 'sylphx.notify.v1.SupportActionReceipt'],
827
- ['failureCause', 'failure_cause'],
828
- ['reconcileTime', 'reconcile_time'],
829
- ['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
830
- ['attemptCount', 'attempt_count'],
831
- ['uncertaintyEpisode', 'uncertainty_episode'],
832
- ],
833
- 'sylphx.notify.v1.SupportActionReceipt': [
834
- ['idempotencyKey', 'idempotency_key'],
835
- ['payloadSha256', 'payload_sha256'],
836
- ['externalEffectId', 'external_effect_id'],
837
- ['observeTime', 'observe_time'],
838
- ['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
839
- ['attemptNo', 'attempt_no'],
840
- ['uncertaintyEpisode', 'uncertainty_episode'],
841
- ],
842
- 'sylphx.notify.v1.SupportActor': [
843
- ['delegatedFor', 'delegated_for'],
844
- ],
845
- 'sylphx.notify.v1.SupportAuditEvent': [
846
- ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
847
- ['actor', 'actor', 'sylphx.notify.v1.SupportActor'],
848
- ['before', 'before', 'sylphx.notify.v1.SupportDecision'],
849
- ['after', 'after', 'sylphx.notify.v1.SupportDecision'],
850
- ['beforeVersion', 'before_version'],
851
- ['sourceKey', 'source_key'],
852
- ['overdue', 'overdue', 'sylphx.notify.v1.SupportOverdue'],
853
- ['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
854
- ],
855
- 'sylphx.notify.v1.SupportCase': [
856
- ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
857
- ['displayNumber', 'display_number'],
858
- ['requester', 'requester', 'sylphx.notify.v1.SupportRequester'],
859
- ['tenantSubject', 'tenant_subject'],
860
- ['decision', 'decision', 'sylphx.notify.v1.SupportDecision'],
861
- ['receiveTime', 'receive_time'],
862
- ['intakeTime', 'intake_time'],
863
- ['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
864
- ['sourceState', 'source_state'],
865
- ['lastInboundTime', 'last_inbound_time'],
866
- ['lastOutboundTime', 'last_outbound_time'],
867
- ['lastActivityTime', 'last_activity_time'],
868
- ['resolveTime', 'resolve_time'],
869
- ['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
870
- ['pendingProof', 'pending_proof'],
871
- ],
872
- 'sylphx.notify.v1.SupportChannel': [
873
- ['displayName', 'display_name'],
874
- ['allowedOrigins', 'allowed_origins'],
875
- ['anonymousAllowed', 'anonymous_allowed'],
876
- ['labels', 'labels', undefined, 'map'],
877
- ['annotations', 'annotations', undefined, 'map'],
878
- ['createTime', 'create_time'],
879
- ['updateTime', 'update_time'],
880
- ],
881
- 'sylphx.notify.v1.SupportChannelReply': [
882
- ['localMessageId', 'local_message_id'],
883
- ['inReplyTo', 'in_reply_to'],
884
- ],
885
- 'sylphx.notify.v1.SupportDeadline': [
886
- ['dueTime', 'due_time'],
887
- ['trackId', 'track_id'],
888
- ],
889
- 'sylphx.notify.v1.SupportDecision': [
890
- ['nextActionAt', 'next_action_at'],
891
- ['deadlines', 'deadlines', 'sylphx.notify.v1.SupportDeadline'],
892
- ['tracks', 'tracks', 'sylphx.notify.v1.SupportTrack'],
893
- ['reopenTriggers', 'reopen_triggers'],
894
- ['policyVersion', 'policy_version'],
895
- ['timeZone', 'time_zone'],
896
- ['settlementBuffer', 'settlement_buffer'],
897
- ['evidenceIds', 'evidence_ids'],
898
- ],
899
- 'sylphx.notify.v1.SupportEscalation': [],
900
- 'sylphx.notify.v1.SupportEvidence': [
901
- ['mediaType', 'media_type'],
902
- ['sizeBytes', 'size_bytes'],
903
- ['receiveTime', 'receive_time'],
904
- ],
905
- 'sylphx.notify.v1.SupportInbox': [
906
- ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
907
- ['channels', 'channels', 'sylphx.notify.v1.SupportChannel'],
908
- ['intakeBound', 'intake_bound'],
909
- ],
910
- 'sylphx.notify.v1.SupportOverdue': [
911
- ['targetId', 'target_id'],
912
- ['dueTime', 'due_time'],
913
- ['detectTime', 'detect_time'],
914
- ],
915
- 'sylphx.notify.v1.SupportReconciliation': [
916
- ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
917
- ['actor', 'actor', 'sylphx.notify.v1.SupportActor'],
918
- ['snapshotTime', 'snapshot_time'],
919
- ['sourceWatermark', 'source_watermark'],
920
- ['checkedCases', 'checked_cases'],
921
- ['exceptions', 'exceptions', 'sylphx.notify.v1.SupportReconciliationException'],
922
- ['nextScanTime', 'next_scan_time'],
923
- ['populationSha256', 'population_sha256'],
924
- ],
925
- 'sylphx.notify.v1.SupportReconciliationException': [
926
- ['dueTime', 'due_time'],
927
- ],
928
- 'sylphx.notify.v1.SupportRemedyRequest': [
929
- ['request', 'request', 'sylphx.notify.v1.SupportEvidence'],
930
- ['authorizationReceipt', 'authorization_receipt'],
931
- ],
932
- 'sylphx.notify.v1.SupportRequester': [
933
- ['maskedIdentity', 'masked_identity'],
934
- ['displayName', 'display_name'],
935
- ['linkState', 'link_state'],
936
- ['tenantSubject', 'tenant_subject'],
937
- ['linkActor', 'link_actor', 'sylphx.notify.v1.SupportActor'],
938
- ['linkTime', 'link_time'],
939
- ['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
940
- ],
941
- 'sylphx.notify.v1.SupportSourceRecord': [
942
- ['sourceTable', 'source_table'],
943
- ['sourceId', 'source_id'],
944
- ['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
945
- ['sourceVersion', 'source_version'],
946
- ],
947
- 'sylphx.notify.v1.SupportThreadMessage': [
948
- ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
949
- ['sourceKey', 'source_key'],
950
- ['author', 'author', 'sylphx.notify.v1.SupportActor'],
951
- ['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
952
- ['channelId', 'channel_id'],
953
- ['threadKeys', 'thread_keys'],
954
- ['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
955
- ],
956
- 'sylphx.notify.v1.SupportTrack': [
957
- ['nextActionAt', 'next_action_at'],
958
- ['linkedTrackIds', 'linked_track_ids'],
959
- ['evidenceIds', 'evidence_ids'],
960
- ],
961
667
  'sylphx.notify.v1.Suppression': [
962
668
  ['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
963
669
  ['sourceMessage', 'source_message'],
@@ -1036,11 +742,6 @@ runtime.registerSchemas({
1036
742
  ['allowMissing', 'allow_missing'],
1037
743
  ['validateOnly', 'validate_only'],
1038
744
  ],
1039
- 'sylphx.notify.v1.UpdateSupportInboxRequest': [
1040
- ['supportInbox', 'support_inbox', 'sylphx.notify.v1.SupportInbox'],
1041
- ['updateMask', 'update_mask'],
1042
- ['validateOnly', 'validate_only'],
1043
- ],
1044
745
  'sylphx.notify.v1.UpdateTemplateRequest': [
1045
746
  ['template', 'template', 'sylphx.notify.v1.Template'],
1046
747
  ['updateMask', 'update_mask'],
@@ -1109,18 +810,6 @@ export class NotifyApi {
1109
810
  inboundSms;
1110
811
  /** The `inbound_messages` collection. */
1111
812
  inboundMessages;
1112
- /** The `support_inboxes` collection. */
1113
- supportInboxes;
1114
- /** The `support_cases` collection. */
1115
- supportCases;
1116
- /** The `support_thread_messages` collection. */
1117
- supportThreadMessages;
1118
- /** The `support_actions` collection. */
1119
- supportActions;
1120
- /** The `support_audit_events` collection. */
1121
- supportAuditEvents;
1122
- /** The `support_reconciliations` collection. */
1123
- supportReconciliations;
1124
813
  constructor(client) {
1125
814
  this.phoneNumbers = new PhoneNumbersCollection(client);
1126
815
  this.mailDomains = new MailDomainsCollection(client);
@@ -1141,12 +830,6 @@ export class NotifyApi {
1141
830
  this.smsNumbers = new SmsNumbersCollection(client);
1142
831
  this.inboundSms = new InboundSmsCollection(client);
1143
832
  this.inboundMessages = new InboundMessagesCollection(client);
1144
- this.supportInboxes = new SupportInboxesCollection(client);
1145
- this.supportCases = new SupportCasesCollection(client);
1146
- this.supportThreadMessages = new SupportThreadMessagesCollection(client);
1147
- this.supportActions = new SupportActionsCollection(client);
1148
- this.supportAuditEvents = new SupportAuditEventsCollection(client);
1149
- this.supportReconciliations = new SupportReconciliationsCollection(client);
1150
833
  }
1151
834
  }
1152
835
  /** `phone_numbers` of Sylphx Notify: Resource type `notify.sylphx.com/PhoneNumber`. */
@@ -2969,524 +2652,4 @@ export class InboundMessagesCollection {
2969
2652
  });
2970
2653
  }
2971
2654
  }
2972
- /** `support_inboxes` of Sylphx Notify: Resource type `notify.sylphx.com/SupportInbox`. */
2973
- export class SupportInboxesCollection {
2974
- client;
2975
- constructor(client) {
2976
- this.client = client;
2977
- }
2978
- /**
2979
- * Gets one SupportInbox; protected identities require a separately audited reveal.
2980
- *
2981
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:read` · effect `read`
2982
- *
2983
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
2984
- */
2985
- async get(request) {
2986
- return this.client.call({
2987
- method: 'GET',
2988
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_inboxes/*', 'name')}`,
2989
- responseType: 'sylphx.notify.v1.SupportInbox',
2990
- mutation: false,
2991
- });
2992
- }
2993
- /**
2994
- * Lists scoped support_inboxes; no cross-tenant or internal-message projection.
2995
- *
2996
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:read` · effect `read`
2997
- *
2998
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
2999
- */
3000
- async list(request) {
3001
- return this.client.call({
3002
- method: 'GET',
3003
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_inboxes`,
3004
- query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
3005
- responseType: 'sylphx.notify.v1.ListSupportInboxesResponse',
3006
- mutation: false,
3007
- });
3008
- }
3009
- /** Every item of every page of `list`. */
3010
- async *listAll(request) {
3011
- let next = request;
3012
- for (;;) {
3013
- const page = await this.list(next);
3014
- yield* page.supportInboxes ?? [];
3015
- if (page.nextPageToken === undefined || page.nextPageToken === '')
3016
- return;
3017
- next = { ...request, pageToken: page.nextPageToken };
3018
- }
3019
- }
3020
- /**
3021
- * Creates an idempotent SupportInbox; changed replay and illegal state are refused.
3022
- *
3023
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:configure` · effect `write`
3024
- *
3025
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3026
- */
3027
- async create(request) {
3028
- return this.client.call({
3029
- method: 'POST',
3030
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_inboxes`,
3031
- query: { support_inbox_id: request.supportInboxId, request_id: request.requestId, validate_only: request.validateOnly },
3032
- body: request.supportInbox ?? {},
3033
- bodyType: 'sylphx.notify.v1.SupportInbox',
3034
- responseType: 'sylphx.notify.v1.SupportInbox',
3035
- mutation: true,
3036
- });
3037
- }
3038
- /**
3039
- * Updates configuration with a strong ETag; intake never creates a missing inbox.
3040
- *
3041
- * `PATCH /v1/{support_inbox.name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:configure` · effect `write`
3042
- *
3043
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3044
- */
3045
- async update(request) {
3046
- return this.client.call({
3047
- method: 'PATCH',
3048
- path: `/v1/${runtime.pathParam(request.supportInbox?.name, 'orgs/*/projects/*/envs/*/support_inboxes/*', 'support_inbox.name')}`,
3049
- query: { update_mask: request.updateMask, validate_only: request.validateOnly },
3050
- body: request.supportInbox ?? {},
3051
- bodyType: 'sylphx.notify.v1.SupportInbox',
3052
- responseType: 'sylphx.notify.v1.SupportInbox',
3053
- mutation: true,
3054
- });
3055
- }
3056
- }
3057
- /** `support_cases` of Sylphx Notify: Resource type `notify.sylphx.com/SupportCase`. */
3058
- export class SupportCasesCollection {
3059
- client;
3060
- constructor(client) {
3061
- this.client = client;
3062
- }
3063
- /**
3064
- * Gets one SupportCase; protected identities require a separately audited reveal.
3065
- *
3066
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}` · permission `notify:support:read` · effect `read`
3067
- *
3068
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3069
- */
3070
- async get(request) {
3071
- return this.client.call({
3072
- method: 'GET',
3073
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}`,
3074
- responseType: 'sylphx.notify.v1.SupportCase',
3075
- mutation: false,
3076
- });
3077
- }
3078
- /**
3079
- * Lists scoped support_cases; no cross-tenant or internal-message projection.
3080
- *
3081
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:read` · effect `read`
3082
- *
3083
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3084
- */
3085
- async list(request) {
3086
- return this.client.call({
3087
- method: 'GET',
3088
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_cases`,
3089
- query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
3090
- responseType: 'sylphx.notify.v1.ListSupportCasesResponse',
3091
- mutation: false,
3092
- });
3093
- }
3094
- /** Every item of every page of `list`. */
3095
- async *listAll(request) {
3096
- let next = request;
3097
- for (;;) {
3098
- const page = await this.list(next);
3099
- yield* page.supportCases ?? [];
3100
- if (page.nextPageToken === undefined || page.nextPageToken === '')
3101
- return;
3102
- next = { ...request, pageToken: page.nextPageToken };
3103
- }
3104
- }
3105
- /**
3106
- * Creates an idempotent SupportCase; changed replay and illegal state are refused.
3107
- *
3108
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:operate` · effect `write`
3109
- *
3110
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3111
- */
3112
- async create(request) {
3113
- return this.client.call({
3114
- method: 'POST',
3115
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_cases`,
3116
- query: { support_case_id: request.supportCaseId, request_id: request.requestId, validate_only: request.validateOnly },
3117
- body: request.supportCase ?? {},
3118
- bodyType: 'sylphx.notify.v1.SupportCase',
3119
- responseType: 'sylphx.notify.v1.SupportCase',
3120
- mutation: true,
3121
- });
3122
- }
3123
- /**
3124
- * 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.
3125
- *
3126
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:applySupportDecision` · permission `notify:support:operate` · effect `write`
3127
- *
3128
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3129
- */
3130
- async applySupportDecision(request) {
3131
- return this.client.call({
3132
- method: 'POST',
3133
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}:applySupportDecision`,
3134
- body: runtime.omit(request, ['name']),
3135
- bodyType: 'sylphx.notify.v1.ApplySupportDecisionRequest',
3136
- responseType: 'sylphx.notify.v1.SupportCase',
3137
- mutation: true,
3138
- });
3139
- }
3140
- /**
3141
- * Admits one authenticated source signal, deduped by immutable identity. Spam signals wake reclassification review without reopening, customer reply or new business action.
3142
- *
3143
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:ingestSupportSignal` · permission `notify:support:ingest` · effect `write`
3144
- *
3145
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3146
- */
3147
- async ingestSupportSignal(request) {
3148
- return this.client.call({
3149
- method: 'POST',
3150
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}:ingestSupportSignal`,
3151
- body: runtime.omit(request, ['name']),
3152
- bodyType: 'sylphx.notify.v1.IngestSupportSignalRequest',
3153
- responseType: 'sylphx.notify.v1.SupportCase',
3154
- mutation: true,
3155
- });
3156
- }
3157
- /**
3158
- * Reveals the protected case requester under a purpose-bound grant and appends an audited read.
3159
- *
3160
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:revealSupportRequester` · permission `notify:support:reveal` · effect `write`
3161
- *
3162
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3163
- */
3164
- async revealSupportRequester(request) {
3165
- return this.client.call({
3166
- method: 'POST',
3167
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}:revealSupportRequester`,
3168
- body: runtime.omit(request, ['name']),
3169
- bodyType: 'sylphx.notify.v1.RevealSupportRequesterRequest',
3170
- responseType: 'sylphx.notify.v1.RevealSupportRequesterResponse',
3171
- mutation: true,
3172
- });
3173
- }
3174
- /**
3175
- * 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.
3176
- *
3177
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases:import` · permission `notify:support:import` · effect `write`
3178
- *
3179
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3180
- */
3181
- async import(request) {
3182
- return this.client.call({
3183
- method: 'POST',
3184
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_cases:import`,
3185
- body: runtime.omit(request, ['parent']),
3186
- bodyType: 'sylphx.notify.v1.ImportSupportCasesRequest',
3187
- responseType: 'sylphx.notify.v1.ImportSupportCasesResponse',
3188
- mutation: true,
3189
- });
3190
- }
3191
- }
3192
- /** `support_thread_messages` of Sylphx Notify: Resource type `notify.sylphx.com/SupportThreadMessage`. */
3193
- export class SupportThreadMessagesCollection {
3194
- client;
3195
- constructor(client) {
3196
- this.client = client;
3197
- }
3198
- /**
3199
- * Gets one SupportThreadMessage; protected identities require a separately audited reveal.
3200
- *
3201
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_thread_messages/*}` · permission `notify:support:read` · effect `read`
3202
- *
3203
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3204
- */
3205
- async get(request) {
3206
- return this.client.call({
3207
- method: 'GET',
3208
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_thread_messages/*', 'name')}`,
3209
- responseType: 'sylphx.notify.v1.SupportThreadMessage',
3210
- mutation: false,
3211
- });
3212
- }
3213
- /**
3214
- * Lists scoped support_thread_messages; no cross-tenant or internal-message projection.
3215
- *
3216
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:read` · effect `read`
3217
- *
3218
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3219
- */
3220
- async list(request) {
3221
- return this.client.call({
3222
- method: 'GET',
3223
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_thread_messages`,
3224
- query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
3225
- responseType: 'sylphx.notify.v1.ListSupportThreadMessagesResponse',
3226
- mutation: false,
3227
- });
3228
- }
3229
- /** Every item of every page of `list`. */
3230
- async *listAll(request) {
3231
- let next = request;
3232
- for (;;) {
3233
- const page = await this.list(next);
3234
- yield* page.supportThreadMessages ?? [];
3235
- if (page.nextPageToken === undefined || page.nextPageToken === '')
3236
- return;
3237
- next = { ...request, pageToken: page.nextPageToken };
3238
- }
3239
- }
3240
- /**
3241
- * Creates an idempotent SupportThreadMessage; changed replay and illegal state are refused.
3242
- *
3243
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:operate` · effect `write`
3244
- *
3245
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3246
- */
3247
- async create(request) {
3248
- return this.client.call({
3249
- method: 'POST',
3250
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_thread_messages`,
3251
- query: { support_thread_message_id: request.supportThreadMessageId, request_id: request.requestId, validate_only: request.validateOnly, expected_version: request.expectedVersion },
3252
- body: request.supportThreadMessage ?? {},
3253
- bodyType: 'sylphx.notify.v1.SupportThreadMessage',
3254
- responseType: 'sylphx.notify.v1.SupportThreadMessage',
3255
- mutation: true,
3256
- });
3257
- }
3258
- }
3259
- /** `support_actions` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAction`. */
3260
- export class SupportActionsCollection {
3261
- client;
3262
- constructor(client) {
3263
- this.client = client;
3264
- }
3265
- /**
3266
- * Gets one SupportAction; protected identities require a separately audited reveal.
3267
- *
3268
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}` · permission `notify:support:read` · effect `read`
3269
- *
3270
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3271
- */
3272
- async get(request) {
3273
- return this.client.call({
3274
- method: 'GET',
3275
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}`,
3276
- responseType: 'sylphx.notify.v1.SupportAction',
3277
- mutation: false,
3278
- });
3279
- }
3280
- /**
3281
- * Lists scoped support_actions; no cross-tenant or internal-message projection.
3282
- *
3283
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:read` · effect `read`
3284
- *
3285
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3286
- */
3287
- async list(request) {
3288
- return this.client.call({
3289
- method: 'GET',
3290
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_actions`,
3291
- query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
3292
- responseType: 'sylphx.notify.v1.ListSupportActionsResponse',
3293
- mutation: false,
3294
- });
3295
- }
3296
- /** Every item of every page of `list`. */
3297
- async *listAll(request) {
3298
- let next = request;
3299
- for (;;) {
3300
- const page = await this.list(next);
3301
- yield* page.supportActions ?? [];
3302
- if (page.nextPageToken === undefined || page.nextPageToken === '')
3303
- return;
3304
- next = { ...request, pageToken: page.nextPageToken };
3305
- }
3306
- }
3307
- /**
3308
- * Creates an idempotent SupportAction; changed replay and illegal state are refused.
3309
- *
3310
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:actions` · effect `write`
3311
- *
3312
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3313
- */
3314
- async create(request) {
3315
- return this.client.call({
3316
- method: 'POST',
3317
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_actions`,
3318
- query: { support_action_id: request.supportActionId, request_id: request.requestId, validate_only: request.validateOnly, expected_version: request.expectedVersion },
3319
- body: request.supportAction ?? {},
3320
- bodyType: 'sylphx.notify.v1.SupportAction',
3321
- responseType: 'sylphx.notify.v1.SupportAction',
3322
- mutation: true,
3323
- });
3324
- }
3325
- /**
3326
- * Claims one fenced attempt of a conclusively dispatchable action. An expired in-flight claim becomes UNCERTAIN, never PENDING.
3327
- *
3328
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:beginSupportActionAttempt` · permission `notify:support:dispatch` · effect `write`
3329
- *
3330
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3331
- */
3332
- async beginSupportActionAttempt(request) {
3333
- return this.client.call({
3334
- method: 'POST',
3335
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}:beginSupportActionAttempt`,
3336
- body: runtime.omit(request, ['name']),
3337
- bodyType: 'sylphx.notify.v1.BeginSupportActionAttemptRequest',
3338
- responseType: 'sylphx.notify.v1.BeginSupportActionAttemptResponse',
3339
- mutation: true,
3340
- });
3341
- }
3342
- /**
3343
- * Records an authenticated immutable authority receipt. Transport state changes alone never change a case or business action.
3344
- *
3345
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:recordSupportActionReceipt` · permission `notify:support:receipts` · effect `write`
3346
- *
3347
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3348
- */
3349
- async recordSupportActionReceipt(request) {
3350
- return this.client.call({
3351
- method: 'POST',
3352
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}:recordSupportActionReceipt`,
3353
- body: runtime.omit(request, ['name']),
3354
- bodyType: 'sylphx.notify.v1.RecordSupportActionReceiptRequest',
3355
- responseType: 'sylphx.notify.v1.SupportAction',
3356
- mutation: true,
3357
- });
3358
- }
3359
- /**
3360
- * 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.
3361
- *
3362
- * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:reconcile` · permission `notify:support:reconcile` · effect `write`
3363
- *
3364
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3365
- */
3366
- async reconcile(request) {
3367
- return this.client.call({
3368
- method: 'POST',
3369
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}:reconcile`,
3370
- body: runtime.omit(request, ['name']),
3371
- bodyType: 'sylphx.notify.v1.ReconcileSupportActionRequest',
3372
- responseType: 'sylphx.notify.v1.SupportAction',
3373
- mutation: true,
3374
- });
3375
- }
3376
- }
3377
- /** `support_audit_events` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAuditEvent`. */
3378
- export class SupportAuditEventsCollection {
3379
- client;
3380
- constructor(client) {
3381
- this.client = client;
3382
- }
3383
- /**
3384
- * Gets one SupportAuditEvent; protected identities require a separately audited reveal.
3385
- *
3386
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_audit_events/*}` · permission `notify:support:read` · effect `read`
3387
- *
3388
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3389
- */
3390
- async get(request) {
3391
- return this.client.call({
3392
- method: 'GET',
3393
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_audit_events/*', 'name')}`,
3394
- responseType: 'sylphx.notify.v1.SupportAuditEvent',
3395
- mutation: false,
3396
- });
3397
- }
3398
- /**
3399
- * Lists scoped support_audit_events; no cross-tenant or internal-message projection.
3400
- *
3401
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_audit_events` · permission `notify:support:read` · effect `read`
3402
- *
3403
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3404
- */
3405
- async list(request) {
3406
- return this.client.call({
3407
- method: 'GET',
3408
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_audit_events`,
3409
- query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
3410
- responseType: 'sylphx.notify.v1.ListSupportAuditEventsResponse',
3411
- mutation: false,
3412
- });
3413
- }
3414
- /** Every item of every page of `list`. */
3415
- async *listAll(request) {
3416
- let next = request;
3417
- for (;;) {
3418
- const page = await this.list(next);
3419
- yield* page.supportAuditEvents ?? [];
3420
- if (page.nextPageToken === undefined || page.nextPageToken === '')
3421
- return;
3422
- next = { ...request, pageToken: page.nextPageToken };
3423
- }
3424
- }
3425
- }
3426
- /** `support_reconciliations` of Sylphx Notify: Resource type `notify.sylphx.com/SupportReconciliation`. */
3427
- export class SupportReconciliationsCollection {
3428
- client;
3429
- constructor(client) {
3430
- this.client = client;
3431
- }
3432
- /**
3433
- * Gets one SupportReconciliation; protected identities require a separately audited reveal.
3434
- *
3435
- * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_reconciliations/*}` · permission `notify:support:read` · effect `read`
3436
- *
3437
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3438
- */
3439
- async get(request) {
3440
- return this.client.call({
3441
- method: 'GET',
3442
- path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_reconciliations/*', 'name')}`,
3443
- responseType: 'sylphx.notify.v1.SupportReconciliation',
3444
- mutation: false,
3445
- });
3446
- }
3447
- /**
3448
- * Lists scoped support_reconciliations; no cross-tenant or internal-message projection.
3449
- *
3450
- * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations` · permission `notify:support:read` · effect `read`
3451
- *
3452
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
3453
- */
3454
- async list(request) {
3455
- return this.client.call({
3456
- method: 'GET',
3457
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_reconciliations`,
3458
- query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
3459
- responseType: 'sylphx.notify.v1.ListSupportReconciliationsResponse',
3460
- mutation: false,
3461
- });
3462
- }
3463
- /** Every item of every page of `list`. */
3464
- async *listAll(request) {
3465
- let next = request;
3466
- for (;;) {
3467
- const page = await this.list(next);
3468
- yield* page.supportReconciliations ?? [];
3469
- if (page.nextPageToken === undefined || page.nextPageToken === '')
3470
- return;
3471
- next = { ...request, pageToken: page.nextPageToken };
3472
- }
3473
- }
3474
- /**
3475
- * Runs one scoped daily census, dense due pass or migration comparison on demand. Incomplete coverage never proves zero exceptions.
3476
- *
3477
- * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations:run` · permission `notify:support:reconcile` · effect `write`
3478
- *
3479
- * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
3480
- */
3481
- async run(request) {
3482
- return this.client.call({
3483
- method: 'POST',
3484
- path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_reconciliations:run`,
3485
- body: runtime.omit(request, ['parent']),
3486
- bodyType: 'sylphx.notify.v1.RunSupportReconciliationRequest',
3487
- responseType: 'sylphx.notify.v1.SupportReconciliation',
3488
- mutation: true,
3489
- });
3490
- }
3491
- }
3492
2655
  //# sourceMappingURL=notify.js.map