@getanyapi/sdk 0.12.4 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -4114,7 +4114,7 @@ declare class EmailNamespace {
4114
4114
  *
4115
4115
  * Find a person's work email address from their name and company domain.
4116
4116
  *
4117
- * Price: $0.005 per request plus $0.008 per result (maximum $0.013).
4117
+ * Price: $0.021 per request plus $0 per result (maximum $0.021).
4118
4118
  *
4119
4119
  * @example
4120
4120
  * const res = await client.email.find({ person: { domain: "stripe.com", firstName: "Patrick", surname: "Collison" } });
@@ -4153,7 +4153,7 @@ interface FacebookAdDetailsData {
4153
4153
  /**
4154
4154
  * Whether the ad is currently running.
4155
4155
  */
4156
- active?: boolean;
4156
+ active?: boolean | null;
4157
4157
  /**
4158
4158
  * Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.
4159
4159
  */
@@ -4162,25 +4162,25 @@ interface FacebookAdDetailsData {
4162
4162
  * Call-to-action label. Populated whenever the provider has data for the entity.
4163
4163
  * Present whenever the upstream returns this record.
4164
4164
  */
4165
- ctaText?: string;
4165
+ ctaText?: string | null;
4166
4166
  /**
4167
4167
  * Spend currency, may be empty.
4168
4168
  */
4169
- currency?: string;
4169
+ currency?: string | null;
4170
4170
  /**
4171
4171
  * Ad creative format. Populated whenever the provider has data for the entity.
4172
4172
  * Present whenever the upstream returns this record.
4173
4173
  */
4174
- displayFormat?: string;
4174
+ displayFormat?: string | null;
4175
4175
  /**
4176
4176
  * Run end, epoch seconds.
4177
4177
  */
4178
- endDate?: number;
4178
+ endDate?: number | null;
4179
4179
  /**
4180
4180
  * Creative destination URL. Populated whenever the provider has data for the entity.
4181
4181
  * Present whenever the upstream returns this record.
4182
4182
  */
4183
- linkUrl?: string;
4183
+ linkUrl?: string | null;
4184
4184
  /**
4185
4185
  * Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.
4186
4186
  */
@@ -4189,27 +4189,27 @@ interface FacebookAdDetailsData {
4189
4189
  * Advertiser page name. Populated whenever the provider has data for the entity.
4190
4190
  * Present whenever the upstream returns this record.
4191
4191
  */
4192
- pageName?: string;
4192
+ pageName?: string | null;
4193
4193
  /**
4194
4194
  * Publisher platforms the ad runs on. Populated whenever the provider has data for the entity.
4195
4195
  * Present whenever the upstream returns this record.
4196
4196
  */
4197
- platforms?: string[];
4197
+ platforms?: string[] | null;
4198
4198
  /**
4199
4199
  * Run start, epoch seconds. Populated whenever the provider has data for the entity.
4200
4200
  * Present whenever the upstream returns this record.
4201
4201
  */
4202
- startDate?: number;
4202
+ startDate?: number | null;
4203
4203
  /**
4204
4204
  * Ad body text. Populated whenever the provider has data for the entity.
4205
4205
  * Present whenever the upstream returns this record.
4206
4206
  */
4207
- text?: string;
4207
+ text?: string | null;
4208
4208
  /**
4209
4209
  * Creative title. Populated whenever the provider has data for the entity.
4210
4210
  * Present whenever the upstream returns this record.
4211
4211
  */
4212
- title?: string;
4212
+ title?: string | null;
4213
4213
  [extra: string]: unknown;
4214
4214
  }
4215
4215
  /**
@@ -6085,7 +6085,7 @@ interface GithubRepositoryData {
6085
6085
  /**
6086
6086
  * Short repository description, or null if none.
6087
6087
  */
6088
- description?: string;
6088
+ description?: string | null;
6089
6089
  /**
6090
6090
  * Whether the repository is a fork.
6091
6091
  */
@@ -6101,15 +6101,15 @@ interface GithubRepositoryData {
6101
6101
  /**
6102
6102
  * Project homepage URL, or null if none.
6103
6103
  */
6104
- homepage?: string;
6104
+ homepage?: string | null;
6105
6105
  /**
6106
6106
  * Primary programming language, or null if undetected.
6107
6107
  */
6108
- language?: string;
6108
+ language?: string | null;
6109
6109
  /**
6110
6110
  * License name, or null if unlicensed.
6111
6111
  */
6112
- license?: string;
6112
+ license?: string | null;
6113
6113
  /**
6114
6114
  * Repository short name (without owner). Populated whenever the provider has data for the entity.
6115
6115
  */
@@ -8536,7 +8536,7 @@ interface InstagramFollowersData {
8536
8536
  /**
8537
8537
  * 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
8538
  */
8539
- nextCursor?: string;
8539
+ nextCursor?: string | null;
8540
8540
  }
8541
8541
  /**
8542
8542
  * Input for Instagram Following (instagram.following).
@@ -8602,7 +8602,7 @@ interface InstagramFollowingData {
8602
8602
  /**
8603
8603
  * 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
8604
  */
8605
- nextCursor?: string;
8605
+ nextCursor?: string | null;
8606
8606
  }
8607
8607
  /**
8608
8608
  * Input for Instagram Hashtag Analytics (instagram.hashtag_analytics).
@@ -10235,7 +10235,7 @@ interface LinkedinCompanyPostsItem {
10235
10235
  /**
10236
10236
  * Video attached to the post, or null when absent.
10237
10237
  */
10238
- postVideo?: {};
10238
+ postVideo?: {} | null;
10239
10239
  /**
10240
10240
  * Full text content of the post.
10241
10241
  */
@@ -14100,7 +14100,7 @@ interface RedditUserCommentsData {
14100
14100
  /**
14101
14101
  * 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
14102
  */
14103
- nextCursor: string;
14103
+ nextCursor: string | null;
14104
14104
  }
14105
14105
  /**
14106
14106
  * Input for Reddit User Posts (reddit.user_posts).
@@ -14168,7 +14168,7 @@ interface RedditUserPostsData {
14168
14168
  /**
14169
14169
  * 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
14170
  */
14171
- nextCursor: string;
14171
+ nextCursor: string | null;
14172
14172
  /**
14173
14173
  * 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
14174
  */
@@ -16619,7 +16619,7 @@ interface SocialFinderItem {
16619
16619
  /**
16620
16620
  * URL of the matching profile, or null when no account was found on that network.
16621
16621
  */
16622
- socialProfileUrl: string;
16622
+ socialProfileUrl: string | null;
16623
16623
  [extra: string]: unknown;
16624
16624
  }
16625
16625
  /**
@@ -20043,7 +20043,7 @@ interface TwitterFollowersData {
20043
20043
  /**
20044
20044
  * Opaque cursor for the next page of followers, or null when there are no more. Pass it back as cursor to continue.
20045
20045
  */
20046
- nextCursor?: string;
20046
+ nextCursor?: string | null;
20047
20047
  }
20048
20048
  /**
20049
20049
  * Input for X / Twitter Following (twitter.following).
@@ -20114,7 +20114,7 @@ interface TwitterFollowingData {
20114
20114
  /**
20115
20115
  * Opaque cursor for the next page of followed accounts, or null when there are no more. Pass it back as cursor to continue.
20116
20116
  */
20117
- nextCursor?: string;
20117
+ nextCursor?: string | null;
20118
20118
  }
20119
20119
  /**
20120
20120
  * Input for Twitter Profile (twitter.profile).
@@ -20304,7 +20304,7 @@ interface TwitterSearchData {
20304
20304
  /**
20305
20305
  * Opaque cursor for the next page of search results, or null when there are no more. Pass it back as cursor to continue.
20306
20306
  */
20307
- nextCursor?: string;
20307
+ nextCursor?: string | null;
20308
20308
  }
20309
20309
  /**
20310
20310
  * Input for X / Twitter Trends (twitter.trends).
@@ -20495,7 +20495,7 @@ interface TwitterUserPostsData {
20495
20495
  /**
20496
20496
  * Opaque cursor for the next native Posts-tab page, or null when no more pages are available.
20497
20497
  */
20498
- nextCursor: string;
20498
+ nextCursor: string | null;
20499
20499
  /**
20500
20500
  * Posts in profile order. A pinned post may appear before otherwise reverse-chronological results. Populated whenever the provider has data for the entity.
20501
20501
  */
@@ -20559,7 +20559,7 @@ interface TwitterUserTweetsData {
20559
20559
  /**
20560
20560
  * Reserved pagination cursor. The current bulk lane returns null; cursor-capable lanes may return an opaque continuation value in the future.
20561
20561
  */
20562
- nextCursor?: string;
20562
+ nextCursor?: string | null;
20563
20563
  /**
20564
20564
  * Populated whenever the provider has data for the entity.
20565
20565
  */
@@ -20839,7 +20839,7 @@ interface UpworkJobsItem {
20839
20839
  /**
20840
20840
  * Whether the client's payment method is verified; null when Upwork reports it as unknown.
20841
20841
  */
20842
- paymentVerified?: boolean;
20842
+ paymentVerified?: boolean | null;
20843
20843
  /**
20844
20844
  * Number of proposals submitted.
20845
20845
  */
@@ -20847,7 +20847,7 @@ interface UpworkJobsItem {
20847
20847
  /**
20848
20848
  * Skill tags.
20849
20849
  */
20850
- tags?: string[];
20850
+ tags?: string[] | null;
20851
20851
  /**
20852
20852
  * Job posting title. Populated whenever the provider has data for the entity.
20853
20853
  */
@@ -21886,15 +21886,15 @@ interface YelpSearchItem {
21886
21886
  /**
21887
21887
  * Primary street address line.
21888
21888
  */
21889
- address1?: string;
21889
+ address1?: string | null;
21890
21890
  /**
21891
21891
  * Secondary address line.
21892
21892
  */
21893
- address2?: string;
21893
+ address2?: string | null;
21894
21894
  /**
21895
21895
  * Tertiary address line.
21896
21896
  */
21897
- address3?: string;
21897
+ address3?: string | null;
21898
21898
  /**
21899
21899
  * URL slug for the business. Populated whenever the provider has data for the entity.
21900
21900
  */
@@ -21902,23 +21902,23 @@ interface YelpSearchItem {
21902
21902
  /**
21903
21903
  * Rounded average star rating.
21904
21904
  */
21905
- avg_rating?: number;
21905
+ avg_rating?: number | null;
21906
21906
  /**
21907
21907
  * Business category tags.
21908
21908
  */
21909
- categories?: YelpSearchCategorie[];
21909
+ categories?: YelpSearchCategorie[] | null;
21910
21910
  /**
21911
21911
  * City name.
21912
21912
  */
21913
- city?: string;
21913
+ city?: string | null;
21914
21914
  /**
21915
21915
  * ISO country code.
21916
21916
  */
21917
- country?: string;
21917
+ country?: string | null;
21918
21918
  /**
21919
21919
  * Dialable phone number.
21920
21920
  */
21921
- dialable_phone?: string;
21921
+ dialable_phone?: string | null;
21922
21922
  /**
21923
21923
  * Stable Yelp business identifier. Populated whenever the provider has data for the entity.
21924
21924
  */
@@ -21926,23 +21926,23 @@ interface YelpSearchItem {
21926
21926
  /**
21927
21927
  * Whether the business is permanently closed.
21928
21928
  */
21929
- is_closed?: boolean;
21929
+ is_closed?: boolean | null;
21930
21930
  /**
21931
21931
  * Latitude of the business.
21932
21932
  */
21933
- latitude?: number;
21933
+ latitude?: number | null;
21934
21934
  /**
21935
21935
  * Formatted local phone number.
21936
21936
  */
21937
- localized_phone?: string;
21937
+ localized_phone?: string | null;
21938
21938
  /**
21939
21939
  * Localized price tier (e.g. $$).
21940
21940
  */
21941
- localized_price?: string;
21941
+ localized_price?: string | null;
21942
21942
  /**
21943
21943
  * Longitude of the business.
21944
21944
  */
21945
- longitude?: number;
21945
+ longitude?: number | null;
21946
21946
  /**
21947
21947
  * Business display name. Populated whenever the provider has data for the entity.
21948
21948
  */
@@ -21950,40 +21950,40 @@ interface YelpSearchItem {
21950
21950
  /**
21951
21951
  * Neighborhood labels for the location.
21952
21952
  */
21953
- neighborhoods?: string[];
21953
+ neighborhoods?: string[] | null;
21954
21954
  /**
21955
21955
  * Raw phone number.
21956
21956
  */
21957
- phone?: string;
21957
+ phone?: string | null;
21958
21958
  /**
21959
21959
  * Total photo count.
21960
21960
  */
21961
- photo_count?: number;
21961
+ photo_count?: number | null;
21962
21962
  /**
21963
21963
  * Primary photo URL. Populated whenever the provider has data for the entity.
21964
21964
  * Present whenever the upstream returns this record.
21965
21965
  */
21966
- photo_url?: string;
21966
+ photo_url?: string | null;
21967
21967
  /**
21968
21968
  * Numeric price tier.
21969
21969
  */
21970
- price?: number;
21970
+ price?: number | null;
21971
21971
  /**
21972
21972
  * Number of reviews.
21973
21973
  */
21974
- review_count?: number;
21974
+ review_count?: number | null;
21975
21975
  /**
21976
21976
  * State or region code.
21977
21977
  */
21978
- state?: string;
21978
+ state?: string | null;
21979
21979
  /**
21980
21980
  * Unrounded average star rating.
21981
21981
  */
21982
- unrounded_avg_rating?: number;
21982
+ unrounded_avg_rating?: number | null;
21983
21983
  /**
21984
21984
  * Postal code.
21985
21985
  */
21986
- zip?: string;
21986
+ zip?: string | null;
21987
21987
  [extra: string]: unknown;
21988
21988
  }
21989
21989
  interface YelpSearchCategorie {
package/dist/index.d.ts CHANGED
@@ -4114,7 +4114,7 @@ declare class EmailNamespace {
4114
4114
  *
4115
4115
  * Find a person's work email address from their name and company domain.
4116
4116
  *
4117
- * Price: $0.005 per request plus $0.008 per result (maximum $0.013).
4117
+ * Price: $0.021 per request plus $0 per result (maximum $0.021).
4118
4118
  *
4119
4119
  * @example
4120
4120
  * const res = await client.email.find({ person: { domain: "stripe.com", firstName: "Patrick", surname: "Collison" } });
@@ -4153,7 +4153,7 @@ interface FacebookAdDetailsData {
4153
4153
  /**
4154
4154
  * Whether the ad is currently running.
4155
4155
  */
4156
- active?: boolean;
4156
+ active?: boolean | null;
4157
4157
  /**
4158
4158
  * Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.
4159
4159
  */
@@ -4162,25 +4162,25 @@ interface FacebookAdDetailsData {
4162
4162
  * Call-to-action label. Populated whenever the provider has data for the entity.
4163
4163
  * Present whenever the upstream returns this record.
4164
4164
  */
4165
- ctaText?: string;
4165
+ ctaText?: string | null;
4166
4166
  /**
4167
4167
  * Spend currency, may be empty.
4168
4168
  */
4169
- currency?: string;
4169
+ currency?: string | null;
4170
4170
  /**
4171
4171
  * Ad creative format. Populated whenever the provider has data for the entity.
4172
4172
  * Present whenever the upstream returns this record.
4173
4173
  */
4174
- displayFormat?: string;
4174
+ displayFormat?: string | null;
4175
4175
  /**
4176
4176
  * Run end, epoch seconds.
4177
4177
  */
4178
- endDate?: number;
4178
+ endDate?: number | null;
4179
4179
  /**
4180
4180
  * Creative destination URL. Populated whenever the provider has data for the entity.
4181
4181
  * Present whenever the upstream returns this record.
4182
4182
  */
4183
- linkUrl?: string;
4183
+ linkUrl?: string | null;
4184
4184
  /**
4185
4185
  * Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.
4186
4186
  */
@@ -4189,27 +4189,27 @@ interface FacebookAdDetailsData {
4189
4189
  * Advertiser page name. Populated whenever the provider has data for the entity.
4190
4190
  * Present whenever the upstream returns this record.
4191
4191
  */
4192
- pageName?: string;
4192
+ pageName?: string | null;
4193
4193
  /**
4194
4194
  * Publisher platforms the ad runs on. Populated whenever the provider has data for the entity.
4195
4195
  * Present whenever the upstream returns this record.
4196
4196
  */
4197
- platforms?: string[];
4197
+ platforms?: string[] | null;
4198
4198
  /**
4199
4199
  * Run start, epoch seconds. Populated whenever the provider has data for the entity.
4200
4200
  * Present whenever the upstream returns this record.
4201
4201
  */
4202
- startDate?: number;
4202
+ startDate?: number | null;
4203
4203
  /**
4204
4204
  * Ad body text. Populated whenever the provider has data for the entity.
4205
4205
  * Present whenever the upstream returns this record.
4206
4206
  */
4207
- text?: string;
4207
+ text?: string | null;
4208
4208
  /**
4209
4209
  * Creative title. Populated whenever the provider has data for the entity.
4210
4210
  * Present whenever the upstream returns this record.
4211
4211
  */
4212
- title?: string;
4212
+ title?: string | null;
4213
4213
  [extra: string]: unknown;
4214
4214
  }
4215
4215
  /**
@@ -6085,7 +6085,7 @@ interface GithubRepositoryData {
6085
6085
  /**
6086
6086
  * Short repository description, or null if none.
6087
6087
  */
6088
- description?: string;
6088
+ description?: string | null;
6089
6089
  /**
6090
6090
  * Whether the repository is a fork.
6091
6091
  */
@@ -6101,15 +6101,15 @@ interface GithubRepositoryData {
6101
6101
  /**
6102
6102
  * Project homepage URL, or null if none.
6103
6103
  */
6104
- homepage?: string;
6104
+ homepage?: string | null;
6105
6105
  /**
6106
6106
  * Primary programming language, or null if undetected.
6107
6107
  */
6108
- language?: string;
6108
+ language?: string | null;
6109
6109
  /**
6110
6110
  * License name, or null if unlicensed.
6111
6111
  */
6112
- license?: string;
6112
+ license?: string | null;
6113
6113
  /**
6114
6114
  * Repository short name (without owner). Populated whenever the provider has data for the entity.
6115
6115
  */
@@ -8536,7 +8536,7 @@ interface InstagramFollowersData {
8536
8536
  /**
8537
8537
  * 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
8538
  */
8539
- nextCursor?: string;
8539
+ nextCursor?: string | null;
8540
8540
  }
8541
8541
  /**
8542
8542
  * Input for Instagram Following (instagram.following).
@@ -8602,7 +8602,7 @@ interface InstagramFollowingData {
8602
8602
  /**
8603
8603
  * 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
8604
  */
8605
- nextCursor?: string;
8605
+ nextCursor?: string | null;
8606
8606
  }
8607
8607
  /**
8608
8608
  * Input for Instagram Hashtag Analytics (instagram.hashtag_analytics).
@@ -10235,7 +10235,7 @@ interface LinkedinCompanyPostsItem {
10235
10235
  /**
10236
10236
  * Video attached to the post, or null when absent.
10237
10237
  */
10238
- postVideo?: {};
10238
+ postVideo?: {} | null;
10239
10239
  /**
10240
10240
  * Full text content of the post.
10241
10241
  */
@@ -14100,7 +14100,7 @@ interface RedditUserCommentsData {
14100
14100
  /**
14101
14101
  * 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
14102
  */
14103
- nextCursor: string;
14103
+ nextCursor: string | null;
14104
14104
  }
14105
14105
  /**
14106
14106
  * Input for Reddit User Posts (reddit.user_posts).
@@ -14168,7 +14168,7 @@ interface RedditUserPostsData {
14168
14168
  /**
14169
14169
  * 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
14170
  */
14171
- nextCursor: string;
14171
+ nextCursor: string | null;
14172
14172
  /**
14173
14173
  * 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
14174
  */
@@ -16619,7 +16619,7 @@ interface SocialFinderItem {
16619
16619
  /**
16620
16620
  * URL of the matching profile, or null when no account was found on that network.
16621
16621
  */
16622
- socialProfileUrl: string;
16622
+ socialProfileUrl: string | null;
16623
16623
  [extra: string]: unknown;
16624
16624
  }
16625
16625
  /**
@@ -20043,7 +20043,7 @@ interface TwitterFollowersData {
20043
20043
  /**
20044
20044
  * Opaque cursor for the next page of followers, or null when there are no more. Pass it back as cursor to continue.
20045
20045
  */
20046
- nextCursor?: string;
20046
+ nextCursor?: string | null;
20047
20047
  }
20048
20048
  /**
20049
20049
  * Input for X / Twitter Following (twitter.following).
@@ -20114,7 +20114,7 @@ interface TwitterFollowingData {
20114
20114
  /**
20115
20115
  * Opaque cursor for the next page of followed accounts, or null when there are no more. Pass it back as cursor to continue.
20116
20116
  */
20117
- nextCursor?: string;
20117
+ nextCursor?: string | null;
20118
20118
  }
20119
20119
  /**
20120
20120
  * Input for Twitter Profile (twitter.profile).
@@ -20304,7 +20304,7 @@ interface TwitterSearchData {
20304
20304
  /**
20305
20305
  * Opaque cursor for the next page of search results, or null when there are no more. Pass it back as cursor to continue.
20306
20306
  */
20307
- nextCursor?: string;
20307
+ nextCursor?: string | null;
20308
20308
  }
20309
20309
  /**
20310
20310
  * Input for X / Twitter Trends (twitter.trends).
@@ -20495,7 +20495,7 @@ interface TwitterUserPostsData {
20495
20495
  /**
20496
20496
  * Opaque cursor for the next native Posts-tab page, or null when no more pages are available.
20497
20497
  */
20498
- nextCursor: string;
20498
+ nextCursor: string | null;
20499
20499
  /**
20500
20500
  * Posts in profile order. A pinned post may appear before otherwise reverse-chronological results. Populated whenever the provider has data for the entity.
20501
20501
  */
@@ -20559,7 +20559,7 @@ interface TwitterUserTweetsData {
20559
20559
  /**
20560
20560
  * Reserved pagination cursor. The current bulk lane returns null; cursor-capable lanes may return an opaque continuation value in the future.
20561
20561
  */
20562
- nextCursor?: string;
20562
+ nextCursor?: string | null;
20563
20563
  /**
20564
20564
  * Populated whenever the provider has data for the entity.
20565
20565
  */
@@ -20839,7 +20839,7 @@ interface UpworkJobsItem {
20839
20839
  /**
20840
20840
  * Whether the client's payment method is verified; null when Upwork reports it as unknown.
20841
20841
  */
20842
- paymentVerified?: boolean;
20842
+ paymentVerified?: boolean | null;
20843
20843
  /**
20844
20844
  * Number of proposals submitted.
20845
20845
  */
@@ -20847,7 +20847,7 @@ interface UpworkJobsItem {
20847
20847
  /**
20848
20848
  * Skill tags.
20849
20849
  */
20850
- tags?: string[];
20850
+ tags?: string[] | null;
20851
20851
  /**
20852
20852
  * Job posting title. Populated whenever the provider has data for the entity.
20853
20853
  */
@@ -21886,15 +21886,15 @@ interface YelpSearchItem {
21886
21886
  /**
21887
21887
  * Primary street address line.
21888
21888
  */
21889
- address1?: string;
21889
+ address1?: string | null;
21890
21890
  /**
21891
21891
  * Secondary address line.
21892
21892
  */
21893
- address2?: string;
21893
+ address2?: string | null;
21894
21894
  /**
21895
21895
  * Tertiary address line.
21896
21896
  */
21897
- address3?: string;
21897
+ address3?: string | null;
21898
21898
  /**
21899
21899
  * URL slug for the business. Populated whenever the provider has data for the entity.
21900
21900
  */
@@ -21902,23 +21902,23 @@ interface YelpSearchItem {
21902
21902
  /**
21903
21903
  * Rounded average star rating.
21904
21904
  */
21905
- avg_rating?: number;
21905
+ avg_rating?: number | null;
21906
21906
  /**
21907
21907
  * Business category tags.
21908
21908
  */
21909
- categories?: YelpSearchCategorie[];
21909
+ categories?: YelpSearchCategorie[] | null;
21910
21910
  /**
21911
21911
  * City name.
21912
21912
  */
21913
- city?: string;
21913
+ city?: string | null;
21914
21914
  /**
21915
21915
  * ISO country code.
21916
21916
  */
21917
- country?: string;
21917
+ country?: string | null;
21918
21918
  /**
21919
21919
  * Dialable phone number.
21920
21920
  */
21921
- dialable_phone?: string;
21921
+ dialable_phone?: string | null;
21922
21922
  /**
21923
21923
  * Stable Yelp business identifier. Populated whenever the provider has data for the entity.
21924
21924
  */
@@ -21926,23 +21926,23 @@ interface YelpSearchItem {
21926
21926
  /**
21927
21927
  * Whether the business is permanently closed.
21928
21928
  */
21929
- is_closed?: boolean;
21929
+ is_closed?: boolean | null;
21930
21930
  /**
21931
21931
  * Latitude of the business.
21932
21932
  */
21933
- latitude?: number;
21933
+ latitude?: number | null;
21934
21934
  /**
21935
21935
  * Formatted local phone number.
21936
21936
  */
21937
- localized_phone?: string;
21937
+ localized_phone?: string | null;
21938
21938
  /**
21939
21939
  * Localized price tier (e.g. $$).
21940
21940
  */
21941
- localized_price?: string;
21941
+ localized_price?: string | null;
21942
21942
  /**
21943
21943
  * Longitude of the business.
21944
21944
  */
21945
- longitude?: number;
21945
+ longitude?: number | null;
21946
21946
  /**
21947
21947
  * Business display name. Populated whenever the provider has data for the entity.
21948
21948
  */
@@ -21950,40 +21950,40 @@ interface YelpSearchItem {
21950
21950
  /**
21951
21951
  * Neighborhood labels for the location.
21952
21952
  */
21953
- neighborhoods?: string[];
21953
+ neighborhoods?: string[] | null;
21954
21954
  /**
21955
21955
  * Raw phone number.
21956
21956
  */
21957
- phone?: string;
21957
+ phone?: string | null;
21958
21958
  /**
21959
21959
  * Total photo count.
21960
21960
  */
21961
- photo_count?: number;
21961
+ photo_count?: number | null;
21962
21962
  /**
21963
21963
  * Primary photo URL. Populated whenever the provider has data for the entity.
21964
21964
  * Present whenever the upstream returns this record.
21965
21965
  */
21966
- photo_url?: string;
21966
+ photo_url?: string | null;
21967
21967
  /**
21968
21968
  * Numeric price tier.
21969
21969
  */
21970
- price?: number;
21970
+ price?: number | null;
21971
21971
  /**
21972
21972
  * Number of reviews.
21973
21973
  */
21974
- review_count?: number;
21974
+ review_count?: number | null;
21975
21975
  /**
21976
21976
  * State or region code.
21977
21977
  */
21978
- state?: string;
21978
+ state?: string | null;
21979
21979
  /**
21980
21980
  * Unrounded average star rating.
21981
21981
  */
21982
- unrounded_avg_rating?: number;
21982
+ unrounded_avg_rating?: number | null;
21983
21983
  /**
21984
21984
  * Postal code.
21985
21985
  */
21986
- zip?: string;
21986
+ zip?: string | null;
21987
21987
  [extra: string]: unknown;
21988
21988
  }
21989
21989
  interface YelpSearchCategorie {