onehook-api-client 1.0.27 → 1.0.29

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.
Files changed (37) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/OneHook.js +10 -0
  3. package/dist-cjs/commands/DiscoverByIntentCommand.js +21 -0
  4. package/dist-cjs/commands/DiscoverSuggestedCommand.js +21 -0
  5. package/dist-cjs/commands/GetAccountStateCommand.js +21 -0
  6. package/dist-cjs/commands/GetAdminPhoneStatusCommand.js +21 -0
  7. package/dist-cjs/commands/SetAccountStateCommand.js +21 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +30 -1
  10. package/dist-cjs/protocols/Aws_restJson1.js +190 -3
  11. package/dist-cjs/telemetry/index.js +38 -2
  12. package/dist-es/OneHook.js +10 -0
  13. package/dist-es/commands/DiscoverByIntentCommand.js +17 -0
  14. package/dist-es/commands/DiscoverSuggestedCommand.js +17 -0
  15. package/dist-es/commands/GetAccountStateCommand.js +17 -0
  16. package/dist-es/commands/GetAdminPhoneStatusCommand.js +17 -0
  17. package/dist-es/commands/SetAccountStateCommand.js +17 -0
  18. package/dist-es/commands/index.js +5 -0
  19. package/dist-es/models/models_0.js +28 -0
  20. package/dist-es/protocols/Aws_restJson1.js +178 -1
  21. package/dist-es/telemetry/index.js +38 -2
  22. package/dist-types/OneHook.d.ts +35 -0
  23. package/dist-types/OneHookClient.d.ts +7 -2
  24. package/dist-types/commands/DiscoverByIntentCommand.d.ts +97 -0
  25. package/dist-types/commands/DiscoverCommand.d.ts +4 -0
  26. package/dist-types/commands/DiscoverSuggestedCommand.d.ts +92 -0
  27. package/dist-types/commands/GetAccountStateCommand.d.ts +83 -0
  28. package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +86 -0
  29. package/dist-types/commands/SetAccountStateCommand.d.ts +95 -0
  30. package/dist-types/commands/index.d.ts +5 -0
  31. package/dist-types/models/models_0.d.ts +188 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  33. package/dist-types/telemetry/index.d.ts +22 -2
  34. package/package.json +1 -1
  35. package/telemetry/TelemetryCatalog.kt +22 -4
  36. package/telemetry/TelemetryCatalog.swift +38 -4
  37. package/telemetry/telemetry-catalog.json +264 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.5.0",
3
3
  "screens": {
4
4
  "NAV": {
5
5
  "viewable": false,
@@ -17,6 +17,14 @@
17
17
  "viewable": true,
18
18
  "description": "Invite redemption + account creation."
19
19
  },
20
+ "ADMISSIONS": {
21
+ "viewable": true,
22
+ "description": "In-app \"Get an invite with a video\" application flow (phone/OTP, training consent, in-app video record/preview and upload)."
23
+ },
24
+ "ADMISSIONS_STATUS": {
25
+ "viewable": true,
26
+ "description": "Admissions application status screen (submitted / in review / approved / not approved / re-record)."
27
+ },
20
28
  "ONBOARDING": {
21
29
  "viewable": true,
22
30
  "description": "First-run profile wizard."
@@ -116,6 +124,8 @@
116
124
  "LANDING",
117
125
  "LOGIN",
118
126
  "REDEEM_INVITE",
127
+ "ADMISSIONS",
128
+ "ADMISSIONS_STATUS",
119
129
  "ONBOARDING",
120
130
  "DISCOVER",
121
131
  "LIKE_COMPOSER",
@@ -148,6 +158,8 @@
148
158
  "LANDING",
149
159
  "LOGIN",
150
160
  "REDEEM_INVITE",
161
+ "ADMISSIONS",
162
+ "ADMISSIONS_STATUS",
151
163
  "ONBOARDING",
152
164
  "DISCOVER",
153
165
  "LIKE_COMPOSER",
@@ -926,6 +938,240 @@
926
938
  ],
927
939
  "deprecated": null
928
940
  },
941
+ "redeem_invite.get_invite_video": {
942
+ "screen": "REDEEM_INVITE",
943
+ "kind": "button",
944
+ "description": "No invite? Start the \"Get an invite with a video\" (Admissions) application flow.",
945
+ "actions": [
946
+ "tap"
947
+ ],
948
+ "values": null,
949
+ "platforms": [
950
+ "ios",
951
+ "android"
952
+ ],
953
+ "deprecated": null
954
+ },
955
+ "admissions.submit": {
956
+ "screen": "ADMISSIONS",
957
+ "kind": "button",
958
+ "description": "Primary step action. value = step performed.",
959
+ "actions": [
960
+ "submit"
961
+ ],
962
+ "values": [
963
+ "send_code",
964
+ "verify_code",
965
+ "submit_application"
966
+ ],
967
+ "platforms": [
968
+ "ios",
969
+ "android"
970
+ ],
971
+ "deprecated": null
972
+ },
973
+ "admissions.resend_code": {
974
+ "screen": "ADMISSIONS",
975
+ "kind": "link",
976
+ "description": "Resend the one-time phone verification code.",
977
+ "actions": [
978
+ "tap"
979
+ ],
980
+ "values": null,
981
+ "platforms": [
982
+ "ios",
983
+ "android"
984
+ ],
985
+ "deprecated": null
986
+ },
987
+ "admissions.consent_toggle": {
988
+ "screen": "ADMISSIONS",
989
+ "kind": "toggle",
990
+ "description": "Toggle the Admissions Assist training-consent checkbox (gates recording). value = new state.",
991
+ "actions": [
992
+ "toggle"
993
+ ],
994
+ "values": [
995
+ "checked",
996
+ "unchecked"
997
+ ],
998
+ "platforms": [
999
+ "ios",
1000
+ "android"
1001
+ ],
1002
+ "deprecated": null
1003
+ },
1004
+ "admissions.privacy_policy": {
1005
+ "screen": "ADMISSIONS",
1006
+ "kind": "link",
1007
+ "description": "Open the Privacy Policy linked from the consent text.",
1008
+ "actions": [
1009
+ "tap"
1010
+ ],
1011
+ "values": null,
1012
+ "platforms": [
1013
+ "ios",
1014
+ "android"
1015
+ ],
1016
+ "deprecated": null
1017
+ },
1018
+ "admissions.record_start": {
1019
+ "screen": "ADMISSIONS",
1020
+ "kind": "button",
1021
+ "description": "Start recording the application video.",
1022
+ "actions": [
1023
+ "tap"
1024
+ ],
1025
+ "values": null,
1026
+ "platforms": [
1027
+ "ios",
1028
+ "android"
1029
+ ],
1030
+ "deprecated": null
1031
+ },
1032
+ "admissions.record_stop": {
1033
+ "screen": "ADMISSIONS",
1034
+ "kind": "button",
1035
+ "description": "Stop recording (unlocks at 2:00).",
1036
+ "actions": [
1037
+ "tap"
1038
+ ],
1039
+ "values": null,
1040
+ "platforms": [
1041
+ "ios",
1042
+ "android"
1043
+ ],
1044
+ "deprecated": null
1045
+ },
1046
+ "admissions.retake": {
1047
+ "screen": "ADMISSIONS",
1048
+ "kind": "button",
1049
+ "description": "Discard the current take and record again (max 3).",
1050
+ "actions": [
1051
+ "tap"
1052
+ ],
1053
+ "values": null,
1054
+ "platforms": [
1055
+ "ios",
1056
+ "android"
1057
+ ],
1058
+ "deprecated": null
1059
+ },
1060
+ "admissions.preview_play": {
1061
+ "screen": "ADMISSIONS",
1062
+ "kind": "toggle",
1063
+ "description": "Play/pause the recorded preview. value = new state.",
1064
+ "actions": [
1065
+ "toggle"
1066
+ ],
1067
+ "values": [
1068
+ "play",
1069
+ "pause"
1070
+ ],
1071
+ "platforms": [
1072
+ "ios",
1073
+ "android"
1074
+ ],
1075
+ "deprecated": null
1076
+ },
1077
+ "admissions.upload_retry": {
1078
+ "screen": "ADMISSIONS",
1079
+ "kind": "button",
1080
+ "description": "Retry the application video upload.",
1081
+ "actions": [
1082
+ "tap"
1083
+ ],
1084
+ "values": null,
1085
+ "platforms": [
1086
+ "ios",
1087
+ "android"
1088
+ ],
1089
+ "deprecated": null
1090
+ },
1091
+ "admissions.close": {
1092
+ "screen": "ADMISSIONS",
1093
+ "kind": "button",
1094
+ "description": "Close / cancel the application flow (on any step).",
1095
+ "actions": [
1096
+ "tap"
1097
+ ],
1098
+ "values": null,
1099
+ "platforms": [
1100
+ "ios",
1101
+ "android"
1102
+ ],
1103
+ "deprecated": null
1104
+ },
1105
+ "admissions.open_settings": {
1106
+ "screen": "ADMISSIONS",
1107
+ "kind": "button",
1108
+ "description": "Open system settings (camera / microphone permission).",
1109
+ "actions": [
1110
+ "tap"
1111
+ ],
1112
+ "values": null,
1113
+ "platforms": [
1114
+ "ios",
1115
+ "android"
1116
+ ],
1117
+ "deprecated": null
1118
+ },
1119
+ "admissions_status.refresh": {
1120
+ "screen": "ADMISSIONS_STATUS",
1121
+ "kind": "button",
1122
+ "description": "Refresh the application status.",
1123
+ "actions": [
1124
+ "tap"
1125
+ ],
1126
+ "values": null,
1127
+ "platforms": [
1128
+ "ios",
1129
+ "android"
1130
+ ],
1131
+ "deprecated": null
1132
+ },
1133
+ "admissions_status.continue_invite": {
1134
+ "screen": "ADMISSIONS_STATUS",
1135
+ "kind": "button",
1136
+ "description": "Approved: continue with the invite (go to redemption).",
1137
+ "actions": [
1138
+ "tap"
1139
+ ],
1140
+ "values": null,
1141
+ "platforms": [
1142
+ "ios",
1143
+ "android"
1144
+ ],
1145
+ "deprecated": null
1146
+ },
1147
+ "admissions_status.withdraw": {
1148
+ "screen": "ADMISSIONS_STATUS",
1149
+ "kind": "button",
1150
+ "description": "Withdraw the application.",
1151
+ "actions": [
1152
+ "tap"
1153
+ ],
1154
+ "values": null,
1155
+ "platforms": [
1156
+ "ios",
1157
+ "android"
1158
+ ],
1159
+ "deprecated": null
1160
+ },
1161
+ "admissions_status.training_opt_out": {
1162
+ "screen": "ADMISSIONS_STATUS",
1163
+ "kind": "button",
1164
+ "description": "Opt out of Admissions Assist model training: stop using my video/transcript and delete training records (opens a confirmation). The application itself is unchanged.",
1165
+ "actions": [
1166
+ "tap"
1167
+ ],
1168
+ "values": null,
1169
+ "platforms": [
1170
+ "ios",
1171
+ "android"
1172
+ ],
1173
+ "deprecated": null
1174
+ },
929
1175
  "onboarding.next": {
930
1176
  "screen": "ONBOARDING",
931
1177
  "kind": "button",
@@ -3709,6 +3955,21 @@
3709
3955
  },
3710
3956
  "platformGaps": {
3711
3957
  "web": {
3958
+ "admissions.close": "Web-only gap: the \"Get an invite with a video\" application flow is in-app iOS/Android only (DESIGN.md §6.1); web has no such flow to close.",
3959
+ "admissions.consent_toggle": "Web-only gap: the video application flow (and its training-consent gate) is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3960
+ "admissions.open_settings": "Web-only gap: in-app camera/microphone capture (and its permission prompt) exists only on iOS/Android; web cannot open OS settings.",
3961
+ "admissions.preview_play": "Web-only gap: the in-app video application flow (record/preview) is iOS/Android only (DESIGN.md §6.1); not built on web.",
3962
+ "admissions.privacy_policy": "Web-only gap: the video application consent screen is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3963
+ "admissions.record_start": "Web-only gap: in-app video recording (AVCaptureSession / CameraX) is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3964
+ "admissions.record_stop": "Web-only gap: in-app video recording is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3965
+ "admissions.resend_code": "Web-only gap: the video application phone/OTP flow is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3966
+ "admissions.retake": "Web-only gap: in-app video recording / re-take is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3967
+ "admissions.submit": "Web-only gap: the \"Get an invite with a video\" application flow is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3968
+ "admissions.upload_retry": "Web-only gap: the in-app application video upload is iOS/Android only (DESIGN.md §6.1.5); not built on web.",
3969
+ "admissions_status.continue_invite": "Web-only gap: the applicant status screen is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3970
+ "admissions_status.refresh": "Web-only gap: the applicant status screen is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3971
+ "admissions_status.training_opt_out": "Web-only gap: the applicant status screen (and its Admissions Assist training opt-out) is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3972
+ "admissions_status.withdraw": "Web-only gap: the applicant status screen is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3712
3973
  "call.camera_switch": "Web has no camera-switch control: the in-call UI uses the browser-selected camera and offers no front/back toggle.",
3713
3974
  "call.speaker": "Web has no speaker routing: the browser owns audio output.",
3714
3975
  "chat.call_history_open": "Web has no call-history-open control: finished calls render inline in the conversation timeline, not behind a separate list.",
@@ -3765,6 +4026,7 @@
3765
4026
  "profile_edit.photo_reorder": "No drag-reorder gesture in the Web photo grid; the primary photo is set explicitly.",
3766
4027
  "profile_edit.preview": "Web previews via profile.preview_open; there is no separate editor-preview control.",
3767
4028
  "redeem_invite.close": "The Web redeem flow closes via the site-header home link, not a dedicated close button.",
4029
+ "redeem_invite.get_invite_video": "Web-only gap: the \"Get an invite with a video\" (Admissions) application flow is in-app iOS/Android only (DESIGN.md §6.1); the web redeem screen has no video-application entry.",
3768
4030
  "settings.device_revoke_confirm": "Device revoke is immediate on Web; there is no confirmation dialog.",
3769
4031
  "settings.help_link": "No help-centre link in Web settings.",
3770
4032
  "settings.password_set_confirm": "Setting a password on Web signs the user out to use Forgot Password; there is no confirmation dialog.",
@@ -4360,5 +4622,5 @@
4360
4622
  }
4361
4623
  }
4362
4624
  },
4363
- "hash": "9db35444cda2b7ba"
4625
+ "hash": "4ab81c4d5f20cdb7"
4364
4626
  }