@shuffl/api-contracts 0.5.7 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +104 -12
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +8 -1
- package/dist/management.generated.d.ts +102 -12
- package/dist/management.generated.js +143 -1
- package/dist/permissions.d.ts +2 -0
- package/openapi.json +1077 -171
- package/package.json +1 -1
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
|
},
|
|
@@ -37519,6 +37522,9 @@
|
|
|
37519
37522
|
{
|
|
37520
37523
|
"const": "playbooks.answerFirstDaysCheckIn"
|
|
37521
37524
|
},
|
|
37525
|
+
{
|
|
37526
|
+
"const": "playbooks.answerForm"
|
|
37527
|
+
},
|
|
37522
37528
|
{
|
|
37523
37529
|
"const": "playbooks.approve"
|
|
37524
37530
|
},
|
|
@@ -38888,6 +38894,9 @@
|
|
|
38888
38894
|
{
|
|
38889
38895
|
"const": "playbooks.answerFirstDaysCheckIn"
|
|
38890
38896
|
},
|
|
38897
|
+
{
|
|
38898
|
+
"const": "playbooks.answerForm"
|
|
38899
|
+
},
|
|
38891
38900
|
{
|
|
38892
38901
|
"const": "playbooks.approve"
|
|
38893
38902
|
},
|
|
@@ -48048,6 +48057,9 @@
|
|
|
48048
48057
|
"phone": {
|
|
48049
48058
|
"type": "string"
|
|
48050
48059
|
},
|
|
48060
|
+
"preferredName": {
|
|
48061
|
+
"type": "string"
|
|
48062
|
+
},
|
|
48051
48063
|
"pronouns": {
|
|
48052
48064
|
"type": "string"
|
|
48053
48065
|
},
|
|
@@ -49097,6 +49109,28 @@
|
|
|
49097
49109
|
}
|
|
49098
49110
|
]
|
|
49099
49111
|
},
|
|
49112
|
+
"formFields": {
|
|
49113
|
+
"type": "array",
|
|
49114
|
+
"items": {
|
|
49115
|
+
"anyOf": [
|
|
49116
|
+
{
|
|
49117
|
+
"const": "bio"
|
|
49118
|
+
},
|
|
49119
|
+
{
|
|
49120
|
+
"const": "birthday"
|
|
49121
|
+
},
|
|
49122
|
+
{
|
|
49123
|
+
"const": "photo"
|
|
49124
|
+
},
|
|
49125
|
+
{
|
|
49126
|
+
"const": "preferredName"
|
|
49127
|
+
},
|
|
49128
|
+
{
|
|
49129
|
+
"const": "pronouns"
|
|
49130
|
+
}
|
|
49131
|
+
]
|
|
49132
|
+
}
|
|
49133
|
+
},
|
|
49100
49134
|
"id": {
|
|
49101
49135
|
"type": "string"
|
|
49102
49136
|
},
|
|
@@ -54504,6 +54538,12 @@
|
|
|
54504
54538
|
}
|
|
54505
54539
|
]
|
|
54506
54540
|
},
|
|
54541
|
+
"channelId": {
|
|
54542
|
+
"type": "string"
|
|
54543
|
+
},
|
|
54544
|
+
"channelName": {
|
|
54545
|
+
"type": "string"
|
|
54546
|
+
},
|
|
54507
54547
|
"communityId": {
|
|
54508
54548
|
"type": "string"
|
|
54509
54549
|
},
|
|
@@ -54605,6 +54645,12 @@
|
|
|
54605
54645
|
{
|
|
54606
54646
|
"const": "send_message"
|
|
54607
54647
|
},
|
|
54648
|
+
{
|
|
54649
|
+
"const": "slack_invite"
|
|
54650
|
+
},
|
|
54651
|
+
{
|
|
54652
|
+
"const": "slack_post"
|
|
54653
|
+
},
|
|
54608
54654
|
{
|
|
54609
54655
|
"const": "start_playbook"
|
|
54610
54656
|
},
|
|
@@ -54973,6 +55019,12 @@
|
|
|
54973
55019
|
{
|
|
54974
55020
|
"const": "send_message"
|
|
54975
55021
|
},
|
|
55022
|
+
{
|
|
55023
|
+
"const": "slack_invite"
|
|
55024
|
+
},
|
|
55025
|
+
{
|
|
55026
|
+
"const": "slack_post"
|
|
55027
|
+
},
|
|
54976
55028
|
{
|
|
54977
55029
|
"const": "start_playbook"
|
|
54978
55030
|
},
|
|
@@ -56137,6 +56189,12 @@
|
|
|
56137
56189
|
}
|
|
56138
56190
|
]
|
|
56139
56191
|
},
|
|
56192
|
+
"channelId": {
|
|
56193
|
+
"type": "string"
|
|
56194
|
+
},
|
|
56195
|
+
"channelName": {
|
|
56196
|
+
"type": "string"
|
|
56197
|
+
},
|
|
56140
56198
|
"communityId": {
|
|
56141
56199
|
"type": "string"
|
|
56142
56200
|
},
|
|
@@ -56207,6 +56265,12 @@
|
|
|
56207
56265
|
{
|
|
56208
56266
|
"const": "send_message"
|
|
56209
56267
|
},
|
|
56268
|
+
{
|
|
56269
|
+
"const": "slack_invite"
|
|
56270
|
+
},
|
|
56271
|
+
{
|
|
56272
|
+
"const": "slack_post"
|
|
56273
|
+
},
|
|
56210
56274
|
{
|
|
56211
56275
|
"const": "start_playbook"
|
|
56212
56276
|
},
|
|
@@ -56378,6 +56442,12 @@
|
|
|
56378
56442
|
{
|
|
56379
56443
|
"const": "send_message"
|
|
56380
56444
|
},
|
|
56445
|
+
{
|
|
56446
|
+
"const": "slack_invite"
|
|
56447
|
+
},
|
|
56448
|
+
{
|
|
56449
|
+
"const": "slack_post"
|
|
56450
|
+
},
|
|
56381
56451
|
{
|
|
56382
56452
|
"const": "start_playbook"
|
|
56383
56453
|
},
|
|
@@ -68815,7 +68885,7 @@
|
|
|
68815
68885
|
"/manage/groups/setAutomation": {
|
|
68816
68886
|
"post": {
|
|
68817
68887
|
"operationId": "groups.setAutomation",
|
|
68818
|
-
"summary": "Add or change an automation on a group: send a message, ask a Pulse question, start a playbook, invite to a community, add to Connections, give a badge, add to or remove from another group, or tell HR, their manager or someone named, right away or days later; a new one starts paused",
|
|
68888
|
+
"summary": "Add or change an automation on a group: send a message, ask a Pulse question, start a playbook, invite to a community, add to Connections, give a badge, add to or remove from another group, add to or post in a Slack channel (`config.channelId`, read back from Slack), or tell HR, their manager or someone named, right away or days later; a new one starts paused",
|
|
68819
68889
|
"requestBody": {
|
|
68820
68890
|
"required": true,
|
|
68821
68891
|
"content": {
|
|
@@ -68876,6 +68946,9 @@
|
|
|
68876
68946
|
}
|
|
68877
68947
|
]
|
|
68878
68948
|
},
|
|
68949
|
+
"channelId": {
|
|
68950
|
+
"type": "string"
|
|
68951
|
+
},
|
|
68879
68952
|
"communityId": {
|
|
68880
68953
|
"type": "string"
|
|
68881
68954
|
},
|
|
@@ -68934,6 +69007,12 @@
|
|
|
68934
69007
|
{
|
|
68935
69008
|
"const": "send_message"
|
|
68936
69009
|
},
|
|
69010
|
+
{
|
|
69011
|
+
"const": "slack_invite"
|
|
69012
|
+
},
|
|
69013
|
+
{
|
|
69014
|
+
"const": "slack_post"
|
|
69015
|
+
},
|
|
68937
69016
|
{
|
|
68938
69017
|
"const": "start_playbook"
|
|
68939
69018
|
},
|
|
@@ -69090,6 +69169,12 @@
|
|
|
69090
69169
|
}
|
|
69091
69170
|
]
|
|
69092
69171
|
},
|
|
69172
|
+
"channelId": {
|
|
69173
|
+
"type": "string"
|
|
69174
|
+
},
|
|
69175
|
+
"channelName": {
|
|
69176
|
+
"type": "string"
|
|
69177
|
+
},
|
|
69093
69178
|
"communityId": {
|
|
69094
69179
|
"type": "string"
|
|
69095
69180
|
},
|
|
@@ -69160,6 +69245,12 @@
|
|
|
69160
69245
|
{
|
|
69161
69246
|
"const": "send_message"
|
|
69162
69247
|
},
|
|
69248
|
+
{
|
|
69249
|
+
"const": "slack_invite"
|
|
69250
|
+
},
|
|
69251
|
+
{
|
|
69252
|
+
"const": "slack_post"
|
|
69253
|
+
},
|
|
69163
69254
|
{
|
|
69164
69255
|
"const": "start_playbook"
|
|
69165
69256
|
},
|
|
@@ -131767,14 +131858,574 @@
|
|
|
131767
131858
|
}
|
|
131768
131859
|
}
|
|
131769
131860
|
},
|
|
131770
|
-
"x-shuffl-access": "read",
|
|
131771
|
-
"x-shuffl-permission": "operations.status"
|
|
131861
|
+
"x-shuffl-access": "read",
|
|
131862
|
+
"x-shuffl-permission": "operations.status"
|
|
131863
|
+
}
|
|
131864
|
+
},
|
|
131865
|
+
"/manage/playbooks/answerBuddyAsk": {
|
|
131866
|
+
"post": {
|
|
131867
|
+
"operationId": "playbooks.answerBuddyAsk",
|
|
131868
|
+
"summary": "Say yes or not now to being a new hire’s onboarding buddy",
|
|
131869
|
+
"requestBody": {
|
|
131870
|
+
"required": true,
|
|
131871
|
+
"content": {
|
|
131872
|
+
"application/json": {
|
|
131873
|
+
"schema": {
|
|
131874
|
+
"type": "object",
|
|
131875
|
+
"properties": {
|
|
131876
|
+
"answer": {
|
|
131877
|
+
"anyOf": [
|
|
131878
|
+
{
|
|
131879
|
+
"const": "accept"
|
|
131880
|
+
},
|
|
131881
|
+
{
|
|
131882
|
+
"const": "decline"
|
|
131883
|
+
}
|
|
131884
|
+
]
|
|
131885
|
+
},
|
|
131886
|
+
"askId": {
|
|
131887
|
+
"type": "string"
|
|
131888
|
+
},
|
|
131889
|
+
"confirm": {
|
|
131890
|
+
"const": "playbooks.answerBuddyAsk"
|
|
131891
|
+
},
|
|
131892
|
+
"requestKey": {
|
|
131893
|
+
"type": "string",
|
|
131894
|
+
"minLength": 1,
|
|
131895
|
+
"maxLength": 128
|
|
131896
|
+
}
|
|
131897
|
+
},
|
|
131898
|
+
"required": [
|
|
131899
|
+
"answer",
|
|
131900
|
+
"askId",
|
|
131901
|
+
"confirm",
|
|
131902
|
+
"requestKey"
|
|
131903
|
+
],
|
|
131904
|
+
"additionalProperties": false
|
|
131905
|
+
}
|
|
131906
|
+
}
|
|
131907
|
+
}
|
|
131908
|
+
},
|
|
131909
|
+
"responses": {
|
|
131910
|
+
"200": {
|
|
131911
|
+
"description": "OK",
|
|
131912
|
+
"content": {
|
|
131913
|
+
"application/json": {
|
|
131914
|
+
"schema": {
|
|
131915
|
+
"type": "object",
|
|
131916
|
+
"properties": {
|
|
131917
|
+
"receipt": {
|
|
131918
|
+
"type": "object",
|
|
131919
|
+
"properties": {
|
|
131920
|
+
"completedAt": {
|
|
131921
|
+
"anyOf": [
|
|
131922
|
+
{
|
|
131923
|
+
"type": "string",
|
|
131924
|
+
"format": "date-time"
|
|
131925
|
+
},
|
|
131926
|
+
{
|
|
131927
|
+
"type": "null"
|
|
131928
|
+
}
|
|
131929
|
+
]
|
|
131930
|
+
},
|
|
131931
|
+
"createdAt": {
|
|
131932
|
+
"type": "string",
|
|
131933
|
+
"format": "date-time"
|
|
131934
|
+
},
|
|
131935
|
+
"id": {
|
|
131936
|
+
"type": "string",
|
|
131937
|
+
"format": "uuid"
|
|
131938
|
+
},
|
|
131939
|
+
"operation": {
|
|
131940
|
+
"type": "string"
|
|
131941
|
+
},
|
|
131942
|
+
"requestKey": {
|
|
131943
|
+
"type": "string"
|
|
131944
|
+
},
|
|
131945
|
+
"status": {
|
|
131946
|
+
"enum": [
|
|
131947
|
+
"running",
|
|
131948
|
+
"succeeded",
|
|
131949
|
+
"failed",
|
|
131950
|
+
"unknown"
|
|
131951
|
+
],
|
|
131952
|
+
"type": "string"
|
|
131953
|
+
}
|
|
131954
|
+
},
|
|
131955
|
+
"required": [
|
|
131956
|
+
"completedAt",
|
|
131957
|
+
"createdAt",
|
|
131958
|
+
"id",
|
|
131959
|
+
"operation",
|
|
131960
|
+
"requestKey",
|
|
131961
|
+
"status"
|
|
131962
|
+
]
|
|
131963
|
+
},
|
|
131964
|
+
"result": {
|
|
131965
|
+
"anyOf": [
|
|
131966
|
+
{
|
|
131967
|
+
"type": "object",
|
|
131968
|
+
"properties": {
|
|
131969
|
+
"changed": {
|
|
131970
|
+
"type": "boolean"
|
|
131971
|
+
},
|
|
131972
|
+
"id": {
|
|
131973
|
+
"type": "string"
|
|
131974
|
+
},
|
|
131975
|
+
"status": {
|
|
131976
|
+
"type": "string"
|
|
131977
|
+
}
|
|
131978
|
+
},
|
|
131979
|
+
"required": [
|
|
131980
|
+
"changed",
|
|
131981
|
+
"id",
|
|
131982
|
+
"status"
|
|
131983
|
+
],
|
|
131984
|
+
"additionalProperties": false
|
|
131985
|
+
},
|
|
131986
|
+
{
|
|
131987
|
+
"type": "null"
|
|
131988
|
+
}
|
|
131989
|
+
]
|
|
131990
|
+
}
|
|
131991
|
+
},
|
|
131992
|
+
"required": [
|
|
131993
|
+
"receipt",
|
|
131994
|
+
"result"
|
|
131995
|
+
]
|
|
131996
|
+
}
|
|
131997
|
+
}
|
|
131998
|
+
}
|
|
131999
|
+
},
|
|
132000
|
+
"400": {
|
|
132001
|
+
"description": "400",
|
|
132002
|
+
"content": {
|
|
132003
|
+
"application/json": {
|
|
132004
|
+
"schema": {
|
|
132005
|
+
"oneOf": [
|
|
132006
|
+
{
|
|
132007
|
+
"type": "object",
|
|
132008
|
+
"properties": {
|
|
132009
|
+
"defined": {
|
|
132010
|
+
"const": true
|
|
132011
|
+
},
|
|
132012
|
+
"code": {
|
|
132013
|
+
"const": "BAD_REQUEST"
|
|
132014
|
+
},
|
|
132015
|
+
"status": {
|
|
132016
|
+
"const": 400
|
|
132017
|
+
},
|
|
132018
|
+
"message": {
|
|
132019
|
+
"type": "string",
|
|
132020
|
+
"default": "Check the request input."
|
|
132021
|
+
},
|
|
132022
|
+
"data": {}
|
|
132023
|
+
},
|
|
132024
|
+
"required": [
|
|
132025
|
+
"defined",
|
|
132026
|
+
"code",
|
|
132027
|
+
"status",
|
|
132028
|
+
"message"
|
|
132029
|
+
]
|
|
132030
|
+
},
|
|
132031
|
+
{
|
|
132032
|
+
"type": "object",
|
|
132033
|
+
"properties": {
|
|
132034
|
+
"defined": {
|
|
132035
|
+
"const": false
|
|
132036
|
+
},
|
|
132037
|
+
"code": {
|
|
132038
|
+
"type": "string"
|
|
132039
|
+
},
|
|
132040
|
+
"status": {
|
|
132041
|
+
"type": "number"
|
|
132042
|
+
},
|
|
132043
|
+
"message": {
|
|
132044
|
+
"type": "string"
|
|
132045
|
+
},
|
|
132046
|
+
"data": {}
|
|
132047
|
+
},
|
|
132048
|
+
"required": [
|
|
132049
|
+
"defined",
|
|
132050
|
+
"code",
|
|
132051
|
+
"status",
|
|
132052
|
+
"message"
|
|
132053
|
+
]
|
|
132054
|
+
}
|
|
132055
|
+
]
|
|
132056
|
+
}
|
|
132057
|
+
}
|
|
132058
|
+
}
|
|
132059
|
+
},
|
|
132060
|
+
"401": {
|
|
132061
|
+
"description": "401",
|
|
132062
|
+
"content": {
|
|
132063
|
+
"application/json": {
|
|
132064
|
+
"schema": {
|
|
132065
|
+
"oneOf": [
|
|
132066
|
+
{
|
|
132067
|
+
"type": "object",
|
|
132068
|
+
"properties": {
|
|
132069
|
+
"defined": {
|
|
132070
|
+
"const": true
|
|
132071
|
+
},
|
|
132072
|
+
"code": {
|
|
132073
|
+
"const": "UNAUTHORIZED"
|
|
132074
|
+
},
|
|
132075
|
+
"status": {
|
|
132076
|
+
"const": 401
|
|
132077
|
+
},
|
|
132078
|
+
"message": {
|
|
132079
|
+
"type": "string",
|
|
132080
|
+
"default": "A valid Shuffl API token is required."
|
|
132081
|
+
},
|
|
132082
|
+
"data": {}
|
|
132083
|
+
},
|
|
132084
|
+
"required": [
|
|
132085
|
+
"defined",
|
|
132086
|
+
"code",
|
|
132087
|
+
"status",
|
|
132088
|
+
"message"
|
|
132089
|
+
]
|
|
132090
|
+
},
|
|
132091
|
+
{
|
|
132092
|
+
"type": "object",
|
|
132093
|
+
"properties": {
|
|
132094
|
+
"defined": {
|
|
132095
|
+
"const": false
|
|
132096
|
+
},
|
|
132097
|
+
"code": {
|
|
132098
|
+
"type": "string"
|
|
132099
|
+
},
|
|
132100
|
+
"status": {
|
|
132101
|
+
"type": "number"
|
|
132102
|
+
},
|
|
132103
|
+
"message": {
|
|
132104
|
+
"type": "string"
|
|
132105
|
+
},
|
|
132106
|
+
"data": {}
|
|
132107
|
+
},
|
|
132108
|
+
"required": [
|
|
132109
|
+
"defined",
|
|
132110
|
+
"code",
|
|
132111
|
+
"status",
|
|
132112
|
+
"message"
|
|
132113
|
+
]
|
|
132114
|
+
}
|
|
132115
|
+
]
|
|
132116
|
+
}
|
|
132117
|
+
}
|
|
132118
|
+
}
|
|
132119
|
+
},
|
|
132120
|
+
"403": {
|
|
132121
|
+
"description": "403",
|
|
132122
|
+
"content": {
|
|
132123
|
+
"application/json": {
|
|
132124
|
+
"schema": {
|
|
132125
|
+
"oneOf": [
|
|
132126
|
+
{
|
|
132127
|
+
"type": "object",
|
|
132128
|
+
"properties": {
|
|
132129
|
+
"defined": {
|
|
132130
|
+
"const": true
|
|
132131
|
+
},
|
|
132132
|
+
"code": {
|
|
132133
|
+
"const": "FORBIDDEN"
|
|
132134
|
+
},
|
|
132135
|
+
"status": {
|
|
132136
|
+
"const": 403
|
|
132137
|
+
},
|
|
132138
|
+
"message": {
|
|
132139
|
+
"type": "string",
|
|
132140
|
+
"default": "This token or team role does not permit the operation."
|
|
132141
|
+
},
|
|
132142
|
+
"data": {}
|
|
132143
|
+
},
|
|
132144
|
+
"required": [
|
|
132145
|
+
"defined",
|
|
132146
|
+
"code",
|
|
132147
|
+
"status",
|
|
132148
|
+
"message"
|
|
132149
|
+
]
|
|
132150
|
+
},
|
|
132151
|
+
{
|
|
132152
|
+
"type": "object",
|
|
132153
|
+
"properties": {
|
|
132154
|
+
"defined": {
|
|
132155
|
+
"const": false
|
|
132156
|
+
},
|
|
132157
|
+
"code": {
|
|
132158
|
+
"type": "string"
|
|
132159
|
+
},
|
|
132160
|
+
"status": {
|
|
132161
|
+
"type": "number"
|
|
132162
|
+
},
|
|
132163
|
+
"message": {
|
|
132164
|
+
"type": "string"
|
|
132165
|
+
},
|
|
132166
|
+
"data": {}
|
|
132167
|
+
},
|
|
132168
|
+
"required": [
|
|
132169
|
+
"defined",
|
|
132170
|
+
"code",
|
|
132171
|
+
"status",
|
|
132172
|
+
"message"
|
|
132173
|
+
]
|
|
132174
|
+
}
|
|
132175
|
+
]
|
|
132176
|
+
}
|
|
132177
|
+
}
|
|
132178
|
+
}
|
|
132179
|
+
},
|
|
132180
|
+
"404": {
|
|
132181
|
+
"description": "404",
|
|
132182
|
+
"content": {
|
|
132183
|
+
"application/json": {
|
|
132184
|
+
"schema": {
|
|
132185
|
+
"oneOf": [
|
|
132186
|
+
{
|
|
132187
|
+
"type": "object",
|
|
132188
|
+
"properties": {
|
|
132189
|
+
"defined": {
|
|
132190
|
+
"const": true
|
|
132191
|
+
},
|
|
132192
|
+
"code": {
|
|
132193
|
+
"const": "NOT_FOUND"
|
|
132194
|
+
},
|
|
132195
|
+
"status": {
|
|
132196
|
+
"const": 404
|
|
132197
|
+
},
|
|
132198
|
+
"message": {
|
|
132199
|
+
"type": "string",
|
|
132200
|
+
"default": "The requested resource was not found."
|
|
132201
|
+
},
|
|
132202
|
+
"data": {}
|
|
132203
|
+
},
|
|
132204
|
+
"required": [
|
|
132205
|
+
"defined",
|
|
132206
|
+
"code",
|
|
132207
|
+
"status",
|
|
132208
|
+
"message"
|
|
132209
|
+
]
|
|
132210
|
+
},
|
|
132211
|
+
{
|
|
132212
|
+
"type": "object",
|
|
132213
|
+
"properties": {
|
|
132214
|
+
"defined": {
|
|
132215
|
+
"const": false
|
|
132216
|
+
},
|
|
132217
|
+
"code": {
|
|
132218
|
+
"type": "string"
|
|
132219
|
+
},
|
|
132220
|
+
"status": {
|
|
132221
|
+
"type": "number"
|
|
132222
|
+
},
|
|
132223
|
+
"message": {
|
|
132224
|
+
"type": "string"
|
|
132225
|
+
},
|
|
132226
|
+
"data": {}
|
|
132227
|
+
},
|
|
132228
|
+
"required": [
|
|
132229
|
+
"defined",
|
|
132230
|
+
"code",
|
|
132231
|
+
"status",
|
|
132232
|
+
"message"
|
|
132233
|
+
]
|
|
132234
|
+
}
|
|
132235
|
+
]
|
|
132236
|
+
}
|
|
132237
|
+
}
|
|
132238
|
+
}
|
|
132239
|
+
},
|
|
132240
|
+
"409": {
|
|
132241
|
+
"description": "409",
|
|
132242
|
+
"content": {
|
|
132243
|
+
"application/json": {
|
|
132244
|
+
"schema": {
|
|
132245
|
+
"oneOf": [
|
|
132246
|
+
{
|
|
132247
|
+
"type": "object",
|
|
132248
|
+
"properties": {
|
|
132249
|
+
"defined": {
|
|
132250
|
+
"const": true
|
|
132251
|
+
},
|
|
132252
|
+
"code": {
|
|
132253
|
+
"const": "CONFLICT"
|
|
132254
|
+
},
|
|
132255
|
+
"status": {
|
|
132256
|
+
"const": 409
|
|
132257
|
+
},
|
|
132258
|
+
"message": {
|
|
132259
|
+
"type": "string",
|
|
132260
|
+
"default": "The resource changed or the request key was reused."
|
|
132261
|
+
},
|
|
132262
|
+
"data": {}
|
|
132263
|
+
},
|
|
132264
|
+
"required": [
|
|
132265
|
+
"defined",
|
|
132266
|
+
"code",
|
|
132267
|
+
"status",
|
|
132268
|
+
"message"
|
|
132269
|
+
]
|
|
132270
|
+
},
|
|
132271
|
+
{
|
|
132272
|
+
"type": "object",
|
|
132273
|
+
"properties": {
|
|
132274
|
+
"defined": {
|
|
132275
|
+
"const": false
|
|
132276
|
+
},
|
|
132277
|
+
"code": {
|
|
132278
|
+
"type": "string"
|
|
132279
|
+
},
|
|
132280
|
+
"status": {
|
|
132281
|
+
"type": "number"
|
|
132282
|
+
},
|
|
132283
|
+
"message": {
|
|
132284
|
+
"type": "string"
|
|
132285
|
+
},
|
|
132286
|
+
"data": {}
|
|
132287
|
+
},
|
|
132288
|
+
"required": [
|
|
132289
|
+
"defined",
|
|
132290
|
+
"code",
|
|
132291
|
+
"status",
|
|
132292
|
+
"message"
|
|
132293
|
+
]
|
|
132294
|
+
}
|
|
132295
|
+
]
|
|
132296
|
+
}
|
|
132297
|
+
}
|
|
132298
|
+
}
|
|
132299
|
+
},
|
|
132300
|
+
"412": {
|
|
132301
|
+
"description": "412",
|
|
132302
|
+
"content": {
|
|
132303
|
+
"application/json": {
|
|
132304
|
+
"schema": {
|
|
132305
|
+
"oneOf": [
|
|
132306
|
+
{
|
|
132307
|
+
"type": "object",
|
|
132308
|
+
"properties": {
|
|
132309
|
+
"defined": {
|
|
132310
|
+
"const": true
|
|
132311
|
+
},
|
|
132312
|
+
"code": {
|
|
132313
|
+
"const": "PRECONDITION_FAILED"
|
|
132314
|
+
},
|
|
132315
|
+
"status": {
|
|
132316
|
+
"const": 412
|
|
132317
|
+
},
|
|
132318
|
+
"message": {
|
|
132319
|
+
"type": "string",
|
|
132320
|
+
"default": "The team is not ready for this operation."
|
|
132321
|
+
},
|
|
132322
|
+
"data": {}
|
|
132323
|
+
},
|
|
132324
|
+
"required": [
|
|
132325
|
+
"defined",
|
|
132326
|
+
"code",
|
|
132327
|
+
"status",
|
|
132328
|
+
"message"
|
|
132329
|
+
]
|
|
132330
|
+
},
|
|
132331
|
+
{
|
|
132332
|
+
"type": "object",
|
|
132333
|
+
"properties": {
|
|
132334
|
+
"defined": {
|
|
132335
|
+
"const": false
|
|
132336
|
+
},
|
|
132337
|
+
"code": {
|
|
132338
|
+
"type": "string"
|
|
132339
|
+
},
|
|
132340
|
+
"status": {
|
|
132341
|
+
"type": "number"
|
|
132342
|
+
},
|
|
132343
|
+
"message": {
|
|
132344
|
+
"type": "string"
|
|
132345
|
+
},
|
|
132346
|
+
"data": {}
|
|
132347
|
+
},
|
|
132348
|
+
"required": [
|
|
132349
|
+
"defined",
|
|
132350
|
+
"code",
|
|
132351
|
+
"status",
|
|
132352
|
+
"message"
|
|
132353
|
+
]
|
|
132354
|
+
}
|
|
132355
|
+
]
|
|
132356
|
+
}
|
|
132357
|
+
}
|
|
132358
|
+
}
|
|
132359
|
+
},
|
|
132360
|
+
"429": {
|
|
132361
|
+
"description": "429",
|
|
132362
|
+
"content": {
|
|
132363
|
+
"application/json": {
|
|
132364
|
+
"schema": {
|
|
132365
|
+
"oneOf": [
|
|
132366
|
+
{
|
|
132367
|
+
"type": "object",
|
|
132368
|
+
"properties": {
|
|
132369
|
+
"defined": {
|
|
132370
|
+
"const": true
|
|
132371
|
+
},
|
|
132372
|
+
"code": {
|
|
132373
|
+
"const": "TOO_MANY_REQUESTS"
|
|
132374
|
+
},
|
|
132375
|
+
"status": {
|
|
132376
|
+
"const": 429
|
|
132377
|
+
},
|
|
132378
|
+
"message": {
|
|
132379
|
+
"type": "string",
|
|
132380
|
+
"default": "Too many requests. Try again shortly."
|
|
132381
|
+
},
|
|
132382
|
+
"data": {}
|
|
132383
|
+
},
|
|
132384
|
+
"required": [
|
|
132385
|
+
"defined",
|
|
132386
|
+
"code",
|
|
132387
|
+
"status",
|
|
132388
|
+
"message"
|
|
132389
|
+
]
|
|
132390
|
+
},
|
|
132391
|
+
{
|
|
132392
|
+
"type": "object",
|
|
132393
|
+
"properties": {
|
|
132394
|
+
"defined": {
|
|
132395
|
+
"const": false
|
|
132396
|
+
},
|
|
132397
|
+
"code": {
|
|
132398
|
+
"type": "string"
|
|
132399
|
+
},
|
|
132400
|
+
"status": {
|
|
132401
|
+
"type": "number"
|
|
132402
|
+
},
|
|
132403
|
+
"message": {
|
|
132404
|
+
"type": "string"
|
|
132405
|
+
},
|
|
132406
|
+
"data": {}
|
|
132407
|
+
},
|
|
132408
|
+
"required": [
|
|
132409
|
+
"defined",
|
|
132410
|
+
"code",
|
|
132411
|
+
"status",
|
|
132412
|
+
"message"
|
|
132413
|
+
]
|
|
132414
|
+
}
|
|
132415
|
+
]
|
|
132416
|
+
}
|
|
132417
|
+
}
|
|
132418
|
+
}
|
|
132419
|
+
}
|
|
132420
|
+
},
|
|
132421
|
+
"x-shuffl-access": "write",
|
|
132422
|
+
"x-shuffl-permission": "playbooks.answerBuddyAsk"
|
|
131772
132423
|
}
|
|
131773
132424
|
},
|
|
131774
|
-
"/manage/playbooks/
|
|
132425
|
+
"/manage/playbooks/answerBuddyFollowUp": {
|
|
131775
132426
|
"post": {
|
|
131776
|
-
"operationId": "playbooks.
|
|
131777
|
-
"summary": "
|
|
132427
|
+
"operationId": "playbooks.answerBuddyFollowUp",
|
|
132428
|
+
"summary": "Answer whether you met your buddy or new hire, and whether it helped",
|
|
131778
132429
|
"requestBody": {
|
|
131779
132430
|
"required": true,
|
|
131780
132431
|
"content": {
|
|
@@ -131785,18 +132436,21 @@
|
|
|
131785
132436
|
"answer": {
|
|
131786
132437
|
"anyOf": [
|
|
131787
132438
|
{
|
|
131788
|
-
"const": "
|
|
132439
|
+
"const": "helped"
|
|
131789
132440
|
},
|
|
131790
132441
|
{
|
|
131791
|
-
"const": "
|
|
132442
|
+
"const": "met"
|
|
132443
|
+
},
|
|
132444
|
+
{
|
|
132445
|
+
"const": "never"
|
|
131792
132446
|
}
|
|
131793
132447
|
]
|
|
131794
132448
|
},
|
|
131795
|
-
"
|
|
132449
|
+
"feedbackId": {
|
|
131796
132450
|
"type": "string"
|
|
131797
132451
|
},
|
|
131798
132452
|
"confirm": {
|
|
131799
|
-
"const": "playbooks.
|
|
132453
|
+
"const": "playbooks.answerBuddyFollowUp"
|
|
131800
132454
|
},
|
|
131801
132455
|
"requestKey": {
|
|
131802
132456
|
"type": "string",
|
|
@@ -131806,7 +132460,7 @@
|
|
|
131806
132460
|
},
|
|
131807
132461
|
"required": [
|
|
131808
132462
|
"answer",
|
|
131809
|
-
"
|
|
132463
|
+
"feedbackId",
|
|
131810
132464
|
"confirm",
|
|
131811
132465
|
"requestKey"
|
|
131812
132466
|
],
|
|
@@ -131875,20 +132529,41 @@
|
|
|
131875
132529
|
{
|
|
131876
132530
|
"type": "object",
|
|
131877
132531
|
"properties": {
|
|
132532
|
+
"answer": {
|
|
132533
|
+
"anyOf": [
|
|
132534
|
+
{
|
|
132535
|
+
"const": "helped"
|
|
132536
|
+
},
|
|
132537
|
+
{
|
|
132538
|
+
"const": "met"
|
|
132539
|
+
},
|
|
132540
|
+
{
|
|
132541
|
+
"const": "never"
|
|
132542
|
+
}
|
|
132543
|
+
]
|
|
132544
|
+
},
|
|
131878
132545
|
"changed": {
|
|
131879
132546
|
"type": "boolean"
|
|
131880
132547
|
},
|
|
131881
|
-
"
|
|
131882
|
-
"type": "
|
|
132548
|
+
"first": {
|
|
132549
|
+
"type": "boolean"
|
|
131883
132550
|
},
|
|
131884
|
-
"
|
|
131885
|
-
"
|
|
132551
|
+
"role": {
|
|
132552
|
+
"anyOf": [
|
|
132553
|
+
{
|
|
132554
|
+
"const": "buddy"
|
|
132555
|
+
},
|
|
132556
|
+
{
|
|
132557
|
+
"const": "hire"
|
|
132558
|
+
}
|
|
132559
|
+
]
|
|
131886
132560
|
}
|
|
131887
132561
|
},
|
|
131888
132562
|
"required": [
|
|
132563
|
+
"answer",
|
|
131889
132564
|
"changed",
|
|
131890
|
-
"
|
|
131891
|
-
"
|
|
132565
|
+
"first",
|
|
132566
|
+
"role"
|
|
131892
132567
|
],
|
|
131893
132568
|
"additionalProperties": false
|
|
131894
132569
|
},
|
|
@@ -132328,13 +133003,13 @@
|
|
|
132328
133003
|
}
|
|
132329
133004
|
},
|
|
132330
133005
|
"x-shuffl-access": "write",
|
|
132331
|
-
"x-shuffl-permission": "playbooks.
|
|
133006
|
+
"x-shuffl-permission": "playbooks.answerBuddyFollowUp"
|
|
132332
133007
|
}
|
|
132333
133008
|
},
|
|
132334
|
-
"/manage/playbooks/
|
|
133009
|
+
"/manage/playbooks/answerCheckIn": {
|
|
132335
133010
|
"post": {
|
|
132336
|
-
"operationId": "playbooks.
|
|
132337
|
-
"summary": "Answer
|
|
133011
|
+
"operationId": "playbooks.answerCheckIn",
|
|
133012
|
+
"summary": "Answer your onboarding program’s help check-in: all good, or ask HR for help",
|
|
132338
133013
|
"requestBody": {
|
|
132339
133014
|
"required": true,
|
|
132340
133015
|
"content": {
|
|
@@ -132345,21 +133020,62 @@
|
|
|
132345
133020
|
"answer": {
|
|
132346
133021
|
"anyOf": [
|
|
132347
133022
|
{
|
|
132348
|
-
"const": "
|
|
132349
|
-
},
|
|
132350
|
-
{
|
|
132351
|
-
"const": "met"
|
|
133023
|
+
"const": "all_good"
|
|
132352
133024
|
},
|
|
132353
133025
|
{
|
|
132354
|
-
"const": "
|
|
133026
|
+
"const": "need_help"
|
|
132355
133027
|
}
|
|
132356
133028
|
]
|
|
132357
133029
|
},
|
|
132358
|
-
"
|
|
132359
|
-
"type": "
|
|
133030
|
+
"share": {
|
|
133031
|
+
"type": "object",
|
|
133032
|
+
"properties": {
|
|
133033
|
+
"body": {
|
|
133034
|
+
"type": "string"
|
|
133035
|
+
},
|
|
133036
|
+
"conversationId": {
|
|
133037
|
+
"anyOf": [
|
|
133038
|
+
{
|
|
133039
|
+
"type": "null"
|
|
133040
|
+
},
|
|
133041
|
+
{
|
|
133042
|
+
"type": "string"
|
|
133043
|
+
}
|
|
133044
|
+
]
|
|
133045
|
+
},
|
|
133046
|
+
"destinationRevision": {
|
|
133047
|
+
"type": "number"
|
|
133048
|
+
},
|
|
133049
|
+
"requestId": {
|
|
133050
|
+
"type": "string"
|
|
133051
|
+
},
|
|
133052
|
+
"responderPersonIds": {
|
|
133053
|
+
"type": "array",
|
|
133054
|
+
"items": {
|
|
133055
|
+
"type": "string"
|
|
133056
|
+
}
|
|
133057
|
+
},
|
|
133058
|
+
"sourceOwnerId": {
|
|
133059
|
+
"anyOf": [
|
|
133060
|
+
{
|
|
133061
|
+
"type": "null"
|
|
133062
|
+
},
|
|
133063
|
+
{
|
|
133064
|
+
"type": "string"
|
|
133065
|
+
}
|
|
133066
|
+
]
|
|
133067
|
+
}
|
|
133068
|
+
},
|
|
133069
|
+
"required": [
|
|
133070
|
+
"body",
|
|
133071
|
+
"destinationRevision",
|
|
133072
|
+
"requestId",
|
|
133073
|
+
"responderPersonIds"
|
|
133074
|
+
],
|
|
133075
|
+
"additionalProperties": false
|
|
132360
133076
|
},
|
|
132361
|
-
"
|
|
132362
|
-
"
|
|
133077
|
+
"stepId": {
|
|
133078
|
+
"type": "string"
|
|
132363
133079
|
},
|
|
132364
133080
|
"requestKey": {
|
|
132365
133081
|
"type": "string",
|
|
@@ -132369,8 +133085,7 @@
|
|
|
132369
133085
|
},
|
|
132370
133086
|
"required": [
|
|
132371
133087
|
"answer",
|
|
132372
|
-
"
|
|
132373
|
-
"confirm",
|
|
133088
|
+
"stepId",
|
|
132374
133089
|
"requestKey"
|
|
132375
133090
|
],
|
|
132376
133091
|
"additionalProperties": false
|
|
@@ -132441,38 +133156,27 @@
|
|
|
132441
133156
|
"answer": {
|
|
132442
133157
|
"anyOf": [
|
|
132443
133158
|
{
|
|
132444
|
-
"const": "
|
|
132445
|
-
},
|
|
132446
|
-
{
|
|
132447
|
-
"const": "met"
|
|
133159
|
+
"const": "all_good"
|
|
132448
133160
|
},
|
|
132449
133161
|
{
|
|
132450
|
-
"const": "
|
|
133162
|
+
"const": "need_help"
|
|
132451
133163
|
}
|
|
132452
133164
|
]
|
|
132453
133165
|
},
|
|
132454
|
-
"
|
|
132455
|
-
"type": "boolean"
|
|
132456
|
-
},
|
|
132457
|
-
"first": {
|
|
132458
|
-
"type": "boolean"
|
|
132459
|
-
},
|
|
132460
|
-
"role": {
|
|
133166
|
+
"caseId": {
|
|
132461
133167
|
"anyOf": [
|
|
132462
133168
|
{
|
|
132463
|
-
"
|
|
133169
|
+
"type": "null"
|
|
132464
133170
|
},
|
|
132465
133171
|
{
|
|
132466
|
-
"
|
|
133172
|
+
"type": "string"
|
|
132467
133173
|
}
|
|
132468
133174
|
]
|
|
132469
133175
|
}
|
|
132470
133176
|
},
|
|
132471
133177
|
"required": [
|
|
132472
133178
|
"answer",
|
|
132473
|
-
"
|
|
132474
|
-
"first",
|
|
132475
|
-
"role"
|
|
133179
|
+
"caseId"
|
|
132476
133180
|
],
|
|
132477
133181
|
"additionalProperties": false
|
|
132478
133182
|
},
|
|
@@ -132912,13 +133616,13 @@
|
|
|
132912
133616
|
}
|
|
132913
133617
|
},
|
|
132914
133618
|
"x-shuffl-access": "write",
|
|
132915
|
-
"x-shuffl-permission": "playbooks.
|
|
133619
|
+
"x-shuffl-permission": "playbooks.answerCheckIn"
|
|
132916
133620
|
}
|
|
132917
133621
|
},
|
|
132918
|
-
"/manage/playbooks/
|
|
133622
|
+
"/manage/playbooks/answerFirstDaysCheckIn": {
|
|
132919
133623
|
"post": {
|
|
132920
|
-
"operationId": "playbooks.
|
|
132921
|
-
"summary": "Answer your
|
|
133624
|
+
"operationId": "playbooks.answerFirstDaysCheckIn",
|
|
133625
|
+
"summary": "Answer your new-hire check-in",
|
|
132922
133626
|
"requestBody": {
|
|
132923
133627
|
"required": true,
|
|
132924
133628
|
"content": {
|
|
@@ -132926,66 +133630,33 @@
|
|
|
132926
133630
|
"schema": {
|
|
132927
133631
|
"type": "object",
|
|
132928
133632
|
"properties": {
|
|
132929
|
-
"
|
|
132930
|
-
"
|
|
132931
|
-
|
|
132932
|
-
|
|
132933
|
-
|
|
132934
|
-
|
|
132935
|
-
"const": "need_help"
|
|
132936
|
-
}
|
|
132937
|
-
]
|
|
132938
|
-
},
|
|
132939
|
-
"share": {
|
|
132940
|
-
"type": "object",
|
|
132941
|
-
"properties": {
|
|
132942
|
-
"body": {
|
|
132943
|
-
"type": "string"
|
|
132944
|
-
},
|
|
132945
|
-
"conversationId": {
|
|
132946
|
-
"anyOf": [
|
|
132947
|
-
{
|
|
132948
|
-
"type": "null"
|
|
132949
|
-
},
|
|
132950
|
-
{
|
|
132951
|
-
"type": "string"
|
|
132952
|
-
}
|
|
132953
|
-
]
|
|
132954
|
-
},
|
|
132955
|
-
"destinationRevision": {
|
|
132956
|
-
"type": "number"
|
|
132957
|
-
},
|
|
132958
|
-
"requestId": {
|
|
132959
|
-
"type": "string"
|
|
132960
|
-
},
|
|
132961
|
-
"responderPersonIds": {
|
|
132962
|
-
"type": "array",
|
|
132963
|
-
"items": {
|
|
133633
|
+
"answers": {
|
|
133634
|
+
"type": "array",
|
|
133635
|
+
"items": {
|
|
133636
|
+
"type": "object",
|
|
133637
|
+
"properties": {
|
|
133638
|
+
"comment": {
|
|
132964
133639
|
"type": "string"
|
|
133640
|
+
},
|
|
133641
|
+
"question": {
|
|
133642
|
+
"type": "string"
|
|
133643
|
+
},
|
|
133644
|
+
"value": {
|
|
133645
|
+
"type": "number"
|
|
132965
133646
|
}
|
|
132966
133647
|
},
|
|
132967
|
-
"
|
|
132968
|
-
"
|
|
132969
|
-
|
|
132970
|
-
|
|
132971
|
-
|
|
132972
|
-
{
|
|
132973
|
-
"type": "string"
|
|
132974
|
-
}
|
|
132975
|
-
]
|
|
132976
|
-
}
|
|
132977
|
-
},
|
|
132978
|
-
"required": [
|
|
132979
|
-
"body",
|
|
132980
|
-
"destinationRevision",
|
|
132981
|
-
"requestId",
|
|
132982
|
-
"responderPersonIds"
|
|
132983
|
-
],
|
|
132984
|
-
"additionalProperties": false
|
|
133648
|
+
"required": [
|
|
133649
|
+
"question"
|
|
133650
|
+
],
|
|
133651
|
+
"additionalProperties": false
|
|
133652
|
+
}
|
|
132985
133653
|
},
|
|
132986
|
-
"
|
|
133654
|
+
"checkpoint": {
|
|
132987
133655
|
"type": "string"
|
|
132988
133656
|
},
|
|
133657
|
+
"confirm": {
|
|
133658
|
+
"const": "playbooks.answerFirstDaysCheckIn"
|
|
133659
|
+
},
|
|
132989
133660
|
"requestKey": {
|
|
132990
133661
|
"type": "string",
|
|
132991
133662
|
"minLength": 1,
|
|
@@ -132993,8 +133664,9 @@
|
|
|
132993
133664
|
}
|
|
132994
133665
|
},
|
|
132995
133666
|
"required": [
|
|
132996
|
-
"
|
|
132997
|
-
"
|
|
133667
|
+
"answers",
|
|
133668
|
+
"checkpoint",
|
|
133669
|
+
"confirm",
|
|
132998
133670
|
"requestKey"
|
|
132999
133671
|
],
|
|
133000
133672
|
"additionalProperties": false
|
|
@@ -133062,30 +133734,32 @@
|
|
|
133062
133734
|
{
|
|
133063
133735
|
"type": "object",
|
|
133064
133736
|
"properties": {
|
|
133065
|
-
"
|
|
133737
|
+
"checkpoint": {
|
|
133066
133738
|
"anyOf": [
|
|
133067
133739
|
{
|
|
133068
|
-
"const": "
|
|
133740
|
+
"const": "custom"
|
|
133069
133741
|
},
|
|
133070
133742
|
{
|
|
133071
|
-
"const": "
|
|
133072
|
-
}
|
|
133073
|
-
]
|
|
133074
|
-
},
|
|
133075
|
-
"caseId": {
|
|
133076
|
-
"anyOf": [
|
|
133743
|
+
"const": "day_30"
|
|
133744
|
+
},
|
|
133077
133745
|
{
|
|
133078
|
-
"
|
|
133746
|
+
"const": "day_365"
|
|
133079
133747
|
},
|
|
133080
133748
|
{
|
|
133081
|
-
"
|
|
133749
|
+
"const": "day_60"
|
|
133750
|
+
},
|
|
133751
|
+
{
|
|
133752
|
+
"const": "day_90"
|
|
133082
133753
|
}
|
|
133083
133754
|
]
|
|
133755
|
+
},
|
|
133756
|
+
"commented": {
|
|
133757
|
+
"type": "boolean"
|
|
133084
133758
|
}
|
|
133085
133759
|
},
|
|
133086
133760
|
"required": [
|
|
133087
|
-
"
|
|
133088
|
-
"
|
|
133761
|
+
"checkpoint",
|
|
133762
|
+
"commented"
|
|
133089
133763
|
],
|
|
133090
133764
|
"additionalProperties": false
|
|
133091
133765
|
},
|
|
@@ -133525,13 +134199,13 @@
|
|
|
133525
134199
|
}
|
|
133526
134200
|
},
|
|
133527
134201
|
"x-shuffl-access": "write",
|
|
133528
|
-
"x-shuffl-permission": "playbooks.
|
|
134202
|
+
"x-shuffl-permission": "playbooks.answerFirstDaysCheckIn"
|
|
133529
134203
|
}
|
|
133530
134204
|
},
|
|
133531
|
-
"/manage/playbooks/
|
|
134205
|
+
"/manage/playbooks/answerForm": {
|
|
133532
134206
|
"post": {
|
|
133533
|
-
"operationId": "playbooks.
|
|
133534
|
-
"summary": "Answer
|
|
134207
|
+
"operationId": "playbooks.answerForm",
|
|
134208
|
+
"summary": "Answer a playbook’s Tell us about you form; the answers fill in your profile",
|
|
133535
134209
|
"requestBody": {
|
|
133536
134210
|
"required": true,
|
|
133537
134211
|
"content": {
|
|
@@ -133539,32 +134213,43 @@
|
|
|
133539
134213
|
"schema": {
|
|
133540
134214
|
"type": "object",
|
|
133541
134215
|
"properties": {
|
|
133542
|
-
"
|
|
133543
|
-
"type": "
|
|
133544
|
-
|
|
133545
|
-
|
|
133546
|
-
|
|
133547
|
-
|
|
133548
|
-
|
|
133549
|
-
},
|
|
133550
|
-
"question": {
|
|
133551
|
-
"type": "string"
|
|
133552
|
-
},
|
|
133553
|
-
"value": {
|
|
133554
|
-
"type": "number"
|
|
133555
|
-
}
|
|
134216
|
+
"bio": {
|
|
134217
|
+
"type": "string"
|
|
134218
|
+
},
|
|
134219
|
+
"birthday": {
|
|
134220
|
+
"anyOf": [
|
|
134221
|
+
{
|
|
134222
|
+
"type": "null"
|
|
133556
134223
|
},
|
|
133557
|
-
|
|
133558
|
-
"
|
|
133559
|
-
|
|
133560
|
-
|
|
133561
|
-
|
|
134224
|
+
{
|
|
134225
|
+
"type": "object",
|
|
134226
|
+
"properties": {
|
|
134227
|
+
"day": {
|
|
134228
|
+
"type": "number"
|
|
134229
|
+
},
|
|
134230
|
+
"month": {
|
|
134231
|
+
"type": "number"
|
|
134232
|
+
}
|
|
134233
|
+
},
|
|
134234
|
+
"required": [
|
|
134235
|
+
"day",
|
|
134236
|
+
"month"
|
|
134237
|
+
],
|
|
134238
|
+
"additionalProperties": false
|
|
134239
|
+
}
|
|
134240
|
+
]
|
|
133562
134241
|
},
|
|
133563
|
-
"
|
|
134242
|
+
"preferredName": {
|
|
134243
|
+
"type": "string"
|
|
134244
|
+
},
|
|
134245
|
+
"pronouns": {
|
|
134246
|
+
"type": "string"
|
|
134247
|
+
},
|
|
134248
|
+
"stepId": {
|
|
133564
134249
|
"type": "string"
|
|
133565
134250
|
},
|
|
133566
134251
|
"confirm": {
|
|
133567
|
-
"const": "playbooks.
|
|
134252
|
+
"const": "playbooks.answerForm"
|
|
133568
134253
|
},
|
|
133569
134254
|
"requestKey": {
|
|
133570
134255
|
"type": "string",
|
|
@@ -133573,8 +134258,7 @@
|
|
|
133573
134258
|
}
|
|
133574
134259
|
},
|
|
133575
134260
|
"required": [
|
|
133576
|
-
"
|
|
133577
|
-
"checkpoint",
|
|
134261
|
+
"stepId",
|
|
133578
134262
|
"confirm",
|
|
133579
134263
|
"requestKey"
|
|
133580
134264
|
],
|
|
@@ -133643,32 +134327,16 @@
|
|
|
133643
134327
|
{
|
|
133644
134328
|
"type": "object",
|
|
133645
134329
|
"properties": {
|
|
133646
|
-
"
|
|
133647
|
-
"
|
|
133648
|
-
{
|
|
133649
|
-
"const": "custom"
|
|
133650
|
-
},
|
|
133651
|
-
{
|
|
133652
|
-
"const": "day_30"
|
|
133653
|
-
},
|
|
133654
|
-
{
|
|
133655
|
-
"const": "day_365"
|
|
133656
|
-
},
|
|
133657
|
-
{
|
|
133658
|
-
"const": "day_60"
|
|
133659
|
-
},
|
|
133660
|
-
{
|
|
133661
|
-
"const": "day_90"
|
|
133662
|
-
}
|
|
133663
|
-
]
|
|
134330
|
+
"answered": {
|
|
134331
|
+
"const": true
|
|
133664
134332
|
},
|
|
133665
|
-
"
|
|
133666
|
-
"type": "
|
|
134333
|
+
"fields": {
|
|
134334
|
+
"type": "number"
|
|
133667
134335
|
}
|
|
133668
134336
|
},
|
|
133669
134337
|
"required": [
|
|
133670
|
-
"
|
|
133671
|
-
"
|
|
134338
|
+
"answered",
|
|
134339
|
+
"fields"
|
|
133672
134340
|
],
|
|
133673
134341
|
"additionalProperties": false
|
|
133674
134342
|
},
|
|
@@ -134108,7 +134776,7 @@
|
|
|
134108
134776
|
}
|
|
134109
134777
|
},
|
|
134110
134778
|
"x-shuffl-access": "write",
|
|
134111
|
-
"x-shuffl-permission": "playbooks.
|
|
134779
|
+
"x-shuffl-permission": "playbooks.answerForm"
|
|
134112
134780
|
}
|
|
134113
134781
|
},
|
|
134114
134782
|
"/manage/playbooks/approve": {
|
|
@@ -147185,6 +147853,28 @@
|
|
|
147185
147853
|
}
|
|
147186
147854
|
]
|
|
147187
147855
|
},
|
|
147856
|
+
"formFields": {
|
|
147857
|
+
"type": "array",
|
|
147858
|
+
"items": {
|
|
147859
|
+
"anyOf": [
|
|
147860
|
+
{
|
|
147861
|
+
"const": "bio"
|
|
147862
|
+
},
|
|
147863
|
+
{
|
|
147864
|
+
"const": "birthday"
|
|
147865
|
+
},
|
|
147866
|
+
{
|
|
147867
|
+
"const": "photo"
|
|
147868
|
+
},
|
|
147869
|
+
{
|
|
147870
|
+
"const": "preferredName"
|
|
147871
|
+
},
|
|
147872
|
+
{
|
|
147873
|
+
"const": "pronouns"
|
|
147874
|
+
}
|
|
147875
|
+
]
|
|
147876
|
+
}
|
|
147877
|
+
},
|
|
147188
147878
|
"id": {
|
|
147189
147879
|
"type": "string"
|
|
147190
147880
|
},
|
|
@@ -150606,6 +151296,61 @@
|
|
|
150606
151296
|
}
|
|
150607
151297
|
]
|
|
150608
151298
|
},
|
|
151299
|
+
"formValues": {
|
|
151300
|
+
"anyOf": [
|
|
151301
|
+
{
|
|
151302
|
+
"type": "null"
|
|
151303
|
+
},
|
|
151304
|
+
{
|
|
151305
|
+
"type": "object",
|
|
151306
|
+
"properties": {
|
|
151307
|
+
"bio": {
|
|
151308
|
+
"type": "string"
|
|
151309
|
+
},
|
|
151310
|
+
"birthday": {
|
|
151311
|
+
"anyOf": [
|
|
151312
|
+
{
|
|
151313
|
+
"type": "null"
|
|
151314
|
+
},
|
|
151315
|
+
{
|
|
151316
|
+
"type": "object",
|
|
151317
|
+
"properties": {
|
|
151318
|
+
"day": {
|
|
151319
|
+
"type": "number"
|
|
151320
|
+
},
|
|
151321
|
+
"month": {
|
|
151322
|
+
"type": "number"
|
|
151323
|
+
}
|
|
151324
|
+
},
|
|
151325
|
+
"required": [
|
|
151326
|
+
"day",
|
|
151327
|
+
"month"
|
|
151328
|
+
],
|
|
151329
|
+
"additionalProperties": false
|
|
151330
|
+
}
|
|
151331
|
+
]
|
|
151332
|
+
},
|
|
151333
|
+
"photo": {
|
|
151334
|
+
"type": "boolean"
|
|
151335
|
+
},
|
|
151336
|
+
"preferredName": {
|
|
151337
|
+
"type": "string"
|
|
151338
|
+
},
|
|
151339
|
+
"pronouns": {
|
|
151340
|
+
"type": "string"
|
|
151341
|
+
}
|
|
151342
|
+
},
|
|
151343
|
+
"required": [
|
|
151344
|
+
"bio",
|
|
151345
|
+
"birthday",
|
|
151346
|
+
"photo",
|
|
151347
|
+
"preferredName",
|
|
151348
|
+
"pronouns"
|
|
151349
|
+
],
|
|
151350
|
+
"additionalProperties": false
|
|
151351
|
+
}
|
|
151352
|
+
]
|
|
151353
|
+
},
|
|
150609
151354
|
"gettingReady": {
|
|
150610
151355
|
"type": "array",
|
|
150611
151356
|
"items": {
|
|
@@ -150816,6 +151561,9 @@
|
|
|
150816
151561
|
"additionalProperties": false
|
|
150817
151562
|
}
|
|
150818
151563
|
},
|
|
151564
|
+
"personId": {
|
|
151565
|
+
"type": "string"
|
|
151566
|
+
},
|
|
150819
151567
|
"playbooks": {
|
|
150820
151568
|
"type": "array",
|
|
150821
151569
|
"items": {
|
|
@@ -151008,6 +151756,56 @@
|
|
|
151008
151756
|
"day": {
|
|
151009
151757
|
"type": "number"
|
|
151010
151758
|
},
|
|
151759
|
+
"form": {
|
|
151760
|
+
"anyOf": [
|
|
151761
|
+
{
|
|
151762
|
+
"type": "null"
|
|
151763
|
+
},
|
|
151764
|
+
{
|
|
151765
|
+
"type": "object",
|
|
151766
|
+
"properties": {
|
|
151767
|
+
"answeredAt": {
|
|
151768
|
+
"anyOf": [
|
|
151769
|
+
{
|
|
151770
|
+
"type": "null"
|
|
151771
|
+
},
|
|
151772
|
+
{
|
|
151773
|
+
"type": "string",
|
|
151774
|
+
"format": "date-time"
|
|
151775
|
+
}
|
|
151776
|
+
]
|
|
151777
|
+
},
|
|
151778
|
+
"fields": {
|
|
151779
|
+
"type": "array",
|
|
151780
|
+
"items": {
|
|
151781
|
+
"anyOf": [
|
|
151782
|
+
{
|
|
151783
|
+
"const": "bio"
|
|
151784
|
+
},
|
|
151785
|
+
{
|
|
151786
|
+
"const": "birthday"
|
|
151787
|
+
},
|
|
151788
|
+
{
|
|
151789
|
+
"const": "photo"
|
|
151790
|
+
},
|
|
151791
|
+
{
|
|
151792
|
+
"const": "preferredName"
|
|
151793
|
+
},
|
|
151794
|
+
{
|
|
151795
|
+
"const": "pronouns"
|
|
151796
|
+
}
|
|
151797
|
+
]
|
|
151798
|
+
}
|
|
151799
|
+
}
|
|
151800
|
+
},
|
|
151801
|
+
"required": [
|
|
151802
|
+
"answeredAt",
|
|
151803
|
+
"fields"
|
|
151804
|
+
],
|
|
151805
|
+
"additionalProperties": false
|
|
151806
|
+
}
|
|
151807
|
+
]
|
|
151808
|
+
},
|
|
151011
151809
|
"kind": {
|
|
151012
151810
|
"anyOf": [
|
|
151013
151811
|
{
|
|
@@ -151019,6 +151817,9 @@
|
|
|
151019
151817
|
{
|
|
151020
151818
|
"const": "checkpoint"
|
|
151021
151819
|
},
|
|
151820
|
+
{
|
|
151821
|
+
"const": "form"
|
|
151822
|
+
},
|
|
151022
151823
|
{
|
|
151023
151824
|
"const": "introduction"
|
|
151024
151825
|
},
|
|
@@ -151101,6 +151902,7 @@
|
|
|
151101
151902
|
"confirmedAt",
|
|
151102
151903
|
"date",
|
|
151103
151904
|
"day",
|
|
151905
|
+
"form",
|
|
151104
151906
|
"kind",
|
|
151105
151907
|
"page",
|
|
151106
151908
|
"state",
|
|
@@ -151182,9 +151984,11 @@
|
|
|
151182
151984
|
"dayZero",
|
|
151183
151985
|
"enrolled",
|
|
151184
151986
|
"enrollmentId",
|
|
151987
|
+
"formValues",
|
|
151185
151988
|
"gettingReady",
|
|
151186
151989
|
"manager",
|
|
151187
151990
|
"met",
|
|
151991
|
+
"personId",
|
|
151188
151992
|
"playbooks",
|
|
151189
151993
|
"programName",
|
|
151190
151994
|
"resources",
|
|
@@ -152498,6 +153302,28 @@
|
|
|
152498
153302
|
}
|
|
152499
153303
|
]
|
|
152500
153304
|
},
|
|
153305
|
+
"formFields": {
|
|
153306
|
+
"type": "array",
|
|
153307
|
+
"items": {
|
|
153308
|
+
"anyOf": [
|
|
153309
|
+
{
|
|
153310
|
+
"const": "bio"
|
|
153311
|
+
},
|
|
153312
|
+
{
|
|
153313
|
+
"const": "birthday"
|
|
153314
|
+
},
|
|
153315
|
+
{
|
|
153316
|
+
"const": "photo"
|
|
153317
|
+
},
|
|
153318
|
+
{
|
|
153319
|
+
"const": "preferredName"
|
|
153320
|
+
},
|
|
153321
|
+
{
|
|
153322
|
+
"const": "pronouns"
|
|
153323
|
+
}
|
|
153324
|
+
]
|
|
153325
|
+
}
|
|
153326
|
+
},
|
|
152501
153327
|
"id": {
|
|
152502
153328
|
"type": "string"
|
|
152503
153329
|
},
|
|
@@ -152509,6 +153335,9 @@
|
|
|
152509
153335
|
{
|
|
152510
153336
|
"const": "checkpoint"
|
|
152511
153337
|
},
|
|
153338
|
+
{
|
|
153339
|
+
"const": "form"
|
|
153340
|
+
},
|
|
152512
153341
|
{
|
|
152513
153342
|
"const": "meet"
|
|
152514
153343
|
},
|
|
@@ -153233,6 +154062,28 @@
|
|
|
153233
154062
|
}
|
|
153234
154063
|
]
|
|
153235
154064
|
},
|
|
154065
|
+
"formFields": {
|
|
154066
|
+
"type": "array",
|
|
154067
|
+
"items": {
|
|
154068
|
+
"anyOf": [
|
|
154069
|
+
{
|
|
154070
|
+
"const": "bio"
|
|
154071
|
+
},
|
|
154072
|
+
{
|
|
154073
|
+
"const": "birthday"
|
|
154074
|
+
},
|
|
154075
|
+
{
|
|
154076
|
+
"const": "photo"
|
|
154077
|
+
},
|
|
154078
|
+
{
|
|
154079
|
+
"const": "preferredName"
|
|
154080
|
+
},
|
|
154081
|
+
{
|
|
154082
|
+
"const": "pronouns"
|
|
154083
|
+
}
|
|
154084
|
+
]
|
|
154085
|
+
}
|
|
154086
|
+
},
|
|
153236
154087
|
"id": {
|
|
153237
154088
|
"type": "string"
|
|
153238
154089
|
},
|
|
@@ -167439,6 +168290,9 @@
|
|
|
167439
168290
|
}
|
|
167440
168291
|
]
|
|
167441
168292
|
},
|
|
168293
|
+
"preferredName": {
|
|
168294
|
+
"type": "string"
|
|
168295
|
+
},
|
|
167442
168296
|
"pronouns": {
|
|
167443
168297
|
"anyOf": [
|
|
167444
168298
|
{
|
|
@@ -167468,6 +168322,7 @@
|
|
|
167468
168322
|
"location",
|
|
167469
168323
|
"offers",
|
|
167470
168324
|
"phone",
|
|
168325
|
+
"preferredName",
|
|
167471
168326
|
"pronouns",
|
|
167472
168327
|
"workingOn"
|
|
167473
168328
|
],
|
|
@@ -170434,6 +171289,9 @@
|
|
|
170434
171289
|
"phone": {
|
|
170435
171290
|
"type": "string"
|
|
170436
171291
|
},
|
|
171292
|
+
"preferredName": {
|
|
171293
|
+
"type": "string"
|
|
171294
|
+
},
|
|
170437
171295
|
"pronouns": {
|
|
170438
171296
|
"type": "string"
|
|
170439
171297
|
},
|
|
@@ -212571,6 +213429,28 @@
|
|
|
212571
213429
|
}
|
|
212572
213430
|
]
|
|
212573
213431
|
},
|
|
213432
|
+
"formFields": {
|
|
213433
|
+
"type": "array",
|
|
213434
|
+
"items": {
|
|
213435
|
+
"anyOf": [
|
|
213436
|
+
{
|
|
213437
|
+
"const": "bio"
|
|
213438
|
+
},
|
|
213439
|
+
{
|
|
213440
|
+
"const": "birthday"
|
|
213441
|
+
},
|
|
213442
|
+
{
|
|
213443
|
+
"const": "photo"
|
|
213444
|
+
},
|
|
213445
|
+
{
|
|
213446
|
+
"const": "preferredName"
|
|
213447
|
+
},
|
|
213448
|
+
{
|
|
213449
|
+
"const": "pronouns"
|
|
213450
|
+
}
|
|
213451
|
+
]
|
|
213452
|
+
}
|
|
213453
|
+
},
|
|
212574
213454
|
"id": {
|
|
212575
213455
|
"type": "string"
|
|
212576
213456
|
},
|
|
@@ -215726,6 +216606,9 @@
|
|
|
215726
216606
|
"phone": {
|
|
215727
216607
|
"type": "string"
|
|
215728
216608
|
},
|
|
216609
|
+
"preferredName": {
|
|
216610
|
+
"type": "string"
|
|
216611
|
+
},
|
|
215729
216612
|
"pronouns": {
|
|
215730
216613
|
"type": "string"
|
|
215731
216614
|
},
|
|
@@ -243922,6 +244805,12 @@
|
|
|
243922
244805
|
{
|
|
243923
244806
|
"const": "send_message"
|
|
243924
244807
|
},
|
|
244808
|
+
{
|
|
244809
|
+
"const": "slack_invite"
|
|
244810
|
+
},
|
|
244811
|
+
{
|
|
244812
|
+
"const": "slack_post"
|
|
244813
|
+
},
|
|
243925
244814
|
{
|
|
243926
244815
|
"const": "start_playbook"
|
|
243927
244816
|
},
|
|
@@ -246417,6 +247306,9 @@
|
|
|
246417
247306
|
"phone": {
|
|
246418
247307
|
"type": "string"
|
|
246419
247308
|
},
|
|
247309
|
+
"preferredName": {
|
|
247310
|
+
"type": "string"
|
|
247311
|
+
},
|
|
246420
247312
|
"pronouns": {
|
|
246421
247313
|
"type": "string"
|
|
246422
247314
|
},
|
|
@@ -249478,6 +250370,9 @@
|
|
|
249478
250370
|
"phone": {
|
|
249479
250371
|
"type": "string"
|
|
249480
250372
|
},
|
|
250373
|
+
"preferredName": {
|
|
250374
|
+
"type": "string"
|
|
250375
|
+
},
|
|
249481
250376
|
"pronouns": {
|
|
249482
250377
|
"type": "string"
|
|
249483
250378
|
},
|
|
@@ -250234,6 +251129,9 @@
|
|
|
250234
251129
|
"phone": {
|
|
250235
251130
|
"type": "string"
|
|
250236
251131
|
},
|
|
251132
|
+
"preferredName": {
|
|
251133
|
+
"type": "string"
|
|
251134
|
+
},
|
|
250237
251135
|
"pronouns": {
|
|
250238
251136
|
"type": "string"
|
|
250239
251137
|
},
|
|
@@ -250390,6 +251288,9 @@
|
|
|
250390
251288
|
"phone": {
|
|
250391
251289
|
"type": "string"
|
|
250392
251290
|
},
|
|
251291
|
+
"preferredName": {
|
|
251292
|
+
"type": "string"
|
|
251293
|
+
},
|
|
250393
251294
|
"pronouns": {
|
|
250394
251295
|
"type": "string"
|
|
250395
251296
|
},
|
|
@@ -254386,6 +255287,9 @@
|
|
|
254386
255287
|
"phone": {
|
|
254387
255288
|
"type": "string"
|
|
254388
255289
|
},
|
|
255290
|
+
"preferredName": {
|
|
255291
|
+
"type": "string"
|
|
255292
|
+
},
|
|
254389
255293
|
"pronouns": {
|
|
254390
255294
|
"type": "string"
|
|
254391
255295
|
},
|
|
@@ -264972,6 +265876,7 @@
|
|
|
264972
265876
|
"playbooks.answerBuddyFollowUp",
|
|
264973
265877
|
"playbooks.answerCheckIn",
|
|
264974
265878
|
"playbooks.answerFirstDaysCheckIn",
|
|
265879
|
+
"playbooks.answerForm",
|
|
264975
265880
|
"playbooks.approve",
|
|
264976
265881
|
"playbooks.askBuddy",
|
|
264977
265882
|
"playbooks.assignBuddy",
|
|
@@ -265452,6 +266357,7 @@
|
|
|
265452
266357
|
"playbooks.answerBuddyFollowUp",
|
|
265453
266358
|
"playbooks.answerCheckIn",
|
|
265454
266359
|
"playbooks.answerFirstDaysCheckIn",
|
|
266360
|
+
"playbooks.answerForm",
|
|
265455
266361
|
"playbooks.approve",
|
|
265456
266362
|
"playbooks.askBuddy",
|
|
265457
266363
|
"playbooks.assignBuddy",
|