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