@elevasis/sdk 1.49.0 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-MGZZ4HL4.js +4399 -0
- package/dist/chunk-VYWGWJRW.js +130 -0
- package/dist/chunk-YJDXRHNP.js +7901 -0
- package/dist/cli.cjs +208 -51
- package/dist/index.d.ts +347 -2
- package/dist/index.js +2 -7831
- package/dist/node/index.d.ts +3 -3759
- package/dist/node/index.js +2 -124
- package/dist/test-utils/index.d.ts +2 -12664
- package/dist/test-utils/index.js +93 -28073
- package/dist/worker/index.d.ts +532 -12872
- package/dist/worker/index.js +3 -7509
- package/package.json +10 -2
- package/reference/packages/core/src/content/README.md +4 -1
- package/reference/rules/agent-start-here.md +1 -1
- package/reference/rules/frontend.md +3 -1
- package/reference/rules/package-taxonomy.md +7 -5
- package/reference/rules/ui.md +30 -4
- package/reference/scaffold/recipes/gate-by-feature-or-admin.md +8 -6
- package/reference/scaffold/ui/feature-flags-and-gating.md +11 -1
- package/reference/sdk/cli-management.mdx +127 -125
- package/reference/sdk/cli.mdx +70 -61
- package/reference/sdk/deployment/index.mdx +23 -6
- package/reference/sdk/platform-tools/adapters-platform.mdx +1 -1
- package/reference/sdk/troubleshooting.mdx +72 -1
package/dist/index.d.ts
CHANGED
|
@@ -3091,6 +3091,64 @@ type Database = {
|
|
|
3091
3091
|
}
|
|
3092
3092
|
];
|
|
3093
3093
|
};
|
|
3094
|
+
content_distribution_metrics: {
|
|
3095
|
+
Row: {
|
|
3096
|
+
captured_at: string;
|
|
3097
|
+
created_at: string;
|
|
3098
|
+
distribution_id: string;
|
|
3099
|
+
id: string;
|
|
3100
|
+
metrics: Json;
|
|
3101
|
+
organization_id: string;
|
|
3102
|
+
raw: Json;
|
|
3103
|
+
source: string;
|
|
3104
|
+
source_execution_id: string | null;
|
|
3105
|
+
};
|
|
3106
|
+
Insert: {
|
|
3107
|
+
captured_at?: string;
|
|
3108
|
+
created_at?: string;
|
|
3109
|
+
distribution_id: string;
|
|
3110
|
+
id?: string;
|
|
3111
|
+
metrics?: Json;
|
|
3112
|
+
organization_id: string;
|
|
3113
|
+
raw?: Json;
|
|
3114
|
+
source: string;
|
|
3115
|
+
source_execution_id?: string | null;
|
|
3116
|
+
};
|
|
3117
|
+
Update: {
|
|
3118
|
+
captured_at?: string;
|
|
3119
|
+
created_at?: string;
|
|
3120
|
+
distribution_id?: string;
|
|
3121
|
+
id?: string;
|
|
3122
|
+
metrics?: Json;
|
|
3123
|
+
organization_id?: string;
|
|
3124
|
+
raw?: Json;
|
|
3125
|
+
source?: string;
|
|
3126
|
+
source_execution_id?: string | null;
|
|
3127
|
+
};
|
|
3128
|
+
Relationships: [
|
|
3129
|
+
{
|
|
3130
|
+
foreignKeyName: "content_distribution_metrics_distribution_fkey";
|
|
3131
|
+
columns: ["distribution_id", "organization_id"];
|
|
3132
|
+
isOneToOne: false;
|
|
3133
|
+
referencedRelation: "content_distributions";
|
|
3134
|
+
referencedColumns: ["id", "organization_id"];
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
foreignKeyName: "content_distribution_metrics_organization_id_fkey";
|
|
3138
|
+
columns: ["organization_id"];
|
|
3139
|
+
isOneToOne: false;
|
|
3140
|
+
referencedRelation: "organizations";
|
|
3141
|
+
referencedColumns: ["id"];
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
foreignKeyName: "content_distribution_metrics_source_execution_id_fkey";
|
|
3145
|
+
columns: ["source_execution_id"];
|
|
3146
|
+
isOneToOne: false;
|
|
3147
|
+
referencedRelation: "execution_logs";
|
|
3148
|
+
referencedColumns: ["execution_id"];
|
|
3149
|
+
}
|
|
3150
|
+
];
|
|
3151
|
+
};
|
|
3094
3152
|
content_distributions: {
|
|
3095
3153
|
Row: {
|
|
3096
3154
|
adapted_body: string | null;
|
|
@@ -10830,6 +10888,142 @@ interface ClickUpCreateTaskResult {
|
|
|
10830
10888
|
name: string;
|
|
10831
10889
|
}
|
|
10832
10890
|
|
|
10891
|
+
/** Container ids and Instagram user ids are numeric strings, not UUIDs. */
|
|
10892
|
+
type InstagramContainerId = string;
|
|
10893
|
+
/** The Instagram professional account's user id (`me` resolves to it too). */
|
|
10894
|
+
type InstagramUserId = string;
|
|
10895
|
+
interface CreateMediaContainerParams {
|
|
10896
|
+
/**
|
|
10897
|
+
* The posting account. Optional because the stored credential may carry it:
|
|
10898
|
+
* every fetch resolves `params.igUserId ?? credentials.igUserId` and only
|
|
10899
|
+
* fails when neither is present. A single-account credential therefore does
|
|
10900
|
+
* not have to repeat the id on every call, and a caller with several accounts
|
|
10901
|
+
* behind one token still names the one it means.
|
|
10902
|
+
*/
|
|
10903
|
+
igUserId?: InstagramUserId;
|
|
10904
|
+
/** Publicly fetchable JPEG URL. Meta cURLs this, so it must resolve without auth headers. */
|
|
10905
|
+
imageUrl: string;
|
|
10906
|
+
/** Omitted on carousel children -- the caption belongs to the parent container. */
|
|
10907
|
+
caption?: string;
|
|
10908
|
+
/** Marks this container as a carousel child. Children carry no caption of their own. */
|
|
10909
|
+
isCarouselItem?: boolean;
|
|
10910
|
+
/** Accessibility text. Maps to `InstagramContent.altText`. */
|
|
10911
|
+
altText?: string;
|
|
10912
|
+
}
|
|
10913
|
+
interface CreateMediaContainerResult {
|
|
10914
|
+
containerId: InstagramContainerId;
|
|
10915
|
+
}
|
|
10916
|
+
interface CreateCarouselContainerParams {
|
|
10917
|
+
/** Falls back to the credential's own `igUserId` -- see `CreateMediaContainerParams`. */
|
|
10918
|
+
igUserId?: InstagramUserId;
|
|
10919
|
+
/**
|
|
10920
|
+
* Child container ids, in slide order. Meta caps a carousel at 10 items and
|
|
10921
|
+
* crops every slide to the FIRST slide's aspect ratio.
|
|
10922
|
+
*/
|
|
10923
|
+
children: InstagramContainerId[];
|
|
10924
|
+
caption?: string;
|
|
10925
|
+
}
|
|
10926
|
+
interface CreateCarouselContainerResult {
|
|
10927
|
+
containerId: InstagramContainerId;
|
|
10928
|
+
}
|
|
10929
|
+
interface PublishContainerParams {
|
|
10930
|
+
/** Falls back to the credential's own `igUserId` -- see `CreateMediaContainerParams`. */
|
|
10931
|
+
igUserId?: InstagramUserId;
|
|
10932
|
+
containerId: InstagramContainerId;
|
|
10933
|
+
}
|
|
10934
|
+
interface PublishContainerResult {
|
|
10935
|
+
/** The published media's id -- this is what belongs in `platform_post_id`. */
|
|
10936
|
+
mediaId: string;
|
|
10937
|
+
}
|
|
10938
|
+
interface GetContainerStatusParams {
|
|
10939
|
+
containerId: InstagramContainerId;
|
|
10940
|
+
}
|
|
10941
|
+
/**
|
|
10942
|
+
* `FINISHED` is the only state safe to publish from. `IN_PROGRESS` means poll
|
|
10943
|
+
* again; `ERROR` and `EXPIRED` are terminal.
|
|
10944
|
+
*/
|
|
10945
|
+
type InstagramContainerStatusCode = 'EXPIRED' | 'ERROR' | 'FINISHED' | 'IN_PROGRESS' | 'PUBLISHED';
|
|
10946
|
+
interface GetContainerStatusResult {
|
|
10947
|
+
containerId: InstagramContainerId;
|
|
10948
|
+
statusCode: InstagramContainerStatusCode;
|
|
10949
|
+
/** Human-readable detail; carries the reason when `statusCode` is `ERROR`. */
|
|
10950
|
+
status: string;
|
|
10951
|
+
}
|
|
10952
|
+
interface GetMediaPermalinkParams {
|
|
10953
|
+
mediaId: string;
|
|
10954
|
+
}
|
|
10955
|
+
interface GetMediaPermalinkResult {
|
|
10956
|
+
mediaId: string;
|
|
10957
|
+
/** The public post URL -- this is what belongs in `platform_url`. */
|
|
10958
|
+
permalink: string;
|
|
10959
|
+
}
|
|
10960
|
+
interface GetPublishingLimitParams {
|
|
10961
|
+
/** Falls back to the credential's own `igUserId` -- see `CreateMediaContainerParams`. */
|
|
10962
|
+
igUserId?: InstagramUserId;
|
|
10963
|
+
}
|
|
10964
|
+
interface GetPublishingLimitResult {
|
|
10965
|
+
/** Posts published in the current 24-hour moving window. */
|
|
10966
|
+
quotaUsage: number;
|
|
10967
|
+
/** Meta's cap: 100 API-published posts per 24 hours, per account. A carousel counts as one. */
|
|
10968
|
+
quotaTotal: number;
|
|
10969
|
+
}
|
|
10970
|
+
/**
|
|
10971
|
+
* The metrics a FEED image or carousel returns.
|
|
10972
|
+
*
|
|
10973
|
+
* **Measured, not documented.** This list came from asking Meta for one metric
|
|
10974
|
+
* at a time against a real published post on 2026-08-21; the documented set is
|
|
10975
|
+
* wider and includes names this media product type refuses. Every one of these
|
|
10976
|
+
* is `period: "lifetime"` and a plain integer.
|
|
10977
|
+
*
|
|
10978
|
+
* A Reel supports a different set. Extend this union when one is measured --
|
|
10979
|
+
* a closed union is what makes an unmeasured metric a compile error rather
|
|
10980
|
+
* than a silently absent key.
|
|
10981
|
+
*/
|
|
10982
|
+
type InstagramMediaMetric = 'reach' | 'views' | 'likes' | 'comments' | 'shares' | 'saved' | 'total_interactions' | 'profile_visits' | 'profile_activity' | 'follows';
|
|
10983
|
+
interface GetMediaInsightsParams {
|
|
10984
|
+
/** A published post's media id -- what `platform_post_id` holds. */
|
|
10985
|
+
mediaId: string;
|
|
10986
|
+
/**
|
|
10987
|
+
* Overrides which metrics are asked for. Normally omitted: the default is
|
|
10988
|
+
* the measured set above, and narrowing it only loses data.
|
|
10989
|
+
*/
|
|
10990
|
+
metrics?: InstagramMediaMetric[];
|
|
10991
|
+
}
|
|
10992
|
+
/** A metric this media refused, with Meta's own reason. */
|
|
10993
|
+
interface InstagramUnavailableMetric {
|
|
10994
|
+
metric: InstagramMediaMetric;
|
|
10995
|
+
reason: string;
|
|
10996
|
+
}
|
|
10997
|
+
interface GetMediaInsightsResult {
|
|
10998
|
+
mediaId: string;
|
|
10999
|
+
/** When the read happened -- what belongs in `metrics_updated_at`. */
|
|
11000
|
+
capturedAt: string;
|
|
11001
|
+
/**
|
|
11002
|
+
* Every metric Meta returned. Partial because availability varies by media
|
|
11003
|
+
* product type: a key's absence means this post does not support it, not
|
|
11004
|
+
* that its value is zero.
|
|
11005
|
+
*/
|
|
11006
|
+
metrics: Partial<Record<InstagramMediaMetric, number>>;
|
|
11007
|
+
/**
|
|
11008
|
+
* Populated only when the batch request was refused and each metric was
|
|
11009
|
+
* retried alone. Empty on the normal path, where one refusal is indivisible
|
|
11010
|
+
* from the rest.
|
|
11011
|
+
*/
|
|
11012
|
+
unavailable: InstagramUnavailableMetric[];
|
|
11013
|
+
}
|
|
11014
|
+
/**
|
|
11015
|
+
* Long-lived tokens last 60 days and can be refreshed once at least 24 hours
|
|
11016
|
+
* old, which extends them another 60 days from the refresh date. Nothing
|
|
11017
|
+
* refreshes them automatically -- see the task doc's Open Decision 4.
|
|
11018
|
+
*/
|
|
11019
|
+
type RefreshTokenParams = Record<string, never>;
|
|
11020
|
+
interface RefreshTokenResult {
|
|
11021
|
+
accessToken: string;
|
|
11022
|
+
tokenType: string;
|
|
11023
|
+
/** Seconds until expiry -- 60 days when the refresh succeeds. */
|
|
11024
|
+
expiresIn: number;
|
|
11025
|
+
}
|
|
11026
|
+
|
|
10833
11027
|
interface FindCompanyEmailParams {
|
|
10834
11028
|
domain: string;
|
|
10835
11029
|
company_name?: string;
|
|
@@ -11860,6 +12054,80 @@ declare const ContentDistributionResponseSchema: z.ZodObject<{
|
|
|
11860
12054
|
createdAt: z.ZodString;
|
|
11861
12055
|
updatedAt: z.ZodString;
|
|
11862
12056
|
}, z.core.$strip>;
|
|
12057
|
+
/**
|
|
12058
|
+
* The cross-platform vocabulary. One name per concept, shared by every
|
|
12059
|
+
* platform, so a chart can put Instagram and TikTok on the same axis.
|
|
12060
|
+
*
|
|
12061
|
+
* Each key is optional and its ABSENCE MEANS UNSUPPORTED, not zero -- a FEED
|
|
12062
|
+
* carousel reports no `clicks` at all, which is a different fact from clicks
|
|
12063
|
+
* being zero. Readers must distinguish the two.
|
|
12064
|
+
*
|
|
12065
|
+
* Strict on purpose: this object is the gate the database deliberately does not
|
|
12066
|
+
* enforce (a CHECK on JSON keys would need a migration per platform). A source
|
|
12067
|
+
* returning a name outside this list is a mapping that has not been written
|
|
12068
|
+
* yet, and the verbatim `raw` alongside it means nothing is lost meanwhile.
|
|
12069
|
+
*/
|
|
12070
|
+
declare const ContentDistributionMetricsSchema: z.ZodObject<{
|
|
12071
|
+
views: z.ZodOptional<z.ZodNumber>;
|
|
12072
|
+
reach: z.ZodOptional<z.ZodNumber>;
|
|
12073
|
+
likes: z.ZodOptional<z.ZodNumber>;
|
|
12074
|
+
comments: z.ZodOptional<z.ZodNumber>;
|
|
12075
|
+
shares: z.ZodOptional<z.ZodNumber>;
|
|
12076
|
+
saves: z.ZodOptional<z.ZodNumber>;
|
|
12077
|
+
engagements: z.ZodOptional<z.ZodNumber>;
|
|
12078
|
+
profile_visits: z.ZodOptional<z.ZodNumber>;
|
|
12079
|
+
profile_activity: z.ZodOptional<z.ZodNumber>;
|
|
12080
|
+
follows: z.ZodOptional<z.ZodNumber>;
|
|
12081
|
+
clicks: z.ZodOptional<z.ZodNumber>;
|
|
12082
|
+
}, z.core.$strict>;
|
|
12083
|
+
declare const ContentDistributionMetricsResponseSchema: z.ZodObject<{
|
|
12084
|
+
id: z.ZodString;
|
|
12085
|
+
organizationId: z.ZodString;
|
|
12086
|
+
distributionId: z.ZodString;
|
|
12087
|
+
capturedAt: z.ZodString;
|
|
12088
|
+
source: z.ZodString;
|
|
12089
|
+
metrics: z.ZodObject<{
|
|
12090
|
+
views: z.ZodOptional<z.ZodNumber>;
|
|
12091
|
+
reach: z.ZodOptional<z.ZodNumber>;
|
|
12092
|
+
likes: z.ZodOptional<z.ZodNumber>;
|
|
12093
|
+
comments: z.ZodOptional<z.ZodNumber>;
|
|
12094
|
+
shares: z.ZodOptional<z.ZodNumber>;
|
|
12095
|
+
saves: z.ZodOptional<z.ZodNumber>;
|
|
12096
|
+
engagements: z.ZodOptional<z.ZodNumber>;
|
|
12097
|
+
profile_visits: z.ZodOptional<z.ZodNumber>;
|
|
12098
|
+
profile_activity: z.ZodOptional<z.ZodNumber>;
|
|
12099
|
+
follows: z.ZodOptional<z.ZodNumber>;
|
|
12100
|
+
clicks: z.ZodOptional<z.ZodNumber>;
|
|
12101
|
+
}, z.core.$strict>;
|
|
12102
|
+
raw: z.ZodUnknown;
|
|
12103
|
+
sourceExecutionId: z.ZodNullable<z.ZodString>;
|
|
12104
|
+
createdAt: z.ZodString;
|
|
12105
|
+
}, z.core.$strip>;
|
|
12106
|
+
declare const ContentDistributionMetricsListResponseSchema: z.ZodObject<{
|
|
12107
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12108
|
+
id: z.ZodString;
|
|
12109
|
+
organizationId: z.ZodString;
|
|
12110
|
+
distributionId: z.ZodString;
|
|
12111
|
+
capturedAt: z.ZodString;
|
|
12112
|
+
source: z.ZodString;
|
|
12113
|
+
metrics: z.ZodObject<{
|
|
12114
|
+
views: z.ZodOptional<z.ZodNumber>;
|
|
12115
|
+
reach: z.ZodOptional<z.ZodNumber>;
|
|
12116
|
+
likes: z.ZodOptional<z.ZodNumber>;
|
|
12117
|
+
comments: z.ZodOptional<z.ZodNumber>;
|
|
12118
|
+
shares: z.ZodOptional<z.ZodNumber>;
|
|
12119
|
+
saves: z.ZodOptional<z.ZodNumber>;
|
|
12120
|
+
engagements: z.ZodOptional<z.ZodNumber>;
|
|
12121
|
+
profile_visits: z.ZodOptional<z.ZodNumber>;
|
|
12122
|
+
profile_activity: z.ZodOptional<z.ZodNumber>;
|
|
12123
|
+
follows: z.ZodOptional<z.ZodNumber>;
|
|
12124
|
+
clicks: z.ZodOptional<z.ZodNumber>;
|
|
12125
|
+
}, z.core.$strict>;
|
|
12126
|
+
raw: z.ZodUnknown;
|
|
12127
|
+
sourceExecutionId: z.ZodNullable<z.ZodString>;
|
|
12128
|
+
createdAt: z.ZodString;
|
|
12129
|
+
}, z.core.$strip>>;
|
|
12130
|
+
}, z.core.$strip>;
|
|
11863
12131
|
type ContentStepStatus = z.infer<typeof ContentStepStatusSchema>;
|
|
11864
12132
|
type ContentPipelineId = z.infer<typeof ContentPipelineIdSchema>;
|
|
11865
12133
|
type ContentItemStatus = z.infer<typeof ContentItemStatusSchema>;
|
|
@@ -11879,6 +12147,9 @@ type ContentItemAttemptListResponse = z.infer<typeof ContentItemAttemptListRespo
|
|
|
11879
12147
|
type ContentSourceAssetResponse = z.infer<typeof ContentSourceAssetResponseSchema>;
|
|
11880
12148
|
type ContentMediaEntry = z.infer<typeof ContentMediaEntrySchema>;
|
|
11881
12149
|
type ContentDistributionResponse = z.infer<typeof ContentDistributionResponseSchema>;
|
|
12150
|
+
type ContentDistributionMetrics = z.infer<typeof ContentDistributionMetricsSchema>;
|
|
12151
|
+
type ContentDistributionMetricsResponse = z.infer<typeof ContentDistributionMetricsResponseSchema>;
|
|
12152
|
+
type ContentDistributionMetricsListResponse = z.infer<typeof ContentDistributionMetricsListResponseSchema>;
|
|
11882
12153
|
|
|
11883
12154
|
/**
|
|
11884
12155
|
* Tool Method Maps
|
|
@@ -12503,6 +12774,46 @@ type ClickUpToolMap = {
|
|
|
12503
12774
|
result: ClickUpCreateTaskResult;
|
|
12504
12775
|
};
|
|
12505
12776
|
};
|
|
12777
|
+
/**
|
|
12778
|
+
* Content Publishing via the Instagram Login configuration. Publishing is a
|
|
12779
|
+
* container flow, so these methods are sequenced by the caller rather than
|
|
12780
|
+
* composed here -- create containers, poll until FINISHED, publish, then read
|
|
12781
|
+
* the permalink. See the adapter's own doc comment for the order.
|
|
12782
|
+
*/
|
|
12783
|
+
type InstagramToolMap = {
|
|
12784
|
+
createMediaContainer: {
|
|
12785
|
+
params: CreateMediaContainerParams;
|
|
12786
|
+
result: CreateMediaContainerResult;
|
|
12787
|
+
};
|
|
12788
|
+
createCarouselContainer: {
|
|
12789
|
+
params: CreateCarouselContainerParams;
|
|
12790
|
+
result: CreateCarouselContainerResult;
|
|
12791
|
+
};
|
|
12792
|
+
publishContainer: {
|
|
12793
|
+
params: PublishContainerParams;
|
|
12794
|
+
result: PublishContainerResult;
|
|
12795
|
+
};
|
|
12796
|
+
getContainerStatus: {
|
|
12797
|
+
params: GetContainerStatusParams;
|
|
12798
|
+
result: GetContainerStatusResult;
|
|
12799
|
+
};
|
|
12800
|
+
getMediaPermalink: {
|
|
12801
|
+
params: GetMediaPermalinkParams;
|
|
12802
|
+
result: GetMediaPermalinkResult;
|
|
12803
|
+
};
|
|
12804
|
+
getPublishingLimit: {
|
|
12805
|
+
params: GetPublishingLimitParams;
|
|
12806
|
+
result: GetPublishingLimitResult;
|
|
12807
|
+
};
|
|
12808
|
+
getMediaInsights: {
|
|
12809
|
+
params: GetMediaInsightsParams;
|
|
12810
|
+
result: GetMediaInsightsResult;
|
|
12811
|
+
};
|
|
12812
|
+
refreshToken: {
|
|
12813
|
+
params: RefreshTokenParams;
|
|
12814
|
+
result: RefreshTokenResult;
|
|
12815
|
+
};
|
|
12816
|
+
};
|
|
12506
12817
|
type LeadToolMap = {
|
|
12507
12818
|
listLists: {
|
|
12508
12819
|
params: Record<string, never>;
|
|
@@ -13163,6 +13474,40 @@ type ContentToolMap = {
|
|
|
13163
13474
|
};
|
|
13164
13475
|
result: ContentDistributionResponse;
|
|
13165
13476
|
};
|
|
13477
|
+
/**
|
|
13478
|
+
* Append one metrics reading to a distribution's history.
|
|
13479
|
+
*
|
|
13480
|
+
* Append-only: this never edits a prior row, so two captures a second apart
|
|
13481
|
+
* are two real readings rather than a duplicate. The service also mirrors the
|
|
13482
|
+
* reading into `content_distributions.metrics` + `metrics_updated_at`, which
|
|
13483
|
+
* is a rebuildable cache for the list views -- the history is authoritative
|
|
13484
|
+
* and can recompute it at any time, never the other way round.
|
|
13485
|
+
*
|
|
13486
|
+
* Nothing here is platform-specific. `metrics` uses one vocabulary shared
|
|
13487
|
+
* across platforms and `raw` keeps what the source actually returned, so a
|
|
13488
|
+
* mapping written wrong today is recoverable from `raw` later.
|
|
13489
|
+
*/
|
|
13490
|
+
appendDistributionMetrics: {
|
|
13491
|
+
params: {
|
|
13492
|
+
distributionId: string;
|
|
13493
|
+
source: string;
|
|
13494
|
+
metrics: ContentDistributionMetrics;
|
|
13495
|
+
raw?: unknown;
|
|
13496
|
+
capturedAt?: string;
|
|
13497
|
+
sourceExecutionId?: string | null;
|
|
13498
|
+
};
|
|
13499
|
+
result: ContentDistributionMetricsResponse;
|
|
13500
|
+
};
|
|
13501
|
+
/** Read a distribution's capture history, newest first -- the series a chart draws. */
|
|
13502
|
+
listDistributionMetrics: {
|
|
13503
|
+
params: {
|
|
13504
|
+
distributionId: string;
|
|
13505
|
+
source?: string;
|
|
13506
|
+
limit?: number;
|
|
13507
|
+
offset?: number;
|
|
13508
|
+
};
|
|
13509
|
+
result: ContentDistributionMetricsListResponse;
|
|
13510
|
+
};
|
|
13166
13511
|
};
|
|
13167
13512
|
type PdfToolMap = {
|
|
13168
13513
|
render: {
|
|
@@ -13984,7 +14329,7 @@ type ToolingErrorType = 'service_unavailable' | 'permission_denied' | 'platform_
|
|
|
13984
14329
|
* Note: Concrete adapter implementations are deferred until needed.
|
|
13985
14330
|
* This type provides compile-time safety and auto-completion for tool definitions.
|
|
13986
14331
|
*/
|
|
13987
|
-
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
|
|
14332
|
+
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier' | 'instagram';
|
|
13988
14333
|
|
|
13989
14334
|
/**
|
|
13990
14335
|
* Resource Registry type definitions
|
|
@@ -15039,4 +15384,4 @@ declare const ListBuilderStageKeySchema: z.ZodString;
|
|
|
15039
15384
|
type ListBuilderStageKey = z.infer<typeof ListBuilderStageKeySchema>;
|
|
15040
15385
|
|
|
15041
15386
|
export { ActivityEventSchema, BuildPlanSnapshotStepSchema, ProspectingBuildTemplateSchema as BuildTemplateSchema, ContractRefResolutionError, CrmStageKeySchema, CrmStateKeySchema, EmailSchema, ExecutionError, ListBuilderStageKeySchema, ProcessingStageStatusSchema, RegistryValidationError, ResourceRegistry, StepType, ToolingError, bindResourceDescriptor, compileBusinessOntologyValidationIndex, concurrentPool, createLeadGenStageValidators, defineContract, defineResource, defineResourceOntology, defineResources, defineStep, defineTopology, defineTopologyRelationship, defineWorkflow, defineWorkflowConfig, deriveActions, diagnosticOutput, integrationInput, isBuiltInReadinessProfile, isZodType, lookupReadinessProfile, parseTopologyNodeRef, projectDeploymentSpec, projectTopologyRelationships, registerReadinessProfile, resolveContractRef, runDiagnostic, splitName, toSdkResourceDescriptor, topologyRef, topologyRelationship, validateDeclaredSystemInterfaceReadiness, validateResourceGovernance, withPlatformAgentResourceDescriptor, withPlatformAgentResourceDescriptors, withPlatformIntegrationResourceDescriptor, withPlatformIntegrationResourceDescriptors, withPlatformResourceDescriptor, withPlatformResourceDescriptors };
|
|
15042
|
-
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqDealRow, AcqList, Action, ActionDef, ActivityEvent, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, AgentResourceDescriptorResolver, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, ArtifactsToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BuildPlanSnapshotStep, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, BusinessOntologyValidationIndex, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, ClickUpToolMap, CompanyFilters, ConcurrentPoolOptions, ConcurrentPoolResult, ConditionalNext, ContactFilters, ContentToolMap, Contract, ContractRefResolutionErrorCode, ContractRegistry, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, CrmStageKey, CrmStateKey, CrmToolMap, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DiagnosticOutput, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, IntegrationResourceDescriptorResolver, JsonSchema, LLMAdapterFactory, LLMContentPart, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadGenStageValidators, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListBuilderStageKey, ListBuilderStep, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, ListToolMap, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, OrganizationModelAgentResourceEntry, OrganizationModelIntegrationResourceEntry, OrganizationModelResourceEntry, OrganizationModelResourceOntologyBinding, OrganizationModelTopology, OrganizationModelTopologyNodeRef, OrganizationModelTopologyRelationship, OrganizationModelWorkflowResourceEntry, PaginatedResult, PaginationParams, PdfToolMap, ProcessingStageStatus, ProjectDeploymentSpecOptions, ProjectsToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, ReadinessProfileEntry, ReadinessProfileKind, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResolvedContractRef, ResourceCategory, ResourceDefinition, ResourceLink, ResourceMetricsConfig, ResourceOntologyBindingResolver, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SystemApiInterfaceReadinessContract, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TransitionItemParams, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowConfigActionRegistry, WorkflowDefinition, WorkflowLogger, WorkflowResourceDescriptorMap, WorkflowResourceDescriptorResolver, WorkflowStep, WriteSheetParams, WriteSheetResult };
|
|
15387
|
+
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqDealRow, AcqList, Action, ActionDef, ActivityEvent, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, AgentResourceDescriptorResolver, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, ArtifactsToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BuildPlanSnapshotStep, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, BusinessOntologyValidationIndex, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, ClickUpToolMap, CompanyFilters, ConcurrentPoolOptions, ConcurrentPoolResult, ConditionalNext, ContactFilters, ContentToolMap, Contract, ContractRefResolutionErrorCode, ContractRegistry, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, CrmStageKey, CrmStateKey, CrmToolMap, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DiagnosticOutput, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstagramToolMap, InstantlyToolMap, IntegrationDefinition, IntegrationResourceDescriptorResolver, JsonSchema, LLMAdapterFactory, LLMContentPart, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadGenStageValidators, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListBuilderStageKey, ListBuilderStep, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, ListToolMap, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, OrganizationModel, OrganizationModelAgentResourceEntry, OrganizationModelIntegrationResourceEntry, OrganizationModelResourceEntry, OrganizationModelResourceOntologyBinding, OrganizationModelTopology, OrganizationModelTopologyNodeRef, OrganizationModelTopologyRelationship, OrganizationModelWorkflowResourceEntry, PaginatedResult, PaginationParams, PdfToolMap, ProcessingStageStatus, ProjectDeploymentSpecOptions, ProjectsToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, ReadinessProfileEntry, ReadinessProfileKind, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResolvedContractRef, ResourceCategory, ResourceDefinition, ResourceLink, ResourceMetricsConfig, ResourceOntologyBindingResolver, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SystemApiInterfaceReadinessContract, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TransitionItemParams, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowConfigActionRegistry, WorkflowDefinition, WorkflowLogger, WorkflowResourceDescriptorMap, WorkflowResourceDescriptorResolver, WorkflowStep, WriteSheetParams, WriteSheetResult };
|