@shuffl/cli 0.7.26 → 0.7.27

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.
@@ -1568,6 +1568,14 @@ export const commands = [
1568
1568
  const: 'pulse_mine',
1569
1569
  type: 'string',
1570
1570
  },
1571
+ {
1572
+ const: 'spend_limits',
1573
+ type: 'string',
1574
+ },
1575
+ {
1576
+ const: 'spend_policy',
1577
+ type: 'string',
1578
+ },
1571
1579
  {
1572
1580
  const: 'time_off_balance',
1573
1581
  type: 'string',
@@ -1761,6 +1769,14 @@ export const commands = [
1761
1769
  const: 'pulse_mine',
1762
1770
  type: 'string',
1763
1771
  },
1772
+ {
1773
+ const: 'spend_limits',
1774
+ type: 'string',
1775
+ },
1776
+ {
1777
+ const: 'spend_policy',
1778
+ type: 'string',
1779
+ },
1764
1780
  {
1765
1781
  const: 'time_off_balance',
1766
1782
  type: 'string',
@@ -4779,6 +4795,26 @@ export const commands = [
4779
4795
  const: 'runs.stopKnownFailures',
4780
4796
  type: 'string',
4781
4797
  },
4798
+ {
4799
+ const: 'spend.current',
4800
+ type: 'string',
4801
+ },
4802
+ {
4803
+ const: 'spend.disconnect',
4804
+ type: 'string',
4805
+ },
4806
+ {
4807
+ const: 'spend.draftPolicy',
4808
+ type: 'string',
4809
+ },
4810
+ {
4811
+ const: 'spend.mine',
4812
+ type: 'string',
4813
+ },
4814
+ {
4815
+ const: 'spend.programs',
4816
+ type: 'string',
4817
+ },
4782
4818
  {
4783
4819
  const: 'support.assign',
4784
4820
  type: 'string',
@@ -17120,6 +17156,109 @@ export const commands = [
17120
17156
  scope: 'runs:write',
17121
17157
  summary: 'Queue introductions using a preview and idempotent request key',
17122
17158
  },
17159
+ {
17160
+ access: 'read',
17161
+ command: ['spend', 'current'],
17162
+ input: {
17163
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
17164
+ additionalProperties: false,
17165
+ properties: {},
17166
+ type: 'object',
17167
+ },
17168
+ path: ['spend', 'current'],
17169
+ permission: 'spend.current',
17170
+ scope: 'integrations:read',
17171
+ summary: 'List the connected spend platform and what it may read',
17172
+ },
17173
+ {
17174
+ access: 'write',
17175
+ command: ['spend', 'disconnect'],
17176
+ input: {
17177
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
17178
+ additionalProperties: false,
17179
+ properties: {
17180
+ confirm: {
17181
+ const: 'spend.disconnect',
17182
+ type: 'string',
17183
+ },
17184
+ connectionId: {
17185
+ type: 'string',
17186
+ },
17187
+ requestKey: {
17188
+ maxLength: 128,
17189
+ minLength: 1,
17190
+ type: 'string',
17191
+ },
17192
+ },
17193
+ required: ['connectionId', 'confirm', 'requestKey'],
17194
+ type: 'object',
17195
+ },
17196
+ path: ['spend', 'disconnect'],
17197
+ permission: 'spend.disconnect',
17198
+ scope: 'integrations:write',
17199
+ summary: 'Disconnect the spend platform; Mello stops reading it at once',
17200
+ },
17201
+ {
17202
+ access: 'write',
17203
+ command: ['spend', 'draft-policy'],
17204
+ input: {
17205
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
17206
+ additionalProperties: false,
17207
+ properties: {
17208
+ confirm: {
17209
+ const: 'spend.draftPolicy',
17210
+ type: 'string',
17211
+ },
17212
+ connectionId: {
17213
+ type: 'string',
17214
+ },
17215
+ requestKey: {
17216
+ maxLength: 128,
17217
+ minLength: 1,
17218
+ type: 'string',
17219
+ },
17220
+ },
17221
+ required: ['connectionId', 'confirm', 'requestKey'],
17222
+ type: 'object',
17223
+ },
17224
+ path: ['spend', 'draftPolicy'],
17225
+ permission: 'spend.draftPolicy',
17226
+ scope: 'integrations:write',
17227
+ summary: 'Draft the spending policy page in Knowledge from the spend programs',
17228
+ },
17229
+ {
17230
+ access: 'read',
17231
+ command: ['spend', 'mine'],
17232
+ input: {
17233
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
17234
+ additionalProperties: false,
17235
+ properties: {},
17236
+ type: 'object',
17237
+ },
17238
+ path: ['spend', 'mine'],
17239
+ permission: 'spend.mine',
17240
+ scope: 'self:read',
17241
+ summary: 'Read the company’s spend programs and your own cards and limits',
17242
+ },
17243
+ {
17244
+ access: 'read',
17245
+ command: ['spend', 'programs'],
17246
+ input: {
17247
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
17248
+ additionalProperties: false,
17249
+ properties: {
17250
+ connectionId: {
17251
+ type: 'string',
17252
+ },
17253
+ },
17254
+ required: ['connectionId'],
17255
+ type: 'object',
17256
+ },
17257
+ path: ['spend', 'programs'],
17258
+ permission: 'spend.programs',
17259
+ scope: 'integrations:read',
17260
+ summary: 'Read the spend programs as the spend platform holds them now',
17261
+ },
17123
17262
  {
17124
17263
  access: 'write',
17125
17264
  command: ['support', 'assign'],
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.7.26",
5
- "@shuffl/sdk": "0.7.26"
4
+ "@shuffl/api-contracts": "0.7.27",
5
+ "@shuffl/sdk": "0.7.27"
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.7.26",
36
+ "version": "0.7.27",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }