samva 0.29.0 → 0.30.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/AGENTS.md +23 -5
- package/README.md +166 -133
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/client/client/client.gen.js +1 -2
- package/dist/client/client/utils.gen.js +1 -2
- package/dist/client/client.gen.js +1 -2
- package/dist/client/core/auth.gen.js +1 -2
- package/dist/client/core/bodySerializer.gen.js +1 -2
- package/dist/client/core/params.gen.js +1 -2
- package/dist/client/core/pathSerializer.gen.js +1 -2
- package/dist/client/core/serverSentEvents.gen.js +1 -2
- package/dist/client/core/utils.gen.js +1 -2
- package/dist/client/sdk.gen.d.ts +216 -191
- package/dist/client/sdk.gen.js +2392 -1153
- package/dist/client/types.gen.d.ts +766 -376
- package/dist/client-attribution.js +1 -2
- package/dist/effect/agents.d.ts +33 -11
- package/dist/effect/agents.js +1 -2
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +1 -2
- package/dist/effect/api-keys.d.ts +8 -8
- package/dist/effect/api-keys.js +1 -2
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +1 -2
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +1 -2
- package/dist/effect/campaigns.d.ts +15 -16
- package/dist/effect/campaigns.js +1 -2
- package/dist/effect/categories.js +1 -2
- package/dist/effect/client.js +1 -2
- package/dist/effect/contact-groups.d.ts +10 -10
- package/dist/effect/contact-groups.js +1 -2
- package/dist/effect/contacts.d.ts +23 -24
- package/dist/effect/contacts.js +1 -2
- package/dist/effect/conversations.d.ts +13 -13
- package/dist/effect/conversations.js +1 -2
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +1 -2
- package/dist/effect/email.d.ts +61 -63
- package/dist/effect/email.js +1 -2
- package/dist/effect/events.d.ts +2 -4
- package/dist/effect/events.js +1 -2
- package/dist/effect/extension-installations.d.ts +9 -9
- package/dist/effect/extension-installations.js +1 -2
- package/dist/effect/extensions.d.ts +5 -5
- package/dist/effect/extensions.js +1 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +1 -2
- package/dist/effect/generated/agents.d.ts +264 -22
- package/dist/effect/generated/agents.js +2 -3
- package/dist/effect/generated/analytics.js +1 -2
- package/dist/effect/generated/api-keys.js +1 -2
- package/dist/effect/generated/attachments.js +1 -2
- package/dist/effect/generated/brands.js +1 -2
- package/dist/effect/generated/campaigns.d.ts +160 -155
- package/dist/effect/generated/campaigns.js +7 -9
- package/dist/effect/generated/contact-events.js +1 -2
- package/dist/effect/generated/contact-groups.d.ts +26 -26
- package/dist/effect/generated/contact-groups.js +22 -19
- package/dist/effect/generated/contacts.d.ts +119 -90
- package/dist/effect/generated/contacts.js +32 -32
- package/dist/effect/generated/conversations.d.ts +22 -22
- package/dist/effect/generated/conversations.js +7 -8
- package/dist/effect/generated/custom-fields.d.ts +6 -6
- package/dist/effect/generated/custom-fields.js +3 -4
- package/dist/effect/generated/email.d.ts +38 -38
- package/dist/effect/generated/email.js +13 -14
- package/dist/effect/generated/events.d.ts +18 -9
- package/dist/effect/generated/events.js +8 -6
- package/dist/effect/generated/extension-installations.d.ts +2 -2
- package/dist/effect/generated/extension-installations.js +6 -3
- package/dist/effect/generated/extensions.js +1 -2
- package/dist/effect/generated/feedback.js +1 -2
- package/dist/effect/generated/index.d.ts +7 -5
- package/dist/effect/generated/journeys.js +1 -2
- package/dist/effect/generated/mailboxes.d.ts +44 -44
- package/dist/effect/generated/mailboxes.js +17 -18
- package/dist/effect/generated/media.js +1 -2
- package/dist/effect/generated/messages.d.ts +42 -42
- package/dist/effect/generated/messages.js +3 -4
- package/dist/effect/generated/namespaces.js +1 -2
- package/dist/effect/generated/{publication-domains.d.ts → newsletter-domains.d.ts} +304 -80
- package/dist/effect/generated/newsletter-domains.js +218 -0
- package/dist/effect/generated/{topic-issues.d.ts → newsletter-issues.d.ts} +330 -288
- package/dist/effect/generated/{topic-issues.js → newsletter-issues.js} +255 -246
- package/dist/effect/generated/newsletters.d.ts +741 -0
- package/dist/effect/generated/newsletters.js +143 -0
- package/dist/effect/generated/operations.js +1 -2
- package/dist/effect/generated/organizations.d.ts +9 -9
- package/dist/effect/generated/organizations.js +4 -5
- package/dist/effect/generated/scheduled-messages.d.ts +174 -169
- package/dist/effect/generated/scheduled-messages.js +7 -7
- package/dist/effect/generated/shared.d.ts +276 -208
- package/dist/effect/generated/shared.js +50 -36
- package/dist/effect/generated/subscriptions.js +1 -2
- package/dist/effect/generated/templates.d.ts +118 -67
- package/dist/effect/generated/templates.js +43 -35
- package/dist/effect/generated/topic-forms.d.ts +79 -19
- package/dist/effect/generated/topic-forms.js +13 -14
- package/dist/effect/generated/topics.d.ts +27 -65
- package/dist/effect/generated/topics.js +13 -20
- package/dist/effect/generated/webhooks.d.ts +9 -9
- package/dist/effect/generated/webhooks.js +4 -5
- package/dist/effect/generated/whoami.js +1 -2
- package/dist/effect/generated-metadata.d.ts +475 -70
- package/dist/effect/generated-metadata.js +642 -432
- package/dist/effect/index.d.ts +3 -2
- package/dist/effect/index.js +4 -3
- package/dist/effect/internal/client.d.ts +5 -0
- package/dist/effect/internal/client.js +9 -5
- package/dist/effect/internal/email-sender.d.ts +1 -1
- package/dist/effect/internal/email-sender.js +4 -3
- package/dist/effect/internal/mailbox-events.js +1 -2
- package/dist/effect/internal/operation.d.ts +4 -15
- package/dist/effect/internal/operation.js +21 -33
- package/dist/effect/internal/send.js +2 -3
- package/dist/effect/journeys.d.ts +14 -14
- package/dist/effect/journeys.js +1 -2
- package/dist/effect/mailboxes.d.ts +60 -70
- package/dist/effect/mailboxes.js +1 -2
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +1 -2
- package/dist/effect/messages.d.ts +9 -9
- package/dist/effect/messages.js +1 -2
- package/dist/effect/namespaces.d.ts +8 -8
- package/dist/effect/namespaces.js +1 -2
- package/dist/effect/newsletter-domains.d.ts +71 -0
- package/dist/effect/newsletter-domains.js +18 -0
- package/dist/effect/{topic-issues.d.ts → newsletter-issues.d.ts} +11 -15
- package/dist/effect/newsletter-issues.js +32 -0
- package/dist/effect/newsletters.d.ts +22 -0
- package/dist/effect/newsletters.js +20 -0
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/operations.js +1 -2
- package/dist/effect/organizations.d.ts +8 -10
- package/dist/effect/organizations.js +1 -2
- package/dist/effect/pagination.js +1 -2
- package/dist/effect/retry.d.ts +4 -4
- package/dist/effect/retry.js +5 -6
- package/dist/effect/runtime.js +1 -2
- package/dist/effect/scheduled-messages.d.ts +5 -6
- package/dist/effect/scheduled-messages.js +1 -2
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +1 -2
- package/dist/effect/templates.d.ts +34 -43
- package/dist/effect/templates.js +1 -2
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topic-forms.js +1 -2
- package/dist/effect/topics.d.ts +9 -13
- package/dist/effect/topics.js +1 -2
- package/dist/effect/webhooks.d.ts +11 -11
- package/dist/effect/webhooks.js +1 -2
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +1 -2
- package/dist/index.js +2 -2
- package/dist/inline-attachments.js +1 -2
- package/dist/mailbox/dispatch.d.ts +10 -0
- package/dist/mailbox/dispatch.js +66 -0
- package/dist/mailbox/index.d.ts +17 -0
- package/dist/mailbox/index.js +30 -0
- package/dist/mailbox/test.d.ts +25 -0
- package/dist/mailbox/test.js +174 -0
- package/dist/mailbox/types.d.ts +184 -0
- package/dist/mailbox/webhook.d.ts +10 -0
- package/dist/mailbox/webhook.js +41 -0
- package/dist/mailbox-events.js +1 -2
- package/dist/normalize.js +1 -2
- package/dist/package.js +2 -3
- package/dist/promises/client.d.ts +215 -0
- package/dist/promises/client.js +324 -0
- package/dist/promises/errors.gen.js +1 -2
- package/dist/promises/index.d.ts +2 -196
- package/dist/promises/index.js +3 -295
- package/dist/promises/request.d.ts +15 -0
- package/dist/promises/request.js +75 -0
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +3 -0
- package/dist/request-policy.js +16 -0
- package/dist/service-map.d.ts +78 -47
- package/dist/service-map.js +52 -32
- package/package.json +34 -18
- package/dist/effect/generated/publication-domains.js +0 -163
- package/dist/effect/publication-domains.d.ts +0 -14
- package/dist/effect/publication-domains.js +0 -17
- package/dist/effect/topic-issues.js +0 -33
|
@@ -5,7 +5,7 @@ export declare const list: ((input?: {
|
|
|
5
5
|
readonly cursor?: string | null | undefined;
|
|
6
6
|
readonly after?: string | null | undefined;
|
|
7
7
|
readonly before?: string | null | undefined;
|
|
8
|
-
} | undefined) => import("./internal/operation").OperationResult<"mailboxesList">) & {
|
|
8
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesList">) & {
|
|
9
9
|
readonly pages: (input?: {
|
|
10
10
|
readonly limit?: number | null | undefined;
|
|
11
11
|
readonly cursor?: string | null | undefined;
|
|
@@ -50,52 +50,52 @@ export declare const create: (input: {
|
|
|
50
50
|
readonly metadata?: {
|
|
51
51
|
readonly [x: string]: string | undefined;
|
|
52
52
|
} | null | undefined;
|
|
53
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreate">;
|
|
53
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreate">;
|
|
54
54
|
export declare const get: (input: {
|
|
55
55
|
readonly id: string;
|
|
56
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGet">;
|
|
56
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGet">;
|
|
57
57
|
export declare const update: (input: {
|
|
58
58
|
readonly id: string;
|
|
59
59
|
readonly name?: string | null | undefined;
|
|
60
60
|
readonly metadata?: {
|
|
61
61
|
readonly [x: string]: string | null | undefined;
|
|
62
62
|
} | null | undefined;
|
|
63
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdate">;
|
|
63
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdate">;
|
|
64
64
|
export declare const remove: (input: {
|
|
65
65
|
readonly id: string;
|
|
66
|
-
}) => import("./internal/operation").OperationResult<"mailboxesRemove">;
|
|
66
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRemove">;
|
|
67
67
|
export declare const createEndpoint: (input: {
|
|
68
68
|
readonly id: string;
|
|
69
69
|
readonly channel: "email";
|
|
70
70
|
readonly address: string;
|
|
71
71
|
readonly displayName?: string | null | undefined;
|
|
72
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreateEndpoint">;
|
|
72
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateEndpoint">;
|
|
73
73
|
export declare const updateEndpoint: (input: {
|
|
74
74
|
readonly id: string;
|
|
75
75
|
readonly endpointId: string;
|
|
76
76
|
readonly displayName?: string | null | undefined;
|
|
77
77
|
readonly default?: true | null | undefined;
|
|
78
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdateEndpoint">;
|
|
78
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateEndpoint">;
|
|
79
79
|
export declare const removeEndpoint: (input: {
|
|
80
80
|
readonly id: string;
|
|
81
81
|
readonly endpointId: string;
|
|
82
|
-
}) => import("./internal/operation").OperationResult<"mailboxesRemoveEndpoint">;
|
|
82
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRemoveEndpoint">;
|
|
83
83
|
export declare const pause: (input: {
|
|
84
84
|
readonly id: string;
|
|
85
|
-
}) => import("./internal/operation").OperationResult<"mailboxesPause">;
|
|
85
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesPause">;
|
|
86
86
|
export declare const resume: (input: {
|
|
87
87
|
readonly id: string;
|
|
88
|
-
}) => import("./internal/operation").OperationResult<"mailboxesResume">;
|
|
88
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesResume">;
|
|
89
89
|
export declare const getAgentActivity: (input: {
|
|
90
90
|
readonly id: string;
|
|
91
91
|
readonly after?: string | null | undefined;
|
|
92
92
|
readonly before?: string | null | undefined;
|
|
93
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetAgentActivity">;
|
|
93
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetAgentActivity">;
|
|
94
94
|
export declare const listGrants: ((input: {
|
|
95
95
|
readonly id: string;
|
|
96
96
|
readonly limit?: number | null | undefined;
|
|
97
97
|
readonly cursor?: string | null | undefined;
|
|
98
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListGrants">) & {
|
|
98
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListGrants">) & {
|
|
99
99
|
readonly pages: (input: {
|
|
100
100
|
readonly id: string;
|
|
101
101
|
readonly limit?: number | null | undefined;
|
|
@@ -135,31 +135,31 @@ export declare const createGrant: (input: {
|
|
|
135
135
|
readonly userId: string;
|
|
136
136
|
readonly role: "admin" | "collaborator" | "viewer";
|
|
137
137
|
readonly sendMode?: "approval" | "send" | null | undefined;
|
|
138
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreateGrant">;
|
|
138
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateGrant">;
|
|
139
139
|
export declare const updateGrant: (input: {
|
|
140
140
|
readonly id: string;
|
|
141
141
|
readonly grantId: string;
|
|
142
142
|
readonly role?: "admin" | "collaborator" | "viewer" | null | undefined;
|
|
143
143
|
readonly sendMode?: "approval" | "send" | null | undefined;
|
|
144
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdateGrant">;
|
|
144
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateGrant">;
|
|
145
145
|
export declare const revokeGrant: (input: {
|
|
146
146
|
readonly id: string;
|
|
147
147
|
readonly grantId: string;
|
|
148
|
-
}) => import("./internal/operation").OperationResult<"mailboxesRevokeGrant">;
|
|
148
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRevokeGrant">;
|
|
149
149
|
export declare const listPolicies: (input: {
|
|
150
150
|
readonly id: string;
|
|
151
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListPolicies">;
|
|
151
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListPolicies">;
|
|
152
152
|
export declare const createPolicy: (input: {
|
|
153
153
|
readonly id: string;
|
|
154
154
|
readonly name: string;
|
|
155
155
|
readonly outcome: "deny" | "requireApproval";
|
|
156
156
|
readonly reason?: string | null | undefined;
|
|
157
157
|
readonly enabled?: boolean | null | undefined;
|
|
158
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreatePolicy">;
|
|
158
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreatePolicy">;
|
|
159
159
|
export declare const getPolicy: (input: {
|
|
160
160
|
readonly id: string;
|
|
161
161
|
readonly policyId: string;
|
|
162
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetPolicy">;
|
|
162
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetPolicy">;
|
|
163
163
|
export declare const updatePolicy: (input: {
|
|
164
164
|
readonly id: string;
|
|
165
165
|
readonly policyId: string;
|
|
@@ -167,33 +167,33 @@ export declare const updatePolicy: (input: {
|
|
|
167
167
|
readonly outcome?: "deny" | "requireApproval" | null | undefined;
|
|
168
168
|
readonly reason?: string | null | undefined;
|
|
169
169
|
readonly enabled?: boolean | null | undefined;
|
|
170
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdatePolicy">;
|
|
170
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdatePolicy">;
|
|
171
171
|
export declare const deletePolicy: (input: {
|
|
172
172
|
readonly id: string;
|
|
173
173
|
readonly policyId: string;
|
|
174
|
-
}) => import("./internal/operation").OperationResult<"mailboxesDeletePolicy">;
|
|
174
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeletePolicy">;
|
|
175
175
|
export declare const listFolders: (input: {
|
|
176
176
|
readonly id: string;
|
|
177
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListFolders">;
|
|
177
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListFolders">;
|
|
178
178
|
export declare const listLabels: (input: {
|
|
179
179
|
readonly id: string;
|
|
180
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListLabels">;
|
|
180
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListLabels">;
|
|
181
181
|
export declare const createLabel: (input: {
|
|
182
182
|
readonly id: string;
|
|
183
183
|
readonly slug: string;
|
|
184
184
|
readonly displayName: string;
|
|
185
185
|
readonly color?: "agent" | "billing" | "domain" | "important" | "neutral" | "routing" | null | undefined;
|
|
186
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreateLabel">;
|
|
186
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateLabel">;
|
|
187
187
|
export declare const updateLabel: (input: {
|
|
188
188
|
readonly id: string;
|
|
189
189
|
readonly labelId: string;
|
|
190
190
|
readonly displayName?: string | null | undefined;
|
|
191
191
|
readonly color?: "agent" | "billing" | "domain" | "important" | "neutral" | "routing" | null | undefined;
|
|
192
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdateLabel">;
|
|
192
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateLabel">;
|
|
193
193
|
export declare const deleteLabel: (input: {
|
|
194
194
|
readonly id: string;
|
|
195
195
|
readonly labelId: string;
|
|
196
|
-
}) => import("./internal/operation").OperationResult<"mailboxesDeleteLabel">;
|
|
196
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteLabel">;
|
|
197
197
|
export declare const listThreads: ((input: {
|
|
198
198
|
readonly id: string;
|
|
199
199
|
readonly limit?: number | null | undefined;
|
|
@@ -206,7 +206,7 @@ export declare const listThreads: ((input: {
|
|
|
206
206
|
readonly unread?: boolean | null | undefined;
|
|
207
207
|
readonly starred?: boolean | null | undefined;
|
|
208
208
|
readonly snoozed?: boolean | null | undefined;
|
|
209
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListThreads">) & {
|
|
209
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListThreads">) & {
|
|
210
210
|
readonly pages: (input: {
|
|
211
211
|
readonly id: string;
|
|
212
212
|
readonly limit?: number | null | undefined;
|
|
@@ -280,7 +280,7 @@ export declare const listThreads: ((input: {
|
|
|
280
280
|
export declare const getThread: (input: {
|
|
281
281
|
readonly id: string;
|
|
282
282
|
readonly threadId: string;
|
|
283
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetThread">;
|
|
283
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetThread">;
|
|
284
284
|
export declare const updateThread: (input: {
|
|
285
285
|
readonly id: string;
|
|
286
286
|
readonly threadId: string;
|
|
@@ -289,23 +289,23 @@ export declare const updateThread: (input: {
|
|
|
289
289
|
readonly read?: boolean | null | undefined;
|
|
290
290
|
readonly starred?: boolean | null | undefined;
|
|
291
291
|
readonly snoozedUntil?: string | null | undefined;
|
|
292
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdateThread">;
|
|
292
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateThread">;
|
|
293
293
|
export declare const addThreadLabels: (input: {
|
|
294
294
|
readonly id: string;
|
|
295
295
|
readonly threadId: string;
|
|
296
296
|
readonly labels: readonly string[];
|
|
297
|
-
}) => import("./internal/operation").OperationResult<"mailboxesAddThreadLabels">;
|
|
297
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesAddThreadLabels">;
|
|
298
298
|
export declare const removeThreadLabels: (input: {
|
|
299
299
|
readonly id: string;
|
|
300
300
|
readonly threadId: string;
|
|
301
301
|
readonly labels: readonly string[];
|
|
302
|
-
}) => import("./internal/operation").OperationResult<"mailboxesRemoveThreadLabels">;
|
|
302
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRemoveThreadLabels">;
|
|
303
303
|
export declare const listThreadMessages: ((input: {
|
|
304
304
|
readonly id: string;
|
|
305
305
|
readonly threadId: string;
|
|
306
306
|
readonly limit?: number | null | undefined;
|
|
307
307
|
readonly cursor?: string | null | undefined;
|
|
308
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListThreadMessages">) & {
|
|
308
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListThreadMessages">) & {
|
|
309
309
|
readonly pages: (input: {
|
|
310
310
|
readonly id: string;
|
|
311
311
|
readonly threadId: string;
|
|
@@ -371,7 +371,7 @@ export declare const getThreadContent: ((input: {
|
|
|
371
371
|
readonly threadId: string;
|
|
372
372
|
readonly limit?: number | null | undefined;
|
|
373
373
|
readonly cursor?: string | null | undefined;
|
|
374
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetThreadContent">) & {
|
|
374
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetThreadContent">) & {
|
|
375
375
|
readonly pages: (input: {
|
|
376
376
|
readonly id: string;
|
|
377
377
|
readonly threadId: string;
|
|
@@ -507,7 +507,7 @@ export declare const listThreadNotes: ((input: {
|
|
|
507
507
|
readonly threadId: string;
|
|
508
508
|
readonly limit?: number | null | undefined;
|
|
509
509
|
readonly cursor?: string | null | undefined;
|
|
510
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListThreadNotes">) & {
|
|
510
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListThreadNotes">) & {
|
|
511
511
|
readonly pages: (input: {
|
|
512
512
|
readonly id: string;
|
|
513
513
|
readonly threadId: string;
|
|
@@ -554,7 +554,7 @@ export declare const createNote: (input: {
|
|
|
554
554
|
readonly body: string;
|
|
555
555
|
readonly color?: string | null | undefined;
|
|
556
556
|
readonly pinned?: boolean | null | undefined;
|
|
557
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreateNote">;
|
|
557
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateNote">;
|
|
558
558
|
export declare const updateNote: (input: {
|
|
559
559
|
readonly id: string;
|
|
560
560
|
readonly threadId: string;
|
|
@@ -562,12 +562,12 @@ export declare const updateNote: (input: {
|
|
|
562
562
|
readonly body?: string | null | undefined;
|
|
563
563
|
readonly color?: string | null | undefined;
|
|
564
564
|
readonly pinned?: boolean | null | undefined;
|
|
565
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdateNote">;
|
|
565
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateNote">;
|
|
566
566
|
export declare const deleteNote: (input: {
|
|
567
567
|
readonly id: string;
|
|
568
568
|
readonly threadId: string;
|
|
569
569
|
readonly noteId: string;
|
|
570
|
-
}) => import("./internal/operation").OperationResult<"mailboxesDeleteNote">;
|
|
570
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteNote">;
|
|
571
571
|
export declare const sendMessage: (input: {
|
|
572
572
|
readonly id: string;
|
|
573
573
|
readonly channel?: "email" | null | undefined;
|
|
@@ -585,27 +585,25 @@ export declare const sendMessage: (input: {
|
|
|
585
585
|
readonly contentType: string;
|
|
586
586
|
readonly size: number;
|
|
587
587
|
}[] | null | undefined;
|
|
588
|
-
}
|
|
589
|
-
readonly idempotencyKey?: string | undefined;
|
|
590
|
-
}) => import("./internal/operation").OperationResult<"mailboxesSendMessage">;
|
|
588
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesSendMessage">;
|
|
591
589
|
export declare const getMessage: (input: {
|
|
592
590
|
readonly id: string;
|
|
593
591
|
readonly messageId: string;
|
|
594
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetMessage">;
|
|
592
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetMessage">;
|
|
595
593
|
export declare const getMessageRaw: (input: {
|
|
596
594
|
readonly id: string;
|
|
597
595
|
readonly messageId: string;
|
|
598
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetMessageRaw">;
|
|
596
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetMessageRaw">;
|
|
599
597
|
export declare const getMessageAttachment: (input: {
|
|
600
598
|
readonly id: string;
|
|
601
599
|
readonly messageId: string;
|
|
602
600
|
readonly attachmentId: string;
|
|
603
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetMessageAttachment">;
|
|
601
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetMessageAttachment">;
|
|
604
602
|
export declare const copyMessageAttachment: (input: {
|
|
605
603
|
readonly id: string;
|
|
606
604
|
readonly messageId: string;
|
|
607
605
|
readonly attachmentId: string;
|
|
608
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCopyMessageAttachment">;
|
|
606
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCopyMessageAttachment">;
|
|
609
607
|
export declare const reply: (input: {
|
|
610
608
|
readonly id: string;
|
|
611
609
|
readonly messageId: string;
|
|
@@ -621,9 +619,7 @@ export declare const reply: (input: {
|
|
|
621
619
|
readonly contentType: string;
|
|
622
620
|
readonly size: number;
|
|
623
621
|
}[] | null | undefined;
|
|
624
|
-
}
|
|
625
|
-
readonly idempotencyKey?: string | undefined;
|
|
626
|
-
}) => import("./internal/operation").OperationResult<"mailboxesReply">;
|
|
622
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesReply">;
|
|
627
623
|
export declare const replyAll: (input: {
|
|
628
624
|
readonly id: string;
|
|
629
625
|
readonly messageId: string;
|
|
@@ -639,9 +635,7 @@ export declare const replyAll: (input: {
|
|
|
639
635
|
readonly contentType: string;
|
|
640
636
|
readonly size: number;
|
|
641
637
|
}[] | null | undefined;
|
|
642
|
-
}
|
|
643
|
-
readonly idempotencyKey?: string | undefined;
|
|
644
|
-
}) => import("./internal/operation").OperationResult<"mailboxesReplyAll">;
|
|
638
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesReplyAll">;
|
|
645
639
|
export declare const forward: (input: {
|
|
646
640
|
readonly id: string;
|
|
647
641
|
readonly messageId: string;
|
|
@@ -657,16 +651,14 @@ export declare const forward: (input: {
|
|
|
657
651
|
readonly contentType: string;
|
|
658
652
|
readonly size: number;
|
|
659
653
|
}[] | null | undefined;
|
|
660
|
-
}
|
|
661
|
-
readonly idempotencyKey?: string | undefined;
|
|
662
|
-
}) => import("./internal/operation").OperationResult<"mailboxesForward">;
|
|
654
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesForward">;
|
|
663
655
|
export declare const listQuarantine: ((input: {
|
|
664
656
|
readonly id: string;
|
|
665
657
|
readonly limit?: number | null | undefined;
|
|
666
658
|
readonly cursor?: string | null | undefined;
|
|
667
659
|
readonly after?: string | null | undefined;
|
|
668
660
|
readonly before?: string | null | undefined;
|
|
669
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListQuarantine">) & {
|
|
661
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListQuarantine">) & {
|
|
670
662
|
readonly pages: (input: {
|
|
671
663
|
readonly id: string;
|
|
672
664
|
readonly limit?: number | null | undefined;
|
|
@@ -718,17 +710,17 @@ export declare const listQuarantine: ((input: {
|
|
|
718
710
|
export declare const releaseMessage: (input: {
|
|
719
711
|
readonly id: string;
|
|
720
712
|
readonly messageId: string;
|
|
721
|
-
}) => import("./internal/operation").OperationResult<"mailboxesReleaseMessage">;
|
|
713
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesReleaseMessage">;
|
|
722
714
|
export declare const discardMessage: (input: {
|
|
723
715
|
readonly id: string;
|
|
724
716
|
readonly messageId: string;
|
|
725
|
-
}) => import("./internal/operation").OperationResult<"mailboxesDiscardMessage">;
|
|
717
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDiscardMessage">;
|
|
726
718
|
export declare const listDrafts: ((input: {
|
|
727
719
|
readonly id: string;
|
|
728
720
|
readonly limit?: number | null | undefined;
|
|
729
721
|
readonly cursor?: string | null | undefined;
|
|
730
722
|
readonly threadId?: string | null | undefined;
|
|
731
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListDrafts">) & {
|
|
723
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListDrafts">) & {
|
|
732
724
|
readonly pages: (input: {
|
|
733
725
|
readonly id: string;
|
|
734
726
|
readonly limit?: number | null | undefined;
|
|
@@ -786,11 +778,11 @@ export declare const createDraft: (input: {
|
|
|
786
778
|
readonly size: number;
|
|
787
779
|
}[] | null | undefined;
|
|
788
780
|
readonly inReplyToMessageId?: string | null | undefined;
|
|
789
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCreateDraft">;
|
|
781
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCreateDraft">;
|
|
790
782
|
export declare const getDraft: (input: {
|
|
791
783
|
readonly id: string;
|
|
792
784
|
readonly draftId: string;
|
|
793
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetDraft">;
|
|
785
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetDraft">;
|
|
794
786
|
export declare const updateDraft: (input: {
|
|
795
787
|
readonly id: string;
|
|
796
788
|
readonly draftId: string;
|
|
@@ -808,17 +800,15 @@ export declare const updateDraft: (input: {
|
|
|
808
800
|
readonly contentType: string;
|
|
809
801
|
readonly size: number;
|
|
810
802
|
}[] | null | undefined;
|
|
811
|
-
}) => import("./internal/operation").OperationResult<"mailboxesUpdateDraft">;
|
|
803
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesUpdateDraft">;
|
|
812
804
|
export declare const deleteDraft: (input: {
|
|
813
805
|
readonly id: string;
|
|
814
806
|
readonly draftId: string;
|
|
815
|
-
}) => import("./internal/operation").OperationResult<"mailboxesDeleteDraft">;
|
|
807
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDeleteDraft">;
|
|
816
808
|
export declare const sendDraft: (input: {
|
|
817
809
|
readonly id: string;
|
|
818
810
|
readonly draftId: string;
|
|
819
|
-
}
|
|
820
|
-
readonly idempotencyKey?: string | undefined;
|
|
821
|
-
}) => import("./internal/operation").OperationResult<"mailboxesSendDraft">;
|
|
811
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesSendDraft">;
|
|
822
812
|
export declare const listActions: ((input: {
|
|
823
813
|
readonly id: string;
|
|
824
814
|
readonly limit?: number | null | undefined;
|
|
@@ -827,7 +817,7 @@ export declare const listActions: ((input: {
|
|
|
827
817
|
readonly state?: "accepted" | "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "completed" | "executed" | "executing" | "failed" | "notSent" | "policyDenied" | "proposed" | "queued" | "uncertain" | null | undefined;
|
|
828
818
|
readonly after?: string | null | undefined;
|
|
829
819
|
readonly before?: string | null | undefined;
|
|
830
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListActions">) & {
|
|
820
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListActions">) & {
|
|
831
821
|
readonly pages: (input: {
|
|
832
822
|
readonly id: string;
|
|
833
823
|
readonly limit?: number | null | undefined;
|
|
@@ -1179,31 +1169,31 @@ export declare const listActions: ((input: {
|
|
|
1179
1169
|
export declare const getAction: (input: {
|
|
1180
1170
|
readonly id: string;
|
|
1181
1171
|
readonly actionId: string;
|
|
1182
|
-
}) => import("./internal/operation").OperationResult<"mailboxesGetAction">;
|
|
1172
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesGetAction">;
|
|
1183
1173
|
export declare const cancelAction: (input: {
|
|
1184
1174
|
readonly id: string;
|
|
1185
1175
|
readonly actionId: string;
|
|
1186
|
-
}) => import("./internal/operation").OperationResult<"mailboxesCancelAction">;
|
|
1176
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesCancelAction">;
|
|
1187
1177
|
export declare const retryAction: (input: {
|
|
1188
1178
|
readonly id: string;
|
|
1189
1179
|
readonly actionId: string;
|
|
1190
|
-
}) => import("./internal/operation").OperationResult<"mailboxesRetryAction">;
|
|
1180
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesRetryAction">;
|
|
1191
1181
|
export declare const approveAction: (input: {
|
|
1192
1182
|
readonly id: string;
|
|
1193
1183
|
readonly actionId: string;
|
|
1194
|
-
}) => import("./internal/operation").OperationResult<"mailboxesApproveAction">;
|
|
1184
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesApproveAction">;
|
|
1195
1185
|
export declare const denyAction: (input: {
|
|
1196
1186
|
readonly id: string;
|
|
1197
1187
|
readonly actionId: string;
|
|
1198
1188
|
readonly reason: string;
|
|
1199
|
-
}) => import("./internal/operation").OperationResult<"mailboxesDenyAction">;
|
|
1189
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesDenyAction">;
|
|
1200
1190
|
export declare const listEvents: ((input: {
|
|
1201
1191
|
readonly id: string;
|
|
1202
1192
|
readonly limit?: number | null | undefined;
|
|
1203
1193
|
readonly cursor?: string | null | undefined;
|
|
1204
1194
|
readonly after?: string | null | undefined;
|
|
1205
1195
|
readonly before?: string | null | undefined;
|
|
1206
|
-
}) => import("./internal/operation").OperationResult<"mailboxesListEvents">) & {
|
|
1196
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mailboxesListEvents">) & {
|
|
1207
1197
|
readonly pages: (input: {
|
|
1208
1198
|
readonly id: string;
|
|
1209
1199
|
readonly limit?: number | null | undefined;
|
package/dist/effect/mailboxes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { MailboxEventStreamError } from "../mailbox-events.js";
|
|
|
3
3
|
import { forGroup } from "./internal/operation.js";
|
|
4
4
|
import { MailboxesGroup } from "./generated/mailboxes.js";
|
|
5
5
|
import { events } from "./internal/mailbox-events.js";
|
|
6
|
-
|
|
6
|
+
// src/effect/mailboxes.ts
|
|
7
7
|
var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
MailboxEventStreamError: () => MailboxEventStreamError,
|
|
9
9
|
addThreadLabels: () => addThreadLabels,
|
|
@@ -129,7 +129,6 @@ const retryAction = /* @__PURE__ */ make("mailboxesRetryAction");
|
|
|
129
129
|
const approveAction = /* @__PURE__ */ make("mailboxesApproveAction");
|
|
130
130
|
const denyAction = /* @__PURE__ */ make("mailboxesDenyAction");
|
|
131
131
|
const listEvents = /* @__PURE__ */ make("mailboxesListEvents");
|
|
132
|
-
//#endregion
|
|
133
132
|
export { MailboxEventStreamError, addThreadLabels, approveAction, cancelAction, copyMessageAttachment, create, createDraft, createEndpoint, createGrant, createLabel, createNote, createPolicy, deleteDraft, deleteLabel, deleteNote, deletePolicy, denyAction, discardMessage, events, forward, get, getAction, getAgentActivity, getDraft, getMessage, getMessageAttachment, getMessageRaw, getPolicy, getThread, getThreadContent, list, listActions, listDrafts, listEvents, listFolders, listGrants, listLabels, listPolicies, listQuarantine, listThreadMessages, listThreadNotes, listThreads, mailboxes_exports, pause, releaseMessage, remove, removeEndpoint, removeThreadLabels, reply, replyAll, resume, retryAction, revokeGrant, sendDraft, sendMessage, update, updateDraft, updateEndpoint, updateGrant, updateLabel, updateNote, updatePolicy, updateThread };
|
|
134
133
|
|
|
135
134
|
//# sourceMappingURL=mailboxes.js.map
|
package/dist/effect/media.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ export declare const create: (input: {
|
|
|
4
4
|
readonly sizeBytes: number;
|
|
5
5
|
readonly purpose: "attachment" | "avatar" | "review_evidence";
|
|
6
6
|
readonly checksumSha256?: string | null | undefined;
|
|
7
|
-
}) => import("./internal/operation").OperationResult<"mediaCreate">;
|
|
7
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaCreate">;
|
|
8
8
|
export declare const getById: (input: {
|
|
9
9
|
readonly id: string;
|
|
10
|
-
}) => import("./internal/operation").OperationResult<"mediaGetById">;
|
|
10
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaGetById">;
|
|
11
11
|
export declare const remove: (input: {
|
|
12
12
|
readonly id: string;
|
|
13
|
-
}) => import("./internal/operation").OperationResult<"mediaRemove">;
|
|
13
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaRemove">;
|
|
14
14
|
export declare const complete: (input: {
|
|
15
15
|
readonly id: string;
|
|
16
|
-
}) => import("./internal/operation").OperationResult<"mediaComplete">;
|
|
16
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaComplete">;
|
|
17
17
|
export declare const downloadUrl: (input: {
|
|
18
18
|
readonly id: string;
|
|
19
|
-
}) => import("./internal/operation").OperationResult<"mediaDownloadUrl">;
|
|
19
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"mediaDownloadUrl">;
|
package/dist/effect/media.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { MediaGroup } from "./generated/media.js";
|
|
4
|
-
|
|
4
|
+
// src/effect/media.ts
|
|
5
5
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
complete: () => complete,
|
|
7
7
|
create: () => create,
|
|
@@ -15,7 +15,6 @@ const getById = /* @__PURE__ */ make("mediaGetById");
|
|
|
15
15
|
const remove = /* @__PURE__ */ make("mediaRemove");
|
|
16
16
|
const complete = /* @__PURE__ */ make("mediaComplete");
|
|
17
17
|
const downloadUrl = /* @__PURE__ */ make("mediaDownloadUrl");
|
|
18
|
-
//#endregion
|
|
19
18
|
export { complete, create, downloadUrl, getById, media_exports, remove };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=media.js.map
|
|
@@ -12,7 +12,7 @@ export declare const list: ((input?: {
|
|
|
12
12
|
readonly namespaceId?: string | null | undefined;
|
|
13
13
|
readonly after?: string | null | undefined;
|
|
14
14
|
readonly before?: string | null | undefined;
|
|
15
|
-
} | undefined) => import("./internal/operation").OperationResult<"messagesList">) & {
|
|
15
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesList">) & {
|
|
16
16
|
readonly pages: (input?: {
|
|
17
17
|
readonly limit?: number | null | undefined;
|
|
18
18
|
readonly cursor?: string | null | undefined;
|
|
@@ -196,26 +196,26 @@ export declare const validateEmail: (input: {
|
|
|
196
196
|
readonly [x: string]: string | undefined;
|
|
197
197
|
} | null | undefined;
|
|
198
198
|
};
|
|
199
|
-
}) => import("./internal/operation").OperationResult<"messagesValidateEmail">;
|
|
199
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesValidateEmail">;
|
|
200
200
|
export declare const get: (input: {
|
|
201
201
|
readonly id: string;
|
|
202
|
-
}) => import("./internal/operation").OperationResult<"messagesGet">;
|
|
202
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGet">;
|
|
203
203
|
export declare const getEmail: (input: {
|
|
204
204
|
readonly id: string;
|
|
205
205
|
readonly includeDownloadUrls?: boolean | null | undefined;
|
|
206
206
|
readonly urlExpiresIn?: number | null | undefined;
|
|
207
|
-
}) => import("./internal/operation").OperationResult<"messagesGetEmail">;
|
|
207
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetEmail">;
|
|
208
208
|
export declare const remove: (input: {
|
|
209
209
|
readonly id: string;
|
|
210
|
-
}) => import("./internal/operation").OperationResult<"messagesRemove">;
|
|
210
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesRemove">;
|
|
211
211
|
export declare const getStatus: (input: {
|
|
212
212
|
readonly id: string;
|
|
213
|
-
}) => import("./internal/operation").OperationResult<"messagesGetStatus">;
|
|
213
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetStatus">;
|
|
214
214
|
export declare const getEvents: ((input: {
|
|
215
215
|
readonly id: string;
|
|
216
216
|
readonly limit?: number | null | undefined;
|
|
217
217
|
readonly cursor?: string | null | undefined;
|
|
218
|
-
}) => import("./internal/operation").OperationResult<"messagesGetEvents">) & {
|
|
218
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetEvents">) & {
|
|
219
219
|
readonly pages: (input: {
|
|
220
220
|
readonly id: string;
|
|
221
221
|
readonly limit?: number | null | undefined;
|
|
@@ -250,7 +250,7 @@ export declare const getEvents: ((input: {
|
|
|
250
250
|
};
|
|
251
251
|
export declare const listDeliveries: (input: {
|
|
252
252
|
readonly id: string;
|
|
253
|
-
}) => import("./internal/operation").OperationResult<"messagesListDeliveries">;
|
|
253
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesListDeliveries">;
|
|
254
254
|
export declare const getContent: (input: {
|
|
255
255
|
readonly id: string;
|
|
256
|
-
}) => import("./internal/operation").OperationResult<"messagesGetContent">;
|
|
256
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"messagesGetContent">;
|
package/dist/effect/messages.js
CHANGED
|
@@ -2,7 +2,7 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { MessagesGroup } from "./generated/messages.js";
|
|
4
4
|
import { sendMessage } from "./internal/send.js";
|
|
5
|
-
|
|
5
|
+
// src/effect/messages.ts
|
|
6
6
|
var messages_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
get: () => get,
|
|
8
8
|
getContent: () => getContent,
|
|
@@ -26,7 +26,6 @@ const getStatus = /* @__PURE__ */ make("messagesGetStatus");
|
|
|
26
26
|
const getEvents = /* @__PURE__ */ make("messagesGetEvents");
|
|
27
27
|
const listDeliveries = /* @__PURE__ */ make("messagesListDeliveries");
|
|
28
28
|
const getContent = /* @__PURE__ */ make("messagesGetContent");
|
|
29
|
-
//#endregion
|
|
30
29
|
export { get, getContent, getEmail, getEvents, getStatus, list, listDeliveries, messages_exports, remove, send, validateEmail };
|
|
31
30
|
|
|
32
31
|
//# sourceMappingURL=messages.js.map
|
|
@@ -3,7 +3,7 @@ export declare const list: ((input?: {
|
|
|
3
3
|
readonly cursor?: string | null | undefined;
|
|
4
4
|
readonly after?: string | null | undefined;
|
|
5
5
|
readonly before?: string | null | undefined;
|
|
6
|
-
} | undefined) => import("./internal/operation").OperationResult<"namespacesList">) & {
|
|
6
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
8
|
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | null | undefined;
|
|
@@ -33,32 +33,32 @@ export declare const create: (input: {
|
|
|
33
33
|
readonly metadata?: {
|
|
34
34
|
readonly [x: string]: string | undefined;
|
|
35
35
|
} | null | undefined;
|
|
36
|
-
}) => import("./internal/operation").OperationResult<"namespacesCreate">;
|
|
36
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesCreate">;
|
|
37
37
|
export declare const get: (input: {
|
|
38
38
|
readonly id: string;
|
|
39
|
-
}) => import("./internal/operation").OperationResult<"namespacesGet">;
|
|
39
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesGet">;
|
|
40
40
|
export declare const update: (input: {
|
|
41
41
|
readonly id: string;
|
|
42
42
|
readonly name?: string | null | undefined;
|
|
43
43
|
readonly metadata?: {
|
|
44
44
|
readonly [x: string]: string | null | undefined;
|
|
45
45
|
} | null | undefined;
|
|
46
|
-
}) => import("./internal/operation").OperationResult<"namespacesUpdate">;
|
|
46
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesUpdate">;
|
|
47
47
|
export declare const remove: (input: {
|
|
48
48
|
readonly id: string;
|
|
49
|
-
}) => import("./internal/operation").OperationResult<"namespacesRemove">;
|
|
49
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRemove">;
|
|
50
50
|
export declare const assignResource: (input: {
|
|
51
51
|
readonly id: string;
|
|
52
52
|
readonly type: "contact" | "domain" | "sender" | "template";
|
|
53
53
|
readonly resourceId: string;
|
|
54
|
-
}) => import("./internal/operation").OperationResult<"namespacesAssignResource">;
|
|
54
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesAssignResource">;
|
|
55
55
|
export declare const removeResource: (input: {
|
|
56
56
|
readonly id: string;
|
|
57
57
|
readonly type: "contact" | "domain" | "sender" | "template";
|
|
58
58
|
readonly resourceId: string;
|
|
59
|
-
}) => import("./internal/operation").OperationResult<"namespacesRemoveResource">;
|
|
59
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesRemoveResource">;
|
|
60
60
|
export declare const getUsage: (input: {
|
|
61
61
|
readonly id: string;
|
|
62
62
|
readonly after?: string | null | undefined;
|
|
63
63
|
readonly before?: string | null | undefined;
|
|
64
|
-
}) => import("./internal/operation").OperationResult<"namespacesGetUsage">;
|
|
64
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"namespacesGetUsage">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { forGroup } from "./internal/operation.js";
|
|
3
3
|
import { NamespacesGroup } from "./generated/namespaces.js";
|
|
4
|
-
|
|
4
|
+
// src/effect/namespaces.ts
|
|
5
5
|
var namespaces_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
assignResource: () => assignResource,
|
|
7
7
|
create: () => create,
|
|
@@ -21,7 +21,6 @@ const remove = /* @__PURE__ */ make("namespacesRemove");
|
|
|
21
21
|
const assignResource = /* @__PURE__ */ make("namespacesAssignResource");
|
|
22
22
|
const removeResource = /* @__PURE__ */ make("namespacesRemoveResource");
|
|
23
23
|
const getUsage = /* @__PURE__ */ make("namespacesGetUsage");
|
|
24
|
-
//#endregion
|
|
25
24
|
export { assignResource, create, get, getUsage, list, namespaces_exports, remove, removeResource, update };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=namespaces.js.map
|