@shuffl/cli 0.7.12 → 0.7.14
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 +289 -0
- package/package.json +3 -3
|
@@ -3509,6 +3509,22 @@ export const commands = [
|
|
|
3509
3509
|
const: 'hr.get',
|
|
3510
3510
|
type: 'string',
|
|
3511
3511
|
},
|
|
3512
|
+
{
|
|
3513
|
+
const: 'hr.helpdesks.connect',
|
|
3514
|
+
type: 'string',
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
const: 'hr.helpdesks.disconnect',
|
|
3518
|
+
type: 'string',
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
const: 'hr.helpdesks.list',
|
|
3522
|
+
type: 'string',
|
|
3523
|
+
},
|
|
3524
|
+
{
|
|
3525
|
+
const: 'hr.helpdesks.queues',
|
|
3526
|
+
type: 'string',
|
|
3527
|
+
},
|
|
3512
3528
|
{
|
|
3513
3529
|
const: 'hr.list',
|
|
3514
3530
|
type: 'string',
|
|
@@ -3533,6 +3549,10 @@ export const commands = [
|
|
|
3533
3549
|
const: 'hr.retryDelivery',
|
|
3534
3550
|
type: 'string',
|
|
3535
3551
|
},
|
|
3552
|
+
{
|
|
3553
|
+
const: 'hr.route',
|
|
3554
|
+
type: 'string',
|
|
3555
|
+
},
|
|
3536
3556
|
{
|
|
3537
3557
|
const: 'hr.saveCategories',
|
|
3538
3558
|
type: 'string',
|
|
@@ -4377,10 +4397,18 @@ export const commands = [
|
|
|
4377
4397
|
const: 'runs.history.get',
|
|
4378
4398
|
type: 'string',
|
|
4379
4399
|
},
|
|
4400
|
+
{
|
|
4401
|
+
const: 'runs.history.linkPeople',
|
|
4402
|
+
type: 'string',
|
|
4403
|
+
},
|
|
4380
4404
|
{
|
|
4381
4405
|
const: 'runs.history.list',
|
|
4382
4406
|
type: 'string',
|
|
4383
4407
|
},
|
|
4408
|
+
{
|
|
4409
|
+
const: 'runs.history.people',
|
|
4410
|
+
type: 'string',
|
|
4411
|
+
},
|
|
4384
4412
|
{
|
|
4385
4413
|
const: 'runs.list',
|
|
4386
4414
|
type: 'string',
|
|
@@ -4389,6 +4417,10 @@ export const commands = [
|
|
|
4389
4417
|
const: 'runs.request',
|
|
4390
4418
|
type: 'string',
|
|
4391
4419
|
},
|
|
4420
|
+
{
|
|
4421
|
+
const: 'runs.resolveMonthlyReview',
|
|
4422
|
+
type: 'string',
|
|
4423
|
+
},
|
|
4392
4424
|
{
|
|
4393
4425
|
const: 'runs.retry',
|
|
4394
4426
|
type: 'string',
|
|
@@ -6770,6 +6802,125 @@ export const commands = [
|
|
|
6770
6802
|
scope: 'hr:read',
|
|
6771
6803
|
summary: 'Read one HR request and its messages',
|
|
6772
6804
|
},
|
|
6805
|
+
{
|
|
6806
|
+
access: 'write',
|
|
6807
|
+
command: ['hr', 'helpdesks', 'connect'],
|
|
6808
|
+
input: {
|
|
6809
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6810
|
+
additionalProperties: false,
|
|
6811
|
+
properties: {
|
|
6812
|
+
confirm: {
|
|
6813
|
+
const: 'hr.helpdesks.connect',
|
|
6814
|
+
type: 'string',
|
|
6815
|
+
},
|
|
6816
|
+
fields: {
|
|
6817
|
+
additionalProperties: {
|
|
6818
|
+
type: 'string',
|
|
6819
|
+
},
|
|
6820
|
+
propertyNames: {
|
|
6821
|
+
type: 'string',
|
|
6822
|
+
},
|
|
6823
|
+
type: 'object',
|
|
6824
|
+
},
|
|
6825
|
+
provider: {
|
|
6826
|
+
anyOf: [
|
|
6827
|
+
{
|
|
6828
|
+
const: 'fixture_helpdesk',
|
|
6829
|
+
type: 'string',
|
|
6830
|
+
},
|
|
6831
|
+
{
|
|
6832
|
+
const: 'freshservice',
|
|
6833
|
+
type: 'string',
|
|
6834
|
+
},
|
|
6835
|
+
{
|
|
6836
|
+
const: 'jira_service_management',
|
|
6837
|
+
type: 'string',
|
|
6838
|
+
},
|
|
6839
|
+
{
|
|
6840
|
+
const: 'linear',
|
|
6841
|
+
type: 'string',
|
|
6842
|
+
},
|
|
6843
|
+
{
|
|
6844
|
+
const: 'zendesk',
|
|
6845
|
+
type: 'string',
|
|
6846
|
+
},
|
|
6847
|
+
],
|
|
6848
|
+
},
|
|
6849
|
+
requestKey: {
|
|
6850
|
+
maxLength: 128,
|
|
6851
|
+
minLength: 1,
|
|
6852
|
+
type: 'string',
|
|
6853
|
+
},
|
|
6854
|
+
},
|
|
6855
|
+
required: ['fields', 'provider', 'confirm', 'requestKey'],
|
|
6856
|
+
type: 'object',
|
|
6857
|
+
},
|
|
6858
|
+
path: ['hr', 'helpdesks', 'connect'],
|
|
6859
|
+
permission: 'hr.helpdesks.connect',
|
|
6860
|
+
scope: 'hr:write',
|
|
6861
|
+
summary: 'Connect a helpdesk for HR requests with its token',
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
access: 'write',
|
|
6865
|
+
command: ['hr', 'helpdesks', 'disconnect'],
|
|
6866
|
+
input: {
|
|
6867
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6868
|
+
additionalProperties: false,
|
|
6869
|
+
properties: {
|
|
6870
|
+
confirm: {
|
|
6871
|
+
const: 'hr.helpdesks.disconnect',
|
|
6872
|
+
type: 'string',
|
|
6873
|
+
},
|
|
6874
|
+
connectionId: {
|
|
6875
|
+
type: 'string',
|
|
6876
|
+
},
|
|
6877
|
+
requestKey: {
|
|
6878
|
+
maxLength: 128,
|
|
6879
|
+
minLength: 1,
|
|
6880
|
+
type: 'string',
|
|
6881
|
+
},
|
|
6882
|
+
},
|
|
6883
|
+
required: ['connectionId', 'confirm', 'requestKey'],
|
|
6884
|
+
type: 'object',
|
|
6885
|
+
},
|
|
6886
|
+
path: ['hr', 'helpdesks', 'disconnect'],
|
|
6887
|
+
permission: 'hr.helpdesks.disconnect',
|
|
6888
|
+
scope: 'hr:write',
|
|
6889
|
+
summary: 'Disconnect a helpdesk; its categories go back to the Shuffl inbox',
|
|
6890
|
+
},
|
|
6891
|
+
{
|
|
6892
|
+
access: 'read',
|
|
6893
|
+
command: ['hr', 'helpdesks', 'list'],
|
|
6894
|
+
input: {
|
|
6895
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6896
|
+
additionalProperties: false,
|
|
6897
|
+
properties: {},
|
|
6898
|
+
type: 'object',
|
|
6899
|
+
},
|
|
6900
|
+
path: ['hr', 'helpdesks', 'list'],
|
|
6901
|
+
permission: 'hr.helpdesks.list',
|
|
6902
|
+
scope: 'hr:read',
|
|
6903
|
+
summary: 'List the connected helpdesks and where each request category goes',
|
|
6904
|
+
},
|
|
6905
|
+
{
|
|
6906
|
+
access: 'read',
|
|
6907
|
+
command: ['hr', 'helpdesks', 'queues'],
|
|
6908
|
+
input: {
|
|
6909
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6910
|
+
additionalProperties: false,
|
|
6911
|
+
properties: {
|
|
6912
|
+
connectionId: {
|
|
6913
|
+
type: 'string',
|
|
6914
|
+
},
|
|
6915
|
+
},
|
|
6916
|
+
required: ['connectionId'],
|
|
6917
|
+
type: 'object',
|
|
6918
|
+
},
|
|
6919
|
+
path: ['hr', 'helpdesks', 'queues'],
|
|
6920
|
+
permission: 'hr.helpdesks.queues',
|
|
6921
|
+
scope: 'hr:read',
|
|
6922
|
+
summary: 'List the queues a connected helpdesk can take HR requests into',
|
|
6923
|
+
},
|
|
6773
6924
|
{
|
|
6774
6925
|
access: 'read',
|
|
6775
6926
|
command: ['hr', 'list'],
|
|
@@ -6889,6 +7040,52 @@ export const commands = [
|
|
|
6889
7040
|
scope: 'hr:write',
|
|
6890
7041
|
summary: 'Retry HR request delivery',
|
|
6891
7042
|
},
|
|
7043
|
+
{
|
|
7044
|
+
access: 'write',
|
|
7045
|
+
command: ['hr', 'route'],
|
|
7046
|
+
input: {
|
|
7047
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7048
|
+
additionalProperties: false,
|
|
7049
|
+
properties: {
|
|
7050
|
+
categoryId: {
|
|
7051
|
+
type: 'string',
|
|
7052
|
+
},
|
|
7053
|
+
confirm: {
|
|
7054
|
+
const: 'hr.route',
|
|
7055
|
+
type: 'string',
|
|
7056
|
+
},
|
|
7057
|
+
connectionId: {
|
|
7058
|
+
type: ['null', 'string'],
|
|
7059
|
+
},
|
|
7060
|
+
destinationId: {
|
|
7061
|
+
type: 'string',
|
|
7062
|
+
},
|
|
7063
|
+
requestKey: {
|
|
7064
|
+
maxLength: 128,
|
|
7065
|
+
minLength: 1,
|
|
7066
|
+
type: 'string',
|
|
7067
|
+
},
|
|
7068
|
+
sensitiveOptIn: {
|
|
7069
|
+
anyOf: [
|
|
7070
|
+
{
|
|
7071
|
+
const: false,
|
|
7072
|
+
type: 'boolean',
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
const: true,
|
|
7076
|
+
type: 'boolean',
|
|
7077
|
+
},
|
|
7078
|
+
],
|
|
7079
|
+
},
|
|
7080
|
+
},
|
|
7081
|
+
required: ['categoryId', 'connectionId', 'confirm', 'requestKey'],
|
|
7082
|
+
type: 'object',
|
|
7083
|
+
},
|
|
7084
|
+
path: ['hr', 'route'],
|
|
7085
|
+
permission: 'hr.route',
|
|
7086
|
+
scope: 'hr:write',
|
|
7087
|
+
summary: 'Send a request category to a helpdesk queue or back to the Shuffl inbox',
|
|
7088
|
+
},
|
|
6892
7089
|
{
|
|
6893
7090
|
access: 'write',
|
|
6894
7091
|
command: ['hr', 'save-categories'],
|
|
@@ -15770,6 +15967,37 @@ export const commands = [
|
|
|
15770
15967
|
scope: 'exports:read',
|
|
15771
15968
|
summary: 'Read one introduction round imported from the previous Shuffl',
|
|
15772
15969
|
},
|
|
15970
|
+
{
|
|
15971
|
+
access: 'write',
|
|
15972
|
+
command: ['runs', 'history', 'link-people'],
|
|
15973
|
+
input: {
|
|
15974
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
15975
|
+
additionalProperties: false,
|
|
15976
|
+
properties: {
|
|
15977
|
+
confirm: {
|
|
15978
|
+
const: 'runs.history.linkPeople',
|
|
15979
|
+
type: 'string',
|
|
15980
|
+
},
|
|
15981
|
+
requestKey: {
|
|
15982
|
+
maxLength: 128,
|
|
15983
|
+
minLength: 1,
|
|
15984
|
+
type: 'string',
|
|
15985
|
+
},
|
|
15986
|
+
sourceUserIds: {
|
|
15987
|
+
items: {
|
|
15988
|
+
type: 'string',
|
|
15989
|
+
},
|
|
15990
|
+
type: 'array',
|
|
15991
|
+
},
|
|
15992
|
+
},
|
|
15993
|
+
required: ['sourceUserIds', 'confirm', 'requestKey'],
|
|
15994
|
+
type: 'object',
|
|
15995
|
+
},
|
|
15996
|
+
path: ['runs', 'history', 'linkPeople'],
|
|
15997
|
+
permission: 'runs.history.linkPeople',
|
|
15998
|
+
scope: 'runs:write',
|
|
15999
|
+
summary: 'Link people from preserved rounds to the matching person in People',
|
|
16000
|
+
},
|
|
15773
16001
|
{
|
|
15774
16002
|
access: 'read',
|
|
15775
16003
|
command: ['runs', 'history', 'list'],
|
|
@@ -15788,6 +16016,20 @@ export const commands = [
|
|
|
15788
16016
|
scope: 'exports:read',
|
|
15789
16017
|
summary: 'List introduction rounds imported from the previous Shuffl',
|
|
15790
16018
|
},
|
|
16019
|
+
{
|
|
16020
|
+
access: 'read',
|
|
16021
|
+
command: ['runs', 'history', 'people'],
|
|
16022
|
+
input: {
|
|
16023
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
16024
|
+
additionalProperties: false,
|
|
16025
|
+
properties: {},
|
|
16026
|
+
type: 'object',
|
|
16027
|
+
},
|
|
16028
|
+
path: ['runs', 'history', 'people'],
|
|
16029
|
+
permission: 'runs.history.people',
|
|
16030
|
+
scope: 'exports:read',
|
|
16031
|
+
summary: 'People recorded in preserved rounds, each with their link or suggested match in People',
|
|
16032
|
+
},
|
|
15791
16033
|
{
|
|
15792
16034
|
access: 'read',
|
|
15793
16035
|
command: ['runs', 'list'],
|
|
@@ -15849,6 +16091,53 @@ export const commands = [
|
|
|
15849
16091
|
scope: 'runs:read',
|
|
15850
16092
|
summary: "List a program's introduction rounds",
|
|
15851
16093
|
},
|
|
16094
|
+
{
|
|
16095
|
+
access: 'write',
|
|
16096
|
+
command: ['runs', 'resolve-monthly-review'],
|
|
16097
|
+
input: {
|
|
16098
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
16099
|
+
additionalProperties: false,
|
|
16100
|
+
properties: {
|
|
16101
|
+
confirm: {
|
|
16102
|
+
const: 'runs.resolveMonthlyReview',
|
|
16103
|
+
type: 'string',
|
|
16104
|
+
},
|
|
16105
|
+
decision: {
|
|
16106
|
+
anyOf: [
|
|
16107
|
+
{
|
|
16108
|
+
const: 'notice-not-required',
|
|
16109
|
+
type: 'string',
|
|
16110
|
+
},
|
|
16111
|
+
{
|
|
16112
|
+
const: 'send-notice',
|
|
16113
|
+
type: 'string',
|
|
16114
|
+
},
|
|
16115
|
+
{
|
|
16116
|
+
const: 'skip-occurrence',
|
|
16117
|
+
type: 'string',
|
|
16118
|
+
},
|
|
16119
|
+
],
|
|
16120
|
+
},
|
|
16121
|
+
reason: {
|
|
16122
|
+
type: 'string',
|
|
16123
|
+
},
|
|
16124
|
+
requestKey: {
|
|
16125
|
+
maxLength: 128,
|
|
16126
|
+
minLength: 1,
|
|
16127
|
+
type: 'string',
|
|
16128
|
+
},
|
|
16129
|
+
runId: {
|
|
16130
|
+
type: 'string',
|
|
16131
|
+
},
|
|
16132
|
+
},
|
|
16133
|
+
required: ['decision', 'reason', 'runId', 'confirm', 'requestKey'],
|
|
16134
|
+
type: 'object',
|
|
16135
|
+
},
|
|
16136
|
+
path: ['runs', 'resolveMonthlyReview'],
|
|
16137
|
+
permission: 'runs.resolveMonthlyReview',
|
|
16138
|
+
scope: 'runs:write',
|
|
16139
|
+
summary: 'Settle a monthly round held for review with a recorded decision',
|
|
16140
|
+
},
|
|
15852
16141
|
{
|
|
15853
16142
|
access: 'write',
|
|
15854
16143
|
command: ['runs', 'retry'],
|
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.
|
|
5
|
-
"@shuffl/sdk": "0.7.
|
|
4
|
+
"@shuffl/api-contracts": "0.7.14",
|
|
5
|
+
"@shuffl/sdk": "0.7.14"
|
|
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.
|
|
36
|
+
"version": "0.7.14",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|