@sylphx/sdk 0.32.43 → 0.32.45
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/access.d.ts +8 -0
- package/dist/access.js.map +1 -1
- package/dist/analytics.d.ts +117 -0
- package/dist/analytics.js +53 -0
- package/dist/analytics.js.map +1 -1
- package/dist/auth.d.ts +6 -1
- package/dist/auth.js +1 -0
- package/dist/auth.js.map +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/hosting.d.ts +91 -5
- package/dist/hosting.js +68 -3
- package/dist/hosting.js.map +1 -1
- package/dist/ids.d.ts +5 -0
- package/dist/ids.js +1 -0
- package/dist/ids.js.map +1 -1
- package/dist/methods.js +135 -0
- package/dist/methods.js.map +1 -1
- package/dist/money.d.ts +11 -0
- package/dist/money.js +2 -0
- package/dist/money.js.map +1 -1
- package/dist/notify.d.ts +338 -26
- package/dist/notify.js +327 -53
- package/dist/notify.js.map +1 -1
- package/dist/release.d.ts +30 -1
- package/dist/release.js +24 -0
- package/dist/release.js.map +1 -1
- package/dist/signal/attribution.d.ts +3 -1
- package/dist/signal/attribution.js +7 -1
- package/dist/signal/attribution.js.map +1 -1
- package/dist/signal/browser.d.ts +29 -2
- package/dist/signal/browser.js +204 -22
- package/dist/signal/browser.js.map +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/signal.js.map +1 -1
- package/package.json +1 -1
package/dist/notify.d.ts
CHANGED
|
@@ -18,6 +18,37 @@ export interface AdoptSmsNumberRequest {
|
|
|
18
18
|
/** Validate against the carrier and local state without writing a binding. */
|
|
19
19
|
validateOnly?: boolean;
|
|
20
20
|
}
|
|
21
|
+
/** A hosted mailbox's app password. The secret is returned only on creation. */
|
|
22
|
+
export interface AppPassword {
|
|
23
|
+
/** The resource name. */
|
|
24
|
+
name?: string;
|
|
25
|
+
/** The immutable unique identifier. */
|
|
26
|
+
readonly uid?: string;
|
|
27
|
+
/** Resource metadata. */
|
|
28
|
+
meta?: common.ResourceMeta;
|
|
29
|
+
/** The password's metadata. */
|
|
30
|
+
spec?: AppPasswordSpec;
|
|
31
|
+
/** Observed state and the one-time secret. */
|
|
32
|
+
readonly status?: AppPasswordStatus;
|
|
33
|
+
}
|
|
34
|
+
/** The app password's label and expiration. */
|
|
35
|
+
export interface AppPasswordSpec {
|
|
36
|
+
/** A device or client label. */
|
|
37
|
+
label?: string;
|
|
38
|
+
/** The expiration time, if set. */
|
|
39
|
+
expireTime?: string;
|
|
40
|
+
}
|
|
41
|
+
/** The app password's creation result. */
|
|
42
|
+
export interface AppPasswordStatus {
|
|
43
|
+
/** The generation this status describes. */
|
|
44
|
+
readonly observedGeneration?: string;
|
|
45
|
+
/** Resource conditions, if any. */
|
|
46
|
+
readonly conditions?: common.Condition[];
|
|
47
|
+
/** The time of creation. */
|
|
48
|
+
readonly createTime?: string;
|
|
49
|
+
/** Only the create response includes the secret. */
|
|
50
|
+
readonly password?: string;
|
|
51
|
+
}
|
|
21
52
|
/**
|
|
22
53
|
* Apply or reconcile the SAME operation after a lost response. Resupply a
|
|
23
54
|
* current token with the same operation id and route; readback precedes retry.
|
|
@@ -145,6 +176,17 @@ export interface ConnectPhoneNumberRequest {
|
|
|
145
176
|
/** Validate ownership/config without creating a binding. */
|
|
146
177
|
validateOnly?: boolean;
|
|
147
178
|
}
|
|
179
|
+
/** Request for CreateAppPassword. */
|
|
180
|
+
export interface CreateAppPasswordRequest {
|
|
181
|
+
/** The parent resource name. */
|
|
182
|
+
parent: string;
|
|
183
|
+
/** The ID; generated if not provided. */
|
|
184
|
+
appPasswordId?: string;
|
|
185
|
+
/** The resource to create. */
|
|
186
|
+
appPassword: AppPassword;
|
|
187
|
+
/** Validate without creating. */
|
|
188
|
+
validateOnly?: boolean;
|
|
189
|
+
}
|
|
148
190
|
/** The request of CreateBroadcast. */
|
|
149
191
|
export interface CreateBroadcastRequest {
|
|
150
192
|
/** The parent to create in. */
|
|
@@ -215,6 +257,17 @@ export interface CreateMailboxRequest {
|
|
|
215
257
|
/** Validate and return the result without writing anything. */
|
|
216
258
|
validateOnly?: boolean;
|
|
217
259
|
}
|
|
260
|
+
/** Request for CreateMaskedAlias. */
|
|
261
|
+
export interface CreateMaskedAliasRequest {
|
|
262
|
+
/** The parent resource name. */
|
|
263
|
+
parent: string;
|
|
264
|
+
/** The ID; generated if not provided. */
|
|
265
|
+
maskedAliasId?: string;
|
|
266
|
+
/** The resource to create. */
|
|
267
|
+
maskedAlias: MaskedAlias;
|
|
268
|
+
/** Validate without creating. */
|
|
269
|
+
validateOnly?: boolean;
|
|
270
|
+
}
|
|
218
271
|
/** The request of CreateMessage. */
|
|
219
272
|
export interface CreateMessageRequest {
|
|
220
273
|
/** The parent to create in. */
|
|
@@ -299,6 +352,15 @@ export interface CreateTemplateRequest {
|
|
|
299
352
|
/** Validate and return the result without writing anything. */
|
|
300
353
|
validateOnly?: boolean;
|
|
301
354
|
}
|
|
355
|
+
/** Request for DeleteAppPassword. */
|
|
356
|
+
export interface DeleteAppPasswordRequest {
|
|
357
|
+
/** The name resource name. */
|
|
358
|
+
name: string;
|
|
359
|
+
/** The resource etag. */
|
|
360
|
+
etag?: string;
|
|
361
|
+
/** Validate without deleting. */
|
|
362
|
+
validateOnly?: boolean;
|
|
363
|
+
}
|
|
302
364
|
/** The request of DeleteBroadcast. */
|
|
303
365
|
export interface DeleteBroadcastRequest {
|
|
304
366
|
/** The name of the broadcast to delete. */
|
|
@@ -532,6 +594,10 @@ export interface EmailDomainStatus {
|
|
|
532
594
|
readonly receivingState?: EmailDomainReceivingState;
|
|
533
595
|
/** When the MX records last verified. */
|
|
534
596
|
readonly receivingVerifyTime?: string;
|
|
597
|
+
/** Whether the sending domain is latched by the complaint fuse. */
|
|
598
|
+
readonly outboundPaused?: boolean;
|
|
599
|
+
/** Outbound pool associated with this resource, when applicable. */
|
|
600
|
+
readonly pool?: Pool;
|
|
535
601
|
}
|
|
536
602
|
/** The request of EraseMailboxAddress. */
|
|
537
603
|
export interface EraseMailboxAddressRequest {
|
|
@@ -545,6 +611,11 @@ export interface EraseMailboxAddressResponse {
|
|
|
545
611
|
/** How many inbound emails were scrubbed. */
|
|
546
612
|
erasedCount?: string;
|
|
547
613
|
}
|
|
614
|
+
/** Request for GetAppPassword. */
|
|
615
|
+
export interface GetAppPasswordRequest {
|
|
616
|
+
/** The name resource name. */
|
|
617
|
+
name: string;
|
|
618
|
+
}
|
|
548
619
|
/** The request of GetBroadcast. */
|
|
549
620
|
export interface GetBroadcastRequest {
|
|
550
621
|
/** The name of the broadcast to get. */
|
|
@@ -555,6 +626,16 @@ export interface GetEmailDomainRequest {
|
|
|
555
626
|
/** The name of the email domain to get. */
|
|
556
627
|
name: string;
|
|
557
628
|
}
|
|
629
|
+
/** Request for GetInboundEmailRaw. */
|
|
630
|
+
export interface GetInboundEmailRawRequest {
|
|
631
|
+
/** The inbound email resource name. */
|
|
632
|
+
name: string;
|
|
633
|
+
}
|
|
634
|
+
/** Response for GetInboundEmailRaw. */
|
|
635
|
+
export interface GetInboundEmailRawResponse {
|
|
636
|
+
/** The original MIME bytes. Clients should treat the contents as untrusted. */
|
|
637
|
+
readonly raw?: string;
|
|
638
|
+
}
|
|
558
639
|
/** The request of GetInboundEmail. */
|
|
559
640
|
export interface GetInboundEmailRequest {
|
|
560
641
|
/** The name of the inbound email to get. */
|
|
@@ -590,6 +671,11 @@ export interface GetMailboxRequest {
|
|
|
590
671
|
/** The name of the mailbox to get. */
|
|
591
672
|
name: string;
|
|
592
673
|
}
|
|
674
|
+
/** Request for GetMaskedAlias. */
|
|
675
|
+
export interface GetMaskedAliasRequest {
|
|
676
|
+
/** The name resource name. */
|
|
677
|
+
name: string;
|
|
678
|
+
}
|
|
593
679
|
/** The request of GetMessage. */
|
|
594
680
|
export interface GetMessageRequest {
|
|
595
681
|
/** The name of the message to get. */
|
|
@@ -640,6 +726,19 @@ export interface GetTemplateRequest {
|
|
|
640
726
|
/** The name of the template to get. */
|
|
641
727
|
name: string;
|
|
642
728
|
}
|
|
729
|
+
/** Metadata about an inbound attachment. */
|
|
730
|
+
export interface InboundAttachment {
|
|
731
|
+
/** The supplied filename, if any. */
|
|
732
|
+
readonly filename?: string;
|
|
733
|
+
/** The attachment's media type. */
|
|
734
|
+
readonly mimeType?: string;
|
|
735
|
+
/** The decoded size in bytes. */
|
|
736
|
+
readonly sizeBytes?: string;
|
|
737
|
+
/** The Content-ID, if present. */
|
|
738
|
+
readonly contentId?: string;
|
|
739
|
+
/** SHA-256 of the attachment bytes, hex. */
|
|
740
|
+
readonly sha256?: string;
|
|
741
|
+
}
|
|
643
742
|
/**
|
|
644
743
|
* An Inbound Email is one mail a mailbox holds, received or sent, kept as
|
|
645
744
|
* evidence: parsed once, never changed except by erasure. Consumers read the
|
|
@@ -697,6 +796,8 @@ export interface InboundEmail {
|
|
|
697
796
|
readonly erased?: boolean;
|
|
698
797
|
/** The Notify Message that sent it, for mail Notify sent as this mailbox. */
|
|
699
798
|
readonly message?: string;
|
|
799
|
+
/** Attachment metadata. Bytes are available only as part of the retained raw message. */
|
|
800
|
+
readonly attachments?: InboundAttachment[];
|
|
700
801
|
}
|
|
701
802
|
/** The unified SMS and voice inbox, ordered by its resumable sequence. */
|
|
702
803
|
export interface InboundMessage {
|
|
@@ -796,6 +897,22 @@ export interface InboxItem {
|
|
|
796
897
|
/** Read, unread, or archived. */
|
|
797
898
|
readonly state?: InboxItemState;
|
|
798
899
|
}
|
|
900
|
+
/** Request for ListAppPasswords. */
|
|
901
|
+
export interface ListAppPasswordsRequest {
|
|
902
|
+
/** The parent resource name. */
|
|
903
|
+
parent: string;
|
|
904
|
+
/** The requested page size. */
|
|
905
|
+
pageSize?: number;
|
|
906
|
+
/** The token returned by a previous call. */
|
|
907
|
+
pageToken?: string;
|
|
908
|
+
}
|
|
909
|
+
/** Response for ListAppPasswords. */
|
|
910
|
+
export interface ListAppPasswordsResponse {
|
|
911
|
+
/** The resources. */
|
|
912
|
+
appPasswords?: AppPassword[];
|
|
913
|
+
/** Continuation token, if any. */
|
|
914
|
+
nextPageToken?: string;
|
|
915
|
+
}
|
|
799
916
|
/** The request of ListBroadcasts. */
|
|
800
917
|
export interface ListBroadcastsRequest {
|
|
801
918
|
/** The parent to list in. */
|
|
@@ -976,6 +1093,22 @@ export interface ListMailboxesResponse {
|
|
|
976
1093
|
/** The token of the next page; empty on the last page. */
|
|
977
1094
|
nextPageToken?: string;
|
|
978
1095
|
}
|
|
1096
|
+
/** Request for ListMaskedAliases. */
|
|
1097
|
+
export interface ListMaskedAliasesRequest {
|
|
1098
|
+
/** The parent resource name. */
|
|
1099
|
+
parent: string;
|
|
1100
|
+
/** The requested page size. */
|
|
1101
|
+
pageSize?: number;
|
|
1102
|
+
/** The token returned by a previous call. */
|
|
1103
|
+
pageToken?: string;
|
|
1104
|
+
}
|
|
1105
|
+
/** Response for ListMaskedAliases. */
|
|
1106
|
+
export interface ListMaskedAliasesResponse {
|
|
1107
|
+
/** The resources. */
|
|
1108
|
+
maskedAliases?: MaskedAlias[];
|
|
1109
|
+
/** Continuation token, if any. */
|
|
1110
|
+
nextPageToken?: string;
|
|
1111
|
+
}
|
|
979
1112
|
/** The request of ListMessageTopics. */
|
|
980
1113
|
export interface ListMessageTopicsRequest {
|
|
981
1114
|
/** The parent to list in. */
|
|
@@ -1326,6 +1459,13 @@ export interface MailboxOauthAppStatus {
|
|
|
1326
1459
|
*/
|
|
1327
1460
|
readonly scopes?: string[];
|
|
1328
1461
|
}
|
|
1462
|
+
/** Retention for hosted mailbox data. */
|
|
1463
|
+
export interface MailboxRetention {
|
|
1464
|
+
/** Days to retain the raw message. */
|
|
1465
|
+
rawDays?: number;
|
|
1466
|
+
/** Days to retain hosted mail. Unset means no age-based removal. */
|
|
1467
|
+
mailDays?: number;
|
|
1468
|
+
}
|
|
1329
1469
|
/** MailboxSpec is the caller-writable state of a Mailbox. */
|
|
1330
1470
|
export interface MailboxSpec {
|
|
1331
1471
|
/** Connected or hosted. */
|
|
@@ -1366,6 +1506,20 @@ export interface MailboxSpec {
|
|
|
1366
1506
|
* the token was issued to the environment's Mailbox OAuth App.
|
|
1367
1507
|
*/
|
|
1368
1508
|
oauthRefreshToken?: string;
|
|
1509
|
+
/** The access mode for a hosted mailbox; unset defaults to API. */
|
|
1510
|
+
access?: MailboxAccess;
|
|
1511
|
+
/** Additional receiving addresses, for a hosted mailbox. */
|
|
1512
|
+
aliases?: string[];
|
|
1513
|
+
/** The hosted mailbox storage limit, in bytes. */
|
|
1514
|
+
quotaBytes?: string;
|
|
1515
|
+
/** The hosted mailbox retention policy. */
|
|
1516
|
+
retention?: MailboxRetention;
|
|
1517
|
+
/** Folder used for spam in a hosted mailbox. */
|
|
1518
|
+
spamFolder?: string;
|
|
1519
|
+
/** Customer organization that owns a hosted mailbox. Empty for platform-owned mailboxes. */
|
|
1520
|
+
ownerCustomerOrgId?: string;
|
|
1521
|
+
/** Whether a platform-owned hosted mailbox is marked as shared. Does not grant access. */
|
|
1522
|
+
shared?: boolean;
|
|
1369
1523
|
}
|
|
1370
1524
|
/** MailboxStatus is the observed state of a Mailbox. */
|
|
1371
1525
|
export interface MailboxStatus {
|
|
@@ -1391,6 +1545,17 @@ export interface MailboxStatus {
|
|
|
1391
1545
|
* connect link naming it, or a new `oauth_refresh_token`, reconnects it.
|
|
1392
1546
|
*/
|
|
1393
1547
|
readonly reconnectRequired?: boolean;
|
|
1548
|
+
/**
|
|
1549
|
+
* Whether the hosted address domain is latched in the managed-send service.
|
|
1550
|
+
* This is not a readback of the external SMTP listener policy.
|
|
1551
|
+
*/
|
|
1552
|
+
readonly outboundPaused?: boolean;
|
|
1553
|
+
/** Outbound pool associated with this resource, when applicable. */
|
|
1554
|
+
readonly pool?: Pool;
|
|
1555
|
+
/** The hosted mailbox's storage usage. */
|
|
1556
|
+
readonly usedBytes?: string;
|
|
1557
|
+
/** The last time the hosted mailbox received mail. */
|
|
1558
|
+
readonly lastReceiveTime?: string;
|
|
1394
1559
|
}
|
|
1395
1560
|
/** The request of MarkInboxItemRead. */
|
|
1396
1561
|
export interface MarkInboxItemReadRequest {
|
|
@@ -1402,6 +1567,43 @@ export interface MarkInboxItemUnreadRequest {
|
|
|
1402
1567
|
/** The name of the inbox item. */
|
|
1403
1568
|
name: string;
|
|
1404
1569
|
}
|
|
1570
|
+
/** A MaskedAlias receives mail into a hosted mailbox without exposing its address. */
|
|
1571
|
+
export interface MaskedAlias {
|
|
1572
|
+
/** The resource name. */
|
|
1573
|
+
name?: string;
|
|
1574
|
+
/** The alias's immutable unique identifier. */
|
|
1575
|
+
readonly uid?: string;
|
|
1576
|
+
/** Resource metadata, including the etag. */
|
|
1577
|
+
meta?: common.ResourceMeta;
|
|
1578
|
+
/** Desired state. */
|
|
1579
|
+
spec?: MaskedAliasSpec;
|
|
1580
|
+
/** Observed state. */
|
|
1581
|
+
readonly status?: MaskedAliasStatus;
|
|
1582
|
+
}
|
|
1583
|
+
/** Desired state of a masked alias. */
|
|
1584
|
+
export interface MaskedAliasSpec {
|
|
1585
|
+
/** An unused address on a receiving domain in this environment. */
|
|
1586
|
+
address?: string;
|
|
1587
|
+
/** The hosted mailbox that receives the alias's mail. */
|
|
1588
|
+
mailbox?: string;
|
|
1589
|
+
/** Defaults to ACTIVE on creation. REVOKED never transitions again. */
|
|
1590
|
+
state?: MaskedAliasState;
|
|
1591
|
+
/** Defaults to DISABLED. Does not grant outbound permission. */
|
|
1592
|
+
replyMode?: MaskedAliasReplyMode;
|
|
1593
|
+
}
|
|
1594
|
+
/** Observed state of a masked alias. */
|
|
1595
|
+
export interface MaskedAliasStatus {
|
|
1596
|
+
/** The generation this status describes. */
|
|
1597
|
+
readonly observedGeneration?: string;
|
|
1598
|
+
/** Resource conditions, if any. */
|
|
1599
|
+
readonly conditions?: common.Condition[];
|
|
1600
|
+
/** Number of recipient attempts refused while paused or revoked. */
|
|
1601
|
+
readonly blockedCount?: string;
|
|
1602
|
+
/** Most recent such refusal. */
|
|
1603
|
+
readonly lastBlockedTime?: string;
|
|
1604
|
+
/** Whether outbound submission is enabled. Always false on the free tier. */
|
|
1605
|
+
readonly canSend?: boolean;
|
|
1606
|
+
}
|
|
1405
1607
|
/**
|
|
1406
1608
|
* A Message is one notification to one recipient on one topic. Notify admits
|
|
1407
1609
|
* it idempotently, checks suppression and preferences, and fans it out to the
|
|
@@ -1472,6 +1674,8 @@ export interface Message {
|
|
|
1472
1674
|
* may differ from the From domain. Omit to send without a Reply-To header.
|
|
1473
1675
|
*/
|
|
1474
1676
|
replyTo?: string;
|
|
1677
|
+
/** A masked alias to send as. Submission is not enabled for masked aliases. */
|
|
1678
|
+
maskedAlias?: string;
|
|
1475
1679
|
}
|
|
1476
1680
|
/** What a message to a test recipient rendered to. */
|
|
1477
1681
|
export interface MessageCapture {
|
|
@@ -2114,6 +2318,15 @@ export interface UpdateMailboxRequest {
|
|
|
2114
2318
|
/** Validate and return the result without writing anything. */
|
|
2115
2319
|
validateOnly?: boolean;
|
|
2116
2320
|
}
|
|
2321
|
+
/** Request for UpdateMaskedAlias. */
|
|
2322
|
+
export interface UpdateMaskedAliasRequest {
|
|
2323
|
+
/** The resource to update. */
|
|
2324
|
+
maskedAlias: MaskedAlias;
|
|
2325
|
+
/** The fields to update. Only spec.state and spec.reply_mode can change. */
|
|
2326
|
+
updateMask?: string;
|
|
2327
|
+
/** Validate without updating. */
|
|
2328
|
+
validateOnly?: boolean;
|
|
2329
|
+
}
|
|
2117
2330
|
/** The request of UpdateMessageTopic. */
|
|
2118
2331
|
export interface UpdateMessageTopicRequest {
|
|
2119
2332
|
/** The message topic to update; `name` identifies it. */
|
|
@@ -2234,6 +2447,8 @@ export type InboundEmailDirection = 'received' | 'sent' | (string & {});
|
|
|
2234
2447
|
export type InboxItemState = 'unread' | 'read' | 'archived' | (string & {});
|
|
2235
2448
|
/** How a mail server connection is secured. */
|
|
2236
2449
|
export type MailServerSecurity = 'tls' | 'starttls' | (string & {});
|
|
2450
|
+
/** Access modes for hosted mailboxes. */
|
|
2451
|
+
export type MailboxAccess = 'api' | 'full' | (string & {});
|
|
2237
2452
|
/** How a connected Mailbox logs in. */
|
|
2238
2453
|
export type MailboxAuthKind = 'password' | 'oauth' | (string & {});
|
|
2239
2454
|
/** The lifecycle of a Mailbox Connect Link. */
|
|
@@ -2242,8 +2457,14 @@ export type MailboxConnectLinkState = 'pending' | 'claimed' | 'connected' | 'fai
|
|
|
2242
2457
|
export type MailboxKind = 'connected' | 'hosted' | (string & {});
|
|
2243
2458
|
/** An OAuth provider of connected mailboxes. */
|
|
2244
2459
|
export type MailboxOauthProvider = 'google' | 'microsoft' | (string & {});
|
|
2460
|
+
/** Reply policy of a masked alias. */
|
|
2461
|
+
export type MaskedAliasReplyMode = 'disabled' | 'reverse_alias' | (string & {});
|
|
2462
|
+
/** Lifecycle of a masked alias. */
|
|
2463
|
+
export type MaskedAliasState = 'active' | 'paused' | 'revoked' | (string & {});
|
|
2245
2464
|
/** The state of a Message. */
|
|
2246
2465
|
export type MessageState = 'accepted' | 'suppressed' | 'delivering' | 'delivered' | 'failed' | 'cancelled' | 'rate_limited' | (string & {});
|
|
2466
|
+
/** Managed outbound email pool. */
|
|
2467
|
+
export type Pool = 'a' | 'c' | (string & {});
|
|
2247
2468
|
/** A push platform. */
|
|
2248
2469
|
export type PushPlatform = 'apns' | 'fcm' | 'web_push' | (string & {});
|
|
2249
2470
|
/** What happens to mail judged spam on a Route. */
|
|
@@ -2280,12 +2501,16 @@ export declare class NotifyApi {
|
|
|
2280
2501
|
readonly messages: MessagesCollection;
|
|
2281
2502
|
/** The `mailboxes` collection. */
|
|
2282
2503
|
readonly mailboxes: MailboxesCollection;
|
|
2504
|
+
/** The `masked_aliases` collection. */
|
|
2505
|
+
readonly maskedAliases: MaskedAliasesCollection;
|
|
2506
|
+
/** The `app_passwords` collection. */
|
|
2507
|
+
readonly appPasswords: AppPasswordsCollection;
|
|
2508
|
+
/** The `inbound_emails` collection. */
|
|
2509
|
+
readonly inboundEmails: InboundEmailsCollection;
|
|
2283
2510
|
/** The `mailbox_oauth_apps` collection. */
|
|
2284
2511
|
readonly mailboxOauthApps: MailboxOauthAppsCollection;
|
|
2285
2512
|
/** The `mailbox_connect_links` collection. */
|
|
2286
2513
|
readonly mailboxConnectLinks: MailboxConnectLinksCollection;
|
|
2287
|
-
/** The `inbound_emails` collection. */
|
|
2288
|
-
readonly inboundEmails: InboundEmailsCollection;
|
|
2289
2514
|
/** The `inbox_items` collection. */
|
|
2290
2515
|
readonly inboxItems: InboxItemsCollection;
|
|
2291
2516
|
/** The `broadcasts` collection. */
|
|
@@ -2766,7 +2991,7 @@ export declare class MessagesCollection {
|
|
|
2766
2991
|
*
|
|
2767
2992
|
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/messages` · permission `notify:send` · effect `write`
|
|
2768
2993
|
*
|
|
2769
|
-
* 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`.
|
|
2994
|
+
* 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`, `COMPLAINT_FUSE_ACTIVE`, `INVALID_STATE`.
|
|
2770
2995
|
*/
|
|
2771
2996
|
create(request: CreateMessageRequest): Promise<Message>;
|
|
2772
2997
|
/**
|
|
@@ -2835,6 +3060,116 @@ export declare class MailboxesCollection {
|
|
|
2835
3060
|
*/
|
|
2836
3061
|
eraseAddress(request: EraseMailboxAddressRequest): Promise<EraseMailboxAddressResponse>;
|
|
2837
3062
|
}
|
|
3063
|
+
/** `masked_aliases` of Sylphx Notify: Resource type `notify.sylphx.com/MaskedAlias`. */
|
|
3064
|
+
export declare class MaskedAliasesCollection {
|
|
3065
|
+
private readonly client;
|
|
3066
|
+
constructor(client: runtime.Client);
|
|
3067
|
+
/**
|
|
3068
|
+
* Gets a masked alias.
|
|
3069
|
+
*
|
|
3070
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/masked_aliases/*}` · permission `notify:read` · effect `read`
|
|
3071
|
+
*
|
|
3072
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`.
|
|
3073
|
+
*/
|
|
3074
|
+
get(request: GetMaskedAliasRequest): Promise<MaskedAlias>;
|
|
3075
|
+
/**
|
|
3076
|
+
* Lists the masked alias collection.
|
|
3077
|
+
*
|
|
3078
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/masked_aliases` · permission `notify:read` · effect `read`
|
|
3079
|
+
*
|
|
3080
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`.
|
|
3081
|
+
*/
|
|
3082
|
+
list(request: ListMaskedAliasesRequest): Promise<ListMaskedAliasesResponse>;
|
|
3083
|
+
/** Every item of every page of `list`. */
|
|
3084
|
+
listAll(request: ListMaskedAliasesRequest): AsyncGenerator<MaskedAlias>;
|
|
3085
|
+
/**
|
|
3086
|
+
* Creates a masked alias.
|
|
3087
|
+
*
|
|
3088
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/masked_aliases` · permission `notify:write` · effect `write`
|
|
3089
|
+
*
|
|
3090
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `FAILED_PRECONDITION`.
|
|
3091
|
+
*/
|
|
3092
|
+
create(request: CreateMaskedAliasRequest): Promise<MaskedAlias>;
|
|
3093
|
+
/**
|
|
3094
|
+
* Updates a masked alias.
|
|
3095
|
+
*
|
|
3096
|
+
* `PATCH /v1/{masked_alias.name=orgs/*\/projects/*\/envs/*\/masked_aliases/*}` · permission `notify:write` · effect `write`
|
|
3097
|
+
*
|
|
3098
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `ETAG_MISMATCH`, `FAILED_PRECONDITION`.
|
|
3099
|
+
*/
|
|
3100
|
+
update(request: UpdateMaskedAliasRequest): Promise<MaskedAlias>;
|
|
3101
|
+
}
|
|
3102
|
+
/** `app_passwords` of Sylphx Notify: Resource type `notify.sylphx.com/AppPassword`. */
|
|
3103
|
+
export declare class AppPasswordsCollection {
|
|
3104
|
+
private readonly client;
|
|
3105
|
+
constructor(client: runtime.Client);
|
|
3106
|
+
/**
|
|
3107
|
+
* Gets a app password.
|
|
3108
|
+
*
|
|
3109
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/mailboxes/*\/app_passwords/*}` · permission `notify:read` · effect `read`
|
|
3110
|
+
*
|
|
3111
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`.
|
|
3112
|
+
*/
|
|
3113
|
+
get(request: GetAppPasswordRequest): Promise<AppPassword>;
|
|
3114
|
+
/**
|
|
3115
|
+
* Lists the app password collection.
|
|
3116
|
+
*
|
|
3117
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/mailboxes/*}/app_passwords` · permission `notify:read` · effect `read`
|
|
3118
|
+
*
|
|
3119
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`.
|
|
3120
|
+
*/
|
|
3121
|
+
list(request: ListAppPasswordsRequest): Promise<ListAppPasswordsResponse>;
|
|
3122
|
+
/** Every item of every page of `list`. */
|
|
3123
|
+
listAll(request: ListAppPasswordsRequest): AsyncGenerator<AppPassword>;
|
|
3124
|
+
/**
|
|
3125
|
+
* Creates a app password.
|
|
3126
|
+
*
|
|
3127
|
+
* `POST /v1/{parent=orgs/*\/projects/*\/envs/*\/mailboxes/*}/app_passwords` · permission `notify:write` · effect `write`
|
|
3128
|
+
*
|
|
3129
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `FAILED_PRECONDITION`.
|
|
3130
|
+
*/
|
|
3131
|
+
create(request: CreateAppPasswordRequest): Promise<AppPassword>;
|
|
3132
|
+
/**
|
|
3133
|
+
* Deletes the app password.
|
|
3134
|
+
*
|
|
3135
|
+
* `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/mailboxes/*\/app_passwords/*}` · permission `notify:write` · effect `destructive`
|
|
3136
|
+
*
|
|
3137
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `ETAG_MISMATCH`.
|
|
3138
|
+
*/
|
|
3139
|
+
delete(request: DeleteAppPasswordRequest): Promise<Record<string, never>>;
|
|
3140
|
+
}
|
|
3141
|
+
/** `inbound_emails` of Sylphx Notify: Resource type `notify.sylphx.com/InboundEmail`. */
|
|
3142
|
+
export declare class InboundEmailsCollection {
|
|
3143
|
+
private readonly client;
|
|
3144
|
+
constructor(client: runtime.Client);
|
|
3145
|
+
/**
|
|
3146
|
+
* Returns the retained raw MIME of a message as base64 in JSON.
|
|
3147
|
+
* Erased or expired messages have no raw response.
|
|
3148
|
+
*
|
|
3149
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/mailboxes/*\/inbound_emails/*}:raw` · permission `notify:read` · effect `read`
|
|
3150
|
+
*
|
|
3151
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNAVAILABLE`.
|
|
3152
|
+
*/
|
|
3153
|
+
raw(request: GetInboundEmailRawRequest): Promise<GetInboundEmailRawResponse>;
|
|
3154
|
+
/**
|
|
3155
|
+
* Gets an inbound email.
|
|
3156
|
+
*
|
|
3157
|
+
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/mailboxes/*\/inbound_emails/*}` · permission `notify:read` · effect `read`
|
|
3158
|
+
*
|
|
3159
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
3160
|
+
*/
|
|
3161
|
+
get(request: GetInboundEmailRequest): Promise<InboundEmail>;
|
|
3162
|
+
/**
|
|
3163
|
+
* Lists a mailbox's inbound email in feed order, oldest first.
|
|
3164
|
+
*
|
|
3165
|
+
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/mailboxes/*}/inbound_emails` · permission `notify:read` · effect `read`
|
|
3166
|
+
*
|
|
3167
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
3168
|
+
*/
|
|
3169
|
+
list(request: ListInboundEmailsRequest): Promise<ListInboundEmailsResponse>;
|
|
3170
|
+
/** Every item of every page of `list`. */
|
|
3171
|
+
listAll(request: ListInboundEmailsRequest): AsyncGenerator<InboundEmail>;
|
|
3172
|
+
}
|
|
2838
3173
|
/** `mailbox_oauth_apps` of Sylphx Notify: Resource type `notify.sylphx.com/MailboxOauthApp`. */
|
|
2839
3174
|
export declare class MailboxOauthAppsCollection {
|
|
2840
3175
|
private readonly client;
|
|
@@ -2914,29 +3249,6 @@ export declare class MailboxConnectLinksCollection {
|
|
|
2914
3249
|
*/
|
|
2915
3250
|
create(request: CreateMailboxConnectLinkRequest): Promise<MailboxConnectLink>;
|
|
2916
3251
|
}
|
|
2917
|
-
/** `inbound_emails` of Sylphx Notify: Resource type `notify.sylphx.com/InboundEmail`. */
|
|
2918
|
-
export declare class InboundEmailsCollection {
|
|
2919
|
-
private readonly client;
|
|
2920
|
-
constructor(client: runtime.Client);
|
|
2921
|
-
/**
|
|
2922
|
-
* Gets an inbound email.
|
|
2923
|
-
*
|
|
2924
|
-
* `GET /v1/{name=orgs/*\/projects/*\/envs/*\/mailboxes/*\/inbound_emails/*}` · permission `notify:read` · effect `read`
|
|
2925
|
-
*
|
|
2926
|
-
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
2927
|
-
*/
|
|
2928
|
-
get(request: GetInboundEmailRequest): Promise<InboundEmail>;
|
|
2929
|
-
/**
|
|
2930
|
-
* Lists a mailbox's inbound email in feed order, oldest first.
|
|
2931
|
-
*
|
|
2932
|
-
* `GET /v1/{parent=orgs/*\/projects/*\/envs/*\/mailboxes/*}/inbound_emails` · permission `notify:read` · effect `read`
|
|
2933
|
-
*
|
|
2934
|
-
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
|
|
2935
|
-
*/
|
|
2936
|
-
list(request: ListInboundEmailsRequest): Promise<ListInboundEmailsResponse>;
|
|
2937
|
-
/** Every item of every page of `list`. */
|
|
2938
|
-
listAll(request: ListInboundEmailsRequest): AsyncGenerator<InboundEmail>;
|
|
2939
|
-
}
|
|
2940
3252
|
/** `inbox_items` of Sylphx Notify: Resource type `notify.sylphx.com/InboxItem`. */
|
|
2941
3253
|
export declare class InboxItemsCollection {
|
|
2942
3254
|
private readonly client;
|