onehook-api-client 1.0.26 → 1.0.28

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 (31) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/OneHook.js +8 -0
  3. package/dist-cjs/commands/CreateAdminInviteCommand.js +21 -0
  4. package/dist-cjs/commands/GetAdminPhoneStatusCommand.js +21 -0
  5. package/dist-cjs/commands/SendAdminLinkOtpCommand.js +21 -0
  6. package/dist-cjs/commands/VerifyAdminLinkOtpCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +131 -3
  9. package/dist-cjs/telemetry/index.js +36 -2
  10. package/dist-es/OneHook.js +8 -0
  11. package/dist-es/commands/CreateAdminInviteCommand.js +17 -0
  12. package/dist-es/commands/GetAdminPhoneStatusCommand.js +17 -0
  13. package/dist-es/commands/SendAdminLinkOtpCommand.js +17 -0
  14. package/dist-es/commands/VerifyAdminLinkOtpCommand.js +17 -0
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/protocols/Aws_restJson1.js +120 -0
  17. package/dist-es/telemetry/index.js +36 -2
  18. package/dist-types/OneHook.d.ts +28 -0
  19. package/dist-types/OneHookClient.d.ts +6 -2
  20. package/dist-types/commands/CreateAdminInviteCommand.d.ts +87 -0
  21. package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +86 -0
  22. package/dist-types/commands/SendAdminLinkOtpCommand.d.ts +83 -0
  23. package/dist-types/commands/VerifyAdminLinkOtpCommand.d.ts +84 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/models_0.d.ts +69 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  27. package/dist-types/telemetry/index.d.ts +21 -2
  28. package/package.json +1 -1
  29. package/telemetry/TelemetryCatalog.kt +21 -4
  30. package/telemetry/TelemetryCatalog.swift +36 -4
  31. package/telemetry/telemetry-catalog.json +250 -3
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.4.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,226 @@
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
+ },
929
1161
  "onboarding.next": {
930
1162
  "screen": "ONBOARDING",
931
1163
  "kind": "button",
@@ -1995,7 +2227,7 @@
1995
2227
  "call.caption_language_select": {
1996
2228
  "screen": "CALL",
1997
2229
  "kind": "menu_item",
1998
- "description": "Pick the language your captions are translated into (or \"original\").",
2230
+ "description": "Caption translation language. On choosing a language: targetId = its code (ISO 639-1 base subtag, e.g. \"hi\"). Opening a separate language menu (iOS) reports without targetId. Never caption text.",
1999
2231
  "actions": [
2000
2232
  "tap"
2001
2233
  ],
@@ -3709,6 +3941,20 @@
3709
3941
  },
3710
3942
  "platformGaps": {
3711
3943
  "web": {
3944
+ "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.",
3945
+ "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.",
3946
+ "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.",
3947
+ "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.",
3948
+ "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.",
3949
+ "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.",
3950
+ "admissions.record_stop": "Web-only gap: in-app video recording is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3951
+ "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.",
3952
+ "admissions.retake": "Web-only gap: in-app video recording / re-take is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3953
+ "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.",
3954
+ "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.",
3955
+ "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.",
3956
+ "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.",
3957
+ "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
3958
  "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
3959
  "call.speaker": "Web has no speaker routing: the browser owns audio output.",
3714
3960
  "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 +4011,7 @@
3765
4011
  "profile_edit.photo_reorder": "No drag-reorder gesture in the Web photo grid; the primary photo is set explicitly.",
3766
4012
  "profile_edit.preview": "Web previews via profile.preview_open; there is no separate editor-preview control.",
3767
4013
  "redeem_invite.close": "The Web redeem flow closes via the site-header home link, not a dedicated close button.",
4014
+ "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
4015
  "settings.device_revoke_confirm": "Device revoke is immediate on Web; there is no confirmation dialog.",
3769
4016
  "settings.help_link": "No help-centre link in Web settings.",
3770
4017
  "settings.password_set_confirm": "Setting a password on Web signs the user out to use Forgot Password; there is no confirmation dialog.",
@@ -4360,5 +4607,5 @@
4360
4607
  }
4361
4608
  }
4362
4609
  },
4363
- "hash": "52029d112aadcfd5"
4610
+ "hash": "5cf9f7740c92eebe"
4364
4611
  }