@truvity/sdk 0.33.1 → 0.36.2

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 (681) hide show
  1. package/ExtendedClient.d.ts +7 -1
  2. package/ExtendedClient.d.ts.map +1 -1
  3. package/ExtendedClient.js +19 -0
  4. package/ExtendedClient.js.map +1 -1
  5. package/api/errors/ServiceUnavailableError.d.ts +10 -0
  6. package/api/errors/ServiceUnavailableError.d.ts.map +1 -0
  7. package/api/errors/ServiceUnavailableError.js +53 -0
  8. package/api/errors/ServiceUnavailableError.js.map +1 -0
  9. package/api/errors/index.d.ts +1 -0
  10. package/api/errors/index.d.ts.map +1 -1
  11. package/api/errors/index.js +1 -0
  12. package/api/errors/index.js.map +1 -1
  13. package/api/resources/apiKeys/client/Client.js +9 -9
  14. package/api/resources/apiKeys/client/Client.js.map +1 -1
  15. package/api/resources/credentials/client/Client.js +12 -12
  16. package/api/resources/credentials/client/Client.js.map +1 -1
  17. package/api/resources/credentials/client/requests/CredentialInput.d.ts +1 -2
  18. package/api/resources/credentials/client/requests/CredentialInput.d.ts.map +1 -1
  19. package/api/resources/credentials/client/requests/CredentialInput.js.map +1 -1
  20. package/api/resources/desk/client/Client.js +2 -2
  21. package/api/resources/desk/client/Client.js.map +1 -1
  22. package/api/resources/didcommMessages/client/Client.d.ts +2 -2
  23. package/api/resources/didcommMessages/client/Client.js +11 -11
  24. package/api/resources/didcommMessages/client/Client.js.map +1 -1
  25. package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +3 -3
  26. package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts.map +1 -1
  27. package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
  28. package/api/resources/dids/client/Client.js +1 -1
  29. package/api/resources/dids/client/Client.js.map +1 -1
  30. package/api/resources/drafts/client/Client.d.ts +75 -7
  31. package/api/resources/drafts/client/Client.d.ts.map +1 -1
  32. package/api/resources/drafts/client/Client.js +214 -19
  33. package/api/resources/drafts/client/Client.js.map +1 -1
  34. package/api/resources/drafts/client/requests/DraftInput.d.ts +3 -3
  35. package/api/resources/drafts/client/requests/DraftInput.d.ts.map +1 -1
  36. package/api/resources/drafts/client/requests/DraftInput.js.map +1 -1
  37. package/api/resources/drafts/client/requests/DraftIssue.d.ts +6 -2
  38. package/api/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
  39. package/api/resources/drafts/client/requests/DraftIssue.js.map +1 -1
  40. package/api/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts +44 -0
  41. package/api/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts.map +1 -0
  42. package/api/resources/drafts/client/requests/DraftLatestIssueRequest.js +6 -0
  43. package/api/resources/drafts/client/requests/DraftLatestIssueRequest.js.map +1 -0
  44. package/api/resources/drafts/client/requests/index.d.ts +1 -0
  45. package/api/resources/drafts/client/requests/index.d.ts.map +1 -1
  46. package/api/resources/drafts/client/requests/index.js.map +1 -1
  47. package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts +12 -0
  48. package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts.map +1 -0
  49. package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.js +11 -0
  50. package/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.js.map +1 -0
  51. package/api/resources/drafts/types/index.d.ts +1 -0
  52. package/api/resources/drafts/types/index.d.ts.map +1 -1
  53. package/api/resources/drafts/types/index.js +1 -0
  54. package/api/resources/drafts/types/index.js.map +1 -1
  55. package/api/resources/files/client/Client.js +11 -11
  56. package/api/resources/files/client/Client.js.map +1 -1
  57. package/api/resources/files/client/requests/FileInput.d.ts +1 -2
  58. package/api/resources/files/client/requests/FileInput.d.ts.map +1 -1
  59. package/api/resources/files/client/requests/FileInput.js.map +1 -1
  60. package/api/resources/gdpr/client/Client.js +1 -1
  61. package/api/resources/gdpr/client/Client.js.map +1 -1
  62. package/api/resources/keys/client/Client.js +13 -13
  63. package/api/resources/keys/client/Client.js.map +1 -1
  64. package/api/resources/keys/client/requests/KeyGenerateInput.d.ts +1 -1
  65. package/api/resources/keys/client/requests/KeyGenerateInput.d.ts.map +1 -1
  66. package/api/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
  67. package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts +2 -2
  68. package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts.map +1 -1
  69. package/api/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
  70. package/api/resources/presentations/client/Client.d.ts +2 -2
  71. package/api/resources/presentations/client/Client.js +16 -16
  72. package/api/resources/presentations/client/Client.js.map +1 -1
  73. package/api/resources/presentations/client/requests/PresentationExport.d.ts +1 -1
  74. package/api/resources/presentations/client/requests/PresentationExport.d.ts.map +1 -1
  75. package/api/resources/presentations/client/requests/PresentationExport.js.map +1 -1
  76. package/api/resources/presentations/client/requests/PresentationInput.d.ts +1 -2
  77. package/api/resources/presentations/client/requests/PresentationInput.d.ts.map +1 -1
  78. package/api/resources/presentations/client/requests/PresentationInput.js.map +1 -1
  79. package/api/resources/presentations/client/requests/PresentationIssue.d.ts +4 -4
  80. package/api/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
  81. package/api/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
  82. package/api/types/ApiKeyFull.d.ts +2 -2
  83. package/api/types/ApiKeyFull.d.ts.map +1 -1
  84. package/api/types/ApiKeyFull.js.map +1 -1
  85. package/api/types/Credential.d.ts +12 -8
  86. package/api/types/Credential.d.ts.map +1 -1
  87. package/api/types/Credential.js.map +1 -1
  88. package/api/types/Credential11.d.ts +7 -7
  89. package/api/types/Credential11.d.ts.map +1 -1
  90. package/api/types/Credential11.js.map +1 -1
  91. package/api/types/CredentialFilter.d.ts +4 -1
  92. package/api/types/CredentialFilter.d.ts.map +1 -1
  93. package/api/types/CredentialFilter.js.map +1 -1
  94. package/api/types/CredentialFilterData.d.ts +1 -1
  95. package/api/types/CredentialFilterData.d.ts.map +1 -1
  96. package/api/types/CredentialFilterData.js.map +1 -1
  97. package/api/types/CredentialProof.d.ts +2 -2
  98. package/api/types/CredentialProof.d.ts.map +1 -1
  99. package/api/types/CredentialProof.js.map +1 -1
  100. package/api/types/DidCommMessage.d.ts +3 -3
  101. package/api/types/DidCommMessage.d.ts.map +1 -1
  102. package/api/types/DidCommMessage.js.map +1 -1
  103. package/api/types/DidCommMessageSend.d.ts +7 -7
  104. package/api/types/DidCommMessageSend.d.ts.map +1 -1
  105. package/api/types/DidCommMessageSend.js.map +1 -1
  106. package/api/types/DidDocument.d.ts +6 -6
  107. package/api/types/DidDocument.d.ts.map +1 -1
  108. package/api/types/DidDocument.js.map +1 -1
  109. package/api/types/Draft.d.ts +8 -4
  110. package/api/types/Draft.d.ts.map +1 -1
  111. package/api/types/Draft.js.map +1 -1
  112. package/api/types/DraftCreate.d.ts +2 -2
  113. package/api/types/DraftCreate.d.ts.map +1 -1
  114. package/api/types/DraftCreate.js.map +1 -1
  115. package/api/types/DraftEnumValue.d.ts +2 -2
  116. package/api/types/DraftEnumValue.d.ts.map +1 -1
  117. package/api/types/DraftEnumValue.js.map +1 -1
  118. package/api/types/DraftFieldBooleanValue.d.ts +2 -2
  119. package/api/types/DraftFieldBooleanValue.d.ts.map +1 -1
  120. package/api/types/DraftFieldBooleanValue.js.map +1 -1
  121. package/api/types/DraftFieldDateTimeValue.d.ts +2 -2
  122. package/api/types/DraftFieldDateTimeValue.d.ts.map +1 -1
  123. package/api/types/DraftFieldDateTimeValue.js.map +1 -1
  124. package/api/types/DraftFieldDateValue.d.ts +2 -2
  125. package/api/types/DraftFieldDateValue.d.ts.map +1 -1
  126. package/api/types/DraftFieldDateValue.js.map +1 -1
  127. package/api/types/DraftFieldFileValue.d.ts +2 -2
  128. package/api/types/DraftFieldFileValue.d.ts.map +1 -1
  129. package/api/types/DraftFieldFileValue.js.map +1 -1
  130. package/api/types/DraftFieldLinkValue.d.ts +2 -2
  131. package/api/types/DraftFieldLinkValue.d.ts.map +1 -1
  132. package/api/types/DraftFieldLinkValue.js.map +1 -1
  133. package/api/types/DraftFieldNumberValue.d.ts +2 -2
  134. package/api/types/DraftFieldNumberValue.d.ts.map +1 -1
  135. package/api/types/DraftFieldNumberValue.js.map +1 -1
  136. package/api/types/DraftFieldStringValue.d.ts +2 -2
  137. package/api/types/DraftFieldStringValue.d.ts.map +1 -1
  138. package/api/types/DraftFieldStringValue.js.map +1 -1
  139. package/api/types/DraftFieldStructValue.d.ts +6 -6
  140. package/api/types/DraftFieldStructValue.d.ts.map +1 -1
  141. package/api/types/DraftFieldStructValue.js.map +1 -1
  142. package/api/types/DraftFilter.d.ts +4 -1
  143. package/api/types/DraftFilter.d.ts.map +1 -1
  144. package/api/types/DraftFilter.js.map +1 -1
  145. package/api/types/DraftFilterData.d.ts +1 -1
  146. package/api/types/DraftFilterData.d.ts.map +1 -1
  147. package/api/types/DraftFilterData.js.map +1 -1
  148. package/api/types/DraftSchema.d.ts +11 -11
  149. package/api/types/DraftSchema.d.ts.map +1 -1
  150. package/api/types/DraftSchema.js.map +1 -1
  151. package/api/types/DraftUpdate.d.ts +0 -2
  152. package/api/types/DraftUpdate.d.ts.map +1 -1
  153. package/api/types/DraftUpdate.js.map +1 -1
  154. package/api/types/EcdsaSecp256K1VerificationKey2019.d.ts +6 -6
  155. package/api/types/EcdsaSecp256K1VerificationKey2019.d.ts.map +1 -1
  156. package/api/types/EcdsaSecp256K1VerificationKey2019.js.map +1 -1
  157. package/api/types/ErrorModel.d.ts +4 -4
  158. package/api/types/ErrorModel.d.ts.map +1 -1
  159. package/api/types/ErrorModel.js.map +1 -1
  160. package/api/types/File_.d.ts +4 -4
  161. package/api/types/File_.d.ts.map +1 -1
  162. package/api/types/File_.js.map +1 -1
  163. package/api/types/KeyFilterData.d.ts +1 -1
  164. package/api/types/KeyFilterData.d.ts.map +1 -1
  165. package/api/types/KeyFilterData.js.map +1 -1
  166. package/api/types/KeyPublic.d.ts +20 -20
  167. package/api/types/KeyPublic.d.ts.map +1 -1
  168. package/api/types/KeyPublic.js.map +1 -1
  169. package/api/types/LinkedRef.d.ts +22 -0
  170. package/api/types/LinkedRef.d.ts.map +1 -0
  171. package/api/types/LinkedRef.js +6 -0
  172. package/api/types/LinkedRef.js.map +1 -0
  173. package/api/types/LinkedResourceRef.d.ts +14 -0
  174. package/api/types/LinkedResourceRef.d.ts.map +1 -0
  175. package/api/types/LinkedResourceRef.js +6 -0
  176. package/api/types/LinkedResourceRef.js.map +1 -0
  177. package/api/types/Presentation.d.ts +9 -6
  178. package/api/types/Presentation.d.ts.map +1 -1
  179. package/api/types/Presentation.js.map +1 -1
  180. package/api/types/PresentationFilter.d.ts +3 -1
  181. package/api/types/PresentationFilter.d.ts.map +1 -1
  182. package/api/types/PresentationFilter.js.map +1 -1
  183. package/api/types/PresentationFilterData.d.ts +1 -1
  184. package/api/types/PresentationFilterData.d.ts.map +1 -1
  185. package/api/types/PresentationFilterData.js.map +1 -1
  186. package/api/types/ProblemBadRequest.d.ts +4 -4
  187. package/api/types/ProblemBadRequest.d.ts.map +1 -1
  188. package/api/types/ProblemBadRequest.js.map +1 -1
  189. package/api/types/ProblemBadRequestBlobEmptyData.d.ts +4 -4
  190. package/api/types/ProblemBadRequestBlobEmptyData.d.ts.map +1 -1
  191. package/api/types/ProblemBadRequestBlobEmptyData.js.map +1 -1
  192. package/api/types/ProblemBadRequestBlobInvalidJson.d.ts +4 -4
  193. package/api/types/ProblemBadRequestBlobInvalidJson.d.ts.map +1 -1
  194. package/api/types/ProblemBadRequestBlobInvalidJson.js.map +1 -1
  195. package/api/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts +4 -4
  196. package/api/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts.map +1 -1
  197. package/api/types/ProblemBadRequestHasNullUnicodeCharacter.js.map +1 -1
  198. package/api/types/ProblemBlobNotFound.d.ts +9 -9
  199. package/api/types/ProblemBlobNotFound.d.ts.map +1 -1
  200. package/api/types/ProblemBlobNotFound.js.map +1 -1
  201. package/api/types/ProblemConflict.d.ts +4 -4
  202. package/api/types/ProblemConflict.d.ts.map +1 -1
  203. package/api/types/ProblemConflict.js.map +1 -1
  204. package/api/types/ProblemConflictBlobRestoreInProgress.d.ts +4 -4
  205. package/api/types/ProblemConflictBlobRestoreInProgress.d.ts.map +1 -1
  206. package/api/types/ProblemConflictBlobRestoreInProgress.js.map +1 -1
  207. package/api/types/ProblemConflictResource.d.ts +4 -4
  208. package/api/types/ProblemConflictResource.d.ts.map +1 -1
  209. package/api/types/ProblemConflictResource.js.map +1 -1
  210. package/api/types/ProblemForbidden.d.ts +4 -4
  211. package/api/types/ProblemForbidden.d.ts.map +1 -1
  212. package/api/types/ProblemForbidden.js.map +1 -1
  213. package/api/types/ProblemInternalServerError.d.ts +6 -6
  214. package/api/types/ProblemInternalServerError.d.ts.map +1 -1
  215. package/api/types/ProblemInternalServerError.js.map +1 -1
  216. package/api/types/ProblemMethodNotAllowed.d.ts +4 -4
  217. package/api/types/ProblemMethodNotAllowed.d.ts.map +1 -1
  218. package/api/types/ProblemMethodNotAllowed.js.map +1 -1
  219. package/api/types/ProblemMethodNotAllowedAlive.d.ts +4 -4
  220. package/api/types/ProblemMethodNotAllowedAlive.d.ts.map +1 -1
  221. package/api/types/ProblemMethodNotAllowedAlive.js.map +1 -1
  222. package/api/types/ProblemMethodNotAllowedDeleted.d.ts +4 -4
  223. package/api/types/ProblemMethodNotAllowedDeleted.d.ts.map +1 -1
  224. package/api/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
  225. package/api/types/ProblemMethodNotAllowedRoute.d.ts +4 -4
  226. package/api/types/ProblemMethodNotAllowedRoute.d.ts.map +1 -1
  227. package/api/types/ProblemMethodNotAllowedRoute.js.map +1 -1
  228. package/api/types/ProblemNotFound.d.ts +4 -4
  229. package/api/types/ProblemNotFound.d.ts.map +1 -1
  230. package/api/types/ProblemNotFound.js.map +1 -1
  231. package/api/types/ProblemPreconditionFailed.d.ts +4 -4
  232. package/api/types/ProblemPreconditionFailed.d.ts.map +1 -1
  233. package/api/types/ProblemPreconditionFailed.js.map +1 -1
  234. package/api/types/ProblemPreconditionFailedBlob.d.ts +9 -9
  235. package/api/types/ProblemPreconditionFailedBlob.d.ts.map +1 -1
  236. package/api/types/ProblemPreconditionFailedBlob.js.map +1 -1
  237. package/api/types/ProblemPreconditionFailedResource.d.ts +5 -5
  238. package/api/types/ProblemPreconditionFailedResource.d.ts.map +1 -1
  239. package/api/types/ProblemPreconditionFailedResource.js.map +1 -1
  240. package/api/types/ProblemResourceNotFound.d.ts +9 -9
  241. package/api/types/ProblemResourceNotFound.d.ts.map +1 -1
  242. package/api/types/ProblemResourceNotFound.js.map +1 -1
  243. package/api/types/ProblemResourceRevisionNotFound.d.ts +5 -5
  244. package/api/types/ProblemResourceRevisionNotFound.d.ts.map +1 -1
  245. package/api/types/ProblemResourceRevisionNotFound.js.map +1 -1
  246. package/api/types/ProblemServiceUnavailable.d.ts +20 -0
  247. package/api/types/ProblemServiceUnavailable.d.ts.map +1 -0
  248. package/api/types/ProblemServiceUnavailable.js +6 -0
  249. package/api/types/ProblemServiceUnavailable.js.map +1 -0
  250. package/api/types/ProblemTooManyRequests.d.ts +4 -4
  251. package/api/types/ProblemTooManyRequests.d.ts.map +1 -1
  252. package/api/types/ProblemTooManyRequests.js.map +1 -1
  253. package/api/types/ProblemUnauthorized.d.ts +4 -4
  254. package/api/types/ProblemUnauthorized.d.ts.map +1 -1
  255. package/api/types/ProblemUnauthorized.js.map +1 -1
  256. package/api/types/ProblemUnsupportedMediaType.d.ts +4 -4
  257. package/api/types/ProblemUnsupportedMediaType.d.ts.map +1 -1
  258. package/api/types/ProblemUnsupportedMediaType.js.map +1 -1
  259. package/api/types/Resource.d.ts +11 -11
  260. package/api/types/Resource.d.ts.map +1 -1
  261. package/api/types/Resource.js.map +1 -1
  262. package/api/types/ResourceApiKey.d.ts +14 -14
  263. package/api/types/ResourceApiKey.d.ts.map +1 -1
  264. package/api/types/ResourceApiKey.js.map +1 -1
  265. package/api/types/ResourceApiKeyFull.d.ts +14 -14
  266. package/api/types/ResourceApiKeyFull.d.ts.map +1 -1
  267. package/api/types/ResourceApiKeyFull.js.map +1 -1
  268. package/api/types/ResourceCredential.d.ts +14 -14
  269. package/api/types/ResourceCredential.d.ts.map +1 -1
  270. package/api/types/ResourceCredential.js.map +1 -1
  271. package/api/types/ResourceDidCommMessage.d.ts +14 -14
  272. package/api/types/ResourceDidCommMessage.d.ts.map +1 -1
  273. package/api/types/ResourceDidCommMessage.js.map +1 -1
  274. package/api/types/ResourceDraft.d.ts +14 -14
  275. package/api/types/ResourceDraft.d.ts.map +1 -1
  276. package/api/types/ResourceDraft.js.map +1 -1
  277. package/api/types/ResourceFile.d.ts +14 -14
  278. package/api/types/ResourceFile.d.ts.map +1 -1
  279. package/api/types/ResourceFile.js.map +1 -1
  280. package/api/types/ResourceKeyPublic.d.ts +14 -14
  281. package/api/types/ResourceKeyPublic.d.ts.map +1 -1
  282. package/api/types/ResourceKeyPublic.js.map +1 -1
  283. package/api/types/ResourcePresentation.d.ts +14 -14
  284. package/api/types/ResourcePresentation.d.ts.map +1 -1
  285. package/api/types/ResourcePresentation.js.map +1 -1
  286. package/api/types/Service.d.ts +2 -2
  287. package/api/types/Service.d.ts.map +1 -1
  288. package/api/types/Service.js.map +1 -1
  289. package/api/types/ServiceUnavailableProblems.d.ts +14 -0
  290. package/api/types/ServiceUnavailableProblems.d.ts.map +1 -0
  291. package/api/types/ServiceUnavailableProblems.js +6 -0
  292. package/api/types/ServiceUnavailableProblems.js.map +1 -0
  293. package/api/types/UploadResponse.d.ts +1 -4
  294. package/api/types/UploadResponse.d.ts.map +1 -1
  295. package/api/types/UploadResponse.js.map +1 -1
  296. package/api/types/VerificationMethodMultikey.d.ts +6 -6
  297. package/api/types/VerificationMethodMultikey.d.ts.map +1 -1
  298. package/api/types/VerificationMethodMultikey.js.map +1 -1
  299. package/api/types/index.d.ts +8 -4
  300. package/api/types/index.d.ts.map +1 -1
  301. package/api/types/index.js +8 -4
  302. package/api/types/index.js.map +1 -1
  303. package/core/fetcher/Headers.d.ts +3 -0
  304. package/core/fetcher/Headers.d.ts.map +1 -0
  305. package/core/fetcher/Headers.js +85 -0
  306. package/core/fetcher/Headers.js.map +1 -0
  307. package/core/fetcher/RawResponse.d.ts.map +1 -1
  308. package/core/fetcher/RawResponse.js +3 -2
  309. package/core/fetcher/RawResponse.js.map +1 -1
  310. package/documents/credential/claims.d.ts.map +1 -1
  311. package/documents/credential/claims.js +10 -9
  312. package/documents/credential/claims.js.map +1 -1
  313. package/documents/credential.d.ts.map +1 -1
  314. package/documents/credential.js +3 -2
  315. package/documents/credential.js.map +1 -1
  316. package/documents/utils/error.d.ts +9 -0
  317. package/documents/utils/error.d.ts.map +1 -0
  318. package/documents/utils/error.js +14 -0
  319. package/documents/utils/error.js.map +1 -0
  320. package/documents/utils/error.spec.d.ts +2 -0
  321. package/documents/utils/error.spec.d.ts.map +1 -0
  322. package/documents/utils/error.spec.js +9 -0
  323. package/documents/utils/error.spec.js.map +1 -0
  324. package/index.d.ts +1 -0
  325. package/index.d.ts.map +1 -1
  326. package/index.js +1 -0
  327. package/index.js.map +1 -1
  328. package/middlewares/csrf/csrf.d.ts +27 -0
  329. package/middlewares/csrf/csrf.d.ts.map +1 -0
  330. package/middlewares/csrf/csrf.js +88 -0
  331. package/middlewares/csrf/csrf.js.map +1 -0
  332. package/middlewares/csrf/csrf.spec.d.ts +2 -0
  333. package/middlewares/csrf/csrf.spec.d.ts.map +1 -0
  334. package/middlewares/csrf/csrf.spec.js +136 -0
  335. package/middlewares/csrf/csrf.spec.js.map +1 -0
  336. package/middlewares/csrf/index.d.ts +2 -0
  337. package/middlewares/csrf/index.d.ts.map +1 -0
  338. package/middlewares/csrf/index.js +18 -0
  339. package/middlewares/csrf/index.js.map +1 -0
  340. package/middlewares/index.d.ts +3 -0
  341. package/middlewares/index.d.ts.map +1 -0
  342. package/middlewares/index.js +19 -0
  343. package/middlewares/index.js.map +1 -0
  344. package/middlewares/middleware.d.ts +6 -0
  345. package/middlewares/middleware.d.ts.map +1 -0
  346. package/middlewares/middleware.js +17 -0
  347. package/middlewares/middleware.js.map +1 -0
  348. package/middlewares/middleware.spec.d.ts +9 -0
  349. package/middlewares/middleware.spec.d.ts.map +1 -0
  350. package/middlewares/middleware.spec.js +121 -0
  351. package/middlewares/middleware.spec.js.map +1 -0
  352. package/package.json +1 -1
  353. package/reference.md +127 -11
  354. package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +1 -1
  355. package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts.map +1 -1
  356. package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.js +1 -1
  357. package/serialization/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
  358. package/serialization/resources/drafts/client/requests/DraftInput.d.ts +1 -1
  359. package/serialization/resources/drafts/client/requests/DraftInput.d.ts.map +1 -1
  360. package/serialization/resources/drafts/client/requests/DraftInput.js +1 -1
  361. package/serialization/resources/drafts/client/requests/DraftInput.js.map +1 -1
  362. package/serialization/resources/drafts/client/requests/DraftIssue.d.ts +3 -1
  363. package/serialization/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
  364. package/serialization/resources/drafts/client/requests/DraftIssue.js +3 -1
  365. package/serialization/resources/drafts/client/requests/DraftIssue.js.map +1 -1
  366. package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts +20 -0
  367. package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.d.ts.map +1 -0
  368. package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.js +51 -0
  369. package/serialization/resources/drafts/client/requests/DraftLatestIssueRequest.js.map +1 -0
  370. package/serialization/resources/drafts/client/requests/index.d.ts +1 -0
  371. package/serialization/resources/drafts/client/requests/index.d.ts.map +1 -1
  372. package/serialization/resources/drafts/client/requests/index.js +3 -1
  373. package/serialization/resources/drafts/client/requests/index.js.map +1 -1
  374. package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts +11 -0
  375. package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.d.ts.map +1 -0
  376. package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.js +42 -0
  377. package/serialization/resources/drafts/types/DraftLatestIssueRequestDidMethod.js.map +1 -0
  378. package/serialization/resources/drafts/types/index.d.ts +1 -0
  379. package/serialization/resources/drafts/types/index.d.ts.map +1 -1
  380. package/serialization/resources/drafts/types/index.js +1 -0
  381. package/serialization/resources/drafts/types/index.js.map +1 -1
  382. package/serialization/resources/keys/client/requests/KeyGenerateInput.d.ts +1 -1
  383. package/serialization/resources/keys/client/requests/KeyGenerateInput.d.ts.map +1 -1
  384. package/serialization/resources/keys/client/requests/KeyGenerateInput.js +1 -1
  385. package/serialization/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
  386. package/serialization/resources/keys/client/requests/KeyImportSecretInput.d.ts +1 -1
  387. package/serialization/resources/keys/client/requests/KeyImportSecretInput.d.ts.map +1 -1
  388. package/serialization/resources/keys/client/requests/KeyImportSecretInput.js +1 -1
  389. package/serialization/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
  390. package/serialization/resources/presentations/client/requests/PresentationExport.d.ts +1 -1
  391. package/serialization/resources/presentations/client/requests/PresentationExport.d.ts.map +1 -1
  392. package/serialization/resources/presentations/client/requests/PresentationExport.js +1 -1
  393. package/serialization/resources/presentations/client/requests/PresentationExport.js.map +1 -1
  394. package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts +1 -1
  395. package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
  396. package/serialization/resources/presentations/client/requests/PresentationIssue.js +1 -1
  397. package/serialization/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
  398. package/serialization/types/ApiKeyFull.d.ts +1 -1
  399. package/serialization/types/ApiKeyFull.d.ts.map +1 -1
  400. package/serialization/types/ApiKeyFull.js +1 -1
  401. package/serialization/types/ApiKeyFull.js.map +1 -1
  402. package/serialization/types/Credential.d.ts +7 -4
  403. package/serialization/types/Credential.d.ts.map +1 -1
  404. package/serialization/types/Credential.js +7 -4
  405. package/serialization/types/Credential.js.map +1 -1
  406. package/serialization/types/Credential11.d.ts +4 -4
  407. package/serialization/types/Credential11.d.ts.map +1 -1
  408. package/serialization/types/Credential11.js +4 -4
  409. package/serialization/types/Credential11.js.map +1 -1
  410. package/serialization/types/CredentialFilter.d.ts +5 -1
  411. package/serialization/types/CredentialFilter.d.ts.map +1 -1
  412. package/serialization/types/CredentialFilter.js +41 -1
  413. package/serialization/types/CredentialFilter.js.map +1 -1
  414. package/serialization/types/CredentialFilterData.d.ts +2 -2
  415. package/serialization/types/CredentialFilterData.d.ts.map +1 -1
  416. package/serialization/types/CredentialFilterData.js +2 -2
  417. package/serialization/types/CredentialFilterData.js.map +1 -1
  418. package/serialization/types/CredentialProof.d.ts +1 -1
  419. package/serialization/types/CredentialProof.d.ts.map +1 -1
  420. package/serialization/types/CredentialProof.js +1 -1
  421. package/serialization/types/CredentialProof.js.map +1 -1
  422. package/serialization/types/DidCommMessage.d.ts +2 -2
  423. package/serialization/types/DidCommMessage.d.ts.map +1 -1
  424. package/serialization/types/DidCommMessage.js +2 -2
  425. package/serialization/types/DidCommMessage.js.map +1 -1
  426. package/serialization/types/DidCommMessageSend.d.ts +2 -2
  427. package/serialization/types/DidCommMessageSend.d.ts.map +1 -1
  428. package/serialization/types/DidCommMessageSend.js +2 -2
  429. package/serialization/types/DidCommMessageSend.js.map +1 -1
  430. package/serialization/types/DidDocument.d.ts +4 -4
  431. package/serialization/types/DidDocument.d.ts.map +1 -1
  432. package/serialization/types/DidDocument.js +4 -4
  433. package/serialization/types/DidDocument.js.map +1 -1
  434. package/serialization/types/Draft.d.ts +7 -3
  435. package/serialization/types/Draft.d.ts.map +1 -1
  436. package/serialization/types/Draft.js +7 -3
  437. package/serialization/types/Draft.js.map +1 -1
  438. package/serialization/types/DraftCreate.d.ts +2 -2
  439. package/serialization/types/DraftCreate.d.ts.map +1 -1
  440. package/serialization/types/DraftCreate.js +2 -2
  441. package/serialization/types/DraftCreate.js.map +1 -1
  442. package/serialization/types/DraftEnumValue.d.ts +1 -1
  443. package/serialization/types/DraftEnumValue.d.ts.map +1 -1
  444. package/serialization/types/DraftEnumValue.js +1 -1
  445. package/serialization/types/DraftEnumValue.js.map +1 -1
  446. package/serialization/types/DraftFieldBooleanValue.d.ts +1 -1
  447. package/serialization/types/DraftFieldBooleanValue.d.ts.map +1 -1
  448. package/serialization/types/DraftFieldBooleanValue.js +1 -1
  449. package/serialization/types/DraftFieldBooleanValue.js.map +1 -1
  450. package/serialization/types/DraftFieldDateTimeValue.d.ts +1 -1
  451. package/serialization/types/DraftFieldDateTimeValue.d.ts.map +1 -1
  452. package/serialization/types/DraftFieldDateTimeValue.js +1 -1
  453. package/serialization/types/DraftFieldDateTimeValue.js.map +1 -1
  454. package/serialization/types/DraftFieldDateValue.d.ts +1 -1
  455. package/serialization/types/DraftFieldDateValue.d.ts.map +1 -1
  456. package/serialization/types/DraftFieldDateValue.js +1 -1
  457. package/serialization/types/DraftFieldDateValue.js.map +1 -1
  458. package/serialization/types/DraftFieldFileValue.d.ts +1 -1
  459. package/serialization/types/DraftFieldFileValue.d.ts.map +1 -1
  460. package/serialization/types/DraftFieldFileValue.js +1 -1
  461. package/serialization/types/DraftFieldFileValue.js.map +1 -1
  462. package/serialization/types/DraftFieldLinkValue.d.ts +1 -1
  463. package/serialization/types/DraftFieldLinkValue.d.ts.map +1 -1
  464. package/serialization/types/DraftFieldLinkValue.js +1 -1
  465. package/serialization/types/DraftFieldLinkValue.js.map +1 -1
  466. package/serialization/types/DraftFieldNumberValue.d.ts +1 -1
  467. package/serialization/types/DraftFieldNumberValue.d.ts.map +1 -1
  468. package/serialization/types/DraftFieldNumberValue.js +1 -1
  469. package/serialization/types/DraftFieldNumberValue.js.map +1 -1
  470. package/serialization/types/DraftFieldStringValue.d.ts +1 -1
  471. package/serialization/types/DraftFieldStringValue.d.ts.map +1 -1
  472. package/serialization/types/DraftFieldStringValue.js +1 -1
  473. package/serialization/types/DraftFieldStringValue.js.map +1 -1
  474. package/serialization/types/DraftFieldStructValue.d.ts +3 -3
  475. package/serialization/types/DraftFieldStructValue.d.ts.map +1 -1
  476. package/serialization/types/DraftFieldStructValue.js +3 -3
  477. package/serialization/types/DraftFieldStructValue.js.map +1 -1
  478. package/serialization/types/DraftFilter.d.ts +5 -1
  479. package/serialization/types/DraftFilter.d.ts.map +1 -1
  480. package/serialization/types/DraftFilter.js +41 -1
  481. package/serialization/types/DraftFilter.js.map +1 -1
  482. package/serialization/types/DraftFilterData.d.ts +2 -2
  483. package/serialization/types/DraftFilterData.d.ts.map +1 -1
  484. package/serialization/types/DraftFilterData.js +2 -2
  485. package/serialization/types/DraftFilterData.js.map +1 -1
  486. package/serialization/types/DraftSchema.d.ts +2 -2
  487. package/serialization/types/DraftSchema.d.ts.map +1 -1
  488. package/serialization/types/DraftSchema.js +2 -2
  489. package/serialization/types/DraftSchema.js.map +1 -1
  490. package/serialization/types/DraftUpdate.d.ts +0 -2
  491. package/serialization/types/DraftUpdate.d.ts.map +1 -1
  492. package/serialization/types/DraftUpdate.js +0 -2
  493. package/serialization/types/DraftUpdate.js.map +1 -1
  494. package/serialization/types/EcdsaSecp256K1VerificationKey2019.d.ts +3 -3
  495. package/serialization/types/EcdsaSecp256K1VerificationKey2019.d.ts.map +1 -1
  496. package/serialization/types/EcdsaSecp256K1VerificationKey2019.js +3 -3
  497. package/serialization/types/EcdsaSecp256K1VerificationKey2019.js.map +1 -1
  498. package/serialization/types/ErrorModel.d.ts +2 -2
  499. package/serialization/types/ErrorModel.d.ts.map +1 -1
  500. package/serialization/types/ErrorModel.js +2 -2
  501. package/serialization/types/ErrorModel.js.map +1 -1
  502. package/serialization/types/File_.d.ts +2 -2
  503. package/serialization/types/File_.d.ts.map +1 -1
  504. package/serialization/types/File_.js +2 -2
  505. package/serialization/types/File_.js.map +1 -1
  506. package/serialization/types/KeyFilterData.d.ts +2 -2
  507. package/serialization/types/KeyFilterData.d.ts.map +1 -1
  508. package/serialization/types/KeyFilterData.js +2 -2
  509. package/serialization/types/KeyFilterData.js.map +1 -1
  510. package/serialization/types/KeyPublic.d.ts +3 -3
  511. package/serialization/types/KeyPublic.d.ts.map +1 -1
  512. package/serialization/types/KeyPublic.js +3 -3
  513. package/serialization/types/KeyPublic.js.map +1 -1
  514. package/serialization/types/LinkedRef.d.ts +15 -0
  515. package/serialization/types/LinkedRef.d.ts.map +1 -0
  516. package/serialization/types/LinkedRef.js +46 -0
  517. package/serialization/types/LinkedRef.js.map +1 -0
  518. package/serialization/types/LinkedResourceRef.d.ts +13 -0
  519. package/serialization/types/LinkedResourceRef.d.ts.map +1 -0
  520. package/serialization/types/LinkedResourceRef.js +44 -0
  521. package/serialization/types/LinkedResourceRef.js.map +1 -0
  522. package/serialization/types/Presentation.d.ts +4 -2
  523. package/serialization/types/Presentation.d.ts.map +1 -1
  524. package/serialization/types/Presentation.js +4 -2
  525. package/serialization/types/Presentation.js.map +1 -1
  526. package/serialization/types/PresentationFilter.d.ts +4 -1
  527. package/serialization/types/PresentationFilter.d.ts.map +1 -1
  528. package/serialization/types/PresentationFilter.js +40 -1
  529. package/serialization/types/PresentationFilter.js.map +1 -1
  530. package/serialization/types/PresentationFilterData.d.ts +2 -2
  531. package/serialization/types/PresentationFilterData.d.ts.map +1 -1
  532. package/serialization/types/PresentationFilterData.js +2 -2
  533. package/serialization/types/PresentationFilterData.js.map +1 -1
  534. package/serialization/types/ProblemBadRequest.d.ts +2 -2
  535. package/serialization/types/ProblemBadRequest.d.ts.map +1 -1
  536. package/serialization/types/ProblemBadRequest.js +2 -2
  537. package/serialization/types/ProblemBadRequest.js.map +1 -1
  538. package/serialization/types/ProblemBadRequestBlobEmptyData.d.ts +2 -2
  539. package/serialization/types/ProblemBadRequestBlobEmptyData.d.ts.map +1 -1
  540. package/serialization/types/ProblemBadRequestBlobEmptyData.js +2 -2
  541. package/serialization/types/ProblemBadRequestBlobEmptyData.js.map +1 -1
  542. package/serialization/types/ProblemBadRequestBlobInvalidJson.d.ts +2 -2
  543. package/serialization/types/ProblemBadRequestBlobInvalidJson.d.ts.map +1 -1
  544. package/serialization/types/ProblemBadRequestBlobInvalidJson.js +2 -2
  545. package/serialization/types/ProblemBadRequestBlobInvalidJson.js.map +1 -1
  546. package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts +2 -2
  547. package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts.map +1 -1
  548. package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.js +2 -2
  549. package/serialization/types/ProblemBadRequestHasNullUnicodeCharacter.js.map +1 -1
  550. package/serialization/types/ProblemBlobNotFound.d.ts +4 -4
  551. package/serialization/types/ProblemBlobNotFound.d.ts.map +1 -1
  552. package/serialization/types/ProblemBlobNotFound.js +4 -4
  553. package/serialization/types/ProblemBlobNotFound.js.map +1 -1
  554. package/serialization/types/ProblemConflict.d.ts +2 -2
  555. package/serialization/types/ProblemConflict.d.ts.map +1 -1
  556. package/serialization/types/ProblemConflict.js +2 -2
  557. package/serialization/types/ProblemConflict.js.map +1 -1
  558. package/serialization/types/ProblemConflictBlobRestoreInProgress.d.ts +2 -2
  559. package/serialization/types/ProblemConflictBlobRestoreInProgress.d.ts.map +1 -1
  560. package/serialization/types/ProblemConflictBlobRestoreInProgress.js +2 -2
  561. package/serialization/types/ProblemConflictBlobRestoreInProgress.js.map +1 -1
  562. package/serialization/types/ProblemConflictResource.d.ts +2 -2
  563. package/serialization/types/ProblemConflictResource.d.ts.map +1 -1
  564. package/serialization/types/ProblemConflictResource.js +2 -2
  565. package/serialization/types/ProblemConflictResource.js.map +1 -1
  566. package/serialization/types/ProblemForbidden.d.ts +2 -2
  567. package/serialization/types/ProblemForbidden.d.ts.map +1 -1
  568. package/serialization/types/ProblemForbidden.js +2 -2
  569. package/serialization/types/ProblemForbidden.js.map +1 -1
  570. package/serialization/types/ProblemInternalServerError.d.ts +3 -3
  571. package/serialization/types/ProblemInternalServerError.d.ts.map +1 -1
  572. package/serialization/types/ProblemInternalServerError.js +3 -3
  573. package/serialization/types/ProblemInternalServerError.js.map +1 -1
  574. package/serialization/types/ProblemMethodNotAllowed.d.ts +2 -2
  575. package/serialization/types/ProblemMethodNotAllowed.d.ts.map +1 -1
  576. package/serialization/types/ProblemMethodNotAllowed.js +2 -2
  577. package/serialization/types/ProblemMethodNotAllowed.js.map +1 -1
  578. package/serialization/types/ProblemMethodNotAllowedAlive.d.ts +2 -2
  579. package/serialization/types/ProblemMethodNotAllowedAlive.d.ts.map +1 -1
  580. package/serialization/types/ProblemMethodNotAllowedAlive.js +2 -2
  581. package/serialization/types/ProblemMethodNotAllowedAlive.js.map +1 -1
  582. package/serialization/types/ProblemMethodNotAllowedDeleted.d.ts +2 -2
  583. package/serialization/types/ProblemMethodNotAllowedDeleted.d.ts.map +1 -1
  584. package/serialization/types/ProblemMethodNotAllowedDeleted.js +2 -2
  585. package/serialization/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
  586. package/serialization/types/ProblemMethodNotAllowedRoute.d.ts +2 -2
  587. package/serialization/types/ProblemMethodNotAllowedRoute.d.ts.map +1 -1
  588. package/serialization/types/ProblemMethodNotAllowedRoute.js +2 -2
  589. package/serialization/types/ProblemMethodNotAllowedRoute.js.map +1 -1
  590. package/serialization/types/ProblemNotFound.d.ts +2 -2
  591. package/serialization/types/ProblemNotFound.d.ts.map +1 -1
  592. package/serialization/types/ProblemNotFound.js +2 -2
  593. package/serialization/types/ProblemNotFound.js.map +1 -1
  594. package/serialization/types/ProblemPreconditionFailed.d.ts +2 -2
  595. package/serialization/types/ProblemPreconditionFailed.d.ts.map +1 -1
  596. package/serialization/types/ProblemPreconditionFailed.js +2 -2
  597. package/serialization/types/ProblemPreconditionFailed.js.map +1 -1
  598. package/serialization/types/ProblemPreconditionFailedBlob.d.ts +4 -4
  599. package/serialization/types/ProblemPreconditionFailedBlob.d.ts.map +1 -1
  600. package/serialization/types/ProblemPreconditionFailedBlob.js +4 -4
  601. package/serialization/types/ProblemPreconditionFailedBlob.js.map +1 -1
  602. package/serialization/types/ProblemPreconditionFailedResource.d.ts +4 -4
  603. package/serialization/types/ProblemPreconditionFailedResource.d.ts.map +1 -1
  604. package/serialization/types/ProblemPreconditionFailedResource.js +4 -4
  605. package/serialization/types/ProblemPreconditionFailedResource.js.map +1 -1
  606. package/serialization/types/ProblemResourceNotFound.d.ts +4 -4
  607. package/serialization/types/ProblemResourceNotFound.d.ts.map +1 -1
  608. package/serialization/types/ProblemResourceNotFound.js +4 -4
  609. package/serialization/types/ProblemResourceNotFound.js.map +1 -1
  610. package/serialization/types/ProblemResourceRevisionNotFound.d.ts +4 -4
  611. package/serialization/types/ProblemResourceRevisionNotFound.d.ts.map +1 -1
  612. package/serialization/types/ProblemResourceRevisionNotFound.js +4 -4
  613. package/serialization/types/ProblemResourceRevisionNotFound.js.map +1 -1
  614. package/serialization/types/ProblemServiceUnavailable.d.ts +18 -0
  615. package/serialization/types/ProblemServiceUnavailable.d.ts.map +1 -0
  616. package/serialization/types/ProblemServiceUnavailable.js +49 -0
  617. package/serialization/types/ProblemServiceUnavailable.js.map +1 -0
  618. package/serialization/types/ProblemTooManyRequests.d.ts +2 -2
  619. package/serialization/types/ProblemTooManyRequests.d.ts.map +1 -1
  620. package/serialization/types/ProblemTooManyRequests.js +2 -2
  621. package/serialization/types/ProblemTooManyRequests.js.map +1 -1
  622. package/serialization/types/ProblemUnauthorized.d.ts +2 -2
  623. package/serialization/types/ProblemUnauthorized.d.ts.map +1 -1
  624. package/serialization/types/ProblemUnauthorized.js +2 -2
  625. package/serialization/types/ProblemUnauthorized.js.map +1 -1
  626. package/serialization/types/ProblemUnsupportedMediaType.d.ts +2 -2
  627. package/serialization/types/ProblemUnsupportedMediaType.d.ts.map +1 -1
  628. package/serialization/types/ProblemUnsupportedMediaType.js +2 -2
  629. package/serialization/types/ProblemUnsupportedMediaType.js.map +1 -1
  630. package/serialization/types/Resource.d.ts +6 -6
  631. package/serialization/types/Resource.d.ts.map +1 -1
  632. package/serialization/types/Resource.js +6 -6
  633. package/serialization/types/Resource.js.map +1 -1
  634. package/serialization/types/ResourceApiKey.d.ts +8 -8
  635. package/serialization/types/ResourceApiKey.d.ts.map +1 -1
  636. package/serialization/types/ResourceApiKey.js +8 -8
  637. package/serialization/types/ResourceApiKey.js.map +1 -1
  638. package/serialization/types/ResourceApiKeyFull.d.ts +8 -8
  639. package/serialization/types/ResourceApiKeyFull.d.ts.map +1 -1
  640. package/serialization/types/ResourceApiKeyFull.js +8 -8
  641. package/serialization/types/ResourceApiKeyFull.js.map +1 -1
  642. package/serialization/types/ResourceCredential.d.ts +8 -8
  643. package/serialization/types/ResourceCredential.d.ts.map +1 -1
  644. package/serialization/types/ResourceCredential.js +8 -8
  645. package/serialization/types/ResourceCredential.js.map +1 -1
  646. package/serialization/types/ResourceDidCommMessage.d.ts +8 -8
  647. package/serialization/types/ResourceDidCommMessage.d.ts.map +1 -1
  648. package/serialization/types/ResourceDidCommMessage.js +8 -8
  649. package/serialization/types/ResourceDidCommMessage.js.map +1 -1
  650. package/serialization/types/ResourceDraft.d.ts +8 -8
  651. package/serialization/types/ResourceDraft.d.ts.map +1 -1
  652. package/serialization/types/ResourceDraft.js +8 -8
  653. package/serialization/types/ResourceDraft.js.map +1 -1
  654. package/serialization/types/ResourceFile.d.ts +8 -8
  655. package/serialization/types/ResourceFile.d.ts.map +1 -1
  656. package/serialization/types/ResourceFile.js +8 -8
  657. package/serialization/types/ResourceFile.js.map +1 -1
  658. package/serialization/types/ResourceKeyPublic.d.ts +8 -8
  659. package/serialization/types/ResourceKeyPublic.d.ts.map +1 -1
  660. package/serialization/types/ResourceKeyPublic.js +8 -8
  661. package/serialization/types/ResourceKeyPublic.js.map +1 -1
  662. package/serialization/types/ResourcePresentation.d.ts +8 -8
  663. package/serialization/types/ResourcePresentation.d.ts.map +1 -1
  664. package/serialization/types/ResourcePresentation.js +8 -8
  665. package/serialization/types/ResourcePresentation.js.map +1 -1
  666. package/serialization/types/Service.d.ts +1 -1
  667. package/serialization/types/Service.d.ts.map +1 -1
  668. package/serialization/types/Service.js +1 -1
  669. package/serialization/types/Service.js.map +1 -1
  670. package/serialization/types/ServiceUnavailableProblems.d.ts +15 -0
  671. package/serialization/types/ServiceUnavailableProblems.d.ts.map +1 -0
  672. package/serialization/types/ServiceUnavailableProblems.js +50 -0
  673. package/serialization/types/ServiceUnavailableProblems.js.map +1 -0
  674. package/serialization/types/VerificationMethodMultikey.d.ts +3 -3
  675. package/serialization/types/VerificationMethodMultikey.d.ts.map +1 -1
  676. package/serialization/types/VerificationMethodMultikey.js +3 -3
  677. package/serialization/types/VerificationMethodMultikey.js.map +1 -1
  678. package/serialization/types/index.d.ts +8 -4
  679. package/serialization/types/index.d.ts.map +1 -1
  680. package/serialization/types/index.js +8 -4
  681. package/serialization/types/index.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api/resources/apiKeys/client/Client.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uEAAyD;AACzD,uDAAyC;AACzC,wDAA0C;AAC1C,6EAA+D;AAC/D,wDAA+B;AAC/B,iEAAmD;AAuBnD;;GAEG;AACH,MAAa,OAAO;IAChB,YAA+B,WAA4B,EAAE;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;IAAG,CAAC;IAEjE;;;;;;;;;;;;;;;OAeG;IACI,YAAY,CACf,UAA+B,EAAE,EACjC,cAAuC;QAEvC,OAAO,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IAC9F,CAAC;IAEa,cAAc;6DACxB,UAA+B,EAAE,EACjC,cAAu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,IAAI;4BACnC,2BAA2B,EAAE,IAAI;4BACjC,iBAAiB,EAAE,CAAC,UAAU,CAAC;yBAClC,CAAC,EACF,SAAS,CAAC,WAAW,CACxB,CAAC;oBACN;wBACI,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;4BAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;4BACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI;4BAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;yBACrC,CAAC,CAAC;gBACX,CAAC;YACL,CAAC;YAED,QAAQ,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;gBAC7B,KAAK,UAAU;oBACX,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;wBACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;wBAC7B,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;gBACP,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,mBAAmB,CAChC,wEAAwE,CAC3E,CAAC;gBACN,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,YAAY;wBACrC,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;YACX,CAAC;QACL,CAAC;KAAA;IAEe,8BAA8B;;YAC1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;QACxC,CAAC;KAAA;CACJ;AAzgDD,0BAygDC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as environments from '../../../../environments';\nimport * as core from '../../../../core';\nimport * as Truvity from '../../../index';\nimport * as serializers from '../../../../serialization/index';\nimport urlJoin from 'url-join';\nimport * as errors from '../../../../errors/index';\n\nexport declare namespace ApiKeys {\n export interface Options {\n environment?: core.Supplier<environments.TruvityEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n apiKey?: core.Supplier<string | undefined>;\n fetcher?: core.FetchFunction;\n }\n\n export interface RequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** The number of times to retry the request. Defaults to 2. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional headers to include in the request. */\n headers?: Record<string, string>;\n }\n}\n\n/**\n * The API to manage Truvity API's keys.\n */\nexport class ApiKeys {\n constructor(protected readonly _options: ApiKeys.Options = {}) {}\n\n /**\n * Create a new API key resource.\n *\n * @param {Truvity.ApiKeyInput} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyCreate()\n */\n public apiKeyCreate(\n request: Truvity.ApiKeyInput = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKeyFull> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyCreate(request, requestOptions));\n }\n\n private async __apiKeyCreate(\n request: Truvity.ApiKeyInput = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKeyFull>> {\n const { idempotencyKey, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'api-keys',\n ),\n method: 'POST',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeyInput.jsonOrThrow(_body, { unrecognizedObjectKeys: 'strip', omitUndefined: true }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKeyFull.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /api-keys.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Search for API Keys with extended filters capabilities.\n *\n * @param {Truvity.ApiKeySearchRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeySearch()\n */\n public apiKeySearch(\n request: Truvity.ApiKeySearchRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeySearch(request, requestOptions));\n }\n\n private async __apiKeySearch(\n request: Truvity.ApiKeySearchRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListApiKey>> {\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'api-keys/search',\n ),\n method: 'POST',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeySearchRequest.jsonOrThrow(request, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /api-keys/search.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Get the latest version of API Key.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.ApiKeyLatestRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyLatest(\"id\")\n */\n public apiKeyLatest(\n id: string,\n request: Truvity.ApiKeyLatestRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyLatest(id, request, requestOptions));\n }\n\n private async __apiKeyLatest(\n id: string,\n request: Truvity.ApiKeyLatestRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}`,\n ),\n method: 'GET',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /api-keys/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Delete API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyDeleteRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyDelete(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public apiKeyDelete(\n id: string,\n request: Truvity.ApiKeyDeleteRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<void> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyDelete(id, request, requestOptions));\n }\n\n private async __apiKeyDelete(\n id: string,\n request: Truvity.ApiKeyDeleteRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<void>> {\n const { idempotencyKey, ifMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}`,\n ),\n method: 'DELETE',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: undefined, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling DELETE /api-keys/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update annotations of API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyUpdateAnnotationsInput} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyUpdateAnnotations(\"id\", {\n * ifMatch: \"If-Match\",\n * annotations: {\n * \"key\": \"value\"\n * }\n * })\n */\n public apiKeyUpdateAnnotations(\n id: string,\n request: Truvity.ApiKeyUpdateAnnotationsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyUpdateAnnotations(id, request, requestOptions));\n }\n\n private async __apiKeyUpdateAnnotations(\n id: string,\n request: Truvity.ApiKeyUpdateAnnotationsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/annotations`,\n ),\n method: 'PATCH',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeyUpdateAnnotationsInput.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /api-keys/{id}/annotations.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update labels of API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyUpdateLabelsInput} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyUpdateLabels(\"id\", {\n * ifMatch: \"If-Match\",\n * labels: {\n * \"key\": \"value\"\n * }\n * })\n */\n public apiKeyUpdateLabels(\n id: string,\n request: Truvity.ApiKeyUpdateLabelsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyUpdateLabels(id, request, requestOptions));\n }\n\n private async __apiKeyUpdateLabels(\n id: string,\n request: Truvity.ApiKeyUpdateLabelsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/labels`,\n ),\n method: 'PATCH',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeyUpdateLabelsInput.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /api-keys/{id}/labels.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Restore API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyRestoreRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyRestore(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public apiKeyRestore(\n id: string,\n request: Truvity.ApiKeyRestoreRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyRestore(id, request, requestOptions));\n }\n\n private async __apiKeyRestore(\n id: string,\n request: Truvity.ApiKeyRestoreRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { idempotencyKey, ifMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/restore`,\n ),\n method: 'POST',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /api-keys/{id}/restore.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * History of the API Key's resources.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.ApiKeyHistoryRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyHistory(\"id\")\n */\n public apiKeyHistory(\n id: string,\n request: Truvity.ApiKeyHistoryRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyHistory(id, request, requestOptions));\n }\n\n private async __apiKeyHistory(\n id: string,\n request: Truvity.ApiKeyHistoryRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListApiKey>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/revisions`,\n ),\n method: 'GET',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /api-keys/{id}/revisions.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Read the specific version of the API Key's resource.\n *\n * @param {string} id - The ID of the resource.\n * @param {number} revision - The revision of the resource.\n * @param {Truvity.ApiKeyRevisionRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyRevision(\"id\", 1)\n */\n public apiKeyRevision(\n id: string,\n revision: number,\n request: Truvity.ApiKeyRevisionRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyRevision(id, revision, request, requestOptions));\n }\n\n private async __apiKeyRevision(\n id: string,\n revision: number,\n request: Truvity.ApiKeyRevisionRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`,\n ),\n method: 'GET',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.33.1',\n 'User-Agent': '@truvity/sdk/0.33.1',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError(\n 'Timeout exceeded when calling GET /api-keys/{id}/revisions/{revision}.',\n );\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n protected async _getCustomAuthorizationHeaders() {\n const apiKeyValue = await core.Supplier.get(this._options.apiKey);\n return { 'X-API-KEY': apiKeyValue };\n }\n}\n"]}
1
+ {"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api/resources/apiKeys/client/Client.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uEAAyD;AACzD,uDAAyC;AACzC,wDAA0C;AAC1C,6EAA+D;AAC/D,wDAA+B;AAC/B,iEAAmD;AAuBnD;;GAEG;AACH,MAAa,OAAO;IAChB,YAA+B,WAA4B,EAAE;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;IAAG,CAAC;IAEjE;;;;;;;;;;;;;;;OAeG;IACI,YAAY,CACf,UAA+B,EAAE,EACjC,cAAuC;QAEvC,OAAO,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IAC9F,CAAC;IAEa,cAAc;6DACxB,UAA+B,EAAE,EACjC,cAAuC;;YAEvC,MAAM,EAAE,cAAc,KAAe,OAAO,EAAjB,KAAK,UAAK,OAAO,EAAtC,kBAA4B,CAAU,CAAC;YAC7C,MAAM,SAAS,GAAG,MAAM,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,OAAO,mCAAI,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC5D,GAAG,EAAE,IAAA,kBAAO,EACR,MAAA,MAAA,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,mCAC5C,CAAC,MAAM,IAAI,CAAC,QAAQ,CAA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,EAAE,CAAC;gBAC7B,KAAK,UAAU;oBACX,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;wBACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;wBAC7B,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;gBACP,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,mBAAmB,CAChC,wEAAwE,CAC3E,CAAC;gBACN,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,YAAY;wBACrC,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;YACX,CAAC;QACL,CAAC;KAAA;IAEe,8BAA8B;;YAC1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;QACxC,CAAC;KAAA;CACJ;AAzgDD,0BAygDC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as environments from '../../../../environments';\nimport * as core from '../../../../core';\nimport * as Truvity from '../../../index';\nimport * as serializers from '../../../../serialization/index';\nimport urlJoin from 'url-join';\nimport * as errors from '../../../../errors/index';\n\nexport declare namespace ApiKeys {\n export interface Options {\n environment?: core.Supplier<environments.TruvityEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n apiKey?: core.Supplier<string | undefined>;\n fetcher?: core.FetchFunction;\n }\n\n export interface RequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** The number of times to retry the request. Defaults to 2. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional headers to include in the request. */\n headers?: Record<string, string>;\n }\n}\n\n/**\n * The API to manage Truvity API's keys.\n */\nexport class ApiKeys {\n constructor(protected readonly _options: ApiKeys.Options = {}) {}\n\n /**\n * Create a new API key resource.\n *\n * @param {Truvity.ApiKeyInput} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyCreate()\n */\n public apiKeyCreate(\n request: Truvity.ApiKeyInput = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKeyFull> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyCreate(request, requestOptions));\n }\n\n private async __apiKeyCreate(\n request: Truvity.ApiKeyInput = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKeyFull>> {\n const { idempotencyKey, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'api-keys',\n ),\n method: 'POST',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeyInput.jsonOrThrow(_body, { unrecognizedObjectKeys: 'strip', omitUndefined: true }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKeyFull.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /api-keys.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Search for API Keys with extended filters capabilities.\n *\n * @param {Truvity.ApiKeySearchRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeySearch()\n */\n public apiKeySearch(\n request: Truvity.ApiKeySearchRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeySearch(request, requestOptions));\n }\n\n private async __apiKeySearch(\n request: Truvity.ApiKeySearchRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListApiKey>> {\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'api-keys/search',\n ),\n method: 'POST',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeySearchRequest.jsonOrThrow(request, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /api-keys/search.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Get the latest version of API Key.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.ApiKeyLatestRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyLatest(\"id\")\n */\n public apiKeyLatest(\n id: string,\n request: Truvity.ApiKeyLatestRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyLatest(id, request, requestOptions));\n }\n\n private async __apiKeyLatest(\n id: string,\n request: Truvity.ApiKeyLatestRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}`,\n ),\n method: 'GET',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /api-keys/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Delete API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyDeleteRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyDelete(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public apiKeyDelete(\n id: string,\n request: Truvity.ApiKeyDeleteRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<void> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyDelete(id, request, requestOptions));\n }\n\n private async __apiKeyDelete(\n id: string,\n request: Truvity.ApiKeyDeleteRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<void>> {\n const { idempotencyKey, ifMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}`,\n ),\n method: 'DELETE',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: undefined, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling DELETE /api-keys/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update annotations of API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyUpdateAnnotationsInput} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyUpdateAnnotations(\"id\", {\n * ifMatch: \"If-Match\",\n * annotations: {\n * \"key\": \"value\"\n * }\n * })\n */\n public apiKeyUpdateAnnotations(\n id: string,\n request: Truvity.ApiKeyUpdateAnnotationsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyUpdateAnnotations(id, request, requestOptions));\n }\n\n private async __apiKeyUpdateAnnotations(\n id: string,\n request: Truvity.ApiKeyUpdateAnnotationsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/annotations`,\n ),\n method: 'PATCH',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeyUpdateAnnotationsInput.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /api-keys/{id}/annotations.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update labels of API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyUpdateLabelsInput} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyUpdateLabels(\"id\", {\n * ifMatch: \"If-Match\",\n * labels: {\n * \"key\": \"value\"\n * }\n * })\n */\n public apiKeyUpdateLabels(\n id: string,\n request: Truvity.ApiKeyUpdateLabelsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyUpdateLabels(id, request, requestOptions));\n }\n\n private async __apiKeyUpdateLabels(\n id: string,\n request: Truvity.ApiKeyUpdateLabelsInput,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/labels`,\n ),\n method: 'PATCH',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.ApiKeyUpdateLabelsInput.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /api-keys/{id}/labels.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Restore API Key's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.ApiKeyRestoreRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyRestore(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public apiKeyRestore(\n id: string,\n request: Truvity.ApiKeyRestoreRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyRestore(id, request, requestOptions));\n }\n\n private async __apiKeyRestore(\n id: string,\n request: Truvity.ApiKeyRestoreRequest,\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { idempotencyKey, ifMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/restore`,\n ),\n method: 'POST',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /api-keys/{id}/restore.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * History of the API Key's resources.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.ApiKeyHistoryRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyHistory(\"id\")\n */\n public apiKeyHistory(\n id: string,\n request: Truvity.ApiKeyHistoryRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyHistory(id, request, requestOptions));\n }\n\n private async __apiKeyHistory(\n id: string,\n request: Truvity.ApiKeyHistoryRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListApiKey>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/revisions`,\n ),\n method: 'GET',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /api-keys/{id}/revisions.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Read the specific version of the API Key's resource.\n *\n * @param {string} id - The ID of the resource.\n * @param {number} revision - The revision of the resource.\n * @param {Truvity.ApiKeyRevisionRequest} request\n * @param {ApiKeys.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.apiKeys.apiKeyRevision(\"id\", 1)\n */\n public apiKeyRevision(\n id: string,\n revision: number,\n request: Truvity.ApiKeyRevisionRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceApiKey> {\n return core.HttpResponsePromise.fromPromise(this.__apiKeyRevision(id, revision, request, requestOptions));\n }\n\n private async __apiKeyRevision(\n id: string,\n revision: number,\n request: Truvity.ApiKeyRevisionRequest = {},\n requestOptions?: ApiKeys.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceApiKey>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: urlJoin(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `api-keys/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`,\n ),\n method: 'GET',\n headers: {\n 'X-Fern-Language': 'JavaScript',\n 'X-Fern-SDK-Name': '@truvity/sdk',\n 'X-Fern-SDK-Version': '0.36.2',\n 'User-Agent': '@truvity/sdk/0.36.2',\n 'X-Fern-Runtime': core.RUNTIME.type,\n 'X-Fern-Runtime-Version': core.RUNTIME.version,\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n ...requestOptions?.headers,\n },\n contentType: 'application/json',\n requestType: 'json',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceApiKey.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError(\n 'Timeout exceeded when calling GET /api-keys/{id}/revisions/{revision}.',\n );\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n protected async _getCustomAuthorizationHeaders() {\n const apiKeyValue = await core.Supplier.get(this._options.apiKey);\n return { 'X-API-KEY': apiKeyValue };\n }\n}\n"]}