@superclerk/sdk 0.2.0 → 0.4.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 +35 -0
- package/README.md +15 -0
- package/api.md +1 -0
- package/core/client.d.ts +5 -2
- package/core/client.js +4 -3
- package/generated/resources.d.ts +10 -2
- package/generated/resources.js +19 -4
- package/generated/tools.d.ts +434 -39
- package/generated/types.d.ts +212 -24
- package/generated/version.d.ts +1 -1
- package/generated/version.js +1 -1
- package/lib/social.d.ts +1 -0
- package/package.json +1 -1
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<{
|
|
@@ -10206,7 +10266,7 @@ export interface Tools {
|
|
|
10206
10266
|
business_profile_fetch_performance_metrics: {
|
|
10207
10267
|
input: {
|
|
10208
10268
|
locationName: string;
|
|
10209
|
-
dailyMetrics: Array<"BUSINESS_IMPRESSIONS_DESKTOP_MAPS" | "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH" | "BUSINESS_IMPRESSIONS_MOBILE_MAPS" | "BUSINESS_IMPRESSIONS_MOBILE_SEARCH" | "
|
|
10269
|
+
dailyMetrics: Array<"BUSINESS_IMPRESSIONS_DESKTOP_MAPS" | "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH" | "BUSINESS_IMPRESSIONS_MOBILE_MAPS" | "BUSINESS_IMPRESSIONS_MOBILE_SEARCH" | "BUSINESS_DIRECTION_REQUESTS" | "CALL_CLICKS" | "WEBSITE_CLICKS" | "MESSAGING_CLICKS" | "BUSINESS_BOOKINGS" | "BUSINESS_FOOD_MENU_CLICKS">;
|
|
10210
10270
|
dailyRange: {
|
|
10211
10271
|
startDate: {
|
|
10212
10272
|
year: number;
|
|
@@ -10226,6 +10286,17 @@ export interface Tools {
|
|
|
10226
10286
|
}>;
|
|
10227
10287
|
};
|
|
10228
10288
|
};
|
|
10289
|
+
/** Read the attributes the business set on one location, its chat links among them. */
|
|
10290
|
+
business_profile_get_attributes: {
|
|
10291
|
+
input: {
|
|
10292
|
+
locationName: string;
|
|
10293
|
+
};
|
|
10294
|
+
output: {
|
|
10295
|
+
attributes: Array<{
|
|
10296
|
+
[key: string]: unknown;
|
|
10297
|
+
}>;
|
|
10298
|
+
};
|
|
10299
|
+
};
|
|
10229
10300
|
/** Get one Google Business Profile location with an explicit read mask. */
|
|
10230
10301
|
business_profile_get_location: {
|
|
10231
10302
|
input: {
|
|
@@ -10384,6 +10455,21 @@ export interface Tools {
|
|
|
10384
10455
|
nextPageToken?: string;
|
|
10385
10456
|
};
|
|
10386
10457
|
};
|
|
10458
|
+
/** Set or remove the WhatsApp and text links behind the location's Message button on Google Maps and Search. */
|
|
10459
|
+
business_profile_update_chat_links: {
|
|
10460
|
+
input: {
|
|
10461
|
+
locationName: string;
|
|
10462
|
+
/** The WhatsApp number customers message. Set null to remove the WhatsApp link; omit to leave it. */
|
|
10463
|
+
whatsapp?: string | null;
|
|
10464
|
+
/** The number that receives customers' texts. Set null to remove the text link; omit to leave it. */
|
|
10465
|
+
text?: string | null;
|
|
10466
|
+
};
|
|
10467
|
+
output: {
|
|
10468
|
+
attributes: Array<{
|
|
10469
|
+
[key: string]: unknown;
|
|
10470
|
+
}>;
|
|
10471
|
+
};
|
|
10472
|
+
};
|
|
10387
10473
|
/** Update selected fields on a public Business Profile local post. */
|
|
10388
10474
|
business_profile_update_local_post: {
|
|
10389
10475
|
input: {
|
|
@@ -15792,6 +15878,48 @@ export interface Tools {
|
|
|
15792
15878
|
};
|
|
15793
15879
|
};
|
|
15794
15880
|
};
|
|
15881
|
+
/** Read what Meta still needs before lead ads run: a payment method, and each Page's lead terms, forms and leads. */
|
|
15882
|
+
meta_ads_check_setup: {
|
|
15883
|
+
input: {
|
|
15884
|
+
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
15885
|
+
accountId: string;
|
|
15886
|
+
};
|
|
15887
|
+
output: {
|
|
15888
|
+
pages: Array<{
|
|
15889
|
+
id: string;
|
|
15890
|
+
name: string;
|
|
15891
|
+
/** Null when Meta doesn't say. */
|
|
15892
|
+
leadTermsAccepted: boolean | null;
|
|
15893
|
+
/** Null until a Meta Lead Ads sign-in reaches this Page. */
|
|
15894
|
+
leadInstallationID: string | null;
|
|
15895
|
+
/** Null until leads reach the Inbox. */
|
|
15896
|
+
channel: {
|
|
15897
|
+
id: string;
|
|
15898
|
+
agentID: string;
|
|
15899
|
+
/** The line that texts these leads. Null: nobody is texted. */
|
|
15900
|
+
smsLine: string | null;
|
|
15901
|
+
} | null;
|
|
15902
|
+
/** Connected to this Page, so its ads run as this unless another is chosen. Null: under the Page's name. */
|
|
15903
|
+
instagramAccount: {
|
|
15904
|
+
id: string;
|
|
15905
|
+
username: string | null;
|
|
15906
|
+
} | null;
|
|
15907
|
+
forms: Array<{
|
|
15908
|
+
id: string;
|
|
15909
|
+
name: string;
|
|
15910
|
+
questionCount: number;
|
|
15911
|
+
/** Whether the form has the box asking permission to text. */
|
|
15912
|
+
canText: boolean;
|
|
15913
|
+
}>;
|
|
15914
|
+
}>;
|
|
15915
|
+
instagramAccounts: Array<{
|
|
15916
|
+
id: string;
|
|
15917
|
+
name: string;
|
|
15918
|
+
}>;
|
|
15919
|
+
/** Whether the ad account has one. Null when Meta doesn't say. */
|
|
15920
|
+
paymentMethod: boolean | null;
|
|
15921
|
+
};
|
|
15922
|
+
};
|
|
15795
15923
|
/** Create one ad with an explicit status from an owned ad set and creative in the Meta ad account. */
|
|
15796
15924
|
meta_ads_create_ad: {
|
|
15797
15925
|
input: {
|
|
@@ -15964,6 +16092,7 @@ export interface Tools {
|
|
|
15964
16092
|
creativeFeatures?: {
|
|
15965
16093
|
[key: string]: "OPT_IN" | "OPT_OUT";
|
|
15966
16094
|
};
|
|
16095
|
+
/** Left out, Meta may show other businesses' ads beside this one; OPT_OUT keeps them away. */
|
|
15967
16096
|
multiAdvertiser?: "OPT_IN" | "OPT_OUT";
|
|
15968
16097
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
15969
16098
|
accountId: string;
|
|
@@ -16203,7 +16332,7 @@ export interface Tools {
|
|
|
16203
16332
|
excluded_publisher_categories?: Array<string>;
|
|
16204
16333
|
excluded_publisher_list_ids?: Array<string>;
|
|
16205
16334
|
targeting_automation: {
|
|
16206
|
-
/** 1
|
|
16335
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
16207
16336
|
advantage_audience: 0 | 1;
|
|
16208
16337
|
individual_setting?: {
|
|
16209
16338
|
geo?: 0 | 1;
|
|
@@ -16303,10 +16432,8 @@ export interface Tools {
|
|
|
16303
16432
|
lifetimeBudgetMinorUnits?: string;
|
|
16304
16433
|
/** 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
16434
|
isAdsetBudgetSharingEnabled?: boolean;
|
|
16306
|
-
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits with
|
|
16435
|
+
/** 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
16436
|
spendCapMinorUnits?: string;
|
|
16308
|
-
startsAt?: string;
|
|
16309
|
-
endsAt?: string;
|
|
16310
16437
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
16311
16438
|
accountId: string;
|
|
16312
16439
|
};
|
|
@@ -16348,7 +16475,6 @@ export interface Tools {
|
|
|
16348
16475
|
kind: "lookalike";
|
|
16349
16476
|
name: string;
|
|
16350
16477
|
originAudienceId: string;
|
|
16351
|
-
country: string;
|
|
16352
16478
|
ratio: number;
|
|
16353
16479
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
16354
16480
|
accountId: string;
|
|
@@ -16871,7 +16997,7 @@ export interface Tools {
|
|
|
16871
16997
|
excluded_publisher_categories?: Array<string>;
|
|
16872
16998
|
excluded_publisher_list_ids?: Array<string>;
|
|
16873
16999
|
targeting_automation: {
|
|
16874
|
-
/** 1
|
|
17000
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
16875
17001
|
advantage_audience: 0 | 1;
|
|
16876
17002
|
individual_setting?: {
|
|
16877
17003
|
geo?: 0 | 1;
|
|
@@ -16925,7 +17051,7 @@ export interface Tools {
|
|
|
16925
17051
|
}>;
|
|
16926
17052
|
};
|
|
16927
17053
|
};
|
|
16928
|
-
/** Read the Meta ad account's status, currency, timezone, and spend balances, and on request its business, finance, and EU DSA settings. */
|
|
17054
|
+
/** 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
17055
|
meta_ads_get_account: {
|
|
16930
17056
|
input: {
|
|
16931
17057
|
/** 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 +17063,12 @@ export interface Tools {
|
|
|
16937
17063
|
account: {
|
|
16938
17064
|
accountId: string;
|
|
16939
17065
|
name: string;
|
|
17066
|
+
/** Meta's account_status: only 1, active, runs ads. */
|
|
16940
17067
|
status: number;
|
|
17068
|
+
/** What status means, in words to tell the owner. */
|
|
17069
|
+
statusMeaning: string;
|
|
16941
17070
|
currency: string;
|
|
17071
|
+
/** The clock Meta counts this account's days on: insights dates and presets such as today are its days. */
|
|
16942
17072
|
timezoneName: string;
|
|
16943
17073
|
disableReason?: number;
|
|
16944
17074
|
amountSpentMinorUnits?: string;
|
|
@@ -17374,6 +17504,52 @@ export interface Tools {
|
|
|
17374
17504
|
};
|
|
17375
17505
|
};
|
|
17376
17506
|
};
|
|
17507
|
+
/** Build and turn on a whole instant-form lead campaign in one step. */
|
|
17508
|
+
meta_ads_launch_campaign: {
|
|
17509
|
+
input: {
|
|
17510
|
+
name: string;
|
|
17511
|
+
/** 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. */
|
|
17512
|
+
dailyBudget: number;
|
|
17513
|
+
/** 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. */
|
|
17514
|
+
costPerResultGoal: number | null;
|
|
17515
|
+
/** HOUSING where Meta requires it, such as home sales, rentals and repairs; NONE otherwise. */
|
|
17516
|
+
specialAdCategory: "NONE" | "HOUSING" | "FINANCIAL_PRODUCTS_SERVICES" | "EMPLOYMENT";
|
|
17517
|
+
startsAt: string | null;
|
|
17518
|
+
endsAt: string | null;
|
|
17519
|
+
adSets: Array<{
|
|
17520
|
+
name: string;
|
|
17521
|
+
pageId: string;
|
|
17522
|
+
/** Null runs on Instagram as the Page's connected account, or under the Page's name and picture if it has none. */
|
|
17523
|
+
instagramUserId: string | null;
|
|
17524
|
+
formId: string;
|
|
17525
|
+
/** Places as meta_ads_search_targeting returns them. */
|
|
17526
|
+
places: Array<{
|
|
17527
|
+
key: string;
|
|
17528
|
+
type: "country" | "region" | "city" | "zip";
|
|
17529
|
+
countryCode: string;
|
|
17530
|
+
/** Miles around a city; null for any other place. */
|
|
17531
|
+
radiusMiles: number | null;
|
|
17532
|
+
}>;
|
|
17533
|
+
ads: Array<{
|
|
17534
|
+
name: string;
|
|
17535
|
+
messages: Array<string>;
|
|
17536
|
+
headlines: Array<string>;
|
|
17537
|
+
descriptions: Array<string>;
|
|
17538
|
+
callToAction: "APPLY_NOW" | "DOWNLOAD" | "GET_QUOTE" | "LEARN_MORE" | "SIGN_UP" | "SUBSCRIBE";
|
|
17539
|
+
feedImageHash: string;
|
|
17540
|
+
/** 9:16, for Stories and Reels; null shows the feed image there. */
|
|
17541
|
+
verticalImageHash: string | null;
|
|
17542
|
+
}>;
|
|
17543
|
+
}>;
|
|
17544
|
+
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
17545
|
+
accountId: string;
|
|
17546
|
+
};
|
|
17547
|
+
output: {
|
|
17548
|
+
campaignId: string;
|
|
17549
|
+
/** What the campaign now spends a day, as the owner reads it: $20.00. */
|
|
17550
|
+
dailyBudget: string;
|
|
17551
|
+
};
|
|
17552
|
+
};
|
|
17377
17553
|
/** Read the ad account's provider audit log with bounded filters and pagination. */
|
|
17378
17554
|
meta_ads_list_account_activity: {
|
|
17379
17555
|
input: {
|
|
@@ -17408,7 +17584,7 @@ export interface Tools {
|
|
|
17408
17584
|
after?: string;
|
|
17409
17585
|
};
|
|
17410
17586
|
};
|
|
17411
|
-
/** List the ad accounts this connection acts on, and the other
|
|
17587
|
+
/** 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
17588
|
meta_ads_list_accounts: {
|
|
17413
17589
|
input: {
|
|
17414
17590
|
[key: string]: never;
|
|
@@ -17421,6 +17597,8 @@ export interface Tools {
|
|
|
17421
17597
|
otherAccounts: Array<{
|
|
17422
17598
|
accountId: string;
|
|
17423
17599
|
label: string;
|
|
17600
|
+
/** Meta's status for the account, in words to tell the owner. */
|
|
17601
|
+
statusMeaning: string;
|
|
17424
17602
|
}>;
|
|
17425
17603
|
};
|
|
17426
17604
|
};
|
|
@@ -18295,7 +18473,7 @@ export interface Tools {
|
|
|
18295
18473
|
excluded_publisher_categories?: Array<string>;
|
|
18296
18474
|
excluded_publisher_list_ids?: Array<string>;
|
|
18297
18475
|
targeting_automation: {
|
|
18298
|
-
/** 1
|
|
18476
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
18299
18477
|
advantage_audience: 0 | 1;
|
|
18300
18478
|
individual_setting?: {
|
|
18301
18479
|
geo?: 0 | 1;
|
|
@@ -18432,6 +18610,8 @@ export interface Tools {
|
|
|
18432
18610
|
name: string;
|
|
18433
18611
|
type?: string;
|
|
18434
18612
|
countryCode?: string;
|
|
18613
|
+
/** The state or region a city or ZIP code is in: it tells same-name places apart. */
|
|
18614
|
+
region?: string;
|
|
18435
18615
|
audienceSizeLowerBound?: number;
|
|
18436
18616
|
audienceSizeUpperBound?: number;
|
|
18437
18617
|
}>;
|
|
@@ -18741,7 +18921,7 @@ export interface Tools {
|
|
|
18741
18921
|
excluded_publisher_categories?: Array<string>;
|
|
18742
18922
|
excluded_publisher_list_ids?: Array<string>;
|
|
18743
18923
|
targeting_automation?: {
|
|
18744
|
-
/** 1
|
|
18924
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
18745
18925
|
advantage_audience: 0 | 1;
|
|
18746
18926
|
individual_setting?: {
|
|
18747
18927
|
geo?: 0 | 1;
|
|
@@ -18837,10 +19017,8 @@ export interface Tools {
|
|
|
18837
19017
|
dailyBudgetMinorUnits?: string;
|
|
18838
19018
|
/** 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
19019
|
lifetimeBudgetMinorUnits?: string;
|
|
18840
|
-
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits with
|
|
19020
|
+
/** 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
19021
|
spendCapMinorUnits?: string;
|
|
18842
|
-
startsAt?: string;
|
|
18843
|
-
endsAt?: string;
|
|
18844
19022
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
18845
19023
|
accountId: string;
|
|
18846
19024
|
};
|
|
@@ -18901,8 +19079,10 @@ export interface Tools {
|
|
|
18901
19079
|
/** Fetch and upload one bounded image into the Meta ad account. */
|
|
18902
19080
|
meta_ads_upload_image: {
|
|
18903
19081
|
input: {
|
|
19082
|
+
/** A ready image in this conversation, such as the owner's own job photo. */
|
|
19083
|
+
sessionFileId?: string;
|
|
18904
19084
|
/** Public HTTPS image URL that Superclerk will fetch once without redirects. */
|
|
18905
|
-
fileUrl
|
|
19085
|
+
fileUrl?: string;
|
|
18906
19086
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
18907
19087
|
accountId: string;
|
|
18908
19088
|
};
|
|
@@ -19102,7 +19282,7 @@ export interface Tools {
|
|
|
19102
19282
|
url: string;
|
|
19103
19283
|
linkText: string;
|
|
19104
19284
|
};
|
|
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. */
|
|
19285
|
+
/** 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
19286
|
askTextConsent?: boolean;
|
|
19107
19287
|
customDisclaimer?: {
|
|
19108
19288
|
title: string;
|
|
@@ -19128,6 +19308,7 @@ export interface Tools {
|
|
|
19128
19308
|
} | {
|
|
19129
19309
|
type: "CUSTOM";
|
|
19130
19310
|
key: string;
|
|
19311
|
+
/** Only what no predefined field asks: Meta disapproves a custom question that repeats one. */
|
|
19131
19312
|
label: string;
|
|
19132
19313
|
options?: Array<{
|
|
19133
19314
|
key: string;
|
|
@@ -19146,6 +19327,7 @@ export interface Tools {
|
|
|
19146
19327
|
websiteUrl?: string;
|
|
19147
19328
|
/** Required for CALL_BUSINESS; include the international dialing code. */
|
|
19148
19329
|
businessPhoneNumber?: string;
|
|
19330
|
+
/** The country of businessPhoneNumber, for CALL_BUSINESS. */
|
|
19149
19331
|
countryCode?: string;
|
|
19150
19332
|
enableMessenger?: boolean;
|
|
19151
19333
|
};
|
|
@@ -19158,6 +19340,7 @@ export interface Tools {
|
|
|
19158
19340
|
questionPageCustomHeadline?: string;
|
|
19159
19341
|
allowOrganicLeadRetrieval?: boolean;
|
|
19160
19342
|
blockDisplayForNonTargetedViewer?: boolean;
|
|
19343
|
+
/** True is Higher intent: a review screen, fewer leads. Leave it out for More volume, Meta's default. */
|
|
19161
19344
|
isOptimizedForQuality?: boolean;
|
|
19162
19345
|
isLeadCaptureAiAgentEnabled?: boolean;
|
|
19163
19346
|
/** Requires a PHONE question when true. */
|
|
@@ -22125,8 +22308,8 @@ export interface Tools {
|
|
|
22125
22308
|
workspaceId: string;
|
|
22126
22309
|
/** Start date accepted by PlusVibe, for example YYYY-MM-DD. */
|
|
22127
22310
|
startDate: string;
|
|
22128
|
-
|
|
22129
|
-
|
|
22311
|
+
/** End date accepted by PlusVibe, for example YYYY-MM-DD. */
|
|
22312
|
+
endDate: string;
|
|
22130
22313
|
provider?: Array<"GOOGLE_WORKSPACE" | "MICROSOFT365" | "REGULAR_ACCOUNT">;
|
|
22131
22314
|
tags?: Array<string>;
|
|
22132
22315
|
recipientProvider?: Array<"GOOGLE_WORKSPACE" | "MICROSOFT365" | "REGULAR_ACCOUNT">;
|
|
@@ -22148,8 +22331,9 @@ export interface Tools {
|
|
|
22148
22331
|
campaignId?: string;
|
|
22149
22332
|
parentCampaignId?: string;
|
|
22150
22333
|
status?: string;
|
|
22151
|
-
campaignType?: "parent" | "
|
|
22152
|
-
|
|
22334
|
+
campaignType?: "all" | "parent" | "subseq";
|
|
22335
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22336
|
+
startingAfter?: string;
|
|
22153
22337
|
limit?: number;
|
|
22154
22338
|
};
|
|
22155
22339
|
output: {
|
|
@@ -22173,6 +22357,7 @@ export interface Tools {
|
|
|
22173
22357
|
openRate?: number;
|
|
22174
22358
|
replyRate?: number;
|
|
22175
22359
|
}>;
|
|
22360
|
+
nextStartingAfter?: string;
|
|
22176
22361
|
};
|
|
22177
22362
|
};
|
|
22178
22363
|
/** List recent PlusVibe Unibox emails with lead, campaign, thread, and body context. */
|
|
@@ -22180,9 +22365,12 @@ export interface Tools {
|
|
|
22180
22365
|
input: {
|
|
22181
22366
|
/** PlusVibe workspace id. */
|
|
22182
22367
|
workspaceId: string;
|
|
22368
|
+
/** Read one conversation's messages. */
|
|
22369
|
+
threadId?: string;
|
|
22370
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22371
|
+
startingAfter?: string;
|
|
22183
22372
|
};
|
|
22184
22373
|
output: {
|
|
22185
|
-
pageTrail?: string;
|
|
22186
22374
|
emails: Array<{
|
|
22187
22375
|
emailId: string;
|
|
22188
22376
|
messageId?: string;
|
|
@@ -22203,6 +22391,7 @@ export interface Tools {
|
|
|
22203
22391
|
bodyText?: string;
|
|
22204
22392
|
bodyHtml?: string;
|
|
22205
22393
|
}>;
|
|
22394
|
+
nextStartingAfter?: string;
|
|
22206
22395
|
};
|
|
22207
22396
|
};
|
|
22208
22397
|
/** List PlusVibe leads filtered by campaign, status, label, email, or name. */
|
|
@@ -22211,15 +22400,14 @@ export interface Tools {
|
|
|
22211
22400
|
/** PlusVibe workspace id. */
|
|
22212
22401
|
workspaceId: string;
|
|
22213
22402
|
campaignId?: string;
|
|
22214
|
-
status?: "SKIPPED" | "COMPLETED" | "
|
|
22403
|
+
status?: "SKIPPED" | "COMPLETED" | "NOT_CONTACTED" | "CONTACTED" | "BOUNCED" | "REPLIED" | "UNSUBSCRIBED" | "PAUSED";
|
|
22215
22404
|
label?: string;
|
|
22216
22405
|
email?: string;
|
|
22217
22406
|
firstName?: string;
|
|
22218
22407
|
lastName?: string;
|
|
22219
|
-
page
|
|
22408
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22409
|
+
startingAfter?: string;
|
|
22220
22410
|
limit?: number;
|
|
22221
|
-
sort?: string;
|
|
22222
|
-
direction?: "asc" | "desc";
|
|
22223
22411
|
};
|
|
22224
22412
|
output: {
|
|
22225
22413
|
leads: Array<{
|
|
@@ -22243,6 +22431,7 @@ export interface Tools {
|
|
|
22243
22431
|
[key: string]: unknown;
|
|
22244
22432
|
};
|
|
22245
22433
|
}>;
|
|
22434
|
+
nextStartingAfter?: string;
|
|
22246
22435
|
};
|
|
22247
22436
|
};
|
|
22248
22437
|
/** List PlusVibe workspaces available to the connected API key. */
|
|
@@ -22262,8 +22451,8 @@ export interface Tools {
|
|
|
22262
22451
|
input: {
|
|
22263
22452
|
/** PlusVibe workspace id. */
|
|
22264
22453
|
workspaceId: string;
|
|
22265
|
-
/** PlusVibe
|
|
22266
|
-
|
|
22454
|
+
/** PlusVibe thread id (threadId from List PlusVibe Emails) to draft the reply on. */
|
|
22455
|
+
threadId: string;
|
|
22267
22456
|
/** Connected PlusVibe sender mailbox. */
|
|
22268
22457
|
from: string;
|
|
22269
22458
|
/** Reply recipients. */
|
|
@@ -22290,6 +22479,8 @@ export interface Tools {
|
|
|
22290
22479
|
email: string;
|
|
22291
22480
|
/** Optional campaign id to scope the lookup. */
|
|
22292
22481
|
campaignId?: string;
|
|
22482
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22483
|
+
startingAfter?: string;
|
|
22293
22484
|
};
|
|
22294
22485
|
output: {
|
|
22295
22486
|
leads: Array<{
|
|
@@ -22313,6 +22504,7 @@ export interface Tools {
|
|
|
22313
22504
|
[key: string]: unknown;
|
|
22314
22505
|
};
|
|
22315
22506
|
}>;
|
|
22507
|
+
nextStartingAfter?: string;
|
|
22316
22508
|
};
|
|
22317
22509
|
};
|
|
22318
22510
|
/** Update a PlusVibe lead label or custom variables after review/classification. */
|
|
@@ -27223,6 +27415,75 @@ export interface Tools {
|
|
|
27223
27415
|
after?: string;
|
|
27224
27416
|
};
|
|
27225
27417
|
};
|
|
27418
|
+
/** Add a video to the end of one of the channel's playlists. */
|
|
27419
|
+
youtube_add_to_playlist: {
|
|
27420
|
+
input: {
|
|
27421
|
+
playlistId: string;
|
|
27422
|
+
videoId: string;
|
|
27423
|
+
};
|
|
27424
|
+
output: {
|
|
27425
|
+
playlistItemId: string;
|
|
27426
|
+
playlistId: string;
|
|
27427
|
+
videoId: string;
|
|
27428
|
+
};
|
|
27429
|
+
};
|
|
27430
|
+
/** Publish comments that YouTube is holding for review or marked as likely spam. */
|
|
27431
|
+
youtube_approve_comments: {
|
|
27432
|
+
input: {
|
|
27433
|
+
commentIds: Array<string>;
|
|
27434
|
+
};
|
|
27435
|
+
output: {
|
|
27436
|
+
commentIds: Array<string>;
|
|
27437
|
+
};
|
|
27438
|
+
};
|
|
27439
|
+
/** Create a playlist on the channel. */
|
|
27440
|
+
youtube_create_playlist: {
|
|
27441
|
+
input: {
|
|
27442
|
+
title: string;
|
|
27443
|
+
description: string;
|
|
27444
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27445
|
+
};
|
|
27446
|
+
output: {
|
|
27447
|
+
playlistId: string;
|
|
27448
|
+
title: string;
|
|
27449
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27450
|
+
url: string;
|
|
27451
|
+
};
|
|
27452
|
+
};
|
|
27453
|
+
/** Delete a comment or reply the channel itself wrote. */
|
|
27454
|
+
youtube_delete_comment: {
|
|
27455
|
+
input: {
|
|
27456
|
+
commentId: string;
|
|
27457
|
+
};
|
|
27458
|
+
output: {
|
|
27459
|
+
commentId: string;
|
|
27460
|
+
};
|
|
27461
|
+
};
|
|
27462
|
+
/** Delete a video from the channel for good. */
|
|
27463
|
+
youtube_delete_video: {
|
|
27464
|
+
input: {
|
|
27465
|
+
videoId: string;
|
|
27466
|
+
};
|
|
27467
|
+
output: {
|
|
27468
|
+
videoId: string;
|
|
27469
|
+
};
|
|
27470
|
+
};
|
|
27471
|
+
/** Read the channel's YouTube Analytics for a date range: totals, or by day, video, country, device, traffic source, age and gender, or a video's audience retention. */
|
|
27472
|
+
youtube_get_analytics: {
|
|
27473
|
+
input: {
|
|
27474
|
+
startDate: string;
|
|
27475
|
+
endDate: string;
|
|
27476
|
+
/** none gives the period's totals; video ranks the top 50 videos by views. */
|
|
27477
|
+
breakdown: "none" | "day" | "video" | "country" | "device" | "traffic_source" | "age_gender" | "retention";
|
|
27478
|
+
/** Only this video's numbers. retention needs it. */
|
|
27479
|
+
videoId?: string;
|
|
27480
|
+
};
|
|
27481
|
+
output: {
|
|
27482
|
+
rows: Array<{
|
|
27483
|
+
[key: string]: string | number;
|
|
27484
|
+
}>;
|
|
27485
|
+
};
|
|
27486
|
+
};
|
|
27226
27487
|
/** Read the connected channel: its ID, title, handle, subscribers, lifetime views and public videos. */
|
|
27227
27488
|
youtube_get_channel: {
|
|
27228
27489
|
input: {
|
|
@@ -27239,6 +27500,74 @@ export interface Tools {
|
|
|
27239
27500
|
videos: number;
|
|
27240
27501
|
};
|
|
27241
27502
|
};
|
|
27503
|
+
/** List a video's caption tracks: each one's language, name and whether it's live. */
|
|
27504
|
+
youtube_list_captions: {
|
|
27505
|
+
input: {
|
|
27506
|
+
videoId: string;
|
|
27507
|
+
};
|
|
27508
|
+
output: {
|
|
27509
|
+
tracks: Array<{
|
|
27510
|
+
captionId: string;
|
|
27511
|
+
language: string;
|
|
27512
|
+
name: string;
|
|
27513
|
+
/** ASR tracks are YouTube's automatic captions. */
|
|
27514
|
+
kind: "standard" | "ASR" | "forced";
|
|
27515
|
+
isDraft: boolean;
|
|
27516
|
+
status: "serving" | "syncing" | "failed";
|
|
27517
|
+
}>;
|
|
27518
|
+
};
|
|
27519
|
+
};
|
|
27520
|
+
/** List comment threads on the channel's videos, newest first, with their first replies. */
|
|
27521
|
+
youtube_list_comments: {
|
|
27522
|
+
input: {
|
|
27523
|
+
/** Only this video's comments; omit for every video on the channel. */
|
|
27524
|
+
videoId?: string;
|
|
27525
|
+
/** heldForReview and likelySpam list what YouTube is holding back from public view. */
|
|
27526
|
+
moderationStatus?: "published" | "heldForReview" | "likelySpam";
|
|
27527
|
+
cursor?: string;
|
|
27528
|
+
};
|
|
27529
|
+
output: {
|
|
27530
|
+
threads: Array<{
|
|
27531
|
+
commentId: string;
|
|
27532
|
+
author: string;
|
|
27533
|
+
authorChannelId: string | null;
|
|
27534
|
+
text: string;
|
|
27535
|
+
likes: number;
|
|
27536
|
+
publishedAt: string;
|
|
27537
|
+
/** Null for a comment on the channel itself. */
|
|
27538
|
+
videoId: string | null;
|
|
27539
|
+
replyCount: number;
|
|
27540
|
+
canReply: boolean;
|
|
27541
|
+
/** The first few replies; replyCount is the total. */
|
|
27542
|
+
replies: Array<{
|
|
27543
|
+
commentId: string;
|
|
27544
|
+
author: string;
|
|
27545
|
+
authorChannelId: string | null;
|
|
27546
|
+
text: string;
|
|
27547
|
+
likes: number;
|
|
27548
|
+
publishedAt: string;
|
|
27549
|
+
}>;
|
|
27550
|
+
}>;
|
|
27551
|
+
nextCursor: string | null;
|
|
27552
|
+
};
|
|
27553
|
+
};
|
|
27554
|
+
/** List the channel's playlists, including private and unlisted ones, with how many videos each holds. */
|
|
27555
|
+
youtube_list_playlists: {
|
|
27556
|
+
input: {
|
|
27557
|
+
cursor?: string;
|
|
27558
|
+
};
|
|
27559
|
+
output: {
|
|
27560
|
+
playlists: Array<{
|
|
27561
|
+
playlistId: string;
|
|
27562
|
+
title: string;
|
|
27563
|
+
description: string;
|
|
27564
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27565
|
+
videoCount: number;
|
|
27566
|
+
url: string;
|
|
27567
|
+
}>;
|
|
27568
|
+
nextCursor: string | null;
|
|
27569
|
+
};
|
|
27570
|
+
};
|
|
27242
27571
|
/** List this channel's uploads from Superclerk, newest first, with each one's status and video link. */
|
|
27243
27572
|
youtube_list_uploads: {
|
|
27244
27573
|
input: {
|
|
@@ -27255,7 +27584,7 @@ export interface Tools {
|
|
|
27255
27584
|
videoId: string | null;
|
|
27256
27585
|
url: string | null;
|
|
27257
27586
|
error: {
|
|
27258
|
-
kind: "validation" | "permission" | "auth" | "quota_exhausted" | "provider_rejected" | "rate_limited" | "retryable_upstream" | "outcome_unknown" | "result_unavailable" | "upstream" | "timeout" | "internal" | "cancelled";
|
|
27587
|
+
kind: "validation" | "permission" | "auth" | "quota_exhausted" | "provider_rejected" | "rate_limited" | "retryable_upstream" | "outcome_unknown" | "result_unavailable" | "upstream" | "timeout" | "internal" | "cancelled" | "sender_restricted" | "recipient_refused";
|
|
27259
27588
|
message: string;
|
|
27260
27589
|
} | null;
|
|
27261
27590
|
}>;
|
|
@@ -27284,6 +27613,72 @@ export interface Tools {
|
|
|
27284
27613
|
description: string;
|
|
27285
27614
|
};
|
|
27286
27615
|
};
|
|
27616
|
+
/** Remove comments on the channel's videos from public view, with their replies. */
|
|
27617
|
+
youtube_remove_comments: {
|
|
27618
|
+
input: {
|
|
27619
|
+
commentIds: Array<string>;
|
|
27620
|
+
/** Also hide everything these authors write on the channel from now on. */
|
|
27621
|
+
banAuthor: boolean;
|
|
27622
|
+
};
|
|
27623
|
+
output: {
|
|
27624
|
+
commentIds: Array<string>;
|
|
27625
|
+
};
|
|
27626
|
+
};
|
|
27627
|
+
/** Reply to a comment thread as the channel. */
|
|
27628
|
+
youtube_reply_to_comment: {
|
|
27629
|
+
input: {
|
|
27630
|
+
/** The thread's commentId from youtube_list_comments. */
|
|
27631
|
+
commentId: string;
|
|
27632
|
+
text: string;
|
|
27633
|
+
};
|
|
27634
|
+
output: {
|
|
27635
|
+
commentId: string;
|
|
27636
|
+
parentId: string;
|
|
27637
|
+
};
|
|
27638
|
+
};
|
|
27639
|
+
/** Change a video's title, description, tags, category, privacy or the time it goes public. */
|
|
27640
|
+
youtube_update_video: {
|
|
27641
|
+
input: {
|
|
27642
|
+
videoId: string;
|
|
27643
|
+
title?: string;
|
|
27644
|
+
description?: string;
|
|
27645
|
+
/** Replaces every tag. */
|
|
27646
|
+
tags?: Array<string>;
|
|
27647
|
+
categoryId?: string;
|
|
27648
|
+
privacyStatus?: "private" | "public" | "unlisted";
|
|
27649
|
+
/** Make a private video that was never public go public at this time. */
|
|
27650
|
+
publishAt?: string;
|
|
27651
|
+
};
|
|
27652
|
+
output: {
|
|
27653
|
+
videoId: string;
|
|
27654
|
+
title: string;
|
|
27655
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27656
|
+
publishAt: string | null;
|
|
27657
|
+
url: string;
|
|
27658
|
+
};
|
|
27659
|
+
};
|
|
27660
|
+
/** Add a caption track to a video from SubRip or WebVTT text. */
|
|
27661
|
+
youtube_upload_captions: {
|
|
27662
|
+
input: {
|
|
27663
|
+
videoId: string;
|
|
27664
|
+
language: string;
|
|
27665
|
+
/** Shown beside the language in YouTube's captions menu; may be empty. */
|
|
27666
|
+
name: string;
|
|
27667
|
+
/** The caption file's text, such as SubRip (.srt) or WebVTT (.vtt). */
|
|
27668
|
+
captions: string;
|
|
27669
|
+
/** true keeps the track hidden from viewers. */
|
|
27670
|
+
isDraft?: boolean;
|
|
27671
|
+
};
|
|
27672
|
+
output: {
|
|
27673
|
+
captionId: string;
|
|
27674
|
+
language: string;
|
|
27675
|
+
name: string;
|
|
27676
|
+
/** ASR tracks are YouTube's automatic captions. */
|
|
27677
|
+
kind: "standard" | "ASR" | "forced";
|
|
27678
|
+
isDraft: boolean;
|
|
27679
|
+
status: "serving" | "syncing" | "failed";
|
|
27680
|
+
};
|
|
27681
|
+
};
|
|
27287
27682
|
/** Upload an MP4 to the connected channel now, or schedule when it goes live. */
|
|
27288
27683
|
youtube_upload_video: {
|
|
27289
27684
|
input: {
|
|
@@ -27299,7 +27694,7 @@ export interface Tools {
|
|
|
27299
27694
|
description: string;
|
|
27300
27695
|
/** A ready MP4 from youtube_import_media or /v1/social/media. */
|
|
27301
27696
|
videoAssetId: string;
|
|
27302
|
-
/** A ready JPEG or PNG of at most
|
|
27697
|
+
/** A ready JPEG or PNG of at most 20 MiB. */
|
|
27303
27698
|
thumbnailAssetId?: string;
|
|
27304
27699
|
/** null uploads now; otherwise a future publish time with its UTC offset. */
|
|
27305
27700
|
scheduledFor: string | null;
|
|
@@ -27313,7 +27708,7 @@ export interface Tools {
|
|
|
27313
27708
|
videoId: string | null;
|
|
27314
27709
|
url: string | null;
|
|
27315
27710
|
error: {
|
|
27316
|
-
kind: "validation" | "permission" | "auth" | "quota_exhausted" | "provider_rejected" | "rate_limited" | "retryable_upstream" | "outcome_unknown" | "result_unavailable" | "upstream" | "timeout" | "internal" | "cancelled";
|
|
27711
|
+
kind: "validation" | "permission" | "auth" | "quota_exhausted" | "provider_rejected" | "rate_limited" | "retryable_upstream" | "outcome_unknown" | "result_unavailable" | "upstream" | "timeout" | "internal" | "cancelled" | "sender_restricted" | "recipient_refused";
|
|
27317
27712
|
message: string;
|
|
27318
27713
|
} | null;
|
|
27319
27714
|
};
|