onehook-api-client 1.0.37 → 1.0.39

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 (230) hide show
  1. package/README.md +446 -19
  2. package/dist-cjs/OneHook.js +88 -8
  3. package/dist-cjs/commands/{GetNotificationPreferencesCommand.js → AcceptHookRequestCommand.js} +7 -7
  4. package/dist-cjs/commands/BlockUserCommand.js +21 -0
  5. package/dist-cjs/commands/CancelHookRequestCommand.js +21 -0
  6. package/dist-cjs/commands/ClearTierOverrideCommand.js +21 -0
  7. package/dist-cjs/commands/DeclineHookRequestCommand.js +21 -0
  8. package/dist-cjs/commands/{SwipeByUsernameCommand.js → DisableMatchingCommand.js} +7 -7
  9. package/dist-cjs/commands/EnableMatchingCommand.js +21 -0
  10. package/dist-cjs/commands/EstablishHistoryEpochCommand.js +21 -0
  11. package/dist-cjs/commands/GetChatProfileCommand.js +21 -0
  12. package/dist-cjs/commands/GetDiscoverySnapshotCommand.js +21 -0
  13. package/dist-cjs/commands/GetGraphInvitesCommand.js +21 -0
  14. package/dist-cjs/commands/{UpdateProfileCommand.js → GetGraphMatchCommand.js} +7 -7
  15. package/dist-cjs/commands/GetGraphUserCommand.js +21 -0
  16. package/dist-cjs/commands/GetHistoryStateCommand.js +21 -0
  17. package/dist-cjs/commands/GetInternalMatchingStatusCommand.js +21 -0
  18. package/dist-cjs/commands/GetInternalProfileCommand.js +21 -0
  19. package/dist-cjs/commands/GetInviteEdgesCommand.js +21 -0
  20. package/dist-cjs/commands/GetMatchingProfileCommand.js +21 -0
  21. package/dist-cjs/commands/GetMatchingReadinessCommand.js +21 -0
  22. package/dist-cjs/commands/GetMediaStatsCommand.js +21 -0
  23. package/dist-cjs/commands/GetModerationReportCommand.js +21 -0
  24. package/dist-cjs/commands/GetModerationSignalsCommand.js +21 -0
  25. package/dist-cjs/commands/GetPartnerDistanceCommand.js +21 -0
  26. package/dist-cjs/commands/GetScoringPolicyCommand.js +21 -0
  27. package/dist-cjs/commands/GetTierOverrideCommand.js +21 -0
  28. package/dist-cjs/commands/IngestSignalsCommand.js +21 -0
  29. package/dist-cjs/commands/IssueViewPassesCommand.js +21 -0
  30. package/dist-cjs/commands/KeepHooksCommand.js +21 -0
  31. package/dist-cjs/commands/{GetProfileCommand.js → ListBlocksCommand.js} +7 -7
  32. package/dist-cjs/commands/ListGraphUserMatchesCommand.js +21 -0
  33. package/dist-cjs/commands/ListHookRequestsCommand.js +21 -0
  34. package/dist-cjs/commands/ListMatchingOnMembersCommand.js +21 -0
  35. package/dist-cjs/commands/PutHistoryWrapCommand.js +21 -0
  36. package/dist-cjs/commands/RecordSuggestionInternalCommand.js +21 -0
  37. package/dist-cjs/commands/ReportMemberCommand.js +21 -0
  38. package/dist-cjs/commands/RepublishMatchingProfileCommand.js +21 -0
  39. package/dist-cjs/commands/RevokeHistoryWrapCommand.js +21 -0
  40. package/dist-cjs/commands/SendHookRequestCommand.js +21 -0
  41. package/dist-cjs/commands/SetTierOverrideCommand.js +21 -0
  42. package/dist-cjs/commands/SimulateScoringPolicyCommand.js +21 -0
  43. package/dist-cjs/commands/UnblockUserCommand.js +21 -0
  44. package/dist-cjs/commands/UpdateScoringPolicyCommand.js +21 -0
  45. package/dist-cjs/commands/UpsertChatProfileCommand.js +21 -0
  46. package/dist-cjs/commands/UpsertMatchingProfileCommand.js +21 -0
  47. package/dist-cjs/commands/index.js +44 -4
  48. package/dist-cjs/graphql/types.js +4 -0
  49. package/dist-cjs/models/models_0.js +216 -21
  50. package/dist-cjs/protocols/Aws_restJson1.js +2198 -514
  51. package/dist-cjs/telemetry/index.js +49 -9
  52. package/dist-es/OneHook.js +88 -8
  53. package/dist-es/commands/AcceptHookRequestCommand.js +17 -0
  54. package/dist-es/commands/BlockUserCommand.js +17 -0
  55. package/dist-es/commands/CancelHookRequestCommand.js +17 -0
  56. package/dist-es/commands/ClearTierOverrideCommand.js +17 -0
  57. package/dist-es/commands/DeclineHookRequestCommand.js +17 -0
  58. package/dist-es/commands/{SwipeByUsernameCommand.js → DisableMatchingCommand.js} +6 -6
  59. package/dist-es/commands/EnableMatchingCommand.js +17 -0
  60. package/dist-es/commands/EstablishHistoryEpochCommand.js +17 -0
  61. package/dist-es/commands/GetChatProfileCommand.js +17 -0
  62. package/dist-es/commands/GetDiscoverySnapshotCommand.js +17 -0
  63. package/dist-es/commands/GetGraphInvitesCommand.js +17 -0
  64. package/dist-es/commands/{UpdateProfileCommand.js → GetGraphMatchCommand.js} +6 -6
  65. package/dist-es/commands/GetGraphUserCommand.js +17 -0
  66. package/dist-es/commands/GetHistoryStateCommand.js +17 -0
  67. package/dist-es/commands/GetInternalMatchingStatusCommand.js +17 -0
  68. package/dist-es/commands/GetInternalProfileCommand.js +17 -0
  69. package/dist-es/commands/GetInviteEdgesCommand.js +17 -0
  70. package/dist-es/commands/GetMatchingProfileCommand.js +17 -0
  71. package/dist-es/commands/GetMatchingReadinessCommand.js +17 -0
  72. package/dist-es/commands/GetMediaStatsCommand.js +17 -0
  73. package/dist-es/commands/GetModerationReportCommand.js +17 -0
  74. package/dist-es/commands/GetModerationSignalsCommand.js +17 -0
  75. package/dist-es/commands/GetPartnerDistanceCommand.js +17 -0
  76. package/dist-es/commands/GetScoringPolicyCommand.js +17 -0
  77. package/dist-es/commands/GetTierOverrideCommand.js +17 -0
  78. package/dist-es/commands/IngestSignalsCommand.js +17 -0
  79. package/dist-es/commands/IssueViewPassesCommand.js +17 -0
  80. package/dist-es/commands/KeepHooksCommand.js +17 -0
  81. package/dist-es/commands/{GetProfileCommand.js → ListBlocksCommand.js} +6 -6
  82. package/dist-es/commands/ListGraphUserMatchesCommand.js +17 -0
  83. package/dist-es/commands/ListHookRequestsCommand.js +17 -0
  84. package/dist-es/commands/ListMatchingOnMembersCommand.js +17 -0
  85. package/dist-es/commands/PutHistoryWrapCommand.js +17 -0
  86. package/dist-es/commands/RecordSuggestionInternalCommand.js +17 -0
  87. package/dist-es/commands/ReportMemberCommand.js +17 -0
  88. package/dist-es/commands/RepublishMatchingProfileCommand.js +17 -0
  89. package/dist-es/commands/RevokeHistoryWrapCommand.js +17 -0
  90. package/dist-es/commands/SendHookRequestCommand.js +17 -0
  91. package/dist-es/commands/SetTierOverrideCommand.js +17 -0
  92. package/dist-es/commands/SimulateScoringPolicyCommand.js +17 -0
  93. package/dist-es/commands/UnblockUserCommand.js +17 -0
  94. package/dist-es/commands/UpdateScoringPolicyCommand.js +17 -0
  95. package/dist-es/commands/UpsertChatProfileCommand.js +17 -0
  96. package/dist-es/commands/UpsertMatchingProfileCommand.js +17 -0
  97. package/dist-es/commands/index.js +44 -4
  98. package/dist-es/graphql/types.js +4 -0
  99. package/dist-es/models/models_0.js +208 -18
  100. package/dist-es/protocols/Aws_restJson1.js +2003 -401
  101. package/dist-es/telemetry/index.js +49 -9
  102. package/dist-types/OneHook.d.ts +311 -23
  103. package/dist-types/OneHookClient.d.ts +46 -6
  104. package/dist-types/commands/AcceptHookRequestCommand.d.ts +109 -0
  105. package/dist-types/commands/AuthSocialCommand.d.ts +23 -0
  106. package/dist-types/commands/BlockUserCommand.d.ts +106 -0
  107. package/dist-types/commands/CancelHookRequestCommand.d.ts +103 -0
  108. package/dist-types/commands/ClearTierOverrideCommand.d.ts +123 -0
  109. package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +26 -1
  110. package/dist-types/commands/CompleteOnboardingCommand.d.ts +31 -2
  111. package/dist-types/commands/CorrectBirthDateCommand.d.ts +25 -0
  112. package/dist-types/commands/CreateAdminInviteCommand.d.ts +29 -5
  113. package/dist-types/commands/CreateLivenessSessionCommand.d.ts +23 -0
  114. package/dist-types/commands/CreateMediaDownloadUrlCommand.d.ts +23 -0
  115. package/dist-types/commands/CreateMediaUploadUrlCommand.d.ts +24 -1
  116. package/dist-types/commands/DeclineHookRequestCommand.d.ts +103 -0
  117. package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +21 -0
  118. package/dist-types/commands/DeleteProfileCommand.d.ts +28 -2
  119. package/dist-types/commands/DeletePushTokenCommand.d.ts +23 -0
  120. package/dist-types/commands/DisableMatchingCommand.d.ts +106 -0
  121. package/dist-types/commands/DiscoverCommand.d.ts +22 -0
  122. package/dist-types/commands/EnableMatchingCommand.d.ts +105 -0
  123. package/dist-types/commands/EstablishHistoryEpochCommand.d.ts +125 -0
  124. package/dist-types/commands/GenerateDownloadUrlCommand.d.ts +26 -0
  125. package/dist-types/commands/GenerateInviteCommand.d.ts +23 -0
  126. package/dist-types/commands/GenerateUploadUrlCommand.d.ts +31 -2
  127. package/dist-types/commands/GetAccountStateCommand.d.ts +25 -0
  128. package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +23 -0
  129. package/dist-types/commands/GetAiContextMatchCommand.d.ts +25 -0
  130. package/dist-types/commands/GetBirthDateStatusCommand.d.ts +25 -0
  131. package/dist-types/commands/GetChatProfileCommand.d.ts +123 -0
  132. package/dist-types/commands/GetChatSettingsCommand.d.ts +22 -0
  133. package/dist-types/commands/GetCredentialReadinessCommand.d.ts +25 -0
  134. package/dist-types/commands/GetDiscoverySnapshotCommand.d.ts +138 -0
  135. package/dist-types/commands/GetGraphInvitesCommand.d.ts +119 -0
  136. package/dist-types/commands/GetGraphMatchCommand.d.ts +136 -0
  137. package/dist-types/commands/GetGraphUserCommand.d.ts +117 -0
  138. package/dist-types/commands/GetHistoryStateCommand.d.ts +113 -0
  139. package/dist-types/commands/GetInternalMatchingStatusCommand.d.ts +102 -0
  140. package/dist-types/commands/GetInternalProfileCommand.d.ts +174 -0
  141. package/dist-types/commands/GetInviteEdgesCommand.d.ts +106 -0
  142. package/dist-types/commands/GetLivenessStatusCommand.d.ts +23 -0
  143. package/dist-types/commands/GetMatchCommand.d.ts +27 -0
  144. package/dist-types/commands/GetMatchingProfileCommand.d.ts +175 -0
  145. package/dist-types/commands/GetMatchingReadinessCommand.d.ts +107 -0
  146. package/dist-types/commands/GetMediaStatsCommand.d.ts +106 -0
  147. package/dist-types/commands/GetModerationReportCommand.d.ts +113 -0
  148. package/dist-types/commands/GetModerationSignalsCommand.d.ts +123 -0
  149. package/dist-types/commands/GetMyProfileCommand.d.ts +119 -79
  150. package/dist-types/commands/GetParticipantRegistryCommand.d.ts +23 -0
  151. package/dist-types/commands/GetPartnerDistanceCommand.d.ts +102 -0
  152. package/dist-types/commands/GetPlaceCommand.d.ts +25 -0
  153. package/dist-types/commands/GetPreferencesCommand.d.ts +27 -3
  154. package/dist-types/commands/GetPreservationHoldCommand.d.ts +25 -0
  155. package/dist-types/commands/GetReceivedLikesCommand.d.ts +24 -0
  156. package/dist-types/commands/GetRosesCommand.d.ts +25 -0
  157. package/dist-types/commands/GetScoringPolicyCommand.d.ts +143 -0
  158. package/dist-types/commands/GetStateCommand.d.ts +44 -0
  159. package/dist-types/commands/GetSuggestionsCommand.d.ts +23 -0
  160. package/dist-types/commands/GetTierOverrideCommand.d.ts +123 -0
  161. package/dist-types/commands/GetTraditionPreferencesCommand.d.ts +23 -0
  162. package/dist-types/commands/GetUserByEmailCommand.d.ts +27 -0
  163. package/dist-types/commands/GetUserCommand.d.ts +27 -0
  164. package/dist-types/commands/GetUserIdByUsernameCommand.d.ts +28 -3
  165. package/dist-types/commands/IndexLocationCommand.d.ts +23 -0
  166. package/dist-types/commands/IngestSignalsCommand.d.ts +114 -0
  167. package/dist-types/commands/InitUserCommand.d.ts +29 -2
  168. package/dist-types/commands/IssueViewPassesCommand.d.ts +107 -0
  169. package/dist-types/commands/KeepHooksCommand.d.ts +136 -0
  170. package/dist-types/commands/LinkEmailCommand.d.ts +23 -0
  171. package/dist-types/commands/LinkSocialCommand.d.ts +23 -0
  172. package/dist-types/commands/ListBlocksCommand.d.ts +102 -0
  173. package/dist-types/commands/ListGraphUserMatchesCommand.d.ts +117 -0
  174. package/dist-types/commands/ListHookRequestsCommand.d.ts +110 -0
  175. package/dist-types/commands/ListMatchingOnMembersCommand.d.ts +108 -0
  176. package/dist-types/commands/ListMyDevicesCommand.d.ts +20 -0
  177. package/dist-types/commands/PutHistoryWrapCommand.d.ts +112 -0
  178. package/dist-types/commands/RecordSuggestionCommand.d.ts +21 -0
  179. package/dist-types/commands/RecordSuggestionInternalCommand.d.ts +105 -0
  180. package/dist-types/commands/RegisterDeviceCommand.d.ts +25 -10
  181. package/dist-types/commands/RegisterPhoneCommand.d.ts +23 -0
  182. package/dist-types/commands/RegisterPushTokenCommand.d.ts +23 -0
  183. package/dist-types/commands/RemoveLocationCommand.d.ts +23 -0
  184. package/dist-types/commands/RemoveOneHookSuggestionCommand.d.ts +23 -0
  185. package/dist-types/commands/RemoveSuggestionCommand.d.ts +23 -0
  186. package/dist-types/commands/ReportMemberCommand.d.ts +107 -0
  187. package/dist-types/commands/RepublishMatchingProfileCommand.d.ts +109 -0
  188. package/dist-types/commands/RequestEmailOtpCommand.d.ts +23 -0
  189. package/dist-types/commands/RequestPhoneOtpCommand.d.ts +23 -0
  190. package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +23 -0
  191. package/dist-types/commands/RevokeDeviceCommand.d.ts +23 -0
  192. package/dist-types/commands/RevokeHistoryWrapCommand.d.ts +108 -0
  193. package/dist-types/commands/RevokeUserAccessCommand.d.ts +25 -0
  194. package/dist-types/commands/SearchPlacesCommand.d.ts +23 -0
  195. package/dist-types/commands/SendAdminLinkOtpCommand.d.ts +25 -0
  196. package/dist-types/commands/SendHookRequestCommand.d.ts +105 -0
  197. package/dist-types/commands/SetAccountStateCommand.d.ts +27 -0
  198. package/dist-types/commands/SetPreservationHoldCommand.d.ts +27 -0
  199. package/dist-types/commands/SetTierOverrideCommand.d.ts +128 -0
  200. package/dist-types/commands/SimulateScoringPolicyCommand.d.ts +129 -0
  201. package/dist-types/commands/SwipeCommand.d.ts +27 -0
  202. package/dist-types/commands/UnblockUserCommand.d.ts +99 -0
  203. package/dist-types/commands/UnhookCommand.d.ts +29 -0
  204. package/dist-types/commands/UnlinkSocialCommand.d.ts +23 -0
  205. package/dist-types/commands/UpdateChatSettingsCommand.d.ts +25 -0
  206. package/dist-types/commands/UpdateEntitlementsCommand.d.ts +25 -0
  207. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +23 -0
  208. package/dist-types/commands/UpdatePreferencesCommand.d.ts +76 -8
  209. package/dist-types/commands/UpdateScoringPolicyCommand.d.ts +183 -0
  210. package/dist-types/commands/UpdateTraditionPreferencesCommand.d.ts +23 -0
  211. package/dist-types/commands/UpdateUsernameCommand.d.ts +23 -0
  212. package/dist-types/commands/UpgradeUserCommand.d.ts +44 -0
  213. package/dist-types/commands/UpsertChatProfileCommand.d.ts +110 -0
  214. package/dist-types/commands/UpsertMatchingProfileCommand.d.ts +163 -0
  215. package/dist-types/commands/ValidateInviteCommand.d.ts +23 -0
  216. package/dist-types/commands/VerifyAdminLinkOtpCommand.d.ts +25 -0
  217. package/dist-types/commands/index.d.ts +44 -4
  218. package/dist-types/graphql/types.d.ts +8 -0
  219. package/dist-types/models/models_0.d.ts +3406 -1268
  220. package/dist-types/protocols/Aws_restJson1.d.ts +384 -24
  221. package/dist-types/telemetry/index.d.ts +25 -2
  222. package/package.json +1 -1
  223. package/telemetry/TelemetryCatalog.kt +33 -11
  224. package/telemetry/TelemetryCatalog.swift +50 -11
  225. package/telemetry/telemetry-catalog.json +309 -34
  226. package/dist-es/commands/GetNotificationPreferencesCommand.js +0 -17
  227. package/dist-types/commands/GetNotificationPreferencesCommand.d.ts +0 -91
  228. package/dist-types/commands/GetProfileCommand.d.ts +0 -153
  229. package/dist-types/commands/SwipeByUsernameCommand.d.ts +0 -93
  230. package/dist-types/commands/UpdateProfileCommand.d.ts +0 -142
@@ -1,14 +1,24 @@
1
1
  export * from "./GetAiContextMatchCommand";
2
+ export * from "./GetGraphInvitesCommand";
3
+ export * from "./GetGraphMatchCommand";
4
+ export * from "./GetGraphUserCommand";
5
+ export * from "./GetMediaStatsCommand";
6
+ export * from "./IngestSignalsCommand";
7
+ export * from "./ListGraphUserMatchesCommand";
2
8
  export * from "./CreateMediaDownloadUrlCommand";
3
9
  export * from "./CreateMediaUploadUrlCommand";
4
10
  export * from "./DeleteMatchMessagesCommand";
5
11
  export * from "./DeletePushTokenCommand";
12
+ export * from "./EstablishHistoryEpochCommand";
6
13
  export * from "./GetChatSettingsCommand";
14
+ export * from "./GetHistoryStateCommand";
7
15
  export * from "./GetParticipantRegistryCommand";
8
16
  export * from "./ListMyDevicesCommand";
17
+ export * from "./PutHistoryWrapCommand";
9
18
  export * from "./RegisterDeviceCommand";
10
19
  export * from "./RegisterPushTokenCommand";
11
20
  export * from "./RevokeDeviceCommand";
21
+ export * from "./RevokeHistoryWrapCommand";
12
22
  export * from "./UpdateChatSettingsCommand";
13
23
  export * from "./AuthSocialCommand";
14
24
  export * from "./CreateAdminInviteCommand";
@@ -16,6 +26,7 @@ export * from "./GenerateInviteCommand";
16
26
  export * from "./GetAccountStateCommand";
17
27
  export * from "./GetAdminPhoneStatusCommand";
18
28
  export * from "./GetCredentialReadinessCommand";
29
+ export * from "./GetInviteEdgesCommand";
19
30
  export * from "./GetPreservationHoldCommand";
20
31
  export * from "./GetUserCommand";
21
32
  export * from "./GetUserByEmailCommand";
@@ -36,20 +47,24 @@ export * from "./UpdatePhoneNumberCommand";
36
47
  export * from "./UpdateUsernameCommand";
37
48
  export * from "./ValidateInviteCommand";
38
49
  export * from "./VerifyAdminLinkOtpCommand";
50
+ export * from "./GetScoringPolicyCommand";
51
+ export * from "./SimulateScoringPolicyCommand";
52
+ export * from "./UpdateScoringPolicyCommand";
39
53
  export * from "./DiscoverCommand";
40
- export * from "./GetNotificationPreferencesCommand";
54
+ export * from "./GetPartnerDistanceCommand";
41
55
  export * from "./GetPreferencesCommand";
42
56
  export * from "./GetReceivedLikesCommand";
43
57
  export * from "./GetRosesCommand";
44
58
  export * from "./GetSuggestionsCommand";
45
59
  export * from "./GetTraditionPreferencesCommand";
46
60
  export * from "./IndexLocationCommand";
61
+ export * from "./IssueViewPassesCommand";
47
62
  export * from "./RecordSuggestionCommand";
63
+ export * from "./RecordSuggestionInternalCommand";
48
64
  export * from "./RemoveLocationCommand";
49
65
  export * from "./RemoveOneHookSuggestionCommand";
50
66
  export * from "./RemoveSuggestionCommand";
51
67
  export * from "./SwipeCommand";
52
- export * from "./SwipeByUsernameCommand";
53
68
  export * from "./UpdatePreferencesCommand";
54
69
  export * from "./UpdateTraditionPreferencesCommand";
55
70
  export * from "./CompleteLivenessSessionCommand";
@@ -59,15 +74,40 @@ export * from "./DeleteProfileCommand";
59
74
  export * from "./GenerateDownloadUrlCommand";
60
75
  export * from "./GenerateUploadUrlCommand";
61
76
  export * from "./GetBirthDateStatusCommand";
77
+ export * from "./GetChatProfileCommand";
78
+ export * from "./GetInternalProfileCommand";
62
79
  export * from "./GetLivenessStatusCommand";
80
+ export * from "./GetMatchingProfileCommand";
81
+ export * from "./GetMatchingReadinessCommand";
63
82
  export * from "./GetMyProfileCommand";
64
83
  export * from "./GetPlaceCommand";
65
- export * from "./GetProfileCommand";
84
+ export * from "./RepublishMatchingProfileCommand";
66
85
  export * from "./SearchPlacesCommand";
67
- export * from "./UpdateProfileCommand";
86
+ export * from "./UpsertChatProfileCommand";
87
+ export * from "./UpsertMatchingProfileCommand";
88
+ export * from "./AcceptHookRequestCommand";
89
+ export * from "./BlockUserCommand";
90
+ export * from "./CancelHookRequestCommand";
91
+ export * from "./ClearTierOverrideCommand";
68
92
  export * from "./CompleteOnboardingCommand";
93
+ export * from "./DeclineHookRequestCommand";
94
+ export * from "./DisableMatchingCommand";
95
+ export * from "./EnableMatchingCommand";
96
+ export * from "./GetDiscoverySnapshotCommand";
97
+ export * from "./GetInternalMatchingStatusCommand";
69
98
  export * from "./GetMatchCommand";
99
+ export * from "./GetModerationReportCommand";
100
+ export * from "./GetModerationSignalsCommand";
70
101
  export * from "./GetStateCommand";
102
+ export * from "./GetTierOverrideCommand";
71
103
  export * from "./InitUserCommand";
104
+ export * from "./KeepHooksCommand";
105
+ export * from "./ListBlocksCommand";
106
+ export * from "./ListHookRequestsCommand";
107
+ export * from "./ListMatchingOnMembersCommand";
108
+ export * from "./ReportMemberCommand";
109
+ export * from "./SendHookRequestCommand";
110
+ export * from "./SetTierOverrideCommand";
111
+ export * from "./UnblockUserCommand";
72
112
  export * from "./UnhookCommand";
73
113
  export * from "./UpgradeUserCommand";
@@ -59,6 +59,10 @@ export var MessageStatus;
59
59
  export var NotificationKind;
60
60
  (function (NotificationKind) {
61
61
  NotificationKind["ConversationCooling"] = "CONVERSATION_COOLING";
62
+ NotificationKind["ConversationResumed"] = "CONVERSATION_RESUMED";
63
+ NotificationKind["ConversationSuspended"] = "CONVERSATION_SUSPENDED";
64
+ NotificationKind["HookRequested"] = "HOOK_REQUESTED";
65
+ NotificationKind["MatchingDraftExpiring"] = "MATCHING_DRAFT_EXPIRING";
62
66
  NotificationKind["MissedCall"] = "MISSED_CALL";
63
67
  NotificationKind["MutualMatch"] = "MUTUAL_MATCH";
64
68
  NotificationKind["ProfileLiked"] = "PROFILE_LIKED";
@@ -1,8 +1,91 @@
1
1
  import { OneHookServiceException as __BaseException } from "./OneHookServiceException";
2
+ export class ForbiddenError extends __BaseException {
3
+ name = "ForbiddenError";
4
+ $fault = "client";
5
+ error;
6
+ code;
7
+ traceId;
8
+ retryable;
9
+ constructor(opts) {
10
+ super({
11
+ name: "ForbiddenError",
12
+ $fault: "client",
13
+ ...opts
14
+ });
15
+ Object.setPrototypeOf(this, ForbiddenError.prototype);
16
+ this.error = opts.error;
17
+ this.code = opts.code;
18
+ this.traceId = opts.traceId;
19
+ this.retryable = opts.retryable;
20
+ }
21
+ }
22
+ export class BadGatewayError extends __BaseException {
23
+ name = "BadGatewayError";
24
+ $fault = "server";
25
+ error;
26
+ code;
27
+ traceId;
28
+ retryable;
29
+ constructor(opts) {
30
+ super({
31
+ name: "BadGatewayError",
32
+ $fault: "server",
33
+ ...opts
34
+ });
35
+ Object.setPrototypeOf(this, BadGatewayError.prototype);
36
+ this.error = opts.error;
37
+ this.code = opts.code;
38
+ this.traceId = opts.traceId;
39
+ this.retryable = opts.retryable;
40
+ }
41
+ }
42
+ export class ServiceUnavailableError extends __BaseException {
43
+ name = "ServiceUnavailableError";
44
+ $fault = "server";
45
+ error;
46
+ code;
47
+ traceId;
48
+ retryable;
49
+ constructor(opts) {
50
+ super({
51
+ name: "ServiceUnavailableError",
52
+ $fault: "server",
53
+ ...opts
54
+ });
55
+ Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
56
+ this.error = opts.error;
57
+ this.code = opts.code;
58
+ this.traceId = opts.traceId;
59
+ this.retryable = opts.retryable;
60
+ }
61
+ }
62
+ export class UnauthorizedError extends __BaseException {
63
+ name = "UnauthorizedError";
64
+ $fault = "client";
65
+ error;
66
+ code;
67
+ traceId;
68
+ retryable;
69
+ constructor(opts) {
70
+ super({
71
+ name: "UnauthorizedError",
72
+ $fault: "client",
73
+ ...opts
74
+ });
75
+ Object.setPrototypeOf(this, UnauthorizedError.prototype);
76
+ this.error = opts.error;
77
+ this.code = opts.code;
78
+ this.traceId = opts.traceId;
79
+ this.retryable = opts.retryable;
80
+ }
81
+ }
2
82
  export class BadRequestError extends __BaseException {
3
83
  name = "BadRequestError";
4
84
  $fault = "client";
5
85
  error;
86
+ code;
87
+ traceId;
88
+ retryable;
6
89
  constructor(opts) {
7
90
  super({
8
91
  name: "BadRequestError",
@@ -11,12 +94,18 @@ export class BadRequestError extends __BaseException {
11
94
  });
12
95
  Object.setPrototypeOf(this, BadRequestError.prototype);
13
96
  this.error = opts.error;
97
+ this.code = opts.code;
98
+ this.traceId = opts.traceId;
99
+ this.retryable = opts.retryable;
14
100
  }
15
101
  }
16
102
  export class InternalServerError extends __BaseException {
17
103
  name = "InternalServerError";
18
104
  $fault = "server";
19
105
  error;
106
+ code;
107
+ traceId;
108
+ retryable;
20
109
  constructor(opts) {
21
110
  super({
22
111
  name: "InternalServerError",
@@ -25,12 +114,18 @@ export class InternalServerError extends __BaseException {
25
114
  });
26
115
  Object.setPrototypeOf(this, InternalServerError.prototype);
27
116
  this.error = opts.error;
117
+ this.code = opts.code;
118
+ this.traceId = opts.traceId;
119
+ this.retryable = opts.retryable;
28
120
  }
29
121
  }
30
122
  export class NotFoundError extends __BaseException {
31
123
  name = "NotFoundError";
32
124
  $fault = "client";
33
125
  error;
126
+ code;
127
+ traceId;
128
+ retryable;
34
129
  constructor(opts) {
35
130
  super({
36
131
  name: "NotFoundError",
@@ -39,20 +134,29 @@ export class NotFoundError extends __BaseException {
39
134
  });
40
135
  Object.setPrototypeOf(this, NotFoundError.prototype);
41
136
  this.error = opts.error;
137
+ this.code = opts.code;
138
+ this.traceId = opts.traceId;
139
+ this.retryable = opts.retryable;
42
140
  }
43
141
  }
44
- export class ForbiddenError extends __BaseException {
45
- name = "ForbiddenError";
142
+ export class TooManyRequestsError extends __BaseException {
143
+ name = "TooManyRequestsError";
46
144
  $fault = "client";
47
145
  error;
146
+ code;
147
+ traceId;
148
+ retryable;
48
149
  constructor(opts) {
49
150
  super({
50
- name: "ForbiddenError",
151
+ name: "TooManyRequestsError",
51
152
  $fault: "client",
52
153
  ...opts
53
154
  });
54
- Object.setPrototypeOf(this, ForbiddenError.prototype);
155
+ Object.setPrototypeOf(this, TooManyRequestsError.prototype);
55
156
  this.error = opts.error;
157
+ this.code = opts.code;
158
+ this.traceId = opts.traceId;
159
+ this.retryable = opts.retryable;
56
160
  }
57
161
  }
58
162
  export const MediaKind = {
@@ -61,6 +165,26 @@ export const MediaKind = {
61
165
  IMAGE: "IMAGE",
62
166
  VIDEO: "VIDEO",
63
167
  };
168
+ export class ConflictError extends __BaseException {
169
+ name = "ConflictError";
170
+ $fault = "client";
171
+ error;
172
+ code;
173
+ traceId;
174
+ retryable;
175
+ constructor(opts) {
176
+ super({
177
+ name: "ConflictError",
178
+ $fault: "client",
179
+ ...opts
180
+ });
181
+ Object.setPrototypeOf(this, ConflictError.prototype);
182
+ this.error = opts.error;
183
+ this.code = opts.code;
184
+ this.traceId = opts.traceId;
185
+ this.retryable = opts.retryable;
186
+ }
187
+ }
64
188
  export const LastSeenVisibility = {
65
189
  EVERYONE: "EVERYONE",
66
190
  MATCHES: "MATCHES",
@@ -75,6 +199,9 @@ export class DeviceLimitError extends __BaseException {
75
199
  name = "DeviceLimitError";
76
200
  $fault = "client";
77
201
  error;
202
+ code;
203
+ traceId;
204
+ retryable;
78
205
  constructor(opts) {
79
206
  super({
80
207
  name: "DeviceLimitError",
@@ -83,6 +210,9 @@ export class DeviceLimitError extends __BaseException {
83
210
  });
84
211
  Object.setPrototypeOf(this, DeviceLimitError.prototype);
85
212
  this.error = opts.error;
213
+ this.code = opts.code;
214
+ this.traceId = opts.traceId;
215
+ this.retryable = opts.retryable;
86
216
  }
87
217
  }
88
218
  export const PushTokenKind = {
@@ -101,20 +231,6 @@ export const CredentialGap = {
101
231
  USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
102
232
  USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
103
233
  };
104
- export class ConflictError extends __BaseException {
105
- name = "ConflictError";
106
- $fault = "client";
107
- error;
108
- constructor(opts) {
109
- super({
110
- name: "ConflictError",
111
- $fault: "client",
112
- ...opts
113
- });
114
- Object.setPrototypeOf(this, ConflictError.prototype);
115
- this.error = opts.error;
116
- }
117
- }
118
234
  export const SubscriptionTier = {
119
235
  INFINITY: "INFINITY",
120
236
  MUST: "MUST",
@@ -155,3 +271,77 @@ export const SuggestionBasis = {
155
271
  EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
156
272
  INFERRED_INCLINATION: "INFERRED_INCLINATION",
157
273
  };
274
+ export const MediaPurpose = {
275
+ CHAT: "CHAT",
276
+ MATCHING: "MATCHING",
277
+ };
278
+ export const MatchingProfileStatus = {
279
+ ACTIVE: "ACTIVE",
280
+ DRAFT: "DRAFT",
281
+ };
282
+ export const BlockReason = {
283
+ FAKE_PROFILE: "FAKE_PROFILE",
284
+ HARASSMENT: "HARASSMENT",
285
+ INAPPROPRIATE_CONTENT: "INAPPROPRIATE_CONTENT",
286
+ OTHER: "OTHER",
287
+ SAFETY_CONCERN: "SAFETY_CONCERN",
288
+ SPAM: "SPAM",
289
+ };
290
+ export const MatchingMode = {
291
+ ERASING: "ERASING",
292
+ OFF: "OFF",
293
+ ON: "ON",
294
+ };
295
+ export class EnableMatchingConflictError extends __BaseException {
296
+ name = "EnableMatchingConflictError";
297
+ $fault = "client";
298
+ error;
299
+ code;
300
+ traceId;
301
+ retryable;
302
+ gaps;
303
+ constructor(opts) {
304
+ super({
305
+ name: "EnableMatchingConflictError",
306
+ $fault: "client",
307
+ ...opts
308
+ });
309
+ Object.setPrototypeOf(this, EnableMatchingConflictError.prototype);
310
+ this.error = opts.error;
311
+ this.code = opts.code;
312
+ this.traceId = opts.traceId;
313
+ this.retryable = opts.retryable;
314
+ this.gaps = opts.gaps;
315
+ }
316
+ }
317
+ export const BlockDirection = {
318
+ INCOMING: "INCOMING",
319
+ OUTGOING: "OUTGOING",
320
+ };
321
+ export const HookOrigin = {
322
+ DISCOVERY: "DISCOVERY",
323
+ REQUEST: "REQUEST",
324
+ };
325
+ export const HookEndReason = {
326
+ ACCOUNT_DELETED: "ACCOUNT_DELETED",
327
+ BLOCKED: "BLOCKED",
328
+ TIER_DOWNGRADE: "TIER_DOWNGRADE",
329
+ UNHOOK: "UNHOOK",
330
+ };
331
+ export const ReportCategory = {
332
+ FAKE_IMPERSONATION: "FAKE_IMPERSONATION",
333
+ HARASSMENT: "HARASSMENT",
334
+ HATE: "HATE",
335
+ MINOR_SAFETY: "MINOR_SAFETY",
336
+ OFF_PLATFORM_HARM: "OFF_PLATFORM_HARM",
337
+ OTHER: "OTHER",
338
+ SCAM_FRAUD: "SCAM_FRAUD",
339
+ SELF_HARM_CONCERN: "SELF_HARM_CONCERN",
340
+ SEXUAL_CONTENT_NONCONSENT: "SEXUAL_CONTENT_NONCONSENT",
341
+ SPAM_PROMOTION: "SPAM_PROMOTION",
342
+ THREATS_VIOLENCE: "THREATS_VIOLENCE",
343
+ };
344
+ export const HookRequestDirection = {
345
+ INCOMING: "INCOMING",
346
+ OUTGOING: "OUTGOING",
347
+ };