onehook-api-client 1.0.0 → 1.0.4
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 +451 -0
- package/dist-cjs/{OneHookService.js → OneHook.js} +5 -5
- package/dist-cjs/{OneHookServiceClient.js → OneHookClient.js} +16 -11
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +24 -11
- package/dist-cjs/commands/AuthSocialCommand.js +1 -1
- package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +1 -1
- package/dist-cjs/commands/CompleteLivenessSessionCommand.js +1 -1
- package/dist-cjs/commands/CompleteOnboardingCommand.js +1 -1
- package/dist-cjs/commands/CreateLivenessSessionCommand.js +1 -1
- package/dist-cjs/commands/DeleteMatchMessagesCommand.js +1 -1
- package/dist-cjs/commands/DeleteProfileCommand.js +1 -1
- package/dist-cjs/commands/DiscoverCommand.js +1 -1
- package/dist-cjs/commands/GenerateInviteCommand.js +1 -1
- package/dist-cjs/commands/GenerateUploadUrlCommand.js +1 -1
- package/dist-cjs/commands/GetMatchCommand.js +1 -1
- package/dist-cjs/commands/GetMyProfileCommand.js +1 -1
- package/dist-cjs/commands/GetPreferencesCommand.js +1 -1
- package/dist-cjs/commands/GetProfileCommand.js +1 -1
- package/dist-cjs/commands/GetStateCommand.js +1 -1
- package/dist-cjs/commands/GetUserByEmailCommand.js +1 -1
- package/dist-cjs/commands/GetUserCommand.js +1 -1
- package/dist-cjs/commands/IndexLocationCommand.js +1 -1
- package/dist-cjs/commands/InitUserCommand.js +1 -1
- package/dist-cjs/commands/LinkEmailCommand.js +1 -1
- package/dist-cjs/commands/LinkSocialCommand.js +1 -1
- package/dist-cjs/commands/RegisterPhoneCommand.js +1 -1
- package/dist-cjs/commands/RemoveLocationCommand.js +1 -1
- package/dist-cjs/commands/RequestEmailOtpCommand.js +1 -1
- package/dist-cjs/commands/RequestPhoneOtpCommand.js +1 -1
- package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +1 -1
- package/dist-cjs/commands/SwipeCommand.js +1 -1
- package/dist-cjs/commands/UnhookCommand.js +1 -1
- package/dist-cjs/commands/UnlinkSocialCommand.js +1 -1
- package/dist-cjs/commands/UpdateEntitlementsCommand.js +1 -1
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +1 -1
- package/dist-cjs/commands/UpdatePreferencesCommand.js +1 -1
- package/dist-cjs/commands/UpdateProfileCommand.js +1 -1
- package/dist-cjs/commands/UpgradeUserCommand.js +1 -1
- package/dist-cjs/commands/UploadPreKeysCommand.js +1 -1
- package/dist-cjs/commands/ValidateInviteCommand.js +1 -1
- package/dist-cjs/endpoints.js +232 -0
- package/dist-cjs/graphql/types.js +1 -1
- package/dist-cjs/index.js +5 -5
- package/dist-cjs/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +4 -4
- package/dist-cjs/models/models_0.js +17 -13
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -1
- package/dist-cjs/runtimeConfig.js +13 -4
- package/dist-cjs/runtimeConfig.shared.js +8 -5
- package/dist-cjs/runtimeExtensions.js +3 -12
- package/dist-es/{OneHookService.js → OneHook.js} +3 -3
- package/dist-es/{OneHookServiceClient.js → OneHookClient.js} +16 -11
- package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +22 -9
- package/dist-es/commands/AuthSocialCommand.js +1 -1
- package/dist-es/commands/ClaimPreKeyBundleCommand.js +1 -1
- package/dist-es/commands/CompleteLivenessSessionCommand.js +1 -1
- package/dist-es/commands/CompleteOnboardingCommand.js +1 -1
- package/dist-es/commands/CreateLivenessSessionCommand.js +1 -1
- package/dist-es/commands/DeleteMatchMessagesCommand.js +1 -1
- package/dist-es/commands/DeleteProfileCommand.js +1 -1
- package/dist-es/commands/DiscoverCommand.js +1 -1
- package/dist-es/commands/GenerateInviteCommand.js +1 -1
- package/dist-es/commands/GenerateUploadUrlCommand.js +1 -1
- package/dist-es/commands/GetMatchCommand.js +1 -1
- package/dist-es/commands/GetMyProfileCommand.js +1 -1
- package/dist-es/commands/GetPreferencesCommand.js +1 -1
- package/dist-es/commands/GetProfileCommand.js +1 -1
- package/dist-es/commands/GetStateCommand.js +1 -1
- package/dist-es/commands/GetUserByEmailCommand.js +1 -1
- package/dist-es/commands/GetUserCommand.js +1 -1
- package/dist-es/commands/IndexLocationCommand.js +1 -1
- package/dist-es/commands/InitUserCommand.js +1 -1
- package/dist-es/commands/LinkEmailCommand.js +1 -1
- package/dist-es/commands/LinkSocialCommand.js +1 -1
- package/dist-es/commands/RegisterPhoneCommand.js +1 -1
- package/dist-es/commands/RemoveLocationCommand.js +1 -1
- package/dist-es/commands/RequestEmailOtpCommand.js +1 -1
- package/dist-es/commands/RequestPhoneOtpCommand.js +1 -1
- package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +1 -1
- package/dist-es/commands/SwipeCommand.js +1 -1
- package/dist-es/commands/UnhookCommand.js +1 -1
- package/dist-es/commands/UnlinkSocialCommand.js +1 -1
- package/dist-es/commands/UpdateEntitlementsCommand.js +1 -1
- package/dist-es/commands/UpdatePhoneNumberCommand.js +1 -1
- package/dist-es/commands/UpdatePreferencesCommand.js +1 -1
- package/dist-es/commands/UpdateProfileCommand.js +1 -1
- package/dist-es/commands/UpgradeUserCommand.js +1 -1
- package/dist-es/commands/UploadPreKeysCommand.js +1 -1
- package/dist-es/commands/ValidateInviteCommand.js +1 -1
- package/dist-es/endpoints.js +228 -0
- package/dist-es/index.js +3 -3
- package/dist-es/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +2 -2
- package/dist-es/models/models_0.js +13 -9
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -1
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-es/runtimeConfig.shared.js +9 -6
- package/dist-es/runtimeExtensions.js +3 -12
- package/dist-types/{OneHookService.d.ts → OneHook.d.ts} +3 -3
- package/dist-types/{OneHookServiceClient.d.ts → OneHookClient.d.ts} +58 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +8 -5
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +13 -11
- package/dist-types/commands/AuthSocialCommand.d.ts +11 -10
- package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +11 -10
- package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +11 -10
- package/dist-types/commands/CompleteOnboardingCommand.d.ts +11 -10
- package/dist-types/commands/CreateLivenessSessionCommand.d.ts +11 -10
- package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +11 -10
- package/dist-types/commands/DeleteProfileCommand.d.ts +11 -10
- package/dist-types/commands/DiscoverCommand.d.ts +11 -10
- package/dist-types/commands/GenerateInviteCommand.d.ts +11 -10
- package/dist-types/commands/GenerateUploadUrlCommand.d.ts +11 -10
- package/dist-types/commands/GetMatchCommand.d.ts +11 -10
- package/dist-types/commands/GetMyProfileCommand.d.ts +11 -10
- package/dist-types/commands/GetPreferencesCommand.d.ts +11 -10
- package/dist-types/commands/GetProfileCommand.d.ts +11 -10
- package/dist-types/commands/GetStateCommand.d.ts +11 -10
- package/dist-types/commands/GetUserByEmailCommand.d.ts +11 -10
- package/dist-types/commands/GetUserCommand.d.ts +11 -10
- package/dist-types/commands/IndexLocationCommand.d.ts +11 -10
- package/dist-types/commands/InitUserCommand.d.ts +11 -10
- package/dist-types/commands/LinkEmailCommand.d.ts +11 -10
- package/dist-types/commands/LinkSocialCommand.d.ts +11 -10
- package/dist-types/commands/RegisterPhoneCommand.d.ts +11 -10
- package/dist-types/commands/RemoveLocationCommand.d.ts +11 -10
- package/dist-types/commands/RequestEmailOtpCommand.d.ts +11 -10
- package/dist-types/commands/RequestPhoneOtpCommand.d.ts +11 -10
- package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +11 -10
- package/dist-types/commands/SwipeCommand.d.ts +11 -10
- package/dist-types/commands/UnhookCommand.d.ts +11 -10
- package/dist-types/commands/UnlinkSocialCommand.d.ts +11 -10
- package/dist-types/commands/UpdateEntitlementsCommand.d.ts +11 -10
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +11 -10
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +11 -10
- package/dist-types/commands/UpdateProfileCommand.d.ts +11 -10
- package/dist-types/commands/UpgradeUserCommand.d.ts +11 -10
- package/dist-types/commands/UploadPreKeysCommand.d.ts +11 -10
- package/dist-types/commands/ValidateInviteCommand.d.ts +11 -10
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +4 -4
- package/dist-types/models/{OneHookServiceServiceException.d.ts → OneHookServiceException.d.ts} +2 -2
- package/dist-types/models/models_0.d.ts +5 -1
- package/dist-types/runtimeConfig.browser.d.ts +28 -13
- package/dist-types/runtimeConfig.d.ts +28 -13
- package/dist-types/runtimeConfig.native.d.ts +28 -13
- package/dist-types/runtimeConfig.shared.d.ts +6 -10
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/package.json +38 -36
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onehook-api-client",
|
|
3
3
|
"description": "OneHook API Client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,48 +19,50 @@
|
|
|
19
19
|
"tslib": "^2.6.2",
|
|
20
20
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
22
|
-
"@aws-sdk/core": "3.
|
|
23
|
-
"@aws-sdk/
|
|
24
|
-
"@aws-sdk/middleware-
|
|
25
|
-
"@aws-sdk/middleware-
|
|
26
|
-
"@aws-sdk/middleware-
|
|
27
|
-
"@aws-sdk/
|
|
28
|
-
"@aws-sdk/
|
|
29
|
-
"@aws-sdk/
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@smithy/
|
|
33
|
-
"@smithy/
|
|
34
|
-
"@smithy/
|
|
35
|
-
"@smithy/
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/middleware-
|
|
38
|
-
"@smithy/middleware-
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/
|
|
42
|
-
"@smithy/
|
|
43
|
-
"@smithy/
|
|
44
|
-
"@smithy/
|
|
45
|
-
"@smithy/
|
|
46
|
-
"@smithy/
|
|
47
|
-
"@smithy/util-
|
|
48
|
-
"@smithy/util-
|
|
49
|
-
"@smithy/util-
|
|
50
|
-
"@smithy/util-
|
|
51
|
-
"@smithy/util-
|
|
52
|
-
"@smithy/util-
|
|
22
|
+
"@aws-sdk/core": "3.775.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.787.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.787.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
29
|
+
"@aws-sdk/types": "3.775.0",
|
|
30
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-node": "3.787.0",
|
|
32
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
33
|
+
"@smithy/core": "^3.2.0",
|
|
34
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
35
|
+
"@smithy/hash-node": "^4.0.2",
|
|
36
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
37
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
38
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
39
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
40
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
41
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
42
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
43
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
44
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
45
|
+
"@smithy/types": "^4.2.0",
|
|
46
|
+
"@smithy/url-parser": "^4.0.2",
|
|
47
|
+
"@smithy/util-base64": "^4.0.0",
|
|
48
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
49
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
50
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
51
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
52
|
+
"@smithy/util-middleware": "^4.0.2",
|
|
53
|
+
"@smithy/util-retry": "^4.0.2",
|
|
54
|
+
"@smithy/util-utf8": "^4.0.0"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
55
|
-
"@tsconfig/
|
|
57
|
+
"@tsconfig/node18": "18.2.4",
|
|
56
58
|
"concurrently": "7.0.0",
|
|
57
59
|
"downlevel-dts": "0.10.1",
|
|
58
60
|
"rimraf": "^3.0.0",
|
|
59
|
-
"typescript": "~
|
|
60
|
-
"@types/node": "^
|
|
61
|
+
"typescript": "~5.2.2",
|
|
62
|
+
"@types/node": "^18.19.69"
|
|
61
63
|
},
|
|
62
64
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
65
|
+
"node": ">=18.0.0"
|
|
64
66
|
},
|
|
65
67
|
"typesVersions": {
|
|
66
68
|
"<4.0": {
|