onehook-api-client 1.0.28 → 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 (34) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/OneHook.js +8 -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/SetAccountStateCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +30 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +159 -3
  10. package/dist-cjs/telemetry/index.js +4 -2
  11. package/dist-es/OneHook.js +8 -0
  12. package/dist-es/commands/DiscoverByIntentCommand.js +17 -0
  13. package/dist-es/commands/DiscoverSuggestedCommand.js +17 -0
  14. package/dist-es/commands/GetAccountStateCommand.js +17 -0
  15. package/dist-es/commands/SetAccountStateCommand.js +17 -0
  16. package/dist-es/commands/index.js +4 -0
  17. package/dist-es/models/models_0.js +28 -0
  18. package/dist-es/protocols/Aws_restJson1.js +149 -1
  19. package/dist-es/telemetry/index.js +4 -2
  20. package/dist-types/OneHook.d.ts +28 -0
  21. package/dist-types/OneHookClient.d.ts +6 -2
  22. package/dist-types/commands/DiscoverByIntentCommand.d.ts +97 -0
  23. package/dist-types/commands/DiscoverCommand.d.ts +4 -0
  24. package/dist-types/commands/DiscoverSuggestedCommand.d.ts +92 -0
  25. package/dist-types/commands/GetAccountStateCommand.d.ts +83 -0
  26. package/dist-types/commands/SetAccountStateCommand.d.ts +95 -0
  27. package/dist-types/commands/index.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +172 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  30. package/dist-types/telemetry/index.d.ts +3 -2
  31. package/package.json +1 -1
  32. package/telemetry/TelemetryCatalog.kt +5 -4
  33. package/telemetry/TelemetryCatalog.swift +6 -4
  34. package/telemetry/telemetry-catalog.json +17 -2
@@ -0,0 +1,17 @@
1
+ import { de_SetAccountStateCommand, se_SetAccountStateCommand, } 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 SetAccountStateCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "SetAccountState", {})
12
+ .n("OneHookClient", "SetAccountStateCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_SetAccountStateCommand)
15
+ .de(de_SetAccountStateCommand)
16
+ .build() {
17
+ }
@@ -13,6 +13,7 @@ export * from "./UpdateChatSettingsCommand";
13
13
  export * from "./AuthSocialCommand";
14
14
  export * from "./CreateAdminInviteCommand";
15
15
  export * from "./GenerateInviteCommand";
16
+ export * from "./GetAccountStateCommand";
16
17
  export * from "./GetAdminPhoneStatusCommand";
17
18
  export * from "./GetCredentialReadinessCommand";
18
19
  export * from "./GetUserCommand";
@@ -25,6 +26,7 @@ export * from "./RequestEmailOtpCommand";
25
26
  export * from "./RequestPhoneOtpCommand";
26
27
  export * from "./RequestPhoneUpdateOtpCommand";
27
28
  export * from "./SendAdminLinkOtpCommand";
29
+ export * from "./SetAccountStateCommand";
28
30
  export * from "./UnlinkSocialCommand";
29
31
  export * from "./UpdateEntitlementsCommand";
30
32
  export * from "./UpdatePhoneNumberCommand";
@@ -32,6 +34,8 @@ export * from "./UpdateUsernameCommand";
32
34
  export * from "./ValidateInviteCommand";
33
35
  export * from "./VerifyAdminLinkOtpCommand";
34
36
  export * from "./DiscoverCommand";
37
+ export * from "./DiscoverByIntentCommand";
38
+ export * from "./DiscoverSuggestedCommand";
35
39
  export * from "./GetNotificationPreferencesCommand";
36
40
  export * from "./GetPreferencesCommand";
37
41
  export * from "./GetReceivedLikesCommand";
@@ -89,14 +89,42 @@ export const PushTokenKind = {
89
89
  ALERT: "ALERT",
90
90
  VOIP: "VOIP",
91
91
  };
92
+ export const AccountState = {
93
+ ACTIVE: "ACTIVE",
94
+ BANNED: "BANNED",
95
+ RESTRICTED: "RESTRICTED",
96
+ SUSPENDED: "SUSPENDED",
97
+ };
92
98
  export const CredentialGap = {
93
99
  NO_COGNITO_USERNAME_ON_PROFILE: "NO_COGNITO_USERNAME_ON_PROFILE",
94
100
  PHONE_NOT_VERIFIED: "PHONE_NOT_VERIFIED",
95
101
  USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
96
102
  USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
97
103
  };
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
+ }
98
118
  export const SubscriptionTier = {
99
119
  INFINITY: "INFINITY",
100
120
  MUST: "MUST",
101
121
  SUPER: "SUPER",
102
122
  };
123
+ export const MatchFinder = {
124
+ MR_ONEHOOK: "MR_ONEHOOK",
125
+ ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
126
+ };
127
+ export const SuggestionBasis = {
128
+ EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
129
+ INFERRED_INCLINATION: "INFERRED_INCLINATION",
130
+ };
@@ -1,5 +1,5 @@
1
1
  import { OneHookServiceException as __BaseException } from "../models/OneHookServiceException";
2
- import { BadRequestError, DeviceLimitError, ForbiddenError, InternalServerError, NotFoundError, } from "../models/models_0";
2
+ import { BadRequestError, ConflictError, DeviceLimitError, ForbiddenError, InternalServerError, NotFoundError, } from "../models/models_0";
3
3
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
4
  import { requestBuilder as rb } from "@smithy/core";
5
5
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, _json, collectBody, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
@@ -227,6 +227,17 @@ export const se_GenerateInviteCommand = async (input, context) => {
227
227
  .b(body);
228
228
  return b.build();
229
229
  };
230
+ export const se_GetAccountStateCommand = async (input, context) => {
231
+ const b = rb(input, context);
232
+ const headers = {};
233
+ b.bp("/identity/admin/users/{userId}/account-state");
234
+ b.p('userId', () => input.userId, '{userId}', false);
235
+ let body;
236
+ b.m("GET")
237
+ .h(headers)
238
+ .b(body);
239
+ return b.build();
240
+ };
230
241
  export const se_GetAdminPhoneStatusCommand = async (input, context) => {
231
242
  const b = rb(input, context);
232
243
  const headers = {
@@ -394,6 +405,26 @@ export const se_SendAdminLinkOtpCommand = async (input, context) => {
394
405
  .b(body);
395
406
  return b.build();
396
407
  };
408
+ export const se_SetAccountStateCommand = async (input, context) => {
409
+ const b = rb(input, context);
410
+ const headers = {
411
+ 'content-type': 'application/json',
412
+ };
413
+ b.bp("/identity/admin/users/{userId}/account-state");
414
+ b.p('userId', () => input.userId, '{userId}', false);
415
+ let body;
416
+ body = JSON.stringify(take(input, {
417
+ 'actor': [],
418
+ 'expectedVersion': [],
419
+ 'reasonCode': [],
420
+ 'state': [],
421
+ 'until': [],
422
+ }));
423
+ b.m("POST")
424
+ .h(headers)
425
+ .b(body);
426
+ return b.build();
427
+ };
397
428
  export const se_UnlinkSocialCommand = async (input, context) => {
398
429
  const b = rb(input, context);
399
430
  const headers = {};
@@ -497,6 +528,38 @@ export const se_DiscoverCommand = async (input, context) => {
497
528
  .b(body);
498
529
  return b.build();
499
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())],
555
+ });
556
+ let body;
557
+ b.m("GET")
558
+ .h(headers)
559
+ .q(query)
560
+ .b(body);
561
+ return b.build();
562
+ };
500
563
  export const se_GetNotificationPreferencesCommand = async (input, context) => {
501
564
  const b = rb(input, context);
502
565
  const headers = {};
@@ -1098,6 +1161,23 @@ export const de_GenerateInviteCommand = async (output, context) => {
1098
1161
  Object.assign(contents, doc);
1099
1162
  return contents;
1100
1163
  };
1164
+ export const de_GetAccountStateCommand = async (output, context) => {
1165
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1166
+ return de_CommandError(output, context);
1167
+ }
1168
+ const contents = map({
1169
+ $metadata: deserializeMetadata(output),
1170
+ });
1171
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1172
+ const doc = take(data, {
1173
+ 'reasonCode': __expectString,
1174
+ 'state': __expectString,
1175
+ 'until': __expectLong,
1176
+ 'version': __expectInt32,
1177
+ });
1178
+ Object.assign(contents, doc);
1179
+ return contents;
1180
+ };
1101
1181
  export const de_GetAdminPhoneStatusCommand = async (output, context) => {
1102
1182
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1103
1183
  return de_CommandError(output, context);
@@ -1287,6 +1367,22 @@ export const de_SendAdminLinkOtpCommand = async (output, context) => {
1287
1367
  Object.assign(contents, doc);
1288
1368
  return contents;
1289
1369
  };
1370
+ export const de_SetAccountStateCommand = async (output, context) => {
1371
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1372
+ return de_CommandError(output, context);
1373
+ }
1374
+ const contents = map({
1375
+ $metadata: deserializeMetadata(output),
1376
+ });
1377
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1378
+ const doc = take(data, {
1379
+ 'state': __expectString,
1380
+ 'until': __expectLong,
1381
+ 'version': __expectInt32,
1382
+ });
1383
+ Object.assign(contents, doc);
1384
+ return contents;
1385
+ };
1290
1386
  export const de_UnlinkSocialCommand = async (output, context) => {
1291
1387
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1292
1388
  return de_CommandError(output, context);
@@ -1395,6 +1491,38 @@ export const de_DiscoverCommand = async (output, context) => {
1395
1491
  Object.assign(contents, doc);
1396
1492
  return contents;
1397
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),
1521
+ 'count': __expectInt32,
1522
+ });
1523
+ Object.assign(contents, doc);
1524
+ return contents;
1525
+ };
1398
1526
  export const de_GetNotificationPreferencesCommand = async (output, context) => {
1399
1527
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1400
1528
  return de_CommandError(output, context);
@@ -1890,6 +2018,9 @@ const de_CommandError = async (output, context) => {
1890
2018
  case "DeviceLimitError":
1891
2019
  case "club.onehook.chat#DeviceLimitError":
1892
2020
  throw await de_DeviceLimitErrorRes(parsedOutput, context);
2021
+ case "ConflictError":
2022
+ case "club.onehook.identity#ConflictError":
2023
+ throw await de_ConflictErrorRes(parsedOutput, context);
1893
2024
  default:
1894
2025
  const parsedBody = parsedOutput.body;
1895
2026
  return throwDefaultError({
@@ -1939,6 +2070,19 @@ const de_BadRequestErrorRes = async (parsedOutput, context) => {
1939
2070
  });
1940
2071
  return __decorateServiceException(exception, parsedOutput.body);
1941
2072
  };
2073
+ const de_ConflictErrorRes = async (parsedOutput, context) => {
2074
+ const contents = map({});
2075
+ const data = parsedOutput.body;
2076
+ const doc = take(data, {
2077
+ 'error': __expectString,
2078
+ });
2079
+ Object.assign(contents, doc);
2080
+ const exception = new ConflictError({
2081
+ $metadata: deserializeMetadata(parsedOutput),
2082
+ ...contents
2083
+ });
2084
+ return __decorateServiceException(exception, parsedOutput.body);
2085
+ };
1942
2086
  const de_InternalServerErrorRes = async (parsedOutput, context) => {
1943
2087
  const contents = map({});
1944
2088
  const data = parsedOutput.body;
@@ -1968,7 +2112,11 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
1968
2112
  const de_CandidateDto = (output, context) => {
1969
2113
  return take(output, {
1970
2114
  'distanceKm': __limitedParseDouble,
2115
+ 'matchFinder': __expectString,
2116
+ 'matchFinderLabel': __expectString,
1971
2117
  'score': __limitedParseDouble,
2118
+ 'similarity': __limitedParseDouble,
2119
+ 'suggestionBasis': __expectString,
1972
2120
  'userId': __expectString,
1973
2121
  });
1974
2122
  };
@@ -1,5 +1,5 @@
1
- export const TELEMETRY_CATALOG_VERSION = "1.4.0";
2
- export const TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
1
+ export const TELEMETRY_CATALOG_VERSION = "1.5.0";
2
+ export const TELEMETRY_CATALOG_HASH = "4ab81c4d5f20cdb7";
3
3
  export const SignalType = {
4
4
  SCREEN_VIEW: "screen_view",
5
5
  UI_INTERACTION: "ui_interaction",
@@ -207,6 +207,7 @@ export const UiElement = {
207
207
  ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
208
208
  ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
209
209
  ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
210
+ ADMISSIONS_STATUS_TRAINING_OPT_OUT: "admissions_status.training_opt_out",
210
211
  ONBOARDING_NEXT: "onboarding.next",
211
212
  ONBOARDING_BACK: "onboarding.back",
212
213
  ONBOARDING_FINISH: "onboarding.finish",
@@ -447,6 +448,7 @@ export const UI_ELEMENTS = {
447
448
  "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
448
449
  "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
449
450
  "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
451
+ "admissions_status.training_opt_out": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
450
452
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
451
453
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
452
454
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -9,10 +9,13 @@ import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } f
9
9
  import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
10
10
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
11
11
  import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
12
+ import { DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput } from "./commands/DiscoverByIntentCommand";
12
13
  import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
14
+ import { DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput } from "./commands/DiscoverSuggestedCommand";
13
15
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
14
16
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
15
17
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
18
+ import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
16
19
  import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
17
20
  import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
18
21
  import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
@@ -44,6 +47,7 @@ import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./com
44
47
  import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
45
48
  import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
46
49
  import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
50
+ import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
47
51
  import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
48
52
  import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
49
53
  import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
@@ -152,6 +156,12 @@ export interface OneHook {
152
156
  generateInvite(args: GenerateInviteCommandInput, options?: __HttpHandlerOptions): Promise<GenerateInviteCommandOutput>;
153
157
  generateInvite(args: GenerateInviteCommandInput, cb: (err: any, data?: GenerateInviteCommandOutput) => void): void;
154
158
  generateInvite(args: GenerateInviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateInviteCommandOutput) => void): void;
159
+ /**
160
+ * @see {@link GetAccountStateCommand}
161
+ */
162
+ getAccountState(args: GetAccountStateCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountStateCommandOutput>;
163
+ getAccountState(args: GetAccountStateCommandInput, cb: (err: any, data?: GetAccountStateCommandOutput) => void): void;
164
+ getAccountState(args: GetAccountStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountStateCommandOutput) => void): void;
155
165
  /**
156
166
  * @see {@link GetAdminPhoneStatusCommand}
157
167
  */
@@ -224,6 +234,12 @@ export interface OneHook {
224
234
  sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, options?: __HttpHandlerOptions): Promise<SendAdminLinkOtpCommandOutput>;
225
235
  sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, cb: (err: any, data?: SendAdminLinkOtpCommandOutput) => void): void;
226
236
  sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendAdminLinkOtpCommandOutput) => void): void;
237
+ /**
238
+ * @see {@link SetAccountStateCommand}
239
+ */
240
+ setAccountState(args: SetAccountStateCommandInput, options?: __HttpHandlerOptions): Promise<SetAccountStateCommandOutput>;
241
+ setAccountState(args: SetAccountStateCommandInput, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
242
+ setAccountState(args: SetAccountStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
227
243
  /**
228
244
  * @see {@link UnlinkSocialCommand}
229
245
  */
@@ -266,6 +282,18 @@ export interface OneHook {
266
282
  discover(args: DiscoverCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverCommandOutput>;
267
283
  discover(args: DiscoverCommandInput, cb: (err: any, data?: DiscoverCommandOutput) => void): void;
268
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;
269
297
  /**
270
298
  * @see {@link GetNotificationPreferencesCommand}
271
299
  */
@@ -9,10 +9,13 @@ import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } f
9
9
  import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
10
10
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
11
11
  import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
12
+ import { DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput } from "./commands/DiscoverByIntentCommand";
12
13
  import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
14
+ import { DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput } from "./commands/DiscoverSuggestedCommand";
13
15
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
14
16
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
15
17
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
18
+ import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
16
19
  import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
17
20
  import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
18
21
  import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
@@ -44,6 +47,7 @@ import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./com
44
47
  import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
45
48
  import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
46
49
  import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
50
+ import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
47
51
  import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
48
52
  import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
49
53
  import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
@@ -69,11 +73,11 @@ export { __Client };
69
73
  /**
70
74
  * @public
71
75
  */
72
- export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | 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 | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
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;
73
77
  /**
74
78
  * @public
75
79
  */
76
- export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | 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 | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
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;
77
81
  /**
78
82
  * @public
79
83
  */
@@ -0,0 +1,97 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { DiscoverByIntentRequest, DiscoverResponse } 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 DiscoverByIntentCommand}.
14
+ */
15
+ export interface DiscoverByIntentCommandInput extends DiscoverByIntentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DiscoverByIntentCommand}.
21
+ */
22
+ export interface DiscoverByIntentCommandOutput extends DiscoverResponse, __MetadataBearer {
23
+ }
24
+ declare const DiscoverByIntentCommand_base: {
25
+ new (input: DiscoverByIntentCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DiscoverByIntentCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * "Mr. OneHook, find me ...": candidates closest in meaning to a free-text description of who the
31
+ * caller is looking for (typically distilled by OneHook AI from a conversation). The description is
32
+ * embedded and matched against candidates' profile embeddings, under the same eligibility rules and
33
+ * saved preferences as `Discover`. Every candidate is attributed `MR_ONEHOOK` /
34
+ * `EXPLICIT_REQUEST`. Paid tiers only (403 `PREMIUM_REQUIRED` otherwise); 503 when the embedding
35
+ * model is unavailable (retry later). The description is not stored or logged.
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { OneHookClient, DiscoverByIntentCommand } from "onehook-api-client"; // ES Modules import
40
+ * // const { OneHookClient, DiscoverByIntentCommand } = require("onehook-api-client"); // CommonJS import
41
+ * const client = new OneHookClient(config);
42
+ * const input = { // DiscoverByIntentRequest
43
+ * lat: Number("double"), // required
44
+ * lon: Number("double"), // required
45
+ * description: "STRING_VALUE", // required
46
+ * };
47
+ * const command = new DiscoverByIntentCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // DiscoverResponse
50
+ * // candidates: [ // CandidateList // required
51
+ * // { // CandidateDto
52
+ * // userId: "STRING_VALUE", // required
53
+ * // distanceKm: Number("double"), // required
54
+ * // score: Number("double"), // required
55
+ * // matchFinder: "ONEHOOK_INTELLIGENCE" || "MR_ONEHOOK", // required
56
+ * // matchFinderLabel: "STRING_VALUE", // required
57
+ * // suggestionBasis: "EXPLICIT_REQUEST" || "INFERRED_INCLINATION",
58
+ * // similarity: Number("double"),
59
+ * // },
60
+ * // ],
61
+ * // count: Number("int"), // required
62
+ * // algorithm: "STRING_VALUE", // required
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param DiscoverByIntentCommandInput - {@link DiscoverByIntentCommandInput}
68
+ * @returns {@link DiscoverByIntentCommandOutput}
69
+ * @see {@link DiscoverByIntentCommandInput} for command's `input` shape.
70
+ * @see {@link DiscoverByIntentCommandOutput} for command's `response` shape.
71
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
72
+ *
73
+ * @throws {@link BadRequestError} (client fault)
74
+ *
75
+ * @throws {@link ForbiddenError} (client fault)
76
+ *
77
+ * @throws {@link InternalServerError} (server fault)
78
+ *
79
+ * @throws {@link OneHookServiceException}
80
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DiscoverByIntentCommand extends DiscoverByIntentCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DiscoverByIntentRequest;
90
+ output: DiscoverResponse;
91
+ };
92
+ sdk: {
93
+ input: DiscoverByIntentCommandInput;
94
+ output: DiscoverByIntentCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -47,6 +47,10 @@ declare const DiscoverCommand_base: {
47
47
  * // userId: "STRING_VALUE", // required
48
48
  * // distanceKm: Number("double"), // required
49
49
  * // score: Number("double"), // required
50
+ * // matchFinder: "ONEHOOK_INTELLIGENCE" || "MR_ONEHOOK", // required
51
+ * // matchFinderLabel: "STRING_VALUE", // required
52
+ * // suggestionBasis: "EXPLICIT_REQUEST" || "INFERRED_INCLINATION",
53
+ * // similarity: Number("double"),
50
54
  * // },
51
55
  * // ],
52
56
  * // count: Number("int"), // required
@@ -0,0 +1,92 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { DiscoverRequest, DiscoverResponse } 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 DiscoverSuggestedCommand}.
14
+ */
15
+ export interface DiscoverSuggestedCommandInput extends DiscoverRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DiscoverSuggestedCommand}.
21
+ */
22
+ export interface DiscoverSuggestedCommandOutput extends DiscoverResponse, __MetadataBearer {
23
+ }
24
+ declare const DiscoverSuggestedCommand_base: {
25
+ new (input: DiscoverSuggestedCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DiscoverSuggestedCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Proactive Mr. OneHook suggestions: candidates closest in meaning to the people the caller has
31
+ * recently liked (an inferred inclination). New people only; anyone already swiped is excluded.
32
+ * Returns an empty list until the caller has liked enough embedded profiles to infer from. Every
33
+ * candidate is attributed `MR_ONEHOOK` / `INFERRED_INCLINATION`.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { OneHookClient, DiscoverSuggestedCommand } from "onehook-api-client"; // ES Modules import
38
+ * // const { OneHookClient, DiscoverSuggestedCommand } = require("onehook-api-client"); // CommonJS import
39
+ * const client = new OneHookClient(config);
40
+ * const input = { // DiscoverRequest
41
+ * lat: Number("double"), // required
42
+ * lon: Number("double"), // required
43
+ * };
44
+ * const command = new DiscoverSuggestedCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // DiscoverResponse
47
+ * // candidates: [ // CandidateList // required
48
+ * // { // CandidateDto
49
+ * // userId: "STRING_VALUE", // required
50
+ * // distanceKm: Number("double"), // required
51
+ * // score: Number("double"), // required
52
+ * // matchFinder: "ONEHOOK_INTELLIGENCE" || "MR_ONEHOOK", // required
53
+ * // matchFinderLabel: "STRING_VALUE", // required
54
+ * // suggestionBasis: "EXPLICIT_REQUEST" || "INFERRED_INCLINATION",
55
+ * // similarity: Number("double"),
56
+ * // },
57
+ * // ],
58
+ * // count: Number("int"), // required
59
+ * // algorithm: "STRING_VALUE", // required
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param DiscoverSuggestedCommandInput - {@link DiscoverSuggestedCommandInput}
65
+ * @returns {@link DiscoverSuggestedCommandOutput}
66
+ * @see {@link DiscoverSuggestedCommandInput} for command's `input` shape.
67
+ * @see {@link DiscoverSuggestedCommandOutput} for command's `response` shape.
68
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
69
+ *
70
+ * @throws {@link BadRequestError} (client fault)
71
+ *
72
+ * @throws {@link InternalServerError} (server fault)
73
+ *
74
+ * @throws {@link OneHookServiceException}
75
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DiscoverSuggestedCommand extends DiscoverSuggestedCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DiscoverRequest;
85
+ output: DiscoverResponse;
86
+ };
87
+ sdk: {
88
+ input: DiscoverSuggestedCommandInput;
89
+ output: DiscoverSuggestedCommandOutput;
90
+ };
91
+ };
92
+ }