samva 0.49.0 → 0.50.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/client/sdk.gen.d.ts +51 -7
- package/dist/client/sdk.gen.js +152 -7
- package/dist/client/types.gen.d.ts +248 -21
- package/dist/effect/descriptors/mailboxes.d.ts +41 -1
- package/dist/effect/descriptors/mailboxes.js +53 -1
- package/dist/effect/generated/mailboxes.d.ts +780 -77
- package/dist/effect/generated/mailboxes.js +129 -6
- package/dist/effect/generated/shared.d.ts +27 -31
- package/dist/effect/generated/shared.js +10 -18
- package/dist/effect/generated/template-registrations.d.ts +6 -6
- package/dist/effect/generated/template-registrations.js +3 -3
- package/dist/effect/generated-metadata.d.ts +24 -0
- package/dist/effect/generated-metadata.js +4 -0
- package/dist/effect/mailboxes.d.ts +26 -2
- package/dist/effect/mailboxes.js +10 -2
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +22 -2
- package/package.json +3 -3
|
@@ -1724,6 +1724,19 @@ const MailboxesGetImport404 = ResourceNotFoundError;
|
|
|
1724
1724
|
const MailboxesGetImport422 = ValidationError;
|
|
1725
1725
|
const MailboxesGetImport500 = InternalError;
|
|
1726
1726
|
const MailboxesGetImport504 = GatewayTimeoutError;
|
|
1727
|
+
const MailboxesDiscardImportPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1728
|
+
id: MailboxId,
|
|
1729
|
+
importId: Schema.String
|
|
1730
|
+
}))();
|
|
1731
|
+
const MailboxesDiscardImport200 = SuccessResponse;
|
|
1732
|
+
const MailboxesDiscardImport400 = MalformedRequestError;
|
|
1733
|
+
const MailboxesDiscardImport401 = UnauthorizedError;
|
|
1734
|
+
const MailboxesDiscardImport403 = ForbiddenError;
|
|
1735
|
+
const MailboxesDiscardImport404 = ResourceNotFoundError;
|
|
1736
|
+
const MailboxesDiscardImport409 = ConflictError;
|
|
1737
|
+
const MailboxesDiscardImport422 = ValidationError;
|
|
1738
|
+
const MailboxesDiscardImport500 = InternalError;
|
|
1739
|
+
const MailboxesDiscardImport504 = GatewayTimeoutError;
|
|
1727
1740
|
const MailboxesStartImportPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1728
1741
|
id: MailboxId,
|
|
1729
1742
|
importId: Schema.String
|
|
@@ -1737,11 +1750,62 @@ const MailboxesStartImport409 = ConflictError;
|
|
|
1737
1750
|
const MailboxesStartImport422 = ValidationError;
|
|
1738
1751
|
const MailboxesStartImport500 = InternalError;
|
|
1739
1752
|
const MailboxesStartImport504 = GatewayTimeoutError;
|
|
1753
|
+
const MailboxesDiscardImportUploadPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1754
|
+
id: MailboxId,
|
|
1755
|
+
importId: Schema.String,
|
|
1756
|
+
archiveId: Schema.String.annotate({ format: "uuid" }).check(Schema.isPattern(new globalThis.RegExp("^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$", "u")).annotate({ expected: "a string matching the RegExp ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$" }))
|
|
1757
|
+
}))();
|
|
1758
|
+
const MailboxesDiscardImportUpload200 = SuccessResponse;
|
|
1759
|
+
const MailboxesDiscardImportUpload400 = MalformedRequestError;
|
|
1760
|
+
const MailboxesDiscardImportUpload401 = UnauthorizedError;
|
|
1761
|
+
const MailboxesDiscardImportUpload403 = ForbiddenError;
|
|
1762
|
+
const MailboxesDiscardImportUpload404 = ResourceNotFoundError;
|
|
1763
|
+
const MailboxesDiscardImportUpload409 = ConflictError;
|
|
1764
|
+
const MailboxesDiscardImportUpload422 = ValidationError;
|
|
1765
|
+
const MailboxesDiscardImportUpload500 = InternalError;
|
|
1766
|
+
const MailboxesDiscardImportUpload504 = GatewayTimeoutError;
|
|
1767
|
+
const MailboxesCompleteImportUploadPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1768
|
+
id: MailboxId,
|
|
1769
|
+
importId: Schema.String,
|
|
1770
|
+
archiveId: Schema.String.annotate({ format: "uuid" }).check(Schema.isPattern(new globalThis.RegExp("^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$", "u")).annotate({ expected: "a string matching the RegExp ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$" }))
|
|
1771
|
+
}))();
|
|
1772
|
+
const MailboxesCompleteImportUploadRequestJson = /* @__PURE__ */ (() => Schema.Struct({ parts: Schema.Array(Schema.Struct({
|
|
1773
|
+
partNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(1024).annotate({ expected: "a value less than or equal to 1024" })),
|
|
1774
|
+
etag: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1775
|
+
})).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })) }))();
|
|
1776
|
+
const MailboxesCompleteImportUpload200 = SuccessResponse;
|
|
1777
|
+
const MailboxesCompleteImportUpload400 = MalformedRequestError;
|
|
1778
|
+
const MailboxesCompleteImportUpload401 = UnauthorizedError;
|
|
1779
|
+
const MailboxesCompleteImportUpload403 = ForbiddenError;
|
|
1780
|
+
const MailboxesCompleteImportUpload404 = ResourceNotFoundError;
|
|
1781
|
+
const MailboxesCompleteImportUpload409 = ConflictError;
|
|
1782
|
+
const MailboxesCompleteImportUpload422 = ValidationError;
|
|
1783
|
+
const MailboxesCompleteImportUpload500 = InternalError;
|
|
1784
|
+
const MailboxesCompleteImportUpload504 = GatewayTimeoutError;
|
|
1785
|
+
const MailboxesSignImportUploadPartsPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1786
|
+
id: MailboxId,
|
|
1787
|
+
importId: Schema.String,
|
|
1788
|
+
archiveId: Schema.String.annotate({ format: "uuid" }).check(Schema.isPattern(new globalThis.RegExp("^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$", "u")).annotate({ expected: "a string matching the RegExp ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$" }))
|
|
1789
|
+
}))();
|
|
1790
|
+
const MailboxesSignImportUploadPartsRequestJson = /* @__PURE__ */ (() => Schema.Struct({ partNumbers: Schema.Array(Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(1024).annotate({ expected: "a value less than or equal to 1024" }))).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(16).annotate({ expected: "a value with a length of at most 16" })) }))();
|
|
1791
|
+
const MailboxesSignImportUploadParts200 = /* @__PURE__ */ (() => Schema.Struct({ parts: Schema.Array(Schema.Struct({
|
|
1792
|
+
partNumber: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(1024).annotate({ expected: "a value less than or equal to 1024" })),
|
|
1793
|
+
sizeBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })),
|
|
1794
|
+
uploadUrl: SensitiveString
|
|
1795
|
+
})) }))();
|
|
1796
|
+
const MailboxesSignImportUploadParts400 = MalformedRequestError;
|
|
1797
|
+
const MailboxesSignImportUploadParts401 = UnauthorizedError;
|
|
1798
|
+
const MailboxesSignImportUploadParts403 = ForbiddenError;
|
|
1799
|
+
const MailboxesSignImportUploadParts404 = ResourceNotFoundError;
|
|
1800
|
+
const MailboxesSignImportUploadParts409 = ConflictError;
|
|
1801
|
+
const MailboxesSignImportUploadParts422 = ValidationError;
|
|
1802
|
+
const MailboxesSignImportUploadParts500 = InternalError;
|
|
1803
|
+
const MailboxesSignImportUploadParts504 = GatewayTimeoutError;
|
|
1740
1804
|
const MailboxesCreateImportUploadPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1741
1805
|
const MailboxesCreateImportUploadRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1742
1806
|
importId: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
1743
1807
|
filename: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1744
|
-
sizeBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(
|
|
1808
|
+
sizeBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(68719476736).annotate({ expected: "a value less than or equal to 68719476736" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })),
|
|
1745
1809
|
format: Schema.Union([
|
|
1746
1810
|
Schema.Literal("gmail"),
|
|
1747
1811
|
Schema.Literal("apple"),
|
|
@@ -1751,15 +1815,18 @@ const MailboxesCreateImportUploadRequestJson = /* @__PURE__ */ (() => Schema.Str
|
|
|
1751
1815
|
}))();
|
|
1752
1816
|
const MailboxesCreateImportUpload200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1753
1817
|
id: Schema.String,
|
|
1754
|
-
|
|
1818
|
+
archiveId: Schema.String,
|
|
1819
|
+
partSizeBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" }))
|
|
1755
1820
|
}))();
|
|
1756
1821
|
const MailboxesCreateImportUpload400 = MalformedRequestError;
|
|
1757
1822
|
const MailboxesCreateImportUpload401 = UnauthorizedError;
|
|
1823
|
+
const MailboxesCreateImportUpload402 = PaymentRequiredError;
|
|
1758
1824
|
const MailboxesCreateImportUpload403 = ForbiddenError;
|
|
1759
1825
|
const MailboxesCreateImportUpload404 = ResourceNotFoundError;
|
|
1760
1826
|
const MailboxesCreateImportUpload409 = ConflictError;
|
|
1761
1827
|
const MailboxesCreateImportUpload422 = ValidationError;
|
|
1762
1828
|
const MailboxesCreateImportUpload500 = InternalError;
|
|
1829
|
+
const MailboxesCreateImportUpload502 = BillingProviderError;
|
|
1763
1830
|
const MailboxesCreateImportUpload504 = GatewayTimeoutError;
|
|
1764
1831
|
const MailboxesListLabelsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1765
1832
|
const MailboxesListLabels200 = MailboxLabelList;
|
|
@@ -2944,7 +3011,20 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2944
3011
|
MailboxesGetImport500,
|
|
2945
3012
|
MailboxesGetImport504.pipe(HttpApiSchema.status(504))
|
|
2946
3013
|
]
|
|
2947
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getImport").annotate(OpenApi.Summary, "Read mail history import progress").annotate(OpenApi.Description, "Returns import status, counts, and bounded failure reasons."), HttpApiEndpoint.
|
|
3014
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getImport").annotate(OpenApi.Summary, "Read mail history import progress").annotate(OpenApi.Description, "Returns import status, counts, and bounded failure reasons."), HttpApiEndpoint.delete("mailboxesDiscardImport", "/v1/mailboxes/:id/imports/:importId", {
|
|
3015
|
+
params: MailboxesDiscardImportPathParams,
|
|
3016
|
+
success: MailboxesDiscardImport200,
|
|
3017
|
+
error: [
|
|
3018
|
+
MailboxesDiscardImport400.pipe(HttpApiSchema.status(400)),
|
|
3019
|
+
MailboxesDiscardImport401.pipe(HttpApiSchema.status(401)),
|
|
3020
|
+
MailboxesDiscardImport403.pipe(HttpApiSchema.status(403)),
|
|
3021
|
+
MailboxesDiscardImport404.pipe(HttpApiSchema.status(404)),
|
|
3022
|
+
MailboxesDiscardImport409.pipe(HttpApiSchema.status(409)),
|
|
3023
|
+
MailboxesDiscardImport422.pipe(HttpApiSchema.status(422)),
|
|
3024
|
+
MailboxesDiscardImport500,
|
|
3025
|
+
MailboxesDiscardImport504.pipe(HttpApiSchema.status(504))
|
|
3026
|
+
]
|
|
3027
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.discardImport").annotate(OpenApi.Summary, "Discard a queued mail history import").annotate(OpenApi.Description, "Discards a queued import and releases all its archive uploads."), HttpApiEndpoint.post("mailboxesStartImport", "/v1/mailboxes/:id/imports/:importId/start", {
|
|
2948
3028
|
params: MailboxesStartImportPathParams,
|
|
2949
3029
|
success: MailboxesStartImport200,
|
|
2950
3030
|
error: [
|
|
@@ -2957,21 +3037,64 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2957
3037
|
MailboxesStartImport500,
|
|
2958
3038
|
MailboxesStartImport504.pipe(HttpApiSchema.status(504))
|
|
2959
3039
|
]
|
|
2960
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.startImport").annotate(OpenApi.Summary, "Start or resume a mail history import").annotate(OpenApi.Description, "Starts all archives uploaded to the job, or resumes a failed job at its committed byte cursor across those archives. History emits no inbound events or agent triggers."), HttpApiEndpoint.
|
|
3040
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.startImport").annotate(OpenApi.Summary, "Start or resume a mail history import").annotate(OpenApi.Description, "Starts all archives uploaded to the job, or resumes a failed job at its committed byte cursor across those archives. History emits no inbound events or agent triggers."), HttpApiEndpoint.delete("mailboxesDiscardImportUpload", "/v1/mailboxes/:id/imports/:importId/uploads/:archiveId", {
|
|
3041
|
+
params: MailboxesDiscardImportUploadPathParams,
|
|
3042
|
+
success: MailboxesDiscardImportUpload200,
|
|
3043
|
+
error: [
|
|
3044
|
+
MailboxesDiscardImportUpload400.pipe(HttpApiSchema.status(400)),
|
|
3045
|
+
MailboxesDiscardImportUpload401.pipe(HttpApiSchema.status(401)),
|
|
3046
|
+
MailboxesDiscardImportUpload403.pipe(HttpApiSchema.status(403)),
|
|
3047
|
+
MailboxesDiscardImportUpload404.pipe(HttpApiSchema.status(404)),
|
|
3048
|
+
MailboxesDiscardImportUpload409.pipe(HttpApiSchema.status(409)),
|
|
3049
|
+
MailboxesDiscardImportUpload422.pipe(HttpApiSchema.status(422)),
|
|
3050
|
+
MailboxesDiscardImportUpload500,
|
|
3051
|
+
MailboxesDiscardImportUpload504.pipe(HttpApiSchema.status(504))
|
|
3052
|
+
]
|
|
3053
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.discardImportUpload").annotate(OpenApi.Summary, "Discard a mail history upload").annotate(OpenApi.Description, "Removes an archive from a queued import and releases its upload."), HttpApiEndpoint.post("mailboxesCompleteImportUpload", "/v1/mailboxes/:id/imports/:importId/uploads/:archiveId/complete", {
|
|
3054
|
+
params: MailboxesCompleteImportUploadPathParams,
|
|
3055
|
+
payload: MailboxesCompleteImportUploadRequestJson,
|
|
3056
|
+
success: MailboxesCompleteImportUpload200,
|
|
3057
|
+
error: [
|
|
3058
|
+
MailboxesCompleteImportUpload400.pipe(HttpApiSchema.status(400)),
|
|
3059
|
+
MailboxesCompleteImportUpload401.pipe(HttpApiSchema.status(401)),
|
|
3060
|
+
MailboxesCompleteImportUpload403.pipe(HttpApiSchema.status(403)),
|
|
3061
|
+
MailboxesCompleteImportUpload404.pipe(HttpApiSchema.status(404)),
|
|
3062
|
+
MailboxesCompleteImportUpload409.pipe(HttpApiSchema.status(409)),
|
|
3063
|
+
MailboxesCompleteImportUpload422.pipe(HttpApiSchema.status(422)),
|
|
3064
|
+
MailboxesCompleteImportUpload500,
|
|
3065
|
+
MailboxesCompleteImportUpload504.pipe(HttpApiSchema.status(504))
|
|
3066
|
+
]
|
|
3067
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.completeImportUpload").annotate(OpenApi.Summary, "Complete a mail history upload").annotate(OpenApi.Description, "Assembles the archive using every part number and its ETag as returned by storage. A successful completion can be retried. Complete every archive before starting the import."), HttpApiEndpoint.post("mailboxesSignImportUploadParts", "/v1/mailboxes/:id/imports/:importId/uploads/:archiveId/parts", {
|
|
3068
|
+
params: MailboxesSignImportUploadPartsPathParams,
|
|
3069
|
+
payload: MailboxesSignImportUploadPartsRequestJson,
|
|
3070
|
+
success: MailboxesSignImportUploadParts200,
|
|
3071
|
+
error: [
|
|
3072
|
+
MailboxesSignImportUploadParts400.pipe(HttpApiSchema.status(400)),
|
|
3073
|
+
MailboxesSignImportUploadParts401.pipe(HttpApiSchema.status(401)),
|
|
3074
|
+
MailboxesSignImportUploadParts403.pipe(HttpApiSchema.status(403)),
|
|
3075
|
+
MailboxesSignImportUploadParts404.pipe(HttpApiSchema.status(404)),
|
|
3076
|
+
MailboxesSignImportUploadParts409.pipe(HttpApiSchema.status(409)),
|
|
3077
|
+
MailboxesSignImportUploadParts422.pipe(HttpApiSchema.status(422)),
|
|
3078
|
+
MailboxesSignImportUploadParts500,
|
|
3079
|
+
MailboxesSignImportUploadParts504.pipe(HttpApiSchema.status(504))
|
|
3080
|
+
]
|
|
3081
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.signImportUploadParts").annotate(OpenApi.Summary, "Sign mail history upload parts").annotate(OpenApi.Description, "Returns ten-minute presigned PUT URLs for up to 16 distinct, one-based part numbers. Send each contiguous part with the returned sizeBytes as Content-Length and keep its ETag response header. Request fresh URLs as needed."), HttpApiEndpoint.post("mailboxesCreateImportUpload", "/v1/mailboxes/:id/imports/uploads", {
|
|
2961
3082
|
params: MailboxesCreateImportUploadPathParams,
|
|
2962
3083
|
payload: MailboxesCreateImportUploadRequestJson,
|
|
2963
3084
|
success: MailboxesCreateImportUpload200,
|
|
2964
3085
|
error: [
|
|
2965
3086
|
MailboxesCreateImportUpload400.pipe(HttpApiSchema.status(400)),
|
|
2966
3087
|
MailboxesCreateImportUpload401.pipe(HttpApiSchema.status(401)),
|
|
3088
|
+
MailboxesCreateImportUpload402.pipe(HttpApiSchema.status(402)),
|
|
2967
3089
|
MailboxesCreateImportUpload403.pipe(HttpApiSchema.status(403)),
|
|
2968
3090
|
MailboxesCreateImportUpload404.pipe(HttpApiSchema.status(404)),
|
|
2969
3091
|
MailboxesCreateImportUpload409.pipe(HttpApiSchema.status(409)),
|
|
2970
3092
|
MailboxesCreateImportUpload422.pipe(HttpApiSchema.status(422)),
|
|
2971
3093
|
MailboxesCreateImportUpload500,
|
|
3094
|
+
MailboxesCreateImportUpload502.pipe(HttpApiSchema.status(502)),
|
|
2972
3095
|
MailboxesCreateImportUpload504.pipe(HttpApiSchema.status(504))
|
|
2973
3096
|
]
|
|
2974
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.createImportUpload").annotate(OpenApi.Summary, "Create a mail history upload").annotate(OpenApi.Description, "
|
|
3097
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.createImportUpload").annotate(OpenApi.Summary, "Create a mail history upload").annotate(OpenApi.Description, "Registers an mbox archive and returns the import ID, archive ID, and part size. Pass importId to append to a queued import. Request presigned URLs for the parts, upload them, then complete every archive before starting the import. Returns 402 when the import's archives total more than twice the organization's remaining mailbox storage."), HttpApiEndpoint.get("mailboxesListLabels", "/v1/mailboxes/:id/labels", {
|
|
2975
3098
|
params: MailboxesListLabelsPathParams,
|
|
2976
3099
|
success: MailboxesListLabels200,
|
|
2977
3100
|
error: [
|
|
@@ -3526,6 +3649,6 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
3526
3649
|
MailboxesListOrganizationThreads504.pipe(HttpApiSchema.status(504))
|
|
3527
3650
|
]
|
|
3528
3651
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listOrganizationThreads").annotate(OpenApi.Summary, "List threads across your mailboxes").annotate(OpenApi.Description, "Lists only threads in mailboxes the caller can read. With `q`, semantic and keyword search returns the best-matching threads in relevance order, capped across cursor pages. Without `q`, threads use newest activity first. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes what the caller finished; state=done selects the caller's Done, closed shared threads, and personal-mailbox threads in the archived folder, without duplicates. Other filters and cursor pagination match the per-mailbox list.")).annotate(OpenApi.Description, "Mailboxes: endpoints, threads, messages, drafts, and governed sends") {};
|
|
3529
|
-
export { MailCommandConflict, MailCommandReceipt, MailHistoryImportJob, MailOutboxItem, MailOutboxItemId, MailOutboxProblem, MailSyncPosition, Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxAlwaysAllow, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEmptySpamAccepted, MailboxEmptyTrashAccepted, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxHandoff, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxScheduledSendPage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxSpamHeldMessage, MailboxSpamHeldPage, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadSpam, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesApproveActionRequestJson, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCountSplits200, MailboxesCountSplits400, MailboxesCountSplits401, MailboxesCountSplits403, MailboxesCountSplits422, MailboxesCountSplits500, MailboxesCountSplits504, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateHeaders, MailboxesCreateImportUpload200, MailboxesCreateImportUpload400, MailboxesCreateImportUpload401, MailboxesCreateImportUpload403, MailboxesCreateImportUpload404, MailboxesCreateImportUpload409, MailboxesCreateImportUpload422, MailboxesCreateImportUpload500, MailboxesCreateImportUpload504, MailboxesCreateImportUploadPathParams, MailboxesCreateImportUploadRequestJson, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreateRequestJson, MailboxesCreateSplit200, MailboxesCreateSplit400, MailboxesCreateSplit401, MailboxesCreateSplit403, MailboxesCreateSplit404, MailboxesCreateSplit422, MailboxesCreateSplit500, MailboxesCreateSplit504, MailboxesCreateSplitRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDeleteSplit200, MailboxesDeleteSplit400, MailboxesDeleteSplit401, MailboxesDeleteSplit403, MailboxesDeleteSplit404, MailboxesDeleteSplit422, MailboxesDeleteSplit500, MailboxesDeleteSplit504, MailboxesDeleteSplitPathParams, MailboxesDeleteThread200, MailboxesDeleteThread400, MailboxesDeleteThread401, MailboxesDeleteThread403, MailboxesDeleteThread404, MailboxesDeleteThread409, MailboxesDeleteThread422, MailboxesDeleteThread500, MailboxesDeleteThread504, MailboxesDeleteThreadPathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardSpamHeld200, MailboxesDiscardSpamHeld400, MailboxesDiscardSpamHeld401, MailboxesDiscardSpamHeld403, MailboxesDiscardSpamHeld404, MailboxesDiscardSpamHeld422, MailboxesDiscardSpamHeld500, MailboxesDiscardSpamHeld502, MailboxesDiscardSpamHeld504, MailboxesDiscardSpamHeldPathParams, MailboxesEmptySpam202, MailboxesEmptySpam400, MailboxesEmptySpam401, MailboxesEmptySpam403, MailboxesEmptySpam404, MailboxesEmptySpam422, MailboxesEmptySpam500, MailboxesEmptySpam504, MailboxesEmptySpamPathParams, MailboxesEmptyTrash202, MailboxesEmptyTrash400, MailboxesEmptyTrash401, MailboxesEmptyTrash403, MailboxesEmptyTrash404, MailboxesEmptyTrash422, MailboxesEmptyTrash500, MailboxesEmptyTrash504, MailboxesEmptyTrashPathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetImport200, MailboxesGetImport400, MailboxesGetImport401, MailboxesGetImport403, MailboxesGetImport404, MailboxesGetImport422, MailboxesGetImport500, MailboxesGetImport504, MailboxesGetImportPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListAddresses200, MailboxesListAddresses400, MailboxesListAddresses401, MailboxesListAddresses403, MailboxesListAddresses404, MailboxesListAddresses422, MailboxesListAddresses500, MailboxesListAddresses504, MailboxesListAddressesPathParams, MailboxesListAddressesQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListImports200, MailboxesListImports400, MailboxesListImports401, MailboxesListImports403, MailboxesListImports404, MailboxesListImports422, MailboxesListImports500, MailboxesListImports504, MailboxesListImportsPathParams, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListQuery, MailboxesListScheduledSends200, MailboxesListScheduledSends400, MailboxesListScheduledSends401, MailboxesListScheduledSends403, MailboxesListScheduledSends404, MailboxesListScheduledSends422, MailboxesListScheduledSends500, MailboxesListScheduledSends504, MailboxesListScheduledSendsPathParams, MailboxesListScheduledSendsQuery, MailboxesListSpamHeld200, MailboxesListSpamHeld400, MailboxesListSpamHeld401, MailboxesListSpamHeld403, MailboxesListSpamHeld404, MailboxesListSpamHeld422, MailboxesListSpamHeld500, MailboxesListSpamHeld504, MailboxesListSpamHeldPathParams, MailboxesListSpamHeldQuery, MailboxesListSplits200, MailboxesListSplits400, MailboxesListSplits401, MailboxesListSplits403, MailboxesListSplits422, MailboxesListSplits500, MailboxesListSplits504, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesRescheduleSend200, MailboxesRescheduleSend400, MailboxesRescheduleSend401, MailboxesRescheduleSend403, MailboxesRescheduleSend404, MailboxesRescheduleSend409, MailboxesRescheduleSend422, MailboxesRescheduleSend429, MailboxesRescheduleSend500, MailboxesRescheduleSend504, MailboxesRescheduleSendPathParams, MailboxesRescheduleSendRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesScheduleDraft200, MailboxesScheduleDraft400, MailboxesScheduleDraft401, MailboxesScheduleDraft403, MailboxesScheduleDraft404, MailboxesScheduleDraft409, MailboxesScheduleDraft422, MailboxesScheduleDraft429, MailboxesScheduleDraft500, MailboxesScheduleDraft504, MailboxesScheduleDraftPathParams, MailboxesScheduleDraftRequestJson, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesSendScheduledNow200, MailboxesSendScheduledNow400, MailboxesSendScheduledNow401, MailboxesSendScheduledNow403, MailboxesSendScheduledNow404, MailboxesSendScheduledNow409, MailboxesSendScheduledNow422, MailboxesSendScheduledNow429, MailboxesSendScheduledNow500, MailboxesSendScheduledNow504, MailboxesSendScheduledNowPathParams, MailboxesSendScheduledNowRequestJson, MailboxesStartImport200, MailboxesStartImport400, MailboxesStartImport401, MailboxesStartImport403, MailboxesStartImport404, MailboxesStartImport409, MailboxesStartImport422, MailboxesStartImport500, MailboxesStartImport504, MailboxesStartImportPathParams, MailboxesUnscheduleSend200, MailboxesUnscheduleSend400, MailboxesUnscheduleSend401, MailboxesUnscheduleSend403, MailboxesUnscheduleSend404, MailboxesUnscheduleSend409, MailboxesUnscheduleSend422, MailboxesUnscheduleSend429, MailboxesUnscheduleSend500, MailboxesUnscheduleSend504, MailboxesUnscheduleSendPathParams, MailboxesUnscheduleSendRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdateRequestJson, MailboxesUpdateSplit200, MailboxesUpdateSplit400, MailboxesUpdateSplit401, MailboxesUpdateSplit403, MailboxesUpdateSplit404, MailboxesUpdateSplit422, MailboxesUpdateSplit500, MailboxesUpdateSplit504, MailboxesUpdateSplitPathParams, MailboxesUpdateSplitRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, PolicyAction, PolicyDecision, SmsPhoneNumberId };
|
|
3652
|
+
export { MailCommandConflict, MailCommandReceipt, MailHistoryImportJob, MailOutboxItem, MailOutboxItemId, MailOutboxProblem, MailSyncPosition, Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxAlwaysAllow, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEmptySpamAccepted, MailboxEmptyTrashAccepted, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxHandoff, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxScheduledSendPage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxSpamHeldMessage, MailboxSpamHeldPage, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadSpam, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesApproveActionRequestJson, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCompleteImportUpload200, MailboxesCompleteImportUpload400, MailboxesCompleteImportUpload401, MailboxesCompleteImportUpload403, MailboxesCompleteImportUpload404, MailboxesCompleteImportUpload409, MailboxesCompleteImportUpload422, MailboxesCompleteImportUpload500, MailboxesCompleteImportUpload504, MailboxesCompleteImportUploadPathParams, MailboxesCompleteImportUploadRequestJson, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCountSplits200, MailboxesCountSplits400, MailboxesCountSplits401, MailboxesCountSplits403, MailboxesCountSplits422, MailboxesCountSplits500, MailboxesCountSplits504, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateHeaders, MailboxesCreateImportUpload200, MailboxesCreateImportUpload400, MailboxesCreateImportUpload401, MailboxesCreateImportUpload402, MailboxesCreateImportUpload403, MailboxesCreateImportUpload404, MailboxesCreateImportUpload409, MailboxesCreateImportUpload422, MailboxesCreateImportUpload500, MailboxesCreateImportUpload502, MailboxesCreateImportUpload504, MailboxesCreateImportUploadPathParams, MailboxesCreateImportUploadRequestJson, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreateRequestJson, MailboxesCreateSplit200, MailboxesCreateSplit400, MailboxesCreateSplit401, MailboxesCreateSplit403, MailboxesCreateSplit404, MailboxesCreateSplit422, MailboxesCreateSplit500, MailboxesCreateSplit504, MailboxesCreateSplitRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDeleteSplit200, MailboxesDeleteSplit400, MailboxesDeleteSplit401, MailboxesDeleteSplit403, MailboxesDeleteSplit404, MailboxesDeleteSplit422, MailboxesDeleteSplit500, MailboxesDeleteSplit504, MailboxesDeleteSplitPathParams, MailboxesDeleteThread200, MailboxesDeleteThread400, MailboxesDeleteThread401, MailboxesDeleteThread403, MailboxesDeleteThread404, MailboxesDeleteThread409, MailboxesDeleteThread422, MailboxesDeleteThread500, MailboxesDeleteThread504, MailboxesDeleteThreadPathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardImport200, MailboxesDiscardImport400, MailboxesDiscardImport401, MailboxesDiscardImport403, MailboxesDiscardImport404, MailboxesDiscardImport409, MailboxesDiscardImport422, MailboxesDiscardImport500, MailboxesDiscardImport504, MailboxesDiscardImportPathParams, MailboxesDiscardImportUpload200, MailboxesDiscardImportUpload400, MailboxesDiscardImportUpload401, MailboxesDiscardImportUpload403, MailboxesDiscardImportUpload404, MailboxesDiscardImportUpload409, MailboxesDiscardImportUpload422, MailboxesDiscardImportUpload500, MailboxesDiscardImportUpload504, MailboxesDiscardImportUploadPathParams, MailboxesDiscardSpamHeld200, MailboxesDiscardSpamHeld400, MailboxesDiscardSpamHeld401, MailboxesDiscardSpamHeld403, MailboxesDiscardSpamHeld404, MailboxesDiscardSpamHeld422, MailboxesDiscardSpamHeld500, MailboxesDiscardSpamHeld502, MailboxesDiscardSpamHeld504, MailboxesDiscardSpamHeldPathParams, MailboxesEmptySpam202, MailboxesEmptySpam400, MailboxesEmptySpam401, MailboxesEmptySpam403, MailboxesEmptySpam404, MailboxesEmptySpam422, MailboxesEmptySpam500, MailboxesEmptySpam504, MailboxesEmptySpamPathParams, MailboxesEmptyTrash202, MailboxesEmptyTrash400, MailboxesEmptyTrash401, MailboxesEmptyTrash403, MailboxesEmptyTrash404, MailboxesEmptyTrash422, MailboxesEmptyTrash500, MailboxesEmptyTrash504, MailboxesEmptyTrashPathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetImport200, MailboxesGetImport400, MailboxesGetImport401, MailboxesGetImport403, MailboxesGetImport404, MailboxesGetImport422, MailboxesGetImport500, MailboxesGetImport504, MailboxesGetImportPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListAddresses200, MailboxesListAddresses400, MailboxesListAddresses401, MailboxesListAddresses403, MailboxesListAddresses404, MailboxesListAddresses422, MailboxesListAddresses500, MailboxesListAddresses504, MailboxesListAddressesPathParams, MailboxesListAddressesQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListImports200, MailboxesListImports400, MailboxesListImports401, MailboxesListImports403, MailboxesListImports404, MailboxesListImports422, MailboxesListImports500, MailboxesListImports504, MailboxesListImportsPathParams, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListQuery, MailboxesListScheduledSends200, MailboxesListScheduledSends400, MailboxesListScheduledSends401, MailboxesListScheduledSends403, MailboxesListScheduledSends404, MailboxesListScheduledSends422, MailboxesListScheduledSends500, MailboxesListScheduledSends504, MailboxesListScheduledSendsPathParams, MailboxesListScheduledSendsQuery, MailboxesListSpamHeld200, MailboxesListSpamHeld400, MailboxesListSpamHeld401, MailboxesListSpamHeld403, MailboxesListSpamHeld404, MailboxesListSpamHeld422, MailboxesListSpamHeld500, MailboxesListSpamHeld504, MailboxesListSpamHeldPathParams, MailboxesListSpamHeldQuery, MailboxesListSplits200, MailboxesListSplits400, MailboxesListSplits401, MailboxesListSplits403, MailboxesListSplits422, MailboxesListSplits500, MailboxesListSplits504, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesRescheduleSend200, MailboxesRescheduleSend400, MailboxesRescheduleSend401, MailboxesRescheduleSend403, MailboxesRescheduleSend404, MailboxesRescheduleSend409, MailboxesRescheduleSend422, MailboxesRescheduleSend429, MailboxesRescheduleSend500, MailboxesRescheduleSend504, MailboxesRescheduleSendPathParams, MailboxesRescheduleSendRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesScheduleDraft200, MailboxesScheduleDraft400, MailboxesScheduleDraft401, MailboxesScheduleDraft403, MailboxesScheduleDraft404, MailboxesScheduleDraft409, MailboxesScheduleDraft422, MailboxesScheduleDraft429, MailboxesScheduleDraft500, MailboxesScheduleDraft504, MailboxesScheduleDraftPathParams, MailboxesScheduleDraftRequestJson, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesSendScheduledNow200, MailboxesSendScheduledNow400, MailboxesSendScheduledNow401, MailboxesSendScheduledNow403, MailboxesSendScheduledNow404, MailboxesSendScheduledNow409, MailboxesSendScheduledNow422, MailboxesSendScheduledNow429, MailboxesSendScheduledNow500, MailboxesSendScheduledNow504, MailboxesSendScheduledNowPathParams, MailboxesSendScheduledNowRequestJson, MailboxesSignImportUploadParts200, MailboxesSignImportUploadParts400, MailboxesSignImportUploadParts401, MailboxesSignImportUploadParts403, MailboxesSignImportUploadParts404, MailboxesSignImportUploadParts409, MailboxesSignImportUploadParts422, MailboxesSignImportUploadParts500, MailboxesSignImportUploadParts504, MailboxesSignImportUploadPartsPathParams, MailboxesSignImportUploadPartsRequestJson, MailboxesStartImport200, MailboxesStartImport400, MailboxesStartImport401, MailboxesStartImport403, MailboxesStartImport404, MailboxesStartImport409, MailboxesStartImport422, MailboxesStartImport500, MailboxesStartImport504, MailboxesStartImportPathParams, MailboxesUnscheduleSend200, MailboxesUnscheduleSend400, MailboxesUnscheduleSend401, MailboxesUnscheduleSend403, MailboxesUnscheduleSend404, MailboxesUnscheduleSend409, MailboxesUnscheduleSend422, MailboxesUnscheduleSend429, MailboxesUnscheduleSend500, MailboxesUnscheduleSend504, MailboxesUnscheduleSendPathParams, MailboxesUnscheduleSendRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdateRequestJson, MailboxesUpdateSplit200, MailboxesUpdateSplit400, MailboxesUpdateSplit401, MailboxesUpdateSplit403, MailboxesUpdateSplit404, MailboxesUpdateSplit422, MailboxesUpdateSplit500, MailboxesUpdateSplit504, MailboxesUpdateSplitPathParams, MailboxesUpdateSplitRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, PolicyAction, PolicyDecision, SmsPhoneNumberId };
|
|
3530
3653
|
|
|
3531
3654
|
//# sourceMappingURL=mailboxes.js.map
|
|
@@ -925,10 +925,6 @@ export declare const TemplateFromDefaultInput: Schema.Struct<{
|
|
|
925
925
|
readonly email: Schema.String;
|
|
926
926
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
927
927
|
}>;
|
|
928
|
-
export type WhatsAppBusinessAccountId_1 = string;
|
|
929
|
-
export declare const WhatsAppBusinessAccountId_1: Schema.String;
|
|
930
|
-
export type WhatsAppBusinessAccountId_2 = string;
|
|
931
|
-
export declare const WhatsAppBusinessAccountId_2: Schema.String;
|
|
932
928
|
declare const CredentialsError_base: Schema.Class<CredentialsError, Schema.Struct<{
|
|
933
929
|
readonly _tag: Schema.tag<"CredentialsError">;
|
|
934
930
|
readonly message: Schema.String;
|
|
@@ -1932,6 +1928,18 @@ export declare const WhatsAppTemplateBinding: Schema.Union<readonly [Schema.Stru
|
|
|
1932
1928
|
}>, Schema.Struct<{
|
|
1933
1929
|
readonly customField: Schema.String;
|
|
1934
1930
|
}>]>;
|
|
1931
|
+
export type TemplateRegistrationApproval = {
|
|
1932
|
+
readonly publicationId: TemplatePublicationId;
|
|
1933
|
+
readonly businessAccountId: WhatsAppBusinessAccountId;
|
|
1934
|
+
readonly expectedWabaId: string;
|
|
1935
|
+
readonly expectedWorkspaceRevision: string;
|
|
1936
|
+
};
|
|
1937
|
+
export declare const TemplateRegistrationApproval: Schema.Struct<{
|
|
1938
|
+
readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
1939
|
+
readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
|
|
1940
|
+
readonly expectedWabaId: Schema.String;
|
|
1941
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1942
|
+
}>;
|
|
1935
1943
|
export type RegisterWhatsAppFlowPayload = {
|
|
1936
1944
|
readonly businessAccountId?: WhatsAppBusinessAccountId;
|
|
1937
1945
|
};
|
|
@@ -2687,18 +2695,6 @@ export declare const UpdateTemplatePayload: Schema.Struct<{
|
|
|
2687
2695
|
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
2688
2696
|
}>;
|
|
2689
2697
|
}>;
|
|
2690
|
-
export type TemplateRegistrationApproval = {
|
|
2691
|
-
readonly publicationId: TemplatePublicationId;
|
|
2692
|
-
readonly businessAccountId: WhatsAppBusinessAccountId_2;
|
|
2693
|
-
readonly expectedWabaId: string;
|
|
2694
|
-
readonly expectedWorkspaceRevision: string;
|
|
2695
|
-
};
|
|
2696
|
-
export declare const TemplateRegistrationApproval: Schema.Struct<{
|
|
2697
|
-
readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
2698
|
-
readonly businessAccountId: Schema.String;
|
|
2699
|
-
readonly expectedWabaId: Schema.String;
|
|
2700
|
-
readonly expectedWorkspaceRevision: Schema.String;
|
|
2701
|
-
}>;
|
|
2702
2698
|
export type CreateWhatsAppSetupLinkPayload = {
|
|
2703
2699
|
readonly namespaceId: NamespaceId;
|
|
2704
2700
|
readonly redirectUrl?: WhatsAppSetupLinkRedirectUrl | null;
|
|
@@ -3213,6 +3209,21 @@ export declare const WhatsAppTemplateBindings: Schema.$Record<Schema.String, Sch
|
|
|
3213
3209
|
}>, Schema.Struct<{
|
|
3214
3210
|
readonly customField: Schema.String;
|
|
3215
3211
|
}>]>>;
|
|
3212
|
+
export type SubmitTemplateRegistrationPayload = {
|
|
3213
|
+
readonly provider: "whatsapp";
|
|
3214
|
+
readonly businessAccountId?: WhatsAppBusinessAccountId;
|
|
3215
|
+
readonly approval?: TemplateRegistrationApproval;
|
|
3216
|
+
};
|
|
3217
|
+
export declare const SubmitTemplateRegistrationPayload: Schema.Struct<{
|
|
3218
|
+
readonly provider: Schema.Literal<"whatsapp">;
|
|
3219
|
+
readonly businessAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
|
|
3220
|
+
readonly approval: Schema.optionalKey<Schema.Struct<{
|
|
3221
|
+
readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
3222
|
+
readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
|
|
3223
|
+
readonly expectedWabaId: Schema.String;
|
|
3224
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
3225
|
+
}>>;
|
|
3226
|
+
}>;
|
|
3216
3227
|
export type MessagePage = {
|
|
3217
3228
|
readonly items: ReadonlyArray<MessageSummary>;
|
|
3218
3229
|
readonly nextCursor: string | null;
|
|
@@ -3586,21 +3597,6 @@ export declare const OperationAccepted: Schema.Struct<{
|
|
|
3586
3597
|
}>;
|
|
3587
3598
|
}>;
|
|
3588
3599
|
}>;
|
|
3589
|
-
export type SubmitTemplateRegistrationPayload = {
|
|
3590
|
-
readonly provider: "whatsapp";
|
|
3591
|
-
readonly businessAccountId?: WhatsAppBusinessAccountId_1;
|
|
3592
|
-
readonly approval?: TemplateRegistrationApproval;
|
|
3593
|
-
};
|
|
3594
|
-
export declare const SubmitTemplateRegistrationPayload: Schema.Struct<{
|
|
3595
|
-
readonly provider: Schema.Literal<"whatsapp">;
|
|
3596
|
-
readonly businessAccountId: Schema.optionalKey<Schema.String>;
|
|
3597
|
-
readonly approval: Schema.optionalKey<Schema.Struct<{
|
|
3598
|
-
readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
3599
|
-
readonly businessAccountId: Schema.String;
|
|
3600
|
-
readonly expectedWabaId: Schema.String;
|
|
3601
|
-
readonly expectedWorkspaceRevision: Schema.String;
|
|
3602
|
-
}>>;
|
|
3603
|
-
}>;
|
|
3604
3600
|
export type SmsCampaignContentInput = {
|
|
3605
3601
|
readonly channel: "sms";
|
|
3606
3602
|
readonly sms: SmsDispatchContent;
|
|
@@ -824,14 +824,6 @@ const TemplateFromDefaultInput = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
824
824
|
email: Schema.String,
|
|
825
825
|
name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
|
|
826
826
|
}).annotate({ identifier: "TemplateFromDefaultInput" }))();
|
|
827
|
-
const WhatsAppBusinessAccountId_1 = /* @__PURE__ */ (() => Schema.String.annotate({ description: "For an immediate submission, the connected number to register on. Defaults to the number for the template's scope." }).check(Schema.isPattern(new globalThis.RegExp("^waba_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
828
|
-
expected: "a string matching the RegExp ^waba_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
829
|
-
identifier: "WhatsAppBusinessAccountId_1"
|
|
830
|
-
})))();
|
|
831
|
-
const WhatsAppBusinessAccountId_2 = /* @__PURE__ */ (() => Schema.String.annotate({ description: "The connected WhatsApp number selected for this submission." }).check(Schema.isPattern(new globalThis.RegExp("^waba_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
832
|
-
expected: "a string matching the RegExp ^waba_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
833
|
-
identifier: "WhatsAppBusinessAccountId_2"
|
|
834
|
-
})))();
|
|
835
827
|
var CredentialsError = class extends Schema.TaggedError()("CredentialsError", Schema.Struct({
|
|
836
828
|
message: Schema.String,
|
|
837
829
|
retryable: Schema.Boolean
|
|
@@ -1187,6 +1179,15 @@ const SkippedRecipient = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1187
1179
|
}).annotate({ identifier: "SkippedRecipient" }))();
|
|
1188
1180
|
const CampaignConversationRef = /* @__PURE__ */ (() => Schema.Union([ConversationId, Schema.Null]).annotate({ identifier: "CampaignConversationRef" }))();
|
|
1189
1181
|
const WhatsAppTemplateBinding = /* @__PURE__ */ (() => Schema.Union([WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding]).annotate({ identifier: "WhatsAppTemplateBinding" }))();
|
|
1182
|
+
const TemplateRegistrationApproval = /* @__PURE__ */ (() => Schema.Struct({
|
|
1183
|
+
publicationId: TemplatePublicationId,
|
|
1184
|
+
businessAccountId: WhatsAppBusinessAccountId,
|
|
1185
|
+
expectedWabaId: Schema.String.annotate({ description: "The Meta business account ID shown for the selected number before approval." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
1186
|
+
expectedWorkspaceRevision: Schema.String.annotate({ description: "The workspace revision reviewed for this submission." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" }))
|
|
1187
|
+
}).annotate({
|
|
1188
|
+
description: "For a reviewed submission, the exact publication, workspace revision, number and Meta business account. Omit the separate businessAccountId when supplying approval.",
|
|
1189
|
+
identifier: "TemplateRegistrationApproval"
|
|
1190
|
+
}))();
|
|
1190
1191
|
const CampaignAudience = /* @__PURE__ */ (() => Schema.Struct({
|
|
1191
1192
|
topicId: TopicId,
|
|
1192
1193
|
includeTags: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1476,15 +1477,6 @@ const UpdateTemplatePayload = /* @__PURE__ */ (() => Schema.Struct({ data: Schem
|
|
|
1476
1477
|
trackingDefault: Schema.optionalKey(Schema.Union([TemplateTrackingDefault, Schema.Null]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
|
|
1477
1478
|
shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
|
|
1478
1479
|
}) }).annotate({ identifier: "UpdateTemplatePayload" }))();
|
|
1479
|
-
const TemplateRegistrationApproval = /* @__PURE__ */ (() => Schema.Struct({
|
|
1480
|
-
publicationId: TemplatePublicationId,
|
|
1481
|
-
businessAccountId: WhatsAppBusinessAccountId_2,
|
|
1482
|
-
expectedWabaId: Schema.String.annotate({ description: "The Meta business account ID shown for the selected number before approval." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
1483
|
-
expectedWorkspaceRevision: Schema.String.annotate({ description: "The workspace revision reviewed for this submission." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" }))
|
|
1484
|
-
}).annotate({
|
|
1485
|
-
description: "For a reviewed submission, the exact publication, workspace revision, number and Meta business account. Omit the separate businessAccountId when supplying approval.",
|
|
1486
|
-
identifier: "TemplateRegistrationApproval"
|
|
1487
|
-
}))();
|
|
1488
1480
|
const SmsContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
1489
1481
|
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1490
1482
|
templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
|
|
@@ -2031,6 +2023,6 @@ const ApiKeySecurity = HttpApiSecurity.apiKey({
|
|
|
2031
2023
|
in: "header"
|
|
2032
2024
|
});
|
|
2033
2025
|
var ApiKeySecurityMiddleware = class extends HttpApiMiddleware.Service()("apiKey security", { security: { apiKey: ApiKeySecurity } }) {};
|
|
2034
|
-
export { AccountLinks, AccountStatus, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentModuleTool, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionInstallationId, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneySendWhatsAppConfig, JourneyStatus, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RecipeSetupReferences, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, ShopifyShop, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateChannelVariantId, TemplateData, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId,
|
|
2026
|
+
export { AccountLinks, AccountStatus, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentModuleTool, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionInstallationId, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneySendWhatsAppConfig, JourneyStatus, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RecipeSetupReferences, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, ShopifyShop, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateChannelVariantId, TemplateData, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
|
|
2035
2027
|
|
|
2036
2028
|
//# sourceMappingURL=shared.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
|
-
import { ApiKeySecurityMiddleware, ConflictError, CredentialsError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, ServiceUnavailableError, TemplateChannelVariantId, TemplateId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, UnauthorizedError, ValidationError,
|
|
3
|
+
import { ApiKeySecurityMiddleware, ConflictError, CredentialsError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, ServiceUnavailableError, TemplateChannelVariantId, TemplateId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, UnauthorizedError, ValidationError, WhatsAppBusinessAccountId, WhatsAppChannelError } from "./shared.js";
|
|
4
4
|
export type WhatsAppRegistrationTarget = {
|
|
5
5
|
readonly provider: "whatsapp";
|
|
6
6
|
readonly wabaId: string;
|
|
@@ -161,15 +161,15 @@ export declare const TemplateRegistrationsSubmitPathParams: Schema.Struct<{
|
|
|
161
161
|
}>;
|
|
162
162
|
export type TemplateRegistrationsSubmitRequestJson = {
|
|
163
163
|
readonly provider: "whatsapp";
|
|
164
|
-
readonly businessAccountId?:
|
|
164
|
+
readonly businessAccountId?: WhatsAppBusinessAccountId;
|
|
165
165
|
readonly approval?: TemplateRegistrationApproval;
|
|
166
166
|
};
|
|
167
167
|
export declare const TemplateRegistrationsSubmitRequestJson: Schema.Struct<{
|
|
168
168
|
readonly provider: Schema.Literal<"whatsapp">;
|
|
169
|
-
readonly businessAccountId: Schema.optionalKey<Schema.String
|
|
169
|
+
readonly businessAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
|
|
170
170
|
readonly approval: Schema.optionalKey<Schema.Struct<{
|
|
171
171
|
readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
172
|
-
readonly businessAccountId: Schema.String
|
|
172
|
+
readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
|
|
173
173
|
readonly expectedWabaId: Schema.String;
|
|
174
174
|
readonly expectedWorkspaceRevision: Schema.String;
|
|
175
175
|
}>>;
|
|
@@ -507,10 +507,10 @@ declare const TemplateRegistrationsGroup_base: HttpApiGroup.HttpApiGroup<"Templa
|
|
|
507
507
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
508
508
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
509
509
|
readonly provider: Schema.Literal<"whatsapp">;
|
|
510
|
-
readonly businessAccountId: Schema.optionalKey<Schema.String
|
|
510
|
+
readonly businessAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
|
|
511
511
|
readonly approval: Schema.optionalKey<Schema.Struct<{
|
|
512
512
|
readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
513
|
-
readonly businessAccountId: Schema.String
|
|
513
|
+
readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
|
|
514
514
|
readonly expectedWabaId: Schema.String;
|
|
515
515
|
readonly expectedWorkspaceRevision: Schema.String;
|
|
516
516
|
}>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, ConflictError, CredentialsError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, ServiceUnavailableError, TemplateChannelVariantId, TemplateId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, UnauthorizedError, ValidationError,
|
|
1
|
+
import { ApiKeySecurityMiddleware, ConflictError, CredentialsError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, ServiceUnavailableError, TemplateChannelVariantId, TemplateId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, UnauthorizedError, ValidationError, WhatsAppBusinessAccountId, WhatsAppChannelError } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
// src/effect/generated/template-registrations.ts
|
|
@@ -70,9 +70,9 @@ const TemplateRegistrationsList504 = GatewayTimeoutError;
|
|
|
70
70
|
const TemplateRegistrationsSubmitPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
71
71
|
const TemplateRegistrationsSubmitRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
72
72
|
provider: Schema.Literal("whatsapp"),
|
|
73
|
-
businessAccountId: Schema.optionalKey(
|
|
73
|
+
businessAccountId: Schema.optionalKey(WhatsAppBusinessAccountId),
|
|
74
74
|
approval: Schema.optionalKey(TemplateRegistrationApproval)
|
|
75
|
-
}))();
|
|
75
|
+
}).annotate({ description: "For an immediate submission, `businessAccountId` is the connected number to register on and defaults to the number for the template's scope." }))();
|
|
76
76
|
const TemplateRegistrationsSubmit201 = TemplateRegistration;
|
|
77
77
|
const TemplateRegistrationsSubmit400 = MalformedRequestError;
|
|
78
78
|
const TemplateRegistrationsSubmit401 = UnauthorizedError;
|
|
@@ -1680,12 +1680,36 @@ export declare const SamvaOperations: {
|
|
|
1680
1680
|
readonly idempotent: false;
|
|
1681
1681
|
readonly paginated: false;
|
|
1682
1682
|
};
|
|
1683
|
+
readonly mailboxesDiscardImport: {
|
|
1684
|
+
readonly group: "Mailboxes";
|
|
1685
|
+
readonly method: "DELETE";
|
|
1686
|
+
readonly idempotent: false;
|
|
1687
|
+
readonly paginated: false;
|
|
1688
|
+
};
|
|
1683
1689
|
readonly mailboxesStartImport: {
|
|
1684
1690
|
readonly group: "Mailboxes";
|
|
1685
1691
|
readonly method: "POST";
|
|
1686
1692
|
readonly idempotent: false;
|
|
1687
1693
|
readonly paginated: false;
|
|
1688
1694
|
};
|
|
1695
|
+
readonly mailboxesDiscardImportUpload: {
|
|
1696
|
+
readonly group: "Mailboxes";
|
|
1697
|
+
readonly method: "DELETE";
|
|
1698
|
+
readonly idempotent: false;
|
|
1699
|
+
readonly paginated: false;
|
|
1700
|
+
};
|
|
1701
|
+
readonly mailboxesCompleteImportUpload: {
|
|
1702
|
+
readonly group: "Mailboxes";
|
|
1703
|
+
readonly method: "POST";
|
|
1704
|
+
readonly idempotent: false;
|
|
1705
|
+
readonly paginated: false;
|
|
1706
|
+
};
|
|
1707
|
+
readonly mailboxesSignImportUploadParts: {
|
|
1708
|
+
readonly group: "Mailboxes";
|
|
1709
|
+
readonly method: "POST";
|
|
1710
|
+
readonly idempotent: false;
|
|
1711
|
+
readonly paginated: false;
|
|
1712
|
+
};
|
|
1689
1713
|
readonly mailboxesCreateImportUpload: {
|
|
1690
1714
|
readonly group: "Mailboxes";
|
|
1691
1715
|
readonly method: "POST";
|
|
@@ -1371,7 +1371,11 @@ const SamvaOperations = {
|
|
|
1371
1371
|
mailboxesUpdateGrant: operationMetadata76,
|
|
1372
1372
|
mailboxesListImports: operationMetadata74,
|
|
1373
1373
|
mailboxesGetImport: operationMetadata74,
|
|
1374
|
+
mailboxesDiscardImport: operationMetadata75,
|
|
1374
1375
|
mailboxesStartImport: operationMetadata77,
|
|
1376
|
+
mailboxesDiscardImportUpload: operationMetadata75,
|
|
1377
|
+
mailboxesCompleteImportUpload: operationMetadata77,
|
|
1378
|
+
mailboxesSignImportUploadParts: operationMetadata77,
|
|
1375
1379
|
mailboxesCreateImportUpload: operationMetadata77,
|
|
1376
1380
|
mailboxesListLabels: operationMetadata74,
|
|
1377
1381
|
mailboxesCreateLabel: operationMetadata77,
|