onehook-api-client 1.0.29 → 1.0.31

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 (34) hide show
  1. package/README.md +14 -14
  2. package/dist-cjs/OneHook.js +4 -4
  3. package/dist-cjs/commands/{DiscoverByIntentCommand.js → CorrectBirthDateCommand.js} +7 -7
  4. package/dist-cjs/commands/{DiscoverSuggestedCommand.js → RecordSuggestionCommand.js} +7 -7
  5. package/dist-cjs/commands/index.js +2 -2
  6. package/dist-cjs/models/models_0.js +7 -1
  7. package/dist-cjs/protocols/Aws_restJson1.js +104 -71
  8. package/dist-cjs/telemetry/index.js +45 -5
  9. package/dist-es/OneHook.js +4 -4
  10. package/dist-es/commands/{DiscoverByIntentCommand.js → CorrectBirthDateCommand.js} +6 -6
  11. package/dist-es/commands/RecordSuggestionCommand.js +17 -0
  12. package/dist-es/commands/index.js +2 -2
  13. package/dist-es/models/models_0.js +6 -0
  14. package/dist-es/protocols/Aws_restJson1.js +97 -64
  15. package/dist-es/telemetry/index.js +44 -4
  16. package/dist-types/OneHook.d.ts +14 -14
  17. package/dist-types/OneHookClient.d.ts +4 -4
  18. package/dist-types/commands/CorrectBirthDateCommand.d.ts +88 -0
  19. package/dist-types/commands/DiscoverCommand.d.ts +14 -2
  20. package/dist-types/commands/GetMyProfileCommand.d.ts +9 -0
  21. package/dist-types/commands/GetProfileCommand.d.ts +9 -0
  22. package/dist-types/commands/RecordSuggestionCommand.d.ts +83 -0
  23. package/dist-types/commands/UpdateProfileCommand.d.ts +8 -0
  24. package/dist-types/commands/index.d.ts +2 -2
  25. package/dist-types/models/models_0.d.ts +182 -15
  26. package/dist-types/protocols/Aws_restJson1.d.ts +18 -18
  27. package/dist-types/telemetry/index.d.ts +45 -2
  28. package/package.json +1 -1
  29. package/telemetry/TelemetryCatalog.kt +62 -7
  30. package/telemetry/TelemetryCatalog.swift +52 -6
  31. package/telemetry/telemetry-catalog.json +601 -246
  32. package/dist-es/commands/DiscoverSuggestedCommand.js +0 -17
  33. package/dist-types/commands/DiscoverByIntentCommand.d.ts +0 -97
  34. package/dist-types/commands/DiscoverSuggestedCommand.d.ts +0 -92
@@ -1,17 +1,17 @@
1
- import { de_DiscoverByIntentCommand, se_DiscoverByIntentCommand, } from "../protocols/Aws_restJson1";
1
+ import { de_CorrectBirthDateCommand, se_CorrectBirthDateCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  export { $Command };
5
- export class DiscoverByIntentCommand extends $Command.classBuilder()
5
+ export class CorrectBirthDateCommand extends $Command.classBuilder()
6
6
  .m(function (Command, cs, config, o) {
7
7
  return [
8
8
  getSerdePlugin(config, this.serialize, this.deserialize),
9
9
  ];
10
10
  })
11
- .s("OneHookService", "DiscoverByIntent", {})
12
- .n("OneHookClient", "DiscoverByIntentCommand")
11
+ .s("OneHookService", "CorrectBirthDate", {})
12
+ .n("OneHookClient", "CorrectBirthDateCommand")
13
13
  .f(void 0, void 0)
14
- .ser(se_DiscoverByIntentCommand)
15
- .de(de_DiscoverByIntentCommand)
14
+ .ser(se_CorrectBirthDateCommand)
15
+ .de(de_CorrectBirthDateCommand)
16
16
  .build() {
17
17
  }
@@ -0,0 +1,17 @@
1
+ import { de_RecordSuggestionCommand, se_RecordSuggestionCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class RecordSuggestionCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "RecordSuggestion", {})
12
+ .n("OneHookClient", "RecordSuggestionCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_RecordSuggestionCommand)
15
+ .de(de_RecordSuggestionCommand)
16
+ .build() {
17
+ }
@@ -34,18 +34,18 @@ export * from "./UpdateUsernameCommand";
34
34
  export * from "./ValidateInviteCommand";
35
35
  export * from "./VerifyAdminLinkOtpCommand";
36
36
  export * from "./DiscoverCommand";
37
- export * from "./DiscoverByIntentCommand";
38
- export * from "./DiscoverSuggestedCommand";
39
37
  export * from "./GetNotificationPreferencesCommand";
40
38
  export * from "./GetPreferencesCommand";
41
39
  export * from "./GetReceivedLikesCommand";
42
40
  export * from "./GetRosesCommand";
43
41
  export * from "./IndexLocationCommand";
42
+ export * from "./RecordSuggestionCommand";
44
43
  export * from "./RemoveLocationCommand";
45
44
  export * from "./SwipeCommand";
46
45
  export * from "./SwipeByUsernameCommand";
47
46
  export * from "./UpdatePreferencesCommand";
48
47
  export * from "./CompleteLivenessSessionCommand";
48
+ export * from "./CorrectBirthDateCommand";
49
49
  export * from "./CreateLivenessSessionCommand";
50
50
  export * from "./DeleteProfileCommand";
51
51
  export * from "./GenerateDownloadUrlCommand";
@@ -120,6 +120,12 @@ export const SubscriptionTier = {
120
120
  MUST: "MUST",
121
121
  SUPER: "SUPER",
122
122
  };
123
+ export const DiscoveryCategory = {
124
+ ALL: "ALL",
125
+ ONEHOOK_SUGGESTED: "ONEHOOK_SUGGESTED",
126
+ PROFILE_MATCH: "PROFILE_MATCH",
127
+ SIMILAR: "SIMILAR",
128
+ };
123
129
  export const MatchFinder = {
124
130
  MR_ONEHOOK: "MR_ONEHOOK",
125
131
  ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
@@ -520,38 +520,7 @@ export const se_DiscoverCommand = async (input, context) => {
520
520
  const query = map({
521
521
  [_l]: [__expectNonNull(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
522
522
  [_lo]: [__expectNonNull(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
523
- });
524
- let body;
525
- b.m("GET")
526
- .h(headers)
527
- .q(query)
528
- .b(body);
529
- return b.build();
530
- };
531
- export const se_DiscoverByIntentCommand = async (input, context) => {
532
- const b = rb(input, context);
533
- const headers = {
534
- 'content-type': 'application/json',
535
- };
536
- b.bp("/matching/discover/intent");
537
- let body;
538
- body = JSON.stringify(take(input, {
539
- 'description': [],
540
- 'lat': _ => __serializeFloat(_),
541
- 'lon': _ => __serializeFloat(_),
542
- }));
543
- b.m("POST")
544
- .h(headers)
545
- .b(body);
546
- return b.build();
547
- };
548
- export const se_DiscoverSuggestedCommand = async (input, context) => {
549
- const b = rb(input, context);
550
- const headers = {};
551
- b.bp("/matching/discover/suggested");
552
- const query = map({
553
- [_l]: [__expectNonNull(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
554
- [_lo]: [__expectNonNull(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
523
+ [_c]: [, input[_c]],
555
524
  });
556
525
  let body;
557
526
  b.m("GET")
@@ -618,6 +587,22 @@ export const se_IndexLocationCommand = async (input, context) => {
618
587
  .b(body);
619
588
  return b.build();
620
589
  };
590
+ export const se_RecordSuggestionCommand = async (input, context) => {
591
+ const b = rb(input, context);
592
+ const headers = {
593
+ 'content-type': 'application/json',
594
+ };
595
+ b.bp("/matching/suggestions");
596
+ let body;
597
+ body = JSON.stringify(take(input, {
598
+ 'prompt': [],
599
+ 'reasoning': [],
600
+ }));
601
+ b.m("POST")
602
+ .h(headers)
603
+ .b(body);
604
+ return b.build();
605
+ };
621
606
  export const se_RemoveLocationCommand = async (input, context) => {
622
607
  const b = rb(input, context);
623
608
  const headers = {
@@ -732,6 +717,24 @@ export const se_CompleteLivenessSessionCommand = async (input, context) => {
732
717
  .b(body);
733
718
  return b.build();
734
719
  };
720
+ export const se_CorrectBirthDateCommand = async (input, context) => {
721
+ const b = rb(input, context);
722
+ const headers = {
723
+ 'content-type': 'application/json',
724
+ };
725
+ b.bp("/profile-admin/{userId}/birth-date");
726
+ b.p('userId', () => input.userId, '{userId}', false);
727
+ let body;
728
+ body = JSON.stringify(take(input, {
729
+ 'date': [],
730
+ 'reason': [],
731
+ 'reference': [],
732
+ }));
733
+ b.m("PUT")
734
+ .h(headers)
735
+ .b(body);
736
+ return b.build();
737
+ };
735
738
  export const se_CreateLivenessSessionCommand = async (input, context) => {
736
739
  const b = rb(input, context);
737
740
  const headers = {};
@@ -825,6 +828,7 @@ export const se_UpdateProfileCommand = async (input, context) => {
825
828
  'age': [],
826
829
  'audioPrompt': [],
827
830
  'bio': [],
831
+ 'birthDetails': _ => se_BirthDetails(_, context),
828
832
  'cannabisStatus': [],
829
833
  'causes': _ => _json(_),
830
834
  'communities': _ => _json(_),
@@ -1485,39 +1489,9 @@ export const de_DiscoverCommand = async (output, context) => {
1485
1489
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1486
1490
  const doc = take(data, {
1487
1491
  'algorithm': __expectString,
1492
+ 'availableCategories': _json,
1488
1493
  'candidates': _ => de_CandidateList(_, context),
1489
- 'count': __expectInt32,
1490
- });
1491
- Object.assign(contents, doc);
1492
- return contents;
1493
- };
1494
- export const de_DiscoverByIntentCommand = async (output, context) => {
1495
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1496
- return de_CommandError(output, context);
1497
- }
1498
- const contents = map({
1499
- $metadata: deserializeMetadata(output),
1500
- });
1501
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1502
- const doc = take(data, {
1503
- 'algorithm': __expectString,
1504
- 'candidates': _ => de_CandidateList(_, context),
1505
- 'count': __expectInt32,
1506
- });
1507
- Object.assign(contents, doc);
1508
- return contents;
1509
- };
1510
- export const de_DiscoverSuggestedCommand = async (output, context) => {
1511
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1512
- return de_CommandError(output, context);
1513
- }
1514
- const contents = map({
1515
- $metadata: deserializeMetadata(output),
1516
- });
1517
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1518
- const doc = take(data, {
1519
- 'algorithm': __expectString,
1520
- 'candidates': _ => de_CandidateList(_, context),
1494
+ 'category': __expectString,
1521
1495
  'count': __expectInt32,
1522
1496
  });
1523
1497
  Object.assign(contents, doc);
@@ -1631,6 +1605,20 @@ export const de_IndexLocationCommand = async (output, context) => {
1631
1605
  Object.assign(contents, doc);
1632
1606
  return contents;
1633
1607
  };
1608
+ export const de_RecordSuggestionCommand = async (output, context) => {
1609
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1610
+ return de_CommandError(output, context);
1611
+ }
1612
+ const contents = map({
1613
+ $metadata: deserializeMetadata(output),
1614
+ });
1615
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1616
+ const doc = take(data, {
1617
+ 'suggestionId': __expectString,
1618
+ });
1619
+ Object.assign(contents, doc);
1620
+ return contents;
1621
+ };
1634
1622
  export const de_RemoveLocationCommand = async (output, context) => {
1635
1623
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1636
1624
  return de_CommandError(output, context);
@@ -1703,6 +1691,24 @@ export const de_CompleteLivenessSessionCommand = async (output, context) => {
1703
1691
  Object.assign(contents, doc);
1704
1692
  return contents;
1705
1693
  };
1694
+ export const de_CorrectBirthDateCommand = async (output, context) => {
1695
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1696
+ return de_CommandError(output, context);
1697
+ }
1698
+ const contents = map({
1699
+ $metadata: deserializeMetadata(output),
1700
+ });
1701
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1702
+ const doc = take(data, {
1703
+ 'age': __expectInt32,
1704
+ 'correctionsRemaining': __expectInt32,
1705
+ 'correctionsUsed': __expectInt32,
1706
+ 'date': __expectString,
1707
+ 'userId': __expectString,
1708
+ });
1709
+ Object.assign(contents, doc);
1710
+ return contents;
1711
+ };
1706
1712
  export const de_CreateLivenessSessionCommand = async (output, context) => {
1707
1713
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1708
1714
  return de_CommandError(output, context);
@@ -1788,6 +1794,8 @@ export const de_GetMyProfileCommand = async (output, context) => {
1788
1794
  'age': __expectInt32,
1789
1795
  'audioPrompt': __expectString,
1790
1796
  'bio': __expectString,
1797
+ 'birthDateOnFile': __expectBoolean,
1798
+ 'birthDetails': _ => de_BirthDetails(_, context),
1791
1799
  'cannabisStatus': __expectString,
1792
1800
  'causes': _json,
1793
1801
  'communities': _json,
@@ -1840,6 +1848,8 @@ export const de_GetProfileCommand = async (output, context) => {
1840
1848
  'age': __expectInt32,
1841
1849
  'audioPrompt': __expectString,
1842
1850
  'bio': __expectString,
1851
+ 'birthDateOnFile': __expectBoolean,
1852
+ 'birthDetails': _ => de_BirthDetails(_, context),
1843
1853
  'cannabisStatus': __expectString,
1844
1854
  'causes': _json,
1845
1855
  'communities': _json,
@@ -2109,14 +2119,26 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
2109
2119
  });
2110
2120
  return __decorateServiceException(exception, parsedOutput.body);
2111
2121
  };
2122
+ const se_BirthDetails = (input, context) => {
2123
+ return take(input, {
2124
+ 'date': [],
2125
+ 'latitude': __serializeFloat,
2126
+ 'longitude': __serializeFloat,
2127
+ 'provisional': [],
2128
+ 'time': [],
2129
+ 'timeZone': [],
2130
+ });
2131
+ };
2112
2132
  const de_CandidateDto = (output, context) => {
2113
2133
  return take(output, {
2114
2134
  'distanceKm': __limitedParseDouble,
2115
2135
  'matchFinder': __expectString,
2116
2136
  'matchFinderLabel': __expectString,
2137
+ 'reasoning': __expectString,
2117
2138
  'score': __limitedParseDouble,
2118
2139
  'similarity': __limitedParseDouble,
2119
2140
  'suggestionBasis': __expectString,
2141
+ 'suggestionId': __expectString,
2120
2142
  'userId': __expectString,
2121
2143
  });
2122
2144
  };
@@ -2126,6 +2148,16 @@ const de_CandidateList = (output, context) => {
2126
2148
  });
2127
2149
  return retVal;
2128
2150
  };
2151
+ const de_BirthDetails = (output, context) => {
2152
+ return take(output, {
2153
+ 'date': __expectString,
2154
+ 'latitude': __limitedParseDouble,
2155
+ 'longitude': __limitedParseDouble,
2156
+ 'provisional': __expectBoolean,
2157
+ 'time': __expectString,
2158
+ 'timeZone': __expectString,
2159
+ });
2160
+ };
2129
2161
  const deserializeMetadata = (output) => ({
2130
2162
  httpStatusCode: output.statusCode,
2131
2163
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -2133,6 +2165,7 @@ const deserializeMetadata = (output) => ({
2133
2165
  cfId: output.headers["x-amz-cf-id"],
2134
2166
  });
2135
2167
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
2168
+ const _c = "category";
2136
2169
  const _k = "key";
2137
2170
  const _l = "lat";
2138
2171
  const _lo = "lon";
@@ -1,5 +1,5 @@
1
- export const TELEMETRY_CATALOG_VERSION = "1.5.0";
2
- export const TELEMETRY_CATALOG_HASH = "4ab81c4d5f20cdb7";
1
+ export const TELEMETRY_CATALOG_VERSION = "1.8.0";
2
+ export const TELEMETRY_CATALOG_HASH = "9a56f9fef0ed4ae7";
3
3
  export const SignalType = {
4
4
  SCREEN_VIEW: "screen_view",
5
5
  UI_INTERACTION: "ui_interaction",
@@ -19,6 +19,7 @@ export const SignalType = {
19
19
  HOOKED_STATE_VIEW: "hooked_state_view",
20
20
  LIKES_YOU_VIEW: "likes_you_view",
21
21
  SAFETY_UI_OPEN: "safety_ui_open",
22
+ REPORT_FLOW: "report_flow",
22
23
  };
23
24
  export const Platform = {
24
25
  WEB: "web",
@@ -153,6 +154,39 @@ export const HookedStateAction = {
153
154
  GO_TO_CHAT: "go_to_chat",
154
155
  DISMISS: "dismiss",
155
156
  };
157
+ export const ReportCategory = {
158
+ HARASSMENT: "HARASSMENT",
159
+ THREATS_VIOLENCE: "THREATS_VIOLENCE",
160
+ SEXUAL_CONTENT_NONCONSENT: "SEXUAL_CONTENT_NONCONSENT",
161
+ MINOR_SAFETY: "MINOR_SAFETY",
162
+ SCAM_FRAUD: "SCAM_FRAUD",
163
+ FAKE_IMPERSONATION: "FAKE_IMPERSONATION",
164
+ SPAM_PROMOTION: "SPAM_PROMOTION",
165
+ HATE: "HATE",
166
+ SELF_HARM_CONCERN: "SELF_HARM_CONCERN",
167
+ OFF_PLATFORM_HARM: "OFF_PLATFORM_HARM",
168
+ OTHER: "OTHER",
169
+ };
170
+ export const ReportSource = {
171
+ CHAT: "chat",
172
+ PROFILE: "profile",
173
+ };
174
+ export const ReportEvent = {
175
+ REPORT_OPEN: "report.open",
176
+ REPORT_CATEGORY_SELECTED: "report.category_selected",
177
+ REPORT_NOT_REPORTABLE_SHOWN: "report.not_reportable_shown",
178
+ REPORT_NOT_REPORTABLE_BLOCK: "report.not_reportable_block",
179
+ REPORT_SELF_HARM_RESOURCES_SHOWN: "report.self_harm_resources_shown",
180
+ REPORT_EVIDENCE_TOGGLE: "report.evidence_toggle",
181
+ REPORT_ATTACHMENTS_TOGGLE: "report.attachments_toggle",
182
+ REPORT_EVIDENCE_PREVIEW: "report.evidence_preview",
183
+ REPORT_NUDGE_SHOWN: "report.nudge_shown",
184
+ REPORT_SUBMIT_WITH_EVIDENCE: "report.submit_with_evidence",
185
+ REPORT_SUBMIT_WITHOUT_EVIDENCE: "report.submit_without_evidence",
186
+ REPORT_SUBMIT_FAILED: "report.submit_failed",
187
+ REPORT_EVIDENCE_UPLOAD_SUCCEEDED: "report.evidence_upload_succeeded",
188
+ REPORT_EVIDENCE_UPLOAD_FAILED: "report.evidence_upload_failed",
189
+ };
156
190
  export const UiElement = {
157
191
  NAV_TAB_SELECT: "nav.tab_select",
158
192
  NAV_SEARCH_OPEN: "nav.search_open",
@@ -232,6 +266,7 @@ export const UiElement = {
232
266
  DISCOVER_LIKES_YOU_OPEN: "discover.likes_you_open",
233
267
  DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
234
268
  DISCOVER_RETRY: "discover.retry",
269
+ DISCOVER_CATEGORY_SELECT: "discover.category_select",
235
270
  DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
236
271
  DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
237
272
  LIKE_COMPOSER_SEND: "like_composer.send",
@@ -258,6 +293,8 @@ export const UiElement = {
258
293
  CHAT_PROFILE_OPEN: "chat.profile_open",
259
294
  CHAT_SAFETY_MENU_OPEN: "chat.safety_menu_open",
260
295
  CHAT_UNMATCH: "chat.unmatch",
296
+ CHAT_REPORT_OPEN: "chat.report_open",
297
+ CHAT_BLOCK_OPEN: "chat.block_open",
261
298
  CHAT_REPORT_SPAM: "chat.report_spam",
262
299
  CHAT_REPORT_BLOCK: "chat.report_block",
263
300
  CHAT_BLOCK_CONFIRM: "chat.block_confirm",
@@ -473,6 +510,7 @@ export const UI_ELEMENTS = {
473
510
  "discover.likes_you_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
474
511
  "discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
475
512
  "discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
513
+ "discover.category_select": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["all", "profile_match", "onehook_suggested", "similar"], platforms: ["web", "ios", "android"] },
476
514
  "discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
477
515
  "discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
478
516
  "like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -499,8 +537,10 @@ export const UI_ELEMENTS = {
499
537
  "chat.profile_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
500
538
  "chat.safety_menu_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
501
539
  "chat.unmatch": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["ios", "android"] },
502
- "chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
503
- "chat.report_block": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
540
+ "chat.report_open": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
541
+ "chat.block_open": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
542
+ "chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: [] },
543
+ "chat.report_block": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: [] },
504
544
  "chat.block_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
505
545
  "chat.settings_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
506
546
  "chat.wallpaper_open": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
@@ -2,6 +2,7 @@ import { OneHookClient } from "./OneHookClient";
2
2
  import { AuthSocialCommandInput, AuthSocialCommandOutput } from "./commands/AuthSocialCommand";
3
3
  import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "./commands/CompleteLivenessSessionCommand";
4
4
  import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "./commands/CompleteOnboardingCommand";
5
+ import { CorrectBirthDateCommandInput, CorrectBirthDateCommandOutput } from "./commands/CorrectBirthDateCommand";
5
6
  import { CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput } from "./commands/CreateAdminInviteCommand";
6
7
  import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "./commands/CreateLivenessSessionCommand";
7
8
  import { CreateMediaDownloadUrlCommandInput, CreateMediaDownloadUrlCommandOutput } from "./commands/CreateMediaDownloadUrlCommand";
@@ -9,9 +10,7 @@ import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } f
9
10
  import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
10
11
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
11
12
  import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
12
- import { DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput } from "./commands/DiscoverByIntentCommand";
13
13
  import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
14
- import { DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput } from "./commands/DiscoverSuggestedCommand";
15
14
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
16
15
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
17
16
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
@@ -38,6 +37,7 @@ import { InitUserCommandInput, InitUserCommandOutput } from "./commands/InitUser
38
37
  import { LinkEmailCommandInput, LinkEmailCommandOutput } from "./commands/LinkEmailCommand";
39
38
  import { LinkSocialCommandInput, LinkSocialCommandOutput } from "./commands/LinkSocialCommand";
40
39
  import { ListMyDevicesCommandInput, ListMyDevicesCommandOutput } from "./commands/ListMyDevicesCommand";
40
+ import { RecordSuggestionCommandInput, RecordSuggestionCommandOutput } from "./commands/RecordSuggestionCommand";
41
41
  import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
42
42
  import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
43
43
  import { RegisterPushTokenCommandInput, RegisterPushTokenCommandOutput } from "./commands/RegisterPushTokenCommand";
@@ -282,18 +282,6 @@ export interface OneHook {
282
282
  discover(args: DiscoverCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverCommandOutput>;
283
283
  discover(args: DiscoverCommandInput, cb: (err: any, data?: DiscoverCommandOutput) => void): void;
284
284
  discover(args: DiscoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverCommandOutput) => void): void;
285
- /**
286
- * @see {@link DiscoverByIntentCommand}
287
- */
288
- discoverByIntent(args: DiscoverByIntentCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverByIntentCommandOutput>;
289
- discoverByIntent(args: DiscoverByIntentCommandInput, cb: (err: any, data?: DiscoverByIntentCommandOutput) => void): void;
290
- discoverByIntent(args: DiscoverByIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverByIntentCommandOutput) => void): void;
291
- /**
292
- * @see {@link DiscoverSuggestedCommand}
293
- */
294
- discoverSuggested(args: DiscoverSuggestedCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverSuggestedCommandOutput>;
295
- discoverSuggested(args: DiscoverSuggestedCommandInput, cb: (err: any, data?: DiscoverSuggestedCommandOutput) => void): void;
296
- discoverSuggested(args: DiscoverSuggestedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverSuggestedCommandOutput) => void): void;
297
285
  /**
298
286
  * @see {@link GetNotificationPreferencesCommand}
299
287
  */
@@ -326,6 +314,12 @@ export interface OneHook {
326
314
  indexLocation(args: IndexLocationCommandInput, options?: __HttpHandlerOptions): Promise<IndexLocationCommandOutput>;
327
315
  indexLocation(args: IndexLocationCommandInput, cb: (err: any, data?: IndexLocationCommandOutput) => void): void;
328
316
  indexLocation(args: IndexLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: IndexLocationCommandOutput) => void): void;
317
+ /**
318
+ * @see {@link RecordSuggestionCommand}
319
+ */
320
+ recordSuggestion(args: RecordSuggestionCommandInput, options?: __HttpHandlerOptions): Promise<RecordSuggestionCommandOutput>;
321
+ recordSuggestion(args: RecordSuggestionCommandInput, cb: (err: any, data?: RecordSuggestionCommandOutput) => void): void;
322
+ recordSuggestion(args: RecordSuggestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecordSuggestionCommandOutput) => void): void;
329
323
  /**
330
324
  * @see {@link RemoveLocationCommand}
331
325
  */
@@ -356,6 +350,12 @@ export interface OneHook {
356
350
  completeLivenessSession(args: CompleteLivenessSessionCommandInput, options?: __HttpHandlerOptions): Promise<CompleteLivenessSessionCommandOutput>;
357
351
  completeLivenessSession(args: CompleteLivenessSessionCommandInput, cb: (err: any, data?: CompleteLivenessSessionCommandOutput) => void): void;
358
352
  completeLivenessSession(args: CompleteLivenessSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLivenessSessionCommandOutput) => void): void;
353
+ /**
354
+ * @see {@link CorrectBirthDateCommand}
355
+ */
356
+ correctBirthDate(args: CorrectBirthDateCommandInput, options?: __HttpHandlerOptions): Promise<CorrectBirthDateCommandOutput>;
357
+ correctBirthDate(args: CorrectBirthDateCommandInput, cb: (err: any, data?: CorrectBirthDateCommandOutput) => void): void;
358
+ correctBirthDate(args: CorrectBirthDateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CorrectBirthDateCommandOutput) => void): void;
359
359
  /**
360
360
  * @see {@link CreateLivenessSessionCommand}
361
361
  */
@@ -2,6 +2,7 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
2
2
  import { AuthSocialCommandInput, AuthSocialCommandOutput } from "./commands/AuthSocialCommand";
3
3
  import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "./commands/CompleteLivenessSessionCommand";
4
4
  import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "./commands/CompleteOnboardingCommand";
5
+ import { CorrectBirthDateCommandInput, CorrectBirthDateCommandOutput } from "./commands/CorrectBirthDateCommand";
5
6
  import { CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput } from "./commands/CreateAdminInviteCommand";
6
7
  import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "./commands/CreateLivenessSessionCommand";
7
8
  import { CreateMediaDownloadUrlCommandInput, CreateMediaDownloadUrlCommandOutput } from "./commands/CreateMediaDownloadUrlCommand";
@@ -9,9 +10,7 @@ import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } f
9
10
  import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
10
11
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
11
12
  import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
12
- import { DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput } from "./commands/DiscoverByIntentCommand";
13
13
  import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
14
- import { DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput } from "./commands/DiscoverSuggestedCommand";
15
14
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
16
15
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
17
16
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
@@ -38,6 +37,7 @@ import { InitUserCommandInput, InitUserCommandOutput } from "./commands/InitUser
38
37
  import { LinkEmailCommandInput, LinkEmailCommandOutput } from "./commands/LinkEmailCommand";
39
38
  import { LinkSocialCommandInput, LinkSocialCommandOutput } from "./commands/LinkSocialCommand";
40
39
  import { ListMyDevicesCommandInput, ListMyDevicesCommandOutput } from "./commands/ListMyDevicesCommand";
40
+ import { RecordSuggestionCommandInput, RecordSuggestionCommandOutput } from "./commands/RecordSuggestionCommand";
41
41
  import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
42
42
  import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
43
43
  import { RegisterPushTokenCommandInput, RegisterPushTokenCommandOutput } from "./commands/RegisterPushTokenCommand";
@@ -73,11 +73,11 @@ export { __Client };
73
73
  /**
74
74
  * @public
75
75
  */
76
- export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverByIntentCommandInput | DiscoverCommandInput | DiscoverSuggestedCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SendAdminLinkOtpCommandInput | SetAccountStateCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
76
+ export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CorrectBirthDateCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RecordSuggestionCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SendAdminLinkOtpCommandInput | SetAccountStateCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
77
77
  /**
78
78
  * @public
79
79
  */
80
- export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverByIntentCommandOutput | DiscoverCommandOutput | DiscoverSuggestedCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SendAdminLinkOtpCommandOutput | SetAccountStateCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
80
+ export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CorrectBirthDateCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RecordSuggestionCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SendAdminLinkOtpCommandOutput | SetAccountStateCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
81
81
  /**
82
82
  * @public
83
83
  */
@@ -0,0 +1,88 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { CorrectBirthDateRequest, CorrectBirthDateResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CorrectBirthDateCommand}.
14
+ */
15
+ export interface CorrectBirthDateCommandInput extends CorrectBirthDateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CorrectBirthDateCommand}.
21
+ */
22
+ export interface CorrectBirthDateCommandOutput extends CorrectBirthDateResponse, __MetadataBearer {
23
+ }
24
+ declare const CorrectBirthDateCommand_base: {
25
+ new (input: CorrectBirthDateCommandInput): import("@smithy/smithy-client").CommandImpl<CorrectBirthDateCommandInput, CorrectBirthDateCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CorrectBirthDateCommandInput): import("@smithy/smithy-client").CommandImpl<CorrectBirthDateCommandInput, CorrectBirthDateCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Support-only correction of a member's birth date, which members can never change themselves.
31
+ * Internal, IAM-authorized (SigV4): callable only by principals granted execute-api:Invoke on this
32
+ * route (the admin portal's support role). Every correction is audited (who, when, why, from/to)
33
+ * and limited to 2 per member, ever. Age is re-derived; Matching re-syncs automatically.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { OneHookClient, CorrectBirthDateCommand } from "onehook-api-client"; // ES Modules import
38
+ * // const { OneHookClient, CorrectBirthDateCommand } = require("onehook-api-client"); // CommonJS import
39
+ * const client = new OneHookClient(config);
40
+ * const input = { // CorrectBirthDateRequest
41
+ * userId: "STRING_VALUE", // required
42
+ * date: "STRING_VALUE", // required
43
+ * reason: "STRING_VALUE", // required
44
+ * reference: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new CorrectBirthDateCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // CorrectBirthDateResponse
49
+ * // userId: "STRING_VALUE", // required
50
+ * // date: "STRING_VALUE", // required
51
+ * // age: Number("int"), // required
52
+ * // correctionsUsed: Number("int"), // required
53
+ * // correctionsRemaining: Number("int"), // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CorrectBirthDateCommandInput - {@link CorrectBirthDateCommandInput}
59
+ * @returns {@link CorrectBirthDateCommandOutput}
60
+ * @see {@link CorrectBirthDateCommandInput} for command's `input` shape.
61
+ * @see {@link CorrectBirthDateCommandOutput} for command's `response` shape.
62
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
63
+ *
64
+ * @throws {@link BadRequestError} (client fault)
65
+ *
66
+ * @throws {@link NotFoundError} (client fault)
67
+ *
68
+ * @throws {@link InternalServerError} (server fault)
69
+ *
70
+ * @throws {@link OneHookServiceException}
71
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class CorrectBirthDateCommand extends CorrectBirthDateCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: CorrectBirthDateRequest;
81
+ output: CorrectBirthDateResponse;
82
+ };
83
+ sdk: {
84
+ input: CorrectBirthDateCommandInput;
85
+ output: CorrectBirthDateCommandOutput;
86
+ };
87
+ };
88
+ }