onehook-api-client 1.0.26 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/OneHook.js +8 -0
  3. package/dist-cjs/commands/CreateAdminInviteCommand.js +21 -0
  4. package/dist-cjs/commands/GetAdminPhoneStatusCommand.js +21 -0
  5. package/dist-cjs/commands/SendAdminLinkOtpCommand.js +21 -0
  6. package/dist-cjs/commands/VerifyAdminLinkOtpCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +131 -3
  9. package/dist-cjs/telemetry/index.js +36 -2
  10. package/dist-es/OneHook.js +8 -0
  11. package/dist-es/commands/CreateAdminInviteCommand.js +17 -0
  12. package/dist-es/commands/GetAdminPhoneStatusCommand.js +17 -0
  13. package/dist-es/commands/SendAdminLinkOtpCommand.js +17 -0
  14. package/dist-es/commands/VerifyAdminLinkOtpCommand.js +17 -0
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/protocols/Aws_restJson1.js +120 -0
  17. package/dist-es/telemetry/index.js +36 -2
  18. package/dist-types/OneHook.d.ts +28 -0
  19. package/dist-types/OneHookClient.d.ts +6 -2
  20. package/dist-types/commands/CreateAdminInviteCommand.d.ts +87 -0
  21. package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +86 -0
  22. package/dist-types/commands/SendAdminLinkOtpCommand.d.ts +83 -0
  23. package/dist-types/commands/VerifyAdminLinkOtpCommand.d.ts +84 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/models_0.d.ts +69 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  27. package/dist-types/telemetry/index.d.ts +21 -2
  28. package/package.json +1 -1
  29. package/telemetry/TelemetryCatalog.kt +21 -4
  30. package/telemetry/TelemetryCatalog.swift +36 -4
  31. package/telemetry/telemetry-catalog.json +250 -3
package/README.md CHANGED
@@ -290,6 +290,13 @@ AuthSocial
290
290
  </details>
291
291
  <details>
292
292
  <summary>
293
+ CreateAdminInvite
294
+ </summary>
295
+
296
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/CreateAdminInviteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/CreateAdminInviteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/CreateAdminInviteCommandOutput/)
297
+ </details>
298
+ <details>
299
+ <summary>
293
300
  GenerateInvite
294
301
  </summary>
295
302
 
@@ -297,6 +304,13 @@ GenerateInvite
297
304
  </details>
298
305
  <details>
299
306
  <summary>
307
+ GetAdminPhoneStatus
308
+ </summary>
309
+
310
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetAdminPhoneStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAdminPhoneStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAdminPhoneStatusCommandOutput/)
311
+ </details>
312
+ <details>
313
+ <summary>
300
314
  GetCredentialReadiness
301
315
  </summary>
302
316
 
@@ -367,6 +381,13 @@ RequestPhoneUpdateOtp
367
381
  </details>
368
382
  <details>
369
383
  <summary>
384
+ SendAdminLinkOtp
385
+ </summary>
386
+
387
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SendAdminLinkOtpCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SendAdminLinkOtpCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SendAdminLinkOtpCommandOutput/)
388
+ </details>
389
+ <details>
390
+ <summary>
370
391
  UnlinkSocial
371
392
  </summary>
372
393
 
@@ -402,6 +423,13 @@ ValidateInvite
402
423
  </details>
403
424
  <details>
404
425
  <summary>
426
+ VerifyAdminLinkOtp
427
+ </summary>
428
+
429
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/VerifyAdminLinkOtpCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/VerifyAdminLinkOtpCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/VerifyAdminLinkOtpCommandOutput/)
430
+ </details>
431
+ <details>
432
+ <summary>
405
433
  Discover
406
434
  </summary>
407
435
 
@@ -5,6 +5,7 @@ const OneHookClient_1 = require("./OneHookClient");
5
5
  const AuthSocialCommand_1 = require("./commands/AuthSocialCommand");
6
6
  const CompleteLivenessSessionCommand_1 = require("./commands/CompleteLivenessSessionCommand");
7
7
  const CompleteOnboardingCommand_1 = require("./commands/CompleteOnboardingCommand");
8
+ const CreateAdminInviteCommand_1 = require("./commands/CreateAdminInviteCommand");
8
9
  const CreateLivenessSessionCommand_1 = require("./commands/CreateLivenessSessionCommand");
9
10
  const CreateMediaDownloadUrlCommand_1 = require("./commands/CreateMediaDownloadUrlCommand");
10
11
  const CreateMediaUploadUrlCommand_1 = require("./commands/CreateMediaUploadUrlCommand");
@@ -15,6 +16,7 @@ const DiscoverCommand_1 = require("./commands/DiscoverCommand");
15
16
  const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
16
17
  const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
17
18
  const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
19
+ const GetAdminPhoneStatusCommand_1 = require("./commands/GetAdminPhoneStatusCommand");
18
20
  const GetAiContextMatchCommand_1 = require("./commands/GetAiContextMatchCommand");
19
21
  const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
20
22
  const GetCredentialReadinessCommand_1 = require("./commands/GetCredentialReadinessCommand");
@@ -44,6 +46,7 @@ const RequestEmailOtpCommand_1 = require("./commands/RequestEmailOtpCommand");
44
46
  const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
45
47
  const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
46
48
  const RevokeDeviceCommand_1 = require("./commands/RevokeDeviceCommand");
49
+ const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
47
50
  const SwipeByUsernameCommand_1 = require("./commands/SwipeByUsernameCommand");
48
51
  const SwipeCommand_1 = require("./commands/SwipeCommand");
49
52
  const UnhookCommand_1 = require("./commands/UnhookCommand");
@@ -56,6 +59,7 @@ const UpdateProfileCommand_1 = require("./commands/UpdateProfileCommand");
56
59
  const UpdateUsernameCommand_1 = require("./commands/UpdateUsernameCommand");
57
60
  const UpgradeUserCommand_1 = require("./commands/UpgradeUserCommand");
58
61
  const ValidateInviteCommand_1 = require("./commands/ValidateInviteCommand");
62
+ const VerifyAdminLinkOtpCommand_1 = require("./commands/VerifyAdminLinkOtpCommand");
59
63
  const smithy_client_1 = require("@smithy/smithy-client");
60
64
  const commands = {
61
65
  GetAiContextMatchCommand: GetAiContextMatchCommand_1.GetAiContextMatchCommand,
@@ -71,7 +75,9 @@ const commands = {
71
75
  RevokeDeviceCommand: RevokeDeviceCommand_1.RevokeDeviceCommand,
72
76
  UpdateChatSettingsCommand: UpdateChatSettingsCommand_1.UpdateChatSettingsCommand,
73
77
  AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
78
+ CreateAdminInviteCommand: CreateAdminInviteCommand_1.CreateAdminInviteCommand,
74
79
  GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
80
+ GetAdminPhoneStatusCommand: GetAdminPhoneStatusCommand_1.GetAdminPhoneStatusCommand,
75
81
  GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
76
82
  GetUserCommand: GetUserCommand_1.GetUserCommand,
77
83
  GetUserByEmailCommand: GetUserByEmailCommand_1.GetUserByEmailCommand,
@@ -82,11 +88,13 @@ const commands = {
82
88
  RequestEmailOtpCommand: RequestEmailOtpCommand_1.RequestEmailOtpCommand,
83
89
  RequestPhoneOtpCommand: RequestPhoneOtpCommand_1.RequestPhoneOtpCommand,
84
90
  RequestPhoneUpdateOtpCommand: RequestPhoneUpdateOtpCommand_1.RequestPhoneUpdateOtpCommand,
91
+ SendAdminLinkOtpCommand: SendAdminLinkOtpCommand_1.SendAdminLinkOtpCommand,
85
92
  UnlinkSocialCommand: UnlinkSocialCommand_1.UnlinkSocialCommand,
86
93
  UpdateEntitlementsCommand: UpdateEntitlementsCommand_1.UpdateEntitlementsCommand,
87
94
  UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
88
95
  UpdateUsernameCommand: UpdateUsernameCommand_1.UpdateUsernameCommand,
89
96
  ValidateInviteCommand: ValidateInviteCommand_1.ValidateInviteCommand,
97
+ VerifyAdminLinkOtpCommand: VerifyAdminLinkOtpCommand_1.VerifyAdminLinkOtpCommand,
90
98
  DiscoverCommand: DiscoverCommand_1.DiscoverCommand,
91
99
  GetNotificationPreferencesCommand: GetNotificationPreferencesCommand_1.GetNotificationPreferencesCommand,
92
100
  GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateAdminInviteCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class CreateAdminInviteCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "CreateAdminInvite", {})
15
+ .n("OneHookClient", "CreateAdminInviteCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_CreateAdminInviteCommand)
18
+ .de(Aws_restJson1_1.de_CreateAdminInviteCommand)
19
+ .build() {
20
+ }
21
+ exports.CreateAdminInviteCommand = CreateAdminInviteCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAdminPhoneStatusCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetAdminPhoneStatusCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetAdminPhoneStatus", {})
15
+ .n("OneHookClient", "GetAdminPhoneStatusCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAdminPhoneStatusCommand)
18
+ .de(Aws_restJson1_1.de_GetAdminPhoneStatusCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAdminPhoneStatusCommand = GetAdminPhoneStatusCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendAdminLinkOtpCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class SendAdminLinkOtpCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "SendAdminLinkOtp", {})
15
+ .n("OneHookClient", "SendAdminLinkOtpCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SendAdminLinkOtpCommand)
18
+ .de(Aws_restJson1_1.de_SendAdminLinkOtpCommand)
19
+ .build() {
20
+ }
21
+ exports.SendAdminLinkOtpCommand = SendAdminLinkOtpCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerifyAdminLinkOtpCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class VerifyAdminLinkOtpCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "VerifyAdminLinkOtp", {})
15
+ .n("OneHookClient", "VerifyAdminLinkOtpCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_VerifyAdminLinkOtpCommand)
18
+ .de(Aws_restJson1_1.de_VerifyAdminLinkOtpCommand)
19
+ .build() {
20
+ }
21
+ exports.VerifyAdminLinkOtpCommand = VerifyAdminLinkOtpCommand;
@@ -14,7 +14,9 @@ tslib_1.__exportStar(require("./RegisterPushTokenCommand"), exports);
14
14
  tslib_1.__exportStar(require("./RevokeDeviceCommand"), exports);
15
15
  tslib_1.__exportStar(require("./UpdateChatSettingsCommand"), exports);
16
16
  tslib_1.__exportStar(require("./AuthSocialCommand"), exports);
17
+ tslib_1.__exportStar(require("./CreateAdminInviteCommand"), exports);
17
18
  tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetAdminPhoneStatusCommand"), exports);
18
20
  tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
19
21
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
20
22
  tslib_1.__exportStar(require("./GetUserByEmailCommand"), exports);
@@ -25,11 +27,13 @@ tslib_1.__exportStar(require("./RegisterPhoneCommand"), exports);
25
27
  tslib_1.__exportStar(require("./RequestEmailOtpCommand"), exports);
26
28
  tslib_1.__exportStar(require("./RequestPhoneOtpCommand"), exports);
27
29
  tslib_1.__exportStar(require("./RequestPhoneUpdateOtpCommand"), exports);
30
+ tslib_1.__exportStar(require("./SendAdminLinkOtpCommand"), exports);
28
31
  tslib_1.__exportStar(require("./UnlinkSocialCommand"), exports);
29
32
  tslib_1.__exportStar(require("./UpdateEntitlementsCommand"), exports);
30
33
  tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
31
34
  tslib_1.__exportStar(require("./UpdateUsernameCommand"), exports);
32
35
  tslib_1.__exportStar(require("./ValidateInviteCommand"), exports);
36
+ tslib_1.__exportStar(require("./VerifyAdminLinkOtpCommand"), exports);
33
37
  tslib_1.__exportStar(require("./DiscoverCommand"), exports);
34
38
  tslib_1.__exportStar(require("./GetNotificationPreferencesCommand"), exports);
35
39
  tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GenerateInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
- exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GenerateInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = void 0;
5
- exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = void 0;
3
+ exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
+ exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = void 0;
5
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = void 0;
6
6
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -212,6 +212,24 @@ const se_AuthSocialCommand = async (input, context) => {
212
212
  return b.build();
213
213
  };
214
214
  exports.se_AuthSocialCommand = se_AuthSocialCommand;
215
+ const se_CreateAdminInviteCommand = async (input, context) => {
216
+ const b = (0, core_2.requestBuilder)(input, context);
217
+ const headers = {
218
+ 'content-type': 'application/json',
219
+ };
220
+ b.bp("/identity/admin/invites");
221
+ let body;
222
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
223
+ 'phoneNumber': [],
224
+ 'referrerId': [],
225
+ 'ttlDays': [],
226
+ }));
227
+ b.m("POST")
228
+ .h(headers)
229
+ .b(body);
230
+ return b.build();
231
+ };
232
+ exports.se_CreateAdminInviteCommand = se_CreateAdminInviteCommand;
215
233
  const se_GenerateInviteCommand = async (input, context) => {
216
234
  const b = (0, core_2.requestBuilder)(input, context);
217
235
  const headers = {
@@ -229,6 +247,22 @@ const se_GenerateInviteCommand = async (input, context) => {
229
247
  return b.build();
230
248
  };
231
249
  exports.se_GenerateInviteCommand = se_GenerateInviteCommand;
250
+ const se_GetAdminPhoneStatusCommand = async (input, context) => {
251
+ const b = (0, core_2.requestBuilder)(input, context);
252
+ const headers = {
253
+ 'content-type': 'application/json',
254
+ };
255
+ b.bp("/identity/admin/phone-status");
256
+ let body;
257
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
258
+ 'phoneNumber': [],
259
+ }));
260
+ b.m("POST")
261
+ .h(headers)
262
+ .b(body);
263
+ return b.build();
264
+ };
265
+ exports.se_GetAdminPhoneStatusCommand = se_GetAdminPhoneStatusCommand;
232
266
  const se_GetCredentialReadinessCommand = async (input, context) => {
233
267
  const b = (0, core_2.requestBuilder)(input, context);
234
268
  const headers = {};
@@ -380,6 +414,18 @@ const se_RequestPhoneUpdateOtpCommand = async (input, context) => {
380
414
  return b.build();
381
415
  };
382
416
  exports.se_RequestPhoneUpdateOtpCommand = se_RequestPhoneUpdateOtpCommand;
417
+ const se_SendAdminLinkOtpCommand = async (input, context) => {
418
+ const b = (0, core_2.requestBuilder)(input, context);
419
+ const headers = {};
420
+ b.bp("/identity/users/{userId}/admin-link-otp");
421
+ b.p('userId', () => input.userId, '{userId}', false);
422
+ let body;
423
+ b.m("POST")
424
+ .h(headers)
425
+ .b(body);
426
+ return b.build();
427
+ };
428
+ exports.se_SendAdminLinkOtpCommand = se_SendAdminLinkOtpCommand;
383
429
  const se_UnlinkSocialCommand = async (input, context) => {
384
430
  const b = (0, core_2.requestBuilder)(input, context);
385
431
  const headers = {};
@@ -457,6 +503,23 @@ const se_ValidateInviteCommand = async (input, context) => {
457
503
  return b.build();
458
504
  };
459
505
  exports.se_ValidateInviteCommand = se_ValidateInviteCommand;
506
+ const se_VerifyAdminLinkOtpCommand = async (input, context) => {
507
+ const b = (0, core_2.requestBuilder)(input, context);
508
+ const headers = {
509
+ 'content-type': 'application/json',
510
+ };
511
+ b.bp("/identity/users/{userId}/admin-link-otp/verify");
512
+ b.p('userId', () => input.userId, '{userId}', false);
513
+ let body;
514
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
515
+ 'code': [],
516
+ }));
517
+ b.m("POST")
518
+ .h(headers)
519
+ .b(body);
520
+ return b.build();
521
+ };
522
+ exports.se_VerifyAdminLinkOtpCommand = se_VerifyAdminLinkOtpCommand;
460
523
  const se_DiscoverCommand = async (input, context) => {
461
524
  const b = (0, core_2.requestBuilder)(input, context);
462
525
  const headers = {};
@@ -1079,6 +1142,23 @@ const de_AuthSocialCommand = async (output, context) => {
1079
1142
  return contents;
1080
1143
  };
1081
1144
  exports.de_AuthSocialCommand = de_AuthSocialCommand;
1145
+ const de_CreateAdminInviteCommand = async (output, context) => {
1146
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1147
+ return de_CommandError(output, context);
1148
+ }
1149
+ const contents = (0, smithy_client_1.map)({
1150
+ $metadata: deserializeMetadata(output),
1151
+ });
1152
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1153
+ const doc = (0, smithy_client_1.take)(data, {
1154
+ 'expiresAt': smithy_client_1.expectLong,
1155
+ 'inviteCode': smithy_client_1.expectString,
1156
+ 'maxUses': smithy_client_1.expectInt32,
1157
+ });
1158
+ Object.assign(contents, doc);
1159
+ return contents;
1160
+ };
1161
+ exports.de_CreateAdminInviteCommand = de_CreateAdminInviteCommand;
1082
1162
  const de_GenerateInviteCommand = async (output, context) => {
1083
1163
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1084
1164
  return de_CommandError(output, context);
@@ -1096,6 +1176,21 @@ const de_GenerateInviteCommand = async (output, context) => {
1096
1176
  return contents;
1097
1177
  };
1098
1178
  exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
1179
+ const de_GetAdminPhoneStatusCommand = async (output, context) => {
1180
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1181
+ return de_CommandError(output, context);
1182
+ }
1183
+ const contents = (0, smithy_client_1.map)({
1184
+ $metadata: deserializeMetadata(output),
1185
+ });
1186
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1187
+ const doc = (0, smithy_client_1.take)(data, {
1188
+ 'registered': smithy_client_1.expectBoolean,
1189
+ });
1190
+ Object.assign(contents, doc);
1191
+ return contents;
1192
+ };
1193
+ exports.de_GetAdminPhoneStatusCommand = de_GetAdminPhoneStatusCommand;
1099
1194
  const de_GetCredentialReadinessCommand = async (output, context) => {
1100
1195
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1101
1196
  return de_CommandError(output, context);
@@ -1266,6 +1361,22 @@ const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
1266
1361
  return contents;
1267
1362
  };
1268
1363
  exports.de_RequestPhoneUpdateOtpCommand = de_RequestPhoneUpdateOtpCommand;
1364
+ const de_SendAdminLinkOtpCommand = async (output, context) => {
1365
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1366
+ return de_CommandError(output, context);
1367
+ }
1368
+ const contents = (0, smithy_client_1.map)({
1369
+ $metadata: deserializeMetadata(output),
1370
+ });
1371
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1372
+ const doc = (0, smithy_client_1.take)(data, {
1373
+ 'maskedPhone': smithy_client_1.expectString,
1374
+ 'status': smithy_client_1.expectString,
1375
+ });
1376
+ Object.assign(contents, doc);
1377
+ return contents;
1378
+ };
1379
+ exports.de_SendAdminLinkOtpCommand = de_SendAdminLinkOtpCommand;
1269
1380
  const de_UnlinkSocialCommand = async (output, context) => {
1270
1381
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1271
1382
  return de_CommandError(output, context);
@@ -1347,6 +1458,23 @@ const de_ValidateInviteCommand = async (output, context) => {
1347
1458
  return contents;
1348
1459
  };
1349
1460
  exports.de_ValidateInviteCommand = de_ValidateInviteCommand;
1461
+ const de_VerifyAdminLinkOtpCommand = async (output, context) => {
1462
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1463
+ return de_CommandError(output, context);
1464
+ }
1465
+ const contents = (0, smithy_client_1.map)({
1466
+ $metadata: deserializeMetadata(output),
1467
+ });
1468
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1469
+ const doc = (0, smithy_client_1.take)(data, {
1470
+ 'userId': smithy_client_1.expectString,
1471
+ 'username': smithy_client_1.expectString,
1472
+ 'verified': smithy_client_1.expectBoolean,
1473
+ });
1474
+ Object.assign(contents, doc);
1475
+ return contents;
1476
+ };
1477
+ exports.de_VerifyAdminLinkOtpCommand = de_VerifyAdminLinkOtpCommand;
1350
1478
  const de_DiscoverCommand = async (output, context) => {
1351
1479
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1352
1480
  return de_CommandError(output, context);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
4
- exports.TELEMETRY_CATALOG_VERSION = "1.3.0";
5
- exports.TELEMETRY_CATALOG_HASH = "52029d112aadcfd5";
4
+ exports.TELEMETRY_CATALOG_VERSION = "1.4.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
6
6
  exports.SignalType = {
7
7
  SCREEN_VIEW: "screen_view",
8
8
  UI_INTERACTION: "ui_interaction",
@@ -33,6 +33,8 @@ exports.Screen = {
33
33
  LANDING: "LANDING",
34
34
  LOGIN: "LOGIN",
35
35
  REDEEM_INVITE: "REDEEM_INVITE",
36
+ ADMISSIONS: "ADMISSIONS",
37
+ ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
36
38
  ONBOARDING: "ONBOARDING",
37
39
  DISCOVER: "DISCOVER",
38
40
  LIKE_COMPOSER: "LIKE_COMPOSER",
@@ -57,6 +59,8 @@ exports.ViewableScreen = {
57
59
  LANDING: "LANDING",
58
60
  LOGIN: "LOGIN",
59
61
  REDEEM_INVITE: "REDEEM_INVITE",
62
+ ADMISSIONS: "ADMISSIONS",
63
+ ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
60
64
  ONBOARDING: "ONBOARDING",
61
65
  DISCOVER: "DISCOVER",
62
66
  LIKE_COMPOSER: "LIKE_COMPOSER",
@@ -191,6 +195,21 @@ exports.UiElement = {
191
195
  REDEEM_INVITE_LOGIN: "redeem_invite.login",
192
196
  REDEEM_INVITE_CLOSE: "redeem_invite.close",
193
197
  REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code",
198
+ REDEEM_INVITE_GET_INVITE_VIDEO: "redeem_invite.get_invite_video",
199
+ ADMISSIONS_SUBMIT: "admissions.submit",
200
+ ADMISSIONS_RESEND_CODE: "admissions.resend_code",
201
+ ADMISSIONS_CONSENT_TOGGLE: "admissions.consent_toggle",
202
+ ADMISSIONS_PRIVACY_POLICY: "admissions.privacy_policy",
203
+ ADMISSIONS_RECORD_START: "admissions.record_start",
204
+ ADMISSIONS_RECORD_STOP: "admissions.record_stop",
205
+ ADMISSIONS_RETAKE: "admissions.retake",
206
+ ADMISSIONS_PREVIEW_PLAY: "admissions.preview_play",
207
+ ADMISSIONS_UPLOAD_RETRY: "admissions.upload_retry",
208
+ ADMISSIONS_CLOSE: "admissions.close",
209
+ ADMISSIONS_OPEN_SETTINGS: "admissions.open_settings",
210
+ ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
211
+ ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
212
+ ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
194
213
  ONBOARDING_NEXT: "onboarding.next",
195
214
  ONBOARDING_BACK: "onboarding.back",
196
215
  ONBOARDING_FINISH: "onboarding.finish",
@@ -416,6 +435,21 @@ exports.UI_ELEMENTS = {
416
435
  "redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
417
436
  "redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
418
437
  "redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
438
+ "redeem_invite.get_invite_video": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
439
+ "admissions.submit": { screen: "ADMISSIONS", kind: "button", actions: ["submit"], values: ["send_code", "verify_code", "submit_application"], platforms: ["ios", "android"] },
440
+ "admissions.resend_code": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
441
+ "admissions.consent_toggle": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["checked", "unchecked"], platforms: ["ios", "android"] },
442
+ "admissions.privacy_policy": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
443
+ "admissions.record_start": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
444
+ "admissions.record_stop": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
445
+ "admissions.retake": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
446
+ "admissions.preview_play": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["ios", "android"] },
447
+ "admissions.upload_retry": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
448
+ "admissions.close": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
449
+ "admissions.open_settings": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
450
+ "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
451
+ "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
452
+ "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
419
453
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
420
454
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
421
455
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -2,6 +2,7 @@ import { OneHookClient, } from "./OneHookClient";
2
2
  import { AuthSocialCommand, } from "./commands/AuthSocialCommand";
3
3
  import { CompleteLivenessSessionCommand, } from "./commands/CompleteLivenessSessionCommand";
4
4
  import { CompleteOnboardingCommand, } from "./commands/CompleteOnboardingCommand";
5
+ import { CreateAdminInviteCommand, } from "./commands/CreateAdminInviteCommand";
5
6
  import { CreateLivenessSessionCommand, } from "./commands/CreateLivenessSessionCommand";
6
7
  import { CreateMediaDownloadUrlCommand, } from "./commands/CreateMediaDownloadUrlCommand";
7
8
  import { CreateMediaUploadUrlCommand, } from "./commands/CreateMediaUploadUrlCommand";
@@ -12,6 +13,7 @@ import { DiscoverCommand, } from "./commands/DiscoverCommand";
12
13
  import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
13
14
  import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
14
15
  import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
16
+ import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
15
17
  import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
16
18
  import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
17
19
  import { GetCredentialReadinessCommand, } from "./commands/GetCredentialReadinessCommand";
@@ -41,6 +43,7 @@ import { RequestEmailOtpCommand, } from "./commands/RequestEmailOtpCommand";
41
43
  import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
42
44
  import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
43
45
  import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
46
+ import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
44
47
  import { SwipeByUsernameCommand, } from "./commands/SwipeByUsernameCommand";
45
48
  import { SwipeCommand, } from "./commands/SwipeCommand";
46
49
  import { UnhookCommand, } from "./commands/UnhookCommand";
@@ -53,6 +56,7 @@ import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
53
56
  import { UpdateUsernameCommand, } from "./commands/UpdateUsernameCommand";
54
57
  import { UpgradeUserCommand, } from "./commands/UpgradeUserCommand";
55
58
  import { ValidateInviteCommand, } from "./commands/ValidateInviteCommand";
59
+ import { VerifyAdminLinkOtpCommand, } from "./commands/VerifyAdminLinkOtpCommand";
56
60
  import { createAggregatedClient } from "@smithy/smithy-client";
57
61
  const commands = {
58
62
  GetAiContextMatchCommand,
@@ -68,7 +72,9 @@ const commands = {
68
72
  RevokeDeviceCommand,
69
73
  UpdateChatSettingsCommand,
70
74
  AuthSocialCommand,
75
+ CreateAdminInviteCommand,
71
76
  GenerateInviteCommand,
77
+ GetAdminPhoneStatusCommand,
72
78
  GetCredentialReadinessCommand,
73
79
  GetUserCommand,
74
80
  GetUserByEmailCommand,
@@ -79,11 +85,13 @@ const commands = {
79
85
  RequestEmailOtpCommand,
80
86
  RequestPhoneOtpCommand,
81
87
  RequestPhoneUpdateOtpCommand,
88
+ SendAdminLinkOtpCommand,
82
89
  UnlinkSocialCommand,
83
90
  UpdateEntitlementsCommand,
84
91
  UpdatePhoneNumberCommand,
85
92
  UpdateUsernameCommand,
86
93
  ValidateInviteCommand,
94
+ VerifyAdminLinkOtpCommand,
87
95
  DiscoverCommand,
88
96
  GetNotificationPreferencesCommand,
89
97
  GetPreferencesCommand,
@@ -0,0 +1,17 @@
1
+ import { de_CreateAdminInviteCommand, se_CreateAdminInviteCommand, } 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 CreateAdminInviteCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "CreateAdminInvite", {})
12
+ .n("OneHookClient", "CreateAdminInviteCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_CreateAdminInviteCommand)
15
+ .de(de_CreateAdminInviteCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_GetAdminPhoneStatusCommand, se_GetAdminPhoneStatusCommand, } 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 GetAdminPhoneStatusCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "GetAdminPhoneStatus", {})
12
+ .n("OneHookClient", "GetAdminPhoneStatusCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetAdminPhoneStatusCommand)
15
+ .de(de_GetAdminPhoneStatusCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_SendAdminLinkOtpCommand, se_SendAdminLinkOtpCommand, } 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 SendAdminLinkOtpCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "SendAdminLinkOtp", {})
12
+ .n("OneHookClient", "SendAdminLinkOtpCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_SendAdminLinkOtpCommand)
15
+ .de(de_SendAdminLinkOtpCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_VerifyAdminLinkOtpCommand, se_VerifyAdminLinkOtpCommand, } 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 VerifyAdminLinkOtpCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "VerifyAdminLinkOtp", {})
12
+ .n("OneHookClient", "VerifyAdminLinkOtpCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_VerifyAdminLinkOtpCommand)
15
+ .de(de_VerifyAdminLinkOtpCommand)
16
+ .build() {
17
+ }