@shuffl/cli 0.11.6 → 0.11.7
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 +71 -0
- package/package.json +3 -3
|
@@ -952,6 +952,55 @@ export const commands = [
|
|
|
952
952
|
scope: 'team:write',
|
|
953
953
|
summary: 'Turn Who’s out on or off for the workspace',
|
|
954
954
|
},
|
|
955
|
+
{
|
|
956
|
+
access: 'write',
|
|
957
|
+
command: ['availability', 'save-time-off-away'],
|
|
958
|
+
input: {
|
|
959
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
960
|
+
additionalProperties: false,
|
|
961
|
+
properties: {
|
|
962
|
+
calendar: {
|
|
963
|
+
anyOf: [
|
|
964
|
+
{
|
|
965
|
+
const: false,
|
|
966
|
+
type: 'boolean',
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
const: true,
|
|
970
|
+
type: 'boolean',
|
|
971
|
+
},
|
|
972
|
+
],
|
|
973
|
+
},
|
|
974
|
+
confirm: {
|
|
975
|
+
const: 'availability.saveTimeOffAway',
|
|
976
|
+
type: 'string',
|
|
977
|
+
},
|
|
978
|
+
requestKey: {
|
|
979
|
+
maxLength: 128,
|
|
980
|
+
minLength: 1,
|
|
981
|
+
type: 'string',
|
|
982
|
+
},
|
|
983
|
+
slackStatus: {
|
|
984
|
+
anyOf: [
|
|
985
|
+
{
|
|
986
|
+
const: false,
|
|
987
|
+
type: 'boolean',
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
const: true,
|
|
991
|
+
type: 'boolean',
|
|
992
|
+
},
|
|
993
|
+
],
|
|
994
|
+
},
|
|
995
|
+
},
|
|
996
|
+
required: ['confirm', 'requestKey'],
|
|
997
|
+
type: 'object',
|
|
998
|
+
},
|
|
999
|
+
path: ['availability', 'saveTimeOffAway'],
|
|
1000
|
+
permission: 'availability.saveTimeOffAway',
|
|
1001
|
+
scope: 'self:write',
|
|
1002
|
+
summary: 'Choose whether your Slack status and calendar are set when your time off is approved',
|
|
1003
|
+
},
|
|
955
1004
|
{
|
|
956
1005
|
access: 'read',
|
|
957
1006
|
command: ['availability', 'settings'],
|
|
@@ -994,6 +1043,20 @@ export const commands = [
|
|
|
994
1043
|
scope: 'self:write',
|
|
995
1044
|
summary: 'Choose whether coworkers see when you’re out and free',
|
|
996
1045
|
},
|
|
1046
|
+
{
|
|
1047
|
+
access: 'read',
|
|
1048
|
+
command: ['availability', 'time-off-away'],
|
|
1049
|
+
input: {
|
|
1050
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
1051
|
+
additionalProperties: false,
|
|
1052
|
+
properties: {},
|
|
1053
|
+
type: 'object',
|
|
1054
|
+
},
|
|
1055
|
+
path: ['availability', 'timeOffAway'],
|
|
1056
|
+
permission: 'availability.timeOffAway',
|
|
1057
|
+
scope: 'self:read',
|
|
1058
|
+
summary: 'Read whether your Slack status and calendar are set when your time off is approved',
|
|
1059
|
+
},
|
|
997
1060
|
{
|
|
998
1061
|
access: 'read',
|
|
999
1062
|
command: ['availability', 'whos-out'],
|
|
@@ -3606,6 +3669,10 @@ export const commands = [
|
|
|
3606
3669
|
const: 'availability.saveSettings',
|
|
3607
3670
|
type: 'string',
|
|
3608
3671
|
},
|
|
3672
|
+
{
|
|
3673
|
+
const: 'availability.saveTimeOffAway',
|
|
3674
|
+
type: 'string',
|
|
3675
|
+
},
|
|
3609
3676
|
{
|
|
3610
3677
|
const: 'availability.settings',
|
|
3611
3678
|
type: 'string',
|
|
@@ -3614,6 +3681,10 @@ export const commands = [
|
|
|
3614
3681
|
const: 'availability.share',
|
|
3615
3682
|
type: 'string',
|
|
3616
3683
|
},
|
|
3684
|
+
{
|
|
3685
|
+
const: 'availability.timeOffAway',
|
|
3686
|
+
type: 'string',
|
|
3687
|
+
},
|
|
3617
3688
|
{
|
|
3618
3689
|
const: 'availability.whosOut',
|
|
3619
3690
|
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.
|
|
5
|
-
"@shuffl/sdk": "0.11.
|
|
4
|
+
"@shuffl/api-contracts": "0.11.7",
|
|
5
|
+
"@shuffl/sdk": "0.11.7"
|
|
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.7",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|