@getanyapi/sdk 0.12.5 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -53
- package/dist/index.d.ts +56 -53
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1791,6 +1791,9 @@ interface ApolloOrganizationsBulkEnrichInput {
|
|
|
1791
1791
|
*/
|
|
1792
1792
|
domains: string[];
|
|
1793
1793
|
}
|
|
1794
|
+
/**
|
|
1795
|
+
* The enriched organization for the domain at this index, or null when that domain had no match.
|
|
1796
|
+
*/
|
|
1794
1797
|
interface ApolloOrganizationsBulkEnrichOrganization {
|
|
1795
1798
|
/**
|
|
1796
1799
|
* Estimated annual revenue in USD.
|
|
@@ -1908,9 +1911,9 @@ interface ApolloOrganizationsBulkEnrichData {
|
|
|
1908
1911
|
*/
|
|
1909
1912
|
missing: number;
|
|
1910
1913
|
/**
|
|
1911
|
-
* Enriched organizations.
|
|
1914
|
+
* Enriched organizations, positionally aligned with the requested domains: index i of this array is the result for index i of the domains input, and the array is always the same length as that input. An entry is null when the domain had no match, so a partial batch still returns every domain it did resolve.
|
|
1912
1915
|
*/
|
|
1913
|
-
organizations: ApolloOrganizationsBulkEnrichOrganization[];
|
|
1916
|
+
organizations: (ApolloOrganizationsBulkEnrichOrganization | null)[];
|
|
1914
1917
|
/**
|
|
1915
1918
|
* Number of requested domains.
|
|
1916
1919
|
* Range: minimum 0.
|
|
@@ -2460,7 +2463,7 @@ declare class ApolloNamespace {
|
|
|
2460
2463
|
/**
|
|
2461
2464
|
* Apollo Bulk Organization Enrichment
|
|
2462
2465
|
*
|
|
2463
|
-
* Enrich up to 10 organization domains in one request with normalized company profile, industry, employee, revenue,
|
|
2466
|
+
* Enrich up to 10 organization domains in one request with normalized company profile, industry, employee, revenue, and location data. Priced per request rather than per domain, so a full batch of 10 costs the same as a batch of 1. Results are positionally aligned with the domains you send, and a domain with no match returns null in its slot.
|
|
2464
2467
|
*
|
|
2465
2468
|
* Price: $0.06 per request.
|
|
2466
2469
|
*
|
|
@@ -4153,7 +4156,7 @@ interface FacebookAdDetailsData {
|
|
|
4153
4156
|
/**
|
|
4154
4157
|
* Whether the ad is currently running.
|
|
4155
4158
|
*/
|
|
4156
|
-
active?: boolean;
|
|
4159
|
+
active?: boolean | null;
|
|
4157
4160
|
/**
|
|
4158
4161
|
* Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.
|
|
4159
4162
|
*/
|
|
@@ -4162,25 +4165,25 @@ interface FacebookAdDetailsData {
|
|
|
4162
4165
|
* Call-to-action label. Populated whenever the provider has data for the entity.
|
|
4163
4166
|
* Present whenever the upstream returns this record.
|
|
4164
4167
|
*/
|
|
4165
|
-
ctaText?: string;
|
|
4168
|
+
ctaText?: string | null;
|
|
4166
4169
|
/**
|
|
4167
4170
|
* Spend currency, may be empty.
|
|
4168
4171
|
*/
|
|
4169
|
-
currency?: string;
|
|
4172
|
+
currency?: string | null;
|
|
4170
4173
|
/**
|
|
4171
4174
|
* Ad creative format. Populated whenever the provider has data for the entity.
|
|
4172
4175
|
* Present whenever the upstream returns this record.
|
|
4173
4176
|
*/
|
|
4174
|
-
displayFormat?: string;
|
|
4177
|
+
displayFormat?: string | null;
|
|
4175
4178
|
/**
|
|
4176
4179
|
* Run end, epoch seconds.
|
|
4177
4180
|
*/
|
|
4178
|
-
endDate?: number;
|
|
4181
|
+
endDate?: number | null;
|
|
4179
4182
|
/**
|
|
4180
4183
|
* Creative destination URL. Populated whenever the provider has data for the entity.
|
|
4181
4184
|
* Present whenever the upstream returns this record.
|
|
4182
4185
|
*/
|
|
4183
|
-
linkUrl?: string;
|
|
4186
|
+
linkUrl?: string | null;
|
|
4184
4187
|
/**
|
|
4185
4188
|
* Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.
|
|
4186
4189
|
*/
|
|
@@ -4189,27 +4192,27 @@ interface FacebookAdDetailsData {
|
|
|
4189
4192
|
* Advertiser page name. Populated whenever the provider has data for the entity.
|
|
4190
4193
|
* Present whenever the upstream returns this record.
|
|
4191
4194
|
*/
|
|
4192
|
-
pageName?: string;
|
|
4195
|
+
pageName?: string | null;
|
|
4193
4196
|
/**
|
|
4194
4197
|
* Publisher platforms the ad runs on. Populated whenever the provider has data for the entity.
|
|
4195
4198
|
* Present whenever the upstream returns this record.
|
|
4196
4199
|
*/
|
|
4197
|
-
platforms?: string[];
|
|
4200
|
+
platforms?: string[] | null;
|
|
4198
4201
|
/**
|
|
4199
4202
|
* Run start, epoch seconds. Populated whenever the provider has data for the entity.
|
|
4200
4203
|
* Present whenever the upstream returns this record.
|
|
4201
4204
|
*/
|
|
4202
|
-
startDate?: number;
|
|
4205
|
+
startDate?: number | null;
|
|
4203
4206
|
/**
|
|
4204
4207
|
* Ad body text. Populated whenever the provider has data for the entity.
|
|
4205
4208
|
* Present whenever the upstream returns this record.
|
|
4206
4209
|
*/
|
|
4207
|
-
text?: string;
|
|
4210
|
+
text?: string | null;
|
|
4208
4211
|
/**
|
|
4209
4212
|
* Creative title. Populated whenever the provider has data for the entity.
|
|
4210
4213
|
* Present whenever the upstream returns this record.
|
|
4211
4214
|
*/
|
|
4212
|
-
title?: string;
|
|
4215
|
+
title?: string | null;
|
|
4213
4216
|
[extra: string]: unknown;
|
|
4214
4217
|
}
|
|
4215
4218
|
/**
|
|
@@ -6085,7 +6088,7 @@ interface GithubRepositoryData {
|
|
|
6085
6088
|
/**
|
|
6086
6089
|
* Short repository description, or null if none.
|
|
6087
6090
|
*/
|
|
6088
|
-
description?: string;
|
|
6091
|
+
description?: string | null;
|
|
6089
6092
|
/**
|
|
6090
6093
|
* Whether the repository is a fork.
|
|
6091
6094
|
*/
|
|
@@ -6101,15 +6104,15 @@ interface GithubRepositoryData {
|
|
|
6101
6104
|
/**
|
|
6102
6105
|
* Project homepage URL, or null if none.
|
|
6103
6106
|
*/
|
|
6104
|
-
homepage?: string;
|
|
6107
|
+
homepage?: string | null;
|
|
6105
6108
|
/**
|
|
6106
6109
|
* Primary programming language, or null if undetected.
|
|
6107
6110
|
*/
|
|
6108
|
-
language?: string;
|
|
6111
|
+
language?: string | null;
|
|
6109
6112
|
/**
|
|
6110
6113
|
* License name, or null if unlicensed.
|
|
6111
6114
|
*/
|
|
6112
|
-
license?: string;
|
|
6115
|
+
license?: string | null;
|
|
6113
6116
|
/**
|
|
6114
6117
|
* Repository short name (without owner). Populated whenever the provider has data for the entity.
|
|
6115
6118
|
*/
|
|
@@ -8536,7 +8539,7 @@ interface InstagramFollowersData {
|
|
|
8536
8539
|
/**
|
|
8537
8540
|
* Opaque cursor for the next page of followers, or null/empty when this lane has no more. Pass it back as cursor to continue.
|
|
8538
8541
|
*/
|
|
8539
|
-
nextCursor?: string;
|
|
8542
|
+
nextCursor?: string | null;
|
|
8540
8543
|
}
|
|
8541
8544
|
/**
|
|
8542
8545
|
* Input for Instagram Following (instagram.following).
|
|
@@ -8602,7 +8605,7 @@ interface InstagramFollowingData {
|
|
|
8602
8605
|
/**
|
|
8603
8606
|
* Opaque cursor for the next page of results, or null/empty when this lane has no more. Pass it back as cursor to continue.
|
|
8604
8607
|
*/
|
|
8605
|
-
nextCursor?: string;
|
|
8608
|
+
nextCursor?: string | null;
|
|
8606
8609
|
}
|
|
8607
8610
|
/**
|
|
8608
8611
|
* Input for Instagram Hashtag Analytics (instagram.hashtag_analytics).
|
|
@@ -10235,7 +10238,7 @@ interface LinkedinCompanyPostsItem {
|
|
|
10235
10238
|
/**
|
|
10236
10239
|
* Video attached to the post, or null when absent.
|
|
10237
10240
|
*/
|
|
10238
|
-
postVideo?: {};
|
|
10241
|
+
postVideo?: {} | null;
|
|
10239
10242
|
/**
|
|
10240
10243
|
* Full text content of the post.
|
|
10241
10244
|
*/
|
|
@@ -14100,7 +14103,7 @@ interface RedditUserCommentsData {
|
|
|
14100
14103
|
/**
|
|
14101
14104
|
* Opaque cursor for the next page of this user's comments; pass it back as the `cursor` input to fetch the following page. Null when there are no more pages.
|
|
14102
14105
|
*/
|
|
14103
|
-
nextCursor: string;
|
|
14106
|
+
nextCursor: string | null;
|
|
14104
14107
|
}
|
|
14105
14108
|
/**
|
|
14106
14109
|
* Input for Reddit User Posts (reddit.user_posts).
|
|
@@ -14168,7 +14171,7 @@ interface RedditUserPostsData {
|
|
|
14168
14171
|
/**
|
|
14169
14172
|
* Opaque cursor for the next page of this user's posts; pass it back as the `cursor` input to fetch the following page. Null when there are no more pages.
|
|
14170
14173
|
*/
|
|
14171
|
-
nextCursor: string;
|
|
14174
|
+
nextCursor: string | null;
|
|
14172
14175
|
/**
|
|
14173
14176
|
* The user's posts in feed order. Posts hosted on the user's own profile (r/u_<name>) are included and carry an empty subreddit. Populated whenever the provider has data for the entity.
|
|
14174
14177
|
*/
|
|
@@ -16619,7 +16622,7 @@ interface SocialFinderItem {
|
|
|
16619
16622
|
/**
|
|
16620
16623
|
* URL of the matching profile, or null when no account was found on that network.
|
|
16621
16624
|
*/
|
|
16622
|
-
socialProfileUrl: string;
|
|
16625
|
+
socialProfileUrl: string | null;
|
|
16623
16626
|
[extra: string]: unknown;
|
|
16624
16627
|
}
|
|
16625
16628
|
/**
|
|
@@ -20043,7 +20046,7 @@ interface TwitterFollowersData {
|
|
|
20043
20046
|
/**
|
|
20044
20047
|
* Opaque cursor for the next page of followers, or null when there are no more. Pass it back as cursor to continue.
|
|
20045
20048
|
*/
|
|
20046
|
-
nextCursor?: string;
|
|
20049
|
+
nextCursor?: string | null;
|
|
20047
20050
|
}
|
|
20048
20051
|
/**
|
|
20049
20052
|
* Input for X / Twitter Following (twitter.following).
|
|
@@ -20114,7 +20117,7 @@ interface TwitterFollowingData {
|
|
|
20114
20117
|
/**
|
|
20115
20118
|
* Opaque cursor for the next page of followed accounts, or null when there are no more. Pass it back as cursor to continue.
|
|
20116
20119
|
*/
|
|
20117
|
-
nextCursor?: string;
|
|
20120
|
+
nextCursor?: string | null;
|
|
20118
20121
|
}
|
|
20119
20122
|
/**
|
|
20120
20123
|
* Input for Twitter Profile (twitter.profile).
|
|
@@ -20304,7 +20307,7 @@ interface TwitterSearchData {
|
|
|
20304
20307
|
/**
|
|
20305
20308
|
* Opaque cursor for the next page of search results, or null when there are no more. Pass it back as cursor to continue.
|
|
20306
20309
|
*/
|
|
20307
|
-
nextCursor?: string;
|
|
20310
|
+
nextCursor?: string | null;
|
|
20308
20311
|
}
|
|
20309
20312
|
/**
|
|
20310
20313
|
* Input for X / Twitter Trends (twitter.trends).
|
|
@@ -20495,7 +20498,7 @@ interface TwitterUserPostsData {
|
|
|
20495
20498
|
/**
|
|
20496
20499
|
* Opaque cursor for the next native Posts-tab page, or null when no more pages are available.
|
|
20497
20500
|
*/
|
|
20498
|
-
nextCursor: string;
|
|
20501
|
+
nextCursor: string | null;
|
|
20499
20502
|
/**
|
|
20500
20503
|
* Posts in profile order. A pinned post may appear before otherwise reverse-chronological results. Populated whenever the provider has data for the entity.
|
|
20501
20504
|
*/
|
|
@@ -20559,7 +20562,7 @@ interface TwitterUserTweetsData {
|
|
|
20559
20562
|
/**
|
|
20560
20563
|
* Reserved pagination cursor. The current bulk lane returns null; cursor-capable lanes may return an opaque continuation value in the future.
|
|
20561
20564
|
*/
|
|
20562
|
-
nextCursor?: string;
|
|
20565
|
+
nextCursor?: string | null;
|
|
20563
20566
|
/**
|
|
20564
20567
|
* Populated whenever the provider has data for the entity.
|
|
20565
20568
|
*/
|
|
@@ -20839,7 +20842,7 @@ interface UpworkJobsItem {
|
|
|
20839
20842
|
/**
|
|
20840
20843
|
* Whether the client's payment method is verified; null when Upwork reports it as unknown.
|
|
20841
20844
|
*/
|
|
20842
|
-
paymentVerified?: boolean;
|
|
20845
|
+
paymentVerified?: boolean | null;
|
|
20843
20846
|
/**
|
|
20844
20847
|
* Number of proposals submitted.
|
|
20845
20848
|
*/
|
|
@@ -20847,7 +20850,7 @@ interface UpworkJobsItem {
|
|
|
20847
20850
|
/**
|
|
20848
20851
|
* Skill tags.
|
|
20849
20852
|
*/
|
|
20850
|
-
tags?: string[];
|
|
20853
|
+
tags?: string[] | null;
|
|
20851
20854
|
/**
|
|
20852
20855
|
* Job posting title. Populated whenever the provider has data for the entity.
|
|
20853
20856
|
*/
|
|
@@ -21886,15 +21889,15 @@ interface YelpSearchItem {
|
|
|
21886
21889
|
/**
|
|
21887
21890
|
* Primary street address line.
|
|
21888
21891
|
*/
|
|
21889
|
-
address1?: string;
|
|
21892
|
+
address1?: string | null;
|
|
21890
21893
|
/**
|
|
21891
21894
|
* Secondary address line.
|
|
21892
21895
|
*/
|
|
21893
|
-
address2?: string;
|
|
21896
|
+
address2?: string | null;
|
|
21894
21897
|
/**
|
|
21895
21898
|
* Tertiary address line.
|
|
21896
21899
|
*/
|
|
21897
|
-
address3?: string;
|
|
21900
|
+
address3?: string | null;
|
|
21898
21901
|
/**
|
|
21899
21902
|
* URL slug for the business. Populated whenever the provider has data for the entity.
|
|
21900
21903
|
*/
|
|
@@ -21902,23 +21905,23 @@ interface YelpSearchItem {
|
|
|
21902
21905
|
/**
|
|
21903
21906
|
* Rounded average star rating.
|
|
21904
21907
|
*/
|
|
21905
|
-
avg_rating?: number;
|
|
21908
|
+
avg_rating?: number | null;
|
|
21906
21909
|
/**
|
|
21907
21910
|
* Business category tags.
|
|
21908
21911
|
*/
|
|
21909
|
-
categories?: YelpSearchCategorie[];
|
|
21912
|
+
categories?: YelpSearchCategorie[] | null;
|
|
21910
21913
|
/**
|
|
21911
21914
|
* City name.
|
|
21912
21915
|
*/
|
|
21913
|
-
city?: string;
|
|
21916
|
+
city?: string | null;
|
|
21914
21917
|
/**
|
|
21915
21918
|
* ISO country code.
|
|
21916
21919
|
*/
|
|
21917
|
-
country?: string;
|
|
21920
|
+
country?: string | null;
|
|
21918
21921
|
/**
|
|
21919
21922
|
* Dialable phone number.
|
|
21920
21923
|
*/
|
|
21921
|
-
dialable_phone?: string;
|
|
21924
|
+
dialable_phone?: string | null;
|
|
21922
21925
|
/**
|
|
21923
21926
|
* Stable Yelp business identifier. Populated whenever the provider has data for the entity.
|
|
21924
21927
|
*/
|
|
@@ -21926,23 +21929,23 @@ interface YelpSearchItem {
|
|
|
21926
21929
|
/**
|
|
21927
21930
|
* Whether the business is permanently closed.
|
|
21928
21931
|
*/
|
|
21929
|
-
is_closed?: boolean;
|
|
21932
|
+
is_closed?: boolean | null;
|
|
21930
21933
|
/**
|
|
21931
21934
|
* Latitude of the business.
|
|
21932
21935
|
*/
|
|
21933
|
-
latitude?: number;
|
|
21936
|
+
latitude?: number | null;
|
|
21934
21937
|
/**
|
|
21935
21938
|
* Formatted local phone number.
|
|
21936
21939
|
*/
|
|
21937
|
-
localized_phone?: string;
|
|
21940
|
+
localized_phone?: string | null;
|
|
21938
21941
|
/**
|
|
21939
21942
|
* Localized price tier (e.g. $$).
|
|
21940
21943
|
*/
|
|
21941
|
-
localized_price?: string;
|
|
21944
|
+
localized_price?: string | null;
|
|
21942
21945
|
/**
|
|
21943
21946
|
* Longitude of the business.
|
|
21944
21947
|
*/
|
|
21945
|
-
longitude?: number;
|
|
21948
|
+
longitude?: number | null;
|
|
21946
21949
|
/**
|
|
21947
21950
|
* Business display name. Populated whenever the provider has data for the entity.
|
|
21948
21951
|
*/
|
|
@@ -21950,40 +21953,40 @@ interface YelpSearchItem {
|
|
|
21950
21953
|
/**
|
|
21951
21954
|
* Neighborhood labels for the location.
|
|
21952
21955
|
*/
|
|
21953
|
-
neighborhoods?: string[];
|
|
21956
|
+
neighborhoods?: string[] | null;
|
|
21954
21957
|
/**
|
|
21955
21958
|
* Raw phone number.
|
|
21956
21959
|
*/
|
|
21957
|
-
phone?: string;
|
|
21960
|
+
phone?: string | null;
|
|
21958
21961
|
/**
|
|
21959
21962
|
* Total photo count.
|
|
21960
21963
|
*/
|
|
21961
|
-
photo_count?: number;
|
|
21964
|
+
photo_count?: number | null;
|
|
21962
21965
|
/**
|
|
21963
21966
|
* Primary photo URL. Populated whenever the provider has data for the entity.
|
|
21964
21967
|
* Present whenever the upstream returns this record.
|
|
21965
21968
|
*/
|
|
21966
|
-
photo_url?: string;
|
|
21969
|
+
photo_url?: string | null;
|
|
21967
21970
|
/**
|
|
21968
21971
|
* Numeric price tier.
|
|
21969
21972
|
*/
|
|
21970
|
-
price?: number;
|
|
21973
|
+
price?: number | null;
|
|
21971
21974
|
/**
|
|
21972
21975
|
* Number of reviews.
|
|
21973
21976
|
*/
|
|
21974
|
-
review_count?: number;
|
|
21977
|
+
review_count?: number | null;
|
|
21975
21978
|
/**
|
|
21976
21979
|
* State or region code.
|
|
21977
21980
|
*/
|
|
21978
|
-
state?: string;
|
|
21981
|
+
state?: string | null;
|
|
21979
21982
|
/**
|
|
21980
21983
|
* Unrounded average star rating.
|
|
21981
21984
|
*/
|
|
21982
|
-
unrounded_avg_rating?: number;
|
|
21985
|
+
unrounded_avg_rating?: number | null;
|
|
21983
21986
|
/**
|
|
21984
21987
|
* Postal code.
|
|
21985
21988
|
*/
|
|
21986
|
-
zip?: string;
|
|
21989
|
+
zip?: string | null;
|
|
21987
21990
|
[extra: string]: unknown;
|
|
21988
21991
|
}
|
|
21989
21992
|
interface YelpSearchCategorie {
|
package/dist/index.js
CHANGED
|
@@ -1101,7 +1101,7 @@ var ApolloNamespace = class {
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Apollo Bulk Organization Enrichment
|
|
1103
1103
|
*
|
|
1104
|
-
* Enrich up to 10 organization domains in one request with normalized company profile, industry, employee, revenue,
|
|
1104
|
+
* Enrich up to 10 organization domains in one request with normalized company profile, industry, employee, revenue, and location data. Priced per request rather than per domain, so a full batch of 10 costs the same as a batch of 1. Results are positionally aligned with the domains you send, and a domain with no match returns null in its slot.
|
|
1105
1105
|
*
|
|
1106
1106
|
* Price: $0.06 per request.
|
|
1107
1107
|
*
|