Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.acceleratedmobilepageurl-v1

Package Overview
Dependencies
Maintainers
1
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.acceleratedmobilepageurl-v1 - npm Package Compare versions

Comparing version 0.0.20230424 to 0.0.20230426

101

index.d.ts

@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Accelerated Mobile Pages (AMP) URL API v1 0.0 */

// Generated from: https://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1
// Revision: 20230424
// Revision: 20230426

@@ -28,21 +28,29 @@ /// <reference types="gapi.client" />

/** The AMP URL pointing to the publisher's web server. */
ampUrl?: string;
ampUrl?:
string;
/** The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the cached document in the Google AMP Cache. */
cdnAmpUrl?: string;
cdnAmpUrl?:
string;
/** The original non-AMP URL. */
originalUrl?: string;
originalUrl?:
string;
}
interface AmpUrlError {
/** The error code of an API call. */
errorCode?: string;
errorCode?:
string;
/** An optional descriptive error message. */
errorMessage?: string;
errorMessage?:
string;
/** The original non-AMP URL. */
originalUrl?: string;
originalUrl?:
string;
}
interface BatchGetAmpUrlsRequest {
/** The lookup_strategy being requested. */
lookupStrategy?: string;
lookupStrategy?:
string;
/** List of URLs to look up for the paired AMP URLs. The URLs are case-sensitive. Up to 50 URLs per lookup (see [Usage Limits](/amp/cache/reference/limits)). */
urls?: string[];
urls?:
string[];
}

@@ -54,5 +62,7 @@ interface BatchGetAmpUrlsResponse {

*/
ampUrls?: AmpUrl[];
ampUrls?:
AmpUrl[];
/** The errors for requested URLs that have no AMP URL. */
urlErrors?: AmpUrlError[];
urlErrors?:
AmpUrlError[];
}

@@ -63,49 +73,72 @@ interface AmpUrlsResource {

/** 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: BatchGetAmpUrlsRequest;
resource:
BatchGetAmpUrlsRequest;
}): Request<BatchGetAmpUrlsResponse>;
batchGet(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;
},

@@ -112,0 +145,0 @@ body: BatchGetAmpUrlsRequest): Request<BatchGetAmpUrlsResponse>;

{
"name": "@maxim_mazurok/gapi.client.acceleratedmobilepageurl-v1",
"version": "0.0.20230424",
"version": "0.0.20230426",
"description": "TypeScript typings for Accelerated Mobile Pages (AMP) URL API v1",

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

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

// Revision: 20230424
// Revision: 20230426

@@ -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