@shuffl/cli 0.7.12 → 0.7.13

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.
@@ -4377,10 +4377,18 @@ export const commands = [
4377
4377
  const: 'runs.history.get',
4378
4378
  type: 'string',
4379
4379
  },
4380
+ {
4381
+ const: 'runs.history.linkPeople',
4382
+ type: 'string',
4383
+ },
4380
4384
  {
4381
4385
  const: 'runs.history.list',
4382
4386
  type: 'string',
4383
4387
  },
4388
+ {
4389
+ const: 'runs.history.people',
4390
+ type: 'string',
4391
+ },
4384
4392
  {
4385
4393
  const: 'runs.list',
4386
4394
  type: 'string',
@@ -4389,6 +4397,10 @@ export const commands = [
4389
4397
  const: 'runs.request',
4390
4398
  type: 'string',
4391
4399
  },
4400
+ {
4401
+ const: 'runs.resolveMonthlyReview',
4402
+ type: 'string',
4403
+ },
4392
4404
  {
4393
4405
  const: 'runs.retry',
4394
4406
  type: 'string',
@@ -15770,6 +15782,37 @@ export const commands = [
15770
15782
  scope: 'exports:read',
15771
15783
  summary: 'Read one introduction round imported from the previous Shuffl',
15772
15784
  },
15785
+ {
15786
+ access: 'write',
15787
+ command: ['runs', 'history', 'link-people'],
15788
+ input: {
15789
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
15790
+ additionalProperties: false,
15791
+ properties: {
15792
+ confirm: {
15793
+ const: 'runs.history.linkPeople',
15794
+ type: 'string',
15795
+ },
15796
+ requestKey: {
15797
+ maxLength: 128,
15798
+ minLength: 1,
15799
+ type: 'string',
15800
+ },
15801
+ sourceUserIds: {
15802
+ items: {
15803
+ type: 'string',
15804
+ },
15805
+ type: 'array',
15806
+ },
15807
+ },
15808
+ required: ['sourceUserIds', 'confirm', 'requestKey'],
15809
+ type: 'object',
15810
+ },
15811
+ path: ['runs', 'history', 'linkPeople'],
15812
+ permission: 'runs.history.linkPeople',
15813
+ scope: 'runs:write',
15814
+ summary: 'Link people from preserved rounds to the matching person in People',
15815
+ },
15773
15816
  {
15774
15817
  access: 'read',
15775
15818
  command: ['runs', 'history', 'list'],
@@ -15788,6 +15831,20 @@ export const commands = [
15788
15831
  scope: 'exports:read',
15789
15832
  summary: 'List introduction rounds imported from the previous Shuffl',
15790
15833
  },
15834
+ {
15835
+ access: 'read',
15836
+ command: ['runs', 'history', 'people'],
15837
+ input: {
15838
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
15839
+ additionalProperties: false,
15840
+ properties: {},
15841
+ type: 'object',
15842
+ },
15843
+ path: ['runs', 'history', 'people'],
15844
+ permission: 'runs.history.people',
15845
+ scope: 'exports:read',
15846
+ summary: 'People recorded in preserved rounds, each with their link or suggested match in People',
15847
+ },
15791
15848
  {
15792
15849
  access: 'read',
15793
15850
  command: ['runs', 'list'],
@@ -15849,6 +15906,53 @@ export const commands = [
15849
15906
  scope: 'runs:read',
15850
15907
  summary: "List a program's introduction rounds",
15851
15908
  },
15909
+ {
15910
+ access: 'write',
15911
+ command: ['runs', 'resolve-monthly-review'],
15912
+ input: {
15913
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
15914
+ additionalProperties: false,
15915
+ properties: {
15916
+ confirm: {
15917
+ const: 'runs.resolveMonthlyReview',
15918
+ type: 'string',
15919
+ },
15920
+ decision: {
15921
+ anyOf: [
15922
+ {
15923
+ const: 'notice-not-required',
15924
+ type: 'string',
15925
+ },
15926
+ {
15927
+ const: 'send-notice',
15928
+ type: 'string',
15929
+ },
15930
+ {
15931
+ const: 'skip-occurrence',
15932
+ type: 'string',
15933
+ },
15934
+ ],
15935
+ },
15936
+ reason: {
15937
+ type: 'string',
15938
+ },
15939
+ requestKey: {
15940
+ maxLength: 128,
15941
+ minLength: 1,
15942
+ type: 'string',
15943
+ },
15944
+ runId: {
15945
+ type: 'string',
15946
+ },
15947
+ },
15948
+ required: ['decision', 'reason', 'runId', 'confirm', 'requestKey'],
15949
+ type: 'object',
15950
+ },
15951
+ path: ['runs', 'resolveMonthlyReview'],
15952
+ permission: 'runs.resolveMonthlyReview',
15953
+ scope: 'runs:write',
15954
+ summary: 'Settle a monthly round held for review with a recorded decision',
15955
+ },
15852
15956
  {
15853
15957
  access: 'write',
15854
15958
  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.12",
5
- "@shuffl/sdk": "0.7.12"
4
+ "@shuffl/api-contracts": "0.7.13",
5
+ "@shuffl/sdk": "0.7.13"
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.12",
36
+ "version": "0.7.13",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }