@shuffl/cli 0.7.14 → 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.
@@ -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',
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.14",
5
- "@shuffl/sdk": "0.7.14"
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.14",
36
+ "version": "0.7.15",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }