bereach 1.4.2 → 1.5.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/README.md +71 -5
- package/esm/funcs/actions-connect-profile.d.ts +1 -1
- package/esm/funcs/actions-connect-profile.js +1 -1
- package/esm/funcs/actions-edit-profile.d.ts +18 -0
- package/esm/funcs/actions-edit-profile.d.ts.map +1 -0
- package/esm/funcs/actions-edit-profile.js +97 -0
- package/esm/funcs/actions-edit-profile.js.map +1 -0
- package/esm/funcs/chat-get-conversation-summary.d.ts +18 -0
- package/esm/funcs/chat-get-conversation-summary.d.ts.map +1 -0
- package/esm/funcs/chat-get-conversation-summary.js +100 -0
- package/esm/funcs/chat-get-conversation-summary.js.map +1 -0
- package/esm/funcs/chat-list-inbox.d.ts +1 -1
- package/esm/funcs/chat-list-inbox.js +1 -1
- package/esm/funcs/chat-save-conversation-summary.d.ts +18 -0
- package/esm/funcs/chat-save-conversation-summary.d.ts.map +1 -0
- package/esm/funcs/chat-save-conversation-summary.js +97 -0
- package/esm/funcs/chat-save-conversation-summary.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
- package/esm/funcs/company-pages-get-analytics.js +1 -1
- package/esm/funcs/connectors-agent-snapshot.d.ts +18 -0
- package/esm/funcs/connectors-agent-snapshot.d.ts.map +1 -0
- package/esm/funcs/connectors-agent-snapshot.js +86 -0
- package/esm/funcs/connectors-agent-snapshot.js.map +1 -0
- package/esm/funcs/connectors-connector-heartbeat.d.ts +18 -0
- package/esm/funcs/connectors-connector-heartbeat.d.ts.map +1 -0
- package/esm/funcs/connectors-connector-heartbeat.js +99 -0
- package/esm/funcs/connectors-connector-heartbeat.js.map +1 -0
- package/esm/funcs/connectors-list-connectors.d.ts +18 -0
- package/esm/funcs/connectors-list-connectors.d.ts.map +1 -0
- package/esm/funcs/connectors-list-connectors.js +86 -0
- package/esm/funcs/connectors-list-connectors.js.map +1 -0
- package/esm/funcs/connectors-pull-task.d.ts +18 -0
- package/esm/funcs/connectors-pull-task.d.ts.map +1 -0
- package/esm/funcs/connectors-pull-task.js +86 -0
- package/esm/funcs/connectors-pull-task.js.map +1 -0
- package/esm/funcs/connectors-submit-task-result.d.ts +18 -0
- package/esm/funcs/connectors-submit-task-result.d.ts.map +1 -0
- package/esm/funcs/connectors-submit-task-result.js +103 -0
- package/esm/funcs/connectors-submit-task-result.js.map +1 -0
- package/esm/funcs/contacts-global-activities.d.ts +18 -0
- package/esm/funcs/contacts-global-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-global-activities.js +105 -0
- package/esm/funcs/contacts-global-activities.js.map +1 -0
- package/esm/funcs/profile-create-api-token.d.ts +18 -0
- package/esm/funcs/profile-create-api-token.d.ts.map +1 -0
- package/esm/funcs/profile-create-api-token.js +99 -0
- package/esm/funcs/profile-create-api-token.js.map +1 -0
- package/esm/funcs/profile-delete-api-token.d.ts +18 -0
- package/esm/funcs/profile-delete-api-token.d.ts.map +1 -0
- package/esm/funcs/profile-delete-api-token.js +99 -0
- package/esm/funcs/profile-delete-api-token.js.map +1 -0
- package/esm/funcs/profile-get-api-token.d.ts +18 -0
- package/esm/funcs/profile-get-api-token.d.ts.map +1 -0
- package/esm/funcs/profile-get-api-token.js +100 -0
- package/esm/funcs/profile-get-api-token.js.map +1 -0
- package/esm/funcs/profile-get-my-activity.d.ts +18 -0
- package/esm/funcs/profile-get-my-activity.d.ts.map +1 -0
- package/esm/funcs/profile-get-my-activity.js +104 -0
- package/esm/funcs/profile-get-my-activity.js.map +1 -0
- package/esm/funcs/profile-get-settings.d.ts +18 -0
- package/esm/funcs/profile-get-settings.d.ts.map +1 -0
- package/esm/funcs/profile-get-settings.js +86 -0
- package/esm/funcs/profile-get-settings.js.map +1 -0
- package/esm/funcs/profile-patch-settings.d.ts +18 -0
- package/esm/funcs/profile-patch-settings.d.ts.map +1 -0
- package/esm/funcs/profile-patch-settings.js +97 -0
- package/esm/funcs/profile-patch-settings.js.map +1 -0
- package/esm/funcs/profile-revalidate-linkedin.d.ts +18 -0
- package/esm/funcs/profile-revalidate-linkedin.d.ts.map +1 -0
- package/esm/funcs/profile-revalidate-linkedin.js +86 -0
- package/esm/funcs/profile-revalidate-linkedin.js.map +1 -0
- package/esm/funcs/sales-nav-search.d.ts +1 -1
- package/esm/funcs/sales-nav-search.js +1 -1
- package/esm/funcs/scheduled-messages-review-drafts.d.ts +18 -0
- package/esm/funcs/scheduled-messages-review-drafts.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-review-drafts.js +97 -0
- package/esm/funcs/scheduled-messages-review-drafts.js.map +1 -0
- package/esm/funcs/scrapers-collect-comment-replies.d.ts +1 -1
- package/esm/funcs/scrapers-collect-comment-replies.js +1 -1
- package/esm/funcs/scrapers-collect-comments.d.ts +1 -1
- package/esm/funcs/scrapers-collect-comments.js +1 -1
- package/esm/funcs/scrapers-collect-likes.d.ts +1 -1
- package/esm/funcs/scrapers-collect-likes.js +1 -1
- package/esm/funcs/scrapers-visit-profile.d.ts +2 -0
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
- package/esm/funcs/scrapers-visit-profile.js +2 -0
- package/esm/funcs/scrapers-visit-profile.js.map +1 -1
- package/esm/funcs/search-people.d.ts +2 -2
- package/esm/funcs/search-people.js +2 -2
- package/esm/funcs/search-search.d.ts +1 -1
- package/esm/funcs/search-search.js +1 -1
- package/esm/funcs/settings-get-dm-polling-settings.d.ts +18 -0
- package/esm/funcs/settings-get-dm-polling-settings.d.ts.map +1 -0
- package/esm/funcs/settings-get-dm-polling-settings.js +86 -0
- package/esm/funcs/settings-get-dm-polling-settings.js.map +1 -0
- package/esm/funcs/settings-patch-dm-polling-settings.d.ts +18 -0
- package/esm/funcs/settings-patch-dm-polling-settings.d.ts.map +1 -0
- package/esm/funcs/settings-patch-dm-polling-settings.js +97 -0
- package/esm/funcs/settings-patch-dm-polling-settings.js.map +1 -0
- package/esm/funcs/tasks-cancel-chain.d.ts +18 -0
- package/esm/funcs/tasks-cancel-chain.d.ts.map +1 -0
- package/esm/funcs/tasks-cancel-chain.js +102 -0
- package/esm/funcs/tasks-cancel-chain.js.map +1 -0
- package/esm/funcs/tasks-cancel-task.d.ts +18 -0
- package/esm/funcs/tasks-cancel-task.d.ts.map +1 -0
- package/esm/funcs/tasks-cancel-task.js +102 -0
- package/esm/funcs/tasks-cancel-task.js.map +1 -0
- package/esm/funcs/tasks-events-feed.d.ts +18 -0
- package/esm/funcs/tasks-events-feed.d.ts.map +1 -0
- package/esm/funcs/tasks-events-feed.js +101 -0
- package/esm/funcs/tasks-events-feed.js.map +1 -0
- package/esm/funcs/tasks-list-tasks.d.ts +18 -0
- package/esm/funcs/tasks-list-tasks.d.ts.map +1 -0
- package/esm/funcs/tasks-list-tasks.js +104 -0
- package/esm/funcs/tasks-list-tasks.js.map +1 -0
- package/esm/funcs/workspace-create-workspace-invite.d.ts +18 -0
- package/esm/funcs/workspace-create-workspace-invite.d.ts.map +1 -0
- package/esm/funcs/workspace-create-workspace-invite.js +97 -0
- package/esm/funcs/workspace-create-workspace-invite.js.map +1 -0
- package/esm/funcs/workspace-delete-workspace-account.d.ts +18 -0
- package/esm/funcs/workspace-delete-workspace-account.d.ts.map +1 -0
- package/esm/funcs/workspace-delete-workspace-account.js +102 -0
- package/esm/funcs/workspace-delete-workspace-account.js.map +1 -0
- package/esm/funcs/workspace-delete-workspace-invite.d.ts +18 -0
- package/esm/funcs/workspace-delete-workspace-invite.d.ts.map +1 -0
- package/esm/funcs/workspace-delete-workspace-invite.js +97 -0
- package/esm/funcs/workspace-delete-workspace-invite.js.map +1 -0
- package/esm/funcs/workspace-upgrade-workspace-account.d.ts +18 -0
- package/esm/funcs/workspace-upgrade-workspace-account.d.ts.map +1 -0
- package/esm/funcs/workspace-upgrade-workspace-account.js +97 -0
- package/esm/funcs/workspace-upgrade-workspace-account.js.map +1 -0
- package/esm/hooks/hooks.d.ts.map +1 -1
- package/esm/hooks/hooks.js +0 -2
- package/esm/hooks/hooks.js.map +1 -1
- package/esm/lib/config.d.ts +5 -5
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +6 -6
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +20 -5
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/security.d.ts +1 -1
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +19 -8
- package/esm/lib/security.js.map +1 -1
- package/esm/models/operations/{search-contacts-campaign.d.ts → archive-response.d.ts} +1174 -1151
- package/esm/models/operations/archive-response.d.ts.map +1 -0
- package/esm/models/operations/{search-contacts-campaign.js → archive-response.js} +456 -461
- package/esm/models/operations/archive-response.js.map +1 -0
- package/esm/models/operations/delete-workspace-invite-response.d.ts +1374 -0
- package/esm/models/operations/delete-workspace-invite-response.d.ts.map +1 -0
- package/esm/models/operations/delete-workspace-invite-response.js +901 -0
- package/esm/models/operations/delete-workspace-invite-response.js.map +1 -0
- package/esm/models/operations/{update-schedule-response.d.ts → get-by-url-campaign.d.ts} +1629 -1291
- package/esm/models/operations/get-by-url-campaign.d.ts.map +1 -0
- package/esm/models/operations/{update-schedule-response.js → get-by-url-campaign.js} +534 -341
- package/esm/models/operations/get-by-url-campaign.js.map +1 -0
- package/esm/models/operations/index.d.ts +4 -3
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +4 -3
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/search-companies-response.d.ts +45 -12
- package/esm/models/operations/search-companies-response.d.ts.map +1 -1
- package/esm/models/operations/search-companies-response.js +10 -2
- package/esm/models/operations/search-companies-response.js.map +1 -1
- package/esm/models/operations/{update-account-response.d.ts → update-account-proxy-config-response.d.ts} +70 -38
- package/esm/models/operations/update-account-proxy-config-response.d.ts.map +1 -0
- package/esm/models/operations/{update-account-response.js → update-account-proxy-config-response.js} +27 -28
- package/esm/models/operations/update-account-proxy-config-response.js.map +1 -0
- package/esm/sdk/actions.d.ts +8 -1
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +11 -1
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/chat.d.ts +15 -1
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +21 -1
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +1 -1
- package/esm/sdk/company-pages.js +1 -1
- package/esm/sdk/connectors.d.ts +40 -0
- package/esm/sdk/connectors.d.ts.map +1 -0
- package/esm/sdk/connectors.js +58 -0
- package/esm/sdk/connectors.js.map +1 -0
- package/esm/sdk/contacts.d.ts +7 -0
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +10 -0
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/profile.d.ts +49 -0
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +70 -0
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +1 -1
- package/esm/sdk/sales-nav.js +1 -1
- package/esm/sdk/scheduled-messages.d.ts +7 -0
- package/esm/sdk/scheduled-messages.d.ts.map +1 -1
- package/esm/sdk/scheduled-messages.js +10 -0
- package/esm/sdk/scheduled-messages.js.map +1 -1
- package/esm/sdk/scrapers.d.ts +5 -3
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +5 -3
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +12 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +20 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +3 -3
- package/esm/sdk/search.js +3 -3
- package/esm/sdk/settings.d.ts +19 -0
- package/esm/sdk/settings.d.ts.map +1 -0
- package/esm/sdk/settings.js +28 -0
- package/esm/sdk/settings.js.map +1 -0
- package/esm/sdk/tasks.d.ts +33 -0
- package/esm/sdk/tasks.d.ts.map +1 -0
- package/esm/sdk/tasks.js +48 -0
- package/esm/sdk/tasks.js.map +1 -0
- package/esm/sdk/workspace.d.ts +33 -0
- package/esm/sdk/workspace.d.ts.map +1 -0
- package/esm/sdk/workspace.js +48 -0
- package/esm/sdk/workspace.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/actions-connect-profile.ts +1 -1
- package/src/funcs/actions-edit-profile.ts +224 -0
- package/src/funcs/chat-get-conversation-summary.ts +229 -0
- package/src/funcs/chat-list-inbox.ts +1 -1
- package/src/funcs/chat-save-conversation-summary.ts +225 -0
- package/src/funcs/company-pages-get-analytics.ts +1 -1
- package/src/funcs/connectors-agent-snapshot.ts +205 -0
- package/src/funcs/connectors-connector-heartbeat.ts +230 -0
- package/src/funcs/connectors-list-connectors.ts +205 -0
- package/src/funcs/connectors-pull-task.ts +205 -0
- package/src/funcs/connectors-submit-task-result.ts +231 -0
- package/src/funcs/contacts-global-activities.ts +237 -0
- package/src/funcs/profile-create-api-token.ts +230 -0
- package/src/funcs/profile-delete-api-token.ts +230 -0
- package/src/funcs/profile-get-api-token.ts +229 -0
- package/src/funcs/profile-get-my-activity.ts +236 -0
- package/src/funcs/profile-get-settings.ts +205 -0
- package/src/funcs/profile-patch-settings.ts +224 -0
- package/src/funcs/profile-revalidate-linkedin.ts +205 -0
- package/src/funcs/sales-nav-search.ts +1 -1
- package/src/funcs/scheduled-messages-review-drafts.ts +224 -0
- package/src/funcs/scrapers-collect-comment-replies.ts +1 -1
- package/src/funcs/scrapers-collect-comments.ts +1 -1
- package/src/funcs/scrapers-collect-likes.ts +1 -1
- package/src/funcs/scrapers-visit-profile.ts +2 -0
- package/src/funcs/search-people.ts +2 -2
- package/src/funcs/search-search.ts +1 -1
- package/src/funcs/settings-get-dm-polling-settings.ts +205 -0
- package/src/funcs/settings-patch-dm-polling-settings.ts +225 -0
- package/src/funcs/tasks-cancel-chain.ts +229 -0
- package/src/funcs/tasks-cancel-task.ts +229 -0
- package/src/funcs/tasks-events-feed.ts +230 -0
- package/src/funcs/tasks-list-tasks.ts +233 -0
- package/src/funcs/workspace-create-workspace-invite.ts +225 -0
- package/src/funcs/workspace-delete-workspace-account.ts +230 -0
- package/src/funcs/workspace-delete-workspace-invite.ts +225 -0
- package/src/funcs/workspace-upgrade-workspace-account.ts +225 -0
- package/src/hooks/hooks.ts +0 -3
- package/src/lib/config.ts +6 -6
- package/src/lib/encodings.ts +23 -4
- package/src/lib/security.ts +14 -2
- package/src/models/operations/{search-contacts-campaign.ts → archive-response.ts} +2503 -2362
- package/src/models/operations/delete-workspace-invite-response.ts +2783 -0
- package/src/models/operations/{update-schedule-response.ts → get-by-url-campaign.ts} +3591 -2939
- package/src/models/operations/index.ts +4 -3
- package/src/models/operations/search-companies-response.ts +55 -14
- package/src/models/operations/{update-account-response.ts → update-account-proxy-config-response.ts} +112 -84
- package/src/sdk/actions.ts +19 -1
- package/src/sdk/chat.ts +37 -1
- package/src/sdk/company-pages.ts +1 -1
- package/src/sdk/connectors.ts +93 -0
- package/src/sdk/contacts.ts +18 -0
- package/src/sdk/profile.ts +122 -0
- package/src/sdk/sales-nav.ts +1 -1
- package/src/sdk/scheduled-messages.ts +18 -0
- package/src/sdk/scrapers.ts +5 -3
- package/src/sdk/sdk.ts +24 -0
- package/src/sdk/search.ts +3 -3
- package/src/sdk/settings.ts +43 -0
- package/src/sdk/tasks.ts +81 -0
- package/src/sdk/workspace.ts +81 -0
- package/esm/models/operations/search-contacts-campaign.d.ts.map +0 -1
- package/esm/models/operations/search-contacts-campaign.js.map +0 -1
- package/esm/models/operations/update-account-response.d.ts.map +0 -1
- package/esm/models/operations/update-account-response.js.map +0 -1
- package/esm/models/operations/update-schedule-response.d.ts.map +0 -1
- package/esm/models/operations/update-schedule-response.js.map +0 -1
|
@@ -0,0 +1,1374 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
import { GetByUrlActivity, GetByUrlCampaign } from "./get-by-url-campaign.js";
|
|
6
|
+
export type GetByUrlContact = {
|
|
7
|
+
id: string;
|
|
8
|
+
linkedinUrl: string;
|
|
9
|
+
/**
|
|
10
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
|
|
11
|
+
*/
|
|
12
|
+
profileUrn: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* LinkedIn vanity slug (e.g. joshuaau)
|
|
15
|
+
*/
|
|
16
|
+
publicIdentifier: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
lifecycleStage: string;
|
|
19
|
+
hotScore: number;
|
|
20
|
+
qualificationNotes: string | null;
|
|
21
|
+
notes: string | null;
|
|
22
|
+
stageChangedAt: string | null;
|
|
23
|
+
profileData: any | null;
|
|
24
|
+
profileUpdatedAt: string | null;
|
|
25
|
+
conversationData: any | null;
|
|
26
|
+
conversationUpdatedAt: string | null;
|
|
27
|
+
outreachStatus: string;
|
|
28
|
+
lastContactedAt: string | null;
|
|
29
|
+
lastRepliedAt: string | null;
|
|
30
|
+
nextFollowUpAt: string | null;
|
|
31
|
+
doNotContact: boolean;
|
|
32
|
+
tags: Array<string>;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
updatedAt: string;
|
|
35
|
+
activities: Array<GetByUrlActivity>;
|
|
36
|
+
campaigns: Array<GetByUrlCampaign>;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Contact found
|
|
40
|
+
*/
|
|
41
|
+
export type GetByUrlResponse = {
|
|
42
|
+
success: true;
|
|
43
|
+
contact: GetByUrlContact;
|
|
44
|
+
/**
|
|
45
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
46
|
+
*/
|
|
47
|
+
creditsUsed: number;
|
|
48
|
+
/**
|
|
49
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
50
|
+
*/
|
|
51
|
+
retryAfter: number;
|
|
52
|
+
};
|
|
53
|
+
export declare const ListMessagesQueryParamStatus: {
|
|
54
|
+
readonly Draft: "draft";
|
|
55
|
+
readonly Scheduled: "scheduled";
|
|
56
|
+
readonly Sending: "sending";
|
|
57
|
+
readonly Sent: "sent";
|
|
58
|
+
readonly Failed: "failed";
|
|
59
|
+
readonly Cancelled: "cancelled";
|
|
60
|
+
};
|
|
61
|
+
export type ListMessagesQueryParamStatus = ClosedEnum<typeof ListMessagesQueryParamStatus>;
|
|
62
|
+
export type ListMessagesRequest = {
|
|
63
|
+
status?: ListMessagesQueryParamStatus | undefined;
|
|
64
|
+
contactId?: string | undefined;
|
|
65
|
+
campaignSlug?: string | undefined;
|
|
66
|
+
limit?: number | undefined;
|
|
67
|
+
offset?: number | undefined;
|
|
68
|
+
};
|
|
69
|
+
export declare const MessageStatus: {
|
|
70
|
+
readonly Draft: "draft";
|
|
71
|
+
readonly Scheduled: "scheduled";
|
|
72
|
+
readonly Sending: "sending";
|
|
73
|
+
readonly Sent: "sent";
|
|
74
|
+
readonly Failed: "failed";
|
|
75
|
+
readonly Cancelled: "cancelled";
|
|
76
|
+
};
|
|
77
|
+
export type MessageStatus = OpenEnum<typeof MessageStatus>;
|
|
78
|
+
export type ListMessagesMessage = {
|
|
79
|
+
id: string;
|
|
80
|
+
contactId: string;
|
|
81
|
+
/**
|
|
82
|
+
* Contact name (included in list, absent in create)
|
|
83
|
+
*/
|
|
84
|
+
contactName?: string | null | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Contact LinkedIn URL (included in list, absent in create)
|
|
87
|
+
*/
|
|
88
|
+
contactLinkedinUrl?: string | null | undefined;
|
|
89
|
+
message: string;
|
|
90
|
+
status: MessageStatus;
|
|
91
|
+
scheduledSendAt: string | null;
|
|
92
|
+
sentAt: string | null;
|
|
93
|
+
campaignSlug: string | null;
|
|
94
|
+
/**
|
|
95
|
+
* Error message if status is 'failed'
|
|
96
|
+
*/
|
|
97
|
+
errorMessage?: string | null | undefined;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Messages list
|
|
102
|
+
*/
|
|
103
|
+
export type ListMessagesResponse = {
|
|
104
|
+
success: true;
|
|
105
|
+
messages: Array<ListMessagesMessage>;
|
|
106
|
+
total: number;
|
|
107
|
+
limit: number;
|
|
108
|
+
offset: number;
|
|
109
|
+
/**
|
|
110
|
+
* Credits consumed (always 0 for workspace operations).
|
|
111
|
+
*/
|
|
112
|
+
creditsUsed: number;
|
|
113
|
+
/**
|
|
114
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
115
|
+
*/
|
|
116
|
+
retryAfter: number;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Default 'draft'
|
|
120
|
+
*/
|
|
121
|
+
export declare const CreateStatusRequest: {
|
|
122
|
+
readonly Draft: "draft";
|
|
123
|
+
readonly Scheduled: "scheduled";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Default 'draft'
|
|
127
|
+
*/
|
|
128
|
+
export type CreateStatusRequest = ClosedEnum<typeof CreateStatusRequest>;
|
|
129
|
+
export type CreateRequest = {
|
|
130
|
+
/**
|
|
131
|
+
* Internal contact ID
|
|
132
|
+
*/
|
|
133
|
+
contactId: string;
|
|
134
|
+
/**
|
|
135
|
+
* DM text
|
|
136
|
+
*/
|
|
137
|
+
message: string;
|
|
138
|
+
/**
|
|
139
|
+
* Default 'draft'
|
|
140
|
+
*/
|
|
141
|
+
status?: CreateStatusRequest | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* ISO datetime for auto-send
|
|
144
|
+
*/
|
|
145
|
+
scheduledSendAt?: string | undefined;
|
|
146
|
+
campaignSlug?: string | undefined;
|
|
147
|
+
};
|
|
148
|
+
export declare const ScheduledMessageStatus: {
|
|
149
|
+
readonly Draft: "draft";
|
|
150
|
+
readonly Scheduled: "scheduled";
|
|
151
|
+
readonly Sending: "sending";
|
|
152
|
+
readonly Sent: "sent";
|
|
153
|
+
readonly Failed: "failed";
|
|
154
|
+
readonly Cancelled: "cancelled";
|
|
155
|
+
};
|
|
156
|
+
export type ScheduledMessageStatus = OpenEnum<typeof ScheduledMessageStatus>;
|
|
157
|
+
export type ScheduledMessage = {
|
|
158
|
+
id: string;
|
|
159
|
+
contactId: string;
|
|
160
|
+
/**
|
|
161
|
+
* Contact name (included in list, absent in create)
|
|
162
|
+
*/
|
|
163
|
+
contactName?: string | null | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* Contact LinkedIn URL (included in list, absent in create)
|
|
166
|
+
*/
|
|
167
|
+
contactLinkedinUrl?: string | null | undefined;
|
|
168
|
+
message: string;
|
|
169
|
+
status: ScheduledMessageStatus;
|
|
170
|
+
scheduledSendAt: string | null;
|
|
171
|
+
sentAt: string | null;
|
|
172
|
+
campaignSlug: string | null;
|
|
173
|
+
/**
|
|
174
|
+
* Error message if status is 'failed'
|
|
175
|
+
*/
|
|
176
|
+
errorMessage?: string | null | undefined;
|
|
177
|
+
createdAt: string;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Message created
|
|
181
|
+
*/
|
|
182
|
+
export type CreateResponse = {
|
|
183
|
+
success: true;
|
|
184
|
+
scheduledMessage: ScheduledMessage;
|
|
185
|
+
/**
|
|
186
|
+
* Credits consumed (always 0 for workspace operations).
|
|
187
|
+
*/
|
|
188
|
+
creditsUsed: number;
|
|
189
|
+
/**
|
|
190
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
191
|
+
*/
|
|
192
|
+
retryAfter: number;
|
|
193
|
+
};
|
|
194
|
+
export type BatchScheduleRequest = {
|
|
195
|
+
/**
|
|
196
|
+
* Schedule all drafts for these contacts
|
|
197
|
+
*/
|
|
198
|
+
contactIds?: Array<string> | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* Schedule specific messages
|
|
201
|
+
*/
|
|
202
|
+
messageIds?: Array<string> | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* ISO datetime for sending
|
|
205
|
+
*/
|
|
206
|
+
scheduledSendAt: string;
|
|
207
|
+
/**
|
|
208
|
+
* Map of messageId → new content for last-minute edits before scheduling
|
|
209
|
+
*/
|
|
210
|
+
editedMessages?: {
|
|
211
|
+
[k: string]: string;
|
|
212
|
+
} | undefined;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* Messages scheduled
|
|
216
|
+
*/
|
|
217
|
+
export type BatchScheduleResponse = {
|
|
218
|
+
success: true;
|
|
219
|
+
/**
|
|
220
|
+
* Number of messages scheduled
|
|
221
|
+
*/
|
|
222
|
+
scheduled: number;
|
|
223
|
+
/**
|
|
224
|
+
* Number of cron trigger failures (messages reverted to draft)
|
|
225
|
+
*/
|
|
226
|
+
triggerFailures: number;
|
|
227
|
+
/**
|
|
228
|
+
* ISO datetime for first send
|
|
229
|
+
*/
|
|
230
|
+
scheduledSendAt: string;
|
|
231
|
+
/**
|
|
232
|
+
* Minutes between staggered sends (0 if single message)
|
|
233
|
+
*/
|
|
234
|
+
staggerMinutes: number;
|
|
235
|
+
/**
|
|
236
|
+
* ISO datetime when last staggered message will be sent
|
|
237
|
+
*/
|
|
238
|
+
lastSendAt: string;
|
|
239
|
+
/**
|
|
240
|
+
* Credits consumed (always 0 for workspace operations).
|
|
241
|
+
*/
|
|
242
|
+
creditsUsed: number;
|
|
243
|
+
/**
|
|
244
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
245
|
+
*/
|
|
246
|
+
retryAfter: number;
|
|
247
|
+
};
|
|
248
|
+
export type CancelRequest = {
|
|
249
|
+
/**
|
|
250
|
+
* Cancel specific messages
|
|
251
|
+
*/
|
|
252
|
+
messageIds?: Array<string> | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* Cancel all pending for these contacts
|
|
255
|
+
*/
|
|
256
|
+
contactIds?: Array<string> | undefined;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Messages cancelled
|
|
260
|
+
*/
|
|
261
|
+
export type CancelResponse = {
|
|
262
|
+
success: true;
|
|
263
|
+
cancelled: number;
|
|
264
|
+
/**
|
|
265
|
+
* Credits consumed (always 0 for workspace operations).
|
|
266
|
+
*/
|
|
267
|
+
creditsUsed: number;
|
|
268
|
+
/**
|
|
269
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
270
|
+
*/
|
|
271
|
+
retryAfter: number;
|
|
272
|
+
};
|
|
273
|
+
export type ReviewDraftsRequest = {
|
|
274
|
+
/**
|
|
275
|
+
* Campaign ID
|
|
276
|
+
*/
|
|
277
|
+
campaignId: string;
|
|
278
|
+
/**
|
|
279
|
+
* Message IDs to approve and send
|
|
280
|
+
*/
|
|
281
|
+
approved?: Array<string> | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* Message IDs to reject/cancel
|
|
284
|
+
*/
|
|
285
|
+
rejected?: Array<string> | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Map of messageId to new text (applied before approval)
|
|
288
|
+
*/
|
|
289
|
+
editedMessages?: {
|
|
290
|
+
[k: string]: string;
|
|
291
|
+
} | undefined;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Review applied
|
|
295
|
+
*/
|
|
296
|
+
export type ReviewDraftsResponse = {
|
|
297
|
+
success: true;
|
|
298
|
+
approved: number;
|
|
299
|
+
rejected: number;
|
|
300
|
+
};
|
|
301
|
+
export type ListEntriesRequest = {
|
|
302
|
+
/**
|
|
303
|
+
* Filter by scope (e.g. "campaign:abc", "user")
|
|
304
|
+
*/
|
|
305
|
+
scope?: string | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* Filter by type (e.g. "icp", "tone-voice")
|
|
308
|
+
*/
|
|
309
|
+
type?: string | undefined;
|
|
310
|
+
};
|
|
311
|
+
export type ListEntriesEntry = {
|
|
312
|
+
/**
|
|
313
|
+
* Unique entry ID
|
|
314
|
+
*/
|
|
315
|
+
id: string;
|
|
316
|
+
type: string;
|
|
317
|
+
label: string | null;
|
|
318
|
+
content: string;
|
|
319
|
+
scope: string;
|
|
320
|
+
updatedAt: string;
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* Context entries
|
|
324
|
+
*/
|
|
325
|
+
export type ListEntriesResponse = {
|
|
326
|
+
success: true;
|
|
327
|
+
entries: Array<ListEntriesEntry>;
|
|
328
|
+
/**
|
|
329
|
+
* Credits consumed (always 0 for workspace operations).
|
|
330
|
+
*/
|
|
331
|
+
creditsUsed: number;
|
|
332
|
+
/**
|
|
333
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
334
|
+
*/
|
|
335
|
+
retryAfter: number;
|
|
336
|
+
};
|
|
337
|
+
export type SetRequest = {
|
|
338
|
+
/**
|
|
339
|
+
* Context type: "user-profile", "product-pitch", "icp", "tone-voice", "playbook", or "custom:{slug}"
|
|
340
|
+
*/
|
|
341
|
+
type: string;
|
|
342
|
+
/**
|
|
343
|
+
* Markdown content
|
|
344
|
+
*/
|
|
345
|
+
content: string;
|
|
346
|
+
/**
|
|
347
|
+
* Defaults to "user"
|
|
348
|
+
*/
|
|
349
|
+
scope?: string | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* Display label
|
|
352
|
+
*/
|
|
353
|
+
label?: string | undefined;
|
|
354
|
+
};
|
|
355
|
+
export type SetEntry = {
|
|
356
|
+
/**
|
|
357
|
+
* Unique entry ID
|
|
358
|
+
*/
|
|
359
|
+
id: string;
|
|
360
|
+
type: string;
|
|
361
|
+
label: string | null;
|
|
362
|
+
content: string;
|
|
363
|
+
scope: string;
|
|
364
|
+
updatedAt: string;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Context saved
|
|
368
|
+
*/
|
|
369
|
+
export type SetResponse = {
|
|
370
|
+
success: true;
|
|
371
|
+
entry: SetEntry;
|
|
372
|
+
/**
|
|
373
|
+
* Credits consumed (always 0 for workspace operations).
|
|
374
|
+
*/
|
|
375
|
+
creditsUsed: number;
|
|
376
|
+
/**
|
|
377
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
378
|
+
*/
|
|
379
|
+
retryAfter: number;
|
|
380
|
+
};
|
|
381
|
+
export type DeleteRequest = {
|
|
382
|
+
/**
|
|
383
|
+
* Context type to delete
|
|
384
|
+
*/
|
|
385
|
+
type: string;
|
|
386
|
+
/**
|
|
387
|
+
* Scope (defaults to "user")
|
|
388
|
+
*/
|
|
389
|
+
scope?: string | undefined;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Context deleted
|
|
393
|
+
*/
|
|
394
|
+
export type DeleteResponse = {
|
|
395
|
+
success: true;
|
|
396
|
+
/**
|
|
397
|
+
* Credits consumed (always 0 for workspace operations).
|
|
398
|
+
*/
|
|
399
|
+
creditsUsed: number;
|
|
400
|
+
/**
|
|
401
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
402
|
+
*/
|
|
403
|
+
retryAfter: number;
|
|
404
|
+
};
|
|
405
|
+
export type Schedule = {
|
|
406
|
+
scheduleId: string;
|
|
407
|
+
/**
|
|
408
|
+
* Human-readable schedule name (e.g. 'DM Polling', 'Draft Send')
|
|
409
|
+
*/
|
|
410
|
+
name: string;
|
|
411
|
+
cron: string | null;
|
|
412
|
+
isPaused: boolean;
|
|
413
|
+
/**
|
|
414
|
+
* ISO 8601 timestamp of last execution
|
|
415
|
+
*/
|
|
416
|
+
lastRun: string | null;
|
|
417
|
+
/**
|
|
418
|
+
* ISO 8601 timestamp of next scheduled execution
|
|
419
|
+
*/
|
|
420
|
+
nextRun: string | null;
|
|
421
|
+
/**
|
|
422
|
+
* Status of the last execution
|
|
423
|
+
*/
|
|
424
|
+
lastStatus: any | null;
|
|
425
|
+
/**
|
|
426
|
+
* The endpoint URL this schedule invokes
|
|
427
|
+
*/
|
|
428
|
+
destination: string;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Cron schedules
|
|
432
|
+
*/
|
|
433
|
+
export type ListSchedulesResponse = {
|
|
434
|
+
success: true;
|
|
435
|
+
schedules: Array<Schedule>;
|
|
436
|
+
/**
|
|
437
|
+
* Credits consumed (always 0 for workspace operations).
|
|
438
|
+
*/
|
|
439
|
+
creditsUsed: number;
|
|
440
|
+
/**
|
|
441
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
442
|
+
*/
|
|
443
|
+
retryAfter: number;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* Action to perform
|
|
447
|
+
*/
|
|
448
|
+
export declare const UpdateScheduleAction: {
|
|
449
|
+
readonly Pause: "pause";
|
|
450
|
+
readonly Resume: "resume";
|
|
451
|
+
readonly Delete: "delete";
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* Action to perform
|
|
455
|
+
*/
|
|
456
|
+
export type UpdateScheduleAction = ClosedEnum<typeof UpdateScheduleAction>;
|
|
457
|
+
export type UpdateScheduleRequestBody = {
|
|
458
|
+
/**
|
|
459
|
+
* Action to perform
|
|
460
|
+
*/
|
|
461
|
+
action: UpdateScheduleAction;
|
|
462
|
+
};
|
|
463
|
+
export type UpdateScheduleRequest = {
|
|
464
|
+
/**
|
|
465
|
+
* Schedule ID
|
|
466
|
+
*/
|
|
467
|
+
scheduleId: string;
|
|
468
|
+
body: UpdateScheduleRequestBody;
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* Schedule updated
|
|
472
|
+
*/
|
|
473
|
+
export type UpdateScheduleResponse = {
|
|
474
|
+
success: true;
|
|
475
|
+
/**
|
|
476
|
+
* Credits consumed (always 0 for workspace operations).
|
|
477
|
+
*/
|
|
478
|
+
creditsUsed: number;
|
|
479
|
+
/**
|
|
480
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
481
|
+
*/
|
|
482
|
+
retryAfter: number;
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* Filter by task status
|
|
486
|
+
*/
|
|
487
|
+
export declare const ListTasksQueryParamStatus: {
|
|
488
|
+
readonly Queued: "queued";
|
|
489
|
+
readonly Dispatched: "dispatched";
|
|
490
|
+
readonly Accepted: "accepted";
|
|
491
|
+
readonly Running: "running";
|
|
492
|
+
readonly Succeeded: "succeeded";
|
|
493
|
+
readonly Failed: "failed";
|
|
494
|
+
readonly Cancelled: "cancelled";
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* Filter by task status
|
|
498
|
+
*/
|
|
499
|
+
export type ListTasksQueryParamStatus = ClosedEnum<typeof ListTasksQueryParamStatus>;
|
|
500
|
+
export type ListTasksRequest = {
|
|
501
|
+
/**
|
|
502
|
+
* Filter by task status
|
|
503
|
+
*/
|
|
504
|
+
status?: ListTasksQueryParamStatus | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* Filter by task type (e.g. outreach-batch)
|
|
507
|
+
*/
|
|
508
|
+
type?: string | undefined;
|
|
509
|
+
/**
|
|
510
|
+
* Filter by campaign ID
|
|
511
|
+
*/
|
|
512
|
+
campaignId?: string | undefined;
|
|
513
|
+
limit?: number | undefined;
|
|
514
|
+
offset?: number | undefined;
|
|
515
|
+
};
|
|
516
|
+
export declare const TaskStatus: {
|
|
517
|
+
readonly Queued: "queued";
|
|
518
|
+
readonly Dispatched: "dispatched";
|
|
519
|
+
readonly Accepted: "accepted";
|
|
520
|
+
readonly Running: "running";
|
|
521
|
+
readonly Succeeded: "succeeded";
|
|
522
|
+
readonly Failed: "failed";
|
|
523
|
+
readonly Cancelled: "cancelled";
|
|
524
|
+
};
|
|
525
|
+
export type TaskStatus = OpenEnum<typeof TaskStatus>;
|
|
526
|
+
export type ListTasksTask = {
|
|
527
|
+
id: string;
|
|
528
|
+
/**
|
|
529
|
+
* Task type (e.g. lead-gen-qualify, outreach-batch, lm-comments)
|
|
530
|
+
*/
|
|
531
|
+
type: string;
|
|
532
|
+
campaignId: string | null;
|
|
533
|
+
status: TaskStatus;
|
|
534
|
+
priority: number;
|
|
535
|
+
model: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* Structured task result (after completion)
|
|
538
|
+
*/
|
|
539
|
+
result: any | null;
|
|
540
|
+
error: string | null;
|
|
541
|
+
connectorId: string | null;
|
|
542
|
+
workflowRunId: string | null;
|
|
543
|
+
createdAt: string;
|
|
544
|
+
dispatchedAt: string | null;
|
|
545
|
+
completedAt: string | null;
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* Task list
|
|
549
|
+
*/
|
|
550
|
+
export type ListTasksResponse = {
|
|
551
|
+
tasks: Array<ListTasksTask>;
|
|
552
|
+
total: number;
|
|
553
|
+
limit: number;
|
|
554
|
+
offset: number;
|
|
555
|
+
};
|
|
556
|
+
export type CancelTaskRequest = {
|
|
557
|
+
/**
|
|
558
|
+
* Task ID
|
|
559
|
+
*/
|
|
560
|
+
id: string;
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* Task cancelled or already terminal
|
|
564
|
+
*/
|
|
565
|
+
export type CancelTaskResponse = {
|
|
566
|
+
success: true;
|
|
567
|
+
status: string;
|
|
568
|
+
message?: string | undefined;
|
|
569
|
+
};
|
|
570
|
+
export type EventsFeedRequest = {
|
|
571
|
+
/**
|
|
572
|
+
* ISO timestamp or epoch ms (default: 2 hours ago)
|
|
573
|
+
*/
|
|
574
|
+
since?: string | undefined;
|
|
575
|
+
limit?: number | undefined;
|
|
576
|
+
};
|
|
577
|
+
export declare const EventsFeedType: {
|
|
578
|
+
readonly TaskCompleted: "task:completed";
|
|
579
|
+
readonly TaskFailed: "task:failed";
|
|
580
|
+
readonly ReplyReceived: "reply:received";
|
|
581
|
+
readonly ConnectionAccepted: "connection:accepted";
|
|
582
|
+
readonly CampaignTargetReached: "campaign:target_reached";
|
|
583
|
+
readonly CampaignCompleted: "campaign:completed";
|
|
584
|
+
readonly CampaignPaused: "campaign:paused";
|
|
585
|
+
};
|
|
586
|
+
export type EventsFeedType = OpenEnum<typeof EventsFeedType>;
|
|
587
|
+
export type Event = {
|
|
588
|
+
id: string;
|
|
589
|
+
type: EventsFeedType;
|
|
590
|
+
campaignId?: string | undefined;
|
|
591
|
+
campaignName?: string | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* Human-readable one-line summary
|
|
594
|
+
*/
|
|
595
|
+
summary: string;
|
|
596
|
+
metadata: {
|
|
597
|
+
[k: string]: any;
|
|
598
|
+
};
|
|
599
|
+
/**
|
|
600
|
+
* Unix epoch ms
|
|
601
|
+
*/
|
|
602
|
+
timestamp: number;
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* Events
|
|
606
|
+
*/
|
|
607
|
+
export type EventsFeedResponse = {
|
|
608
|
+
events: Array<Event>;
|
|
609
|
+
/**
|
|
610
|
+
* Timestamp of most recent event (pass as 'since' for next poll)
|
|
611
|
+
*/
|
|
612
|
+
cursor?: number | undefined;
|
|
613
|
+
};
|
|
614
|
+
export type CancelChainRequest = {
|
|
615
|
+
/**
|
|
616
|
+
* Workflow run ID
|
|
617
|
+
*/
|
|
618
|
+
workflowRunId: string;
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* Chain cancelled
|
|
622
|
+
*/
|
|
623
|
+
export type CancelChainResponse = {
|
|
624
|
+
success: true;
|
|
625
|
+
/**
|
|
626
|
+
* Number of in-flight tasks cancelled
|
|
627
|
+
*/
|
|
628
|
+
tasksCancelled: number;
|
|
629
|
+
};
|
|
630
|
+
export type PullTaskTask = {
|
|
631
|
+
id: string;
|
|
632
|
+
type: string;
|
|
633
|
+
campaignId: string | null;
|
|
634
|
+
/**
|
|
635
|
+
* Task prompt for the agent
|
|
636
|
+
*/
|
|
637
|
+
message: string;
|
|
638
|
+
model: string | null;
|
|
639
|
+
thinking: string | null;
|
|
640
|
+
timeoutSeconds: number | null;
|
|
641
|
+
sessionKey: string | null;
|
|
642
|
+
payload: any | null;
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* Task pulled (or null)
|
|
646
|
+
*/
|
|
647
|
+
export type PullTaskResponse = {
|
|
648
|
+
task: PullTaskTask | null;
|
|
649
|
+
/**
|
|
650
|
+
* ID of a recently cancelled task the connector should abort
|
|
651
|
+
*/
|
|
652
|
+
cancelTaskId: string | null;
|
|
653
|
+
/**
|
|
654
|
+
* Suggested poll interval in ms (5000 when busy, 30000 when idle)
|
|
655
|
+
*/
|
|
656
|
+
pollIntervalMs: number;
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* Intermediate status update (no result yet)
|
|
660
|
+
*/
|
|
661
|
+
export declare const SubmitTaskResultStatus: {
|
|
662
|
+
readonly Accepted: "accepted";
|
|
663
|
+
readonly Running: "running";
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* Intermediate status update (no result yet)
|
|
667
|
+
*/
|
|
668
|
+
export type SubmitTaskResultStatus = ClosedEnum<typeof SubmitTaskResultStatus>;
|
|
669
|
+
export type SubmitTaskResultRequestBody = {
|
|
670
|
+
/**
|
|
671
|
+
* Intermediate status update (no result yet)
|
|
672
|
+
*/
|
|
673
|
+
status?: SubmitTaskResultStatus | undefined;
|
|
674
|
+
/**
|
|
675
|
+
* Structured TaskResult on completion
|
|
676
|
+
*/
|
|
677
|
+
result?: any | undefined;
|
|
678
|
+
/**
|
|
679
|
+
* Error message on failure
|
|
680
|
+
*/
|
|
681
|
+
error?: string | undefined;
|
|
682
|
+
};
|
|
683
|
+
export type SubmitTaskResultRequest = {
|
|
684
|
+
/**
|
|
685
|
+
* Task ID
|
|
686
|
+
*/
|
|
687
|
+
id: string;
|
|
688
|
+
body: SubmitTaskResultRequestBody;
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* Result accepted
|
|
692
|
+
*/
|
|
693
|
+
export type SubmitTaskResultResponse = {
|
|
694
|
+
success: true;
|
|
695
|
+
status: string;
|
|
696
|
+
message?: string | undefined;
|
|
697
|
+
};
|
|
698
|
+
export type Connector = {
|
|
699
|
+
id: string;
|
|
700
|
+
name: string;
|
|
701
|
+
/**
|
|
702
|
+
* online, idle, busy, or offline
|
|
703
|
+
*/
|
|
704
|
+
status: string;
|
|
705
|
+
credentialsId: string;
|
|
706
|
+
lastSeenAt: string | null;
|
|
707
|
+
lastTaskAt: string | null;
|
|
708
|
+
createdAt: string;
|
|
709
|
+
/**
|
|
710
|
+
* True if lastSeenAt < 5 minutes ago
|
|
711
|
+
*/
|
|
712
|
+
isOnline: boolean;
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* Connector list
|
|
716
|
+
*/
|
|
717
|
+
export type ListConnectorsResponse = {
|
|
718
|
+
connectors: Array<Connector>;
|
|
719
|
+
};
|
|
720
|
+
export type ConnectorHeartbeatRequest = {
|
|
721
|
+
/**
|
|
722
|
+
* ID of currently executing task (sets status to 'busy')
|
|
723
|
+
*/
|
|
724
|
+
currentTaskId?: string | undefined;
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* Heartbeat acknowledged
|
|
728
|
+
*/
|
|
729
|
+
export type ConnectorHeartbeatResponse = {
|
|
730
|
+
success: true;
|
|
731
|
+
/**
|
|
732
|
+
* Number of queued tasks for this credential
|
|
733
|
+
*/
|
|
734
|
+
pendingCount: number;
|
|
735
|
+
/**
|
|
736
|
+
* Suggested poll interval (5000 when tasks pending, 30000 when idle)
|
|
737
|
+
*/
|
|
738
|
+
pollIntervalMs: number;
|
|
739
|
+
};
|
|
740
|
+
export type Context = {
|
|
741
|
+
type: string;
|
|
742
|
+
label: string | null;
|
|
743
|
+
content: string;
|
|
744
|
+
scope: string;
|
|
745
|
+
};
|
|
746
|
+
export type ActiveAccount = {
|
|
747
|
+
id: string;
|
|
748
|
+
name: string | null;
|
|
749
|
+
plan: string;
|
|
750
|
+
headline: string | null;
|
|
751
|
+
isUnlimited: boolean;
|
|
752
|
+
creditsLimit: number;
|
|
753
|
+
creditsCount: number;
|
|
754
|
+
simulateWrites: boolean;
|
|
755
|
+
isCurrent: boolean;
|
|
756
|
+
};
|
|
757
|
+
export type AgentSnapshotAccount = {
|
|
758
|
+
id: string;
|
|
759
|
+
name: string | null;
|
|
760
|
+
plan: string;
|
|
761
|
+
headline: string | null;
|
|
762
|
+
isUnlimited: boolean;
|
|
763
|
+
creditsLimit: number;
|
|
764
|
+
creditsCount: number;
|
|
765
|
+
simulateWrites: boolean;
|
|
766
|
+
isCurrent: boolean;
|
|
767
|
+
};
|
|
768
|
+
export type AgentSnapshotStageCounts = {
|
|
769
|
+
contact: number;
|
|
770
|
+
lead: number;
|
|
771
|
+
qualified: number;
|
|
772
|
+
approved: number;
|
|
773
|
+
rejected: number;
|
|
774
|
+
total: number;
|
|
775
|
+
};
|
|
776
|
+
export type ActiveCampaign = {
|
|
777
|
+
id: string;
|
|
778
|
+
name: string;
|
|
779
|
+
type: string;
|
|
780
|
+
status: string;
|
|
781
|
+
context: any | null;
|
|
782
|
+
stageCounts: AgentSnapshotStageCounts;
|
|
783
|
+
};
|
|
784
|
+
export declare const AgentSnapshotType: {
|
|
785
|
+
readonly TaskCompleted: "task:completed";
|
|
786
|
+
readonly TaskFailed: "task:failed";
|
|
787
|
+
readonly ReplyReceived: "reply:received";
|
|
788
|
+
readonly ConnectionAccepted: "connection:accepted";
|
|
789
|
+
readonly CampaignTargetReached: "campaign:target_reached";
|
|
790
|
+
readonly CampaignCompleted: "campaign:completed";
|
|
791
|
+
readonly CampaignPaused: "campaign:paused";
|
|
792
|
+
};
|
|
793
|
+
export type AgentSnapshotType = OpenEnum<typeof AgentSnapshotType>;
|
|
794
|
+
export type RecentEvent = {
|
|
795
|
+
id: string;
|
|
796
|
+
type: AgentSnapshotType;
|
|
797
|
+
campaignId?: string | undefined;
|
|
798
|
+
campaignName?: string | undefined;
|
|
799
|
+
/**
|
|
800
|
+
* Human-readable one-line summary
|
|
801
|
+
*/
|
|
802
|
+
summary: string;
|
|
803
|
+
metadata: {
|
|
804
|
+
[k: string]: any;
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* Unix epoch ms
|
|
808
|
+
*/
|
|
809
|
+
timestamp: number;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* Session snapshot
|
|
813
|
+
*/
|
|
814
|
+
export type AgentSnapshotResponse = {
|
|
815
|
+
/**
|
|
816
|
+
* Credit balance and usage
|
|
817
|
+
*/
|
|
818
|
+
credits: any | null;
|
|
819
|
+
/**
|
|
820
|
+
* Contact counts by lifecycle stage
|
|
821
|
+
*/
|
|
822
|
+
pipeline: {
|
|
823
|
+
[k: string]: number;
|
|
824
|
+
};
|
|
825
|
+
contexts: Array<Context>;
|
|
826
|
+
pendingDrafts: number;
|
|
827
|
+
failedDrafts: number;
|
|
828
|
+
unreadDMs: number;
|
|
829
|
+
pendingSentInvitations: number;
|
|
830
|
+
activeAccount: ActiveAccount | null;
|
|
831
|
+
accounts: Array<AgentSnapshotAccount>;
|
|
832
|
+
leadGenState: any | null;
|
|
833
|
+
outreachState: any | null;
|
|
834
|
+
activeCampaigns: Array<ActiveCampaign>;
|
|
835
|
+
campaignChecks: any;
|
|
836
|
+
sessionMeta: any | null;
|
|
837
|
+
onboardingState: any | null;
|
|
838
|
+
recentEvents: Array<RecentEvent>;
|
|
839
|
+
};
|
|
840
|
+
export type GetDmPollingSettingsSettings = {
|
|
841
|
+
dmPollingEnabled: boolean;
|
|
842
|
+
dmWebhookUrl: string | null;
|
|
843
|
+
dmLastPolledAt: string | null;
|
|
844
|
+
connectionPollingEnabled: boolean;
|
|
845
|
+
connectionLastPolledAt: string | null;
|
|
846
|
+
};
|
|
847
|
+
/**
|
|
848
|
+
* Polling settings
|
|
849
|
+
*/
|
|
850
|
+
export type GetDmPollingSettingsResponse = {
|
|
851
|
+
success: true;
|
|
852
|
+
settings: GetDmPollingSettingsSettings;
|
|
853
|
+
/**
|
|
854
|
+
* Credits consumed (always 0 for workspace operations).
|
|
855
|
+
*/
|
|
856
|
+
creditsUsed: number;
|
|
857
|
+
/**
|
|
858
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
859
|
+
*/
|
|
860
|
+
retryAfter: number;
|
|
861
|
+
};
|
|
862
|
+
export type PatchDmPollingSettingsRequest = {
|
|
863
|
+
dmPollingEnabled?: boolean | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* Webhook URL for DM events
|
|
866
|
+
*/
|
|
867
|
+
dmWebhookUrl?: string | null | undefined;
|
|
868
|
+
/**
|
|
869
|
+
* Enable polling to detect accepted connections
|
|
870
|
+
*/
|
|
871
|
+
connectionPollingEnabled?: boolean | undefined;
|
|
872
|
+
};
|
|
873
|
+
export type PatchDmPollingSettingsSettings = {
|
|
874
|
+
dmPollingEnabled: boolean;
|
|
875
|
+
dmWebhookUrl: string | null;
|
|
876
|
+
dmLastPolledAt: string | null;
|
|
877
|
+
connectionPollingEnabled: boolean;
|
|
878
|
+
connectionLastPolledAt: string | null;
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* Settings updated
|
|
882
|
+
*/
|
|
883
|
+
export type PatchDmPollingSettingsResponse = {
|
|
884
|
+
success: true;
|
|
885
|
+
settings: PatchDmPollingSettingsSettings;
|
|
886
|
+
/**
|
|
887
|
+
* Credits consumed (always 0 for workspace operations).
|
|
888
|
+
*/
|
|
889
|
+
creditsUsed: number;
|
|
890
|
+
/**
|
|
891
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
892
|
+
*/
|
|
893
|
+
retryAfter: number;
|
|
894
|
+
};
|
|
895
|
+
export type DeleteWorkspaceAccountRequest = {
|
|
896
|
+
/**
|
|
897
|
+
* LinkedIn credentials ID
|
|
898
|
+
*/
|
|
899
|
+
id: string;
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Account removed
|
|
903
|
+
*/
|
|
904
|
+
export type DeleteWorkspaceAccountResponse = {
|
|
905
|
+
success: true;
|
|
906
|
+
message: string;
|
|
907
|
+
};
|
|
908
|
+
export declare const UpgradeWorkspaceAccountAction: {
|
|
909
|
+
readonly Upgrade: "upgrade";
|
|
910
|
+
readonly Downgrade: "downgrade";
|
|
911
|
+
};
|
|
912
|
+
export type UpgradeWorkspaceAccountAction = ClosedEnum<typeof UpgradeWorkspaceAccountAction>;
|
|
913
|
+
export type UpgradeWorkspaceAccountRequest = {
|
|
914
|
+
/**
|
|
915
|
+
* LinkedIn credentials ID
|
|
916
|
+
*/
|
|
917
|
+
credentialsId: string;
|
|
918
|
+
action: UpgradeWorkspaceAccountAction;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* Plan changed
|
|
922
|
+
*/
|
|
923
|
+
export type UpgradeWorkspaceAccountResponse = {
|
|
924
|
+
success: true;
|
|
925
|
+
message: string;
|
|
926
|
+
seatsUsed: number;
|
|
927
|
+
seatsIncluded: number;
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* "create" to make a new invite, "list" to get existing
|
|
931
|
+
*/
|
|
932
|
+
export declare const CreateWorkspaceInviteAction: {
|
|
933
|
+
readonly Create: "create";
|
|
934
|
+
readonly List: "list";
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* "create" to make a new invite, "list" to get existing
|
|
938
|
+
*/
|
|
939
|
+
export type CreateWorkspaceInviteAction = ClosedEnum<typeof CreateWorkspaceInviteAction>;
|
|
940
|
+
export type CreateWorkspaceInviteRequest = {
|
|
941
|
+
/**
|
|
942
|
+
* "create" to make a new invite, "list" to get existing
|
|
943
|
+
*/
|
|
944
|
+
action: CreateWorkspaceInviteAction;
|
|
945
|
+
/**
|
|
946
|
+
* Invitee email (sends invite email)
|
|
947
|
+
*/
|
|
948
|
+
email?: string | undefined;
|
|
949
|
+
/**
|
|
950
|
+
* Invitee name
|
|
951
|
+
*/
|
|
952
|
+
name?: string | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* Max times code can be used
|
|
955
|
+
*/
|
|
956
|
+
maxUses?: number | undefined;
|
|
957
|
+
};
|
|
958
|
+
export type Invite2 = {
|
|
959
|
+
id: string;
|
|
960
|
+
email: string | null;
|
|
961
|
+
name: string | null;
|
|
962
|
+
code: string;
|
|
963
|
+
status?: string | undefined;
|
|
964
|
+
maxUses: number;
|
|
965
|
+
useCount: number;
|
|
966
|
+
expiresAt: string | null;
|
|
967
|
+
createdAt: string;
|
|
968
|
+
};
|
|
969
|
+
export type Workspace = {
|
|
970
|
+
tier: string;
|
|
971
|
+
proSeatsIncluded: number;
|
|
972
|
+
proSeatsUsed: number;
|
|
973
|
+
};
|
|
974
|
+
export type ResponseBody2 = {
|
|
975
|
+
success: true;
|
|
976
|
+
invites: Array<Invite2>;
|
|
977
|
+
workspace: Workspace;
|
|
978
|
+
};
|
|
979
|
+
export type Invite1 = {
|
|
980
|
+
id: string;
|
|
981
|
+
email: string | null;
|
|
982
|
+
name: string | null;
|
|
983
|
+
code: string;
|
|
984
|
+
status?: string | undefined;
|
|
985
|
+
maxUses: number;
|
|
986
|
+
useCount: number;
|
|
987
|
+
expiresAt: string | null;
|
|
988
|
+
createdAt: string;
|
|
989
|
+
};
|
|
990
|
+
export type ResponseBody1 = {
|
|
991
|
+
success: true;
|
|
992
|
+
invite: Invite1;
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* Invite created or listed
|
|
996
|
+
*/
|
|
997
|
+
export type CreateWorkspaceInviteResponse = ResponseBody2 | ResponseBody1;
|
|
998
|
+
export type DeleteWorkspaceInviteRequest = {
|
|
999
|
+
/**
|
|
1000
|
+
* Invite ID to delete
|
|
1001
|
+
*/
|
|
1002
|
+
inviteId: string;
|
|
1003
|
+
};
|
|
1004
|
+
/**
|
|
1005
|
+
* Invite deleted
|
|
1006
|
+
*/
|
|
1007
|
+
export type DeleteWorkspaceInviteResponse = {
|
|
1008
|
+
success: true;
|
|
1009
|
+
};
|
|
1010
|
+
/** @internal */
|
|
1011
|
+
export declare const GetByUrlContact$inboundSchema: z.ZodMiniType<GetByUrlContact, unknown>;
|
|
1012
|
+
export declare function getByUrlContactFromJSON(jsonString: string): SafeParseResult<GetByUrlContact, SDKValidationError>;
|
|
1013
|
+
/** @internal */
|
|
1014
|
+
export declare const GetByUrlResponse$inboundSchema: z.ZodMiniType<GetByUrlResponse, unknown>;
|
|
1015
|
+
export declare function getByUrlResponseFromJSON(jsonString: string): SafeParseResult<GetByUrlResponse, SDKValidationError>;
|
|
1016
|
+
/** @internal */
|
|
1017
|
+
export declare const ListMessagesQueryParamStatus$outboundSchema: z.ZodMiniEnum<typeof ListMessagesQueryParamStatus>;
|
|
1018
|
+
/** @internal */
|
|
1019
|
+
export type ListMessagesRequest$Outbound = {
|
|
1020
|
+
status?: string | undefined;
|
|
1021
|
+
contactId?: string | undefined;
|
|
1022
|
+
campaignSlug?: string | undefined;
|
|
1023
|
+
limit: number;
|
|
1024
|
+
offset: number;
|
|
1025
|
+
};
|
|
1026
|
+
/** @internal */
|
|
1027
|
+
export declare const ListMessagesRequest$outboundSchema: z.ZodMiniType<ListMessagesRequest$Outbound, ListMessagesRequest>;
|
|
1028
|
+
export declare function listMessagesRequestToJSON(listMessagesRequest: ListMessagesRequest): string;
|
|
1029
|
+
/** @internal */
|
|
1030
|
+
export declare const MessageStatus$inboundSchema: z.ZodMiniType<MessageStatus, unknown>;
|
|
1031
|
+
/** @internal */
|
|
1032
|
+
export declare const ListMessagesMessage$inboundSchema: z.ZodMiniType<ListMessagesMessage, unknown>;
|
|
1033
|
+
export declare function listMessagesMessageFromJSON(jsonString: string): SafeParseResult<ListMessagesMessage, SDKValidationError>;
|
|
1034
|
+
/** @internal */
|
|
1035
|
+
export declare const ListMessagesResponse$inboundSchema: z.ZodMiniType<ListMessagesResponse, unknown>;
|
|
1036
|
+
export declare function listMessagesResponseFromJSON(jsonString: string): SafeParseResult<ListMessagesResponse, SDKValidationError>;
|
|
1037
|
+
/** @internal */
|
|
1038
|
+
export declare const CreateStatusRequest$outboundSchema: z.ZodMiniEnum<typeof CreateStatusRequest>;
|
|
1039
|
+
/** @internal */
|
|
1040
|
+
export type CreateRequest$Outbound = {
|
|
1041
|
+
contactId: string;
|
|
1042
|
+
message: string;
|
|
1043
|
+
status?: string | undefined;
|
|
1044
|
+
scheduledSendAt?: string | undefined;
|
|
1045
|
+
campaignSlug?: string | undefined;
|
|
1046
|
+
};
|
|
1047
|
+
/** @internal */
|
|
1048
|
+
export declare const CreateRequest$outboundSchema: z.ZodMiniType<CreateRequest$Outbound, CreateRequest>;
|
|
1049
|
+
export declare function createRequestToJSON(createRequest: CreateRequest): string;
|
|
1050
|
+
/** @internal */
|
|
1051
|
+
export declare const ScheduledMessageStatus$inboundSchema: z.ZodMiniType<ScheduledMessageStatus, unknown>;
|
|
1052
|
+
/** @internal */
|
|
1053
|
+
export declare const ScheduledMessage$inboundSchema: z.ZodMiniType<ScheduledMessage, unknown>;
|
|
1054
|
+
export declare function scheduledMessageFromJSON(jsonString: string): SafeParseResult<ScheduledMessage, SDKValidationError>;
|
|
1055
|
+
/** @internal */
|
|
1056
|
+
export declare const CreateResponse$inboundSchema: z.ZodMiniType<CreateResponse, unknown>;
|
|
1057
|
+
export declare function createResponseFromJSON(jsonString: string): SafeParseResult<CreateResponse, SDKValidationError>;
|
|
1058
|
+
/** @internal */
|
|
1059
|
+
export type BatchScheduleRequest$Outbound = {
|
|
1060
|
+
contactIds?: Array<string> | undefined;
|
|
1061
|
+
messageIds?: Array<string> | undefined;
|
|
1062
|
+
scheduledSendAt: string;
|
|
1063
|
+
editedMessages?: {
|
|
1064
|
+
[k: string]: string;
|
|
1065
|
+
} | undefined;
|
|
1066
|
+
};
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export declare const BatchScheduleRequest$outboundSchema: z.ZodMiniType<BatchScheduleRequest$Outbound, BatchScheduleRequest>;
|
|
1069
|
+
export declare function batchScheduleRequestToJSON(batchScheduleRequest: BatchScheduleRequest): string;
|
|
1070
|
+
/** @internal */
|
|
1071
|
+
export declare const BatchScheduleResponse$inboundSchema: z.ZodMiniType<BatchScheduleResponse, unknown>;
|
|
1072
|
+
export declare function batchScheduleResponseFromJSON(jsonString: string): SafeParseResult<BatchScheduleResponse, SDKValidationError>;
|
|
1073
|
+
/** @internal */
|
|
1074
|
+
export type CancelRequest$Outbound = {
|
|
1075
|
+
messageIds?: Array<string> | undefined;
|
|
1076
|
+
contactIds?: Array<string> | undefined;
|
|
1077
|
+
};
|
|
1078
|
+
/** @internal */
|
|
1079
|
+
export declare const CancelRequest$outboundSchema: z.ZodMiniType<CancelRequest$Outbound, CancelRequest>;
|
|
1080
|
+
export declare function cancelRequestToJSON(cancelRequest: CancelRequest): string;
|
|
1081
|
+
/** @internal */
|
|
1082
|
+
export declare const CancelResponse$inboundSchema: z.ZodMiniType<CancelResponse, unknown>;
|
|
1083
|
+
export declare function cancelResponseFromJSON(jsonString: string): SafeParseResult<CancelResponse, SDKValidationError>;
|
|
1084
|
+
/** @internal */
|
|
1085
|
+
export type ReviewDraftsRequest$Outbound = {
|
|
1086
|
+
campaignId: string;
|
|
1087
|
+
approved?: Array<string> | undefined;
|
|
1088
|
+
rejected?: Array<string> | undefined;
|
|
1089
|
+
editedMessages?: {
|
|
1090
|
+
[k: string]: string;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
};
|
|
1093
|
+
/** @internal */
|
|
1094
|
+
export declare const ReviewDraftsRequest$outboundSchema: z.ZodMiniType<ReviewDraftsRequest$Outbound, ReviewDraftsRequest>;
|
|
1095
|
+
export declare function reviewDraftsRequestToJSON(reviewDraftsRequest: ReviewDraftsRequest): string;
|
|
1096
|
+
/** @internal */
|
|
1097
|
+
export declare const ReviewDraftsResponse$inboundSchema: z.ZodMiniType<ReviewDraftsResponse, unknown>;
|
|
1098
|
+
export declare function reviewDraftsResponseFromJSON(jsonString: string): SafeParseResult<ReviewDraftsResponse, SDKValidationError>;
|
|
1099
|
+
/** @internal */
|
|
1100
|
+
export type ListEntriesRequest$Outbound = {
|
|
1101
|
+
scope?: string | undefined;
|
|
1102
|
+
type?: string | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export declare const ListEntriesRequest$outboundSchema: z.ZodMiniType<ListEntriesRequest$Outbound, ListEntriesRequest>;
|
|
1106
|
+
export declare function listEntriesRequestToJSON(listEntriesRequest: ListEntriesRequest): string;
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export declare const ListEntriesEntry$inboundSchema: z.ZodMiniType<ListEntriesEntry, unknown>;
|
|
1109
|
+
export declare function listEntriesEntryFromJSON(jsonString: string): SafeParseResult<ListEntriesEntry, SDKValidationError>;
|
|
1110
|
+
/** @internal */
|
|
1111
|
+
export declare const ListEntriesResponse$inboundSchema: z.ZodMiniType<ListEntriesResponse, unknown>;
|
|
1112
|
+
export declare function listEntriesResponseFromJSON(jsonString: string): SafeParseResult<ListEntriesResponse, SDKValidationError>;
|
|
1113
|
+
/** @internal */
|
|
1114
|
+
export type SetRequest$Outbound = {
|
|
1115
|
+
type: string;
|
|
1116
|
+
content: string;
|
|
1117
|
+
scope?: string | undefined;
|
|
1118
|
+
label?: string | undefined;
|
|
1119
|
+
};
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export declare const SetRequest$outboundSchema: z.ZodMiniType<SetRequest$Outbound, SetRequest>;
|
|
1122
|
+
export declare function setRequestToJSON(setRequest: SetRequest): string;
|
|
1123
|
+
/** @internal */
|
|
1124
|
+
export declare const SetEntry$inboundSchema: z.ZodMiniType<SetEntry, unknown>;
|
|
1125
|
+
export declare function setEntryFromJSON(jsonString: string): SafeParseResult<SetEntry, SDKValidationError>;
|
|
1126
|
+
/** @internal */
|
|
1127
|
+
export declare const SetResponse$inboundSchema: z.ZodMiniType<SetResponse, unknown>;
|
|
1128
|
+
export declare function setResponseFromJSON(jsonString: string): SafeParseResult<SetResponse, SDKValidationError>;
|
|
1129
|
+
/** @internal */
|
|
1130
|
+
export type DeleteRequest$Outbound = {
|
|
1131
|
+
type: string;
|
|
1132
|
+
scope?: string | undefined;
|
|
1133
|
+
};
|
|
1134
|
+
/** @internal */
|
|
1135
|
+
export declare const DeleteRequest$outboundSchema: z.ZodMiniType<DeleteRequest$Outbound, DeleteRequest>;
|
|
1136
|
+
export declare function deleteRequestToJSON(deleteRequest: DeleteRequest): string;
|
|
1137
|
+
/** @internal */
|
|
1138
|
+
export declare const DeleteResponse$inboundSchema: z.ZodMiniType<DeleteResponse, unknown>;
|
|
1139
|
+
export declare function deleteResponseFromJSON(jsonString: string): SafeParseResult<DeleteResponse, SDKValidationError>;
|
|
1140
|
+
/** @internal */
|
|
1141
|
+
export declare const Schedule$inboundSchema: z.ZodMiniType<Schedule, unknown>;
|
|
1142
|
+
export declare function scheduleFromJSON(jsonString: string): SafeParseResult<Schedule, SDKValidationError>;
|
|
1143
|
+
/** @internal */
|
|
1144
|
+
export declare const ListSchedulesResponse$inboundSchema: z.ZodMiniType<ListSchedulesResponse, unknown>;
|
|
1145
|
+
export declare function listSchedulesResponseFromJSON(jsonString: string): SafeParseResult<ListSchedulesResponse, SDKValidationError>;
|
|
1146
|
+
/** @internal */
|
|
1147
|
+
export declare const UpdateScheduleAction$outboundSchema: z.ZodMiniEnum<typeof UpdateScheduleAction>;
|
|
1148
|
+
/** @internal */
|
|
1149
|
+
export type UpdateScheduleRequestBody$Outbound = {
|
|
1150
|
+
action: string;
|
|
1151
|
+
};
|
|
1152
|
+
/** @internal */
|
|
1153
|
+
export declare const UpdateScheduleRequestBody$outboundSchema: z.ZodMiniType<UpdateScheduleRequestBody$Outbound, UpdateScheduleRequestBody>;
|
|
1154
|
+
export declare function updateScheduleRequestBodyToJSON(updateScheduleRequestBody: UpdateScheduleRequestBody): string;
|
|
1155
|
+
/** @internal */
|
|
1156
|
+
export type UpdateScheduleRequest$Outbound = {
|
|
1157
|
+
scheduleId: string;
|
|
1158
|
+
body: UpdateScheduleRequestBody$Outbound;
|
|
1159
|
+
};
|
|
1160
|
+
/** @internal */
|
|
1161
|
+
export declare const UpdateScheduleRequest$outboundSchema: z.ZodMiniType<UpdateScheduleRequest$Outbound, UpdateScheduleRequest>;
|
|
1162
|
+
export declare function updateScheduleRequestToJSON(updateScheduleRequest: UpdateScheduleRequest): string;
|
|
1163
|
+
/** @internal */
|
|
1164
|
+
export declare const UpdateScheduleResponse$inboundSchema: z.ZodMiniType<UpdateScheduleResponse, unknown>;
|
|
1165
|
+
export declare function updateScheduleResponseFromJSON(jsonString: string): SafeParseResult<UpdateScheduleResponse, SDKValidationError>;
|
|
1166
|
+
/** @internal */
|
|
1167
|
+
export declare const ListTasksQueryParamStatus$outboundSchema: z.ZodMiniEnum<typeof ListTasksQueryParamStatus>;
|
|
1168
|
+
/** @internal */
|
|
1169
|
+
export type ListTasksRequest$Outbound = {
|
|
1170
|
+
status?: string | undefined;
|
|
1171
|
+
type?: string | undefined;
|
|
1172
|
+
campaignId?: string | undefined;
|
|
1173
|
+
limit: number;
|
|
1174
|
+
offset: number;
|
|
1175
|
+
};
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
export declare const ListTasksRequest$outboundSchema: z.ZodMiniType<ListTasksRequest$Outbound, ListTasksRequest>;
|
|
1178
|
+
export declare function listTasksRequestToJSON(listTasksRequest: ListTasksRequest): string;
|
|
1179
|
+
/** @internal */
|
|
1180
|
+
export declare const TaskStatus$inboundSchema: z.ZodMiniType<TaskStatus, unknown>;
|
|
1181
|
+
/** @internal */
|
|
1182
|
+
export declare const ListTasksTask$inboundSchema: z.ZodMiniType<ListTasksTask, unknown>;
|
|
1183
|
+
export declare function listTasksTaskFromJSON(jsonString: string): SafeParseResult<ListTasksTask, SDKValidationError>;
|
|
1184
|
+
/** @internal */
|
|
1185
|
+
export declare const ListTasksResponse$inboundSchema: z.ZodMiniType<ListTasksResponse, unknown>;
|
|
1186
|
+
export declare function listTasksResponseFromJSON(jsonString: string): SafeParseResult<ListTasksResponse, SDKValidationError>;
|
|
1187
|
+
/** @internal */
|
|
1188
|
+
export type CancelTaskRequest$Outbound = {
|
|
1189
|
+
id: string;
|
|
1190
|
+
};
|
|
1191
|
+
/** @internal */
|
|
1192
|
+
export declare const CancelTaskRequest$outboundSchema: z.ZodMiniType<CancelTaskRequest$Outbound, CancelTaskRequest>;
|
|
1193
|
+
export declare function cancelTaskRequestToJSON(cancelTaskRequest: CancelTaskRequest): string;
|
|
1194
|
+
/** @internal */
|
|
1195
|
+
export declare const CancelTaskResponse$inboundSchema: z.ZodMiniType<CancelTaskResponse, unknown>;
|
|
1196
|
+
export declare function cancelTaskResponseFromJSON(jsonString: string): SafeParseResult<CancelTaskResponse, SDKValidationError>;
|
|
1197
|
+
/** @internal */
|
|
1198
|
+
export type EventsFeedRequest$Outbound = {
|
|
1199
|
+
since?: string | undefined;
|
|
1200
|
+
limit: number;
|
|
1201
|
+
};
|
|
1202
|
+
/** @internal */
|
|
1203
|
+
export declare const EventsFeedRequest$outboundSchema: z.ZodMiniType<EventsFeedRequest$Outbound, EventsFeedRequest>;
|
|
1204
|
+
export declare function eventsFeedRequestToJSON(eventsFeedRequest: EventsFeedRequest): string;
|
|
1205
|
+
/** @internal */
|
|
1206
|
+
export declare const EventsFeedType$inboundSchema: z.ZodMiniType<EventsFeedType, unknown>;
|
|
1207
|
+
/** @internal */
|
|
1208
|
+
export declare const Event$inboundSchema: z.ZodMiniType<Event, unknown>;
|
|
1209
|
+
export declare function eventFromJSON(jsonString: string): SafeParseResult<Event, SDKValidationError>;
|
|
1210
|
+
/** @internal */
|
|
1211
|
+
export declare const EventsFeedResponse$inboundSchema: z.ZodMiniType<EventsFeedResponse, unknown>;
|
|
1212
|
+
export declare function eventsFeedResponseFromJSON(jsonString: string): SafeParseResult<EventsFeedResponse, SDKValidationError>;
|
|
1213
|
+
/** @internal */
|
|
1214
|
+
export type CancelChainRequest$Outbound = {
|
|
1215
|
+
workflowRunId: string;
|
|
1216
|
+
};
|
|
1217
|
+
/** @internal */
|
|
1218
|
+
export declare const CancelChainRequest$outboundSchema: z.ZodMiniType<CancelChainRequest$Outbound, CancelChainRequest>;
|
|
1219
|
+
export declare function cancelChainRequestToJSON(cancelChainRequest: CancelChainRequest): string;
|
|
1220
|
+
/** @internal */
|
|
1221
|
+
export declare const CancelChainResponse$inboundSchema: z.ZodMiniType<CancelChainResponse, unknown>;
|
|
1222
|
+
export declare function cancelChainResponseFromJSON(jsonString: string): SafeParseResult<CancelChainResponse, SDKValidationError>;
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export declare const PullTaskTask$inboundSchema: z.ZodMiniType<PullTaskTask, unknown>;
|
|
1225
|
+
export declare function pullTaskTaskFromJSON(jsonString: string): SafeParseResult<PullTaskTask, SDKValidationError>;
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export declare const PullTaskResponse$inboundSchema: z.ZodMiniType<PullTaskResponse, unknown>;
|
|
1228
|
+
export declare function pullTaskResponseFromJSON(jsonString: string): SafeParseResult<PullTaskResponse, SDKValidationError>;
|
|
1229
|
+
/** @internal */
|
|
1230
|
+
export declare const SubmitTaskResultStatus$outboundSchema: z.ZodMiniEnum<typeof SubmitTaskResultStatus>;
|
|
1231
|
+
/** @internal */
|
|
1232
|
+
export type SubmitTaskResultRequestBody$Outbound = {
|
|
1233
|
+
status?: string | undefined;
|
|
1234
|
+
result?: any | undefined;
|
|
1235
|
+
error?: string | undefined;
|
|
1236
|
+
};
|
|
1237
|
+
/** @internal */
|
|
1238
|
+
export declare const SubmitTaskResultRequestBody$outboundSchema: z.ZodMiniType<SubmitTaskResultRequestBody$Outbound, SubmitTaskResultRequestBody>;
|
|
1239
|
+
export declare function submitTaskResultRequestBodyToJSON(submitTaskResultRequestBody: SubmitTaskResultRequestBody): string;
|
|
1240
|
+
/** @internal */
|
|
1241
|
+
export type SubmitTaskResultRequest$Outbound = {
|
|
1242
|
+
id: string;
|
|
1243
|
+
body: SubmitTaskResultRequestBody$Outbound;
|
|
1244
|
+
};
|
|
1245
|
+
/** @internal */
|
|
1246
|
+
export declare const SubmitTaskResultRequest$outboundSchema: z.ZodMiniType<SubmitTaskResultRequest$Outbound, SubmitTaskResultRequest>;
|
|
1247
|
+
export declare function submitTaskResultRequestToJSON(submitTaskResultRequest: SubmitTaskResultRequest): string;
|
|
1248
|
+
/** @internal */
|
|
1249
|
+
export declare const SubmitTaskResultResponse$inboundSchema: z.ZodMiniType<SubmitTaskResultResponse, unknown>;
|
|
1250
|
+
export declare function submitTaskResultResponseFromJSON(jsonString: string): SafeParseResult<SubmitTaskResultResponse, SDKValidationError>;
|
|
1251
|
+
/** @internal */
|
|
1252
|
+
export declare const Connector$inboundSchema: z.ZodMiniType<Connector, unknown>;
|
|
1253
|
+
export declare function connectorFromJSON(jsonString: string): SafeParseResult<Connector, SDKValidationError>;
|
|
1254
|
+
/** @internal */
|
|
1255
|
+
export declare const ListConnectorsResponse$inboundSchema: z.ZodMiniType<ListConnectorsResponse, unknown>;
|
|
1256
|
+
export declare function listConnectorsResponseFromJSON(jsonString: string): SafeParseResult<ListConnectorsResponse, SDKValidationError>;
|
|
1257
|
+
/** @internal */
|
|
1258
|
+
export type ConnectorHeartbeatRequest$Outbound = {
|
|
1259
|
+
currentTaskId?: string | undefined;
|
|
1260
|
+
};
|
|
1261
|
+
/** @internal */
|
|
1262
|
+
export declare const ConnectorHeartbeatRequest$outboundSchema: z.ZodMiniType<ConnectorHeartbeatRequest$Outbound, ConnectorHeartbeatRequest>;
|
|
1263
|
+
export declare function connectorHeartbeatRequestToJSON(connectorHeartbeatRequest: ConnectorHeartbeatRequest): string;
|
|
1264
|
+
/** @internal */
|
|
1265
|
+
export declare const ConnectorHeartbeatResponse$inboundSchema: z.ZodMiniType<ConnectorHeartbeatResponse, unknown>;
|
|
1266
|
+
export declare function connectorHeartbeatResponseFromJSON(jsonString: string): SafeParseResult<ConnectorHeartbeatResponse, SDKValidationError>;
|
|
1267
|
+
/** @internal */
|
|
1268
|
+
export declare const Context$inboundSchema: z.ZodMiniType<Context, unknown>;
|
|
1269
|
+
export declare function contextFromJSON(jsonString: string): SafeParseResult<Context, SDKValidationError>;
|
|
1270
|
+
/** @internal */
|
|
1271
|
+
export declare const ActiveAccount$inboundSchema: z.ZodMiniType<ActiveAccount, unknown>;
|
|
1272
|
+
export declare function activeAccountFromJSON(jsonString: string): SafeParseResult<ActiveAccount, SDKValidationError>;
|
|
1273
|
+
/** @internal */
|
|
1274
|
+
export declare const AgentSnapshotAccount$inboundSchema: z.ZodMiniType<AgentSnapshotAccount, unknown>;
|
|
1275
|
+
export declare function agentSnapshotAccountFromJSON(jsonString: string): SafeParseResult<AgentSnapshotAccount, SDKValidationError>;
|
|
1276
|
+
/** @internal */
|
|
1277
|
+
export declare const AgentSnapshotStageCounts$inboundSchema: z.ZodMiniType<AgentSnapshotStageCounts, unknown>;
|
|
1278
|
+
export declare function agentSnapshotStageCountsFromJSON(jsonString: string): SafeParseResult<AgentSnapshotStageCounts, SDKValidationError>;
|
|
1279
|
+
/** @internal */
|
|
1280
|
+
export declare const ActiveCampaign$inboundSchema: z.ZodMiniType<ActiveCampaign, unknown>;
|
|
1281
|
+
export declare function activeCampaignFromJSON(jsonString: string): SafeParseResult<ActiveCampaign, SDKValidationError>;
|
|
1282
|
+
/** @internal */
|
|
1283
|
+
export declare const AgentSnapshotType$inboundSchema: z.ZodMiniType<AgentSnapshotType, unknown>;
|
|
1284
|
+
/** @internal */
|
|
1285
|
+
export declare const RecentEvent$inboundSchema: z.ZodMiniType<RecentEvent, unknown>;
|
|
1286
|
+
export declare function recentEventFromJSON(jsonString: string): SafeParseResult<RecentEvent, SDKValidationError>;
|
|
1287
|
+
/** @internal */
|
|
1288
|
+
export declare const AgentSnapshotResponse$inboundSchema: z.ZodMiniType<AgentSnapshotResponse, unknown>;
|
|
1289
|
+
export declare function agentSnapshotResponseFromJSON(jsonString: string): SafeParseResult<AgentSnapshotResponse, SDKValidationError>;
|
|
1290
|
+
/** @internal */
|
|
1291
|
+
export declare const GetDmPollingSettingsSettings$inboundSchema: z.ZodMiniType<GetDmPollingSettingsSettings, unknown>;
|
|
1292
|
+
export declare function getDmPollingSettingsSettingsFromJSON(jsonString: string): SafeParseResult<GetDmPollingSettingsSettings, SDKValidationError>;
|
|
1293
|
+
/** @internal */
|
|
1294
|
+
export declare const GetDmPollingSettingsResponse$inboundSchema: z.ZodMiniType<GetDmPollingSettingsResponse, unknown>;
|
|
1295
|
+
export declare function getDmPollingSettingsResponseFromJSON(jsonString: string): SafeParseResult<GetDmPollingSettingsResponse, SDKValidationError>;
|
|
1296
|
+
/** @internal */
|
|
1297
|
+
export type PatchDmPollingSettingsRequest$Outbound = {
|
|
1298
|
+
dmPollingEnabled?: boolean | undefined;
|
|
1299
|
+
dmWebhookUrl?: string | null | undefined;
|
|
1300
|
+
connectionPollingEnabled?: boolean | undefined;
|
|
1301
|
+
};
|
|
1302
|
+
/** @internal */
|
|
1303
|
+
export declare const PatchDmPollingSettingsRequest$outboundSchema: z.ZodMiniType<PatchDmPollingSettingsRequest$Outbound, PatchDmPollingSettingsRequest>;
|
|
1304
|
+
export declare function patchDmPollingSettingsRequestToJSON(patchDmPollingSettingsRequest: PatchDmPollingSettingsRequest): string;
|
|
1305
|
+
/** @internal */
|
|
1306
|
+
export declare const PatchDmPollingSettingsSettings$inboundSchema: z.ZodMiniType<PatchDmPollingSettingsSettings, unknown>;
|
|
1307
|
+
export declare function patchDmPollingSettingsSettingsFromJSON(jsonString: string): SafeParseResult<PatchDmPollingSettingsSettings, SDKValidationError>;
|
|
1308
|
+
/** @internal */
|
|
1309
|
+
export declare const PatchDmPollingSettingsResponse$inboundSchema: z.ZodMiniType<PatchDmPollingSettingsResponse, unknown>;
|
|
1310
|
+
export declare function patchDmPollingSettingsResponseFromJSON(jsonString: string): SafeParseResult<PatchDmPollingSettingsResponse, SDKValidationError>;
|
|
1311
|
+
/** @internal */
|
|
1312
|
+
export type DeleteWorkspaceAccountRequest$Outbound = {
|
|
1313
|
+
id: string;
|
|
1314
|
+
};
|
|
1315
|
+
/** @internal */
|
|
1316
|
+
export declare const DeleteWorkspaceAccountRequest$outboundSchema: z.ZodMiniType<DeleteWorkspaceAccountRequest$Outbound, DeleteWorkspaceAccountRequest>;
|
|
1317
|
+
export declare function deleteWorkspaceAccountRequestToJSON(deleteWorkspaceAccountRequest: DeleteWorkspaceAccountRequest): string;
|
|
1318
|
+
/** @internal */
|
|
1319
|
+
export declare const DeleteWorkspaceAccountResponse$inboundSchema: z.ZodMiniType<DeleteWorkspaceAccountResponse, unknown>;
|
|
1320
|
+
export declare function deleteWorkspaceAccountResponseFromJSON(jsonString: string): SafeParseResult<DeleteWorkspaceAccountResponse, SDKValidationError>;
|
|
1321
|
+
/** @internal */
|
|
1322
|
+
export declare const UpgradeWorkspaceAccountAction$outboundSchema: z.ZodMiniEnum<typeof UpgradeWorkspaceAccountAction>;
|
|
1323
|
+
/** @internal */
|
|
1324
|
+
export type UpgradeWorkspaceAccountRequest$Outbound = {
|
|
1325
|
+
credentialsId: string;
|
|
1326
|
+
action: string;
|
|
1327
|
+
};
|
|
1328
|
+
/** @internal */
|
|
1329
|
+
export declare const UpgradeWorkspaceAccountRequest$outboundSchema: z.ZodMiniType<UpgradeWorkspaceAccountRequest$Outbound, UpgradeWorkspaceAccountRequest>;
|
|
1330
|
+
export declare function upgradeWorkspaceAccountRequestToJSON(upgradeWorkspaceAccountRequest: UpgradeWorkspaceAccountRequest): string;
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
export declare const UpgradeWorkspaceAccountResponse$inboundSchema: z.ZodMiniType<UpgradeWorkspaceAccountResponse, unknown>;
|
|
1333
|
+
export declare function upgradeWorkspaceAccountResponseFromJSON(jsonString: string): SafeParseResult<UpgradeWorkspaceAccountResponse, SDKValidationError>;
|
|
1334
|
+
/** @internal */
|
|
1335
|
+
export declare const CreateWorkspaceInviteAction$outboundSchema: z.ZodMiniEnum<typeof CreateWorkspaceInviteAction>;
|
|
1336
|
+
/** @internal */
|
|
1337
|
+
export type CreateWorkspaceInviteRequest$Outbound = {
|
|
1338
|
+
action: string;
|
|
1339
|
+
email?: string | undefined;
|
|
1340
|
+
name?: string | undefined;
|
|
1341
|
+
maxUses: number;
|
|
1342
|
+
};
|
|
1343
|
+
/** @internal */
|
|
1344
|
+
export declare const CreateWorkspaceInviteRequest$outboundSchema: z.ZodMiniType<CreateWorkspaceInviteRequest$Outbound, CreateWorkspaceInviteRequest>;
|
|
1345
|
+
export declare function createWorkspaceInviteRequestToJSON(createWorkspaceInviteRequest: CreateWorkspaceInviteRequest): string;
|
|
1346
|
+
/** @internal */
|
|
1347
|
+
export declare const Invite2$inboundSchema: z.ZodMiniType<Invite2, unknown>;
|
|
1348
|
+
export declare function invite2FromJSON(jsonString: string): SafeParseResult<Invite2, SDKValidationError>;
|
|
1349
|
+
/** @internal */
|
|
1350
|
+
export declare const Workspace$inboundSchema: z.ZodMiniType<Workspace, unknown>;
|
|
1351
|
+
export declare function workspaceFromJSON(jsonString: string): SafeParseResult<Workspace, SDKValidationError>;
|
|
1352
|
+
/** @internal */
|
|
1353
|
+
export declare const ResponseBody2$inboundSchema: z.ZodMiniType<ResponseBody2, unknown>;
|
|
1354
|
+
export declare function responseBody2FromJSON(jsonString: string): SafeParseResult<ResponseBody2, SDKValidationError>;
|
|
1355
|
+
/** @internal */
|
|
1356
|
+
export declare const Invite1$inboundSchema: z.ZodMiniType<Invite1, unknown>;
|
|
1357
|
+
export declare function invite1FromJSON(jsonString: string): SafeParseResult<Invite1, SDKValidationError>;
|
|
1358
|
+
/** @internal */
|
|
1359
|
+
export declare const ResponseBody1$inboundSchema: z.ZodMiniType<ResponseBody1, unknown>;
|
|
1360
|
+
export declare function responseBody1FromJSON(jsonString: string): SafeParseResult<ResponseBody1, SDKValidationError>;
|
|
1361
|
+
/** @internal */
|
|
1362
|
+
export declare const CreateWorkspaceInviteResponse$inboundSchema: z.ZodMiniType<CreateWorkspaceInviteResponse, unknown>;
|
|
1363
|
+
export declare function createWorkspaceInviteResponseFromJSON(jsonString: string): SafeParseResult<CreateWorkspaceInviteResponse, SDKValidationError>;
|
|
1364
|
+
/** @internal */
|
|
1365
|
+
export type DeleteWorkspaceInviteRequest$Outbound = {
|
|
1366
|
+
inviteId: string;
|
|
1367
|
+
};
|
|
1368
|
+
/** @internal */
|
|
1369
|
+
export declare const DeleteWorkspaceInviteRequest$outboundSchema: z.ZodMiniType<DeleteWorkspaceInviteRequest$Outbound, DeleteWorkspaceInviteRequest>;
|
|
1370
|
+
export declare function deleteWorkspaceInviteRequestToJSON(deleteWorkspaceInviteRequest: DeleteWorkspaceInviteRequest): string;
|
|
1371
|
+
/** @internal */
|
|
1372
|
+
export declare const DeleteWorkspaceInviteResponse$inboundSchema: z.ZodMiniType<DeleteWorkspaceInviteResponse, unknown>;
|
|
1373
|
+
export declare function deleteWorkspaceInviteResponseFromJSON(jsonString: string): SafeParseResult<DeleteWorkspaceInviteResponse, SDKValidationError>;
|
|
1374
|
+
//# sourceMappingURL=delete-workspace-invite-response.d.ts.map
|