@shuffl/cli 0.7.0 → 0.7.1

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.
@@ -3285,6 +3285,10 @@ export const commands = [
3285
3285
  const: 'reports.answerFeedback',
3286
3286
  type: 'string',
3287
3287
  },
3288
+ {
3289
+ const: 'reports.celebrations',
3290
+ type: 'string',
3291
+ },
3288
3292
  {
3289
3293
  const: 'reports.connections',
3290
3294
  type: 'string',
@@ -14055,6 +14059,37 @@ export const commands = [
14055
14059
  scope: 'reports:read',
14056
14060
  summary: "Read feedback on Mello's answers",
14057
14061
  },
14062
+ {
14063
+ access: 'read',
14064
+ command: ['reports', 'celebrations'],
14065
+ input: {
14066
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
14067
+ additionalProperties: false,
14068
+ properties: {
14069
+ days: {
14070
+ anyOf: [
14071
+ {
14072
+ const: 30,
14073
+ type: 'number',
14074
+ },
14075
+ {
14076
+ const: 90,
14077
+ type: 'number',
14078
+ },
14079
+ {
14080
+ const: 180,
14081
+ type: 'number',
14082
+ },
14083
+ ],
14084
+ },
14085
+ },
14086
+ type: 'object',
14087
+ },
14088
+ path: ['reports', 'celebrations'],
14089
+ permission: 'reports.celebrations',
14090
+ scope: 'reports:read',
14091
+ summary: 'Celebrations sent, people celebrated, birthdays and anniversaries, shared with the team, team cards and notes, share answers and missed messages over 30, 90 or 180 days against the period before, with a weekly series',
14092
+ },
14058
14093
  {
14059
14094
  access: 'read',
14060
14095
  command: ['reports', 'connections'],
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.0",
5
- "@shuffl/sdk": "0.7.0"
4
+ "@shuffl/api-contracts": "0.7.1",
5
+ "@shuffl/sdk": "0.7.1"
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.0",
36
+ "version": "0.7.1",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }