samva 0.17.0 → 0.18.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 +5 -0
- package/README.md +16 -3
- package/dist/{rolldown-runtime-D7D4PA-g.js → _virtual/_rolldown/runtime.js} +1 -1
- package/dist/client/client/client.gen.js +174 -0
- package/dist/client/client/utils.gen.js +177 -0
- package/dist/client/client.gen.js +8 -0
- package/dist/client/core/auth.gen.js +12 -0
- package/dist/client/core/bodySerializer.gen.js +6 -0
- package/dist/client/core/params.gen.js +77 -0
- package/dist/client/core/pathSerializer.gen.js +82 -0
- package/dist/client/core/serverSentEvents.gen.js +96 -0
- package/dist/client/core/utils.gen.js +78 -0
- package/dist/{promises---Kbh-7z.js → client/sdk.gen.js} +4 -2293
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +23 -2
- package/dist/effect/api-keys.d.ts +12 -12
- package/dist/effect/api-keys.js +29 -2
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +19 -2
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +26 -3
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +35 -2
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.js +3 -3
- package/dist/effect/contact-groups.d.ts +14 -14
- package/dist/effect/contact-groups.js +31 -2
- package/dist/effect/contacts.d.ts +28 -28
- package/dist/effect/contacts.js +52 -2
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +37 -2
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +19 -2
- package/dist/effect/email.d.ts +75 -75
- package/dist/effect/email.js +140 -2
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +2 -2
- package/dist/effect/events.js +17 -3
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +29 -2
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +21 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +14 -3
- package/dist/{analytics-CaqPRsry.js → effect/generated/analytics.js} +4 -23
- package/dist/{api-keys-Ce1Y4_Ip.js → effect/generated/api-keys.js} +4 -29
- package/dist/{attachments-DYqVIraC.js → effect/generated/attachments.js} +3 -18
- package/dist/{brands-ZwuOGIWO.js → effect/generated/brands.js} +5 -25
- package/dist/{campaigns-DZlz1E9E.js → effect/generated/campaigns.js} +4 -35
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/{contact-groups-BLbFXnjq.js → effect/generated/contact-groups.js} +3 -30
- package/dist/{contacts-BbsoXXB4.js → effect/generated/contacts.js} +3 -81
- package/dist/{conversations-_sRHueML.js → effect/generated/conversations.js} +3 -36
- package/dist/{custom-fields-BHWbwlKn.js → effect/generated/custom-fields.js} +5 -19
- package/dist/{email-R0NAA9PW.js → effect/generated/email.js} +995 -1146
- package/dist/{events-CxbTUHYT.js → effect/generated/events.js} +3 -15
- package/dist/{extension-installations-CD94LPmk.js → effect/generated/extension-installations.js} +4 -29
- package/dist/{extensions-BKyNQLvu.js → effect/generated/extensions.js} +3 -20
- package/dist/{feedback-Bpa09JOS.js → effect/generated/feedback.js} +3 -12
- package/dist/{journeys-CARo_BJT.js → effect/generated/journeys.js} +3 -38
- package/dist/{mailboxes-BRDn7BIK.js → effect/generated/mailboxes.js} +793 -951
- package/dist/{media-VrrtNnft.js → effect/generated/media.js} +3 -3
- package/dist/effect/generated/messages.js +671 -0
- package/dist/{namespaces-CcvEbG-y.js → effect/generated/namespaces.js} +3 -20
- package/dist/{operations-CmB3FHwf.js → effect/generated/operations.js} +3 -16
- package/dist/{organizations-A-plufWc.js → effect/generated/organizations.js} +3 -24
- package/dist/{scheduled-messages-DkKZRRaN.js → effect/generated/scheduled-messages.js} +4 -21
- package/dist/effect/generated/shared.js +1053 -0
- package/dist/{subscriptions-DEXYtMXg.js → effect/generated/subscriptions.js} +3 -9
- package/dist/{templates-DZomxsG7.js → effect/generated/templates.js} +3 -78
- package/dist/{unsubscribe-groups-Iqk4Isf9.js → effect/generated/unsubscribe-groups.js} +5 -29
- package/dist/{webhooks-CPXuu8Xf.js → effect/generated/webhooks.js} +4 -34
- package/dist/{whoami-Ccz0jwlt.js → effect/generated/whoami.js} +5 -10
- package/dist/{categories-CA4XIQAb.js → effect/generated-metadata.js} +2 -94
- package/dist/effect/index.d.ts +1 -2
- package/dist/effect/index.js +32 -32
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +18 -18
- package/dist/effect/journeys.js +39 -2
- package/dist/effect/mailboxes.d.ts +191 -191
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -10
- package/dist/effect/messages.d.ts +14 -14
- package/dist/effect/messages.js +15 -14
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +21 -2
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +17 -2
- package/dist/effect/organizations.d.ts +7 -7
- package/dist/effect/organizations.js +25 -2
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/{runtime-P0l1_2-C.js → effect/runtime.js} +2 -2
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +21 -2
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +10 -2
- package/dist/effect/templates.d.ts +39 -39
- package/dist/effect/templates.js +80 -3
- package/dist/effect/unsubscribe-groups.d.ts +11 -11
- package/dist/effect/unsubscribe-groups.js +29 -2
- package/dist/effect/webhooks.d.ts +14 -14
- package/dist/effect/webhooks.js +35 -3
- package/dist/effect/whoami.d.ts +9 -9
- package/dist/effect/whoami.js +10 -2
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Bi1hDltp.js → inline-attachments.js} +13 -7
- package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +2 -2
- package/dist/{normalize-B79uJIeb.js → normalize.js} +2 -2
- package/dist/package.js +6 -0
- package/dist/promises/errors.gen.js +1340 -0
- package/dist/promises/index.js +288 -3
- package/dist/{operation-n_IYgNVK.js → service-map.js} +2 -148
- package/package.json +6 -2
- package/dist/client-DOzUrdTE.js +0 -1115
- package/dist/send-Bxc0XfGE.js +0 -722
package/dist/effect/mailboxes.js
CHANGED
|
@@ -1,3 +1,135 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { MailboxEventStreamError } from "../mailbox-events.js";
|
|
3
|
+
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { MailboxesGroup } from "./generated/mailboxes.js";
|
|
5
|
+
import { events } from "./internal/mailbox-events.js";
|
|
6
|
+
//#region src/effect/mailboxes.ts
|
|
7
|
+
var mailboxes_exports = /* @__PURE__ */ __exportAll({
|
|
8
|
+
MailboxEventStreamError: () => MailboxEventStreamError,
|
|
9
|
+
addThreadLabels: () => addThreadLabels,
|
|
10
|
+
approveAction: () => approveAction,
|
|
11
|
+
cancelAction: () => cancelAction,
|
|
12
|
+
copyMessageAttachment: () => copyMessageAttachment,
|
|
13
|
+
create: () => create,
|
|
14
|
+
createDraft: () => createDraft,
|
|
15
|
+
createEndpoint: () => createEndpoint,
|
|
16
|
+
createGrant: () => createGrant,
|
|
17
|
+
createLabel: () => createLabel,
|
|
18
|
+
createNote: () => createNote,
|
|
19
|
+
createPolicy: () => createPolicy,
|
|
20
|
+
deleteDraft: () => deleteDraft,
|
|
21
|
+
deleteLabel: () => deleteLabel,
|
|
22
|
+
deleteNote: () => deleteNote,
|
|
23
|
+
deletePolicy: () => deletePolicy,
|
|
24
|
+
denyAction: () => denyAction,
|
|
25
|
+
discardMessage: () => discardMessage,
|
|
26
|
+
events: () => events,
|
|
27
|
+
forward: () => forward,
|
|
28
|
+
get: () => get,
|
|
29
|
+
getAction: () => getAction,
|
|
30
|
+
getAgentActivity: () => getAgentActivity,
|
|
31
|
+
getDraft: () => getDraft,
|
|
32
|
+
getMessage: () => getMessage,
|
|
33
|
+
getMessageAttachment: () => getMessageAttachment,
|
|
34
|
+
getMessageRaw: () => getMessageRaw,
|
|
35
|
+
getPolicy: () => getPolicy,
|
|
36
|
+
getThread: () => getThread,
|
|
37
|
+
getThreadContent: () => getThreadContent,
|
|
38
|
+
list: () => list,
|
|
39
|
+
listActions: () => listActions,
|
|
40
|
+
listDrafts: () => listDrafts,
|
|
41
|
+
listEvents: () => listEvents,
|
|
42
|
+
listFolders: () => listFolders,
|
|
43
|
+
listGrants: () => listGrants,
|
|
44
|
+
listLabels: () => listLabels,
|
|
45
|
+
listPolicies: () => listPolicies,
|
|
46
|
+
listQuarantine: () => listQuarantine,
|
|
47
|
+
listThreadMessages: () => listThreadMessages,
|
|
48
|
+
listThreadNotes: () => listThreadNotes,
|
|
49
|
+
listThreads: () => listThreads,
|
|
50
|
+
pause: () => pause,
|
|
51
|
+
releaseMessage: () => releaseMessage,
|
|
52
|
+
remove: () => remove,
|
|
53
|
+
removeEndpoint: () => removeEndpoint,
|
|
54
|
+
removeThreadLabels: () => removeThreadLabels,
|
|
55
|
+
reply: () => reply,
|
|
56
|
+
replyAll: () => replyAll,
|
|
57
|
+
resume: () => resume,
|
|
58
|
+
retryAction: () => retryAction,
|
|
59
|
+
revokeGrant: () => revokeGrant,
|
|
60
|
+
sendDraft: () => sendDraft,
|
|
61
|
+
sendMessage: () => sendMessage,
|
|
62
|
+
update: () => update,
|
|
63
|
+
updateDraft: () => updateDraft,
|
|
64
|
+
updateEndpoint: () => updateEndpoint,
|
|
65
|
+
updateGrant: () => updateGrant,
|
|
66
|
+
updateLabel: () => updateLabel,
|
|
67
|
+
updateNote: () => updateNote,
|
|
68
|
+
updatePolicy: () => updatePolicy,
|
|
69
|
+
updateThread: () => updateThread
|
|
70
|
+
});
|
|
71
|
+
const make = /* @__PURE__ */ forGroup(MailboxesGroup);
|
|
72
|
+
const list = /* @__PURE__ */ make("mailboxesList");
|
|
73
|
+
const create = /* @__PURE__ */ make("mailboxesCreate");
|
|
74
|
+
const get = /* @__PURE__ */ make("mailboxesGet");
|
|
75
|
+
const update = /* @__PURE__ */ make("mailboxesUpdate");
|
|
76
|
+
const remove = /* @__PURE__ */ make("mailboxesRemove");
|
|
77
|
+
const createEndpoint = /* @__PURE__ */ make("mailboxesCreateEndpoint");
|
|
78
|
+
const updateEndpoint = /* @__PURE__ */ make("mailboxesUpdateEndpoint");
|
|
79
|
+
const removeEndpoint = /* @__PURE__ */ make("mailboxesRemoveEndpoint");
|
|
80
|
+
const pause = /* @__PURE__ */ make("mailboxesPause");
|
|
81
|
+
const resume = /* @__PURE__ */ make("mailboxesResume");
|
|
82
|
+
const getAgentActivity = /* @__PURE__ */ make("mailboxesGetAgentActivity");
|
|
83
|
+
const listGrants = /* @__PURE__ */ make("mailboxesListGrants");
|
|
84
|
+
const createGrant = /* @__PURE__ */ make("mailboxesCreateGrant");
|
|
85
|
+
const updateGrant = /* @__PURE__ */ make("mailboxesUpdateGrant");
|
|
86
|
+
const revokeGrant = /* @__PURE__ */ make("mailboxesRevokeGrant");
|
|
87
|
+
const listPolicies = /* @__PURE__ */ make("mailboxesListPolicies");
|
|
88
|
+
const createPolicy = /* @__PURE__ */ make("mailboxesCreatePolicy");
|
|
89
|
+
const getPolicy = /* @__PURE__ */ make("mailboxesGetPolicy");
|
|
90
|
+
const updatePolicy = /* @__PURE__ */ make("mailboxesUpdatePolicy");
|
|
91
|
+
const deletePolicy = /* @__PURE__ */ make("mailboxesDeletePolicy");
|
|
92
|
+
const listFolders = /* @__PURE__ */ make("mailboxesListFolders");
|
|
93
|
+
const listLabels = /* @__PURE__ */ make("mailboxesListLabels");
|
|
94
|
+
const createLabel = /* @__PURE__ */ make("mailboxesCreateLabel");
|
|
95
|
+
const updateLabel = /* @__PURE__ */ make("mailboxesUpdateLabel");
|
|
96
|
+
const deleteLabel = /* @__PURE__ */ make("mailboxesDeleteLabel");
|
|
97
|
+
const listThreads = /* @__PURE__ */ make("mailboxesListThreads");
|
|
98
|
+
const getThread = /* @__PURE__ */ make("mailboxesGetThread");
|
|
99
|
+
const updateThread = /* @__PURE__ */ make("mailboxesUpdateThread");
|
|
100
|
+
const addThreadLabels = /* @__PURE__ */ make("mailboxesAddThreadLabels");
|
|
101
|
+
const removeThreadLabels = /* @__PURE__ */ make("mailboxesRemoveThreadLabels");
|
|
102
|
+
const listThreadMessages = /* @__PURE__ */ make("mailboxesListThreadMessages");
|
|
103
|
+
const getThreadContent = /* @__PURE__ */ make("mailboxesGetThreadContent");
|
|
104
|
+
const listThreadNotes = /* @__PURE__ */ make("mailboxesListThreadNotes");
|
|
105
|
+
const createNote = /* @__PURE__ */ make("mailboxesCreateNote");
|
|
106
|
+
const updateNote = /* @__PURE__ */ make("mailboxesUpdateNote");
|
|
107
|
+
const deleteNote = /* @__PURE__ */ make("mailboxesDeleteNote");
|
|
108
|
+
const sendMessage = /* @__PURE__ */ make("mailboxesSendMessage");
|
|
109
|
+
const getMessage = /* @__PURE__ */ make("mailboxesGetMessage");
|
|
110
|
+
const getMessageRaw = /* @__PURE__ */ make("mailboxesGetMessageRaw");
|
|
111
|
+
const getMessageAttachment = /* @__PURE__ */ make("mailboxesGetMessageAttachment");
|
|
112
|
+
const copyMessageAttachment = /* @__PURE__ */ make("mailboxesCopyMessageAttachment");
|
|
113
|
+
const reply = /* @__PURE__ */ make("mailboxesReply");
|
|
114
|
+
const replyAll = /* @__PURE__ */ make("mailboxesReplyAll");
|
|
115
|
+
const forward = /* @__PURE__ */ make("mailboxesForward");
|
|
116
|
+
const listQuarantine = /* @__PURE__ */ make("mailboxesListQuarantine");
|
|
117
|
+
const releaseMessage = /* @__PURE__ */ make("mailboxesReleaseMessage");
|
|
118
|
+
const discardMessage = /* @__PURE__ */ make("mailboxesDiscardMessage");
|
|
119
|
+
const listDrafts = /* @__PURE__ */ make("mailboxesListDrafts");
|
|
120
|
+
const createDraft = /* @__PURE__ */ make("mailboxesCreateDraft");
|
|
121
|
+
const getDraft = /* @__PURE__ */ make("mailboxesGetDraft");
|
|
122
|
+
const updateDraft = /* @__PURE__ */ make("mailboxesUpdateDraft");
|
|
123
|
+
const deleteDraft = /* @__PURE__ */ make("mailboxesDeleteDraft");
|
|
124
|
+
const sendDraft = /* @__PURE__ */ make("mailboxesSendDraft");
|
|
125
|
+
const listActions = /* @__PURE__ */ make("mailboxesListActions");
|
|
126
|
+
const getAction = /* @__PURE__ */ make("mailboxesGetAction");
|
|
127
|
+
const cancelAction = /* @__PURE__ */ make("mailboxesCancelAction");
|
|
128
|
+
const retryAction = /* @__PURE__ */ make("mailboxesRetryAction");
|
|
129
|
+
const approveAction = /* @__PURE__ */ make("mailboxesApproveAction");
|
|
130
|
+
const denyAction = /* @__PURE__ */ make("mailboxesDenyAction");
|
|
131
|
+
const listEvents = /* @__PURE__ */ make("mailboxesListEvents");
|
|
132
|
+
//#endregion
|
|
133
|
+
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
|
+
|
|
135
|
+
//# sourceMappingURL=mailboxes.js.map
|
package/dist/effect/media.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const create: (input: {
|
|
|
27
27
|
};
|
|
28
28
|
readonly expiresAt: string;
|
|
29
29
|
};
|
|
30
|
-
}, import("./
|
|
30
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
31
31
|
export declare const getById: (input: {
|
|
32
32
|
readonly id: string;
|
|
33
33
|
}) => import("effect/Effect").Effect<{
|
|
@@ -45,12 +45,12 @@ export declare const getById: (input: {
|
|
|
45
45
|
readonly expiresAt: string | null;
|
|
46
46
|
readonly createdAt: string;
|
|
47
47
|
readonly confirmedAt: string | null;
|
|
48
|
-
}, import("./
|
|
48
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
49
49
|
export declare const remove: (input: {
|
|
50
50
|
readonly id: string;
|
|
51
51
|
}) => import("effect/Effect").Effect<{
|
|
52
52
|
readonly success: boolean;
|
|
53
|
-
}, import("./
|
|
53
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
54
54
|
export declare const complete: (input: {
|
|
55
55
|
readonly id: string;
|
|
56
56
|
}) => import("effect/Effect").Effect<{
|
|
@@ -71,10 +71,10 @@ export declare const complete: (input: {
|
|
|
71
71
|
readonly confirmedAt: string | null;
|
|
72
72
|
};
|
|
73
73
|
readonly downloadUrl: string;
|
|
74
|
-
}, import("./
|
|
74
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
75
75
|
export declare const downloadUrl: (input: {
|
|
76
76
|
readonly id: string;
|
|
77
77
|
}) => import("effect/Effect").Effect<{
|
|
78
78
|
readonly url: string;
|
|
79
79
|
readonly expiresAt: string;
|
|
80
|
-
}, import("./
|
|
80
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
package/dist/effect/media.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { MediaGroup } from "./generated/media.js";
|
|
4
4
|
//#region src/effect/media.ts
|
|
5
5
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
complete: () => complete,
|
|
@@ -9,13 +9,13 @@ var media_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
9
|
getById: () => getById,
|
|
10
10
|
remove: () => remove
|
|
11
11
|
});
|
|
12
|
-
const make = forGroup(MediaGroup);
|
|
13
|
-
const create = make("mediaCreate");
|
|
14
|
-
const getById = make("mediaGetById");
|
|
15
|
-
const remove = make("mediaRemove");
|
|
16
|
-
const complete = make("mediaComplete");
|
|
17
|
-
const downloadUrl = make("mediaDownloadUrl");
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(MediaGroup);
|
|
13
|
+
const create = /* @__PURE__ */ make("mediaCreate");
|
|
14
|
+
const getById = /* @__PURE__ */ make("mediaGetById");
|
|
15
|
+
const remove = /* @__PURE__ */ make("mediaRemove");
|
|
16
|
+
const complete = /* @__PURE__ */ make("mediaComplete");
|
|
17
|
+
const downloadUrl = /* @__PURE__ */ make("mediaDownloadUrl");
|
|
18
18
|
//#endregion
|
|
19
|
-
export { complete, create, downloadUrl, getById,
|
|
19
|
+
export { complete, create, downloadUrl, getById, media_exports, remove };
|
|
20
20
|
|
|
21
21
|
//# sourceMappingURL=media.js.map
|
|
@@ -24,7 +24,7 @@ export declare const list: ((input?: {
|
|
|
24
24
|
readonly createdAt: string;
|
|
25
25
|
}[];
|
|
26
26
|
readonly nextCursor: string | null;
|
|
27
|
-
}, import("./
|
|
27
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
28
28
|
readonly pages: (input?: {
|
|
29
29
|
readonly limit?: string | null | undefined;
|
|
30
30
|
readonly cursor?: string | null | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const list: ((input?: {
|
|
|
49
49
|
readonly createdAt: string;
|
|
50
50
|
}[];
|
|
51
51
|
readonly nextCursor: string | null;
|
|
52
|
-
}, import("./
|
|
52
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
53
53
|
readonly items: (input?: {
|
|
54
54
|
readonly limit?: string | null | undefined;
|
|
55
55
|
readonly cursor?: string | null | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const list: ((input?: {
|
|
|
71
71
|
readonly subject: string | null;
|
|
72
72
|
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
73
73
|
readonly createdAt: string;
|
|
74
|
-
}, import("./
|
|
74
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
75
75
|
};
|
|
76
76
|
export declare const send: (input: MessageSendInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
77
77
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -84,7 +84,7 @@ export declare const send: (input: MessageSendInput, options?: SendOptions | und
|
|
|
84
84
|
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
85
85
|
}[];
|
|
86
86
|
readonly createdAt: string;
|
|
87
|
-
}, import("./
|
|
87
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").DeliveryUnavailableError | import("./errors").ExternalServiceError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("..").MediaUploadError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
88
88
|
export declare const validateEmail: (input: {
|
|
89
89
|
readonly conversationId?: string | null | undefined;
|
|
90
90
|
readonly metadata?: {
|
|
@@ -208,7 +208,7 @@ export declare const validateEmail: (input: {
|
|
|
208
208
|
readonly hasHtml: boolean;
|
|
209
209
|
readonly hasText: boolean;
|
|
210
210
|
};
|
|
211
|
-
}, import("./
|
|
211
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
212
212
|
export declare const get: (input: {
|
|
213
213
|
readonly id: string;
|
|
214
214
|
}) => import("effect/Effect").Effect<{
|
|
@@ -269,7 +269,7 @@ export declare const get: (input: {
|
|
|
269
269
|
}[];
|
|
270
270
|
readonly createdAt: string;
|
|
271
271
|
readonly updatedAt: string;
|
|
272
|
-
}, import("./
|
|
272
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
273
273
|
export declare const getEmail: (input: {
|
|
274
274
|
readonly id: string;
|
|
275
275
|
readonly includeDownloadUrls?: string | null | undefined;
|
|
@@ -373,20 +373,20 @@ export declare const getEmail: (input: {
|
|
|
373
373
|
readonly createdAt: string;
|
|
374
374
|
readonly receivedAt: string | null;
|
|
375
375
|
readonly processedAt: string | null;
|
|
376
|
-
}, import("./
|
|
376
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
377
377
|
export declare const remove: (input: {
|
|
378
378
|
readonly id: string;
|
|
379
379
|
}) => import("effect/Effect").Effect<{
|
|
380
380
|
readonly success: boolean;
|
|
381
381
|
readonly message: string;
|
|
382
|
-
}, import("./
|
|
382
|
+
}, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
383
383
|
export declare const getStatus: (input: {
|
|
384
384
|
readonly id: string;
|
|
385
385
|
}) => import("effect/Effect").Effect<{
|
|
386
386
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
387
387
|
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
388
388
|
readonly updatedAt: string;
|
|
389
|
-
}, import("./
|
|
389
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
390
390
|
export declare const getEvents: ((input: {
|
|
391
391
|
readonly id: string;
|
|
392
392
|
readonly limit?: string | null | undefined;
|
|
@@ -403,7 +403,7 @@ export declare const getEvents: ((input: {
|
|
|
403
403
|
} | null;
|
|
404
404
|
}[];
|
|
405
405
|
readonly nextCursor: string | null;
|
|
406
|
-
}, import("./
|
|
406
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
407
407
|
readonly pages: (input: {
|
|
408
408
|
readonly id: string;
|
|
409
409
|
readonly limit?: string | null | undefined;
|
|
@@ -420,7 +420,7 @@ export declare const getEvents: ((input: {
|
|
|
420
420
|
} | null;
|
|
421
421
|
}[];
|
|
422
422
|
readonly nextCursor: string | null;
|
|
423
|
-
}, import("./
|
|
423
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
424
424
|
readonly items: (input: {
|
|
425
425
|
readonly id: string;
|
|
426
426
|
readonly limit?: string | null | undefined;
|
|
@@ -434,7 +434,7 @@ export declare const getEvents: ((input: {
|
|
|
434
434
|
readonly metadata?: {
|
|
435
435
|
readonly [x: string]: import("./generated").JsonValue;
|
|
436
436
|
} | null;
|
|
437
|
-
}, import("./
|
|
437
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
438
438
|
};
|
|
439
439
|
export declare const listDeliveries: (input: {
|
|
440
440
|
readonly id: string;
|
|
@@ -458,7 +458,7 @@ export declare const listDeliveries: (input: {
|
|
|
458
458
|
readonly createdAt: string;
|
|
459
459
|
readonly updatedAt: string;
|
|
460
460
|
}[];
|
|
461
|
-
}, import("./
|
|
461
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
462
462
|
export declare const getContent: (input: {
|
|
463
463
|
readonly id: string;
|
|
464
464
|
}) => import("effect/Effect").Effect<{
|
|
@@ -489,4 +489,4 @@ export declare const getContent: (input: {
|
|
|
489
489
|
readonly metadata?: {
|
|
490
490
|
readonly [x: string]: import("./generated").JsonValue;
|
|
491
491
|
} | null;
|
|
492
|
-
}, import("./
|
|
492
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
package/dist/effect/messages.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { MessagesGroup } from "./generated/messages.js";
|
|
4
|
+
import { sendMessage } from "./internal/send.js";
|
|
4
5
|
//#region src/effect/messages.ts
|
|
5
6
|
var messages_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
get: () => get,
|
|
@@ -14,18 +15,18 @@ var messages_exports = /* @__PURE__ */ __exportAll({
|
|
|
14
15
|
send: () => send,
|
|
15
16
|
validateEmail: () => validateEmail
|
|
16
17
|
});
|
|
17
|
-
const make = forGroup(MessagesGroup);
|
|
18
|
-
const list = make("messagesList");
|
|
18
|
+
const make = /* @__PURE__ */ forGroup(MessagesGroup);
|
|
19
|
+
const list = /* @__PURE__ */ make("messagesList");
|
|
19
20
|
const send = sendMessage;
|
|
20
|
-
const validateEmail = make("messagesValidateEmail");
|
|
21
|
-
const get = make("messagesGet");
|
|
22
|
-
const getEmail = make("messagesGetEmail");
|
|
23
|
-
const remove = make("messagesRemove");
|
|
24
|
-
const getStatus = make("messagesGetStatus");
|
|
25
|
-
const getEvents = make("messagesGetEvents");
|
|
26
|
-
const listDeliveries = make("messagesListDeliveries");
|
|
27
|
-
const getContent = make("messagesGetContent");
|
|
21
|
+
const validateEmail = /* @__PURE__ */ make("messagesValidateEmail");
|
|
22
|
+
const get = /* @__PURE__ */ make("messagesGet");
|
|
23
|
+
const getEmail = /* @__PURE__ */ make("messagesGetEmail");
|
|
24
|
+
const remove = /* @__PURE__ */ make("messagesRemove");
|
|
25
|
+
const getStatus = /* @__PURE__ */ make("messagesGetStatus");
|
|
26
|
+
const getEvents = /* @__PURE__ */ make("messagesGetEvents");
|
|
27
|
+
const listDeliveries = /* @__PURE__ */ make("messagesListDeliveries");
|
|
28
|
+
const getContent = /* @__PURE__ */ make("messagesGetContent");
|
|
28
29
|
//#endregion
|
|
29
|
-
export { get, getContent, getEmail, getEvents, getStatus, list, listDeliveries, remove, send,
|
|
30
|
+
export { get, getContent, getEmail, getEvents, getStatus, list, listDeliveries, messages_exports, remove, send, validateEmail };
|
|
30
31
|
|
|
31
32
|
//# sourceMappingURL=messages.js.map
|
|
@@ -10,7 +10,7 @@ export declare const list: ((input?: {
|
|
|
10
10
|
readonly createdAt: string;
|
|
11
11
|
}[];
|
|
12
12
|
readonly nextCursor: string | null;
|
|
13
|
-
}, import("./
|
|
13
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
14
14
|
readonly pages: (input?: {
|
|
15
15
|
readonly limit?: string | null | undefined;
|
|
16
16
|
readonly cursor?: string | null | undefined;
|
|
@@ -23,7 +23,7 @@ export declare const list: ((input?: {
|
|
|
23
23
|
readonly createdAt: string;
|
|
24
24
|
}[];
|
|
25
25
|
readonly nextCursor: string | null;
|
|
26
|
-
}, import("./
|
|
26
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
27
27
|
readonly items: (input?: {
|
|
28
28
|
readonly limit?: string | null | undefined;
|
|
29
29
|
readonly cursor?: string | null | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const list: ((input?: {
|
|
|
33
33
|
readonly id: string & import("effect/Brand").Brand<"NamespaceId">;
|
|
34
34
|
readonly name: string;
|
|
35
35
|
readonly createdAt: string;
|
|
36
|
-
}, import("./
|
|
36
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
37
37
|
};
|
|
38
38
|
export declare const create: (input: {
|
|
39
39
|
readonly name: string;
|
|
@@ -48,7 +48,7 @@ export declare const create: (input: {
|
|
|
48
48
|
readonly [x: string]: string;
|
|
49
49
|
};
|
|
50
50
|
readonly updatedAt: string;
|
|
51
|
-
}, import("./
|
|
51
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
52
52
|
export declare const get: (input: {
|
|
53
53
|
readonly id: string;
|
|
54
54
|
}) => import("effect/Effect").Effect<{
|
|
@@ -59,7 +59,7 @@ export declare const get: (input: {
|
|
|
59
59
|
readonly [x: string]: string;
|
|
60
60
|
};
|
|
61
61
|
readonly updatedAt: string;
|
|
62
|
-
}, import("./
|
|
62
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
63
63
|
export declare const update: (input: {
|
|
64
64
|
readonly id: string;
|
|
65
65
|
readonly name?: string | null | undefined;
|
|
@@ -74,9 +74,9 @@ export declare const update: (input: {
|
|
|
74
74
|
readonly [x: string]: string;
|
|
75
75
|
};
|
|
76
76
|
readonly updatedAt: string;
|
|
77
|
-
}, import("./
|
|
77
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
78
78
|
export declare const remove: (input: {
|
|
79
79
|
readonly id: string;
|
|
80
80
|
}) => import("effect/Effect").Effect<{
|
|
81
81
|
readonly success: boolean;
|
|
82
|
-
}, import("./
|
|
82
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { NamespacesGroup } from "./generated/namespaces.js";
|
|
4
|
+
//#region src/effect/namespaces.ts
|
|
5
|
+
var namespaces_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
create: () => create,
|
|
7
|
+
get: () => get,
|
|
8
|
+
list: () => list,
|
|
9
|
+
remove: () => remove,
|
|
10
|
+
update: () => update
|
|
11
|
+
});
|
|
12
|
+
const make = /* @__PURE__ */ forGroup(NamespacesGroup);
|
|
13
|
+
const list = /* @__PURE__ */ make("namespacesList");
|
|
14
|
+
const create = /* @__PURE__ */ make("namespacesCreate");
|
|
15
|
+
const get = /* @__PURE__ */ make("namespacesGet");
|
|
16
|
+
const update = /* @__PURE__ */ make("namespacesUpdate");
|
|
17
|
+
const remove = /* @__PURE__ */ make("namespacesRemove");
|
|
18
|
+
//#endregion
|
|
19
|
+
export { create, get, list, namespaces_exports, remove, update };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=namespaces.js.map
|
|
@@ -28,7 +28,7 @@ export declare const list: ((input?: {
|
|
|
28
28
|
readonly completedAt: string | null;
|
|
29
29
|
}[];
|
|
30
30
|
readonly nextCursor: string | null;
|
|
31
|
-
}, import("./
|
|
31
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
32
32
|
readonly pages: (input?: {
|
|
33
33
|
readonly limit?: string | null | undefined;
|
|
34
34
|
readonly cursor?: string | null | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const list: ((input?: {
|
|
|
59
59
|
readonly completedAt: string | null;
|
|
60
60
|
}[];
|
|
61
61
|
readonly nextCursor: string | null;
|
|
62
|
-
}, import("./
|
|
62
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
63
63
|
readonly items: (input?: {
|
|
64
64
|
readonly limit?: string | null | undefined;
|
|
65
65
|
readonly cursor?: string | null | undefined;
|
|
@@ -87,7 +87,7 @@ export declare const list: ((input?: {
|
|
|
87
87
|
readonly updatedAt: string;
|
|
88
88
|
readonly startedAt: string | null;
|
|
89
89
|
readonly completedAt: string | null;
|
|
90
|
-
}, import("./
|
|
90
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
91
91
|
};
|
|
92
92
|
export declare const get: (input: {
|
|
93
93
|
readonly id: string;
|
|
@@ -113,7 +113,7 @@ export declare const get: (input: {
|
|
|
113
113
|
readonly updatedAt: string;
|
|
114
114
|
readonly startedAt: string | null;
|
|
115
115
|
readonly completedAt: string | null;
|
|
116
|
-
}, import("./
|
|
116
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
117
117
|
export declare const retry: (input: {
|
|
118
118
|
readonly id: string;
|
|
119
119
|
}) => import("effect/Effect").Effect<{
|
|
@@ -150,4 +150,4 @@ export declare const retry: (input: {
|
|
|
150
150
|
readonly href: string;
|
|
151
151
|
};
|
|
152
152
|
};
|
|
153
|
-
}, import("./
|
|
153
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { OperationsGroup } from "./generated/operations.js";
|
|
4
|
+
//#region src/effect/operations.ts
|
|
5
|
+
var operations_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
get: () => get,
|
|
7
|
+
list: () => list,
|
|
8
|
+
retry: () => retry
|
|
9
|
+
});
|
|
10
|
+
const make = /* @__PURE__ */ forGroup(OperationsGroup);
|
|
11
|
+
const list = /* @__PURE__ */ make("operationsList");
|
|
12
|
+
const get = /* @__PURE__ */ make("operationsGet");
|
|
13
|
+
const retry = /* @__PURE__ */ make("operationsRetry");
|
|
14
|
+
//#endregion
|
|
15
|
+
export { get, list, operations_exports, retry };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=operations.js.map
|