@mochabug/adapt-web 0.0.16 → 0.0.19

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.
Files changed (40) hide show
  1. package/dist/genproto/buf/validate/validate_pb.d.ts +4041 -373
  2. package/dist/genproto/buf/validate/validate_pb.js.map +1 -1
  3. package/dist/genproto/google/api/annotations_pb.js.map +1 -1
  4. package/dist/genproto/google/api/client_pb.d.ts +570 -19
  5. package/dist/genproto/google/api/client_pb.js.map +1 -1
  6. package/dist/genproto/google/api/http_pb.d.ts +399 -3
  7. package/dist/genproto/google/api/http_pb.js.map +1 -1
  8. package/dist/genproto/google/api/launch_stage_pb.d.ts +8 -1
  9. package/dist/genproto/google/api/launch_stage_pb.js.map +1 -1
  10. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +362 -18
  11. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
  12. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +33 -2
  13. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js.map +1 -1
  14. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +108 -1
  15. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
  16. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +29 -2
  17. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js.map +1 -1
  18. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +42 -4
  19. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
  20. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +39 -2
  21. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -1
  22. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +27 -2
  23. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js.map +1 -1
  24. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +33 -2
  25. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js.map +1 -1
  26. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +51 -4
  27. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js.map +1 -1
  28. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +579 -15
  29. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
  30. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
  31. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +174 -12
  32. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -1
  33. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +788 -50
  34. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
  35. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +340 -16
  36. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -1
  37. package/dist/index.d.ts +13 -31
  38. package/dist/index.js +15 -37
  39. package/dist/index.js.map +1 -1
  40. package/package.json +20 -2
@@ -1,6 +1,6 @@
1
1
  import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
- import type { LaunchStage } from "./launch_stage_pb";
3
- import type { Duration, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
2
+ import type { LaunchStage, LaunchStageJson } from "./launch_stage_pb";
3
+ import type { Duration, DurationJson, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
4
4
  import type { Message } from "@bufbuild/protobuf";
5
5
  /**
6
6
  * Describes the file google/api/client.proto.
@@ -33,11 +33,38 @@ export type CommonLanguageSettings = Message<"google.api.CommonLanguageSettings"
33
33
  */
34
34
  selectiveGapicGeneration?: SelectiveGapicGeneration;
35
35
  };
36
+ /**
37
+ * Required information for every language.
38
+ *
39
+ * @generated from message google.api.CommonLanguageSettings
40
+ */
41
+ export type CommonLanguageSettingsJson = {
42
+ /**
43
+ * Link to automatically generated reference documentation. Example:
44
+ * https://cloud.google.com/nodejs/docs/reference/asset/latest
45
+ *
46
+ * @generated from field: string reference_docs_uri = 1 [deprecated = true];
47
+ * @deprecated
48
+ */
49
+ referenceDocsUri?: string;
50
+ /**
51
+ * The destination where API teams want this client library to be published.
52
+ *
53
+ * @generated from field: repeated google.api.ClientLibraryDestination destinations = 2;
54
+ */
55
+ destinations?: ClientLibraryDestinationJson[];
56
+ /**
57
+ * Configuration for which RPCs should be generated in the GAPIC client.
58
+ *
59
+ * @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
60
+ */
61
+ selectiveGapicGeneration?: SelectiveGapicGenerationJson;
62
+ };
36
63
  /**
37
64
  * Describes the message google.api.CommonLanguageSettings.
38
65
  * Use `create(CommonLanguageSettingsSchema)` to create a new message.
39
66
  */
40
- export declare const CommonLanguageSettingsSchema: GenMessage<CommonLanguageSettings>;
67
+ export declare const CommonLanguageSettingsSchema: GenMessage<CommonLanguageSettings, CommonLanguageSettingsJson>;
41
68
  /**
42
69
  * Details about how and where to publish client libraries.
43
70
  *
@@ -114,11 +141,87 @@ export type ClientLibrarySettings = Message<"google.api.ClientLibrarySettings">
114
141
  */
115
142
  goSettings?: GoSettings;
116
143
  };
144
+ /**
145
+ * Details about how and where to publish client libraries.
146
+ *
147
+ * @generated from message google.api.ClientLibrarySettings
148
+ */
149
+ export type ClientLibrarySettingsJson = {
150
+ /**
151
+ * Version of the API to apply these settings to. This is the full protobuf
152
+ * package for the API, ending in the version element.
153
+ * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
154
+ *
155
+ * @generated from field: string version = 1;
156
+ */
157
+ version?: string;
158
+ /**
159
+ * Launch stage of this version of the API.
160
+ *
161
+ * @generated from field: google.api.LaunchStage launch_stage = 2;
162
+ */
163
+ launchStage?: LaunchStageJson;
164
+ /**
165
+ * When using transport=rest, the client request will encode enums as
166
+ * numbers rather than strings.
167
+ *
168
+ * @generated from field: bool rest_numeric_enums = 3;
169
+ */
170
+ restNumericEnums?: boolean;
171
+ /**
172
+ * Settings for legacy Java features, supported in the Service YAML.
173
+ *
174
+ * @generated from field: google.api.JavaSettings java_settings = 21;
175
+ */
176
+ javaSettings?: JavaSettingsJson;
177
+ /**
178
+ * Settings for C++ client libraries.
179
+ *
180
+ * @generated from field: google.api.CppSettings cpp_settings = 22;
181
+ */
182
+ cppSettings?: CppSettingsJson;
183
+ /**
184
+ * Settings for PHP client libraries.
185
+ *
186
+ * @generated from field: google.api.PhpSettings php_settings = 23;
187
+ */
188
+ phpSettings?: PhpSettingsJson;
189
+ /**
190
+ * Settings for Python client libraries.
191
+ *
192
+ * @generated from field: google.api.PythonSettings python_settings = 24;
193
+ */
194
+ pythonSettings?: PythonSettingsJson;
195
+ /**
196
+ * Settings for Node client libraries.
197
+ *
198
+ * @generated from field: google.api.NodeSettings node_settings = 25;
199
+ */
200
+ nodeSettings?: NodeSettingsJson;
201
+ /**
202
+ * Settings for .NET client libraries.
203
+ *
204
+ * @generated from field: google.api.DotnetSettings dotnet_settings = 26;
205
+ */
206
+ dotnetSettings?: DotnetSettingsJson;
207
+ /**
208
+ * Settings for Ruby client libraries.
209
+ *
210
+ * @generated from field: google.api.RubySettings ruby_settings = 27;
211
+ */
212
+ rubySettings?: RubySettingsJson;
213
+ /**
214
+ * Settings for Go client libraries.
215
+ *
216
+ * @generated from field: google.api.GoSettings go_settings = 28;
217
+ */
218
+ goSettings?: GoSettingsJson;
219
+ };
117
220
  /**
118
221
  * Describes the message google.api.ClientLibrarySettings.
119
222
  * Use `create(ClientLibrarySettingsSchema)` to create a new message.
120
223
  */
121
- export declare const ClientLibrarySettingsSchema: GenMessage<ClientLibrarySettings>;
224
+ export declare const ClientLibrarySettingsSchema: GenMessage<ClientLibrarySettings, ClientLibrarySettingsJson>;
122
225
  /**
123
226
  * This message configures the settings for publishing [Google Cloud Client
124
227
  * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
@@ -205,11 +308,97 @@ export type Publishing = Message<"google.api.Publishing"> & {
205
308
  */
206
309
  restReferenceDocumentationUri: string;
207
310
  };
311
+ /**
312
+ * This message configures the settings for publishing [Google Cloud Client
313
+ * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
314
+ * generated from the service config.
315
+ *
316
+ * @generated from message google.api.Publishing
317
+ */
318
+ export type PublishingJson = {
319
+ /**
320
+ * A list of API method settings, e.g. the behavior for methods that use the
321
+ * long-running operation pattern.
322
+ *
323
+ * @generated from field: repeated google.api.MethodSettings method_settings = 2;
324
+ */
325
+ methodSettings?: MethodSettingsJson[];
326
+ /**
327
+ * Link to a *public* URI where users can report issues. Example:
328
+ * https://issuetracker.google.com/issues/new?component=190865&template=1161103
329
+ *
330
+ * @generated from field: string new_issue_uri = 101;
331
+ */
332
+ newIssueUri?: string;
333
+ /**
334
+ * Link to product home page. Example:
335
+ * https://cloud.google.com/asset-inventory/docs/overview
336
+ *
337
+ * @generated from field: string documentation_uri = 102;
338
+ */
339
+ documentationUri?: string;
340
+ /**
341
+ * Used as a tracking tag when collecting data about the APIs developer
342
+ * relations artifacts like docs, packages delivered to package managers,
343
+ * etc. Example: "speech".
344
+ *
345
+ * @generated from field: string api_short_name = 103;
346
+ */
347
+ apiShortName?: string;
348
+ /**
349
+ * GitHub label to apply to issues and pull requests opened for this API.
350
+ *
351
+ * @generated from field: string github_label = 104;
352
+ */
353
+ githubLabel?: string;
354
+ /**
355
+ * GitHub teams to be added to CODEOWNERS in the directory in GitHub
356
+ * containing source code for the client libraries for this API.
357
+ *
358
+ * @generated from field: repeated string codeowner_github_teams = 105;
359
+ */
360
+ codeownerGithubTeams?: string[];
361
+ /**
362
+ * A prefix used in sample code when demarking regions to be included in
363
+ * documentation.
364
+ *
365
+ * @generated from field: string doc_tag_prefix = 106;
366
+ */
367
+ docTagPrefix?: string;
368
+ /**
369
+ * For whom the client library is being published.
370
+ *
371
+ * @generated from field: google.api.ClientLibraryOrganization organization = 107;
372
+ */
373
+ organization?: ClientLibraryOrganizationJson;
374
+ /**
375
+ * Client library settings. If the same version string appears multiple
376
+ * times in this list, then the last one wins. Settings from earlier
377
+ * settings with the same version string are discarded.
378
+ *
379
+ * @generated from field: repeated google.api.ClientLibrarySettings library_settings = 109;
380
+ */
381
+ librarySettings?: ClientLibrarySettingsJson[];
382
+ /**
383
+ * Optional link to proto reference documentation. Example:
384
+ * https://cloud.google.com/pubsub/lite/docs/reference/rpc
385
+ *
386
+ * @generated from field: string proto_reference_documentation_uri = 110;
387
+ */
388
+ protoReferenceDocumentationUri?: string;
389
+ /**
390
+ * Optional link to REST reference documentation. Example:
391
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
392
+ *
393
+ * @generated from field: string rest_reference_documentation_uri = 111;
394
+ */
395
+ restReferenceDocumentationUri?: string;
396
+ };
208
397
  /**
209
398
  * Describes the message google.api.Publishing.
210
399
  * Use `create(PublishingSchema)` to create a new message.
211
400
  */
212
- export declare const PublishingSchema: GenMessage<Publishing>;
401
+ export declare const PublishingSchema: GenMessage<Publishing, PublishingJson>;
213
402
  /**
214
403
  * Settings for Java client libraries.
215
404
  *
@@ -260,11 +449,61 @@ export type JavaSettings = Message<"google.api.JavaSettings"> & {
260
449
  */
261
450
  common?: CommonLanguageSettings;
262
451
  };
452
+ /**
453
+ * Settings for Java client libraries.
454
+ *
455
+ * @generated from message google.api.JavaSettings
456
+ */
457
+ export type JavaSettingsJson = {
458
+ /**
459
+ * The package name to use in Java. Clobbers the java_package option
460
+ * set in the protobuf. This should be used **only** by APIs
461
+ * who have already set the language_settings.java.package_name" field
462
+ * in gapic.yaml. API teams should use the protobuf java_package option
463
+ * where possible.
464
+ *
465
+ * Example of a YAML configuration::
466
+ *
467
+ * publishing:
468
+ * java_settings:
469
+ * library_package: com.google.cloud.pubsub.v1
470
+ *
471
+ * @generated from field: string library_package = 1;
472
+ */
473
+ libraryPackage?: string;
474
+ /**
475
+ * Configure the Java class name to use instead of the service's for its
476
+ * corresponding generated GAPIC client. Keys are fully-qualified
477
+ * service names as they appear in the protobuf (including the full
478
+ * the language_settings.java.interface_names" field in gapic.yaml. API
479
+ * teams should otherwise use the service name as it appears in the
480
+ * protobuf.
481
+ *
482
+ * Example of a YAML configuration::
483
+ *
484
+ * publishing:
485
+ * java_settings:
486
+ * service_class_names:
487
+ * - google.pubsub.v1.Publisher: TopicAdmin
488
+ * - google.pubsub.v1.Subscriber: SubscriptionAdmin
489
+ *
490
+ * @generated from field: map<string, string> service_class_names = 2;
491
+ */
492
+ serviceClassNames?: {
493
+ [key: string]: string;
494
+ };
495
+ /**
496
+ * Some settings.
497
+ *
498
+ * @generated from field: google.api.CommonLanguageSettings common = 3;
499
+ */
500
+ common?: CommonLanguageSettingsJson;
501
+ };
263
502
  /**
264
503
  * Describes the message google.api.JavaSettings.
265
504
  * Use `create(JavaSettingsSchema)` to create a new message.
266
505
  */
267
- export declare const JavaSettingsSchema: GenMessage<JavaSettings>;
506
+ export declare const JavaSettingsSchema: GenMessage<JavaSettings, JavaSettingsJson>;
268
507
  /**
269
508
  * Settings for C++ client libraries.
270
509
  *
@@ -278,11 +517,24 @@ export type CppSettings = Message<"google.api.CppSettings"> & {
278
517
  */
279
518
  common?: CommonLanguageSettings;
280
519
  };
520
+ /**
521
+ * Settings for C++ client libraries.
522
+ *
523
+ * @generated from message google.api.CppSettings
524
+ */
525
+ export type CppSettingsJson = {
526
+ /**
527
+ * Some settings.
528
+ *
529
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
530
+ */
531
+ common?: CommonLanguageSettingsJson;
532
+ };
281
533
  /**
282
534
  * Describes the message google.api.CppSettings.
283
535
  * Use `create(CppSettingsSchema)` to create a new message.
284
536
  */
285
- export declare const CppSettingsSchema: GenMessage<CppSettings>;
537
+ export declare const CppSettingsSchema: GenMessage<CppSettings, CppSettingsJson>;
286
538
  /**
287
539
  * Settings for Php client libraries.
288
540
  *
@@ -296,11 +548,24 @@ export type PhpSettings = Message<"google.api.PhpSettings"> & {
296
548
  */
297
549
  common?: CommonLanguageSettings;
298
550
  };
551
+ /**
552
+ * Settings for Php client libraries.
553
+ *
554
+ * @generated from message google.api.PhpSettings
555
+ */
556
+ export type PhpSettingsJson = {
557
+ /**
558
+ * Some settings.
559
+ *
560
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
561
+ */
562
+ common?: CommonLanguageSettingsJson;
563
+ };
299
564
  /**
300
565
  * Describes the message google.api.PhpSettings.
301
566
  * Use `create(PhpSettingsSchema)` to create a new message.
302
567
  */
303
- export declare const PhpSettingsSchema: GenMessage<PhpSettings>;
568
+ export declare const PhpSettingsSchema: GenMessage<PhpSettings, PhpSettingsJson>;
304
569
  /**
305
570
  * Settings for Python client libraries.
306
571
  *
@@ -320,11 +585,30 @@ export type PythonSettings = Message<"google.api.PythonSettings"> & {
320
585
  */
321
586
  experimentalFeatures?: PythonSettings_ExperimentalFeatures;
322
587
  };
588
+ /**
589
+ * Settings for Python client libraries.
590
+ *
591
+ * @generated from message google.api.PythonSettings
592
+ */
593
+ export type PythonSettingsJson = {
594
+ /**
595
+ * Some settings.
596
+ *
597
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
598
+ */
599
+ common?: CommonLanguageSettingsJson;
600
+ /**
601
+ * Experimental features to be included during client library generation.
602
+ *
603
+ * @generated from field: google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;
604
+ */
605
+ experimentalFeatures?: PythonSettings_ExperimentalFeaturesJson;
606
+ };
323
607
  /**
324
608
  * Describes the message google.api.PythonSettings.
325
609
  * Use `create(PythonSettingsSchema)` to create a new message.
326
610
  */
327
- export declare const PythonSettingsSchema: GenMessage<PythonSettings>;
611
+ export declare const PythonSettingsSchema: GenMessage<PythonSettings, PythonSettingsJson>;
328
612
  /**
329
613
  * Experimental features to be included during client library generation.
330
614
  * These fields will be deprecated once the feature graduates and is enabled
@@ -352,11 +636,38 @@ export type PythonSettings_ExperimentalFeatures = Message<"google.api.PythonSett
352
636
  */
353
637
  protobufPythonicTypesEnabled: boolean;
354
638
  };
639
+ /**
640
+ * Experimental features to be included during client library generation.
641
+ * These fields will be deprecated once the feature graduates and is enabled
642
+ * by default.
643
+ *
644
+ * @generated from message google.api.PythonSettings.ExperimentalFeatures
645
+ */
646
+ export type PythonSettings_ExperimentalFeaturesJson = {
647
+ /**
648
+ * Enables generation of asynchronous REST clients if `rest` transport is
649
+ * enabled. By default, asynchronous REST clients will not be generated.
650
+ * This feature will be enabled by default 1 month after launching the
651
+ * feature in preview packages.
652
+ *
653
+ * @generated from field: bool rest_async_io_enabled = 1;
654
+ */
655
+ restAsyncIoEnabled?: boolean;
656
+ /**
657
+ * Enables generation of protobuf code using new types that are more
658
+ * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
659
+ * enabled by default 1 month after launching the feature in preview
660
+ * packages.
661
+ *
662
+ * @generated from field: bool protobuf_pythonic_types_enabled = 2;
663
+ */
664
+ protobufPythonicTypesEnabled?: boolean;
665
+ };
355
666
  /**
356
667
  * Describes the message google.api.PythonSettings.ExperimentalFeatures.
357
668
  * Use `create(PythonSettings_ExperimentalFeaturesSchema)` to create a new message.
358
669
  */
359
- export declare const PythonSettings_ExperimentalFeaturesSchema: GenMessage<PythonSettings_ExperimentalFeatures>;
670
+ export declare const PythonSettings_ExperimentalFeaturesSchema: GenMessage<PythonSettings_ExperimentalFeatures, PythonSettings_ExperimentalFeaturesJson>;
360
671
  /**
361
672
  * Settings for Node client libraries.
362
673
  *
@@ -370,11 +681,24 @@ export type NodeSettings = Message<"google.api.NodeSettings"> & {
370
681
  */
371
682
  common?: CommonLanguageSettings;
372
683
  };
684
+ /**
685
+ * Settings for Node client libraries.
686
+ *
687
+ * @generated from message google.api.NodeSettings
688
+ */
689
+ export type NodeSettingsJson = {
690
+ /**
691
+ * Some settings.
692
+ *
693
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
694
+ */
695
+ common?: CommonLanguageSettingsJson;
696
+ };
373
697
  /**
374
698
  * Describes the message google.api.NodeSettings.
375
699
  * Use `create(NodeSettingsSchema)` to create a new message.
376
700
  */
377
- export declare const NodeSettingsSchema: GenMessage<NodeSettings>;
701
+ export declare const NodeSettingsSchema: GenMessage<NodeSettings, NodeSettingsJson>;
378
702
  /**
379
703
  * Settings for Dotnet client libraries.
380
704
  *
@@ -437,11 +761,73 @@ export type DotnetSettings = Message<"google.api.DotnetSettings"> & {
437
761
  */
438
762
  handwrittenSignatures: string[];
439
763
  };
764
+ /**
765
+ * Settings for Dotnet client libraries.
766
+ *
767
+ * @generated from message google.api.DotnetSettings
768
+ */
769
+ export type DotnetSettingsJson = {
770
+ /**
771
+ * Some settings.
772
+ *
773
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
774
+ */
775
+ common?: CommonLanguageSettingsJson;
776
+ /**
777
+ * Map from original service names to renamed versions.
778
+ * This is used when the default generated types
779
+ * would cause a naming conflict. (Neither name is
780
+ * fully-qualified.)
781
+ * Example: Subscriber to SubscriberServiceApi.
782
+ *
783
+ * @generated from field: map<string, string> renamed_services = 2;
784
+ */
785
+ renamedServices?: {
786
+ [key: string]: string;
787
+ };
788
+ /**
789
+ * Map from full resource types to the effective short name
790
+ * for the resource. This is used when otherwise resource
791
+ * named from different services would cause naming collisions.
792
+ * Example entry:
793
+ * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
794
+ *
795
+ * @generated from field: map<string, string> renamed_resources = 3;
796
+ */
797
+ renamedResources?: {
798
+ [key: string]: string;
799
+ };
800
+ /**
801
+ * List of full resource types to ignore during generation.
802
+ * This is typically used for API-specific Location resources,
803
+ * which should be handled by the generator as if they were actually
804
+ * the common Location resources.
805
+ * Example entry: "documentai.googleapis.com/Location"
806
+ *
807
+ * @generated from field: repeated string ignored_resources = 4;
808
+ */
809
+ ignoredResources?: string[];
810
+ /**
811
+ * Namespaces which must be aliased in snippets due to
812
+ * a known (but non-generator-predictable) naming collision
813
+ *
814
+ * @generated from field: repeated string forced_namespace_aliases = 5;
815
+ */
816
+ forcedNamespaceAliases?: string[];
817
+ /**
818
+ * Method signatures (in the form "service.method(signature)")
819
+ * which are provided separately, so shouldn't be generated.
820
+ * Snippets *calling* these methods are still generated, however.
821
+ *
822
+ * @generated from field: repeated string handwritten_signatures = 6;
823
+ */
824
+ handwrittenSignatures?: string[];
825
+ };
440
826
  /**
441
827
  * Describes the message google.api.DotnetSettings.
442
828
  * Use `create(DotnetSettingsSchema)` to create a new message.
443
829
  */
444
- export declare const DotnetSettingsSchema: GenMessage<DotnetSettings>;
830
+ export declare const DotnetSettingsSchema: GenMessage<DotnetSettings, DotnetSettingsJson>;
445
831
  /**
446
832
  * Settings for Ruby client libraries.
447
833
  *
@@ -455,11 +841,24 @@ export type RubySettings = Message<"google.api.RubySettings"> & {
455
841
  */
456
842
  common?: CommonLanguageSettings;
457
843
  };
844
+ /**
845
+ * Settings for Ruby client libraries.
846
+ *
847
+ * @generated from message google.api.RubySettings
848
+ */
849
+ export type RubySettingsJson = {
850
+ /**
851
+ * Some settings.
852
+ *
853
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
854
+ */
855
+ common?: CommonLanguageSettingsJson;
856
+ };
458
857
  /**
459
858
  * Describes the message google.api.RubySettings.
460
859
  * Use `create(RubySettingsSchema)` to create a new message.
461
860
  */
462
- export declare const RubySettingsSchema: GenMessage<RubySettings>;
861
+ export declare const RubySettingsSchema: GenMessage<RubySettings, RubySettingsJson>;
463
862
  /**
464
863
  * Settings for Go client libraries.
465
864
  *
@@ -488,11 +887,39 @@ export type GoSettings = Message<"google.api.GoSettings"> & {
488
887
  [key: string]: string;
489
888
  };
490
889
  };
890
+ /**
891
+ * Settings for Go client libraries.
892
+ *
893
+ * @generated from message google.api.GoSettings
894
+ */
895
+ export type GoSettingsJson = {
896
+ /**
897
+ * Some settings.
898
+ *
899
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
900
+ */
901
+ common?: CommonLanguageSettingsJson;
902
+ /**
903
+ * Map of service names to renamed services. Keys are the package relative
904
+ * service names and values are the name to be used for the service client
905
+ * and call options.
906
+ *
907
+ * publishing:
908
+ * go_settings:
909
+ * renamed_services:
910
+ * Publisher: TopicAdmin
911
+ *
912
+ * @generated from field: map<string, string> renamed_services = 2;
913
+ */
914
+ renamedServices?: {
915
+ [key: string]: string;
916
+ };
917
+ };
491
918
  /**
492
919
  * Describes the message google.api.GoSettings.
493
920
  * Use `create(GoSettingsSchema)` to create a new message.
494
921
  */
495
- export declare const GoSettingsSchema: GenMessage<GoSettings>;
922
+ export declare const GoSettingsSchema: GenMessage<GoSettings, GoSettingsJson>;
496
923
  /**
497
924
  * Describes the generator configuration for a method.
498
925
  *
@@ -549,11 +976,67 @@ export type MethodSettings = Message<"google.api.MethodSettings"> & {
549
976
  */
550
977
  autoPopulatedFields: string[];
551
978
  };
979
+ /**
980
+ * Describes the generator configuration for a method.
981
+ *
982
+ * @generated from message google.api.MethodSettings
983
+ */
984
+ export type MethodSettingsJson = {
985
+ /**
986
+ * The fully qualified name of the method, for which the options below apply.
987
+ * This is used to find the method to apply the options.
988
+ *
989
+ * Example:
990
+ *
991
+ * publishing:
992
+ * method_settings:
993
+ * - selector: google.storage.control.v2.StorageControl.CreateFolder
994
+ * # method settings for CreateFolder...
995
+ *
996
+ * @generated from field: string selector = 1;
997
+ */
998
+ selector?: string;
999
+ /**
1000
+ * Describes settings to use for long-running operations when generating
1001
+ * API methods for RPCs. Complements RPCs that use the annotations in
1002
+ * google/longrunning/operations.proto.
1003
+ *
1004
+ * Example of a YAML configuration::
1005
+ *
1006
+ * publishing:
1007
+ * method_settings:
1008
+ * - selector: google.cloud.speech.v2.Speech.BatchRecognize
1009
+ * long_running:
1010
+ * initial_poll_delay: 60s # 1 minute
1011
+ * poll_delay_multiplier: 1.5
1012
+ * max_poll_delay: 360s # 6 minutes
1013
+ * total_poll_timeout: 54000s # 90 minutes
1014
+ *
1015
+ * @generated from field: google.api.MethodSettings.LongRunning long_running = 2;
1016
+ */
1017
+ longRunning?: MethodSettings_LongRunningJson;
1018
+ /**
1019
+ * List of top-level fields of the request message, that should be
1020
+ * automatically populated by the client libraries based on their
1021
+ * (google.api.field_info).format. Currently supported format: UUID4.
1022
+ *
1023
+ * Example of a YAML configuration:
1024
+ *
1025
+ * publishing:
1026
+ * method_settings:
1027
+ * - selector: google.example.v1.ExampleService.CreateExample
1028
+ * auto_populated_fields:
1029
+ * - request_id
1030
+ *
1031
+ * @generated from field: repeated string auto_populated_fields = 3;
1032
+ */
1033
+ autoPopulatedFields?: string[];
1034
+ };
552
1035
  /**
553
1036
  * Describes the message google.api.MethodSettings.
554
1037
  * Use `create(MethodSettingsSchema)` to create a new message.
555
1038
  */
556
- export declare const MethodSettingsSchema: GenMessage<MethodSettings>;
1039
+ export declare const MethodSettingsSchema: GenMessage<MethodSettings, MethodSettingsJson>;
557
1040
  /**
558
1041
  * Describes settings to use when generating API methods that use the
559
1042
  * long-running operation pattern.
@@ -594,11 +1077,51 @@ export type MethodSettings_LongRunning = Message<"google.api.MethodSettings.Long
594
1077
  */
595
1078
  totalPollTimeout?: Duration;
596
1079
  };
1080
+ /**
1081
+ * Describes settings to use when generating API methods that use the
1082
+ * long-running operation pattern.
1083
+ * All default values below are from those used in the client library
1084
+ * generators (e.g.
1085
+ * [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
1086
+ *
1087
+ * @generated from message google.api.MethodSettings.LongRunning
1088
+ */
1089
+ export type MethodSettings_LongRunningJson = {
1090
+ /**
1091
+ * Initial delay after which the first poll request will be made.
1092
+ * Default value: 5 seconds.
1093
+ *
1094
+ * @generated from field: google.protobuf.Duration initial_poll_delay = 1;
1095
+ */
1096
+ initialPollDelay?: DurationJson;
1097
+ /**
1098
+ * Multiplier to gradually increase delay between subsequent polls until it
1099
+ * reaches max_poll_delay.
1100
+ * Default value: 1.5.
1101
+ *
1102
+ * @generated from field: float poll_delay_multiplier = 2;
1103
+ */
1104
+ pollDelayMultiplier?: number | "NaN" | "Infinity" | "-Infinity";
1105
+ /**
1106
+ * Maximum time between two subsequent poll requests.
1107
+ * Default value: 45 seconds.
1108
+ *
1109
+ * @generated from field: google.protobuf.Duration max_poll_delay = 3;
1110
+ */
1111
+ maxPollDelay?: DurationJson;
1112
+ /**
1113
+ * Total polling timeout.
1114
+ * Default value: 5 minutes.
1115
+ *
1116
+ * @generated from field: google.protobuf.Duration total_poll_timeout = 4;
1117
+ */
1118
+ totalPollTimeout?: DurationJson;
1119
+ };
597
1120
  /**
598
1121
  * Describes the message google.api.MethodSettings.LongRunning.
599
1122
  * Use `create(MethodSettings_LongRunningSchema)` to create a new message.
600
1123
  */
601
- export declare const MethodSettings_LongRunningSchema: GenMessage<MethodSettings_LongRunning>;
1124
+ export declare const MethodSettings_LongRunningSchema: GenMessage<MethodSettings_LongRunning, MethodSettings_LongRunningJson>;
602
1125
  /**
603
1126
  * This message is used to configure the generation of a subset of the RPCs in
604
1127
  * a service for client libraries.
@@ -614,11 +1137,26 @@ export type SelectiveGapicGeneration = Message<"google.api.SelectiveGapicGenerat
614
1137
  */
615
1138
  methods: string[];
616
1139
  };
1140
+ /**
1141
+ * This message is used to configure the generation of a subset of the RPCs in
1142
+ * a service for client libraries.
1143
+ *
1144
+ * @generated from message google.api.SelectiveGapicGeneration
1145
+ */
1146
+ export type SelectiveGapicGenerationJson = {
1147
+ /**
1148
+ * An allowlist of the fully qualified names of RPCs that should be included
1149
+ * on public client surfaces.
1150
+ *
1151
+ * @generated from field: repeated string methods = 1;
1152
+ */
1153
+ methods?: string[];
1154
+ };
617
1155
  /**
618
1156
  * Describes the message google.api.SelectiveGapicGeneration.
619
1157
  * Use `create(SelectiveGapicGenerationSchema)` to create a new message.
620
1158
  */
621
- export declare const SelectiveGapicGenerationSchema: GenMessage<SelectiveGapicGeneration>;
1159
+ export declare const SelectiveGapicGenerationSchema: GenMessage<SelectiveGapicGeneration, SelectiveGapicGenerationJson>;
622
1160
  /**
623
1161
  * The organization for which the client libraries are being published.
624
1162
  * Affects the url where generated docs are published, etc.
@@ -675,10 +1213,17 @@ export declare enum ClientLibraryOrganization {
675
1213
  */
676
1214
  GENERATIVE_AI = 7
677
1215
  }
1216
+ /**
1217
+ * The organization for which the client libraries are being published.
1218
+ * Affects the url where generated docs are published, etc.
1219
+ *
1220
+ * @generated from enum google.api.ClientLibraryOrganization
1221
+ */
1222
+ export type ClientLibraryOrganizationJson = "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" | "CLOUD" | "ADS" | "PHOTOS" | "STREET_VIEW" | "SHOPPING" | "GEO" | "GENERATIVE_AI";
678
1223
  /**
679
1224
  * Describes the enum google.api.ClientLibraryOrganization.
680
1225
  */
681
- export declare const ClientLibraryOrganizationSchema: GenEnum<ClientLibraryOrganization>;
1226
+ export declare const ClientLibraryOrganizationSchema: GenEnum<ClientLibraryOrganization, ClientLibraryOrganizationJson>;
682
1227
  /**
683
1228
  * To where should client libraries be published?
684
1229
  *
@@ -706,10 +1251,16 @@ export declare enum ClientLibraryDestination {
706
1251
  */
707
1252
  PACKAGE_MANAGER = 20
708
1253
  }
1254
+ /**
1255
+ * To where should client libraries be published?
1256
+ *
1257
+ * @generated from enum google.api.ClientLibraryDestination
1258
+ */
1259
+ export type ClientLibraryDestinationJson = "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED" | "GITHUB" | "PACKAGE_MANAGER";
709
1260
  /**
710
1261
  * Describes the enum google.api.ClientLibraryDestination.
711
1262
  */
712
- export declare const ClientLibraryDestinationSchema: GenEnum<ClientLibraryDestination>;
1263
+ export declare const ClientLibraryDestinationSchema: GenEnum<ClientLibraryDestination, ClientLibraryDestinationJson>;
713
1264
  /**
714
1265
  * A definition of a client library method signature.
715
1266
  *