@superclerk/sdk 0.2.0 → 0.3.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/CHANGELOG.md +12 -0
- package/generated/resources.d.ts +2 -2
- package/generated/resources.js +2 -2
- package/generated/tools.d.ts +202 -36
- package/generated/types.d.ts +129 -12
- package/generated/version.d.ts +1 -1
- package/generated/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0 (2026-11-17)
|
|
4
|
+
|
|
5
|
+
Still pinned to API version `2026-11-05`.
|
|
6
|
+
|
|
7
|
+
- The PlusVibe tools follow PlusVibe's current API. Lists page by cursor: `plusvibe_list_campaigns`,
|
|
8
|
+
`plusvibe_list_leads`, `plusvibe_search_lead` and `plusvibe_list_emails` take `startingAfter` and answer
|
|
9
|
+
`nextStartingAfter` while more remain. `skip`, `page`, `sort`, `direction` and `pageTrail` are gone.
|
|
10
|
+
- `plusvibe_save_reply_draft` takes `threadId` in place of `parentMessageId`.
|
|
11
|
+
- `plusvibe_get_email_account_stats` covers the whole workspace: `endDate` is required and `emailAccountId` is gone.
|
|
12
|
+
- `plusvibe_list_campaigns`' `campaignType` is `all`, `parent` or `subseq`, and `plusvibe_list_leads`' `status` adds
|
|
13
|
+
`PAUSED` and drops `PENDING` and `RESCHEDULED`.
|
|
14
|
+
|
|
3
15
|
## 0.2.0 (2026-11-12)
|
|
4
16
|
|
|
5
17
|
Still pinned to API version `2026-11-05`.
|
package/generated/resources.d.ts
CHANGED
|
@@ -551,7 +551,7 @@ export declare class ConversationsMessages extends APIResource {
|
|
|
551
551
|
/**
|
|
552
552
|
* Reply as staff
|
|
553
553
|
*
|
|
554
|
-
* Queues the text for the customer at most once per idempotency key, and answers the message with status sending; list the messages to see it sent, or not_sent with why. The
|
|
554
|
+
* Queues the text for the customer at most once per idempotency key, and answers the message with status sending; list the messages to see it sent, or not_sent with why. The AI stays out for ten minutes from the reply, or until someone hands the conversation back if a person already held it, an AI turn in flight stops, and the customer's earlier messages count as answered. inReplyTo quotes a message the customer sent.
|
|
555
555
|
*
|
|
556
556
|
* `POST /v1/conversations/{conversationID}/messages`
|
|
557
557
|
*/
|
|
@@ -586,7 +586,7 @@ export declare class Conversations extends APIResource {
|
|
|
586
586
|
/**
|
|
587
587
|
* Take a conversation over from the AI
|
|
588
588
|
*
|
|
589
|
-
* A person holds the conversation
|
|
589
|
+
* A person holds the conversation until someone hands it back.
|
|
590
590
|
*
|
|
591
591
|
* Formerly `POST /v1/conversations/{conversationID}/take-over`, which still answers, marked deprecated.
|
|
592
592
|
*
|
package/generated/resources.js
CHANGED
|
@@ -794,7 +794,7 @@ export class ConversationsMessages extends APIResource {
|
|
|
794
794
|
/**
|
|
795
795
|
* Reply as staff
|
|
796
796
|
*
|
|
797
|
-
* Queues the text for the customer at most once per idempotency key, and answers the message with status sending; list the messages to see it sent, or not_sent with why. The
|
|
797
|
+
* Queues the text for the customer at most once per idempotency key, and answers the message with status sending; list the messages to see it sent, or not_sent with why. The AI stays out for ten minutes from the reply, or until someone hands the conversation back if a person already held it, an AI turn in flight stops, and the customer's earlier messages count as answered. inReplyTo quotes a message the customer sent.
|
|
798
798
|
*
|
|
799
799
|
* `POST /v1/conversations/{conversationID}/messages`
|
|
800
800
|
*/
|
|
@@ -849,7 +849,7 @@ export class Conversations extends APIResource {
|
|
|
849
849
|
/**
|
|
850
850
|
* Take a conversation over from the AI
|
|
851
851
|
*
|
|
852
|
-
* A person holds the conversation
|
|
852
|
+
* A person holds the conversation until someone hands it back.
|
|
853
853
|
*
|
|
854
854
|
* Formerly `POST /v1/conversations/{conversationID}/take-over`, which still answers, marked deprecated.
|
|
855
855
|
*
|
package/generated/tools.d.ts
CHANGED
|
@@ -1004,7 +1004,7 @@ export interface Tools {
|
|
|
1004
1004
|
engagement: number;
|
|
1005
1005
|
};
|
|
1006
1006
|
};
|
|
1007
|
-
/** List LinkedIn organization pages the connected member can
|
|
1007
|
+
/** List LinkedIn organization pages the connected member can post to. */
|
|
1008
1008
|
linkedin_page_list_organizations: {
|
|
1009
1009
|
input: {
|
|
1010
1010
|
[key: string]: never;
|
|
@@ -2378,7 +2378,7 @@ export interface Tools {
|
|
|
2378
2378
|
type: "CALL";
|
|
2379
2379
|
phoneNumber: string;
|
|
2380
2380
|
countryCode: string;
|
|
2381
|
-
/** Count calls from the ad as conversions. */
|
|
2381
|
+
/** Count calls from the ad as conversions, under the account's call conversion action. */
|
|
2382
2382
|
countCalls: boolean;
|
|
2383
2383
|
} | {
|
|
2384
2384
|
type: "STRUCTURED_SNIPPET";
|
|
@@ -6943,6 +6943,14 @@ export interface Tools {
|
|
|
6943
6943
|
geoTargetConstantIds: Array<string>;
|
|
6944
6944
|
/** Left out, calls ring the Business Profile number. */
|
|
6945
6945
|
callsTo?: string;
|
|
6946
|
+
/** When someone answers the phone, in the account's time zone; all seven days from 0 to 24 if always. */
|
|
6947
|
+
hours: Array<{
|
|
6948
|
+
dayOfWeek: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
6949
|
+
startHour: number;
|
|
6950
|
+
startMinute: "ZERO" | "FIFTEEN" | "THIRTY" | "FORTY_FIVE";
|
|
6951
|
+
endHour: number;
|
|
6952
|
+
endMinute: "ZERO" | "FIFTEEN" | "THIRTY" | "FORTY_FIVE";
|
|
6953
|
+
}>;
|
|
6946
6954
|
};
|
|
6947
6955
|
output: {
|
|
6948
6956
|
operationResponses: Array<{
|
|
@@ -7020,8 +7028,8 @@ export interface Tools {
|
|
|
7020
7028
|
text: string;
|
|
7021
7029
|
matchType: "EXACT" | "PHRASE" | "BROAD";
|
|
7022
7030
|
}>;
|
|
7023
|
-
/**
|
|
7024
|
-
geoTargetConstantIds
|
|
7031
|
+
/** The area served, from google_ads_list_geo_targets. */
|
|
7032
|
+
geoTargetConstantIds: Array<string>;
|
|
7025
7033
|
callouts?: Array<{
|
|
7026
7034
|
text: string;
|
|
7027
7035
|
name?: string;
|
|
@@ -7039,7 +7047,7 @@ export interface Tools {
|
|
|
7039
7047
|
/** Keywords serve as soon as their campaign and ad group are enabled. */
|
|
7040
7048
|
keywordStatus?: "ENABLED" | "PAUSED";
|
|
7041
7049
|
/** Also show ads on Google's search partner sites. */
|
|
7042
|
-
targetSearchNetwork
|
|
7050
|
+
targetSearchNetwork: boolean;
|
|
7043
7051
|
/** Google Partner Network, a restricted program; leave false unless the account is in it. */
|
|
7044
7052
|
targetPartnerSearchNetwork?: boolean;
|
|
7045
7053
|
};
|
|
@@ -7070,6 +7078,11 @@ export interface Tools {
|
|
|
7070
7078
|
loginCustomerId?: string;
|
|
7071
7079
|
label: string;
|
|
7072
7080
|
}>;
|
|
7081
|
+
/** Customers the sign-in lists that Google refused to read, each with Google's reason. */
|
|
7082
|
+
unreachable: Array<{
|
|
7083
|
+
customerId: string;
|
|
7084
|
+
reason: string;
|
|
7085
|
+
}>;
|
|
7073
7086
|
};
|
|
7074
7087
|
};
|
|
7075
7088
|
/** List ad groups with campaign context and performance metrics. */
|
|
@@ -7077,6 +7090,9 @@ export interface Tools {
|
|
|
7077
7090
|
input: {
|
|
7078
7091
|
campaignId?: string;
|
|
7079
7092
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7093
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7094
|
+
startDate?: string;
|
|
7095
|
+
endDate?: string;
|
|
7080
7096
|
limit?: number;
|
|
7081
7097
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
7082
7098
|
customerId: string;
|
|
@@ -7087,6 +7103,8 @@ export interface Tools {
|
|
|
7087
7103
|
adGroups: Array<{
|
|
7088
7104
|
[key: string]: unknown;
|
|
7089
7105
|
}>;
|
|
7106
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7107
|
+
dateRange: string;
|
|
7090
7108
|
totalResultsCount?: string;
|
|
7091
7109
|
fieldMask?: string;
|
|
7092
7110
|
};
|
|
@@ -7096,6 +7114,9 @@ export interface Tools {
|
|
|
7096
7114
|
input: {
|
|
7097
7115
|
campaignId?: string;
|
|
7098
7116
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7117
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7118
|
+
startDate?: string;
|
|
7119
|
+
endDate?: string;
|
|
7099
7120
|
limit?: number;
|
|
7100
7121
|
adGroupId?: string;
|
|
7101
7122
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
@@ -7107,6 +7128,8 @@ export interface Tools {
|
|
|
7107
7128
|
ads: Array<{
|
|
7108
7129
|
[key: string]: unknown;
|
|
7109
7130
|
}>;
|
|
7131
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7132
|
+
dateRange: string;
|
|
7110
7133
|
totalResultsCount?: string;
|
|
7111
7134
|
fieldMask?: string;
|
|
7112
7135
|
};
|
|
@@ -7133,6 +7156,7 @@ export interface Tools {
|
|
|
7133
7156
|
input: {
|
|
7134
7157
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7135
7158
|
channelType?: string;
|
|
7159
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7136
7160
|
startDate?: string;
|
|
7137
7161
|
endDate?: string;
|
|
7138
7162
|
limit?: number;
|
|
@@ -7145,6 +7169,8 @@ export interface Tools {
|
|
|
7145
7169
|
campaigns: Array<{
|
|
7146
7170
|
[key: string]: unknown;
|
|
7147
7171
|
}>;
|
|
7172
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7173
|
+
dateRange: string;
|
|
7148
7174
|
totalResultsCount?: string;
|
|
7149
7175
|
fieldMask?: string;
|
|
7150
7176
|
};
|
|
@@ -7198,6 +7224,9 @@ export interface Tools {
|
|
|
7198
7224
|
input: {
|
|
7199
7225
|
campaignId?: string;
|
|
7200
7226
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7227
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7228
|
+
startDate?: string;
|
|
7229
|
+
endDate?: string;
|
|
7201
7230
|
limit?: number;
|
|
7202
7231
|
adGroupId?: string;
|
|
7203
7232
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
@@ -7209,6 +7238,8 @@ export interface Tools {
|
|
|
7209
7238
|
keywords: Array<{
|
|
7210
7239
|
[key: string]: unknown;
|
|
7211
7240
|
}>;
|
|
7241
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7242
|
+
dateRange: string;
|
|
7212
7243
|
totalResultsCount?: string;
|
|
7213
7244
|
fieldMask?: string;
|
|
7214
7245
|
};
|
|
@@ -7294,6 +7325,36 @@ export interface Tools {
|
|
|
7294
7325
|
jobs: Array<string>;
|
|
7295
7326
|
};
|
|
7296
7327
|
};
|
|
7328
|
+
/** Remove campaigns, ad groups, keywords and ads for good. To stop spend, pause instead. */
|
|
7329
|
+
google_ads_remove: {
|
|
7330
|
+
input: {
|
|
7331
|
+
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
7332
|
+
customerId: string;
|
|
7333
|
+
/** Omit it: each of the connection's accounts keeps the manager it is reached through. Name one only when the same customer is kept through two managers. */
|
|
7334
|
+
loginCustomerId?: string;
|
|
7335
|
+
/** What to change, with IDs from the list tools or google_ads_find_waste. */
|
|
7336
|
+
targets: Array<{
|
|
7337
|
+
level: "CAMPAIGN";
|
|
7338
|
+
campaignId: string;
|
|
7339
|
+
} | {
|
|
7340
|
+
level: "AD_GROUP";
|
|
7341
|
+
adGroupId: string;
|
|
7342
|
+
} | {
|
|
7343
|
+
level: "KEYWORD";
|
|
7344
|
+
adGroupId: string;
|
|
7345
|
+
criterionId: string;
|
|
7346
|
+
} | {
|
|
7347
|
+
level: "AD";
|
|
7348
|
+
adGroupId: string;
|
|
7349
|
+
adId: string;
|
|
7350
|
+
}>;
|
|
7351
|
+
};
|
|
7352
|
+
output: {
|
|
7353
|
+
operationResponses: Array<{
|
|
7354
|
+
[key: string]: unknown;
|
|
7355
|
+
}>;
|
|
7356
|
+
};
|
|
7357
|
+
};
|
|
7297
7358
|
/** Remove one campaign-level criterion by campaign id and criterion id. */
|
|
7298
7359
|
google_ads_remove_campaign_criterion: {
|
|
7299
7360
|
input: {
|
|
@@ -7455,7 +7516,7 @@ export interface Tools {
|
|
|
7455
7516
|
loginCustomerId?: string;
|
|
7456
7517
|
campaignId: string;
|
|
7457
7518
|
strategy: "MANUAL_CPC" | "MAXIMIZE_CLICKS" | "MAXIMIZE_CONVERSIONS";
|
|
7458
|
-
/** MAXIMIZE_CLICKS: the most to pay for a click. MAXIMIZE_CONVERSIONS: the average cost per conversion to aim for. Leave it out for none. */
|
|
7519
|
+
/** MAXIMIZE_CLICKS: the most to pay for a click. MAXIMIZE_CONVERSIONS: the average cost per conversion to aim for. Leave it out for none. MANUAL_CPC takes none: each ad group's bid is set with google_ads_update_ad_group_bid. */
|
|
7459
7520
|
limitMicros?: number;
|
|
7460
7521
|
};
|
|
7461
7522
|
output: {
|
|
@@ -7619,15 +7680,13 @@ export interface Tools {
|
|
|
7619
7680
|
}>;
|
|
7620
7681
|
};
|
|
7621
7682
|
};
|
|
7622
|
-
/** Enable
|
|
7683
|
+
/** Enable or pause campaigns, ad groups, keywords and ads. */
|
|
7623
7684
|
google_ads_update_status: {
|
|
7624
7685
|
input: {
|
|
7625
7686
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
7626
7687
|
customerId: string;
|
|
7627
7688
|
/** Omit it: each of the connection's accounts keeps the manager it is reached through. Name one only when the same customer is kept through two managers. */
|
|
7628
7689
|
loginCustomerId?: string;
|
|
7629
|
-
/** REMOVED cannot be undone. */
|
|
7630
|
-
status: "ENABLED" | "PAUSED" | "REMOVED";
|
|
7631
7690
|
/** What to change, with IDs from the list tools or google_ads_find_waste. */
|
|
7632
7691
|
targets: Array<{
|
|
7633
7692
|
level: "CAMPAIGN";
|
|
@@ -7644,6 +7703,7 @@ export interface Tools {
|
|
|
7644
7703
|
adGroupId: string;
|
|
7645
7704
|
adId: string;
|
|
7646
7705
|
}>;
|
|
7706
|
+
status: "ENABLED" | "PAUSED";
|
|
7647
7707
|
};
|
|
7648
7708
|
output: {
|
|
7649
7709
|
operationResponses: Array<{
|
|
@@ -15792,6 +15852,48 @@ export interface Tools {
|
|
|
15792
15852
|
};
|
|
15793
15853
|
};
|
|
15794
15854
|
};
|
|
15855
|
+
/** Read what Meta still needs before lead ads run: a payment method, and each Page's lead terms, forms and leads. */
|
|
15856
|
+
meta_ads_check_setup: {
|
|
15857
|
+
input: {
|
|
15858
|
+
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
15859
|
+
accountId: string;
|
|
15860
|
+
};
|
|
15861
|
+
output: {
|
|
15862
|
+
pages: Array<{
|
|
15863
|
+
id: string;
|
|
15864
|
+
name: string;
|
|
15865
|
+
/** Null when Meta doesn't say. */
|
|
15866
|
+
leadTermsAccepted: boolean | null;
|
|
15867
|
+
/** Null until a Meta Lead Ads sign-in reaches this Page. */
|
|
15868
|
+
leadInstallationID: string | null;
|
|
15869
|
+
/** Null until leads reach the Inbox. */
|
|
15870
|
+
channel: {
|
|
15871
|
+
id: string;
|
|
15872
|
+
agentID: string;
|
|
15873
|
+
/** The line that texts these leads. Null: nobody is texted. */
|
|
15874
|
+
smsLine: string | null;
|
|
15875
|
+
} | null;
|
|
15876
|
+
/** Connected to this Page, so its ads run as this unless another is chosen. Null: under the Page's name. */
|
|
15877
|
+
instagramAccount: {
|
|
15878
|
+
id: string;
|
|
15879
|
+
username: string | null;
|
|
15880
|
+
} | null;
|
|
15881
|
+
forms: Array<{
|
|
15882
|
+
id: string;
|
|
15883
|
+
name: string;
|
|
15884
|
+
questionCount: number;
|
|
15885
|
+
/** Whether the form has the box asking permission to text. */
|
|
15886
|
+
canText: boolean;
|
|
15887
|
+
}>;
|
|
15888
|
+
}>;
|
|
15889
|
+
instagramAccounts: Array<{
|
|
15890
|
+
id: string;
|
|
15891
|
+
name: string;
|
|
15892
|
+
}>;
|
|
15893
|
+
/** Whether the ad account has one. Null when Meta doesn't say. */
|
|
15894
|
+
paymentMethod: boolean | null;
|
|
15895
|
+
};
|
|
15896
|
+
};
|
|
15795
15897
|
/** Create one ad with an explicit status from an owned ad set and creative in the Meta ad account. */
|
|
15796
15898
|
meta_ads_create_ad: {
|
|
15797
15899
|
input: {
|
|
@@ -15964,6 +16066,7 @@ export interface Tools {
|
|
|
15964
16066
|
creativeFeatures?: {
|
|
15965
16067
|
[key: string]: "OPT_IN" | "OPT_OUT";
|
|
15966
16068
|
};
|
|
16069
|
+
/** Left out, Meta may show other businesses' ads beside this one; OPT_OUT keeps them away. */
|
|
15967
16070
|
multiAdvertiser?: "OPT_IN" | "OPT_OUT";
|
|
15968
16071
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
15969
16072
|
accountId: string;
|
|
@@ -16203,7 +16306,7 @@ export interface Tools {
|
|
|
16203
16306
|
excluded_publisher_categories?: Array<string>;
|
|
16204
16307
|
excluded_publisher_list_ids?: Array<string>;
|
|
16205
16308
|
targeting_automation: {
|
|
16206
|
-
/** 1
|
|
16309
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
16207
16310
|
advantage_audience: 0 | 1;
|
|
16208
16311
|
individual_setting?: {
|
|
16209
16312
|
geo?: 0 | 1;
|
|
@@ -16303,10 +16406,8 @@ export interface Tools {
|
|
|
16303
16406
|
lifetimeBudgetMinorUnits?: string;
|
|
16304
16407
|
/** Required when neither campaign daily nor lifetime budget is set. false keeps each ad set's budget separate; true allows Meta to share up to 20% between ad sets. Choose explicitly. */
|
|
16305
16408
|
isAdsetBudgetSharingEnabled?: boolean;
|
|
16306
|
-
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits with
|
|
16409
|
+
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits instead, with endsAt on each ad set. */
|
|
16307
16410
|
spendCapMinorUnits?: string;
|
|
16308
|
-
startsAt?: string;
|
|
16309
|
-
endsAt?: string;
|
|
16310
16411
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
16311
16412
|
accountId: string;
|
|
16312
16413
|
};
|
|
@@ -16348,7 +16449,6 @@ export interface Tools {
|
|
|
16348
16449
|
kind: "lookalike";
|
|
16349
16450
|
name: string;
|
|
16350
16451
|
originAudienceId: string;
|
|
16351
|
-
country: string;
|
|
16352
16452
|
ratio: number;
|
|
16353
16453
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
16354
16454
|
accountId: string;
|
|
@@ -16871,7 +16971,7 @@ export interface Tools {
|
|
|
16871
16971
|
excluded_publisher_categories?: Array<string>;
|
|
16872
16972
|
excluded_publisher_list_ids?: Array<string>;
|
|
16873
16973
|
targeting_automation: {
|
|
16874
|
-
/** 1
|
|
16974
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
16875
16975
|
advantage_audience: 0 | 1;
|
|
16876
16976
|
individual_setting?: {
|
|
16877
16977
|
geo?: 0 | 1;
|
|
@@ -16925,7 +17025,7 @@ export interface Tools {
|
|
|
16925
17025
|
}>;
|
|
16926
17026
|
};
|
|
16927
17027
|
};
|
|
16928
|
-
/** Read the Meta ad account's status, currency, timezone, and spend balances, and on request its business, finance, and EU DSA settings. */
|
|
17028
|
+
/** Read the Meta ad account's status with what it means, currency, timezone, and spend balances, and on request its business, finance, and EU DSA settings. */
|
|
16929
17029
|
meta_ads_get_account: {
|
|
16930
17030
|
input: {
|
|
16931
17031
|
/** Sections to read with the account: business (only the Meta business that owns it, or null when none does; never other businesses the user can reach), finance (exact minor-unit balances, spend cap and funding-source display), dsaDefaults (its configured EU DSA beneficiary and payor), dsaRecommendations (Meta's suggested DSA disclosure names, never applied). */
|
|
@@ -16937,8 +17037,12 @@ export interface Tools {
|
|
|
16937
17037
|
account: {
|
|
16938
17038
|
accountId: string;
|
|
16939
17039
|
name: string;
|
|
17040
|
+
/** Meta's account_status: only 1, active, runs ads. */
|
|
16940
17041
|
status: number;
|
|
17042
|
+
/** What status means, in words to tell the owner. */
|
|
17043
|
+
statusMeaning: string;
|
|
16941
17044
|
currency: string;
|
|
17045
|
+
/** The clock Meta counts this account's days on: insights dates and presets such as today are its days. */
|
|
16942
17046
|
timezoneName: string;
|
|
16943
17047
|
disableReason?: number;
|
|
16944
17048
|
amountSpentMinorUnits?: string;
|
|
@@ -17374,6 +17478,52 @@ export interface Tools {
|
|
|
17374
17478
|
};
|
|
17375
17479
|
};
|
|
17376
17480
|
};
|
|
17481
|
+
/** Build and turn on a whole instant-form lead campaign in one step. */
|
|
17482
|
+
meta_ads_launch_campaign: {
|
|
17483
|
+
input: {
|
|
17484
|
+
name: string;
|
|
17485
|
+
/** Per day. A plain amount of the account's currency, as the owner says it: 20 is $20. Not the minor units of the other Meta Ads tools, where $20 is 2000. */
|
|
17486
|
+
dailyBudget: number;
|
|
17487
|
+
/** Null gets the most leads for the budget; a number caps the average cost per lead. A plain amount of the account's currency, as the owner says it: 20 is $20. Not the minor units of the other Meta Ads tools, where $20 is 2000. */
|
|
17488
|
+
costPerResultGoal: number | null;
|
|
17489
|
+
/** HOUSING where Meta requires it, such as home sales, rentals and repairs; NONE otherwise. */
|
|
17490
|
+
specialAdCategory: "NONE" | "HOUSING" | "FINANCIAL_PRODUCTS_SERVICES" | "EMPLOYMENT";
|
|
17491
|
+
startsAt: string | null;
|
|
17492
|
+
endsAt: string | null;
|
|
17493
|
+
adSets: Array<{
|
|
17494
|
+
name: string;
|
|
17495
|
+
pageId: string;
|
|
17496
|
+
/** Null runs on Instagram as the Page's connected account, or under the Page's name and picture if it has none. */
|
|
17497
|
+
instagramUserId: string | null;
|
|
17498
|
+
formId: string;
|
|
17499
|
+
/** Places as meta_ads_search_targeting returns them. */
|
|
17500
|
+
places: Array<{
|
|
17501
|
+
key: string;
|
|
17502
|
+
type: "country" | "region" | "city" | "zip";
|
|
17503
|
+
countryCode: string;
|
|
17504
|
+
/** Miles around a city; null for any other place. */
|
|
17505
|
+
radiusMiles: number | null;
|
|
17506
|
+
}>;
|
|
17507
|
+
ads: Array<{
|
|
17508
|
+
name: string;
|
|
17509
|
+
messages: Array<string>;
|
|
17510
|
+
headlines: Array<string>;
|
|
17511
|
+
descriptions: Array<string>;
|
|
17512
|
+
callToAction: "APPLY_NOW" | "DOWNLOAD" | "GET_QUOTE" | "LEARN_MORE" | "SIGN_UP" | "SUBSCRIBE";
|
|
17513
|
+
feedImageHash: string;
|
|
17514
|
+
/** 9:16, for Stories and Reels; null shows the feed image there. */
|
|
17515
|
+
verticalImageHash: string | null;
|
|
17516
|
+
}>;
|
|
17517
|
+
}>;
|
|
17518
|
+
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
17519
|
+
accountId: string;
|
|
17520
|
+
};
|
|
17521
|
+
output: {
|
|
17522
|
+
campaignId: string;
|
|
17523
|
+
/** What the campaign now spends a day, as the owner reads it: $20.00. */
|
|
17524
|
+
dailyBudget: string;
|
|
17525
|
+
};
|
|
17526
|
+
};
|
|
17377
17527
|
/** Read the ad account's provider audit log with bounded filters and pagination. */
|
|
17378
17528
|
meta_ads_list_account_activity: {
|
|
17379
17529
|
input: {
|
|
@@ -17408,7 +17558,7 @@ export interface Tools {
|
|
|
17408
17558
|
after?: string;
|
|
17409
17559
|
};
|
|
17410
17560
|
};
|
|
17411
|
-
/** List the ad accounts this connection acts on, and the other
|
|
17561
|
+
/** List the ad accounts this connection acts on, and the other ad accounts its sign-in reaches. Every other Meta Ads tool names one of the first by accountId. */
|
|
17412
17562
|
meta_ads_list_accounts: {
|
|
17413
17563
|
input: {
|
|
17414
17564
|
[key: string]: never;
|
|
@@ -17421,6 +17571,8 @@ export interface Tools {
|
|
|
17421
17571
|
otherAccounts: Array<{
|
|
17422
17572
|
accountId: string;
|
|
17423
17573
|
label: string;
|
|
17574
|
+
/** Meta's status for the account, in words to tell the owner. */
|
|
17575
|
+
statusMeaning: string;
|
|
17424
17576
|
}>;
|
|
17425
17577
|
};
|
|
17426
17578
|
};
|
|
@@ -18295,7 +18447,7 @@ export interface Tools {
|
|
|
18295
18447
|
excluded_publisher_categories?: Array<string>;
|
|
18296
18448
|
excluded_publisher_list_ids?: Array<string>;
|
|
18297
18449
|
targeting_automation: {
|
|
18298
|
-
/** 1
|
|
18450
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
18299
18451
|
advantage_audience: 0 | 1;
|
|
18300
18452
|
individual_setting?: {
|
|
18301
18453
|
geo?: 0 | 1;
|
|
@@ -18432,6 +18584,8 @@ export interface Tools {
|
|
|
18432
18584
|
name: string;
|
|
18433
18585
|
type?: string;
|
|
18434
18586
|
countryCode?: string;
|
|
18587
|
+
/** The state or region a city or ZIP code is in: it tells same-name places apart. */
|
|
18588
|
+
region?: string;
|
|
18435
18589
|
audienceSizeLowerBound?: number;
|
|
18436
18590
|
audienceSizeUpperBound?: number;
|
|
18437
18591
|
}>;
|
|
@@ -18741,7 +18895,7 @@ export interface Tools {
|
|
|
18741
18895
|
excluded_publisher_categories?: Array<string>;
|
|
18742
18896
|
excluded_publisher_list_ids?: Array<string>;
|
|
18743
18897
|
targeting_automation?: {
|
|
18744
|
-
/** 1
|
|
18898
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
18745
18899
|
advantage_audience: 0 | 1;
|
|
18746
18900
|
individual_setting?: {
|
|
18747
18901
|
geo?: 0 | 1;
|
|
@@ -18837,10 +18991,8 @@ export interface Tools {
|
|
|
18837
18991
|
dailyBudgetMinorUnits?: string;
|
|
18838
18992
|
/** Total budget. Meta counts money in units of the account currency: 100 per unit for most currencies (USD 50 = 5000), and 1 per unit for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD and VND (JPY 5000 = 5000). Do not also set dailyBudgetMinorUnits. */
|
|
18839
18993
|
lifetimeBudgetMinorUnits?: string;
|
|
18840
|
-
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits with
|
|
18994
|
+
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits instead, with endsAt on each ad set. */
|
|
18841
18995
|
spendCapMinorUnits?: string;
|
|
18842
|
-
startsAt?: string;
|
|
18843
|
-
endsAt?: string;
|
|
18844
18996
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
18845
18997
|
accountId: string;
|
|
18846
18998
|
};
|
|
@@ -18901,8 +19053,10 @@ export interface Tools {
|
|
|
18901
19053
|
/** Fetch and upload one bounded image into the Meta ad account. */
|
|
18902
19054
|
meta_ads_upload_image: {
|
|
18903
19055
|
input: {
|
|
19056
|
+
/** A ready image in this conversation, such as the owner's own job photo. */
|
|
19057
|
+
sessionFileId?: string;
|
|
18904
19058
|
/** Public HTTPS image URL that Superclerk will fetch once without redirects. */
|
|
18905
|
-
fileUrl
|
|
19059
|
+
fileUrl?: string;
|
|
18906
19060
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
18907
19061
|
accountId: string;
|
|
18908
19062
|
};
|
|
@@ -19102,7 +19256,7 @@ export interface Tools {
|
|
|
19102
19256
|
url: string;
|
|
19103
19257
|
linkText: string;
|
|
19104
19258
|
};
|
|
19105
|
-
/** True adds the box asking permission to text, in Superclerk's wording: optional, unticked and named for the Page. Only leads who tick it are texted. */
|
|
19259
|
+
/** True adds the box asking permission to text, in Superclerk's wording: optional, unticked and named for the Page. Only leads who tick it are texted. Requires a PHONE question. */
|
|
19106
19260
|
askTextConsent?: boolean;
|
|
19107
19261
|
customDisclaimer?: {
|
|
19108
19262
|
title: string;
|
|
@@ -19128,6 +19282,7 @@ export interface Tools {
|
|
|
19128
19282
|
} | {
|
|
19129
19283
|
type: "CUSTOM";
|
|
19130
19284
|
key: string;
|
|
19285
|
+
/** Only what no predefined field asks: Meta disapproves a custom question that repeats one. */
|
|
19131
19286
|
label: string;
|
|
19132
19287
|
options?: Array<{
|
|
19133
19288
|
key: string;
|
|
@@ -19146,6 +19301,7 @@ export interface Tools {
|
|
|
19146
19301
|
websiteUrl?: string;
|
|
19147
19302
|
/** Required for CALL_BUSINESS; include the international dialing code. */
|
|
19148
19303
|
businessPhoneNumber?: string;
|
|
19304
|
+
/** The country of businessPhoneNumber, for CALL_BUSINESS. */
|
|
19149
19305
|
countryCode?: string;
|
|
19150
19306
|
enableMessenger?: boolean;
|
|
19151
19307
|
};
|
|
@@ -19158,6 +19314,7 @@ export interface Tools {
|
|
|
19158
19314
|
questionPageCustomHeadline?: string;
|
|
19159
19315
|
allowOrganicLeadRetrieval?: boolean;
|
|
19160
19316
|
blockDisplayForNonTargetedViewer?: boolean;
|
|
19317
|
+
/** True is Higher intent: a review screen, fewer leads. Leave it out for More volume, Meta's default. */
|
|
19161
19318
|
isOptimizedForQuality?: boolean;
|
|
19162
19319
|
isLeadCaptureAiAgentEnabled?: boolean;
|
|
19163
19320
|
/** Requires a PHONE question when true. */
|
|
@@ -22125,8 +22282,8 @@ export interface Tools {
|
|
|
22125
22282
|
workspaceId: string;
|
|
22126
22283
|
/** Start date accepted by PlusVibe, for example YYYY-MM-DD. */
|
|
22127
22284
|
startDate: string;
|
|
22128
|
-
|
|
22129
|
-
|
|
22285
|
+
/** End date accepted by PlusVibe, for example YYYY-MM-DD. */
|
|
22286
|
+
endDate: string;
|
|
22130
22287
|
provider?: Array<"GOOGLE_WORKSPACE" | "MICROSOFT365" | "REGULAR_ACCOUNT">;
|
|
22131
22288
|
tags?: Array<string>;
|
|
22132
22289
|
recipientProvider?: Array<"GOOGLE_WORKSPACE" | "MICROSOFT365" | "REGULAR_ACCOUNT">;
|
|
@@ -22148,8 +22305,9 @@ export interface Tools {
|
|
|
22148
22305
|
campaignId?: string;
|
|
22149
22306
|
parentCampaignId?: string;
|
|
22150
22307
|
status?: string;
|
|
22151
|
-
campaignType?: "parent" | "
|
|
22152
|
-
|
|
22308
|
+
campaignType?: "all" | "parent" | "subseq";
|
|
22309
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22310
|
+
startingAfter?: string;
|
|
22153
22311
|
limit?: number;
|
|
22154
22312
|
};
|
|
22155
22313
|
output: {
|
|
@@ -22173,6 +22331,7 @@ export interface Tools {
|
|
|
22173
22331
|
openRate?: number;
|
|
22174
22332
|
replyRate?: number;
|
|
22175
22333
|
}>;
|
|
22334
|
+
nextStartingAfter?: string;
|
|
22176
22335
|
};
|
|
22177
22336
|
};
|
|
22178
22337
|
/** List recent PlusVibe Unibox emails with lead, campaign, thread, and body context. */
|
|
@@ -22180,9 +22339,12 @@ export interface Tools {
|
|
|
22180
22339
|
input: {
|
|
22181
22340
|
/** PlusVibe workspace id. */
|
|
22182
22341
|
workspaceId: string;
|
|
22342
|
+
/** Read one conversation's messages. */
|
|
22343
|
+
threadId?: string;
|
|
22344
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22345
|
+
startingAfter?: string;
|
|
22183
22346
|
};
|
|
22184
22347
|
output: {
|
|
22185
|
-
pageTrail?: string;
|
|
22186
22348
|
emails: Array<{
|
|
22187
22349
|
emailId: string;
|
|
22188
22350
|
messageId?: string;
|
|
@@ -22203,6 +22365,7 @@ export interface Tools {
|
|
|
22203
22365
|
bodyText?: string;
|
|
22204
22366
|
bodyHtml?: string;
|
|
22205
22367
|
}>;
|
|
22368
|
+
nextStartingAfter?: string;
|
|
22206
22369
|
};
|
|
22207
22370
|
};
|
|
22208
22371
|
/** List PlusVibe leads filtered by campaign, status, label, email, or name. */
|
|
@@ -22211,15 +22374,14 @@ export interface Tools {
|
|
|
22211
22374
|
/** PlusVibe workspace id. */
|
|
22212
22375
|
workspaceId: string;
|
|
22213
22376
|
campaignId?: string;
|
|
22214
|
-
status?: "SKIPPED" | "COMPLETED" | "
|
|
22377
|
+
status?: "SKIPPED" | "COMPLETED" | "NOT_CONTACTED" | "CONTACTED" | "BOUNCED" | "REPLIED" | "UNSUBSCRIBED" | "PAUSED";
|
|
22215
22378
|
label?: string;
|
|
22216
22379
|
email?: string;
|
|
22217
22380
|
firstName?: string;
|
|
22218
22381
|
lastName?: string;
|
|
22219
|
-
page
|
|
22382
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22383
|
+
startingAfter?: string;
|
|
22220
22384
|
limit?: number;
|
|
22221
|
-
sort?: string;
|
|
22222
|
-
direction?: "asc" | "desc";
|
|
22223
22385
|
};
|
|
22224
22386
|
output: {
|
|
22225
22387
|
leads: Array<{
|
|
@@ -22243,6 +22405,7 @@ export interface Tools {
|
|
|
22243
22405
|
[key: string]: unknown;
|
|
22244
22406
|
};
|
|
22245
22407
|
}>;
|
|
22408
|
+
nextStartingAfter?: string;
|
|
22246
22409
|
};
|
|
22247
22410
|
};
|
|
22248
22411
|
/** List PlusVibe workspaces available to the connected API key. */
|
|
@@ -22262,8 +22425,8 @@ export interface Tools {
|
|
|
22262
22425
|
input: {
|
|
22263
22426
|
/** PlusVibe workspace id. */
|
|
22264
22427
|
workspaceId: string;
|
|
22265
|
-
/** PlusVibe
|
|
22266
|
-
|
|
22428
|
+
/** PlusVibe thread id (threadId from List PlusVibe Emails) to draft the reply on. */
|
|
22429
|
+
threadId: string;
|
|
22267
22430
|
/** Connected PlusVibe sender mailbox. */
|
|
22268
22431
|
from: string;
|
|
22269
22432
|
/** Reply recipients. */
|
|
@@ -22290,6 +22453,8 @@ export interface Tools {
|
|
|
22290
22453
|
email: string;
|
|
22291
22454
|
/** Optional campaign id to scope the lookup. */
|
|
22292
22455
|
campaignId?: string;
|
|
22456
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22457
|
+
startingAfter?: string;
|
|
22293
22458
|
};
|
|
22294
22459
|
output: {
|
|
22295
22460
|
leads: Array<{
|
|
@@ -22313,6 +22478,7 @@ export interface Tools {
|
|
|
22313
22478
|
[key: string]: unknown;
|
|
22314
22479
|
};
|
|
22315
22480
|
}>;
|
|
22481
|
+
nextStartingAfter?: string;
|
|
22316
22482
|
};
|
|
22317
22483
|
};
|
|
22318
22484
|
/** Update a PlusVibe lead label or custom variables after review/classification. */
|
|
@@ -27299,7 +27465,7 @@ export interface Tools {
|
|
|
27299
27465
|
description: string;
|
|
27300
27466
|
/** A ready MP4 from youtube_import_media or /v1/social/media. */
|
|
27301
27467
|
videoAssetId: string;
|
|
27302
|
-
/** A ready JPEG or PNG of at most
|
|
27468
|
+
/** A ready JPEG or PNG of at most 20 MiB. */
|
|
27303
27469
|
thumbnailAssetId?: string;
|
|
27304
27470
|
/** null uploads now; otherwise a future publish time with its UTC offset. */
|
|
27305
27471
|
scheduledFor: string | null;
|
package/generated/types.d.ts
CHANGED
|
@@ -263,6 +263,8 @@ export interface ChatUserMessage {
|
|
|
263
263
|
/** Written by Superclerk rather than the person. */
|
|
264
264
|
synthetic: boolean;
|
|
265
265
|
context: ChatContext | null;
|
|
266
|
+
/** A call filed in a phone line's thread as the caller's message: what happened, and which call's transcript and recording it belongs to. Null for anything else. */
|
|
267
|
+
phone: PhoneEvent | null;
|
|
266
268
|
}
|
|
267
269
|
/** The page of the app the person had open, which the agent reads with the message. */
|
|
268
270
|
export type ChatContext = {
|
|
@@ -281,6 +283,13 @@ export type ChatContext = {
|
|
|
281
283
|
label: string;
|
|
282
284
|
id: string;
|
|
283
285
|
};
|
|
286
|
+
export type PhoneEvent = {
|
|
287
|
+
kind: "call" | "call_text";
|
|
288
|
+
callChatID: string;
|
|
289
|
+
} | {
|
|
290
|
+
kind: "missed_call" | "voicemail";
|
|
291
|
+
callChatID: null;
|
|
292
|
+
};
|
|
284
293
|
export interface ChatAssistantMessage {
|
|
285
294
|
id: string;
|
|
286
295
|
chatID: string;
|
|
@@ -326,6 +335,8 @@ export interface ChatTextPart {
|
|
|
326
335
|
metadata: {
|
|
327
336
|
[key: string]: unknown;
|
|
328
337
|
} | null;
|
|
338
|
+
/** What the agent suggests sending next, shown as buttons. */
|
|
339
|
+
nextSteps: Array<string> | null;
|
|
329
340
|
}
|
|
330
341
|
export interface ChatReasoningPart {
|
|
331
342
|
type: "reasoning";
|
|
@@ -501,6 +512,8 @@ export interface Conversation {
|
|
|
501
512
|
status: "open" | "waiting" | "resolved";
|
|
502
513
|
snoozedUntil: string | null;
|
|
503
514
|
needsReply: boolean;
|
|
515
|
+
/** A person has something to do here: act on why it was handed to them, or answer a customer no AI will. The Inbox's Needs you view lists exactly these. */
|
|
516
|
+
needsYou: boolean;
|
|
504
517
|
responder: ConversationResponder;
|
|
505
518
|
/** The AI that answers this conversation. */
|
|
506
519
|
agent: {
|
|
@@ -523,7 +536,7 @@ export type ConversationResponder = {
|
|
|
523
536
|
} | {
|
|
524
537
|
kind: "handed_off";
|
|
525
538
|
reason: string;
|
|
526
|
-
/**
|
|
539
|
+
/** Always null: a handed-off conversation stays with a person until someone hands it back. */
|
|
527
540
|
until: string | null;
|
|
528
541
|
} | {
|
|
529
542
|
kind: "team";
|
|
@@ -818,7 +831,7 @@ export interface InboxAI {
|
|
|
818
831
|
/** inbox: set up here, and changed only here. builder: built in Automations, and changed there. */
|
|
819
832
|
managedBy: "builder" | "inbox";
|
|
820
833
|
} | null;
|
|
821
|
-
/** Turned off
|
|
834
|
+
/** Turned off for its agent while its workflow keeps it, which answers again once turned on for everyone. */
|
|
822
835
|
turnedOff: boolean;
|
|
823
836
|
/** everyone, or only testers who sent testerCode. */
|
|
824
837
|
audience: "testers" | "everyone";
|
|
@@ -846,6 +859,8 @@ export interface InboxTemplate {
|
|
|
846
859
|
export interface InboxSettings {
|
|
847
860
|
agent: {
|
|
848
861
|
kind: "own";
|
|
862
|
+
/** What it's called, by the team in the Inbox and by customers, whom it introduces itself to by this name. */
|
|
863
|
+
name: string;
|
|
849
864
|
instructions: string;
|
|
850
865
|
/** The model it runs on; null runs on the workflow default model. */
|
|
851
866
|
model: string | null;
|
|
@@ -5636,7 +5651,7 @@ export interface WorkflowAccount {
|
|
|
5636
5651
|
/** Which of the connection's accounts it is, where each is an inbox of its own, such as a Facebook Page. */
|
|
5637
5652
|
providerAccountID: string | null;
|
|
5638
5653
|
label: string;
|
|
5639
|
-
/** The account is turned off
|
|
5654
|
+
/** The account is turned off for its agent in the Superclerk app's Inbox, which the API can't change yet; the workflow resumes there once it is turned on for everyone. */
|
|
5640
5655
|
turnedOff: boolean;
|
|
5641
5656
|
}
|
|
5642
5657
|
export type WorkflowWebhookSetup = {
|
|
@@ -6012,7 +6027,7 @@ export type WorkspacesCreateParams = {
|
|
|
6012
6027
|
name: string;
|
|
6013
6028
|
/** Where the client's invoices and payment links go, and its admin's invitation from the Superclerk app. */
|
|
6014
6029
|
billingEmail: string;
|
|
6015
|
-
/** The plan the client pays, its own, in micros (1 USD = 1,000,000, whole cents): priceMicros every 30 days, includedMicros of usage, and topupPriceBps for extra usage. Superclerk's fee is a $49 base plus any includedMicros past $15, and 10% of the rest of the price; what is left must cover Whop's highest card fees, so priceMicros is at least $54.62 while includedMicros is $15 or less
|
|
6030
|
+
/** The plan the client pays, its own, in micros (1 USD = 1,000,000, whole cents): priceMicros every 30 days, includedMicros of usage, and topupPriceBps for extra usage. Superclerk's fee is a $49 base plus any includedMicros past $15, and 10% of the rest of the price; what is left must cover Whop's highest card fees, so priceMicros is at least $54.62 while includedMicros is $15 or less. A topupPriceBps of 10000 sells extra usage at cost. Optional: without one, the client has no plan until you set one in Partner → Clients. */
|
|
6016
6031
|
plan?: {
|
|
6017
6032
|
name: string;
|
|
6018
6033
|
icon: "circle" | "triangle" | "square" | "hexagon" | "star" | "sparkle" | "leaf" | "paper-plane" | "rocket" | "crown" | "diamond" | "heart";
|
|
@@ -6300,7 +6315,7 @@ export interface ConnectionsProxyDeleteParams {
|
|
|
6300
6315
|
export type SocialAccountsListResponse = {
|
|
6301
6316
|
accounts: Array<{
|
|
6302
6317
|
id: string;
|
|
6303
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
6318
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
6304
6319
|
nativeId: string;
|
|
6305
6320
|
/** The connection, as the Connections API names it; null until a new connection finishes setting up. */
|
|
6306
6321
|
connectionID: string | null;
|
|
@@ -6397,7 +6412,7 @@ export type SocialAccountsTiktokVideosResponse = {
|
|
|
6397
6412
|
};
|
|
6398
6413
|
export type SocialAccountsDisconnectResponse = {
|
|
6399
6414
|
id: string;
|
|
6400
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
6415
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
6401
6416
|
nativeId: string;
|
|
6402
6417
|
/** The connection, as the Connections API names it; null until a new connection finishes setting up. */
|
|
6403
6418
|
connectionID: string | null;
|
|
@@ -6530,7 +6545,7 @@ export type SocialPostsListResponse = {
|
|
|
6530
6545
|
cancelledAt: number | null;
|
|
6531
6546
|
platforms: Array<{
|
|
6532
6547
|
id: string;
|
|
6533
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
6548
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
6534
6549
|
accountId: string;
|
|
6535
6550
|
accountLabel: string;
|
|
6536
6551
|
customContent: string | null;
|
|
@@ -6575,6 +6590,20 @@ export type SocialPostsCreateParams = {
|
|
|
6575
6590
|
altText?: string;
|
|
6576
6591
|
}>;
|
|
6577
6592
|
platforms: Array<{
|
|
6593
|
+
accountId: string;
|
|
6594
|
+
customContent?: string;
|
|
6595
|
+
mediaItems?: Array<{
|
|
6596
|
+
assetId: string;
|
|
6597
|
+
altText?: string;
|
|
6598
|
+
}>;
|
|
6599
|
+
platform: "x";
|
|
6600
|
+
platformSpecificData: {
|
|
6601
|
+
replySettings?: "following" | "mentionedUsers" | "subscribers" | "verified";
|
|
6602
|
+
community?: string;
|
|
6603
|
+
isAiGenerated?: boolean;
|
|
6604
|
+
paidPartnership?: boolean;
|
|
6605
|
+
};
|
|
6606
|
+
} | {
|
|
6578
6607
|
accountId: string;
|
|
6579
6608
|
customContent?: string;
|
|
6580
6609
|
mediaItems?: Array<{
|
|
@@ -6584,6 +6613,7 @@ export type SocialPostsCreateParams = {
|
|
|
6584
6613
|
platform: "instagram";
|
|
6585
6614
|
platformSpecificData: {
|
|
6586
6615
|
format: "post" | "reel" | "story";
|
|
6616
|
+
/** The video frame to use as its cover, in milliseconds. A Reel can take a public JPEG cover instead, after its video in this platform's own mediaItems. */
|
|
6587
6617
|
thumbOffsetMs?: number;
|
|
6588
6618
|
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
6589
6619
|
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
@@ -6658,6 +6688,8 @@ export type SocialPostsCreateParams = {
|
|
|
6658
6688
|
format: "video";
|
|
6659
6689
|
allowDuet: boolean;
|
|
6660
6690
|
allowStitch: boolean;
|
|
6691
|
+
/** The video frame to use as its cover, in milliseconds. TikTok uses the first frame without it. */
|
|
6692
|
+
videoCoverTimestampMs?: number;
|
|
6661
6693
|
} | {
|
|
6662
6694
|
/** Exact creatorInfoFingerprint from the latest creator info: the TikTok account's settings from account discovery, or tiktok_get_creator_info. */
|
|
6663
6695
|
creatorInfoFingerprint: string;
|
|
@@ -6799,6 +6831,20 @@ export type SocialPostsCreateParams = {
|
|
|
6799
6831
|
altText?: string;
|
|
6800
6832
|
}>;
|
|
6801
6833
|
platforms: Array<{
|
|
6834
|
+
accountId: string;
|
|
6835
|
+
customContent?: string;
|
|
6836
|
+
mediaItems?: Array<{
|
|
6837
|
+
assetId: string;
|
|
6838
|
+
altText?: string;
|
|
6839
|
+
}>;
|
|
6840
|
+
platform: "x";
|
|
6841
|
+
platformSpecificData: {
|
|
6842
|
+
replySettings?: "following" | "mentionedUsers" | "subscribers" | "verified";
|
|
6843
|
+
community?: string;
|
|
6844
|
+
isAiGenerated?: boolean;
|
|
6845
|
+
paidPartnership?: boolean;
|
|
6846
|
+
};
|
|
6847
|
+
} | {
|
|
6802
6848
|
accountId: string;
|
|
6803
6849
|
customContent?: string;
|
|
6804
6850
|
mediaItems?: Array<{
|
|
@@ -6808,6 +6854,7 @@ export type SocialPostsCreateParams = {
|
|
|
6808
6854
|
platform: "instagram";
|
|
6809
6855
|
platformSpecificData: {
|
|
6810
6856
|
format: "post" | "reel" | "story";
|
|
6857
|
+
/** The video frame to use as its cover, in milliseconds. A Reel can take a public JPEG cover instead, after its video in this platform's own mediaItems. */
|
|
6811
6858
|
thumbOffsetMs?: number;
|
|
6812
6859
|
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
6813
6860
|
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
@@ -6882,6 +6929,8 @@ export type SocialPostsCreateParams = {
|
|
|
6882
6929
|
format: "video";
|
|
6883
6930
|
allowDuet: boolean;
|
|
6884
6931
|
allowStitch: boolean;
|
|
6932
|
+
/** The video frame to use as its cover, in milliseconds. TikTok uses the first frame without it. */
|
|
6933
|
+
videoCoverTimestampMs?: number;
|
|
6885
6934
|
} | {
|
|
6886
6935
|
/** Exact creatorInfoFingerprint from the latest creator info: the TikTok account's settings from account discovery, or tiktok_get_creator_info. */
|
|
6887
6936
|
creatorInfoFingerprint: string;
|
|
@@ -7022,6 +7071,20 @@ export type SocialPostsCreateParams = {
|
|
|
7022
7071
|
altText?: string;
|
|
7023
7072
|
}>;
|
|
7024
7073
|
platforms: Array<{
|
|
7074
|
+
accountId: string;
|
|
7075
|
+
customContent?: string;
|
|
7076
|
+
mediaItems?: Array<{
|
|
7077
|
+
assetId: string;
|
|
7078
|
+
altText?: string;
|
|
7079
|
+
}>;
|
|
7080
|
+
platform: "x";
|
|
7081
|
+
platformSpecificData: {
|
|
7082
|
+
replySettings?: "following" | "mentionedUsers" | "subscribers" | "verified";
|
|
7083
|
+
community?: string;
|
|
7084
|
+
isAiGenerated?: boolean;
|
|
7085
|
+
paidPartnership?: boolean;
|
|
7086
|
+
};
|
|
7087
|
+
} | {
|
|
7025
7088
|
accountId: string;
|
|
7026
7089
|
customContent?: string;
|
|
7027
7090
|
mediaItems?: Array<{
|
|
@@ -7031,6 +7094,7 @@ export type SocialPostsCreateParams = {
|
|
|
7031
7094
|
platform: "instagram";
|
|
7032
7095
|
platformSpecificData: {
|
|
7033
7096
|
format: "post" | "reel" | "story";
|
|
7097
|
+
/** The video frame to use as its cover, in milliseconds. A Reel can take a public JPEG cover instead, after its video in this platform's own mediaItems. */
|
|
7034
7098
|
thumbOffsetMs?: number;
|
|
7035
7099
|
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
7036
7100
|
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
@@ -7105,6 +7169,8 @@ export type SocialPostsCreateParams = {
|
|
|
7105
7169
|
format: "video";
|
|
7106
7170
|
allowDuet: boolean;
|
|
7107
7171
|
allowStitch: boolean;
|
|
7172
|
+
/** The video frame to use as its cover, in milliseconds. TikTok uses the first frame without it. */
|
|
7173
|
+
videoCoverTimestampMs?: number;
|
|
7108
7174
|
} | {
|
|
7109
7175
|
/** Exact creatorInfoFingerprint from the latest creator info: the TikTok account's settings from account discovery, or tiktok_get_creator_info. */
|
|
7110
7176
|
creatorInfoFingerprint: string;
|
|
@@ -7268,7 +7334,7 @@ export type SocialPostsCreateResponse = {
|
|
|
7268
7334
|
cancelledAt: number | null;
|
|
7269
7335
|
platforms: Array<{
|
|
7270
7336
|
id: string;
|
|
7271
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
7337
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
7272
7338
|
accountId: string;
|
|
7273
7339
|
accountLabel: string;
|
|
7274
7340
|
customContent: string | null;
|
|
@@ -7333,7 +7399,7 @@ export type SocialPostsGetResponse = {
|
|
|
7333
7399
|
cancelledAt: number | null;
|
|
7334
7400
|
platforms: Array<{
|
|
7335
7401
|
id: string;
|
|
7336
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
7402
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
7337
7403
|
accountId: string;
|
|
7338
7404
|
accountLabel: string;
|
|
7339
7405
|
customContent: string | null;
|
|
@@ -7376,6 +7442,20 @@ export type SocialPostsUpdateParams = {
|
|
|
7376
7442
|
altText?: string;
|
|
7377
7443
|
}>;
|
|
7378
7444
|
platforms: Array<{
|
|
7445
|
+
accountId: string;
|
|
7446
|
+
customContent?: string;
|
|
7447
|
+
mediaItems?: Array<{
|
|
7448
|
+
assetId: string;
|
|
7449
|
+
altText?: string;
|
|
7450
|
+
}>;
|
|
7451
|
+
platform: "x";
|
|
7452
|
+
platformSpecificData: {
|
|
7453
|
+
replySettings?: "following" | "mentionedUsers" | "subscribers" | "verified";
|
|
7454
|
+
community?: string;
|
|
7455
|
+
isAiGenerated?: boolean;
|
|
7456
|
+
paidPartnership?: boolean;
|
|
7457
|
+
};
|
|
7458
|
+
} | {
|
|
7379
7459
|
accountId: string;
|
|
7380
7460
|
customContent?: string;
|
|
7381
7461
|
mediaItems?: Array<{
|
|
@@ -7385,6 +7465,7 @@ export type SocialPostsUpdateParams = {
|
|
|
7385
7465
|
platform: "instagram";
|
|
7386
7466
|
platformSpecificData: {
|
|
7387
7467
|
format: "post" | "reel" | "story";
|
|
7468
|
+
/** The video frame to use as its cover, in milliseconds. A Reel can take a public JPEG cover instead, after its video in this platform's own mediaItems. */
|
|
7388
7469
|
thumbOffsetMs?: number;
|
|
7389
7470
|
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
7390
7471
|
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
@@ -7459,6 +7540,8 @@ export type SocialPostsUpdateParams = {
|
|
|
7459
7540
|
format: "video";
|
|
7460
7541
|
allowDuet: boolean;
|
|
7461
7542
|
allowStitch: boolean;
|
|
7543
|
+
/** The video frame to use as its cover, in milliseconds. TikTok uses the first frame without it. */
|
|
7544
|
+
videoCoverTimestampMs?: number;
|
|
7462
7545
|
} | {
|
|
7463
7546
|
/** Exact creatorInfoFingerprint from the latest creator info: the TikTok account's settings from account discovery, or tiktok_get_creator_info. */
|
|
7464
7547
|
creatorInfoFingerprint: string;
|
|
@@ -7599,6 +7682,20 @@ export type SocialPostsUpdateParams = {
|
|
|
7599
7682
|
altText?: string;
|
|
7600
7683
|
}>;
|
|
7601
7684
|
platforms: Array<{
|
|
7685
|
+
accountId: string;
|
|
7686
|
+
customContent?: string;
|
|
7687
|
+
mediaItems?: Array<{
|
|
7688
|
+
assetId: string;
|
|
7689
|
+
altText?: string;
|
|
7690
|
+
}>;
|
|
7691
|
+
platform: "x";
|
|
7692
|
+
platformSpecificData: {
|
|
7693
|
+
replySettings?: "following" | "mentionedUsers" | "subscribers" | "verified";
|
|
7694
|
+
community?: string;
|
|
7695
|
+
isAiGenerated?: boolean;
|
|
7696
|
+
paidPartnership?: boolean;
|
|
7697
|
+
};
|
|
7698
|
+
} | {
|
|
7602
7699
|
accountId: string;
|
|
7603
7700
|
customContent?: string;
|
|
7604
7701
|
mediaItems?: Array<{
|
|
@@ -7608,6 +7705,7 @@ export type SocialPostsUpdateParams = {
|
|
|
7608
7705
|
platform: "instagram";
|
|
7609
7706
|
platformSpecificData: {
|
|
7610
7707
|
format: "post" | "reel" | "story";
|
|
7708
|
+
/** The video frame to use as its cover, in milliseconds. A Reel can take a public JPEG cover instead, after its video in this platform's own mediaItems. */
|
|
7611
7709
|
thumbOffsetMs?: number;
|
|
7612
7710
|
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
7613
7711
|
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
@@ -7682,6 +7780,8 @@ export type SocialPostsUpdateParams = {
|
|
|
7682
7780
|
format: "video";
|
|
7683
7781
|
allowDuet: boolean;
|
|
7684
7782
|
allowStitch: boolean;
|
|
7783
|
+
/** The video frame to use as its cover, in milliseconds. TikTok uses the first frame without it. */
|
|
7784
|
+
videoCoverTimestampMs?: number;
|
|
7685
7785
|
} | {
|
|
7686
7786
|
/** Exact creatorInfoFingerprint from the latest creator info: the TikTok account's settings from account discovery, or tiktok_get_creator_info. */
|
|
7687
7787
|
creatorInfoFingerprint: string;
|
|
@@ -7824,6 +7924,20 @@ export type SocialPostsUpdateParams = {
|
|
|
7824
7924
|
altText?: string;
|
|
7825
7925
|
}>;
|
|
7826
7926
|
platforms: Array<{
|
|
7927
|
+
accountId: string;
|
|
7928
|
+
customContent?: string;
|
|
7929
|
+
mediaItems?: Array<{
|
|
7930
|
+
assetId: string;
|
|
7931
|
+
altText?: string;
|
|
7932
|
+
}>;
|
|
7933
|
+
platform: "x";
|
|
7934
|
+
platformSpecificData: {
|
|
7935
|
+
replySettings?: "following" | "mentionedUsers" | "subscribers" | "verified";
|
|
7936
|
+
community?: string;
|
|
7937
|
+
isAiGenerated?: boolean;
|
|
7938
|
+
paidPartnership?: boolean;
|
|
7939
|
+
};
|
|
7940
|
+
} | {
|
|
7827
7941
|
accountId: string;
|
|
7828
7942
|
customContent?: string;
|
|
7829
7943
|
mediaItems?: Array<{
|
|
@@ -7833,6 +7947,7 @@ export type SocialPostsUpdateParams = {
|
|
|
7833
7947
|
platform: "instagram";
|
|
7834
7948
|
platformSpecificData: {
|
|
7835
7949
|
format: "post" | "reel" | "story";
|
|
7950
|
+
/** The video frame to use as its cover, in milliseconds. A Reel can take a public JPEG cover instead, after its video in this platform's own mediaItems. */
|
|
7836
7951
|
thumbOffsetMs?: number;
|
|
7837
7952
|
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
7838
7953
|
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
@@ -7907,6 +8022,8 @@ export type SocialPostsUpdateParams = {
|
|
|
7907
8022
|
format: "video";
|
|
7908
8023
|
allowDuet: boolean;
|
|
7909
8024
|
allowStitch: boolean;
|
|
8025
|
+
/** The video frame to use as its cover, in milliseconds. TikTok uses the first frame without it. */
|
|
8026
|
+
videoCoverTimestampMs?: number;
|
|
7910
8027
|
} | {
|
|
7911
8028
|
/** Exact creatorInfoFingerprint from the latest creator info: the TikTok account's settings from account discovery, or tiktok_get_creator_info. */
|
|
7912
8029
|
creatorInfoFingerprint: string;
|
|
@@ -8071,7 +8188,7 @@ export type SocialPostsUpdateResponse = {
|
|
|
8071
8188
|
cancelledAt: number | null;
|
|
8072
8189
|
platforms: Array<{
|
|
8073
8190
|
id: string;
|
|
8074
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
8191
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
8075
8192
|
accountId: string;
|
|
8076
8193
|
accountLabel: string;
|
|
8077
8194
|
customContent: string | null;
|
|
@@ -8144,7 +8261,7 @@ export type SocialPostsRescheduleResponse = {
|
|
|
8144
8261
|
cancelledAt: number | null;
|
|
8145
8262
|
platforms: Array<{
|
|
8146
8263
|
id: string;
|
|
8147
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
8264
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
8148
8265
|
accountId: string;
|
|
8149
8266
|
accountLabel: string;
|
|
8150
8267
|
customContent: string | null;
|
|
@@ -8212,7 +8329,7 @@ export type SocialPostsCancelResponse = {
|
|
|
8212
8329
|
cancelledAt: number | null;
|
|
8213
8330
|
platforms: Array<{
|
|
8214
8331
|
id: string;
|
|
8215
|
-
platform: "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
8332
|
+
platform: "x" | "instagram" | "facebook" | "linkedin" | "threads" | "tiktok" | "youtube" | "googlebusiness";
|
|
8216
8333
|
accountId: string;
|
|
8217
8334
|
accountLabel: string;
|
|
8218
8335
|
customContent: string | null;
|
package/generated/version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.3.0";
|
|
2
2
|
/** The API behavior this SDK was generated for. Every request pins it with the Superclerk-Version header. */
|
|
3
3
|
export declare const API_VERSION = "2026-11-05";
|
|
4
4
|
export declare const DEFAULT_BASE_URL = "https://api.superclerk.com";
|
package/generated/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by script/generate.ts from the public OpenAPI document. Do not edit.
|
|
2
|
-
export const SDK_VERSION = "0.
|
|
2
|
+
export const SDK_VERSION = "0.3.0";
|
|
3
3
|
/** The API behavior this SDK was generated for. Every request pins it with the Superclerk-Version header. */
|
|
4
4
|
export const API_VERSION = "2026-11-05";
|
|
5
5
|
export const DEFAULT_BASE_URL = "https://api.superclerk.com";
|