@shuffl/cli 0.7.30 → 0.7.32

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.
@@ -1581,10 +1581,18 @@ export const commands = [
1581
1581
  const: 'connections_program',
1582
1582
  type: 'string',
1583
1583
  },
1584
+ {
1585
+ const: 'devices_admin',
1586
+ type: 'string',
1587
+ },
1584
1588
  {
1585
1589
  const: 'free_time',
1586
1590
  type: 'string',
1587
1591
  },
1592
+ {
1593
+ const: 'gifts',
1594
+ type: 'string',
1595
+ },
1588
1596
  {
1589
1597
  const: 'groups',
1590
1598
  type: 'string',
@@ -1629,6 +1637,10 @@ export const commands = [
1629
1637
  const: 'my_benefits',
1630
1638
  type: 'string',
1631
1639
  },
1640
+ {
1641
+ const: 'my_laptop',
1642
+ type: 'string',
1643
+ },
1632
1644
  {
1633
1645
  const: 'my_reports',
1634
1646
  type: 'string',
@@ -1798,10 +1810,18 @@ export const commands = [
1798
1810
  const: 'connections_program',
1799
1811
  type: 'string',
1800
1812
  },
1813
+ {
1814
+ const: 'devices_admin',
1815
+ type: 'string',
1816
+ },
1801
1817
  {
1802
1818
  const: 'free_time',
1803
1819
  type: 'string',
1804
1820
  },
1821
+ {
1822
+ const: 'gifts',
1823
+ type: 'string',
1824
+ },
1805
1825
  {
1806
1826
  const: 'groups',
1807
1827
  type: 'string',
@@ -1846,6 +1866,10 @@ export const commands = [
1846
1866
  const: 'my_benefits',
1847
1867
  type: 'string',
1848
1868
  },
1869
+ {
1870
+ const: 'my_laptop',
1871
+ type: 'string',
1872
+ },
1849
1873
  {
1850
1874
  const: 'my_reports',
1851
1875
  type: 'string',
@@ -3764,6 +3788,54 @@ export const commands = [
3764
3788
  const: 'credentials.api.revoke',
3765
3789
  type: 'string',
3766
3790
  },
3791
+ {
3792
+ const: 'devices.catalog',
3793
+ type: 'string',
3794
+ },
3795
+ {
3796
+ const: 'devices.connections',
3797
+ type: 'string',
3798
+ },
3799
+ {
3800
+ const: 'devices.disconnect',
3801
+ type: 'string',
3802
+ },
3803
+ {
3804
+ const: 'devices.forPerson',
3805
+ type: 'string',
3806
+ },
3807
+ {
3808
+ const: 'devices.list',
3809
+ type: 'string',
3810
+ },
3811
+ {
3812
+ const: 'devices.lock',
3813
+ type: 'string',
3814
+ },
3815
+ {
3816
+ const: 'devices.match',
3817
+ type: 'string',
3818
+ },
3819
+ {
3820
+ const: 'devices.mine',
3821
+ type: 'string',
3822
+ },
3823
+ {
3824
+ const: 'devices.order',
3825
+ type: 'string',
3826
+ },
3827
+ {
3828
+ const: 'devices.return',
3829
+ type: 'string',
3830
+ },
3831
+ {
3832
+ const: 'devices.sync',
3833
+ type: 'string',
3834
+ },
3835
+ {
3836
+ const: 'devices.wipe',
3837
+ type: 'string',
3838
+ },
3767
3839
  {
3768
3840
  const: 'digest.actOnNudge',
3769
3841
  type: 'string',
@@ -3844,6 +3916,42 @@ export const commands = [
3844
3916
  const: 'getStarted.wizard',
3845
3917
  type: 'string',
3846
3918
  },
3919
+ {
3920
+ const: 'gifts.approve',
3921
+ type: 'string',
3922
+ },
3923
+ {
3924
+ const: 'gifts.approveMany',
3925
+ type: 'string',
3926
+ },
3927
+ {
3928
+ const: 'gifts.current',
3929
+ type: 'string',
3930
+ },
3931
+ {
3932
+ const: 'gifts.disconnect',
3933
+ type: 'string',
3934
+ },
3935
+ {
3936
+ const: 'gifts.draft',
3937
+ type: 'string',
3938
+ },
3939
+ {
3940
+ const: 'gifts.draftUpcoming',
3941
+ type: 'string',
3942
+ },
3943
+ {
3944
+ const: 'gifts.options',
3945
+ type: 'string',
3946
+ },
3947
+ {
3948
+ const: 'gifts.save',
3949
+ type: 'string',
3950
+ },
3951
+ {
3952
+ const: 'gifts.skip',
3953
+ type: 'string',
3954
+ },
3847
3955
  {
3848
3956
  const: 'groups.allAutomations',
3849
3957
  type: 'string',
@@ -5358,46 +5466,46 @@ export const commands = [
5358
5466
  scope: 'credentials:write',
5359
5467
  summary: 'Revoke an API key',
5360
5468
  },
5469
+ {
5470
+ access: 'read',
5471
+ command: ['devices', 'catalog'],
5472
+ input: {
5473
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5474
+ additionalProperties: false,
5475
+ properties: {},
5476
+ type: 'object',
5477
+ },
5478
+ path: ['devices', 'catalog'],
5479
+ permission: 'devices.catalog',
5480
+ scope: 'devices:read',
5481
+ summary: 'List the laptops the connected shipping partner can send',
5482
+ },
5483
+ {
5484
+ access: 'read',
5485
+ command: ['devices', 'connections'],
5486
+ input: {
5487
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5488
+ additionalProperties: false,
5489
+ properties: {},
5490
+ type: 'object',
5491
+ },
5492
+ path: ['devices', 'connections'],
5493
+ permission: 'devices.connections',
5494
+ scope: 'devices:read',
5495
+ summary: 'List the connected device management and shipping partner',
5496
+ },
5361
5497
  {
5362
5498
  access: 'write',
5363
- command: ['digest', 'act-on-nudge'],
5499
+ command: ['devices', 'disconnect'],
5364
5500
  input: {
5365
5501
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5366
5502
  additionalProperties: false,
5367
5503
  properties: {
5368
5504
  confirm: {
5369
- const: 'digest.actOnNudge',
5505
+ const: 'devices.disconnect',
5370
5506
  type: 'string',
5371
5507
  },
5372
- from: {
5373
- anyOf: [
5374
- {
5375
- const: 'culture',
5376
- type: 'string',
5377
- },
5378
- {
5379
- const: 'email',
5380
- type: 'string',
5381
- },
5382
- {
5383
- const: 'page',
5384
- type: 'string',
5385
- },
5386
- {
5387
- const: 'preview',
5388
- type: 'string',
5389
- },
5390
- {
5391
- const: 'slack',
5392
- type: 'string',
5393
- },
5394
- {
5395
- const: 'today',
5396
- type: 'string',
5397
- },
5398
- ],
5399
- },
5400
- nudgeId: {
5508
+ connectionId: {
5401
5509
  type: 'string',
5402
5510
  },
5403
5511
  requestKey: {
@@ -5406,141 +5514,455 @@ export const commands = [
5406
5514
  type: 'string',
5407
5515
  },
5408
5516
  },
5409
- required: ['from', 'nudgeId', 'confirm', 'requestKey'],
5517
+ required: ['connectionId', 'confirm', 'requestKey'],
5410
5518
  type: 'object',
5411
5519
  },
5412
- path: ['digest', 'actOnNudge'],
5413
- permission: 'digest.actOnNudge',
5414
- scope: 'team:write',
5415
- summary: 'Record that a culture nudge was acted on and get where its action goes',
5520
+ path: ['devices', 'disconnect'],
5521
+ permission: 'devices.disconnect',
5522
+ scope: 'devices:write',
5523
+ summary: 'Disconnect device management or the shipping partner; shipments keep their status',
5416
5524
  },
5417
5525
  {
5418
5526
  access: 'read',
5419
- command: ['digest', 'culture'],
5527
+ command: ['devices', 'for-person'],
5420
5528
  input: {
5421
5529
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5422
5530
  additionalProperties: false,
5423
- properties: {},
5531
+ properties: {
5532
+ personId: {
5533
+ type: 'string',
5534
+ },
5535
+ },
5536
+ required: ['personId'],
5424
5537
  type: 'object',
5425
5538
  },
5426
- path: ['digest', 'culture'],
5427
- permission: 'digest.culture',
5428
- scope: 'reports:read',
5429
- summary: 'List the Culture page’s recommendations in order and what happened after each one acted on',
5539
+ path: ['devices', 'forPerson'],
5540
+ permission: 'devices.forPerson',
5541
+ scope: 'devices:read',
5542
+ summary: 'Read one person’s devices, laptop orders and return kits',
5430
5543
  },
5431
5544
  {
5432
- access: 'write',
5433
- command: ['digest', 'dismiss-nudge'],
5545
+ access: 'read',
5546
+ command: ['devices', 'list'],
5434
5547
  input: {
5435
5548
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5436
5549
  additionalProperties: false,
5437
5550
  properties: {
5438
- confirm: {
5439
- const: 'digest.dismissNudge',
5440
- type: 'string',
5441
- },
5442
- from: {
5551
+ issues: {
5443
5552
  anyOf: [
5444
5553
  {
5445
- const: 'culture',
5446
- type: 'string',
5447
- },
5448
- {
5449
- const: 'email',
5450
- type: 'string',
5451
- },
5452
- {
5453
- const: 'page',
5454
- type: 'string',
5554
+ const: false,
5555
+ type: 'boolean',
5455
5556
  },
5456
5557
  {
5457
- const: 'preview',
5458
- type: 'string',
5558
+ const: true,
5559
+ type: 'boolean',
5459
5560
  },
5561
+ ],
5562
+ },
5563
+ limit: {
5564
+ type: 'number',
5565
+ },
5566
+ query: {
5567
+ type: 'string',
5568
+ },
5569
+ unmatched: {
5570
+ anyOf: [
5460
5571
  {
5461
- const: 'slack',
5462
- type: 'string',
5572
+ const: false,
5573
+ type: 'boolean',
5463
5574
  },
5464
5575
  {
5465
- const: 'today',
5466
- type: 'string',
5576
+ const: true,
5577
+ type: 'boolean',
5467
5578
  },
5468
5579
  ],
5469
5580
  },
5470
- nudgeId: {
5471
- type: 'string',
5472
- },
5473
- requestKey: {
5474
- maxLength: 128,
5475
- minLength: 1,
5476
- type: 'string',
5477
- },
5478
5581
  },
5479
- required: ['from', 'nudgeId', 'confirm', 'requestKey'],
5480
5582
  type: 'object',
5481
5583
  },
5482
- path: ['digest', 'dismissNudge'],
5483
- permission: 'digest.dismissNudge',
5484
- scope: 'team:write',
5485
- summary: 'Dismiss a culture nudge for 90 days',
5584
+ path: ['devices', 'list'],
5585
+ permission: 'devices.list',
5586
+ scope: 'devices:read',
5587
+ summary: 'List the devices device management reports, what each needs and who has it',
5486
5588
  },
5487
5589
  {
5488
- access: 'read',
5489
- command: ['digest', 'nudge'],
5590
+ access: 'write',
5591
+ command: ['devices', 'lock'],
5490
5592
  input: {
5491
5593
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5492
5594
  additionalProperties: false,
5493
5595
  properties: {
5494
- nudgeId: {
5596
+ confirm: {
5597
+ const: 'devices.lock',
5598
+ type: 'string',
5599
+ },
5600
+ deviceId: {
5601
+ type: 'string',
5602
+ },
5603
+ message: {
5604
+ type: 'string',
5605
+ },
5606
+ requestKey: {
5607
+ maxLength: 128,
5608
+ minLength: 1,
5495
5609
  type: 'string',
5496
5610
  },
5497
5611
  },
5498
- required: ['nudgeId'],
5612
+ required: ['deviceId', 'requestKey', 'confirm'],
5499
5613
  type: 'object',
5500
5614
  },
5501
- path: ['digest', 'nudge'],
5502
- permission: 'digest.nudge',
5503
- scope: 'reports:read',
5504
- summary: 'Read one of Mello’s culture nudges',
5615
+ path: ['devices', 'lock'],
5616
+ permission: 'devices.lock',
5617
+ scope: 'devices:write',
5618
+ summary: 'Lock a device through device management',
5505
5619
  },
5506
5620
  {
5507
- access: 'read',
5508
- command: ['digest', 'nudges'],
5621
+ access: 'write',
5622
+ command: ['devices', 'match'],
5509
5623
  input: {
5510
5624
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5511
5625
  additionalProperties: false,
5512
- properties: {},
5626
+ properties: {
5627
+ confirm: {
5628
+ const: 'devices.match',
5629
+ type: 'string',
5630
+ },
5631
+ deviceId: {
5632
+ type: 'string',
5633
+ },
5634
+ personId: {
5635
+ type: ['null', 'string'],
5636
+ },
5637
+ requestKey: {
5638
+ maxLength: 128,
5639
+ minLength: 1,
5640
+ type: 'string',
5641
+ },
5642
+ },
5643
+ required: ['deviceId', 'personId', 'confirm', 'requestKey'],
5513
5644
  type: 'object',
5514
5645
  },
5515
- path: ['digest', 'nudges'],
5516
- permission: 'digest.nudges',
5517
- scope: 'reports:read',
5518
- summary: 'List Mello’s culture nudges for the workspace',
5646
+ path: ['devices', 'match'],
5647
+ permission: 'devices.match',
5648
+ scope: 'devices:write',
5649
+ summary: 'Match a device to a person in People, or clear the match',
5519
5650
  },
5520
5651
  {
5521
5652
  access: 'read',
5522
- command: ['digest', 'preview'],
5653
+ command: ['devices', 'mine'],
5523
5654
  input: {
5524
5655
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5525
5656
  additionalProperties: false,
5526
5657
  properties: {},
5527
5658
  type: 'object',
5528
5659
  },
5529
- path: ['digest', 'preview'],
5530
- permission: 'digest.preview',
5531
- scope: 'reports:read',
5532
- summary: 'Preview the HR digest for the last period',
5660
+ path: ['devices', 'mine'],
5661
+ permission: 'devices.mine',
5662
+ scope: 'self:read',
5663
+ summary: 'List your own laptops and devices, what each needs, and where your laptop or return kit is',
5533
5664
  },
5534
5665
  {
5535
5666
  access: 'write',
5536
- command: ['digest', 'save-settings'],
5667
+ command: ['devices', 'order'],
5537
5668
  input: {
5538
5669
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5539
5670
  additionalProperties: false,
5540
5671
  properties: {
5541
- cadence: {
5542
- anyOf: [
5543
- {
5672
+ confirm: {
5673
+ const: 'devices.order',
5674
+ type: 'string',
5675
+ },
5676
+ personId: {
5677
+ type: 'string',
5678
+ },
5679
+ requestKey: {
5680
+ maxLength: 128,
5681
+ minLength: 1,
5682
+ type: 'string',
5683
+ },
5684
+ skuId: {
5685
+ type: 'string',
5686
+ },
5687
+ },
5688
+ required: ['personId', 'requestKey', 'confirm'],
5689
+ type: 'object',
5690
+ },
5691
+ path: ['devices', 'order'],
5692
+ permission: 'devices.order',
5693
+ scope: 'devices:write',
5694
+ summary: 'Order a person’s laptop through the shipping partner',
5695
+ },
5696
+ {
5697
+ access: 'write',
5698
+ command: ['devices', 'return'],
5699
+ input: {
5700
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5701
+ additionalProperties: false,
5702
+ properties: {
5703
+ confirm: {
5704
+ const: 'devices.return',
5705
+ type: 'string',
5706
+ },
5707
+ personId: {
5708
+ type: 'string',
5709
+ },
5710
+ requestKey: {
5711
+ maxLength: 128,
5712
+ minLength: 1,
5713
+ type: 'string',
5714
+ },
5715
+ },
5716
+ required: ['personId', 'requestKey', 'confirm'],
5717
+ type: 'object',
5718
+ },
5719
+ path: ['devices', 'return'],
5720
+ permission: 'devices.return',
5721
+ scope: 'devices:write',
5722
+ summary: 'Send a person a return kit for the laptops device management lists for them',
5723
+ },
5724
+ {
5725
+ access: 'write',
5726
+ command: ['devices', 'sync'],
5727
+ input: {
5728
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5729
+ additionalProperties: false,
5730
+ properties: {
5731
+ confirm: {
5732
+ const: 'devices.sync',
5733
+ type: 'string',
5734
+ },
5735
+ connectionId: {
5736
+ type: 'string',
5737
+ },
5738
+ requestKey: {
5739
+ maxLength: 128,
5740
+ minLength: 1,
5741
+ type: 'string',
5742
+ },
5743
+ },
5744
+ required: ['connectionId', 'confirm', 'requestKey'],
5745
+ type: 'object',
5746
+ },
5747
+ path: ['devices', 'sync'],
5748
+ permission: 'devices.sync',
5749
+ scope: 'devices:write',
5750
+ summary: 'Read the fleet from device management now',
5751
+ },
5752
+ {
5753
+ access: 'write',
5754
+ command: ['devices', 'wipe'],
5755
+ input: {
5756
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5757
+ additionalProperties: false,
5758
+ properties: {
5759
+ confirm: {
5760
+ const: 'devices.wipe',
5761
+ type: 'string',
5762
+ },
5763
+ confirmSerial: {
5764
+ type: 'string',
5765
+ },
5766
+ deviceId: {
5767
+ type: 'string',
5768
+ },
5769
+ requestKey: {
5770
+ maxLength: 128,
5771
+ minLength: 1,
5772
+ type: 'string',
5773
+ },
5774
+ },
5775
+ required: ['confirmSerial', 'deviceId', 'requestKey', 'confirm'],
5776
+ type: 'object',
5777
+ },
5778
+ path: ['devices', 'wipe'],
5779
+ permission: 'devices.wipe',
5780
+ scope: 'devices:write',
5781
+ summary: 'Wipe a device through device management, confirmed with the last four characters of its serial',
5782
+ },
5783
+ {
5784
+ access: 'write',
5785
+ command: ['digest', 'act-on-nudge'],
5786
+ input: {
5787
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5788
+ additionalProperties: false,
5789
+ properties: {
5790
+ confirm: {
5791
+ const: 'digest.actOnNudge',
5792
+ type: 'string',
5793
+ },
5794
+ from: {
5795
+ anyOf: [
5796
+ {
5797
+ const: 'culture',
5798
+ type: 'string',
5799
+ },
5800
+ {
5801
+ const: 'email',
5802
+ type: 'string',
5803
+ },
5804
+ {
5805
+ const: 'page',
5806
+ type: 'string',
5807
+ },
5808
+ {
5809
+ const: 'preview',
5810
+ type: 'string',
5811
+ },
5812
+ {
5813
+ const: 'slack',
5814
+ type: 'string',
5815
+ },
5816
+ {
5817
+ const: 'today',
5818
+ type: 'string',
5819
+ },
5820
+ ],
5821
+ },
5822
+ nudgeId: {
5823
+ type: 'string',
5824
+ },
5825
+ requestKey: {
5826
+ maxLength: 128,
5827
+ minLength: 1,
5828
+ type: 'string',
5829
+ },
5830
+ },
5831
+ required: ['from', 'nudgeId', 'confirm', 'requestKey'],
5832
+ type: 'object',
5833
+ },
5834
+ path: ['digest', 'actOnNudge'],
5835
+ permission: 'digest.actOnNudge',
5836
+ scope: 'team:write',
5837
+ summary: 'Record that a culture nudge was acted on and get where its action goes',
5838
+ },
5839
+ {
5840
+ access: 'read',
5841
+ command: ['digest', 'culture'],
5842
+ input: {
5843
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5844
+ additionalProperties: false,
5845
+ properties: {},
5846
+ type: 'object',
5847
+ },
5848
+ path: ['digest', 'culture'],
5849
+ permission: 'digest.culture',
5850
+ scope: 'reports:read',
5851
+ summary: 'List the Culture page’s recommendations in order and what happened after each one acted on',
5852
+ },
5853
+ {
5854
+ access: 'write',
5855
+ command: ['digest', 'dismiss-nudge'],
5856
+ input: {
5857
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5858
+ additionalProperties: false,
5859
+ properties: {
5860
+ confirm: {
5861
+ const: 'digest.dismissNudge',
5862
+ type: 'string',
5863
+ },
5864
+ from: {
5865
+ anyOf: [
5866
+ {
5867
+ const: 'culture',
5868
+ type: 'string',
5869
+ },
5870
+ {
5871
+ const: 'email',
5872
+ type: 'string',
5873
+ },
5874
+ {
5875
+ const: 'page',
5876
+ type: 'string',
5877
+ },
5878
+ {
5879
+ const: 'preview',
5880
+ type: 'string',
5881
+ },
5882
+ {
5883
+ const: 'slack',
5884
+ type: 'string',
5885
+ },
5886
+ {
5887
+ const: 'today',
5888
+ type: 'string',
5889
+ },
5890
+ ],
5891
+ },
5892
+ nudgeId: {
5893
+ type: 'string',
5894
+ },
5895
+ requestKey: {
5896
+ maxLength: 128,
5897
+ minLength: 1,
5898
+ type: 'string',
5899
+ },
5900
+ },
5901
+ required: ['from', 'nudgeId', 'confirm', 'requestKey'],
5902
+ type: 'object',
5903
+ },
5904
+ path: ['digest', 'dismissNudge'],
5905
+ permission: 'digest.dismissNudge',
5906
+ scope: 'team:write',
5907
+ summary: 'Dismiss a culture nudge for 90 days',
5908
+ },
5909
+ {
5910
+ access: 'read',
5911
+ command: ['digest', 'nudge'],
5912
+ input: {
5913
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5914
+ additionalProperties: false,
5915
+ properties: {
5916
+ nudgeId: {
5917
+ type: 'string',
5918
+ },
5919
+ },
5920
+ required: ['nudgeId'],
5921
+ type: 'object',
5922
+ },
5923
+ path: ['digest', 'nudge'],
5924
+ permission: 'digest.nudge',
5925
+ scope: 'reports:read',
5926
+ summary: 'Read one of Mello’s culture nudges',
5927
+ },
5928
+ {
5929
+ access: 'read',
5930
+ command: ['digest', 'nudges'],
5931
+ input: {
5932
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5933
+ additionalProperties: false,
5934
+ properties: {},
5935
+ type: 'object',
5936
+ },
5937
+ path: ['digest', 'nudges'],
5938
+ permission: 'digest.nudges',
5939
+ scope: 'reports:read',
5940
+ summary: 'List Mello’s culture nudges for the workspace',
5941
+ },
5942
+ {
5943
+ access: 'read',
5944
+ command: ['digest', 'preview'],
5945
+ input: {
5946
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5947
+ additionalProperties: false,
5948
+ properties: {},
5949
+ type: 'object',
5950
+ },
5951
+ path: ['digest', 'preview'],
5952
+ permission: 'digest.preview',
5953
+ scope: 'reports:read',
5954
+ summary: 'Preview the HR digest for the last period',
5955
+ },
5956
+ {
5957
+ access: 'write',
5958
+ command: ['digest', 'save-settings'],
5959
+ input: {
5960
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5961
+ additionalProperties: false,
5962
+ properties: {
5963
+ cadence: {
5964
+ anyOf: [
5965
+ {
5544
5966
  const: 'biweekly',
5545
5967
  type: 'string',
5546
5968
  },
@@ -5568,14 +5990,227 @@ export const commands = [
5568
5990
  hour: {
5569
5991
  type: 'number',
5570
5992
  },
5571
- quiet: {
5993
+ quiet: {
5994
+ anyOf: [
5995
+ {
5996
+ const: 'short',
5997
+ type: 'string',
5998
+ },
5999
+ {
6000
+ const: 'skip',
6001
+ type: 'string',
6002
+ },
6003
+ ],
6004
+ },
6005
+ requestKey: {
6006
+ maxLength: 128,
6007
+ minLength: 1,
6008
+ type: 'string',
6009
+ },
6010
+ slackChannelId: {
6011
+ type: ['null', 'string'],
6012
+ },
6013
+ timezone: {
6014
+ type: 'string',
6015
+ },
6016
+ weekday: {
6017
+ type: 'number',
6018
+ },
6019
+ },
6020
+ required: [
6021
+ 'cadence',
6022
+ 'expectedRevision',
6023
+ 'hour',
6024
+ 'quiet',
6025
+ 'slackChannelId',
6026
+ 'timezone',
6027
+ 'weekday',
6028
+ 'confirm',
6029
+ 'requestKey',
6030
+ ],
6031
+ type: 'object',
6032
+ },
6033
+ path: ['digest', 'saveSettings'],
6034
+ permission: 'digest.saveSettings',
6035
+ scope: 'team:write',
6036
+ summary: 'Save the HR digest schedule and admin channel',
6037
+ },
6038
+ {
6039
+ access: 'read',
6040
+ command: ['digest', 'settings'],
6041
+ input: {
6042
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6043
+ additionalProperties: false,
6044
+ properties: {},
6045
+ type: 'object',
6046
+ },
6047
+ path: ['digest', 'settings'],
6048
+ permission: 'digest.settings',
6049
+ scope: 'team:read',
6050
+ summary: 'Read the HR digest schedule',
6051
+ },
6052
+ {
6053
+ access: 'read',
6054
+ command: ['expenses', 'mine'],
6055
+ input: {
6056
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6057
+ additionalProperties: false,
6058
+ properties: {},
6059
+ type: 'object',
6060
+ },
6061
+ path: ['expenses', 'mine'],
6062
+ permission: 'expenses.mine',
6063
+ scope: 'self:read',
6064
+ summary: 'Read your own reimbursements Mello filed and where each one stands',
6065
+ },
6066
+ {
6067
+ access: 'write',
6068
+ command: ['expenses', 'stage-receipt'],
6069
+ input: {
6070
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6071
+ additionalProperties: false,
6072
+ properties: {
6073
+ confirm: {
6074
+ const: 'expenses.stageReceipt',
6075
+ type: 'string',
6076
+ },
6077
+ fileName: {
6078
+ type: 'string',
6079
+ },
6080
+ receipt: {
6081
+ type: 'string',
6082
+ },
6083
+ requestKey: {
6084
+ maxLength: 128,
6085
+ minLength: 1,
6086
+ type: 'string',
6087
+ },
6088
+ },
6089
+ required: ['fileName', 'receipt', 'confirm', 'requestKey'],
6090
+ type: 'object',
6091
+ },
6092
+ path: ['expenses', 'stageReceipt'],
6093
+ permission: 'expenses.stageReceipt',
6094
+ scope: 'self:write',
6095
+ summary: 'Hand over a receipt photo or PDF for a reimbursement; it is kept for a day until filed',
6096
+ },
6097
+ {
6098
+ access: 'write',
6099
+ command: ['expenses', 'submit-mileage'],
6100
+ input: {
6101
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6102
+ additionalProperties: false,
6103
+ properties: {
6104
+ confirm: {
6105
+ const: 'expenses.submitMileage',
6106
+ type: 'string',
6107
+ },
6108
+ from: {
6109
+ type: ['null', 'string'],
6110
+ },
6111
+ memo: {
6112
+ type: 'string',
6113
+ },
6114
+ miles: {
6115
+ type: 'number',
6116
+ },
6117
+ requestKey: {
6118
+ maxLength: 128,
6119
+ minLength: 1,
6120
+ type: 'string',
6121
+ },
6122
+ to: {
6123
+ type: ['null', 'string'],
6124
+ },
6125
+ tripDate: {
6126
+ type: 'string',
6127
+ },
6128
+ },
6129
+ required: ['memo', 'miles', 'requestKey', 'tripDate', 'confirm'],
6130
+ type: 'object',
6131
+ },
6132
+ path: ['expenses', 'submitMileage'],
6133
+ permission: 'expenses.submitMileage',
6134
+ scope: 'self:write',
6135
+ summary: 'File a mileage reimbursement for a work trip; the spend platform applies the rate',
6136
+ },
6137
+ {
6138
+ access: 'write',
6139
+ command: ['expenses', 'submit-receipt'],
6140
+ input: {
6141
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6142
+ additionalProperties: false,
6143
+ properties: {
6144
+ confirm: {
6145
+ const: 'expenses.submitReceipt',
6146
+ type: 'string',
6147
+ },
6148
+ memo: {
6149
+ type: 'string',
6150
+ },
6151
+ receiptId: {
6152
+ type: 'string',
6153
+ },
6154
+ requestKey: {
6155
+ maxLength: 128,
6156
+ minLength: 1,
6157
+ type: 'string',
6158
+ },
6159
+ },
6160
+ required: ['memo', 'receiptId', 'requestKey', 'confirm'],
6161
+ type: 'object',
6162
+ },
6163
+ path: ['expenses', 'submitReceipt'],
6164
+ permission: 'expenses.submitReceipt',
6165
+ scope: 'self:write',
6166
+ summary: 'File a reimbursement from a receipt you handed over; the spend platform drafts it from the receipt',
6167
+ },
6168
+ {
6169
+ access: 'read',
6170
+ command: ['exports', 'team'],
6171
+ input: {
6172
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6173
+ additionalProperties: false,
6174
+ properties: {},
6175
+ type: 'object',
6176
+ },
6177
+ path: ['exports', 'team'],
6178
+ permission: 'exports.team',
6179
+ scope: 'exports:read',
6180
+ summary: "Export the workspace's programs, people and introduction history",
6181
+ },
6182
+ {
6183
+ access: 'write',
6184
+ command: ['get-started', 'celebrate'],
6185
+ input: {
6186
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6187
+ additionalProperties: false,
6188
+ properties: {
6189
+ achievement: {
6190
+ type: 'string',
6191
+ },
6192
+ confirm: {
6193
+ const: 'getStarted.celebrate',
6194
+ type: 'string',
6195
+ },
6196
+ covered: {
6197
+ items: {
6198
+ type: 'string',
6199
+ },
6200
+ type: 'array',
6201
+ },
6202
+ outcome: {
5572
6203
  anyOf: [
5573
6204
  {
5574
- const: 'short',
6205
+ const: 'dismissed',
5575
6206
  type: 'string',
5576
6207
  },
5577
6208
  {
5578
- const: 'skip',
6209
+ const: 'shared',
6210
+ type: 'string',
6211
+ },
6212
+ {
6213
+ const: 'shown',
5579
6214
  type: 'string',
5580
6215
  },
5581
6216
  ],
@@ -5585,78 +6220,175 @@ export const commands = [
5585
6220
  minLength: 1,
5586
6221
  type: 'string',
5587
6222
  },
5588
- slackChannelId: {
5589
- type: ['null', 'string'],
5590
- },
5591
- timezone: {
6223
+ },
6224
+ required: ['achievement', 'outcome', 'confirm', 'requestKey'],
6225
+ type: 'object',
6226
+ },
6227
+ path: ['getStarted', 'celebrate'],
6228
+ permission: 'getStarted.celebrate',
6229
+ scope: 'profile:write',
6230
+ summary: 'Record that a celebration was shown, shared or dismissed',
6231
+ },
6232
+ {
6233
+ access: 'read',
6234
+ command: ['get-started', 'celebration'],
6235
+ input: {
6236
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6237
+ additionalProperties: false,
6238
+ properties: {},
6239
+ type: 'object',
6240
+ },
6241
+ path: ['getStarted', 'celebration'],
6242
+ permission: 'getStarted.celebration',
6243
+ scope: 'self:read',
6244
+ summary: 'Read the first-action celebration waiting for you, if any',
6245
+ },
6246
+ {
6247
+ access: 'write',
6248
+ command: ['get-started', 'dismiss'],
6249
+ input: {
6250
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6251
+ additionalProperties: false,
6252
+ properties: {
6253
+ confirm: {
6254
+ const: 'getStarted.dismiss',
5592
6255
  type: 'string',
5593
6256
  },
5594
- weekday: {
5595
- type: 'number',
6257
+ requestKey: {
6258
+ maxLength: 128,
6259
+ minLength: 1,
6260
+ type: 'string',
5596
6261
  },
5597
6262
  },
5598
- required: [
5599
- 'cadence',
5600
- 'expectedRevision',
5601
- 'hour',
5602
- 'quiet',
5603
- 'slackChannelId',
5604
- 'timezone',
5605
- 'weekday',
5606
- 'confirm',
5607
- 'requestKey',
5608
- ],
6263
+ required: ['confirm', 'requestKey'],
5609
6264
  type: 'object',
5610
6265
  },
5611
- path: ['digest', 'saveSettings'],
5612
- permission: 'digest.saveSettings',
5613
- scope: 'team:write',
5614
- summary: 'Save the HR digest schedule and admin channel',
6266
+ path: ['getStarted', 'dismiss'],
6267
+ permission: 'getStarted.dismiss',
6268
+ scope: 'profile:write',
6269
+ summary: 'Hide the Get started card',
5615
6270
  },
5616
6271
  {
5617
- access: 'read',
5618
- command: ['digest', 'settings'],
6272
+ access: 'write',
6273
+ command: ['get-started', 'draft-intro'],
5619
6274
  input: {
5620
6275
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5621
6276
  additionalProperties: false,
5622
- properties: {},
6277
+ properties: {
6278
+ confirm: {
6279
+ const: 'getStarted.draftIntro',
6280
+ type: 'string',
6281
+ },
6282
+ requestKey: {
6283
+ maxLength: 128,
6284
+ minLength: 1,
6285
+ type: 'string',
6286
+ },
6287
+ },
6288
+ required: ['confirm', 'requestKey'],
5623
6289
  type: 'object',
5624
6290
  },
5625
- path: ['digest', 'settings'],
5626
- permission: 'digest.settings',
5627
- scope: 'team:read',
5628
- summary: 'Read the HR digest schedule',
6291
+ path: ['getStarted', 'draftIntro'],
6292
+ permission: 'getStarted.draftIntro',
6293
+ scope: 'profile:write',
6294
+ summary: 'Draft a short hello to your coworkers with Mello; nothing is posted',
5629
6295
  },
5630
6296
  {
5631
6297
  access: 'read',
5632
- command: ['expenses', 'mine'],
6298
+ command: ['get-started', 'get'],
5633
6299
  input: {
5634
6300
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5635
6301
  additionalProperties: false,
5636
6302
  properties: {},
5637
6303
  type: 'object',
5638
6304
  },
5639
- path: ['expenses', 'mine'],
5640
- permission: 'expenses.mine',
6305
+ path: ['getStarted', 'get'],
6306
+ permission: 'getStarted.get',
5641
6307
  scope: 'self:read',
5642
- summary: 'Read your own reimbursements Mello filed and where each one stands',
6308
+ summary: 'Read your own Get started steps and whether the welcome still shows',
5643
6309
  },
5644
6310
  {
5645
6311
  access: 'write',
5646
- command: ['expenses', 'stage-receipt'],
6312
+ command: ['get-started', 'intro'],
6313
+ input: {
6314
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6315
+ anyOf: [
6316
+ {
6317
+ additionalProperties: false,
6318
+ properties: {
6319
+ action: {
6320
+ const: 'post',
6321
+ type: 'string',
6322
+ },
6323
+ confirm: {
6324
+ const: 'getStarted.intro',
6325
+ type: 'string',
6326
+ },
6327
+ requestKey: {
6328
+ maxLength: 128,
6329
+ minLength: 1,
6330
+ type: 'string',
6331
+ },
6332
+ text: {
6333
+ type: 'string',
6334
+ },
6335
+ },
6336
+ required: ['action', 'text', 'confirm', 'requestKey'],
6337
+ type: 'object',
6338
+ },
6339
+ {
6340
+ additionalProperties: false,
6341
+ properties: {
6342
+ action: {
6343
+ const: 'skip',
6344
+ type: 'string',
6345
+ },
6346
+ confirm: {
6347
+ const: 'getStarted.intro',
6348
+ type: 'string',
6349
+ },
6350
+ requestKey: {
6351
+ maxLength: 128,
6352
+ minLength: 1,
6353
+ type: 'string',
6354
+ },
6355
+ },
6356
+ required: ['action', 'confirm', 'requestKey'],
6357
+ type: 'object',
6358
+ },
6359
+ ],
6360
+ },
6361
+ path: ['getStarted', 'intro'],
6362
+ permission: 'getStarted.intro',
6363
+ scope: 'profile:write',
6364
+ summary: 'Post your hello on Home, or skip it',
6365
+ },
6366
+ {
6367
+ access: 'write',
6368
+ command: ['get-started', 'wizard'],
5647
6369
  input: {
5648
6370
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5649
6371
  additionalProperties: false,
5650
6372
  properties: {
5651
6373
  confirm: {
5652
- const: 'expenses.stageReceipt',
5653
- type: 'string',
5654
- },
5655
- fileName: {
6374
+ const: 'getStarted.wizard',
5656
6375
  type: 'string',
5657
6376
  },
5658
- receipt: {
5659
- type: 'string',
6377
+ outcome: {
6378
+ anyOf: [
6379
+ {
6380
+ const: 'finished',
6381
+ type: 'string',
6382
+ },
6383
+ {
6384
+ const: 'opened',
6385
+ type: 'string',
6386
+ },
6387
+ {
6388
+ const: 'skipped',
6389
+ type: 'string',
6390
+ },
6391
+ ],
5660
6392
  },
5661
6393
  requestKey: {
5662
6394
  maxLength: 128,
@@ -5664,70 +6396,58 @@ export const commands = [
5664
6396
  type: 'string',
5665
6397
  },
5666
6398
  },
5667
- required: ['fileName', 'receipt', 'confirm', 'requestKey'],
6399
+ required: ['outcome', 'confirm', 'requestKey'],
5668
6400
  type: 'object',
5669
6401
  },
5670
- path: ['expenses', 'stageReceipt'],
5671
- permission: 'expenses.stageReceipt',
5672
- scope: 'self:write',
5673
- summary: 'Hand over a receipt photo or PDF for a reimbursement; it is kept for a day until filed',
6402
+ path: ['getStarted', 'wizard'],
6403
+ permission: 'getStarted.wizard',
6404
+ scope: 'profile:write',
6405
+ summary: 'Record that you opened, finished or skipped the welcome',
5674
6406
  },
5675
6407
  {
5676
6408
  access: 'write',
5677
- command: ['expenses', 'submit-mileage'],
6409
+ command: ['gifts', 'approve'],
5678
6410
  input: {
5679
6411
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5680
6412
  additionalProperties: false,
5681
6413
  properties: {
5682
6414
  confirm: {
5683
- const: 'expenses.submitMileage',
6415
+ const: 'gifts.approve',
5684
6416
  type: 'string',
5685
6417
  },
5686
- from: {
5687
- type: ['null', 'string'],
5688
- },
5689
- memo: {
6418
+ giftId: {
5690
6419
  type: 'string',
5691
6420
  },
5692
- miles: {
5693
- type: 'number',
5694
- },
5695
6421
  requestKey: {
5696
6422
  maxLength: 128,
5697
6423
  minLength: 1,
5698
6424
  type: 'string',
5699
6425
  },
5700
- to: {
5701
- type: ['null', 'string'],
5702
- },
5703
- tripDate: {
5704
- type: 'string',
5705
- },
5706
6426
  },
5707
- required: ['memo', 'miles', 'requestKey', 'tripDate', 'confirm'],
6427
+ required: ['giftId', 'confirm', 'requestKey'],
5708
6428
  type: 'object',
5709
6429
  },
5710
- path: ['expenses', 'submitMileage'],
5711
- permission: 'expenses.submitMileage',
5712
- scope: 'self:write',
5713
- summary: 'File a mileage reimbursement for a work trip; the spend platform applies the rate',
6430
+ path: ['gifts', 'approve'],
6431
+ permission: 'gifts.approve',
6432
+ scope: 'celebrations:write',
6433
+ summary: 'Approve and send this gift',
5714
6434
  },
5715
6435
  {
5716
6436
  access: 'write',
5717
- command: ['expenses', 'submit-receipt'],
6437
+ command: ['gifts', 'approve-many'],
5718
6438
  input: {
5719
6439
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5720
6440
  additionalProperties: false,
5721
6441
  properties: {
5722
6442
  confirm: {
5723
- const: 'expenses.submitReceipt',
5724
- type: 'string',
5725
- },
5726
- memo: {
6443
+ const: 'gifts.approveMany',
5727
6444
  type: 'string',
5728
6445
  },
5729
- receiptId: {
5730
- type: 'string',
6446
+ giftIds: {
6447
+ items: {
6448
+ type: 'string',
6449
+ },
6450
+ type: 'array',
5731
6451
  },
5732
6452
  requestKey: {
5733
6453
  maxLength: 128,
@@ -5735,101 +6455,100 @@ export const commands = [
5735
6455
  type: 'string',
5736
6456
  },
5737
6457
  },
5738
- required: ['memo', 'receiptId', 'requestKey', 'confirm'],
6458
+ required: ['giftIds', 'confirm', 'requestKey'],
5739
6459
  type: 'object',
5740
6460
  },
5741
- path: ['expenses', 'submitReceipt'],
5742
- permission: 'expenses.submitReceipt',
5743
- scope: 'self:write',
5744
- summary: 'File a reimbursement from a receipt you handed over; the spend platform drafts it from the receipt',
6461
+ path: ['gifts', 'approveMany'],
6462
+ permission: 'gifts.approveMany',
6463
+ scope: 'celebrations:write',
6464
+ summary: 'Approve and send these gifts',
5745
6465
  },
5746
6466
  {
5747
6467
  access: 'read',
5748
- command: ['exports', 'team'],
6468
+ command: ['gifts', 'current'],
5749
6469
  input: {
5750
6470
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5751
6471
  additionalProperties: false,
5752
6472
  properties: {},
5753
6473
  type: 'object',
5754
6474
  },
5755
- path: ['exports', 'team'],
5756
- permission: 'exports.team',
5757
- scope: 'exports:read',
5758
- summary: "Export the workspace's programs, people and introduction history",
6475
+ path: ['gifts', 'current'],
6476
+ permission: 'gifts.current',
6477
+ scope: 'celebrations:read',
6478
+ summary: 'Read gift budgets, this month’s spend against the cap, gifts waiting for approval and recent gifts',
6479
+ },
6480
+ {
6481
+ access: 'write',
6482
+ command: ['gifts', 'disconnect'],
6483
+ input: {
6484
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
6485
+ additionalProperties: false,
6486
+ properties: {
6487
+ confirm: {
6488
+ const: 'gifts.disconnect',
6489
+ type: 'string',
6490
+ },
6491
+ connectionId: {
6492
+ type: 'string',
6493
+ },
6494
+ requestKey: {
6495
+ maxLength: 128,
6496
+ minLength: 1,
6497
+ type: 'string',
6498
+ },
6499
+ },
6500
+ required: ['connectionId', 'confirm', 'requestKey'],
6501
+ type: 'object',
6502
+ },
6503
+ path: ['gifts', 'disconnect'],
6504
+ permission: 'gifts.disconnect',
6505
+ scope: 'celebrations:write',
6506
+ summary: 'Disconnect Tremendous; no more gifts are sent',
5759
6507
  },
5760
6508
  {
5761
6509
  access: 'write',
5762
- command: ['get-started', 'celebrate'],
6510
+ command: ['gifts', 'draft'],
5763
6511
  input: {
5764
6512
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5765
6513
  additionalProperties: false,
5766
6514
  properties: {
5767
- achievement: {
5768
- type: 'string',
6515
+ amount: {
6516
+ type: 'number',
5769
6517
  },
5770
6518
  confirm: {
5771
- const: 'getStarted.celebrate',
6519
+ const: 'gifts.draft',
5772
6520
  type: 'string',
5773
6521
  },
5774
- covered: {
5775
- items: {
5776
- type: 'string',
5777
- },
5778
- type: 'array',
6522
+ message: {
6523
+ type: 'string',
5779
6524
  },
5780
- outcome: {
6525
+ occasion: {
5781
6526
  anyOf: [
5782
6527
  {
5783
- const: 'dismissed',
6528
+ const: 'anniversary',
5784
6529
  type: 'string',
5785
6530
  },
5786
6531
  {
5787
- const: 'shared',
6532
+ const: 'birthday',
5788
6533
  type: 'string',
5789
6534
  },
5790
6535
  {
5791
- const: 'shown',
6536
+ const: 'praise',
6537
+ type: 'string',
6538
+ },
6539
+ {
6540
+ const: 'welcome',
5792
6541
  type: 'string',
5793
6542
  },
5794
6543
  ],
5795
6544
  },
5796
- requestKey: {
5797
- maxLength: 128,
5798
- minLength: 1,
6545
+ occasionDate: {
5799
6546
  type: 'string',
5800
6547
  },
5801
- },
5802
- required: ['achievement', 'outcome', 'confirm', 'requestKey'],
5803
- type: 'object',
5804
- },
5805
- path: ['getStarted', 'celebrate'],
5806
- permission: 'getStarted.celebrate',
5807
- scope: 'profile:write',
5808
- summary: 'Record that a celebration was shown, shared or dismissed',
5809
- },
5810
- {
5811
- access: 'read',
5812
- command: ['get-started', 'celebration'],
5813
- input: {
5814
- $schema: 'https://json-schema.org/draft/2020-12/schema',
5815
- additionalProperties: false,
5816
- properties: {},
5817
- type: 'object',
5818
- },
5819
- path: ['getStarted', 'celebration'],
5820
- permission: 'getStarted.celebration',
5821
- scope: 'self:read',
5822
- summary: 'Read the first-action celebration waiting for you, if any',
5823
- },
5824
- {
5825
- access: 'write',
5826
- command: ['get-started', 'dismiss'],
5827
- input: {
5828
- $schema: 'https://json-schema.org/draft/2020-12/schema',
5829
- additionalProperties: false,
5830
- properties: {
5831
- confirm: {
5832
- const: 'getStarted.dismiss',
6548
+ personId: {
6549
+ type: 'string',
6550
+ },
6551
+ praiseId: {
5833
6552
  type: 'string',
5834
6553
  },
5835
6554
  requestKey: {
@@ -5838,23 +6557,23 @@ export const commands = [
5838
6557
  type: 'string',
5839
6558
  },
5840
6559
  },
5841
- required: ['confirm', 'requestKey'],
6560
+ required: ['occasion', 'personId', 'confirm', 'requestKey'],
5842
6561
  type: 'object',
5843
6562
  },
5844
- path: ['getStarted', 'dismiss'],
5845
- permission: 'getStarted.dismiss',
5846
- scope: 'profile:write',
5847
- summary: 'Hide the Get started card',
6563
+ path: ['gifts', 'draft'],
6564
+ permission: 'gifts.draft',
6565
+ scope: 'celebrations:write',
6566
+ summary: 'Draft a gift for someone, such as a reward for their praise',
5848
6567
  },
5849
6568
  {
5850
6569
  access: 'write',
5851
- command: ['get-started', 'draft-intro'],
6570
+ command: ['gifts', 'draft-upcoming'],
5852
6571
  input: {
5853
6572
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5854
6573
  additionalProperties: false,
5855
6574
  properties: {
5856
6575
  confirm: {
5857
- const: 'getStarted.draftIntro',
6576
+ const: 'gifts.draftUpcoming',
5858
6577
  type: 'string',
5859
6578
  },
5860
6579
  requestKey: {
@@ -5866,107 +6585,169 @@ export const commands = [
5866
6585
  required: ['confirm', 'requestKey'],
5867
6586
  type: 'object',
5868
6587
  },
5869
- path: ['getStarted', 'draftIntro'],
5870
- permission: 'getStarted.draftIntro',
5871
- scope: 'profile:write',
5872
- summary: 'Draft a short hello to your coworkers with Mello; nothing is posted',
6588
+ path: ['gifts', 'draftUpcoming'],
6589
+ permission: 'gifts.draftUpcoming',
6590
+ scope: 'celebrations:write',
6591
+ summary: 'Draft the gifts for the next two weeks of occasions now',
5873
6592
  },
5874
6593
  {
5875
6594
  access: 'read',
5876
- command: ['get-started', 'get'],
6595
+ command: ['gifts', 'options'],
5877
6596
  input: {
5878
6597
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5879
6598
  additionalProperties: false,
5880
6599
  properties: {},
5881
6600
  type: 'object',
5882
6601
  },
5883
- path: ['getStarted', 'get'],
5884
- permission: 'getStarted.get',
5885
- scope: 'self:read',
5886
- summary: 'Read your own Get started steps and whether the welcome still shows',
6602
+ path: ['gifts', 'options'],
6603
+ permission: 'gifts.options',
6604
+ scope: 'celebrations:read',
6605
+ summary: 'List the Tremendous funding sources and campaigns gifts can use',
5887
6606
  },
5888
6607
  {
5889
6608
  access: 'write',
5890
- command: ['get-started', 'intro'],
6609
+ command: ['gifts', 'save'],
5891
6610
  input: {
5892
6611
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5893
- anyOf: [
5894
- {
6612
+ additionalProperties: false,
6613
+ properties: {
6614
+ budgets: {
5895
6615
  additionalProperties: false,
5896
6616
  properties: {
5897
- action: {
5898
- const: 'post',
5899
- type: 'string',
6617
+ anniversary: {
6618
+ additionalProperties: false,
6619
+ properties: {
6620
+ amount: {
6621
+ type: 'number',
6622
+ },
6623
+ enabled: {
6624
+ type: 'boolean',
6625
+ },
6626
+ },
6627
+ required: ['amount', 'enabled'],
6628
+ type: 'object',
5900
6629
  },
5901
- confirm: {
5902
- const: 'getStarted.intro',
5903
- type: 'string',
6630
+ birthday: {
6631
+ additionalProperties: false,
6632
+ properties: {
6633
+ amount: {
6634
+ type: 'number',
6635
+ },
6636
+ enabled: {
6637
+ type: 'boolean',
6638
+ },
6639
+ },
6640
+ required: ['amount', 'enabled'],
6641
+ type: 'object',
5904
6642
  },
5905
- requestKey: {
5906
- maxLength: 128,
5907
- minLength: 1,
5908
- type: 'string',
6643
+ praise: {
6644
+ additionalProperties: false,
6645
+ properties: {
6646
+ amount: {
6647
+ type: 'number',
6648
+ },
6649
+ enabled: {
6650
+ type: 'boolean',
6651
+ },
6652
+ },
6653
+ required: ['amount', 'enabled'],
6654
+ type: 'object',
5909
6655
  },
5910
- text: {
5911
- type: 'string',
6656
+ welcome: {
6657
+ additionalProperties: false,
6658
+ properties: {
6659
+ amount: {
6660
+ type: 'number',
6661
+ },
6662
+ enabled: {
6663
+ type: 'boolean',
6664
+ },
6665
+ },
6666
+ required: ['amount', 'enabled'],
6667
+ type: 'object',
5912
6668
  },
5913
6669
  },
5914
- required: ['action', 'text', 'confirm', 'requestKey'],
5915
6670
  type: 'object',
5916
6671
  },
5917
- {
5918
- additionalProperties: false,
5919
- properties: {
5920
- action: {
5921
- const: 'skip',
6672
+ campaignId: {
6673
+ type: 'string',
6674
+ },
6675
+ confirm: {
6676
+ const: 'gifts.save',
6677
+ type: 'string',
6678
+ },
6679
+ currency: {
6680
+ anyOf: [
6681
+ {
6682
+ const: 'AUD',
5922
6683
  type: 'string',
5923
6684
  },
5924
- confirm: {
5925
- const: 'getStarted.intro',
6685
+ {
6686
+ const: 'CAD',
5926
6687
  type: 'string',
5927
6688
  },
5928
- requestKey: {
5929
- maxLength: 128,
5930
- minLength: 1,
6689
+ {
6690
+ const: 'EUR',
5931
6691
  type: 'string',
5932
6692
  },
5933
- },
5934
- required: ['action', 'confirm', 'requestKey'],
5935
- type: 'object',
6693
+ {
6694
+ const: 'GBP',
6695
+ type: 'string',
6696
+ },
6697
+ {
6698
+ const: 'USD',
6699
+ type: 'string',
6700
+ },
6701
+ ],
5936
6702
  },
5937
- ],
6703
+ fundingSourceId: {
6704
+ type: 'string',
6705
+ },
6706
+ message: {
6707
+ type: ['null', 'string'],
6708
+ },
6709
+ monthlyCap: {
6710
+ type: ['null', 'number'],
6711
+ },
6712
+ ordering: {
6713
+ anyOf: [
6714
+ {
6715
+ const: false,
6716
+ type: 'boolean',
6717
+ },
6718
+ {
6719
+ const: true,
6720
+ type: 'boolean',
6721
+ },
6722
+ ],
6723
+ },
6724
+ requestKey: {
6725
+ maxLength: 128,
6726
+ minLength: 1,
6727
+ type: 'string',
6728
+ },
6729
+ },
6730
+ required: ['confirm', 'requestKey'],
6731
+ type: 'object',
5938
6732
  },
5939
- path: ['getStarted', 'intro'],
5940
- permission: 'getStarted.intro',
5941
- scope: 'profile:write',
5942
- summary: 'Post your hello on Home, or skip it',
6733
+ path: ['gifts', 'save'],
6734
+ permission: 'gifts.save',
6735
+ scope: 'celebrations:write',
6736
+ summary: 'Save gift budgets, the monthly cap and where gifts are paid from',
5943
6737
  },
5944
6738
  {
5945
6739
  access: 'write',
5946
- command: ['get-started', 'wizard'],
6740
+ command: ['gifts', 'skip'],
5947
6741
  input: {
5948
6742
  $schema: 'https://json-schema.org/draft/2020-12/schema',
5949
6743
  additionalProperties: false,
5950
6744
  properties: {
5951
6745
  confirm: {
5952
- const: 'getStarted.wizard',
6746
+ const: 'gifts.skip',
5953
6747
  type: 'string',
5954
6748
  },
5955
- outcome: {
5956
- anyOf: [
5957
- {
5958
- const: 'finished',
5959
- type: 'string',
5960
- },
5961
- {
5962
- const: 'opened',
5963
- type: 'string',
5964
- },
5965
- {
5966
- const: 'skipped',
5967
- type: 'string',
5968
- },
5969
- ],
6749
+ giftId: {
6750
+ type: 'string',
5970
6751
  },
5971
6752
  requestKey: {
5972
6753
  maxLength: 128,
@@ -5974,13 +6755,13 @@ export const commands = [
5974
6755
  type: 'string',
5975
6756
  },
5976
6757
  },
5977
- required: ['outcome', 'confirm', 'requestKey'],
6758
+ required: ['giftId', 'confirm', 'requestKey'],
5978
6759
  type: 'object',
5979
6760
  },
5980
- path: ['getStarted', 'wizard'],
5981
- permission: 'getStarted.wizard',
5982
- scope: 'profile:write',
5983
- summary: 'Record that you opened, finished or skipped the welcome',
6761
+ path: ['gifts', 'skip'],
6762
+ permission: 'gifts.skip',
6763
+ scope: 'celebrations:write',
6764
+ summary: 'Skip this gift; nothing is sent',
5984
6765
  },
5985
6766
  {
5986
6767
  access: 'read',
@@ -11677,6 +12458,34 @@ export const commands = [
11677
12458
  minLength: 1,
11678
12459
  type: 'string',
11679
12460
  },
12461
+ shippingAddress: {
12462
+ additionalProperties: false,
12463
+ properties: {
12464
+ city: {
12465
+ type: 'string',
12466
+ },
12467
+ country: {
12468
+ type: 'string',
12469
+ },
12470
+ line1: {
12471
+ type: 'string',
12472
+ },
12473
+ line2: {
12474
+ type: 'string',
12475
+ },
12476
+ phone: {
12477
+ type: 'string',
12478
+ },
12479
+ postalCode: {
12480
+ type: 'string',
12481
+ },
12482
+ region: {
12483
+ type: 'string',
12484
+ },
12485
+ },
12486
+ required: ['city', 'country', 'line1', 'postalCode'],
12487
+ type: 'object',
12488
+ },
11680
12489
  stepId: {
11681
12490
  type: 'string',
11682
12491
  },
@@ -12639,6 +13448,31 @@ export const commands = [
12639
13448
  },
12640
13449
  ],
12641
13450
  },
13451
+ device: {
13452
+ additionalProperties: false,
13453
+ properties: {
13454
+ model: {
13455
+ type: ['null', 'string'],
13456
+ },
13457
+ operation: {
13458
+ anyOf: [
13459
+ {
13460
+ const: 'order',
13461
+ type: 'string',
13462
+ },
13463
+ {
13464
+ const: 'return',
13465
+ type: 'string',
13466
+ },
13467
+ ],
13468
+ },
13469
+ skuId: {
13470
+ type: ['null', 'string'],
13471
+ },
13472
+ },
13473
+ required: ['operation'],
13474
+ type: 'object',
13475
+ },
12642
13476
  formFields: {
12643
13477
  items: {
12644
13478
  anyOf: [
@@ -12662,6 +13496,10 @@ export const commands = [
12662
13496
  const: 'pronouns',
12663
13497
  type: 'string',
12664
13498
  },
13499
+ {
13500
+ const: 'shippingAddress',
13501
+ type: 'string',
13502
+ },
12665
13503
  ],
12666
13504
  },
12667
13505
  type: 'array',
@@ -12679,6 +13517,10 @@ export const commands = [
12679
13517
  const: 'checkpoint',
12680
13518
  type: 'string',
12681
13519
  },
13520
+ {
13521
+ const: 'device',
13522
+ type: 'string',
13523
+ },
12682
13524
  {
12683
13525
  const: 'form',
12684
13526
  type: 'string',