@shuffl/api-contracts 0.5.2 → 0.5.4

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/openapi.json CHANGED
@@ -35635,6 +35635,9 @@
35635
35635
  {
35636
35636
  "const": "network.claim"
35637
35637
  },
35638
+ {
35639
+ "const": "network.introductions"
35640
+ },
35638
35641
  {
35639
35642
  "const": "network.mine"
35640
35643
  },
@@ -35734,6 +35737,9 @@
35734
35737
  {
35735
35738
  "const": "playbooks.plans"
35736
35739
  },
35740
+ {
35741
+ "const": "playbooks.previewAs"
35742
+ },
35737
35743
  {
35738
35744
  "const": "playbooks.previewEnrollment"
35739
35745
  },
@@ -37369,6 +37375,9 @@
37369
37375
  {
37370
37376
  "const": "network.claim"
37371
37377
  },
37378
+ {
37379
+ "const": "network.introductions"
37380
+ },
37372
37381
  {
37373
37382
  "const": "network.mine"
37374
37383
  },
@@ -37468,6 +37477,9 @@
37468
37477
  {
37469
37478
  "const": "playbooks.plans"
37470
37479
  },
37480
+ {
37481
+ "const": "playbooks.previewAs"
37482
+ },
37471
37483
  {
37472
37484
  "const": "playbooks.previewEnrollment"
37473
37485
  },
@@ -38678,6 +38690,9 @@
38678
38690
  {
38679
38691
  "const": "network.claim"
38680
38692
  },
38693
+ {
38694
+ "const": "network.introductions"
38695
+ },
38681
38696
  {
38682
38697
  "const": "network.mine"
38683
38698
  },
@@ -38777,6 +38792,9 @@
38777
38792
  {
38778
38793
  "const": "playbooks.plans"
38779
38794
  },
38795
+ {
38796
+ "const": "playbooks.previewAs"
38797
+ },
38780
38798
  {
38781
38799
  "const": "playbooks.previewEnrollment"
38782
38800
  },
@@ -48948,9 +48966,21 @@
48948
48966
  }
48949
48967
  ]
48950
48968
  },
48969
+ "notFor": {
48970
+ "type": "array",
48971
+ "items": {
48972
+ "type": "string"
48973
+ }
48974
+ },
48951
48975
  "offsetDays": {
48952
48976
  "type": "number"
48953
48977
  },
48978
+ "onlyFor": {
48979
+ "type": "array",
48980
+ "items": {
48981
+ "type": "string"
48982
+ }
48983
+ },
48954
48984
  "personId": {
48955
48985
  "anyOf": [
48956
48986
  {
@@ -72230,6 +72260,9 @@
72230
72260
  {
72231
72261
  "const": "communities"
72232
72262
  },
72263
+ {
72264
+ "const": "connections"
72265
+ },
72233
72266
  {
72234
72267
  "const": "knowledge"
72235
72268
  },
@@ -114314,10 +114347,10 @@
114314
114347
  "x-shuffl-permission": "network.claim"
114315
114348
  }
114316
114349
  },
114317
- "/manage/network/mine": {
114350
+ "/manage/network/introductions": {
114318
114351
  "post": {
114319
- "operationId": "network.mine",
114320
- "summary": "Who you know and who you should meet",
114352
+ "operationId": "network.introductions",
114353
+ "summary": "Your Connections programs, when your next introduction goes out, and who you met",
114321
114354
  "requestBody": {
114322
114355
  "required": true,
114323
114356
  "content": {
@@ -114339,156 +114372,839 @@
114339
114372
  {
114340
114373
  "type": "object",
114341
114374
  "properties": {
114342
- "linked": {
114343
- "const": false
114344
- },
114345
- "noSuggestions": {
114346
- "type": "null"
114347
- },
114348
- "suggestions": {
114375
+ "past": {
114349
114376
  "type": "array",
114350
114377
  "items": {
114351
114378
  "type": "object",
114352
114379
  "properties": {
114353
- "basis": {
114354
- "anyOf": [
114355
- {
114356
- "const": "mutual"
114357
- },
114358
- {
114359
- "const": "new"
114360
- }
114361
- ]
114380
+ "at": {
114381
+ "type": "string",
114382
+ "format": "date-time"
114362
114383
  },
114363
114384
  "id": {
114364
114385
  "type": "string"
114365
114386
  },
114366
- "intro": {
114367
- "anyOf": [
114368
- {
114369
- "type": "null"
114370
- },
114371
- {
114372
- "type": "object",
114373
- "properties": {
114374
- "state": {
114375
- "anyOf": [
114376
- {
114377
- "const": "asked"
114378
- },
114379
- {
114380
- "const": "introduced"
114381
- },
114382
- {
114383
- "const": "not_this_time"
114384
- }
114385
- ]
114386
- },
114387
- "viaId": {
114388
- "type": "string"
114389
- }
114390
- },
114391
- "required": [
114392
- "state",
114393
- "viaId"
114394
- ],
114395
- "additionalProperties": false
114396
- }
114397
- ]
114387
+ "program": {
114388
+ "type": "string"
114398
114389
  },
114399
- "introVia": {
114390
+ "with": {
114391
+ "type": "array",
114392
+ "items": {
114393
+ "type": "object",
114394
+ "properties": {
114395
+ "id": {
114396
+ "type": "string"
114397
+ },
114398
+ "name": {
114399
+ "type": "string"
114400
+ },
114401
+ "photoUrl": {
114402
+ "anyOf": [
114403
+ {
114404
+ "type": "null"
114405
+ },
114406
+ {
114407
+ "type": "string"
114408
+ }
114409
+ ]
114410
+ },
114411
+ "slackUserId": {
114412
+ "anyOf": [
114413
+ {
114414
+ "type": "null"
114415
+ },
114416
+ {
114417
+ "type": "string"
114418
+ }
114419
+ ]
114420
+ },
114421
+ "title": {
114422
+ "anyOf": [
114423
+ {
114424
+ "type": "null"
114425
+ },
114426
+ {
114427
+ "type": "string"
114428
+ }
114429
+ ]
114430
+ }
114431
+ },
114432
+ "required": [
114433
+ "id",
114434
+ "name",
114435
+ "photoUrl",
114436
+ "slackUserId",
114437
+ "title"
114438
+ ],
114439
+ "additionalProperties": false
114440
+ }
114441
+ }
114442
+ },
114443
+ "required": [
114444
+ "at",
114445
+ "id",
114446
+ "program",
114447
+ "with"
114448
+ ],
114449
+ "additionalProperties": false
114450
+ }
114451
+ },
114452
+ "programs": {
114453
+ "type": "array",
114454
+ "items": {
114455
+ "type": "object",
114456
+ "properties": {
114457
+ "breakUntil": {
114400
114458
  "anyOf": [
114401
114459
  {
114402
114460
  "type": "null"
114403
114461
  },
114404
114462
  {
114405
- "type": "object",
114406
- "properties": {
114407
- "id": {
114408
- "type": "string"
114409
- },
114410
- "name": {
114411
- "type": "string"
114412
- },
114413
- "photoUrl": {
114414
- "anyOf": [
114415
- {
114416
- "type": "null"
114417
- },
114418
- {
114419
- "type": "string"
114420
- }
114421
- ]
114422
- },
114423
- "slackUserId": {
114424
- "anyOf": [
114425
- {
114426
- "type": "null"
114427
- },
114428
- {
114429
- "type": "string"
114430
- }
114431
- ]
114432
- },
114433
- "title": {
114434
- "anyOf": [
114435
- {
114436
- "type": "null"
114437
- },
114438
- {
114439
- "type": "string"
114440
- }
114441
- ]
114442
- },
114443
- "userId": {
114444
- "anyOf": [
114445
- {
114446
- "type": "null"
114447
- },
114448
- {
114449
- "type": "string"
114450
- }
114451
- ]
114452
- }
114453
- },
114454
- "required": [
114455
- "id",
114456
- "name",
114457
- "photoUrl",
114458
- "slackUserId",
114459
- "title",
114460
- "userId"
114461
- ],
114462
- "additionalProperties": false
114463
+ "type": "string",
114464
+ "format": "date-time"
114463
114465
  }
114464
114466
  ]
114465
114467
  },
114468
+ "id": {
114469
+ "type": "string"
114470
+ },
114466
114471
  "name": {
114467
114472
  "type": "string"
114468
114473
  },
114469
- "photoUrl": {
114474
+ "nextAt": {
114470
114475
  "anyOf": [
114471
114476
  {
114472
114477
  "type": "null"
114473
114478
  },
114474
114479
  {
114475
- "type": "string"
114480
+ "type": "string",
114481
+ "format": "date-time"
114476
114482
  }
114477
114483
  ]
114484
+ }
114485
+ },
114486
+ "required": [
114487
+ "breakUntil",
114488
+ "id",
114489
+ "name",
114490
+ "nextAt"
114491
+ ],
114492
+ "additionalProperties": false
114493
+ }
114494
+ },
114495
+ "total": {
114496
+ "type": "number"
114497
+ }
114498
+ },
114499
+ "required": [
114500
+ "past",
114501
+ "programs",
114502
+ "total"
114503
+ ],
114504
+ "additionalProperties": false
114505
+ },
114506
+ {
114507
+ "type": "object",
114508
+ "properties": {
114509
+ "past": {
114510
+ "type": "array",
114511
+ "items": {
114512
+ "type": "object",
114513
+ "properties": {
114514
+ "at": {
114515
+ "type": "string",
114516
+ "format": "date-time"
114478
114517
  },
114479
- "praised": {
114480
- "type": "boolean"
114481
- },
114482
- "reasons": {
114483
- "type": "array",
114484
- "items": {
114485
- "type": "string"
114486
- }
114518
+ "id": {
114519
+ "type": "string"
114487
114520
  },
114488
- "score": {
114489
- "type": "number"
114521
+ "program": {
114522
+ "type": "string"
114490
114523
  },
114491
- "shared": {
114524
+ "with": {
114525
+ "type": "array",
114526
+ "items": {
114527
+ "type": "object",
114528
+ "properties": {
114529
+ "id": {
114530
+ "type": "string"
114531
+ },
114532
+ "name": {
114533
+ "type": "string"
114534
+ },
114535
+ "photoUrl": {
114536
+ "anyOf": [
114537
+ {
114538
+ "type": "null"
114539
+ },
114540
+ {
114541
+ "type": "string"
114542
+ }
114543
+ ]
114544
+ },
114545
+ "slackUserId": {
114546
+ "anyOf": [
114547
+ {
114548
+ "type": "null"
114549
+ },
114550
+ {
114551
+ "type": "string"
114552
+ }
114553
+ ]
114554
+ },
114555
+ "title": {
114556
+ "anyOf": [
114557
+ {
114558
+ "type": "null"
114559
+ },
114560
+ {
114561
+ "type": "string"
114562
+ }
114563
+ ]
114564
+ }
114565
+ },
114566
+ "required": [
114567
+ "id",
114568
+ "name",
114569
+ "photoUrl",
114570
+ "slackUserId",
114571
+ "title"
114572
+ ],
114573
+ "additionalProperties": false
114574
+ }
114575
+ }
114576
+ },
114577
+ "required": [
114578
+ "at",
114579
+ "id",
114580
+ "program",
114581
+ "with"
114582
+ ],
114583
+ "additionalProperties": false
114584
+ }
114585
+ },
114586
+ "programs": {
114587
+ "type": "array",
114588
+ "items": {
114589
+ "not": {}
114590
+ }
114591
+ },
114592
+ "total": {
114593
+ "type": "number"
114594
+ }
114595
+ },
114596
+ "required": [
114597
+ "past",
114598
+ "programs",
114599
+ "total"
114600
+ ],
114601
+ "additionalProperties": false
114602
+ }
114603
+ ]
114604
+ }
114605
+ }
114606
+ }
114607
+ },
114608
+ "400": {
114609
+ "description": "400",
114610
+ "content": {
114611
+ "application/json": {
114612
+ "schema": {
114613
+ "oneOf": [
114614
+ {
114615
+ "type": "object",
114616
+ "properties": {
114617
+ "defined": {
114618
+ "const": true
114619
+ },
114620
+ "code": {
114621
+ "const": "BAD_REQUEST"
114622
+ },
114623
+ "status": {
114624
+ "const": 400
114625
+ },
114626
+ "message": {
114627
+ "type": "string",
114628
+ "default": "Check the request input."
114629
+ },
114630
+ "data": {}
114631
+ },
114632
+ "required": [
114633
+ "defined",
114634
+ "code",
114635
+ "status",
114636
+ "message"
114637
+ ]
114638
+ },
114639
+ {
114640
+ "type": "object",
114641
+ "properties": {
114642
+ "defined": {
114643
+ "const": false
114644
+ },
114645
+ "code": {
114646
+ "type": "string"
114647
+ },
114648
+ "status": {
114649
+ "type": "number"
114650
+ },
114651
+ "message": {
114652
+ "type": "string"
114653
+ },
114654
+ "data": {}
114655
+ },
114656
+ "required": [
114657
+ "defined",
114658
+ "code",
114659
+ "status",
114660
+ "message"
114661
+ ]
114662
+ }
114663
+ ]
114664
+ }
114665
+ }
114666
+ }
114667
+ },
114668
+ "401": {
114669
+ "description": "401",
114670
+ "content": {
114671
+ "application/json": {
114672
+ "schema": {
114673
+ "oneOf": [
114674
+ {
114675
+ "type": "object",
114676
+ "properties": {
114677
+ "defined": {
114678
+ "const": true
114679
+ },
114680
+ "code": {
114681
+ "const": "UNAUTHORIZED"
114682
+ },
114683
+ "status": {
114684
+ "const": 401
114685
+ },
114686
+ "message": {
114687
+ "type": "string",
114688
+ "default": "A valid Shuffl API token is required."
114689
+ },
114690
+ "data": {}
114691
+ },
114692
+ "required": [
114693
+ "defined",
114694
+ "code",
114695
+ "status",
114696
+ "message"
114697
+ ]
114698
+ },
114699
+ {
114700
+ "type": "object",
114701
+ "properties": {
114702
+ "defined": {
114703
+ "const": false
114704
+ },
114705
+ "code": {
114706
+ "type": "string"
114707
+ },
114708
+ "status": {
114709
+ "type": "number"
114710
+ },
114711
+ "message": {
114712
+ "type": "string"
114713
+ },
114714
+ "data": {}
114715
+ },
114716
+ "required": [
114717
+ "defined",
114718
+ "code",
114719
+ "status",
114720
+ "message"
114721
+ ]
114722
+ }
114723
+ ]
114724
+ }
114725
+ }
114726
+ }
114727
+ },
114728
+ "403": {
114729
+ "description": "403",
114730
+ "content": {
114731
+ "application/json": {
114732
+ "schema": {
114733
+ "oneOf": [
114734
+ {
114735
+ "type": "object",
114736
+ "properties": {
114737
+ "defined": {
114738
+ "const": true
114739
+ },
114740
+ "code": {
114741
+ "const": "FORBIDDEN"
114742
+ },
114743
+ "status": {
114744
+ "const": 403
114745
+ },
114746
+ "message": {
114747
+ "type": "string",
114748
+ "default": "This token or team role does not permit the operation."
114749
+ },
114750
+ "data": {}
114751
+ },
114752
+ "required": [
114753
+ "defined",
114754
+ "code",
114755
+ "status",
114756
+ "message"
114757
+ ]
114758
+ },
114759
+ {
114760
+ "type": "object",
114761
+ "properties": {
114762
+ "defined": {
114763
+ "const": false
114764
+ },
114765
+ "code": {
114766
+ "type": "string"
114767
+ },
114768
+ "status": {
114769
+ "type": "number"
114770
+ },
114771
+ "message": {
114772
+ "type": "string"
114773
+ },
114774
+ "data": {}
114775
+ },
114776
+ "required": [
114777
+ "defined",
114778
+ "code",
114779
+ "status",
114780
+ "message"
114781
+ ]
114782
+ }
114783
+ ]
114784
+ }
114785
+ }
114786
+ }
114787
+ },
114788
+ "404": {
114789
+ "description": "404",
114790
+ "content": {
114791
+ "application/json": {
114792
+ "schema": {
114793
+ "oneOf": [
114794
+ {
114795
+ "type": "object",
114796
+ "properties": {
114797
+ "defined": {
114798
+ "const": true
114799
+ },
114800
+ "code": {
114801
+ "const": "NOT_FOUND"
114802
+ },
114803
+ "status": {
114804
+ "const": 404
114805
+ },
114806
+ "message": {
114807
+ "type": "string",
114808
+ "default": "The requested resource was not found."
114809
+ },
114810
+ "data": {}
114811
+ },
114812
+ "required": [
114813
+ "defined",
114814
+ "code",
114815
+ "status",
114816
+ "message"
114817
+ ]
114818
+ },
114819
+ {
114820
+ "type": "object",
114821
+ "properties": {
114822
+ "defined": {
114823
+ "const": false
114824
+ },
114825
+ "code": {
114826
+ "type": "string"
114827
+ },
114828
+ "status": {
114829
+ "type": "number"
114830
+ },
114831
+ "message": {
114832
+ "type": "string"
114833
+ },
114834
+ "data": {}
114835
+ },
114836
+ "required": [
114837
+ "defined",
114838
+ "code",
114839
+ "status",
114840
+ "message"
114841
+ ]
114842
+ }
114843
+ ]
114844
+ }
114845
+ }
114846
+ }
114847
+ },
114848
+ "409": {
114849
+ "description": "409",
114850
+ "content": {
114851
+ "application/json": {
114852
+ "schema": {
114853
+ "oneOf": [
114854
+ {
114855
+ "type": "object",
114856
+ "properties": {
114857
+ "defined": {
114858
+ "const": true
114859
+ },
114860
+ "code": {
114861
+ "const": "CONFLICT"
114862
+ },
114863
+ "status": {
114864
+ "const": 409
114865
+ },
114866
+ "message": {
114867
+ "type": "string",
114868
+ "default": "The resource changed or the request key was reused."
114869
+ },
114870
+ "data": {}
114871
+ },
114872
+ "required": [
114873
+ "defined",
114874
+ "code",
114875
+ "status",
114876
+ "message"
114877
+ ]
114878
+ },
114879
+ {
114880
+ "type": "object",
114881
+ "properties": {
114882
+ "defined": {
114883
+ "const": false
114884
+ },
114885
+ "code": {
114886
+ "type": "string"
114887
+ },
114888
+ "status": {
114889
+ "type": "number"
114890
+ },
114891
+ "message": {
114892
+ "type": "string"
114893
+ },
114894
+ "data": {}
114895
+ },
114896
+ "required": [
114897
+ "defined",
114898
+ "code",
114899
+ "status",
114900
+ "message"
114901
+ ]
114902
+ }
114903
+ ]
114904
+ }
114905
+ }
114906
+ }
114907
+ },
114908
+ "412": {
114909
+ "description": "412",
114910
+ "content": {
114911
+ "application/json": {
114912
+ "schema": {
114913
+ "oneOf": [
114914
+ {
114915
+ "type": "object",
114916
+ "properties": {
114917
+ "defined": {
114918
+ "const": true
114919
+ },
114920
+ "code": {
114921
+ "const": "PRECONDITION_FAILED"
114922
+ },
114923
+ "status": {
114924
+ "const": 412
114925
+ },
114926
+ "message": {
114927
+ "type": "string",
114928
+ "default": "The team is not ready for this operation."
114929
+ },
114930
+ "data": {}
114931
+ },
114932
+ "required": [
114933
+ "defined",
114934
+ "code",
114935
+ "status",
114936
+ "message"
114937
+ ]
114938
+ },
114939
+ {
114940
+ "type": "object",
114941
+ "properties": {
114942
+ "defined": {
114943
+ "const": false
114944
+ },
114945
+ "code": {
114946
+ "type": "string"
114947
+ },
114948
+ "status": {
114949
+ "type": "number"
114950
+ },
114951
+ "message": {
114952
+ "type": "string"
114953
+ },
114954
+ "data": {}
114955
+ },
114956
+ "required": [
114957
+ "defined",
114958
+ "code",
114959
+ "status",
114960
+ "message"
114961
+ ]
114962
+ }
114963
+ ]
114964
+ }
114965
+ }
114966
+ }
114967
+ },
114968
+ "429": {
114969
+ "description": "429",
114970
+ "content": {
114971
+ "application/json": {
114972
+ "schema": {
114973
+ "oneOf": [
114974
+ {
114975
+ "type": "object",
114976
+ "properties": {
114977
+ "defined": {
114978
+ "const": true
114979
+ },
114980
+ "code": {
114981
+ "const": "TOO_MANY_REQUESTS"
114982
+ },
114983
+ "status": {
114984
+ "const": 429
114985
+ },
114986
+ "message": {
114987
+ "type": "string",
114988
+ "default": "Too many requests. Try again shortly."
114989
+ },
114990
+ "data": {}
114991
+ },
114992
+ "required": [
114993
+ "defined",
114994
+ "code",
114995
+ "status",
114996
+ "message"
114997
+ ]
114998
+ },
114999
+ {
115000
+ "type": "object",
115001
+ "properties": {
115002
+ "defined": {
115003
+ "const": false
115004
+ },
115005
+ "code": {
115006
+ "type": "string"
115007
+ },
115008
+ "status": {
115009
+ "type": "number"
115010
+ },
115011
+ "message": {
115012
+ "type": "string"
115013
+ },
115014
+ "data": {}
115015
+ },
115016
+ "required": [
115017
+ "defined",
115018
+ "code",
115019
+ "status",
115020
+ "message"
115021
+ ]
115022
+ }
115023
+ ]
115024
+ }
115025
+ }
115026
+ }
115027
+ }
115028
+ },
115029
+ "x-shuffl-access": "read",
115030
+ "x-shuffl-permission": "network.introductions"
115031
+ }
115032
+ },
115033
+ "/manage/network/mine": {
115034
+ "post": {
115035
+ "operationId": "network.mine",
115036
+ "summary": "Who you know and who you should meet",
115037
+ "requestBody": {
115038
+ "required": true,
115039
+ "content": {
115040
+ "application/json": {
115041
+ "schema": {
115042
+ "type": "object",
115043
+ "additionalProperties": false
115044
+ }
115045
+ }
115046
+ }
115047
+ },
115048
+ "responses": {
115049
+ "200": {
115050
+ "description": "OK",
115051
+ "content": {
115052
+ "application/json": {
115053
+ "schema": {
115054
+ "anyOf": [
115055
+ {
115056
+ "type": "object",
115057
+ "properties": {
115058
+ "linked": {
115059
+ "const": false
115060
+ },
115061
+ "noSuggestions": {
115062
+ "type": "null"
115063
+ },
115064
+ "suggestions": {
115065
+ "type": "array",
115066
+ "items": {
115067
+ "type": "object",
115068
+ "properties": {
115069
+ "basis": {
115070
+ "anyOf": [
115071
+ {
115072
+ "const": "mutual"
115073
+ },
115074
+ {
115075
+ "const": "new"
115076
+ }
115077
+ ]
115078
+ },
115079
+ "id": {
115080
+ "type": "string"
115081
+ },
115082
+ "intro": {
115083
+ "anyOf": [
115084
+ {
115085
+ "type": "null"
115086
+ },
115087
+ {
115088
+ "type": "object",
115089
+ "properties": {
115090
+ "state": {
115091
+ "anyOf": [
115092
+ {
115093
+ "const": "asked"
115094
+ },
115095
+ {
115096
+ "const": "introduced"
115097
+ },
115098
+ {
115099
+ "const": "not_this_time"
115100
+ }
115101
+ ]
115102
+ },
115103
+ "viaId": {
115104
+ "type": "string"
115105
+ }
115106
+ },
115107
+ "required": [
115108
+ "state",
115109
+ "viaId"
115110
+ ],
115111
+ "additionalProperties": false
115112
+ }
115113
+ ]
115114
+ },
115115
+ "introVia": {
115116
+ "anyOf": [
115117
+ {
115118
+ "type": "null"
115119
+ },
115120
+ {
115121
+ "type": "object",
115122
+ "properties": {
115123
+ "id": {
115124
+ "type": "string"
115125
+ },
115126
+ "name": {
115127
+ "type": "string"
115128
+ },
115129
+ "photoUrl": {
115130
+ "anyOf": [
115131
+ {
115132
+ "type": "null"
115133
+ },
115134
+ {
115135
+ "type": "string"
115136
+ }
115137
+ ]
115138
+ },
115139
+ "slackUserId": {
115140
+ "anyOf": [
115141
+ {
115142
+ "type": "null"
115143
+ },
115144
+ {
115145
+ "type": "string"
115146
+ }
115147
+ ]
115148
+ },
115149
+ "title": {
115150
+ "anyOf": [
115151
+ {
115152
+ "type": "null"
115153
+ },
115154
+ {
115155
+ "type": "string"
115156
+ }
115157
+ ]
115158
+ },
115159
+ "userId": {
115160
+ "anyOf": [
115161
+ {
115162
+ "type": "null"
115163
+ },
115164
+ {
115165
+ "type": "string"
115166
+ }
115167
+ ]
115168
+ }
115169
+ },
115170
+ "required": [
115171
+ "id",
115172
+ "name",
115173
+ "photoUrl",
115174
+ "slackUserId",
115175
+ "title",
115176
+ "userId"
115177
+ ],
115178
+ "additionalProperties": false
115179
+ }
115180
+ ]
115181
+ },
115182
+ "name": {
115183
+ "type": "string"
115184
+ },
115185
+ "photoUrl": {
115186
+ "anyOf": [
115187
+ {
115188
+ "type": "null"
115189
+ },
115190
+ {
115191
+ "type": "string"
115192
+ }
115193
+ ]
115194
+ },
115195
+ "praised": {
115196
+ "type": "boolean"
115197
+ },
115198
+ "reasons": {
115199
+ "type": "array",
115200
+ "items": {
115201
+ "type": "string"
115202
+ }
115203
+ },
115204
+ "score": {
115205
+ "type": "number"
115206
+ },
115207
+ "shared": {
114492
115208
  "type": "array",
114493
115209
  "items": {
114494
115210
  "type": "object",
@@ -130096,6 +130812,16 @@
130096
130812
  "items": {
130097
130813
  "type": "string"
130098
130814
  }
130815
+ },
130816
+ "track": {
130817
+ "anyOf": [
130818
+ {
130819
+ "type": "null"
130820
+ },
130821
+ {
130822
+ "type": "string"
130823
+ }
130824
+ ]
130099
130825
  }
130100
130826
  },
130101
130827
  "required": [
@@ -130110,7 +130836,8 @@
130110
130836
  "ref",
130111
130837
  "status",
130112
130838
  "title",
130113
- "todos"
130839
+ "todos",
130840
+ "track"
130114
130841
  ],
130115
130842
  "additionalProperties": false
130116
130843
  }
@@ -133754,19 +134481,875 @@
133754
134481
  }
133755
134482
  },
133756
134483
  "x-shuffl-access": "read",
133757
- "x-shuffl-permission": "playbooks.person"
134484
+ "x-shuffl-permission": "playbooks.person"
134485
+ }
134486
+ },
134487
+ "/manage/playbooks/plans": {
134488
+ "post": {
134489
+ "operationId": "playbooks.plans",
134490
+ "summary": "The 30/60/90 plans for new hires you manage, and your own once your manager shares it",
134491
+ "requestBody": {
134492
+ "required": true,
134493
+ "content": {
134494
+ "application/json": {
134495
+ "schema": {
134496
+ "type": "object",
134497
+ "additionalProperties": false
134498
+ }
134499
+ }
134500
+ }
134501
+ },
134502
+ "responses": {
134503
+ "200": {
134504
+ "description": "OK",
134505
+ "content": {
134506
+ "application/json": {
134507
+ "schema": {
134508
+ "type": "object",
134509
+ "properties": {
134510
+ "asHire": {
134511
+ "type": "array",
134512
+ "items": {
134513
+ "type": "object",
134514
+ "properties": {
134515
+ "enrollmentId": {
134516
+ "type": "string"
134517
+ },
134518
+ "manager": {
134519
+ "anyOf": [
134520
+ {
134521
+ "type": "null"
134522
+ },
134523
+ {
134524
+ "type": "object",
134525
+ "properties": {
134526
+ "id": {
134527
+ "type": "string"
134528
+ },
134529
+ "name": {
134530
+ "type": "string"
134531
+ },
134532
+ "photoUrl": {
134533
+ "anyOf": [
134534
+ {
134535
+ "type": "null"
134536
+ },
134537
+ {
134538
+ "type": "string"
134539
+ }
134540
+ ]
134541
+ },
134542
+ "slackUserId": {
134543
+ "anyOf": [
134544
+ {
134545
+ "type": "null"
134546
+ },
134547
+ {
134548
+ "type": "string"
134549
+ }
134550
+ ]
134551
+ },
134552
+ "title": {
134553
+ "anyOf": [
134554
+ {
134555
+ "type": "null"
134556
+ },
134557
+ {
134558
+ "type": "string"
134559
+ }
134560
+ ]
134561
+ },
134562
+ "userId": {
134563
+ "anyOf": [
134564
+ {
134565
+ "type": "null"
134566
+ },
134567
+ {
134568
+ "type": "string"
134569
+ }
134570
+ ]
134571
+ }
134572
+ },
134573
+ "required": [
134574
+ "id",
134575
+ "name",
134576
+ "photoUrl",
134577
+ "slackUserId",
134578
+ "title",
134579
+ "userId"
134580
+ ],
134581
+ "additionalProperties": false
134582
+ }
134583
+ ]
134584
+ },
134585
+ "plan": {
134586
+ "type": "object",
134587
+ "properties": {
134588
+ "autoDrafted": {
134589
+ "type": "boolean"
134590
+ },
134591
+ "draftedBy": {
134592
+ "anyOf": [
134593
+ {
134594
+ "type": "null"
134595
+ },
134596
+ {
134597
+ "const": "ai"
134598
+ },
134599
+ {
134600
+ "const": "rule"
134601
+ }
134602
+ ]
134603
+ },
134604
+ "goals": {
134605
+ "type": "array",
134606
+ "items": {
134607
+ "type": "object",
134608
+ "properties": {
134609
+ "doneAt": {
134610
+ "anyOf": [
134611
+ {
134612
+ "type": "null"
134613
+ },
134614
+ {
134615
+ "type": "string"
134616
+ }
134617
+ ]
134618
+ },
134619
+ "id": {
134620
+ "type": "string"
134621
+ },
134622
+ "stage": {
134623
+ "anyOf": [
134624
+ {
134625
+ "const": 30
134626
+ },
134627
+ {
134628
+ "const": 60
134629
+ },
134630
+ {
134631
+ "const": 90
134632
+ }
134633
+ ]
134634
+ },
134635
+ "text": {
134636
+ "type": "string"
134637
+ }
134638
+ },
134639
+ "required": [
134640
+ "doneAt",
134641
+ "id",
134642
+ "stage",
134643
+ "text"
134644
+ ],
134645
+ "additionalProperties": false
134646
+ }
134647
+ },
134648
+ "revision": {
134649
+ "type": "number"
134650
+ },
134651
+ "sharedAt": {
134652
+ "anyOf": [
134653
+ {
134654
+ "type": "null"
134655
+ },
134656
+ {
134657
+ "type": "string"
134658
+ }
134659
+ ]
134660
+ },
134661
+ "status": {
134662
+ "anyOf": [
134663
+ {
134664
+ "const": "draft"
134665
+ },
134666
+ {
134667
+ "const": "shared"
134668
+ }
134669
+ ]
134670
+ },
134671
+ "updatedAt": {
134672
+ "type": "string"
134673
+ }
134674
+ },
134675
+ "required": [
134676
+ "autoDrafted",
134677
+ "draftedBy",
134678
+ "goals",
134679
+ "revision",
134680
+ "sharedAt",
134681
+ "status",
134682
+ "updatedAt"
134683
+ ],
134684
+ "additionalProperties": false
134685
+ },
134686
+ "programName": {
134687
+ "type": "string"
134688
+ },
134689
+ "startDate": {
134690
+ "type": "string"
134691
+ }
134692
+ },
134693
+ "required": [
134694
+ "enrollmentId",
134695
+ "manager",
134696
+ "plan",
134697
+ "programName",
134698
+ "startDate"
134699
+ ],
134700
+ "additionalProperties": false
134701
+ }
134702
+ },
134703
+ "asManager": {
134704
+ "type": "array",
134705
+ "items": {
134706
+ "type": "object",
134707
+ "properties": {
134708
+ "enrollmentId": {
134709
+ "type": "string"
134710
+ },
134711
+ "hire": {
134712
+ "type": "object",
134713
+ "properties": {
134714
+ "id": {
134715
+ "type": "string"
134716
+ },
134717
+ "name": {
134718
+ "type": "string"
134719
+ },
134720
+ "photoUrl": {
134721
+ "anyOf": [
134722
+ {
134723
+ "type": "null"
134724
+ },
134725
+ {
134726
+ "type": "string"
134727
+ }
134728
+ ]
134729
+ },
134730
+ "slackUserId": {
134731
+ "anyOf": [
134732
+ {
134733
+ "type": "null"
134734
+ },
134735
+ {
134736
+ "type": "string"
134737
+ }
134738
+ ]
134739
+ },
134740
+ "title": {
134741
+ "anyOf": [
134742
+ {
134743
+ "type": "null"
134744
+ },
134745
+ {
134746
+ "type": "string"
134747
+ }
134748
+ ]
134749
+ },
134750
+ "userId": {
134751
+ "anyOf": [
134752
+ {
134753
+ "type": "null"
134754
+ },
134755
+ {
134756
+ "type": "string"
134757
+ }
134758
+ ]
134759
+ }
134760
+ },
134761
+ "required": [
134762
+ "id",
134763
+ "name",
134764
+ "photoUrl",
134765
+ "slackUserId",
134766
+ "title",
134767
+ "userId"
134768
+ ],
134769
+ "additionalProperties": false
134770
+ },
134771
+ "plan": {
134772
+ "anyOf": [
134773
+ {
134774
+ "type": "null"
134775
+ },
134776
+ {
134777
+ "type": "object",
134778
+ "properties": {
134779
+ "autoDrafted": {
134780
+ "type": "boolean"
134781
+ },
134782
+ "draftedBy": {
134783
+ "anyOf": [
134784
+ {
134785
+ "type": "null"
134786
+ },
134787
+ {
134788
+ "const": "ai"
134789
+ },
134790
+ {
134791
+ "const": "rule"
134792
+ }
134793
+ ]
134794
+ },
134795
+ "goals": {
134796
+ "type": "array",
134797
+ "items": {
134798
+ "type": "object",
134799
+ "properties": {
134800
+ "doneAt": {
134801
+ "anyOf": [
134802
+ {
134803
+ "type": "null"
134804
+ },
134805
+ {
134806
+ "type": "string"
134807
+ }
134808
+ ]
134809
+ },
134810
+ "id": {
134811
+ "type": "string"
134812
+ },
134813
+ "stage": {
134814
+ "anyOf": [
134815
+ {
134816
+ "const": 30
134817
+ },
134818
+ {
134819
+ "const": 60
134820
+ },
134821
+ {
134822
+ "const": 90
134823
+ }
134824
+ ]
134825
+ },
134826
+ "text": {
134827
+ "type": "string"
134828
+ }
134829
+ },
134830
+ "required": [
134831
+ "doneAt",
134832
+ "id",
134833
+ "stage",
134834
+ "text"
134835
+ ],
134836
+ "additionalProperties": false
134837
+ }
134838
+ },
134839
+ "revision": {
134840
+ "type": "number"
134841
+ },
134842
+ "sharedAt": {
134843
+ "anyOf": [
134844
+ {
134845
+ "type": "null"
134846
+ },
134847
+ {
134848
+ "type": "string"
134849
+ }
134850
+ ]
134851
+ },
134852
+ "status": {
134853
+ "anyOf": [
134854
+ {
134855
+ "const": "draft"
134856
+ },
134857
+ {
134858
+ "const": "shared"
134859
+ }
134860
+ ]
134861
+ },
134862
+ "updatedAt": {
134863
+ "type": "string"
134864
+ }
134865
+ },
134866
+ "required": [
134867
+ "autoDrafted",
134868
+ "draftedBy",
134869
+ "goals",
134870
+ "revision",
134871
+ "sharedAt",
134872
+ "status",
134873
+ "updatedAt"
134874
+ ],
134875
+ "additionalProperties": false
134876
+ }
134877
+ ]
134878
+ },
134879
+ "programName": {
134880
+ "type": "string"
134881
+ },
134882
+ "startDate": {
134883
+ "type": "string"
134884
+ }
134885
+ },
134886
+ "required": [
134887
+ "enrollmentId",
134888
+ "hire",
134889
+ "plan",
134890
+ "programName",
134891
+ "startDate"
134892
+ ],
134893
+ "additionalProperties": false
134894
+ }
134895
+ }
134896
+ },
134897
+ "required": [
134898
+ "asHire",
134899
+ "asManager"
134900
+ ],
134901
+ "additionalProperties": false
134902
+ }
134903
+ }
134904
+ }
134905
+ },
134906
+ "400": {
134907
+ "description": "400",
134908
+ "content": {
134909
+ "application/json": {
134910
+ "schema": {
134911
+ "oneOf": [
134912
+ {
134913
+ "type": "object",
134914
+ "properties": {
134915
+ "defined": {
134916
+ "const": true
134917
+ },
134918
+ "code": {
134919
+ "const": "BAD_REQUEST"
134920
+ },
134921
+ "status": {
134922
+ "const": 400
134923
+ },
134924
+ "message": {
134925
+ "type": "string",
134926
+ "default": "Check the request input."
134927
+ },
134928
+ "data": {}
134929
+ },
134930
+ "required": [
134931
+ "defined",
134932
+ "code",
134933
+ "status",
134934
+ "message"
134935
+ ]
134936
+ },
134937
+ {
134938
+ "type": "object",
134939
+ "properties": {
134940
+ "defined": {
134941
+ "const": false
134942
+ },
134943
+ "code": {
134944
+ "type": "string"
134945
+ },
134946
+ "status": {
134947
+ "type": "number"
134948
+ },
134949
+ "message": {
134950
+ "type": "string"
134951
+ },
134952
+ "data": {}
134953
+ },
134954
+ "required": [
134955
+ "defined",
134956
+ "code",
134957
+ "status",
134958
+ "message"
134959
+ ]
134960
+ }
134961
+ ]
134962
+ }
134963
+ }
134964
+ }
134965
+ },
134966
+ "401": {
134967
+ "description": "401",
134968
+ "content": {
134969
+ "application/json": {
134970
+ "schema": {
134971
+ "oneOf": [
134972
+ {
134973
+ "type": "object",
134974
+ "properties": {
134975
+ "defined": {
134976
+ "const": true
134977
+ },
134978
+ "code": {
134979
+ "const": "UNAUTHORIZED"
134980
+ },
134981
+ "status": {
134982
+ "const": 401
134983
+ },
134984
+ "message": {
134985
+ "type": "string",
134986
+ "default": "A valid Shuffl API token is required."
134987
+ },
134988
+ "data": {}
134989
+ },
134990
+ "required": [
134991
+ "defined",
134992
+ "code",
134993
+ "status",
134994
+ "message"
134995
+ ]
134996
+ },
134997
+ {
134998
+ "type": "object",
134999
+ "properties": {
135000
+ "defined": {
135001
+ "const": false
135002
+ },
135003
+ "code": {
135004
+ "type": "string"
135005
+ },
135006
+ "status": {
135007
+ "type": "number"
135008
+ },
135009
+ "message": {
135010
+ "type": "string"
135011
+ },
135012
+ "data": {}
135013
+ },
135014
+ "required": [
135015
+ "defined",
135016
+ "code",
135017
+ "status",
135018
+ "message"
135019
+ ]
135020
+ }
135021
+ ]
135022
+ }
135023
+ }
135024
+ }
135025
+ },
135026
+ "403": {
135027
+ "description": "403",
135028
+ "content": {
135029
+ "application/json": {
135030
+ "schema": {
135031
+ "oneOf": [
135032
+ {
135033
+ "type": "object",
135034
+ "properties": {
135035
+ "defined": {
135036
+ "const": true
135037
+ },
135038
+ "code": {
135039
+ "const": "FORBIDDEN"
135040
+ },
135041
+ "status": {
135042
+ "const": 403
135043
+ },
135044
+ "message": {
135045
+ "type": "string",
135046
+ "default": "This token or team role does not permit the operation."
135047
+ },
135048
+ "data": {}
135049
+ },
135050
+ "required": [
135051
+ "defined",
135052
+ "code",
135053
+ "status",
135054
+ "message"
135055
+ ]
135056
+ },
135057
+ {
135058
+ "type": "object",
135059
+ "properties": {
135060
+ "defined": {
135061
+ "const": false
135062
+ },
135063
+ "code": {
135064
+ "type": "string"
135065
+ },
135066
+ "status": {
135067
+ "type": "number"
135068
+ },
135069
+ "message": {
135070
+ "type": "string"
135071
+ },
135072
+ "data": {}
135073
+ },
135074
+ "required": [
135075
+ "defined",
135076
+ "code",
135077
+ "status",
135078
+ "message"
135079
+ ]
135080
+ }
135081
+ ]
135082
+ }
135083
+ }
135084
+ }
135085
+ },
135086
+ "404": {
135087
+ "description": "404",
135088
+ "content": {
135089
+ "application/json": {
135090
+ "schema": {
135091
+ "oneOf": [
135092
+ {
135093
+ "type": "object",
135094
+ "properties": {
135095
+ "defined": {
135096
+ "const": true
135097
+ },
135098
+ "code": {
135099
+ "const": "NOT_FOUND"
135100
+ },
135101
+ "status": {
135102
+ "const": 404
135103
+ },
135104
+ "message": {
135105
+ "type": "string",
135106
+ "default": "The requested resource was not found."
135107
+ },
135108
+ "data": {}
135109
+ },
135110
+ "required": [
135111
+ "defined",
135112
+ "code",
135113
+ "status",
135114
+ "message"
135115
+ ]
135116
+ },
135117
+ {
135118
+ "type": "object",
135119
+ "properties": {
135120
+ "defined": {
135121
+ "const": false
135122
+ },
135123
+ "code": {
135124
+ "type": "string"
135125
+ },
135126
+ "status": {
135127
+ "type": "number"
135128
+ },
135129
+ "message": {
135130
+ "type": "string"
135131
+ },
135132
+ "data": {}
135133
+ },
135134
+ "required": [
135135
+ "defined",
135136
+ "code",
135137
+ "status",
135138
+ "message"
135139
+ ]
135140
+ }
135141
+ ]
135142
+ }
135143
+ }
135144
+ }
135145
+ },
135146
+ "409": {
135147
+ "description": "409",
135148
+ "content": {
135149
+ "application/json": {
135150
+ "schema": {
135151
+ "oneOf": [
135152
+ {
135153
+ "type": "object",
135154
+ "properties": {
135155
+ "defined": {
135156
+ "const": true
135157
+ },
135158
+ "code": {
135159
+ "const": "CONFLICT"
135160
+ },
135161
+ "status": {
135162
+ "const": 409
135163
+ },
135164
+ "message": {
135165
+ "type": "string",
135166
+ "default": "The resource changed or the request key was reused."
135167
+ },
135168
+ "data": {}
135169
+ },
135170
+ "required": [
135171
+ "defined",
135172
+ "code",
135173
+ "status",
135174
+ "message"
135175
+ ]
135176
+ },
135177
+ {
135178
+ "type": "object",
135179
+ "properties": {
135180
+ "defined": {
135181
+ "const": false
135182
+ },
135183
+ "code": {
135184
+ "type": "string"
135185
+ },
135186
+ "status": {
135187
+ "type": "number"
135188
+ },
135189
+ "message": {
135190
+ "type": "string"
135191
+ },
135192
+ "data": {}
135193
+ },
135194
+ "required": [
135195
+ "defined",
135196
+ "code",
135197
+ "status",
135198
+ "message"
135199
+ ]
135200
+ }
135201
+ ]
135202
+ }
135203
+ }
135204
+ }
135205
+ },
135206
+ "412": {
135207
+ "description": "412",
135208
+ "content": {
135209
+ "application/json": {
135210
+ "schema": {
135211
+ "oneOf": [
135212
+ {
135213
+ "type": "object",
135214
+ "properties": {
135215
+ "defined": {
135216
+ "const": true
135217
+ },
135218
+ "code": {
135219
+ "const": "PRECONDITION_FAILED"
135220
+ },
135221
+ "status": {
135222
+ "const": 412
135223
+ },
135224
+ "message": {
135225
+ "type": "string",
135226
+ "default": "The team is not ready for this operation."
135227
+ },
135228
+ "data": {}
135229
+ },
135230
+ "required": [
135231
+ "defined",
135232
+ "code",
135233
+ "status",
135234
+ "message"
135235
+ ]
135236
+ },
135237
+ {
135238
+ "type": "object",
135239
+ "properties": {
135240
+ "defined": {
135241
+ "const": false
135242
+ },
135243
+ "code": {
135244
+ "type": "string"
135245
+ },
135246
+ "status": {
135247
+ "type": "number"
135248
+ },
135249
+ "message": {
135250
+ "type": "string"
135251
+ },
135252
+ "data": {}
135253
+ },
135254
+ "required": [
135255
+ "defined",
135256
+ "code",
135257
+ "status",
135258
+ "message"
135259
+ ]
135260
+ }
135261
+ ]
135262
+ }
135263
+ }
135264
+ }
135265
+ },
135266
+ "429": {
135267
+ "description": "429",
135268
+ "content": {
135269
+ "application/json": {
135270
+ "schema": {
135271
+ "oneOf": [
135272
+ {
135273
+ "type": "object",
135274
+ "properties": {
135275
+ "defined": {
135276
+ "const": true
135277
+ },
135278
+ "code": {
135279
+ "const": "TOO_MANY_REQUESTS"
135280
+ },
135281
+ "status": {
135282
+ "const": 429
135283
+ },
135284
+ "message": {
135285
+ "type": "string",
135286
+ "default": "Too many requests. Try again shortly."
135287
+ },
135288
+ "data": {}
135289
+ },
135290
+ "required": [
135291
+ "defined",
135292
+ "code",
135293
+ "status",
135294
+ "message"
135295
+ ]
135296
+ },
135297
+ {
135298
+ "type": "object",
135299
+ "properties": {
135300
+ "defined": {
135301
+ "const": false
135302
+ },
135303
+ "code": {
135304
+ "type": "string"
135305
+ },
135306
+ "status": {
135307
+ "type": "number"
135308
+ },
135309
+ "message": {
135310
+ "type": "string"
135311
+ },
135312
+ "data": {}
135313
+ },
135314
+ "required": [
135315
+ "defined",
135316
+ "code",
135317
+ "status",
135318
+ "message"
135319
+ ]
135320
+ }
135321
+ ]
135322
+ }
135323
+ }
135324
+ }
135325
+ }
135326
+ },
135327
+ "x-shuffl-access": "read",
135328
+ "x-shuffl-permission": "playbooks.plans"
133758
135329
  }
133759
135330
  },
133760
- "/manage/playbooks/plans": {
135331
+ "/manage/playbooks/previewAs": {
133761
135332
  "post": {
133762
- "operationId": "playbooks.plans",
133763
- "summary": "The 30/60/90 plans for new hires you manage, and your own once your manager shares it",
135333
+ "operationId": "playbooks.previewAs",
135334
+ "summary": "Which steps of a playbook one person would get, on which day, and why each skipped step is left out",
133764
135335
  "requestBody": {
133765
135336
  "required": true,
133766
135337
  "content": {
133767
135338
  "application/json": {
133768
135339
  "schema": {
133769
135340
  "type": "object",
135341
+ "properties": {
135342
+ "personId": {
135343
+ "type": "string"
135344
+ },
135345
+ "programId": {
135346
+ "type": "string"
135347
+ }
135348
+ },
135349
+ "required": [
135350
+ "personId",
135351
+ "programId"
135352
+ ],
133770
135353
  "additionalProperties": false
133771
135354
  }
133772
135355
  }
@@ -133780,396 +135363,153 @@
133780
135363
  "schema": {
133781
135364
  "type": "object",
133782
135365
  "properties": {
133783
- "asHire": {
135366
+ "dayZero": {
135367
+ "type": "string"
135368
+ },
135369
+ "person": {
135370
+ "type": "object",
135371
+ "properties": {
135372
+ "id": {
135373
+ "type": "string"
135374
+ },
135375
+ "name": {
135376
+ "type": "string"
135377
+ }
135378
+ },
135379
+ "required": [
135380
+ "id",
135381
+ "name"
135382
+ ],
135383
+ "additionalProperties": false
135384
+ },
135385
+ "skipped": {
135386
+ "type": "number"
135387
+ },
135388
+ "steps": {
133784
135389
  "type": "array",
133785
135390
  "items": {
133786
135391
  "type": "object",
133787
135392
  "properties": {
133788
- "enrollmentId": {
133789
- "type": "string"
135393
+ "dueAt": {
135394
+ "type": "string",
135395
+ "format": "date-time"
133790
135396
  },
133791
- "manager": {
135397
+ "kind": {
133792
135398
  "anyOf": [
133793
135399
  {
133794
- "type": "null"
135400
+ "const": "acknowledge"
133795
135401
  },
133796
135402
  {
133797
- "type": "object",
133798
- "properties": {
133799
- "id": {
133800
- "type": "string"
133801
- },
133802
- "name": {
133803
- "type": "string"
133804
- },
133805
- "photoUrl": {
133806
- "anyOf": [
133807
- {
133808
- "type": "null"
133809
- },
133810
- {
133811
- "type": "string"
133812
- }
133813
- ]
133814
- },
133815
- "slackUserId": {
133816
- "anyOf": [
133817
- {
133818
- "type": "null"
133819
- },
133820
- {
133821
- "type": "string"
133822
- }
133823
- ]
133824
- },
133825
- "title": {
133826
- "anyOf": [
133827
- {
133828
- "type": "null"
133829
- },
133830
- {
133831
- "type": "string"
133832
- }
133833
- ]
133834
- },
133835
- "userId": {
133836
- "anyOf": [
133837
- {
133838
- "type": "null"
133839
- },
133840
- {
133841
- "type": "string"
133842
- }
133843
- ]
133844
- }
133845
- },
133846
- "required": [
133847
- "id",
133848
- "name",
133849
- "photoUrl",
133850
- "slackUserId",
133851
- "title",
133852
- "userId"
133853
- ],
133854
- "additionalProperties": false
133855
- }
133856
- ]
133857
- },
133858
- "plan": {
133859
- "type": "object",
133860
- "properties": {
133861
- "autoDrafted": {
133862
- "type": "boolean"
135403
+ "const": "buddy_invitation"
133863
135404
  },
133864
- "draftedBy": {
133865
- "anyOf": [
133866
- {
133867
- "type": "null"
133868
- },
133869
- {
133870
- "const": "ai"
133871
- },
133872
- {
133873
- "const": "rule"
133874
- }
133875
- ]
135405
+ {
135406
+ "const": "catch_up"
133876
135407
  },
133877
- "goals": {
133878
- "type": "array",
133879
- "items": {
133880
- "type": "object",
133881
- "properties": {
133882
- "doneAt": {
133883
- "anyOf": [
133884
- {
133885
- "type": "null"
133886
- },
133887
- {
133888
- "type": "string"
133889
- }
133890
- ]
133891
- },
133892
- "id": {
133893
- "type": "string"
133894
- },
133895
- "stage": {
133896
- "anyOf": [
133897
- {
133898
- "const": 30
133899
- },
133900
- {
133901
- "const": 60
133902
- },
133903
- {
133904
- "const": 90
133905
- }
133906
- ]
133907
- },
133908
- "text": {
133909
- "type": "string"
133910
- }
133911
- },
133912
- "required": [
133913
- "doneAt",
133914
- "id",
133915
- "stage",
133916
- "text"
133917
- ],
133918
- "additionalProperties": false
133919
- }
135408
+ {
135409
+ "const": "check_in"
133920
135410
  },
133921
- "revision": {
133922
- "type": "number"
135411
+ {
135412
+ "const": "checkpoint"
133923
135413
  },
133924
- "sharedAt": {
133925
- "anyOf": [
133926
- {
133927
- "type": "null"
133928
- },
133929
- {
133930
- "type": "string"
133931
- }
133932
- ]
135414
+ {
135415
+ "const": "form"
133933
135416
  },
133934
- "status": {
133935
- "anyOf": [
133936
- {
133937
- "const": "draft"
133938
- },
133939
- {
133940
- "const": "shared"
133941
- }
133942
- ]
135417
+ {
135418
+ "const": "introduction"
133943
135419
  },
133944
- "updatedAt": {
133945
- "type": "string"
135420
+ {
135421
+ "const": "meet"
135422
+ },
135423
+ {
135424
+ "const": "message"
135425
+ },
135426
+ {
135427
+ "const": "task"
133946
135428
  }
133947
- },
133948
- "required": [
133949
- "autoDrafted",
133950
- "draftedBy",
133951
- "goals",
133952
- "revision",
133953
- "sharedAt",
133954
- "status",
133955
- "updatedAt"
133956
- ],
133957
- "additionalProperties": false
133958
- },
133959
- "programName": {
133960
- "type": "string"
135429
+ ]
133961
135430
  },
133962
- "startDate": {
133963
- "type": "string"
133964
- }
133965
- },
133966
- "required": [
133967
- "enrollmentId",
133968
- "manager",
133969
- "plan",
133970
- "programName",
133971
- "startDate"
133972
- ],
133973
- "additionalProperties": false
133974
- }
133975
- },
133976
- "asManager": {
133977
- "type": "array",
133978
- "items": {
133979
- "type": "object",
133980
- "properties": {
133981
- "enrollmentId": {
133982
- "type": "string"
135431
+ "offsetDays": {
135432
+ "type": "number"
133983
135433
  },
133984
- "hire": {
133985
- "type": "object",
133986
- "properties": {
133987
- "id": {
133988
- "type": "string"
135434
+ "recipient": {
135435
+ "anyOf": [
135436
+ {
135437
+ "type": "null"
133989
135438
  },
133990
- "name": {
133991
- "type": "string"
135439
+ {
135440
+ "const": "buddy"
133992
135441
  },
133993
- "photoUrl": {
133994
- "anyOf": [
133995
- {
133996
- "type": "null"
133997
- },
133998
- {
133999
- "type": "string"
134000
- }
134001
- ]
135442
+ {
135443
+ "const": "hire"
134002
135444
  },
134003
- "slackUserId": {
134004
- "anyOf": [
134005
- {
134006
- "type": "null"
134007
- },
134008
- {
134009
- "type": "string"
134010
- }
134011
- ]
135445
+ {
135446
+ "const": "hr"
134012
135447
  },
134013
- "title": {
134014
- "anyOf": [
134015
- {
134016
- "type": "null"
134017
- },
134018
- {
134019
- "type": "string"
134020
- }
134021
- ]
135448
+ {
135449
+ "const": "manager"
134022
135450
  },
134023
- "userId": {
134024
- "anyOf": [
134025
- {
134026
- "type": "null"
134027
- },
134028
- {
134029
- "type": "string"
134030
- }
134031
- ]
135451
+ {
135452
+ "const": "person"
134032
135453
  }
134033
- },
134034
- "required": [
134035
- "id",
134036
- "name",
134037
- "photoUrl",
134038
- "slackUserId",
134039
- "title",
134040
- "userId"
134041
- ],
134042
- "additionalProperties": false
135454
+ ]
134043
135455
  },
134044
- "plan": {
135456
+ "ref": {
135457
+ "type": "string"
135458
+ },
135459
+ "skipped": {
134045
135460
  "anyOf": [
134046
135461
  {
134047
135462
  "type": "null"
134048
135463
  },
134049
135464
  {
134050
- "type": "object",
134051
- "properties": {
134052
- "autoDrafted": {
134053
- "type": "boolean"
134054
- },
134055
- "draftedBy": {
134056
- "anyOf": [
134057
- {
134058
- "type": "null"
134059
- },
134060
- {
134061
- "const": "ai"
134062
- },
134063
- {
134064
- "const": "rule"
134065
- }
134066
- ]
134067
- },
134068
- "goals": {
134069
- "type": "array",
134070
- "items": {
134071
- "type": "object",
134072
- "properties": {
134073
- "doneAt": {
134074
- "anyOf": [
134075
- {
134076
- "type": "null"
134077
- },
134078
- {
134079
- "type": "string"
134080
- }
134081
- ]
134082
- },
134083
- "id": {
134084
- "type": "string"
134085
- },
134086
- "stage": {
134087
- "anyOf": [
134088
- {
134089
- "const": 30
134090
- },
134091
- {
134092
- "const": 60
134093
- },
134094
- {
134095
- "const": 90
134096
- }
134097
- ]
134098
- },
134099
- "text": {
134100
- "type": "string"
134101
- }
134102
- },
134103
- "required": [
134104
- "doneAt",
134105
- "id",
134106
- "stage",
134107
- "text"
134108
- ],
134109
- "additionalProperties": false
134110
- }
134111
- },
134112
- "revision": {
134113
- "type": "number"
134114
- },
134115
- "sharedAt": {
134116
- "anyOf": [
134117
- {
134118
- "type": "null"
134119
- },
134120
- {
134121
- "type": "string"
134122
- }
134123
- ]
134124
- },
134125
- "status": {
134126
- "anyOf": [
134127
- {
134128
- "const": "draft"
134129
- },
134130
- {
134131
- "const": "shared"
134132
- }
134133
- ]
134134
- },
134135
- "updatedAt": {
134136
- "type": "string"
134137
- }
134138
- },
134139
- "required": [
134140
- "autoDrafted",
134141
- "draftedBy",
134142
- "goals",
134143
- "revision",
134144
- "sharedAt",
134145
- "status",
134146
- "updatedAt"
134147
- ],
134148
- "additionalProperties": false
135465
+ "type": "string"
134149
135466
  }
134150
135467
  ]
134151
135468
  },
134152
- "programName": {
134153
- "type": "string"
135469
+ "title": {
135470
+ "anyOf": [
135471
+ {
135472
+ "type": "null"
135473
+ },
135474
+ {
135475
+ "type": "string"
135476
+ }
135477
+ ]
134154
135478
  },
134155
- "startDate": {
134156
- "type": "string"
135479
+ "track": {
135480
+ "anyOf": [
135481
+ {
135482
+ "type": "null"
135483
+ },
135484
+ {
135485
+ "type": "string"
135486
+ }
135487
+ ]
134157
135488
  }
134158
135489
  },
134159
135490
  "required": [
134160
- "enrollmentId",
134161
- "hire",
134162
- "plan",
134163
- "programName",
134164
- "startDate"
135491
+ "dueAt",
135492
+ "kind",
135493
+ "offsetDays",
135494
+ "recipient",
135495
+ "ref",
135496
+ "skipped",
135497
+ "title",
135498
+ "track"
134165
135499
  ],
134166
135500
  "additionalProperties": false
134167
135501
  }
135502
+ },
135503
+ "tracked": {
135504
+ "type": "number"
134168
135505
  }
134169
135506
  },
134170
135507
  "required": [
134171
- "asHire",
134172
- "asManager"
135508
+ "dayZero",
135509
+ "person",
135510
+ "skipped",
135511
+ "steps",
135512
+ "tracked"
134173
135513
  ],
134174
135514
  "additionalProperties": false
134175
135515
  }
@@ -134598,7 +135938,7 @@
134598
135938
  }
134599
135939
  },
134600
135940
  "x-shuffl-access": "read",
134601
- "x-shuffl-permission": "playbooks.plans"
135941
+ "x-shuffl-permission": "playbooks.previewAs"
134602
135942
  }
134603
135943
  },
134604
135944
  "/manage/playbooks/previewEnrollment": {
@@ -135845,9 +137185,21 @@
135845
137185
  }
135846
137186
  ]
135847
137187
  },
137188
+ "notFor": {
137189
+ "type": "array",
137190
+ "items": {
137191
+ "type": "string"
137192
+ }
137193
+ },
135848
137194
  "offsetDays": {
135849
137195
  "type": "number"
135850
137196
  },
137197
+ "onlyFor": {
137198
+ "type": "array",
137199
+ "items": {
137200
+ "type": "string"
137201
+ }
137202
+ },
135851
137203
  "personId": {
135852
137204
  "anyOf": [
135853
137205
  {
@@ -136839,6 +138191,63 @@
136839
138191
  "additionalProperties": {
136840
138192
  "type": "string"
136841
138193
  }
138194
+ },
138195
+ "tracks": {
138196
+ "type": "array",
138197
+ "items": {
138198
+ "type": "object",
138199
+ "properties": {
138200
+ "department": {
138201
+ "type": "boolean"
138202
+ },
138203
+ "hires": {
138204
+ "type": "number"
138205
+ },
138206
+ "id": {
138207
+ "type": "string"
138208
+ },
138209
+ "kind": {
138210
+ "anyOf": [
138211
+ {
138212
+ "const": "dynamic"
138213
+ },
138214
+ {
138215
+ "const": "list"
138216
+ }
138217
+ ]
138218
+ },
138219
+ "name": {
138220
+ "type": "string"
138221
+ },
138222
+ "not": {
138223
+ "type": "number"
138224
+ },
138225
+ "only": {
138226
+ "type": "number"
138227
+ },
138228
+ "rules": {
138229
+ "anyOf": [
138230
+ {
138231
+ "type": "null"
138232
+ },
138233
+ {
138234
+ "type": "string"
138235
+ }
138236
+ ]
138237
+ }
138238
+ },
138239
+ "required": [
138240
+ "department",
138241
+ "hires",
138242
+ "id",
138243
+ "kind",
138244
+ "name",
138245
+ "not",
138246
+ "only",
138247
+ "rules"
138248
+ ],
138249
+ "additionalProperties": false
138250
+ }
136842
138251
  }
136843
138252
  },
136844
138253
  "required": [
@@ -136848,7 +138257,8 @@
136848
138257
  "program",
136849
138258
  "responderName",
136850
138259
  "rows",
136851
- "stepPeople"
138260
+ "stepPeople",
138261
+ "tracks"
136852
138262
  ],
136853
138263
  "additionalProperties": false
136854
138264
  }
@@ -140985,9 +142395,21 @@
140985
142395
  }
140986
142396
  ]
140987
142397
  },
142398
+ "notFor": {
142399
+ "type": "array",
142400
+ "items": {
142401
+ "type": "string"
142402
+ }
142403
+ },
140988
142404
  "offsetDays": {
140989
142405
  "type": "number"
140990
142406
  },
142407
+ "onlyFor": {
142408
+ "type": "array",
142409
+ "items": {
142410
+ "type": "string"
142411
+ }
142412
+ },
140991
142413
  "personId": {
140992
142414
  "anyOf": [
140993
142415
  {
@@ -141692,9 +143114,21 @@
141692
143114
  }
141693
143115
  ]
141694
143116
  },
143117
+ "notFor": {
143118
+ "type": "array",
143119
+ "items": {
143120
+ "type": "string"
143121
+ }
143122
+ },
141695
143123
  "offsetDays": {
141696
143124
  "type": "number"
141697
143125
  },
143126
+ "onlyFor": {
143127
+ "type": "array",
143128
+ "items": {
143129
+ "type": "string"
143130
+ }
143131
+ },
141698
143132
  "personId": {
141699
143133
  "anyOf": [
141700
143134
  {
@@ -200999,9 +202433,21 @@
200999
202433
  }
201000
202434
  ]
201001
202435
  },
202436
+ "notFor": {
202437
+ "type": "array",
202438
+ "items": {
202439
+ "type": "string"
202440
+ }
202441
+ },
201002
202442
  "offsetDays": {
201003
202443
  "type": "number"
201004
202444
  },
202445
+ "onlyFor": {
202446
+ "type": "array",
202447
+ "items": {
202448
+ "type": "string"
202449
+ }
202450
+ },
201005
202451
  "personId": {
201006
202452
  "anyOf": [
201007
202453
  {
@@ -253279,6 +254725,7 @@
253279
254725
  "knowledge.uploads.retry",
253280
254726
  "manager.current",
253281
254727
  "mcp.knowledge",
254728
+ "network.introductions",
253282
254729
  "network.mine",
253283
254730
  "network.ofPerson",
253284
254731
  "network.orgChart",
@@ -253302,6 +254749,7 @@
253302
254749
  "playbooks.mine",
253303
254750
  "playbooks.person",
253304
254751
  "playbooks.plans",
254752
+ "playbooks.previewAs",
253305
254753
  "playbooks.program",
253306
254754
  "playbooks.run",
253307
254755
  "playbooks.answerBuddyAsk",
@@ -253739,6 +255187,7 @@
253739
255187
  "knowledge.uploads.retry",
253740
255188
  "manager.current",
253741
255189
  "mcp.knowledge",
255190
+ "network.introductions",
253742
255191
  "network.mine",
253743
255192
  "network.ofPerson",
253744
255193
  "network.orgChart",
@@ -253762,6 +255211,7 @@
253762
255211
  "playbooks.mine",
253763
255212
  "playbooks.person",
253764
255213
  "playbooks.plans",
255214
+ "playbooks.previewAs",
253765
255215
  "playbooks.program",
253766
255216
  "playbooks.run",
253767
255217
  "playbooks.answerBuddyAsk",