@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
@@ -11,8 +11,8 @@ import * as Truvity from '../../../../index';
11
11
  * kind: "BOOLEAN",
12
12
  * name: "name"
13
13
  * }],
14
- * vocabNamespace: "vocab_namespace",
15
- * vocabName: "vocab_name"
14
+ * vocabName: "vocab_name",
15
+ * vocabNamespace: "vocab_namespace"
16
16
  * }
17
17
  * }
18
18
  * }
@@ -36,9 +36,9 @@ export interface DraftInput {
36
36
  * See [API Guideline Rule #181](https://opensource.zalando.com/restful-api-guidelines/#230) for further details.
37
37
  */
38
38
  idempotencyKey?: string;
39
- data: Truvity.DraftCreate;
40
39
  /** The annotations of the resource. */
41
40
  annotations?: Record<string, string>;
41
+ data: Truvity.DraftCreate;
42
42
  /** The labels of the resource. */
43
43
  labels?: Record<string, string>;
44
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DraftInput.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftInput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAC1B,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"}
1
+ {"version":3,"file":"DraftInput.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftInput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAC1B,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DraftInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftInput.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * data: {\n * schema: {\n * fields: [{\n * kind: \"BOOLEAN\",\n * name: \"name\"\n * }],\n * vocabNamespace: \"vocab_namespace\",\n * vocabName: \"vocab_name\"\n * }\n * }\n * }\n */\nexport interface DraftInput {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n * Clients should be careful as any subsequent requests with the same key may\n * return the same response without further check. Thus, it is recommended to\n * use a UUID version 4 (random) or any other random string with enough\n * entropy to avoid collisions.\n *\n * Keys expire after 24 hours. Clients are responsible to stay within this\n * limit, if they require idempotent behavior.\n *\n * See [API Guideline Rule #181](https://opensource.zalando.com/restful-api-guidelines/#230) for further details.\n */\n idempotencyKey?: string;\n data: Truvity.DraftCreate;\n /** The annotations of the resource. */\n annotations?: Record<string, string>;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
1
+ {"version":3,"file":"DraftInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftInput.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * data: {\n * schema: {\n * fields: [{\n * kind: \"BOOLEAN\",\n * name: \"name\"\n * }],\n * vocabName: \"vocab_name\",\n * vocabNamespace: \"vocab_namespace\"\n * }\n * }\n * }\n */\nexport interface DraftInput {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n * Clients should be careful as any subsequent requests with the same key may\n * return the same response without further check. Thus, it is recommended to\n * use a UUID version 4 (random) or any other random string with enough\n * entropy to avoid collisions.\n *\n * Keys expire after 24 hours. Clients are responsible to stay within this\n * limit, if they require idempotent behavior.\n *\n * See [API Guideline Rule #181](https://opensource.zalando.com/restful-api-guidelines/#230) for further details.\n */\n idempotencyKey?: string;\n /** The annotations of the resource. */\n annotations?: Record<string, string>;\n data: Truvity.DraftCreate;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
@@ -26,12 +26,16 @@ export interface DraftIssue {
26
26
  * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
27
27
  */
28
28
  ifMatch?: string;
29
- /** The ID of the key to sign the credential. */
30
- keyId: string;
31
29
  /** The DID method to use for the issuer DID. */
32
30
  didMethod?: Truvity.DraftIssueDidMethod;
33
31
  /** The URI of the credential issuer. */
34
32
  issuer?: string;
33
+ /** The ID of the key to sign the credential. */
34
+ keyId: string;
35
+ /** Map of draft URNs to their associated eTags for validation */
36
+ prerequisiteDrafts?: Record<string, string>;
37
+ /** When enabled, the user must provide the full list of prerequisite draft IDs, and the system enforces this exact prerequisite graph. When disabled, the system automatically determines the dependency graph. */
38
+ strictMode?: boolean;
35
39
  /** The date and time the issued credential is valid from. */
36
40
  validFrom?: Date;
37
41
  /** The date and time the issued credential is valid until. */
@@ -1 +1 @@
1
- {"version":3,"file":"DraftIssue.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftIssue.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC;IACxC,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB"}
1
+ {"version":3,"file":"DraftIssue.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftIssue.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC;IACxC,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,mNAAmN;IACnN,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"DraftIssue.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftIssue.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * keyId: \"key_id\"\n * }\n */\nexport interface DraftIssue {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **If-Match** header field is used to declare a list of identifiers that\n * are required to match the current resource version identifier in at least\n * one position as a pre-condition for executing the request on the server\n * side. This behavior is used to validate and reject optimistic updates, by\n * checking if the resource version a consumer has based his changes on is\n * outdated on arrival of the change request to prevent lost updates.\n *\n * If the pre-condition fails the server will respond with status code **412**\n * (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as\n * well as [API Guideline Rule #182][api-182] for further details.\n *\n * [rfc-9110-13.1.1]: <https://tools.ietf.org/html/rfc9110#section-13.1.1>\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch?: string;\n /** The ID of the key to sign the credential. */\n keyId: string;\n /** The DID method to use for the issuer DID. */\n didMethod?: Truvity.DraftIssueDidMethod;\n /** The URI of the credential issuer. */\n issuer?: string;\n /** The date and time the issued credential is valid from. */\n validFrom?: Date;\n /** The date and time the issued credential is valid until. */\n validUntil?: Date;\n}\n"]}
1
+ {"version":3,"file":"DraftIssue.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftIssue.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * keyId: \"key_id\"\n * }\n */\nexport interface DraftIssue {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **If-Match** header field is used to declare a list of identifiers that\n * are required to match the current resource version identifier in at least\n * one position as a pre-condition for executing the request on the server\n * side. This behavior is used to validate and reject optimistic updates, by\n * checking if the resource version a consumer has based his changes on is\n * outdated on arrival of the change request to prevent lost updates.\n *\n * If the pre-condition fails the server will respond with status code **412**\n * (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as\n * well as [API Guideline Rule #182][api-182] for further details.\n *\n * [rfc-9110-13.1.1]: <https://tools.ietf.org/html/rfc9110#section-13.1.1>\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch?: string;\n /** The DID method to use for the issuer DID. */\n didMethod?: Truvity.DraftIssueDidMethod;\n /** The URI of the credential issuer. */\n issuer?: string;\n /** The ID of the key to sign the credential. */\n keyId: string;\n /** Map of draft URNs to their associated eTags for validation */\n prerequisiteDrafts?: Record<string, string>;\n /** When enabled, the user must provide the full list of prerequisite draft IDs, and the system enforces this exact prerequisite graph. When disabled, the system automatically determines the dependency graph. */\n strictMode?: boolean;\n /** The date and time the issued credential is valid from. */\n validFrom?: Date;\n /** The date and time the issued credential is valid until. */\n validUntil?: Date;\n}\n"]}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Truvity from '../../../../index';
5
+ /**
6
+ * @example
7
+ * {
8
+ * keyId: "key_id"
9
+ * }
10
+ */
11
+ export interface DraftLatestIssueRequest {
12
+ /**
13
+ * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
14
+ * The **If-Match** header field is used to declare a list of identifiers that
15
+ * are required to match the current resource version identifier in at least
16
+ * one position as a pre-condition for executing the request on the server
17
+ * side. This behavior is used to validate and reject optimistic updates, by
18
+ * checking if the resource version a consumer has based his changes on is
19
+ * outdated on arrival of the change request to prevent lost updates.
20
+ *
21
+ * If the pre-condition fails the server will respond with status code **412**
22
+ * (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as
23
+ * well as [API Guideline Rule #182][api-182] for further details.
24
+ *
25
+ * [rfc-9110-13.1.1]: <https://tools.ietf.org/html/rfc9110#section-13.1.1>
26
+ * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
27
+ */
28
+ ifMatch?: string;
29
+ /** The DID method to use for the issuer DID. */
30
+ didMethod?: Truvity.DraftLatestIssueRequestDidMethod;
31
+ /** The URI of the credential issuer. */
32
+ issuer?: string;
33
+ /** The ID of the key to sign the credential. */
34
+ keyId: string;
35
+ /** Map of draft URNs to their associated eTags for validation */
36
+ prerequisiteDrafts?: Record<string, string>;
37
+ /** When enabled, the user must provide the full list of prerequisite draft IDs, and the system enforces this exact prerequisite graph. When disabled, the system automatically determines the dependency graph. */
38
+ strictMode?: boolean;
39
+ /** The date and time the issued credential is valid from. */
40
+ validFrom?: Date;
41
+ /** The date and time the issued credential is valid until. */
42
+ validUntil?: Date;
43
+ }
44
+ //# sourceMappingURL=DraftLatestIssueRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DraftLatestIssueRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftLatestIssueRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC,gCAAgC,CAAC;IACrD,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,mNAAmN;IACnN,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ //# sourceMappingURL=DraftLatestIssueRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DraftLatestIssueRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftLatestIssueRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * keyId: \"key_id\"\n * }\n */\nexport interface DraftLatestIssueRequest {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **If-Match** header field is used to declare a list of identifiers that\n * are required to match the current resource version identifier in at least\n * one position as a pre-condition for executing the request on the server\n * side. This behavior is used to validate and reject optimistic updates, by\n * checking if the resource version a consumer has based his changes on is\n * outdated on arrival of the change request to prevent lost updates.\n *\n * If the pre-condition fails the server will respond with status code **412**\n * (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as\n * well as [API Guideline Rule #182][api-182] for further details.\n *\n * [rfc-9110-13.1.1]: <https://tools.ietf.org/html/rfc9110#section-13.1.1>\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch?: string;\n /** The DID method to use for the issuer DID. */\n didMethod?: Truvity.DraftLatestIssueRequestDidMethod;\n /** The URI of the credential issuer. */\n issuer?: string;\n /** The ID of the key to sign the credential. */\n keyId: string;\n /** Map of draft URNs to their associated eTags for validation */\n prerequisiteDrafts?: Record<string, string>;\n /** When enabled, the user must provide the full list of prerequisite draft IDs, and the system enforces this exact prerequisite graph. When disabled, the system automatically determines the dependency graph. */\n strictMode?: boolean;\n /** The date and time the issued credential is valid from. */\n validFrom?: Date;\n /** The date and time the issued credential is valid until. */\n validUntil?: Date;\n}\n"]}
@@ -4,6 +4,7 @@ export { type DraftLatestRequest } from './DraftLatestRequest';
4
4
  export { type DraftDeleteRequest } from './DraftDeleteRequest';
5
5
  export { type DraftUpdateInput } from './DraftUpdateInput';
6
6
  export { type DraftUpdateAnnotationsInput } from './DraftUpdateAnnotationsInput';
7
+ export { type DraftLatestIssueRequest } from './DraftLatestIssueRequest';
7
8
  export { type DraftUpdateLabelsInput } from './DraftUpdateLabelsInput';
8
9
  export { type DraftRestoreRequest } from './DraftRestoreRequest';
9
10
  export { type DraftHistoryRequest } from './DraftHistoryRequest';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type DraftInput } from './DraftInput';\nexport { type DraftSearchRequest } from './DraftSearchRequest';\nexport { type DraftLatestRequest } from './DraftLatestRequest';\nexport { type DraftDeleteRequest } from './DraftDeleteRequest';\nexport { type DraftUpdateInput } from './DraftUpdateInput';\nexport { type DraftUpdateAnnotationsInput } from './DraftUpdateAnnotationsInput';\nexport { type DraftUpdateLabelsInput } from './DraftUpdateLabelsInput';\nexport { type DraftRestoreRequest } from './DraftRestoreRequest';\nexport { type DraftHistoryRequest } from './DraftHistoryRequest';\nexport { type DraftRevisionRequest } from './DraftRevisionRequest';\nexport { type DraftExport } from './DraftExport';\nexport { type DraftIssue } from './DraftIssue';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type DraftInput } from './DraftInput';\nexport { type DraftSearchRequest } from './DraftSearchRequest';\nexport { type DraftLatestRequest } from './DraftLatestRequest';\nexport { type DraftDeleteRequest } from './DraftDeleteRequest';\nexport { type DraftUpdateInput } from './DraftUpdateInput';\nexport { type DraftUpdateAnnotationsInput } from './DraftUpdateAnnotationsInput';\nexport { type DraftLatestIssueRequest } from './DraftLatestIssueRequest';\nexport { type DraftUpdateLabelsInput } from './DraftUpdateLabelsInput';\nexport { type DraftRestoreRequest } from './DraftRestoreRequest';\nexport { type DraftHistoryRequest } from './DraftHistoryRequest';\nexport { type DraftRevisionRequest } from './DraftRevisionRequest';\nexport { type DraftExport } from './DraftExport';\nexport { type DraftIssue } from './DraftIssue';\n"]}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The DID method to use for the issuer DID.
6
+ */
7
+ export type DraftLatestIssueRequestDidMethod = 'key' | 'web';
8
+ export declare const DraftLatestIssueRequestDidMethod: {
9
+ readonly Key: "key";
10
+ readonly Web: "web";
11
+ };
12
+ //# sourceMappingURL=DraftLatestIssueRequestDidMethod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DraftLatestIssueRequestDidMethod.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,KAAK,GAAG,KAAK,CAAC;AAC7D,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DraftLatestIssueRequestDidMethod = void 0;
7
+ exports.DraftLatestIssueRequestDidMethod = {
8
+ Key: 'key',
9
+ Web: 'web',
10
+ };
11
+ //# sourceMappingURL=DraftLatestIssueRequestDidMethod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DraftLatestIssueRequestDidMethod.js","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/DraftLatestIssueRequestDidMethod.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAMU,QAAA,gCAAgC,GAAG;IAC5C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The DID method to use for the issuer DID.\n */\nexport type DraftLatestIssueRequestDidMethod = 'key' | 'web';\nexport const DraftLatestIssueRequestDidMethod = {\n Key: 'key',\n Web: 'web',\n} as const;\n"]}
@@ -1,2 +1,3 @@
1
+ export * from './DraftLatestIssueRequestDidMethod';
1
2
  export * from './DraftIssueDidMethod';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC"}
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DraftLatestIssueRequestDidMethod"), exports);
17
18
  __exportStar(require("./DraftIssueDidMethod"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC","sourcesContent":["export * from './DraftIssueDidMethod';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,wDAAsC","sourcesContent":["export * from './DraftLatestIssueRequestDidMethod';\nexport * from './DraftIssueDidMethod';\n"]}
@@ -107,7 +107,7 @@ class Files {
107
107
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
108
108
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'files'),
109
109
  method: 'POST',
110
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: 'application/json',
112
112
  queryParameters: _queryParams,
113
113
  requestType: 'json',
@@ -235,7 +235,7 @@ class Files {
235
235
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
236
236
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'files/search'),
237
237
  method: 'POST',
238
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: 'application/json',
240
240
  requestType: 'json',
241
241
  body: serializers.FileSearchRequest.jsonOrThrow(request, {
@@ -357,7 +357,7 @@ class Files {
357
357
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
358
358
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'files/upload'),
359
359
  method: 'POST',
360
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
360
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
361
361
  contentType: 'application/json',
362
362
  requestType: 'json',
363
363
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -464,7 +464,7 @@ class Files {
464
464
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
465
465
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
466
466
  method: 'GET',
467
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
467
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
468
468
  contentType: 'application/json',
469
469
  requestType: 'json',
470
470
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -583,7 +583,7 @@ class Files {
583
583
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
584
584
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
585
585
  method: 'DELETE',
586
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
586
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
587
587
  contentType: 'application/json',
588
588
  requestType: 'json',
589
589
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -712,7 +712,7 @@ class Files {
712
712
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
713
713
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/annotations`),
714
714
  method: 'PATCH',
715
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
715
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
716
716
  contentType: 'application/json',
717
717
  requestType: 'json',
718
718
  body: serializers.FileUpdateAnnotationsInput.jsonOrThrow(_body, {
@@ -860,7 +860,7 @@ class Files {
860
860
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
861
861
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/labels`),
862
862
  method: 'PATCH',
863
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
863
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
864
864
  contentType: 'application/json',
865
865
  requestType: 'json',
866
866
  body: serializers.FileUpdateLabelsInput.jsonOrThrow(_body, {
@@ -1004,7 +1004,7 @@ class Files {
1004
1004
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1005
1005
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/restore`),
1006
1006
  method: 'POST',
1007
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1007
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1008
1008
  contentType: 'application/json',
1009
1009
  requestType: 'json',
1010
1010
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1132,7 +1132,7 @@ class Files {
1132
1132
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1133
1133
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions`),
1134
1134
  method: 'GET',
1135
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1135
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1136
1136
  contentType: 'application/json',
1137
1137
  requestType: 'json',
1138
1138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1247,7 +1247,7 @@ class Files {
1247
1247
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1248
1248
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
1249
1249
  method: 'GET',
1250
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1250
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1251
1251
  contentType: 'application/json',
1252
1252
  requestType: 'json',
1253
1253
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1353,7 +1353,7 @@ class Files {
1353
1353
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1354
1354
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
1355
1355
  method: 'GET',
1356
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.33.1', 'User-Agent': '@truvity/sdk/0.33.1', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1356
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1357
1357
  contentType: 'application/json',
1358
1358
  requestType: 'json',
1359
1359
  responseType: 'streaming',