Socket
Socket
Sign inDemoInstall

@maxim_mazurok/gapi.client.factchecktools-v1alpha1

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.factchecktools-v1alpha1 - npm Package Compare versions

Comparing version 0.0.20230416 to 0.0.20230429

446

index.d.ts

@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Fact Check Tools API v1alpha1 0.0 */

// Generated from: https://factchecktools.googleapis.com/$discovery/rest?version=v1alpha1
// Revision: 20230416
// Revision: 20230429

@@ -28,53 +28,75 @@ /// <reference types="gapi.client" />

/** A person or organization stating the claim. For instance, "John Doe". */
claimant?: string;
claimant?:
string;
/** The date that the claim was made. */
claimDate?: string;
claimDate?:
string;
/** One or more reviews of this claim (namely, a fact-checking article). */
claimReview?: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview[];
claimReview?:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview[];
/** The claim text. For instance, "Crime has doubled in the last 2 years." */
text?: string;
text?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor {
/** Corresponds to `ClaimReview.itemReviewed.author.image`. */
imageUrl?: string;
imageUrl?:
string;
/** Corresponds to `ClaimReview.itemReviewed.author.jobTitle`. */
jobTitle?: string;
jobTitle?:
string;
/** A person or organization stating the claim. For instance, "John Doe". Corresponds to `ClaimReview.itemReviewed.author.name`. */
name?: string;
name?:
string;
/** Corresponds to `ClaimReview.itemReviewed.author.sameAs`. */
sameAs?: string;
sameAs?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating {
/** For numeric ratings, the best value possible in the scale from worst to best. Corresponds to `ClaimReview.reviewRating.bestRating`. */
bestRating?: number;
bestRating?:
number;
/** Corresponds to `ClaimReview.reviewRating.image`. */
imageUrl?: string;
imageUrl?:
string;
/** Corresponds to `ClaimReview.reviewRating.ratingExplanation`. */
ratingExplanation?: string;
ratingExplanation?:
string;
/** A numeric rating of this claim, in the range worstRating — bestRating inclusive. Corresponds to `ClaimReview.reviewRating.ratingValue`. */
ratingValue?: number;
ratingValue?:
number;
/** The truthfulness rating as a human-readible short word or phrase. Corresponds to `ClaimReview.reviewRating.alternateName`. */
textualRating?: string;
textualRating?:
string;
/** For numeric ratings, the worst value possible in the scale from worst to best. Corresponds to `ClaimReview.reviewRating.worstRating`. */
worstRating?: number;
worstRating?:
number;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview {
/** The language this review was written in. For instance, "en" or "de". */
languageCode?: string;
languageCode?:
string;
/** The publisher of this claim review. */
publisher?: GoogleFactcheckingFactchecktoolsV1alpha1Publisher;
publisher?:
GoogleFactcheckingFactchecktoolsV1alpha1Publisher;
/** The date the claim was reviewed. */
reviewDate?: string;
reviewDate?:
string;
/** Textual rating. For instance, "Mostly false". */
textualRating?: string;
textualRating?:
string;
/** The title of this claim review, if it can be determined. */
title?: string;
title?:
string;
/** The URL of this claim review. */
url?: string;
url?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor {
/** Corresponds to `ClaimReview.author.image`. */
imageUrl?: string;
imageUrl?:
string;
/** Name of the organization that is publishing the fact check. Corresponds to `ClaimReview.author.name`. */
name?: string;
name?:
string;
}

@@ -86,15 +108,22 @@ interface GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup {

*/
claimAppearances?: string[];
claimAppearances?:
string[];
/** Info about the author of this claim. */
claimAuthor?: GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor;
claimAuthor?:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor;
/** The date when the claim was made or entered public discourse. Corresponds to `ClaimReview.itemReviewed.datePublished`. */
claimDate?: string;
claimDate?:
string;
/** A link to a work in which this claim first appears. Corresponds to `ClaimReview.itemReviewed[@‍type=Claim].firstAppearance.url`. */
claimFirstAppearance?: string;
claimFirstAppearance?:
string;
/** The location where this claim was made. Corresponds to `ClaimReview.itemReviewed.name`. */
claimLocation?: string;
claimLocation?:
string;
/** A short summary of the claim being evaluated. Corresponds to `ClaimReview.claimReviewed`. */
claimReviewed?: string;
claimReviewed?:
string;
/** Info about the rating of this claim review. */
rating?: GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating;
rating?:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating;
/**

@@ -104,11 +133,15 @@ * This field is optional, and will default to the page URL. We provide this field to allow you the override the default value, but the only permitted override is the page URL plus an

*/
url?: string;
url?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage {
/** Info about the author of this claim review. Similar to the above, semantically these are page-level fields, and each `ClaimReview` on this page will contain the same values. */
claimReviewAuthor?: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor;
claimReviewAuthor?:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor;
/** A list of individual claim reviews for this page. Each item in the list corresponds to one `ClaimReview` element. */
claimReviewMarkups?: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup[];
claimReviewMarkups?:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup[];
/** The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user. */
name?: string;
name?:
string;
/**

@@ -118,3 +151,4 @@ * The URL of the page associated with this `ClaimReview` markup. While every individual `ClaimReview` has its own URL field, semantically this is a page-level field, and each

*/
pageUrl?: string;
pageUrl?:
string;
/**

@@ -124,23 +158,31 @@ * The date when the fact check was published. Similar to the URL, semantically this is a page-level field, and each `ClaimReview` on this page will contain the same value. Corresponds

*/
publishDate?: string;
publishDate?:
string;
/** The version ID for this markup. Except for update requests, this field is output-only and should not be set by the user. */
versionId?: string;
versionId?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse {
/** The list of claims and all of their associated information. */
claims?: GoogleFactcheckingFactchecktoolsV1alpha1Claim[];
claims?:
GoogleFactcheckingFactchecktoolsV1alpha1Claim[];
/** The next pagination token in the Search response. It should be used as the `page_token` for the following request. An empty value means no more results. */
nextPageToken?: string;
nextPageToken?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse {
/** The result list of pages of `ClaimReview` markup. */
claimReviewMarkupPages?: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage[];
claimReviewMarkupPages?:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage[];
/** The next pagination token in the Search response. It should be used as the `page_token` for the following request. An empty value means no more results. */
nextPageToken?: string;
nextPageToken?:
string;
}
interface GoogleFactcheckingFactchecktoolsV1alpha1Publisher {
/** The name of this publisher. For instance, "Awesome Fact Checks". */
name?: string;
name?:
string;
/** Host-level site name, without the protocol or "www" prefix. For instance, "awesomefactchecks.com". This value of this field is based purely on the claim review URL. */
site?: string;
site?:
string;
}

@@ -154,19 +196,28 @@ // tslint:disable-next-line:no-empty-interface

/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** The BCP-47 language code, such as "en-US" or "sr-Latn". Can be used to restrict results by language, though we do not currently consider the region. */
languageCode?: string;
languageCode?:
string;
/** The maximum age of the returned search results, in days. Age is determined by either claim date or review date, whichever is newer. */
maxAgeDays?: number;
maxAgeDays?:
number;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/**

@@ -176,5 +227,7 @@ * An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `page_token` is unset. For example, 0 means

*/
offset?: number;
offset?:
number;
/** The pagination size. We will return up to that many results. Defaults to 10 if not set. */
pageSize?: number;
pageSize?:
number;
/**

@@ -184,15 +237,22 @@ * The pagination token. You may provide the `next_page_token` returned from a previous List request, if any, in order to get the next page. All other fields must have the same

*/
pageToken?: string;
pageToken?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Textual query string. Required unless `review_publisher_site_filter` is specified. */
query?: string;
query?:
string;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** The review publisher site to filter results by, e.g. nytimes.com. */
reviewPublisherSiteFilter?: string;
reviewPublisherSiteFilter?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
}): Request<GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse>;

@@ -204,49 +264,72 @@ }

/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
/** Request body */
resource: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage;
resource:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage;
}): Request<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>;
create(request: {
/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
},

@@ -257,25 +340,37 @@ body: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage): Request<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>;

/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** The name of the resource to delete, in the form of `pages/{page_id}`. */
name: string;
name:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
}): Request<{}>;

@@ -285,25 +380,37 @@ /** Get all `ClaimReview` markup on a page. */

/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** The name of the resource to get, in the form of `pages/{page_id}`. */
name: string;
name:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
}): Request<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>;

@@ -313,15 +420,22 @@ /** List the `ClaimReview` markup pages for a specific URL or for an organization. */

/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/**

@@ -331,7 +445,10 @@ * An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `page_token` is unset, and if the request is

*/
offset?: number;
offset?:
number;
/** The organization for which we want to fetch markups for. For instance, "site.com". Cannot be specified along with an URL. */
organization?: string;
organization?:
string;
/** The pagination size. We will return up to that many results. Defaults to 10 if not set. Has no effect if a URL is requested. */
pageSize?: number;
pageSize?:
number;
/**

@@ -341,11 +458,16 @@ * The pagination token. You may provide the `next_page_token` returned from a previous List request, if any, in order to get the next page. All other fields must have the same

*/
pageToken?: string;
pageToken?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
/**

@@ -355,3 +477,4 @@ * The URL from which to get `ClaimReview` markup. There will be at most one result. If markup is associated with a more canonical version of the URL provided, we will return that

*/
url?: string;
url?:
string;
}): Request<GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse>;

@@ -364,53 +487,78 @@ /**

/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user. */
name: string;
name:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
/** Request body */
resource: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage;
resource:
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage;
}): Request<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>;
update(request: {
/** V1 error format. */
"$.xgafv"?: string;
"$.xgafv"?:
string;
/** OAuth access token. */
access_token?: string;
access_token?:
string;
/** Data format for response. */
alt?: string;
alt?:
string;
/** JSONP */
callback?: string;
callback?:
string;
/** Selector specifying which fields to include in a partial response. */
fields?: string;
fields?:
string;
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
key?: string;
key?:
string;
/** The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user. */
name: string;
name:
string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
oauth_token?:
string;
/** Returns response with indentations and line breaks. */
prettyPrint?: boolean;
prettyPrint?:
boolean;
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
quotaUser?: string;
quotaUser?:
string;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
upload_protocol?:
string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
uploadType?:
string;
},

@@ -417,0 +565,0 @@ body: GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage): Request<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>;

{
"name": "@maxim_mazurok/gapi.client.factchecktools-v1alpha1",
"version": "0.0.20230416",
"version": "0.0.20230429",
"description": "TypeScript typings for Fact Check Tools API v1alpha1",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.factchecktools-v1alpha1 definition tests */

// Revision: 20230416
// Revision: 20230429

@@ -9,0 +9,0 @@ gapi.load('client', async () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc