@confighub/rtk-query 0.8.36 → 0.8.38

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.cts CHANGED
@@ -1132,7 +1132,7 @@ type BulkCreateSpacesApiArg = {
1132
1132
  An example conjunction is:
1133
1133
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
1134
1134
 
1135
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
1135
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
1136
1136
 
1137
1137
  The Units to create entities from, with from_backing_units.
1138
1138
 
@@ -1268,6 +1268,12 @@ type ListAllAttestationsApiArg = {
1268
1268
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
1269
1269
  The whole string must be query-encoded. */
1270
1270
  select?: string;
1271
+ /** Only return Attestation entities on which the caller has this permission, as well as View, which every entity listed needs.
1272
+
1273
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
1274
+
1275
+ Supported values: Manage, Edit, Use, View. */
1276
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
1271
1277
  /** Hidden Attestation entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
1272
1278
 
1273
1279
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -1482,6 +1488,12 @@ type ListAllAttributesApiArg = {
1482
1488
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
1483
1489
  The whole string must be query-encoded. */
1484
1490
  select?: string;
1491
+ /** Only return Attribute entities on which the caller has this permission, as well as View, which every entity listed needs.
1492
+
1493
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
1494
+
1495
+ Supported values: Manage, Edit, Use, View. */
1496
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
1485
1497
  /** Hidden Attribute entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
1486
1498
 
1487
1499
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -1824,7 +1836,7 @@ type BulkCreateAttributesApiArg = {
1824
1836
  An example conjunction is:
1825
1837
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
1826
1838
 
1827
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
1839
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
1828
1840
 
1829
1841
  The Units to create entities from, with from_backing_units.
1830
1842
 
@@ -2132,6 +2144,12 @@ type ListAllBridgeWorkersApiArg = {
2132
2144
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
2133
2145
  The whole string must be query-encoded. */
2134
2146
  select?: string;
2147
+ /** Only return BridgeWorker entities on which the caller has this permission, as well as View, which every entity listed needs.
2148
+
2149
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
2150
+
2151
+ Supported values: Manage, Edit, Use, View, ManageChildren, EditChildren, UseChildren, ViewChildren, CreateChildren, ApproveChildren, TargetEditChildren, TargetViewChildren. */
2152
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "ManageChildren" | "EditChildren" | "UseChildren" | "ViewChildren" | "CreateChildren" | "ApproveChildren" | "TargetEditChildren" | "TargetViewChildren";
2135
2153
  /** Hidden BridgeWorker entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
2136
2154
 
2137
2155
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -2360,6 +2378,12 @@ type ListQueuedOperationsApiArg = {
2360
2378
 
2361
2379
  The whole string must be query-encoded. */
2362
2380
  contains?: string;
2381
+ /** Only return QueuedOperation entities on which the caller has this permission, as well as View, which every entity listed needs.
2382
+
2383
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
2384
+
2385
+ Supported values: Manage, Edit, Use, View. */
2386
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
2363
2387
  /** Maximum number of QueuedOperation entities to return. If not specified, all matching entities are returned. Values greater than 1000 are rejected with 400. When there may be more entities, the response has a ConfigHub-Continue header to pass as the continue parameter of the next request. */
2364
2388
  limit?: number;
2365
2389
  /** Comma-separated list of fields to sort QueuedOperation results by, each in the form 'ASC|DESC:FieldName' or just 'FieldName'.
@@ -2572,6 +2596,12 @@ type ListAllChangeOrdersApiArg = {
2572
2596
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
2573
2597
  The whole string must be query-encoded. */
2574
2598
  select?: string;
2599
+ /** Only return ChangeOrder entities on which the caller has this permission, as well as View, which every entity listed needs.
2600
+
2601
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
2602
+
2603
+ Supported values: Manage, Edit, Use, View. */
2604
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
2575
2605
  /** Hidden ChangeOrder entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
2576
2606
 
2577
2607
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -3110,6 +3140,12 @@ type ListAllChangeSetsApiArg = {
3110
3140
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
3111
3141
  The whole string must be query-encoded. */
3112
3142
  select?: string;
3143
+ /** Only return ChangeSet entities on which the caller has this permission, as well as View, which every entity listed needs.
3144
+
3145
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
3146
+
3147
+ Supported values: Manage, Edit, Use, View. */
3148
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
3113
3149
  /** Hidden ChangeSet entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
3114
3150
 
3115
3151
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -3710,6 +3746,12 @@ type ListAllChangeWorkflowsApiArg = {
3710
3746
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
3711
3747
  The whole string must be query-encoded. */
3712
3748
  select?: string;
3749
+ /** Only return ChangeWorkflow entities on which the caller has this permission, as well as View, which every entity listed needs.
3750
+
3751
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
3752
+
3753
+ Supported values: Manage, Edit, Use, View. */
3754
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
3713
3755
  /** Hidden ChangeWorkflow entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
3714
3756
 
3715
3757
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -4061,7 +4103,7 @@ type BulkCreateChangeWorkflowsApiArg = {
4061
4103
  An example conjunction is:
4062
4104
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
4063
4105
 
4064
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
4106
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
4065
4107
 
4066
4108
  The Units to create entities from, with from_backing_units.
4067
4109
 
@@ -4372,6 +4414,12 @@ type ListAllChannelsApiArg = {
4372
4414
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
4373
4415
  The whole string must be query-encoded. */
4374
4416
  select?: string;
4417
+ /** Only return Channel entities on which the caller has this permission, as well as View, which every entity listed needs.
4418
+
4419
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
4420
+
4421
+ Supported values: Manage, Edit, Use, View, Claim. */
4422
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Claim";
4375
4423
  /** Hidden Channel entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
4376
4424
 
4377
4425
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -4720,7 +4768,7 @@ type BulkCreateChannelsApiArg = {
4720
4768
  An example conjunction is:
4721
4769
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
4722
4770
 
4723
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
4771
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
4724
4772
 
4725
4773
  The Units to create entities from, with from_backing_units.
4726
4774
 
@@ -4942,6 +4990,12 @@ type ListAllCommandRunsApiArg = {
4942
4990
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
4943
4991
  The whole string must be query-encoded. */
4944
4992
  select?: string;
4993
+ /** Only return CommandRun entities on which the caller has this permission, as well as View, which every entity listed needs.
4994
+
4995
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
4996
+
4997
+ Supported values: Manage, Edit, Use, View. */
4998
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
4945
4999
  /** Maximum number of CommandRun entities to return. If not specified, all matching entities are returned. Values greater than 1000 are rejected with 400. When there may be more entities, the response has a ConfigHub-Continue header to pass as the continue parameter of the next request. */
4946
5000
  limit?: number;
4947
5001
  /** Comma-separated list of fields to sort CommandRun results by, each in the form 'ASC|DESC:FieldName' or just 'FieldName'.
@@ -5049,6 +5103,12 @@ type ListComponentsApiArg = {
5049
5103
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
5050
5104
  The whole string must be query-encoded. */
5051
5105
  select?: string;
5106
+ /** Only return Component entities on which the caller has this permission, as well as View, which every entity listed needs.
5107
+
5108
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
5109
+
5110
+ Supported values: Manage, Edit, Use, View. */
5111
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
5052
5112
  /** Hidden Component entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
5053
5113
 
5054
5114
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -5384,6 +5444,12 @@ type ListAllFiltersApiArg = {
5384
5444
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
5385
5445
  The whole string must be query-encoded. */
5386
5446
  select?: string;
5447
+ /** Only return Filter entities on which the caller has this permission, as well as View, which every entity listed needs.
5448
+
5449
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
5450
+
5451
+ Supported values: Manage, Edit, Use, View. */
5452
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
5387
5453
  /** Hidden Filter entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
5388
5454
 
5389
5455
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -5737,7 +5803,7 @@ type BulkCreateFiltersApiArg = {
5737
5803
  An example conjunction is:
5738
5804
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
5739
5805
 
5740
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
5806
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
5741
5807
 
5742
5808
  The Units to create entities from, with from_backing_units.
5743
5809
 
@@ -5970,7 +6036,7 @@ type InvokeFunctionsOnOrgApiArg = {
5970
6036
  An example conjunction is:
5971
6037
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
5972
6038
 
5973
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
6039
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
5974
6040
 
5975
6041
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
5976
6042
 
@@ -6084,6 +6150,12 @@ type ListGroupsApiArg = {
6084
6150
 
6085
6151
  The whole string must be query-encoded. */
6086
6152
  contains?: string;
6153
+ /** Only return Group entities on which the caller has this permission, as well as View, which every entity listed needs.
6154
+
6155
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
6156
+
6157
+ Supported values: Manage, Edit, Use, View. */
6158
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
6087
6159
  /** Select clause for specifying which fields to include in the response for Group.
6088
6160
  The attribute names are case-sensitive, PascalCase, and
6089
6161
  expected in a comma-separated list format as in the JSON encoding.
@@ -6345,6 +6417,12 @@ type ListAllInvocationsApiArg = {
6345
6417
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
6346
6418
  The whole string must be query-encoded. */
6347
6419
  select?: string;
6420
+ /** Only return Invocation entities on which the caller has this permission, as well as View, which every entity listed needs.
6421
+
6422
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
6423
+
6424
+ Supported values: Manage, Edit, Use, View. */
6425
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
6348
6426
  /** Hidden Invocation entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
6349
6427
 
6350
6428
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -6696,7 +6774,7 @@ type BulkCreateInvocationsApiArg = {
6696
6774
  An example conjunction is:
6697
6775
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
6698
6776
 
6699
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
6777
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
6700
6778
 
6701
6779
  The Units to create entities from, with from_backing_units.
6702
6780
 
@@ -7003,6 +7081,12 @@ type SearchListLinksApiArg = {
7003
7081
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
7004
7082
  The whole string must be query-encoded. */
7005
7083
  select?: string;
7084
+ /** Only return Link entities on which the caller has this permission, as well as View, which every entity listed needs.
7085
+
7086
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
7087
+
7088
+ Supported values: Manage, Edit, Use, View. */
7089
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
7006
7090
  /** Hidden Link entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
7007
7091
 
7008
7092
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -7369,7 +7453,7 @@ type BulkCreateLinksApiArg = {
7369
7453
  An example conjunction is:
7370
7454
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
7371
7455
 
7372
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
7456
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
7373
7457
 
7374
7458
  The Units to create entities from, with from_backing_units.
7375
7459
 
@@ -7542,6 +7626,12 @@ type ListOrganizationsApiArg = {
7542
7626
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
7543
7627
  The whole string must be query-encoded. */
7544
7628
  select?: string;
7629
+ /** Only return Organization entities on which the caller has this permission, as well as View, which every entity listed needs.
7630
+
7631
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
7632
+
7633
+ Supported values: Manage, Edit, Use, View. */
7634
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
7545
7635
  /** Hidden Organization entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
7546
7636
 
7547
7637
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -7675,6 +7765,12 @@ type ListOrganizationMembersApiArg = {
7675
7765
 
7676
7766
  The whole string must be query-encoded. */
7677
7767
  contains?: string;
7768
+ /** Only return OrganizationMember entities on which the caller has this permission, as well as View, which every entity listed needs.
7769
+
7770
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
7771
+
7772
+ Supported values: Manage, Edit, Use, View. */
7773
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
7678
7774
  /** UUID of a View whose columns to compute for each OrganizationMember, returned as ViewColumns.
7679
7775
 
7680
7776
  The View must be in the same Organization as the user credentials, and be a View of OrganizationMember: its Of, or the From of its Filter, must be OrganizationMember.
@@ -7803,6 +7899,12 @@ type ListAllReleasesApiArg = {
7803
7899
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
7804
7900
  The whole string must be query-encoded. */
7805
7901
  select?: string;
7902
+ /** Only return Release entities on which the caller has this permission, as well as View, which every entity listed needs.
7903
+
7904
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
7905
+
7906
+ Supported values: Manage, Edit, Use, View. */
7907
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
7806
7908
  /** Hidden Release entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
7807
7909
 
7808
7910
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -7936,6 +8038,12 @@ type ListAllResourcesApiArg = {
7936
8038
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
7937
8039
  The whole string must be query-encoded. */
7938
8040
  select?: string;
8041
+ /** Only return Resource entities on which the caller has this permission, as well as View, which every entity listed needs.
8042
+
8043
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
8044
+
8045
+ Supported values: Manage, Edit, Use, View. */
8046
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
7939
8047
  /** Hidden Resource entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
7940
8048
 
7941
8049
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -8152,6 +8260,12 @@ type ListAllReviewCommentsApiArg = {
8152
8260
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
8153
8261
  The whole string must be query-encoded. */
8154
8262
  select?: string;
8263
+ /** Only return ReviewComment entities on which the caller has this permission, as well as View, which every entity listed needs.
8264
+
8265
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
8266
+
8267
+ Supported values: Manage, Edit, Use, View. */
8268
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
8155
8269
  /** Hidden ReviewComment entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
8156
8270
 
8157
8271
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -8332,7 +8446,7 @@ type ListAllRevisionsApiArg = {
8332
8446
  An example conjunction is:
8333
8447
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
8334
8448
 
8335
- Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
8449
+ Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
8336
8450
 
8337
8451
  To list tagged Revisions use `Tags ? '<tag-id>'`.
8338
8452
 
@@ -8383,6 +8497,12 @@ type ListAllRevisionsApiArg = {
8383
8497
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
8384
8498
  The whole string must be query-encoded. */
8385
8499
  select?: string;
8500
+ /** Only return Revision entities on which the caller has this permission, as well as View, which every entity listed needs.
8501
+
8502
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
8503
+
8504
+ Supported values: Manage, Edit, Use, View. */
8505
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
8386
8506
  /** Hidden Revision entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
8387
8507
 
8388
8508
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -8466,7 +8586,7 @@ type SearchRevisionDataApiArg = {
8466
8586
  An example conjunction is:
8467
8587
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
8468
8588
 
8469
- Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
8589
+ Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
8470
8590
 
8471
8591
  To list tagged Revisions use `Tags ? '<tag-id>'`.
8472
8592
 
@@ -8517,6 +8637,12 @@ type SearchRevisionDataApiArg = {
8517
8637
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
8518
8638
  The whole string must be query-encoded. */
8519
8639
  select?: string;
8640
+ /** Only return Revision entities on which the caller has this permission, as well as View, which every entity listed needs.
8641
+
8642
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
8643
+
8644
+ Supported values: Manage, Edit, Use, View. */
8645
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
8520
8646
  /** Hidden Revision entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
8521
8647
 
8522
8648
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -8593,7 +8719,7 @@ type SearchRevisionMutationSourcesApiArg = {
8593
8719
  An example conjunction is:
8594
8720
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
8595
8721
 
8596
- Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
8722
+ Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
8597
8723
 
8598
8724
  To list tagged Revisions use `Tags ? '<tag-id>'`.
8599
8725
 
@@ -8644,6 +8770,12 @@ type SearchRevisionMutationSourcesApiArg = {
8644
8770
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
8645
8771
  The whole string must be query-encoded. */
8646
8772
  select?: string;
8773
+ /** Only return Revision entities on which the caller has this permission, as well as View, which every entity listed needs.
8774
+
8775
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
8776
+
8777
+ Supported values: Manage, Edit, Use, View. */
8778
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
8647
8779
  /** Hidden Revision entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
8648
8780
 
8649
8781
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -8769,6 +8901,12 @@ type ListServiceAccountsApiArg = {
8769
8901
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
8770
8902
  The whole string must be query-encoded. */
8771
8903
  select?: string;
8904
+ /** Only return ServiceAccount entities on which the caller has this permission, as well as View, which every entity listed needs.
8905
+
8906
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
8907
+
8908
+ Supported values: Manage, Edit, Use, View, Impersonate. */
8909
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Impersonate";
8772
8910
  /** Hidden ServiceAccount entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
8773
8911
 
8774
8912
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -9016,6 +9154,12 @@ type ListSpacesApiArg = {
9016
9154
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
9017
9155
  The whole string must be query-encoded. */
9018
9156
  select?: string;
9157
+ /** Only return Space entities on which the caller has this permission, as well as View, which every entity listed needs.
9158
+
9159
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
9160
+
9161
+ Supported values: Manage, Edit, Use, View, ManageChildren, EditChildren, UseChildren, ViewChildren, CreateChildren, ApproveChildren, TargetEditChildren, TargetViewChildren. */
9162
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "ManageChildren" | "EditChildren" | "UseChildren" | "ViewChildren" | "CreateChildren" | "ApproveChildren" | "TargetEditChildren" | "TargetViewChildren";
9019
9163
  /** Hidden Space entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
9020
9164
 
9021
9165
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -9244,6 +9388,12 @@ type ListExtendedAttestationsApiArg = {
9244
9388
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
9245
9389
  The whole string must be query-encoded. */
9246
9390
  select?: string;
9391
+ /** Only return Attestation entities on which the caller has this permission, as well as View, which every entity listed needs.
9392
+
9393
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
9394
+
9395
+ Supported values: Manage, Edit, Use, View. */
9396
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
9247
9397
  /** Hidden Attestation entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
9248
9398
 
9249
9399
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -9403,6 +9553,12 @@ type ListAttributesApiArg = {
9403
9553
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
9404
9554
  The whole string must be query-encoded. */
9405
9555
  select?: string;
9556
+ /** Only return Attribute entities on which the caller has this permission, as well as View, which every entity listed needs.
9557
+
9558
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
9559
+
9560
+ Supported values: Manage, Edit, Use, View. */
9561
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
9406
9562
  /** Hidden Attribute entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
9407
9563
 
9408
9564
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -9656,6 +9812,12 @@ type ListBridgeWorkersApiArg = {
9656
9812
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
9657
9813
  The whole string must be query-encoded. */
9658
9814
  select?: string;
9815
+ /** Only return BridgeWorker entities on which the caller has this permission, as well as View, which every entity listed needs.
9816
+
9817
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
9818
+
9819
+ Supported values: Manage, Edit, Use, View, ManageChildren, EditChildren, UseChildren, ViewChildren, CreateChildren, ApproveChildren, TargetEditChildren, TargetViewChildren. */
9820
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "ManageChildren" | "EditChildren" | "UseChildren" | "ViewChildren" | "CreateChildren" | "ApproveChildren" | "TargetEditChildren" | "TargetViewChildren";
9659
9821
  /** Hidden BridgeWorker entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
9660
9822
 
9661
9823
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -9925,6 +10087,12 @@ type ListChangeOrdersApiArg = {
9925
10087
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
9926
10088
  The whole string must be query-encoded. */
9927
10089
  select?: string;
10090
+ /** Only return ChangeOrder entities on which the caller has this permission, as well as View, which every entity listed needs.
10091
+
10092
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
10093
+
10094
+ Supported values: Manage, Edit, Use, View. */
10095
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
9928
10096
  /** Hidden ChangeOrder entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
9929
10097
 
9930
10098
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -10161,6 +10329,12 @@ type ListChangeSetsApiArg = {
10161
10329
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
10162
10330
  The whole string must be query-encoded. */
10163
10331
  select?: string;
10332
+ /** Only return ChangeSet entities on which the caller has this permission, as well as View, which every entity listed needs.
10333
+
10334
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
10335
+
10336
+ Supported values: Manage, Edit, Use, View. */
10337
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
10164
10338
  /** Hidden ChangeSet entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
10165
10339
 
10166
10340
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -10381,6 +10555,12 @@ type ListChangeWorkflowsApiArg = {
10381
10555
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
10382
10556
  The whole string must be query-encoded. */
10383
10557
  select?: string;
10558
+ /** Only return ChangeWorkflow entities on which the caller has this permission, as well as View, which every entity listed needs.
10559
+
10560
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
10561
+
10562
+ Supported values: Manage, Edit, Use, View. */
10563
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
10384
10564
  /** Hidden ChangeWorkflow entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
10385
10565
 
10386
10566
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -10625,6 +10805,12 @@ type ListChannelsApiArg = {
10625
10805
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
10626
10806
  The whole string must be query-encoded. */
10627
10807
  select?: string;
10808
+ /** Only return Channel entities on which the caller has this permission, as well as View, which every entity listed needs.
10809
+
10810
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
10811
+
10812
+ Supported values: Manage, Edit, Use, View, Claim. */
10813
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Claim";
10628
10814
  /** Hidden Channel entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
10629
10815
 
10630
10816
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -10906,6 +11092,12 @@ type ListCommandRunsApiArg = {
10906
11092
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
10907
11093
  The whole string must be query-encoded. */
10908
11094
  select?: string;
11095
+ /** Only return CommandRun entities on which the caller has this permission, as well as View, which every entity listed needs.
11096
+
11097
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
11098
+
11099
+ Supported values: Manage, Edit, Use, View. */
11100
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
10909
11101
  /** Maximum number of CommandRun entities to return. If not specified, all matching entities are returned. Values greater than 1000 are rejected with 400. When there may be more entities, the response has a ConfigHub-Continue header to pass as the continue parameter of the next request. */
10910
11102
  limit?: number;
10911
11103
  /** Comma-separated list of fields to sort CommandRun results by, each in the form 'ASC|DESC:FieldName' or just 'FieldName'.
@@ -11064,6 +11256,12 @@ type ListFiltersApiArg = {
11064
11256
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
11065
11257
  The whole string must be query-encoded. */
11066
11258
  select?: string;
11259
+ /** Only return Filter entities on which the caller has this permission, as well as View, which every entity listed needs.
11260
+
11261
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
11262
+
11263
+ Supported values: Manage, Edit, Use, View. */
11264
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
11067
11265
  /** Hidden Filter entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
11068
11266
 
11069
11267
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -11329,7 +11527,7 @@ type InvokeFunctionsApiArg = {
11329
11527
  An example conjunction is:
11330
11528
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
11331
11529
 
11332
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
11530
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
11333
11531
 
11334
11532
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
11335
11533
 
@@ -11465,6 +11663,12 @@ type ListInvocationsApiArg = {
11465
11663
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
11466
11664
  The whole string must be query-encoded. */
11467
11665
  select?: string;
11666
+ /** Only return Invocation entities on which the caller has this permission, as well as View, which every entity listed needs.
11667
+
11668
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
11669
+
11670
+ Supported values: Manage, Edit, Use, View. */
11671
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
11468
11672
  /** Hidden Invocation entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
11469
11673
 
11470
11674
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -11704,6 +11908,12 @@ type ListLinksApiArg = {
11704
11908
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
11705
11909
  The whole string must be query-encoded. */
11706
11910
  select?: string;
11911
+ /** Only return Link entities on which the caller has this permission, as well as View, which every entity listed needs.
11912
+
11913
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
11914
+
11915
+ Supported values: Manage, Edit, Use, View. */
11916
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
11707
11917
  /** Hidden Link entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
11708
11918
 
11709
11919
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -11975,6 +12185,12 @@ type ListExtendedReleasesApiArg = {
11975
12185
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
11976
12186
  The whole string must be query-encoded. */
11977
12187
  select?: string;
12188
+ /** Only return Release entities on which the caller has this permission, as well as View, which every entity listed needs.
12189
+
12190
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
12191
+
12192
+ Supported values: Manage, Edit, Use, View. */
12193
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
11978
12194
  /** Hidden Release entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
11979
12195
 
11980
12196
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -12199,6 +12415,12 @@ type ListTagsApiArg = {
12199
12415
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
12200
12416
  The whole string must be query-encoded. */
12201
12417
  select?: string;
12418
+ /** Only return Tag entities on which the caller has this permission, as well as View, which every entity listed needs.
12419
+
12420
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
12421
+
12422
+ Supported values: Manage, Edit, Use, View. */
12423
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
12202
12424
  /** Hidden Tag entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
12203
12425
 
12204
12426
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -12414,6 +12636,12 @@ type ListTargetsApiArg = {
12414
12636
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
12415
12637
  The whole string must be query-encoded. */
12416
12638
  select?: string;
12639
+ /** Only return Target entities on which the caller has this permission, as well as View, which every entity listed needs.
12640
+
12641
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
12642
+
12643
+ Supported values: Manage, Edit, Use, View, ManageChildren, EditChildren, UseChildren, ViewChildren, CreateChildren, ApproveChildren, TargetEditChildren, TargetViewChildren. */
12644
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "ManageChildren" | "EditChildren" | "UseChildren" | "ViewChildren" | "CreateChildren" | "ApproveChildren" | "TargetEditChildren" | "TargetViewChildren";
12417
12645
  /** Hidden Target entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
12418
12646
 
12419
12647
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -12661,6 +12889,12 @@ type ListTriggersApiArg = {
12661
12889
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
12662
12890
  The whole string must be query-encoded. */
12663
12891
  select?: string;
12892
+ /** Only return Trigger entities on which the caller has this permission, as well as View, which every entity listed needs.
12893
+
12894
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
12895
+
12896
+ Supported values: Manage, Edit, Use, View. */
12897
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
12664
12898
  /** Hidden Trigger entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
12665
12899
 
12666
12900
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -12900,7 +13134,7 @@ type ListUnitsApiArg = {
12900
13134
  An example conjunction is:
12901
13135
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
12902
13136
 
12903
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
13137
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
12904
13138
 
12905
13139
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
12906
13140
 
@@ -12951,6 +13185,12 @@ type ListUnitsApiArg = {
12951
13185
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
12952
13186
  The whole string must be query-encoded. */
12953
13187
  select?: string;
13188
+ /** Only return Unit entities on which the caller has this permission, as well as View, which every entity listed needs.
13189
+
13190
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
13191
+
13192
+ Supported values: Manage, Edit, Use, View, Approve, TargetEdit, TargetView. */
13193
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Approve" | "TargetEdit" | "TargetView";
12954
13194
  /** Hidden Unit entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
12955
13195
 
12956
13196
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -13481,6 +13721,12 @@ type ListExtendedMutationsApiArg = {
13481
13721
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
13482
13722
  The whole string must be query-encoded. */
13483
13723
  select?: string;
13724
+ /** Only return Mutation entities on which the caller has this permission, as well as View, which every entity listed needs.
13725
+
13726
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
13727
+
13728
+ Supported values: Manage, Edit, Use, View. */
13729
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
13484
13730
  /** Hidden Mutation entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
13485
13731
 
13486
13732
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -13654,6 +13900,12 @@ type ListExtendedResourcesApiArg = {
13654
13900
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
13655
13901
  The whole string must be query-encoded. */
13656
13902
  select?: string;
13903
+ /** Only return Resource entities on which the caller has this permission, as well as View, which every entity listed needs.
13904
+
13905
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
13906
+
13907
+ Supported values: Manage, Edit, Use, View. */
13908
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
13657
13909
  /** Hidden Resource entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
13658
13910
 
13659
13911
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -13814,6 +14066,12 @@ type ListReviewCommentsApiArg = {
13814
14066
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
13815
14067
  The whole string must be query-encoded. */
13816
14068
  select?: string;
14069
+ /** Only return ReviewComment entities on which the caller has this permission, as well as View, which every entity listed needs.
14070
+
14071
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
14072
+
14073
+ Supported values: Manage, Edit, Use, View. */
14074
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
13817
14075
  /** Hidden ReviewComment entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
13818
14076
 
13819
14077
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -13980,7 +14238,7 @@ type ListExtendedRevisionsApiArg = {
13980
14238
  An example conjunction is:
13981
14239
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
13982
14240
 
13983
- Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
14241
+ Supported attributes for filtering on Revision: ApplyGates, ApplyWarnings, Attestations, ChangeOrders, ChangeSetID, Conflicts, CreatedAt, DataHash, Description, HiddenReason, LinkFindings, NeededPaths, OrganizationID, ProvidedPaths, Releases, RevisionID, RevisionNum, Source, SpaceID, Tags, UnitID, UpdatedAt, UserAgent, UserID, ValidationErrors, ValidationPassed, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
13984
14242
 
13985
14243
  To list a tagged Revision use `Tags ? '<tag-id>'`.
13986
14244
 
@@ -14031,6 +14289,12 @@ type ListExtendedRevisionsApiArg = {
14031
14289
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
14032
14290
  The whole string must be query-encoded. */
14033
14291
  select?: string;
14292
+ /** Only return Revision entities on which the caller has this permission, as well as View, which every entity listed needs.
14293
+
14294
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
14295
+
14296
+ Supported values: Manage, Edit, Use, View. */
14297
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
14034
14298
  /** Hidden Revision entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
14035
14299
 
14036
14300
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -14188,6 +14452,12 @@ type ListUnitActionsApiArg = {
14188
14452
 
14189
14453
  The whole string must be query-encoded. */
14190
14454
  contains?: string;
14455
+ /** Only return QueuedOperation entities on which the caller has this permission, as well as View, which every entity listed needs.
14456
+
14457
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
14458
+
14459
+ Supported values: Manage, Edit, Use, View. */
14460
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
14191
14461
  /** Maximum number of QueuedOperation entities to return. If not specified, all matching entities are returned. Values greater than 1000 are rejected with 400. When there may be more entities, the response has a ConfigHub-Continue header to pass as the continue parameter of the next request. */
14192
14462
  limit?: number;
14193
14463
  /** Comma-separated list of fields to sort QueuedOperation results by, each in the form 'ASC|DESC:FieldName' or just 'FieldName'.
@@ -14291,6 +14561,12 @@ type ListUnitEventsApiArg = {
14291
14561
 
14292
14562
  The whole string must be query-encoded. */
14293
14563
  contains?: string;
14564
+ /** Only return UnitEvent entities on which the caller has this permission, as well as View, which every entity listed needs.
14565
+
14566
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
14567
+
14568
+ Supported values: Manage, Edit, Use, View. */
14569
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
14294
14570
  /** Hidden UnitEvent entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
14295
14571
 
14296
14572
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -14428,6 +14704,12 @@ type ListViewsApiArg = {
14428
14704
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
14429
14705
  The whole string must be query-encoded. */
14430
14706
  select?: string;
14707
+ /** Only return View entities on which the caller has this permission, as well as View, which every entity listed needs.
14708
+
14709
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
14710
+
14711
+ Supported values: Manage, Edit, Use, View. */
14712
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
14431
14713
  /** Hidden View entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
14432
14714
 
14433
14715
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -14756,6 +15038,12 @@ type ListAllTagsApiArg = {
14756
15038
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
14757
15039
  The whole string must be query-encoded. */
14758
15040
  select?: string;
15041
+ /** Only return Tag entities on which the caller has this permission, as well as View, which every entity listed needs.
15042
+
15043
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
15044
+
15045
+ Supported values: Manage, Edit, Use, View. */
15046
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
14759
15047
  /** Hidden Tag entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
14760
15048
 
14761
15049
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -15352,6 +15640,12 @@ type ListAllTargetsApiArg = {
15352
15640
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
15353
15641
  The whole string must be query-encoded. */
15354
15642
  select?: string;
15643
+ /** Only return Target entities on which the caller has this permission, as well as View, which every entity listed needs.
15644
+
15645
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
15646
+
15647
+ Supported values: Manage, Edit, Use, View, ManageChildren, EditChildren, UseChildren, ViewChildren, CreateChildren, ApproveChildren, TargetEditChildren, TargetViewChildren. */
15648
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "ManageChildren" | "EditChildren" | "UseChildren" | "ViewChildren" | "CreateChildren" | "ApproveChildren" | "TargetEditChildren" | "TargetViewChildren";
15355
15649
  /** Hidden Target entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
15356
15650
 
15357
15651
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -15702,7 +15996,7 @@ type BulkCreateTargetsApiArg = {
15702
15996
  An example conjunction is:
15703
15997
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
15704
15998
 
15705
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
15999
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
15706
16000
 
15707
16001
  The Units to create entities from, with from_backing_units.
15708
16002
 
@@ -16014,6 +16308,12 @@ type ListAllTriggersApiArg = {
16014
16308
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
16015
16309
  The whole string must be query-encoded. */
16016
16310
  select?: string;
16311
+ /** Only return Trigger entities on which the caller has this permission, as well as View, which every entity listed needs.
16312
+
16313
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
16314
+
16315
+ Supported values: Manage, Edit, Use, View. */
16316
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
16017
16317
  /** Hidden Trigger entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
16018
16318
 
16019
16319
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -16384,7 +16684,7 @@ type BulkCreateTriggersApiArg = {
16384
16684
  An example conjunction is:
16385
16685
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
16386
16686
 
16387
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16687
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16388
16688
 
16389
16689
  The Units to create entities from, with from_backing_units.
16390
16690
 
@@ -16569,7 +16869,7 @@ type BulkDeleteUnitsApiArg = {
16569
16869
  An example conjunction is:
16570
16870
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
16571
16871
 
16572
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16872
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16573
16873
 
16574
16874
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
16575
16875
 
@@ -16662,7 +16962,7 @@ type ListAllUnitsApiArg = {
16662
16962
  An example conjunction is:
16663
16963
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
16664
16964
 
16665
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16965
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16666
16966
 
16667
16967
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
16668
16968
 
@@ -16713,6 +17013,12 @@ type ListAllUnitsApiArg = {
16713
17013
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
16714
17014
  The whole string must be query-encoded. */
16715
17015
  select?: string;
17016
+ /** Only return Unit entities on which the caller has this permission, as well as View, which every entity listed needs.
17017
+
17018
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
17019
+
17020
+ Supported values: Manage, Edit, Use, View, Approve, TargetEdit, TargetView. */
17021
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Approve" | "TargetEdit" | "TargetView";
16716
17022
  /** Hidden Unit entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
16717
17023
 
16718
17024
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -16798,7 +17104,7 @@ type BulkPatchUnitsApiArg = {
16798
17104
  An example conjunction is:
16799
17105
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
16800
17106
 
16801
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17107
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
16802
17108
 
16803
17109
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
16804
17110
 
@@ -17023,7 +17329,7 @@ type BulkCreateUnitsApiArg = {
17023
17329
  An example conjunction is:
17024
17330
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17025
17331
 
17026
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17332
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17027
17333
 
17028
17334
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17029
17335
 
@@ -17262,7 +17568,7 @@ type BulkCancelUnitsApiArg = {
17262
17568
  An example conjunction is:
17263
17569
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17264
17570
 
17265
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17571
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17266
17572
 
17267
17573
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17268
17574
 
@@ -17349,7 +17655,7 @@ type BulkMoveUnitsApiArg = {
17349
17655
  An example conjunction is:
17350
17656
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17351
17657
 
17352
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17658
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17353
17659
 
17354
17660
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17355
17661
 
@@ -17439,7 +17745,7 @@ type BulkTagUnitsApiArg = {
17439
17745
  An example conjunction is:
17440
17746
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17441
17747
 
17442
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17748
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17443
17749
 
17444
17750
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17445
17751
 
@@ -17559,6 +17865,12 @@ type ListAllUnitActionsApiArg = {
17559
17865
 
17560
17866
  The whole string must be query-encoded. */
17561
17867
  contains?: string;
17868
+ /** Only return QueuedOperation entities on which the caller has this permission, as well as View, which every entity listed needs.
17869
+
17870
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
17871
+
17872
+ Supported values: Manage, Edit, Use, View. */
17873
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
17562
17874
  /** Maximum number of QueuedOperation entities to return. If not specified, all matching entities are returned. Values greater than 1000 are rejected with 400. When there may be more entities, the response has a ConfigHub-Continue header to pass as the continue parameter of the next request. */
17563
17875
  limit?: number;
17564
17876
  /** Comma-separated list of fields to sort QueuedOperation results by, each in the form 'ASC|DESC:FieldName' or just 'FieldName'.
@@ -17616,7 +17928,7 @@ type SearchUnitDataApiArg = {
17616
17928
  An example conjunction is:
17617
17929
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17618
17930
 
17619
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17931
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17620
17932
 
17621
17933
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17622
17934
 
@@ -17667,6 +17979,12 @@ type SearchUnitDataApiArg = {
17667
17979
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
17668
17980
  The whole string must be query-encoded. */
17669
17981
  select?: string;
17982
+ /** Only return Unit entities on which the caller has this permission, as well as View, which every entity listed needs.
17983
+
17984
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
17985
+
17986
+ Supported values: Manage, Edit, Use, View, Approve, TargetEdit, TargetView. */
17987
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Approve" | "TargetEdit" | "TargetView";
17670
17988
  /** Hidden Unit entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
17671
17989
 
17672
17990
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -17746,7 +18064,7 @@ type SearchUnitDiffApiArg = {
17746
18064
  An example conjunction is:
17747
18065
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17748
18066
 
17749
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
18067
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17750
18068
 
17751
18069
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17752
18070
 
@@ -17780,6 +18098,12 @@ type SearchUnitDiffApiArg = {
17780
18098
 
17781
18099
  The whole string must be query-encoded. */
17782
18100
  contains?: string;
18101
+ /** Only return Unit entities on which the caller has this permission, as well as View, which every entity listed needs.
18102
+
18103
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
18104
+
18105
+ Supported values: Manage, Edit, Use, View, Approve, TargetEdit, TargetView. */
18106
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Approve" | "TargetEdit" | "TargetView";
17783
18107
  /** Hidden Unit entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
17784
18108
 
17785
18109
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -17901,6 +18225,12 @@ type ListAllUnitEventsApiArg = {
17901
18225
 
17902
18226
  The whole string must be query-encoded. */
17903
18227
  contains?: string;
18228
+ /** Only return UnitEvent entities on which the caller has this permission, as well as View, which every entity listed needs.
18229
+
18230
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
18231
+
18232
+ Supported values: Manage, Edit, Use, View. */
18233
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
17904
18234
  /** Hidden UnitEvent entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
17905
18235
 
17906
18236
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -17977,7 +18307,7 @@ type SearchUnitMutationSourcesApiArg = {
17977
18307
  An example conjunction is:
17978
18308
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
17979
18309
 
17980
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
18310
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
17981
18311
 
17982
18312
  Finding all units created by cloning can be done using the expression `UpstreamRevisionNum > 0`. Clones of a specific unit can be found by additionally filtering based on `UpstreamUnitID`. Units never released can be found using `LastReleasedRevisionNum = 0`. Units with unreleased changes can be found with `HeadRevisionNum > LastReleasedRevisionNum AND TargetID IS NOT NULL`.
17983
18313
 
@@ -18028,6 +18358,12 @@ type SearchUnitMutationSourcesApiArg = {
18028
18358
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
18029
18359
  The whole string must be query-encoded. */
18030
18360
  select?: string;
18361
+ /** Only return Unit entities on which the caller has this permission, as well as View, which every entity listed needs.
18362
+
18363
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
18364
+
18365
+ Supported values: Manage, Edit, Use, View, Approve, TargetEdit, TargetView. */
18366
+ wherePermission?: "Manage" | "Edit" | "Use" | "View" | "Approve" | "TargetEdit" | "TargetView";
18031
18367
  /** Hidden Unit entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
18032
18368
 
18033
18369
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -18149,6 +18485,12 @@ type ListUsersApiArg = {
18149
18485
 
18150
18486
  The whole string must be query-encoded. */
18151
18487
  contains?: string;
18488
+ /** Only return User entities on which the caller has this permission, as well as View, which every entity listed needs.
18489
+
18490
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
18491
+
18492
+ Supported values: Manage, Edit, Use, View. */
18493
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
18152
18494
  /** Select clause for specifying which fields to include in the response for User.
18153
18495
  The attribute names are case-sensitive, PascalCase, and
18154
18496
  expected in a comma-separated list format as in the JSON encoding.
@@ -18406,6 +18748,12 @@ type ListAllViewsApiArg = {
18406
18748
  Example: 'DisplayName,CreatedAt,Labels' will return only those fields plus the required ID and Slug fields.
18407
18749
  The whole string must be query-encoded. */
18408
18750
  select?: string;
18751
+ /** Only return View entities on which the caller has this permission, as well as View, which every entity listed needs.
18752
+
18753
+ A list made to choose an entity to act on can name the permission the action needs, such as Edit to change it or Use to refer to it from another entity, so that it leaves out the entities the action would be refused on.
18754
+
18755
+ Supported values: Manage, Edit, Use, View. */
18756
+ wherePermission?: "Manage" | "Edit" | "Use" | "View";
18409
18757
  /** Hidden View entities, those with a HiddenReason, are left out of the results, or of what a bulk operation acts on, unless this names their HiddenReason.
18410
18758
 
18411
18759
  It is a comma-separated list of HiddenReasons, or `*` for all of them.
@@ -18755,7 +19103,7 @@ type BulkCreateViewsApiArg = {
18755
19103
  An example conjunction is:
18756
19104
  `CreatedAt >= '2025-01-07' AND Slug = 'test' AND Labels.mykey = 'myvalue'`.
18757
19105
 
18758
- Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
19106
+ Supported attributes for filtering on Unit: Annotations, ApplyGates, ApplyWarnings, ChangeSetID, Conflicts, CreatedAt, DataHash, DeleteGates, DestroyGates, DisplayName, FromLinkID, HeadRevisionID, HeadRevisionNum, HeadUnitActionNum, HeadUnitEventNum, HiddenReason, Labels, LastChangeDescription, LastReleasedRevisionNum, LinkFindings, NeededPaths, OrganizationID, Permissions, ProvidedPaths, ProviderType, Slug, SpaceID, TargetID, ToolchainType, UnitID, UpdatedAt, UpstreamRevisionNum, UpstreamSpaceID, UpstreamUnitID, ValidationErrors, ValidationResults, ValidationTriggerIDs, ValidationWarnings, ValueTriggerIDs, Values.
18759
19107
 
18760
19108
  The Units to create entities from, with from_backing_units.
18761
19109
 
@@ -21563,9 +21911,9 @@ type FunctionInvocationsRequest = {
21563
21911
  ChangeDescription?: string;
21564
21912
  ChannelID?: string;
21565
21913
  FunctionInvocations?: FunctionInvocationList;
21566
- /** Put the Unit's outstanding merge conflicts in the FunctionContext, for functions that reason about them */
21914
+ /** Put the Unit's outstanding merge conflicts in the FunctionContext, for functions that reason about them. A request that runs Triggers gets them regardless */
21567
21915
  IncludeConflicts?: boolean;
21568
- /** Put what the resolves of the Unit's Links could not do in the FunctionContext, for functions that reason about it */
21916
+ /** Put what the resolves of the Unit's Links could not do in the FunctionContext, for functions that reason about it. A request that runs Triggers gets them regardless */
21569
21917
  IncludeLinkFindings?: boolean;
21570
21918
  /** Invocations is a list of Invocation IDs to execute. The invocations must be within the same Organization. Invocations will be executed after the FunctionInvocations list. Functions are grouped by executor (built-in vs bridge worker) and executed in phases: general mutating functions first, then final mutating functions (like ensure-context), then validating functions. Functions that don't match the unit's toolchain type are ignored. */
21571
21919
  Invocations?: Uuid[];
@@ -21880,13 +22228,13 @@ type ValidationResult = {
21880
22228
  /** Name of the function invocation corresponding to the result */
21881
22229
  FunctionName?: string;
21882
22230
  /** Index of the function invocation corresponding to the result. Useful in the case that multiple function invocations in the same executor call return ValidationResultList output. */
21883
- Index?: number;
22231
+ Index: number;
21884
22232
  /** Issues found with the configuration unit that are not associated with specific attributes/paths. Use FailedAttributes where possible. */
21885
22233
  Issues?: Issue[];
21886
22234
  /** Maximum score of all findings */
21887
22235
  MaxScore?: string;
21888
22236
  /** True if valid, false otherwise */
21889
- Passed?: boolean;
22237
+ Passed: boolean;
21890
22238
  };
21891
22239
  type ValidationResultList = ValidationResult[];
21892
22240
  type UnitRead = {
@@ -23254,14 +23602,23 @@ type CreateUserKeyRequest = {
23254
23602
  PublicJWK?: any;
23255
23603
  };
23256
23604
  type UserToken = {
23605
+ /** When the token was issued. (readonly) */
23257
23606
  CreatedAt?: string;
23607
+ /** The User who issued the token. A token is never issued by the identity it authenticates as. (readonly) */
23258
23608
  CreatedByUserID?: string;
23609
+ /** Which system holds the token, so it can be retired without guessing what breaks. */
23259
23610
  Description?: string;
23611
+ /** When the token stops working. Zero when it does not expire. */
23260
23612
  ExpiresAt?: string;
23613
+ /** The token's jti claim, which names the token in a revocation. (readonly) */
23261
23614
  Jti?: string;
23615
+ /** When the token was last exchanged at the registry, stamped at most once per cache period per server. Zero when it has not been used. (readonly) */
23262
23616
  LastUsedAt?: string;
23617
+ /** When the token was revoked. Zero when it is live. (readonly) */
23263
23618
  RevokedAt?: string;
23619
+ /** The User the token authenticates as: the ServiceAccount's User. (readonly) */
23264
23620
  UserID?: string;
23621
+ /** Unique identifier for the record. (readonly) */
23265
23622
  UserTokenID?: string;
23266
23623
  };
23267
23624
  type IssuedUserToken = {