onehook-api-client 1.0.31 → 1.0.33
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.
- package/README.md +49 -0
- package/dist-cjs/OneHook.js +14 -0
- package/dist-cjs/commands/GetBirthDateStatusCommand.js +21 -0
- package/dist-cjs/commands/GetPlaceCommand.js +21 -0
- package/dist-cjs/commands/GetPreservationHoldCommand.js +21 -0
- package/dist-cjs/commands/RemoveSuggestionCommand.js +21 -0
- package/dist-cjs/commands/RevokeUserAccessCommand.js +21 -0
- package/dist-cjs/commands/SearchPlacesCommand.js +21 -0
- package/dist-cjs/commands/SetPreservationHoldCommand.js +21 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +234 -4
- package/dist-cjs/telemetry/index.js +5 -3
- package/dist-es/OneHook.js +14 -0
- package/dist-es/commands/GetBirthDateStatusCommand.js +17 -0
- package/dist-es/commands/GetPlaceCommand.js +17 -0
- package/dist-es/commands/GetPreservationHoldCommand.js +17 -0
- package/dist-es/commands/RemoveSuggestionCommand.js +17 -0
- package/dist-es/commands/RevokeUserAccessCommand.js +17 -0
- package/dist-es/commands/SearchPlacesCommand.js +17 -0
- package/dist-es/commands/SetPreservationHoldCommand.js +17 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +217 -1
- package/dist-es/telemetry/index.js +5 -3
- package/dist-types/OneHook.d.ts +50 -0
- package/dist-types/OneHookClient.d.ts +9 -2
- package/dist-types/commands/CorrectBirthDateCommand.d.ts +1 -1
- package/dist-types/commands/GetBirthDateStatusCommand.d.ts +89 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +84 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +5 -0
- package/dist-types/commands/GetPreservationHoldCommand.d.ts +87 -0
- package/dist-types/commands/GetProfileCommand.d.ts +1 -0
- package/dist-types/commands/RecordSuggestionCommand.d.ts +6 -5
- package/dist-types/commands/RemoveSuggestionCommand.d.ts +72 -0
- package/dist-types/commands/RevokeUserAccessCommand.d.ts +94 -0
- package/dist-types/commands/SearchPlacesCommand.d.ts +83 -0
- package/dist-types/commands/SetPreservationHoldCommand.d.ts +98 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +237 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/telemetry/index.d.ts +3 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +6 -5
- package/telemetry/TelemetryCatalog.swift +7 -5
- package/telemetry/telemetry-catalog.json +20 -4
|
@@ -16,6 +16,7 @@ export * from "./GenerateInviteCommand";
|
|
|
16
16
|
export * from "./GetAccountStateCommand";
|
|
17
17
|
export * from "./GetAdminPhoneStatusCommand";
|
|
18
18
|
export * from "./GetCredentialReadinessCommand";
|
|
19
|
+
export * from "./GetPreservationHoldCommand";
|
|
19
20
|
export * from "./GetUserCommand";
|
|
20
21
|
export * from "./GetUserByEmailCommand";
|
|
21
22
|
export * from "./GetUserIdByUsernameCommand";
|
|
@@ -25,8 +26,10 @@ export * from "./RegisterPhoneCommand";
|
|
|
25
26
|
export * from "./RequestEmailOtpCommand";
|
|
26
27
|
export * from "./RequestPhoneOtpCommand";
|
|
27
28
|
export * from "./RequestPhoneUpdateOtpCommand";
|
|
29
|
+
export * from "./RevokeUserAccessCommand";
|
|
28
30
|
export * from "./SendAdminLinkOtpCommand";
|
|
29
31
|
export * from "./SetAccountStateCommand";
|
|
32
|
+
export * from "./SetPreservationHoldCommand";
|
|
30
33
|
export * from "./UnlinkSocialCommand";
|
|
31
34
|
export * from "./UpdateEntitlementsCommand";
|
|
32
35
|
export * from "./UpdatePhoneNumberCommand";
|
|
@@ -41,6 +44,7 @@ export * from "./GetRosesCommand";
|
|
|
41
44
|
export * from "./IndexLocationCommand";
|
|
42
45
|
export * from "./RecordSuggestionCommand";
|
|
43
46
|
export * from "./RemoveLocationCommand";
|
|
47
|
+
export * from "./RemoveSuggestionCommand";
|
|
44
48
|
export * from "./SwipeCommand";
|
|
45
49
|
export * from "./SwipeByUsernameCommand";
|
|
46
50
|
export * from "./UpdatePreferencesCommand";
|
|
@@ -50,9 +54,12 @@ export * from "./CreateLivenessSessionCommand";
|
|
|
50
54
|
export * from "./DeleteProfileCommand";
|
|
51
55
|
export * from "./GenerateDownloadUrlCommand";
|
|
52
56
|
export * from "./GenerateUploadUrlCommand";
|
|
57
|
+
export * from "./GetBirthDateStatusCommand";
|
|
53
58
|
export * from "./GetLivenessStatusCommand";
|
|
54
59
|
export * from "./GetMyProfileCommand";
|
|
60
|
+
export * from "./GetPlaceCommand";
|
|
55
61
|
export * from "./GetProfileCommand";
|
|
62
|
+
export * from "./SearchPlacesCommand";
|
|
56
63
|
export * from "./UpdateProfileCommand";
|
|
57
64
|
export * from "./CompleteOnboardingCommand";
|
|
58
65
|
export * from "./GetMatchCommand";
|
|
@@ -264,6 +264,17 @@ export const se_GetCredentialReadinessCommand = async (input, context) => {
|
|
|
264
264
|
.b(body);
|
|
265
265
|
return b.build();
|
|
266
266
|
};
|
|
267
|
+
export const se_GetPreservationHoldCommand = async (input, context) => {
|
|
268
|
+
const b = rb(input, context);
|
|
269
|
+
const headers = {};
|
|
270
|
+
b.bp("/identity/admin/users/{userId}/preservation-hold");
|
|
271
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
272
|
+
let body;
|
|
273
|
+
b.m("GET")
|
|
274
|
+
.h(headers)
|
|
275
|
+
.b(body);
|
|
276
|
+
return b.build();
|
|
277
|
+
};
|
|
267
278
|
export const se_GetUserCommand = async (input, context) => {
|
|
268
279
|
const b = rb(input, context);
|
|
269
280
|
const headers = {};
|
|
@@ -394,6 +405,17 @@ export const se_RequestPhoneUpdateOtpCommand = async (input, context) => {
|
|
|
394
405
|
.b(body);
|
|
395
406
|
return b.build();
|
|
396
407
|
};
|
|
408
|
+
export const se_RevokeUserAccessCommand = async (input, context) => {
|
|
409
|
+
const b = rb(input, context);
|
|
410
|
+
const headers = {};
|
|
411
|
+
b.bp("/identity/admin/users/{userId}/revoke-access");
|
|
412
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
413
|
+
let body;
|
|
414
|
+
b.m("POST")
|
|
415
|
+
.h(headers)
|
|
416
|
+
.b(body);
|
|
417
|
+
return b.build();
|
|
418
|
+
};
|
|
397
419
|
export const se_SendAdminLinkOtpCommand = async (input, context) => {
|
|
398
420
|
const b = rb(input, context);
|
|
399
421
|
const headers = {};
|
|
@@ -425,6 +447,27 @@ export const se_SetAccountStateCommand = async (input, context) => {
|
|
|
425
447
|
.b(body);
|
|
426
448
|
return b.build();
|
|
427
449
|
};
|
|
450
|
+
export const se_SetPreservationHoldCommand = async (input, context) => {
|
|
451
|
+
const b = rb(input, context);
|
|
452
|
+
const headers = {
|
|
453
|
+
'content-type': 'application/json',
|
|
454
|
+
};
|
|
455
|
+
b.bp("/identity/admin/users/{userId}/preservation-hold");
|
|
456
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
457
|
+
let body;
|
|
458
|
+
body = JSON.stringify(take(input, {
|
|
459
|
+
'active': [],
|
|
460
|
+
'actor': [],
|
|
461
|
+
'caseRef': [],
|
|
462
|
+
'expectedVersion': [],
|
|
463
|
+
'reasonCode': [],
|
|
464
|
+
'until': [],
|
|
465
|
+
}));
|
|
466
|
+
b.m("PUT")
|
|
467
|
+
.h(headers)
|
|
468
|
+
.b(body);
|
|
469
|
+
return b.build();
|
|
470
|
+
};
|
|
428
471
|
export const se_UnlinkSocialCommand = async (input, context) => {
|
|
429
472
|
const b = rb(input, context);
|
|
430
473
|
const headers = {};
|
|
@@ -619,6 +662,16 @@ export const se_RemoveLocationCommand = async (input, context) => {
|
|
|
619
662
|
.b(body);
|
|
620
663
|
return b.build();
|
|
621
664
|
};
|
|
665
|
+
export const se_RemoveSuggestionCommand = async (input, context) => {
|
|
666
|
+
const b = rb(input, context);
|
|
667
|
+
const headers = {};
|
|
668
|
+
b.bp("/matching/suggestions");
|
|
669
|
+
let body;
|
|
670
|
+
b.m("DELETE")
|
|
671
|
+
.h(headers)
|
|
672
|
+
.b(body);
|
|
673
|
+
return b.build();
|
|
674
|
+
};
|
|
622
675
|
export const se_SwipeCommand = async (input, context) => {
|
|
623
676
|
const b = rb(input, context);
|
|
624
677
|
const headers = {
|
|
@@ -786,6 +839,17 @@ export const se_GenerateUploadUrlCommand = async (input, context) => {
|
|
|
786
839
|
.b(body);
|
|
787
840
|
return b.build();
|
|
788
841
|
};
|
|
842
|
+
export const se_GetBirthDateStatusCommand = async (input, context) => {
|
|
843
|
+
const b = rb(input, context);
|
|
844
|
+
const headers = {};
|
|
845
|
+
b.bp("/profile-admin/{userId}/birth-date");
|
|
846
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
847
|
+
let body;
|
|
848
|
+
b.m("GET")
|
|
849
|
+
.h(headers)
|
|
850
|
+
.b(body);
|
|
851
|
+
return b.build();
|
|
852
|
+
};
|
|
789
853
|
export const se_GetLivenessStatusCommand = async (input, context) => {
|
|
790
854
|
const b = rb(input, context);
|
|
791
855
|
const headers = {};
|
|
@@ -806,6 +870,21 @@ export const se_GetMyProfileCommand = async (input, context) => {
|
|
|
806
870
|
.b(body);
|
|
807
871
|
return b.build();
|
|
808
872
|
};
|
|
873
|
+
export const se_GetPlaceCommand = async (input, context) => {
|
|
874
|
+
const b = rb(input, context);
|
|
875
|
+
const headers = {};
|
|
876
|
+
b.bp("/profile/places/{placeId}");
|
|
877
|
+
b.p('placeId', () => input.placeId, '{placeId}', false);
|
|
878
|
+
const query = map({
|
|
879
|
+
[_la]: [, input[_la]],
|
|
880
|
+
});
|
|
881
|
+
let body;
|
|
882
|
+
b.m("GET")
|
|
883
|
+
.h(headers)
|
|
884
|
+
.q(query)
|
|
885
|
+
.b(body);
|
|
886
|
+
return b.build();
|
|
887
|
+
};
|
|
809
888
|
export const se_GetProfileCommand = async (input, context) => {
|
|
810
889
|
const b = rb(input, context);
|
|
811
890
|
const headers = {};
|
|
@@ -817,6 +896,21 @@ export const se_GetProfileCommand = async (input, context) => {
|
|
|
817
896
|
.b(body);
|
|
818
897
|
return b.build();
|
|
819
898
|
};
|
|
899
|
+
export const se_SearchPlacesCommand = async (input, context) => {
|
|
900
|
+
const b = rb(input, context);
|
|
901
|
+
const headers = {};
|
|
902
|
+
b.bp("/profile/places");
|
|
903
|
+
const query = map({
|
|
904
|
+
[_q]: [, __expectNonNull(input[_q], `q`)],
|
|
905
|
+
[_la]: [, input[_la]],
|
|
906
|
+
});
|
|
907
|
+
let body;
|
|
908
|
+
b.m("GET")
|
|
909
|
+
.h(headers)
|
|
910
|
+
.q(query)
|
|
911
|
+
.b(body);
|
|
912
|
+
return b.build();
|
|
913
|
+
};
|
|
820
914
|
export const se_UpdateProfileCommand = async (input, context) => {
|
|
821
915
|
const b = rb(input, context);
|
|
822
916
|
const headers = {
|
|
@@ -825,7 +919,6 @@ export const se_UpdateProfileCommand = async (input, context) => {
|
|
|
825
919
|
b.bp("/profile");
|
|
826
920
|
let body;
|
|
827
921
|
body = JSON.stringify(take(input, {
|
|
828
|
-
'age': [],
|
|
829
922
|
'audioPrompt': [],
|
|
830
923
|
'bio': [],
|
|
831
924
|
'birthDetails': _ => se_BirthDetails(_, context),
|
|
@@ -1211,6 +1304,27 @@ export const de_GetCredentialReadinessCommand = async (output, context) => {
|
|
|
1211
1304
|
Object.assign(contents, doc);
|
|
1212
1305
|
return contents;
|
|
1213
1306
|
};
|
|
1307
|
+
export const de_GetPreservationHoldCommand = async (output, context) => {
|
|
1308
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1309
|
+
return de_CommandError(output, context);
|
|
1310
|
+
}
|
|
1311
|
+
const contents = map({
|
|
1312
|
+
$metadata: deserializeMetadata(output),
|
|
1313
|
+
});
|
|
1314
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1315
|
+
const doc = take(data, {
|
|
1316
|
+
'active': __expectBoolean,
|
|
1317
|
+
'caseRef': __expectString,
|
|
1318
|
+
'childSafetySince': __expectLong,
|
|
1319
|
+
'reasonCode': __expectString,
|
|
1320
|
+
'setAt': __expectLong,
|
|
1321
|
+
'setBy': __expectString,
|
|
1322
|
+
'until': __expectLong,
|
|
1323
|
+
'version': __expectInt32,
|
|
1324
|
+
});
|
|
1325
|
+
Object.assign(contents, doc);
|
|
1326
|
+
return contents;
|
|
1327
|
+
};
|
|
1214
1328
|
export const de_GetUserCommand = async (output, context) => {
|
|
1215
1329
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1216
1330
|
return de_CommandError(output, context);
|
|
@@ -1356,6 +1470,20 @@ export const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
|
|
|
1356
1470
|
Object.assign(contents, doc);
|
|
1357
1471
|
return contents;
|
|
1358
1472
|
};
|
|
1473
|
+
export const de_RevokeUserAccessCommand = async (output, context) => {
|
|
1474
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1475
|
+
return de_CommandError(output, context);
|
|
1476
|
+
}
|
|
1477
|
+
const contents = map({
|
|
1478
|
+
$metadata: deserializeMetadata(output),
|
|
1479
|
+
});
|
|
1480
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1481
|
+
const doc = take(data, {
|
|
1482
|
+
'status': __expectString,
|
|
1483
|
+
});
|
|
1484
|
+
Object.assign(contents, doc);
|
|
1485
|
+
return contents;
|
|
1486
|
+
};
|
|
1359
1487
|
export const de_SendAdminLinkOtpCommand = async (output, context) => {
|
|
1360
1488
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1361
1489
|
return de_CommandError(output, context);
|
|
@@ -1387,6 +1515,23 @@ export const de_SetAccountStateCommand = async (output, context) => {
|
|
|
1387
1515
|
Object.assign(contents, doc);
|
|
1388
1516
|
return contents;
|
|
1389
1517
|
};
|
|
1518
|
+
export const de_SetPreservationHoldCommand = async (output, context) => {
|
|
1519
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1520
|
+
return de_CommandError(output, context);
|
|
1521
|
+
}
|
|
1522
|
+
const contents = map({
|
|
1523
|
+
$metadata: deserializeMetadata(output),
|
|
1524
|
+
});
|
|
1525
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1526
|
+
const doc = take(data, {
|
|
1527
|
+
'active': __expectBoolean,
|
|
1528
|
+
'reasonCode': __expectString,
|
|
1529
|
+
'until': __expectLong,
|
|
1530
|
+
'version': __expectInt32,
|
|
1531
|
+
});
|
|
1532
|
+
Object.assign(contents, doc);
|
|
1533
|
+
return contents;
|
|
1534
|
+
};
|
|
1390
1535
|
export const de_UnlinkSocialCommand = async (output, context) => {
|
|
1391
1536
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1392
1537
|
return de_CommandError(output, context);
|
|
@@ -1524,6 +1669,7 @@ export const de_GetPreferencesCommand = async (output, context) => {
|
|
|
1524
1669
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1525
1670
|
const doc = take(data, {
|
|
1526
1671
|
'cannabis': __expectString,
|
|
1672
|
+
'currentSuggestion': _json,
|
|
1527
1673
|
'dealbreakers': _json,
|
|
1528
1674
|
'discoverable': __expectBoolean,
|
|
1529
1675
|
'distanceUnit': __expectString,
|
|
@@ -1633,6 +1779,16 @@ export const de_RemoveLocationCommand = async (output, context) => {
|
|
|
1633
1779
|
Object.assign(contents, doc);
|
|
1634
1780
|
return contents;
|
|
1635
1781
|
};
|
|
1782
|
+
export const de_RemoveSuggestionCommand = async (output, context) => {
|
|
1783
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1784
|
+
return de_CommandError(output, context);
|
|
1785
|
+
}
|
|
1786
|
+
const contents = map({
|
|
1787
|
+
$metadata: deserializeMetadata(output),
|
|
1788
|
+
});
|
|
1789
|
+
await collectBody(output.body, context);
|
|
1790
|
+
return contents;
|
|
1791
|
+
};
|
|
1636
1792
|
export const de_SwipeCommand = async (output, context) => {
|
|
1637
1793
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1638
1794
|
return de_CommandError(output, context);
|
|
@@ -1768,6 +1924,30 @@ export const de_GenerateUploadUrlCommand = async (output, context) => {
|
|
|
1768
1924
|
Object.assign(contents, doc);
|
|
1769
1925
|
return contents;
|
|
1770
1926
|
};
|
|
1927
|
+
export const de_GetBirthDateStatusCommand = async (output, context) => {
|
|
1928
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1929
|
+
return de_CommandError(output, context);
|
|
1930
|
+
}
|
|
1931
|
+
const contents = map({
|
|
1932
|
+
$metadata: deserializeMetadata(output),
|
|
1933
|
+
});
|
|
1934
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1935
|
+
const doc = take(data, {
|
|
1936
|
+
'age': __expectInt32,
|
|
1937
|
+
'birthDateOnFile': __expectBoolean,
|
|
1938
|
+
'correctionsRemaining': __expectInt32,
|
|
1939
|
+
'correctionsUsed': __expectInt32,
|
|
1940
|
+
'date': __expectString,
|
|
1941
|
+
'lastCorrectedAt': __expectLong,
|
|
1942
|
+
'lastCorrectedBy': __expectString,
|
|
1943
|
+
'lastReason': __expectString,
|
|
1944
|
+
'lastReference': __expectString,
|
|
1945
|
+
'provisional': __expectBoolean,
|
|
1946
|
+
'userId': __expectString,
|
|
1947
|
+
});
|
|
1948
|
+
Object.assign(contents, doc);
|
|
1949
|
+
return contents;
|
|
1950
|
+
};
|
|
1771
1951
|
export const de_GetLivenessStatusCommand = async (output, context) => {
|
|
1772
1952
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1773
1953
|
return de_CommandError(output, context);
|
|
@@ -1836,6 +2016,24 @@ export const de_GetMyProfileCommand = async (output, context) => {
|
|
|
1836
2016
|
Object.assign(contents, doc);
|
|
1837
2017
|
return contents;
|
|
1838
2018
|
};
|
|
2019
|
+
export const de_GetPlaceCommand = async (output, context) => {
|
|
2020
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2021
|
+
return de_CommandError(output, context);
|
|
2022
|
+
}
|
|
2023
|
+
const contents = map({
|
|
2024
|
+
$metadata: deserializeMetadata(output),
|
|
2025
|
+
});
|
|
2026
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
2027
|
+
const doc = take(data, {
|
|
2028
|
+
'label': __expectString,
|
|
2029
|
+
'latitude': __limitedParseDouble,
|
|
2030
|
+
'longitude': __limitedParseDouble,
|
|
2031
|
+
'placeId': __expectString,
|
|
2032
|
+
'timeZone': __expectString,
|
|
2033
|
+
});
|
|
2034
|
+
Object.assign(contents, doc);
|
|
2035
|
+
return contents;
|
|
2036
|
+
};
|
|
1839
2037
|
export const de_GetProfileCommand = async (output, context) => {
|
|
1840
2038
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1841
2039
|
return de_CommandError(output, context);
|
|
@@ -1890,6 +2088,20 @@ export const de_GetProfileCommand = async (output, context) => {
|
|
|
1890
2088
|
Object.assign(contents, doc);
|
|
1891
2089
|
return contents;
|
|
1892
2090
|
};
|
|
2091
|
+
export const de_SearchPlacesCommand = async (output, context) => {
|
|
2092
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2093
|
+
return de_CommandError(output, context);
|
|
2094
|
+
}
|
|
2095
|
+
const contents = map({
|
|
2096
|
+
$metadata: deserializeMetadata(output),
|
|
2097
|
+
});
|
|
2098
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
2099
|
+
const doc = take(data, {
|
|
2100
|
+
'places': _json,
|
|
2101
|
+
});
|
|
2102
|
+
Object.assign(contents, doc);
|
|
2103
|
+
return contents;
|
|
2104
|
+
};
|
|
1893
2105
|
export const de_UpdateProfileCommand = async (output, context) => {
|
|
1894
2106
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1895
2107
|
return de_CommandError(output, context);
|
|
@@ -2124,6 +2336,7 @@ const se_BirthDetails = (input, context) => {
|
|
|
2124
2336
|
'date': [],
|
|
2125
2337
|
'latitude': __serializeFloat,
|
|
2126
2338
|
'longitude': __serializeFloat,
|
|
2339
|
+
'placeName': [],
|
|
2127
2340
|
'provisional': [],
|
|
2128
2341
|
'time': [],
|
|
2129
2342
|
'timeZone': [],
|
|
@@ -2153,6 +2366,7 @@ const de_BirthDetails = (output, context) => {
|
|
|
2153
2366
|
'date': __expectString,
|
|
2154
2367
|
'latitude': __limitedParseDouble,
|
|
2155
2368
|
'longitude': __limitedParseDouble,
|
|
2369
|
+
'placeName': __expectString,
|
|
2156
2370
|
'provisional': __expectBoolean,
|
|
2157
2371
|
'time': __expectString,
|
|
2158
2372
|
'timeZone': __expectString,
|
|
@@ -2168,7 +2382,9 @@ const collectBodyString = (streamBody, context) => collectBody(streamBody, conte
|
|
|
2168
2382
|
const _c = "category";
|
|
2169
2383
|
const _k = "key";
|
|
2170
2384
|
const _l = "lat";
|
|
2385
|
+
const _la = "lang";
|
|
2171
2386
|
const _lo = "lon";
|
|
2172
2387
|
const _mI = "matchId";
|
|
2388
|
+
const _q = "q";
|
|
2173
2389
|
const _rUI = "requestingUserId";
|
|
2174
2390
|
const _xoui = "x-onehook-user-id";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.10.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "1d9a5b9cd896cae9";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -383,6 +383,7 @@ export const UiElement = {
|
|
|
383
383
|
PREFERENCES_SAVE: "preferences.save",
|
|
384
384
|
PREFERENCES_UPGRADE_OPEN: "preferences.upgrade_open",
|
|
385
385
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
386
|
+
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
386
387
|
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
387
388
|
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
388
389
|
SETTINGS_GOOGLE_LINK: "settings.google_link",
|
|
@@ -623,10 +624,11 @@ export const UI_ELEMENTS = {
|
|
|
623
624
|
"profile_edit.prompt_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
624
625
|
"profile_edit.voice_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
625
626
|
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
626
|
-
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
627
|
+
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
627
628
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
628
629
|
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
629
630
|
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
631
|
+
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
630
632
|
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
631
633
|
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
632
634
|
"settings.google_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios", "android"] },
|
package/dist-types/OneHook.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from ".
|
|
|
17
17
|
import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
|
|
18
18
|
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
|
|
19
19
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
|
|
20
|
+
import { GetBirthDateStatusCommandInput, GetBirthDateStatusCommandOutput } from "./commands/GetBirthDateStatusCommand";
|
|
20
21
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
|
|
21
22
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
|
|
22
23
|
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "./commands/GetLivenessStatusCommand";
|
|
@@ -24,7 +25,9 @@ import { GetMatchCommandInput, GetMatchCommandOutput } from "./commands/GetMatch
|
|
|
24
25
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "./commands/GetMyProfileCommand";
|
|
25
26
|
import { GetNotificationPreferencesCommandInput, GetNotificationPreferencesCommandOutput } from "./commands/GetNotificationPreferencesCommand";
|
|
26
27
|
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "./commands/GetParticipantRegistryCommand";
|
|
28
|
+
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
|
|
27
29
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
30
|
+
import { GetPreservationHoldCommandInput, GetPreservationHoldCommandOutput } from "./commands/GetPreservationHoldCommand";
|
|
28
31
|
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
29
32
|
import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "./commands/GetReceivedLikesCommand";
|
|
30
33
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "./commands/GetRosesCommand";
|
|
@@ -42,12 +45,16 @@ import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./comma
|
|
|
42
45
|
import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
|
|
43
46
|
import { RegisterPushTokenCommandInput, RegisterPushTokenCommandOutput } from "./commands/RegisterPushTokenCommand";
|
|
44
47
|
import { RemoveLocationCommandInput, RemoveLocationCommandOutput } from "./commands/RemoveLocationCommand";
|
|
48
|
+
import { RemoveSuggestionCommandInput, RemoveSuggestionCommandOutput } from "./commands/RemoveSuggestionCommand";
|
|
45
49
|
import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./commands/RequestEmailOtpCommand";
|
|
46
50
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
|
|
47
51
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
48
52
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
53
|
+
import { RevokeUserAccessCommandInput, RevokeUserAccessCommandOutput } from "./commands/RevokeUserAccessCommand";
|
|
54
|
+
import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/SearchPlacesCommand";
|
|
49
55
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
50
56
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
57
|
+
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
|
|
51
58
|
import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
|
|
52
59
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
53
60
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
@@ -174,6 +181,12 @@ export interface OneHook {
|
|
|
174
181
|
getCredentialReadiness(args: GetCredentialReadinessCommandInput, options?: __HttpHandlerOptions): Promise<GetCredentialReadinessCommandOutput>;
|
|
175
182
|
getCredentialReadiness(args: GetCredentialReadinessCommandInput, cb: (err: any, data?: GetCredentialReadinessCommandOutput) => void): void;
|
|
176
183
|
getCredentialReadiness(args: GetCredentialReadinessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCredentialReadinessCommandOutput) => void): void;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link GetPreservationHoldCommand}
|
|
186
|
+
*/
|
|
187
|
+
getPreservationHold(args: GetPreservationHoldCommandInput, options?: __HttpHandlerOptions): Promise<GetPreservationHoldCommandOutput>;
|
|
188
|
+
getPreservationHold(args: GetPreservationHoldCommandInput, cb: (err: any, data?: GetPreservationHoldCommandOutput) => void): void;
|
|
189
|
+
getPreservationHold(args: GetPreservationHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPreservationHoldCommandOutput) => void): void;
|
|
177
190
|
/**
|
|
178
191
|
* @see {@link GetUserCommand}
|
|
179
192
|
*/
|
|
@@ -228,6 +241,12 @@ export interface OneHook {
|
|
|
228
241
|
requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, options?: __HttpHandlerOptions): Promise<RequestPhoneUpdateOtpCommandOutput>;
|
|
229
242
|
requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, cb: (err: any, data?: RequestPhoneUpdateOtpCommandOutput) => void): void;
|
|
230
243
|
requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestPhoneUpdateOtpCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link RevokeUserAccessCommand}
|
|
246
|
+
*/
|
|
247
|
+
revokeUserAccess(args: RevokeUserAccessCommandInput, options?: __HttpHandlerOptions): Promise<RevokeUserAccessCommandOutput>;
|
|
248
|
+
revokeUserAccess(args: RevokeUserAccessCommandInput, cb: (err: any, data?: RevokeUserAccessCommandOutput) => void): void;
|
|
249
|
+
revokeUserAccess(args: RevokeUserAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeUserAccessCommandOutput) => void): void;
|
|
231
250
|
/**
|
|
232
251
|
* @see {@link SendAdminLinkOtpCommand}
|
|
233
252
|
*/
|
|
@@ -240,6 +259,12 @@ export interface OneHook {
|
|
|
240
259
|
setAccountState(args: SetAccountStateCommandInput, options?: __HttpHandlerOptions): Promise<SetAccountStateCommandOutput>;
|
|
241
260
|
setAccountState(args: SetAccountStateCommandInput, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
|
|
242
261
|
setAccountState(args: SetAccountStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
|
|
262
|
+
/**
|
|
263
|
+
* @see {@link SetPreservationHoldCommand}
|
|
264
|
+
*/
|
|
265
|
+
setPreservationHold(args: SetPreservationHoldCommandInput, options?: __HttpHandlerOptions): Promise<SetPreservationHoldCommandOutput>;
|
|
266
|
+
setPreservationHold(args: SetPreservationHoldCommandInput, cb: (err: any, data?: SetPreservationHoldCommandOutput) => void): void;
|
|
267
|
+
setPreservationHold(args: SetPreservationHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetPreservationHoldCommandOutput) => void): void;
|
|
243
268
|
/**
|
|
244
269
|
* @see {@link UnlinkSocialCommand}
|
|
245
270
|
*/
|
|
@@ -326,6 +351,13 @@ export interface OneHook {
|
|
|
326
351
|
removeLocation(args: RemoveLocationCommandInput, options?: __HttpHandlerOptions): Promise<RemoveLocationCommandOutput>;
|
|
327
352
|
removeLocation(args: RemoveLocationCommandInput, cb: (err: any, data?: RemoveLocationCommandOutput) => void): void;
|
|
328
353
|
removeLocation(args: RemoveLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveLocationCommandOutput) => void): void;
|
|
354
|
+
/**
|
|
355
|
+
* @see {@link RemoveSuggestionCommand}
|
|
356
|
+
*/
|
|
357
|
+
removeSuggestion(): Promise<RemoveSuggestionCommandOutput>;
|
|
358
|
+
removeSuggestion(args: RemoveSuggestionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveSuggestionCommandOutput>;
|
|
359
|
+
removeSuggestion(args: RemoveSuggestionCommandInput, cb: (err: any, data?: RemoveSuggestionCommandOutput) => void): void;
|
|
360
|
+
removeSuggestion(args: RemoveSuggestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveSuggestionCommandOutput) => void): void;
|
|
329
361
|
/**
|
|
330
362
|
* @see {@link SwipeCommand}
|
|
331
363
|
*/
|
|
@@ -381,6 +413,12 @@ export interface OneHook {
|
|
|
381
413
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateUploadUrlCommandOutput>;
|
|
382
414
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, cb: (err: any, data?: GenerateUploadUrlCommandOutput) => void): void;
|
|
383
415
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateUploadUrlCommandOutput) => void): void;
|
|
416
|
+
/**
|
|
417
|
+
* @see {@link GetBirthDateStatusCommand}
|
|
418
|
+
*/
|
|
419
|
+
getBirthDateStatus(args: GetBirthDateStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetBirthDateStatusCommandOutput>;
|
|
420
|
+
getBirthDateStatus(args: GetBirthDateStatusCommandInput, cb: (err: any, data?: GetBirthDateStatusCommandOutput) => void): void;
|
|
421
|
+
getBirthDateStatus(args: GetBirthDateStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBirthDateStatusCommandOutput) => void): void;
|
|
384
422
|
/**
|
|
385
423
|
* @see {@link GetLivenessStatusCommand}
|
|
386
424
|
*/
|
|
@@ -395,12 +433,24 @@ export interface OneHook {
|
|
|
395
433
|
getMyProfile(args: GetMyProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetMyProfileCommandOutput>;
|
|
396
434
|
getMyProfile(args: GetMyProfileCommandInput, cb: (err: any, data?: GetMyProfileCommandOutput) => void): void;
|
|
397
435
|
getMyProfile(args: GetMyProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMyProfileCommandOutput) => void): void;
|
|
436
|
+
/**
|
|
437
|
+
* @see {@link GetPlaceCommand}
|
|
438
|
+
*/
|
|
439
|
+
getPlace(args: GetPlaceCommandInput, options?: __HttpHandlerOptions): Promise<GetPlaceCommandOutput>;
|
|
440
|
+
getPlace(args: GetPlaceCommandInput, cb: (err: any, data?: GetPlaceCommandOutput) => void): void;
|
|
441
|
+
getPlace(args: GetPlaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlaceCommandOutput) => void): void;
|
|
398
442
|
/**
|
|
399
443
|
* @see {@link GetProfileCommand}
|
|
400
444
|
*/
|
|
401
445
|
getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
|
|
402
446
|
getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
403
447
|
getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
448
|
+
/**
|
|
449
|
+
* @see {@link SearchPlacesCommand}
|
|
450
|
+
*/
|
|
451
|
+
searchPlaces(args: SearchPlacesCommandInput, options?: __HttpHandlerOptions): Promise<SearchPlacesCommandOutput>;
|
|
452
|
+
searchPlaces(args: SearchPlacesCommandInput, cb: (err: any, data?: SearchPlacesCommandOutput) => void): void;
|
|
453
|
+
searchPlaces(args: SearchPlacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlacesCommandOutput) => void): void;
|
|
404
454
|
/**
|
|
405
455
|
* @see {@link UpdateProfileCommand}
|
|
406
456
|
*/
|
|
@@ -17,6 +17,7 @@ import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from ".
|
|
|
17
17
|
import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
|
|
18
18
|
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
|
|
19
19
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
|
|
20
|
+
import { GetBirthDateStatusCommandInput, GetBirthDateStatusCommandOutput } from "./commands/GetBirthDateStatusCommand";
|
|
20
21
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
|
|
21
22
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
|
|
22
23
|
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "./commands/GetLivenessStatusCommand";
|
|
@@ -24,7 +25,9 @@ import { GetMatchCommandInput, GetMatchCommandOutput } from "./commands/GetMatch
|
|
|
24
25
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "./commands/GetMyProfileCommand";
|
|
25
26
|
import { GetNotificationPreferencesCommandInput, GetNotificationPreferencesCommandOutput } from "./commands/GetNotificationPreferencesCommand";
|
|
26
27
|
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "./commands/GetParticipantRegistryCommand";
|
|
28
|
+
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
|
|
27
29
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
30
|
+
import { GetPreservationHoldCommandInput, GetPreservationHoldCommandOutput } from "./commands/GetPreservationHoldCommand";
|
|
28
31
|
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
29
32
|
import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "./commands/GetReceivedLikesCommand";
|
|
30
33
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "./commands/GetRosesCommand";
|
|
@@ -42,12 +45,16 @@ import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./comma
|
|
|
42
45
|
import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
|
|
43
46
|
import { RegisterPushTokenCommandInput, RegisterPushTokenCommandOutput } from "./commands/RegisterPushTokenCommand";
|
|
44
47
|
import { RemoveLocationCommandInput, RemoveLocationCommandOutput } from "./commands/RemoveLocationCommand";
|
|
48
|
+
import { RemoveSuggestionCommandInput, RemoveSuggestionCommandOutput } from "./commands/RemoveSuggestionCommand";
|
|
45
49
|
import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./commands/RequestEmailOtpCommand";
|
|
46
50
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
|
|
47
51
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
48
52
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
53
|
+
import { RevokeUserAccessCommandInput, RevokeUserAccessCommandOutput } from "./commands/RevokeUserAccessCommand";
|
|
54
|
+
import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/SearchPlacesCommand";
|
|
49
55
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
50
56
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
57
|
+
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
|
|
51
58
|
import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
|
|
52
59
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
53
60
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
@@ -73,11 +80,11 @@ export { __Client };
|
|
|
73
80
|
/**
|
|
74
81
|
* @public
|
|
75
82
|
*/
|
|
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;
|
|
83
|
+
export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CorrectBirthDateCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetBirthDateStatusCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPlaceCommandInput | GetPreferencesCommandInput | GetPreservationHoldCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RecordSuggestionCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RemoveSuggestionCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | RevokeUserAccessCommandInput | SearchPlacesCommandInput | SendAdminLinkOtpCommandInput | SetAccountStateCommandInput | SetPreservationHoldCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
77
84
|
/**
|
|
78
85
|
* @public
|
|
79
86
|
*/
|
|
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;
|
|
87
|
+
export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CorrectBirthDateCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetBirthDateStatusCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPlaceCommandOutput | GetPreferencesCommandOutput | GetPreservationHoldCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RecordSuggestionCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RemoveSuggestionCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | RevokeUserAccessCommandOutput | SearchPlacesCommandOutput | SendAdminLinkOtpCommandOutput | SetAccountStateCommandOutput | SetPreservationHoldCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
81
88
|
/**
|
|
82
89
|
* @public
|
|
83
90
|
*/
|
|
@@ -41,7 +41,7 @@ declare const CorrectBirthDateCommand_base: {
|
|
|
41
41
|
* userId: "STRING_VALUE", // required
|
|
42
42
|
* date: "STRING_VALUE", // required
|
|
43
43
|
* reason: "STRING_VALUE", // required
|
|
44
|
-
* reference: "STRING_VALUE",
|
|
44
|
+
* reference: "STRING_VALUE",
|
|
45
45
|
* };
|
|
46
46
|
* const command = new CorrectBirthDateCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|