@sylphx/sdk 0.32.11 → 0.32.16
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/README.md +50 -3
- package/dist/access.d.ts +12 -2
- package/dist/access.js +5 -1
- package/dist/access.js.map +1 -1
- package/dist/agents.d.ts +5 -1
- package/dist/agents.js.map +1 -1
- package/dist/artifacts.d.ts +107 -0
- package/dist/artifacts.js +111 -0
- package/dist/artifacts.js.map +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/ids.d.ts +40 -0
- package/dist/ids.js +8 -0
- package/dist/ids.js.map +1 -1
- package/dist/methods.js +346 -0
- package/dist/methods.js.map +1 -1
- package/dist/notify.d.ts +1331 -1
- package/dist/notify.js +970 -1
- package/dist/notify.js.map +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/observability.js +1 -1
- package/dist/runtime.js +2 -0
- package/dist/runtime.js.map +1 -1
- package/dist/sign-in/contract.d.ts +46 -0
- package/dist/sign-in/contract.js +66 -0
- package/dist/sign-in/contract.js.map +1 -0
- package/dist/sign-in/form.d.ts +4 -0
- package/dist/sign-in/form.js +293 -0
- package/dist/sign-in/form.js.map +1 -0
- package/dist/sign-in/passkey.d.ts +6 -0
- package/dist/sign-in/passkey.js +91 -0
- package/dist/sign-in/passkey.js.map +1 -0
- package/dist/sign-in/provider-icons.d.ts +44 -0
- package/dist/sign-in/provider-icons.js +83 -0
- package/dist/sign-in/provider-icons.js.map +1 -0
- package/dist/sign-in.css +5 -0
- package/dist/sign-in.d.ts +2 -0
- package/dist/sign-in.js +4 -0
- package/dist/sign-in.js.map +1 -0
- package/package.json +23 -4
package/dist/notify.js
CHANGED
|
@@ -9,7 +9,25 @@ runtime.registerSchemas({
|
|
|
9
9
|
['providerSessionToken', 'provider_session_token'],
|
|
10
10
|
['validateOnly', 'validate_only'],
|
|
11
11
|
],
|
|
12
|
+
'sylphx.notify.v1.ApplySupportDecisionRequest': [
|
|
13
|
+
['expectedVersion', 'expected_version'],
|
|
14
|
+
['requestId', 'request_id'],
|
|
15
|
+
['validateOnly', 'validate_only'],
|
|
16
|
+
['after', 'after', 'sylphx.notify.v1.SupportDecision'],
|
|
17
|
+
['pendingProof', 'pending_proof'],
|
|
18
|
+
['sourceKey', 'source_key'],
|
|
19
|
+
],
|
|
12
20
|
'sylphx.notify.v1.ArchiveInboxItemRequest': [],
|
|
21
|
+
'sylphx.notify.v1.BeginSupportActionAttemptRequest': [
|
|
22
|
+
['expectedVersion', 'expected_version'],
|
|
23
|
+
['requestId', 'request_id'],
|
|
24
|
+
['validateOnly', 'validate_only'],
|
|
25
|
+
],
|
|
26
|
+
'sylphx.notify.v1.BeginSupportActionAttemptResponse': [
|
|
27
|
+
['action', 'action', 'sylphx.notify.v1.SupportAction'],
|
|
28
|
+
['attemptId', 'attempt_id'],
|
|
29
|
+
['claimExpireTime', 'claim_expire_time'],
|
|
30
|
+
],
|
|
13
31
|
'sylphx.notify.v1.Broadcast': [
|
|
14
32
|
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
15
33
|
['spec', 'spec', 'sylphx.notify.v1.BroadcastSpec'],
|
|
@@ -35,6 +53,10 @@ runtime.registerSchemas({
|
|
|
35
53
|
['errorCode', 'error_code'],
|
|
36
54
|
['providerResponse', 'provider_response'],
|
|
37
55
|
],
|
|
56
|
+
'sylphx.notify.v1.ConfigureSmsNumberVoicemailRequest': [
|
|
57
|
+
['retentionDays', 'retention_days'],
|
|
58
|
+
['maxRecordingDuration', 'max_recording_duration'],
|
|
59
|
+
],
|
|
38
60
|
'sylphx.notify.v1.ConnectPhoneNumberRequest': [
|
|
39
61
|
['phoneNumberId', 'phone_number_id'],
|
|
40
62
|
['phoneNumber', 'phone_number'],
|
|
@@ -90,6 +112,32 @@ runtime.registerSchemas({
|
|
|
90
112
|
['smsNumberId', 'sms_number_id'],
|
|
91
113
|
['smsNumber', 'sms_number', 'sylphx.notify.v1.SmsNumber'],
|
|
92
114
|
],
|
|
115
|
+
'sylphx.notify.v1.CreateSupportActionRequest': [
|
|
116
|
+
['supportAction', 'support_action', 'sylphx.notify.v1.SupportAction'],
|
|
117
|
+
['supportActionId', 'support_action_id'],
|
|
118
|
+
['requestId', 'request_id'],
|
|
119
|
+
['validateOnly', 'validate_only'],
|
|
120
|
+
['expectedVersion', 'expected_version'],
|
|
121
|
+
],
|
|
122
|
+
'sylphx.notify.v1.CreateSupportCaseRequest': [
|
|
123
|
+
['supportCase', 'support_case', 'sylphx.notify.v1.SupportCase'],
|
|
124
|
+
['supportCaseId', 'support_case_id'],
|
|
125
|
+
['requestId', 'request_id'],
|
|
126
|
+
['validateOnly', 'validate_only'],
|
|
127
|
+
],
|
|
128
|
+
'sylphx.notify.v1.CreateSupportInboxRequest': [
|
|
129
|
+
['supportInbox', 'support_inbox', 'sylphx.notify.v1.SupportInbox'],
|
|
130
|
+
['supportInboxId', 'support_inbox_id'],
|
|
131
|
+
['requestId', 'request_id'],
|
|
132
|
+
['validateOnly', 'validate_only'],
|
|
133
|
+
],
|
|
134
|
+
'sylphx.notify.v1.CreateSupportThreadMessageRequest': [
|
|
135
|
+
['supportThreadMessage', 'support_thread_message', 'sylphx.notify.v1.SupportThreadMessage'],
|
|
136
|
+
['supportThreadMessageId', 'support_thread_message_id'],
|
|
137
|
+
['requestId', 'request_id'],
|
|
138
|
+
['validateOnly', 'validate_only'],
|
|
139
|
+
['expectedVersion', 'expected_version'],
|
|
140
|
+
],
|
|
93
141
|
'sylphx.notify.v1.CreateSuppressionRequest': [
|
|
94
142
|
['suppressionId', 'suppression_id'],
|
|
95
143
|
['suppression', 'suppression', 'sylphx.notify.v1.Suppression'],
|
|
@@ -148,6 +196,10 @@ runtime.registerSchemas({
|
|
|
148
196
|
'sylphx.notify.v1.DnsRecord': [
|
|
149
197
|
['recordType', 'record_type'],
|
|
150
198
|
],
|
|
199
|
+
'sylphx.notify.v1.DownloadInboundMessageRequest': [],
|
|
200
|
+
'sylphx.notify.v1.DownloadInboundMessageResponse': [
|
|
201
|
+
['mimeType', 'mime_type'],
|
|
202
|
+
],
|
|
151
203
|
'sylphx.notify.v1.EmailContent': [
|
|
152
204
|
['senderAddress', 'sender_address'],
|
|
153
205
|
['htmlBody', 'html_body'],
|
|
@@ -182,6 +234,7 @@ runtime.registerSchemas({
|
|
|
182
234
|
'sylphx.notify.v1.GetBroadcastRequest': [],
|
|
183
235
|
'sylphx.notify.v1.GetEmailDomainRequest': [],
|
|
184
236
|
'sylphx.notify.v1.GetInboundEmailRequest': [],
|
|
237
|
+
'sylphx.notify.v1.GetInboundMessageRequest': [],
|
|
185
238
|
'sylphx.notify.v1.GetInboundSmsRequest': [],
|
|
186
239
|
'sylphx.notify.v1.GetInboxItemRequest': [],
|
|
187
240
|
'sylphx.notify.v1.GetMailboxConnectLinkRequest': [],
|
|
@@ -195,8 +248,27 @@ runtime.registerSchemas({
|
|
|
195
248
|
'sylphx.notify.v1.GetRouteRequest': [],
|
|
196
249
|
'sylphx.notify.v1.GetSenderRequest': [],
|
|
197
250
|
'sylphx.notify.v1.GetSmsNumberRequest': [],
|
|
251
|
+
'sylphx.notify.v1.GetSupportActionRequest': [],
|
|
252
|
+
'sylphx.notify.v1.GetSupportAuditEventRequest': [],
|
|
253
|
+
'sylphx.notify.v1.GetSupportCaseRequest': [],
|
|
254
|
+
'sylphx.notify.v1.GetSupportInboxRequest': [],
|
|
255
|
+
'sylphx.notify.v1.GetSupportReconciliationRequest': [],
|
|
256
|
+
'sylphx.notify.v1.GetSupportThreadMessageRequest': [],
|
|
198
257
|
'sylphx.notify.v1.GetSuppressionRequest': [],
|
|
199
258
|
'sylphx.notify.v1.GetTemplateRequest': [],
|
|
259
|
+
'sylphx.notify.v1.ImportSupportCasesRequest': [
|
|
260
|
+
['supportCases', 'support_cases', 'sylphx.notify.v1.SupportCase'],
|
|
261
|
+
['messages', 'messages', 'sylphx.notify.v1.SupportThreadMessage'],
|
|
262
|
+
['actions', 'actions', 'sylphx.notify.v1.SupportAction'],
|
|
263
|
+
['auditEvents', 'audit_events', 'sylphx.notify.v1.SupportAuditEvent'],
|
|
264
|
+
['sourceSha256', 'source_sha256'],
|
|
265
|
+
['requestId', 'request_id'],
|
|
266
|
+
['validateOnly', 'validate_only'],
|
|
267
|
+
],
|
|
268
|
+
'sylphx.notify.v1.ImportSupportCasesResponse': [
|
|
269
|
+
['targetSha256', 'target_sha256'],
|
|
270
|
+
['exceptions', 'exceptions', 'sylphx.notify.v1.SupportReconciliationException'],
|
|
271
|
+
],
|
|
200
272
|
'sylphx.notify.v1.InboundEmail': [
|
|
201
273
|
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
202
274
|
['messageId', 'message_id'],
|
|
@@ -211,6 +283,15 @@ runtime.registerSchemas({
|
|
|
211
283
|
['rawSha256', 'raw_sha256'],
|
|
212
284
|
['sizeBytes', 'size_bytes'],
|
|
213
285
|
],
|
|
286
|
+
'sylphx.notify.v1.InboundMessage': [
|
|
287
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
288
|
+
['carrierMessageId', 'carrier_message_id'],
|
|
289
|
+
['senderNumber', 'sender_number'],
|
|
290
|
+
['recipientNumber', 'recipient_number'],
|
|
291
|
+
['receiveTime', 'receive_time'],
|
|
292
|
+
['voice', 'voice', 'sylphx.notify.v1.VoiceMessage'],
|
|
293
|
+
['expireTime', 'expire_time'],
|
|
294
|
+
],
|
|
214
295
|
'sylphx.notify.v1.InboundSms': [
|
|
215
296
|
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
216
297
|
['carrierMessageId', 'carrier_message_id'],
|
|
@@ -225,6 +306,14 @@ runtime.registerSchemas({
|
|
|
225
306
|
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
226
307
|
['actionUri', 'action_uri'],
|
|
227
308
|
],
|
|
309
|
+
'sylphx.notify.v1.IngestSupportSignalRequest': [
|
|
310
|
+
['expectedVersion', 'expected_version'],
|
|
311
|
+
['requestId', 'request_id'],
|
|
312
|
+
['validateOnly', 'validate_only'],
|
|
313
|
+
['sourceKey', 'source_key'],
|
|
314
|
+
['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
|
|
315
|
+
['receiveTime', 'receive_time'],
|
|
316
|
+
],
|
|
228
317
|
'sylphx.notify.v1.ListBroadcastsRequest': [
|
|
229
318
|
['pageSize', 'page_size'],
|
|
230
319
|
['pageToken', 'page_token'],
|
|
@@ -252,6 +341,15 @@ runtime.registerSchemas({
|
|
|
252
341
|
['inboundEmails', 'inbound_emails', 'sylphx.notify.v1.InboundEmail'],
|
|
253
342
|
['nextPageToken', 'next_page_token'],
|
|
254
343
|
],
|
|
344
|
+
'sylphx.notify.v1.ListInboundMessagesRequest': [
|
|
345
|
+
['pageSize', 'page_size'],
|
|
346
|
+
['pageToken', 'page_token'],
|
|
347
|
+
['orderBy', 'order_by'],
|
|
348
|
+
],
|
|
349
|
+
'sylphx.notify.v1.ListInboundMessagesResponse': [
|
|
350
|
+
['inboundMessages', 'inbound_messages', 'sylphx.notify.v1.InboundMessage'],
|
|
351
|
+
['nextPageToken', 'next_page_token'],
|
|
352
|
+
],
|
|
255
353
|
'sylphx.notify.v1.ListInboundSmsRequest': [
|
|
256
354
|
['pageSize', 'page_size'],
|
|
257
355
|
['pageToken', 'page_token'],
|
|
@@ -367,6 +465,60 @@ runtime.registerSchemas({
|
|
|
367
465
|
['smsNumbers', 'sms_numbers', 'sylphx.notify.v1.SmsNumber'],
|
|
368
466
|
['nextPageToken', 'next_page_token'],
|
|
369
467
|
],
|
|
468
|
+
'sylphx.notify.v1.ListSupportActionsRequest': [
|
|
469
|
+
['pageSize', 'page_size'],
|
|
470
|
+
['pageToken', 'page_token'],
|
|
471
|
+
['orderBy', 'order_by'],
|
|
472
|
+
],
|
|
473
|
+
'sylphx.notify.v1.ListSupportActionsResponse': [
|
|
474
|
+
['supportActions', 'support_actions', 'sylphx.notify.v1.SupportAction'],
|
|
475
|
+
['nextPageToken', 'next_page_token'],
|
|
476
|
+
],
|
|
477
|
+
'sylphx.notify.v1.ListSupportAuditEventsRequest': [
|
|
478
|
+
['pageSize', 'page_size'],
|
|
479
|
+
['pageToken', 'page_token'],
|
|
480
|
+
['orderBy', 'order_by'],
|
|
481
|
+
],
|
|
482
|
+
'sylphx.notify.v1.ListSupportAuditEventsResponse': [
|
|
483
|
+
['supportAuditEvents', 'support_audit_events', 'sylphx.notify.v1.SupportAuditEvent'],
|
|
484
|
+
['nextPageToken', 'next_page_token'],
|
|
485
|
+
],
|
|
486
|
+
'sylphx.notify.v1.ListSupportCasesRequest': [
|
|
487
|
+
['pageSize', 'page_size'],
|
|
488
|
+
['pageToken', 'page_token'],
|
|
489
|
+
['orderBy', 'order_by'],
|
|
490
|
+
],
|
|
491
|
+
'sylphx.notify.v1.ListSupportCasesResponse': [
|
|
492
|
+
['supportCases', 'support_cases', 'sylphx.notify.v1.SupportCase'],
|
|
493
|
+
['nextPageToken', 'next_page_token'],
|
|
494
|
+
],
|
|
495
|
+
'sylphx.notify.v1.ListSupportInboxesRequest': [
|
|
496
|
+
['pageSize', 'page_size'],
|
|
497
|
+
['pageToken', 'page_token'],
|
|
498
|
+
['orderBy', 'order_by'],
|
|
499
|
+
],
|
|
500
|
+
'sylphx.notify.v1.ListSupportInboxesResponse': [
|
|
501
|
+
['supportInboxes', 'support_inboxes', 'sylphx.notify.v1.SupportInbox'],
|
|
502
|
+
['nextPageToken', 'next_page_token'],
|
|
503
|
+
],
|
|
504
|
+
'sylphx.notify.v1.ListSupportReconciliationsRequest': [
|
|
505
|
+
['pageSize', 'page_size'],
|
|
506
|
+
['pageToken', 'page_token'],
|
|
507
|
+
['orderBy', 'order_by'],
|
|
508
|
+
],
|
|
509
|
+
'sylphx.notify.v1.ListSupportReconciliationsResponse': [
|
|
510
|
+
['supportReconciliations', 'support_reconciliations', 'sylphx.notify.v1.SupportReconciliation'],
|
|
511
|
+
['nextPageToken', 'next_page_token'],
|
|
512
|
+
],
|
|
513
|
+
'sylphx.notify.v1.ListSupportThreadMessagesRequest': [
|
|
514
|
+
['pageSize', 'page_size'],
|
|
515
|
+
['pageToken', 'page_token'],
|
|
516
|
+
['orderBy', 'order_by'],
|
|
517
|
+
],
|
|
518
|
+
'sylphx.notify.v1.ListSupportThreadMessagesResponse': [
|
|
519
|
+
['supportThreadMessages', 'support_thread_messages', 'sylphx.notify.v1.SupportThreadMessage'],
|
|
520
|
+
['nextPageToken', 'next_page_token'],
|
|
521
|
+
],
|
|
370
522
|
'sylphx.notify.v1.ListSuppressionsRequest': [
|
|
371
523
|
['pageSize', 'page_size'],
|
|
372
524
|
['pageToken', 'page_token'],
|
|
@@ -548,6 +700,18 @@ runtime.registerSchemas({
|
|
|
548
700
|
['languageCode', 'language_code'],
|
|
549
701
|
['timeZone', 'time_zone'],
|
|
550
702
|
],
|
|
703
|
+
'sylphx.notify.v1.ReconcileSupportActionRequest': [
|
|
704
|
+
['expectedVersion', 'expected_version'],
|
|
705
|
+
['requestId', 'request_id'],
|
|
706
|
+
['validateOnly', 'validate_only'],
|
|
707
|
+
],
|
|
708
|
+
'sylphx.notify.v1.RecordSupportActionReceiptRequest': [
|
|
709
|
+
['expectedVersion', 'expected_version'],
|
|
710
|
+
['requestId', 'request_id'],
|
|
711
|
+
['validateOnly', 'validate_only'],
|
|
712
|
+
['receipt', 'receipt', 'sylphx.notify.v1.SupportActionReceipt'],
|
|
713
|
+
['attemptId', 'attempt_id'],
|
|
714
|
+
],
|
|
551
715
|
'sylphx.notify.v1.RegisterPushDeviceRequest': [
|
|
552
716
|
['device', 'device', 'sylphx.notify.v1.PushDevice'],
|
|
553
717
|
],
|
|
@@ -557,6 +721,14 @@ runtime.registerSchemas({
|
|
|
557
721
|
['recipientUid', 'recipient_uid'],
|
|
558
722
|
['registrationGeneration', 'registration_generation'],
|
|
559
723
|
],
|
|
724
|
+
'sylphx.notify.v1.RevealSupportRequesterRequest': [
|
|
725
|
+
['expectedVersion', 'expected_version'],
|
|
726
|
+
['requestId', 'request_id'],
|
|
727
|
+
['validateOnly', 'validate_only'],
|
|
728
|
+
],
|
|
729
|
+
'sylphx.notify.v1.RevealSupportRequesterResponse': [
|
|
730
|
+
['auditEvent', 'audit_event'],
|
|
731
|
+
],
|
|
560
732
|
'sylphx.notify.v1.Route': [
|
|
561
733
|
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
562
734
|
['spec', 'spec', 'sylphx.notify.v1.RouteSpec'],
|
|
@@ -574,6 +746,12 @@ runtime.registerSchemas({
|
|
|
574
746
|
['observedGeneration', 'observed_generation'],
|
|
575
747
|
['conditions', 'conditions', 'sylphx.common.v1.Condition'],
|
|
576
748
|
],
|
|
749
|
+
'sylphx.notify.v1.RunSupportReconciliationRequest': [
|
|
750
|
+
['requestId', 'request_id'],
|
|
751
|
+
['pageToken', 'page_token'],
|
|
752
|
+
['pageSize', 'page_size'],
|
|
753
|
+
['validateOnly', 'validate_only'],
|
|
754
|
+
],
|
|
577
755
|
'sylphx.notify.v1.SendBroadcastRequest': [
|
|
578
756
|
['validateOnly', 'validate_only'],
|
|
579
757
|
],
|
|
@@ -620,12 +798,159 @@ runtime.registerSchemas({
|
|
|
620
798
|
['stateReason', 'state_reason'],
|
|
621
799
|
['upfrontCost', 'upfront_cost'],
|
|
622
800
|
['monthlyCost', 'monthly_cost'],
|
|
801
|
+
['voicemail', 'voicemail', 'sylphx.notify.v1.VoicemailConfig'],
|
|
802
|
+
['voiceApplicationId', 'voice_application_id'],
|
|
803
|
+
['voiceApplicationError', 'voice_application_error'],
|
|
623
804
|
],
|
|
624
805
|
'sylphx.notify.v1.SmsSender': [
|
|
625
806
|
['phoneNumber', 'phone_number'],
|
|
626
807
|
['senderKey', 'sender_key'],
|
|
627
808
|
['regionCodes', 'region_codes'],
|
|
628
809
|
],
|
|
810
|
+
'sylphx.notify.v1.SupportAction': [
|
|
811
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
812
|
+
['idempotencyKey', 'idempotency_key'],
|
|
813
|
+
['payloadSha256', 'payload_sha256'],
|
|
814
|
+
['trackId', 'track_id'],
|
|
815
|
+
['actor', 'actor', 'sylphx.notify.v1.SupportActor'],
|
|
816
|
+
['reply', 'reply', 'sylphx.notify.v1.SupportChannelReply'],
|
|
817
|
+
['remedy', 'remedy', 'sylphx.notify.v1.SupportRemedyRequest'],
|
|
818
|
+
['escalation', 'escalation', 'sylphx.notify.v1.SupportEscalation'],
|
|
819
|
+
['receipt', 'receipt', 'sylphx.notify.v1.SupportActionReceipt'],
|
|
820
|
+
['failureCause', 'failure_cause'],
|
|
821
|
+
['reconcileTime', 'reconcile_time'],
|
|
822
|
+
['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
|
|
823
|
+
['attemptCount', 'attempt_count'],
|
|
824
|
+
['uncertaintyEpisode', 'uncertainty_episode'],
|
|
825
|
+
],
|
|
826
|
+
'sylphx.notify.v1.SupportActionReceipt': [
|
|
827
|
+
['idempotencyKey', 'idempotency_key'],
|
|
828
|
+
['payloadSha256', 'payload_sha256'],
|
|
829
|
+
['externalEffectId', 'external_effect_id'],
|
|
830
|
+
['observeTime', 'observe_time'],
|
|
831
|
+
['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
|
|
832
|
+
['attemptNo', 'attempt_no'],
|
|
833
|
+
['uncertaintyEpisode', 'uncertainty_episode'],
|
|
834
|
+
],
|
|
835
|
+
'sylphx.notify.v1.SupportActor': [
|
|
836
|
+
['delegatedFor', 'delegated_for'],
|
|
837
|
+
],
|
|
838
|
+
'sylphx.notify.v1.SupportAuditEvent': [
|
|
839
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
840
|
+
['actor', 'actor', 'sylphx.notify.v1.SupportActor'],
|
|
841
|
+
['before', 'before', 'sylphx.notify.v1.SupportDecision'],
|
|
842
|
+
['after', 'after', 'sylphx.notify.v1.SupportDecision'],
|
|
843
|
+
['beforeVersion', 'before_version'],
|
|
844
|
+
['sourceKey', 'source_key'],
|
|
845
|
+
['overdue', 'overdue', 'sylphx.notify.v1.SupportOverdue'],
|
|
846
|
+
['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
|
|
847
|
+
],
|
|
848
|
+
'sylphx.notify.v1.SupportCase': [
|
|
849
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
850
|
+
['displayNumber', 'display_number'],
|
|
851
|
+
['requester', 'requester', 'sylphx.notify.v1.SupportRequester'],
|
|
852
|
+
['tenantSubject', 'tenant_subject'],
|
|
853
|
+
['decision', 'decision', 'sylphx.notify.v1.SupportDecision'],
|
|
854
|
+
['receiveTime', 'receive_time'],
|
|
855
|
+
['intakeTime', 'intake_time'],
|
|
856
|
+
['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
|
|
857
|
+
['sourceState', 'source_state'],
|
|
858
|
+
['lastInboundTime', 'last_inbound_time'],
|
|
859
|
+
['lastOutboundTime', 'last_outbound_time'],
|
|
860
|
+
['lastActivityTime', 'last_activity_time'],
|
|
861
|
+
['resolveTime', 'resolve_time'],
|
|
862
|
+
['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
|
|
863
|
+
['pendingProof', 'pending_proof'],
|
|
864
|
+
],
|
|
865
|
+
'sylphx.notify.v1.SupportChannel': [
|
|
866
|
+
['displayName', 'display_name'],
|
|
867
|
+
['allowedOrigins', 'allowed_origins'],
|
|
868
|
+
['anonymousAllowed', 'anonymous_allowed'],
|
|
869
|
+
['labels', 'labels', undefined, 'map'],
|
|
870
|
+
['annotations', 'annotations', undefined, 'map'],
|
|
871
|
+
['createTime', 'create_time'],
|
|
872
|
+
['updateTime', 'update_time'],
|
|
873
|
+
],
|
|
874
|
+
'sylphx.notify.v1.SupportChannelReply': [
|
|
875
|
+
['localMessageId', 'local_message_id'],
|
|
876
|
+
['inReplyTo', 'in_reply_to'],
|
|
877
|
+
],
|
|
878
|
+
'sylphx.notify.v1.SupportDeadline': [
|
|
879
|
+
['dueTime', 'due_time'],
|
|
880
|
+
['trackId', 'track_id'],
|
|
881
|
+
],
|
|
882
|
+
'sylphx.notify.v1.SupportDecision': [
|
|
883
|
+
['nextActionAt', 'next_action_at'],
|
|
884
|
+
['deadlines', 'deadlines', 'sylphx.notify.v1.SupportDeadline'],
|
|
885
|
+
['tracks', 'tracks', 'sylphx.notify.v1.SupportTrack'],
|
|
886
|
+
['reopenTriggers', 'reopen_triggers'],
|
|
887
|
+
['policyVersion', 'policy_version'],
|
|
888
|
+
['timeZone', 'time_zone'],
|
|
889
|
+
['settlementBuffer', 'settlement_buffer'],
|
|
890
|
+
['evidenceIds', 'evidence_ids'],
|
|
891
|
+
],
|
|
892
|
+
'sylphx.notify.v1.SupportEscalation': [],
|
|
893
|
+
'sylphx.notify.v1.SupportEvidence': [
|
|
894
|
+
['mediaType', 'media_type'],
|
|
895
|
+
['sizeBytes', 'size_bytes'],
|
|
896
|
+
['receiveTime', 'receive_time'],
|
|
897
|
+
],
|
|
898
|
+
'sylphx.notify.v1.SupportInbox': [
|
|
899
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
900
|
+
['channels', 'channels', 'sylphx.notify.v1.SupportChannel'],
|
|
901
|
+
['intakeBound', 'intake_bound'],
|
|
902
|
+
],
|
|
903
|
+
'sylphx.notify.v1.SupportOverdue': [
|
|
904
|
+
['targetId', 'target_id'],
|
|
905
|
+
['dueTime', 'due_time'],
|
|
906
|
+
['detectTime', 'detect_time'],
|
|
907
|
+
],
|
|
908
|
+
'sylphx.notify.v1.SupportReconciliation': [
|
|
909
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
910
|
+
['actor', 'actor', 'sylphx.notify.v1.SupportActor'],
|
|
911
|
+
['snapshotTime', 'snapshot_time'],
|
|
912
|
+
['sourceWatermark', 'source_watermark'],
|
|
913
|
+
['checkedCases', 'checked_cases'],
|
|
914
|
+
['exceptions', 'exceptions', 'sylphx.notify.v1.SupportReconciliationException'],
|
|
915
|
+
['nextScanTime', 'next_scan_time'],
|
|
916
|
+
['populationSha256', 'population_sha256'],
|
|
917
|
+
],
|
|
918
|
+
'sylphx.notify.v1.SupportReconciliationException': [
|
|
919
|
+
['dueTime', 'due_time'],
|
|
920
|
+
],
|
|
921
|
+
'sylphx.notify.v1.SupportRemedyRequest': [
|
|
922
|
+
['request', 'request', 'sylphx.notify.v1.SupportEvidence'],
|
|
923
|
+
['authorizationReceipt', 'authorization_receipt'],
|
|
924
|
+
],
|
|
925
|
+
'sylphx.notify.v1.SupportRequester': [
|
|
926
|
+
['maskedIdentity', 'masked_identity'],
|
|
927
|
+
['displayName', 'display_name'],
|
|
928
|
+
['linkState', 'link_state'],
|
|
929
|
+
['tenantSubject', 'tenant_subject'],
|
|
930
|
+
['linkActor', 'link_actor', 'sylphx.notify.v1.SupportActor'],
|
|
931
|
+
['linkTime', 'link_time'],
|
|
932
|
+
['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
|
|
933
|
+
],
|
|
934
|
+
'sylphx.notify.v1.SupportSourceRecord': [
|
|
935
|
+
['sourceTable', 'source_table'],
|
|
936
|
+
['sourceId', 'source_id'],
|
|
937
|
+
['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
|
|
938
|
+
['sourceVersion', 'source_version'],
|
|
939
|
+
],
|
|
940
|
+
'sylphx.notify.v1.SupportThreadMessage': [
|
|
941
|
+
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
942
|
+
['sourceKey', 'source_key'],
|
|
943
|
+
['author', 'author', 'sylphx.notify.v1.SupportActor'],
|
|
944
|
+
['evidence', 'evidence', 'sylphx.notify.v1.SupportEvidence'],
|
|
945
|
+
['channelId', 'channel_id'],
|
|
946
|
+
['threadKeys', 'thread_keys'],
|
|
947
|
+
['sourceRecords', 'source_records', 'sylphx.notify.v1.SupportSourceRecord'],
|
|
948
|
+
],
|
|
949
|
+
'sylphx.notify.v1.SupportTrack': [
|
|
950
|
+
['nextActionAt', 'next_action_at'],
|
|
951
|
+
['linkedTrackIds', 'linked_track_ids'],
|
|
952
|
+
['evidenceIds', 'evidence_ids'],
|
|
953
|
+
],
|
|
629
954
|
'sylphx.notify.v1.Suppression': [
|
|
630
955
|
['meta', 'meta', 'sylphx.common.v1.ResourceMeta'],
|
|
631
956
|
['sourceMessage', 'source_message'],
|
|
@@ -704,6 +1029,11 @@ runtime.registerSchemas({
|
|
|
704
1029
|
['allowMissing', 'allow_missing'],
|
|
705
1030
|
['validateOnly', 'validate_only'],
|
|
706
1031
|
],
|
|
1032
|
+
'sylphx.notify.v1.UpdateSupportInboxRequest': [
|
|
1033
|
+
['supportInbox', 'support_inbox', 'sylphx.notify.v1.SupportInbox'],
|
|
1034
|
+
['updateMask', 'update_mask'],
|
|
1035
|
+
['validateOnly', 'validate_only'],
|
|
1036
|
+
],
|
|
707
1037
|
'sylphx.notify.v1.UpdateTemplateRequest': [
|
|
708
1038
|
['template', 'template', 'sylphx.notify.v1.Template'],
|
|
709
1039
|
['updateMask', 'update_mask'],
|
|
@@ -712,6 +1042,19 @@ runtime.registerSchemas({
|
|
|
712
1042
|
],
|
|
713
1043
|
'sylphx.notify.v1.VerifyEmailDomainRequest': [],
|
|
714
1044
|
'sylphx.notify.v1.VerifySenderRequest': [],
|
|
1045
|
+
'sylphx.notify.v1.VoiceMessage': [
|
|
1046
|
+
['callSessionId', 'call_session_id'],
|
|
1047
|
+
['recordingKey', 'recording_key'],
|
|
1048
|
+
['recordingDuration', 'recording_duration'],
|
|
1049
|
+
['transcriptionStatus', 'transcription_status'],
|
|
1050
|
+
['recordingError', 'recording_error'],
|
|
1051
|
+
['hangupTime', 'hangup_time'],
|
|
1052
|
+
['hangupCause', 'hangup_cause'],
|
|
1053
|
+
],
|
|
1054
|
+
'sylphx.notify.v1.VoicemailConfig': [
|
|
1055
|
+
['retentionDays', 'retention_days'],
|
|
1056
|
+
['maxRecordingDuration', 'max_recording_duration'],
|
|
1057
|
+
],
|
|
715
1058
|
});
|
|
716
1059
|
/**
|
|
717
1060
|
* NotifyService is Sylphx Notify: messages to people over email, SMS, push,
|
|
@@ -757,6 +1100,20 @@ export class NotifyApi {
|
|
|
757
1100
|
smsNumbers;
|
|
758
1101
|
/** The `inbound_sms` collection. */
|
|
759
1102
|
inboundSms;
|
|
1103
|
+
/** The `inbound_messages` collection. */
|
|
1104
|
+
inboundMessages;
|
|
1105
|
+
/** The `support_inboxes` collection. */
|
|
1106
|
+
supportInboxes;
|
|
1107
|
+
/** The `support_cases` collection. */
|
|
1108
|
+
supportCases;
|
|
1109
|
+
/** The `support_thread_messages` collection. */
|
|
1110
|
+
supportThreadMessages;
|
|
1111
|
+
/** The `support_actions` collection. */
|
|
1112
|
+
supportActions;
|
|
1113
|
+
/** The `support_audit_events` collection. */
|
|
1114
|
+
supportAuditEvents;
|
|
1115
|
+
/** The `support_reconciliations` collection. */
|
|
1116
|
+
supportReconciliations;
|
|
760
1117
|
constructor(client) {
|
|
761
1118
|
this.phoneNumbers = new PhoneNumbersCollection(client);
|
|
762
1119
|
this.mailDomains = new MailDomainsCollection(client);
|
|
@@ -776,6 +1133,13 @@ export class NotifyApi {
|
|
|
776
1133
|
this.broadcasts = new BroadcastsCollection(client);
|
|
777
1134
|
this.smsNumbers = new SmsNumbersCollection(client);
|
|
778
1135
|
this.inboundSms = new InboundSmsCollection(client);
|
|
1136
|
+
this.inboundMessages = new InboundMessagesCollection(client);
|
|
1137
|
+
this.supportInboxes = new SupportInboxesCollection(client);
|
|
1138
|
+
this.supportCases = new SupportCasesCollection(client);
|
|
1139
|
+
this.supportThreadMessages = new SupportThreadMessagesCollection(client);
|
|
1140
|
+
this.supportActions = new SupportActionsCollection(client);
|
|
1141
|
+
this.supportAuditEvents = new SupportAuditEventsCollection(client);
|
|
1142
|
+
this.supportReconciliations = new SupportReconciliationsCollection(client);
|
|
779
1143
|
}
|
|
780
1144
|
}
|
|
781
1145
|
/** `phone_numbers` of Sylphx Notify: Resource type `notify.sylphx.com/PhoneNumber`. */
|
|
@@ -1763,7 +2127,7 @@ export class MessagesCollection {
|
|
|
1763
2127
|
*
|
|
1764
2128
|
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/messages` · permission `notify:send` · effect `write`
|
|
1765
2129
|
*
|
|
1766
|
-
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `RATE_LIMITED`, `INVALID_STATE`.
|
|
2130
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `RATE_LIMITED`, `DESTINATION_COUNTRY_NOT_ALLOWED`, `BUDGET_EXHAUSTED`, `INVALID_STATE`.
|
|
1767
2131
|
*/
|
|
1768
2132
|
async create(request) {
|
|
1769
2133
|
return this.client.call({
|
|
@@ -2445,6 +2809,24 @@ export class SmsNumbersCollection {
|
|
|
2445
2809
|
mutation: true,
|
|
2446
2810
|
});
|
|
2447
2811
|
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Configure voicemail and create an inert standalone carrier application.
|
|
2814
|
+
* Never buys, attaches, forwards or changes the voice profile of a line.
|
|
2815
|
+
*
|
|
2816
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/sms_numbers/*}:configureVoicemail` · permission `notify:write` · effect `write`
|
|
2817
|
+
*
|
|
2818
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `UNAVAILABLE`.
|
|
2819
|
+
*/
|
|
2820
|
+
async configureVoicemail(request) {
|
|
2821
|
+
return this.client.call({
|
|
2822
|
+
method: 'POST',
|
|
2823
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/sms_numbers/*', 'name')}:configureVoicemail`,
|
|
2824
|
+
body: runtime.omit(request, ['name']),
|
|
2825
|
+
bodyType: 'sylphx.notify.v1.ConfigureSmsNumberVoicemailRequest',
|
|
2826
|
+
responseType: 'sylphx.notify.v1.SmsNumber',
|
|
2827
|
+
mutation: true,
|
|
2828
|
+
});
|
|
2829
|
+
}
|
|
2448
2830
|
}
|
|
2449
2831
|
/** `inbound_sms` of Sylphx Notify: Resource type `notify.sylphx.com/InboundSms`. */
|
|
2450
2832
|
export class InboundSmsCollection {
|
|
@@ -2495,4 +2877,591 @@ export class InboundSmsCollection {
|
|
|
2495
2877
|
}
|
|
2496
2878
|
}
|
|
2497
2879
|
}
|
|
2880
|
+
/** `inbound_messages` of Sylphx Notify: Resource type `notify.sylphx.com/InboundMessage`. */
|
|
2881
|
+
export class InboundMessagesCollection {
|
|
2882
|
+
client;
|
|
2883
|
+
constructor(client) {
|
|
2884
|
+
this.client = client;
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* Get one message in the unified SMS and voice inbox.
|
|
2888
|
+
*
|
|
2889
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/sms_numbers/*\/inbound_messages/*}` · permission `notify:read` · effect `read`
|
|
2890
|
+
*
|
|
2891
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
2892
|
+
*/
|
|
2893
|
+
async get(request) {
|
|
2894
|
+
return this.client.call({
|
|
2895
|
+
method: 'GET',
|
|
2896
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/sms_numbers/*/inbound_messages/*', 'name')}`,
|
|
2897
|
+
responseType: 'sylphx.notify.v1.InboundMessage',
|
|
2898
|
+
mutation: false,
|
|
2899
|
+
});
|
|
2900
|
+
}
|
|
2901
|
+
/**
|
|
2902
|
+
* List SMS and voice messages in sequence order. The sequence advances when
|
|
2903
|
+
* asynchronous content changes, so polling also observes completed transcripts.
|
|
2904
|
+
*
|
|
2905
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/sms_numbers/*}/inbound_messages` · permission `notify:read` · effect `read`
|
|
2906
|
+
*
|
|
2907
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
2908
|
+
*/
|
|
2909
|
+
async list(request) {
|
|
2910
|
+
return this.client.call({
|
|
2911
|
+
method: 'GET',
|
|
2912
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/sms_numbers/*', 'parent')}/inbound_messages`,
|
|
2913
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
2914
|
+
responseType: 'sylphx.notify.v1.ListInboundMessagesResponse',
|
|
2915
|
+
mutation: false,
|
|
2916
|
+
});
|
|
2917
|
+
}
|
|
2918
|
+
/** Every item of every page of `list`. */
|
|
2919
|
+
async *listAll(request) {
|
|
2920
|
+
let next = request;
|
|
2921
|
+
for (;;) {
|
|
2922
|
+
const page = await this.list(next);
|
|
2923
|
+
yield* page.inboundMessages ?? [];
|
|
2924
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
2925
|
+
return;
|
|
2926
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
/**
|
|
2930
|
+
* Download retained voicemail bytes with the inbox's tenant/resource permission.
|
|
2931
|
+
*
|
|
2932
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/sms_numbers/*\/inbound_messages/*}:download` · permission `notify:read` · effect `read`
|
|
2933
|
+
*
|
|
2934
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNAVAILABLE`.
|
|
2935
|
+
*/
|
|
2936
|
+
async download(request) {
|
|
2937
|
+
return this.client.call({
|
|
2938
|
+
method: 'POST',
|
|
2939
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/sms_numbers/*/inbound_messages/*', 'name')}:download`,
|
|
2940
|
+
body: runtime.omit(request, ['name']),
|
|
2941
|
+
bodyType: 'sylphx.notify.v1.DownloadInboundMessageRequest',
|
|
2942
|
+
responseType: 'sylphx.notify.v1.DownloadInboundMessageResponse',
|
|
2943
|
+
mutation: true,
|
|
2944
|
+
});
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
/** `support_inboxes` of Sylphx Notify: Resource type `notify.sylphx.com/SupportInbox`. */
|
|
2948
|
+
export class SupportInboxesCollection {
|
|
2949
|
+
client;
|
|
2950
|
+
constructor(client) {
|
|
2951
|
+
this.client = client;
|
|
2952
|
+
}
|
|
2953
|
+
/**
|
|
2954
|
+
* Gets one SupportInbox; protected identities require a separately audited reveal.
|
|
2955
|
+
*
|
|
2956
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:read` · effect `read`
|
|
2957
|
+
*
|
|
2958
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
2959
|
+
*/
|
|
2960
|
+
async get(request) {
|
|
2961
|
+
return this.client.call({
|
|
2962
|
+
method: 'GET',
|
|
2963
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_inboxes/*', 'name')}`,
|
|
2964
|
+
responseType: 'sylphx.notify.v1.SupportInbox',
|
|
2965
|
+
mutation: false,
|
|
2966
|
+
});
|
|
2967
|
+
}
|
|
2968
|
+
/**
|
|
2969
|
+
* Lists scoped support_inboxes; no cross-tenant or internal-message projection.
|
|
2970
|
+
*
|
|
2971
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:read` · effect `read`
|
|
2972
|
+
*
|
|
2973
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
2974
|
+
*/
|
|
2975
|
+
async list(request) {
|
|
2976
|
+
return this.client.call({
|
|
2977
|
+
method: 'GET',
|
|
2978
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_inboxes`,
|
|
2979
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
2980
|
+
responseType: 'sylphx.notify.v1.ListSupportInboxesResponse',
|
|
2981
|
+
mutation: false,
|
|
2982
|
+
});
|
|
2983
|
+
}
|
|
2984
|
+
/** Every item of every page of `list`. */
|
|
2985
|
+
async *listAll(request) {
|
|
2986
|
+
let next = request;
|
|
2987
|
+
for (;;) {
|
|
2988
|
+
const page = await this.list(next);
|
|
2989
|
+
yield* page.supportInboxes ?? [];
|
|
2990
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
2991
|
+
return;
|
|
2992
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
/**
|
|
2996
|
+
* Creates an idempotent SupportInbox; changed replay and illegal state are refused.
|
|
2997
|
+
*
|
|
2998
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_inboxes` · permission `notify:support:configure` · effect `write`
|
|
2999
|
+
*
|
|
3000
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3001
|
+
*/
|
|
3002
|
+
async create(request) {
|
|
3003
|
+
return this.client.call({
|
|
3004
|
+
method: 'POST',
|
|
3005
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_inboxes`,
|
|
3006
|
+
query: { support_inbox_id: request.supportInboxId, request_id: request.requestId, validate_only: request.validateOnly },
|
|
3007
|
+
body: request.supportInbox ?? {},
|
|
3008
|
+
bodyType: 'sylphx.notify.v1.SupportInbox',
|
|
3009
|
+
responseType: 'sylphx.notify.v1.SupportInbox',
|
|
3010
|
+
mutation: true,
|
|
3011
|
+
});
|
|
3012
|
+
}
|
|
3013
|
+
/**
|
|
3014
|
+
* Updates configuration with a strong ETag; intake never creates a missing inbox.
|
|
3015
|
+
*
|
|
3016
|
+
* `PATCH /v1/{support_inbox.name=orgs/*\/projects/*\/envs/*\/support_inboxes/*}` · permission `notify:support:configure` · effect `write`
|
|
3017
|
+
*
|
|
3018
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3019
|
+
*/
|
|
3020
|
+
async update(request) {
|
|
3021
|
+
return this.client.call({
|
|
3022
|
+
method: 'PATCH',
|
|
3023
|
+
path: `/v1/${runtime.pathParam(request.supportInbox?.name, 'orgs/*/projects/*/envs/*/support_inboxes/*', 'support_inbox.name')}`,
|
|
3024
|
+
query: { update_mask: request.updateMask, validate_only: request.validateOnly },
|
|
3025
|
+
body: request.supportInbox ?? {},
|
|
3026
|
+
bodyType: 'sylphx.notify.v1.SupportInbox',
|
|
3027
|
+
responseType: 'sylphx.notify.v1.SupportInbox',
|
|
3028
|
+
mutation: true,
|
|
3029
|
+
});
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
/** `support_cases` of Sylphx Notify: Resource type `notify.sylphx.com/SupportCase`. */
|
|
3033
|
+
export class SupportCasesCollection {
|
|
3034
|
+
client;
|
|
3035
|
+
constructor(client) {
|
|
3036
|
+
this.client = client;
|
|
3037
|
+
}
|
|
3038
|
+
/**
|
|
3039
|
+
* Gets one SupportCase; protected identities require a separately audited reveal.
|
|
3040
|
+
*
|
|
3041
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}` · permission `notify:support:read` · effect `read`
|
|
3042
|
+
*
|
|
3043
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3044
|
+
*/
|
|
3045
|
+
async get(request) {
|
|
3046
|
+
return this.client.call({
|
|
3047
|
+
method: 'GET',
|
|
3048
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}`,
|
|
3049
|
+
responseType: 'sylphx.notify.v1.SupportCase',
|
|
3050
|
+
mutation: false,
|
|
3051
|
+
});
|
|
3052
|
+
}
|
|
3053
|
+
/**
|
|
3054
|
+
* Lists scoped support_cases; no cross-tenant or internal-message projection.
|
|
3055
|
+
*
|
|
3056
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:read` · effect `read`
|
|
3057
|
+
*
|
|
3058
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3059
|
+
*/
|
|
3060
|
+
async list(request) {
|
|
3061
|
+
return this.client.call({
|
|
3062
|
+
method: 'GET',
|
|
3063
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_cases`,
|
|
3064
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
3065
|
+
responseType: 'sylphx.notify.v1.ListSupportCasesResponse',
|
|
3066
|
+
mutation: false,
|
|
3067
|
+
});
|
|
3068
|
+
}
|
|
3069
|
+
/** Every item of every page of `list`. */
|
|
3070
|
+
async *listAll(request) {
|
|
3071
|
+
let next = request;
|
|
3072
|
+
for (;;) {
|
|
3073
|
+
const page = await this.list(next);
|
|
3074
|
+
yield* page.supportCases ?? [];
|
|
3075
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
3076
|
+
return;
|
|
3077
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
/**
|
|
3081
|
+
* Creates an idempotent SupportCase; changed replay and illegal state are refused.
|
|
3082
|
+
*
|
|
3083
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases` · permission `notify:support:operate` · effect `write`
|
|
3084
|
+
*
|
|
3085
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3086
|
+
*/
|
|
3087
|
+
async create(request) {
|
|
3088
|
+
return this.client.call({
|
|
3089
|
+
method: 'POST',
|
|
3090
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_cases`,
|
|
3091
|
+
query: { support_case_id: request.supportCaseId, request_id: request.requestId, validate_only: request.validateOnly },
|
|
3092
|
+
body: request.supportCase ?? {},
|
|
3093
|
+
bodyType: 'sylphx.notify.v1.SupportCase',
|
|
3094
|
+
responseType: 'sylphx.notify.v1.SupportCase',
|
|
3095
|
+
mutation: true,
|
|
3096
|
+
});
|
|
3097
|
+
}
|
|
3098
|
+
/**
|
|
3099
|
+
* 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.
|
|
3100
|
+
*
|
|
3101
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:applySupportDecision` · permission `notify:support:operate` · effect `write`
|
|
3102
|
+
*
|
|
3103
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3104
|
+
*/
|
|
3105
|
+
async applySupportDecision(request) {
|
|
3106
|
+
return this.client.call({
|
|
3107
|
+
method: 'POST',
|
|
3108
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}:applySupportDecision`,
|
|
3109
|
+
body: runtime.omit(request, ['name']),
|
|
3110
|
+
bodyType: 'sylphx.notify.v1.ApplySupportDecisionRequest',
|
|
3111
|
+
responseType: 'sylphx.notify.v1.SupportCase',
|
|
3112
|
+
mutation: true,
|
|
3113
|
+
});
|
|
3114
|
+
}
|
|
3115
|
+
/**
|
|
3116
|
+
* Admits one authenticated source signal, deduped by immutable identity. Spam signals wake reclassification review without reopening, customer reply or new business action.
|
|
3117
|
+
*
|
|
3118
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:ingestSupportSignal` · permission `notify:support:ingest` · effect `write`
|
|
3119
|
+
*
|
|
3120
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3121
|
+
*/
|
|
3122
|
+
async ingestSupportSignal(request) {
|
|
3123
|
+
return this.client.call({
|
|
3124
|
+
method: 'POST',
|
|
3125
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}:ingestSupportSignal`,
|
|
3126
|
+
body: runtime.omit(request, ['name']),
|
|
3127
|
+
bodyType: 'sylphx.notify.v1.IngestSupportSignalRequest',
|
|
3128
|
+
responseType: 'sylphx.notify.v1.SupportCase',
|
|
3129
|
+
mutation: true,
|
|
3130
|
+
});
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* Reveals the protected case requester under a purpose-bound grant and appends an audited read.
|
|
3134
|
+
*
|
|
3135
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*}:revealSupportRequester` · permission `notify:support:reveal` · effect `write`
|
|
3136
|
+
*
|
|
3137
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3138
|
+
*/
|
|
3139
|
+
async revealSupportRequester(request) {
|
|
3140
|
+
return this.client.call({
|
|
3141
|
+
method: 'POST',
|
|
3142
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*', 'name')}:revealSupportRequester`,
|
|
3143
|
+
body: runtime.omit(request, ['name']),
|
|
3144
|
+
bodyType: 'sylphx.notify.v1.RevealSupportRequesterRequest',
|
|
3145
|
+
responseType: 'sylphx.notify.v1.RevealSupportRequesterResponse',
|
|
3146
|
+
mutation: true,
|
|
3147
|
+
});
|
|
3148
|
+
}
|
|
3149
|
+
/**
|
|
3150
|
+
* 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.
|
|
3151
|
+
*
|
|
3152
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_cases:import` · permission `notify:support:import` · effect `write`
|
|
3153
|
+
*
|
|
3154
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3155
|
+
*/
|
|
3156
|
+
async import(request) {
|
|
3157
|
+
return this.client.call({
|
|
3158
|
+
method: 'POST',
|
|
3159
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_cases:import`,
|
|
3160
|
+
body: runtime.omit(request, ['parent']),
|
|
3161
|
+
bodyType: 'sylphx.notify.v1.ImportSupportCasesRequest',
|
|
3162
|
+
responseType: 'sylphx.notify.v1.ImportSupportCasesResponse',
|
|
3163
|
+
mutation: true,
|
|
3164
|
+
});
|
|
3165
|
+
}
|
|
3166
|
+
}
|
|
3167
|
+
/** `support_thread_messages` of Sylphx Notify: Resource type `notify.sylphx.com/SupportThreadMessage`. */
|
|
3168
|
+
export class SupportThreadMessagesCollection {
|
|
3169
|
+
client;
|
|
3170
|
+
constructor(client) {
|
|
3171
|
+
this.client = client;
|
|
3172
|
+
}
|
|
3173
|
+
/**
|
|
3174
|
+
* Gets one SupportThreadMessage; protected identities require a separately audited reveal.
|
|
3175
|
+
*
|
|
3176
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_thread_messages/*}` · permission `notify:support:read` · effect `read`
|
|
3177
|
+
*
|
|
3178
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3179
|
+
*/
|
|
3180
|
+
async get(request) {
|
|
3181
|
+
return this.client.call({
|
|
3182
|
+
method: 'GET',
|
|
3183
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_thread_messages/*', 'name')}`,
|
|
3184
|
+
responseType: 'sylphx.notify.v1.SupportThreadMessage',
|
|
3185
|
+
mutation: false,
|
|
3186
|
+
});
|
|
3187
|
+
}
|
|
3188
|
+
/**
|
|
3189
|
+
* Lists scoped support_thread_messages; no cross-tenant or internal-message projection.
|
|
3190
|
+
*
|
|
3191
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:read` · effect `read`
|
|
3192
|
+
*
|
|
3193
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3194
|
+
*/
|
|
3195
|
+
async list(request) {
|
|
3196
|
+
return this.client.call({
|
|
3197
|
+
method: 'GET',
|
|
3198
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_thread_messages`,
|
|
3199
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
3200
|
+
responseType: 'sylphx.notify.v1.ListSupportThreadMessagesResponse',
|
|
3201
|
+
mutation: false,
|
|
3202
|
+
});
|
|
3203
|
+
}
|
|
3204
|
+
/** Every item of every page of `list`. */
|
|
3205
|
+
async *listAll(request) {
|
|
3206
|
+
let next = request;
|
|
3207
|
+
for (;;) {
|
|
3208
|
+
const page = await this.list(next);
|
|
3209
|
+
yield* page.supportThreadMessages ?? [];
|
|
3210
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
3211
|
+
return;
|
|
3212
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
/**
|
|
3216
|
+
* Creates an idempotent SupportThreadMessage; changed replay and illegal state are refused.
|
|
3217
|
+
*
|
|
3218
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_thread_messages` · permission `notify:support:operate` · effect `write`
|
|
3219
|
+
*
|
|
3220
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3221
|
+
*/
|
|
3222
|
+
async create(request) {
|
|
3223
|
+
return this.client.call({
|
|
3224
|
+
method: 'POST',
|
|
3225
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_thread_messages`,
|
|
3226
|
+
query: { support_thread_message_id: request.supportThreadMessageId, request_id: request.requestId, validate_only: request.validateOnly, expected_version: request.expectedVersion },
|
|
3227
|
+
body: request.supportThreadMessage ?? {},
|
|
3228
|
+
bodyType: 'sylphx.notify.v1.SupportThreadMessage',
|
|
3229
|
+
responseType: 'sylphx.notify.v1.SupportThreadMessage',
|
|
3230
|
+
mutation: true,
|
|
3231
|
+
});
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
/** `support_actions` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAction`. */
|
|
3235
|
+
export class SupportActionsCollection {
|
|
3236
|
+
client;
|
|
3237
|
+
constructor(client) {
|
|
3238
|
+
this.client = client;
|
|
3239
|
+
}
|
|
3240
|
+
/**
|
|
3241
|
+
* Gets one SupportAction; protected identities require a separately audited reveal.
|
|
3242
|
+
*
|
|
3243
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}` · permission `notify:support:read` · effect `read`
|
|
3244
|
+
*
|
|
3245
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3246
|
+
*/
|
|
3247
|
+
async get(request) {
|
|
3248
|
+
return this.client.call({
|
|
3249
|
+
method: 'GET',
|
|
3250
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}`,
|
|
3251
|
+
responseType: 'sylphx.notify.v1.SupportAction',
|
|
3252
|
+
mutation: false,
|
|
3253
|
+
});
|
|
3254
|
+
}
|
|
3255
|
+
/**
|
|
3256
|
+
* Lists scoped support_actions; no cross-tenant or internal-message projection.
|
|
3257
|
+
*
|
|
3258
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:read` · effect `read`
|
|
3259
|
+
*
|
|
3260
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3261
|
+
*/
|
|
3262
|
+
async list(request) {
|
|
3263
|
+
return this.client.call({
|
|
3264
|
+
method: 'GET',
|
|
3265
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_actions`,
|
|
3266
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
3267
|
+
responseType: 'sylphx.notify.v1.ListSupportActionsResponse',
|
|
3268
|
+
mutation: false,
|
|
3269
|
+
});
|
|
3270
|
+
}
|
|
3271
|
+
/** Every item of every page of `list`. */
|
|
3272
|
+
async *listAll(request) {
|
|
3273
|
+
let next = request;
|
|
3274
|
+
for (;;) {
|
|
3275
|
+
const page = await this.list(next);
|
|
3276
|
+
yield* page.supportActions ?? [];
|
|
3277
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
3278
|
+
return;
|
|
3279
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
/**
|
|
3283
|
+
* Creates an idempotent SupportAction; changed replay and illegal state are refused.
|
|
3284
|
+
*
|
|
3285
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_actions` · permission `notify:support:actions` · effect `write`
|
|
3286
|
+
*
|
|
3287
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3288
|
+
*/
|
|
3289
|
+
async create(request) {
|
|
3290
|
+
return this.client.call({
|
|
3291
|
+
method: 'POST',
|
|
3292
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_actions`,
|
|
3293
|
+
query: { support_action_id: request.supportActionId, request_id: request.requestId, validate_only: request.validateOnly, expected_version: request.expectedVersion },
|
|
3294
|
+
body: request.supportAction ?? {},
|
|
3295
|
+
bodyType: 'sylphx.notify.v1.SupportAction',
|
|
3296
|
+
responseType: 'sylphx.notify.v1.SupportAction',
|
|
3297
|
+
mutation: true,
|
|
3298
|
+
});
|
|
3299
|
+
}
|
|
3300
|
+
/**
|
|
3301
|
+
* Claims one fenced attempt of a conclusively dispatchable action. An expired in-flight claim becomes UNCERTAIN, never PENDING.
|
|
3302
|
+
*
|
|
3303
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:beginSupportActionAttempt` · permission `notify:support:dispatch` · effect `write`
|
|
3304
|
+
*
|
|
3305
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3306
|
+
*/
|
|
3307
|
+
async beginSupportActionAttempt(request) {
|
|
3308
|
+
return this.client.call({
|
|
3309
|
+
method: 'POST',
|
|
3310
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}:beginSupportActionAttempt`,
|
|
3311
|
+
body: runtime.omit(request, ['name']),
|
|
3312
|
+
bodyType: 'sylphx.notify.v1.BeginSupportActionAttemptRequest',
|
|
3313
|
+
responseType: 'sylphx.notify.v1.BeginSupportActionAttemptResponse',
|
|
3314
|
+
mutation: true,
|
|
3315
|
+
});
|
|
3316
|
+
}
|
|
3317
|
+
/**
|
|
3318
|
+
* Records an authenticated immutable authority receipt. Transport state changes alone never change a case or business action.
|
|
3319
|
+
*
|
|
3320
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:recordSupportActionReceipt` · permission `notify:support:receipts` · effect `write`
|
|
3321
|
+
*
|
|
3322
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3323
|
+
*/
|
|
3324
|
+
async recordSupportActionReceipt(request) {
|
|
3325
|
+
return this.client.call({
|
|
3326
|
+
method: 'POST',
|
|
3327
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}:recordSupportActionReceipt`,
|
|
3328
|
+
body: runtime.omit(request, ['name']),
|
|
3329
|
+
bodyType: 'sylphx.notify.v1.RecordSupportActionReceiptRequest',
|
|
3330
|
+
responseType: 'sylphx.notify.v1.SupportAction',
|
|
3331
|
+
mutation: true,
|
|
3332
|
+
});
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* 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.
|
|
3336
|
+
*
|
|
3337
|
+
* `POST /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_actions/*}:reconcile` · permission `notify:support:reconcile` · effect `write`
|
|
3338
|
+
*
|
|
3339
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3340
|
+
*/
|
|
3341
|
+
async reconcile(request) {
|
|
3342
|
+
return this.client.call({
|
|
3343
|
+
method: 'POST',
|
|
3344
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_actions/*', 'name')}:reconcile`,
|
|
3345
|
+
body: runtime.omit(request, ['name']),
|
|
3346
|
+
bodyType: 'sylphx.notify.v1.ReconcileSupportActionRequest',
|
|
3347
|
+
responseType: 'sylphx.notify.v1.SupportAction',
|
|
3348
|
+
mutation: true,
|
|
3349
|
+
});
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
/** `support_audit_events` of Sylphx Notify: Resource type `notify.sylphx.com/SupportAuditEvent`. */
|
|
3353
|
+
export class SupportAuditEventsCollection {
|
|
3354
|
+
client;
|
|
3355
|
+
constructor(client) {
|
|
3356
|
+
this.client = client;
|
|
3357
|
+
}
|
|
3358
|
+
/**
|
|
3359
|
+
* Gets one SupportAuditEvent; protected identities require a separately audited reveal.
|
|
3360
|
+
*
|
|
3361
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_cases/*\/support_audit_events/*}` · permission `notify:support:read` · effect `read`
|
|
3362
|
+
*
|
|
3363
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3364
|
+
*/
|
|
3365
|
+
async get(request) {
|
|
3366
|
+
return this.client.call({
|
|
3367
|
+
method: 'GET',
|
|
3368
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_cases/*/support_audit_events/*', 'name')}`,
|
|
3369
|
+
responseType: 'sylphx.notify.v1.SupportAuditEvent',
|
|
3370
|
+
mutation: false,
|
|
3371
|
+
});
|
|
3372
|
+
}
|
|
3373
|
+
/**
|
|
3374
|
+
* Lists scoped support_audit_events; no cross-tenant or internal-message projection.
|
|
3375
|
+
*
|
|
3376
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/support_cases/*}/support_audit_events` · permission `notify:support:read` · effect `read`
|
|
3377
|
+
*
|
|
3378
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3379
|
+
*/
|
|
3380
|
+
async list(request) {
|
|
3381
|
+
return this.client.call({
|
|
3382
|
+
method: 'GET',
|
|
3383
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*/support_cases/*', 'parent')}/support_audit_events`,
|
|
3384
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
3385
|
+
responseType: 'sylphx.notify.v1.ListSupportAuditEventsResponse',
|
|
3386
|
+
mutation: false,
|
|
3387
|
+
});
|
|
3388
|
+
}
|
|
3389
|
+
/** Every item of every page of `list`. */
|
|
3390
|
+
async *listAll(request) {
|
|
3391
|
+
let next = request;
|
|
3392
|
+
for (;;) {
|
|
3393
|
+
const page = await this.list(next);
|
|
3394
|
+
yield* page.supportAuditEvents ?? [];
|
|
3395
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
3396
|
+
return;
|
|
3397
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
/** `support_reconciliations` of Sylphx Notify: Resource type `notify.sylphx.com/SupportReconciliation`. */
|
|
3402
|
+
export class SupportReconciliationsCollection {
|
|
3403
|
+
client;
|
|
3404
|
+
constructor(client) {
|
|
3405
|
+
this.client = client;
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* Gets one SupportReconciliation; protected identities require a separately audited reveal.
|
|
3409
|
+
*
|
|
3410
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/support_reconciliations/*}` · permission `notify:support:read` · effect `read`
|
|
3411
|
+
*
|
|
3412
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3413
|
+
*/
|
|
3414
|
+
async get(request) {
|
|
3415
|
+
return this.client.call({
|
|
3416
|
+
method: 'GET',
|
|
3417
|
+
path: `/v1/${runtime.pathParam(request.name, 'orgs/*/projects/*/envs/*/support_reconciliations/*', 'name')}`,
|
|
3418
|
+
responseType: 'sylphx.notify.v1.SupportReconciliation',
|
|
3419
|
+
mutation: false,
|
|
3420
|
+
});
|
|
3421
|
+
}
|
|
3422
|
+
/**
|
|
3423
|
+
* Lists scoped support_reconciliations; no cross-tenant or internal-message projection.
|
|
3424
|
+
*
|
|
3425
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations` · permission `notify:support:read` · effect `read`
|
|
3426
|
+
*
|
|
3427
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`.
|
|
3428
|
+
*/
|
|
3429
|
+
async list(request) {
|
|
3430
|
+
return this.client.call({
|
|
3431
|
+
method: 'GET',
|
|
3432
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_reconciliations`,
|
|
3433
|
+
query: { page_size: request.pageSize, page_token: request.pageToken, filter: request.filter, order_by: request.orderBy },
|
|
3434
|
+
responseType: 'sylphx.notify.v1.ListSupportReconciliationsResponse',
|
|
3435
|
+
mutation: false,
|
|
3436
|
+
});
|
|
3437
|
+
}
|
|
3438
|
+
/** Every item of every page of `list`. */
|
|
3439
|
+
async *listAll(request) {
|
|
3440
|
+
let next = request;
|
|
3441
|
+
for (;;) {
|
|
3442
|
+
const page = await this.list(next);
|
|
3443
|
+
yield* page.supportReconciliations ?? [];
|
|
3444
|
+
if (page.nextPageToken === undefined || page.nextPageToken === '')
|
|
3445
|
+
return;
|
|
3446
|
+
next = { ...request, pageToken: page.nextPageToken };
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* Runs one scoped daily census, dense due pass or migration comparison on demand. Incomplete coverage never proves zero exceptions.
|
|
3451
|
+
*
|
|
3452
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/support_reconciliations:run` · permission `notify:support:reconcile` · effect `write`
|
|
3453
|
+
*
|
|
3454
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `UNAVAILABLE`, `UNIMPLEMENTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
|
|
3455
|
+
*/
|
|
3456
|
+
async run(request) {
|
|
3457
|
+
return this.client.call({
|
|
3458
|
+
method: 'POST',
|
|
3459
|
+
path: `/v1/${runtime.pathParam(request.parent, 'orgs/*/projects/*/envs/*', 'parent')}/support_reconciliations:run`,
|
|
3460
|
+
body: runtime.omit(request, ['parent']),
|
|
3461
|
+
bodyType: 'sylphx.notify.v1.RunSupportReconciliationRequest',
|
|
3462
|
+
responseType: 'sylphx.notify.v1.SupportReconciliation',
|
|
3463
|
+
mutation: true,
|
|
3464
|
+
});
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
2498
3467
|
//# sourceMappingURL=notify.js.map
|