samva 0.16.0 → 0.17.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 +4 -1
- package/README.md +44 -1
- package/dist/analytics-CaqPRsry.js +207 -0
- package/dist/api-keys-Ce1Y4_Ip.js +274 -0
- package/dist/attachments-DYqVIraC.js +140 -0
- package/dist/brands-ZwuOGIWO.js +175 -0
- package/dist/campaigns-DZlz1E9E.js +522 -0
- package/dist/categories-CA4XIQAb.js +1011 -0
- package/dist/client/sdk.gen.d.ts +174 -3
- package/dist/client/types.gen.d.ts +1126 -11
- package/dist/client-DOzUrdTE.js +1115 -0
- package/dist/contact-groups-BLbFXnjq.js +446 -0
- package/dist/contacts-BbsoXXB4.js +787 -0
- package/dist/conversations-_sRHueML.js +494 -0
- package/dist/custom-fields-BHWbwlKn.js +176 -0
- package/dist/effect/analytics.js +2 -21
- package/dist/effect/api-keys.d.ts +1 -1
- package/dist/effect/api-keys.js +2 -28
- package/dist/effect/attachments.js +2 -17
- package/dist/effect/brands.d.ts +1 -1
- package/dist/effect/brands.js +3 -24
- package/dist/effect/campaigns.js +2 -33
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/client.js +3 -4
- package/dist/effect/contact-groups.js +2 -29
- package/dist/effect/contacts.d.ts +52 -0
- package/dist/effect/contacts.js +2 -47
- package/dist/effect/conversations.js +2 -35
- package/dist/effect/custom-fields.js +2 -17
- package/dist/effect/email.d.ts +3 -2
- package/dist/effect/email.js +2 -137
- package/dist/effect/events.d.ts +121 -0
- package/dist/effect/events.js +3 -0
- package/dist/effect/extension-installations.js +2 -27
- package/dist/effect/extensions.js +2 -19
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +3 -13
- package/dist/effect/generated/analytics.d.ts +715 -0
- package/dist/effect/generated/api-keys.d.ts +1627 -0
- package/dist/effect/generated/attachments.d.ts +554 -0
- package/dist/effect/generated/brands.d.ts +1118 -0
- package/dist/effect/generated/campaigns.d.ts +3783 -0
- package/dist/effect/generated/contact-events.d.ts +158 -0
- package/dist/effect/generated/contact-groups.d.ts +1445 -0
- package/dist/effect/generated/contacts.d.ts +3789 -0
- package/dist/effect/generated/conversations.d.ts +2870 -0
- package/dist/effect/generated/custom-fields.d.ts +562 -0
- package/dist/effect/generated/email.d.ts +10622 -0
- package/dist/effect/generated/events.d.ts +463 -0
- package/dist/effect/generated/extension-installations.d.ts +1786 -0
- package/dist/effect/generated/extensions.d.ts +927 -0
- package/dist/effect/generated/feedback.d.ts +116 -0
- package/dist/effect/generated/index.d.ts +61 -0
- package/dist/effect/generated/journeys.d.ts +6135 -0
- package/dist/effect/generated/mailboxes.d.ts +13641 -0
- package/dist/effect/generated/media.d.ts +741 -0
- package/dist/effect/generated/messages.d.ts +2355 -0
- package/dist/effect/generated/namespaces.d.ts +654 -0
- package/dist/effect/generated/operations.d.ts +514 -0
- package/dist/effect/generated/organizations.d.ts +1111 -0
- package/dist/effect/generated/scheduled-messages.d.ts +1798 -0
- package/dist/effect/generated/shared.d.ts +3250 -0
- package/dist/effect/generated/subscriptions.d.ts +188 -0
- package/dist/effect/generated/templates.d.ts +8177 -0
- package/dist/effect/generated/unsubscribe-groups.d.ts +1153 -0
- package/dist/effect/generated/webhooks.d.ts +1697 -0
- package/dist/effect/generated/whoami.d.ts +291 -0
- package/dist/effect/generated-metadata.d.ts +1627 -0
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +29 -27
- package/dist/effect/internal/client.d.ts +10 -7
- package/dist/effect/internal/email-sender.d.ts +17 -0
- package/dist/effect/internal/operation.d.ts +12 -72
- package/dist/effect/internal/send.d.ts +60 -0
- package/dist/effect/journeys.d.ts +2153 -0
- package/dist/effect/journeys.js +2 -0
- package/dist/effect/mailboxes.d.ts +112 -112
- package/dist/effect/mailboxes.js +1 -1
- package/dist/effect/media.js +3 -1
- package/dist/effect/messages.d.ts +2 -2
- package/dist/effect/messages.js +3 -1
- package/dist/effect/namespaces.js +2 -19
- package/dist/effect/operations.js +2 -15
- package/dist/effect/organizations.js +2 -23
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.js +2 -19
- package/dist/effect/subscriptions.js +2 -9
- package/dist/effect/templates.d.ts +1 -1
- package/dist/effect/templates.js +3 -78
- package/dist/effect/unsubscribe-groups.js +2 -27
- package/dist/effect/webhooks.d.ts +9 -9
- package/dist/effect/webhooks.js +3 -33
- package/dist/effect/whoami.d.ts +8 -8
- package/dist/effect/whoami.js +2 -9
- package/dist/email-R0NAA9PW.js +2498 -0
- package/dist/events-CxbTUHYT.js +82 -0
- package/dist/extension-installations-CD94LPmk.js +407 -0
- package/dist/extensions-BKyNQLvu.js +220 -0
- package/dist/feedback-Bpa09JOS.js +52 -0
- package/dist/index.js +2 -2
- package/dist/{inline-attachments-Cegg6tTF.js → inline-attachments-Bi1hDltp.js} +2 -2
- package/dist/journeys-CARo_BJT.js +499 -0
- package/dist/mailboxes-BRDn7BIK.js +2470 -0
- package/dist/media-VrrtNnft.js +181 -0
- package/dist/namespaces-CcvEbG-y.js +152 -0
- package/dist/{operation-BTXjPrwf.js → operation-n_IYgNVK.js} +75 -90
- package/dist/operations-CmB3FHwf.js +93 -0
- package/dist/organizations-A-plufWc.js +252 -0
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-KrA2nSLg.js → promises---Kbh-7z.js} +467 -3
- package/dist/runtime-P0l1_2-C.js +25 -0
- package/dist/scheduled-messages-DkKZRRaN.js +207 -0
- package/dist/send-Bxc0XfGE.js +722 -0
- package/dist/service-map.d.ts +85 -0
- package/dist/subscriptions-DEXYtMXg.js +67 -0
- package/dist/templates-DZomxsG7.js +2289 -0
- package/dist/unsubscribe-groups-Iqk4Isf9.js +291 -0
- package/dist/webhooks-CPXuu8Xf.js +530 -0
- package/dist/whoami-Ccz0jwlt.js +59 -0
- package/package.json +13 -3
- package/dist/categories-DV51kr2H.js +0 -187
- package/dist/client-BMUew5Wp.js +0 -13794
- package/dist/effect/generated.d.ts +0 -64004
- package/dist/mailboxes-Thp5z0oX.js +0 -161
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as getVersion, c as listRuns, d as remove, f as replaceDraft, h as update, i as getRun, l as pause, m as stats, n as create, p as resume, r as get, s as list, t as archive, u as publish } from "../journeys-CARo_BJT.js";
|
|
2
|
+
export { archive, create, get, getRun, getVersion, list, listRuns, pause, publish, remove, replaceDraft, resume, stats, update };
|
|
@@ -2199,6 +2199,27 @@ export declare const listActions: ((input: {
|
|
|
2199
2199
|
readonly before?: string | null | undefined;
|
|
2200
2200
|
}) => import("effect/Effect").Effect<{
|
|
2201
2201
|
readonly items: readonly ({
|
|
2202
|
+
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2203
|
+
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2204
|
+
readonly proposedBy: {
|
|
2205
|
+
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2206
|
+
readonly id: string;
|
|
2207
|
+
readonly displayName?: string | null;
|
|
2208
|
+
};
|
|
2209
|
+
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2210
|
+
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2211
|
+
readonly decision: {
|
|
2212
|
+
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2213
|
+
readonly reason: string | null;
|
|
2214
|
+
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2215
|
+
readonly source: "grant" | "installation" | "policy" | null;
|
|
2216
|
+
readonly decidedAt: string;
|
|
2217
|
+
} | null;
|
|
2218
|
+
readonly createdAt: string;
|
|
2219
|
+
readonly updatedAt: string;
|
|
2220
|
+
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2221
|
+
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2222
|
+
} | {
|
|
2202
2223
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2203
2224
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2204
2225
|
readonly proposedBy: {
|
|
@@ -2311,27 +2332,6 @@ export declare const listActions: ((input: {
|
|
|
2311
2332
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
2312
2333
|
readonly inReplyToMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
2313
2334
|
} | null;
|
|
2314
|
-
} | {
|
|
2315
|
-
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2316
|
-
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2317
|
-
readonly proposedBy: {
|
|
2318
|
-
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2319
|
-
readonly id: string;
|
|
2320
|
-
readonly displayName?: string | null;
|
|
2321
|
-
};
|
|
2322
|
-
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2323
|
-
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2324
|
-
readonly decision: {
|
|
2325
|
-
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2326
|
-
readonly reason: string | null;
|
|
2327
|
-
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2328
|
-
readonly source: "grant" | "installation" | "policy" | null;
|
|
2329
|
-
readonly decidedAt: string;
|
|
2330
|
-
} | null;
|
|
2331
|
-
readonly createdAt: string;
|
|
2332
|
-
readonly updatedAt: string;
|
|
2333
|
-
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2334
|
-
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2335
2335
|
})[];
|
|
2336
2336
|
readonly nextCursor: string | null;
|
|
2337
2337
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
@@ -2345,6 +2345,27 @@ export declare const listActions: ((input: {
|
|
|
2345
2345
|
readonly before?: string | null | undefined;
|
|
2346
2346
|
}) => import("effect/Stream").Stream<{
|
|
2347
2347
|
readonly items: readonly ({
|
|
2348
|
+
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2349
|
+
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2350
|
+
readonly proposedBy: {
|
|
2351
|
+
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2352
|
+
readonly id: string;
|
|
2353
|
+
readonly displayName?: string | null;
|
|
2354
|
+
};
|
|
2355
|
+
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2356
|
+
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2357
|
+
readonly decision: {
|
|
2358
|
+
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2359
|
+
readonly reason: string | null;
|
|
2360
|
+
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2361
|
+
readonly source: "grant" | "installation" | "policy" | null;
|
|
2362
|
+
readonly decidedAt: string;
|
|
2363
|
+
} | null;
|
|
2364
|
+
readonly createdAt: string;
|
|
2365
|
+
readonly updatedAt: string;
|
|
2366
|
+
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2367
|
+
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2368
|
+
} | {
|
|
2348
2369
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2349
2370
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2350
2371
|
readonly proposedBy: {
|
|
@@ -2457,27 +2478,6 @@ export declare const listActions: ((input: {
|
|
|
2457
2478
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
2458
2479
|
readonly inReplyToMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
2459
2480
|
} | null;
|
|
2460
|
-
} | {
|
|
2461
|
-
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2462
|
-
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2463
|
-
readonly proposedBy: {
|
|
2464
|
-
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2465
|
-
readonly id: string;
|
|
2466
|
-
readonly displayName?: string | null;
|
|
2467
|
-
};
|
|
2468
|
-
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2469
|
-
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2470
|
-
readonly decision: {
|
|
2471
|
-
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2472
|
-
readonly reason: string | null;
|
|
2473
|
-
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2474
|
-
readonly source: "grant" | "installation" | "policy" | null;
|
|
2475
|
-
readonly decidedAt: string;
|
|
2476
|
-
} | null;
|
|
2477
|
-
readonly createdAt: string;
|
|
2478
|
-
readonly updatedAt: string;
|
|
2479
|
-
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2480
|
-
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2481
2481
|
})[];
|
|
2482
2482
|
readonly nextCursor: string | null;
|
|
2483
2483
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
@@ -2490,6 +2490,27 @@ export declare const listActions: ((input: {
|
|
|
2490
2490
|
readonly after?: string | null | undefined;
|
|
2491
2491
|
readonly before?: string | null | undefined;
|
|
2492
2492
|
}) => import("effect/Stream").Stream<{
|
|
2493
|
+
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2494
|
+
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2495
|
+
readonly proposedBy: {
|
|
2496
|
+
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2497
|
+
readonly id: string;
|
|
2498
|
+
readonly displayName?: string | null;
|
|
2499
|
+
};
|
|
2500
|
+
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2501
|
+
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2502
|
+
readonly decision: {
|
|
2503
|
+
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2504
|
+
readonly reason: string | null;
|
|
2505
|
+
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2506
|
+
readonly source: "grant" | "installation" | "policy" | null;
|
|
2507
|
+
readonly decidedAt: string;
|
|
2508
|
+
} | null;
|
|
2509
|
+
readonly createdAt: string;
|
|
2510
|
+
readonly updatedAt: string;
|
|
2511
|
+
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2512
|
+
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2513
|
+
} | {
|
|
2493
2514
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2494
2515
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2495
2516
|
readonly proposedBy: {
|
|
@@ -2602,33 +2623,33 @@ export declare const listActions: ((input: {
|
|
|
2602
2623
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
2603
2624
|
readonly inReplyToMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
2604
2625
|
} | null;
|
|
2605
|
-
} | {
|
|
2606
|
-
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2607
|
-
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2608
|
-
readonly proposedBy: {
|
|
2609
|
-
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2610
|
-
readonly id: string;
|
|
2611
|
-
readonly displayName?: string | null;
|
|
2612
|
-
};
|
|
2613
|
-
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2614
|
-
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2615
|
-
readonly decision: {
|
|
2616
|
-
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2617
|
-
readonly reason: string | null;
|
|
2618
|
-
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2619
|
-
readonly source: "grant" | "installation" | "policy" | null;
|
|
2620
|
-
readonly decidedAt: string;
|
|
2621
|
-
} | null;
|
|
2622
|
-
readonly createdAt: string;
|
|
2623
|
-
readonly updatedAt: string;
|
|
2624
|
-
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2625
|
-
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2626
2626
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
2627
2627
|
};
|
|
2628
2628
|
export declare const getAction: (input: {
|
|
2629
2629
|
readonly id: string;
|
|
2630
2630
|
readonly actionId: string;
|
|
2631
2631
|
}) => import("effect/Effect").Effect<{
|
|
2632
|
+
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2633
|
+
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2634
|
+
readonly proposedBy: {
|
|
2635
|
+
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2636
|
+
readonly id: string;
|
|
2637
|
+
readonly displayName?: string | null;
|
|
2638
|
+
};
|
|
2639
|
+
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2640
|
+
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2641
|
+
readonly decision: {
|
|
2642
|
+
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2643
|
+
readonly reason: string | null;
|
|
2644
|
+
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2645
|
+
readonly source: "grant" | "installation" | "policy" | null;
|
|
2646
|
+
readonly decidedAt: string;
|
|
2647
|
+
} | null;
|
|
2648
|
+
readonly createdAt: string;
|
|
2649
|
+
readonly updatedAt: string;
|
|
2650
|
+
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2651
|
+
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2652
|
+
} | {
|
|
2632
2653
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2633
2654
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2634
2655
|
readonly proposedBy: {
|
|
@@ -2741,27 +2762,6 @@ export declare const getAction: (input: {
|
|
|
2741
2762
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
2742
2763
|
readonly inReplyToMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
2743
2764
|
} | null;
|
|
2744
|
-
} | {
|
|
2745
|
-
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
2746
|
-
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
2747
|
-
readonly proposedBy: {
|
|
2748
|
-
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
2749
|
-
readonly id: string;
|
|
2750
|
-
readonly displayName?: string | null;
|
|
2751
|
-
};
|
|
2752
|
-
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
2753
|
-
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
2754
|
-
readonly decision: {
|
|
2755
|
-
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
2756
|
-
readonly reason: string | null;
|
|
2757
|
-
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
2758
|
-
readonly source: "grant" | "installation" | "policy" | null;
|
|
2759
|
-
readonly decidedAt: string;
|
|
2760
|
-
} | null;
|
|
2761
|
-
readonly createdAt: string;
|
|
2762
|
-
readonly updatedAt: string;
|
|
2763
|
-
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2764
|
-
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2765
2765
|
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
2766
2766
|
export declare const cancelAction: (input: {
|
|
2767
2767
|
readonly id: string;
|
|
@@ -3047,6 +3047,27 @@ export declare const approveAction: (input: {
|
|
|
3047
3047
|
readonly id: string;
|
|
3048
3048
|
readonly actionId: string;
|
|
3049
3049
|
}) => import("effect/Effect").Effect<{
|
|
3050
|
+
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
3051
|
+
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
3052
|
+
readonly proposedBy: {
|
|
3053
|
+
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
3054
|
+
readonly id: string;
|
|
3055
|
+
readonly displayName?: string | null;
|
|
3056
|
+
};
|
|
3057
|
+
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
3058
|
+
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
3059
|
+
readonly decision: {
|
|
3060
|
+
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
3061
|
+
readonly reason: string | null;
|
|
3062
|
+
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
3063
|
+
readonly source: "grant" | "installation" | "policy" | null;
|
|
3064
|
+
readonly decidedAt: string;
|
|
3065
|
+
} | null;
|
|
3066
|
+
readonly createdAt: string;
|
|
3067
|
+
readonly updatedAt: string;
|
|
3068
|
+
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
3069
|
+
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
3070
|
+
} | {
|
|
3050
3071
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
3051
3072
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
3052
3073
|
readonly proposedBy: {
|
|
@@ -3159,7 +3180,12 @@ export declare const approveAction: (input: {
|
|
|
3159
3180
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
3160
3181
|
readonly inReplyToMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
3161
3182
|
} | null;
|
|
3162
|
-
} |
|
|
3183
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").MailboxChannelUnsupportedError | import("./generated").MailboxSendConflictError | import("./generated").MailboxSendRefusedError | import("./generated").OnboardingReviewRequiredError | import("./generated").PaymentRequiredError | import("./generated").RateLimitedError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").SenderNotReadyError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
3184
|
+
export declare const denyAction: (input: {
|
|
3185
|
+
readonly id: string;
|
|
3186
|
+
readonly actionId: string;
|
|
3187
|
+
readonly reason: string;
|
|
3188
|
+
}) => import("effect/Effect").Effect<{
|
|
3163
3189
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
3164
3190
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
3165
3191
|
readonly proposedBy: {
|
|
@@ -3180,12 +3206,7 @@ export declare const approveAction: (input: {
|
|
|
3180
3206
|
readonly updatedAt: string;
|
|
3181
3207
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
3182
3208
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
3183
|
-
}
|
|
3184
|
-
export declare const denyAction: (input: {
|
|
3185
|
-
readonly id: string;
|
|
3186
|
-
readonly actionId: string;
|
|
3187
|
-
readonly reason: string;
|
|
3188
|
-
}) => import("effect/Effect").Effect<{
|
|
3209
|
+
} | {
|
|
3189
3210
|
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
3190
3211
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
3191
3212
|
readonly proposedBy: {
|
|
@@ -3298,27 +3319,6 @@ export declare const denyAction: (input: {
|
|
|
3298
3319
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
3299
3320
|
readonly inReplyToMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
3300
3321
|
} | null;
|
|
3301
|
-
} | {
|
|
3302
|
-
readonly id: string & import("effect/Brand").Brand<"MailboxActionId">;
|
|
3303
|
-
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
3304
|
-
readonly proposedBy: {
|
|
3305
|
-
readonly kind: "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system" | "user";
|
|
3306
|
-
readonly id: string;
|
|
3307
|
-
readonly displayName?: string | null;
|
|
3308
|
-
};
|
|
3309
|
-
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
3310
|
-
readonly draftId: (string & import("effect/Brand").Brand<"MailboxDraftId">) | null;
|
|
3311
|
-
readonly decision: {
|
|
3312
|
-
readonly outcome: "allow" | "deny" | "requireApproval";
|
|
3313
|
-
readonly reason: string | null;
|
|
3314
|
-
readonly policyId: (string & import("effect/Brand").Brand<"MailboxPolicyId">) | null;
|
|
3315
|
-
readonly source: "grant" | "installation" | "policy" | null;
|
|
3316
|
-
readonly decidedAt: string;
|
|
3317
|
-
} | null;
|
|
3318
|
-
readonly createdAt: string;
|
|
3319
|
-
readonly updatedAt: string;
|
|
3320
|
-
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
3321
|
-
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
3322
3322
|
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").MailboxSendConflictError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
3323
3323
|
export declare const listEvents: ((input: {
|
|
3324
3324
|
readonly id: string;
|
package/dist/effect/mailboxes.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as MailboxEventStreamError } from "../mailbox-events-VKR4f3qq.js";
|
|
2
|
-
import { $ as sendMessage, A as listActions, B as listThreads, C as getMessage, D as getThread, E as getPolicy, F as listLabels, G as removeEndpoint, H as pause, I as listPolicies, J as replyAll, K as removeThreadLabels, L as listQuarantine, M as listEvents, N as listFolders, O as getThreadContent, P as listGrants, Q as sendDraft, R as listThreadMessages, S as getDraft, T as getMessageRaw, U as releaseMessage, W as remove, X as retryAction, Y as resume, Z as revokeGrant, _ as discardMessage, a as create, at as updateNote, b as getAction, c as createGrant, ct as events, d as createPolicy, et as update, f as deleteDraft, g as denyAction, h as deletePolicy, i as copyMessageAttachment, it as updateLabel, j as listDrafts, k as list, l as createLabel, m as deleteNote, n as approveAction, nt as updateEndpoint, o as createDraft, ot as updatePolicy, p as deleteLabel, q as reply, r as cancelAction, rt as updateGrant, s as createEndpoint, st as updateThread, t as addThreadLabels, tt as updateDraft, u as createNote, v as forward, w as getMessageAttachment, x as getAgentActivity, y as get, z as listThreadNotes } from "../mailboxes-
|
|
2
|
+
import { $ as sendMessage, A as listActions, B as listThreads, C as getMessage, D as getThread, E as getPolicy, F as listLabels, G as removeEndpoint, H as pause, I as listPolicies, J as replyAll, K as removeThreadLabels, L as listQuarantine, M as listEvents, N as listFolders, O as getThreadContent, P as listGrants, Q as sendDraft, R as listThreadMessages, S as getDraft, T as getMessageRaw, U as releaseMessage, W as remove, X as retryAction, Y as resume, Z as revokeGrant, _ as discardMessage, a as create, at as updateNote, b as getAction, c as createGrant, ct as events, d as createPolicy, et as update, f as deleteDraft, g as denyAction, h as deletePolicy, i as copyMessageAttachment, it as updateLabel, j as listDrafts, k as list, l as createLabel, m as deleteNote, n as approveAction, nt as updateEndpoint, o as createDraft, ot as updatePolicy, p as deleteLabel, q as reply, r as cancelAction, rt as updateGrant, s as createEndpoint, st as updateThread, t as addThreadLabels, tt as updateDraft, u as createNote, v as forward, w as getMessageAttachment, x as getAgentActivity, y as get, z as listThreadNotes } from "../mailboxes-BRDn7BIK.js";
|
|
3
3
|
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, pause, releaseMessage, remove, removeEndpoint, removeThreadLabels, reply, replyAll, resume, retryAction, revokeGrant, sendDraft, sendMessage, update, updateDraft, updateEndpoint, updateGrant, updateLabel, updateNote, updatePolicy, updateThread };
|
package/dist/effect/media.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as
|
|
2
|
+
import { n as forGroup } from "../operation-n_IYgNVK.js";
|
|
3
|
+
import { t as MediaGroup } from "../media-VrrtNnft.js";
|
|
3
4
|
//#region src/effect/media.ts
|
|
4
5
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
5
6
|
complete: () => complete,
|
|
@@ -8,6 +9,7 @@ var media_exports = /* @__PURE__ */ __exportAll({
|
|
|
8
9
|
getById: () => getById,
|
|
9
10
|
remove: () => remove
|
|
10
11
|
});
|
|
12
|
+
const make = forGroup(MediaGroup);
|
|
11
13
|
const create = make("mediaCreate");
|
|
12
14
|
const getById = make("mediaGetById");
|
|
13
15
|
const remove = make("mediaRemove");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MessageSendInput, type SendOptions } from "./internal/
|
|
1
|
+
import { type MessageSendInput, type SendOptions } from "./internal/send";
|
|
2
2
|
export type { MessageSendInput, SendOptions };
|
|
3
3
|
export declare const list: ((input?: {
|
|
4
4
|
readonly limit?: string | null | undefined;
|
|
@@ -243,7 +243,7 @@ export declare const get: (input: {
|
|
|
243
243
|
readonly isTest: boolean;
|
|
244
244
|
readonly scheduledAt: string | null;
|
|
245
245
|
readonly submission: {
|
|
246
|
-
readonly origin: "campaign" | "direct" | "forwarding" | "mailbox" | "scheduled";
|
|
246
|
+
readonly origin: "campaign" | "direct" | "forwarding" | "journey" | "mailbox" | "scheduled";
|
|
247
247
|
readonly transport: "http" | null;
|
|
248
248
|
readonly credential: {
|
|
249
249
|
readonly kind: "api_key";
|
package/dist/effect/messages.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import {
|
|
2
|
+
import { n as forGroup } from "../operation-n_IYgNVK.js";
|
|
3
|
+
import { n as sendMessage, r as MessagesGroup } from "../send-Bxc0XfGE.js";
|
|
3
4
|
//#region src/effect/messages.ts
|
|
4
5
|
var messages_exports = /* @__PURE__ */ __exportAll({
|
|
5
6
|
get: () => get,
|
|
@@ -13,6 +14,7 @@ var messages_exports = /* @__PURE__ */ __exportAll({
|
|
|
13
14
|
send: () => send,
|
|
14
15
|
validateEmail: () => validateEmail
|
|
15
16
|
});
|
|
17
|
+
const make = forGroup(MessagesGroup);
|
|
16
18
|
const list = make("messagesList");
|
|
17
19
|
const send = sendMessage;
|
|
18
20
|
const validateEmail = make("messagesValidateEmail");
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/effect/namespaces.ts
|
|
4
|
-
var namespaces_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
create: () => create,
|
|
6
|
-
get: () => get,
|
|
7
|
-
list: () => list,
|
|
8
|
-
remove: () => remove,
|
|
9
|
-
update: () => update
|
|
10
|
-
});
|
|
11
|
-
const list = make("namespacesList");
|
|
12
|
-
const create = make("namespacesCreate");
|
|
13
|
-
const get = make("namespacesGet");
|
|
14
|
-
const update = make("namespacesUpdate");
|
|
15
|
-
const remove = make("namespacesRemove");
|
|
16
|
-
//#endregion
|
|
17
|
-
export { create, get, list, remove, namespaces_exports as t, update };
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=namespaces.js.map
|
|
1
|
+
import { a as remove, n as get, o as update, r as list, t as create } from "../namespaces-CcvEbG-y.js";
|
|
2
|
+
export { create, get, list, remove, update };
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/effect/operations.ts
|
|
4
|
-
var operations_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
get: () => get,
|
|
6
|
-
list: () => list,
|
|
7
|
-
retry: () => retry
|
|
8
|
-
});
|
|
9
|
-
const list = make("operationsList");
|
|
10
|
-
const get = make("operationsGet");
|
|
11
|
-
const retry = make("operationsRetry");
|
|
12
|
-
//#endregion
|
|
13
|
-
export { get, list, retry, operations_exports as t };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=operations.js.map
|
|
1
|
+
import { i as retry, n as list, t as get } from "../operations-CmB3FHwf.js";
|
|
2
|
+
export { get, list, retry };
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/effect/organizations.ts
|
|
4
|
-
var organizations_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
create: () => create,
|
|
6
|
-
delete: () => deleteOrganization,
|
|
7
|
-
get: () => get,
|
|
8
|
-
getProfile: () => getProfile,
|
|
9
|
-
getTrustTier: () => getTrustTier,
|
|
10
|
-
getUsage: () => getUsage,
|
|
11
|
-
update: () => update
|
|
12
|
-
});
|
|
13
|
-
const create = make("organizationsCreate");
|
|
14
|
-
const get = make("organizationsGet");
|
|
15
|
-
const getProfile = make("organizationsGetProfile");
|
|
16
|
-
const getTrustTier = make("organizationsGetTrustTier");
|
|
17
|
-
const update = make("organizationsUpdate");
|
|
18
|
-
const getUsage = make("organizationsGetUsage");
|
|
19
|
-
const deleteOrganization = make("organizationsDelete");
|
|
20
|
-
//#endregion
|
|
21
|
-
export { create, deleteOrganization as delete, get, getProfile, getTrustTier, getUsage, organizations_exports as t, update };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=organizations.js.map
|
|
1
|
+
import { a as getTrustTier, c as update, i as getProfile, n as deleteOrganization, o as getUsage, r as get, t as create } from "../organizations-A-plufWc.js";
|
|
2
|
+
export { create, deleteOrganization as delete, get, getProfile, getTrustTier, getUsage, update };
|
package/dist/effect/retry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { h as isRetryable } from "../categories-
|
|
2
|
+
import { h as isRetryable } from "../categories-CA4XIQAb.js";
|
|
3
3
|
import { Context, Duration, Effect, Layer, Option, Random, Schedule } from "effect";
|
|
4
4
|
import * as Predicate$1 from "effect/Predicate";
|
|
5
5
|
//#region src/effect/retry.ts
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/effect/scheduled-messages.ts
|
|
4
|
-
var scheduled_messages_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
cancel: () => cancel,
|
|
6
|
-
create: () => create,
|
|
7
|
-
get: () => get,
|
|
8
|
-
list: () => list,
|
|
9
|
-
resume: () => resume
|
|
10
|
-
});
|
|
11
|
-
const list = make("scheduledMessagesList");
|
|
12
|
-
const create = make("scheduledMessagesCreate");
|
|
13
|
-
const get = make("scheduledMessagesGet");
|
|
14
|
-
const cancel = make("scheduledMessagesCancel");
|
|
15
|
-
const resume = make("scheduledMessagesResume");
|
|
16
|
-
//#endregion
|
|
17
|
-
export { cancel, create, get, list, resume, scheduled_messages_exports as t };
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=scheduled-messages.js.map
|
|
1
|
+
import { a as resume, i as list, n as create, r as get, t as cancel } from "../scheduled-messages-DkKZRRaN.js";
|
|
2
|
+
export { cancel, create, get, list, resume };
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/effect/subscriptions.ts
|
|
4
|
-
var subscriptions_exports = /* @__PURE__ */ __exportAll({ subscribe: () => subscribe });
|
|
5
|
-
const subscribe = make("subscriptionsSubscribe");
|
|
6
|
-
//#endregion
|
|
7
|
-
export { subscribe, subscriptions_exports as t };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=subscriptions.js.map
|
|
1
|
+
import { t as subscribe } from "../subscriptions-DEXYtMXg.js";
|
|
2
|
+
export { subscribe };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CreateTemplatePayload as CreatePayload, UpdateTemplatePayload as UpdatePayload, } from "./generated";
|
|
1
|
+
export { CreateTemplatePayload as CreatePayload, UpdateTemplatePayload as UpdatePayload, } from "./generated/shared";
|
|
2
2
|
export declare const list: ((input?: {
|
|
3
3
|
readonly limit?: string | null | undefined;
|
|
4
4
|
readonly cursor?: string | null | undefined;
|
package/dist/effect/templates.js
CHANGED
|
@@ -1,78 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
//#region src/effect/templates.ts
|
|
5
|
-
var templates_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
-
CreatePayload: () => CreateTemplatePayload,
|
|
7
|
-
UpdatePayload: () => UpdateTemplatePayload,
|
|
8
|
-
addEntry: () => addEntry,
|
|
9
|
-
attachFamilyMember: () => attachFamilyMember,
|
|
10
|
-
attachWorkspaceResource: () => attachWorkspaceResource,
|
|
11
|
-
checkWorkspace: () => checkWorkspace,
|
|
12
|
-
create: () => create,
|
|
13
|
-
createFamily: () => createFamily,
|
|
14
|
-
createFamilyFromTemplate: () => createFamilyFromTemplate,
|
|
15
|
-
deleteFamily: () => deleteFamily,
|
|
16
|
-
detachFamilyMember: () => detachFamilyMember,
|
|
17
|
-
diffWorkspace: () => diffWorkspace,
|
|
18
|
-
getById: () => getById,
|
|
19
|
-
getFamily: () => getFamily,
|
|
20
|
-
getGitRepository: () => getGitRepository,
|
|
21
|
-
getInputContract: () => getInputContract,
|
|
22
|
-
getPublication: () => getPublication,
|
|
23
|
-
issueGitCredential: () => issueGitCredential,
|
|
24
|
-
list: () => list,
|
|
25
|
-
listFamilies: () => listFamilies,
|
|
26
|
-
listInputContracts: () => listInputContracts,
|
|
27
|
-
openWorkspace: () => openWorkspace,
|
|
28
|
-
patchWorkspace: () => patchWorkspace,
|
|
29
|
-
publish: () => publish,
|
|
30
|
-
putWorkspaceAsset: () => putWorkspaceAsset,
|
|
31
|
-
remove: () => remove,
|
|
32
|
-
removeWorkspaceResource: () => removeWorkspaceResource,
|
|
33
|
-
renameFamily: () => renameFamily,
|
|
34
|
-
renderPublication: () => renderPublication,
|
|
35
|
-
renderWorkspaceFixture: () => renderWorkspaceFixture,
|
|
36
|
-
resolveWorkspaceConflict: () => resolveWorkspaceConflict,
|
|
37
|
-
restoreWorkspace: () => restoreWorkspace,
|
|
38
|
-
saveWorkspace: () => saveWorkspace,
|
|
39
|
-
update: () => update,
|
|
40
|
-
workspaceHistory: () => workspaceHistory
|
|
41
|
-
});
|
|
42
|
-
const list = make("templatesList");
|
|
43
|
-
const create = make("templatesCreate");
|
|
44
|
-
const addEntry = make("templatesAddEntry");
|
|
45
|
-
const listFamilies = make("templatesListFamilies");
|
|
46
|
-
const createFamily = make("templatesCreateFamily");
|
|
47
|
-
const getFamily = make("templatesGetFamily");
|
|
48
|
-
const deleteFamily = make("templatesDeleteFamily");
|
|
49
|
-
const renameFamily = make("templatesRenameFamily");
|
|
50
|
-
const createFamilyFromTemplate = make("templatesCreateFamilyFromTemplate");
|
|
51
|
-
const attachFamilyMember = make("templatesAttachFamilyMember");
|
|
52
|
-
const detachFamilyMember = make("templatesDetachFamilyMember");
|
|
53
|
-
const getById = make("templatesGetById");
|
|
54
|
-
const remove = make("templatesRemove");
|
|
55
|
-
const update = make("templatesUpdate");
|
|
56
|
-
const openWorkspace = make("templatesOpenWorkspace");
|
|
57
|
-
const getGitRepository = make("templatesGetGitRepository");
|
|
58
|
-
const issueGitCredential = make("templatesIssueGitCredential");
|
|
59
|
-
const patchWorkspace = make("templatesPatchWorkspace");
|
|
60
|
-
const putWorkspaceAsset = make("templatesPutWorkspaceAsset");
|
|
61
|
-
const resolveWorkspaceConflict = make("templatesResolveWorkspaceConflict");
|
|
62
|
-
const attachWorkspaceResource = make("templatesAttachWorkspaceResource");
|
|
63
|
-
const removeWorkspaceResource = make("templatesRemoveWorkspaceResource");
|
|
64
|
-
const restoreWorkspace = make("templatesRestoreWorkspace");
|
|
65
|
-
const saveWorkspace = make("templatesSaveWorkspace");
|
|
66
|
-
const checkWorkspace = make("templatesCheckWorkspace");
|
|
67
|
-
const renderWorkspaceFixture = make("templatesRenderWorkspaceFixture");
|
|
68
|
-
const publish = make("templatesPublish");
|
|
69
|
-
const getPublication = make("templatesGetPublication");
|
|
70
|
-
const renderPublication = make("templatesRenderPublication");
|
|
71
|
-
const listInputContracts = make("templatesListInputContracts");
|
|
72
|
-
const getInputContract = make("templatesGetInputContract");
|
|
73
|
-
const diffWorkspace = make("templatesDiffWorkspace");
|
|
74
|
-
const workspaceHistory = make("templatesWorkspaceHistory");
|
|
75
|
-
//#endregion
|
|
76
|
-
export { CreateTemplatePayload as CreatePayload, UpdateTemplatePayload as UpdatePayload, addEntry, attachFamilyMember, attachWorkspaceResource, checkWorkspace, create, createFamily, createFamilyFromTemplate, deleteFamily, detachFamilyMember, diffWorkspace, getById, getFamily, getGitRepository, getInputContract, getPublication, issueGitCredential, list, listFamilies, listInputContracts, openWorkspace, patchWorkspace, publish, putWorkspaceAsset, remove, removeWorkspaceResource, renameFamily, renderPublication, renderWorkspaceFixture, resolveWorkspaceConflict, restoreWorkspace, saveWorkspace, templates_exports as t, update, workspaceHistory };
|
|
77
|
-
|
|
78
|
-
//# sourceMappingURL=templates.js.map
|
|
1
|
+
import { T as CreateTemplatePayload, Zt as UpdateTemplatePayload } from "../client-DOzUrdTE.js";
|
|
2
|
+
import { A as restoreWorkspace, C as putWorkspaceAsset, D as renderPublication, E as renameFamily, N as update, O as renderWorkspaceFixture, P as workspaceHistory, S as publish, T as removeWorkspaceResource, _ as list, a as create, b as openWorkspace, c as deleteFamily, d as getById, f as getFamily, g as issueGitCredential, h as getPublication, i as checkWorkspace, j as saveWorkspace, k as resolveWorkspaceConflict, l as detachFamilyMember, m as getInputContract, n as attachFamilyMember, o as createFamily, p as getGitRepository, r as attachWorkspaceResource, s as createFamilyFromTemplate, t as addEntry, u as diffWorkspace, v as listFamilies, w as remove, x as patchWorkspace, y as listInputContracts } from "../templates-DZomxsG7.js";
|
|
3
|
+
export { CreateTemplatePayload as CreatePayload, UpdateTemplatePayload as UpdatePayload, addEntry, attachFamilyMember, attachWorkspaceResource, checkWorkspace, create, createFamily, createFamilyFromTemplate, deleteFamily, detachFamilyMember, diffWorkspace, getById, getFamily, getGitRepository, getInputContract, getPublication, issueGitCredential, list, listFamilies, listInputContracts, openWorkspace, patchWorkspace, publish, putWorkspaceAsset, remove, removeWorkspaceResource, renameFamily, renderPublication, renderWorkspaceFixture, resolveWorkspaceConflict, restoreWorkspace, saveWorkspace, update, workspaceHistory };
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/effect/unsubscribe-groups.ts
|
|
4
|
-
var unsubscribe_groups_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
addEmails: () => addEmails,
|
|
6
|
-
checkSubscription: () => checkSubscription,
|
|
7
|
-
create: () => create,
|
|
8
|
-
list: () => list,
|
|
9
|
-
listMembers: () => listMembers,
|
|
10
|
-
remove: () => remove,
|
|
11
|
-
removeEmails: () => removeEmails,
|
|
12
|
-
setDefault: () => setDefault,
|
|
13
|
-
update: () => update
|
|
14
|
-
});
|
|
15
|
-
const list = make("unsubscribeList");
|
|
16
|
-
const create = make("unsubscribeCreate");
|
|
17
|
-
const update = make("unsubscribeUpdate");
|
|
18
|
-
const remove = make("unsubscribeRemove");
|
|
19
|
-
const setDefault = make("unsubscribeSetDefault");
|
|
20
|
-
const listMembers = make("unsubscribeListMembers");
|
|
21
|
-
const addEmails = make("unsubscribeAddEmails");
|
|
22
|
-
const removeEmails = make("unsubscribeRemoveEmails");
|
|
23
|
-
const checkSubscription = make("unsubscribeCheckSubscription");
|
|
24
|
-
//#endregion
|
|
25
|
-
export { addEmails, checkSubscription, create, list, listMembers, remove, removeEmails, setDefault, unsubscribe_groups_exports as t, update };
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=unsubscribe-groups.js.map
|
|
1
|
+
import { a as listMembers, c as setDefault, i as list, n as checkSubscription, o as remove, r as create, s as removeEmails, t as addEmails, u as update } from "../unsubscribe-groups-Iqk4Isf9.js";
|
|
2
|
+
export { addEmails, checkSubscription, create, list, listMembers, remove, removeEmails, setDefault, update };
|