@shuffl/cli 0.7.13 → 0.7.15
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 +349 -0
- package/package.json +3 -3
|
@@ -1358,6 +1358,10 @@ export const commands = [
|
|
|
1358
1358
|
const: 'communities',
|
|
1359
1359
|
type: 'string',
|
|
1360
1360
|
},
|
|
1361
|
+
{
|
|
1362
|
+
const: 'compliance_evidence',
|
|
1363
|
+
type: 'string',
|
|
1364
|
+
},
|
|
1361
1365
|
{
|
|
1362
1366
|
const: 'connected_docs',
|
|
1363
1367
|
type: 'string',
|
|
@@ -1539,6 +1543,10 @@ export const commands = [
|
|
|
1539
1543
|
const: 'communities',
|
|
1540
1544
|
type: 'string',
|
|
1541
1545
|
},
|
|
1546
|
+
{
|
|
1547
|
+
const: 'compliance_evidence',
|
|
1548
|
+
type: 'string',
|
|
1549
|
+
},
|
|
1542
1550
|
{
|
|
1543
1551
|
const: 'connected_docs',
|
|
1544
1552
|
type: 'string',
|
|
@@ -2932,6 +2940,146 @@ export const commands = [
|
|
|
2932
2940
|
scope: 'profile:write',
|
|
2933
2941
|
summary: 'Set a community cover from a PNG, JPEG or WebP picture sent as base64, as its owner, moderator or an administrator',
|
|
2934
2942
|
},
|
|
2943
|
+
{
|
|
2944
|
+
access: 'read',
|
|
2945
|
+
command: ['compliance', 'current'],
|
|
2946
|
+
input: {
|
|
2947
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
2948
|
+
additionalProperties: false,
|
|
2949
|
+
properties: {},
|
|
2950
|
+
type: 'object',
|
|
2951
|
+
},
|
|
2952
|
+
path: ['compliance', 'current'],
|
|
2953
|
+
permission: 'compliance.current',
|
|
2954
|
+
scope: 'integrations:read',
|
|
2955
|
+
summary: 'List the connected compliance platforms, what each receives and its recent pushes',
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
access: 'write',
|
|
2959
|
+
command: ['compliance', 'disconnect'],
|
|
2960
|
+
input: {
|
|
2961
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
2962
|
+
additionalProperties: false,
|
|
2963
|
+
properties: {
|
|
2964
|
+
confirm: {
|
|
2965
|
+
const: 'compliance.disconnect',
|
|
2966
|
+
type: 'string',
|
|
2967
|
+
},
|
|
2968
|
+
connectionId: {
|
|
2969
|
+
type: 'string',
|
|
2970
|
+
},
|
|
2971
|
+
requestKey: {
|
|
2972
|
+
maxLength: 128,
|
|
2973
|
+
minLength: 1,
|
|
2974
|
+
type: 'string',
|
|
2975
|
+
},
|
|
2976
|
+
},
|
|
2977
|
+
required: ['connectionId', 'confirm', 'requestKey'],
|
|
2978
|
+
type: 'object',
|
|
2979
|
+
},
|
|
2980
|
+
path: ['compliance', 'disconnect'],
|
|
2981
|
+
permission: 'compliance.disconnect',
|
|
2982
|
+
scope: 'integrations:write',
|
|
2983
|
+
summary: 'Disconnect a compliance platform; pushes stop at once',
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
access: 'write',
|
|
2987
|
+
command: ['compliance', 'push-now'],
|
|
2988
|
+
input: {
|
|
2989
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
2990
|
+
additionalProperties: false,
|
|
2991
|
+
properties: {
|
|
2992
|
+
confirm: {
|
|
2993
|
+
const: 'compliance.pushNow',
|
|
2994
|
+
type: 'string',
|
|
2995
|
+
},
|
|
2996
|
+
connectionId: {
|
|
2997
|
+
type: 'string',
|
|
2998
|
+
},
|
|
2999
|
+
requestKey: {
|
|
3000
|
+
maxLength: 128,
|
|
3001
|
+
minLength: 1,
|
|
3002
|
+
type: 'string',
|
|
3003
|
+
},
|
|
3004
|
+
},
|
|
3005
|
+
required: ['connectionId', 'requestKey', 'confirm'],
|
|
3006
|
+
type: 'object',
|
|
3007
|
+
},
|
|
3008
|
+
path: ['compliance', 'pushNow'],
|
|
3009
|
+
permission: 'compliance.pushNow',
|
|
3010
|
+
scope: 'integrations:write',
|
|
3011
|
+
summary: 'Send the evidence a compliance platform is set to receive now',
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
access: 'write',
|
|
3015
|
+
command: ['compliance', 'set-evidence'],
|
|
3016
|
+
input: {
|
|
3017
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
3018
|
+
additionalProperties: false,
|
|
3019
|
+
properties: {
|
|
3020
|
+
confirm: {
|
|
3021
|
+
const: 'compliance.setEvidence',
|
|
3022
|
+
type: 'string',
|
|
3023
|
+
},
|
|
3024
|
+
connectionId: {
|
|
3025
|
+
type: 'string',
|
|
3026
|
+
},
|
|
3027
|
+
enabled: {
|
|
3028
|
+
anyOf: [
|
|
3029
|
+
{
|
|
3030
|
+
const: false,
|
|
3031
|
+
type: 'boolean',
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
const: true,
|
|
3035
|
+
type: 'boolean',
|
|
3036
|
+
},
|
|
3037
|
+
],
|
|
3038
|
+
},
|
|
3039
|
+
evidence: {
|
|
3040
|
+
additionalProperties: false,
|
|
3041
|
+
properties: {
|
|
3042
|
+
people: {
|
|
3043
|
+
anyOf: [
|
|
3044
|
+
{
|
|
3045
|
+
const: false,
|
|
3046
|
+
type: 'boolean',
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
const: true,
|
|
3050
|
+
type: 'boolean',
|
|
3051
|
+
},
|
|
3052
|
+
],
|
|
3053
|
+
},
|
|
3054
|
+
policy_acknowledgements: {
|
|
3055
|
+
anyOf: [
|
|
3056
|
+
{
|
|
3057
|
+
const: false,
|
|
3058
|
+
type: 'boolean',
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
const: true,
|
|
3062
|
+
type: 'boolean',
|
|
3063
|
+
},
|
|
3064
|
+
],
|
|
3065
|
+
},
|
|
3066
|
+
},
|
|
3067
|
+
type: 'object',
|
|
3068
|
+
},
|
|
3069
|
+
requestKey: {
|
|
3070
|
+
maxLength: 128,
|
|
3071
|
+
minLength: 1,
|
|
3072
|
+
type: 'string',
|
|
3073
|
+
},
|
|
3074
|
+
},
|
|
3075
|
+
required: ['connectionId', 'confirm', 'requestKey'],
|
|
3076
|
+
type: 'object',
|
|
3077
|
+
},
|
|
3078
|
+
path: ['compliance', 'setEvidence'],
|
|
3079
|
+
permission: 'compliance.setEvidence',
|
|
3080
|
+
scope: 'integrations:write',
|
|
3081
|
+
summary: 'Choose which evidence a compliance platform receives, or pause sending',
|
|
3082
|
+
},
|
|
2935
3083
|
{
|
|
2936
3084
|
access: 'write',
|
|
2937
3085
|
command: ['credentials', 'api', 'create'],
|
|
@@ -3281,6 +3429,22 @@ export const commands = [
|
|
|
3281
3429
|
const: 'communities.uploadCover',
|
|
3282
3430
|
type: 'string',
|
|
3283
3431
|
},
|
|
3432
|
+
{
|
|
3433
|
+
const: 'compliance.current',
|
|
3434
|
+
type: 'string',
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
const: 'compliance.disconnect',
|
|
3438
|
+
type: 'string',
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
const: 'compliance.pushNow',
|
|
3442
|
+
type: 'string',
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
const: 'compliance.setEvidence',
|
|
3446
|
+
type: 'string',
|
|
3447
|
+
},
|
|
3284
3448
|
{
|
|
3285
3449
|
const: 'credentials.api.create',
|
|
3286
3450
|
type: 'string',
|
|
@@ -3509,6 +3673,22 @@ export const commands = [
|
|
|
3509
3673
|
const: 'hr.get',
|
|
3510
3674
|
type: 'string',
|
|
3511
3675
|
},
|
|
3676
|
+
{
|
|
3677
|
+
const: 'hr.helpdesks.connect',
|
|
3678
|
+
type: 'string',
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
const: 'hr.helpdesks.disconnect',
|
|
3682
|
+
type: 'string',
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
const: 'hr.helpdesks.list',
|
|
3686
|
+
type: 'string',
|
|
3687
|
+
},
|
|
3688
|
+
{
|
|
3689
|
+
const: 'hr.helpdesks.queues',
|
|
3690
|
+
type: 'string',
|
|
3691
|
+
},
|
|
3512
3692
|
{
|
|
3513
3693
|
const: 'hr.list',
|
|
3514
3694
|
type: 'string',
|
|
@@ -3533,6 +3713,10 @@ export const commands = [
|
|
|
3533
3713
|
const: 'hr.retryDelivery',
|
|
3534
3714
|
type: 'string',
|
|
3535
3715
|
},
|
|
3716
|
+
{
|
|
3717
|
+
const: 'hr.route',
|
|
3718
|
+
type: 'string',
|
|
3719
|
+
},
|
|
3536
3720
|
{
|
|
3537
3721
|
const: 'hr.saveCategories',
|
|
3538
3722
|
type: 'string',
|
|
@@ -6782,6 +6966,125 @@ export const commands = [
|
|
|
6782
6966
|
scope: 'hr:read',
|
|
6783
6967
|
summary: 'Read one HR request and its messages',
|
|
6784
6968
|
},
|
|
6969
|
+
{
|
|
6970
|
+
access: 'write',
|
|
6971
|
+
command: ['hr', 'helpdesks', 'connect'],
|
|
6972
|
+
input: {
|
|
6973
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6974
|
+
additionalProperties: false,
|
|
6975
|
+
properties: {
|
|
6976
|
+
confirm: {
|
|
6977
|
+
const: 'hr.helpdesks.connect',
|
|
6978
|
+
type: 'string',
|
|
6979
|
+
},
|
|
6980
|
+
fields: {
|
|
6981
|
+
additionalProperties: {
|
|
6982
|
+
type: 'string',
|
|
6983
|
+
},
|
|
6984
|
+
propertyNames: {
|
|
6985
|
+
type: 'string',
|
|
6986
|
+
},
|
|
6987
|
+
type: 'object',
|
|
6988
|
+
},
|
|
6989
|
+
provider: {
|
|
6990
|
+
anyOf: [
|
|
6991
|
+
{
|
|
6992
|
+
const: 'fixture_helpdesk',
|
|
6993
|
+
type: 'string',
|
|
6994
|
+
},
|
|
6995
|
+
{
|
|
6996
|
+
const: 'freshservice',
|
|
6997
|
+
type: 'string',
|
|
6998
|
+
},
|
|
6999
|
+
{
|
|
7000
|
+
const: 'jira_service_management',
|
|
7001
|
+
type: 'string',
|
|
7002
|
+
},
|
|
7003
|
+
{
|
|
7004
|
+
const: 'linear',
|
|
7005
|
+
type: 'string',
|
|
7006
|
+
},
|
|
7007
|
+
{
|
|
7008
|
+
const: 'zendesk',
|
|
7009
|
+
type: 'string',
|
|
7010
|
+
},
|
|
7011
|
+
],
|
|
7012
|
+
},
|
|
7013
|
+
requestKey: {
|
|
7014
|
+
maxLength: 128,
|
|
7015
|
+
minLength: 1,
|
|
7016
|
+
type: 'string',
|
|
7017
|
+
},
|
|
7018
|
+
},
|
|
7019
|
+
required: ['fields', 'provider', 'confirm', 'requestKey'],
|
|
7020
|
+
type: 'object',
|
|
7021
|
+
},
|
|
7022
|
+
path: ['hr', 'helpdesks', 'connect'],
|
|
7023
|
+
permission: 'hr.helpdesks.connect',
|
|
7024
|
+
scope: 'hr:write',
|
|
7025
|
+
summary: 'Connect a helpdesk for HR requests with its token',
|
|
7026
|
+
},
|
|
7027
|
+
{
|
|
7028
|
+
access: 'write',
|
|
7029
|
+
command: ['hr', 'helpdesks', 'disconnect'],
|
|
7030
|
+
input: {
|
|
7031
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7032
|
+
additionalProperties: false,
|
|
7033
|
+
properties: {
|
|
7034
|
+
confirm: {
|
|
7035
|
+
const: 'hr.helpdesks.disconnect',
|
|
7036
|
+
type: 'string',
|
|
7037
|
+
},
|
|
7038
|
+
connectionId: {
|
|
7039
|
+
type: 'string',
|
|
7040
|
+
},
|
|
7041
|
+
requestKey: {
|
|
7042
|
+
maxLength: 128,
|
|
7043
|
+
minLength: 1,
|
|
7044
|
+
type: 'string',
|
|
7045
|
+
},
|
|
7046
|
+
},
|
|
7047
|
+
required: ['connectionId', 'confirm', 'requestKey'],
|
|
7048
|
+
type: 'object',
|
|
7049
|
+
},
|
|
7050
|
+
path: ['hr', 'helpdesks', 'disconnect'],
|
|
7051
|
+
permission: 'hr.helpdesks.disconnect',
|
|
7052
|
+
scope: 'hr:write',
|
|
7053
|
+
summary: 'Disconnect a helpdesk; its categories go back to the Shuffl inbox',
|
|
7054
|
+
},
|
|
7055
|
+
{
|
|
7056
|
+
access: 'read',
|
|
7057
|
+
command: ['hr', 'helpdesks', 'list'],
|
|
7058
|
+
input: {
|
|
7059
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7060
|
+
additionalProperties: false,
|
|
7061
|
+
properties: {},
|
|
7062
|
+
type: 'object',
|
|
7063
|
+
},
|
|
7064
|
+
path: ['hr', 'helpdesks', 'list'],
|
|
7065
|
+
permission: 'hr.helpdesks.list',
|
|
7066
|
+
scope: 'hr:read',
|
|
7067
|
+
summary: 'List the connected helpdesks and where each request category goes',
|
|
7068
|
+
},
|
|
7069
|
+
{
|
|
7070
|
+
access: 'read',
|
|
7071
|
+
command: ['hr', 'helpdesks', 'queues'],
|
|
7072
|
+
input: {
|
|
7073
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7074
|
+
additionalProperties: false,
|
|
7075
|
+
properties: {
|
|
7076
|
+
connectionId: {
|
|
7077
|
+
type: 'string',
|
|
7078
|
+
},
|
|
7079
|
+
},
|
|
7080
|
+
required: ['connectionId'],
|
|
7081
|
+
type: 'object',
|
|
7082
|
+
},
|
|
7083
|
+
path: ['hr', 'helpdesks', 'queues'],
|
|
7084
|
+
permission: 'hr.helpdesks.queues',
|
|
7085
|
+
scope: 'hr:read',
|
|
7086
|
+
summary: 'List the queues a connected helpdesk can take HR requests into',
|
|
7087
|
+
},
|
|
6785
7088
|
{
|
|
6786
7089
|
access: 'read',
|
|
6787
7090
|
command: ['hr', 'list'],
|
|
@@ -6901,6 +7204,52 @@ export const commands = [
|
|
|
6901
7204
|
scope: 'hr:write',
|
|
6902
7205
|
summary: 'Retry HR request delivery',
|
|
6903
7206
|
},
|
|
7207
|
+
{
|
|
7208
|
+
access: 'write',
|
|
7209
|
+
command: ['hr', 'route'],
|
|
7210
|
+
input: {
|
|
7211
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7212
|
+
additionalProperties: false,
|
|
7213
|
+
properties: {
|
|
7214
|
+
categoryId: {
|
|
7215
|
+
type: 'string',
|
|
7216
|
+
},
|
|
7217
|
+
confirm: {
|
|
7218
|
+
const: 'hr.route',
|
|
7219
|
+
type: 'string',
|
|
7220
|
+
},
|
|
7221
|
+
connectionId: {
|
|
7222
|
+
type: ['null', 'string'],
|
|
7223
|
+
},
|
|
7224
|
+
destinationId: {
|
|
7225
|
+
type: 'string',
|
|
7226
|
+
},
|
|
7227
|
+
requestKey: {
|
|
7228
|
+
maxLength: 128,
|
|
7229
|
+
minLength: 1,
|
|
7230
|
+
type: 'string',
|
|
7231
|
+
},
|
|
7232
|
+
sensitiveOptIn: {
|
|
7233
|
+
anyOf: [
|
|
7234
|
+
{
|
|
7235
|
+
const: false,
|
|
7236
|
+
type: 'boolean',
|
|
7237
|
+
},
|
|
7238
|
+
{
|
|
7239
|
+
const: true,
|
|
7240
|
+
type: 'boolean',
|
|
7241
|
+
},
|
|
7242
|
+
],
|
|
7243
|
+
},
|
|
7244
|
+
},
|
|
7245
|
+
required: ['categoryId', 'connectionId', 'confirm', 'requestKey'],
|
|
7246
|
+
type: 'object',
|
|
7247
|
+
},
|
|
7248
|
+
path: ['hr', 'route'],
|
|
7249
|
+
permission: 'hr.route',
|
|
7250
|
+
scope: 'hr:write',
|
|
7251
|
+
summary: 'Send a request category to a helpdesk queue or back to the Shuffl inbox',
|
|
7252
|
+
},
|
|
6904
7253
|
{
|
|
6905
7254
|
access: 'write',
|
|
6906
7255
|
command: ['hr', 'save-categories'],
|
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.15",
|
|
5
|
+
"@shuffl/sdk": "0.7.15"
|
|
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.15",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|