@shuffl/api-contracts 0.5.8 → 0.5.10

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
@@ -35731,6 +35731,9 @@
35731
35731
  {
35732
35732
  "const": "playbooks.answerFirstDaysCheckIn"
35733
35733
  },
35734
+ {
35735
+ "const": "playbooks.answerForm"
35736
+ },
35734
35737
  {
35735
35738
  "const": "playbooks.approve"
35736
35739
  },
@@ -35962,6 +35965,9 @@
35962
35965
  {
35963
35966
  "const": "pulse.editProposal"
35964
35967
  },
35968
+ {
35969
+ "const": "pulse.groupTrends"
35970
+ },
35965
35971
  {
35966
35972
  "const": "pulse.insights"
35967
35973
  },
@@ -37519,6 +37525,9 @@
37519
37525
  {
37520
37526
  "const": "playbooks.answerFirstDaysCheckIn"
37521
37527
  },
37528
+ {
37529
+ "const": "playbooks.answerForm"
37530
+ },
37522
37531
  {
37523
37532
  "const": "playbooks.approve"
37524
37533
  },
@@ -37750,6 +37759,9 @@
37750
37759
  {
37751
37760
  "const": "pulse.editProposal"
37752
37761
  },
37762
+ {
37763
+ "const": "pulse.groupTrends"
37764
+ },
37753
37765
  {
37754
37766
  "const": "pulse.insights"
37755
37767
  },
@@ -38888,6 +38900,9 @@
38888
38900
  {
38889
38901
  "const": "playbooks.answerFirstDaysCheckIn"
38890
38902
  },
38903
+ {
38904
+ "const": "playbooks.answerForm"
38905
+ },
38891
38906
  {
38892
38907
  "const": "playbooks.approve"
38893
38908
  },
@@ -39119,6 +39134,9 @@
39119
39134
  {
39120
39135
  "const": "pulse.editProposal"
39121
39136
  },
39137
+ {
39138
+ "const": "pulse.groupTrends"
39139
+ },
39122
39140
  {
39123
39141
  "const": "pulse.insights"
39124
39142
  },
@@ -48048,6 +48066,9 @@
48048
48066
  "phone": {
48049
48067
  "type": "string"
48050
48068
  },
48069
+ "preferredName": {
48070
+ "type": "string"
48071
+ },
48051
48072
  "pronouns": {
48052
48073
  "type": "string"
48053
48074
  },
@@ -49097,6 +49118,28 @@
49097
49118
  }
49098
49119
  ]
49099
49120
  },
49121
+ "formFields": {
49122
+ "type": "array",
49123
+ "items": {
49124
+ "anyOf": [
49125
+ {
49126
+ "const": "bio"
49127
+ },
49128
+ {
49129
+ "const": "birthday"
49130
+ },
49131
+ {
49132
+ "const": "photo"
49133
+ },
49134
+ {
49135
+ "const": "preferredName"
49136
+ },
49137
+ {
49138
+ "const": "pronouns"
49139
+ }
49140
+ ]
49141
+ }
49142
+ },
49100
49143
  "id": {
49101
49144
  "type": "string"
49102
49145
  },
@@ -134168,10 +134211,10 @@
134168
134211
  "x-shuffl-permission": "playbooks.answerFirstDaysCheckIn"
134169
134212
  }
134170
134213
  },
134171
- "/manage/playbooks/approve": {
134214
+ "/manage/playbooks/answerForm": {
134172
134215
  "post": {
134173
- "operationId": "playbooks.approve",
134174
- "summary": "Approve these exact playbook messages for sending",
134216
+ "operationId": "playbooks.answerForm",
134217
+ "summary": "Answer a playbook’s Tell us about you form; the answers fill in your profile",
134175
134218
  "requestBody": {
134176
134219
  "required": true,
134177
134220
  "content": {
@@ -134179,17 +134222,43 @@
134179
134222
  "schema": {
134180
134223
  "type": "object",
134181
134224
  "properties": {
134182
- "enrollmentId": {
134225
+ "bio": {
134183
134226
  "type": "string"
134184
134227
  },
134185
- "expectedRevision": {
134186
- "type": "number"
134228
+ "birthday": {
134229
+ "anyOf": [
134230
+ {
134231
+ "type": "null"
134232
+ },
134233
+ {
134234
+ "type": "object",
134235
+ "properties": {
134236
+ "day": {
134237
+ "type": "number"
134238
+ },
134239
+ "month": {
134240
+ "type": "number"
134241
+ }
134242
+ },
134243
+ "required": [
134244
+ "day",
134245
+ "month"
134246
+ ],
134247
+ "additionalProperties": false
134248
+ }
134249
+ ]
134187
134250
  },
134188
- "previewHash": {
134251
+ "preferredName": {
134252
+ "type": "string"
134253
+ },
134254
+ "pronouns": {
134255
+ "type": "string"
134256
+ },
134257
+ "stepId": {
134189
134258
  "type": "string"
134190
134259
  },
134191
134260
  "confirm": {
134192
- "const": "playbooks.approve"
134261
+ "const": "playbooks.answerForm"
134193
134262
  },
134194
134263
  "requestKey": {
134195
134264
  "type": "string",
@@ -134198,9 +134267,7 @@
134198
134267
  }
134199
134268
  },
134200
134269
  "required": [
134201
- "enrollmentId",
134202
- "expectedRevision",
134203
- "previewHash",
134270
+ "stepId",
134204
134271
  "confirm",
134205
134272
  "requestKey"
134206
134273
  ],
@@ -134269,16 +134336,16 @@
134269
134336
  {
134270
134337
  "type": "object",
134271
134338
  "properties": {
134272
- "approved": {
134273
- "type": "number"
134339
+ "answered": {
134340
+ "const": true
134274
134341
  },
134275
- "revision": {
134342
+ "fields": {
134276
134343
  "type": "number"
134277
134344
  }
134278
134345
  },
134279
134346
  "required": [
134280
- "approved",
134281
- "revision"
134347
+ "answered",
134348
+ "fields"
134282
134349
  ],
134283
134350
  "additionalProperties": false
134284
134351
  },
@@ -134718,13 +134785,13 @@
134718
134785
  }
134719
134786
  },
134720
134787
  "x-shuffl-access": "write",
134721
- "x-shuffl-permission": "playbooks.approve"
134788
+ "x-shuffl-permission": "playbooks.answerForm"
134722
134789
  }
134723
134790
  },
134724
- "/manage/playbooks/askBuddy": {
134791
+ "/manage/playbooks/approve": {
134725
134792
  "post": {
134726
- "operationId": "playbooks.askBuddy",
134727
- "summary": "Ask this coworker to be your onboarding buddy",
134793
+ "operationId": "playbooks.approve",
134794
+ "summary": "Approve these exact playbook messages for sending",
134728
134795
  "requestBody": {
134729
134796
  "required": true,
134730
134797
  "content": {
@@ -134732,14 +134799,17 @@
134732
134799
  "schema": {
134733
134800
  "type": "object",
134734
134801
  "properties": {
134735
- "note": {
134802
+ "enrollmentId": {
134736
134803
  "type": "string"
134737
134804
  },
134738
- "personId": {
134805
+ "expectedRevision": {
134806
+ "type": "number"
134807
+ },
134808
+ "previewHash": {
134739
134809
  "type": "string"
134740
134810
  },
134741
134811
  "confirm": {
134742
- "const": "playbooks.askBuddy"
134812
+ "const": "playbooks.approve"
134743
134813
  },
134744
134814
  "requestKey": {
134745
134815
  "type": "string",
@@ -134748,7 +134818,9 @@
134748
134818
  }
134749
134819
  },
134750
134820
  "required": [
134751
- "personId",
134821
+ "enrollmentId",
134822
+ "expectedRevision",
134823
+ "previewHash",
134752
134824
  "confirm",
134753
134825
  "requestKey"
134754
134826
  ],
@@ -134815,40 +134887,20 @@
134815
134887
  "result": {
134816
134888
  "anyOf": [
134817
134889
  {
134818
- "anyOf": [
134819
- {
134820
- "type": "object",
134821
- "properties": {
134822
- "personId": {
134823
- "type": "string"
134824
- },
134825
- "status": {
134826
- "const": "already_asked"
134827
- }
134828
- },
134829
- "required": [
134830
- "personId",
134831
- "status"
134832
- ],
134833
- "additionalProperties": false
134890
+ "type": "object",
134891
+ "properties": {
134892
+ "approved": {
134893
+ "type": "number"
134834
134894
  },
134835
- {
134836
- "type": "object",
134837
- "properties": {
134838
- "personId": {
134839
- "type": "string"
134840
- },
134841
- "status": {
134842
- "const": "asked"
134843
- }
134844
- },
134845
- "required": [
134846
- "personId",
134847
- "status"
134848
- ],
134849
- "additionalProperties": false
134895
+ "revision": {
134896
+ "type": "number"
134850
134897
  }
134851
- ]
134898
+ },
134899
+ "required": [
134900
+ "approved",
134901
+ "revision"
134902
+ ],
134903
+ "additionalProperties": false
134852
134904
  },
134853
134905
  {
134854
134906
  "type": "null"
@@ -135286,13 +135338,13 @@
135286
135338
  }
135287
135339
  },
135288
135340
  "x-shuffl-access": "write",
135289
- "x-shuffl-permission": "playbooks.askBuddy"
135341
+ "x-shuffl-permission": "playbooks.approve"
135290
135342
  }
135291
135343
  },
135292
- "/manage/playbooks/assignBuddy": {
135344
+ "/manage/playbooks/askBuddy": {
135293
135345
  "post": {
135294
- "operationId": "playbooks.assignBuddy",
135295
- "summary": "Assign an onboarding buddy to a new hire",
135346
+ "operationId": "playbooks.askBuddy",
135347
+ "summary": "Ask this coworker to be your onboarding buddy",
135296
135348
  "requestBody": {
135297
135349
  "required": true,
135298
135350
  "content": {
@@ -135300,14 +135352,14 @@
135300
135352
  "schema": {
135301
135353
  "type": "object",
135302
135354
  "properties": {
135303
- "buddyPersonId": {
135355
+ "note": {
135304
135356
  "type": "string"
135305
135357
  },
135306
- "enrollmentId": {
135358
+ "personId": {
135307
135359
  "type": "string"
135308
135360
  },
135309
- "expectedRevision": {
135310
- "type": "number"
135361
+ "confirm": {
135362
+ "const": "playbooks.askBuddy"
135311
135363
  },
135312
135364
  "requestKey": {
135313
135365
  "type": "string",
@@ -135316,9 +135368,8 @@
135316
135368
  }
135317
135369
  },
135318
135370
  "required": [
135319
- "buddyPersonId",
135320
- "enrollmentId",
135321
- "expectedRevision",
135371
+ "personId",
135372
+ "confirm",
135322
135373
  "requestKey"
135323
135374
  ],
135324
135375
  "additionalProperties": false
@@ -135384,20 +135435,40 @@
135384
135435
  "result": {
135385
135436
  "anyOf": [
135386
135437
  {
135387
- "type": "object",
135388
- "properties": {
135389
- "invitationId": {
135390
- "type": "string"
135438
+ "anyOf": [
135439
+ {
135440
+ "type": "object",
135441
+ "properties": {
135442
+ "personId": {
135443
+ "type": "string"
135444
+ },
135445
+ "status": {
135446
+ "const": "already_asked"
135447
+ }
135448
+ },
135449
+ "required": [
135450
+ "personId",
135451
+ "status"
135452
+ ],
135453
+ "additionalProperties": false
135391
135454
  },
135392
- "revision": {
135393
- "type": "number"
135455
+ {
135456
+ "type": "object",
135457
+ "properties": {
135458
+ "personId": {
135459
+ "type": "string"
135460
+ },
135461
+ "status": {
135462
+ "const": "asked"
135463
+ }
135464
+ },
135465
+ "required": [
135466
+ "personId",
135467
+ "status"
135468
+ ],
135469
+ "additionalProperties": false
135394
135470
  }
135395
- },
135396
- "required": [
135397
- "invitationId",
135398
- "revision"
135399
- ],
135400
- "additionalProperties": false
135471
+ ]
135401
135472
  },
135402
135473
  {
135403
135474
  "type": "null"
@@ -135835,13 +135906,13 @@
135835
135906
  }
135836
135907
  },
135837
135908
  "x-shuffl-access": "write",
135838
- "x-shuffl-permission": "playbooks.assignBuddy"
135909
+ "x-shuffl-permission": "playbooks.askBuddy"
135839
135910
  }
135840
135911
  },
135841
- "/manage/playbooks/buddyCandidates": {
135912
+ "/manage/playbooks/assignBuddy": {
135842
135913
  "post": {
135843
- "operationId": "playbooks.buddyCandidates",
135844
- "summary": "Suggested buddies for a new hire: outside their reporting line, volunteers first, with how many hires each is buddying",
135914
+ "operationId": "playbooks.assignBuddy",
135915
+ "summary": "Assign an onboarding buddy to a new hire",
135845
135916
  "requestBody": {
135846
135917
  "required": true,
135847
135918
  "content": {
@@ -135849,12 +135920,26 @@
135849
135920
  "schema": {
135850
135921
  "type": "object",
135851
135922
  "properties": {
135852
- "personId": {
135923
+ "buddyPersonId": {
135853
135924
  "type": "string"
135925
+ },
135926
+ "enrollmentId": {
135927
+ "type": "string"
135928
+ },
135929
+ "expectedRevision": {
135930
+ "type": "number"
135931
+ },
135932
+ "requestKey": {
135933
+ "type": "string",
135934
+ "minLength": 1,
135935
+ "maxLength": 128
135854
135936
  }
135855
135937
  },
135856
135938
  "required": [
135857
- "personId"
135939
+ "buddyPersonId",
135940
+ "enrollmentId",
135941
+ "expectedRevision",
135942
+ "requestKey"
135858
135943
  ],
135859
135944
  "additionalProperties": false
135860
135945
  }
@@ -135869,102 +135954,81 @@
135869
135954
  "schema": {
135870
135955
  "type": "object",
135871
135956
  "properties": {
135872
- "suggestions": {
135873
- "type": "array",
135874
- "items": {
135875
- "type": "object",
135876
- "properties": {
135877
- "id": {
135878
- "type": "string"
135879
- },
135880
- "load": {
135881
- "type": "object",
135882
- "properties": {
135883
- "active": {
135884
- "type": "number"
135885
- },
135886
- "total": {
135887
- "type": "number"
135888
- }
135957
+ "receipt": {
135958
+ "type": "object",
135959
+ "properties": {
135960
+ "completedAt": {
135961
+ "anyOf": [
135962
+ {
135963
+ "type": "string",
135964
+ "format": "date-time"
135889
135965
  },
135890
- "required": [
135891
- "active",
135892
- "total"
135893
- ],
135894
- "additionalProperties": false
135895
- },
135896
- "name": {
135897
- "type": "string"
135898
- },
135899
- "photoUrl": {
135900
- "anyOf": [
135901
- {
135902
- "type": "null"
135903
- },
135904
- {
135905
- "type": "string"
135906
- }
135907
- ]
135908
- },
135909
- "reasons": {
135910
- "type": "array",
135911
- "items": {
135966
+ {
135967
+ "type": "null"
135968
+ }
135969
+ ]
135970
+ },
135971
+ "createdAt": {
135972
+ "type": "string",
135973
+ "format": "date-time"
135974
+ },
135975
+ "id": {
135976
+ "type": "string",
135977
+ "format": "uuid"
135978
+ },
135979
+ "operation": {
135980
+ "type": "string"
135981
+ },
135982
+ "requestKey": {
135983
+ "type": "string"
135984
+ },
135985
+ "status": {
135986
+ "enum": [
135987
+ "running",
135988
+ "succeeded",
135989
+ "failed",
135990
+ "unknown"
135991
+ ],
135992
+ "type": "string"
135993
+ }
135994
+ },
135995
+ "required": [
135996
+ "completedAt",
135997
+ "createdAt",
135998
+ "id",
135999
+ "operation",
136000
+ "requestKey",
136001
+ "status"
136002
+ ]
136003
+ },
136004
+ "result": {
136005
+ "anyOf": [
136006
+ {
136007
+ "type": "object",
136008
+ "properties": {
136009
+ "invitationId": {
135912
136010
  "type": "string"
136011
+ },
136012
+ "revision": {
136013
+ "type": "number"
135913
136014
  }
135914
136015
  },
135915
- "slackUserId": {
135916
- "anyOf": [
135917
- {
135918
- "type": "null"
135919
- },
135920
- {
135921
- "type": "string"
135922
- }
135923
- ]
135924
- },
135925
- "title": {
135926
- "anyOf": [
135927
- {
135928
- "type": "null"
135929
- },
135930
- {
135931
- "type": "string"
135932
- }
135933
- ]
135934
- },
135935
- "userId": {
135936
- "anyOf": [
135937
- {
135938
- "type": "null"
135939
- },
135940
- {
135941
- "type": "string"
135942
- }
135943
- ]
135944
- },
135945
- "volunteer": {
135946
- "type": "boolean"
135947
- }
136016
+ "required": [
136017
+ "invitationId",
136018
+ "revision"
136019
+ ],
136020
+ "additionalProperties": false
135948
136021
  },
135949
- "required": [
135950
- "id",
135951
- "load",
135952
- "name",
135953
- "photoUrl",
135954
- "reasons",
135955
- "slackUserId",
135956
- "title",
135957
- "userId",
135958
- "volunteer"
135959
- ],
135960
- "additionalProperties": false
135961
- }
136022
+ {
136023
+ "type": "null"
136024
+ }
136025
+ ]
135962
136026
  }
135963
136027
  },
135964
136028
  "required": [
135965
- "suggestions"
135966
- ],
135967
- "additionalProperties": false
136029
+ "receipt",
136030
+ "result"
136031
+ ]
135968
136032
  }
135969
136033
  }
135970
136034
  }
@@ -136390,20 +136454,28 @@
136390
136454
  }
136391
136455
  }
136392
136456
  },
136393
- "x-shuffl-access": "read",
136394
- "x-shuffl-permission": "playbooks.buddyCandidates"
136457
+ "x-shuffl-access": "write",
136458
+ "x-shuffl-permission": "playbooks.assignBuddy"
136395
136459
  }
136396
136460
  },
136397
- "/manage/playbooks/buddyFollowUps": {
136461
+ "/manage/playbooks/buddyCandidates": {
136398
136462
  "post": {
136399
- "operationId": "playbooks.buddyFollowUps",
136400
- "summary": "Your \"did you meet?\" questions about a new hire or buddy you were paired with",
136463
+ "operationId": "playbooks.buddyCandidates",
136464
+ "summary": "Suggested buddies for a new hire: outside their reporting line, volunteers first, with how many hires each is buddying",
136401
136465
  "requestBody": {
136402
136466
  "required": true,
136403
136467
  "content": {
136404
136468
  "application/json": {
136405
136469
  "schema": {
136406
136470
  "type": "object",
136471
+ "properties": {
136472
+ "personId": {
136473
+ "type": "string"
136474
+ }
136475
+ },
136476
+ "required": [
136477
+ "personId"
136478
+ ],
136407
136479
  "additionalProperties": false
136408
136480
  }
136409
136481
  }
@@ -136417,117 +136489,100 @@
136417
136489
  "schema": {
136418
136490
  "type": "object",
136419
136491
  "properties": {
136420
- "questions": {
136492
+ "suggestions": {
136421
136493
  "type": "array",
136422
136494
  "items": {
136423
136495
  "type": "object",
136424
136496
  "properties": {
136425
- "answer": {
136497
+ "id": {
136498
+ "type": "string"
136499
+ },
136500
+ "load": {
136501
+ "type": "object",
136502
+ "properties": {
136503
+ "active": {
136504
+ "type": "number"
136505
+ },
136506
+ "total": {
136507
+ "type": "number"
136508
+ }
136509
+ },
136510
+ "required": [
136511
+ "active",
136512
+ "total"
136513
+ ],
136514
+ "additionalProperties": false
136515
+ },
136516
+ "name": {
136517
+ "type": "string"
136518
+ },
136519
+ "photoUrl": {
136426
136520
  "anyOf": [
136427
136521
  {
136428
136522
  "type": "null"
136429
136523
  },
136430
136524
  {
136431
- "const": "helped"
136432
- },
136525
+ "type": "string"
136526
+ }
136527
+ ]
136528
+ },
136529
+ "reasons": {
136530
+ "type": "array",
136531
+ "items": {
136532
+ "type": "string"
136533
+ }
136534
+ },
136535
+ "slackUserId": {
136536
+ "anyOf": [
136433
136537
  {
136434
- "const": "met"
136538
+ "type": "null"
136435
136539
  },
136436
136540
  {
136437
- "const": "never"
136541
+ "type": "string"
136438
136542
  }
136439
136543
  ]
136440
136544
  },
136441
- "askedAt": {
136442
- "type": "string"
136443
- },
136444
- "id": {
136445
- "type": "string"
136446
- },
136447
- "other": {
136448
- "type": "object",
136449
- "properties": {
136450
- "id": {
136451
- "type": "string"
136545
+ "title": {
136546
+ "anyOf": [
136547
+ {
136548
+ "type": "null"
136452
136549
  },
136453
- "name": {
136550
+ {
136454
136551
  "type": "string"
136455
- },
136456
- "photoUrl": {
136457
- "anyOf": [
136458
- {
136459
- "type": "null"
136460
- },
136461
- {
136462
- "type": "string"
136463
- }
136464
- ]
136465
- },
136466
- "slackUserId": {
136467
- "anyOf": [
136468
- {
136469
- "type": "null"
136470
- },
136471
- {
136472
- "type": "string"
136473
- }
136474
- ]
136475
- },
136476
- "title": {
136477
- "anyOf": [
136478
- {
136479
- "type": "null"
136480
- },
136481
- {
136482
- "type": "string"
136483
- }
136484
- ]
136485
- },
136486
- "userId": {
136487
- "anyOf": [
136488
- {
136489
- "type": "null"
136490
- },
136491
- {
136492
- "type": "string"
136493
- }
136494
- ]
136495
136552
  }
136496
- },
136497
- "required": [
136498
- "id",
136499
- "name",
136500
- "photoUrl",
136501
- "slackUserId",
136502
- "title",
136503
- "userId"
136504
- ],
136505
- "additionalProperties": false
136553
+ ]
136506
136554
  },
136507
- "role": {
136555
+ "userId": {
136508
136556
  "anyOf": [
136509
136557
  {
136510
- "const": "buddy"
136558
+ "type": "null"
136511
136559
  },
136512
136560
  {
136513
- "const": "hire"
136561
+ "type": "string"
136514
136562
  }
136515
136563
  ]
136564
+ },
136565
+ "volunteer": {
136566
+ "type": "boolean"
136516
136567
  }
136517
136568
  },
136518
136569
  "required": [
136519
- "answer",
136520
- "askedAt",
136521
136570
  "id",
136522
- "other",
136523
- "role"
136571
+ "load",
136572
+ "name",
136573
+ "photoUrl",
136574
+ "reasons",
136575
+ "slackUserId",
136576
+ "title",
136577
+ "userId",
136578
+ "volunteer"
136524
136579
  ],
136525
136580
  "additionalProperties": false
136526
136581
  }
136527
136582
  }
136528
136583
  },
136529
136584
  "required": [
136530
- "questions"
136585
+ "suggestions"
136531
136586
  ],
136532
136587
  "additionalProperties": false
136533
136588
  }
@@ -136956,13 +137011,13 @@
136956
137011
  }
136957
137012
  },
136958
137013
  "x-shuffl-access": "read",
136959
- "x-shuffl-permission": "playbooks.buddyFollowUps"
137014
+ "x-shuffl-permission": "playbooks.buddyCandidates"
136960
137015
  }
136961
137016
  },
136962
- "/manage/playbooks/buddyProgram": {
137017
+ "/manage/playbooks/buddyFollowUps": {
136963
137018
  "post": {
136964
- "operationId": "playbooks.buddyProgram",
136965
- "summary": "Buddy volunteers and recent buddies, with how many of their hires said they met and how many never did",
137019
+ "operationId": "playbooks.buddyFollowUps",
137020
+ "summary": "Your \"did you meet?\" questions about a new hire or buddy you were paired with",
136966
137021
  "requestBody": {
136967
137022
  "required": true,
136968
137023
  "content": {
@@ -136982,151 +137037,716 @@
136982
137037
  "schema": {
136983
137038
  "type": "object",
136984
137039
  "properties": {
136985
- "people": {
137040
+ "questions": {
136986
137041
  "type": "array",
136987
137042
  "items": {
136988
137043
  "type": "object",
136989
137044
  "properties": {
136990
- "hiresAnswered": {
136991
- "type": "number"
136992
- },
136993
- "hiresHelped": {
136994
- "type": "number"
136995
- },
136996
- "hiresMet": {
136997
- "type": "number"
136998
- },
136999
- "id": {
137000
- "type": "string"
137001
- },
137002
- "lastNeverMetAt": {
137045
+ "answer": {
137003
137046
  "anyOf": [
137004
137047
  {
137005
137048
  "type": "null"
137006
137049
  },
137007
137050
  {
137008
- "type": "string"
137009
- }
137010
- ]
137011
- },
137012
- "load": {
137013
- "type": "object",
137014
- "properties": {
137015
- "active": {
137016
- "type": "number"
137051
+ "const": "helped"
137017
137052
  },
137018
- "total": {
137019
- "type": "number"
137020
- }
137021
- },
137022
- "required": [
137023
- "active",
137024
- "total"
137025
- ],
137026
- "additionalProperties": false
137027
- },
137028
- "name": {
137029
- "type": "string"
137030
- },
137031
- "neverMet": {
137032
- "type": "number"
137033
- },
137034
- "photoUrl": {
137035
- "anyOf": [
137036
137053
  {
137037
- "type": "null"
137054
+ "const": "met"
137038
137055
  },
137039
137056
  {
137040
- "type": "string"
137057
+ "const": "never"
137041
137058
  }
137042
137059
  ]
137043
137060
  },
137044
- "slackUserId": {
137045
- "anyOf": [
137046
- {
137047
- "type": "null"
137061
+ "askedAt": {
137062
+ "type": "string"
137063
+ },
137064
+ "id": {
137065
+ "type": "string"
137066
+ },
137067
+ "other": {
137068
+ "type": "object",
137069
+ "properties": {
137070
+ "id": {
137071
+ "type": "string"
137048
137072
  },
137049
- {
137073
+ "name": {
137050
137074
  "type": "string"
137051
- }
137052
- ]
137053
- },
137054
- "status": {
137055
- "anyOf": [
137056
- {
137057
- "type": "null"
137058
137075
  },
137059
- {
137060
- "const": "removed"
137076
+ "photoUrl": {
137077
+ "anyOf": [
137078
+ {
137079
+ "type": "null"
137080
+ },
137081
+ {
137082
+ "type": "string"
137083
+ }
137084
+ ]
137061
137085
  },
137062
- {
137063
- "const": "volunteer"
137064
- }
137065
- ]
137066
- },
137067
- "title": {
137068
- "anyOf": [
137069
- {
137070
- "type": "null"
137086
+ "slackUserId": {
137087
+ "anyOf": [
137088
+ {
137089
+ "type": "null"
137090
+ },
137091
+ {
137092
+ "type": "string"
137093
+ }
137094
+ ]
137071
137095
  },
137072
- {
137073
- "type": "string"
137096
+ "title": {
137097
+ "anyOf": [
137098
+ {
137099
+ "type": "null"
137100
+ },
137101
+ {
137102
+ "type": "string"
137103
+ }
137104
+ ]
137105
+ },
137106
+ "userId": {
137107
+ "anyOf": [
137108
+ {
137109
+ "type": "null"
137110
+ },
137111
+ {
137112
+ "type": "string"
137113
+ }
137114
+ ]
137074
137115
  }
137075
- ]
137116
+ },
137117
+ "required": [
137118
+ "id",
137119
+ "name",
137120
+ "photoUrl",
137121
+ "slackUserId",
137122
+ "title",
137123
+ "userId"
137124
+ ],
137125
+ "additionalProperties": false
137076
137126
  },
137077
- "userId": {
137127
+ "role": {
137078
137128
  "anyOf": [
137079
137129
  {
137080
- "type": "null"
137130
+ "const": "buddy"
137081
137131
  },
137082
137132
  {
137083
- "type": "string"
137133
+ "const": "hire"
137084
137134
  }
137085
137135
  ]
137086
137136
  }
137087
137137
  },
137088
137138
  "required": [
137089
- "hiresAnswered",
137090
- "hiresHelped",
137091
- "hiresMet",
137139
+ "answer",
137140
+ "askedAt",
137092
137141
  "id",
137093
- "lastNeverMetAt",
137094
- "load",
137095
- "name",
137096
- "neverMet",
137097
- "photoUrl",
137098
- "slackUserId",
137099
- "status",
137100
- "title",
137101
- "userId"
137142
+ "other",
137143
+ "role"
137102
137144
  ],
137103
137145
  "additionalProperties": false
137104
137146
  }
137105
- },
137106
- "summary": {
137107
- "type": "object",
137108
- "properties": {
137109
- "hiresAnswered": {
137110
- "type": "number"
137111
- },
137112
- "hiresMet": {
137113
- "type": "number"
137114
- },
137115
- "volunteers": {
137116
- "type": "number"
137117
- }
137118
- },
137119
- "required": [
137120
- "hiresAnswered",
137121
- "hiresMet",
137122
- "volunteers"
137123
- ],
137124
- "additionalProperties": false
137125
137147
  }
137126
137148
  },
137127
137149
  "required": [
137128
- "people",
137129
- "summary"
137150
+ "questions"
137151
+ ],
137152
+ "additionalProperties": false
137153
+ }
137154
+ }
137155
+ }
137156
+ },
137157
+ "400": {
137158
+ "description": "400",
137159
+ "content": {
137160
+ "application/json": {
137161
+ "schema": {
137162
+ "oneOf": [
137163
+ {
137164
+ "type": "object",
137165
+ "properties": {
137166
+ "defined": {
137167
+ "const": true
137168
+ },
137169
+ "code": {
137170
+ "const": "BAD_REQUEST"
137171
+ },
137172
+ "status": {
137173
+ "const": 400
137174
+ },
137175
+ "message": {
137176
+ "type": "string",
137177
+ "default": "Check the request input."
137178
+ },
137179
+ "data": {}
137180
+ },
137181
+ "required": [
137182
+ "defined",
137183
+ "code",
137184
+ "status",
137185
+ "message"
137186
+ ]
137187
+ },
137188
+ {
137189
+ "type": "object",
137190
+ "properties": {
137191
+ "defined": {
137192
+ "const": false
137193
+ },
137194
+ "code": {
137195
+ "type": "string"
137196
+ },
137197
+ "status": {
137198
+ "type": "number"
137199
+ },
137200
+ "message": {
137201
+ "type": "string"
137202
+ },
137203
+ "data": {}
137204
+ },
137205
+ "required": [
137206
+ "defined",
137207
+ "code",
137208
+ "status",
137209
+ "message"
137210
+ ]
137211
+ }
137212
+ ]
137213
+ }
137214
+ }
137215
+ }
137216
+ },
137217
+ "401": {
137218
+ "description": "401",
137219
+ "content": {
137220
+ "application/json": {
137221
+ "schema": {
137222
+ "oneOf": [
137223
+ {
137224
+ "type": "object",
137225
+ "properties": {
137226
+ "defined": {
137227
+ "const": true
137228
+ },
137229
+ "code": {
137230
+ "const": "UNAUTHORIZED"
137231
+ },
137232
+ "status": {
137233
+ "const": 401
137234
+ },
137235
+ "message": {
137236
+ "type": "string",
137237
+ "default": "A valid Shuffl API token is required."
137238
+ },
137239
+ "data": {}
137240
+ },
137241
+ "required": [
137242
+ "defined",
137243
+ "code",
137244
+ "status",
137245
+ "message"
137246
+ ]
137247
+ },
137248
+ {
137249
+ "type": "object",
137250
+ "properties": {
137251
+ "defined": {
137252
+ "const": false
137253
+ },
137254
+ "code": {
137255
+ "type": "string"
137256
+ },
137257
+ "status": {
137258
+ "type": "number"
137259
+ },
137260
+ "message": {
137261
+ "type": "string"
137262
+ },
137263
+ "data": {}
137264
+ },
137265
+ "required": [
137266
+ "defined",
137267
+ "code",
137268
+ "status",
137269
+ "message"
137270
+ ]
137271
+ }
137272
+ ]
137273
+ }
137274
+ }
137275
+ }
137276
+ },
137277
+ "403": {
137278
+ "description": "403",
137279
+ "content": {
137280
+ "application/json": {
137281
+ "schema": {
137282
+ "oneOf": [
137283
+ {
137284
+ "type": "object",
137285
+ "properties": {
137286
+ "defined": {
137287
+ "const": true
137288
+ },
137289
+ "code": {
137290
+ "const": "FORBIDDEN"
137291
+ },
137292
+ "status": {
137293
+ "const": 403
137294
+ },
137295
+ "message": {
137296
+ "type": "string",
137297
+ "default": "This token or team role does not permit the operation."
137298
+ },
137299
+ "data": {}
137300
+ },
137301
+ "required": [
137302
+ "defined",
137303
+ "code",
137304
+ "status",
137305
+ "message"
137306
+ ]
137307
+ },
137308
+ {
137309
+ "type": "object",
137310
+ "properties": {
137311
+ "defined": {
137312
+ "const": false
137313
+ },
137314
+ "code": {
137315
+ "type": "string"
137316
+ },
137317
+ "status": {
137318
+ "type": "number"
137319
+ },
137320
+ "message": {
137321
+ "type": "string"
137322
+ },
137323
+ "data": {}
137324
+ },
137325
+ "required": [
137326
+ "defined",
137327
+ "code",
137328
+ "status",
137329
+ "message"
137330
+ ]
137331
+ }
137332
+ ]
137333
+ }
137334
+ }
137335
+ }
137336
+ },
137337
+ "404": {
137338
+ "description": "404",
137339
+ "content": {
137340
+ "application/json": {
137341
+ "schema": {
137342
+ "oneOf": [
137343
+ {
137344
+ "type": "object",
137345
+ "properties": {
137346
+ "defined": {
137347
+ "const": true
137348
+ },
137349
+ "code": {
137350
+ "const": "NOT_FOUND"
137351
+ },
137352
+ "status": {
137353
+ "const": 404
137354
+ },
137355
+ "message": {
137356
+ "type": "string",
137357
+ "default": "The requested resource was not found."
137358
+ },
137359
+ "data": {}
137360
+ },
137361
+ "required": [
137362
+ "defined",
137363
+ "code",
137364
+ "status",
137365
+ "message"
137366
+ ]
137367
+ },
137368
+ {
137369
+ "type": "object",
137370
+ "properties": {
137371
+ "defined": {
137372
+ "const": false
137373
+ },
137374
+ "code": {
137375
+ "type": "string"
137376
+ },
137377
+ "status": {
137378
+ "type": "number"
137379
+ },
137380
+ "message": {
137381
+ "type": "string"
137382
+ },
137383
+ "data": {}
137384
+ },
137385
+ "required": [
137386
+ "defined",
137387
+ "code",
137388
+ "status",
137389
+ "message"
137390
+ ]
137391
+ }
137392
+ ]
137393
+ }
137394
+ }
137395
+ }
137396
+ },
137397
+ "409": {
137398
+ "description": "409",
137399
+ "content": {
137400
+ "application/json": {
137401
+ "schema": {
137402
+ "oneOf": [
137403
+ {
137404
+ "type": "object",
137405
+ "properties": {
137406
+ "defined": {
137407
+ "const": true
137408
+ },
137409
+ "code": {
137410
+ "const": "CONFLICT"
137411
+ },
137412
+ "status": {
137413
+ "const": 409
137414
+ },
137415
+ "message": {
137416
+ "type": "string",
137417
+ "default": "The resource changed or the request key was reused."
137418
+ },
137419
+ "data": {}
137420
+ },
137421
+ "required": [
137422
+ "defined",
137423
+ "code",
137424
+ "status",
137425
+ "message"
137426
+ ]
137427
+ },
137428
+ {
137429
+ "type": "object",
137430
+ "properties": {
137431
+ "defined": {
137432
+ "const": false
137433
+ },
137434
+ "code": {
137435
+ "type": "string"
137436
+ },
137437
+ "status": {
137438
+ "type": "number"
137439
+ },
137440
+ "message": {
137441
+ "type": "string"
137442
+ },
137443
+ "data": {}
137444
+ },
137445
+ "required": [
137446
+ "defined",
137447
+ "code",
137448
+ "status",
137449
+ "message"
137450
+ ]
137451
+ }
137452
+ ]
137453
+ }
137454
+ }
137455
+ }
137456
+ },
137457
+ "412": {
137458
+ "description": "412",
137459
+ "content": {
137460
+ "application/json": {
137461
+ "schema": {
137462
+ "oneOf": [
137463
+ {
137464
+ "type": "object",
137465
+ "properties": {
137466
+ "defined": {
137467
+ "const": true
137468
+ },
137469
+ "code": {
137470
+ "const": "PRECONDITION_FAILED"
137471
+ },
137472
+ "status": {
137473
+ "const": 412
137474
+ },
137475
+ "message": {
137476
+ "type": "string",
137477
+ "default": "The team is not ready for this operation."
137478
+ },
137479
+ "data": {}
137480
+ },
137481
+ "required": [
137482
+ "defined",
137483
+ "code",
137484
+ "status",
137485
+ "message"
137486
+ ]
137487
+ },
137488
+ {
137489
+ "type": "object",
137490
+ "properties": {
137491
+ "defined": {
137492
+ "const": false
137493
+ },
137494
+ "code": {
137495
+ "type": "string"
137496
+ },
137497
+ "status": {
137498
+ "type": "number"
137499
+ },
137500
+ "message": {
137501
+ "type": "string"
137502
+ },
137503
+ "data": {}
137504
+ },
137505
+ "required": [
137506
+ "defined",
137507
+ "code",
137508
+ "status",
137509
+ "message"
137510
+ ]
137511
+ }
137512
+ ]
137513
+ }
137514
+ }
137515
+ }
137516
+ },
137517
+ "429": {
137518
+ "description": "429",
137519
+ "content": {
137520
+ "application/json": {
137521
+ "schema": {
137522
+ "oneOf": [
137523
+ {
137524
+ "type": "object",
137525
+ "properties": {
137526
+ "defined": {
137527
+ "const": true
137528
+ },
137529
+ "code": {
137530
+ "const": "TOO_MANY_REQUESTS"
137531
+ },
137532
+ "status": {
137533
+ "const": 429
137534
+ },
137535
+ "message": {
137536
+ "type": "string",
137537
+ "default": "Too many requests. Try again shortly."
137538
+ },
137539
+ "data": {}
137540
+ },
137541
+ "required": [
137542
+ "defined",
137543
+ "code",
137544
+ "status",
137545
+ "message"
137546
+ ]
137547
+ },
137548
+ {
137549
+ "type": "object",
137550
+ "properties": {
137551
+ "defined": {
137552
+ "const": false
137553
+ },
137554
+ "code": {
137555
+ "type": "string"
137556
+ },
137557
+ "status": {
137558
+ "type": "number"
137559
+ },
137560
+ "message": {
137561
+ "type": "string"
137562
+ },
137563
+ "data": {}
137564
+ },
137565
+ "required": [
137566
+ "defined",
137567
+ "code",
137568
+ "status",
137569
+ "message"
137570
+ ]
137571
+ }
137572
+ ]
137573
+ }
137574
+ }
137575
+ }
137576
+ }
137577
+ },
137578
+ "x-shuffl-access": "read",
137579
+ "x-shuffl-permission": "playbooks.buddyFollowUps"
137580
+ }
137581
+ },
137582
+ "/manage/playbooks/buddyProgram": {
137583
+ "post": {
137584
+ "operationId": "playbooks.buddyProgram",
137585
+ "summary": "Buddy volunteers and recent buddies, with how many of their hires said they met and how many never did",
137586
+ "requestBody": {
137587
+ "required": true,
137588
+ "content": {
137589
+ "application/json": {
137590
+ "schema": {
137591
+ "type": "object",
137592
+ "additionalProperties": false
137593
+ }
137594
+ }
137595
+ }
137596
+ },
137597
+ "responses": {
137598
+ "200": {
137599
+ "description": "OK",
137600
+ "content": {
137601
+ "application/json": {
137602
+ "schema": {
137603
+ "type": "object",
137604
+ "properties": {
137605
+ "people": {
137606
+ "type": "array",
137607
+ "items": {
137608
+ "type": "object",
137609
+ "properties": {
137610
+ "hiresAnswered": {
137611
+ "type": "number"
137612
+ },
137613
+ "hiresHelped": {
137614
+ "type": "number"
137615
+ },
137616
+ "hiresMet": {
137617
+ "type": "number"
137618
+ },
137619
+ "id": {
137620
+ "type": "string"
137621
+ },
137622
+ "lastNeverMetAt": {
137623
+ "anyOf": [
137624
+ {
137625
+ "type": "null"
137626
+ },
137627
+ {
137628
+ "type": "string"
137629
+ }
137630
+ ]
137631
+ },
137632
+ "load": {
137633
+ "type": "object",
137634
+ "properties": {
137635
+ "active": {
137636
+ "type": "number"
137637
+ },
137638
+ "total": {
137639
+ "type": "number"
137640
+ }
137641
+ },
137642
+ "required": [
137643
+ "active",
137644
+ "total"
137645
+ ],
137646
+ "additionalProperties": false
137647
+ },
137648
+ "name": {
137649
+ "type": "string"
137650
+ },
137651
+ "neverMet": {
137652
+ "type": "number"
137653
+ },
137654
+ "photoUrl": {
137655
+ "anyOf": [
137656
+ {
137657
+ "type": "null"
137658
+ },
137659
+ {
137660
+ "type": "string"
137661
+ }
137662
+ ]
137663
+ },
137664
+ "slackUserId": {
137665
+ "anyOf": [
137666
+ {
137667
+ "type": "null"
137668
+ },
137669
+ {
137670
+ "type": "string"
137671
+ }
137672
+ ]
137673
+ },
137674
+ "status": {
137675
+ "anyOf": [
137676
+ {
137677
+ "type": "null"
137678
+ },
137679
+ {
137680
+ "const": "removed"
137681
+ },
137682
+ {
137683
+ "const": "volunteer"
137684
+ }
137685
+ ]
137686
+ },
137687
+ "title": {
137688
+ "anyOf": [
137689
+ {
137690
+ "type": "null"
137691
+ },
137692
+ {
137693
+ "type": "string"
137694
+ }
137695
+ ]
137696
+ },
137697
+ "userId": {
137698
+ "anyOf": [
137699
+ {
137700
+ "type": "null"
137701
+ },
137702
+ {
137703
+ "type": "string"
137704
+ }
137705
+ ]
137706
+ }
137707
+ },
137708
+ "required": [
137709
+ "hiresAnswered",
137710
+ "hiresHelped",
137711
+ "hiresMet",
137712
+ "id",
137713
+ "lastNeverMetAt",
137714
+ "load",
137715
+ "name",
137716
+ "neverMet",
137717
+ "photoUrl",
137718
+ "slackUserId",
137719
+ "status",
137720
+ "title",
137721
+ "userId"
137722
+ ],
137723
+ "additionalProperties": false
137724
+ }
137725
+ },
137726
+ "summary": {
137727
+ "type": "object",
137728
+ "properties": {
137729
+ "hiresAnswered": {
137730
+ "type": "number"
137731
+ },
137732
+ "hiresMet": {
137733
+ "type": "number"
137734
+ },
137735
+ "volunteers": {
137736
+ "type": "number"
137737
+ }
137738
+ },
137739
+ "required": [
137740
+ "hiresAnswered",
137741
+ "hiresMet",
137742
+ "volunteers"
137743
+ ],
137744
+ "additionalProperties": false
137745
+ }
137746
+ },
137747
+ "required": [
137748
+ "people",
137749
+ "summary"
137130
137750
  ],
137131
137751
  "additionalProperties": false
137132
137752
  }
@@ -147242,6 +147862,28 @@
147242
147862
  }
147243
147863
  ]
147244
147864
  },
147865
+ "formFields": {
147866
+ "type": "array",
147867
+ "items": {
147868
+ "anyOf": [
147869
+ {
147870
+ "const": "bio"
147871
+ },
147872
+ {
147873
+ "const": "birthday"
147874
+ },
147875
+ {
147876
+ "const": "photo"
147877
+ },
147878
+ {
147879
+ "const": "preferredName"
147880
+ },
147881
+ {
147882
+ "const": "pronouns"
147883
+ }
147884
+ ]
147885
+ }
147886
+ },
147245
147887
  "id": {
147246
147888
  "type": "string"
147247
147889
  },
@@ -150663,65 +151305,7 @@
150663
151305
  }
150664
151306
  ]
150665
151307
  },
150666
- "gettingReady": {
150667
- "type": "array",
150668
- "items": {
150669
- "type": "object",
150670
- "properties": {
150671
- "done": {
150672
- "type": "boolean"
150673
- },
150674
- "due": {
150675
- "anyOf": [
150676
- {
150677
- "type": "null"
150678
- },
150679
- {
150680
- "type": "string"
150681
- }
150682
- ]
150683
- },
150684
- "id": {
150685
- "type": "string"
150686
- },
150687
- "label": {
150688
- "type": "string"
150689
- },
150690
- "owner": {
150691
- "anyOf": [
150692
- {
150693
- "type": "null"
150694
- },
150695
- {
150696
- "type": "object",
150697
- "properties": {
150698
- "id": {
150699
- "type": "string"
150700
- },
150701
- "name": {
150702
- "type": "string"
150703
- }
150704
- },
150705
- "required": [
150706
- "id",
150707
- "name"
150708
- ],
150709
- "additionalProperties": false
150710
- }
150711
- ]
150712
- }
150713
- },
150714
- "required": [
150715
- "done",
150716
- "due",
150717
- "id",
150718
- "label",
150719
- "owner"
150720
- ],
150721
- "additionalProperties": false
150722
- }
150723
- },
150724
- "manager": {
151308
+ "formValues": {
150725
151309
  "anyOf": [
150726
151310
  {
150727
151311
  "type": "null"
@@ -150729,450 +151313,620 @@
150729
151313
  {
150730
151314
  "type": "object",
150731
151315
  "properties": {
150732
- "email": {
150733
- "anyOf": [
150734
- {
150735
- "type": "null"
150736
- },
150737
- {
150738
- "type": "string"
150739
- }
150740
- ]
150741
- },
150742
- "id": {
150743
- "type": "string"
150744
- },
150745
- "name": {
151316
+ "bio": {
150746
151317
  "type": "string"
150747
151318
  },
150748
- "photoUrl": {
151319
+ "birthday": {
150749
151320
  "anyOf": [
150750
151321
  {
150751
151322
  "type": "null"
150752
151323
  },
150753
151324
  {
150754
- "type": "string"
151325
+ "type": "object",
151326
+ "properties": {
151327
+ "day": {
151328
+ "type": "number"
151329
+ },
151330
+ "month": {
151331
+ "type": "number"
151332
+ }
151333
+ },
151334
+ "required": [
151335
+ "day",
151336
+ "month"
151337
+ ],
151338
+ "additionalProperties": false
150755
151339
  }
150756
151340
  ]
150757
151341
  },
150758
- "slackUserId": {
150759
- "anyOf": [
150760
- {
150761
- "type": "null"
150762
- },
150763
- {
150764
- "type": "string"
150765
- }
150766
- ]
151342
+ "photo": {
151343
+ "type": "boolean"
150767
151344
  },
150768
- "title": {
150769
- "anyOf": [
150770
- {
150771
- "type": "null"
150772
- },
150773
- {
150774
- "type": "string"
150775
- }
150776
- ]
151345
+ "preferredName": {
151346
+ "type": "string"
150777
151347
  },
150778
- "userId": {
150779
- "anyOf": [
150780
- {
150781
- "type": "null"
150782
- },
150783
- {
150784
- "type": "string"
150785
- }
150786
- ]
151348
+ "pronouns": {
151349
+ "type": "string"
150787
151350
  }
150788
151351
  },
150789
151352
  "required": [
150790
- "email",
150791
- "id",
150792
- "name",
150793
- "photoUrl",
150794
- "slackUserId",
150795
- "title",
150796
- "userId"
151353
+ "bio",
151354
+ "birthday",
151355
+ "photo",
151356
+ "preferredName",
151357
+ "pronouns"
150797
151358
  ],
150798
151359
  "additionalProperties": false
150799
151360
  }
150800
151361
  ]
150801
151362
  },
150802
- "met": {
150803
- "type": "array",
150804
- "items": {
150805
- "type": "object",
150806
- "properties": {
150807
- "email": {
150808
- "anyOf": [
150809
- {
150810
- "type": "null"
150811
- },
150812
- {
150813
- "type": "string"
150814
- }
150815
- ]
150816
- },
150817
- "id": {
150818
- "type": "string"
150819
- },
150820
- "name": {
150821
- "type": "string"
150822
- },
150823
- "photoUrl": {
150824
- "anyOf": [
150825
- {
150826
- "type": "null"
150827
- },
150828
- {
150829
- "type": "string"
150830
- }
150831
- ]
150832
- },
150833
- "slackUserId": {
150834
- "anyOf": [
150835
- {
150836
- "type": "null"
150837
- },
150838
- {
150839
- "type": "string"
150840
- }
150841
- ]
150842
- },
150843
- "title": {
150844
- "anyOf": [
150845
- {
150846
- "type": "null"
150847
- },
150848
- {
150849
- "type": "string"
150850
- }
150851
- ]
150852
- },
150853
- "userId": {
150854
- "anyOf": [
150855
- {
150856
- "type": "null"
150857
- },
150858
- {
150859
- "type": "string"
150860
- }
150861
- ]
150862
- }
150863
- },
150864
- "required": [
150865
- "email",
150866
- "id",
150867
- "name",
150868
- "photoUrl",
150869
- "slackUserId",
150870
- "title",
150871
- "userId"
150872
- ],
150873
- "additionalProperties": false
150874
- }
150875
- },
150876
- "playbooks": {
150877
- "type": "array",
150878
- "items": {
150879
- "type": "object",
150880
- "properties": {
150881
- "current": {
150882
- "type": "boolean"
150883
- },
150884
- "dayZero": {
150885
- "anyOf": [
150886
- {
150887
- "const": "date"
150888
- },
150889
- {
150890
- "const": "joined"
150891
- },
150892
- {
150893
- "const": "last_day"
150894
- },
150895
- {
150896
- "const": "start_date"
150897
- }
150898
- ]
150899
- },
150900
- "id": {
150901
- "type": "string"
150902
- },
150903
- "name": {
150904
- "type": "string"
150905
- },
150906
- "startDate": {
150907
- "type": "string"
150908
- },
150909
- "status": {
150910
- "anyOf": [
150911
- {
150912
- "const": "active"
150913
- },
150914
- {
150915
- "const": "completed"
150916
- },
150917
- {
150918
- "const": "removed"
150919
- }
150920
- ]
150921
- }
150922
- },
150923
- "required": [
150924
- "current",
150925
- "dayZero",
150926
- "id",
150927
- "name",
150928
- "startDate",
150929
- "status"
150930
- ],
150931
- "additionalProperties": false
150932
- }
150933
- },
150934
- "programName": {
150935
- "anyOf": [
150936
- {
150937
- "type": "null"
150938
- },
150939
- {
150940
- "type": "string"
150941
- }
150942
- ]
150943
- },
150944
- "resources": {
150945
- "type": "array",
150946
- "items": {
150947
- "anyOf": [
150948
- {
150949
- "type": "object",
150950
- "properties": {
150951
- "day": {
150952
- "type": "number"
150953
- },
150954
- "sourceId": {
150955
- "type": "string"
150956
- },
150957
- "title": {
150958
- "type": "string"
150959
- },
150960
- "type": {
150961
- "const": "knowledge"
150962
- }
150963
- },
150964
- "required": [
150965
- "day",
150966
- "sourceId",
150967
- "title",
150968
- "type"
150969
- ],
150970
- "additionalProperties": false
150971
- },
150972
- {
150973
- "type": "object",
150974
- "properties": {
150975
- "day": {
150976
- "type": "number"
150977
- },
150978
- "label": {
150979
- "type": "string"
150980
- },
150981
- "type": {
150982
- "const": "link"
150983
- },
150984
- "url": {
150985
- "type": "string"
150986
- }
150987
- },
150988
- "required": [
150989
- "day",
150990
- "label",
150991
- "type",
150992
- "url"
150993
- ],
150994
- "additionalProperties": false
150995
- },
150996
- {
150997
- "type": "object",
150998
- "properties": {
150999
- "communityId": {
151000
- "type": "string"
151001
- },
151002
- "day": {
151003
- "type": "number"
151004
- },
151005
- "name": {
151006
- "type": "string"
151007
- },
151008
- "type": {
151009
- "const": "community"
151010
- }
151011
- },
151012
- "required": [
151013
- "communityId",
151014
- "day",
151015
- "name",
151016
- "type"
151017
- ],
151018
- "additionalProperties": false
151019
- }
151020
- ]
151021
- }
151022
- },
151023
- "startDate": {
151024
- "anyOf": [
151025
- {
151026
- "type": "null"
151027
- },
151028
- {
151029
- "type": "string"
151030
- }
151031
- ]
151032
- },
151033
- "steps": {
151034
- "type": "array",
151035
- "items": {
151036
- "type": "object",
151037
- "properties": {
151038
- "answer": {
151039
- "anyOf": [
151040
- {
151041
- "type": "null"
151042
- },
151043
- {
151044
- "const": "all_good"
151045
- },
151046
- {
151047
- "const": "need_help"
151048
- }
151049
- ]
151050
- },
151051
- "confirmedAt": {
151052
- "anyOf": [
151053
- {
151054
- "type": "null"
151055
- },
151056
- {
151057
- "type": "string",
151058
- "format": "date-time"
151059
- }
151060
- ]
151061
- },
151062
- "date": {
151063
- "type": "string"
151064
- },
151065
- "day": {
151066
- "type": "number"
151067
- },
151068
- "kind": {
151069
- "anyOf": [
151070
- {
151071
- "const": "acknowledge"
151072
- },
151073
- {
151074
- "const": "check_in"
151075
- },
151076
- {
151077
- "const": "checkpoint"
151078
- },
151079
- {
151080
- "const": "introduction"
151081
- },
151082
- {
151083
- "const": "meet"
151084
- },
151085
- {
151086
- "const": "message"
151087
- },
151088
- {
151089
- "const": "task"
151090
- }
151091
- ]
151092
- },
151093
- "page": {
151094
- "anyOf": [
151095
- {
151096
- "type": "null"
151097
- },
151098
- {
151099
- "type": "object",
151100
- "properties": {
151101
- "sourceId": {
151102
- "type": "string"
151103
- },
151104
- "title": {
151105
- "type": "string"
151106
- }
151107
- },
151108
- "required": [
151109
- "sourceId",
151110
- "title"
151111
- ],
151112
- "additionalProperties": false
151113
- }
151114
- ]
151115
- },
151116
- "state": {
151117
- "anyOf": [
151118
- {
151119
- "const": "done"
151120
- },
151121
- {
151122
- "const": "planned"
151123
- },
151124
- {
151125
- "const": "stopped"
151126
- }
151127
- ]
151128
- },
151129
- "status": {
151130
- "type": "string"
151131
- },
151132
- "stepId": {
151133
- "type": "string"
151134
- },
151135
- "stepKey": {
151136
- "anyOf": [
151137
- {
151138
- "type": "null"
151139
- },
151140
- {
151141
- "type": "string"
151142
- }
151143
- ]
151144
- },
151145
- "title": {
151146
- "anyOf": [
151147
- {
151148
- "type": "null"
151149
- },
151150
- {
151151
- "type": "string"
151152
- }
151153
- ]
151154
- }
151155
- },
151156
- "required": [
151157
- "answer",
151158
- "confirmedAt",
151159
- "date",
151160
- "day",
151161
- "kind",
151162
- "page",
151163
- "state",
151164
- "status",
151165
- "stepId",
151166
- "stepKey",
151167
- "title"
151168
- ],
151169
- "additionalProperties": false
151170
- }
151171
- },
151172
- "today": {
151173
- "type": "string"
151174
- },
151175
- "todos": {
151363
+ "gettingReady": {
151364
+ "type": "array",
151365
+ "items": {
151366
+ "type": "object",
151367
+ "properties": {
151368
+ "done": {
151369
+ "type": "boolean"
151370
+ },
151371
+ "due": {
151372
+ "anyOf": [
151373
+ {
151374
+ "type": "null"
151375
+ },
151376
+ {
151377
+ "type": "string"
151378
+ }
151379
+ ]
151380
+ },
151381
+ "id": {
151382
+ "type": "string"
151383
+ },
151384
+ "label": {
151385
+ "type": "string"
151386
+ },
151387
+ "owner": {
151388
+ "anyOf": [
151389
+ {
151390
+ "type": "null"
151391
+ },
151392
+ {
151393
+ "type": "object",
151394
+ "properties": {
151395
+ "id": {
151396
+ "type": "string"
151397
+ },
151398
+ "name": {
151399
+ "type": "string"
151400
+ }
151401
+ },
151402
+ "required": [
151403
+ "id",
151404
+ "name"
151405
+ ],
151406
+ "additionalProperties": false
151407
+ }
151408
+ ]
151409
+ }
151410
+ },
151411
+ "required": [
151412
+ "done",
151413
+ "due",
151414
+ "id",
151415
+ "label",
151416
+ "owner"
151417
+ ],
151418
+ "additionalProperties": false
151419
+ }
151420
+ },
151421
+ "manager": {
151422
+ "anyOf": [
151423
+ {
151424
+ "type": "null"
151425
+ },
151426
+ {
151427
+ "type": "object",
151428
+ "properties": {
151429
+ "email": {
151430
+ "anyOf": [
151431
+ {
151432
+ "type": "null"
151433
+ },
151434
+ {
151435
+ "type": "string"
151436
+ }
151437
+ ]
151438
+ },
151439
+ "id": {
151440
+ "type": "string"
151441
+ },
151442
+ "name": {
151443
+ "type": "string"
151444
+ },
151445
+ "photoUrl": {
151446
+ "anyOf": [
151447
+ {
151448
+ "type": "null"
151449
+ },
151450
+ {
151451
+ "type": "string"
151452
+ }
151453
+ ]
151454
+ },
151455
+ "slackUserId": {
151456
+ "anyOf": [
151457
+ {
151458
+ "type": "null"
151459
+ },
151460
+ {
151461
+ "type": "string"
151462
+ }
151463
+ ]
151464
+ },
151465
+ "title": {
151466
+ "anyOf": [
151467
+ {
151468
+ "type": "null"
151469
+ },
151470
+ {
151471
+ "type": "string"
151472
+ }
151473
+ ]
151474
+ },
151475
+ "userId": {
151476
+ "anyOf": [
151477
+ {
151478
+ "type": "null"
151479
+ },
151480
+ {
151481
+ "type": "string"
151482
+ }
151483
+ ]
151484
+ }
151485
+ },
151486
+ "required": [
151487
+ "email",
151488
+ "id",
151489
+ "name",
151490
+ "photoUrl",
151491
+ "slackUserId",
151492
+ "title",
151493
+ "userId"
151494
+ ],
151495
+ "additionalProperties": false
151496
+ }
151497
+ ]
151498
+ },
151499
+ "met": {
151500
+ "type": "array",
151501
+ "items": {
151502
+ "type": "object",
151503
+ "properties": {
151504
+ "email": {
151505
+ "anyOf": [
151506
+ {
151507
+ "type": "null"
151508
+ },
151509
+ {
151510
+ "type": "string"
151511
+ }
151512
+ ]
151513
+ },
151514
+ "id": {
151515
+ "type": "string"
151516
+ },
151517
+ "name": {
151518
+ "type": "string"
151519
+ },
151520
+ "photoUrl": {
151521
+ "anyOf": [
151522
+ {
151523
+ "type": "null"
151524
+ },
151525
+ {
151526
+ "type": "string"
151527
+ }
151528
+ ]
151529
+ },
151530
+ "slackUserId": {
151531
+ "anyOf": [
151532
+ {
151533
+ "type": "null"
151534
+ },
151535
+ {
151536
+ "type": "string"
151537
+ }
151538
+ ]
151539
+ },
151540
+ "title": {
151541
+ "anyOf": [
151542
+ {
151543
+ "type": "null"
151544
+ },
151545
+ {
151546
+ "type": "string"
151547
+ }
151548
+ ]
151549
+ },
151550
+ "userId": {
151551
+ "anyOf": [
151552
+ {
151553
+ "type": "null"
151554
+ },
151555
+ {
151556
+ "type": "string"
151557
+ }
151558
+ ]
151559
+ }
151560
+ },
151561
+ "required": [
151562
+ "email",
151563
+ "id",
151564
+ "name",
151565
+ "photoUrl",
151566
+ "slackUserId",
151567
+ "title",
151568
+ "userId"
151569
+ ],
151570
+ "additionalProperties": false
151571
+ }
151572
+ },
151573
+ "personId": {
151574
+ "type": "string"
151575
+ },
151576
+ "playbooks": {
151577
+ "type": "array",
151578
+ "items": {
151579
+ "type": "object",
151580
+ "properties": {
151581
+ "current": {
151582
+ "type": "boolean"
151583
+ },
151584
+ "dayZero": {
151585
+ "anyOf": [
151586
+ {
151587
+ "const": "date"
151588
+ },
151589
+ {
151590
+ "const": "joined"
151591
+ },
151592
+ {
151593
+ "const": "last_day"
151594
+ },
151595
+ {
151596
+ "const": "start_date"
151597
+ }
151598
+ ]
151599
+ },
151600
+ "id": {
151601
+ "type": "string"
151602
+ },
151603
+ "name": {
151604
+ "type": "string"
151605
+ },
151606
+ "startDate": {
151607
+ "type": "string"
151608
+ },
151609
+ "status": {
151610
+ "anyOf": [
151611
+ {
151612
+ "const": "active"
151613
+ },
151614
+ {
151615
+ "const": "completed"
151616
+ },
151617
+ {
151618
+ "const": "removed"
151619
+ }
151620
+ ]
151621
+ }
151622
+ },
151623
+ "required": [
151624
+ "current",
151625
+ "dayZero",
151626
+ "id",
151627
+ "name",
151628
+ "startDate",
151629
+ "status"
151630
+ ],
151631
+ "additionalProperties": false
151632
+ }
151633
+ },
151634
+ "programName": {
151635
+ "anyOf": [
151636
+ {
151637
+ "type": "null"
151638
+ },
151639
+ {
151640
+ "type": "string"
151641
+ }
151642
+ ]
151643
+ },
151644
+ "resources": {
151645
+ "type": "array",
151646
+ "items": {
151647
+ "anyOf": [
151648
+ {
151649
+ "type": "object",
151650
+ "properties": {
151651
+ "day": {
151652
+ "type": "number"
151653
+ },
151654
+ "sourceId": {
151655
+ "type": "string"
151656
+ },
151657
+ "title": {
151658
+ "type": "string"
151659
+ },
151660
+ "type": {
151661
+ "const": "knowledge"
151662
+ }
151663
+ },
151664
+ "required": [
151665
+ "day",
151666
+ "sourceId",
151667
+ "title",
151668
+ "type"
151669
+ ],
151670
+ "additionalProperties": false
151671
+ },
151672
+ {
151673
+ "type": "object",
151674
+ "properties": {
151675
+ "day": {
151676
+ "type": "number"
151677
+ },
151678
+ "label": {
151679
+ "type": "string"
151680
+ },
151681
+ "type": {
151682
+ "const": "link"
151683
+ },
151684
+ "url": {
151685
+ "type": "string"
151686
+ }
151687
+ },
151688
+ "required": [
151689
+ "day",
151690
+ "label",
151691
+ "type",
151692
+ "url"
151693
+ ],
151694
+ "additionalProperties": false
151695
+ },
151696
+ {
151697
+ "type": "object",
151698
+ "properties": {
151699
+ "communityId": {
151700
+ "type": "string"
151701
+ },
151702
+ "day": {
151703
+ "type": "number"
151704
+ },
151705
+ "name": {
151706
+ "type": "string"
151707
+ },
151708
+ "type": {
151709
+ "const": "community"
151710
+ }
151711
+ },
151712
+ "required": [
151713
+ "communityId",
151714
+ "day",
151715
+ "name",
151716
+ "type"
151717
+ ],
151718
+ "additionalProperties": false
151719
+ }
151720
+ ]
151721
+ }
151722
+ },
151723
+ "startDate": {
151724
+ "anyOf": [
151725
+ {
151726
+ "type": "null"
151727
+ },
151728
+ {
151729
+ "type": "string"
151730
+ }
151731
+ ]
151732
+ },
151733
+ "steps": {
151734
+ "type": "array",
151735
+ "items": {
151736
+ "type": "object",
151737
+ "properties": {
151738
+ "answer": {
151739
+ "anyOf": [
151740
+ {
151741
+ "type": "null"
151742
+ },
151743
+ {
151744
+ "const": "all_good"
151745
+ },
151746
+ {
151747
+ "const": "need_help"
151748
+ }
151749
+ ]
151750
+ },
151751
+ "confirmedAt": {
151752
+ "anyOf": [
151753
+ {
151754
+ "type": "null"
151755
+ },
151756
+ {
151757
+ "type": "string",
151758
+ "format": "date-time"
151759
+ }
151760
+ ]
151761
+ },
151762
+ "date": {
151763
+ "type": "string"
151764
+ },
151765
+ "day": {
151766
+ "type": "number"
151767
+ },
151768
+ "form": {
151769
+ "anyOf": [
151770
+ {
151771
+ "type": "null"
151772
+ },
151773
+ {
151774
+ "type": "object",
151775
+ "properties": {
151776
+ "answeredAt": {
151777
+ "anyOf": [
151778
+ {
151779
+ "type": "null"
151780
+ },
151781
+ {
151782
+ "type": "string",
151783
+ "format": "date-time"
151784
+ }
151785
+ ]
151786
+ },
151787
+ "fields": {
151788
+ "type": "array",
151789
+ "items": {
151790
+ "anyOf": [
151791
+ {
151792
+ "const": "bio"
151793
+ },
151794
+ {
151795
+ "const": "birthday"
151796
+ },
151797
+ {
151798
+ "const": "photo"
151799
+ },
151800
+ {
151801
+ "const": "preferredName"
151802
+ },
151803
+ {
151804
+ "const": "pronouns"
151805
+ }
151806
+ ]
151807
+ }
151808
+ }
151809
+ },
151810
+ "required": [
151811
+ "answeredAt",
151812
+ "fields"
151813
+ ],
151814
+ "additionalProperties": false
151815
+ }
151816
+ ]
151817
+ },
151818
+ "kind": {
151819
+ "anyOf": [
151820
+ {
151821
+ "const": "acknowledge"
151822
+ },
151823
+ {
151824
+ "const": "check_in"
151825
+ },
151826
+ {
151827
+ "const": "checkpoint"
151828
+ },
151829
+ {
151830
+ "const": "form"
151831
+ },
151832
+ {
151833
+ "const": "introduction"
151834
+ },
151835
+ {
151836
+ "const": "meet"
151837
+ },
151838
+ {
151839
+ "const": "message"
151840
+ },
151841
+ {
151842
+ "const": "task"
151843
+ }
151844
+ ]
151845
+ },
151846
+ "page": {
151847
+ "anyOf": [
151848
+ {
151849
+ "type": "null"
151850
+ },
151851
+ {
151852
+ "type": "object",
151853
+ "properties": {
151854
+ "sourceId": {
151855
+ "type": "string"
151856
+ },
151857
+ "title": {
151858
+ "type": "string"
151859
+ }
151860
+ },
151861
+ "required": [
151862
+ "sourceId",
151863
+ "title"
151864
+ ],
151865
+ "additionalProperties": false
151866
+ }
151867
+ ]
151868
+ },
151869
+ "state": {
151870
+ "anyOf": [
151871
+ {
151872
+ "const": "done"
151873
+ },
151874
+ {
151875
+ "const": "planned"
151876
+ },
151877
+ {
151878
+ "const": "stopped"
151879
+ }
151880
+ ]
151881
+ },
151882
+ "status": {
151883
+ "type": "string"
151884
+ },
151885
+ "stepId": {
151886
+ "type": "string"
151887
+ },
151888
+ "stepKey": {
151889
+ "anyOf": [
151890
+ {
151891
+ "type": "null"
151892
+ },
151893
+ {
151894
+ "type": "string"
151895
+ }
151896
+ ]
151897
+ },
151898
+ "title": {
151899
+ "anyOf": [
151900
+ {
151901
+ "type": "null"
151902
+ },
151903
+ {
151904
+ "type": "string"
151905
+ }
151906
+ ]
151907
+ }
151908
+ },
151909
+ "required": [
151910
+ "answer",
151911
+ "confirmedAt",
151912
+ "date",
151913
+ "day",
151914
+ "form",
151915
+ "kind",
151916
+ "page",
151917
+ "state",
151918
+ "status",
151919
+ "stepId",
151920
+ "stepKey",
151921
+ "title"
151922
+ ],
151923
+ "additionalProperties": false
151924
+ }
151925
+ },
151926
+ "today": {
151927
+ "type": "string"
151928
+ },
151929
+ "todos": {
151176
151930
  "type": "array",
151177
151931
  "items": {
151178
151932
  "type": "object",
@@ -151239,9 +151993,11 @@
151239
151993
  "dayZero",
151240
151994
  "enrolled",
151241
151995
  "enrollmentId",
151996
+ "formValues",
151242
151997
  "gettingReady",
151243
151998
  "manager",
151244
151999
  "met",
152000
+ "personId",
151245
152001
  "playbooks",
151246
152002
  "programName",
151247
152003
  "resources",
@@ -152555,6 +153311,28 @@
152555
153311
  }
152556
153312
  ]
152557
153313
  },
153314
+ "formFields": {
153315
+ "type": "array",
153316
+ "items": {
153317
+ "anyOf": [
153318
+ {
153319
+ "const": "bio"
153320
+ },
153321
+ {
153322
+ "const": "birthday"
153323
+ },
153324
+ {
153325
+ "const": "photo"
153326
+ },
153327
+ {
153328
+ "const": "preferredName"
153329
+ },
153330
+ {
153331
+ "const": "pronouns"
153332
+ }
153333
+ ]
153334
+ }
153335
+ },
152558
153336
  "id": {
152559
153337
  "type": "string"
152560
153338
  },
@@ -152566,6 +153344,9 @@
152566
153344
  {
152567
153345
  "const": "checkpoint"
152568
153346
  },
153347
+ {
153348
+ "const": "form"
153349
+ },
152569
153350
  {
152570
153351
  "const": "meet"
152571
153352
  },
@@ -153290,6 +154071,28 @@
153290
154071
  }
153291
154072
  ]
153292
154073
  },
154074
+ "formFields": {
154075
+ "type": "array",
154076
+ "items": {
154077
+ "anyOf": [
154078
+ {
154079
+ "const": "bio"
154080
+ },
154081
+ {
154082
+ "const": "birthday"
154083
+ },
154084
+ {
154085
+ "const": "photo"
154086
+ },
154087
+ {
154088
+ "const": "preferredName"
154089
+ },
154090
+ {
154091
+ "const": "pronouns"
154092
+ }
154093
+ ]
154094
+ }
154095
+ },
153293
154096
  "id": {
153294
154097
  "type": "string"
153295
154098
  },
@@ -167496,6 +168299,9 @@
167496
168299
  }
167497
168300
  ]
167498
168301
  },
168302
+ "preferredName": {
168303
+ "type": "string"
168304
+ },
167499
168305
  "pronouns": {
167500
168306
  "anyOf": [
167501
168307
  {
@@ -167525,6 +168331,7 @@
167525
168331
  "location",
167526
168332
  "offers",
167527
168333
  "phone",
168334
+ "preferredName",
167528
168335
  "pronouns",
167529
168336
  "workingOn"
167530
168337
  ],
@@ -170491,6 +171298,9 @@
170491
171298
  "phone": {
170492
171299
  "type": "string"
170493
171300
  },
171301
+ "preferredName": {
171302
+ "type": "string"
171303
+ },
170494
171304
  "pronouns": {
170495
171305
  "type": "string"
170496
171306
  },
@@ -189346,6 +190156,1175 @@
189346
190156
  "x-shuffl-permission": "pulse.editProposal"
189347
190157
  }
189348
190158
  },
190159
+ "/manage/pulse/groupTrends": {
190160
+ "post": {
190161
+ "operationId": "pulse.groupTrends",
190162
+ "summary": "Read each group's Pulse results over time, period by period, with the change since the start (published group totals only)",
190163
+ "requestBody": {
190164
+ "required": true,
190165
+ "content": {
190166
+ "application/json": {
190167
+ "schema": {
190168
+ "type": "object",
190169
+ "properties": {
190170
+ "days": {
190171
+ "anyOf": [
190172
+ {
190173
+ "const": 30
190174
+ },
190175
+ {
190176
+ "const": 90
190177
+ },
190178
+ {
190179
+ "const": 180
190180
+ }
190181
+ ]
190182
+ }
190183
+ },
190184
+ "additionalProperties": false
190185
+ }
190186
+ }
190187
+ }
190188
+ },
190189
+ "responses": {
190190
+ "200": {
190191
+ "description": "OK",
190192
+ "content": {
190193
+ "application/json": {
190194
+ "schema": {
190195
+ "type": "object",
190196
+ "properties": {
190197
+ "days": {
190198
+ "anyOf": [
190199
+ {
190200
+ "const": 30
190201
+ },
190202
+ {
190203
+ "const": 90
190204
+ },
190205
+ {
190206
+ "const": 180
190207
+ }
190208
+ ]
190209
+ },
190210
+ "dimensions": {
190211
+ "type": "object",
190212
+ "properties": {
190213
+ "department": {
190214
+ "type": "array",
190215
+ "items": {
190216
+ "type": "object",
190217
+ "properties": {
190218
+ "label": {
190219
+ "type": "string"
190220
+ },
190221
+ "segment": {
190222
+ "type": "string"
190223
+ },
190224
+ "series": {
190225
+ "type": "array",
190226
+ "items": {
190227
+ "type": "object",
190228
+ "properties": {
190229
+ "change": {
190230
+ "anyOf": [
190231
+ {
190232
+ "type": "null"
190233
+ },
190234
+ {
190235
+ "type": "number"
190236
+ }
190237
+ ]
190238
+ },
190239
+ "latest": {
190240
+ "anyOf": [
190241
+ {
190242
+ "type": "null"
190243
+ },
190244
+ {
190245
+ "type": "number"
190246
+ }
190247
+ ]
190248
+ },
190249
+ "metric": {
190250
+ "anyOf": [
190251
+ {
190252
+ "const": "ai_adoption"
190253
+ },
190254
+ {
190255
+ "const": "belonging"
190256
+ },
190257
+ {
190258
+ "const": "clarity"
190259
+ },
190260
+ {
190261
+ "const": "engagement"
190262
+ },
190263
+ {
190264
+ "const": "enps"
190265
+ },
190266
+ {
190267
+ "const": "favourable"
190268
+ },
190269
+ {
190270
+ "const": "growth"
190271
+ },
190272
+ {
190273
+ "const": "manager"
190274
+ },
190275
+ {
190276
+ "const": "recognition"
190277
+ },
190278
+ {
190279
+ "const": "safety"
190280
+ },
190281
+ {
190282
+ "const": "tools"
190283
+ },
190284
+ {
190285
+ "const": "workload"
190286
+ }
190287
+ ]
190288
+ },
190289
+ "points": {
190290
+ "type": "array",
190291
+ "items": {
190292
+ "type": "object",
190293
+ "properties": {
190294
+ "seen": {
190295
+ "type": "boolean"
190296
+ },
190297
+ "value": {
190298
+ "anyOf": [
190299
+ {
190300
+ "type": "null"
190301
+ },
190302
+ {
190303
+ "type": "number"
190304
+ }
190305
+ ]
190306
+ }
190307
+ },
190308
+ "required": [
190309
+ "seen",
190310
+ "value"
190311
+ ],
190312
+ "additionalProperties": false
190313
+ }
190314
+ }
190315
+ },
190316
+ "required": [
190317
+ "change",
190318
+ "latest",
190319
+ "metric",
190320
+ "points"
190321
+ ],
190322
+ "additionalProperties": false
190323
+ }
190324
+ }
190325
+ },
190326
+ "required": [
190327
+ "label",
190328
+ "segment",
190329
+ "series"
190330
+ ],
190331
+ "additionalProperties": false
190332
+ }
190333
+ },
190334
+ "group": {
190335
+ "type": "array",
190336
+ "items": {
190337
+ "type": "object",
190338
+ "properties": {
190339
+ "label": {
190340
+ "type": "string"
190341
+ },
190342
+ "segment": {
190343
+ "type": "string"
190344
+ },
190345
+ "series": {
190346
+ "type": "array",
190347
+ "items": {
190348
+ "type": "object",
190349
+ "properties": {
190350
+ "change": {
190351
+ "anyOf": [
190352
+ {
190353
+ "type": "null"
190354
+ },
190355
+ {
190356
+ "type": "number"
190357
+ }
190358
+ ]
190359
+ },
190360
+ "latest": {
190361
+ "anyOf": [
190362
+ {
190363
+ "type": "null"
190364
+ },
190365
+ {
190366
+ "type": "number"
190367
+ }
190368
+ ]
190369
+ },
190370
+ "metric": {
190371
+ "anyOf": [
190372
+ {
190373
+ "const": "ai_adoption"
190374
+ },
190375
+ {
190376
+ "const": "belonging"
190377
+ },
190378
+ {
190379
+ "const": "clarity"
190380
+ },
190381
+ {
190382
+ "const": "engagement"
190383
+ },
190384
+ {
190385
+ "const": "enps"
190386
+ },
190387
+ {
190388
+ "const": "favourable"
190389
+ },
190390
+ {
190391
+ "const": "growth"
190392
+ },
190393
+ {
190394
+ "const": "manager"
190395
+ },
190396
+ {
190397
+ "const": "recognition"
190398
+ },
190399
+ {
190400
+ "const": "safety"
190401
+ },
190402
+ {
190403
+ "const": "tools"
190404
+ },
190405
+ {
190406
+ "const": "workload"
190407
+ }
190408
+ ]
190409
+ },
190410
+ "points": {
190411
+ "type": "array",
190412
+ "items": {
190413
+ "type": "object",
190414
+ "properties": {
190415
+ "seen": {
190416
+ "type": "boolean"
190417
+ },
190418
+ "value": {
190419
+ "anyOf": [
190420
+ {
190421
+ "type": "null"
190422
+ },
190423
+ {
190424
+ "type": "number"
190425
+ }
190426
+ ]
190427
+ }
190428
+ },
190429
+ "required": [
190430
+ "seen",
190431
+ "value"
190432
+ ],
190433
+ "additionalProperties": false
190434
+ }
190435
+ }
190436
+ },
190437
+ "required": [
190438
+ "change",
190439
+ "latest",
190440
+ "metric",
190441
+ "points"
190442
+ ],
190443
+ "additionalProperties": false
190444
+ }
190445
+ }
190446
+ },
190447
+ "required": [
190448
+ "label",
190449
+ "segment",
190450
+ "series"
190451
+ ],
190452
+ "additionalProperties": false
190453
+ }
190454
+ },
190455
+ "role": {
190456
+ "type": "array",
190457
+ "items": {
190458
+ "type": "object",
190459
+ "properties": {
190460
+ "label": {
190461
+ "type": "string"
190462
+ },
190463
+ "segment": {
190464
+ "type": "string"
190465
+ },
190466
+ "series": {
190467
+ "type": "array",
190468
+ "items": {
190469
+ "type": "object",
190470
+ "properties": {
190471
+ "change": {
190472
+ "anyOf": [
190473
+ {
190474
+ "type": "null"
190475
+ },
190476
+ {
190477
+ "type": "number"
190478
+ }
190479
+ ]
190480
+ },
190481
+ "latest": {
190482
+ "anyOf": [
190483
+ {
190484
+ "type": "null"
190485
+ },
190486
+ {
190487
+ "type": "number"
190488
+ }
190489
+ ]
190490
+ },
190491
+ "metric": {
190492
+ "anyOf": [
190493
+ {
190494
+ "const": "ai_adoption"
190495
+ },
190496
+ {
190497
+ "const": "belonging"
190498
+ },
190499
+ {
190500
+ "const": "clarity"
190501
+ },
190502
+ {
190503
+ "const": "engagement"
190504
+ },
190505
+ {
190506
+ "const": "enps"
190507
+ },
190508
+ {
190509
+ "const": "favourable"
190510
+ },
190511
+ {
190512
+ "const": "growth"
190513
+ },
190514
+ {
190515
+ "const": "manager"
190516
+ },
190517
+ {
190518
+ "const": "recognition"
190519
+ },
190520
+ {
190521
+ "const": "safety"
190522
+ },
190523
+ {
190524
+ "const": "tools"
190525
+ },
190526
+ {
190527
+ "const": "workload"
190528
+ }
190529
+ ]
190530
+ },
190531
+ "points": {
190532
+ "type": "array",
190533
+ "items": {
190534
+ "type": "object",
190535
+ "properties": {
190536
+ "seen": {
190537
+ "type": "boolean"
190538
+ },
190539
+ "value": {
190540
+ "anyOf": [
190541
+ {
190542
+ "type": "null"
190543
+ },
190544
+ {
190545
+ "type": "number"
190546
+ }
190547
+ ]
190548
+ }
190549
+ },
190550
+ "required": [
190551
+ "seen",
190552
+ "value"
190553
+ ],
190554
+ "additionalProperties": false
190555
+ }
190556
+ }
190557
+ },
190558
+ "required": [
190559
+ "change",
190560
+ "latest",
190561
+ "metric",
190562
+ "points"
190563
+ ],
190564
+ "additionalProperties": false
190565
+ }
190566
+ }
190567
+ },
190568
+ "required": [
190569
+ "label",
190570
+ "segment",
190571
+ "series"
190572
+ ],
190573
+ "additionalProperties": false
190574
+ }
190575
+ },
190576
+ "tenure": {
190577
+ "type": "array",
190578
+ "items": {
190579
+ "type": "object",
190580
+ "properties": {
190581
+ "label": {
190582
+ "type": "string"
190583
+ },
190584
+ "segment": {
190585
+ "type": "string"
190586
+ },
190587
+ "series": {
190588
+ "type": "array",
190589
+ "items": {
190590
+ "type": "object",
190591
+ "properties": {
190592
+ "change": {
190593
+ "anyOf": [
190594
+ {
190595
+ "type": "null"
190596
+ },
190597
+ {
190598
+ "type": "number"
190599
+ }
190600
+ ]
190601
+ },
190602
+ "latest": {
190603
+ "anyOf": [
190604
+ {
190605
+ "type": "null"
190606
+ },
190607
+ {
190608
+ "type": "number"
190609
+ }
190610
+ ]
190611
+ },
190612
+ "metric": {
190613
+ "anyOf": [
190614
+ {
190615
+ "const": "ai_adoption"
190616
+ },
190617
+ {
190618
+ "const": "belonging"
190619
+ },
190620
+ {
190621
+ "const": "clarity"
190622
+ },
190623
+ {
190624
+ "const": "engagement"
190625
+ },
190626
+ {
190627
+ "const": "enps"
190628
+ },
190629
+ {
190630
+ "const": "favourable"
190631
+ },
190632
+ {
190633
+ "const": "growth"
190634
+ },
190635
+ {
190636
+ "const": "manager"
190637
+ },
190638
+ {
190639
+ "const": "recognition"
190640
+ },
190641
+ {
190642
+ "const": "safety"
190643
+ },
190644
+ {
190645
+ "const": "tools"
190646
+ },
190647
+ {
190648
+ "const": "workload"
190649
+ }
190650
+ ]
190651
+ },
190652
+ "points": {
190653
+ "type": "array",
190654
+ "items": {
190655
+ "type": "object",
190656
+ "properties": {
190657
+ "seen": {
190658
+ "type": "boolean"
190659
+ },
190660
+ "value": {
190661
+ "anyOf": [
190662
+ {
190663
+ "type": "null"
190664
+ },
190665
+ {
190666
+ "type": "number"
190667
+ }
190668
+ ]
190669
+ }
190670
+ },
190671
+ "required": [
190672
+ "seen",
190673
+ "value"
190674
+ ],
190675
+ "additionalProperties": false
190676
+ }
190677
+ }
190678
+ },
190679
+ "required": [
190680
+ "change",
190681
+ "latest",
190682
+ "metric",
190683
+ "points"
190684
+ ],
190685
+ "additionalProperties": false
190686
+ }
190687
+ }
190688
+ },
190689
+ "required": [
190690
+ "label",
190691
+ "segment",
190692
+ "series"
190693
+ ],
190694
+ "additionalProperties": false
190695
+ }
190696
+ }
190697
+ },
190698
+ "required": [
190699
+ "department",
190700
+ "group",
190701
+ "role",
190702
+ "tenure"
190703
+ ],
190704
+ "additionalProperties": false
190705
+ },
190706
+ "enpsPeriods": {
190707
+ "type": "array",
190708
+ "items": {
190709
+ "type": "string"
190710
+ }
190711
+ },
190712
+ "everyone": {
190713
+ "type": "array",
190714
+ "items": {
190715
+ "type": "object",
190716
+ "properties": {
190717
+ "change": {
190718
+ "anyOf": [
190719
+ {
190720
+ "type": "null"
190721
+ },
190722
+ {
190723
+ "type": "number"
190724
+ }
190725
+ ]
190726
+ },
190727
+ "latest": {
190728
+ "anyOf": [
190729
+ {
190730
+ "type": "null"
190731
+ },
190732
+ {
190733
+ "type": "number"
190734
+ }
190735
+ ]
190736
+ },
190737
+ "metric": {
190738
+ "anyOf": [
190739
+ {
190740
+ "const": "ai_adoption"
190741
+ },
190742
+ {
190743
+ "const": "belonging"
190744
+ },
190745
+ {
190746
+ "const": "clarity"
190747
+ },
190748
+ {
190749
+ "const": "engagement"
190750
+ },
190751
+ {
190752
+ "const": "enps"
190753
+ },
190754
+ {
190755
+ "const": "favourable"
190756
+ },
190757
+ {
190758
+ "const": "growth"
190759
+ },
190760
+ {
190761
+ "const": "manager"
190762
+ },
190763
+ {
190764
+ "const": "recognition"
190765
+ },
190766
+ {
190767
+ "const": "safety"
190768
+ },
190769
+ {
190770
+ "const": "tools"
190771
+ },
190772
+ {
190773
+ "const": "workload"
190774
+ }
190775
+ ]
190776
+ },
190777
+ "points": {
190778
+ "type": "array",
190779
+ "items": {
190780
+ "type": "object",
190781
+ "properties": {
190782
+ "seen": {
190783
+ "type": "boolean"
190784
+ },
190785
+ "value": {
190786
+ "anyOf": [
190787
+ {
190788
+ "type": "null"
190789
+ },
190790
+ {
190791
+ "type": "number"
190792
+ }
190793
+ ]
190794
+ }
190795
+ },
190796
+ "required": [
190797
+ "seen",
190798
+ "value"
190799
+ ],
190800
+ "additionalProperties": false
190801
+ }
190802
+ }
190803
+ },
190804
+ "required": [
190805
+ "change",
190806
+ "latest",
190807
+ "metric",
190808
+ "points"
190809
+ ],
190810
+ "additionalProperties": false
190811
+ }
190812
+ },
190813
+ "metrics": {
190814
+ "type": "array",
190815
+ "items": {
190816
+ "type": "object",
190817
+ "properties": {
190818
+ "label": {
190819
+ "type": "string"
190820
+ },
190821
+ "metric": {
190822
+ "anyOf": [
190823
+ {
190824
+ "const": "ai_adoption"
190825
+ },
190826
+ {
190827
+ "const": "belonging"
190828
+ },
190829
+ {
190830
+ "const": "clarity"
190831
+ },
190832
+ {
190833
+ "const": "engagement"
190834
+ },
190835
+ {
190836
+ "const": "enps"
190837
+ },
190838
+ {
190839
+ "const": "favourable"
190840
+ },
190841
+ {
190842
+ "const": "growth"
190843
+ },
190844
+ {
190845
+ "const": "manager"
190846
+ },
190847
+ {
190848
+ "const": "recognition"
190849
+ },
190850
+ {
190851
+ "const": "safety"
190852
+ },
190853
+ {
190854
+ "const": "tools"
190855
+ },
190856
+ {
190857
+ "const": "workload"
190858
+ }
190859
+ ]
190860
+ }
190861
+ },
190862
+ "required": [
190863
+ "label",
190864
+ "metric"
190865
+ ],
190866
+ "additionalProperties": false
190867
+ }
190868
+ },
190869
+ "periods": {
190870
+ "type": "array",
190871
+ "items": {
190872
+ "type": "string"
190873
+ }
190874
+ },
190875
+ "unit": {
190876
+ "anyOf": [
190877
+ {
190878
+ "const": "fortnight"
190879
+ },
190880
+ {
190881
+ "const": "month"
190882
+ },
190883
+ {
190884
+ "const": "week"
190885
+ }
190886
+ ]
190887
+ }
190888
+ },
190889
+ "required": [
190890
+ "days",
190891
+ "dimensions",
190892
+ "enpsPeriods",
190893
+ "everyone",
190894
+ "metrics",
190895
+ "periods",
190896
+ "unit"
190897
+ ],
190898
+ "additionalProperties": false
190899
+ }
190900
+ }
190901
+ }
190902
+ },
190903
+ "400": {
190904
+ "description": "400",
190905
+ "content": {
190906
+ "application/json": {
190907
+ "schema": {
190908
+ "oneOf": [
190909
+ {
190910
+ "type": "object",
190911
+ "properties": {
190912
+ "defined": {
190913
+ "const": true
190914
+ },
190915
+ "code": {
190916
+ "const": "BAD_REQUEST"
190917
+ },
190918
+ "status": {
190919
+ "const": 400
190920
+ },
190921
+ "message": {
190922
+ "type": "string",
190923
+ "default": "Check the request input."
190924
+ },
190925
+ "data": {}
190926
+ },
190927
+ "required": [
190928
+ "defined",
190929
+ "code",
190930
+ "status",
190931
+ "message"
190932
+ ]
190933
+ },
190934
+ {
190935
+ "type": "object",
190936
+ "properties": {
190937
+ "defined": {
190938
+ "const": false
190939
+ },
190940
+ "code": {
190941
+ "type": "string"
190942
+ },
190943
+ "status": {
190944
+ "type": "number"
190945
+ },
190946
+ "message": {
190947
+ "type": "string"
190948
+ },
190949
+ "data": {}
190950
+ },
190951
+ "required": [
190952
+ "defined",
190953
+ "code",
190954
+ "status",
190955
+ "message"
190956
+ ]
190957
+ }
190958
+ ]
190959
+ }
190960
+ }
190961
+ }
190962
+ },
190963
+ "401": {
190964
+ "description": "401",
190965
+ "content": {
190966
+ "application/json": {
190967
+ "schema": {
190968
+ "oneOf": [
190969
+ {
190970
+ "type": "object",
190971
+ "properties": {
190972
+ "defined": {
190973
+ "const": true
190974
+ },
190975
+ "code": {
190976
+ "const": "UNAUTHORIZED"
190977
+ },
190978
+ "status": {
190979
+ "const": 401
190980
+ },
190981
+ "message": {
190982
+ "type": "string",
190983
+ "default": "A valid Shuffl API token is required."
190984
+ },
190985
+ "data": {}
190986
+ },
190987
+ "required": [
190988
+ "defined",
190989
+ "code",
190990
+ "status",
190991
+ "message"
190992
+ ]
190993
+ },
190994
+ {
190995
+ "type": "object",
190996
+ "properties": {
190997
+ "defined": {
190998
+ "const": false
190999
+ },
191000
+ "code": {
191001
+ "type": "string"
191002
+ },
191003
+ "status": {
191004
+ "type": "number"
191005
+ },
191006
+ "message": {
191007
+ "type": "string"
191008
+ },
191009
+ "data": {}
191010
+ },
191011
+ "required": [
191012
+ "defined",
191013
+ "code",
191014
+ "status",
191015
+ "message"
191016
+ ]
191017
+ }
191018
+ ]
191019
+ }
191020
+ }
191021
+ }
191022
+ },
191023
+ "403": {
191024
+ "description": "403",
191025
+ "content": {
191026
+ "application/json": {
191027
+ "schema": {
191028
+ "oneOf": [
191029
+ {
191030
+ "type": "object",
191031
+ "properties": {
191032
+ "defined": {
191033
+ "const": true
191034
+ },
191035
+ "code": {
191036
+ "const": "FORBIDDEN"
191037
+ },
191038
+ "status": {
191039
+ "const": 403
191040
+ },
191041
+ "message": {
191042
+ "type": "string",
191043
+ "default": "This token or team role does not permit the operation."
191044
+ },
191045
+ "data": {}
191046
+ },
191047
+ "required": [
191048
+ "defined",
191049
+ "code",
191050
+ "status",
191051
+ "message"
191052
+ ]
191053
+ },
191054
+ {
191055
+ "type": "object",
191056
+ "properties": {
191057
+ "defined": {
191058
+ "const": false
191059
+ },
191060
+ "code": {
191061
+ "type": "string"
191062
+ },
191063
+ "status": {
191064
+ "type": "number"
191065
+ },
191066
+ "message": {
191067
+ "type": "string"
191068
+ },
191069
+ "data": {}
191070
+ },
191071
+ "required": [
191072
+ "defined",
191073
+ "code",
191074
+ "status",
191075
+ "message"
191076
+ ]
191077
+ }
191078
+ ]
191079
+ }
191080
+ }
191081
+ }
191082
+ },
191083
+ "404": {
191084
+ "description": "404",
191085
+ "content": {
191086
+ "application/json": {
191087
+ "schema": {
191088
+ "oneOf": [
191089
+ {
191090
+ "type": "object",
191091
+ "properties": {
191092
+ "defined": {
191093
+ "const": true
191094
+ },
191095
+ "code": {
191096
+ "const": "NOT_FOUND"
191097
+ },
191098
+ "status": {
191099
+ "const": 404
191100
+ },
191101
+ "message": {
191102
+ "type": "string",
191103
+ "default": "The requested resource was not found."
191104
+ },
191105
+ "data": {}
191106
+ },
191107
+ "required": [
191108
+ "defined",
191109
+ "code",
191110
+ "status",
191111
+ "message"
191112
+ ]
191113
+ },
191114
+ {
191115
+ "type": "object",
191116
+ "properties": {
191117
+ "defined": {
191118
+ "const": false
191119
+ },
191120
+ "code": {
191121
+ "type": "string"
191122
+ },
191123
+ "status": {
191124
+ "type": "number"
191125
+ },
191126
+ "message": {
191127
+ "type": "string"
191128
+ },
191129
+ "data": {}
191130
+ },
191131
+ "required": [
191132
+ "defined",
191133
+ "code",
191134
+ "status",
191135
+ "message"
191136
+ ]
191137
+ }
191138
+ ]
191139
+ }
191140
+ }
191141
+ }
191142
+ },
191143
+ "409": {
191144
+ "description": "409",
191145
+ "content": {
191146
+ "application/json": {
191147
+ "schema": {
191148
+ "oneOf": [
191149
+ {
191150
+ "type": "object",
191151
+ "properties": {
191152
+ "defined": {
191153
+ "const": true
191154
+ },
191155
+ "code": {
191156
+ "const": "CONFLICT"
191157
+ },
191158
+ "status": {
191159
+ "const": 409
191160
+ },
191161
+ "message": {
191162
+ "type": "string",
191163
+ "default": "The resource changed or the request key was reused."
191164
+ },
191165
+ "data": {}
191166
+ },
191167
+ "required": [
191168
+ "defined",
191169
+ "code",
191170
+ "status",
191171
+ "message"
191172
+ ]
191173
+ },
191174
+ {
191175
+ "type": "object",
191176
+ "properties": {
191177
+ "defined": {
191178
+ "const": false
191179
+ },
191180
+ "code": {
191181
+ "type": "string"
191182
+ },
191183
+ "status": {
191184
+ "type": "number"
191185
+ },
191186
+ "message": {
191187
+ "type": "string"
191188
+ },
191189
+ "data": {}
191190
+ },
191191
+ "required": [
191192
+ "defined",
191193
+ "code",
191194
+ "status",
191195
+ "message"
191196
+ ]
191197
+ }
191198
+ ]
191199
+ }
191200
+ }
191201
+ }
191202
+ },
191203
+ "412": {
191204
+ "description": "412",
191205
+ "content": {
191206
+ "application/json": {
191207
+ "schema": {
191208
+ "oneOf": [
191209
+ {
191210
+ "type": "object",
191211
+ "properties": {
191212
+ "defined": {
191213
+ "const": true
191214
+ },
191215
+ "code": {
191216
+ "const": "PRECONDITION_FAILED"
191217
+ },
191218
+ "status": {
191219
+ "const": 412
191220
+ },
191221
+ "message": {
191222
+ "type": "string",
191223
+ "default": "The team is not ready for this operation."
191224
+ },
191225
+ "data": {}
191226
+ },
191227
+ "required": [
191228
+ "defined",
191229
+ "code",
191230
+ "status",
191231
+ "message"
191232
+ ]
191233
+ },
191234
+ {
191235
+ "type": "object",
191236
+ "properties": {
191237
+ "defined": {
191238
+ "const": false
191239
+ },
191240
+ "code": {
191241
+ "type": "string"
191242
+ },
191243
+ "status": {
191244
+ "type": "number"
191245
+ },
191246
+ "message": {
191247
+ "type": "string"
191248
+ },
191249
+ "data": {}
191250
+ },
191251
+ "required": [
191252
+ "defined",
191253
+ "code",
191254
+ "status",
191255
+ "message"
191256
+ ]
191257
+ }
191258
+ ]
191259
+ }
191260
+ }
191261
+ }
191262
+ },
191263
+ "429": {
191264
+ "description": "429",
191265
+ "content": {
191266
+ "application/json": {
191267
+ "schema": {
191268
+ "oneOf": [
191269
+ {
191270
+ "type": "object",
191271
+ "properties": {
191272
+ "defined": {
191273
+ "const": true
191274
+ },
191275
+ "code": {
191276
+ "const": "TOO_MANY_REQUESTS"
191277
+ },
191278
+ "status": {
191279
+ "const": 429
191280
+ },
191281
+ "message": {
191282
+ "type": "string",
191283
+ "default": "Too many requests. Try again shortly."
191284
+ },
191285
+ "data": {}
191286
+ },
191287
+ "required": [
191288
+ "defined",
191289
+ "code",
191290
+ "status",
191291
+ "message"
191292
+ ]
191293
+ },
191294
+ {
191295
+ "type": "object",
191296
+ "properties": {
191297
+ "defined": {
191298
+ "const": false
191299
+ },
191300
+ "code": {
191301
+ "type": "string"
191302
+ },
191303
+ "status": {
191304
+ "type": "number"
191305
+ },
191306
+ "message": {
191307
+ "type": "string"
191308
+ },
191309
+ "data": {}
191310
+ },
191311
+ "required": [
191312
+ "defined",
191313
+ "code",
191314
+ "status",
191315
+ "message"
191316
+ ]
191317
+ }
191318
+ ]
191319
+ }
191320
+ }
191321
+ }
191322
+ }
191323
+ },
191324
+ "x-shuffl-access": "read",
191325
+ "x-shuffl-permission": "pulse.groupTrends"
191326
+ }
191327
+ },
189349
191328
  "/manage/pulse/insights": {
189350
191329
  "post": {
189351
191330
  "operationId": "pulse.insights",
@@ -212628,6 +214607,28 @@
212628
214607
  }
212629
214608
  ]
212630
214609
  },
214610
+ "formFields": {
214611
+ "type": "array",
214612
+ "items": {
214613
+ "anyOf": [
214614
+ {
214615
+ "const": "bio"
214616
+ },
214617
+ {
214618
+ "const": "birthday"
214619
+ },
214620
+ {
214621
+ "const": "photo"
214622
+ },
214623
+ {
214624
+ "const": "preferredName"
214625
+ },
214626
+ {
214627
+ "const": "pronouns"
214628
+ }
214629
+ ]
214630
+ }
214631
+ },
212631
214632
  "id": {
212632
214633
  "type": "string"
212633
214634
  },
@@ -215783,6 +217784,9 @@
215783
217784
  "phone": {
215784
217785
  "type": "string"
215785
217786
  },
217787
+ "preferredName": {
217788
+ "type": "string"
217789
+ },
215786
217790
  "pronouns": {
215787
217791
  "type": "string"
215788
217792
  },
@@ -246480,6 +248484,9 @@
246480
248484
  "phone": {
246481
248485
  "type": "string"
246482
248486
  },
248487
+ "preferredName": {
248488
+ "type": "string"
248489
+ },
246483
248490
  "pronouns": {
246484
248491
  "type": "string"
246485
248492
  },
@@ -249541,6 +251548,9 @@
249541
251548
  "phone": {
249542
251549
  "type": "string"
249543
251550
  },
251551
+ "preferredName": {
251552
+ "type": "string"
251553
+ },
249544
251554
  "pronouns": {
249545
251555
  "type": "string"
249546
251556
  },
@@ -250297,6 +252307,9 @@
250297
252307
  "phone": {
250298
252308
  "type": "string"
250299
252309
  },
252310
+ "preferredName": {
252311
+ "type": "string"
252312
+ },
250300
252313
  "pronouns": {
250301
252314
  "type": "string"
250302
252315
  },
@@ -250453,6 +252466,9 @@
250453
252466
  "phone": {
250454
252467
  "type": "string"
250455
252468
  },
252469
+ "preferredName": {
252470
+ "type": "string"
252471
+ },
250456
252472
  "pronouns": {
250457
252473
  "type": "string"
250458
252474
  },
@@ -254449,6 +256465,9 @@
254449
256465
  "phone": {
254450
256466
  "type": "string"
254451
256467
  },
256468
+ "preferredName": {
256469
+ "type": "string"
256470
+ },
254452
256471
  "pronouns": {
254453
256472
  "type": "string"
254454
256473
  },
@@ -265035,6 +267054,7 @@
265035
267054
  "playbooks.answerBuddyFollowUp",
265036
267055
  "playbooks.answerCheckIn",
265037
267056
  "playbooks.answerFirstDaysCheckIn",
267057
+ "playbooks.answerForm",
265038
267058
  "playbooks.approve",
265039
267059
  "playbooks.askBuddy",
265040
267060
  "playbooks.assignBuddy",
@@ -265092,6 +267112,7 @@
265092
267112
  "programs.update",
265093
267113
  "pulse.actions",
265094
267114
  "pulse.asked",
267115
+ "pulse.groupTrends",
265095
267116
  "pulse.insights",
265096
267117
  "pulse.latestRead",
265097
267118
  "pulse.mine",
@@ -265515,6 +267536,7 @@
265515
267536
  "playbooks.answerBuddyFollowUp",
265516
267537
  "playbooks.answerCheckIn",
265517
267538
  "playbooks.answerFirstDaysCheckIn",
267539
+ "playbooks.answerForm",
265518
267540
  "playbooks.approve",
265519
267541
  "playbooks.askBuddy",
265520
267542
  "playbooks.assignBuddy",
@@ -265572,6 +267594,7 @@
265572
267594
  "programs.update",
265573
267595
  "pulse.actions",
265574
267596
  "pulse.asked",
267597
+ "pulse.groupTrends",
265575
267598
  "pulse.insights",
265576
267599
  "pulse.latestRead",
265577
267600
  "pulse.mine",