samva 0.12.0 → 0.13.0
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/{categories-DvsHUJtX.js → categories-Bcwq5jPV.js} +5 -1
- package/dist/client/sdk.gen.d.ts +26 -15
- package/dist/client/types.gen.d.ts +206 -63
- package/dist/{client-Cj1bqIEe.js → client-DYPNDvVU.js} +212 -63
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +1 -1
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +0 -3
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +40 -8
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +1 -1
- package/dist/effect/email.js +2 -2
- package/dist/effect/extension-installations.d.ts +66 -0
- package/dist/effect/extension-installations.js +5 -3
- package/dist/effect/extensions.js +1 -1
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated-metadata.d.ts +4 -0
- package/dist/effect/generated.d.ts +964 -309
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +5 -4
- package/dist/effect/internal/client.d.ts +14 -0
- package/dist/effect/internal/operation.d.ts +5 -2
- package/dist/effect/mailboxes.d.ts +6 -6
- package/dist/effect/mailboxes.js +1 -1
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +2 -2
- package/dist/effect/messages.js +1 -1
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +1 -1
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +3 -2
- package/dist/inline-attachments-B56eS0MF.js +121 -0
- package/dist/inline-attachments.d.ts +65 -0
- package/dist/{mailboxes-BtcktcNB.js → mailboxes-D3Kx7elM.js} +3 -3
- package/dist/{operation-BEghYyLu.js → operation-B_Ty1LG-.js} +37 -3
- package/dist/promises/errors.gen.d.ts +14 -2
- package/dist/promises/index.d.ts +1 -0
- package/dist/promises/index.js +3 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-BzrwhHEW.js → promises-D9FJyU0q.js} +132 -14
- package/dist/service-map.d.ts +5 -0
- package/package.json +2 -2
- package/dist/client-attribution-BTWYSXxo.js +0 -9
|
@@ -94,6 +94,36 @@ export type ExtensionVersionRef = {
|
|
|
94
94
|
};
|
|
95
95
|
export type ExtensionVersionId = string;
|
|
96
96
|
export type ExtensionId = string;
|
|
97
|
+
export type UpgradeExtensionResponse = {
|
|
98
|
+
installation: ExtensionInstallation;
|
|
99
|
+
fromVersion: ExtensionVersionRef;
|
|
100
|
+
toVersion: ExtensionVersionRef;
|
|
101
|
+
permissionDiff: ExtensionPermissionDiff;
|
|
102
|
+
dryRun: boolean;
|
|
103
|
+
versionChange: ExtensionVersionChange | null;
|
|
104
|
+
};
|
|
105
|
+
export type ExtensionVersionChange = {
|
|
106
|
+
id: string;
|
|
107
|
+
organizationId: OrganizationId;
|
|
108
|
+
installationId: ExtensionInstallationId;
|
|
109
|
+
extensionId: ExtensionId;
|
|
110
|
+
fromVersion: ExtensionVersionRef;
|
|
111
|
+
toVersion: ExtensionVersionRef;
|
|
112
|
+
permissionDiff: ExtensionPermissionDiff;
|
|
113
|
+
changedBy: UserId;
|
|
114
|
+
changedAt: string;
|
|
115
|
+
};
|
|
116
|
+
export type UserId = string;
|
|
117
|
+
export type ExtensionPermissionDiff = {
|
|
118
|
+
added: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded">;
|
|
119
|
+
removed: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded">;
|
|
120
|
+
};
|
|
121
|
+
export type OrganizationId = string;
|
|
122
|
+
export type UpgradeExtensionPayload = {
|
|
123
|
+
version?: string | ExtensionVersionId | null | undefined;
|
|
124
|
+
acceptPermissions?: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded"> | null | undefined;
|
|
125
|
+
dryRun?: boolean | null | undefined;
|
|
126
|
+
};
|
|
97
127
|
export type SuccessResponse = {
|
|
98
128
|
success: boolean;
|
|
99
129
|
};
|
|
@@ -274,6 +304,17 @@ export type BillingProviderError = {
|
|
|
274
304
|
_tag: "BillingProviderError";
|
|
275
305
|
message: string;
|
|
276
306
|
};
|
|
307
|
+
export type SenderNotReadyError = {
|
|
308
|
+
_tag: "SenderNotReadyError";
|
|
309
|
+
message: string;
|
|
310
|
+
sender: string;
|
|
311
|
+
retryAfterSeconds?: number | null | undefined;
|
|
312
|
+
};
|
|
313
|
+
export type RateLimitedError = {
|
|
314
|
+
_tag: "RateLimitedError";
|
|
315
|
+
message: string;
|
|
316
|
+
retryAfterSeconds: number;
|
|
317
|
+
};
|
|
277
318
|
export type PaymentRequiredError = {
|
|
278
319
|
_tag: "PaymentRequiredError";
|
|
279
320
|
message: string;
|
|
@@ -281,6 +322,15 @@ export type PaymentRequiredError = {
|
|
|
281
322
|
currentUsage: number;
|
|
282
323
|
limit: number;
|
|
283
324
|
};
|
|
325
|
+
export type OnboardingReviewRequiredError = {
|
|
326
|
+
_tag: "OnboardingReviewRequiredError";
|
|
327
|
+
message: string;
|
|
328
|
+
code: "review_required" | "review_in_progress" | "information_required" | "review_rejected" | "identity_review_required" | "identity_review_rejected" | "identity_changed";
|
|
329
|
+
decision: "undecided" | "approved" | "rejected";
|
|
330
|
+
stage: "collecting" | "automated_review" | "manual_review" | "information_requested" | "complete";
|
|
331
|
+
nextAction: "wait_for_review" | "provide_information" | "verify_sending_identity" | "reapply" | "contact_support";
|
|
332
|
+
identityId?: string | null | undefined;
|
|
333
|
+
};
|
|
284
334
|
export type MailboxActionPage = {
|
|
285
335
|
items: Array<MailboxAction>;
|
|
286
336
|
nextCursor: string | null;
|
|
@@ -668,7 +718,6 @@ export type CreateMailboxGrantPayload = {
|
|
|
668
718
|
role: MailboxGrantRole;
|
|
669
719
|
sendMode?: MailboxSendMode | null | undefined;
|
|
670
720
|
};
|
|
671
|
-
export type UserId = string;
|
|
672
721
|
export type MailboxGrantPage = {
|
|
673
722
|
items: Array<MailboxGrant>;
|
|
674
723
|
nextCursor: string | null;
|
|
@@ -871,11 +920,6 @@ export type ApiKeyPage = {
|
|
|
871
920
|
items: Array<ApiKey>;
|
|
872
921
|
nextCursor: string | null;
|
|
873
922
|
};
|
|
874
|
-
export type RateLimitedError = {
|
|
875
|
-
_tag: "RateLimitedError";
|
|
876
|
-
message: string;
|
|
877
|
-
retryAfterSeconds: number;
|
|
878
|
-
};
|
|
879
923
|
export type OperationAccepted = {
|
|
880
924
|
operation: Operation;
|
|
881
925
|
links: {
|
|
@@ -1124,7 +1168,6 @@ export type CreateBrand = {
|
|
|
1124
1168
|
export type BrandList = {
|
|
1125
1169
|
items: Array<Brand>;
|
|
1126
1170
|
};
|
|
1127
|
-
export type OrganizationId = string;
|
|
1128
1171
|
export type TemplateProjectId = string;
|
|
1129
1172
|
export type TemplateId = string;
|
|
1130
1173
|
export type TemplateInputContractId = string;
|
|
@@ -1407,25 +1450,6 @@ export type BulkUpdateResult = {
|
|
|
1407
1450
|
updated: number;
|
|
1408
1451
|
failed: number;
|
|
1409
1452
|
};
|
|
1410
|
-
export type UnknownRecord = {
|
|
1411
|
-
[key: string]: JsonValue;
|
|
1412
|
-
};
|
|
1413
|
-
export type Contact = {
|
|
1414
|
-
id: ContactId;
|
|
1415
|
-
name: string;
|
|
1416
|
-
displayName: string | null;
|
|
1417
|
-
avatar: string | null;
|
|
1418
|
-
status: "active" | "paused" | "blocked" | "archived";
|
|
1419
|
-
statusReason: string | null;
|
|
1420
|
-
externalId: string | null;
|
|
1421
|
-
identities: Array<ContactIdentity>;
|
|
1422
|
-
profile: ContactProfile | null;
|
|
1423
|
-
preferences: ContactPreferences | null;
|
|
1424
|
-
tags: Array<string>;
|
|
1425
|
-
metadata: JsonObject | null;
|
|
1426
|
-
createdAt: string;
|
|
1427
|
-
updatedAt: string;
|
|
1428
|
-
};
|
|
1429
1453
|
export type JsonObject = {
|
|
1430
1454
|
[key: string]: JsonValue;
|
|
1431
1455
|
};
|
|
@@ -1459,14 +1483,30 @@ export type ContactLocation = {
|
|
|
1459
1483
|
city: string;
|
|
1460
1484
|
timezone: string;
|
|
1461
1485
|
};
|
|
1462
|
-
export type ContactTags = {
|
|
1463
|
-
tags: [string, ...Array<string>];
|
|
1464
|
-
};
|
|
1465
1486
|
export type ContactIdentityInput = {
|
|
1466
1487
|
channel: "email";
|
|
1467
1488
|
identifier: string;
|
|
1468
1489
|
verified?: boolean | null | undefined;
|
|
1469
1490
|
};
|
|
1491
|
+
export type Contact = {
|
|
1492
|
+
id: ContactId;
|
|
1493
|
+
name: string;
|
|
1494
|
+
displayName: string | null;
|
|
1495
|
+
avatar: string | null;
|
|
1496
|
+
status: "active" | "paused" | "blocked" | "archived";
|
|
1497
|
+
statusReason: string | null;
|
|
1498
|
+
externalId: string | null;
|
|
1499
|
+
identities: Array<ContactIdentity>;
|
|
1500
|
+
profile: ContactProfile | null;
|
|
1501
|
+
preferences: ContactPreferences | null;
|
|
1502
|
+
tags: Array<string>;
|
|
1503
|
+
metadata: JsonObject | null;
|
|
1504
|
+
createdAt: string;
|
|
1505
|
+
updatedAt: string;
|
|
1506
|
+
};
|
|
1507
|
+
export type ContactTags = {
|
|
1508
|
+
tags: [string, ...Array<string>];
|
|
1509
|
+
};
|
|
1470
1510
|
export type ContactProfileUpdate = {
|
|
1471
1511
|
firstName?: string | null | null | undefined;
|
|
1472
1512
|
lastName?: string | null | null | undefined;
|
|
@@ -1549,6 +1589,9 @@ export type ConversationContext = {
|
|
|
1549
1589
|
workflowData?: UnknownRecord | null | undefined;
|
|
1550
1590
|
} | null | undefined;
|
|
1551
1591
|
};
|
|
1592
|
+
export type UnknownRecord = {
|
|
1593
|
+
[key: string]: JsonValue;
|
|
1594
|
+
};
|
|
1552
1595
|
export type ConversationContacts = {
|
|
1553
1596
|
contactIds: [ContactId, ...Array<ContactId>];
|
|
1554
1597
|
};
|
|
@@ -2479,15 +2522,6 @@ export type DeliveryUnavailableError = {
|
|
|
2479
2522
|
message: string;
|
|
2480
2523
|
retryAfterSeconds: number;
|
|
2481
2524
|
};
|
|
2482
|
-
export type OnboardingReviewRequiredError = {
|
|
2483
|
-
_tag: "OnboardingReviewRequiredError";
|
|
2484
|
-
message: string;
|
|
2485
|
-
code: "review_required" | "review_in_progress" | "information_required" | "review_rejected" | "identity_review_required" | "identity_review_rejected" | "identity_changed";
|
|
2486
|
-
decision: "undecided" | "approved" | "rejected";
|
|
2487
|
-
stage: "collecting" | "automated_review" | "manual_review" | "information_requested" | "complete";
|
|
2488
|
-
nextAction: "wait_for_review" | "provide_information" | "verify_sending_identity" | "reapply" | "contact_support";
|
|
2489
|
-
identityId?: string | null | undefined;
|
|
2490
|
-
};
|
|
2491
2525
|
export type MessageReceipt = {
|
|
2492
2526
|
id: MessageId;
|
|
2493
2527
|
status: "pending" | "scheduled" | "queued" | "processing" | "sent" | "delivered" | "read" | "failed" | "bounced" | "complained";
|
|
@@ -2708,9 +2742,9 @@ export type MessagesSendErrors = {
|
|
|
2708
2742
|
*/
|
|
2709
2743
|
502: BillingProviderError | ExternalServiceError;
|
|
2710
2744
|
/**
|
|
2711
|
-
* DeliveryUnavailableError
|
|
2745
|
+
* SenderNotReadyError | DeliveryUnavailableError
|
|
2712
2746
|
*/
|
|
2713
|
-
503: DeliveryUnavailableError;
|
|
2747
|
+
503: SenderNotReadyError | DeliveryUnavailableError;
|
|
2714
2748
|
/**
|
|
2715
2749
|
* GatewayTimeoutError
|
|
2716
2750
|
*/
|
|
@@ -3062,6 +3096,10 @@ export type MessagesValidateEmailErrors = {
|
|
|
3062
3096
|
* InternalError
|
|
3063
3097
|
*/
|
|
3064
3098
|
500: InternalError;
|
|
3099
|
+
/**
|
|
3100
|
+
* SenderNotReadyError
|
|
3101
|
+
*/
|
|
3102
|
+
503: SenderNotReadyError;
|
|
3065
3103
|
/**
|
|
3066
3104
|
* GatewayTimeoutError
|
|
3067
3105
|
*/
|
|
@@ -3518,6 +3556,10 @@ export type ScheduledMessagesResumeErrors = {
|
|
|
3518
3556
|
* ExternalServiceError
|
|
3519
3557
|
*/
|
|
3520
3558
|
502: ExternalServiceError;
|
|
3559
|
+
/**
|
|
3560
|
+
* SenderNotReadyError
|
|
3561
|
+
*/
|
|
3562
|
+
503: SenderNotReadyError;
|
|
3521
3563
|
/**
|
|
3522
3564
|
* GatewayTimeoutError
|
|
3523
3565
|
*/
|
|
@@ -3838,6 +3880,10 @@ export type CampaignsScheduleRunErrors = {
|
|
|
3838
3880
|
* ExternalServiceError
|
|
3839
3881
|
*/
|
|
3840
3882
|
502: ExternalServiceError;
|
|
3883
|
+
/**
|
|
3884
|
+
* SenderNotReadyError
|
|
3885
|
+
*/
|
|
3886
|
+
503: SenderNotReadyError;
|
|
3841
3887
|
/**
|
|
3842
3888
|
* GatewayTimeoutError
|
|
3843
3889
|
*/
|
|
@@ -8662,16 +8708,18 @@ export type ContactsBulkImportData = {
|
|
|
8662
8708
|
body: {
|
|
8663
8709
|
contacts: Array<{
|
|
8664
8710
|
name: string;
|
|
8665
|
-
|
|
8666
|
-
|
|
8711
|
+
displayName?: string | null | null | undefined;
|
|
8712
|
+
avatar?: string | null | null | undefined;
|
|
8713
|
+
identities?: Array<ContactIdentityInput> | null | undefined;
|
|
8714
|
+
profile?: ContactProfile | null | null | undefined;
|
|
8715
|
+
preferences?: ContactPreferences | null | null | undefined;
|
|
8667
8716
|
tags?: Array<string> | null | undefined;
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
customFields?: UnknownRecord | null | undefined;
|
|
8717
|
+
status?: "active" | "paused" | "blocked" | "archived" | null | undefined;
|
|
8718
|
+
statusReason?: string | null | null | undefined;
|
|
8719
|
+
externalId?: string | null | null | undefined;
|
|
8720
|
+
metadata?: JsonObject | null | null | undefined;
|
|
8673
8721
|
}>;
|
|
8674
|
-
|
|
8722
|
+
onConflict?: "skip" | "update" | null | undefined;
|
|
8675
8723
|
};
|
|
8676
8724
|
path?: never;
|
|
8677
8725
|
query?: never;
|
|
@@ -9473,8 +9521,6 @@ export type ContactGroupsEvaluateDynamicResponse = ContactGroupsEvaluateDynamicR
|
|
|
9473
9521
|
export type ContactGroupsPreviewData = {
|
|
9474
9522
|
body: {
|
|
9475
9523
|
criteria: {
|
|
9476
|
-
contactTypes?: Array<string> | null | undefined;
|
|
9477
|
-
capabilities?: Array<string> | null | undefined;
|
|
9478
9524
|
tags?: Array<string> | null | undefined;
|
|
9479
9525
|
channels?: Array<string> | null | undefined;
|
|
9480
9526
|
match?: "all" | "any" | null | undefined;
|
|
@@ -9521,7 +9567,6 @@ export type ContactGroupsPreviewResponses = {
|
|
|
9521
9567
|
sample: Array<{
|
|
9522
9568
|
id: ContactId;
|
|
9523
9569
|
name: string;
|
|
9524
|
-
type: string;
|
|
9525
9570
|
status: string;
|
|
9526
9571
|
}>;
|
|
9527
9572
|
};
|
|
@@ -16006,9 +16051,9 @@ export type MailboxesSendMessageErrors = {
|
|
|
16006
16051
|
*/
|
|
16007
16052
|
402: PaymentRequiredError;
|
|
16008
16053
|
/**
|
|
16009
|
-
* ForbiddenError
|
|
16054
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16010
16055
|
*/
|
|
16011
|
-
403: ForbiddenError;
|
|
16056
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16012
16057
|
/**
|
|
16013
16058
|
* ResourceNotFoundError
|
|
16014
16059
|
*/
|
|
@@ -16021,6 +16066,10 @@ export type MailboxesSendMessageErrors = {
|
|
|
16021
16066
|
* ValidationError
|
|
16022
16067
|
*/
|
|
16023
16068
|
422: ValidationError;
|
|
16069
|
+
/**
|
|
16070
|
+
* RateLimitedError
|
|
16071
|
+
*/
|
|
16072
|
+
429: RateLimitedError;
|
|
16024
16073
|
/**
|
|
16025
16074
|
* InternalError
|
|
16026
16075
|
*/
|
|
@@ -16029,6 +16078,10 @@ export type MailboxesSendMessageErrors = {
|
|
|
16029
16078
|
* BillingProviderError
|
|
16030
16079
|
*/
|
|
16031
16080
|
502: BillingProviderError;
|
|
16081
|
+
/**
|
|
16082
|
+
* SenderNotReadyError
|
|
16083
|
+
*/
|
|
16084
|
+
503: SenderNotReadyError;
|
|
16032
16085
|
/**
|
|
16033
16086
|
* GatewayTimeoutError
|
|
16034
16087
|
*/
|
|
@@ -16200,9 +16253,9 @@ export type MailboxesReplyErrors = {
|
|
|
16200
16253
|
*/
|
|
16201
16254
|
402: PaymentRequiredError;
|
|
16202
16255
|
/**
|
|
16203
|
-
* ForbiddenError
|
|
16256
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16204
16257
|
*/
|
|
16205
|
-
403: ForbiddenError;
|
|
16258
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16206
16259
|
/**
|
|
16207
16260
|
* ResourceNotFoundError
|
|
16208
16261
|
*/
|
|
@@ -16215,6 +16268,10 @@ export type MailboxesReplyErrors = {
|
|
|
16215
16268
|
* ValidationError
|
|
16216
16269
|
*/
|
|
16217
16270
|
422: ValidationError;
|
|
16271
|
+
/**
|
|
16272
|
+
* RateLimitedError
|
|
16273
|
+
*/
|
|
16274
|
+
429: RateLimitedError;
|
|
16218
16275
|
/**
|
|
16219
16276
|
* InternalError
|
|
16220
16277
|
*/
|
|
@@ -16223,6 +16280,10 @@ export type MailboxesReplyErrors = {
|
|
|
16223
16280
|
* BillingProviderError
|
|
16224
16281
|
*/
|
|
16225
16282
|
502: BillingProviderError;
|
|
16283
|
+
/**
|
|
16284
|
+
* SenderNotReadyError
|
|
16285
|
+
*/
|
|
16286
|
+
503: SenderNotReadyError;
|
|
16226
16287
|
/**
|
|
16227
16288
|
* GatewayTimeoutError
|
|
16228
16289
|
*/
|
|
@@ -16264,9 +16325,9 @@ export type MailboxesReplyAllErrors = {
|
|
|
16264
16325
|
*/
|
|
16265
16326
|
402: PaymentRequiredError;
|
|
16266
16327
|
/**
|
|
16267
|
-
* ForbiddenError
|
|
16328
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16268
16329
|
*/
|
|
16269
|
-
403: ForbiddenError;
|
|
16330
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16270
16331
|
/**
|
|
16271
16332
|
* ResourceNotFoundError
|
|
16272
16333
|
*/
|
|
@@ -16279,6 +16340,10 @@ export type MailboxesReplyAllErrors = {
|
|
|
16279
16340
|
* ValidationError
|
|
16280
16341
|
*/
|
|
16281
16342
|
422: ValidationError;
|
|
16343
|
+
/**
|
|
16344
|
+
* RateLimitedError
|
|
16345
|
+
*/
|
|
16346
|
+
429: RateLimitedError;
|
|
16282
16347
|
/**
|
|
16283
16348
|
* InternalError
|
|
16284
16349
|
*/
|
|
@@ -16287,6 +16352,10 @@ export type MailboxesReplyAllErrors = {
|
|
|
16287
16352
|
* BillingProviderError
|
|
16288
16353
|
*/
|
|
16289
16354
|
502: BillingProviderError;
|
|
16355
|
+
/**
|
|
16356
|
+
* SenderNotReadyError
|
|
16357
|
+
*/
|
|
16358
|
+
503: SenderNotReadyError;
|
|
16290
16359
|
/**
|
|
16291
16360
|
* GatewayTimeoutError
|
|
16292
16361
|
*/
|
|
@@ -16329,9 +16398,9 @@ export type MailboxesForwardErrors = {
|
|
|
16329
16398
|
*/
|
|
16330
16399
|
402: PaymentRequiredError;
|
|
16331
16400
|
/**
|
|
16332
|
-
* ForbiddenError
|
|
16401
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16333
16402
|
*/
|
|
16334
|
-
403: ForbiddenError;
|
|
16403
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16335
16404
|
/**
|
|
16336
16405
|
* ResourceNotFoundError
|
|
16337
16406
|
*/
|
|
@@ -16344,6 +16413,10 @@ export type MailboxesForwardErrors = {
|
|
|
16344
16413
|
* ValidationError
|
|
16345
16414
|
*/
|
|
16346
16415
|
422: ValidationError;
|
|
16416
|
+
/**
|
|
16417
|
+
* RateLimitedError
|
|
16418
|
+
*/
|
|
16419
|
+
429: RateLimitedError;
|
|
16347
16420
|
/**
|
|
16348
16421
|
* InternalError
|
|
16349
16422
|
*/
|
|
@@ -16352,6 +16425,10 @@ export type MailboxesForwardErrors = {
|
|
|
16352
16425
|
* BillingProviderError
|
|
16353
16426
|
*/
|
|
16354
16427
|
502: BillingProviderError;
|
|
16428
|
+
/**
|
|
16429
|
+
* SenderNotReadyError
|
|
16430
|
+
*/
|
|
16431
|
+
503: SenderNotReadyError;
|
|
16355
16432
|
/**
|
|
16356
16433
|
* GatewayTimeoutError
|
|
16357
16434
|
*/
|
|
@@ -16772,9 +16849,9 @@ export type MailboxesSendDraftErrors = {
|
|
|
16772
16849
|
*/
|
|
16773
16850
|
402: PaymentRequiredError;
|
|
16774
16851
|
/**
|
|
16775
|
-
* ForbiddenError
|
|
16852
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16776
16853
|
*/
|
|
16777
|
-
403: ForbiddenError;
|
|
16854
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16778
16855
|
/**
|
|
16779
16856
|
* ResourceNotFoundError
|
|
16780
16857
|
*/
|
|
@@ -16787,6 +16864,10 @@ export type MailboxesSendDraftErrors = {
|
|
|
16787
16864
|
* ValidationError
|
|
16788
16865
|
*/
|
|
16789
16866
|
422: ValidationError;
|
|
16867
|
+
/**
|
|
16868
|
+
* RateLimitedError
|
|
16869
|
+
*/
|
|
16870
|
+
429: RateLimitedError;
|
|
16790
16871
|
/**
|
|
16791
16872
|
* InternalError
|
|
16792
16873
|
*/
|
|
@@ -16795,6 +16876,10 @@ export type MailboxesSendDraftErrors = {
|
|
|
16795
16876
|
* BillingProviderError
|
|
16796
16877
|
*/
|
|
16797
16878
|
502: BillingProviderError;
|
|
16879
|
+
/**
|
|
16880
|
+
* SenderNotReadyError
|
|
16881
|
+
*/
|
|
16882
|
+
503: SenderNotReadyError;
|
|
16798
16883
|
/**
|
|
16799
16884
|
* GatewayTimeoutError
|
|
16800
16885
|
*/
|
|
@@ -16875,9 +16960,9 @@ export type MailboxesApproveActionErrors = {
|
|
|
16875
16960
|
*/
|
|
16876
16961
|
402: PaymentRequiredError;
|
|
16877
16962
|
/**
|
|
16878
|
-
* ForbiddenError
|
|
16963
|
+
* ForbiddenError | OnboardingReviewRequiredError
|
|
16879
16964
|
*/
|
|
16880
|
-
403: ForbiddenError;
|
|
16965
|
+
403: ForbiddenError | OnboardingReviewRequiredError;
|
|
16881
16966
|
/**
|
|
16882
16967
|
* ResourceNotFoundError
|
|
16883
16968
|
*/
|
|
@@ -16890,6 +16975,10 @@ export type MailboxesApproveActionErrors = {
|
|
|
16890
16975
|
* ValidationError
|
|
16891
16976
|
*/
|
|
16892
16977
|
422: ValidationError;
|
|
16978
|
+
/**
|
|
16979
|
+
* RateLimitedError
|
|
16980
|
+
*/
|
|
16981
|
+
429: RateLimitedError;
|
|
16893
16982
|
/**
|
|
16894
16983
|
* InternalError
|
|
16895
16984
|
*/
|
|
@@ -16898,6 +16987,10 @@ export type MailboxesApproveActionErrors = {
|
|
|
16898
16987
|
* BillingProviderError
|
|
16899
16988
|
*/
|
|
16900
16989
|
502: BillingProviderError;
|
|
16990
|
+
/**
|
|
16991
|
+
* SenderNotReadyError
|
|
16992
|
+
*/
|
|
16993
|
+
503: SenderNotReadyError;
|
|
16901
16994
|
/**
|
|
16902
16995
|
* GatewayTimeoutError
|
|
16903
16996
|
*/
|
|
@@ -17657,6 +17750,56 @@ export type ExtensionInstallationsGetResponses = {
|
|
|
17657
17750
|
200: ExtensionInstallation;
|
|
17658
17751
|
};
|
|
17659
17752
|
export type ExtensionInstallationsGetResponse = ExtensionInstallationsGetResponses[keyof ExtensionInstallationsGetResponses];
|
|
17753
|
+
export type ExtensionInstallationsUpgradeData = {
|
|
17754
|
+
body: {
|
|
17755
|
+
version?: string | ExtensionVersionId | null | undefined;
|
|
17756
|
+
acceptPermissions?: Array<"permission:read" | "permission:update" | "permission:send" | "permission:quarantine.read" | "event:mailbox.message.received" | "event:mailbox.message.sent" | "event:mailbox.action.pending_approval" | "event:mailbox.message.quarantined" | "event:mailbox.message.released" | "event:mailbox.message.discarded"> | null | undefined;
|
|
17757
|
+
dryRun?: boolean | null | undefined;
|
|
17758
|
+
};
|
|
17759
|
+
path: {
|
|
17760
|
+
id: ExtensionInstallationId;
|
|
17761
|
+
};
|
|
17762
|
+
query?: never;
|
|
17763
|
+
url: "/v1/extension-installations/{id}/upgrade";
|
|
17764
|
+
};
|
|
17765
|
+
export type ExtensionInstallationsUpgradeErrors = {
|
|
17766
|
+
/**
|
|
17767
|
+
* UnauthorizedError
|
|
17768
|
+
*/
|
|
17769
|
+
401: UnauthorizedError;
|
|
17770
|
+
/**
|
|
17771
|
+
* ForbiddenError
|
|
17772
|
+
*/
|
|
17773
|
+
403: ForbiddenError;
|
|
17774
|
+
/**
|
|
17775
|
+
* ResourceNotFoundError
|
|
17776
|
+
*/
|
|
17777
|
+
404: ResourceNotFoundError;
|
|
17778
|
+
/**
|
|
17779
|
+
* ConflictError
|
|
17780
|
+
*/
|
|
17781
|
+
409: ConflictError;
|
|
17782
|
+
/**
|
|
17783
|
+
* ValidationError
|
|
17784
|
+
*/
|
|
17785
|
+
422: ValidationError;
|
|
17786
|
+
/**
|
|
17787
|
+
* InternalError
|
|
17788
|
+
*/
|
|
17789
|
+
500: InternalError;
|
|
17790
|
+
/**
|
|
17791
|
+
* GatewayTimeoutError
|
|
17792
|
+
*/
|
|
17793
|
+
504: GatewayTimeoutError;
|
|
17794
|
+
};
|
|
17795
|
+
export type ExtensionInstallationsUpgradeError = ExtensionInstallationsUpgradeErrors[keyof ExtensionInstallationsUpgradeErrors];
|
|
17796
|
+
export type ExtensionInstallationsUpgradeResponses = {
|
|
17797
|
+
/**
|
|
17798
|
+
* UpgradeExtensionResponse
|
|
17799
|
+
*/
|
|
17800
|
+
200: UpgradeExtensionResponse;
|
|
17801
|
+
};
|
|
17802
|
+
export type ExtensionInstallationsUpgradeResponse = ExtensionInstallationsUpgradeResponses[keyof ExtensionInstallationsUpgradeResponses];
|
|
17660
17803
|
export type ExtensionInstallationsDisableData = {
|
|
17661
17804
|
body?: never;
|
|
17662
17805
|
path: {
|