onehook-api-client 1.0.0

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 (161) hide show
  1. package/LICENSE +201 -0
  2. package/dist-cjs/OneHookService.js +83 -0
  3. package/dist-cjs/OneHookServiceClient.js +43 -0
  4. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +35 -0
  5. package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -0
  6. package/dist-cjs/commands/AuthSocialCommand.js +21 -0
  7. package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +21 -0
  8. package/dist-cjs/commands/CompleteLivenessSessionCommand.js +21 -0
  9. package/dist-cjs/commands/CompleteOnboardingCommand.js +21 -0
  10. package/dist-cjs/commands/CreateLivenessSessionCommand.js +21 -0
  11. package/dist-cjs/commands/DeleteMatchMessagesCommand.js +21 -0
  12. package/dist-cjs/commands/DeleteProfileCommand.js +21 -0
  13. package/dist-cjs/commands/DiscoverCommand.js +21 -0
  14. package/dist-cjs/commands/GenerateInviteCommand.js +21 -0
  15. package/dist-cjs/commands/GenerateUploadUrlCommand.js +21 -0
  16. package/dist-cjs/commands/GetMatchCommand.js +21 -0
  17. package/dist-cjs/commands/GetMyProfileCommand.js +21 -0
  18. package/dist-cjs/commands/GetPreferencesCommand.js +21 -0
  19. package/dist-cjs/commands/GetProfileCommand.js +21 -0
  20. package/dist-cjs/commands/GetStateCommand.js +21 -0
  21. package/dist-cjs/commands/GetUserByEmailCommand.js +21 -0
  22. package/dist-cjs/commands/GetUserCommand.js +21 -0
  23. package/dist-cjs/commands/IndexLocationCommand.js +21 -0
  24. package/dist-cjs/commands/InitUserCommand.js +21 -0
  25. package/dist-cjs/commands/LinkEmailCommand.js +21 -0
  26. package/dist-cjs/commands/LinkSocialCommand.js +21 -0
  27. package/dist-cjs/commands/RegisterPhoneCommand.js +21 -0
  28. package/dist-cjs/commands/RemoveLocationCommand.js +21 -0
  29. package/dist-cjs/commands/RequestEmailOtpCommand.js +21 -0
  30. package/dist-cjs/commands/RequestPhoneOtpCommand.js +21 -0
  31. package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +21 -0
  32. package/dist-cjs/commands/SwipeCommand.js +21 -0
  33. package/dist-cjs/commands/UnhookCommand.js +21 -0
  34. package/dist-cjs/commands/UnlinkSocialCommand.js +21 -0
  35. package/dist-cjs/commands/UpdateEntitlementsCommand.js +21 -0
  36. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +21 -0
  37. package/dist-cjs/commands/UpdatePreferencesCommand.js +21 -0
  38. package/dist-cjs/commands/UpdateProfileCommand.js +21 -0
  39. package/dist-cjs/commands/UpgradeUserCommand.js +21 -0
  40. package/dist-cjs/commands/UploadPreKeysCommand.js +21 -0
  41. package/dist-cjs/commands/ValidateInviteCommand.js +21 -0
  42. package/dist-cjs/commands/index.js +39 -0
  43. package/dist-cjs/extensionConfiguration.js +2 -0
  44. package/dist-cjs/graphql/types.js +11 -0
  45. package/dist-cjs/index.js +10 -0
  46. package/dist-cjs/models/OneHookServiceServiceException.js +12 -0
  47. package/dist-cjs/models/index.js +4 -0
  48. package/dist-cjs/models/models_0.js +60 -0
  49. package/dist-cjs/protocols/Aws_restJson1.js +1349 -0
  50. package/dist-cjs/runtimeConfig.browser.js +32 -0
  51. package/dist-cjs/runtimeConfig.js +37 -0
  52. package/dist-cjs/runtimeConfig.native.js +15 -0
  53. package/dist-cjs/runtimeConfig.shared.js +29 -0
  54. package/dist-cjs/runtimeExtensions.js +22 -0
  55. package/dist-es/OneHookService.js +79 -0
  56. package/dist-es/OneHookServiceClient.js +39 -0
  57. package/dist-es/auth/httpAuthExtensionConfiguration.js +30 -0
  58. package/dist-es/auth/httpAuthSchemeProvider.js +29 -0
  59. package/dist-es/commands/AuthSocialCommand.js +17 -0
  60. package/dist-es/commands/ClaimPreKeyBundleCommand.js +17 -0
  61. package/dist-es/commands/CompleteLivenessSessionCommand.js +17 -0
  62. package/dist-es/commands/CompleteOnboardingCommand.js +17 -0
  63. package/dist-es/commands/CreateLivenessSessionCommand.js +17 -0
  64. package/dist-es/commands/DeleteMatchMessagesCommand.js +17 -0
  65. package/dist-es/commands/DeleteProfileCommand.js +17 -0
  66. package/dist-es/commands/DiscoverCommand.js +17 -0
  67. package/dist-es/commands/GenerateInviteCommand.js +17 -0
  68. package/dist-es/commands/GenerateUploadUrlCommand.js +17 -0
  69. package/dist-es/commands/GetMatchCommand.js +17 -0
  70. package/dist-es/commands/GetMyProfileCommand.js +17 -0
  71. package/dist-es/commands/GetPreferencesCommand.js +17 -0
  72. package/dist-es/commands/GetProfileCommand.js +17 -0
  73. package/dist-es/commands/GetStateCommand.js +17 -0
  74. package/dist-es/commands/GetUserByEmailCommand.js +17 -0
  75. package/dist-es/commands/GetUserCommand.js +17 -0
  76. package/dist-es/commands/IndexLocationCommand.js +17 -0
  77. package/dist-es/commands/InitUserCommand.js +17 -0
  78. package/dist-es/commands/LinkEmailCommand.js +17 -0
  79. package/dist-es/commands/LinkSocialCommand.js +17 -0
  80. package/dist-es/commands/RegisterPhoneCommand.js +17 -0
  81. package/dist-es/commands/RemoveLocationCommand.js +17 -0
  82. package/dist-es/commands/RequestEmailOtpCommand.js +17 -0
  83. package/dist-es/commands/RequestPhoneOtpCommand.js +17 -0
  84. package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +17 -0
  85. package/dist-es/commands/SwipeCommand.js +17 -0
  86. package/dist-es/commands/UnhookCommand.js +17 -0
  87. package/dist-es/commands/UnlinkSocialCommand.js +17 -0
  88. package/dist-es/commands/UpdateEntitlementsCommand.js +17 -0
  89. package/dist-es/commands/UpdatePhoneNumberCommand.js +17 -0
  90. package/dist-es/commands/UpdatePreferencesCommand.js +17 -0
  91. package/dist-es/commands/UpdateProfileCommand.js +17 -0
  92. package/dist-es/commands/UpgradeUserCommand.js +17 -0
  93. package/dist-es/commands/UploadPreKeysCommand.js +17 -0
  94. package/dist-es/commands/ValidateInviteCommand.js +17 -0
  95. package/dist-es/commands/index.js +36 -0
  96. package/dist-es/extensionConfiguration.js +1 -0
  97. package/dist-es/graphql/types.js +8 -0
  98. package/dist-es/index.js +5 -0
  99. package/dist-es/models/OneHookServiceServiceException.js +8 -0
  100. package/dist-es/models/index.js +1 -0
  101. package/dist-es/models/models_0.js +53 -0
  102. package/dist-es/protocols/Aws_restJson1.js +1273 -0
  103. package/dist-es/runtimeConfig.browser.js +27 -0
  104. package/dist-es/runtimeConfig.js +32 -0
  105. package/dist-es/runtimeConfig.native.js +11 -0
  106. package/dist-es/runtimeConfig.shared.js +25 -0
  107. package/dist-es/runtimeExtensions.js +18 -0
  108. package/dist-types/OneHookService.d.ts +267 -0
  109. package/dist-types/OneHookServiceClient.d.ts +179 -0
  110. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +26 -0
  111. package/dist-types/auth/httpAuthSchemeProvider.d.ts +59 -0
  112. package/dist-types/commands/AuthSocialCommand.d.ts +78 -0
  113. package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +87 -0
  114. package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +80 -0
  115. package/dist-types/commands/CompleteOnboardingCommand.d.ts +75 -0
  116. package/dist-types/commands/CreateLivenessSessionCommand.d.ts +75 -0
  117. package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +77 -0
  118. package/dist-types/commands/DeleteProfileCommand.d.ts +77 -0
  119. package/dist-types/commands/DiscoverCommand.d.ts +84 -0
  120. package/dist-types/commands/GenerateInviteCommand.d.ts +78 -0
  121. package/dist-types/commands/GenerateUploadUrlCommand.d.ts +80 -0
  122. package/dist-types/commands/GetMatchCommand.d.ts +87 -0
  123. package/dist-types/commands/GetMyProfileCommand.d.ts +136 -0
  124. package/dist-types/commands/GetPreferencesCommand.d.ts +83 -0
  125. package/dist-types/commands/GetProfileCommand.d.ts +136 -0
  126. package/dist-types/commands/GetStateCommand.d.ts +83 -0
  127. package/dist-types/commands/GetUserByEmailCommand.d.ts +83 -0
  128. package/dist-types/commands/GetUserCommand.d.ts +83 -0
  129. package/dist-types/commands/IndexLocationCommand.d.ts +76 -0
  130. package/dist-types/commands/InitUserCommand.d.ts +73 -0
  131. package/dist-types/commands/LinkEmailCommand.d.ts +76 -0
  132. package/dist-types/commands/LinkSocialCommand.d.ts +76 -0
  133. package/dist-types/commands/RegisterPhoneCommand.d.ts +79 -0
  134. package/dist-types/commands/RemoveLocationCommand.d.ts +76 -0
  135. package/dist-types/commands/RequestEmailOtpCommand.d.ts +76 -0
  136. package/dist-types/commands/RequestPhoneOtpCommand.d.ts +75 -0
  137. package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +75 -0
  138. package/dist-types/commands/SwipeCommand.d.ts +79 -0
  139. package/dist-types/commands/UnhookCommand.d.ts +78 -0
  140. package/dist-types/commands/UnlinkSocialCommand.d.ts +75 -0
  141. package/dist-types/commands/UpdateEntitlementsCommand.d.ts +87 -0
  142. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +77 -0
  143. package/dist-types/commands/UpdatePreferencesCommand.d.ts +81 -0
  144. package/dist-types/commands/UpdateProfileCommand.d.ts +130 -0
  145. package/dist-types/commands/UpgradeUserCommand.d.ts +81 -0
  146. package/dist-types/commands/UploadPreKeysCommand.d.ts +81 -0
  147. package/dist-types/commands/ValidateInviteCommand.d.ts +78 -0
  148. package/dist-types/commands/index.d.ts +36 -0
  149. package/dist-types/extensionConfiguration.d.ts +8 -0
  150. package/dist-types/graphql/types.d.ts +110 -0
  151. package/dist-types/index.d.ts +7 -0
  152. package/dist-types/models/OneHookServiceServiceException.d.ts +14 -0
  153. package/dist-types/models/index.d.ts +1 -0
  154. package/dist-types/models/models_0.d.ts +614 -0
  155. package/dist-types/protocols/Aws_restJson1.d.ts +326 -0
  156. package/dist-types/runtimeConfig.browser.d.ts +38 -0
  157. package/dist-types/runtimeConfig.d.ts +38 -0
  158. package/dist-types/runtimeConfig.native.d.ts +37 -0
  159. package/dist-types/runtimeConfig.shared.d.ts +23 -0
  160. package/dist-types/runtimeExtensions.d.ts +17 -0
  161. package/package.json +95 -0
@@ -0,0 +1,326 @@
1
+ import { AuthSocialCommandInput, AuthSocialCommandOutput } from "../commands/AuthSocialCommand";
2
+ import { ClaimPreKeyBundleCommandInput, ClaimPreKeyBundleCommandOutput } from "../commands/ClaimPreKeyBundleCommand";
3
+ import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "../commands/CompleteLivenessSessionCommand";
4
+ import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "../commands/CompleteOnboardingCommand";
5
+ import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "../commands/CreateLivenessSessionCommand";
6
+ import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "../commands/DeleteMatchMessagesCommand";
7
+ import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "../commands/DeleteProfileCommand";
8
+ import { DiscoverCommandInput, DiscoverCommandOutput } from "../commands/DiscoverCommand";
9
+ import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "../commands/GenerateInviteCommand";
10
+ import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "../commands/GenerateUploadUrlCommand";
11
+ import { GetMatchCommandInput, GetMatchCommandOutput } from "../commands/GetMatchCommand";
12
+ import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "../commands/GetMyProfileCommand";
13
+ import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "../commands/GetPreferencesCommand";
14
+ import { GetProfileCommandInput, GetProfileCommandOutput } from "../commands/GetProfileCommand";
15
+ import { GetStateCommandInput, GetStateCommandOutput } from "../commands/GetStateCommand";
16
+ import { GetUserByEmailCommandInput, GetUserByEmailCommandOutput } from "../commands/GetUserByEmailCommand";
17
+ import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
18
+ import { IndexLocationCommandInput, IndexLocationCommandOutput } from "../commands/IndexLocationCommand";
19
+ import { InitUserCommandInput, InitUserCommandOutput } from "../commands/InitUserCommand";
20
+ import { LinkEmailCommandInput, LinkEmailCommandOutput } from "../commands/LinkEmailCommand";
21
+ import { LinkSocialCommandInput, LinkSocialCommandOutput } from "../commands/LinkSocialCommand";
22
+ import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "../commands/RegisterPhoneCommand";
23
+ import { RemoveLocationCommandInput, RemoveLocationCommandOutput } from "../commands/RemoveLocationCommand";
24
+ import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "../commands/RequestEmailOtpCommand";
25
+ import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "../commands/RequestPhoneOtpCommand";
26
+ import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "../commands/RequestPhoneUpdateOtpCommand";
27
+ import { SwipeCommandInput, SwipeCommandOutput } from "../commands/SwipeCommand";
28
+ import { UnhookCommandInput, UnhookCommandOutput } from "../commands/UnhookCommand";
29
+ import { UnlinkSocialCommandInput, UnlinkSocialCommandOutput } from "../commands/UnlinkSocialCommand";
30
+ import { UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput } from "../commands/UpdateEntitlementsCommand";
31
+ import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
32
+ import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "../commands/UpdatePreferencesCommand";
33
+ import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "../commands/UpdateProfileCommand";
34
+ import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "../commands/UpgradeUserCommand";
35
+ import { UploadPreKeysCommandInput, UploadPreKeysCommandOutput } from "../commands/UploadPreKeysCommand";
36
+ import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "../commands/ValidateInviteCommand";
37
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
38
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
39
+ /**
40
+ * serializeAws_restJson1ClaimPreKeyBundleCommand
41
+ */
42
+ export declare const se_ClaimPreKeyBundleCommand: (input: ClaimPreKeyBundleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ /**
44
+ * serializeAws_restJson1DeleteMatchMessagesCommand
45
+ */
46
+ export declare const se_DeleteMatchMessagesCommand: (input: DeleteMatchMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ /**
48
+ * serializeAws_restJson1UploadPreKeysCommand
49
+ */
50
+ export declare const se_UploadPreKeysCommand: (input: UploadPreKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
+ /**
52
+ * serializeAws_restJson1AuthSocialCommand
53
+ */
54
+ export declare const se_AuthSocialCommand: (input: AuthSocialCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ /**
56
+ * serializeAws_restJson1GenerateInviteCommand
57
+ */
58
+ export declare const se_GenerateInviteCommand: (input: GenerateInviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
+ /**
60
+ * serializeAws_restJson1GetUserCommand
61
+ */
62
+ export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ /**
64
+ * serializeAws_restJson1GetUserByEmailCommand
65
+ */
66
+ export declare const se_GetUserByEmailCommand: (input: GetUserByEmailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
+ /**
68
+ * serializeAws_restJson1LinkEmailCommand
69
+ */
70
+ export declare const se_LinkEmailCommand: (input: LinkEmailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ /**
72
+ * serializeAws_restJson1LinkSocialCommand
73
+ */
74
+ export declare const se_LinkSocialCommand: (input: LinkSocialCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
+ /**
76
+ * serializeAws_restJson1RegisterPhoneCommand
77
+ */
78
+ export declare const se_RegisterPhoneCommand: (input: RegisterPhoneCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
+ /**
80
+ * serializeAws_restJson1RequestEmailOtpCommand
81
+ */
82
+ export declare const se_RequestEmailOtpCommand: (input: RequestEmailOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
+ /**
84
+ * serializeAws_restJson1RequestPhoneOtpCommand
85
+ */
86
+ export declare const se_RequestPhoneOtpCommand: (input: RequestPhoneOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
+ /**
88
+ * serializeAws_restJson1RequestPhoneUpdateOtpCommand
89
+ */
90
+ export declare const se_RequestPhoneUpdateOtpCommand: (input: RequestPhoneUpdateOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ /**
92
+ * serializeAws_restJson1UnlinkSocialCommand
93
+ */
94
+ export declare const se_UnlinkSocialCommand: (input: UnlinkSocialCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
+ /**
96
+ * serializeAws_restJson1UpdateEntitlementsCommand
97
+ */
98
+ export declare const se_UpdateEntitlementsCommand: (input: UpdateEntitlementsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
+ /**
100
+ * serializeAws_restJson1UpdatePhoneNumberCommand
101
+ */
102
+ export declare const se_UpdatePhoneNumberCommand: (input: UpdatePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
+ /**
104
+ * serializeAws_restJson1ValidateInviteCommand
105
+ */
106
+ export declare const se_ValidateInviteCommand: (input: ValidateInviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
107
+ /**
108
+ * serializeAws_restJson1DiscoverCommand
109
+ */
110
+ export declare const se_DiscoverCommand: (input: DiscoverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
+ /**
112
+ * serializeAws_restJson1GetPreferencesCommand
113
+ */
114
+ export declare const se_GetPreferencesCommand: (input: GetPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
+ /**
116
+ * serializeAws_restJson1IndexLocationCommand
117
+ */
118
+ export declare const se_IndexLocationCommand: (input: IndexLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
+ /**
120
+ * serializeAws_restJson1RemoveLocationCommand
121
+ */
122
+ export declare const se_RemoveLocationCommand: (input: RemoveLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
+ /**
124
+ * serializeAws_restJson1SwipeCommand
125
+ */
126
+ export declare const se_SwipeCommand: (input: SwipeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
+ /**
128
+ * serializeAws_restJson1UpdatePreferencesCommand
129
+ */
130
+ export declare const se_UpdatePreferencesCommand: (input: UpdatePreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1CompleteLivenessSessionCommand
133
+ */
134
+ export declare const se_CompleteLivenessSessionCommand: (input: CompleteLivenessSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
+ /**
136
+ * serializeAws_restJson1CreateLivenessSessionCommand
137
+ */
138
+ export declare const se_CreateLivenessSessionCommand: (input: CreateLivenessSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
139
+ /**
140
+ * serializeAws_restJson1DeleteProfileCommand
141
+ */
142
+ export declare const se_DeleteProfileCommand: (input: DeleteProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_restJson1GenerateUploadUrlCommand
145
+ */
146
+ export declare const se_GenerateUploadUrlCommand: (input: GenerateUploadUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
+ /**
148
+ * serializeAws_restJson1GetMyProfileCommand
149
+ */
150
+ export declare const se_GetMyProfileCommand: (input: GetMyProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
151
+ /**
152
+ * serializeAws_restJson1GetProfileCommand
153
+ */
154
+ export declare const se_GetProfileCommand: (input: GetProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
155
+ /**
156
+ * serializeAws_restJson1UpdateProfileCommand
157
+ */
158
+ export declare const se_UpdateProfileCommand: (input: UpdateProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
159
+ /**
160
+ * serializeAws_restJson1CompleteOnboardingCommand
161
+ */
162
+ export declare const se_CompleteOnboardingCommand: (input: CompleteOnboardingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
+ /**
164
+ * serializeAws_restJson1GetMatchCommand
165
+ */
166
+ export declare const se_GetMatchCommand: (input: GetMatchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
+ /**
168
+ * serializeAws_restJson1GetStateCommand
169
+ */
170
+ export declare const se_GetStateCommand: (input: GetStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
171
+ /**
172
+ * serializeAws_restJson1InitUserCommand
173
+ */
174
+ export declare const se_InitUserCommand: (input: InitUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
175
+ /**
176
+ * serializeAws_restJson1UnhookCommand
177
+ */
178
+ export declare const se_UnhookCommand: (input: UnhookCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
+ /**
180
+ * serializeAws_restJson1UpgradeUserCommand
181
+ */
182
+ export declare const se_UpgradeUserCommand: (input: UpgradeUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
+ /**
184
+ * deserializeAws_restJson1ClaimPreKeyBundleCommand
185
+ */
186
+ export declare const de_ClaimPreKeyBundleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ClaimPreKeyBundleCommandOutput>;
187
+ /**
188
+ * deserializeAws_restJson1DeleteMatchMessagesCommand
189
+ */
190
+ export declare const de_DeleteMatchMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMatchMessagesCommandOutput>;
191
+ /**
192
+ * deserializeAws_restJson1UploadPreKeysCommand
193
+ */
194
+ export declare const de_UploadPreKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UploadPreKeysCommandOutput>;
195
+ /**
196
+ * deserializeAws_restJson1AuthSocialCommand
197
+ */
198
+ export declare const de_AuthSocialCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AuthSocialCommandOutput>;
199
+ /**
200
+ * deserializeAws_restJson1GenerateInviteCommand
201
+ */
202
+ export declare const de_GenerateInviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateInviteCommandOutput>;
203
+ /**
204
+ * deserializeAws_restJson1GetUserCommand
205
+ */
206
+ export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
207
+ /**
208
+ * deserializeAws_restJson1GetUserByEmailCommand
209
+ */
210
+ export declare const de_GetUserByEmailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserByEmailCommandOutput>;
211
+ /**
212
+ * deserializeAws_restJson1LinkEmailCommand
213
+ */
214
+ export declare const de_LinkEmailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LinkEmailCommandOutput>;
215
+ /**
216
+ * deserializeAws_restJson1LinkSocialCommand
217
+ */
218
+ export declare const de_LinkSocialCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LinkSocialCommandOutput>;
219
+ /**
220
+ * deserializeAws_restJson1RegisterPhoneCommand
221
+ */
222
+ export declare const de_RegisterPhoneCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterPhoneCommandOutput>;
223
+ /**
224
+ * deserializeAws_restJson1RequestEmailOtpCommand
225
+ */
226
+ export declare const de_RequestEmailOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RequestEmailOtpCommandOutput>;
227
+ /**
228
+ * deserializeAws_restJson1RequestPhoneOtpCommand
229
+ */
230
+ export declare const de_RequestPhoneOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RequestPhoneOtpCommandOutput>;
231
+ /**
232
+ * deserializeAws_restJson1RequestPhoneUpdateOtpCommand
233
+ */
234
+ export declare const de_RequestPhoneUpdateOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RequestPhoneUpdateOtpCommandOutput>;
235
+ /**
236
+ * deserializeAws_restJson1UnlinkSocialCommand
237
+ */
238
+ export declare const de_UnlinkSocialCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnlinkSocialCommandOutput>;
239
+ /**
240
+ * deserializeAws_restJson1UpdateEntitlementsCommand
241
+ */
242
+ export declare const de_UpdateEntitlementsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEntitlementsCommandOutput>;
243
+ /**
244
+ * deserializeAws_restJson1UpdatePhoneNumberCommand
245
+ */
246
+ export declare const de_UpdatePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberCommandOutput>;
247
+ /**
248
+ * deserializeAws_restJson1ValidateInviteCommand
249
+ */
250
+ export declare const de_ValidateInviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ValidateInviteCommandOutput>;
251
+ /**
252
+ * deserializeAws_restJson1DiscoverCommand
253
+ */
254
+ export declare const de_DiscoverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DiscoverCommandOutput>;
255
+ /**
256
+ * deserializeAws_restJson1GetPreferencesCommand
257
+ */
258
+ export declare const de_GetPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPreferencesCommandOutput>;
259
+ /**
260
+ * deserializeAws_restJson1IndexLocationCommand
261
+ */
262
+ export declare const de_IndexLocationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<IndexLocationCommandOutput>;
263
+ /**
264
+ * deserializeAws_restJson1RemoveLocationCommand
265
+ */
266
+ export declare const de_RemoveLocationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveLocationCommandOutput>;
267
+ /**
268
+ * deserializeAws_restJson1SwipeCommand
269
+ */
270
+ export declare const de_SwipeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SwipeCommandOutput>;
271
+ /**
272
+ * deserializeAws_restJson1UpdatePreferencesCommand
273
+ */
274
+ export declare const de_UpdatePreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePreferencesCommandOutput>;
275
+ /**
276
+ * deserializeAws_restJson1CompleteLivenessSessionCommand
277
+ */
278
+ export declare const de_CompleteLivenessSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompleteLivenessSessionCommandOutput>;
279
+ /**
280
+ * deserializeAws_restJson1CreateLivenessSessionCommand
281
+ */
282
+ export declare const de_CreateLivenessSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLivenessSessionCommandOutput>;
283
+ /**
284
+ * deserializeAws_restJson1DeleteProfileCommand
285
+ */
286
+ export declare const de_DeleteProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProfileCommandOutput>;
287
+ /**
288
+ * deserializeAws_restJson1GenerateUploadUrlCommand
289
+ */
290
+ export declare const de_GenerateUploadUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateUploadUrlCommandOutput>;
291
+ /**
292
+ * deserializeAws_restJson1GetMyProfileCommand
293
+ */
294
+ export declare const de_GetMyProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMyProfileCommandOutput>;
295
+ /**
296
+ * deserializeAws_restJson1GetProfileCommand
297
+ */
298
+ export declare const de_GetProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProfileCommandOutput>;
299
+ /**
300
+ * deserializeAws_restJson1UpdateProfileCommand
301
+ */
302
+ export declare const de_UpdateProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProfileCommandOutput>;
303
+ /**
304
+ * deserializeAws_restJson1CompleteOnboardingCommand
305
+ */
306
+ export declare const de_CompleteOnboardingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompleteOnboardingCommandOutput>;
307
+ /**
308
+ * deserializeAws_restJson1GetMatchCommand
309
+ */
310
+ export declare const de_GetMatchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMatchCommandOutput>;
311
+ /**
312
+ * deserializeAws_restJson1GetStateCommand
313
+ */
314
+ export declare const de_GetStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStateCommandOutput>;
315
+ /**
316
+ * deserializeAws_restJson1InitUserCommand
317
+ */
318
+ export declare const de_InitUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InitUserCommandOutput>;
319
+ /**
320
+ * deserializeAws_restJson1UnhookCommand
321
+ */
322
+ export declare const de_UnhookCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnhookCommandOutput>;
323
+ /**
324
+ * deserializeAws_restJson1UpgradeUserCommand
325
+ */
326
+ export declare const de_UpgradeUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpgradeUserCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { OneHookServiceClientConfig } from "./OneHookServiceClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: OneHookServiceClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ apiVersion: string;
17
+ cacheMiddleware?: boolean | undefined;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: string | Uint8Array) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@smithy/types").Logger;
25
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
26
+ endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
27
+ tls?: boolean | undefined;
28
+ useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
29
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
33
+ schemeId: string;
34
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
35
+ signer: import("@smithy/core").NoAuthSigner;
36
+ }[];
37
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OneHookServiceHttpAuthSchemeProvider;
38
+ };
@@ -0,0 +1,38 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { OneHookServiceClientConfig } from "./OneHookServiceClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: OneHookServiceClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
+ apiVersion: string;
18
+ cacheMiddleware?: boolean | undefined;
19
+ urlParser: import("@smithy/types").UrlParser;
20
+ base64Decoder: import("@smithy/types").Decoder;
21
+ base64Encoder: (_input: string | Uint8Array) => string;
22
+ utf8Decoder: import("@smithy/types").Decoder;
23
+ utf8Encoder: (input: string | Uint8Array) => string;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@smithy/types").Logger;
26
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
27
+ endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
28
+ tls?: boolean | undefined;
29
+ useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
33
+ schemeId: string;
34
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
35
+ signer: import("@smithy/core").NoAuthSigner;
36
+ }[];
37
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OneHookServiceHttpAuthSchemeProvider;
38
+ };
@@ -0,0 +1,37 @@
1
+ import { OneHookServiceClientConfig } from "./OneHookServiceClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: OneHookServiceClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ retryMode: string | import("@smithy/types").Provider<string>;
21
+ logger: import("@smithy/types").Logger;
22
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
23
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
+ endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
26
+ tls?: boolean | undefined;
27
+ useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
28
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
30
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
31
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
32
+ schemeId: string;
33
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
34
+ signer: import("@smithy/core").NoAuthSigner;
35
+ }[];
36
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OneHookServiceHttpAuthSchemeProvider;
37
+ };
@@ -0,0 +1,23 @@
1
+ import { NoAuthSigner } from "@smithy/core";
2
+ import { IdentityProviderConfig } from "@smithy/types";
3
+ import { OneHookServiceClientConfig } from "./OneHookServiceClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export declare const getRuntimeConfig: (config: OneHookServiceClientConfig) => {
8
+ apiVersion: string;
9
+ base64Decoder: import("@smithy/types").Decoder;
10
+ base64Encoder: (_input: string | Uint8Array) => string;
11
+ disableHostPrefix: boolean;
12
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
13
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OneHookServiceHttpAuthSchemeProvider;
14
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
15
+ schemeId: string;
16
+ identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
17
+ signer: NoAuthSigner;
18
+ }[];
19
+ logger: import("@smithy/types").Logger;
20
+ urlParser: import("@smithy/types").UrlParser;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
+ };
@@ -0,0 +1,17 @@
1
+ import { OneHookServiceExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: OneHookServiceExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
package/package.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "onehook-api-client",
3
+ "description": "OneHook API Client",
4
+ "version": "1.0.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "prepack": "yarn run clean && yarn run build"
13
+ },
14
+ "main": "./dist-cjs/index.js",
15
+ "types": "./dist-types/index.d.ts",
16
+ "module": "./dist-es/index.js",
17
+ "sideEffects": false,
18
+ "dependencies": {
19
+ "tslib": "^2.6.2",
20
+ "@aws-crypto/sha256-browser": "5.2.0",
21
+ "@aws-crypto/sha256-js": "5.2.0",
22
+ "@aws-sdk/core": "3.693.0",
23
+ "@aws-sdk/middleware-host-header": "3.693.0",
24
+ "@aws-sdk/middleware-logger": "3.693.0",
25
+ "@aws-sdk/middleware-recursion-detection": "3.693.0",
26
+ "@aws-sdk/middleware-user-agent": "3.693.0",
27
+ "@aws-sdk/types": "3.692.0",
28
+ "@aws-sdk/util-user-agent-browser": "3.693.0",
29
+ "@aws-sdk/util-user-agent-node": "3.693.0",
30
+ "@smithy/config-resolver": "^3.0.12",
31
+ "@smithy/core": "^2.5.3",
32
+ "@smithy/fetch-http-handler": "^4.1.1",
33
+ "@smithy/hash-node": "^3.0.10",
34
+ "@smithy/invalid-dependency": "^3.0.10",
35
+ "@smithy/middleware-content-length": "^3.0.12",
36
+ "@smithy/middleware-retry": "^3.0.27",
37
+ "@smithy/middleware-serde": "^3.0.10",
38
+ "@smithy/middleware-stack": "^3.0.10",
39
+ "@smithy/node-config-provider": "^3.1.11",
40
+ "@smithy/node-http-handler": "^3.3.1",
41
+ "@smithy/protocol-http": "^4.1.7",
42
+ "@smithy/smithy-client": "^3.4.4",
43
+ "@smithy/types": "^3.7.1",
44
+ "@smithy/url-parser": "^3.0.10",
45
+ "@smithy/util-base64": "^3.0.0",
46
+ "@smithy/util-body-length-browser": "^3.0.0",
47
+ "@smithy/util-body-length-node": "^3.0.0",
48
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
49
+ "@smithy/util-defaults-mode-node": "^3.0.27",
50
+ "@smithy/util-middleware": "^3.0.10",
51
+ "@smithy/util-retry": "^3.0.10",
52
+ "@smithy/util-utf8": "^3.0.0"
53
+ },
54
+ "devDependencies": {
55
+ "@tsconfig/node16": "16.1.3",
56
+ "concurrently": "7.0.0",
57
+ "downlevel-dts": "0.10.1",
58
+ "rimraf": "^3.0.0",
59
+ "typescript": "~4.9.5",
60
+ "@types/node": "^16.18.96"
61
+ },
62
+ "engines": {
63
+ "node": ">=16.0.0"
64
+ },
65
+ "typesVersions": {
66
+ "<4.0": {
67
+ "dist-types/*": [
68
+ "dist-types/ts3.4/*"
69
+ ]
70
+ }
71
+ },
72
+ "files": [
73
+ "dist-*/**"
74
+ ],
75
+ "browser": {
76
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
77
+ },
78
+ "react-native": {
79
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
80
+ },
81
+ "exports": {
82
+ ".": {
83
+ "browser": "./dist-es/index.js",
84
+ "types": "./dist-types/index.d.ts",
85
+ "import": "./dist-es/index.js",
86
+ "require": "./dist-cjs/index.js"
87
+ },
88
+ "./graphql": {
89
+ "types": "./dist-types/graphql/types.d.ts",
90
+ "import": "./dist-es/graphql/types.js",
91
+ "require": "./dist-cjs/graphql/types.js"
92
+ },
93
+ "./package.json": "./package.json"
94
+ }
95
+ }