Socket
Socket
Sign inDemoInstall

@maxim_mazurok/gapi.client.texttospeech

Package Overview
Dependencies
1
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.20211203 to 1.0.20220103

4

gapi.client.texttospeech-tests.ts

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

// Revision: 20211203
// Revision: 20220103

@@ -20,4 +20,2 @@ gapi.load('client', () => {

'https://www.googleapis.com/auth/cloud-platform',
/** View, manage and query your Dialogflow agents */
'https://www.googleapis.com/auth/dialogflow',
];

@@ -24,0 +22,0 @@ const immediate = false;

@@ -13,3 +13,3 @@ /* Type definitions for non-npm package Cloud Text-to-Speech API v1 1.0 */

// Generated from: https://texttospeech.googleapis.com/$discovery/rest?version=v1
// Revision: 20211203
// Revision: 20220103

@@ -53,6 +53,2 @@ /// <reference types="gapi.client" />

}
interface ImportDataRequest {
/** Customer provide a Cloud Storage link which point to a .csv file which stores all the truth text and Cloud Storage link of audio data. */
csvCloudStorageUri?: string;
}
interface ListVoicesResponse {

@@ -62,35 +58,2 @@ /** The list of voices. */

}
interface Operation {
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
done?: boolean;
/** The error result of the operation in case of failure or cancellation. */
error?: Status;
/**
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
*/
metadata?: { [P in string]: any };
/**
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
* with `operations/{unique_id}`.
*/
name?: string;
/**
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*/
response?: { [P in string]: any };
}
interface Status {
/** The status code, which should be an enum value of google.rpc.Code. */
code?: number;
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
details?: Array<{ [P in string]: any }>;
/**
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
* client.
*/
message?: string;
}
interface SynthesisInput {

@@ -147,66 +110,2 @@ /**

}
interface DatasetsResource {
/** Imports audio+text data for training custom voice. */
import(request: {
/** V1 error format. */
"$.xgafv"?: string;
/** OAuth access token. */
access_token?: string;
/** Data format for response. */
alt?: string;
/** JSONP */
callback?: string;
/** Selector specifying which fields to include in a partial response. */
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;
/** The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
name: string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
/** Returns response with indentations and line breaks. */
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;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
/** Request body */
resource: ImportDataRequest;
}): Request<Operation>;
import(request: {
/** V1 error format. */
"$.xgafv"?: string;
/** OAuth access token. */
access_token?: string;
/** Data format for response. */
alt?: string;
/** JSONP */
callback?: string;
/** Selector specifying which fields to include in a partial response. */
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;
/** The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
name: string;
/** OAuth 2.0 token for the current user. */
oauth_token?: string;
/** Returns response with indentations and line breaks. */
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;
/** Upload protocol for media (e.g. "raw", "multipart"). */
upload_protocol?: string;
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
uploadType?: string;
},
body: ImportDataRequest): Request<Operation>;
}
interface LocationsResource {
datasets: DatasetsResource;
}
interface ProjectsResource {
locations: LocationsResource;
}
interface TextResource {

@@ -300,4 +199,2 @@ /** Synthesizes speech synchronously: receive results after all text input has been processed. */

const projects: ProjectsResource;
const text: TextResource;

@@ -304,0 +201,0 @@

{
"name": "@maxim_mazurok/gapi.client.texttospeech",
"version": "1.0.20211203",
"version": "1.0.20220103",
"description": "TypeScript typings for Cloud Text-to-Speech API v1",

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

@@ -42,5 +42,2 @@ # TypeScript typings for Cloud Text-to-Speech API v1

'https://www.googleapis.com/auth/cloud-platform',
// View, manage and query your Dialogflow agents
'https://www.googleapis.com/auth/dialogflow',
],

@@ -47,0 +44,0 @@ immediate = true;

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc