@shuffl/cli 0.11.8 → 0.11.10
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/commands.generated.js +106 -0
- package/package.json +3 -3
|
@@ -1826,6 +1826,10 @@ export const commands = [
|
|
|
1826
1826
|
const: 'request_catalog',
|
|
1827
1827
|
type: 'string',
|
|
1828
1828
|
},
|
|
1829
|
+
{
|
|
1830
|
+
const: 'request_channels',
|
|
1831
|
+
type: 'string',
|
|
1832
|
+
},
|
|
1829
1833
|
{
|
|
1830
1834
|
const: 'requests',
|
|
1831
1835
|
type: 'string',
|
|
@@ -2071,6 +2075,10 @@ export const commands = [
|
|
|
2071
2075
|
const: 'request_catalog',
|
|
2072
2076
|
type: 'string',
|
|
2073
2077
|
},
|
|
2078
|
+
{
|
|
2079
|
+
const: 'request_channels',
|
|
2080
|
+
type: 'string',
|
|
2081
|
+
},
|
|
2074
2082
|
{
|
|
2075
2083
|
const: 'requests',
|
|
2076
2084
|
type: 'string',
|
|
@@ -5209,10 +5217,18 @@ export const commands = [
|
|
|
5209
5217
|
const: 'requests.archiveType',
|
|
5210
5218
|
type: 'string',
|
|
5211
5219
|
},
|
|
5220
|
+
{
|
|
5221
|
+
const: 'requests.bindChannel',
|
|
5222
|
+
type: 'string',
|
|
5223
|
+
},
|
|
5212
5224
|
{
|
|
5213
5225
|
const: 'requests.cancel',
|
|
5214
5226
|
type: 'string',
|
|
5215
5227
|
},
|
|
5228
|
+
{
|
|
5229
|
+
const: 'requests.channels',
|
|
5230
|
+
type: 'string',
|
|
5231
|
+
},
|
|
5216
5232
|
{
|
|
5217
5233
|
const: 'requests.complete',
|
|
5218
5234
|
type: 'string',
|
|
@@ -5245,6 +5261,10 @@ export const commands = [
|
|
|
5245
5261
|
const: 'requests.types',
|
|
5246
5262
|
type: 'string',
|
|
5247
5263
|
},
|
|
5264
|
+
{
|
|
5265
|
+
const: 'requests.unbindChannel',
|
|
5266
|
+
type: 'string',
|
|
5267
|
+
},
|
|
5248
5268
|
{
|
|
5249
5269
|
const: 'requests.waiting',
|
|
5250
5270
|
type: 'string',
|
|
@@ -18282,6 +18302,50 @@ export const commands = [
|
|
|
18282
18302
|
scope: 'hr:write',
|
|
18283
18303
|
summary: 'Take a request type out of the catalog, or put it back',
|
|
18284
18304
|
},
|
|
18305
|
+
{
|
|
18306
|
+
access: 'write',
|
|
18307
|
+
command: ['requests', 'bind-channel'],
|
|
18308
|
+
input: {
|
|
18309
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
18310
|
+
additionalProperties: false,
|
|
18311
|
+
properties: {
|
|
18312
|
+
channelId: {
|
|
18313
|
+
type: 'string',
|
|
18314
|
+
},
|
|
18315
|
+
confirm: {
|
|
18316
|
+
const: 'requests.bindChannel',
|
|
18317
|
+
type: 'string',
|
|
18318
|
+
},
|
|
18319
|
+
mode: {
|
|
18320
|
+
anyOf: [
|
|
18321
|
+
{
|
|
18322
|
+
const: 'always',
|
|
18323
|
+
type: 'string',
|
|
18324
|
+
},
|
|
18325
|
+
{
|
|
18326
|
+
const: 'silent',
|
|
18327
|
+
type: 'string',
|
|
18328
|
+
},
|
|
18329
|
+
{
|
|
18330
|
+
const: 'when_asked',
|
|
18331
|
+
type: 'string',
|
|
18332
|
+
},
|
|
18333
|
+
],
|
|
18334
|
+
},
|
|
18335
|
+
requestKey: {
|
|
18336
|
+
maxLength: 128,
|
|
18337
|
+
minLength: 1,
|
|
18338
|
+
type: 'string',
|
|
18339
|
+
},
|
|
18340
|
+
},
|
|
18341
|
+
required: ['channelId', 'confirm', 'requestKey'],
|
|
18342
|
+
type: 'object',
|
|
18343
|
+
},
|
|
18344
|
+
path: ['requests', 'bindChannel'],
|
|
18345
|
+
permission: 'requests.bindChannel',
|
|
18346
|
+
scope: 'hr:write',
|
|
18347
|
+
summary: 'Take requests in a Slack channel Shuffl is in, or change how it listens: always, when asked or silent',
|
|
18348
|
+
},
|
|
18285
18349
|
{
|
|
18286
18350
|
access: 'write',
|
|
18287
18351
|
command: ['requests', 'cancel'],
|
|
@@ -18313,6 +18377,20 @@ export const commands = [
|
|
|
18313
18377
|
scope: 'self:write',
|
|
18314
18378
|
summary: 'Cancel a request you made while it waits or before it is carried out',
|
|
18315
18379
|
},
|
|
18380
|
+
{
|
|
18381
|
+
access: 'read',
|
|
18382
|
+
command: ['requests', 'channels'],
|
|
18383
|
+
input: {
|
|
18384
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
18385
|
+
additionalProperties: false,
|
|
18386
|
+
properties: {},
|
|
18387
|
+
type: 'object',
|
|
18388
|
+
},
|
|
18389
|
+
path: ['requests', 'channels'],
|
|
18390
|
+
permission: 'requests.channels',
|
|
18391
|
+
scope: 'hr:read',
|
|
18392
|
+
summary: 'List the Slack channels that take requests, each with its mode and what came in during the last 30 days',
|
|
18393
|
+
},
|
|
18316
18394
|
{
|
|
18317
18395
|
access: 'write',
|
|
18318
18396
|
command: ['requests', 'complete'],
|
|
@@ -18868,6 +18946,34 @@ export const commands = [
|
|
|
18868
18946
|
scope: 'self:read',
|
|
18869
18947
|
summary: 'List the kinds of request people can make here and what each asks for',
|
|
18870
18948
|
},
|
|
18949
|
+
{
|
|
18950
|
+
access: 'write',
|
|
18951
|
+
command: ['requests', 'unbind-channel'],
|
|
18952
|
+
input: {
|
|
18953
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
18954
|
+
additionalProperties: false,
|
|
18955
|
+
properties: {
|
|
18956
|
+
channelId: {
|
|
18957
|
+
type: 'string',
|
|
18958
|
+
},
|
|
18959
|
+
confirm: {
|
|
18960
|
+
const: 'requests.unbindChannel',
|
|
18961
|
+
type: 'string',
|
|
18962
|
+
},
|
|
18963
|
+
requestKey: {
|
|
18964
|
+
maxLength: 128,
|
|
18965
|
+
minLength: 1,
|
|
18966
|
+
type: 'string',
|
|
18967
|
+
},
|
|
18968
|
+
},
|
|
18969
|
+
required: ['channelId', 'confirm', 'requestKey'],
|
|
18970
|
+
type: 'object',
|
|
18971
|
+
},
|
|
18972
|
+
path: ['requests', 'unbindChannel'],
|
|
18973
|
+
permission: 'requests.unbindChannel',
|
|
18974
|
+
scope: 'hr:write',
|
|
18975
|
+
summary: 'Stop taking requests in a Slack channel; requests already filed stay',
|
|
18976
|
+
},
|
|
18871
18977
|
{
|
|
18872
18978
|
access: 'read',
|
|
18873
18979
|
command: ['requests', 'waiting'],
|
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.
|
|
5
|
-
"@shuffl/sdk": "0.11.
|
|
4
|
+
"@shuffl/api-contracts": "0.11.10",
|
|
5
|
+
"@shuffl/sdk": "0.11.10"
|
|
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.
|
|
36
|
+
"version": "0.11.10",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|