@shuffl/cli 0.11.0 → 0.11.2

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.
@@ -1528,6 +1528,60 @@ export const commands = [
1528
1528
  scope: 'self:read',
1529
1529
  summary: 'Read your own benefit plans and open enrollment dates from the connected HR system',
1530
1530
  },
1531
+ {
1532
+ access: 'read',
1533
+ command: ['beta-features', 'list'],
1534
+ input: {
1535
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1536
+ additionalProperties: false,
1537
+ properties: {},
1538
+ type: 'object',
1539
+ },
1540
+ path: ['betaFeatures', 'list'],
1541
+ permission: 'betaFeatures.list',
1542
+ scope: 'team:read',
1543
+ summary: 'List the workspace’s beta features and whether each is on',
1544
+ },
1545
+ {
1546
+ access: 'write',
1547
+ command: ['beta-features', 'set'],
1548
+ input: {
1549
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1550
+ additionalProperties: false,
1551
+ properties: {
1552
+ confirm: {
1553
+ const: 'betaFeatures.set',
1554
+ type: 'string',
1555
+ },
1556
+ feature: {
1557
+ anyOf: [
1558
+ {
1559
+ const: 'apps',
1560
+ type: 'string',
1561
+ },
1562
+ {
1563
+ const: 'whos_out',
1564
+ type: 'string',
1565
+ },
1566
+ ],
1567
+ },
1568
+ on: {
1569
+ type: 'boolean',
1570
+ },
1571
+ requestKey: {
1572
+ maxLength: 128,
1573
+ minLength: 1,
1574
+ type: 'string',
1575
+ },
1576
+ },
1577
+ required: ['feature', 'on', 'confirm', 'requestKey'],
1578
+ type: 'object',
1579
+ },
1580
+ path: ['betaFeatures', 'set'],
1581
+ permission: 'betaFeatures.set',
1582
+ scope: 'team:write',
1583
+ summary: 'Turn a beta feature on or off for the workspace',
1584
+ },
1531
1585
  {
1532
1586
  access: 'write',
1533
1587
  command: ['capabilities', 'dismiss-requests'],
@@ -3628,6 +3682,14 @@ export const commands = [
3628
3682
  const: 'benefits.mine',
3629
3683
  type: 'string',
3630
3684
  },
3685
+ {
3686
+ const: 'betaFeatures.list',
3687
+ type: 'string',
3688
+ },
3689
+ {
3690
+ const: 'betaFeatures.set',
3691
+ type: 'string',
3692
+ },
3631
3693
  {
3632
3694
  const: 'capabilities.dismissRequests',
3633
3695
  type: 'string',
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@orpc/client": "1.15.3",
4
- "@shuffl/api-contracts": "0.11.0",
5
- "@shuffl/sdk": "0.11.0"
4
+ "@shuffl/api-contracts": "0.11.2",
5
+ "@shuffl/sdk": "0.11.2"
6
6
  },
7
7
  "description": "Shuffl command line: every public API operation as a scriptable command with JSON output.",
8
8
  "engines": {
@@ -33,7 +33,7 @@
33
33
  "sideEffects": false,
34
34
  "type": "module",
35
35
  "types": "./dist/index.d.ts",
36
- "version": "0.11.0",
36
+ "version": "0.11.2",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }