@shuffl/cli 0.7.29 → 0.7.31
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 +578 -0
- package/package.json +3 -3
|
@@ -1585,6 +1585,10 @@ export const commands = [
|
|
|
1585
1585
|
const: 'free_time',
|
|
1586
1586
|
type: 'string',
|
|
1587
1587
|
},
|
|
1588
|
+
{
|
|
1589
|
+
const: 'gifts',
|
|
1590
|
+
type: 'string',
|
|
1591
|
+
},
|
|
1588
1592
|
{
|
|
1589
1593
|
const: 'groups',
|
|
1590
1594
|
type: 'string',
|
|
@@ -1697,6 +1701,10 @@ export const commands = [
|
|
|
1697
1701
|
const: 'spend_policy',
|
|
1698
1702
|
type: 'string',
|
|
1699
1703
|
},
|
|
1704
|
+
{
|
|
1705
|
+
const: 'spend_reimbursements',
|
|
1706
|
+
type: 'string',
|
|
1707
|
+
},
|
|
1700
1708
|
{
|
|
1701
1709
|
const: 'time_off_balance',
|
|
1702
1710
|
type: 'string',
|
|
@@ -1798,6 +1806,10 @@ export const commands = [
|
|
|
1798
1806
|
const: 'free_time',
|
|
1799
1807
|
type: 'string',
|
|
1800
1808
|
},
|
|
1809
|
+
{
|
|
1810
|
+
const: 'gifts',
|
|
1811
|
+
type: 'string',
|
|
1812
|
+
},
|
|
1801
1813
|
{
|
|
1802
1814
|
const: 'groups',
|
|
1803
1815
|
type: 'string',
|
|
@@ -1910,6 +1922,10 @@ export const commands = [
|
|
|
1910
1922
|
const: 'spend_policy',
|
|
1911
1923
|
type: 'string',
|
|
1912
1924
|
},
|
|
1925
|
+
{
|
|
1926
|
+
const: 'spend_reimbursements',
|
|
1927
|
+
type: 'string',
|
|
1928
|
+
},
|
|
1913
1929
|
{
|
|
1914
1930
|
const: 'time_off_balance',
|
|
1915
1931
|
type: 'string',
|
|
@@ -3788,6 +3804,22 @@ export const commands = [
|
|
|
3788
3804
|
const: 'digest.settings',
|
|
3789
3805
|
type: 'string',
|
|
3790
3806
|
},
|
|
3807
|
+
{
|
|
3808
|
+
const: 'expenses.mine',
|
|
3809
|
+
type: 'string',
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
const: 'expenses.stageReceipt',
|
|
3813
|
+
type: 'string',
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
const: 'expenses.submitMileage',
|
|
3817
|
+
type: 'string',
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
const: 'expenses.submitReceipt',
|
|
3821
|
+
type: 'string',
|
|
3822
|
+
},
|
|
3791
3823
|
{
|
|
3792
3824
|
const: 'exports.team',
|
|
3793
3825
|
type: 'string',
|
|
@@ -3820,6 +3852,42 @@ export const commands = [
|
|
|
3820
3852
|
const: 'getStarted.wizard',
|
|
3821
3853
|
type: 'string',
|
|
3822
3854
|
},
|
|
3855
|
+
{
|
|
3856
|
+
const: 'gifts.approve',
|
|
3857
|
+
type: 'string',
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
const: 'gifts.approveMany',
|
|
3861
|
+
type: 'string',
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
const: 'gifts.current',
|
|
3865
|
+
type: 'string',
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
const: 'gifts.disconnect',
|
|
3869
|
+
type: 'string',
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
const: 'gifts.draft',
|
|
3873
|
+
type: 'string',
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
const: 'gifts.draftUpcoming',
|
|
3877
|
+
type: 'string',
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
const: 'gifts.options',
|
|
3881
|
+
type: 'string',
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
const: 'gifts.save',
|
|
3885
|
+
type: 'string',
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
const: 'gifts.skip',
|
|
3889
|
+
type: 'string',
|
|
3890
|
+
},
|
|
3823
3891
|
{
|
|
3824
3892
|
const: 'groups.allAutomations',
|
|
3825
3893
|
type: 'string',
|
|
@@ -4972,6 +5040,10 @@ export const commands = [
|
|
|
4972
5040
|
const: 'spend.programs',
|
|
4973
5041
|
type: 'string',
|
|
4974
5042
|
},
|
|
5043
|
+
{
|
|
5044
|
+
const: 'spend.setWrites',
|
|
5045
|
+
type: 'string',
|
|
5046
|
+
},
|
|
4975
5047
|
{
|
|
4976
5048
|
const: 'support.assign',
|
|
4977
5049
|
type: 'string',
|
|
@@ -5599,6 +5671,122 @@ export const commands = [
|
|
|
5599
5671
|
scope: 'team:read',
|
|
5600
5672
|
summary: 'Read the HR digest schedule',
|
|
5601
5673
|
},
|
|
5674
|
+
{
|
|
5675
|
+
access: 'read',
|
|
5676
|
+
command: ['expenses', 'mine'],
|
|
5677
|
+
input: {
|
|
5678
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
5679
|
+
additionalProperties: false,
|
|
5680
|
+
properties: {},
|
|
5681
|
+
type: 'object',
|
|
5682
|
+
},
|
|
5683
|
+
path: ['expenses', 'mine'],
|
|
5684
|
+
permission: 'expenses.mine',
|
|
5685
|
+
scope: 'self:read',
|
|
5686
|
+
summary: 'Read your own reimbursements Mello filed and where each one stands',
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
access: 'write',
|
|
5690
|
+
command: ['expenses', 'stage-receipt'],
|
|
5691
|
+
input: {
|
|
5692
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
5693
|
+
additionalProperties: false,
|
|
5694
|
+
properties: {
|
|
5695
|
+
confirm: {
|
|
5696
|
+
const: 'expenses.stageReceipt',
|
|
5697
|
+
type: 'string',
|
|
5698
|
+
},
|
|
5699
|
+
fileName: {
|
|
5700
|
+
type: 'string',
|
|
5701
|
+
},
|
|
5702
|
+
receipt: {
|
|
5703
|
+
type: 'string',
|
|
5704
|
+
},
|
|
5705
|
+
requestKey: {
|
|
5706
|
+
maxLength: 128,
|
|
5707
|
+
minLength: 1,
|
|
5708
|
+
type: 'string',
|
|
5709
|
+
},
|
|
5710
|
+
},
|
|
5711
|
+
required: ['fileName', 'receipt', 'confirm', 'requestKey'],
|
|
5712
|
+
type: 'object',
|
|
5713
|
+
},
|
|
5714
|
+
path: ['expenses', 'stageReceipt'],
|
|
5715
|
+
permission: 'expenses.stageReceipt',
|
|
5716
|
+
scope: 'self:write',
|
|
5717
|
+
summary: 'Hand over a receipt photo or PDF for a reimbursement; it is kept for a day until filed',
|
|
5718
|
+
},
|
|
5719
|
+
{
|
|
5720
|
+
access: 'write',
|
|
5721
|
+
command: ['expenses', 'submit-mileage'],
|
|
5722
|
+
input: {
|
|
5723
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
5724
|
+
additionalProperties: false,
|
|
5725
|
+
properties: {
|
|
5726
|
+
confirm: {
|
|
5727
|
+
const: 'expenses.submitMileage',
|
|
5728
|
+
type: 'string',
|
|
5729
|
+
},
|
|
5730
|
+
from: {
|
|
5731
|
+
type: ['null', 'string'],
|
|
5732
|
+
},
|
|
5733
|
+
memo: {
|
|
5734
|
+
type: 'string',
|
|
5735
|
+
},
|
|
5736
|
+
miles: {
|
|
5737
|
+
type: 'number',
|
|
5738
|
+
},
|
|
5739
|
+
requestKey: {
|
|
5740
|
+
maxLength: 128,
|
|
5741
|
+
minLength: 1,
|
|
5742
|
+
type: 'string',
|
|
5743
|
+
},
|
|
5744
|
+
to: {
|
|
5745
|
+
type: ['null', 'string'],
|
|
5746
|
+
},
|
|
5747
|
+
tripDate: {
|
|
5748
|
+
type: 'string',
|
|
5749
|
+
},
|
|
5750
|
+
},
|
|
5751
|
+
required: ['memo', 'miles', 'requestKey', 'tripDate', 'confirm'],
|
|
5752
|
+
type: 'object',
|
|
5753
|
+
},
|
|
5754
|
+
path: ['expenses', 'submitMileage'],
|
|
5755
|
+
permission: 'expenses.submitMileage',
|
|
5756
|
+
scope: 'self:write',
|
|
5757
|
+
summary: 'File a mileage reimbursement for a work trip; the spend platform applies the rate',
|
|
5758
|
+
},
|
|
5759
|
+
{
|
|
5760
|
+
access: 'write',
|
|
5761
|
+
command: ['expenses', 'submit-receipt'],
|
|
5762
|
+
input: {
|
|
5763
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
5764
|
+
additionalProperties: false,
|
|
5765
|
+
properties: {
|
|
5766
|
+
confirm: {
|
|
5767
|
+
const: 'expenses.submitReceipt',
|
|
5768
|
+
type: 'string',
|
|
5769
|
+
},
|
|
5770
|
+
memo: {
|
|
5771
|
+
type: 'string',
|
|
5772
|
+
},
|
|
5773
|
+
receiptId: {
|
|
5774
|
+
type: 'string',
|
|
5775
|
+
},
|
|
5776
|
+
requestKey: {
|
|
5777
|
+
maxLength: 128,
|
|
5778
|
+
minLength: 1,
|
|
5779
|
+
type: 'string',
|
|
5780
|
+
},
|
|
5781
|
+
},
|
|
5782
|
+
required: ['memo', 'receiptId', 'requestKey', 'confirm'],
|
|
5783
|
+
type: 'object',
|
|
5784
|
+
},
|
|
5785
|
+
path: ['expenses', 'submitReceipt'],
|
|
5786
|
+
permission: 'expenses.submitReceipt',
|
|
5787
|
+
scope: 'self:write',
|
|
5788
|
+
summary: 'File a reimbursement from a receipt you handed over; the spend platform drafts it from the receipt',
|
|
5789
|
+
},
|
|
5602
5790
|
{
|
|
5603
5791
|
access: 'read',
|
|
5604
5792
|
command: ['exports', 'team'],
|
|
@@ -5838,6 +6026,365 @@ export const commands = [
|
|
|
5838
6026
|
scope: 'profile:write',
|
|
5839
6027
|
summary: 'Record that you opened, finished or skipped the welcome',
|
|
5840
6028
|
},
|
|
6029
|
+
{
|
|
6030
|
+
access: 'write',
|
|
6031
|
+
command: ['gifts', 'approve'],
|
|
6032
|
+
input: {
|
|
6033
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6034
|
+
additionalProperties: false,
|
|
6035
|
+
properties: {
|
|
6036
|
+
confirm: {
|
|
6037
|
+
const: 'gifts.approve',
|
|
6038
|
+
type: 'string',
|
|
6039
|
+
},
|
|
6040
|
+
giftId: {
|
|
6041
|
+
type: 'string',
|
|
6042
|
+
},
|
|
6043
|
+
requestKey: {
|
|
6044
|
+
maxLength: 128,
|
|
6045
|
+
minLength: 1,
|
|
6046
|
+
type: 'string',
|
|
6047
|
+
},
|
|
6048
|
+
},
|
|
6049
|
+
required: ['giftId', 'confirm', 'requestKey'],
|
|
6050
|
+
type: 'object',
|
|
6051
|
+
},
|
|
6052
|
+
path: ['gifts', 'approve'],
|
|
6053
|
+
permission: 'gifts.approve',
|
|
6054
|
+
scope: 'celebrations:write',
|
|
6055
|
+
summary: 'Approve and send this gift',
|
|
6056
|
+
},
|
|
6057
|
+
{
|
|
6058
|
+
access: 'write',
|
|
6059
|
+
command: ['gifts', 'approve-many'],
|
|
6060
|
+
input: {
|
|
6061
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6062
|
+
additionalProperties: false,
|
|
6063
|
+
properties: {
|
|
6064
|
+
confirm: {
|
|
6065
|
+
const: 'gifts.approveMany',
|
|
6066
|
+
type: 'string',
|
|
6067
|
+
},
|
|
6068
|
+
giftIds: {
|
|
6069
|
+
items: {
|
|
6070
|
+
type: 'string',
|
|
6071
|
+
},
|
|
6072
|
+
type: 'array',
|
|
6073
|
+
},
|
|
6074
|
+
requestKey: {
|
|
6075
|
+
maxLength: 128,
|
|
6076
|
+
minLength: 1,
|
|
6077
|
+
type: 'string',
|
|
6078
|
+
},
|
|
6079
|
+
},
|
|
6080
|
+
required: ['giftIds', 'confirm', 'requestKey'],
|
|
6081
|
+
type: 'object',
|
|
6082
|
+
},
|
|
6083
|
+
path: ['gifts', 'approveMany'],
|
|
6084
|
+
permission: 'gifts.approveMany',
|
|
6085
|
+
scope: 'celebrations:write',
|
|
6086
|
+
summary: 'Approve and send these gifts',
|
|
6087
|
+
},
|
|
6088
|
+
{
|
|
6089
|
+
access: 'read',
|
|
6090
|
+
command: ['gifts', 'current'],
|
|
6091
|
+
input: {
|
|
6092
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6093
|
+
additionalProperties: false,
|
|
6094
|
+
properties: {},
|
|
6095
|
+
type: 'object',
|
|
6096
|
+
},
|
|
6097
|
+
path: ['gifts', 'current'],
|
|
6098
|
+
permission: 'gifts.current',
|
|
6099
|
+
scope: 'celebrations:read',
|
|
6100
|
+
summary: 'Read gift budgets, this month’s spend against the cap, gifts waiting for approval and recent gifts',
|
|
6101
|
+
},
|
|
6102
|
+
{
|
|
6103
|
+
access: 'write',
|
|
6104
|
+
command: ['gifts', 'disconnect'],
|
|
6105
|
+
input: {
|
|
6106
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6107
|
+
additionalProperties: false,
|
|
6108
|
+
properties: {
|
|
6109
|
+
confirm: {
|
|
6110
|
+
const: 'gifts.disconnect',
|
|
6111
|
+
type: 'string',
|
|
6112
|
+
},
|
|
6113
|
+
connectionId: {
|
|
6114
|
+
type: 'string',
|
|
6115
|
+
},
|
|
6116
|
+
requestKey: {
|
|
6117
|
+
maxLength: 128,
|
|
6118
|
+
minLength: 1,
|
|
6119
|
+
type: 'string',
|
|
6120
|
+
},
|
|
6121
|
+
},
|
|
6122
|
+
required: ['connectionId', 'confirm', 'requestKey'],
|
|
6123
|
+
type: 'object',
|
|
6124
|
+
},
|
|
6125
|
+
path: ['gifts', 'disconnect'],
|
|
6126
|
+
permission: 'gifts.disconnect',
|
|
6127
|
+
scope: 'celebrations:write',
|
|
6128
|
+
summary: 'Disconnect Tremendous; no more gifts are sent',
|
|
6129
|
+
},
|
|
6130
|
+
{
|
|
6131
|
+
access: 'write',
|
|
6132
|
+
command: ['gifts', 'draft'],
|
|
6133
|
+
input: {
|
|
6134
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6135
|
+
additionalProperties: false,
|
|
6136
|
+
properties: {
|
|
6137
|
+
amount: {
|
|
6138
|
+
type: 'number',
|
|
6139
|
+
},
|
|
6140
|
+
confirm: {
|
|
6141
|
+
const: 'gifts.draft',
|
|
6142
|
+
type: 'string',
|
|
6143
|
+
},
|
|
6144
|
+
message: {
|
|
6145
|
+
type: 'string',
|
|
6146
|
+
},
|
|
6147
|
+
occasion: {
|
|
6148
|
+
anyOf: [
|
|
6149
|
+
{
|
|
6150
|
+
const: 'anniversary',
|
|
6151
|
+
type: 'string',
|
|
6152
|
+
},
|
|
6153
|
+
{
|
|
6154
|
+
const: 'birthday',
|
|
6155
|
+
type: 'string',
|
|
6156
|
+
},
|
|
6157
|
+
{
|
|
6158
|
+
const: 'praise',
|
|
6159
|
+
type: 'string',
|
|
6160
|
+
},
|
|
6161
|
+
{
|
|
6162
|
+
const: 'welcome',
|
|
6163
|
+
type: 'string',
|
|
6164
|
+
},
|
|
6165
|
+
],
|
|
6166
|
+
},
|
|
6167
|
+
occasionDate: {
|
|
6168
|
+
type: 'string',
|
|
6169
|
+
},
|
|
6170
|
+
personId: {
|
|
6171
|
+
type: 'string',
|
|
6172
|
+
},
|
|
6173
|
+
praiseId: {
|
|
6174
|
+
type: 'string',
|
|
6175
|
+
},
|
|
6176
|
+
requestKey: {
|
|
6177
|
+
maxLength: 128,
|
|
6178
|
+
minLength: 1,
|
|
6179
|
+
type: 'string',
|
|
6180
|
+
},
|
|
6181
|
+
},
|
|
6182
|
+
required: ['occasion', 'personId', 'confirm', 'requestKey'],
|
|
6183
|
+
type: 'object',
|
|
6184
|
+
},
|
|
6185
|
+
path: ['gifts', 'draft'],
|
|
6186
|
+
permission: 'gifts.draft',
|
|
6187
|
+
scope: 'celebrations:write',
|
|
6188
|
+
summary: 'Draft a gift for someone, such as a reward for their praise',
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
access: 'write',
|
|
6192
|
+
command: ['gifts', 'draft-upcoming'],
|
|
6193
|
+
input: {
|
|
6194
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6195
|
+
additionalProperties: false,
|
|
6196
|
+
properties: {
|
|
6197
|
+
confirm: {
|
|
6198
|
+
const: 'gifts.draftUpcoming',
|
|
6199
|
+
type: 'string',
|
|
6200
|
+
},
|
|
6201
|
+
requestKey: {
|
|
6202
|
+
maxLength: 128,
|
|
6203
|
+
minLength: 1,
|
|
6204
|
+
type: 'string',
|
|
6205
|
+
},
|
|
6206
|
+
},
|
|
6207
|
+
required: ['confirm', 'requestKey'],
|
|
6208
|
+
type: 'object',
|
|
6209
|
+
},
|
|
6210
|
+
path: ['gifts', 'draftUpcoming'],
|
|
6211
|
+
permission: 'gifts.draftUpcoming',
|
|
6212
|
+
scope: 'celebrations:write',
|
|
6213
|
+
summary: 'Draft the gifts for the next two weeks of occasions now',
|
|
6214
|
+
},
|
|
6215
|
+
{
|
|
6216
|
+
access: 'read',
|
|
6217
|
+
command: ['gifts', 'options'],
|
|
6218
|
+
input: {
|
|
6219
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6220
|
+
additionalProperties: false,
|
|
6221
|
+
properties: {},
|
|
6222
|
+
type: 'object',
|
|
6223
|
+
},
|
|
6224
|
+
path: ['gifts', 'options'],
|
|
6225
|
+
permission: 'gifts.options',
|
|
6226
|
+
scope: 'celebrations:read',
|
|
6227
|
+
summary: 'List the Tremendous funding sources and campaigns gifts can use',
|
|
6228
|
+
},
|
|
6229
|
+
{
|
|
6230
|
+
access: 'write',
|
|
6231
|
+
command: ['gifts', 'save'],
|
|
6232
|
+
input: {
|
|
6233
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6234
|
+
additionalProperties: false,
|
|
6235
|
+
properties: {
|
|
6236
|
+
budgets: {
|
|
6237
|
+
additionalProperties: false,
|
|
6238
|
+
properties: {
|
|
6239
|
+
anniversary: {
|
|
6240
|
+
additionalProperties: false,
|
|
6241
|
+
properties: {
|
|
6242
|
+
amount: {
|
|
6243
|
+
type: 'number',
|
|
6244
|
+
},
|
|
6245
|
+
enabled: {
|
|
6246
|
+
type: 'boolean',
|
|
6247
|
+
},
|
|
6248
|
+
},
|
|
6249
|
+
required: ['amount', 'enabled'],
|
|
6250
|
+
type: 'object',
|
|
6251
|
+
},
|
|
6252
|
+
birthday: {
|
|
6253
|
+
additionalProperties: false,
|
|
6254
|
+
properties: {
|
|
6255
|
+
amount: {
|
|
6256
|
+
type: 'number',
|
|
6257
|
+
},
|
|
6258
|
+
enabled: {
|
|
6259
|
+
type: 'boolean',
|
|
6260
|
+
},
|
|
6261
|
+
},
|
|
6262
|
+
required: ['amount', 'enabled'],
|
|
6263
|
+
type: 'object',
|
|
6264
|
+
},
|
|
6265
|
+
praise: {
|
|
6266
|
+
additionalProperties: false,
|
|
6267
|
+
properties: {
|
|
6268
|
+
amount: {
|
|
6269
|
+
type: 'number',
|
|
6270
|
+
},
|
|
6271
|
+
enabled: {
|
|
6272
|
+
type: 'boolean',
|
|
6273
|
+
},
|
|
6274
|
+
},
|
|
6275
|
+
required: ['amount', 'enabled'],
|
|
6276
|
+
type: 'object',
|
|
6277
|
+
},
|
|
6278
|
+
welcome: {
|
|
6279
|
+
additionalProperties: false,
|
|
6280
|
+
properties: {
|
|
6281
|
+
amount: {
|
|
6282
|
+
type: 'number',
|
|
6283
|
+
},
|
|
6284
|
+
enabled: {
|
|
6285
|
+
type: 'boolean',
|
|
6286
|
+
},
|
|
6287
|
+
},
|
|
6288
|
+
required: ['amount', 'enabled'],
|
|
6289
|
+
type: 'object',
|
|
6290
|
+
},
|
|
6291
|
+
},
|
|
6292
|
+
type: 'object',
|
|
6293
|
+
},
|
|
6294
|
+
campaignId: {
|
|
6295
|
+
type: 'string',
|
|
6296
|
+
},
|
|
6297
|
+
confirm: {
|
|
6298
|
+
const: 'gifts.save',
|
|
6299
|
+
type: 'string',
|
|
6300
|
+
},
|
|
6301
|
+
currency: {
|
|
6302
|
+
anyOf: [
|
|
6303
|
+
{
|
|
6304
|
+
const: 'AUD',
|
|
6305
|
+
type: 'string',
|
|
6306
|
+
},
|
|
6307
|
+
{
|
|
6308
|
+
const: 'CAD',
|
|
6309
|
+
type: 'string',
|
|
6310
|
+
},
|
|
6311
|
+
{
|
|
6312
|
+
const: 'EUR',
|
|
6313
|
+
type: 'string',
|
|
6314
|
+
},
|
|
6315
|
+
{
|
|
6316
|
+
const: 'GBP',
|
|
6317
|
+
type: 'string',
|
|
6318
|
+
},
|
|
6319
|
+
{
|
|
6320
|
+
const: 'USD',
|
|
6321
|
+
type: 'string',
|
|
6322
|
+
},
|
|
6323
|
+
],
|
|
6324
|
+
},
|
|
6325
|
+
fundingSourceId: {
|
|
6326
|
+
type: 'string',
|
|
6327
|
+
},
|
|
6328
|
+
message: {
|
|
6329
|
+
type: ['null', 'string'],
|
|
6330
|
+
},
|
|
6331
|
+
monthlyCap: {
|
|
6332
|
+
type: ['null', 'number'],
|
|
6333
|
+
},
|
|
6334
|
+
ordering: {
|
|
6335
|
+
anyOf: [
|
|
6336
|
+
{
|
|
6337
|
+
const: false,
|
|
6338
|
+
type: 'boolean',
|
|
6339
|
+
},
|
|
6340
|
+
{
|
|
6341
|
+
const: true,
|
|
6342
|
+
type: 'boolean',
|
|
6343
|
+
},
|
|
6344
|
+
],
|
|
6345
|
+
},
|
|
6346
|
+
requestKey: {
|
|
6347
|
+
maxLength: 128,
|
|
6348
|
+
minLength: 1,
|
|
6349
|
+
type: 'string',
|
|
6350
|
+
},
|
|
6351
|
+
},
|
|
6352
|
+
required: ['confirm', 'requestKey'],
|
|
6353
|
+
type: 'object',
|
|
6354
|
+
},
|
|
6355
|
+
path: ['gifts', 'save'],
|
|
6356
|
+
permission: 'gifts.save',
|
|
6357
|
+
scope: 'celebrations:write',
|
|
6358
|
+
summary: 'Save gift budgets, the monthly cap and where gifts are paid from',
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
6361
|
+
access: 'write',
|
|
6362
|
+
command: ['gifts', 'skip'],
|
|
6363
|
+
input: {
|
|
6364
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
6365
|
+
additionalProperties: false,
|
|
6366
|
+
properties: {
|
|
6367
|
+
confirm: {
|
|
6368
|
+
const: 'gifts.skip',
|
|
6369
|
+
type: 'string',
|
|
6370
|
+
},
|
|
6371
|
+
giftId: {
|
|
6372
|
+
type: 'string',
|
|
6373
|
+
},
|
|
6374
|
+
requestKey: {
|
|
6375
|
+
maxLength: 128,
|
|
6376
|
+
minLength: 1,
|
|
6377
|
+
type: 'string',
|
|
6378
|
+
},
|
|
6379
|
+
},
|
|
6380
|
+
required: ['giftId', 'confirm', 'requestKey'],
|
|
6381
|
+
type: 'object',
|
|
6382
|
+
},
|
|
6383
|
+
path: ['gifts', 'skip'],
|
|
6384
|
+
permission: 'gifts.skip',
|
|
6385
|
+
scope: 'celebrations:write',
|
|
6386
|
+
summary: 'Skip this gift; nothing is sent',
|
|
6387
|
+
},
|
|
5841
6388
|
{
|
|
5842
6389
|
access: 'read',
|
|
5843
6390
|
command: ['groups', 'all-automations'],
|
|
@@ -17416,6 +17963,37 @@ export const commands = [
|
|
|
17416
17963
|
scope: 'integrations:read',
|
|
17417
17964
|
summary: 'Read the spend programs as the spend platform holds them now',
|
|
17418
17965
|
},
|
|
17966
|
+
{
|
|
17967
|
+
access: 'write',
|
|
17968
|
+
command: ['spend', 'set-writes'],
|
|
17969
|
+
input: {
|
|
17970
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
17971
|
+
additionalProperties: false,
|
|
17972
|
+
properties: {
|
|
17973
|
+
confirm: {
|
|
17974
|
+
const: 'spend.setWrites',
|
|
17975
|
+
type: 'string',
|
|
17976
|
+
},
|
|
17977
|
+
connectionId: {
|
|
17978
|
+
type: 'string',
|
|
17979
|
+
},
|
|
17980
|
+
enabled: {
|
|
17981
|
+
type: 'boolean',
|
|
17982
|
+
},
|
|
17983
|
+
requestKey: {
|
|
17984
|
+
maxLength: 128,
|
|
17985
|
+
minLength: 1,
|
|
17986
|
+
type: 'string',
|
|
17987
|
+
},
|
|
17988
|
+
},
|
|
17989
|
+
required: ['connectionId', 'enabled', 'confirm', 'requestKey'],
|
|
17990
|
+
type: 'object',
|
|
17991
|
+
},
|
|
17992
|
+
path: ['spend', 'setWrites'],
|
|
17993
|
+
permission: 'spend.setWrites',
|
|
17994
|
+
scope: 'integrations:write',
|
|
17995
|
+
summary: 'Let Mello file reimbursements in the spend platform, or stop it',
|
|
17996
|
+
},
|
|
17419
17997
|
{
|
|
17420
17998
|
access: 'write',
|
|
17421
17999
|
command: ['support', 'assign'],
|
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.31",
|
|
5
|
+
"@shuffl/sdk": "0.7.31"
|
|
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.31",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|