@rixl/sdk 0.26.0 → 0.27.0

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/dist/index.d.ts CHANGED
@@ -323,37 +323,40 @@ export declare const createClient: (config?: Config) => Client;
323
323
  export type ClientOptions = {
324
324
  baseUrl: 'https://raw.githubusercontent.com' | (string & {});
325
325
  };
326
- export type AnalyticsV1AnalyticsEvent = ({
326
+ /**
327
+ * AnalyticsEvent
328
+ */
329
+ export type AnalyticsV1AnalyticsEvent = {
330
+ /**
331
+ * timestamp
332
+ */
333
+ timestamp?: GoogleProtobufTimestamp;
334
+ } & ({
327
335
  /**
328
336
  * content_view
329
337
  */
330
- content_view?: AnalyticsV1ContentViewEvent;
338
+ content_view: AnalyticsV1ContentViewEvent;
331
339
  } | {
332
340
  /**
333
341
  * engagement
334
342
  */
335
- engagement?: AnalyticsV1EngagementEvent;
343
+ engagement: AnalyticsV1EngagementEvent;
336
344
  } | {
337
345
  /**
338
346
  * error
339
347
  */
340
- error?: AnalyticsV1ErrorEvent;
348
+ error: AnalyticsV1ErrorEvent;
341
349
  } | {
342
350
  /**
343
351
  * interaction
344
352
  */
345
- interaction?: AnalyticsV1InteractionEvent;
353
+ interaction: AnalyticsV1InteractionEvent;
346
354
  } | {
347
355
  /**
348
356
  * session_start
349
357
  */
350
- session_start?: AnalyticsV1SessionStartEvent;
351
- }) & {
352
- /**
353
- * timestamp
354
- */
355
- timestamp?: GoogleProtobufTimestamp;
356
- };
358
+ session_start: AnalyticsV1SessionStartEvent;
359
+ });
357
360
  /**
358
361
  * BatchChartQueryRequest
359
362
  */
@@ -467,6 +470,19 @@ export type AnalyticsV1ChartRow = {
467
470
  */
468
471
  value?: number;
469
472
  };
473
+ /**
474
+ * DimensionsEntry
475
+ */
476
+ export type AnalyticsV1ChartRowDimensionsEntry = {
477
+ /**
478
+ * key
479
+ */
480
+ key?: string;
481
+ /**
482
+ * value
483
+ */
484
+ value?: string;
485
+ };
470
486
  /**
471
487
  * ContentViewEvent
472
488
  */
@@ -543,7 +559,7 @@ export type AnalyticsV1CountryCount = {
543
559
  /**
544
560
  * count
545
561
  */
546
- count?: string;
562
+ count?: number | string;
547
563
  };
548
564
  /**
549
565
  * CreateDashboardRequest
@@ -635,11 +651,11 @@ export type AnalyticsV1DashboardPoint = {
635
651
  /**
636
652
  * views
637
653
  */
638
- views?: string;
654
+ views?: number | string;
639
655
  /**
640
656
  * unique_users
641
657
  */
642
- unique_users?: string;
658
+ unique_users?: number | string;
643
659
  };
644
660
  /**
645
661
  * DashboardStatsRequest
@@ -875,7 +891,7 @@ export type AnalyticsV1EventCount = {
875
891
  /**
876
892
  * count
877
893
  */
878
- count?: string;
894
+ count?: number | string;
879
895
  };
880
896
  /**
881
897
  * ExportDashboardRequest
@@ -938,15 +954,15 @@ export type AnalyticsV1FeedStats = {
938
954
  /**
939
955
  * total_views
940
956
  */
941
- total_views?: string;
957
+ total_views?: number | string;
942
958
  /**
943
959
  * unique_viewers
944
960
  */
945
- unique_viewers?: string;
961
+ unique_viewers?: number | string;
946
962
  /**
947
963
  * total_posts
948
964
  */
949
- total_posts?: string;
965
+ total_posts?: number | string;
950
966
  /**
951
967
  * avg_time_per_visit_ms
952
968
  */
@@ -1004,7 +1020,7 @@ export type AnalyticsV1FilterOption = {
1004
1020
  /**
1005
1021
  * count
1006
1022
  */
1007
- count?: string;
1023
+ count?: number | string;
1008
1024
  };
1009
1025
  /**
1010
1026
  * Filters
@@ -1080,6 +1096,19 @@ export type AnalyticsV1FunnelStep = {
1080
1096
  [key: string]: string;
1081
1097
  };
1082
1098
  };
1099
+ /**
1100
+ * FiltersEntry
1101
+ */
1102
+ export type AnalyticsV1FunnelStepFiltersEntry = {
1103
+ /**
1104
+ * key
1105
+ */
1106
+ key?: string;
1107
+ /**
1108
+ * value
1109
+ */
1110
+ value?: string;
1111
+ };
1083
1112
  /**
1084
1113
  * FunnelStepResult
1085
1114
  */
@@ -1211,11 +1240,11 @@ export type AnalyticsV1GetPostStatsResponse = {
1211
1240
  /**
1212
1241
  * total_views
1213
1242
  */
1214
- total_views?: string;
1243
+ total_views?: number | string;
1215
1244
  /**
1216
1245
  * unique_viewers
1217
1246
  */
1218
- unique_viewers?: string;
1247
+ unique_viewers?: number | string;
1219
1248
  };
1220
1249
  /**
1221
1250
  * GetRealtimeStatsRequest
@@ -1416,11 +1445,11 @@ export type AnalyticsV1ImageStats = {
1416
1445
  /**
1417
1446
  * total_views
1418
1447
  */
1419
- total_views?: string;
1448
+ total_views?: number | string;
1420
1449
  /**
1421
1450
  * unique_viewers
1422
1451
  */
1423
- unique_viewers?: string;
1452
+ unique_viewers?: number | string;
1424
1453
  /**
1425
1454
  * avg_view_duration_ms
1426
1455
  *
@@ -1434,11 +1463,11 @@ export type AnalyticsV1ImageStats = {
1434
1463
  /**
1435
1464
  * feed_views
1436
1465
  */
1437
- feed_views?: string;
1466
+ feed_views?: number | string;
1438
1467
  /**
1439
1468
  * standalone_views
1440
1469
  */
1441
- standalone_views?: string;
1470
+ standalone_views?: number | string;
1442
1471
  };
1443
1472
  /**
1444
1473
  * InteractionEvent
@@ -1517,7 +1546,7 @@ export type AnalyticsV1ListDashboardsResponse = {
1517
1546
  /**
1518
1547
  * total
1519
1548
  */
1520
- total?: string;
1549
+ total?: number | string;
1521
1550
  /**
1522
1551
  * page
1523
1552
  */
@@ -1561,11 +1590,11 @@ export type AnalyticsV1PostStats = {
1561
1590
  /**
1562
1591
  * total_views
1563
1592
  */
1564
- total_views?: string;
1593
+ total_views?: number | string;
1565
1594
  /**
1566
1595
  * unique_viewers
1567
1596
  */
1568
- unique_viewers?: string;
1597
+ unique_viewers?: number | string;
1569
1598
  /**
1570
1599
  * avg_watch_time_ms
1571
1600
  */
@@ -1573,15 +1602,15 @@ export type AnalyticsV1PostStats = {
1573
1602
  /**
1574
1603
  * total_watch_time_ms
1575
1604
  */
1576
- total_watch_time_ms?: string;
1605
+ total_watch_time_ms?: number | string;
1577
1606
  /**
1578
1607
  * starts
1579
1608
  */
1580
- starts?: string;
1609
+ starts?: number | string;
1581
1610
  /**
1582
1611
  * completions
1583
1612
  */
1584
- completions?: string;
1613
+ completions?: number | string;
1585
1614
  /**
1586
1615
  * completion_rate
1587
1616
  */
@@ -1590,9 +1619,22 @@ export type AnalyticsV1PostStats = {
1590
1619
  * views_by_page
1591
1620
  */
1592
1621
  views_by_page?: {
1593
- [key: string]: string;
1622
+ [key: string]: number | string;
1594
1623
  };
1595
1624
  };
1625
+ /**
1626
+ * ViewsByPageEntry
1627
+ */
1628
+ export type AnalyticsV1PostStatsViewsByPageEntry = {
1629
+ /**
1630
+ * key
1631
+ */
1632
+ key?: string;
1633
+ /**
1634
+ * value
1635
+ */
1636
+ value?: number | string;
1637
+ };
1596
1638
  /**
1597
1639
  * RealtimeStats
1598
1640
  */
@@ -1604,11 +1646,11 @@ export type AnalyticsV1RealtimeStats = {
1604
1646
  /**
1605
1647
  * active_users
1606
1648
  */
1607
- active_users?: string;
1649
+ active_users?: number | string;
1608
1650
  /**
1609
1651
  * events_per_minute
1610
1652
  */
1611
- events_per_minute?: string;
1653
+ events_per_minute?: number | string;
1612
1654
  /**
1613
1655
  * top_events
1614
1656
  */
@@ -1692,7 +1734,7 @@ export type AnalyticsV1ScopeNode = {
1692
1734
  /**
1693
1735
  * views
1694
1736
  */
1695
- views?: string;
1737
+ views?: number | string;
1696
1738
  /**
1697
1739
  * has_children
1698
1740
  */
@@ -1964,7 +2006,7 @@ export type AnalyticsV1VideoHeatmap = {
1964
2006
  /**
1965
2007
  * total_duration_ms
1966
2008
  */
1967
- total_duration_ms?: string;
2009
+ total_duration_ms?: number | string;
1968
2010
  /**
1969
2011
  * data
1970
2012
  */
@@ -1981,11 +2023,11 @@ export type AnalyticsV1VideoStats = {
1981
2023
  /**
1982
2024
  * total_views
1983
2025
  */
1984
- total_views?: string;
2026
+ total_views?: number | string;
1985
2027
  /**
1986
2028
  * unique_viewers
1987
2029
  */
1988
- unique_viewers?: string;
2030
+ unique_viewers?: number | string;
1989
2031
  /**
1990
2032
  * avg_watch_time_ms
1991
2033
  */
@@ -1997,15 +2039,15 @@ export type AnalyticsV1VideoStats = {
1997
2039
  /**
1998
2040
  * starts
1999
2041
  */
2000
- starts?: string;
2042
+ starts?: number | string;
2001
2043
  /**
2002
2044
  * watches
2003
2045
  */
2004
- watches?: string;
2046
+ watches?: number | string;
2005
2047
  /**
2006
2048
  * completions
2007
2049
  */
2008
- completions?: string;
2050
+ completions?: number | string;
2009
2051
  /**
2010
2052
  * completion_rate
2011
2053
  */
@@ -2345,7 +2387,7 @@ export type ApikeysV1ListApiKeysResponse = {
2345
2387
  /**
2346
2388
  * total
2347
2389
  */
2348
- total?: string;
2390
+ total?: number | string;
2349
2391
  };
2350
2392
  /**
2351
2393
  * MarkApiKeyUsedRequest
@@ -2775,22 +2817,25 @@ export type AuthV1DomainResponse = {
2775
2817
  */
2776
2818
  status?: AuthV1DomainStatus;
2777
2819
  };
2778
- export type AuthV1DomainStatus = ({
2820
+ /**
2821
+ * DomainStatus
2822
+ */
2823
+ export type AuthV1DomainStatus = {
2824
+ /**
2825
+ * auto_join
2826
+ */
2827
+ auto_join?: boolean;
2828
+ } & ({
2779
2829
  /**
2780
2830
  * pending
2781
2831
  */
2782
- pending?: AuthV1PendingDomain;
2832
+ pending: AuthV1PendingDomain;
2783
2833
  } | {
2784
2834
  /**
2785
2835
  * verified
2786
2836
  */
2787
- verified?: AuthV1VerifiedDomain;
2788
- }) & {
2789
- /**
2790
- * auto_join
2791
- */
2792
- auto_join?: boolean;
2793
- };
2837
+ verified: AuthV1VerifiedDomain;
2838
+ });
2794
2839
  /**
2795
2840
  * EmailStatusResponse
2796
2841
  */
@@ -3086,6 +3131,19 @@ export type AuthV1ListPoliciesForIdentitiesResponse = {
3086
3131
  [key: string]: AuthV1IdentityPolicies;
3087
3132
  };
3088
3133
  };
3134
+ /**
3135
+ * ByIdentityEntry
3136
+ */
3137
+ export type AuthV1ListPoliciesForIdentitiesResponseByIdentityEntry = {
3138
+ /**
3139
+ * key
3140
+ */
3141
+ key?: string;
3142
+ /**
3143
+ * value
3144
+ */
3145
+ value?: AuthV1IdentityPolicies;
3146
+ };
3089
3147
  /**
3090
3148
  * ListPoliciesResponse
3091
3149
  */
@@ -3159,7 +3217,7 @@ export type AuthV1LoginResponse = {
3159
3217
  /**
3160
3218
  * expires_in
3161
3219
  */
3162
- expires_in?: string;
3220
+ expires_in?: number | string;
3163
3221
  /**
3164
3222
  * token_type
3165
3223
  */
@@ -3993,7 +4051,7 @@ export type AuthV1TokenResponse = {
3993
4051
  /**
3994
4052
  * expires_in
3995
4053
  */
3996
- expires_in?: string;
4054
+ expires_in?: number | string;
3997
4055
  /**
3998
4056
  * token_type
3999
4057
  */
@@ -4407,23 +4465,23 @@ export type BillingV1BandwidthUsage = {
4407
4465
  /**
4408
4466
  * total_bandwidth_bytes
4409
4467
  */
4410
- total_bandwidth_bytes?: string;
4468
+ total_bandwidth_bytes?: number | string;
4411
4469
  /**
4412
4470
  * video_bandwidth_bytes
4413
4471
  */
4414
- video_bandwidth_bytes?: string;
4472
+ video_bandwidth_bytes?: number | string;
4415
4473
  /**
4416
4474
  * image_bandwidth_bytes
4417
4475
  */
4418
- image_bandwidth_bytes?: string;
4476
+ image_bandwidth_bytes?: number | string;
4419
4477
  /**
4420
4478
  * total_requests
4421
4479
  */
4422
- total_requests?: string;
4480
+ total_requests?: number | string;
4423
4481
  /**
4424
4482
  * unique_visitors
4425
4483
  */
4426
- unique_visitors?: string;
4484
+ unique_visitors?: number | string;
4427
4485
  /**
4428
4486
  * snapshot_type
4429
4487
  */
@@ -4431,11 +4489,11 @@ export type BillingV1BandwidthUsage = {
4431
4489
  /**
4432
4490
  * video_requests
4433
4491
  */
4434
- video_requests?: string;
4492
+ video_requests?: number | string;
4435
4493
  /**
4436
4494
  * image_requests
4437
4495
  */
4438
- image_requests?: string;
4496
+ image_requests?: number | string;
4439
4497
  /**
4440
4498
  * data_source
4441
4499
  */
@@ -4501,7 +4559,7 @@ export type BillingV1CalculateGenericTaxRequest = {
4501
4559
  /**
4502
4560
  * amount
4503
4561
  */
4504
- amount?: string;
4562
+ amount?: number | string;
4505
4563
  /**
4506
4564
  * currency
4507
4565
  */
@@ -4546,7 +4604,7 @@ export type BillingV1CalculateTaxRequest = {
4546
4604
  /**
4547
4605
  * interval_count
4548
4606
  */
4549
- interval_count?: string;
4607
+ interval_count?: number | string;
4550
4608
  /**
4551
4609
  * billing_address
4552
4610
  */
@@ -4562,6 +4620,19 @@ export type BillingV1CalculateTaxRequest = {
4562
4620
  [key: string]: string;
4563
4621
  };
4564
4622
  };
4623
+ /**
4624
+ * MetadataEntry
4625
+ */
4626
+ export type BillingV1CalculateTaxRequestMetadataEntry = {
4627
+ /**
4628
+ * key
4629
+ */
4630
+ key?: string;
4631
+ /**
4632
+ * value
4633
+ */
4634
+ value?: string;
4635
+ };
4565
4636
  /**
4566
4637
  * CancelSubscriptionRequest
4567
4638
  */
@@ -5140,11 +5211,11 @@ export type BillingV1PaymentMethodDetails = {
5140
5211
  /**
5141
5212
  * exp_month
5142
5213
  */
5143
- exp_month?: string;
5214
+ exp_month?: number | string;
5144
5215
  /**
5145
5216
  * exp_year
5146
5217
  */
5147
- exp_year?: string;
5218
+ exp_year?: number | string;
5148
5219
  /**
5149
5220
  * is_default
5150
5221
  */
@@ -5243,19 +5314,19 @@ export type BillingV1PlanTaxCalculationResponse = {
5243
5314
  /**
5244
5315
  * base_amount
5245
5316
  */
5246
- base_amount?: string;
5317
+ base_amount?: number | string;
5247
5318
  /**
5248
5319
  * amount_total
5249
5320
  */
5250
- amount_total?: string;
5321
+ amount_total?: number | string;
5251
5322
  /**
5252
5323
  * tax_amount_exclusive
5253
5324
  */
5254
- tax_amount_exclusive?: string;
5325
+ tax_amount_exclusive?: number | string;
5255
5326
  /**
5256
5327
  * tax_amount_inclusive
5257
5328
  */
5258
- tax_amount_inclusive?: string;
5329
+ tax_amount_inclusive?: number | string;
5259
5330
  /**
5260
5331
  * currency
5261
5332
  */
@@ -5412,15 +5483,15 @@ export type BillingV1StorageUsage = {
5412
5483
  /**
5413
5484
  * total_storage_bytes
5414
5485
  */
5415
- total_storage_bytes?: string;
5486
+ total_storage_bytes?: number | string;
5416
5487
  /**
5417
5488
  * video_storage_bytes
5418
5489
  */
5419
- video_storage_bytes?: string;
5490
+ video_storage_bytes?: number | string;
5420
5491
  /**
5421
5492
  * image_storage_bytes
5422
5493
  */
5423
- image_storage_bytes?: string;
5494
+ image_storage_bytes?: number | string;
5424
5495
  /**
5425
5496
  * total_video_minutes
5426
5497
  */
@@ -5579,15 +5650,15 @@ export type BillingV1TaxCalculationResponse = {
5579
5650
  /**
5580
5651
  * amount_total
5581
5652
  */
5582
- amount_total?: string;
5653
+ amount_total?: number | string;
5583
5654
  /**
5584
5655
  * tax_amount_exclusive
5585
5656
  */
5586
- tax_amount_exclusive?: string;
5657
+ tax_amount_exclusive?: number | string;
5587
5658
  /**
5588
5659
  * tax_amount_inclusive
5589
5660
  */
5590
- tax_amount_inclusive?: string;
5661
+ tax_amount_inclusive?: number | string;
5591
5662
  /**
5592
5663
  * currency
5593
5664
  */
@@ -5600,7 +5671,7 @@ export type BillingV1TaxLineItem = {
5600
5671
  /**
5601
5672
  * amount
5602
5673
  */
5603
- amount?: string;
5674
+ amount?: number | string;
5604
5675
  /**
5605
5676
  * reference
5606
5677
  */
@@ -5770,7 +5841,7 @@ export type ClientauthV1ListClientCredentialsResponse = {
5770
5841
  /**
5771
5842
  * total
5772
5843
  */
5773
- total?: string;
5844
+ total?: number | string;
5774
5845
  };
5775
5846
  /**
5776
5847
  * LookupCredentialByKIDRequest
@@ -5834,7 +5905,7 @@ export type ClientauthV1MintClientTokenResponse = {
5834
5905
  /**
5835
5906
  * expires_in
5836
5907
  */
5837
- expires_in?: string;
5908
+ expires_in?: number | string;
5838
5909
  /**
5839
5910
  * expires_at
5840
5911
  */
@@ -5889,7 +5960,7 @@ export type CommonV1File = {
5889
5960
  * size is the uploaded source's byte size for usage accounting; it is not updated
5890
5961
  * when packaging replaces the artifact, so it does not describe the object at url.
5891
5962
  */
5892
- size?: string;
5963
+ size?: number | string;
5893
5964
  /**
5894
5965
  * status
5895
5966
  */
@@ -6076,7 +6147,7 @@ export type FeedsV1ListFeedsResponse = {
6076
6147
  /**
6077
6148
  * total
6078
6149
  */
6079
- total?: string;
6150
+ total?: number | string;
6080
6151
  };
6081
6152
  /**
6082
6153
  * UpdateFeedRequest
@@ -6120,19 +6191,93 @@ export type FeedsV1UpdateFeedRequest = {
6120
6191
  has_comments?: boolean;
6121
6192
  };
6122
6193
  /**
6123
- * A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`).
6194
+ * A Duration represents a signed, fixed-length span of time represented
6195
+ * as a count of seconds and fractions of seconds at nanosecond
6196
+ * resolution. It is independent of any calendar and concepts like "day"
6197
+ * or "month". It is related to Timestamp in that the difference between
6198
+ * two Timestamp values is a Duration and it can be added or subtracted
6199
+ * from a Timestamp. Range is approximately +-10,000 years.
6200
+ *
6201
+ * # Examples
6202
+ *
6203
+ * Example 1: Compute Duration from two Timestamps in pseudo code.
6204
+ *
6205
+ * Timestamp start = ...;
6206
+ * Timestamp end = ...;
6207
+ * Duration duration = ...;
6208
+ *
6209
+ * duration.seconds = end.seconds - start.seconds;
6210
+ * duration.nanos = end.nanos - start.nanos;
6211
+ *
6212
+ * if (duration.seconds < 0 && duration.nanos > 0) {
6213
+ * duration.seconds += 1;
6214
+ * duration.nanos -= 1000000000;
6215
+ * } else if (duration.seconds > 0 && duration.nanos < 0) {
6216
+ * duration.seconds -= 1;
6217
+ * duration.nanos += 1000000000;
6218
+ * }
6219
+ *
6220
+ * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
6221
+ *
6222
+ * Timestamp start = ...;
6223
+ * Duration duration = ...;
6224
+ * Timestamp end = ...;
6225
+ *
6226
+ * end.seconds = start.seconds + duration.seconds;
6227
+ * end.nanos = start.nanos + duration.nanos;
6228
+ *
6229
+ * if (end.nanos < 0) {
6230
+ * end.seconds -= 1;
6231
+ * end.nanos += 1000000000;
6232
+ * } else if (end.nanos >= 1000000000) {
6233
+ * end.seconds += 1;
6234
+ * end.nanos -= 1000000000;
6235
+ * }
6236
+ *
6237
+ * Example 3: Compute Duration from datetime.timedelta in Python.
6238
+ *
6239
+ * td = datetime.timedelta(days=3, minutes=10)
6240
+ * duration = Duration()
6241
+ * duration.FromTimedelta(td)
6242
+ *
6243
+ * # JSON Mapping
6244
+ *
6245
+ * In JSON format, the Duration type is encoded as a string rather than an
6246
+ * object, where the string ends in the suffix "s" (indicating seconds) and
6247
+ * is preceded by the number of seconds, with nanoseconds expressed as
6248
+ * fractional seconds. For example, 3 seconds with 0 nanoseconds should be
6249
+ * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
6250
+ * be expressed in JSON format as "3.000000001s", and 3 seconds and 1
6251
+ * microsecond should be expressed in JSON format as "3.000001s".
6124
6252
  */
6125
6253
  export type GoogleProtobufDuration = string;
6126
6254
  /**
6127
- * An empty JSON object.
6255
+ * A generic empty message that you can re-use to avoid defining duplicated
6256
+ * empty messages in your APIs. A typical example is to use it as the request
6257
+ * or the response type of an API method. For instance:
6258
+ *
6259
+ * service Foo {
6260
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
6261
+ * }
6128
6262
  */
6129
6263
  export type GoogleProtobufEmpty = {
6130
6264
  [key: string]: unknown;
6131
6265
  };
6132
6266
  /**
6133
- * A JSON array whose elements may be any JSON value.
6267
+ * ListValue
6268
+ *
6269
+ * `ListValue` is a wrapper around a repeated field of values.
6270
+ *
6271
+ * The JSON representation for `ListValue` is JSON array.
6134
6272
  */
6135
- export type GoogleProtobufListValue = Array<GoogleProtobufValue>;
6273
+ export type GoogleProtobufListValue = {
6274
+ /**
6275
+ * values
6276
+ *
6277
+ * Repeated field of dynamically typed values.
6278
+ */
6279
+ values?: Array<GoogleProtobufValue>;
6280
+ };
6136
6281
  /**
6137
6282
  * NullValue
6138
6283
  *
@@ -6143,17 +6288,130 @@ export type GoogleProtobufListValue = Array<GoogleProtobufValue>;
6143
6288
  */
6144
6289
  export type GoogleProtobufNullValue = 'NULL_VALUE';
6145
6290
  /**
6146
- * A JSON object whose property values may be any JSON value.
6291
+ * `Struct` represents a structured data value, consisting of fields
6292
+ * which map to dynamically typed values. In some languages, `Struct`
6293
+ * might be supported by a native representation. For example, in
6294
+ * scripting languages like JS a struct is represented as an
6295
+ * object. The details of that representation are described together
6296
+ * with the proto support for the language.
6297
+ *
6298
+ * The JSON representation for `Struct` is JSON object.
6147
6299
  */
6148
6300
  export type GoogleProtobufStruct = {
6149
6301
  [key: string]: GoogleProtobufValue;
6150
6302
  };
6151
6303
  /**
6152
- * A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
6304
+ * FieldsEntry
6305
+ */
6306
+ export type GoogleProtobufStructFieldsEntry = {
6307
+ /**
6308
+ * key
6309
+ */
6310
+ key?: string;
6311
+ /**
6312
+ * value
6313
+ */
6314
+ value?: GoogleProtobufValue;
6315
+ };
6316
+ /**
6317
+ * A Timestamp represents a point in time independent of any time zone or local
6318
+ * calendar, encoded as a count of seconds and fractions of seconds at
6319
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
6320
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
6321
+ * Gregorian calendar backwards to year one.
6322
+ *
6323
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
6324
+ * second table is needed for interpretation, using a [24-hour linear
6325
+ * smear](https://developers.google.com/time/smear).
6326
+ *
6327
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
6328
+ * restricting to that range, we ensure that we can convert to and from [RFC
6329
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
6330
+ *
6331
+ * # Examples
6332
+ *
6333
+ * Example 1: Compute Timestamp from POSIX `time()`.
6334
+ *
6335
+ * Timestamp timestamp;
6336
+ * timestamp.set_seconds(time(NULL));
6337
+ * timestamp.set_nanos(0);
6338
+ *
6339
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
6340
+ *
6341
+ * struct timeval tv;
6342
+ * gettimeofday(&tv, NULL);
6343
+ *
6344
+ * Timestamp timestamp;
6345
+ * timestamp.set_seconds(tv.tv_sec);
6346
+ * timestamp.set_nanos(tv.tv_usec * 1000);
6347
+ *
6348
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
6349
+ *
6350
+ * FILETIME ft;
6351
+ * GetSystemTimeAsFileTime(&ft);
6352
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
6353
+ *
6354
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
6355
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
6356
+ * Timestamp timestamp;
6357
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
6358
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
6359
+ *
6360
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
6361
+ *
6362
+ * long millis = System.currentTimeMillis();
6363
+ *
6364
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
6365
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
6366
+ *
6367
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
6368
+ *
6369
+ * Instant now = Instant.now();
6370
+ *
6371
+ * Timestamp timestamp =
6372
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
6373
+ * .setNanos(now.getNano()).build();
6374
+ *
6375
+ * Example 6: Compute Timestamp from current time in Python.
6376
+ *
6377
+ * timestamp = Timestamp()
6378
+ * timestamp.GetCurrentTime()
6379
+ *
6380
+ * # JSON Mapping
6381
+ *
6382
+ * In JSON format, the Timestamp type is encoded as a string in the
6383
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
6384
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
6385
+ * where {year} is always expressed using four digits while {month}, {day},
6386
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
6387
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
6388
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
6389
+ * is required. A proto3 JSON serializer should always use UTC (as indicated by
6390
+ * "Z") when printing the Timestamp type and a proto3 JSON parser should be
6391
+ * able to accept both UTC and other timezones (as indicated by an offset).
6392
+ *
6393
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
6394
+ * 01:30 UTC on January 15, 2017.
6395
+ *
6396
+ * In JavaScript, one can convert a Date object to this format using the
6397
+ * standard
6398
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
6399
+ * method. In Python, a standard `datetime.datetime` object can be converted
6400
+ * to this format using
6401
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
6402
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
6403
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
6404
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
6405
+ * ) to obtain a formatter capable of generating timestamps in this format.
6153
6406
  */
6154
6407
  export type GoogleProtobufTimestamp = string;
6155
6408
  /**
6156
- * Any JSON value: `null`, number, string, boolean, array, or object.
6409
+ * `Value` represents a dynamically typed value which can be either
6410
+ * null, a number, a string, a boolean, a recursive struct value, or a
6411
+ * list of values. A producer of value is expected to set one of these
6412
+ * variants. Absence of any variant indicates an error.
6413
+ *
6414
+ * The JSON representation for `Value` is JSON value.
6157
6415
  */
6158
6416
  export type GoogleProtobufValue = null | number | string | boolean | Array<unknown> | {
6159
6417
  [key: string]: unknown;
@@ -6288,7 +6546,7 @@ export type ImagesV1ListImagesResponse = {
6288
6546
  /**
6289
6547
  * total
6290
6548
  */
6291
- total?: string;
6549
+ total?: number | string;
6292
6550
  /**
6293
6551
  * offset
6294
6552
  *
@@ -6330,7 +6588,7 @@ export type ImagesV1MarkImageProcessedRequest = {
6330
6588
  /**
6331
6589
  * size
6332
6590
  */
6333
- size?: string;
6591
+ size?: number | string;
6334
6592
  };
6335
6593
  /**
6336
6594
  * TakeUnprocessedImageRequest
@@ -6365,7 +6623,7 @@ export type ImagesV1UnprocessedImage = {
6365
6623
  /**
6366
6624
  * size
6367
6625
  */
6368
- size?: string;
6626
+ size?: number | string;
6369
6627
  /**
6370
6628
  * status
6371
6629
  */
@@ -6420,7 +6678,7 @@ export type ImagesV1UpdateProcessedImageDataRequest = {
6420
6678
  /**
6421
6679
  * size
6422
6680
  */
6423
- size?: string;
6681
+ size?: number | string;
6424
6682
  /**
6425
6683
  * format
6426
6684
  */
@@ -6463,23 +6721,16 @@ export type PlatformauthV1TokenResponse = {
6463
6721
  /**
6464
6722
  * expires_in
6465
6723
  */
6466
- expires_in?: string;
6724
+ expires_in?: number | string;
6467
6725
  /**
6468
6726
  * expires_at
6469
6727
  */
6470
6728
  expires_at?: GoogleProtobufTimestamp;
6471
6729
  };
6472
- export type PostsV1CreatePostRequest = ({
6473
- /**
6474
- * image_id
6475
- */
6476
- image_id?: string;
6477
- } | {
6478
- /**
6479
- * video_id
6480
- */
6481
- video_id?: string;
6482
- }) & {
6730
+ /**
6731
+ * CreatePostRequest
6732
+ */
6733
+ export type PostsV1CreatePostRequest = {
6483
6734
  /**
6484
6735
  * project_id
6485
6736
  */
@@ -6504,7 +6755,17 @@ export type PostsV1CreatePostRequest = ({
6504
6755
  * description
6505
6756
  */
6506
6757
  description?: string;
6507
- };
6758
+ } & ({
6759
+ /**
6760
+ * image_id
6761
+ */
6762
+ image_id: string;
6763
+ } | {
6764
+ /**
6765
+ * video_id
6766
+ */
6767
+ video_id: string;
6768
+ });
6508
6769
  /**
6509
6770
  * CreatePostResponse
6510
6771
  */
@@ -6632,7 +6893,7 @@ export type PostsV1ListPostsResponse = {
6632
6893
  /**
6633
6894
  * total
6634
6895
  */
6635
- total?: string;
6896
+ total?: number | string;
6636
6897
  /**
6637
6898
  * offset
6638
6899
  *
@@ -6646,17 +6907,10 @@ export type PostsV1ListPostsResponse = {
6646
6907
  */
6647
6908
  limit?: number;
6648
6909
  };
6649
- export type PostsV1Post = ({
6650
- /**
6651
- * image
6652
- */
6653
- image?: ImagesV1Image;
6654
- } | {
6655
- /**
6656
- * video
6657
- */
6658
- video?: VideosV1Video;
6659
- }) & {
6910
+ /**
6911
+ * Post
6912
+ */
6913
+ export type PostsV1Post = {
6660
6914
  /**
6661
6915
  * id
6662
6916
  */
@@ -6681,7 +6935,17 @@ export type PostsV1Post = ({
6681
6935
  * created_at
6682
6936
  */
6683
6937
  created_at?: GoogleProtobufTimestamp;
6684
- };
6938
+ } & ({
6939
+ /**
6940
+ * image
6941
+ */
6942
+ image: ImagesV1Image;
6943
+ } | {
6944
+ /**
6945
+ * video
6946
+ */
6947
+ video: VideosV1Video;
6948
+ });
6685
6949
  /**
6686
6950
  * PostUpload
6687
6951
  */
@@ -7115,7 +7379,7 @@ export type SupportV1ListTicketsResponse = {
7115
7379
  /**
7116
7380
  * total
7117
7381
  */
7118
- total?: string;
7382
+ total?: number | string;
7119
7383
  /**
7120
7384
  * offset
7121
7385
  *
@@ -7320,7 +7584,7 @@ export type UploadV1ReceiveStorageEventRequest = {
7320
7584
  /**
7321
7585
  * object_size
7322
7586
  */
7323
- object_size?: string | null;
7587
+ object_size?: number | string | null;
7324
7588
  };
7325
7589
  /**
7326
7590
  * ReceiveStorageEventResponse
@@ -7495,7 +7759,7 @@ export type VideosV1DeleteVideoChapterRequest = {
7495
7759
  /**
7496
7760
  * start_time_sec
7497
7761
  */
7498
- start_time_sec?: string;
7762
+ start_time_sec?: number | string;
7499
7763
  };
7500
7764
  /**
7501
7765
  * DeleteVideoRequest
@@ -7537,7 +7801,7 @@ export type VideosV1File = {
7537
7801
  /**
7538
7802
  * size
7539
7803
  */
7540
- size?: string;
7804
+ size?: number | string;
7541
7805
  /**
7542
7806
  * status
7543
7807
  */
@@ -7679,7 +7943,7 @@ export type VideosV1ListVideosResponse = {
7679
7943
  /**
7680
7944
  * total
7681
7945
  */
7682
- total?: string;
7946
+ total?: number | string;
7683
7947
  /**
7684
7948
  * offset
7685
7949
  *
@@ -7721,7 +7985,7 @@ export type VideosV1MarkVideoProcessedRequest = {
7721
7985
  /**
7722
7986
  * size
7723
7987
  */
7724
- size?: string;
7988
+ size?: number | string;
7725
7989
  };
7726
7990
  /**
7727
7991
  * Rendition
@@ -7945,7 +8209,7 @@ export type VideosV1TrackUploadItem = {
7945
8209
  /**
7946
8210
  * size
7947
8211
  */
7948
- size?: string;
8212
+ size?: number | string;
7949
8213
  };
7950
8214
  /**
7951
8215
  * TrackUploadTarget
@@ -8340,68 +8604,46 @@ export type AnalyticsV1DashboardServiceGetDashboardStatsData = {
8340
8604
  query: {
8341
8605
  /**
8342
8606
  * time_start
8343
- *
8344
- * The time_start query parameter.
8345
8607
  */
8346
8608
  time_start: string;
8347
8609
  /**
8348
8610
  * time_end
8349
- *
8350
- * The time_end query parameter.
8351
8611
  */
8352
8612
  time_end: string;
8353
8613
  /**
8354
8614
  * interval
8355
- *
8356
- * The interval query parameter.
8357
8615
  */
8358
8616
  interval?: string;
8359
8617
  /**
8360
8618
  * countries
8361
- *
8362
- * The filter.countries query parameter.
8363
8619
  */
8364
8620
  'filter.countries'?: Array<string>;
8365
8621
  /**
8366
8622
  * cities
8367
- *
8368
- * The filter.cities query parameter.
8369
8623
  */
8370
8624
  'filter.cities'?: Array<string>;
8371
8625
  /**
8372
8626
  * devices
8373
- *
8374
- * The filter.devices query parameter.
8375
8627
  */
8376
8628
  'filter.devices'?: Array<string>;
8377
8629
  /**
8378
8630
  * os
8379
- *
8380
- * The filter.os query parameter.
8381
8631
  */
8382
8632
  'filter.os'?: Array<string>;
8383
8633
  /**
8384
8634
  * languages
8385
- *
8386
- * The filter.languages query parameter.
8387
8635
  */
8388
8636
  'filter.languages'?: Array<string>;
8389
8637
  /**
8390
8638
  * regions
8391
- *
8392
- * The filter.regions query parameter.
8393
8639
  */
8394
8640
  'filter.regions'?: Array<string>;
8395
8641
  /**
8396
8642
  * browsers
8397
- *
8398
- * The filter.browsers query parameter.
8399
8643
  */
8400
8644
  'filter.browsers'?: Array<string>;
8401
8645
  /**
8402
8646
  * os_versions
8403
- *
8404
- * The filter.os_versions query parameter.
8405
8647
  */
8406
8648
  'filter.os_versions'?: Array<string>;
8407
8649
  };
@@ -8485,14 +8727,10 @@ export type AnalyticsV1DashboardServiceListDashboardsData = {
8485
8727
  query?: {
8486
8728
  /**
8487
8729
  * page_size
8488
- *
8489
- * The page_size query parameter.
8490
8730
  */
8491
8731
  page_size?: number;
8492
8732
  /**
8493
8733
  * page
8494
- *
8495
- * The page query parameter.
8496
8734
  */
8497
8735
  page?: number;
8498
8736
  };
@@ -8523,16 +8761,12 @@ export type AnalyticsV1DashboardServiceDeleteWidgetData = {
8523
8761
  path: {
8524
8762
  /**
8525
8763
  * id
8526
- *
8527
- * The id path parameter.
8528
8764
  */
8529
8765
  id: string;
8530
8766
  };
8531
8767
  query: {
8532
8768
  /**
8533
8769
  * expected_revision
8534
- *
8535
- * The expected_revision query parameter.
8536
8770
  */
8537
8771
  expected_revision: number;
8538
8772
  };
@@ -8562,8 +8796,6 @@ export type AnalyticsV1DashboardServiceUpdateWidgetData = {
8562
8796
  path: {
8563
8797
  /**
8564
8798
  * id
8565
- *
8566
- * The id path parameter.
8567
8799
  */
8568
8800
  id: string;
8569
8801
  };
@@ -8582,6 +8814,10 @@ export type AnalyticsV1DashboardServiceExportDashboardData = {
8582
8814
  * ExportDashboardRequest
8583
8815
  */
8584
8816
  body: {
8817
+ /**
8818
+ * dashboard_id
8819
+ */
8820
+ dashboard_id: string;
8585
8821
  /**
8586
8822
  * time_start
8587
8823
  */
@@ -8598,8 +8834,6 @@ export type AnalyticsV1DashboardServiceExportDashboardData = {
8598
8834
  path: {
8599
8835
  /**
8600
8836
  * dashboard_id
8601
- *
8602
- * The dashboard_id path parameter.
8603
8837
  */
8604
8838
  dashboard_id: string;
8605
8839
  };
@@ -8618,6 +8852,10 @@ export type AnalyticsV1DashboardServiceUpdateDashboardLayoutData = {
8618
8852
  * UpdateDashboardLayoutRequest
8619
8853
  */
8620
8854
  body: {
8855
+ /**
8856
+ * dashboard_id
8857
+ */
8858
+ dashboard_id: string;
8621
8859
  /**
8622
8860
  * expected_revision
8623
8861
  */
@@ -8630,8 +8868,6 @@ export type AnalyticsV1DashboardServiceUpdateDashboardLayoutData = {
8630
8868
  path: {
8631
8869
  /**
8632
8870
  * dashboard_id
8633
- *
8634
- * The dashboard_id path parameter.
8635
8871
  */
8636
8872
  dashboard_id: string;
8637
8873
  };
@@ -8653,16 +8889,12 @@ export type AnalyticsV1DashboardServiceCreateWidgetData = {
8653
8889
  path: {
8654
8890
  /**
8655
8891
  * dashboard_id
8656
- *
8657
- * The dashboard_id path parameter.
8658
8892
  */
8659
8893
  dashboard_id: string;
8660
8894
  };
8661
8895
  query: {
8662
8896
  /**
8663
8897
  * expected_revision
8664
- *
8665
- * The expected_revision query parameter.
8666
8898
  */
8667
8899
  expected_revision: number;
8668
8900
  };
@@ -8680,16 +8912,12 @@ export type AnalyticsV1DashboardServiceDeleteDashboardData = {
8680
8912
  path: {
8681
8913
  /**
8682
8914
  * id
8683
- *
8684
- * The id path parameter.
8685
8915
  */
8686
8916
  id: string;
8687
8917
  };
8688
8918
  query: {
8689
8919
  /**
8690
8920
  * expected_revision
8691
- *
8692
- * The expected_revision query parameter.
8693
8921
  */
8694
8922
  expected_revision: number;
8695
8923
  };
@@ -8707,8 +8935,6 @@ export type AnalyticsV1DashboardServiceGetDashboardData = {
8707
8935
  path: {
8708
8936
  /**
8709
8937
  * id
8710
- *
8711
- * The id path parameter.
8712
8938
  */
8713
8939
  id: string;
8714
8940
  };
@@ -8743,8 +8969,6 @@ export type AnalyticsV1DashboardServiceUpdateDashboardData = {
8743
8969
  path: {
8744
8970
  /**
8745
8971
  * id
8746
- *
8747
- * The id path parameter.
8748
8972
  */
8749
8973
  id: string;
8750
8974
  };
@@ -8763,8 +8987,6 @@ export type AnalyticsV1DashboardServiceSetDefaultDashboardData = {
8763
8987
  path: {
8764
8988
  /**
8765
8989
  * id
8766
- *
8767
- * The id path parameter.
8768
8990
  */
8769
8991
  id: string;
8770
8992
  };
@@ -8796,22 +9018,16 @@ export type AnalyticsV1FeedsServiceGetFeedStatsData = {
8796
9018
  path: {
8797
9019
  /**
8798
9020
  * feed_id
8799
- *
8800
- * The feed_id path parameter.
8801
9021
  */
8802
9022
  feed_id: string;
8803
9023
  };
8804
9024
  query?: {
8805
9025
  /**
8806
9026
  * start
8807
- *
8808
- * The range.start query parameter.
8809
9027
  */
8810
9028
  'range.start'?: string;
8811
9029
  /**
8812
9030
  * end
8813
- *
8814
- * The range.end query parameter.
8815
9031
  */
8816
9032
  'range.end'?: string;
8817
9033
  };
@@ -8830,20 +9046,14 @@ export type AnalyticsV1FeedsServiceGetTopFeedsData = {
8830
9046
  query?: {
8831
9047
  /**
8832
9048
  * limit
8833
- *
8834
- * The limit query parameter.
8835
9049
  */
8836
9050
  limit?: number;
8837
9051
  /**
8838
9052
  * start
8839
- *
8840
- * The range.start query parameter.
8841
9053
  */
8842
9054
  'range.start'?: string;
8843
9055
  /**
8844
9056
  * end
8845
- *
8846
- * The range.end query parameter.
8847
9057
  */
8848
9058
  'range.end'?: string;
8849
9059
  };
@@ -8887,28 +9097,20 @@ export type AnalyticsV1HeatmapServiceGetVideoHeatmapData = {
8887
9097
  path: {
8888
9098
  /**
8889
9099
  * video_id
8890
- *
8891
- * The video_id path parameter.
8892
9100
  */
8893
9101
  video_id: string;
8894
9102
  };
8895
9103
  query?: {
8896
9104
  /**
8897
9105
  * buckets
8898
- *
8899
- * The buckets query parameter.
8900
9106
  */
8901
9107
  buckets?: number;
8902
9108
  /**
8903
9109
  * start
8904
- *
8905
- * The range.start query parameter.
8906
9110
  */
8907
9111
  'range.start'?: string;
8908
9112
  /**
8909
9113
  * end
8910
- *
8911
- * The range.end query parameter.
8912
9114
  */
8913
9115
  'range.end'?: string;
8914
9116
  };
@@ -8926,22 +9128,16 @@ export type AnalyticsV1HeatmapServiceGetHotSegmentsData = {
8926
9128
  path: {
8927
9129
  /**
8928
9130
  * video_id
8929
- *
8930
- * The video_id path parameter.
8931
9131
  */
8932
9132
  video_id: string;
8933
9133
  };
8934
9134
  query?: {
8935
9135
  /**
8936
9136
  * start
8937
- *
8938
- * The range.start query parameter.
8939
9137
  */
8940
9138
  'range.start'?: string;
8941
9139
  /**
8942
9140
  * end
8943
- *
8944
- * The range.end query parameter.
8945
9141
  */
8946
9142
  'range.end'?: string;
8947
9143
  };
@@ -8959,22 +9155,16 @@ export type AnalyticsV1ImagesServiceGetImageStatsData = {
8959
9155
  path: {
8960
9156
  /**
8961
9157
  * image_id
8962
- *
8963
- * The image_id path parameter.
8964
9158
  */
8965
9159
  image_id: string;
8966
9160
  };
8967
9161
  query?: {
8968
9162
  /**
8969
9163
  * start
8970
- *
8971
- * The range.start query parameter.
8972
9164
  */
8973
9165
  'range.start'?: string;
8974
9166
  /**
8975
9167
  * end
8976
- *
8977
- * The range.end query parameter.
8978
9168
  */
8979
9169
  'range.end'?: string;
8980
9170
  };
@@ -8993,20 +9183,14 @@ export type AnalyticsV1ImagesServiceGetTopImagesData = {
8993
9183
  query?: {
8994
9184
  /**
8995
9185
  * limit
8996
- *
8997
- * The limit query parameter.
8998
9186
  */
8999
9187
  limit?: number;
9000
9188
  /**
9001
9189
  * start
9002
- *
9003
- * The range.start query parameter.
9004
9190
  */
9005
9191
  'range.start'?: string;
9006
9192
  /**
9007
9193
  * end
9008
- *
9009
- * The range.end query parameter.
9010
9194
  */
9011
9195
  'range.end'?: string;
9012
9196
  };
@@ -9024,22 +9208,16 @@ export type AnalyticsV1PostsServiceGetPostStatsData = {
9024
9208
  path: {
9025
9209
  /**
9026
9210
  * post_id
9027
- *
9028
- * The post_id path parameter.
9029
9211
  */
9030
9212
  post_id: string;
9031
9213
  };
9032
9214
  query?: {
9033
9215
  /**
9034
9216
  * start
9035
- *
9036
- * The range.start query parameter.
9037
9217
  */
9038
9218
  'range.start'?: string;
9039
9219
  /**
9040
9220
  * end
9041
- *
9042
- * The range.end query parameter.
9043
9221
  */
9044
9222
  'range.end'?: string;
9045
9223
  };
@@ -9058,26 +9236,18 @@ export type AnalyticsV1PostsServiceGetTopPostsData = {
9058
9236
  query?: {
9059
9237
  /**
9060
9238
  * limit
9061
- *
9062
- * The limit query parameter.
9063
9239
  */
9064
9240
  limit?: number;
9065
9241
  /**
9066
9242
  * start
9067
- *
9068
- * The range.start query parameter.
9069
9243
  */
9070
9244
  'range.start'?: string;
9071
9245
  /**
9072
9246
  * end
9073
- *
9074
- * The range.end query parameter.
9075
9247
  */
9076
9248
  'range.end'?: string;
9077
9249
  /**
9078
9250
  * feed_id
9079
- *
9080
- * The feed_id query parameter.
9081
9251
  */
9082
9252
  feed_id?: string;
9083
9253
  };
@@ -9109,20 +9279,14 @@ export type AnalyticsV1VideosServiceGetTopVideosData = {
9109
9279
  query?: {
9110
9280
  /**
9111
9281
  * limit
9112
- *
9113
- * The limit query parameter.
9114
9282
  */
9115
9283
  limit?: number;
9116
9284
  /**
9117
9285
  * start
9118
- *
9119
- * The range.start query parameter.
9120
9286
  */
9121
9287
  'range.start'?: string;
9122
9288
  /**
9123
9289
  * end
9124
- *
9125
- * The range.end query parameter.
9126
9290
  */
9127
9291
  'range.end'?: string;
9128
9292
  };
@@ -9140,22 +9304,16 @@ export type AnalyticsV1VideosServiceGetVideoStatsData = {
9140
9304
  path: {
9141
9305
  /**
9142
9306
  * video_id
9143
- *
9144
- * The video_id path parameter.
9145
9307
  */
9146
9308
  video_id: string;
9147
9309
  };
9148
9310
  query?: {
9149
9311
  /**
9150
9312
  * start
9151
- *
9152
- * The range.start query parameter.
9153
9313
  */
9154
9314
  'range.start'?: string;
9155
9315
  /**
9156
9316
  * end
9157
- *
9158
- * The range.end query parameter.
9159
9317
  */
9160
9318
  'range.end'?: string;
9161
9319
  };
@@ -9173,8 +9331,6 @@ export type ApikeysV1ApiKeyServiceListApiKeysData = {
9173
9331
  path: {
9174
9332
  /**
9175
9333
  * org_id
9176
- *
9177
- * The org_id path parameter.
9178
9334
  */
9179
9335
  org_id: string;
9180
9336
  };
@@ -9206,6 +9362,10 @@ export type ApikeysV1ApiKeyServiceCreateApiKeyData = {
9206
9362
  * CreateApiKeyRequest
9207
9363
  */
9208
9364
  body: {
9365
+ /**
9366
+ * org_id
9367
+ */
9368
+ org_id?: string;
9209
9369
  /**
9210
9370
  * name
9211
9371
  */
@@ -9226,8 +9386,6 @@ export type ApikeysV1ApiKeyServiceCreateApiKeyData = {
9226
9386
  path: {
9227
9387
  /**
9228
9388
  * org_id
9229
- *
9230
- * The org_id path parameter.
9231
9389
  */
9232
9390
  org_id: string;
9233
9391
  };
@@ -9246,14 +9404,10 @@ export type ApikeysV1ApiKeyServiceDeleteApiKeyData = {
9246
9404
  path: {
9247
9405
  /**
9248
9406
  * org_id
9249
- *
9250
- * The org_id path parameter.
9251
9407
  */
9252
9408
  org_id: string;
9253
9409
  /**
9254
9410
  * key_id
9255
- *
9256
- * The key_id path parameter.
9257
9411
  */
9258
9412
  key_id: string;
9259
9413
  };
@@ -9272,6 +9426,14 @@ export type ApikeysV1ApiKeyServiceUpdateApiKeyData = {
9272
9426
  * UpdateApiKeyRequest
9273
9427
  */
9274
9428
  body: {
9429
+ /**
9430
+ * org_id
9431
+ */
9432
+ org_id?: string;
9433
+ /**
9434
+ * key_id
9435
+ */
9436
+ key_id: string;
9275
9437
  /**
9276
9438
  * name
9277
9439
  */
@@ -9292,14 +9454,10 @@ export type ApikeysV1ApiKeyServiceUpdateApiKeyData = {
9292
9454
  path: {
9293
9455
  /**
9294
9456
  * org_id
9295
- *
9296
- * The org_id path parameter.
9297
9457
  */
9298
9458
  org_id: string;
9299
9459
  /**
9300
9460
  * key_id
9301
- *
9302
- * The key_id path parameter.
9303
9461
  */
9304
9462
  key_id: string;
9305
9463
  };
@@ -9318,14 +9476,10 @@ export type ApikeysV1ApiKeyServiceRotateApiKeyData = {
9318
9476
  path: {
9319
9477
  /**
9320
9478
  * org_id
9321
- *
9322
- * The org_id path parameter.
9323
9479
  */
9324
9480
  org_id: string;
9325
9481
  /**
9326
9482
  * key_id
9327
- *
9328
- * The key_id path parameter.
9329
9483
  */
9330
9484
  key_id: string;
9331
9485
  };
@@ -9358,8 +9512,6 @@ export type AuthV1BlogServiceSubscribeBlogData = {
9358
9512
  query?: {
9359
9513
  /**
9360
9514
  * user_id
9361
- *
9362
- * The user_id query parameter.
9363
9515
  */
9364
9516
  user_id?: string;
9365
9517
  };
@@ -9378,8 +9530,6 @@ export type AuthV1BlogServiceGetBlogSubscriptionData = {
9378
9530
  query?: {
9379
9531
  /**
9380
9532
  * user_id
9381
- *
9382
- * The user_id query parameter.
9383
9533
  */
9384
9534
  user_id?: string;
9385
9535
  };
@@ -9398,8 +9548,6 @@ export type AuthV1BlogServiceUnsubscribeBlogData = {
9398
9548
  query?: {
9399
9549
  /**
9400
9550
  * user_id
9401
- *
9402
- * The user_id query parameter.
9403
9551
  */
9404
9552
  user_id?: string;
9405
9553
  };
@@ -9430,16 +9578,12 @@ export type AuthV1DomainServiceRemoveDomainData = {
9430
9578
  path: {
9431
9579
  /**
9432
9580
  * org_id
9433
- *
9434
- * The org_id path parameter.
9435
9581
  */
9436
9582
  org_id: string;
9437
9583
  };
9438
9584
  query?: {
9439
9585
  /**
9440
9586
  * user_id
9441
- *
9442
- * The user_id query parameter.
9443
9587
  */
9444
9588
  user_id?: string;
9445
9589
  };
@@ -9457,16 +9601,12 @@ export type AuthV1DomainServiceGetDomainStatusData = {
9457
9601
  path: {
9458
9602
  /**
9459
9603
  * org_id
9460
- *
9461
- * The org_id path parameter.
9462
9604
  */
9463
9605
  org_id: string;
9464
9606
  };
9465
9607
  query?: {
9466
9608
  /**
9467
9609
  * user_id
9468
- *
9469
- * The user_id query parameter.
9470
9610
  */
9471
9611
  user_id?: string;
9472
9612
  };
@@ -9484,16 +9624,12 @@ export type AuthV1DomainServiceGetDomainAutoJoinData = {
9484
9624
  path: {
9485
9625
  /**
9486
9626
  * org_id
9487
- *
9488
- * The org_id path parameter.
9489
9627
  */
9490
9628
  org_id: string;
9491
9629
  };
9492
9630
  query?: {
9493
9631
  /**
9494
9632
  * user_id
9495
- *
9496
- * The user_id query parameter.
9497
9633
  */
9498
9634
  user_id?: string;
9499
9635
  };
@@ -9511,16 +9647,12 @@ export type AuthV1DomainServiceCheckDomainVerificationData = {
9511
9647
  path: {
9512
9648
  /**
9513
9649
  * org_id
9514
- *
9515
- * The org_id path parameter.
9516
9650
  */
9517
9651
  org_id: string;
9518
9652
  };
9519
9653
  query?: {
9520
9654
  /**
9521
9655
  * user_id
9522
- *
9523
- * The user_id query parameter.
9524
9656
  */
9525
9657
  user_id?: string;
9526
9658
  };
@@ -9538,6 +9670,10 @@ export type AuthV1DomainServiceCreateDomainVerificationData = {
9538
9670
  * CreateDomainRequest
9539
9671
  */
9540
9672
  body: {
9673
+ /**
9674
+ * user
9675
+ */
9676
+ user?: AuthV1UserOrgRequest;
9541
9677
  /**
9542
9678
  * domain
9543
9679
  */
@@ -9546,8 +9682,6 @@ export type AuthV1DomainServiceCreateDomainVerificationData = {
9546
9682
  path: {
9547
9683
  /**
9548
9684
  * org_id
9549
- *
9550
- * The user.org_id path parameter.
9551
9685
  */
9552
9686
  'user.org_id': string;
9553
9687
  };
@@ -9566,6 +9700,10 @@ export type AuthV1DomainServiceSetDomainAutoJoinData = {
9566
9700
  * SetAutoJoinRequest
9567
9701
  */
9568
9702
  body: {
9703
+ /**
9704
+ * user
9705
+ */
9706
+ user?: AuthV1UserOrgRequest;
9569
9707
  /**
9570
9708
  * enabled
9571
9709
  */
@@ -9574,8 +9712,6 @@ export type AuthV1DomainServiceSetDomainAutoJoinData = {
9574
9712
  path: {
9575
9713
  /**
9576
9714
  * org_id
9577
- *
9578
- * The user.org_id path parameter.
9579
9715
  */
9580
9716
  'user.org_id': string;
9581
9717
  };
@@ -9594,8 +9730,6 @@ export type AuthV1MembershipServiceAcceptInvitationData = {
9594
9730
  path: {
9595
9731
  /**
9596
9732
  * token
9597
- *
9598
- * The token path parameter.
9599
9733
  */
9600
9734
  token: string;
9601
9735
  };
@@ -9614,8 +9748,6 @@ export type AuthV1MembershipServiceDeclineInvitationData = {
9614
9748
  path: {
9615
9749
  /**
9616
9750
  * token
9617
- *
9618
- * The token path parameter.
9619
9751
  */
9620
9752
  token: string;
9621
9753
  };
@@ -9635,26 +9767,18 @@ export type AuthV1MembershipServiceListMembershipApplicationsData = {
9635
9767
  query?: {
9636
9768
  /**
9637
9769
  * user_id
9638
- *
9639
- * The user.user_id query parameter.
9640
9770
  */
9641
9771
  'user.user_id'?: string;
9642
9772
  /**
9643
9773
  * limit
9644
- *
9645
- * The limit query parameter.
9646
9774
  */
9647
9775
  limit?: number;
9648
9776
  /**
9649
9777
  * offset
9650
- *
9651
- * The offset query parameter.
9652
9778
  */
9653
9779
  offset?: number;
9654
9780
  /**
9655
9781
  * state
9656
- *
9657
- * The state query parameter.
9658
9782
  */
9659
9783
  state?: AuthV1MembershipApplicationState;
9660
9784
  };
@@ -9673,26 +9797,18 @@ export type AuthV1MembershipServiceListMembershipsData = {
9673
9797
  query?: {
9674
9798
  /**
9675
9799
  * user_id
9676
- *
9677
- * The user.user_id query parameter.
9678
9800
  */
9679
9801
  'user.user_id'?: string;
9680
9802
  /**
9681
9803
  * limit
9682
- *
9683
- * The limit query parameter.
9684
9804
  */
9685
9805
  limit?: number;
9686
9806
  /**
9687
9807
  * offset
9688
- *
9689
- * The offset query parameter.
9690
9808
  */
9691
9809
  offset?: number;
9692
9810
  /**
9693
9811
  * state
9694
- *
9695
- * The state query parameter.
9696
9812
  */
9697
9813
  state?: AuthV1MembershipState;
9698
9814
  };
@@ -9723,16 +9839,12 @@ export type AuthV1MembershipServiceCheckMembershipData = {
9723
9839
  path: {
9724
9840
  /**
9725
9841
  * org_id
9726
- *
9727
- * The org_id path parameter.
9728
9842
  */
9729
9843
  org_id: string;
9730
9844
  };
9731
9845
  query?: {
9732
9846
  /**
9733
9847
  * user_id
9734
- *
9735
- * The user_id query parameter.
9736
9848
  */
9737
9849
  user_id?: string;
9738
9850
  };
@@ -9750,16 +9862,12 @@ export type AuthV1MembershipServiceGetInternalMembershipInfoData = {
9750
9862
  path: {
9751
9863
  /**
9752
9864
  * org_id
9753
- *
9754
- * The org_id path parameter.
9755
9865
  */
9756
9866
  org_id: string;
9757
9867
  };
9758
9868
  query?: {
9759
9869
  /**
9760
9870
  * user_id
9761
- *
9762
- * The user_id query parameter.
9763
9871
  */
9764
9872
  user_id?: string;
9765
9873
  };
@@ -9777,16 +9885,12 @@ export type AuthV1MembershipServiceLeaveOrganizationData = {
9777
9885
  path: {
9778
9886
  /**
9779
9887
  * org_id
9780
- *
9781
- * The org_id path parameter.
9782
9888
  */
9783
9889
  org_id: string;
9784
9890
  };
9785
9891
  query?: {
9786
9892
  /**
9787
9893
  * user_id
9788
- *
9789
- * The user_id query parameter.
9790
9894
  */
9791
9895
  user_id?: string;
9792
9896
  };
@@ -9804,6 +9908,10 @@ export type AuthV1MembershipServiceInviteMemberData = {
9804
9908
  * InviteMemberRequest
9805
9909
  */
9806
9910
  body: {
9911
+ /**
9912
+ * user
9913
+ */
9914
+ user?: AuthV1ActorOrgRequest;
9807
9915
  /**
9808
9916
  * username
9809
9917
  */
@@ -9816,8 +9924,6 @@ export type AuthV1MembershipServiceInviteMemberData = {
9816
9924
  path: {
9817
9925
  /**
9818
9926
  * org_id
9819
- *
9820
- * The user.org_id path parameter.
9821
9927
  */
9822
9928
  'user.org_id': string;
9823
9929
  };
@@ -9836,6 +9942,10 @@ export type AuthV1MembershipServiceResendInvitationData = {
9836
9942
  * ResendInvitationRequest
9837
9943
  */
9838
9944
  body: {
9945
+ /**
9946
+ * user
9947
+ */
9948
+ user?: AuthV1ActorOrgRequest;
9839
9949
  /**
9840
9950
  * user_id
9841
9951
  */
@@ -9844,8 +9954,6 @@ export type AuthV1MembershipServiceResendInvitationData = {
9844
9954
  path: {
9845
9955
  /**
9846
9956
  * org_id
9847
- *
9848
- * The user.org_id path parameter.
9849
9957
  */
9850
9958
  'user.org_id': string;
9851
9959
  };
@@ -9864,18 +9972,19 @@ export type AuthV1MembershipServiceCancelInvitationData = {
9864
9972
  path: {
9865
9973
  /**
9866
9974
  * org_id
9867
- *
9868
- * The user.org_id path parameter.
9869
9975
  */
9870
9976
  'user.org_id': string;
9871
9977
  /**
9872
9978
  * user_id
9873
- *
9874
- * The user_id path parameter.
9875
9979
  */
9876
9980
  user_id: string;
9877
9981
  };
9878
- query?: never;
9982
+ query?: {
9983
+ /**
9984
+ * actor_id
9985
+ */
9986
+ 'user.actor_id'?: string;
9987
+ };
9879
9988
  url: '/auth/v1/memberships/{user.org_id}/invite/{user_id}';
9880
9989
  };
9881
9990
  export type AuthV1MembershipServiceCancelInvitationResponses = {
@@ -9890,22 +9999,20 @@ export type AuthV1MembershipServiceListOrganizationMembersData = {
9890
9999
  path: {
9891
10000
  /**
9892
10001
  * org_id
9893
- *
9894
- * The user.org_id path parameter.
9895
10002
  */
9896
10003
  'user.org_id': string;
9897
10004
  };
9898
10005
  query?: {
10006
+ /**
10007
+ * user_id
10008
+ */
10009
+ 'user.user_id'?: string;
9899
10010
  /**
9900
10011
  * limit
9901
- *
9902
- * The limit query parameter.
9903
10012
  */
9904
10013
  limit?: number;
9905
10014
  /**
9906
10015
  * offset
9907
- *
9908
- * The offset query parameter.
9909
10016
  */
9910
10017
  offset?: number;
9911
10018
  };
@@ -9923,18 +10030,19 @@ export type AuthV1MembershipServiceRemoveMemberData = {
9923
10030
  path: {
9924
10031
  /**
9925
10032
  * org_id
9926
- *
9927
- * The user.org_id path parameter.
9928
10033
  */
9929
10034
  'user.org_id': string;
9930
10035
  /**
9931
10036
  * user_id
9932
- *
9933
- * The user_id path parameter.
9934
10037
  */
9935
10038
  user_id: string;
9936
10039
  };
9937
- query?: never;
10040
+ query?: {
10041
+ /**
10042
+ * actor_id
10043
+ */
10044
+ 'user.actor_id'?: string;
10045
+ };
9938
10046
  url: '/auth/v1/memberships/{user.org_id}/members/{user_id}';
9939
10047
  };
9940
10048
  export type AuthV1MembershipServiceRemoveMemberResponses = {
@@ -9949,18 +10057,19 @@ export type AuthV1MembershipServiceReactivateMemberData = {
9949
10057
  path: {
9950
10058
  /**
9951
10059
  * org_id
9952
- *
9953
- * The user.org_id path parameter.
9954
10060
  */
9955
10061
  'user.org_id': string;
9956
10062
  /**
9957
10063
  * user_id
9958
- *
9959
- * The user_id path parameter.
9960
10064
  */
9961
10065
  user_id: string;
9962
10066
  };
9963
- query?: never;
10067
+ query?: {
10068
+ /**
10069
+ * actor_id
10070
+ */
10071
+ 'user.actor_id'?: string;
10072
+ };
9964
10073
  url: '/auth/v1/memberships/{user.org_id}/members/{user_id}/reactivate';
9965
10074
  };
9966
10075
  export type AuthV1MembershipServiceReactivateMemberResponses = {
@@ -9975,6 +10084,14 @@ export type AuthV1MembershipServiceUpdateMemberRoleData = {
9975
10084
  * UpdateMemberRoleRequest
9976
10085
  */
9977
10086
  body: {
10087
+ /**
10088
+ * user
10089
+ */
10090
+ user?: AuthV1ActorOrgRequest;
10091
+ /**
10092
+ * user_id
10093
+ */
10094
+ user_id?: string;
9978
10095
  /**
9979
10096
  * role
9980
10097
  */
@@ -9983,14 +10100,10 @@ export type AuthV1MembershipServiceUpdateMemberRoleData = {
9983
10100
  path: {
9984
10101
  /**
9985
10102
  * org_id
9986
- *
9987
- * The user.org_id path parameter.
9988
10103
  */
9989
10104
  'user.org_id': string;
9990
10105
  /**
9991
10106
  * user_id
9992
- *
9993
- * The user_id path parameter.
9994
10107
  */
9995
10108
  user_id: string;
9996
10109
  };
@@ -10009,18 +10122,19 @@ export type AuthV1MembershipServiceSuspendMemberData = {
10009
10122
  path: {
10010
10123
  /**
10011
10124
  * org_id
10012
- *
10013
- * The user.org_id path parameter.
10014
10125
  */
10015
10126
  'user.org_id': string;
10016
10127
  /**
10017
10128
  * user_id
10018
- *
10019
- * The user_id path parameter.
10020
10129
  */
10021
10130
  user_id: string;
10022
10131
  };
10023
- query?: never;
10132
+ query?: {
10133
+ /**
10134
+ * actor_id
10135
+ */
10136
+ 'user.actor_id'?: string;
10137
+ };
10024
10138
  url: '/auth/v1/memberships/{user.org_id}/members/{user_id}/suspend';
10025
10139
  };
10026
10140
  export type AuthV1MembershipServiceSuspendMemberResponses = {
@@ -10035,6 +10149,10 @@ export type AuthV1MembershipServiceUpdateOrgNameData = {
10035
10149
  * UpdateOrgNameRequest
10036
10150
  */
10037
10151
  body: {
10152
+ /**
10153
+ * user
10154
+ */
10155
+ user?: AuthV1ActorOrgRequest;
10038
10156
  /**
10039
10157
  * full_name
10040
10158
  */
@@ -10043,8 +10161,6 @@ export type AuthV1MembershipServiceUpdateOrgNameData = {
10043
10161
  path: {
10044
10162
  /**
10045
10163
  * org_id
10046
- *
10047
- * The user.org_id path parameter.
10048
10164
  */
10049
10165
  'user.org_id': string;
10050
10166
  };
@@ -10063,6 +10179,10 @@ export type AuthV1MembershipServiceUpdateMembershipStateData = {
10063
10179
  * UpdateMembershipStateRequest
10064
10180
  */
10065
10181
  body: {
10182
+ /**
10183
+ * user
10184
+ */
10185
+ user?: AuthV1UserOrgRequest;
10066
10186
  /**
10067
10187
  * state
10068
10188
  */
@@ -10075,8 +10195,6 @@ export type AuthV1MembershipServiceUpdateMembershipStateData = {
10075
10195
  path: {
10076
10196
  /**
10077
10197
  * org_id
10078
- *
10079
- * The user.org_id path parameter.
10080
10198
  */
10081
10199
  'user.org_id': string;
10082
10200
  };
@@ -10095,6 +10213,10 @@ export type AuthV1MembershipServiceUpdateOrgUsernameData = {
10095
10213
  * UpdateOrgUsernameRequest
10096
10214
  */
10097
10215
  body: {
10216
+ /**
10217
+ * user
10218
+ */
10219
+ user?: AuthV1ActorOrgRequest;
10098
10220
  /**
10099
10221
  * username
10100
10222
  */
@@ -10103,8 +10225,6 @@ export type AuthV1MembershipServiceUpdateOrgUsernameData = {
10103
10225
  path: {
10104
10226
  /**
10105
10227
  * org_id
10106
- *
10107
- * The user.org_id path parameter.
10108
10228
  */
10109
10229
  'user.org_id': string;
10110
10230
  };
@@ -10124,8 +10244,6 @@ export type AuthV1OtpServiceRegenerateBackupCodesData = {
10124
10244
  query?: {
10125
10245
  /**
10126
10246
  * user_id
10127
- *
10128
- * The user_id query parameter.
10129
10247
  */
10130
10248
  user_id?: string;
10131
10249
  };
@@ -10144,8 +10262,6 @@ export type AuthV1OtpServiceDeleteOtpData = {
10144
10262
  query?: {
10145
10263
  /**
10146
10264
  * user_id
10147
- *
10148
- * The user_id query parameter.
10149
10265
  */
10150
10266
  user_id?: string;
10151
10267
  };
@@ -10164,8 +10280,6 @@ export type AuthV1OtpServiceSetupOtpData = {
10164
10280
  query?: {
10165
10281
  /**
10166
10282
  * user_id
10167
- *
10168
- * The user_id query parameter.
10169
10283
  */
10170
10284
  user_id?: string;
10171
10285
  };
@@ -10184,8 +10298,6 @@ export type AuthV1OtpServiceGetOtpStatusData = {
10184
10298
  query?: {
10185
10299
  /**
10186
10300
  * user_id
10187
- *
10188
- * The user_id query parameter.
10189
10301
  */
10190
10302
  user_id?: string;
10191
10303
  };
@@ -10256,8 +10368,6 @@ export type AuthV1PasskeyServiceListPasskeysData = {
10256
10368
  query?: {
10257
10369
  /**
10258
10370
  * user_id
10259
- *
10260
- * The user_id query parameter.
10261
10371
  */
10262
10372
  user_id?: string;
10263
10373
  };
@@ -10301,16 +10411,12 @@ export type AuthV1PasskeyServiceDeletePasskeyData = {
10301
10411
  path: {
10302
10412
  /**
10303
10413
  * id
10304
- *
10305
- * The id path parameter.
10306
10414
  */
10307
10415
  id: string;
10308
10416
  };
10309
10417
  query?: {
10310
10418
  /**
10311
10419
  * user_id
10312
- *
10313
- * The user_id query parameter.
10314
10420
  */
10315
10421
  user_id?: string;
10316
10422
  };
@@ -10340,8 +10446,6 @@ export type AuthV1PasskeyServiceRenamePasskeyData = {
10340
10446
  path: {
10341
10447
  /**
10342
10448
  * id
10343
- *
10344
- * The id path parameter.
10345
10449
  */
10346
10450
  id: string;
10347
10451
  };
@@ -10373,16 +10477,12 @@ export type AuthV1PolicyServiceListPoliciesData = {
10373
10477
  path: {
10374
10478
  /**
10375
10479
  * org_id
10376
- *
10377
- * The org_id path parameter.
10378
10480
  */
10379
10481
  org_id: string;
10380
10482
  };
10381
10483
  query?: {
10382
10484
  /**
10383
10485
  * user_id
10384
- *
10385
- * The user_id query parameter.
10386
10486
  */
10387
10487
  user_id?: string;
10388
10488
  };
@@ -10400,18 +10500,19 @@ export type AuthV1PolicyServiceListUserPoliciesData = {
10400
10500
  path: {
10401
10501
  /**
10402
10502
  * org_id
10403
- *
10404
- * The user.org_id path parameter.
10405
10503
  */
10406
10504
  'user.org_id': string;
10407
10505
  /**
10408
10506
  * member_id
10409
- *
10410
- * The member_id path parameter.
10411
10507
  */
10412
10508
  member_id: string;
10413
10509
  };
10414
- query?: never;
10510
+ query?: {
10511
+ /**
10512
+ * user_id
10513
+ */
10514
+ 'user.user_id'?: string;
10515
+ };
10415
10516
  url: '/auth/v1/memberships/{user.org_id}/members/{member_id}/policies';
10416
10517
  };
10417
10518
  export type AuthV1PolicyServiceListUserPoliciesResponses = {
@@ -10426,6 +10527,10 @@ export type AuthV1PolicyServiceCreatePolicyData = {
10426
10527
  * CreatePolicyRequest
10427
10528
  */
10428
10529
  body: {
10530
+ /**
10531
+ * user
10532
+ */
10533
+ user?: AuthV1UserOrgRequest;
10429
10534
  /**
10430
10535
  * name
10431
10536
  */
@@ -10442,8 +10547,6 @@ export type AuthV1PolicyServiceCreatePolicyData = {
10442
10547
  path: {
10443
10548
  /**
10444
10549
  * org_id
10445
- *
10446
- * The user.org_id path parameter.
10447
10550
  */
10448
10551
  'user.org_id': string;
10449
10552
  };
@@ -10462,18 +10565,19 @@ export type AuthV1PolicyServiceDetachPolicyData = {
10462
10565
  path: {
10463
10566
  /**
10464
10567
  * org_id
10465
- *
10466
- * The user.org_id path parameter.
10467
10568
  */
10468
10569
  'user.org_id': string;
10469
10570
  /**
10470
10571
  * attachment_id
10471
- *
10472
- * The attachment_id path parameter.
10473
10572
  */
10474
10573
  attachment_id: string;
10475
10574
  };
10476
- query?: never;
10575
+ query?: {
10576
+ /**
10577
+ * user_id
10578
+ */
10579
+ 'user.user_id'?: string;
10580
+ };
10477
10581
  url: '/auth/v1/memberships/{user.org_id}/policies/attachments/{attachment_id}';
10478
10582
  };
10479
10583
  export type AuthV1PolicyServiceDetachPolicyResponses = {
@@ -10488,28 +10592,24 @@ export type AuthV1PolicyServiceListPermissionRegistryData = {
10488
10592
  path: {
10489
10593
  /**
10490
10594
  * org_id
10491
- *
10492
- * The user.org_id path parameter.
10493
10595
  */
10494
10596
  'user.org_id': string;
10495
10597
  };
10496
10598
  query?: {
10599
+ /**
10600
+ * user_id
10601
+ */
10602
+ 'user.user_id'?: string;
10497
10603
  /**
10498
10604
  * types
10499
- *
10500
- * The types query parameter.
10501
10605
  */
10502
10606
  types?: Array<string>;
10503
10607
  /**
10504
10608
  * limit
10505
- *
10506
- * The limit query parameter.
10507
10609
  */
10508
10610
  limit?: number;
10509
10611
  /**
10510
10612
  * offset
10511
- *
10512
- * The offset query parameter.
10513
10613
  */
10514
10614
  offset?: number;
10515
10615
  };
@@ -10527,18 +10627,19 @@ export type AuthV1PolicyServiceDeletePolicyData = {
10527
10627
  path: {
10528
10628
  /**
10529
10629
  * org_id
10530
- *
10531
- * The user.org_id path parameter.
10532
10630
  */
10533
10631
  'user.org_id': string;
10534
10632
  /**
10535
10633
  * policy_id
10536
- *
10537
- * The policy_id path parameter.
10538
10634
  */
10539
10635
  policy_id: string;
10540
10636
  };
10541
- query?: never;
10637
+ query?: {
10638
+ /**
10639
+ * user_id
10640
+ */
10641
+ 'user.user_id'?: string;
10642
+ };
10542
10643
  url: '/auth/v1/memberships/{user.org_id}/policies/{policy_id}';
10543
10644
  };
10544
10645
  export type AuthV1PolicyServiceDeletePolicyResponses = {
@@ -10553,18 +10654,19 @@ export type AuthV1PolicyServiceGetPolicyData = {
10553
10654
  path: {
10554
10655
  /**
10555
10656
  * org_id
10556
- *
10557
- * The user.org_id path parameter.
10558
10657
  */
10559
10658
  'user.org_id': string;
10560
10659
  /**
10561
10660
  * policy_id
10562
- *
10563
- * The policy_id path parameter.
10564
10661
  */
10565
10662
  policy_id: string;
10566
10663
  };
10567
- query?: never;
10664
+ query?: {
10665
+ /**
10666
+ * user_id
10667
+ */
10668
+ 'user.user_id'?: string;
10669
+ };
10568
10670
  url: '/auth/v1/memberships/{user.org_id}/policies/{policy_id}';
10569
10671
  };
10570
10672
  export type AuthV1PolicyServiceGetPolicyResponses = {
@@ -10579,6 +10681,14 @@ export type AuthV1PolicyServiceUpdatePolicyData = {
10579
10681
  * UpdatePolicyRequest
10580
10682
  */
10581
10683
  body: {
10684
+ /**
10685
+ * user
10686
+ */
10687
+ user?: AuthV1UserOrgRequest;
10688
+ /**
10689
+ * policy_id
10690
+ */
10691
+ policy_id?: string;
10582
10692
  /**
10583
10693
  * name
10584
10694
  */
@@ -10595,14 +10705,10 @@ export type AuthV1PolicyServiceUpdatePolicyData = {
10595
10705
  path: {
10596
10706
  /**
10597
10707
  * org_id
10598
- *
10599
- * The user.org_id path parameter.
10600
10708
  */
10601
10709
  'user.org_id': string;
10602
10710
  /**
10603
10711
  * policy_id
10604
- *
10605
- * The policy_id path parameter.
10606
10712
  */
10607
10713
  policy_id: string;
10608
10714
  };
@@ -10621,18 +10727,19 @@ export type AuthV1PolicyServiceListPolicyAttachmentsData = {
10621
10727
  path: {
10622
10728
  /**
10623
10729
  * org_id
10624
- *
10625
- * The user.org_id path parameter.
10626
10730
  */
10627
10731
  'user.org_id': string;
10628
10732
  /**
10629
10733
  * policy_id
10630
- *
10631
- * The policy_id path parameter.
10632
10734
  */
10633
10735
  policy_id: string;
10634
10736
  };
10635
- query?: never;
10737
+ query?: {
10738
+ /**
10739
+ * user_id
10740
+ */
10741
+ 'user.user_id'?: string;
10742
+ };
10636
10743
  url: '/auth/v1/memberships/{user.org_id}/policies/{policy_id}/attachments';
10637
10744
  };
10638
10745
  export type AuthV1PolicyServiceListPolicyAttachmentsResponses = {
@@ -10647,6 +10754,14 @@ export type AuthV1PolicyServiceAttachPolicyData = {
10647
10754
  * AttachPolicyRequest
10648
10755
  */
10649
10756
  body: {
10757
+ /**
10758
+ * user
10759
+ */
10760
+ user?: AuthV1UserOrgRequest;
10761
+ /**
10762
+ * policy_id
10763
+ */
10764
+ policy_id?: string;
10650
10765
  /**
10651
10766
  * identity_type
10652
10767
  */
@@ -10659,14 +10774,10 @@ export type AuthV1PolicyServiceAttachPolicyData = {
10659
10774
  path: {
10660
10775
  /**
10661
10776
  * org_id
10662
- *
10663
- * The user.org_id path parameter.
10664
10777
  */
10665
10778
  'user.org_id': string;
10666
10779
  /**
10667
10780
  * policy_id
10668
- *
10669
- * The policy_id path parameter.
10670
10781
  */
10671
10782
  policy_id: string;
10672
10783
  };
@@ -10686,8 +10797,6 @@ export type AuthV1ProvidersServiceListProvidersData = {
10686
10797
  query?: {
10687
10798
  /**
10688
10799
  * user_id
10689
- *
10690
- * The user_id query parameter.
10691
10800
  */
10692
10801
  user_id?: string;
10693
10802
  };
@@ -10718,16 +10827,12 @@ export type AuthV1ProvidersServiceDisconnectProviderData = {
10718
10827
  path: {
10719
10828
  /**
10720
10829
  * provider
10721
- *
10722
- * The provider path parameter.
10723
10830
  */
10724
10831
  provider: AuthV1ExternalAccountProvider;
10725
10832
  };
10726
10833
  query?: {
10727
10834
  /**
10728
10835
  * user_id
10729
- *
10730
- * The user.user_id query parameter.
10731
10836
  */
10732
10837
  'user.user_id'?: string;
10733
10838
  };
@@ -10876,8 +10981,6 @@ export type AuthV1EmailServiceGetUserEmailStatusData = {
10876
10981
  query?: {
10877
10982
  /**
10878
10983
  * user_id
10879
- *
10880
- * The user_id query parameter.
10881
10984
  */
10882
10985
  user_id?: string;
10883
10986
  };
@@ -10896,8 +10999,6 @@ export type AuthV1UserServiceGetUserInfoData = {
10896
10999
  query?: {
10897
11000
  /**
10898
11001
  * user_id
10899
- *
10900
- * The user_id query parameter.
10901
11002
  */
10902
11003
  user_id?: string;
10903
11004
  };
@@ -10916,8 +11017,6 @@ export type AuthV1UserServiceGetUserData = {
10916
11017
  query?: {
10917
11018
  /**
10918
11019
  * user_id
10919
- *
10920
- * The user_id query parameter.
10921
11020
  */
10922
11021
  user_id?: string;
10923
11022
  };
@@ -10949,8 +11048,6 @@ export type AuthV1UserServiceCreateAvatarUploadData = {
10949
11048
  query?: {
10950
11049
  /**
10951
11050
  * user_id
10952
- *
10953
- * The user_id query parameter.
10954
11051
  */
10955
11052
  user_id?: string;
10956
11053
  };
@@ -10995,8 +11092,6 @@ export type BillingV1InvoiceServiceListInvoicesData = {
10995
11092
  query?: {
10996
11093
  /**
10997
11094
  * org_id
10998
- *
10999
- * The org_id query parameter.
11000
11095
  */
11001
11096
  org_id?: string;
11002
11097
  /**
@@ -11026,6 +11121,10 @@ export type BillingV1InvoiceServiceUpdateInvoiceStatusData = {
11026
11121
  * UpdateInvoiceStatusRequest
11027
11122
  */
11028
11123
  body: {
11124
+ /**
11125
+ * invoice_id
11126
+ */
11127
+ invoice_id: string;
11029
11128
  /**
11030
11129
  * status
11031
11130
  */
@@ -11034,8 +11133,6 @@ export type BillingV1InvoiceServiceUpdateInvoiceStatusData = {
11034
11133
  path: {
11035
11134
  /**
11036
11135
  * invoice_id
11037
- *
11038
- * The invoice_id path parameter.
11039
11136
  */
11040
11137
  invoice_id: string;
11041
11138
  };
@@ -11055,8 +11152,6 @@ export type BillingV1PaymentServiceGetBillingAddressData = {
11055
11152
  query?: {
11056
11153
  /**
11057
11154
  * org_id
11058
- *
11059
- * The org_id query parameter.
11060
11155
  */
11061
11156
  org_id?: string;
11062
11157
  };
@@ -11101,14 +11196,10 @@ export type BillingV1PaymentServiceListPaymentMethodsData = {
11101
11196
  query?: {
11102
11197
  /**
11103
11198
  * org_id
11104
- *
11105
- * The org_id query parameter.
11106
11199
  */
11107
11200
  org_id?: string;
11108
11201
  /**
11109
11202
  * refresh
11110
- *
11111
- * The refresh query parameter.
11112
11203
  */
11113
11204
  refresh?: boolean;
11114
11205
  };
@@ -11140,8 +11231,6 @@ export type BillingV1PaymentServiceGetPaymentMethodFromPaymentIntentData = {
11140
11231
  query?: {
11141
11232
  /**
11142
11233
  * payment_intent_id
11143
- *
11144
- * The payment_intent_id query parameter.
11145
11234
  */
11146
11235
  payment_intent_id?: string;
11147
11236
  };
@@ -11160,8 +11249,6 @@ export type BillingV1PaymentServiceGetPaymentMethodFromSetupIntentData = {
11160
11249
  query?: {
11161
11250
  /**
11162
11251
  * setup_intent_id
11163
- *
11164
- * The setup_intent_id query parameter.
11165
11252
  */
11166
11253
  setup_intent_id?: string;
11167
11254
  };
@@ -11179,16 +11266,12 @@ export type BillingV1PaymentServiceDeletePaymentMethodData = {
11179
11266
  path: {
11180
11267
  /**
11181
11268
  * payment_method_id
11182
- *
11183
- * The payment_method_id path parameter.
11184
11269
  */
11185
11270
  payment_method_id: string;
11186
11271
  };
11187
11272
  query?: {
11188
11273
  /**
11189
11274
  * org_id
11190
- *
11191
- * The org_id query parameter.
11192
11275
  */
11193
11276
  org_id?: string;
11194
11277
  };
@@ -11259,20 +11342,14 @@ export type BillingV1PlanServiceListPlansData = {
11259
11342
  query?: {
11260
11343
  /**
11261
11344
  * currency
11262
- *
11263
- * The currency query parameter.
11264
11345
  */
11265
11346
  currency?: string;
11266
11347
  /**
11267
11348
  * interval
11268
- *
11269
- * The interval query parameter.
11270
11349
  */
11271
11350
  interval?: string;
11272
11351
  /**
11273
11352
  * free
11274
- *
11275
- * The free query parameter.
11276
11353
  */
11277
11354
  free?: string;
11278
11355
  };
@@ -11325,8 +11402,6 @@ export type BillingV1SubscriptionServiceGetSubscriptionData = {
11325
11402
  query?: {
11326
11403
  /**
11327
11404
  * org_id
11328
- *
11329
- * The org_id query parameter.
11330
11405
  */
11331
11406
  org_id?: string;
11332
11407
  };
@@ -11358,8 +11433,6 @@ export type BillingV1SubscriptionServiceCancelSubscriptionData = {
11358
11433
  query?: {
11359
11434
  /**
11360
11435
  * org_id
11361
- *
11362
- * The org_id query parameter.
11363
11436
  */
11364
11437
  org_id?: string;
11365
11438
  };
@@ -11378,8 +11451,6 @@ export type BillingV1SubscriptionServiceGetSubscriptionHistoryData = {
11378
11451
  query?: {
11379
11452
  /**
11380
11453
  * org_id
11381
- *
11382
- * The org_id query parameter.
11383
11454
  */
11384
11455
  org_id?: string;
11385
11456
  /**
@@ -11410,8 +11481,6 @@ export type BillingV1SubscriptionServiceReactivateSubscriptionData = {
11410
11481
  query?: {
11411
11482
  /**
11412
11483
  * org_id
11413
- *
11414
- * The org_id query parameter.
11415
11484
  */
11416
11485
  org_id?: string;
11417
11486
  };
@@ -11430,8 +11499,6 @@ export type BillingV1UsageServiceGetBandwidthUsageData = {
11430
11499
  query?: {
11431
11500
  /**
11432
11501
  * org_id
11433
- *
11434
- * The org_id query parameter.
11435
11502
  */
11436
11503
  org_id?: string;
11437
11504
  };
@@ -11450,14 +11517,10 @@ export type BillingV1UsageServiceGetBandwidthUsageHistoryData = {
11450
11517
  query?: {
11451
11518
  /**
11452
11519
  * org_id
11453
- *
11454
- * The org_id query parameter.
11455
11520
  */
11456
11521
  org_id?: string;
11457
11522
  /**
11458
11523
  * days
11459
- *
11460
- * The days query parameter.
11461
11524
  */
11462
11525
  days?: number;
11463
11526
  };
@@ -11476,8 +11539,6 @@ export type BillingV1UsageServiceRefreshBandwidthUsageData = {
11476
11539
  query?: {
11477
11540
  /**
11478
11541
  * org_id
11479
- *
11480
- * The org_id query parameter.
11481
11542
  */
11482
11543
  org_id?: string;
11483
11544
  };
@@ -11496,8 +11557,6 @@ export type BillingV1UsageServiceGetStorageUsageData = {
11496
11557
  query?: {
11497
11558
  /**
11498
11559
  * org_id
11499
- *
11500
- * The org_id query parameter.
11501
11560
  */
11502
11561
  org_id?: string;
11503
11562
  };
@@ -11516,14 +11575,10 @@ export type BillingV1UsageServiceGetStorageUsageHistoryData = {
11516
11575
  query?: {
11517
11576
  /**
11518
11577
  * org_id
11519
- *
11520
- * The org_id query parameter.
11521
11578
  */
11522
11579
  org_id?: string;
11523
11580
  /**
11524
11581
  * days
11525
- *
11526
- * The days query parameter.
11527
11582
  */
11528
11583
  days?: number;
11529
11584
  };
@@ -11542,8 +11597,6 @@ export type BillingV1UsageServiceRefreshStorageUsageData = {
11542
11597
  query?: {
11543
11598
  /**
11544
11599
  * org_id
11545
- *
11546
- * The org_id query parameter.
11547
11600
  */
11548
11601
  org_id?: string;
11549
11602
  };
@@ -11562,8 +11615,6 @@ export type ClientauthV1ClientCredentialServiceListClientCredentialsData = {
11562
11615
  query?: {
11563
11616
  /**
11564
11617
  * org_id
11565
- *
11566
- * The org_id query parameter.
11567
11618
  */
11568
11619
  org_id?: string;
11569
11620
  /**
@@ -11606,16 +11657,12 @@ export type ClientauthV1ClientCredentialServiceRevokeClientCredentialData = {
11606
11657
  path: {
11607
11658
  /**
11608
11659
  * credential_id
11609
- *
11610
- * The credential_id path parameter.
11611
11660
  */
11612
11661
  credential_id: string;
11613
11662
  };
11614
11663
  query?: {
11615
11664
  /**
11616
11665
  * org_id
11617
- *
11618
- * The org_id query parameter.
11619
11666
  */
11620
11667
  org_id?: string;
11621
11668
  };
@@ -11646,8 +11693,6 @@ export type FeedsV1FeedServiceListFeedsData = {
11646
11693
  path: {
11647
11694
  /**
11648
11695
  * project_id
11649
- *
11650
- * The project_id path parameter.
11651
11696
  */
11652
11697
  project_id: string;
11653
11698
  };
@@ -11679,6 +11724,10 @@ export type FeedsV1FeedServiceCreateFeedData = {
11679
11724
  * CreateFeedRequest
11680
11725
  */
11681
11726
  body: {
11727
+ /**
11728
+ * project_id
11729
+ */
11730
+ project_id?: string;
11682
11731
  /**
11683
11732
  * name
11684
11733
  */
@@ -11711,8 +11760,6 @@ export type FeedsV1FeedServiceCreateFeedData = {
11711
11760
  path: {
11712
11761
  /**
11713
11762
  * project_id
11714
- *
11715
- * The project_id path parameter.
11716
11763
  */
11717
11764
  project_id: string;
11718
11765
  };
@@ -11731,14 +11778,10 @@ export type FeedsV1FeedServiceDeleteFeedData = {
11731
11778
  path: {
11732
11779
  /**
11733
11780
  * project_id
11734
- *
11735
- * The project_id path parameter.
11736
11781
  */
11737
11782
  project_id: string;
11738
11783
  /**
11739
11784
  * feed_id
11740
- *
11741
- * The feed_id path parameter.
11742
11785
  */
11743
11786
  feed_id: string;
11744
11787
  };
@@ -11757,14 +11800,10 @@ export type FeedsV1FeedServiceGetFeedData = {
11757
11800
  path: {
11758
11801
  /**
11759
11802
  * project_id
11760
- *
11761
- * The project_id path parameter.
11762
11803
  */
11763
11804
  project_id: string;
11764
11805
  /**
11765
11806
  * feed_id
11766
- *
11767
- * The feed_id path parameter.
11768
11807
  */
11769
11808
  feed_id: string;
11770
11809
  };
@@ -11783,6 +11822,14 @@ export type FeedsV1FeedServiceUpdateFeedData = {
11783
11822
  * UpdateFeedRequest
11784
11823
  */
11785
11824
  body: {
11825
+ /**
11826
+ * project_id
11827
+ */
11828
+ project_id?: string;
11829
+ /**
11830
+ * feed_id
11831
+ */
11832
+ feed_id?: string;
11786
11833
  /**
11787
11834
  * name
11788
11835
  */
@@ -11815,14 +11862,10 @@ export type FeedsV1FeedServiceUpdateFeedData = {
11815
11862
  path: {
11816
11863
  /**
11817
11864
  * project_id
11818
- *
11819
- * The project_id path parameter.
11820
11865
  */
11821
11866
  project_id: string;
11822
11867
  /**
11823
11868
  * feed_id
11824
- *
11825
- * The feed_id path parameter.
11826
11869
  */
11827
11870
  feed_id: string;
11828
11871
  };
@@ -11880,8 +11923,6 @@ export type ImagesV1ImageServiceGetImageData = {
11880
11923
  path: {
11881
11924
  /**
11882
11925
  * image_id
11883
- *
11884
- * The image_id path parameter.
11885
11926
  */
11886
11927
  image_id: string;
11887
11928
  };
@@ -11900,8 +11941,6 @@ export type ImagesV1ImageServiceListImagesData = {
11900
11941
  path: {
11901
11942
  /**
11902
11943
  * project_id
11903
- *
11904
- * The project_id path parameter.
11905
11944
  */
11906
11945
  project_id: string;
11907
11946
  };
@@ -11920,14 +11959,10 @@ export type ImagesV1ImageServiceListImagesData = {
11920
11959
  'pagination.offset'?: number;
11921
11960
  /**
11922
11961
  * sort_field
11923
- *
11924
- * The sort_field query parameter.
11925
11962
  */
11926
11963
  sort_field?: string;
11927
11964
  /**
11928
11965
  * sort_direction
11929
- *
11930
- * The sort_direction query parameter.
11931
11966
  */
11932
11967
  sort_direction?: string;
11933
11968
  };
@@ -11945,6 +11980,10 @@ export type ImagesV1ImageServiceCreateImageUploadData = {
11945
11980
  * CreateImageUploadRequest
11946
11981
  */
11947
11982
  body: {
11983
+ /**
11984
+ * project_id
11985
+ */
11986
+ project_id?: string;
11948
11987
  /**
11949
11988
  * org_id
11950
11989
  */
@@ -11957,8 +11996,6 @@ export type ImagesV1ImageServiceCreateImageUploadData = {
11957
11996
  path: {
11958
11997
  /**
11959
11998
  * project_id
11960
- *
11961
- * The project_id path parameter.
11962
11999
  */
11963
12000
  project_id: string;
11964
12001
  };
@@ -11977,14 +12014,10 @@ export type ImagesV1ImageServiceDeleteImageData = {
11977
12014
  path: {
11978
12015
  /**
11979
12016
  * project_id
11980
- *
11981
- * The project_id path parameter.
11982
12017
  */
11983
12018
  project_id: string;
11984
12019
  /**
11985
12020
  * image_id
11986
- *
11987
- * The image_id path parameter.
11988
12021
  */
11989
12022
  image_id: string;
11990
12023
  };
@@ -12003,6 +12036,14 @@ export type ImagesV1ImageServiceUpdateImageVisibilityData = {
12003
12036
  * UpdateImageVisibilityRequest
12004
12037
  */
12005
12038
  body: {
12039
+ /**
12040
+ * project_id
12041
+ */
12042
+ project_id?: string;
12043
+ /**
12044
+ * image_id
12045
+ */
12046
+ image_id?: string;
12006
12047
  /**
12007
12048
  * visibility
12008
12049
  */
@@ -12011,14 +12052,10 @@ export type ImagesV1ImageServiceUpdateImageVisibilityData = {
12011
12052
  path: {
12012
12053
  /**
12013
12054
  * project_id
12014
- *
12015
- * The project_id path parameter.
12016
12055
  */
12017
12056
  project_id: string;
12018
12057
  /**
12019
12058
  * image_id
12020
- *
12021
- * The image_id path parameter.
12022
12059
  */
12023
12060
  image_id: string;
12024
12061
  };
@@ -12063,16 +12100,12 @@ export type PostsV1PostServiceListPosts3Data = {
12063
12100
  path: {
12064
12101
  /**
12065
12102
  * feed_id
12066
- *
12067
- * The feed_id path parameter.
12068
12103
  */
12069
12104
  feed_id: string;
12070
12105
  };
12071
12106
  query?: {
12072
12107
  /**
12073
12108
  * project_id
12074
- *
12075
- * The project_id query parameter.
12076
12109
  */
12077
12110
  project_id?: string;
12078
12111
  /**
@@ -12089,8 +12122,6 @@ export type PostsV1PostServiceListPosts3Data = {
12089
12122
  'pagination.offset'?: number;
12090
12123
  /**
12091
12124
  * creator_id
12092
- *
12093
- * The creator_id query parameter.
12094
12125
  */
12095
12126
  creator_id?: string;
12096
12127
  };
@@ -12108,22 +12139,16 @@ export type PostsV1PostServiceListPosts4Data = {
12108
12139
  path: {
12109
12140
  /**
12110
12141
  * feed_id
12111
- *
12112
- * The feed_id path parameter.
12113
12142
  */
12114
12143
  feed_id: string;
12115
12144
  /**
12116
12145
  * creator_id
12117
- *
12118
- * The creator_id path parameter.
12119
12146
  */
12120
12147
  creator_id: string;
12121
12148
  };
12122
12149
  query?: {
12123
12150
  /**
12124
12151
  * project_id
12125
- *
12126
- * The project_id query parameter.
12127
12152
  */
12128
12153
  project_id?: string;
12129
12154
  /**
@@ -12160,16 +12185,12 @@ export type PostsV1PostServiceGetPost3Data = {
12160
12185
  feed_id: string;
12161
12186
  /**
12162
12187
  * post_id
12163
- *
12164
- * The post_id path parameter.
12165
12188
  */
12166
12189
  post_id: string;
12167
12190
  };
12168
12191
  query?: {
12169
12192
  /**
12170
12193
  * project_id
12171
- *
12172
- * The project_id query parameter.
12173
12194
  */
12174
12195
  project_id?: string;
12175
12196
  };
@@ -12187,14 +12208,10 @@ export type PostsV1PostServiceListPostsData = {
12187
12208
  path: {
12188
12209
  /**
12189
12210
  * project_id
12190
- *
12191
- * The project_id path parameter.
12192
12211
  */
12193
12212
  project_id: string;
12194
12213
  /**
12195
12214
  * feed_id
12196
- *
12197
- * The feed_id path parameter.
12198
12215
  */
12199
12216
  feed_id: string;
12200
12217
  };
@@ -12213,8 +12230,6 @@ export type PostsV1PostServiceListPostsData = {
12213
12230
  'pagination.offset'?: number;
12214
12231
  /**
12215
12232
  * creator_id
12216
- *
12217
- * The creator_id query parameter.
12218
12233
  */
12219
12234
  creator_id?: string;
12220
12235
  };
@@ -12228,21 +12243,22 @@ export type PostsV1PostServiceListPostsResponses = {
12228
12243
  };
12229
12244
  export type PostsV1PostServiceListPostsResponse = PostsV1PostServiceListPostsResponses[keyof PostsV1PostServiceListPostsResponses];
12230
12245
  export type PostsV1PostServiceCreatePostData = {
12231
- body: ({
12232
- /**
12233
- * image_id
12234
- */
12235
- image_id?: string;
12236
- } | {
12246
+ /**
12247
+ * CreatePostRequest
12248
+ */
12249
+ body: {
12237
12250
  /**
12238
- * video_id
12251
+ * project_id
12239
12252
  */
12240
- video_id?: string;
12241
- }) & {
12253
+ project_id?: string;
12242
12254
  /**
12243
12255
  * org_id
12244
12256
  */
12245
12257
  org_id?: string;
12258
+ /**
12259
+ * feed_id
12260
+ */
12261
+ feed_id?: string;
12246
12262
  /**
12247
12263
  * creator_id
12248
12264
  */
@@ -12255,18 +12271,24 @@ export type PostsV1PostServiceCreatePostData = {
12255
12271
  * description
12256
12272
  */
12257
12273
  description?: string;
12258
- };
12274
+ } & ({
12275
+ /**
12276
+ * image_id
12277
+ */
12278
+ image_id: string;
12279
+ } | {
12280
+ /**
12281
+ * video_id
12282
+ */
12283
+ video_id: string;
12284
+ });
12259
12285
  path: {
12260
12286
  /**
12261
12287
  * project_id
12262
- *
12263
- * The project_id path parameter.
12264
12288
  */
12265
12289
  project_id: string;
12266
12290
  /**
12267
12291
  * feed_id
12268
- *
12269
- * The feed_id path parameter.
12270
12292
  */
12271
12293
  feed_id: string;
12272
12294
  };
@@ -12285,20 +12307,14 @@ export type PostsV1PostServiceListPosts2Data = {
12285
12307
  path: {
12286
12308
  /**
12287
12309
  * project_id
12288
- *
12289
- * The project_id path parameter.
12290
12310
  */
12291
12311
  project_id: string;
12292
12312
  /**
12293
12313
  * feed_id
12294
- *
12295
- * The feed_id path parameter.
12296
12314
  */
12297
12315
  feed_id: string;
12298
12316
  /**
12299
12317
  * creator_id
12300
- *
12301
- * The creator_id path parameter.
12302
12318
  */
12303
12319
  creator_id: string;
12304
12320
  };
@@ -12330,10 +12346,18 @@ export type PostsV1PostServiceCreatePostUploadData = {
12330
12346
  * CreatePostUploadRequest
12331
12347
  */
12332
12348
  body: {
12349
+ /**
12350
+ * project_id
12351
+ */
12352
+ project_id?: string;
12333
12353
  /**
12334
12354
  * org_id
12335
12355
  */
12336
12356
  org_id?: string;
12357
+ /**
12358
+ * feed_id
12359
+ */
12360
+ feed_id?: string;
12337
12361
  /**
12338
12362
  * creator_id
12339
12363
  */
@@ -12358,14 +12382,10 @@ export type PostsV1PostServiceCreatePostUploadData = {
12358
12382
  path: {
12359
12383
  /**
12360
12384
  * project_id
12361
- *
12362
- * The project_id path parameter.
12363
12385
  */
12364
12386
  project_id: string;
12365
12387
  /**
12366
12388
  * feed_id
12367
- *
12368
- * The feed_id path parameter.
12369
12389
  */
12370
12390
  feed_id: string;
12371
12391
  };
@@ -12384,8 +12404,6 @@ export type PostsV1PostServiceDeletePost2Data = {
12384
12404
  path: {
12385
12405
  /**
12386
12406
  * project_id
12387
- *
12388
- * The project_id path parameter.
12389
12407
  */
12390
12408
  project_id: string;
12391
12409
  /**
@@ -12397,8 +12415,6 @@ export type PostsV1PostServiceDeletePost2Data = {
12397
12415
  feed_id: string;
12398
12416
  /**
12399
12417
  * post_id
12400
- *
12401
- * The post_id path parameter.
12402
12418
  */
12403
12419
  post_id: string;
12404
12420
  };
@@ -12417,8 +12433,6 @@ export type PostsV1PostServiceGetPost2Data = {
12417
12433
  path: {
12418
12434
  /**
12419
12435
  * project_id
12420
- *
12421
- * The project_id path parameter.
12422
12436
  */
12423
12437
  project_id: string;
12424
12438
  /**
@@ -12430,8 +12444,6 @@ export type PostsV1PostServiceGetPost2Data = {
12430
12444
  feed_id: string;
12431
12445
  /**
12432
12446
  * post_id
12433
- *
12434
- * The post_id path parameter.
12435
12447
  */
12436
12448
  post_id: string;
12437
12449
  };
@@ -12450,14 +12462,10 @@ export type PostsV1PostServiceDeletePostData = {
12450
12462
  path: {
12451
12463
  /**
12452
12464
  * project_id
12453
- *
12454
- * The project_id path parameter.
12455
12465
  */
12456
12466
  project_id: string;
12457
12467
  /**
12458
12468
  * post_id
12459
- *
12460
- * The post_id path parameter.
12461
12469
  */
12462
12470
  post_id: string;
12463
12471
  };
@@ -12484,14 +12492,10 @@ export type PostsV1PostServiceGetPostData = {
12484
12492
  path: {
12485
12493
  /**
12486
12494
  * project_id
12487
- *
12488
- * The project_id path parameter.
12489
12495
  */
12490
12496
  project_id: string;
12491
12497
  /**
12492
12498
  * post_id
12493
- *
12494
- * The post_id path parameter.
12495
12499
  */
12496
12500
  post_id: string;
12497
12501
  };
@@ -12518,8 +12522,6 @@ export type ProjectV1ProjectServiceListProjectsData = {
12518
12522
  path: {
12519
12523
  /**
12520
12524
  * org_id
12521
- *
12522
- * The org_id path parameter.
12523
12525
  */
12524
12526
  org_id: string;
12525
12527
  };
@@ -12538,6 +12540,10 @@ export type ProjectV1ProjectServiceCreateProjectData = {
12538
12540
  * CreateProjectRequest
12539
12541
  */
12540
12542
  body: {
12543
+ /**
12544
+ * org_id
12545
+ */
12546
+ org_id?: string;
12541
12547
  /**
12542
12548
  * name
12543
12549
  */
@@ -12554,8 +12560,6 @@ export type ProjectV1ProjectServiceCreateProjectData = {
12554
12560
  path: {
12555
12561
  /**
12556
12562
  * org_id
12557
- *
12558
- * The org_id path parameter.
12559
12563
  */
12560
12564
  org_id: string;
12561
12565
  };
@@ -12574,14 +12578,10 @@ export type ProjectV1ProjectServiceDeleteProjectData = {
12574
12578
  path: {
12575
12579
  /**
12576
12580
  * org_id
12577
- *
12578
- * The org_id path parameter.
12579
12581
  */
12580
12582
  org_id: string;
12581
12583
  /**
12582
12584
  * project_id
12583
- *
12584
- * The project_id path parameter.
12585
12585
  */
12586
12586
  project_id: string;
12587
12587
  };
@@ -12600,14 +12600,10 @@ export type ProjectV1ProjectServiceGetProjectData = {
12600
12600
  path: {
12601
12601
  /**
12602
12602
  * org_id
12603
- *
12604
- * The org_id path parameter.
12605
12603
  */
12606
12604
  org_id: string;
12607
12605
  /**
12608
12606
  * project_id
12609
- *
12610
- * The project_id path parameter.
12611
12607
  */
12612
12608
  project_id: string;
12613
12609
  };
@@ -12626,14 +12622,10 @@ export type ProjectV1ProjectServiceRemoveCustomDomainData = {
12626
12622
  path: {
12627
12623
  /**
12628
12624
  * org_id
12629
- *
12630
- * The org_id path parameter.
12631
12625
  */
12632
12626
  org_id: string;
12633
12627
  /**
12634
12628
  * project_id
12635
- *
12636
- * The project_id path parameter.
12637
12629
  */
12638
12630
  project_id: string;
12639
12631
  };
@@ -12652,6 +12644,14 @@ export type ProjectV1ProjectServiceSetCustomDomainData = {
12652
12644
  * SetCustomDomainRequest
12653
12645
  */
12654
12646
  body: {
12647
+ /**
12648
+ * project_id
12649
+ */
12650
+ project_id?: string;
12651
+ /**
12652
+ * org_id
12653
+ */
12654
+ org_id?: string;
12655
12655
  /**
12656
12656
  * custom_domain
12657
12657
  */
@@ -12660,14 +12660,10 @@ export type ProjectV1ProjectServiceSetCustomDomainData = {
12660
12660
  path: {
12661
12661
  /**
12662
12662
  * org_id
12663
- *
12664
- * The org_id path parameter.
12665
12663
  */
12666
12664
  org_id: string;
12667
12665
  /**
12668
12666
  * project_id
12669
- *
12670
- * The project_id path parameter.
12671
12667
  */
12672
12668
  project_id: string;
12673
12669
  };
@@ -12686,6 +12682,14 @@ export type ProjectV1ProjectServiceMoveProjectData = {
12686
12682
  * MoveProjectRequest
12687
12683
  */
12688
12684
  body: {
12685
+ /**
12686
+ * project_id
12687
+ */
12688
+ project_id?: string;
12689
+ /**
12690
+ * org_id
12691
+ */
12692
+ org_id?: string;
12689
12693
  /**
12690
12694
  * target_organization_id
12691
12695
  */
@@ -12694,14 +12698,10 @@ export type ProjectV1ProjectServiceMoveProjectData = {
12694
12698
  path: {
12695
12699
  /**
12696
12700
  * org_id
12697
- *
12698
- * The org_id path parameter.
12699
12701
  */
12700
12702
  org_id: string;
12701
12703
  /**
12702
12704
  * project_id
12703
- *
12704
- * The project_id path parameter.
12705
12705
  */
12706
12706
  project_id: string;
12707
12707
  };
@@ -12720,6 +12720,14 @@ export type ProjectV1ProjectServiceUpdateProjectNameData = {
12720
12720
  * UpdateProjectNameRequest
12721
12721
  */
12722
12722
  body: {
12723
+ /**
12724
+ * project_id
12725
+ */
12726
+ project_id?: string;
12727
+ /**
12728
+ * org_id
12729
+ */
12730
+ org_id?: string;
12723
12731
  /**
12724
12732
  * name
12725
12733
  */
@@ -12728,14 +12736,10 @@ export type ProjectV1ProjectServiceUpdateProjectNameData = {
12728
12736
  path: {
12729
12737
  /**
12730
12738
  * org_id
12731
- *
12732
- * The org_id path parameter.
12733
12739
  */
12734
12740
  org_id: string;
12735
12741
  /**
12736
12742
  * project_id
12737
- *
12738
- * The project_id path parameter.
12739
12743
  */
12740
12744
  project_id: string;
12741
12745
  };
@@ -12754,6 +12758,14 @@ export type ProjectV1ProjectServiceUpdateVideoQualityData = {
12754
12758
  * UpdateVideoQualityRequest
12755
12759
  */
12756
12760
  body: {
12761
+ /**
12762
+ * project_id
12763
+ */
12764
+ project_id?: string;
12765
+ /**
12766
+ * org_id
12767
+ */
12768
+ org_id?: string;
12757
12769
  /**
12758
12770
  * video_quality
12759
12771
  */
@@ -12762,14 +12774,10 @@ export type ProjectV1ProjectServiceUpdateVideoQualityData = {
12762
12774
  path: {
12763
12775
  /**
12764
12776
  * org_id
12765
- *
12766
- * The org_id path parameter.
12767
12777
  */
12768
12778
  org_id: string;
12769
12779
  /**
12770
12780
  * project_id
12771
- *
12772
- * The project_id path parameter.
12773
12781
  */
12774
12782
  project_id: string;
12775
12783
  };
@@ -12788,13 +12796,99 @@ export type SupportV1SupportChatServiceListChatMessagesData = {
12788
12796
  path?: never;
12789
12797
  query?: {
12790
12798
  /**
12791
- * A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
12799
+ * A Timestamp represents a point in time independent of any time zone or local
12800
+ * calendar, encoded as a count of seconds and fractions of seconds at
12801
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
12802
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
12803
+ * Gregorian calendar backwards to year one.
12804
+ *
12805
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
12806
+ * second table is needed for interpretation, using a [24-hour linear
12807
+ * smear](https://developers.google.com/time/smear).
12808
+ *
12809
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
12810
+ * restricting to that range, we ensure that we can convert to and from [RFC
12811
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
12812
+ *
12813
+ * # Examples
12814
+ *
12815
+ * Example 1: Compute Timestamp from POSIX `time()`.
12816
+ *
12817
+ * Timestamp timestamp;
12818
+ * timestamp.set_seconds(time(NULL));
12819
+ * timestamp.set_nanos(0);
12820
+ *
12821
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
12822
+ *
12823
+ * struct timeval tv;
12824
+ * gettimeofday(&tv, NULL);
12825
+ *
12826
+ * Timestamp timestamp;
12827
+ * timestamp.set_seconds(tv.tv_sec);
12828
+ * timestamp.set_nanos(tv.tv_usec * 1000);
12829
+ *
12830
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
12831
+ *
12832
+ * FILETIME ft;
12833
+ * GetSystemTimeAsFileTime(&ft);
12834
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
12835
+ *
12836
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
12837
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
12838
+ * Timestamp timestamp;
12839
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
12840
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
12841
+ *
12842
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
12843
+ *
12844
+ * long millis = System.currentTimeMillis();
12845
+ *
12846
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
12847
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
12848
+ *
12849
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
12850
+ *
12851
+ * Instant now = Instant.now();
12852
+ *
12853
+ * Timestamp timestamp =
12854
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
12855
+ * .setNanos(now.getNano()).build();
12856
+ *
12857
+ * Example 6: Compute Timestamp from current time in Python.
12858
+ *
12859
+ * timestamp = Timestamp()
12860
+ * timestamp.GetCurrentTime()
12861
+ *
12862
+ * # JSON Mapping
12863
+ *
12864
+ * In JSON format, the Timestamp type is encoded as a string in the
12865
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
12866
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
12867
+ * where {year} is always expressed using four digits while {month}, {day},
12868
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
12869
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
12870
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
12871
+ * is required. A proto3 JSON serializer should always use UTC (as indicated by
12872
+ * "Z") when printing the Timestamp type and a proto3 JSON parser should be
12873
+ * able to accept both UTC and other timezones (as indicated by an offset).
12874
+ *
12875
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
12876
+ * 01:30 UTC on January 15, 2017.
12877
+ *
12878
+ * In JavaScript, one can convert a Date object to this format using the
12879
+ * standard
12880
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
12881
+ * method. In Python, a standard `datetime.datetime` object can be converted
12882
+ * to this format using
12883
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
12884
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
12885
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
12886
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
12887
+ * ) to obtain a formatter capable of generating timestamps in this format.
12792
12888
  */
12793
12889
  after?: string;
12794
12890
  /**
12795
12891
  * limit
12796
- *
12797
- * The limit query parameter.
12798
12892
  */
12799
12893
  limit?: number;
12800
12894
  };
@@ -12838,16 +12932,12 @@ export type SupportV1SupportTicketServiceListTopics2Data = {
12838
12932
  path: {
12839
12933
  /**
12840
12934
  * category_id
12841
- *
12842
- * The category_id path parameter.
12843
12935
  */
12844
12936
  category_id: string;
12845
12937
  };
12846
12938
  query?: {
12847
12939
  /**
12848
12940
  * query
12849
- *
12850
- * The query query parameter.
12851
12941
  */
12852
12942
  query?: string;
12853
12943
  };
@@ -12878,8 +12968,6 @@ export type SupportV1SupportTicketServiceListTicketsData = {
12878
12968
  'pagination.offset'?: number;
12879
12969
  /**
12880
12970
  * status
12881
- *
12882
- * The status query parameter.
12883
12971
  */
12884
12972
  status?: SupportV1TicketStatus;
12885
12973
  };
@@ -12910,8 +12998,6 @@ export type SupportV1SupportTicketServiceGetTicketData = {
12910
12998
  path: {
12911
12999
  /**
12912
13000
  * ticket_id
12913
- *
12914
- * The ticket_id path parameter.
12915
13001
  */
12916
13002
  ticket_id: string;
12917
13003
  };
@@ -12926,12 +13012,18 @@ export type SupportV1SupportTicketServiceGetTicketResponses = {
12926
13012
  };
12927
13013
  export type SupportV1SupportTicketServiceGetTicketResponse = SupportV1SupportTicketServiceGetTicketResponses[keyof SupportV1SupportTicketServiceGetTicketResponses];
12928
13014
  export type SupportV1SupportTicketServiceCloseTicketData = {
12929
- body?: never;
13015
+ /**
13016
+ * CloseTicketRequest
13017
+ */
13018
+ body: {
13019
+ /**
13020
+ * ticket_id
13021
+ */
13022
+ ticket_id?: string;
13023
+ };
12930
13024
  path: {
12931
13025
  /**
12932
13026
  * ticket_id
12933
- *
12934
- * The ticket_id path parameter.
12935
13027
  */
12936
13028
  ticket_id: string;
12937
13029
  };
@@ -12950,6 +13042,10 @@ export type SupportV1SupportTicketServiceAddTicketMessageData = {
12950
13042
  * AddTicketMessageRequest
12951
13043
  */
12952
13044
  body: {
13045
+ /**
13046
+ * ticket_id
13047
+ */
13048
+ ticket_id?: string;
12953
13049
  /**
12954
13050
  * body
12955
13051
  */
@@ -12958,8 +13054,6 @@ export type SupportV1SupportTicketServiceAddTicketMessageData = {
12958
13054
  path: {
12959
13055
  /**
12960
13056
  * ticket_id
12961
- *
12962
- * The ticket_id path parameter.
12963
13057
  */
12964
13058
  ticket_id: string;
12965
13059
  };
@@ -12979,14 +13073,10 @@ export type SupportV1SupportTicketServiceListTopicsData = {
12979
13073
  query?: {
12980
13074
  /**
12981
13075
  * category_id
12982
- *
12983
- * The category_id query parameter.
12984
13076
  */
12985
13077
  category_id?: string;
12986
13078
  /**
12987
13079
  * query
12988
- *
12989
- * The query query parameter.
12990
13080
  */
12991
13081
  query?: string;
12992
13082
  };
@@ -13004,14 +13094,10 @@ export type VideosV1AudioTrackServiceDeleteAllAudioTracksData = {
13004
13094
  path: {
13005
13095
  /**
13006
13096
  * project_id
13007
- *
13008
- * The project_id path parameter.
13009
13097
  */
13010
13098
  project_id: string;
13011
13099
  /**
13012
13100
  * video_id
13013
- *
13014
- * The video_id path parameter.
13015
13101
  */
13016
13102
  video_id: string;
13017
13103
  };
@@ -13030,20 +13116,14 @@ export type VideosV1AudioTrackServiceDeleteAudioTracksByLanguageData = {
13030
13116
  path: {
13031
13117
  /**
13032
13118
  * project_id
13033
- *
13034
- * The project_id path parameter.
13035
13119
  */
13036
13120
  project_id: string;
13037
13121
  /**
13038
13122
  * video_id
13039
- *
13040
- * The video_id path parameter.
13041
13123
  */
13042
13124
  video_id: string;
13043
13125
  /**
13044
13126
  * language_code
13045
- *
13046
- * The language_code path parameter.
13047
13127
  */
13048
13128
  language_code: string;
13049
13129
  };
@@ -13062,10 +13142,18 @@ export type VideosV1AudioTrackServiceCreateAudioTrackUploadData = {
13062
13142
  * CreateTrackUploadRequest
13063
13143
  */
13064
13144
  body: {
13145
+ /**
13146
+ * project_id
13147
+ */
13148
+ project_id?: string;
13065
13149
  /**
13066
13150
  * org_id
13067
13151
  */
13068
13152
  org_id?: string;
13153
+ /**
13154
+ * video_id
13155
+ */
13156
+ video_id?: string;
13069
13157
  /**
13070
13158
  * items
13071
13159
  */
@@ -13074,14 +13162,10 @@ export type VideosV1AudioTrackServiceCreateAudioTrackUploadData = {
13074
13162
  path: {
13075
13163
  /**
13076
13164
  * project_id
13077
- *
13078
- * The project_id path parameter.
13079
13165
  */
13080
13166
  project_id: string;
13081
13167
  /**
13082
13168
  * video_id
13083
- *
13084
- * The video_id path parameter.
13085
13169
  */
13086
13170
  video_id: string;
13087
13171
  };
@@ -13100,20 +13184,14 @@ export type VideosV1AudioTrackServiceDeleteAudioTrackData = {
13100
13184
  path: {
13101
13185
  /**
13102
13186
  * project_id
13103
- *
13104
- * The project_id path parameter.
13105
13187
  */
13106
13188
  project_id: string;
13107
13189
  /**
13108
13190
  * video_id
13109
- *
13110
- * The video_id path parameter.
13111
13191
  */
13112
13192
  video_id: string;
13113
13193
  /**
13114
13194
  * track_id
13115
- *
13116
- * The track_id path parameter.
13117
13195
  */
13118
13196
  track_id: string;
13119
13197
  };
@@ -13132,8 +13210,6 @@ export type VideosV1AudioTrackServiceListAudioTracksData = {
13132
13210
  path: {
13133
13211
  /**
13134
13212
  * video_id
13135
- *
13136
- * The video_id path parameter.
13137
13213
  */
13138
13214
  video_id: string;
13139
13215
  };
@@ -13147,58 +13223,46 @@ export type VideosV1AudioTrackServiceListAudioTracksResponses = {
13147
13223
  200: VideosV1ListAudioTracksResponse;
13148
13224
  };
13149
13225
  export type VideosV1AudioTrackServiceListAudioTracksResponse = VideosV1AudioTrackServiceListAudioTracksResponses[keyof VideosV1AudioTrackServiceListAudioTracksResponses];
13150
- export type VideosV1ChapterServiceUpdateVideoChapters2Data = {
13226
+ export type VideosV1ChapterServiceUpdateVideoChaptersData = {
13151
13227
  body?: never;
13152
13228
  path: {
13153
13229
  /**
13154
13230
  * project_id
13155
- *
13156
- * The project_id path parameter.
13157
13231
  */
13158
13232
  project_id: string;
13159
13233
  /**
13160
13234
  * video_id
13161
- *
13162
- * The video_id path parameter.
13163
13235
  */
13164
13236
  video_id: string;
13165
13237
  };
13166
13238
  query?: {
13167
13239
  /**
13168
13240
  * title
13169
- *
13170
- * The chapters.title query parameter.
13171
13241
  */
13172
13242
  'chapters.title'?: string;
13173
13243
  /**
13174
13244
  * start_time_sec
13175
- *
13176
- * The chapters.start_time_sec query parameter.
13177
13245
  */
13178
13246
  'chapters.start_time_sec'?: number;
13179
13247
  };
13180
13248
  url: '/media/v1/projects/{project_id}/videos/{video_id}/chapters';
13181
13249
  };
13182
- export type VideosV1ChapterServiceUpdateVideoChapters2Responses = {
13250
+ export type VideosV1ChapterServiceUpdateVideoChaptersResponses = {
13183
13251
  /**
13184
13252
  * Success
13185
13253
  */
13186
13254
  200: VideosV1VideoChapters;
13187
13255
  };
13188
- export type VideosV1ChapterServiceUpdateVideoChapters2Response = VideosV1ChapterServiceUpdateVideoChapters2Responses[keyof VideosV1ChapterServiceUpdateVideoChapters2Responses];
13256
+ export type VideosV1ChapterServiceUpdateVideoChaptersResponse = VideosV1ChapterServiceUpdateVideoChaptersResponses[keyof VideosV1ChapterServiceUpdateVideoChaptersResponses];
13189
13257
  export type VideosV1ChapterServiceGetVideoChaptersData = {
13190
13258
  body?: never;
13191
13259
  path: {
13192
13260
  /**
13193
13261
  * project_id
13194
- *
13195
- * The project_id path parameter.
13196
13262
  */
13197
13263
  project_id: string;
13198
13264
  /**
13199
13265
  * video_id
13200
- *
13201
- * The video_id path parameter.
13202
13266
  */
13203
13267
  video_id: string;
13204
13268
  };
@@ -13212,61 +13276,21 @@ export type VideosV1ChapterServiceGetVideoChaptersResponses = {
13212
13276
  200: VideosV1VideoChapters;
13213
13277
  };
13214
13278
  export type VideosV1ChapterServiceGetVideoChaptersResponse = VideosV1ChapterServiceGetVideoChaptersResponses[keyof VideosV1ChapterServiceGetVideoChaptersResponses];
13215
- export type VideosV1ChapterServiceUpdateVideoChaptersData = {
13216
- /**
13217
- * UpdateVideoChaptersRequest
13218
- */
13219
- body: {
13220
- /**
13221
- * chapters
13222
- */
13223
- chapters?: Array<VideosV1Chapter>;
13224
- };
13225
- path: {
13226
- /**
13227
- * project_id
13228
- *
13229
- * The project_id path parameter.
13230
- */
13231
- project_id: string;
13232
- /**
13233
- * video_id
13234
- *
13235
- * The video_id path parameter.
13236
- */
13237
- video_id: string;
13238
- };
13239
- query?: never;
13240
- url: '/media/v1/projects/{project_id}/videos/{video_id}/chapters';
13241
- };
13242
- export type VideosV1ChapterServiceUpdateVideoChaptersResponses = {
13243
- /**
13244
- * Success
13245
- */
13246
- 200: VideosV1VideoChapters;
13247
- };
13248
- export type VideosV1ChapterServiceUpdateVideoChaptersResponse = VideosV1ChapterServiceUpdateVideoChaptersResponses[keyof VideosV1ChapterServiceUpdateVideoChaptersResponses];
13249
13279
  export type VideosV1ChapterServiceDeleteVideoChapterData = {
13250
13280
  body?: never;
13251
13281
  path: {
13252
13282
  /**
13253
13283
  * project_id
13254
- *
13255
- * The project_id path parameter.
13256
13284
  */
13257
13285
  project_id: string;
13258
13286
  /**
13259
13287
  * video_id
13260
- *
13261
- * The video_id path parameter.
13262
13288
  */
13263
13289
  video_id: string;
13264
13290
  /**
13265
13291
  * start_time_sec
13266
- *
13267
- * The start_time_sec path parameter.
13268
13292
  */
13269
- start_time_sec: string;
13293
+ start_time_sec: number | string;
13270
13294
  };
13271
13295
  query?: never;
13272
13296
  url: '/media/v1/projects/{project_id}/videos/{video_id}/chapters/{start_time_sec}';
@@ -13322,14 +13346,10 @@ export type VideosV1SubtitleServiceDeleteAllSubtitlesData = {
13322
13346
  path: {
13323
13347
  /**
13324
13348
  * project_id
13325
- *
13326
- * The project_id path parameter.
13327
13349
  */
13328
13350
  project_id: string;
13329
13351
  /**
13330
13352
  * video_id
13331
- *
13332
- * The video_id path parameter.
13333
13353
  */
13334
13354
  video_id: string;
13335
13355
  };
@@ -13348,20 +13368,14 @@ export type VideosV1SubtitleServiceDeleteSubtitlesByLanguageData = {
13348
13368
  path: {
13349
13369
  /**
13350
13370
  * project_id
13351
- *
13352
- * The project_id path parameter.
13353
13371
  */
13354
13372
  project_id: string;
13355
13373
  /**
13356
13374
  * video_id
13357
- *
13358
- * The video_id path parameter.
13359
13375
  */
13360
13376
  video_id: string;
13361
13377
  /**
13362
13378
  * language_code
13363
- *
13364
- * The language_code path parameter.
13365
13379
  */
13366
13380
  language_code: string;
13367
13381
  };
@@ -13380,10 +13394,18 @@ export type VideosV1SubtitleServiceCreateSubtitleUploadData = {
13380
13394
  * CreateTrackUploadRequest
13381
13395
  */
13382
13396
  body: {
13397
+ /**
13398
+ * project_id
13399
+ */
13400
+ project_id?: string;
13383
13401
  /**
13384
13402
  * org_id
13385
13403
  */
13386
13404
  org_id?: string;
13405
+ /**
13406
+ * video_id
13407
+ */
13408
+ video_id?: string;
13387
13409
  /**
13388
13410
  * items
13389
13411
  */
@@ -13392,14 +13414,10 @@ export type VideosV1SubtitleServiceCreateSubtitleUploadData = {
13392
13414
  path: {
13393
13415
  /**
13394
13416
  * project_id
13395
- *
13396
- * The project_id path parameter.
13397
13417
  */
13398
13418
  project_id: string;
13399
13419
  /**
13400
13420
  * video_id
13401
- *
13402
- * The video_id path parameter.
13403
13421
  */
13404
13422
  video_id: string;
13405
13423
  };
@@ -13418,20 +13436,14 @@ export type VideosV1SubtitleServiceDeleteSubtitleData = {
13418
13436
  path: {
13419
13437
  /**
13420
13438
  * project_id
13421
- *
13422
- * The project_id path parameter.
13423
13439
  */
13424
13440
  project_id: string;
13425
13441
  /**
13426
13442
  * video_id
13427
- *
13428
- * The video_id path parameter.
13429
13443
  */
13430
13444
  video_id: string;
13431
13445
  /**
13432
13446
  * subtitle_id
13433
- *
13434
- * The subtitle_id path parameter.
13435
13447
  */
13436
13448
  subtitle_id: string;
13437
13449
  };
@@ -13450,8 +13462,6 @@ export type VideosV1SubtitleServiceListSubtitlesData = {
13450
13462
  path: {
13451
13463
  /**
13452
13464
  * video_id
13453
- *
13454
- * The video_id path parameter.
13455
13465
  */
13456
13466
  video_id: string;
13457
13467
  };
@@ -13470,8 +13480,6 @@ export type VideosV1VideoServiceListVideosData = {
13470
13480
  path: {
13471
13481
  /**
13472
13482
  * project_id
13473
- *
13474
- * The project_id path parameter.
13475
13483
  */
13476
13484
  project_id: string;
13477
13485
  };
@@ -13490,14 +13498,10 @@ export type VideosV1VideoServiceListVideosData = {
13490
13498
  'pagination.offset'?: number;
13491
13499
  /**
13492
13500
  * sort_field
13493
- *
13494
- * The sort_field query parameter.
13495
13501
  */
13496
13502
  sort_field?: string;
13497
13503
  /**
13498
13504
  * sort_direction
13499
- *
13500
- * The sort_direction query parameter.
13501
13505
  */
13502
13506
  sort_direction?: string;
13503
13507
  };
@@ -13515,6 +13519,10 @@ export type VideosV1VideoServiceCreateVideoUploadData = {
13515
13519
  * CreateVideoUploadRequest
13516
13520
  */
13517
13521
  body: {
13522
+ /**
13523
+ * project_id
13524
+ */
13525
+ project_id?: string;
13518
13526
  /**
13519
13527
  * org_id
13520
13528
  */
@@ -13531,8 +13539,6 @@ export type VideosV1VideoServiceCreateVideoUploadData = {
13531
13539
  path: {
13532
13540
  /**
13533
13541
  * project_id
13534
- *
13535
- * The project_id path parameter.
13536
13542
  */
13537
13543
  project_id: string;
13538
13544
  };
@@ -13551,14 +13557,10 @@ export type VideosV1VideoServiceDeleteVideoData = {
13551
13557
  path: {
13552
13558
  /**
13553
13559
  * project_id
13554
- *
13555
- * The project_id path parameter.
13556
13560
  */
13557
13561
  project_id: string;
13558
13562
  /**
13559
13563
  * video_id
13560
- *
13561
- * The video_id path parameter.
13562
13564
  */
13563
13565
  video_id: string;
13564
13566
  };
@@ -13577,6 +13579,14 @@ export type VideosV1VideoServiceUpdateVideoVisibilityData = {
13577
13579
  * UpdateVideoVisibilityRequest
13578
13580
  */
13579
13581
  body: {
13582
+ /**
13583
+ * project_id
13584
+ */
13585
+ project_id?: string;
13586
+ /**
13587
+ * video_id
13588
+ */
13589
+ video_id?: string;
13580
13590
  /**
13581
13591
  * visibility
13582
13592
  */
@@ -13585,14 +13595,10 @@ export type VideosV1VideoServiceUpdateVideoVisibilityData = {
13585
13595
  path: {
13586
13596
  /**
13587
13597
  * project_id
13588
- *
13589
- * The project_id path parameter.
13590
13598
  */
13591
13599
  project_id: string;
13592
13600
  /**
13593
13601
  * video_id
13594
- *
13595
- * The video_id path parameter.
13596
13602
  */
13597
13603
  video_id: string;
13598
13604
  };
@@ -13611,8 +13617,6 @@ export type VideosV1VideoServiceGetVideoData = {
13611
13617
  path: {
13612
13618
  /**
13613
13619
  * video_id
13614
- *
13615
- * The video_id path parameter.
13616
13620
  */
13617
13621
  video_id: string;
13618
13622
  };
@@ -14415,15 +14419,11 @@ export declare const videosV1AudioTrackServiceListAudioTracks: <ThrowOnError ext
14415
14419
  /**
14416
14420
  * UpdateVideoChapters
14417
14421
  */
14418
- export declare const videosV1ChapterServiceUpdateVideoChapters2: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceUpdateVideoChapters2Data, ThrowOnError>) => RequestResult<VideosV1ChapterServiceUpdateVideoChapters2Responses, unknown, ThrowOnError, "fields">;
14422
+ export declare const videosV1ChapterServiceUpdateVideoChapters: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceUpdateVideoChaptersData, ThrowOnError>) => RequestResult<VideosV1ChapterServiceUpdateVideoChaptersResponses, unknown, ThrowOnError, "fields">;
14419
14423
  /**
14420
14424
  * GetVideoChapters
14421
14425
  */
14422
14426
  export declare const videosV1ChapterServiceGetVideoChapters: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceGetVideoChaptersData, ThrowOnError>) => RequestResult<VideosV1ChapterServiceGetVideoChaptersResponses, unknown, ThrowOnError, "fields">;
14423
- /**
14424
- * UpdateVideoChapters
14425
- */
14426
- export declare const videosV1ChapterServiceUpdateVideoChapters: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceUpdateVideoChaptersData, ThrowOnError>) => RequestResult<VideosV1ChapterServiceUpdateVideoChaptersResponses, unknown, ThrowOnError, "fields">;
14427
14427
  /**
14428
14428
  * DeleteVideoChapter
14429
14429
  */