@rixl/sdk 0.29.2 → 0.30.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
  */
@@ -477,9 +493,6 @@ export type AnalyticsV1ContentViewEvent = {
477
493
  content_id?: string;
478
494
  /**
479
495
  * content_type
480
- *
481
- * enum.defined_only = true
482
- *
483
496
  */
484
497
  content_type?: AnalyticscommonV1MediaType;
485
498
  /**
@@ -532,9 +545,6 @@ export type AnalyticsV1ContentViewEvent = {
532
545
  audio_language?: string;
533
546
  /**
534
547
  * quality
535
- *
536
- * enum.defined_only = true
537
- *
538
548
  */
539
549
  quality?: AnalyticscommonV1VideoQuality;
540
550
  };
@@ -549,7 +559,7 @@ export type AnalyticsV1CountryCount = {
549
559
  /**
550
560
  * count
551
561
  */
552
- count?: string;
562
+ count?: number | string;
553
563
  };
554
564
  /**
555
565
  * CreateDashboardRequest
@@ -641,11 +651,11 @@ export type AnalyticsV1DashboardPoint = {
641
651
  /**
642
652
  * views
643
653
  */
644
- views?: string;
654
+ views?: number | string;
645
655
  /**
646
656
  * unique_users
647
657
  */
648
- unique_users?: string;
658
+ unique_users?: number | string;
649
659
  };
650
660
  /**
651
661
  * DashboardStatsRequest
@@ -881,7 +891,7 @@ export type AnalyticsV1EventCount = {
881
891
  /**
882
892
  * count
883
893
  */
884
- count?: string;
894
+ count?: number | string;
885
895
  };
886
896
  /**
887
897
  * ExportDashboardRequest
@@ -944,15 +954,15 @@ export type AnalyticsV1FeedStats = {
944
954
  /**
945
955
  * total_views
946
956
  */
947
- total_views?: string;
957
+ total_views?: number | string;
948
958
  /**
949
959
  * unique_viewers
950
960
  */
951
- unique_viewers?: string;
961
+ unique_viewers?: number | string;
952
962
  /**
953
963
  * total_posts
954
964
  */
955
- total_posts?: string;
965
+ total_posts?: number | string;
956
966
  /**
957
967
  * avg_time_per_visit_ms
958
968
  */
@@ -1010,7 +1020,7 @@ export type AnalyticsV1FilterOption = {
1010
1020
  /**
1011
1021
  * count
1012
1022
  */
1013
- count?: string;
1023
+ count?: number | string;
1014
1024
  };
1015
1025
  /**
1016
1026
  * Filters
@@ -1086,6 +1096,19 @@ export type AnalyticsV1FunnelStep = {
1086
1096
  [key: string]: string;
1087
1097
  };
1088
1098
  };
1099
+ /**
1100
+ * FiltersEntry
1101
+ */
1102
+ export type AnalyticsV1FunnelStepFiltersEntry = {
1103
+ /**
1104
+ * key
1105
+ */
1106
+ key?: string;
1107
+ /**
1108
+ * value
1109
+ */
1110
+ value?: string;
1111
+ };
1089
1112
  /**
1090
1113
  * FunnelStepResult
1091
1114
  */
@@ -1217,11 +1240,11 @@ export type AnalyticsV1GetPostStatsResponse = {
1217
1240
  /**
1218
1241
  * total_views
1219
1242
  */
1220
- total_views?: string;
1243
+ total_views?: number | string;
1221
1244
  /**
1222
1245
  * unique_viewers
1223
1246
  */
1224
- unique_viewers?: string;
1247
+ unique_viewers?: number | string;
1225
1248
  };
1226
1249
  /**
1227
1250
  * GetRealtimeStatsRequest
@@ -1422,11 +1445,11 @@ export type AnalyticsV1ImageStats = {
1422
1445
  /**
1423
1446
  * total_views
1424
1447
  */
1425
- total_views?: string;
1448
+ total_views?: number | string;
1426
1449
  /**
1427
1450
  * unique_viewers
1428
1451
  */
1429
- unique_viewers?: string;
1452
+ unique_viewers?: number | string;
1430
1453
  /**
1431
1454
  * avg_view_duration_ms
1432
1455
  *
@@ -1440,11 +1463,11 @@ export type AnalyticsV1ImageStats = {
1440
1463
  /**
1441
1464
  * feed_views
1442
1465
  */
1443
- feed_views?: string;
1466
+ feed_views?: number | string;
1444
1467
  /**
1445
1468
  * standalone_views
1446
1469
  */
1447
- standalone_views?: string;
1470
+ standalone_views?: number | string;
1448
1471
  };
1449
1472
  /**
1450
1473
  * InteractionEvent
@@ -1523,7 +1546,7 @@ export type AnalyticsV1ListDashboardsResponse = {
1523
1546
  /**
1524
1547
  * total
1525
1548
  */
1526
- total?: string;
1549
+ total?: number | string;
1527
1550
  /**
1528
1551
  * page
1529
1552
  */
@@ -1567,11 +1590,11 @@ export type AnalyticsV1PostStats = {
1567
1590
  /**
1568
1591
  * total_views
1569
1592
  */
1570
- total_views?: string;
1593
+ total_views?: number | string;
1571
1594
  /**
1572
1595
  * unique_viewers
1573
1596
  */
1574
- unique_viewers?: string;
1597
+ unique_viewers?: number | string;
1575
1598
  /**
1576
1599
  * avg_watch_time_ms
1577
1600
  */
@@ -1579,15 +1602,15 @@ export type AnalyticsV1PostStats = {
1579
1602
  /**
1580
1603
  * total_watch_time_ms
1581
1604
  */
1582
- total_watch_time_ms?: string;
1605
+ total_watch_time_ms?: number | string;
1583
1606
  /**
1584
1607
  * starts
1585
1608
  */
1586
- starts?: string;
1609
+ starts?: number | string;
1587
1610
  /**
1588
1611
  * completions
1589
1612
  */
1590
- completions?: string;
1613
+ completions?: number | string;
1591
1614
  /**
1592
1615
  * completion_rate
1593
1616
  */
@@ -1596,9 +1619,22 @@ export type AnalyticsV1PostStats = {
1596
1619
  * views_by_page
1597
1620
  */
1598
1621
  views_by_page?: {
1599
- [key: string]: string;
1622
+ [key: string]: number | string;
1600
1623
  };
1601
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
+ };
1602
1638
  /**
1603
1639
  * RealtimeStats
1604
1640
  */
@@ -1610,11 +1646,11 @@ export type AnalyticsV1RealtimeStats = {
1610
1646
  /**
1611
1647
  * active_users
1612
1648
  */
1613
- active_users?: string;
1649
+ active_users?: number | string;
1614
1650
  /**
1615
1651
  * events_per_minute
1616
1652
  */
1617
- events_per_minute?: string;
1653
+ events_per_minute?: number | string;
1618
1654
  /**
1619
1655
  * top_events
1620
1656
  */
@@ -1698,7 +1734,7 @@ export type AnalyticsV1ScopeNode = {
1698
1734
  /**
1699
1735
  * views
1700
1736
  */
1701
- views?: string;
1737
+ views?: number | string;
1702
1738
  /**
1703
1739
  * has_children
1704
1740
  */
@@ -1736,9 +1772,6 @@ export type AnalyticsV1Segment = {
1736
1772
  audio_language?: string;
1737
1773
  /**
1738
1774
  * quality
1739
- *
1740
- * enum.defined_only = true
1741
- *
1742
1775
  */
1743
1776
  quality?: AnalyticscommonV1VideoQuality;
1744
1777
  /**
@@ -1973,7 +2006,7 @@ export type AnalyticsV1VideoHeatmap = {
1973
2006
  /**
1974
2007
  * total_duration_ms
1975
2008
  */
1976
- total_duration_ms?: string;
2009
+ total_duration_ms?: number | string;
1977
2010
  /**
1978
2011
  * data
1979
2012
  */
@@ -1990,11 +2023,11 @@ export type AnalyticsV1VideoStats = {
1990
2023
  /**
1991
2024
  * total_views
1992
2025
  */
1993
- total_views?: string;
2026
+ total_views?: number | string;
1994
2027
  /**
1995
2028
  * unique_viewers
1996
2029
  */
1997
- unique_viewers?: string;
2030
+ unique_viewers?: number | string;
1998
2031
  /**
1999
2032
  * avg_watch_time_ms
2000
2033
  */
@@ -2006,15 +2039,15 @@ export type AnalyticsV1VideoStats = {
2006
2039
  /**
2007
2040
  * starts
2008
2041
  */
2009
- starts?: string;
2042
+ starts?: number | string;
2010
2043
  /**
2011
2044
  * watches
2012
2045
  */
2013
- watches?: string;
2046
+ watches?: number | string;
2014
2047
  /**
2015
2048
  * completions
2016
2049
  */
2017
- completions?: string;
2050
+ completions?: number | string;
2018
2051
  /**
2019
2052
  * completion_rate
2020
2053
  */
@@ -2354,7 +2387,7 @@ export type ApikeysV1ListApiKeysResponse = {
2354
2387
  /**
2355
2388
  * total
2356
2389
  */
2357
- total?: string;
2390
+ total?: number | string;
2358
2391
  };
2359
2392
  /**
2360
2393
  * MarkApiKeyUsedRequest
@@ -2784,22 +2817,25 @@ export type AuthV1DomainResponse = {
2784
2817
  */
2785
2818
  status?: AuthV1DomainStatus;
2786
2819
  };
2787
- export type AuthV1DomainStatus = ({
2820
+ /**
2821
+ * DomainStatus
2822
+ */
2823
+ export type AuthV1DomainStatus = {
2824
+ /**
2825
+ * auto_join
2826
+ */
2827
+ auto_join?: boolean;
2828
+ } & ({
2788
2829
  /**
2789
2830
  * pending
2790
2831
  */
2791
- pending?: AuthV1PendingDomain;
2832
+ pending: AuthV1PendingDomain;
2792
2833
  } | {
2793
2834
  /**
2794
2835
  * verified
2795
2836
  */
2796
- verified?: AuthV1VerifiedDomain;
2797
- }) & {
2798
- /**
2799
- * auto_join
2800
- */
2801
- auto_join?: boolean;
2802
- };
2837
+ verified: AuthV1VerifiedDomain;
2838
+ });
2803
2839
  /**
2804
2840
  * EmailStatusResponse
2805
2841
  */
@@ -3095,6 +3131,19 @@ export type AuthV1ListPoliciesForIdentitiesResponse = {
3095
3131
  [key: string]: AuthV1IdentityPolicies;
3096
3132
  };
3097
3133
  };
3134
+ /**
3135
+ * ByIdentityEntry
3136
+ */
3137
+ export type AuthV1ListPoliciesForIdentitiesResponseByIdentityEntry = {
3138
+ /**
3139
+ * key
3140
+ */
3141
+ key?: string;
3142
+ /**
3143
+ * value
3144
+ */
3145
+ value?: AuthV1IdentityPolicies;
3146
+ };
3098
3147
  /**
3099
3148
  * ListPoliciesResponse
3100
3149
  */
@@ -3168,7 +3217,7 @@ export type AuthV1LoginResponse = {
3168
3217
  /**
3169
3218
  * expires_in
3170
3219
  */
3171
- expires_in?: string;
3220
+ expires_in?: number | string;
3172
3221
  /**
3173
3222
  * token_type
3174
3223
  */
@@ -4015,7 +4064,7 @@ export type AuthV1TokenResponse = {
4015
4064
  /**
4016
4065
  * expires_in
4017
4066
  */
4018
- expires_in?: string;
4067
+ expires_in?: number | string;
4019
4068
  /**
4020
4069
  * token_type
4021
4070
  */
@@ -4429,23 +4478,23 @@ export type BillingV1BandwidthUsage = {
4429
4478
  /**
4430
4479
  * total_bandwidth_bytes
4431
4480
  */
4432
- total_bandwidth_bytes?: string;
4481
+ total_bandwidth_bytes?: number | string;
4433
4482
  /**
4434
4483
  * video_bandwidth_bytes
4435
4484
  */
4436
- video_bandwidth_bytes?: string;
4485
+ video_bandwidth_bytes?: number | string;
4437
4486
  /**
4438
4487
  * image_bandwidth_bytes
4439
4488
  */
4440
- image_bandwidth_bytes?: string;
4489
+ image_bandwidth_bytes?: number | string;
4441
4490
  /**
4442
4491
  * total_requests
4443
4492
  */
4444
- total_requests?: string;
4493
+ total_requests?: number | string;
4445
4494
  /**
4446
4495
  * unique_visitors
4447
4496
  */
4448
- unique_visitors?: string;
4497
+ unique_visitors?: number | string;
4449
4498
  /**
4450
4499
  * snapshot_type
4451
4500
  */
@@ -4453,11 +4502,11 @@ export type BillingV1BandwidthUsage = {
4453
4502
  /**
4454
4503
  * video_requests
4455
4504
  */
4456
- video_requests?: string;
4505
+ video_requests?: number | string;
4457
4506
  /**
4458
4507
  * image_requests
4459
4508
  */
4460
- image_requests?: string;
4509
+ image_requests?: number | string;
4461
4510
  /**
4462
4511
  * data_source
4463
4512
  */
@@ -4523,7 +4572,7 @@ export type BillingV1CalculateGenericTaxRequest = {
4523
4572
  /**
4524
4573
  * amount
4525
4574
  */
4526
- amount?: string;
4575
+ amount?: number | string;
4527
4576
  /**
4528
4577
  * currency
4529
4578
  */
@@ -4563,15 +4612,12 @@ export type BillingV1CalculateTaxRequest = {
4563
4612
  currency: string;
4564
4613
  /**
4565
4614
  * billing_cycle
4566
- *
4567
- * enum.defined_only = true
4568
- *
4569
4615
  */
4570
4616
  billing_cycle?: BillingV1BillingCycle;
4571
4617
  /**
4572
4618
  * interval_count
4573
4619
  */
4574
- interval_count?: string;
4620
+ interval_count?: number | string;
4575
4621
  /**
4576
4622
  * billing_address
4577
4623
  */
@@ -4587,6 +4633,19 @@ export type BillingV1CalculateTaxRequest = {
4587
4633
  [key: string]: string;
4588
4634
  };
4589
4635
  };
4636
+ /**
4637
+ * MetadataEntry
4638
+ */
4639
+ export type BillingV1CalculateTaxRequestMetadataEntry = {
4640
+ /**
4641
+ * key
4642
+ */
4643
+ key?: string;
4644
+ /**
4645
+ * value
4646
+ */
4647
+ value?: string;
4648
+ };
4590
4649
  /**
4591
4650
  * CancelSubscriptionRequest
4592
4651
  */
@@ -5165,11 +5224,11 @@ export type BillingV1PaymentMethodDetails = {
5165
5224
  /**
5166
5225
  * exp_month
5167
5226
  */
5168
- exp_month?: string;
5227
+ exp_month?: number | string;
5169
5228
  /**
5170
5229
  * exp_year
5171
5230
  */
5172
- exp_year?: string;
5231
+ exp_year?: number | string;
5173
5232
  /**
5174
5233
  * is_default
5175
5234
  */
@@ -5268,19 +5327,19 @@ export type BillingV1PlanTaxCalculationResponse = {
5268
5327
  /**
5269
5328
  * base_amount
5270
5329
  */
5271
- base_amount?: string;
5330
+ base_amount?: number | string;
5272
5331
  /**
5273
5332
  * amount_total
5274
5333
  */
5275
- amount_total?: string;
5334
+ amount_total?: number | string;
5276
5335
  /**
5277
5336
  * tax_amount_exclusive
5278
5337
  */
5279
- tax_amount_exclusive?: string;
5338
+ tax_amount_exclusive?: number | string;
5280
5339
  /**
5281
5340
  * tax_amount_inclusive
5282
5341
  */
5283
- tax_amount_inclusive?: string;
5342
+ tax_amount_inclusive?: number | string;
5284
5343
  /**
5285
5344
  * currency
5286
5345
  */
@@ -5437,15 +5496,15 @@ export type BillingV1StorageUsage = {
5437
5496
  /**
5438
5497
  * total_storage_bytes
5439
5498
  */
5440
- total_storage_bytes?: string;
5499
+ total_storage_bytes?: number | string;
5441
5500
  /**
5442
5501
  * video_storage_bytes
5443
5502
  */
5444
- video_storage_bytes?: string;
5503
+ video_storage_bytes?: number | string;
5445
5504
  /**
5446
5505
  * image_storage_bytes
5447
5506
  */
5448
- image_storage_bytes?: string;
5507
+ image_storage_bytes?: number | string;
5449
5508
  /**
5450
5509
  * total_video_minutes
5451
5510
  */
@@ -5604,15 +5663,15 @@ export type BillingV1TaxCalculationResponse = {
5604
5663
  /**
5605
5664
  * amount_total
5606
5665
  */
5607
- amount_total?: string;
5666
+ amount_total?: number | string;
5608
5667
  /**
5609
5668
  * tax_amount_exclusive
5610
5669
  */
5611
- tax_amount_exclusive?: string;
5670
+ tax_amount_exclusive?: number | string;
5612
5671
  /**
5613
5672
  * tax_amount_inclusive
5614
5673
  */
5615
- tax_amount_inclusive?: string;
5674
+ tax_amount_inclusive?: number | string;
5616
5675
  /**
5617
5676
  * currency
5618
5677
  */
@@ -5625,7 +5684,7 @@ export type BillingV1TaxLineItem = {
5625
5684
  /**
5626
5685
  * amount
5627
5686
  */
5628
- amount?: string;
5687
+ amount?: number | string;
5629
5688
  /**
5630
5689
  * reference
5631
5690
  */
@@ -5645,9 +5704,6 @@ export type BillingV1UpdateInvoiceStatusRequest = {
5645
5704
  invoice_id: string;
5646
5705
  /**
5647
5706
  * status
5648
- *
5649
- * enum.defined_only = true
5650
- *
5651
5707
  */
5652
5708
  status?: BillingV1InvoiceStatus;
5653
5709
  };
@@ -5798,7 +5854,7 @@ export type ClientauthV1ListClientCredentialsResponse = {
5798
5854
  /**
5799
5855
  * total
5800
5856
  */
5801
- total?: string;
5857
+ total?: number | string;
5802
5858
  };
5803
5859
  /**
5804
5860
  * LookupCredentialByKIDRequest
@@ -5862,7 +5918,7 @@ export type ClientauthV1MintClientTokenResponse = {
5862
5918
  /**
5863
5919
  * expires_in
5864
5920
  */
5865
- expires_in?: string;
5921
+ expires_in?: number | string;
5866
5922
  /**
5867
5923
  * expires_at
5868
5924
  */
@@ -5917,7 +5973,7 @@ export type CommonV1File = {
5917
5973
  * size is the uploaded source's byte size for usage accounting; it is not updated
5918
5974
  * when packaging replaces the artifact, so it does not describe the object at url.
5919
5975
  */
5920
- size?: string;
5976
+ size?: number | string;
5921
5977
  /**
5922
5978
  * status
5923
5979
  */
@@ -6104,7 +6160,7 @@ export type FeedsV1ListFeedsResponse = {
6104
6160
  /**
6105
6161
  * total
6106
6162
  */
6107
- total?: string;
6163
+ total?: number | string;
6108
6164
  };
6109
6165
  /**
6110
6166
  * UpdateFeedRequest
@@ -6148,19 +6204,93 @@ export type FeedsV1UpdateFeedRequest = {
6148
6204
  has_comments?: boolean;
6149
6205
  };
6150
6206
  /**
6151
- * A signed duration in seconds, with up to nine fractional digits and an `s` suffix (for example, `3s` or `-0.001s`).
6207
+ * A Duration represents a signed, fixed-length span of time represented
6208
+ * as a count of seconds and fractions of seconds at nanosecond
6209
+ * resolution. It is independent of any calendar and concepts like "day"
6210
+ * or "month". It is related to Timestamp in that the difference between
6211
+ * two Timestamp values is a Duration and it can be added or subtracted
6212
+ * from a Timestamp. Range is approximately +-10,000 years.
6213
+ *
6214
+ * # Examples
6215
+ *
6216
+ * Example 1: Compute Duration from two Timestamps in pseudo code.
6217
+ *
6218
+ * Timestamp start = ...;
6219
+ * Timestamp end = ...;
6220
+ * Duration duration = ...;
6221
+ *
6222
+ * duration.seconds = end.seconds - start.seconds;
6223
+ * duration.nanos = end.nanos - start.nanos;
6224
+ *
6225
+ * if (duration.seconds < 0 && duration.nanos > 0) {
6226
+ * duration.seconds += 1;
6227
+ * duration.nanos -= 1000000000;
6228
+ * } else if (duration.seconds > 0 && duration.nanos < 0) {
6229
+ * duration.seconds -= 1;
6230
+ * duration.nanos += 1000000000;
6231
+ * }
6232
+ *
6233
+ * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
6234
+ *
6235
+ * Timestamp start = ...;
6236
+ * Duration duration = ...;
6237
+ * Timestamp end = ...;
6238
+ *
6239
+ * end.seconds = start.seconds + duration.seconds;
6240
+ * end.nanos = start.nanos + duration.nanos;
6241
+ *
6242
+ * if (end.nanos < 0) {
6243
+ * end.seconds -= 1;
6244
+ * end.nanos += 1000000000;
6245
+ * } else if (end.nanos >= 1000000000) {
6246
+ * end.seconds += 1;
6247
+ * end.nanos -= 1000000000;
6248
+ * }
6249
+ *
6250
+ * Example 3: Compute Duration from datetime.timedelta in Python.
6251
+ *
6252
+ * td = datetime.timedelta(days=3, minutes=10)
6253
+ * duration = Duration()
6254
+ * duration.FromTimedelta(td)
6255
+ *
6256
+ * # JSON Mapping
6257
+ *
6258
+ * In JSON format, the Duration type is encoded as a string rather than an
6259
+ * object, where the string ends in the suffix "s" (indicating seconds) and
6260
+ * is preceded by the number of seconds, with nanoseconds expressed as
6261
+ * fractional seconds. For example, 3 seconds with 0 nanoseconds should be
6262
+ * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
6263
+ * be expressed in JSON format as "3.000000001s", and 3 seconds and 1
6264
+ * microsecond should be expressed in JSON format as "3.000001s".
6152
6265
  */
6153
6266
  export type GoogleProtobufDuration = string;
6154
6267
  /**
6155
- * An empty JSON object.
6268
+ * A generic empty message that you can re-use to avoid defining duplicated
6269
+ * empty messages in your APIs. A typical example is to use it as the request
6270
+ * or the response type of an API method. For instance:
6271
+ *
6272
+ * service Foo {
6273
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
6274
+ * }
6156
6275
  */
6157
6276
  export type GoogleProtobufEmpty = {
6158
6277
  [key: string]: unknown;
6159
6278
  };
6160
6279
  /**
6161
- * A JSON array whose elements may be any JSON value.
6280
+ * ListValue
6281
+ *
6282
+ * `ListValue` is a wrapper around a repeated field of values.
6283
+ *
6284
+ * The JSON representation for `ListValue` is JSON array.
6162
6285
  */
6163
- export type GoogleProtobufListValue = Array<GoogleProtobufValue>;
6286
+ export type GoogleProtobufListValue = {
6287
+ /**
6288
+ * values
6289
+ *
6290
+ * Repeated field of dynamically typed values.
6291
+ */
6292
+ values?: Array<GoogleProtobufValue>;
6293
+ };
6164
6294
  /**
6165
6295
  * NullValue
6166
6296
  *
@@ -6171,17 +6301,130 @@ export type GoogleProtobufListValue = Array<GoogleProtobufValue>;
6171
6301
  */
6172
6302
  export type GoogleProtobufNullValue = 'NULL_VALUE';
6173
6303
  /**
6174
- * A JSON object whose property values may be any JSON value.
6304
+ * `Struct` represents a structured data value, consisting of fields
6305
+ * which map to dynamically typed values. In some languages, `Struct`
6306
+ * might be supported by a native representation. For example, in
6307
+ * scripting languages like JS a struct is represented as an
6308
+ * object. The details of that representation are described together
6309
+ * with the proto support for the language.
6310
+ *
6311
+ * The JSON representation for `Struct` is JSON object.
6175
6312
  */
6176
6313
  export type GoogleProtobufStruct = {
6177
6314
  [key: string]: GoogleProtobufValue;
6178
6315
  };
6179
6316
  /**
6180
- * A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
6317
+ * FieldsEntry
6318
+ */
6319
+ export type GoogleProtobufStructFieldsEntry = {
6320
+ /**
6321
+ * key
6322
+ */
6323
+ key?: string;
6324
+ /**
6325
+ * value
6326
+ */
6327
+ value?: GoogleProtobufValue;
6328
+ };
6329
+ /**
6330
+ * A Timestamp represents a point in time independent of any time zone or local
6331
+ * calendar, encoded as a count of seconds and fractions of seconds at
6332
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
6333
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
6334
+ * Gregorian calendar backwards to year one.
6335
+ *
6336
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
6337
+ * second table is needed for interpretation, using a [24-hour linear
6338
+ * smear](https://developers.google.com/time/smear).
6339
+ *
6340
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
6341
+ * restricting to that range, we ensure that we can convert to and from [RFC
6342
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
6343
+ *
6344
+ * # Examples
6345
+ *
6346
+ * Example 1: Compute Timestamp from POSIX `time()`.
6347
+ *
6348
+ * Timestamp timestamp;
6349
+ * timestamp.set_seconds(time(NULL));
6350
+ * timestamp.set_nanos(0);
6351
+ *
6352
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
6353
+ *
6354
+ * struct timeval tv;
6355
+ * gettimeofday(&tv, NULL);
6356
+ *
6357
+ * Timestamp timestamp;
6358
+ * timestamp.set_seconds(tv.tv_sec);
6359
+ * timestamp.set_nanos(tv.tv_usec * 1000);
6360
+ *
6361
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
6362
+ *
6363
+ * FILETIME ft;
6364
+ * GetSystemTimeAsFileTime(&ft);
6365
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
6366
+ *
6367
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
6368
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
6369
+ * Timestamp timestamp;
6370
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
6371
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
6372
+ *
6373
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
6374
+ *
6375
+ * long millis = System.currentTimeMillis();
6376
+ *
6377
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
6378
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
6379
+ *
6380
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
6381
+ *
6382
+ * Instant now = Instant.now();
6383
+ *
6384
+ * Timestamp timestamp =
6385
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
6386
+ * .setNanos(now.getNano()).build();
6387
+ *
6388
+ * Example 6: Compute Timestamp from current time in Python.
6389
+ *
6390
+ * timestamp = Timestamp()
6391
+ * timestamp.GetCurrentTime()
6392
+ *
6393
+ * # JSON Mapping
6394
+ *
6395
+ * In JSON format, the Timestamp type is encoded as a string in the
6396
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
6397
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
6398
+ * where {year} is always expressed using four digits while {month}, {day},
6399
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
6400
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
6401
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
6402
+ * is required. A proto3 JSON serializer should always use UTC (as indicated by
6403
+ * "Z") when printing the Timestamp type and a proto3 JSON parser should be
6404
+ * able to accept both UTC and other timezones (as indicated by an offset).
6405
+ *
6406
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
6407
+ * 01:30 UTC on January 15, 2017.
6408
+ *
6409
+ * In JavaScript, one can convert a Date object to this format using the
6410
+ * standard
6411
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
6412
+ * method. In Python, a standard `datetime.datetime` object can be converted
6413
+ * to this format using
6414
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
6415
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
6416
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
6417
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
6418
+ * ) to obtain a formatter capable of generating timestamps in this format.
6181
6419
  */
6182
6420
  export type GoogleProtobufTimestamp = string;
6183
6421
  /**
6184
- * Any JSON value: `null`, number, string, boolean, array, or object.
6422
+ * `Value` represents a dynamically typed value which can be either
6423
+ * null, a number, a string, a boolean, a recursive struct value, or a
6424
+ * list of values. A producer of value is expected to set one of these
6425
+ * variants. Absence of any variant indicates an error.
6426
+ *
6427
+ * The JSON representation for `Value` is JSON value.
6185
6428
  */
6186
6429
  export type GoogleProtobufValue = null | number | string | boolean | Array<unknown> | {
6187
6430
  [key: string]: unknown;
@@ -6316,7 +6559,7 @@ export type ImagesV1ListImagesResponse = {
6316
6559
  /**
6317
6560
  * total
6318
6561
  */
6319
- total?: string;
6562
+ total?: number | string;
6320
6563
  /**
6321
6564
  * offset
6322
6565
  *
@@ -6358,7 +6601,7 @@ export type ImagesV1MarkImageProcessedRequest = {
6358
6601
  /**
6359
6602
  * size
6360
6603
  */
6361
- size?: string;
6604
+ size?: number | string;
6362
6605
  };
6363
6606
  /**
6364
6607
  * TakeUnprocessedImageRequest
@@ -6393,7 +6636,7 @@ export type ImagesV1UnprocessedImage = {
6393
6636
  /**
6394
6637
  * size
6395
6638
  */
6396
- size?: string;
6639
+ size?: number | string;
6397
6640
  /**
6398
6641
  * status
6399
6642
  */
@@ -6413,9 +6656,6 @@ export type ImagesV1UpdateImageVisibilityRequest = {
6413
6656
  image_id?: string;
6414
6657
  /**
6415
6658
  * visibility
6416
- *
6417
- * enum.defined_only = true
6418
- *
6419
6659
  */
6420
6660
  visibility?: CommonV1Visibility;
6421
6661
  };
@@ -6451,7 +6691,7 @@ export type ImagesV1UpdateProcessedImageDataRequest = {
6451
6691
  /**
6452
6692
  * size
6453
6693
  */
6454
- size?: string;
6694
+ size?: number | string;
6455
6695
  /**
6456
6696
  * format
6457
6697
  */
@@ -6494,23 +6734,16 @@ export type PlatformauthV1TokenResponse = {
6494
6734
  /**
6495
6735
  * expires_in
6496
6736
  */
6497
- expires_in?: string;
6737
+ expires_in?: number | string;
6498
6738
  /**
6499
6739
  * expires_at
6500
6740
  */
6501
6741
  expires_at?: GoogleProtobufTimestamp;
6502
6742
  };
6503
- export type PostsV1CreatePostRequest = ({
6504
- /**
6505
- * image_id
6506
- */
6507
- image_id?: string;
6508
- } | {
6509
- /**
6510
- * video_id
6511
- */
6512
- video_id?: string;
6513
- }) & {
6743
+ /**
6744
+ * CreatePostRequest
6745
+ */
6746
+ export type PostsV1CreatePostRequest = {
6514
6747
  /**
6515
6748
  * project_id
6516
6749
  */
@@ -6529,16 +6762,23 @@ export type PostsV1CreatePostRequest = ({
6529
6762
  creator_id?: string;
6530
6763
  /**
6531
6764
  * type
6532
- *
6533
- * enum.defined_only = true
6534
- *
6535
6765
  */
6536
6766
  type?: CommonV1MediaType;
6537
6767
  /**
6538
6768
  * description
6539
6769
  */
6540
6770
  description?: string;
6541
- };
6771
+ } & ({
6772
+ /**
6773
+ * image_id
6774
+ */
6775
+ image_id: string;
6776
+ } | {
6777
+ /**
6778
+ * video_id
6779
+ */
6780
+ video_id: string;
6781
+ });
6542
6782
  /**
6543
6783
  * CreatePostResponse
6544
6784
  */
@@ -6574,9 +6814,6 @@ export type PostsV1CreatePostUploadRequest = {
6574
6814
  description?: string;
6575
6815
  /**
6576
6816
  * content_type
6577
- *
6578
- * enum.defined_only = true
6579
- *
6580
6817
  */
6581
6818
  content_type?: CommonV1MediaType;
6582
6819
  /**
@@ -6669,7 +6906,7 @@ export type PostsV1ListPostsResponse = {
6669
6906
  /**
6670
6907
  * total
6671
6908
  */
6672
- total?: string;
6909
+ total?: number | string;
6673
6910
  /**
6674
6911
  * offset
6675
6912
  *
@@ -6683,17 +6920,10 @@ export type PostsV1ListPostsResponse = {
6683
6920
  */
6684
6921
  limit?: number;
6685
6922
  };
6686
- export type PostsV1Post = ({
6687
- /**
6688
- * image
6689
- */
6690
- image?: ImagesV1Image;
6691
- } | {
6692
- /**
6693
- * video
6694
- */
6695
- video?: VideosV1Video;
6696
- }) & {
6923
+ /**
6924
+ * Post
6925
+ */
6926
+ export type PostsV1Post = {
6697
6927
  /**
6698
6928
  * id
6699
6929
  */
@@ -6718,7 +6948,17 @@ export type PostsV1Post = ({
6718
6948
  * created_at
6719
6949
  */
6720
6950
  created_at?: GoogleProtobufTimestamp;
6721
- };
6951
+ } & ({
6952
+ /**
6953
+ * image
6954
+ */
6955
+ image: ImagesV1Image;
6956
+ } | {
6957
+ /**
6958
+ * video
6959
+ */
6960
+ video: VideosV1Video;
6961
+ });
6722
6962
  /**
6723
6963
  * PostUpload
6724
6964
  */
@@ -6928,9 +7168,6 @@ export type ProjectV1UpdateVideoQualityRequest = {
6928
7168
  org_id?: string;
6929
7169
  /**
6930
7170
  * video_quality
6931
- *
6932
- * enum.defined_only = true
6933
- *
6934
7171
  */
6935
7172
  video_quality: CommonV1VideoQuality;
6936
7173
  };
@@ -7058,9 +7295,6 @@ export type SupportV1CreateTicketRequest = {
7058
7295
  message?: string;
7059
7296
  /**
7060
7297
  * priority
7061
- *
7062
- * enum.defined_only = true
7063
- *
7064
7298
  */
7065
7299
  priority?: SupportV1TicketPriority;
7066
7300
  };
@@ -7144,9 +7378,6 @@ export type SupportV1ListTicketsRequest = {
7144
7378
  pagination?: CommonV1Pagination;
7145
7379
  /**
7146
7380
  * status
7147
- *
7148
- * enum.defined_only = true
7149
- *
7150
7381
  */
7151
7382
  status?: SupportV1TicketStatus;
7152
7383
  };
@@ -7161,7 +7392,7 @@ export type SupportV1ListTicketsResponse = {
7161
7392
  /**
7162
7393
  * total
7163
7394
  */
7164
- total?: string;
7395
+ total?: number | string;
7165
7396
  /**
7166
7397
  * offset
7167
7398
  *
@@ -7366,7 +7597,7 @@ export type UploadV1ReceiveStorageEventRequest = {
7366
7597
  /**
7367
7598
  * object_size
7368
7599
  */
7369
- object_size?: string | null;
7600
+ object_size?: number | string | null;
7370
7601
  };
7371
7602
  /**
7372
7603
  * ReceiveStorageEventResponse
@@ -7541,7 +7772,7 @@ export type VideosV1DeleteVideoChapterRequest = {
7541
7772
  /**
7542
7773
  * start_time_sec
7543
7774
  */
7544
- start_time_sec?: string;
7775
+ start_time_sec?: number | string;
7545
7776
  };
7546
7777
  /**
7547
7778
  * DeleteVideoRequest
@@ -7583,7 +7814,7 @@ export type VideosV1File = {
7583
7814
  /**
7584
7815
  * size
7585
7816
  */
7586
- size?: string;
7817
+ size?: number | string;
7587
7818
  /**
7588
7819
  * status
7589
7820
  */
@@ -7725,7 +7956,7 @@ export type VideosV1ListVideosResponse = {
7725
7956
  /**
7726
7957
  * total
7727
7958
  */
7728
- total?: string;
7959
+ total?: number | string;
7729
7960
  /**
7730
7961
  * offset
7731
7962
  *
@@ -7767,7 +7998,7 @@ export type VideosV1MarkVideoProcessedRequest = {
7767
7998
  /**
7768
7999
  * size
7769
8000
  */
7770
- size?: string;
8001
+ size?: number | string;
7771
8002
  };
7772
8003
  /**
7773
8004
  * Rendition
@@ -7991,7 +8222,7 @@ export type VideosV1TrackUploadItem = {
7991
8222
  /**
7992
8223
  * size
7993
8224
  */
7994
- size?: string;
8225
+ size?: number | string;
7995
8226
  };
7996
8227
  /**
7997
8228
  * TrackUploadTarget
@@ -8155,9 +8386,6 @@ export type VideosV1UpdateVideoVisibilityRequest = {
8155
8386
  video_id?: string;
8156
8387
  /**
8157
8388
  * visibility
8158
- *
8159
- * enum.defined_only = true
8160
- *
8161
8389
  */
8162
8390
  visibility?: CommonV1Visibility;
8163
8391
  };
@@ -8389,68 +8617,46 @@ export type AnalyticsV1DashboardServiceGetDashboardStatsData = {
8389
8617
  query: {
8390
8618
  /**
8391
8619
  * time_start
8392
- *
8393
- * The time_start query parameter.
8394
8620
  */
8395
8621
  time_start: string;
8396
8622
  /**
8397
8623
  * time_end
8398
- *
8399
- * The time_end query parameter.
8400
8624
  */
8401
8625
  time_end: string;
8402
8626
  /**
8403
8627
  * interval
8404
- *
8405
- * The interval query parameter.
8406
8628
  */
8407
8629
  interval?: string;
8408
8630
  /**
8409
8631
  * countries
8410
- *
8411
- * The filter.countries query parameter.
8412
8632
  */
8413
8633
  'filter.countries'?: Array<string>;
8414
8634
  /**
8415
8635
  * cities
8416
- *
8417
- * The filter.cities query parameter.
8418
8636
  */
8419
8637
  'filter.cities'?: Array<string>;
8420
8638
  /**
8421
8639
  * devices
8422
- *
8423
- * The filter.devices query parameter.
8424
8640
  */
8425
8641
  'filter.devices'?: Array<string>;
8426
8642
  /**
8427
8643
  * os
8428
- *
8429
- * The filter.os query parameter.
8430
8644
  */
8431
8645
  'filter.os'?: Array<string>;
8432
8646
  /**
8433
8647
  * languages
8434
- *
8435
- * The filter.languages query parameter.
8436
8648
  */
8437
8649
  'filter.languages'?: Array<string>;
8438
8650
  /**
8439
8651
  * regions
8440
- *
8441
- * The filter.regions query parameter.
8442
8652
  */
8443
8653
  'filter.regions'?: Array<string>;
8444
8654
  /**
8445
8655
  * browsers
8446
- *
8447
- * The filter.browsers query parameter.
8448
8656
  */
8449
8657
  'filter.browsers'?: Array<string>;
8450
8658
  /**
8451
8659
  * os_versions
8452
- *
8453
- * The filter.os_versions query parameter.
8454
8660
  */
8455
8661
  'filter.os_versions'?: Array<string>;
8456
8662
  };
@@ -8534,14 +8740,10 @@ export type AnalyticsV1DashboardServiceListDashboardsData = {
8534
8740
  query?: {
8535
8741
  /**
8536
8742
  * page_size
8537
- *
8538
- * The page_size query parameter.
8539
8743
  */
8540
8744
  page_size?: number;
8541
8745
  /**
8542
8746
  * page
8543
- *
8544
- * The page query parameter.
8545
8747
  */
8546
8748
  page?: number;
8547
8749
  };
@@ -8572,16 +8774,12 @@ export type AnalyticsV1DashboardServiceDeleteWidgetData = {
8572
8774
  path: {
8573
8775
  /**
8574
8776
  * id
8575
- *
8576
- * The id path parameter.
8577
8777
  */
8578
8778
  id: string;
8579
8779
  };
8580
8780
  query: {
8581
8781
  /**
8582
8782
  * expected_revision
8583
- *
8584
- * The expected_revision query parameter.
8585
8783
  */
8586
8784
  expected_revision: number;
8587
8785
  };
@@ -8611,8 +8809,6 @@ export type AnalyticsV1DashboardServiceUpdateWidgetData = {
8611
8809
  path: {
8612
8810
  /**
8613
8811
  * id
8614
- *
8615
- * The id path parameter.
8616
8812
  */
8617
8813
  id: string;
8618
8814
  };
@@ -8631,6 +8827,10 @@ export type AnalyticsV1DashboardServiceExportDashboardData = {
8631
8827
  * ExportDashboardRequest
8632
8828
  */
8633
8829
  body: {
8830
+ /**
8831
+ * dashboard_id
8832
+ */
8833
+ dashboard_id: string;
8634
8834
  /**
8635
8835
  * time_start
8636
8836
  */
@@ -8647,8 +8847,6 @@ export type AnalyticsV1DashboardServiceExportDashboardData = {
8647
8847
  path: {
8648
8848
  /**
8649
8849
  * dashboard_id
8650
- *
8651
- * The dashboard_id path parameter.
8652
8850
  */
8653
8851
  dashboard_id: string;
8654
8852
  };
@@ -8667,6 +8865,10 @@ export type AnalyticsV1DashboardServiceUpdateDashboardLayoutData = {
8667
8865
  * UpdateDashboardLayoutRequest
8668
8866
  */
8669
8867
  body: {
8868
+ /**
8869
+ * dashboard_id
8870
+ */
8871
+ dashboard_id: string;
8670
8872
  /**
8671
8873
  * expected_revision
8672
8874
  */
@@ -8679,8 +8881,6 @@ export type AnalyticsV1DashboardServiceUpdateDashboardLayoutData = {
8679
8881
  path: {
8680
8882
  /**
8681
8883
  * dashboard_id
8682
- *
8683
- * The dashboard_id path parameter.
8684
8884
  */
8685
8885
  dashboard_id: string;
8686
8886
  };
@@ -8702,16 +8902,12 @@ export type AnalyticsV1DashboardServiceCreateWidgetData = {
8702
8902
  path: {
8703
8903
  /**
8704
8904
  * dashboard_id
8705
- *
8706
- * The dashboard_id path parameter.
8707
8905
  */
8708
8906
  dashboard_id: string;
8709
8907
  };
8710
8908
  query: {
8711
8909
  /**
8712
8910
  * expected_revision
8713
- *
8714
- * The expected_revision query parameter.
8715
8911
  */
8716
8912
  expected_revision: number;
8717
8913
  };
@@ -8729,16 +8925,12 @@ export type AnalyticsV1DashboardServiceDeleteDashboardData = {
8729
8925
  path: {
8730
8926
  /**
8731
8927
  * id
8732
- *
8733
- * The id path parameter.
8734
8928
  */
8735
8929
  id: string;
8736
8930
  };
8737
8931
  query: {
8738
8932
  /**
8739
8933
  * expected_revision
8740
- *
8741
- * The expected_revision query parameter.
8742
8934
  */
8743
8935
  expected_revision: number;
8744
8936
  };
@@ -8756,8 +8948,6 @@ export type AnalyticsV1DashboardServiceGetDashboardData = {
8756
8948
  path: {
8757
8949
  /**
8758
8950
  * id
8759
- *
8760
- * The id path parameter.
8761
8951
  */
8762
8952
  id: string;
8763
8953
  };
@@ -8792,8 +8982,6 @@ export type AnalyticsV1DashboardServiceUpdateDashboardData = {
8792
8982
  path: {
8793
8983
  /**
8794
8984
  * id
8795
- *
8796
- * The id path parameter.
8797
8985
  */
8798
8986
  id: string;
8799
8987
  };
@@ -8812,8 +9000,6 @@ export type AnalyticsV1DashboardServiceSetDefaultDashboardData = {
8812
9000
  path: {
8813
9001
  /**
8814
9002
  * id
8815
- *
8816
- * The id path parameter.
8817
9003
  */
8818
9004
  id: string;
8819
9005
  };
@@ -8845,22 +9031,16 @@ export type AnalyticsV1FeedsServiceGetFeedStatsData = {
8845
9031
  path: {
8846
9032
  /**
8847
9033
  * feed_id
8848
- *
8849
- * The feed_id path parameter.
8850
9034
  */
8851
9035
  feed_id: string;
8852
9036
  };
8853
9037
  query?: {
8854
9038
  /**
8855
9039
  * start
8856
- *
8857
- * The range.start query parameter.
8858
9040
  */
8859
9041
  'range.start'?: string;
8860
9042
  /**
8861
9043
  * end
8862
- *
8863
- * The range.end query parameter.
8864
9044
  */
8865
9045
  'range.end'?: string;
8866
9046
  };
@@ -8879,20 +9059,14 @@ export type AnalyticsV1FeedsServiceGetTopFeedsData = {
8879
9059
  query?: {
8880
9060
  /**
8881
9061
  * limit
8882
- *
8883
- * The limit query parameter.
8884
9062
  */
8885
9063
  limit?: number;
8886
9064
  /**
8887
9065
  * start
8888
- *
8889
- * The range.start query parameter.
8890
9066
  */
8891
9067
  'range.start'?: string;
8892
9068
  /**
8893
9069
  * end
8894
- *
8895
- * The range.end query parameter.
8896
9070
  */
8897
9071
  'range.end'?: string;
8898
9072
  };
@@ -8936,28 +9110,20 @@ export type AnalyticsV1HeatmapServiceGetVideoHeatmapData = {
8936
9110
  path: {
8937
9111
  /**
8938
9112
  * video_id
8939
- *
8940
- * The video_id path parameter.
8941
9113
  */
8942
9114
  video_id: string;
8943
9115
  };
8944
9116
  query?: {
8945
9117
  /**
8946
9118
  * buckets
8947
- *
8948
- * The buckets query parameter.
8949
9119
  */
8950
9120
  buckets?: number;
8951
9121
  /**
8952
9122
  * start
8953
- *
8954
- * The range.start query parameter.
8955
9123
  */
8956
9124
  'range.start'?: string;
8957
9125
  /**
8958
9126
  * end
8959
- *
8960
- * The range.end query parameter.
8961
9127
  */
8962
9128
  'range.end'?: string;
8963
9129
  };
@@ -8975,22 +9141,16 @@ export type AnalyticsV1HeatmapServiceGetHotSegmentsData = {
8975
9141
  path: {
8976
9142
  /**
8977
9143
  * video_id
8978
- *
8979
- * The video_id path parameter.
8980
9144
  */
8981
9145
  video_id: string;
8982
9146
  };
8983
9147
  query?: {
8984
9148
  /**
8985
9149
  * start
8986
- *
8987
- * The range.start query parameter.
8988
9150
  */
8989
9151
  'range.start'?: string;
8990
9152
  /**
8991
9153
  * end
8992
- *
8993
- * The range.end query parameter.
8994
9154
  */
8995
9155
  'range.end'?: string;
8996
9156
  };
@@ -9008,22 +9168,16 @@ export type AnalyticsV1ImagesServiceGetImageStatsData = {
9008
9168
  path: {
9009
9169
  /**
9010
9170
  * image_id
9011
- *
9012
- * The image_id path parameter.
9013
9171
  */
9014
9172
  image_id: string;
9015
9173
  };
9016
9174
  query?: {
9017
9175
  /**
9018
9176
  * start
9019
- *
9020
- * The range.start query parameter.
9021
9177
  */
9022
9178
  'range.start'?: string;
9023
9179
  /**
9024
9180
  * end
9025
- *
9026
- * The range.end query parameter.
9027
9181
  */
9028
9182
  'range.end'?: string;
9029
9183
  };
@@ -9042,20 +9196,14 @@ export type AnalyticsV1ImagesServiceGetTopImagesData = {
9042
9196
  query?: {
9043
9197
  /**
9044
9198
  * limit
9045
- *
9046
- * The limit query parameter.
9047
9199
  */
9048
9200
  limit?: number;
9049
9201
  /**
9050
9202
  * start
9051
- *
9052
- * The range.start query parameter.
9053
9203
  */
9054
9204
  'range.start'?: string;
9055
9205
  /**
9056
9206
  * end
9057
- *
9058
- * The range.end query parameter.
9059
9207
  */
9060
9208
  'range.end'?: string;
9061
9209
  };
@@ -9073,22 +9221,16 @@ export type AnalyticsV1PostsServiceGetPostStatsData = {
9073
9221
  path: {
9074
9222
  /**
9075
9223
  * post_id
9076
- *
9077
- * The post_id path parameter.
9078
9224
  */
9079
9225
  post_id: string;
9080
9226
  };
9081
9227
  query?: {
9082
9228
  /**
9083
9229
  * start
9084
- *
9085
- * The range.start query parameter.
9086
9230
  */
9087
9231
  'range.start'?: string;
9088
9232
  /**
9089
9233
  * end
9090
- *
9091
- * The range.end query parameter.
9092
9234
  */
9093
9235
  'range.end'?: string;
9094
9236
  };
@@ -9107,26 +9249,18 @@ export type AnalyticsV1PostsServiceGetTopPostsData = {
9107
9249
  query?: {
9108
9250
  /**
9109
9251
  * limit
9110
- *
9111
- * The limit query parameter.
9112
9252
  */
9113
9253
  limit?: number;
9114
9254
  /**
9115
9255
  * start
9116
- *
9117
- * The range.start query parameter.
9118
9256
  */
9119
9257
  'range.start'?: string;
9120
9258
  /**
9121
9259
  * end
9122
- *
9123
- * The range.end query parameter.
9124
9260
  */
9125
9261
  'range.end'?: string;
9126
9262
  /**
9127
9263
  * feed_id
9128
- *
9129
- * The feed_id query parameter.
9130
9264
  */
9131
9265
  feed_id?: string;
9132
9266
  };
@@ -9158,20 +9292,14 @@ export type AnalyticsV1VideosServiceGetTopVideosData = {
9158
9292
  query?: {
9159
9293
  /**
9160
9294
  * limit
9161
- *
9162
- * The limit query parameter.
9163
9295
  */
9164
9296
  limit?: number;
9165
9297
  /**
9166
9298
  * start
9167
- *
9168
- * The range.start query parameter.
9169
9299
  */
9170
9300
  'range.start'?: string;
9171
9301
  /**
9172
9302
  * end
9173
- *
9174
- * The range.end query parameter.
9175
9303
  */
9176
9304
  'range.end'?: string;
9177
9305
  };
@@ -9189,22 +9317,16 @@ export type AnalyticsV1VideosServiceGetVideoStatsData = {
9189
9317
  path: {
9190
9318
  /**
9191
9319
  * video_id
9192
- *
9193
- * The video_id path parameter.
9194
9320
  */
9195
9321
  video_id: string;
9196
9322
  };
9197
9323
  query?: {
9198
9324
  /**
9199
9325
  * start
9200
- *
9201
- * The range.start query parameter.
9202
9326
  */
9203
9327
  'range.start'?: string;
9204
9328
  /**
9205
9329
  * end
9206
- *
9207
- * The range.end query parameter.
9208
9330
  */
9209
9331
  'range.end'?: string;
9210
9332
  };
@@ -9222,8 +9344,6 @@ export type ApikeysV1ApiKeyServiceListApiKeysData = {
9222
9344
  path: {
9223
9345
  /**
9224
9346
  * org_id
9225
- *
9226
- * The org_id path parameter.
9227
9347
  */
9228
9348
  org_id: string;
9229
9349
  };
@@ -9255,6 +9375,10 @@ export type ApikeysV1ApiKeyServiceCreateApiKeyData = {
9255
9375
  * CreateApiKeyRequest
9256
9376
  */
9257
9377
  body: {
9378
+ /**
9379
+ * org_id
9380
+ */
9381
+ org_id?: string;
9258
9382
  /**
9259
9383
  * name
9260
9384
  */
@@ -9275,8 +9399,6 @@ export type ApikeysV1ApiKeyServiceCreateApiKeyData = {
9275
9399
  path: {
9276
9400
  /**
9277
9401
  * org_id
9278
- *
9279
- * The org_id path parameter.
9280
9402
  */
9281
9403
  org_id: string;
9282
9404
  };
@@ -9295,14 +9417,10 @@ export type ApikeysV1ApiKeyServiceDeleteApiKeyData = {
9295
9417
  path: {
9296
9418
  /**
9297
9419
  * org_id
9298
- *
9299
- * The org_id path parameter.
9300
9420
  */
9301
9421
  org_id: string;
9302
9422
  /**
9303
9423
  * key_id
9304
- *
9305
- * The key_id path parameter.
9306
9424
  */
9307
9425
  key_id: string;
9308
9426
  };
@@ -9321,6 +9439,14 @@ export type ApikeysV1ApiKeyServiceUpdateApiKeyData = {
9321
9439
  * UpdateApiKeyRequest
9322
9440
  */
9323
9441
  body: {
9442
+ /**
9443
+ * org_id
9444
+ */
9445
+ org_id?: string;
9446
+ /**
9447
+ * key_id
9448
+ */
9449
+ key_id: string;
9324
9450
  /**
9325
9451
  * name
9326
9452
  */
@@ -9341,14 +9467,10 @@ export type ApikeysV1ApiKeyServiceUpdateApiKeyData = {
9341
9467
  path: {
9342
9468
  /**
9343
9469
  * org_id
9344
- *
9345
- * The org_id path parameter.
9346
9470
  */
9347
9471
  org_id: string;
9348
9472
  /**
9349
9473
  * key_id
9350
- *
9351
- * The key_id path parameter.
9352
9474
  */
9353
9475
  key_id: string;
9354
9476
  };
@@ -9367,14 +9489,10 @@ export type ApikeysV1ApiKeyServiceRotateApiKeyData = {
9367
9489
  path: {
9368
9490
  /**
9369
9491
  * org_id
9370
- *
9371
- * The org_id path parameter.
9372
9492
  */
9373
9493
  org_id: string;
9374
9494
  /**
9375
9495
  * key_id
9376
- *
9377
- * The key_id path parameter.
9378
9496
  */
9379
9497
  key_id: string;
9380
9498
  };
@@ -9407,8 +9525,6 @@ export type AuthV1BlogServiceSubscribeBlogData = {
9407
9525
  query?: {
9408
9526
  /**
9409
9527
  * user_id
9410
- *
9411
- * The user_id query parameter.
9412
9528
  */
9413
9529
  user_id?: string;
9414
9530
  };
@@ -9427,8 +9543,6 @@ export type AuthV1BlogServiceGetBlogSubscriptionData = {
9427
9543
  query?: {
9428
9544
  /**
9429
9545
  * user_id
9430
- *
9431
- * The user_id query parameter.
9432
9546
  */
9433
9547
  user_id?: string;
9434
9548
  };
@@ -9447,8 +9561,6 @@ export type AuthV1BlogServiceUnsubscribeBlogData = {
9447
9561
  query?: {
9448
9562
  /**
9449
9563
  * user_id
9450
- *
9451
- * The user_id query parameter.
9452
9564
  */
9453
9565
  user_id?: string;
9454
9566
  };
@@ -9479,16 +9591,12 @@ export type AuthV1DomainServiceRemoveDomainData = {
9479
9591
  path: {
9480
9592
  /**
9481
9593
  * org_id
9482
- *
9483
- * The org_id path parameter.
9484
9594
  */
9485
9595
  org_id: string;
9486
9596
  };
9487
9597
  query?: {
9488
9598
  /**
9489
9599
  * user_id
9490
- *
9491
- * The user_id query parameter.
9492
9600
  */
9493
9601
  user_id?: string;
9494
9602
  };
@@ -9506,16 +9614,12 @@ export type AuthV1DomainServiceGetDomainStatusData = {
9506
9614
  path: {
9507
9615
  /**
9508
9616
  * org_id
9509
- *
9510
- * The org_id path parameter.
9511
9617
  */
9512
9618
  org_id: string;
9513
9619
  };
9514
9620
  query?: {
9515
9621
  /**
9516
9622
  * user_id
9517
- *
9518
- * The user_id query parameter.
9519
9623
  */
9520
9624
  user_id?: string;
9521
9625
  };
@@ -9533,16 +9637,12 @@ export type AuthV1DomainServiceGetDomainAutoJoinData = {
9533
9637
  path: {
9534
9638
  /**
9535
9639
  * org_id
9536
- *
9537
- * The org_id path parameter.
9538
9640
  */
9539
9641
  org_id: string;
9540
9642
  };
9541
9643
  query?: {
9542
9644
  /**
9543
9645
  * user_id
9544
- *
9545
- * The user_id query parameter.
9546
9646
  */
9547
9647
  user_id?: string;
9548
9648
  };
@@ -9560,16 +9660,12 @@ export type AuthV1DomainServiceCheckDomainVerificationData = {
9560
9660
  path: {
9561
9661
  /**
9562
9662
  * org_id
9563
- *
9564
- * The org_id path parameter.
9565
9663
  */
9566
9664
  org_id: string;
9567
9665
  };
9568
9666
  query?: {
9569
9667
  /**
9570
9668
  * user_id
9571
- *
9572
- * The user_id query parameter.
9573
9669
  */
9574
9670
  user_id?: string;
9575
9671
  };
@@ -9587,6 +9683,10 @@ export type AuthV1DomainServiceCreateDomainVerificationData = {
9587
9683
  * CreateDomainRequest
9588
9684
  */
9589
9685
  body: {
9686
+ /**
9687
+ * user
9688
+ */
9689
+ user?: AuthV1UserOrgRequest;
9590
9690
  /**
9591
9691
  * domain
9592
9692
  */
@@ -9595,8 +9695,6 @@ export type AuthV1DomainServiceCreateDomainVerificationData = {
9595
9695
  path: {
9596
9696
  /**
9597
9697
  * org_id
9598
- *
9599
- * The user.org_id path parameter.
9600
9698
  */
9601
9699
  'user.org_id': string;
9602
9700
  };
@@ -9615,6 +9713,10 @@ export type AuthV1DomainServiceSetDomainAutoJoinData = {
9615
9713
  * SetAutoJoinRequest
9616
9714
  */
9617
9715
  body: {
9716
+ /**
9717
+ * user
9718
+ */
9719
+ user?: AuthV1UserOrgRequest;
9618
9720
  /**
9619
9721
  * enabled
9620
9722
  */
@@ -9623,8 +9725,6 @@ export type AuthV1DomainServiceSetDomainAutoJoinData = {
9623
9725
  path: {
9624
9726
  /**
9625
9727
  * org_id
9626
- *
9627
- * The user.org_id path parameter.
9628
9728
  */
9629
9729
  'user.org_id': string;
9630
9730
  };
@@ -9643,8 +9743,6 @@ export type AuthV1MembershipServiceAcceptInvitationData = {
9643
9743
  path: {
9644
9744
  /**
9645
9745
  * token
9646
- *
9647
- * The token path parameter.
9648
9746
  */
9649
9747
  token: string;
9650
9748
  };
@@ -9663,8 +9761,6 @@ export type AuthV1MembershipServiceDeclineInvitationData = {
9663
9761
  path: {
9664
9762
  /**
9665
9763
  * token
9666
- *
9667
- * The token path parameter.
9668
9764
  */
9669
9765
  token: string;
9670
9766
  };
@@ -9684,26 +9780,18 @@ export type AuthV1MembershipServiceListMembershipApplicationsData = {
9684
9780
  query?: {
9685
9781
  /**
9686
9782
  * user_id
9687
- *
9688
- * The user.user_id query parameter.
9689
9783
  */
9690
9784
  'user.user_id'?: string;
9691
9785
  /**
9692
9786
  * limit
9693
- *
9694
- * The limit query parameter.
9695
9787
  */
9696
9788
  limit?: number;
9697
9789
  /**
9698
9790
  * offset
9699
- *
9700
- * The offset query parameter.
9701
9791
  */
9702
9792
  offset?: number;
9703
9793
  /**
9704
9794
  * state
9705
- *
9706
- * The state query parameter.
9707
9795
  */
9708
9796
  state?: AuthV1MembershipApplicationState;
9709
9797
  };
@@ -9721,6 +9809,10 @@ export type AuthV1MembershipServiceRespondToMembershipApplicationData = {
9721
9809
  * RespondToMembershipApplicationRequest
9722
9810
  */
9723
9811
  body: {
9812
+ /**
9813
+ * org_id
9814
+ */
9815
+ org_id?: string;
9724
9816
  /**
9725
9817
  * state
9726
9818
  */
@@ -9729,8 +9821,6 @@ export type AuthV1MembershipServiceRespondToMembershipApplicationData = {
9729
9821
  path: {
9730
9822
  /**
9731
9823
  * org_id
9732
- *
9733
- * The org_id path parameter.
9734
9824
  */
9735
9825
  org_id: string;
9736
9826
  };
@@ -9750,26 +9840,18 @@ export type AuthV1MembershipServiceListMembershipsData = {
9750
9840
  query?: {
9751
9841
  /**
9752
9842
  * user_id
9753
- *
9754
- * The user.user_id query parameter.
9755
9843
  */
9756
9844
  'user.user_id'?: string;
9757
9845
  /**
9758
9846
  * limit
9759
- *
9760
- * The limit query parameter.
9761
9847
  */
9762
9848
  limit?: number;
9763
9849
  /**
9764
9850
  * offset
9765
- *
9766
- * The offset query parameter.
9767
9851
  */
9768
9852
  offset?: number;
9769
9853
  /**
9770
9854
  * state
9771
- *
9772
- * The state query parameter.
9773
9855
  */
9774
9856
  state?: AuthV1MembershipState;
9775
9857
  };
@@ -9800,16 +9882,12 @@ export type AuthV1MembershipServiceCheckMembershipData = {
9800
9882
  path: {
9801
9883
  /**
9802
9884
  * org_id
9803
- *
9804
- * The org_id path parameter.
9805
9885
  */
9806
9886
  org_id: string;
9807
9887
  };
9808
9888
  query?: {
9809
9889
  /**
9810
9890
  * user_id
9811
- *
9812
- * The user_id query parameter.
9813
9891
  */
9814
9892
  user_id?: string;
9815
9893
  };
@@ -9827,16 +9905,12 @@ export type AuthV1MembershipServiceGetInternalMembershipInfoData = {
9827
9905
  path: {
9828
9906
  /**
9829
9907
  * org_id
9830
- *
9831
- * The org_id path parameter.
9832
9908
  */
9833
9909
  org_id: string;
9834
9910
  };
9835
9911
  query?: {
9836
9912
  /**
9837
9913
  * user_id
9838
- *
9839
- * The user_id query parameter.
9840
9914
  */
9841
9915
  user_id?: string;
9842
9916
  };
@@ -9854,16 +9928,12 @@ export type AuthV1MembershipServiceLeaveOrganizationData = {
9854
9928
  path: {
9855
9929
  /**
9856
9930
  * org_id
9857
- *
9858
- * The org_id path parameter.
9859
9931
  */
9860
9932
  org_id: string;
9861
9933
  };
9862
9934
  query?: {
9863
9935
  /**
9864
9936
  * user_id
9865
- *
9866
- * The user_id query parameter.
9867
9937
  */
9868
9938
  user_id?: string;
9869
9939
  };
@@ -9881,6 +9951,10 @@ export type AuthV1MembershipServiceInviteMemberData = {
9881
9951
  * InviteMemberRequest
9882
9952
  */
9883
9953
  body: {
9954
+ /**
9955
+ * user
9956
+ */
9957
+ user?: AuthV1ActorOrgRequest;
9884
9958
  /**
9885
9959
  * username
9886
9960
  */
@@ -9893,8 +9967,6 @@ export type AuthV1MembershipServiceInviteMemberData = {
9893
9967
  path: {
9894
9968
  /**
9895
9969
  * org_id
9896
- *
9897
- * The user.org_id path parameter.
9898
9970
  */
9899
9971
  'user.org_id': string;
9900
9972
  };
@@ -9913,6 +9985,10 @@ export type AuthV1MembershipServiceResendInvitationData = {
9913
9985
  * ResendInvitationRequest
9914
9986
  */
9915
9987
  body: {
9988
+ /**
9989
+ * user
9990
+ */
9991
+ user?: AuthV1ActorOrgRequest;
9916
9992
  /**
9917
9993
  * user_id
9918
9994
  */
@@ -9921,8 +9997,6 @@ export type AuthV1MembershipServiceResendInvitationData = {
9921
9997
  path: {
9922
9998
  /**
9923
9999
  * org_id
9924
- *
9925
- * The user.org_id path parameter.
9926
10000
  */
9927
10001
  'user.org_id': string;
9928
10002
  };
@@ -9941,18 +10015,19 @@ export type AuthV1MembershipServiceCancelInvitationData = {
9941
10015
  path: {
9942
10016
  /**
9943
10017
  * org_id
9944
- *
9945
- * The user.org_id path parameter.
9946
10018
  */
9947
10019
  'user.org_id': string;
9948
10020
  /**
9949
10021
  * user_id
9950
- *
9951
- * The user_id path parameter.
9952
10022
  */
9953
10023
  user_id: string;
9954
10024
  };
9955
- query?: never;
10025
+ query?: {
10026
+ /**
10027
+ * actor_id
10028
+ */
10029
+ 'user.actor_id'?: string;
10030
+ };
9956
10031
  url: '/auth/v1/memberships/{user.org_id}/invite/{user_id}';
9957
10032
  };
9958
10033
  export type AuthV1MembershipServiceCancelInvitationResponses = {
@@ -9967,22 +10042,20 @@ export type AuthV1MembershipServiceListOrganizationMembersData = {
9967
10042
  path: {
9968
10043
  /**
9969
10044
  * org_id
9970
- *
9971
- * The user.org_id path parameter.
9972
10045
  */
9973
10046
  'user.org_id': string;
9974
10047
  };
9975
10048
  query?: {
10049
+ /**
10050
+ * user_id
10051
+ */
10052
+ 'user.user_id'?: string;
9976
10053
  /**
9977
10054
  * limit
9978
- *
9979
- * The limit query parameter.
9980
10055
  */
9981
10056
  limit?: number;
9982
10057
  /**
9983
10058
  * offset
9984
- *
9985
- * The offset query parameter.
9986
10059
  */
9987
10060
  offset?: number;
9988
10061
  };
@@ -10000,18 +10073,19 @@ export type AuthV1MembershipServiceRemoveMemberData = {
10000
10073
  path: {
10001
10074
  /**
10002
10075
  * org_id
10003
- *
10004
- * The user.org_id path parameter.
10005
10076
  */
10006
10077
  'user.org_id': string;
10007
10078
  /**
10008
10079
  * user_id
10009
- *
10010
- * The user_id path parameter.
10011
10080
  */
10012
10081
  user_id: string;
10013
10082
  };
10014
- query?: never;
10083
+ query?: {
10084
+ /**
10085
+ * actor_id
10086
+ */
10087
+ 'user.actor_id'?: string;
10088
+ };
10015
10089
  url: '/auth/v1/memberships/{user.org_id}/members/{user_id}';
10016
10090
  };
10017
10091
  export type AuthV1MembershipServiceRemoveMemberResponses = {
@@ -10026,18 +10100,19 @@ export type AuthV1MembershipServiceReactivateMemberData = {
10026
10100
  path: {
10027
10101
  /**
10028
10102
  * org_id
10029
- *
10030
- * The user.org_id path parameter.
10031
10103
  */
10032
10104
  'user.org_id': string;
10033
10105
  /**
10034
10106
  * user_id
10035
- *
10036
- * The user_id path parameter.
10037
10107
  */
10038
10108
  user_id: string;
10039
10109
  };
10040
- query?: never;
10110
+ query?: {
10111
+ /**
10112
+ * actor_id
10113
+ */
10114
+ 'user.actor_id'?: string;
10115
+ };
10041
10116
  url: '/auth/v1/memberships/{user.org_id}/members/{user_id}/reactivate';
10042
10117
  };
10043
10118
  export type AuthV1MembershipServiceReactivateMemberResponses = {
@@ -10052,6 +10127,14 @@ export type AuthV1MembershipServiceUpdateMemberRoleData = {
10052
10127
  * UpdateMemberRoleRequest
10053
10128
  */
10054
10129
  body: {
10130
+ /**
10131
+ * user
10132
+ */
10133
+ user?: AuthV1ActorOrgRequest;
10134
+ /**
10135
+ * user_id
10136
+ */
10137
+ user_id?: string;
10055
10138
  /**
10056
10139
  * role
10057
10140
  */
@@ -10060,14 +10143,10 @@ export type AuthV1MembershipServiceUpdateMemberRoleData = {
10060
10143
  path: {
10061
10144
  /**
10062
10145
  * org_id
10063
- *
10064
- * The user.org_id path parameter.
10065
10146
  */
10066
10147
  'user.org_id': string;
10067
10148
  /**
10068
10149
  * user_id
10069
- *
10070
- * The user_id path parameter.
10071
10150
  */
10072
10151
  user_id: string;
10073
10152
  };
@@ -10086,18 +10165,19 @@ export type AuthV1MembershipServiceSuspendMemberData = {
10086
10165
  path: {
10087
10166
  /**
10088
10167
  * org_id
10089
- *
10090
- * The user.org_id path parameter.
10091
10168
  */
10092
10169
  'user.org_id': string;
10093
10170
  /**
10094
10171
  * user_id
10095
- *
10096
- * The user_id path parameter.
10097
10172
  */
10098
10173
  user_id: string;
10099
10174
  };
10100
- query?: never;
10175
+ query?: {
10176
+ /**
10177
+ * actor_id
10178
+ */
10179
+ 'user.actor_id'?: string;
10180
+ };
10101
10181
  url: '/auth/v1/memberships/{user.org_id}/members/{user_id}/suspend';
10102
10182
  };
10103
10183
  export type AuthV1MembershipServiceSuspendMemberResponses = {
@@ -10112,6 +10192,10 @@ export type AuthV1MembershipServiceUpdateOrgNameData = {
10112
10192
  * UpdateOrgNameRequest
10113
10193
  */
10114
10194
  body: {
10195
+ /**
10196
+ * user
10197
+ */
10198
+ user?: AuthV1ActorOrgRequest;
10115
10199
  /**
10116
10200
  * full_name
10117
10201
  */
@@ -10120,8 +10204,6 @@ export type AuthV1MembershipServiceUpdateOrgNameData = {
10120
10204
  path: {
10121
10205
  /**
10122
10206
  * org_id
10123
- *
10124
- * The user.org_id path parameter.
10125
10207
  */
10126
10208
  'user.org_id': string;
10127
10209
  };
@@ -10140,6 +10222,10 @@ export type AuthV1MembershipServiceUpdateMembershipStateData = {
10140
10222
  * UpdateMembershipStateRequest
10141
10223
  */
10142
10224
  body: {
10225
+ /**
10226
+ * user
10227
+ */
10228
+ user?: AuthV1UserOrgRequest;
10143
10229
  /**
10144
10230
  * state
10145
10231
  */
@@ -10152,8 +10238,6 @@ export type AuthV1MembershipServiceUpdateMembershipStateData = {
10152
10238
  path: {
10153
10239
  /**
10154
10240
  * org_id
10155
- *
10156
- * The user.org_id path parameter.
10157
10241
  */
10158
10242
  'user.org_id': string;
10159
10243
  };
@@ -10172,6 +10256,10 @@ export type AuthV1MembershipServiceUpdateOrgUsernameData = {
10172
10256
  * UpdateOrgUsernameRequest
10173
10257
  */
10174
10258
  body: {
10259
+ /**
10260
+ * user
10261
+ */
10262
+ user?: AuthV1ActorOrgRequest;
10175
10263
  /**
10176
10264
  * username
10177
10265
  */
@@ -10180,8 +10268,6 @@ export type AuthV1MembershipServiceUpdateOrgUsernameData = {
10180
10268
  path: {
10181
10269
  /**
10182
10270
  * org_id
10183
- *
10184
- * The user.org_id path parameter.
10185
10271
  */
10186
10272
  'user.org_id': string;
10187
10273
  };
@@ -10201,8 +10287,6 @@ export type AuthV1OtpServiceRegenerateBackupCodesData = {
10201
10287
  query?: {
10202
10288
  /**
10203
10289
  * user_id
10204
- *
10205
- * The user_id query parameter.
10206
10290
  */
10207
10291
  user_id?: string;
10208
10292
  };
@@ -10221,8 +10305,6 @@ export type AuthV1OtpServiceDeleteOtpData = {
10221
10305
  query?: {
10222
10306
  /**
10223
10307
  * user_id
10224
- *
10225
- * The user_id query parameter.
10226
10308
  */
10227
10309
  user_id?: string;
10228
10310
  };
@@ -10241,8 +10323,6 @@ export type AuthV1OtpServiceSetupOtpData = {
10241
10323
  query?: {
10242
10324
  /**
10243
10325
  * user_id
10244
- *
10245
- * The user_id query parameter.
10246
10326
  */
10247
10327
  user_id?: string;
10248
10328
  };
@@ -10261,8 +10341,6 @@ export type AuthV1OtpServiceGetOtpStatusData = {
10261
10341
  query?: {
10262
10342
  /**
10263
10343
  * user_id
10264
- *
10265
- * The user_id query parameter.
10266
10344
  */
10267
10345
  user_id?: string;
10268
10346
  };
@@ -10333,8 +10411,6 @@ export type AuthV1PasskeyServiceListPasskeysData = {
10333
10411
  query?: {
10334
10412
  /**
10335
10413
  * user_id
10336
- *
10337
- * The user_id query parameter.
10338
10414
  */
10339
10415
  user_id?: string;
10340
10416
  };
@@ -10378,16 +10454,12 @@ export type AuthV1PasskeyServiceDeletePasskeyData = {
10378
10454
  path: {
10379
10455
  /**
10380
10456
  * id
10381
- *
10382
- * The id path parameter.
10383
10457
  */
10384
10458
  id: string;
10385
10459
  };
10386
10460
  query?: {
10387
10461
  /**
10388
10462
  * user_id
10389
- *
10390
- * The user_id query parameter.
10391
10463
  */
10392
10464
  user_id?: string;
10393
10465
  };
@@ -10417,8 +10489,6 @@ export type AuthV1PasskeyServiceRenamePasskeyData = {
10417
10489
  path: {
10418
10490
  /**
10419
10491
  * id
10420
- *
10421
- * The id path parameter.
10422
10492
  */
10423
10493
  id: string;
10424
10494
  };
@@ -10450,16 +10520,12 @@ export type AuthV1PolicyServiceListPoliciesData = {
10450
10520
  path: {
10451
10521
  /**
10452
10522
  * org_id
10453
- *
10454
- * The org_id path parameter.
10455
10523
  */
10456
10524
  org_id: string;
10457
10525
  };
10458
10526
  query?: {
10459
10527
  /**
10460
10528
  * user_id
10461
- *
10462
- * The user_id query parameter.
10463
10529
  */
10464
10530
  user_id?: string;
10465
10531
  };
@@ -10477,18 +10543,19 @@ export type AuthV1PolicyServiceListUserPoliciesData = {
10477
10543
  path: {
10478
10544
  /**
10479
10545
  * org_id
10480
- *
10481
- * The user.org_id path parameter.
10482
10546
  */
10483
10547
  'user.org_id': string;
10484
10548
  /**
10485
10549
  * member_id
10486
- *
10487
- * The member_id path parameter.
10488
10550
  */
10489
10551
  member_id: string;
10490
10552
  };
10491
- query?: never;
10553
+ query?: {
10554
+ /**
10555
+ * user_id
10556
+ */
10557
+ 'user.user_id'?: string;
10558
+ };
10492
10559
  url: '/auth/v1/memberships/{user.org_id}/members/{member_id}/policies';
10493
10560
  };
10494
10561
  export type AuthV1PolicyServiceListUserPoliciesResponses = {
@@ -10503,6 +10570,10 @@ export type AuthV1PolicyServiceCreatePolicyData = {
10503
10570
  * CreatePolicyRequest
10504
10571
  */
10505
10572
  body: {
10573
+ /**
10574
+ * user
10575
+ */
10576
+ user?: AuthV1UserOrgRequest;
10506
10577
  /**
10507
10578
  * name
10508
10579
  */
@@ -10519,8 +10590,6 @@ export type AuthV1PolicyServiceCreatePolicyData = {
10519
10590
  path: {
10520
10591
  /**
10521
10592
  * org_id
10522
- *
10523
- * The user.org_id path parameter.
10524
10593
  */
10525
10594
  'user.org_id': string;
10526
10595
  };
@@ -10539,18 +10608,19 @@ export type AuthV1PolicyServiceDetachPolicyData = {
10539
10608
  path: {
10540
10609
  /**
10541
10610
  * org_id
10542
- *
10543
- * The user.org_id path parameter.
10544
10611
  */
10545
10612
  'user.org_id': string;
10546
10613
  /**
10547
10614
  * attachment_id
10548
- *
10549
- * The attachment_id path parameter.
10550
10615
  */
10551
10616
  attachment_id: string;
10552
10617
  };
10553
- query?: never;
10618
+ query?: {
10619
+ /**
10620
+ * user_id
10621
+ */
10622
+ 'user.user_id'?: string;
10623
+ };
10554
10624
  url: '/auth/v1/memberships/{user.org_id}/policies/attachments/{attachment_id}';
10555
10625
  };
10556
10626
  export type AuthV1PolicyServiceDetachPolicyResponses = {
@@ -10565,28 +10635,24 @@ export type AuthV1PolicyServiceListPermissionRegistryData = {
10565
10635
  path: {
10566
10636
  /**
10567
10637
  * org_id
10568
- *
10569
- * The user.org_id path parameter.
10570
10638
  */
10571
10639
  'user.org_id': string;
10572
10640
  };
10573
10641
  query?: {
10642
+ /**
10643
+ * user_id
10644
+ */
10645
+ 'user.user_id'?: string;
10574
10646
  /**
10575
10647
  * types
10576
- *
10577
- * The types query parameter.
10578
10648
  */
10579
10649
  types?: Array<string>;
10580
10650
  /**
10581
10651
  * limit
10582
- *
10583
- * The limit query parameter.
10584
10652
  */
10585
10653
  limit?: number;
10586
10654
  /**
10587
10655
  * offset
10588
- *
10589
- * The offset query parameter.
10590
10656
  */
10591
10657
  offset?: number;
10592
10658
  };
@@ -10604,18 +10670,19 @@ export type AuthV1PolicyServiceDeletePolicyData = {
10604
10670
  path: {
10605
10671
  /**
10606
10672
  * org_id
10607
- *
10608
- * The user.org_id path parameter.
10609
10673
  */
10610
10674
  'user.org_id': string;
10611
10675
  /**
10612
10676
  * policy_id
10613
- *
10614
- * The policy_id path parameter.
10615
10677
  */
10616
10678
  policy_id: string;
10617
10679
  };
10618
- query?: never;
10680
+ query?: {
10681
+ /**
10682
+ * user_id
10683
+ */
10684
+ 'user.user_id'?: string;
10685
+ };
10619
10686
  url: '/auth/v1/memberships/{user.org_id}/policies/{policy_id}';
10620
10687
  };
10621
10688
  export type AuthV1PolicyServiceDeletePolicyResponses = {
@@ -10630,18 +10697,19 @@ export type AuthV1PolicyServiceGetPolicyData = {
10630
10697
  path: {
10631
10698
  /**
10632
10699
  * org_id
10633
- *
10634
- * The user.org_id path parameter.
10635
10700
  */
10636
10701
  'user.org_id': string;
10637
10702
  /**
10638
10703
  * policy_id
10639
- *
10640
- * The policy_id path parameter.
10641
10704
  */
10642
10705
  policy_id: string;
10643
10706
  };
10644
- query?: never;
10707
+ query?: {
10708
+ /**
10709
+ * user_id
10710
+ */
10711
+ 'user.user_id'?: string;
10712
+ };
10645
10713
  url: '/auth/v1/memberships/{user.org_id}/policies/{policy_id}';
10646
10714
  };
10647
10715
  export type AuthV1PolicyServiceGetPolicyResponses = {
@@ -10656,6 +10724,14 @@ export type AuthV1PolicyServiceUpdatePolicyData = {
10656
10724
  * UpdatePolicyRequest
10657
10725
  */
10658
10726
  body: {
10727
+ /**
10728
+ * user
10729
+ */
10730
+ user?: AuthV1UserOrgRequest;
10731
+ /**
10732
+ * policy_id
10733
+ */
10734
+ policy_id?: string;
10659
10735
  /**
10660
10736
  * name
10661
10737
  */
@@ -10672,14 +10748,10 @@ export type AuthV1PolicyServiceUpdatePolicyData = {
10672
10748
  path: {
10673
10749
  /**
10674
10750
  * org_id
10675
- *
10676
- * The user.org_id path parameter.
10677
10751
  */
10678
10752
  'user.org_id': string;
10679
10753
  /**
10680
10754
  * policy_id
10681
- *
10682
- * The policy_id path parameter.
10683
10755
  */
10684
10756
  policy_id: string;
10685
10757
  };
@@ -10698,18 +10770,19 @@ export type AuthV1PolicyServiceListPolicyAttachmentsData = {
10698
10770
  path: {
10699
10771
  /**
10700
10772
  * org_id
10701
- *
10702
- * The user.org_id path parameter.
10703
10773
  */
10704
10774
  'user.org_id': string;
10705
10775
  /**
10706
10776
  * policy_id
10707
- *
10708
- * The policy_id path parameter.
10709
10777
  */
10710
10778
  policy_id: string;
10711
10779
  };
10712
- query?: never;
10780
+ query?: {
10781
+ /**
10782
+ * user_id
10783
+ */
10784
+ 'user.user_id'?: string;
10785
+ };
10713
10786
  url: '/auth/v1/memberships/{user.org_id}/policies/{policy_id}/attachments';
10714
10787
  };
10715
10788
  export type AuthV1PolicyServiceListPolicyAttachmentsResponses = {
@@ -10724,6 +10797,14 @@ export type AuthV1PolicyServiceAttachPolicyData = {
10724
10797
  * AttachPolicyRequest
10725
10798
  */
10726
10799
  body: {
10800
+ /**
10801
+ * user
10802
+ */
10803
+ user?: AuthV1UserOrgRequest;
10804
+ /**
10805
+ * policy_id
10806
+ */
10807
+ policy_id?: string;
10727
10808
  /**
10728
10809
  * identity_type
10729
10810
  */
@@ -10736,14 +10817,10 @@ export type AuthV1PolicyServiceAttachPolicyData = {
10736
10817
  path: {
10737
10818
  /**
10738
10819
  * org_id
10739
- *
10740
- * The user.org_id path parameter.
10741
10820
  */
10742
10821
  'user.org_id': string;
10743
10822
  /**
10744
10823
  * policy_id
10745
- *
10746
- * The policy_id path parameter.
10747
10824
  */
10748
10825
  policy_id: string;
10749
10826
  };
@@ -10763,8 +10840,6 @@ export type AuthV1ProvidersServiceListProvidersData = {
10763
10840
  query?: {
10764
10841
  /**
10765
10842
  * user_id
10766
- *
10767
- * The user_id query parameter.
10768
10843
  */
10769
10844
  user_id?: string;
10770
10845
  };
@@ -10795,16 +10870,12 @@ export type AuthV1ProvidersServiceDisconnectProviderData = {
10795
10870
  path: {
10796
10871
  /**
10797
10872
  * provider
10798
- *
10799
- * The provider path parameter.
10800
10873
  */
10801
10874
  provider: AuthV1ExternalAccountProvider;
10802
10875
  };
10803
10876
  query?: {
10804
10877
  /**
10805
10878
  * user_id
10806
- *
10807
- * The user.user_id query parameter.
10808
10879
  */
10809
10880
  'user.user_id'?: string;
10810
10881
  };
@@ -10953,8 +11024,6 @@ export type AuthV1EmailServiceGetUserEmailStatusData = {
10953
11024
  query?: {
10954
11025
  /**
10955
11026
  * user_id
10956
- *
10957
- * The user_id query parameter.
10958
11027
  */
10959
11028
  user_id?: string;
10960
11029
  };
@@ -10973,8 +11042,6 @@ export type AuthV1UserServiceGetUserInfoData = {
10973
11042
  query?: {
10974
11043
  /**
10975
11044
  * user_id
10976
- *
10977
- * The user_id query parameter.
10978
11045
  */
10979
11046
  user_id?: string;
10980
11047
  };
@@ -10993,8 +11060,6 @@ export type AuthV1UserServiceGetUserData = {
10993
11060
  query?: {
10994
11061
  /**
10995
11062
  * user_id
10996
- *
10997
- * The user_id query parameter.
10998
11063
  */
10999
11064
  user_id?: string;
11000
11065
  };
@@ -11026,8 +11091,6 @@ export type AuthV1UserServiceCreateAvatarUploadData = {
11026
11091
  query?: {
11027
11092
  /**
11028
11093
  * user_id
11029
- *
11030
- * The user_id query parameter.
11031
11094
  */
11032
11095
  user_id?: string;
11033
11096
  };
@@ -11072,8 +11135,6 @@ export type BillingV1InvoiceServiceListInvoicesData = {
11072
11135
  query?: {
11073
11136
  /**
11074
11137
  * org_id
11075
- *
11076
- * The org_id query parameter.
11077
11138
  */
11078
11139
  org_id?: string;
11079
11140
  /**
@@ -11103,19 +11164,18 @@ export type BillingV1InvoiceServiceUpdateInvoiceStatusData = {
11103
11164
  * UpdateInvoiceStatusRequest
11104
11165
  */
11105
11166
  body: {
11167
+ /**
11168
+ * invoice_id
11169
+ */
11170
+ invoice_id: string;
11106
11171
  /**
11107
11172
  * status
11108
- *
11109
- * enum.defined_only = true
11110
- *
11111
11173
  */
11112
11174
  status?: BillingV1InvoiceStatus;
11113
11175
  };
11114
11176
  path: {
11115
11177
  /**
11116
11178
  * invoice_id
11117
- *
11118
- * The invoice_id path parameter.
11119
11179
  */
11120
11180
  invoice_id: string;
11121
11181
  };
@@ -11135,8 +11195,6 @@ export type BillingV1PaymentServiceGetBillingAddressData = {
11135
11195
  query?: {
11136
11196
  /**
11137
11197
  * org_id
11138
- *
11139
- * The org_id query parameter.
11140
11198
  */
11141
11199
  org_id?: string;
11142
11200
  };
@@ -11181,14 +11239,10 @@ export type BillingV1PaymentServiceListPaymentMethodsData = {
11181
11239
  query?: {
11182
11240
  /**
11183
11241
  * org_id
11184
- *
11185
- * The org_id query parameter.
11186
11242
  */
11187
11243
  org_id?: string;
11188
11244
  /**
11189
11245
  * refresh
11190
- *
11191
- * The refresh query parameter.
11192
11246
  */
11193
11247
  refresh?: boolean;
11194
11248
  };
@@ -11220,8 +11274,6 @@ export type BillingV1PaymentServiceGetPaymentMethodFromPaymentIntentData = {
11220
11274
  query?: {
11221
11275
  /**
11222
11276
  * payment_intent_id
11223
- *
11224
- * The payment_intent_id query parameter.
11225
11277
  */
11226
11278
  payment_intent_id?: string;
11227
11279
  };
@@ -11240,8 +11292,6 @@ export type BillingV1PaymentServiceGetPaymentMethodFromSetupIntentData = {
11240
11292
  query?: {
11241
11293
  /**
11242
11294
  * setup_intent_id
11243
- *
11244
- * The setup_intent_id query parameter.
11245
11295
  */
11246
11296
  setup_intent_id?: string;
11247
11297
  };
@@ -11259,16 +11309,12 @@ export type BillingV1PaymentServiceDeletePaymentMethodData = {
11259
11309
  path: {
11260
11310
  /**
11261
11311
  * payment_method_id
11262
- *
11263
- * The payment_method_id path parameter.
11264
11312
  */
11265
11313
  payment_method_id: string;
11266
11314
  };
11267
11315
  query?: {
11268
11316
  /**
11269
11317
  * org_id
11270
- *
11271
- * The org_id query parameter.
11272
11318
  */
11273
11319
  org_id?: string;
11274
11320
  };
@@ -11339,20 +11385,14 @@ export type BillingV1PlanServiceListPlansData = {
11339
11385
  query?: {
11340
11386
  /**
11341
11387
  * currency
11342
- *
11343
- * The currency query parameter.
11344
11388
  */
11345
11389
  currency?: string;
11346
11390
  /**
11347
11391
  * interval
11348
- *
11349
- * The interval query parameter.
11350
11392
  */
11351
11393
  interval?: string;
11352
11394
  /**
11353
11395
  * free
11354
- *
11355
- * The free query parameter.
11356
11396
  */
11357
11397
  free?: string;
11358
11398
  };
@@ -11405,8 +11445,6 @@ export type BillingV1SubscriptionServiceGetSubscriptionData = {
11405
11445
  query?: {
11406
11446
  /**
11407
11447
  * org_id
11408
- *
11409
- * The org_id query parameter.
11410
11448
  */
11411
11449
  org_id?: string;
11412
11450
  };
@@ -11438,8 +11476,6 @@ export type BillingV1SubscriptionServiceCancelSubscriptionData = {
11438
11476
  query?: {
11439
11477
  /**
11440
11478
  * org_id
11441
- *
11442
- * The org_id query parameter.
11443
11479
  */
11444
11480
  org_id?: string;
11445
11481
  };
@@ -11458,8 +11494,6 @@ export type BillingV1SubscriptionServiceGetSubscriptionHistoryData = {
11458
11494
  query?: {
11459
11495
  /**
11460
11496
  * org_id
11461
- *
11462
- * The org_id query parameter.
11463
11497
  */
11464
11498
  org_id?: string;
11465
11499
  /**
@@ -11490,8 +11524,6 @@ export type BillingV1SubscriptionServiceReactivateSubscriptionData = {
11490
11524
  query?: {
11491
11525
  /**
11492
11526
  * org_id
11493
- *
11494
- * The org_id query parameter.
11495
11527
  */
11496
11528
  org_id?: string;
11497
11529
  };
@@ -11510,8 +11542,6 @@ export type BillingV1UsageServiceGetBandwidthUsageData = {
11510
11542
  query?: {
11511
11543
  /**
11512
11544
  * org_id
11513
- *
11514
- * The org_id query parameter.
11515
11545
  */
11516
11546
  org_id?: string;
11517
11547
  };
@@ -11530,14 +11560,10 @@ export type BillingV1UsageServiceGetBandwidthUsageHistoryData = {
11530
11560
  query?: {
11531
11561
  /**
11532
11562
  * org_id
11533
- *
11534
- * The org_id query parameter.
11535
11563
  */
11536
11564
  org_id?: string;
11537
11565
  /**
11538
11566
  * days
11539
- *
11540
- * The days query parameter.
11541
11567
  */
11542
11568
  days?: number;
11543
11569
  };
@@ -11556,8 +11582,6 @@ export type BillingV1UsageServiceRefreshBandwidthUsageData = {
11556
11582
  query?: {
11557
11583
  /**
11558
11584
  * org_id
11559
- *
11560
- * The org_id query parameter.
11561
11585
  */
11562
11586
  org_id?: string;
11563
11587
  };
@@ -11576,8 +11600,6 @@ export type BillingV1UsageServiceGetStorageUsageData = {
11576
11600
  query?: {
11577
11601
  /**
11578
11602
  * org_id
11579
- *
11580
- * The org_id query parameter.
11581
11603
  */
11582
11604
  org_id?: string;
11583
11605
  };
@@ -11596,14 +11618,10 @@ export type BillingV1UsageServiceGetStorageUsageHistoryData = {
11596
11618
  query?: {
11597
11619
  /**
11598
11620
  * org_id
11599
- *
11600
- * The org_id query parameter.
11601
11621
  */
11602
11622
  org_id?: string;
11603
11623
  /**
11604
11624
  * days
11605
- *
11606
- * The days query parameter.
11607
11625
  */
11608
11626
  days?: number;
11609
11627
  };
@@ -11622,8 +11640,6 @@ export type BillingV1UsageServiceRefreshStorageUsageData = {
11622
11640
  query?: {
11623
11641
  /**
11624
11642
  * org_id
11625
- *
11626
- * The org_id query parameter.
11627
11643
  */
11628
11644
  org_id?: string;
11629
11645
  };
@@ -11642,8 +11658,6 @@ export type ClientauthV1ClientCredentialServiceListClientCredentialsData = {
11642
11658
  query?: {
11643
11659
  /**
11644
11660
  * org_id
11645
- *
11646
- * The org_id query parameter.
11647
11661
  */
11648
11662
  org_id?: string;
11649
11663
  /**
@@ -11686,16 +11700,12 @@ export type ClientauthV1ClientCredentialServiceRevokeClientCredentialData = {
11686
11700
  path: {
11687
11701
  /**
11688
11702
  * credential_id
11689
- *
11690
- * The credential_id path parameter.
11691
11703
  */
11692
11704
  credential_id: string;
11693
11705
  };
11694
11706
  query?: {
11695
11707
  /**
11696
11708
  * org_id
11697
- *
11698
- * The org_id query parameter.
11699
11709
  */
11700
11710
  org_id?: string;
11701
11711
  };
@@ -11726,8 +11736,6 @@ export type FeedsV1FeedServiceListFeedsData = {
11726
11736
  path: {
11727
11737
  /**
11728
11738
  * project_id
11729
- *
11730
- * The project_id path parameter.
11731
11739
  */
11732
11740
  project_id: string;
11733
11741
  };
@@ -11759,6 +11767,10 @@ export type FeedsV1FeedServiceCreateFeedData = {
11759
11767
  * CreateFeedRequest
11760
11768
  */
11761
11769
  body: {
11770
+ /**
11771
+ * project_id
11772
+ */
11773
+ project_id?: string;
11762
11774
  /**
11763
11775
  * name
11764
11776
  */
@@ -11791,8 +11803,6 @@ export type FeedsV1FeedServiceCreateFeedData = {
11791
11803
  path: {
11792
11804
  /**
11793
11805
  * project_id
11794
- *
11795
- * The project_id path parameter.
11796
11806
  */
11797
11807
  project_id: string;
11798
11808
  };
@@ -11811,14 +11821,10 @@ export type FeedsV1FeedServiceDeleteFeedData = {
11811
11821
  path: {
11812
11822
  /**
11813
11823
  * project_id
11814
- *
11815
- * The project_id path parameter.
11816
11824
  */
11817
11825
  project_id: string;
11818
11826
  /**
11819
11827
  * feed_id
11820
- *
11821
- * The feed_id path parameter.
11822
11828
  */
11823
11829
  feed_id: string;
11824
11830
  };
@@ -11837,14 +11843,10 @@ export type FeedsV1FeedServiceGetFeedData = {
11837
11843
  path: {
11838
11844
  /**
11839
11845
  * project_id
11840
- *
11841
- * The project_id path parameter.
11842
11846
  */
11843
11847
  project_id: string;
11844
11848
  /**
11845
11849
  * feed_id
11846
- *
11847
- * The feed_id path parameter.
11848
11850
  */
11849
11851
  feed_id: string;
11850
11852
  };
@@ -11864,13 +11866,21 @@ export type FeedsV1FeedServiceUpdateFeedData = {
11864
11866
  */
11865
11867
  body: {
11866
11868
  /**
11867
- * name
11869
+ * project_id
11868
11870
  */
11869
- name?: string;
11871
+ project_id?: string;
11870
11872
  /**
11871
- * description
11873
+ * feed_id
11872
11874
  */
11873
- description?: string;
11875
+ feed_id?: string;
11876
+ /**
11877
+ * name
11878
+ */
11879
+ name?: string;
11880
+ /**
11881
+ * description
11882
+ */
11883
+ description?: string;
11874
11884
  /**
11875
11885
  * allow_images
11876
11886
  */
@@ -11895,14 +11905,10 @@ export type FeedsV1FeedServiceUpdateFeedData = {
11895
11905
  path: {
11896
11906
  /**
11897
11907
  * project_id
11898
- *
11899
- * The project_id path parameter.
11900
11908
  */
11901
11909
  project_id: string;
11902
11910
  /**
11903
11911
  * feed_id
11904
- *
11905
- * The feed_id path parameter.
11906
11912
  */
11907
11913
  feed_id: string;
11908
11914
  };
@@ -11960,8 +11966,6 @@ export type ImagesV1ImageServiceGetImageData = {
11960
11966
  path: {
11961
11967
  /**
11962
11968
  * image_id
11963
- *
11964
- * The image_id path parameter.
11965
11969
  */
11966
11970
  image_id: string;
11967
11971
  };
@@ -11980,8 +11984,6 @@ export type ImagesV1ImageServiceListImagesData = {
11980
11984
  path: {
11981
11985
  /**
11982
11986
  * project_id
11983
- *
11984
- * The project_id path parameter.
11985
11987
  */
11986
11988
  project_id: string;
11987
11989
  };
@@ -12000,14 +12002,10 @@ export type ImagesV1ImageServiceListImagesData = {
12000
12002
  'pagination.offset'?: number;
12001
12003
  /**
12002
12004
  * sort_field
12003
- *
12004
- * The sort_field query parameter.
12005
12005
  */
12006
12006
  sort_field?: string;
12007
12007
  /**
12008
12008
  * sort_direction
12009
- *
12010
- * The sort_direction query parameter.
12011
12009
  */
12012
12010
  sort_direction?: string;
12013
12011
  };
@@ -12025,6 +12023,10 @@ export type ImagesV1ImageServiceCreateImageUploadData = {
12025
12023
  * CreateImageUploadRequest
12026
12024
  */
12027
12025
  body: {
12026
+ /**
12027
+ * project_id
12028
+ */
12029
+ project_id?: string;
12028
12030
  /**
12029
12031
  * org_id
12030
12032
  */
@@ -12037,8 +12039,6 @@ export type ImagesV1ImageServiceCreateImageUploadData = {
12037
12039
  path: {
12038
12040
  /**
12039
12041
  * project_id
12040
- *
12041
- * The project_id path parameter.
12042
12042
  */
12043
12043
  project_id: string;
12044
12044
  };
@@ -12057,14 +12057,10 @@ export type ImagesV1ImageServiceDeleteImageData = {
12057
12057
  path: {
12058
12058
  /**
12059
12059
  * project_id
12060
- *
12061
- * The project_id path parameter.
12062
12060
  */
12063
12061
  project_id: string;
12064
12062
  /**
12065
12063
  * image_id
12066
- *
12067
- * The image_id path parameter.
12068
12064
  */
12069
12065
  image_id: string;
12070
12066
  };
@@ -12083,25 +12079,26 @@ export type ImagesV1ImageServiceUpdateImageVisibilityData = {
12083
12079
  * UpdateImageVisibilityRequest
12084
12080
  */
12085
12081
  body: {
12082
+ /**
12083
+ * project_id
12084
+ */
12085
+ project_id?: string;
12086
+ /**
12087
+ * image_id
12088
+ */
12089
+ image_id?: string;
12086
12090
  /**
12087
12091
  * visibility
12088
- *
12089
- * enum.defined_only = true
12090
- *
12091
12092
  */
12092
12093
  visibility?: CommonV1Visibility;
12093
12094
  };
12094
12095
  path: {
12095
12096
  /**
12096
12097
  * project_id
12097
- *
12098
- * The project_id path parameter.
12099
12098
  */
12100
12099
  project_id: string;
12101
12100
  /**
12102
12101
  * image_id
12103
- *
12104
- * The image_id path parameter.
12105
12102
  */
12106
12103
  image_id: string;
12107
12104
  };
@@ -12146,16 +12143,12 @@ export type PostsV1PostServiceListPosts3Data = {
12146
12143
  path: {
12147
12144
  /**
12148
12145
  * feed_id
12149
- *
12150
- * The feed_id path parameter.
12151
12146
  */
12152
12147
  feed_id: string;
12153
12148
  };
12154
12149
  query?: {
12155
12150
  /**
12156
12151
  * project_id
12157
- *
12158
- * The project_id query parameter.
12159
12152
  */
12160
12153
  project_id?: string;
12161
12154
  /**
@@ -12172,8 +12165,6 @@ export type PostsV1PostServiceListPosts3Data = {
12172
12165
  'pagination.offset'?: number;
12173
12166
  /**
12174
12167
  * creator_id
12175
- *
12176
- * The creator_id query parameter.
12177
12168
  */
12178
12169
  creator_id?: string;
12179
12170
  };
@@ -12191,22 +12182,16 @@ export type PostsV1PostServiceListPosts4Data = {
12191
12182
  path: {
12192
12183
  /**
12193
12184
  * feed_id
12194
- *
12195
- * The feed_id path parameter.
12196
12185
  */
12197
12186
  feed_id: string;
12198
12187
  /**
12199
12188
  * creator_id
12200
- *
12201
- * The creator_id path parameter.
12202
12189
  */
12203
12190
  creator_id: string;
12204
12191
  };
12205
12192
  query?: {
12206
12193
  /**
12207
12194
  * project_id
12208
- *
12209
- * The project_id query parameter.
12210
12195
  */
12211
12196
  project_id?: string;
12212
12197
  /**
@@ -12243,16 +12228,12 @@ export type PostsV1PostServiceGetPost3Data = {
12243
12228
  feed_id: string;
12244
12229
  /**
12245
12230
  * post_id
12246
- *
12247
- * The post_id path parameter.
12248
12231
  */
12249
12232
  post_id: string;
12250
12233
  };
12251
12234
  query?: {
12252
12235
  /**
12253
12236
  * project_id
12254
- *
12255
- * The project_id query parameter.
12256
12237
  */
12257
12238
  project_id?: string;
12258
12239
  };
@@ -12270,14 +12251,10 @@ export type PostsV1PostServiceListPostsData = {
12270
12251
  path: {
12271
12252
  /**
12272
12253
  * project_id
12273
- *
12274
- * The project_id path parameter.
12275
12254
  */
12276
12255
  project_id: string;
12277
12256
  /**
12278
12257
  * feed_id
12279
- *
12280
- * The feed_id path parameter.
12281
12258
  */
12282
12259
  feed_id: string;
12283
12260
  };
@@ -12296,8 +12273,6 @@ export type PostsV1PostServiceListPostsData = {
12296
12273
  'pagination.offset'?: number;
12297
12274
  /**
12298
12275
  * creator_id
12299
- *
12300
- * The creator_id query parameter.
12301
12276
  */
12302
12277
  creator_id?: string;
12303
12278
  };
@@ -12311,48 +12286,52 @@ export type PostsV1PostServiceListPostsResponses = {
12311
12286
  };
12312
12287
  export type PostsV1PostServiceListPostsResponse = PostsV1PostServiceListPostsResponses[keyof PostsV1PostServiceListPostsResponses];
12313
12288
  export type PostsV1PostServiceCreatePostData = {
12314
- body: ({
12315
- /**
12316
- * image_id
12317
- */
12318
- image_id?: string;
12319
- } | {
12289
+ /**
12290
+ * CreatePostRequest
12291
+ */
12292
+ body: {
12320
12293
  /**
12321
- * video_id
12294
+ * project_id
12322
12295
  */
12323
- video_id?: string;
12324
- }) & {
12296
+ project_id?: string;
12325
12297
  /**
12326
12298
  * org_id
12327
12299
  */
12328
12300
  org_id?: string;
12301
+ /**
12302
+ * feed_id
12303
+ */
12304
+ feed_id?: string;
12329
12305
  /**
12330
12306
  * creator_id
12331
12307
  */
12332
12308
  creator_id?: string;
12333
12309
  /**
12334
12310
  * type
12335
- *
12336
- * enum.defined_only = true
12337
- *
12338
12311
  */
12339
12312
  type?: CommonV1MediaType;
12340
12313
  /**
12341
12314
  * description
12342
12315
  */
12343
12316
  description?: string;
12344
- };
12317
+ } & ({
12318
+ /**
12319
+ * image_id
12320
+ */
12321
+ image_id: string;
12322
+ } | {
12323
+ /**
12324
+ * video_id
12325
+ */
12326
+ video_id: string;
12327
+ });
12345
12328
  path: {
12346
12329
  /**
12347
12330
  * project_id
12348
- *
12349
- * The project_id path parameter.
12350
12331
  */
12351
12332
  project_id: string;
12352
12333
  /**
12353
12334
  * feed_id
12354
- *
12355
- * The feed_id path parameter.
12356
12335
  */
12357
12336
  feed_id: string;
12358
12337
  };
@@ -12371,20 +12350,14 @@ export type PostsV1PostServiceListPosts2Data = {
12371
12350
  path: {
12372
12351
  /**
12373
12352
  * project_id
12374
- *
12375
- * The project_id path parameter.
12376
12353
  */
12377
12354
  project_id: string;
12378
12355
  /**
12379
12356
  * feed_id
12380
- *
12381
- * The feed_id path parameter.
12382
12357
  */
12383
12358
  feed_id: string;
12384
12359
  /**
12385
12360
  * creator_id
12386
- *
12387
- * The creator_id path parameter.
12388
12361
  */
12389
12362
  creator_id: string;
12390
12363
  };
@@ -12416,10 +12389,18 @@ export type PostsV1PostServiceCreatePostUploadData = {
12416
12389
  * CreatePostUploadRequest
12417
12390
  */
12418
12391
  body: {
12392
+ /**
12393
+ * project_id
12394
+ */
12395
+ project_id?: string;
12419
12396
  /**
12420
12397
  * org_id
12421
12398
  */
12422
12399
  org_id?: string;
12400
+ /**
12401
+ * feed_id
12402
+ */
12403
+ feed_id?: string;
12423
12404
  /**
12424
12405
  * creator_id
12425
12406
  */
@@ -12430,9 +12411,6 @@ export type PostsV1PostServiceCreatePostUploadData = {
12430
12411
  description?: string;
12431
12412
  /**
12432
12413
  * content_type
12433
- *
12434
- * enum.defined_only = true
12435
- *
12436
12414
  */
12437
12415
  content_type?: CommonV1MediaType;
12438
12416
  /**
@@ -12447,14 +12425,10 @@ export type PostsV1PostServiceCreatePostUploadData = {
12447
12425
  path: {
12448
12426
  /**
12449
12427
  * project_id
12450
- *
12451
- * The project_id path parameter.
12452
12428
  */
12453
12429
  project_id: string;
12454
12430
  /**
12455
12431
  * feed_id
12456
- *
12457
- * The feed_id path parameter.
12458
12432
  */
12459
12433
  feed_id: string;
12460
12434
  };
@@ -12473,8 +12447,6 @@ export type PostsV1PostServiceDeletePost2Data = {
12473
12447
  path: {
12474
12448
  /**
12475
12449
  * project_id
12476
- *
12477
- * The project_id path parameter.
12478
12450
  */
12479
12451
  project_id: string;
12480
12452
  /**
@@ -12486,8 +12458,6 @@ export type PostsV1PostServiceDeletePost2Data = {
12486
12458
  feed_id: string;
12487
12459
  /**
12488
12460
  * post_id
12489
- *
12490
- * The post_id path parameter.
12491
12461
  */
12492
12462
  post_id: string;
12493
12463
  };
@@ -12506,8 +12476,6 @@ export type PostsV1PostServiceGetPost2Data = {
12506
12476
  path: {
12507
12477
  /**
12508
12478
  * project_id
12509
- *
12510
- * The project_id path parameter.
12511
12479
  */
12512
12480
  project_id: string;
12513
12481
  /**
@@ -12519,8 +12487,6 @@ export type PostsV1PostServiceGetPost2Data = {
12519
12487
  feed_id: string;
12520
12488
  /**
12521
12489
  * post_id
12522
- *
12523
- * The post_id path parameter.
12524
12490
  */
12525
12491
  post_id: string;
12526
12492
  };
@@ -12539,14 +12505,10 @@ export type PostsV1PostServiceDeletePostData = {
12539
12505
  path: {
12540
12506
  /**
12541
12507
  * project_id
12542
- *
12543
- * The project_id path parameter.
12544
12508
  */
12545
12509
  project_id: string;
12546
12510
  /**
12547
12511
  * post_id
12548
- *
12549
- * The post_id path parameter.
12550
12512
  */
12551
12513
  post_id: string;
12552
12514
  };
@@ -12573,14 +12535,10 @@ export type PostsV1PostServiceGetPostData = {
12573
12535
  path: {
12574
12536
  /**
12575
12537
  * project_id
12576
- *
12577
- * The project_id path parameter.
12578
12538
  */
12579
12539
  project_id: string;
12580
12540
  /**
12581
12541
  * post_id
12582
- *
12583
- * The post_id path parameter.
12584
12542
  */
12585
12543
  post_id: string;
12586
12544
  };
@@ -12607,8 +12565,6 @@ export type ProjectV1ProjectServiceListProjectsData = {
12607
12565
  path: {
12608
12566
  /**
12609
12567
  * org_id
12610
- *
12611
- * The org_id path parameter.
12612
12568
  */
12613
12569
  org_id: string;
12614
12570
  };
@@ -12627,6 +12583,10 @@ export type ProjectV1ProjectServiceCreateProjectData = {
12627
12583
  * CreateProjectRequest
12628
12584
  */
12629
12585
  body: {
12586
+ /**
12587
+ * org_id
12588
+ */
12589
+ org_id?: string;
12630
12590
  /**
12631
12591
  * name
12632
12592
  */
@@ -12643,8 +12603,6 @@ export type ProjectV1ProjectServiceCreateProjectData = {
12643
12603
  path: {
12644
12604
  /**
12645
12605
  * org_id
12646
- *
12647
- * The org_id path parameter.
12648
12606
  */
12649
12607
  org_id: string;
12650
12608
  };
@@ -12663,14 +12621,10 @@ export type ProjectV1ProjectServiceDeleteProjectData = {
12663
12621
  path: {
12664
12622
  /**
12665
12623
  * org_id
12666
- *
12667
- * The org_id path parameter.
12668
12624
  */
12669
12625
  org_id: string;
12670
12626
  /**
12671
12627
  * project_id
12672
- *
12673
- * The project_id path parameter.
12674
12628
  */
12675
12629
  project_id: string;
12676
12630
  };
@@ -12689,14 +12643,10 @@ export type ProjectV1ProjectServiceGetProjectData = {
12689
12643
  path: {
12690
12644
  /**
12691
12645
  * org_id
12692
- *
12693
- * The org_id path parameter.
12694
12646
  */
12695
12647
  org_id: string;
12696
12648
  /**
12697
12649
  * project_id
12698
- *
12699
- * The project_id path parameter.
12700
12650
  */
12701
12651
  project_id: string;
12702
12652
  };
@@ -12715,14 +12665,10 @@ export type ProjectV1ProjectServiceRemoveCustomDomainData = {
12715
12665
  path: {
12716
12666
  /**
12717
12667
  * org_id
12718
- *
12719
- * The org_id path parameter.
12720
12668
  */
12721
12669
  org_id: string;
12722
12670
  /**
12723
12671
  * project_id
12724
- *
12725
- * The project_id path parameter.
12726
12672
  */
12727
12673
  project_id: string;
12728
12674
  };
@@ -12741,6 +12687,14 @@ export type ProjectV1ProjectServiceSetCustomDomainData = {
12741
12687
  * SetCustomDomainRequest
12742
12688
  */
12743
12689
  body: {
12690
+ /**
12691
+ * project_id
12692
+ */
12693
+ project_id?: string;
12694
+ /**
12695
+ * org_id
12696
+ */
12697
+ org_id?: string;
12744
12698
  /**
12745
12699
  * custom_domain
12746
12700
  */
@@ -12749,14 +12703,10 @@ export type ProjectV1ProjectServiceSetCustomDomainData = {
12749
12703
  path: {
12750
12704
  /**
12751
12705
  * org_id
12752
- *
12753
- * The org_id path parameter.
12754
12706
  */
12755
12707
  org_id: string;
12756
12708
  /**
12757
12709
  * project_id
12758
- *
12759
- * The project_id path parameter.
12760
12710
  */
12761
12711
  project_id: string;
12762
12712
  };
@@ -12775,6 +12725,14 @@ export type ProjectV1ProjectServiceMoveProjectData = {
12775
12725
  * MoveProjectRequest
12776
12726
  */
12777
12727
  body: {
12728
+ /**
12729
+ * project_id
12730
+ */
12731
+ project_id?: string;
12732
+ /**
12733
+ * org_id
12734
+ */
12735
+ org_id?: string;
12778
12736
  /**
12779
12737
  * target_organization_id
12780
12738
  */
@@ -12783,14 +12741,10 @@ export type ProjectV1ProjectServiceMoveProjectData = {
12783
12741
  path: {
12784
12742
  /**
12785
12743
  * org_id
12786
- *
12787
- * The org_id path parameter.
12788
12744
  */
12789
12745
  org_id: string;
12790
12746
  /**
12791
12747
  * project_id
12792
- *
12793
- * The project_id path parameter.
12794
12748
  */
12795
12749
  project_id: string;
12796
12750
  };
@@ -12809,6 +12763,14 @@ export type ProjectV1ProjectServiceUpdateProjectNameData = {
12809
12763
  * UpdateProjectNameRequest
12810
12764
  */
12811
12765
  body: {
12766
+ /**
12767
+ * project_id
12768
+ */
12769
+ project_id?: string;
12770
+ /**
12771
+ * org_id
12772
+ */
12773
+ org_id?: string;
12812
12774
  /**
12813
12775
  * name
12814
12776
  */
@@ -12817,14 +12779,10 @@ export type ProjectV1ProjectServiceUpdateProjectNameData = {
12817
12779
  path: {
12818
12780
  /**
12819
12781
  * org_id
12820
- *
12821
- * The org_id path parameter.
12822
12782
  */
12823
12783
  org_id: string;
12824
12784
  /**
12825
12785
  * project_id
12826
- *
12827
- * The project_id path parameter.
12828
12786
  */
12829
12787
  project_id: string;
12830
12788
  };
@@ -12843,25 +12801,26 @@ export type ProjectV1ProjectServiceUpdateVideoQualityData = {
12843
12801
  * UpdateVideoQualityRequest
12844
12802
  */
12845
12803
  body: {
12804
+ /**
12805
+ * project_id
12806
+ */
12807
+ project_id?: string;
12808
+ /**
12809
+ * org_id
12810
+ */
12811
+ org_id?: string;
12846
12812
  /**
12847
12813
  * video_quality
12848
- *
12849
- * enum.defined_only = true
12850
- *
12851
12814
  */
12852
12815
  video_quality: CommonV1VideoQuality;
12853
12816
  };
12854
12817
  path: {
12855
12818
  /**
12856
12819
  * org_id
12857
- *
12858
- * The org_id path parameter.
12859
12820
  */
12860
12821
  org_id: string;
12861
12822
  /**
12862
12823
  * project_id
12863
- *
12864
- * The project_id path parameter.
12865
12824
  */
12866
12825
  project_id: string;
12867
12826
  };
@@ -12880,13 +12839,99 @@ export type SupportV1SupportChatServiceListChatMessagesData = {
12880
12839
  path?: never;
12881
12840
  query?: {
12882
12841
  /**
12883
- * A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
12842
+ * A Timestamp represents a point in time independent of any time zone or local
12843
+ * calendar, encoded as a count of seconds and fractions of seconds at
12844
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
12845
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
12846
+ * Gregorian calendar backwards to year one.
12847
+ *
12848
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
12849
+ * second table is needed for interpretation, using a [24-hour linear
12850
+ * smear](https://developers.google.com/time/smear).
12851
+ *
12852
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
12853
+ * restricting to that range, we ensure that we can convert to and from [RFC
12854
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
12855
+ *
12856
+ * # Examples
12857
+ *
12858
+ * Example 1: Compute Timestamp from POSIX `time()`.
12859
+ *
12860
+ * Timestamp timestamp;
12861
+ * timestamp.set_seconds(time(NULL));
12862
+ * timestamp.set_nanos(0);
12863
+ *
12864
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
12865
+ *
12866
+ * struct timeval tv;
12867
+ * gettimeofday(&tv, NULL);
12868
+ *
12869
+ * Timestamp timestamp;
12870
+ * timestamp.set_seconds(tv.tv_sec);
12871
+ * timestamp.set_nanos(tv.tv_usec * 1000);
12872
+ *
12873
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
12874
+ *
12875
+ * FILETIME ft;
12876
+ * GetSystemTimeAsFileTime(&ft);
12877
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
12878
+ *
12879
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
12880
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
12881
+ * Timestamp timestamp;
12882
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
12883
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
12884
+ *
12885
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
12886
+ *
12887
+ * long millis = System.currentTimeMillis();
12888
+ *
12889
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
12890
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
12891
+ *
12892
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
12893
+ *
12894
+ * Instant now = Instant.now();
12895
+ *
12896
+ * Timestamp timestamp =
12897
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
12898
+ * .setNanos(now.getNano()).build();
12899
+ *
12900
+ * Example 6: Compute Timestamp from current time in Python.
12901
+ *
12902
+ * timestamp = Timestamp()
12903
+ * timestamp.GetCurrentTime()
12904
+ *
12905
+ * # JSON Mapping
12906
+ *
12907
+ * In JSON format, the Timestamp type is encoded as a string in the
12908
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
12909
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
12910
+ * where {year} is always expressed using four digits while {month}, {day},
12911
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
12912
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
12913
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
12914
+ * is required. A proto3 JSON serializer should always use UTC (as indicated by
12915
+ * "Z") when printing the Timestamp type and a proto3 JSON parser should be
12916
+ * able to accept both UTC and other timezones (as indicated by an offset).
12917
+ *
12918
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
12919
+ * 01:30 UTC on January 15, 2017.
12920
+ *
12921
+ * In JavaScript, one can convert a Date object to this format using the
12922
+ * standard
12923
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
12924
+ * method. In Python, a standard `datetime.datetime` object can be converted
12925
+ * to this format using
12926
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
12927
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
12928
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
12929
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
12930
+ * ) to obtain a formatter capable of generating timestamps in this format.
12884
12931
  */
12885
12932
  after?: string;
12886
12933
  /**
12887
12934
  * limit
12888
- *
12889
- * The limit query parameter.
12890
12935
  */
12891
12936
  limit?: number;
12892
12937
  };
@@ -12930,16 +12975,12 @@ export type SupportV1SupportTicketServiceListTopics2Data = {
12930
12975
  path: {
12931
12976
  /**
12932
12977
  * category_id
12933
- *
12934
- * The category_id path parameter.
12935
12978
  */
12936
12979
  category_id: string;
12937
12980
  };
12938
12981
  query?: {
12939
12982
  /**
12940
12983
  * query
12941
- *
12942
- * The query query parameter.
12943
12984
  */
12944
12985
  query?: string;
12945
12986
  };
@@ -12970,9 +13011,6 @@ export type SupportV1SupportTicketServiceListTicketsData = {
12970
13011
  'pagination.offset'?: number;
12971
13012
  /**
12972
13013
  * status
12973
- *
12974
- * enum.defined_only = true
12975
- *
12976
13014
  */
12977
13015
  status?: SupportV1TicketStatus;
12978
13016
  };
@@ -13003,8 +13041,6 @@ export type SupportV1SupportTicketServiceGetTicketData = {
13003
13041
  path: {
13004
13042
  /**
13005
13043
  * ticket_id
13006
- *
13007
- * The ticket_id path parameter.
13008
13044
  */
13009
13045
  ticket_id: string;
13010
13046
  };
@@ -13019,12 +13055,18 @@ export type SupportV1SupportTicketServiceGetTicketResponses = {
13019
13055
  };
13020
13056
  export type SupportV1SupportTicketServiceGetTicketResponse = SupportV1SupportTicketServiceGetTicketResponses[keyof SupportV1SupportTicketServiceGetTicketResponses];
13021
13057
  export type SupportV1SupportTicketServiceCloseTicketData = {
13022
- body?: never;
13058
+ /**
13059
+ * CloseTicketRequest
13060
+ */
13061
+ body: {
13062
+ /**
13063
+ * ticket_id
13064
+ */
13065
+ ticket_id?: string;
13066
+ };
13023
13067
  path: {
13024
13068
  /**
13025
13069
  * ticket_id
13026
- *
13027
- * The ticket_id path parameter.
13028
13070
  */
13029
13071
  ticket_id: string;
13030
13072
  };
@@ -13043,6 +13085,10 @@ export type SupportV1SupportTicketServiceAddTicketMessageData = {
13043
13085
  * AddTicketMessageRequest
13044
13086
  */
13045
13087
  body: {
13088
+ /**
13089
+ * ticket_id
13090
+ */
13091
+ ticket_id?: string;
13046
13092
  /**
13047
13093
  * body
13048
13094
  */
@@ -13051,8 +13097,6 @@ export type SupportV1SupportTicketServiceAddTicketMessageData = {
13051
13097
  path: {
13052
13098
  /**
13053
13099
  * ticket_id
13054
- *
13055
- * The ticket_id path parameter.
13056
13100
  */
13057
13101
  ticket_id: string;
13058
13102
  };
@@ -13072,14 +13116,10 @@ export type SupportV1SupportTicketServiceListTopicsData = {
13072
13116
  query?: {
13073
13117
  /**
13074
13118
  * category_id
13075
- *
13076
- * The category_id query parameter.
13077
13119
  */
13078
13120
  category_id?: string;
13079
13121
  /**
13080
13122
  * query
13081
- *
13082
- * The query query parameter.
13083
13123
  */
13084
13124
  query?: string;
13085
13125
  };
@@ -13097,14 +13137,10 @@ export type VideosV1AudioTrackServiceDeleteAllAudioTracksData = {
13097
13137
  path: {
13098
13138
  /**
13099
13139
  * project_id
13100
- *
13101
- * The project_id path parameter.
13102
13140
  */
13103
13141
  project_id: string;
13104
13142
  /**
13105
13143
  * video_id
13106
- *
13107
- * The video_id path parameter.
13108
13144
  */
13109
13145
  video_id: string;
13110
13146
  };
@@ -13123,20 +13159,14 @@ export type VideosV1AudioTrackServiceDeleteAudioTracksByLanguageData = {
13123
13159
  path: {
13124
13160
  /**
13125
13161
  * project_id
13126
- *
13127
- * The project_id path parameter.
13128
13162
  */
13129
13163
  project_id: string;
13130
13164
  /**
13131
13165
  * video_id
13132
- *
13133
- * The video_id path parameter.
13134
13166
  */
13135
13167
  video_id: string;
13136
13168
  /**
13137
13169
  * language_code
13138
- *
13139
- * The language_code path parameter.
13140
13170
  */
13141
13171
  language_code: string;
13142
13172
  };
@@ -13155,10 +13185,18 @@ export type VideosV1AudioTrackServiceCreateAudioTrackUploadData = {
13155
13185
  * CreateTrackUploadRequest
13156
13186
  */
13157
13187
  body: {
13188
+ /**
13189
+ * project_id
13190
+ */
13191
+ project_id?: string;
13158
13192
  /**
13159
13193
  * org_id
13160
13194
  */
13161
13195
  org_id?: string;
13196
+ /**
13197
+ * video_id
13198
+ */
13199
+ video_id?: string;
13162
13200
  /**
13163
13201
  * items
13164
13202
  */
@@ -13167,14 +13205,10 @@ export type VideosV1AudioTrackServiceCreateAudioTrackUploadData = {
13167
13205
  path: {
13168
13206
  /**
13169
13207
  * project_id
13170
- *
13171
- * The project_id path parameter.
13172
13208
  */
13173
13209
  project_id: string;
13174
13210
  /**
13175
13211
  * video_id
13176
- *
13177
- * The video_id path parameter.
13178
13212
  */
13179
13213
  video_id: string;
13180
13214
  };
@@ -13193,20 +13227,14 @@ export type VideosV1AudioTrackServiceDeleteAudioTrackData = {
13193
13227
  path: {
13194
13228
  /**
13195
13229
  * project_id
13196
- *
13197
- * The project_id path parameter.
13198
13230
  */
13199
13231
  project_id: string;
13200
13232
  /**
13201
13233
  * video_id
13202
- *
13203
- * The video_id path parameter.
13204
13234
  */
13205
13235
  video_id: string;
13206
13236
  /**
13207
13237
  * track_id
13208
- *
13209
- * The track_id path parameter.
13210
13238
  */
13211
13239
  track_id: string;
13212
13240
  };
@@ -13225,8 +13253,6 @@ export type VideosV1AudioTrackServiceListAudioTracksData = {
13225
13253
  path: {
13226
13254
  /**
13227
13255
  * video_id
13228
- *
13229
- * The video_id path parameter.
13230
13256
  */
13231
13257
  video_id: string;
13232
13258
  };
@@ -13240,58 +13266,46 @@ export type VideosV1AudioTrackServiceListAudioTracksResponses = {
13240
13266
  200: VideosV1ListAudioTracksResponse;
13241
13267
  };
13242
13268
  export type VideosV1AudioTrackServiceListAudioTracksResponse = VideosV1AudioTrackServiceListAudioTracksResponses[keyof VideosV1AudioTrackServiceListAudioTracksResponses];
13243
- export type VideosV1ChapterServiceUpdateVideoChapters2Data = {
13269
+ export type VideosV1ChapterServiceUpdateVideoChaptersData = {
13244
13270
  body?: never;
13245
13271
  path: {
13246
13272
  /**
13247
13273
  * project_id
13248
- *
13249
- * The project_id path parameter.
13250
13274
  */
13251
13275
  project_id: string;
13252
13276
  /**
13253
13277
  * video_id
13254
- *
13255
- * The video_id path parameter.
13256
13278
  */
13257
13279
  video_id: string;
13258
13280
  };
13259
13281
  query?: {
13260
13282
  /**
13261
13283
  * title
13262
- *
13263
- * The chapters.title query parameter.
13264
13284
  */
13265
13285
  'chapters.title'?: string;
13266
13286
  /**
13267
13287
  * start_time_sec
13268
- *
13269
- * The chapters.start_time_sec query parameter.
13270
13288
  */
13271
13289
  'chapters.start_time_sec'?: number;
13272
13290
  };
13273
13291
  url: '/media/v1/projects/{project_id}/videos/{video_id}/chapters';
13274
13292
  };
13275
- export type VideosV1ChapterServiceUpdateVideoChapters2Responses = {
13293
+ export type VideosV1ChapterServiceUpdateVideoChaptersResponses = {
13276
13294
  /**
13277
13295
  * Success
13278
13296
  */
13279
13297
  200: VideosV1VideoChapters;
13280
13298
  };
13281
- export type VideosV1ChapterServiceUpdateVideoChapters2Response = VideosV1ChapterServiceUpdateVideoChapters2Responses[keyof VideosV1ChapterServiceUpdateVideoChapters2Responses];
13299
+ export type VideosV1ChapterServiceUpdateVideoChaptersResponse = VideosV1ChapterServiceUpdateVideoChaptersResponses[keyof VideosV1ChapterServiceUpdateVideoChaptersResponses];
13282
13300
  export type VideosV1ChapterServiceGetVideoChaptersData = {
13283
13301
  body?: never;
13284
13302
  path: {
13285
13303
  /**
13286
13304
  * project_id
13287
- *
13288
- * The project_id path parameter.
13289
13305
  */
13290
13306
  project_id: string;
13291
13307
  /**
13292
13308
  * video_id
13293
- *
13294
- * The video_id path parameter.
13295
13309
  */
13296
13310
  video_id: string;
13297
13311
  };
@@ -13305,61 +13319,21 @@ export type VideosV1ChapterServiceGetVideoChaptersResponses = {
13305
13319
  200: VideosV1VideoChapters;
13306
13320
  };
13307
13321
  export type VideosV1ChapterServiceGetVideoChaptersResponse = VideosV1ChapterServiceGetVideoChaptersResponses[keyof VideosV1ChapterServiceGetVideoChaptersResponses];
13308
- export type VideosV1ChapterServiceUpdateVideoChaptersData = {
13309
- /**
13310
- * UpdateVideoChaptersRequest
13311
- */
13312
- body: {
13313
- /**
13314
- * chapters
13315
- */
13316
- chapters?: Array<VideosV1Chapter>;
13317
- };
13318
- path: {
13319
- /**
13320
- * project_id
13321
- *
13322
- * The project_id path parameter.
13323
- */
13324
- project_id: string;
13325
- /**
13326
- * video_id
13327
- *
13328
- * The video_id path parameter.
13329
- */
13330
- video_id: string;
13331
- };
13332
- query?: never;
13333
- url: '/media/v1/projects/{project_id}/videos/{video_id}/chapters';
13334
- };
13335
- export type VideosV1ChapterServiceUpdateVideoChaptersResponses = {
13336
- /**
13337
- * Success
13338
- */
13339
- 200: VideosV1VideoChapters;
13340
- };
13341
- export type VideosV1ChapterServiceUpdateVideoChaptersResponse = VideosV1ChapterServiceUpdateVideoChaptersResponses[keyof VideosV1ChapterServiceUpdateVideoChaptersResponses];
13342
13322
  export type VideosV1ChapterServiceDeleteVideoChapterData = {
13343
13323
  body?: never;
13344
13324
  path: {
13345
13325
  /**
13346
13326
  * project_id
13347
- *
13348
- * The project_id path parameter.
13349
13327
  */
13350
13328
  project_id: string;
13351
13329
  /**
13352
13330
  * video_id
13353
- *
13354
- * The video_id path parameter.
13355
13331
  */
13356
13332
  video_id: string;
13357
13333
  /**
13358
13334
  * start_time_sec
13359
- *
13360
- * The start_time_sec path parameter.
13361
13335
  */
13362
- start_time_sec: string;
13336
+ start_time_sec: number | string;
13363
13337
  };
13364
13338
  query?: never;
13365
13339
  url: '/media/v1/projects/{project_id}/videos/{video_id}/chapters/{start_time_sec}';
@@ -13415,14 +13389,10 @@ export type VideosV1SubtitleServiceDeleteAllSubtitlesData = {
13415
13389
  path: {
13416
13390
  /**
13417
13391
  * project_id
13418
- *
13419
- * The project_id path parameter.
13420
13392
  */
13421
13393
  project_id: string;
13422
13394
  /**
13423
13395
  * video_id
13424
- *
13425
- * The video_id path parameter.
13426
13396
  */
13427
13397
  video_id: string;
13428
13398
  };
@@ -13441,20 +13411,14 @@ export type VideosV1SubtitleServiceDeleteSubtitlesByLanguageData = {
13441
13411
  path: {
13442
13412
  /**
13443
13413
  * project_id
13444
- *
13445
- * The project_id path parameter.
13446
13414
  */
13447
13415
  project_id: string;
13448
13416
  /**
13449
13417
  * video_id
13450
- *
13451
- * The video_id path parameter.
13452
13418
  */
13453
13419
  video_id: string;
13454
13420
  /**
13455
13421
  * language_code
13456
- *
13457
- * The language_code path parameter.
13458
13422
  */
13459
13423
  language_code: string;
13460
13424
  };
@@ -13473,10 +13437,18 @@ export type VideosV1SubtitleServiceCreateSubtitleUploadData = {
13473
13437
  * CreateTrackUploadRequest
13474
13438
  */
13475
13439
  body: {
13440
+ /**
13441
+ * project_id
13442
+ */
13443
+ project_id?: string;
13476
13444
  /**
13477
13445
  * org_id
13478
13446
  */
13479
13447
  org_id?: string;
13448
+ /**
13449
+ * video_id
13450
+ */
13451
+ video_id?: string;
13480
13452
  /**
13481
13453
  * items
13482
13454
  */
@@ -13485,14 +13457,10 @@ export type VideosV1SubtitleServiceCreateSubtitleUploadData = {
13485
13457
  path: {
13486
13458
  /**
13487
13459
  * project_id
13488
- *
13489
- * The project_id path parameter.
13490
13460
  */
13491
13461
  project_id: string;
13492
13462
  /**
13493
13463
  * video_id
13494
- *
13495
- * The video_id path parameter.
13496
13464
  */
13497
13465
  video_id: string;
13498
13466
  };
@@ -13511,20 +13479,14 @@ export type VideosV1SubtitleServiceDeleteSubtitleData = {
13511
13479
  path: {
13512
13480
  /**
13513
13481
  * project_id
13514
- *
13515
- * The project_id path parameter.
13516
13482
  */
13517
13483
  project_id: string;
13518
13484
  /**
13519
13485
  * video_id
13520
- *
13521
- * The video_id path parameter.
13522
13486
  */
13523
13487
  video_id: string;
13524
13488
  /**
13525
13489
  * subtitle_id
13526
- *
13527
- * The subtitle_id path parameter.
13528
13490
  */
13529
13491
  subtitle_id: string;
13530
13492
  };
@@ -13543,8 +13505,6 @@ export type VideosV1SubtitleServiceListSubtitlesData = {
13543
13505
  path: {
13544
13506
  /**
13545
13507
  * video_id
13546
- *
13547
- * The video_id path parameter.
13548
13508
  */
13549
13509
  video_id: string;
13550
13510
  };
@@ -13563,8 +13523,6 @@ export type VideosV1VideoServiceListVideosData = {
13563
13523
  path: {
13564
13524
  /**
13565
13525
  * project_id
13566
- *
13567
- * The project_id path parameter.
13568
13526
  */
13569
13527
  project_id: string;
13570
13528
  };
@@ -13583,14 +13541,10 @@ export type VideosV1VideoServiceListVideosData = {
13583
13541
  'pagination.offset'?: number;
13584
13542
  /**
13585
13543
  * sort_field
13586
- *
13587
- * The sort_field query parameter.
13588
13544
  */
13589
13545
  sort_field?: string;
13590
13546
  /**
13591
13547
  * sort_direction
13592
- *
13593
- * The sort_direction query parameter.
13594
13548
  */
13595
13549
  sort_direction?: string;
13596
13550
  };
@@ -13608,6 +13562,10 @@ export type VideosV1VideoServiceCreateVideoUploadData = {
13608
13562
  * CreateVideoUploadRequest
13609
13563
  */
13610
13564
  body: {
13565
+ /**
13566
+ * project_id
13567
+ */
13568
+ project_id?: string;
13611
13569
  /**
13612
13570
  * org_id
13613
13571
  */
@@ -13624,8 +13582,6 @@ export type VideosV1VideoServiceCreateVideoUploadData = {
13624
13582
  path: {
13625
13583
  /**
13626
13584
  * project_id
13627
- *
13628
- * The project_id path parameter.
13629
13585
  */
13630
13586
  project_id: string;
13631
13587
  };
@@ -13644,14 +13600,10 @@ export type VideosV1VideoServiceDeleteVideoData = {
13644
13600
  path: {
13645
13601
  /**
13646
13602
  * project_id
13647
- *
13648
- * The project_id path parameter.
13649
13603
  */
13650
13604
  project_id: string;
13651
13605
  /**
13652
13606
  * video_id
13653
- *
13654
- * The video_id path parameter.
13655
13607
  */
13656
13608
  video_id: string;
13657
13609
  };
@@ -13670,25 +13622,26 @@ export type VideosV1VideoServiceUpdateVideoVisibilityData = {
13670
13622
  * UpdateVideoVisibilityRequest
13671
13623
  */
13672
13624
  body: {
13625
+ /**
13626
+ * project_id
13627
+ */
13628
+ project_id?: string;
13629
+ /**
13630
+ * video_id
13631
+ */
13632
+ video_id?: string;
13673
13633
  /**
13674
13634
  * visibility
13675
- *
13676
- * enum.defined_only = true
13677
- *
13678
13635
  */
13679
13636
  visibility?: CommonV1Visibility;
13680
13637
  };
13681
13638
  path: {
13682
13639
  /**
13683
13640
  * project_id
13684
- *
13685
- * The project_id path parameter.
13686
13641
  */
13687
13642
  project_id: string;
13688
13643
  /**
13689
13644
  * video_id
13690
- *
13691
- * The video_id path parameter.
13692
13645
  */
13693
13646
  video_id: string;
13694
13647
  };
@@ -13707,8 +13660,6 @@ export type VideosV1VideoServiceGetVideoData = {
13707
13660
  path: {
13708
13661
  /**
13709
13662
  * video_id
13710
- *
13711
- * The video_id path parameter.
13712
13663
  */
13713
13664
  video_id: string;
13714
13665
  };
@@ -14515,15 +14466,11 @@ export declare const videosV1AudioTrackServiceListAudioTracks: <ThrowOnError ext
14515
14466
  /**
14516
14467
  * UpdateVideoChapters
14517
14468
  */
14518
- export declare const videosV1ChapterServiceUpdateVideoChapters2: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceUpdateVideoChapters2Data, ThrowOnError>) => RequestResult<VideosV1ChapterServiceUpdateVideoChapters2Responses, unknown, ThrowOnError, "fields">;
14469
+ export declare const videosV1ChapterServiceUpdateVideoChapters: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceUpdateVideoChaptersData, ThrowOnError>) => RequestResult<VideosV1ChapterServiceUpdateVideoChaptersResponses, unknown, ThrowOnError, "fields">;
14519
14470
  /**
14520
14471
  * GetVideoChapters
14521
14472
  */
14522
14473
  export declare const videosV1ChapterServiceGetVideoChapters: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceGetVideoChaptersData, ThrowOnError>) => RequestResult<VideosV1ChapterServiceGetVideoChaptersResponses, unknown, ThrowOnError, "fields">;
14523
- /**
14524
- * UpdateVideoChapters
14525
- */
14526
- export declare const videosV1ChapterServiceUpdateVideoChapters: <ThrowOnError extends boolean = false>(options: Options<VideosV1ChapterServiceUpdateVideoChaptersData, ThrowOnError>) => RequestResult<VideosV1ChapterServiceUpdateVideoChaptersResponses, unknown, ThrowOnError, "fields">;
14527
14474
  /**
14528
14475
  * DeleteVideoChapter
14529
14476
  */