@vrplatform/api 1.3.1-stage.4666 → 1.3.1-stage.4667

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.
@@ -1562,7 +1562,7 @@ export interface paths {
1562
1562
  path?: never;
1563
1563
  cookie?: never;
1564
1564
  };
1565
- /** @description List feature flags across all teams, with enabled-team and tester counts. VRP-admin only. */
1565
+ /** @description List feature flags with team and user assignments. Omitted status returns testing and ready flags. Sorting defaults to createdAt desc. VRP-admin only. */
1566
1566
  get: operations["getInternalFeatureFlags"];
1567
1567
  put?: never;
1568
1568
  /** @description Create a feature flag. Team enablement and testers are managed via the teams and users sub-resources. VRP-admin only. */
@@ -1598,9 +1598,9 @@ export interface paths {
1598
1598
  path?: never;
1599
1599
  cookie?: never;
1600
1600
  };
1601
- /** @description List teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag. VRP-admin only. */
1601
+ /** @description List team assignments for a feature flag. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access. VRP-admin only. */
1602
1602
  get: operations["getInternalFeatureFlagsByIdTeams"];
1603
- /** @description Replace the set of teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag. Teams served from another data region are rejected. VRP-admin only. */
1603
+ /** @description Replace the set of teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access. Teams served from another data region are rejected. VRP-admin only. */
1604
1604
  put: operations["putInternalFeatureFlagsByIdTeams"];
1605
1605
  post?: never;
1606
1606
  delete?: never;
@@ -1616,9 +1616,9 @@ export interface paths {
1616
1616
  path?: never;
1617
1617
  cookie?: never;
1618
1618
  };
1619
- /** @description List testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled. VRP-admin only. */
1619
+ /** @description List user assignments for a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled; 'disabled' explicitly denies access. VRP-admin only. */
1620
1620
  get: operations["getInternalFeatureFlagsByIdUsers"];
1621
- /** @description Replace the set of testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled. VRP-admin only. */
1621
+ /** @description Replace the set of testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled; 'disabled' explicitly denies access. VRP-admin only. */
1622
1622
  put: operations["putInternalFeatureFlagsByIdUsers"];
1623
1623
  post?: never;
1624
1624
  delete?: never;
@@ -28107,6 +28107,9 @@ export interface operations {
28107
28107
  parameters: {
28108
28108
  query?: {
28109
28109
  search?: string;
28110
+ status?: "testing" | "ready" | "deployed";
28111
+ sortBy?: "createdAt" | "title";
28112
+ sortDirection?: "asc" | "desc";
28110
28113
  limit?: number;
28111
28114
  page?: number;
28112
28115
  offset?: number;
@@ -28131,10 +28134,32 @@ export interface operations {
28131
28134
  description: string | null;
28132
28135
  url: string | null;
28133
28136
  issueUrl: string | null;
28134
- /** @description Catalog status of the flag itself (e.g. 'testing'). */
28135
- status: string | null;
28137
+ /** @description Catalog status of the flag itself. */
28138
+ status: ("testing" | "ready" | "deployed") | null;
28136
28139
  /** @description User ids required to approve this feature. */
28137
28140
  requiredApprovals: string[];
28141
+ teams: {
28142
+ /** Format: uuid */
28143
+ id: string;
28144
+ name: string | null;
28145
+ /**
28146
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28147
+ * @enum {string}
28148
+ */
28149
+ status: "all" | "partially" | "disabled";
28150
+ }[];
28151
+ users: {
28152
+ /** Format: uuid */
28153
+ id: string;
28154
+ email: string | null;
28155
+ firstName: string | null;
28156
+ lastName: string | null;
28157
+ /**
28158
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28159
+ * @enum {string}
28160
+ */
28161
+ status: "all" | "partially" | "disabled";
28162
+ }[];
28138
28163
  enabledTeamsCount: number;
28139
28164
  testersCount: number;
28140
28165
  /**
@@ -28310,7 +28335,7 @@ export interface operations {
28310
28335
  description?: string | null;
28311
28336
  url?: string | null;
28312
28337
  issueUrl?: string | null;
28313
- status?: string | null;
28338
+ status?: ("testing" | "ready" | "deployed") | null;
28314
28339
  requiredApprovals?: string[];
28315
28340
  };
28316
28341
  };
@@ -28329,10 +28354,32 @@ export interface operations {
28329
28354
  description: string | null;
28330
28355
  url: string | null;
28331
28356
  issueUrl: string | null;
28332
- /** @description Catalog status of the flag itself (e.g. 'testing'). */
28333
- status: string | null;
28357
+ /** @description Catalog status of the flag itself. */
28358
+ status: ("testing" | "ready" | "deployed") | null;
28334
28359
  /** @description User ids required to approve this feature. */
28335
28360
  requiredApprovals: string[];
28361
+ teams: {
28362
+ /** Format: uuid */
28363
+ id: string;
28364
+ name: string | null;
28365
+ /**
28366
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28367
+ * @enum {string}
28368
+ */
28369
+ status: "all" | "partially" | "disabled";
28370
+ }[];
28371
+ users: {
28372
+ /** Format: uuid */
28373
+ id: string;
28374
+ email: string | null;
28375
+ firstName: string | null;
28376
+ lastName: string | null;
28377
+ /**
28378
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28379
+ * @enum {string}
28380
+ */
28381
+ status: "all" | "partially" | "disabled";
28382
+ }[];
28336
28383
  enabledTeamsCount: number;
28337
28384
  testersCount: number;
28338
28385
  /**
@@ -28500,7 +28547,7 @@ export interface operations {
28500
28547
  description?: string | null;
28501
28548
  url?: string | null;
28502
28549
  issueUrl?: string | null;
28503
- status?: string | null;
28550
+ status?: ("testing" | "ready" | "deployed") | null;
28504
28551
  requiredApprovals?: string[];
28505
28552
  };
28506
28553
  };
@@ -28519,10 +28566,32 @@ export interface operations {
28519
28566
  description: string | null;
28520
28567
  url: string | null;
28521
28568
  issueUrl: string | null;
28522
- /** @description Catalog status of the flag itself (e.g. 'testing'). */
28523
- status: string | null;
28569
+ /** @description Catalog status of the flag itself. */
28570
+ status: ("testing" | "ready" | "deployed") | null;
28524
28571
  /** @description User ids required to approve this feature. */
28525
28572
  requiredApprovals: string[];
28573
+ teams: {
28574
+ /** Format: uuid */
28575
+ id: string;
28576
+ name: string | null;
28577
+ /**
28578
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28579
+ * @enum {string}
28580
+ */
28581
+ status: "all" | "partially" | "disabled";
28582
+ }[];
28583
+ users: {
28584
+ /** Format: uuid */
28585
+ id: string;
28586
+ email: string | null;
28587
+ firstName: string | null;
28588
+ lastName: string | null;
28589
+ /**
28590
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28591
+ * @enum {string}
28592
+ */
28593
+ status: "all" | "partially" | "disabled";
28594
+ }[];
28526
28595
  enabledTeamsCount: number;
28527
28596
  testersCount: number;
28528
28597
  /**
@@ -28851,13 +28920,13 @@ export interface operations {
28851
28920
  "application/json": {
28852
28921
  data: {
28853
28922
  /** Format: uuid */
28854
- teamId: string;
28855
- teamName: string | null;
28923
+ id: string;
28924
+ name: string | null;
28856
28925
  /**
28857
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
28926
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
28858
28927
  * @enum {string}
28859
28928
  */
28860
- status: "all" | "partially";
28929
+ status: "all" | "partially" | "disabled";
28861
28930
  }[];
28862
28931
  };
28863
28932
  };
@@ -29010,12 +29079,12 @@ export interface operations {
29010
29079
  "application/json": {
29011
29080
  teams: {
29012
29081
  /** Format: uuid */
29013
- teamId: string;
29082
+ id: string;
29014
29083
  /**
29015
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29084
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29016
29085
  * @enum {string}
29017
29086
  */
29018
- status: "all" | "partially";
29087
+ status: "all" | "partially" | "disabled";
29019
29088
  }[];
29020
29089
  };
29021
29090
  };
@@ -29030,13 +29099,13 @@ export interface operations {
29030
29099
  "application/json": {
29031
29100
  data: {
29032
29101
  /** Format: uuid */
29033
- teamId: string;
29034
- teamName: string | null;
29102
+ id: string;
29103
+ name: string | null;
29035
29104
  /**
29036
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29105
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29037
29106
  * @enum {string}
29038
29107
  */
29039
- status: "all" | "partially";
29108
+ status: "all" | "partially" | "disabled";
29040
29109
  }[];
29041
29110
  };
29042
29111
  };
@@ -29195,14 +29264,15 @@ export interface operations {
29195
29264
  "application/json": {
29196
29265
  data: {
29197
29266
  /** Format: uuid */
29198
- userId: string;
29267
+ id: string;
29199
29268
  email: string | null;
29200
- name: string | null;
29269
+ firstName: string | null;
29270
+ lastName: string | null;
29201
29271
  /**
29202
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29272
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29203
29273
  * @enum {string}
29204
29274
  */
29205
- status: "all" | "partially";
29275
+ status: "all" | "partially" | "disabled";
29206
29276
  }[];
29207
29277
  };
29208
29278
  };
@@ -29355,12 +29425,12 @@ export interface operations {
29355
29425
  "application/json": {
29356
29426
  users: {
29357
29427
  /** Format: uuid */
29358
- userId: string;
29428
+ id: string;
29359
29429
  /**
29360
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29430
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29361
29431
  * @enum {string}
29362
29432
  */
29363
- status: "all" | "partially";
29433
+ status: "all" | "partially" | "disabled";
29364
29434
  }[];
29365
29435
  };
29366
29436
  };
@@ -29375,14 +29445,15 @@ export interface operations {
29375
29445
  "application/json": {
29376
29446
  data: {
29377
29447
  /** Format: uuid */
29378
- userId: string;
29448
+ id: string;
29379
29449
  email: string | null;
29380
- name: string | null;
29450
+ firstName: string | null;
29451
+ lastName: string | null;
29381
29452
  /**
29382
- * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
29453
+ * @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag; 'disabled' explicitly denies access.
29383
29454
  * @enum {string}
29384
29455
  */
29385
- status: "all" | "partially";
29456
+ status: "all" | "partially" | "disabled";
29386
29457
  }[];
29387
29458
  };
29388
29459
  };