@googleapis/texttospeech 2.0.1 → 4.0.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/CHANGELOG.md +44 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +377 -15
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +282 -11
- package/build/v1beta1.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +399 -25
- package/v1beta1.ts +296 -19
package/build/v1beta1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace texttospeech_v1beta1 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -254,6 +254,10 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
254
254
|
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
|
|
255
255
|
*/
|
|
256
256
|
customPronunciations?: Schema$CustomPronunciations;
|
|
257
|
+
/**
|
|
258
|
+
* Markup for HD voices specifically. This field may not be used with any other voices.
|
|
259
|
+
*/
|
|
260
|
+
markup?: string | null;
|
|
257
261
|
/**
|
|
258
262
|
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
|
|
259
263
|
*/
|
|
@@ -439,14 +443,75 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
439
443
|
constructor(context: APIRequestContext);
|
|
440
444
|
/**
|
|
441
445
|
* Synthesizes long form text asynchronously.
|
|
446
|
+
* @example
|
|
447
|
+
* ```js
|
|
448
|
+
* // Before running the sample:
|
|
449
|
+
* // - Enable the API at:
|
|
450
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
451
|
+
* // - Login into gcloud by running:
|
|
452
|
+
* // ```sh
|
|
453
|
+
* // $ gcloud auth application-default login
|
|
454
|
+
* // ```
|
|
455
|
+
* // - Install the npm module by running:
|
|
456
|
+
* // ```sh
|
|
457
|
+
* // $ npm install googleapis
|
|
458
|
+
* // ```
|
|
459
|
+
*
|
|
460
|
+
* const {google} = require('googleapis');
|
|
461
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
462
|
+
*
|
|
463
|
+
* async function main() {
|
|
464
|
+
* const auth = new google.auth.GoogleAuth({
|
|
465
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
466
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
467
|
+
* });
|
|
468
|
+
*
|
|
469
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
470
|
+
* const authClient = await auth.getClient();
|
|
471
|
+
* google.options({auth: authClient});
|
|
472
|
+
*
|
|
473
|
+
* // Do the magic
|
|
474
|
+
* const res = await texttospeech.projects.locations.synthesizeLongAudio({
|
|
475
|
+
* // The resource states of the request in the form of `projects/x/locations/x`.
|
|
476
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
477
|
+
*
|
|
478
|
+
* // Request body metadata
|
|
479
|
+
* requestBody: {
|
|
480
|
+
* // request body parameters
|
|
481
|
+
* // {
|
|
482
|
+
* // "audioConfig": {},
|
|
483
|
+
* // "input": {},
|
|
484
|
+
* // "outputGcsUri": "my_outputGcsUri",
|
|
485
|
+
* // "voice": {}
|
|
486
|
+
* // }
|
|
487
|
+
* },
|
|
488
|
+
* });
|
|
489
|
+
* console.log(res.data);
|
|
490
|
+
*
|
|
491
|
+
* // Example response
|
|
492
|
+
* // {
|
|
493
|
+
* // "done": false,
|
|
494
|
+
* // "error": {},
|
|
495
|
+
* // "metadata": {},
|
|
496
|
+
* // "name": "my_name",
|
|
497
|
+
* // "response": {}
|
|
498
|
+
* // }
|
|
499
|
+
* }
|
|
500
|
+
*
|
|
501
|
+
* main().catch(e => {
|
|
502
|
+
* console.error(e);
|
|
503
|
+
* throw e;
|
|
504
|
+
* });
|
|
505
|
+
*
|
|
506
|
+
* ```
|
|
442
507
|
*
|
|
443
508
|
* @param params - Parameters for request
|
|
444
509
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
445
510
|
* @param callback - Optional callback that handles the response.
|
|
446
511
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
447
512
|
*/
|
|
448
|
-
synthesizeLongAudio(params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions):
|
|
449
|
-
synthesizeLongAudio(params?: Params$Resource$Projects$Locations$Synthesizelongaudio, options?: MethodOptions):
|
|
513
|
+
synthesizeLongAudio(params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
514
|
+
synthesizeLongAudio(params?: Params$Resource$Projects$Locations$Synthesizelongaudio, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
450
515
|
synthesizeLongAudio(params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
451
516
|
synthesizeLongAudio(params: Params$Resource$Projects$Locations$Synthesizelongaudio, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
452
517
|
synthesizeLongAudio(params: Params$Resource$Projects$Locations$Synthesizelongaudio, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -467,28 +532,131 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
467
532
|
constructor(context: APIRequestContext);
|
|
468
533
|
/**
|
|
469
534
|
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
|
|
535
|
+
* @example
|
|
536
|
+
* ```js
|
|
537
|
+
* // Before running the sample:
|
|
538
|
+
* // - Enable the API at:
|
|
539
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
540
|
+
* // - Login into gcloud by running:
|
|
541
|
+
* // ```sh
|
|
542
|
+
* // $ gcloud auth application-default login
|
|
543
|
+
* // ```
|
|
544
|
+
* // - Install the npm module by running:
|
|
545
|
+
* // ```sh
|
|
546
|
+
* // $ npm install googleapis
|
|
547
|
+
* // ```
|
|
548
|
+
*
|
|
549
|
+
* const {google} = require('googleapis');
|
|
550
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
551
|
+
*
|
|
552
|
+
* async function main() {
|
|
553
|
+
* const auth = new google.auth.GoogleAuth({
|
|
554
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
555
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
556
|
+
* });
|
|
557
|
+
*
|
|
558
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
559
|
+
* const authClient = await auth.getClient();
|
|
560
|
+
* google.options({auth: authClient});
|
|
561
|
+
*
|
|
562
|
+
* // Do the magic
|
|
563
|
+
* const res = await texttospeech.projects.locations.operations.get({
|
|
564
|
+
* // The name of the operation resource.
|
|
565
|
+
* name: 'projects/my-project/locations/my-location/operations/my-operation',
|
|
566
|
+
* });
|
|
567
|
+
* console.log(res.data);
|
|
568
|
+
*
|
|
569
|
+
* // Example response
|
|
570
|
+
* // {
|
|
571
|
+
* // "done": false,
|
|
572
|
+
* // "error": {},
|
|
573
|
+
* // "metadata": {},
|
|
574
|
+
* // "name": "my_name",
|
|
575
|
+
* // "response": {}
|
|
576
|
+
* // }
|
|
577
|
+
* }
|
|
578
|
+
*
|
|
579
|
+
* main().catch(e => {
|
|
580
|
+
* console.error(e);
|
|
581
|
+
* throw e;
|
|
582
|
+
* });
|
|
583
|
+
*
|
|
584
|
+
* ```
|
|
470
585
|
*
|
|
471
586
|
* @param params - Parameters for request
|
|
472
587
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
473
588
|
* @param callback - Optional callback that handles the response.
|
|
474
589
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
475
590
|
*/
|
|
476
|
-
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions):
|
|
477
|
-
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions):
|
|
591
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
592
|
+
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
478
593
|
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
479
594
|
get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
480
595
|
get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
481
596
|
get(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
482
597
|
/**
|
|
483
598
|
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
599
|
+
* @example
|
|
600
|
+
* ```js
|
|
601
|
+
* // Before running the sample:
|
|
602
|
+
* // - Enable the API at:
|
|
603
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
604
|
+
* // - Login into gcloud by running:
|
|
605
|
+
* // ```sh
|
|
606
|
+
* // $ gcloud auth application-default login
|
|
607
|
+
* // ```
|
|
608
|
+
* // - Install the npm module by running:
|
|
609
|
+
* // ```sh
|
|
610
|
+
* // $ npm install googleapis
|
|
611
|
+
* // ```
|
|
612
|
+
*
|
|
613
|
+
* const {google} = require('googleapis');
|
|
614
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
615
|
+
*
|
|
616
|
+
* async function main() {
|
|
617
|
+
* const auth = new google.auth.GoogleAuth({
|
|
618
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
619
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
620
|
+
* });
|
|
621
|
+
*
|
|
622
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
623
|
+
* const authClient = await auth.getClient();
|
|
624
|
+
* google.options({auth: authClient});
|
|
625
|
+
*
|
|
626
|
+
* // Do the magic
|
|
627
|
+
* const res = await texttospeech.projects.locations.operations.list({
|
|
628
|
+
* // The standard list filter.
|
|
629
|
+
* filter: 'placeholder-value',
|
|
630
|
+
* // The name of the operation's parent resource.
|
|
631
|
+
* name: 'projects/my-project/locations/my-location',
|
|
632
|
+
* // The standard list page size.
|
|
633
|
+
* pageSize: 'placeholder-value',
|
|
634
|
+
* // The standard list page token.
|
|
635
|
+
* pageToken: 'placeholder-value',
|
|
636
|
+
* });
|
|
637
|
+
* console.log(res.data);
|
|
638
|
+
*
|
|
639
|
+
* // Example response
|
|
640
|
+
* // {
|
|
641
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
642
|
+
* // "operations": []
|
|
643
|
+
* // }
|
|
644
|
+
* }
|
|
645
|
+
*
|
|
646
|
+
* main().catch(e => {
|
|
647
|
+
* console.error(e);
|
|
648
|
+
* throw e;
|
|
649
|
+
* });
|
|
650
|
+
*
|
|
651
|
+
* ```
|
|
484
652
|
*
|
|
485
653
|
* @param params - Parameters for request
|
|
486
654
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
487
655
|
* @param callback - Optional callback that handles the response.
|
|
488
656
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
489
657
|
*/
|
|
490
|
-
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions):
|
|
491
|
-
list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions):
|
|
658
|
+
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
659
|
+
list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
492
660
|
list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
493
661
|
list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
494
662
|
list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -523,14 +691,71 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
523
691
|
constructor(context: APIRequestContext);
|
|
524
692
|
/**
|
|
525
693
|
* Synthesizes speech synchronously: receive results after all text input has been processed.
|
|
694
|
+
* @example
|
|
695
|
+
* ```js
|
|
696
|
+
* // Before running the sample:
|
|
697
|
+
* // - Enable the API at:
|
|
698
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
699
|
+
* // - Login into gcloud by running:
|
|
700
|
+
* // ```sh
|
|
701
|
+
* // $ gcloud auth application-default login
|
|
702
|
+
* // ```
|
|
703
|
+
* // - Install the npm module by running:
|
|
704
|
+
* // ```sh
|
|
705
|
+
* // $ npm install googleapis
|
|
706
|
+
* // ```
|
|
707
|
+
*
|
|
708
|
+
* const {google} = require('googleapis');
|
|
709
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
710
|
+
*
|
|
711
|
+
* async function main() {
|
|
712
|
+
* const auth = new google.auth.GoogleAuth({
|
|
713
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
714
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
715
|
+
* });
|
|
716
|
+
*
|
|
717
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
718
|
+
* const authClient = await auth.getClient();
|
|
719
|
+
* google.options({auth: authClient});
|
|
720
|
+
*
|
|
721
|
+
* // Do the magic
|
|
722
|
+
* const res = await texttospeech.text.synthesize({
|
|
723
|
+
* // Request body metadata
|
|
724
|
+
* requestBody: {
|
|
725
|
+
* // request body parameters
|
|
726
|
+
* // {
|
|
727
|
+
* // "advancedVoiceOptions": {},
|
|
728
|
+
* // "audioConfig": {},
|
|
729
|
+
* // "enableTimePointing": [],
|
|
730
|
+
* // "input": {},
|
|
731
|
+
* // "voice": {}
|
|
732
|
+
* // }
|
|
733
|
+
* },
|
|
734
|
+
* });
|
|
735
|
+
* console.log(res.data);
|
|
736
|
+
*
|
|
737
|
+
* // Example response
|
|
738
|
+
* // {
|
|
739
|
+
* // "audioConfig": {},
|
|
740
|
+
* // "audioContent": "my_audioContent",
|
|
741
|
+
* // "timepoints": []
|
|
742
|
+
* // }
|
|
743
|
+
* }
|
|
744
|
+
*
|
|
745
|
+
* main().catch(e => {
|
|
746
|
+
* console.error(e);
|
|
747
|
+
* throw e;
|
|
748
|
+
* });
|
|
749
|
+
*
|
|
750
|
+
* ```
|
|
526
751
|
*
|
|
527
752
|
* @param params - Parameters for request
|
|
528
753
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
529
754
|
* @param callback - Optional callback that handles the response.
|
|
530
755
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
531
756
|
*/
|
|
532
|
-
synthesize(params: Params$Resource$Text$Synthesize, options: StreamMethodOptions):
|
|
533
|
-
synthesize(params?: Params$Resource$Text$Synthesize, options?: MethodOptions):
|
|
757
|
+
synthesize(params: Params$Resource$Text$Synthesize, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
758
|
+
synthesize(params?: Params$Resource$Text$Synthesize, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SynthesizeSpeechResponse>>;
|
|
534
759
|
synthesize(params: Params$Resource$Text$Synthesize, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
535
760
|
synthesize(params: Params$Resource$Text$Synthesize, options: MethodOptions | BodyResponseCallback<Schema$SynthesizeSpeechResponse>, callback: BodyResponseCallback<Schema$SynthesizeSpeechResponse>): void;
|
|
536
761
|
synthesize(params: Params$Resource$Text$Synthesize, callback: BodyResponseCallback<Schema$SynthesizeSpeechResponse>): void;
|
|
@@ -547,14 +772,60 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
547
772
|
constructor(context: APIRequestContext);
|
|
548
773
|
/**
|
|
549
774
|
* Returns a list of Voice supported for synthesis.
|
|
775
|
+
* @example
|
|
776
|
+
* ```js
|
|
777
|
+
* // Before running the sample:
|
|
778
|
+
* // - Enable the API at:
|
|
779
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
780
|
+
* // - Login into gcloud by running:
|
|
781
|
+
* // ```sh
|
|
782
|
+
* // $ gcloud auth application-default login
|
|
783
|
+
* // ```
|
|
784
|
+
* // - Install the npm module by running:
|
|
785
|
+
* // ```sh
|
|
786
|
+
* // $ npm install googleapis
|
|
787
|
+
* // ```
|
|
788
|
+
*
|
|
789
|
+
* const {google} = require('googleapis');
|
|
790
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
791
|
+
*
|
|
792
|
+
* async function main() {
|
|
793
|
+
* const auth = new google.auth.GoogleAuth({
|
|
794
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
795
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
796
|
+
* });
|
|
797
|
+
*
|
|
798
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
799
|
+
* const authClient = await auth.getClient();
|
|
800
|
+
* google.options({auth: authClient});
|
|
801
|
+
*
|
|
802
|
+
* // Do the magic
|
|
803
|
+
* const res = await texttospeech.voices.list({
|
|
804
|
+
* // Optional. Recommended. [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If not specified, the API will return all supported voices. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. For example, if you specify `"en-NZ"`, all `"en-NZ"` voices will be returned. If you specify `"no"`, both `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be returned.
|
|
805
|
+
* languageCode: 'placeholder-value',
|
|
806
|
+
* });
|
|
807
|
+
* console.log(res.data);
|
|
808
|
+
*
|
|
809
|
+
* // Example response
|
|
810
|
+
* // {
|
|
811
|
+
* // "voices": []
|
|
812
|
+
* // }
|
|
813
|
+
* }
|
|
814
|
+
*
|
|
815
|
+
* main().catch(e => {
|
|
816
|
+
* console.error(e);
|
|
817
|
+
* throw e;
|
|
818
|
+
* });
|
|
819
|
+
*
|
|
820
|
+
* ```
|
|
550
821
|
*
|
|
551
822
|
* @param params - Parameters for request
|
|
552
823
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
553
824
|
* @param callback - Optional callback that handles the response.
|
|
554
825
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
555
826
|
*/
|
|
556
|
-
list(params: Params$Resource$Voices$List, options: StreamMethodOptions):
|
|
557
|
-
list(params?: Params$Resource$Voices$List, options?: MethodOptions):
|
|
827
|
+
list(params: Params$Resource$Voices$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
828
|
+
list(params?: Params$Resource$Voices$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListVoicesResponse>>;
|
|
558
829
|
list(params: Params$Resource$Voices$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
559
830
|
list(params: Params$Resource$Voices$List, options: MethodOptions | BodyResponseCallback<Schema$ListVoicesResponse>, callback: BodyResponseCallback<Schema$ListVoicesResponse>): void;
|
|
560
831
|
list(params: Params$Resource$Voices$List, callback: BodyResponseCallback<Schema$ListVoicesResponse>): void;
|
package/build/v1beta1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1beta1.js","sourceRoot":"","sources":["../v1beta1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"v1beta1.js","sourceRoot":"","sources":["../v1beta1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,oBAAoB,CA6uCpC;AA7uCD,WAAiB,oBAAoB;IAgEnC;;;;;;;;;;OAUG;IACH,MAAa,YAAY;QAMvB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACpD,IAAI,CAAC,IAAI,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,OAAO,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B,4BAAoB,QA6uCpC"}
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/texttospeech",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "texttospeech",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"webpack": "webpack"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"googleapis-common": "^
|
|
31
|
+
"googleapis-common": "^8.0.2-rc.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.8.10",
|