@truvity/sdk 0.28.3 → 0.28.5

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 (211) hide show
  1. package/api/resources/apiKeys/client/Client.d.ts +1 -0
  2. package/api/resources/apiKeys/client/Client.d.ts.map +1 -1
  3. package/api/resources/apiKeys/client/Client.js +16 -8
  4. package/api/resources/apiKeys/client/Client.js.map +1 -1
  5. package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +8 -8
  6. package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.js.map +1 -1
  7. package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +8 -8
  8. package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.js.map +1 -1
  9. package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +8 -8
  10. package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js.map +1 -1
  11. package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +8 -8
  12. package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js.map +1 -1
  13. package/api/resources/credentials/client/Client.d.ts +2 -0
  14. package/api/resources/credentials/client/Client.d.ts.map +1 -1
  15. package/api/resources/credentials/client/Client.js +26 -10
  16. package/api/resources/credentials/client/Client.js.map +1 -1
  17. package/api/resources/credentials/client/requests/CredentialDeleteRequest.d.ts +8 -8
  18. package/api/resources/credentials/client/requests/CredentialDeleteRequest.js.map +1 -1
  19. package/api/resources/credentials/client/requests/CredentialInput.d.ts +8 -8
  20. package/api/resources/credentials/client/requests/CredentialInput.js.map +1 -1
  21. package/api/resources/credentials/client/requests/CredentialRestoreRequest.d.ts +8 -8
  22. package/api/resources/credentials/client/requests/CredentialRestoreRequest.js.map +1 -1
  23. package/api/resources/credentials/client/requests/CredentialUploadRequest.d.ts +8 -8
  24. package/api/resources/credentials/client/requests/CredentialUploadRequest.js.map +1 -1
  25. package/api/resources/desk/client/Client.js +2 -2
  26. package/api/resources/desk/client/Client.js.map +1 -1
  27. package/api/resources/didcommMessages/client/Client.d.ts +3 -0
  28. package/api/resources/didcommMessages/client/Client.d.ts.map +1 -1
  29. package/api/resources/didcommMessages/client/Client.js +31 -7
  30. package/api/resources/didcommMessages/client/Client.js.map +1 -1
  31. package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +8 -8
  32. package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
  33. package/api/resources/didcommMessages/client/requests/DidcommMessageDeleteRequest.d.ts +8 -8
  34. package/api/resources/didcommMessages/client/requests/DidcommMessageDeleteRequest.js.map +1 -1
  35. package/api/resources/didcommMessages/client/requests/DidcommMessageRestoreRequest.d.ts +8 -8
  36. package/api/resources/didcommMessages/client/requests/DidcommMessageRestoreRequest.js.map +1 -1
  37. package/api/resources/dids/client/Client.js +1 -1
  38. package/api/resources/dids/client/Client.js.map +1 -1
  39. package/api/resources/drafts/client/Client.d.ts +2 -0
  40. package/api/resources/drafts/client/Client.d.ts.map +1 -1
  41. package/api/resources/drafts/client/Client.js +26 -10
  42. package/api/resources/drafts/client/Client.js.map +1 -1
  43. package/api/resources/drafts/client/requests/DraftCreateRequest.d.ts +8 -8
  44. package/api/resources/drafts/client/requests/DraftCreateRequest.js.map +1 -1
  45. package/api/resources/drafts/client/requests/DraftDeleteRequest.d.ts +8 -8
  46. package/api/resources/drafts/client/requests/DraftDeleteRequest.js.map +1 -1
  47. package/api/resources/drafts/client/requests/DraftRestoreRequest.d.ts +8 -8
  48. package/api/resources/drafts/client/requests/DraftRestoreRequest.js.map +1 -1
  49. package/api/resources/drafts/client/requests/DraftUpdateRequest.d.ts +8 -8
  50. package/api/resources/drafts/client/requests/DraftUpdateRequest.js.map +1 -1
  51. package/api/resources/files/client/Client.d.ts +2 -0
  52. package/api/resources/files/client/Client.d.ts.map +1 -1
  53. package/api/resources/files/client/Client.js +26 -10
  54. package/api/resources/files/client/Client.js.map +1 -1
  55. package/api/resources/files/client/requests/FileCreateRequest.d.ts +8 -8
  56. package/api/resources/files/client/requests/FileCreateRequest.js.map +1 -1
  57. package/api/resources/files/client/requests/FileDeleteRequest.d.ts +8 -8
  58. package/api/resources/files/client/requests/FileDeleteRequest.js.map +1 -1
  59. package/api/resources/files/client/requests/FileRestoreRequest.d.ts +8 -8
  60. package/api/resources/files/client/requests/FileRestoreRequest.js.map +1 -1
  61. package/api/resources/files/client/requests/FileUpdateRequest.d.ts +8 -8
  62. package/api/resources/files/client/requests/FileUpdateRequest.js.map +1 -1
  63. package/api/resources/files/client/requests/FileUploadRequest.d.ts +8 -8
  64. package/api/resources/files/client/requests/FileUploadRequest.js.map +1 -1
  65. package/api/resources/gdpr/client/Client.js +1 -1
  66. package/api/resources/gdpr/client/Client.js.map +1 -1
  67. package/api/resources/keys/client/Client.d.ts +4 -4
  68. package/api/resources/keys/client/Client.d.ts.map +1 -1
  69. package/api/resources/keys/client/Client.js +44 -16
  70. package/api/resources/keys/client/Client.js.map +1 -1
  71. package/api/resources/keys/client/requests/KeyDeleteRequest.d.ts +8 -8
  72. package/api/resources/keys/client/requests/KeyDeleteRequest.js.map +1 -1
  73. package/api/resources/keys/client/requests/KeyGenerateInput.d.ts +8 -8
  74. package/api/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
  75. package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts +8 -8
  76. package/api/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
  77. package/api/resources/keys/client/requests/KeyInput.d.ts +8 -8
  78. package/api/resources/keys/client/requests/KeyInput.js.map +1 -1
  79. package/api/resources/keys/client/requests/KeyRestoreRequest.d.ts +8 -8
  80. package/api/resources/keys/client/requests/KeyRestoreRequest.js.map +1 -1
  81. package/api/resources/presentations/client/Client.d.ts +3 -0
  82. package/api/resources/presentations/client/Client.d.ts.map +1 -1
  83. package/api/resources/presentations/client/Client.js +36 -12
  84. package/api/resources/presentations/client/Client.js.map +1 -1
  85. package/api/resources/presentations/client/requests/PresentationDeleteRequest.d.ts +8 -8
  86. package/api/resources/presentations/client/requests/PresentationDeleteRequest.js.map +1 -1
  87. package/api/resources/presentations/client/requests/PresentationInput.d.ts +8 -8
  88. package/api/resources/presentations/client/requests/PresentationInput.js.map +1 -1
  89. package/api/resources/presentations/client/requests/PresentationRestoreRequest.d.ts +8 -8
  90. package/api/resources/presentations/client/requests/PresentationRestoreRequest.js.map +1 -1
  91. package/api/resources/presentations/client/requests/PresentationUploadRequest.d.ts +8 -8
  92. package/api/resources/presentations/client/requests/PresentationUploadRequest.js.map +1 -1
  93. package/api/types/DraftSchema.d.ts +17 -16
  94. package/api/types/DraftSchema.d.ts.map +1 -1
  95. package/api/types/DraftSchema.js.map +1 -1
  96. package/api/types/EqualKeyTypeValue.d.ts +1 -2
  97. package/api/types/EqualKeyTypeValue.d.ts.map +1 -1
  98. package/api/types/EqualKeyTypeValue.js +0 -1
  99. package/api/types/EqualKeyTypeValue.js.map +1 -1
  100. package/api/types/InKeyTypeValuesItem.d.ts +6 -8
  101. package/api/types/InKeyTypeValuesItem.d.ts.map +1 -1
  102. package/api/types/InKeyTypeValuesItem.js +0 -1
  103. package/api/types/InKeyTypeValuesItem.js.map +1 -1
  104. package/api/types/KeyGenerate.d.ts +5 -6
  105. package/api/types/KeyGenerate.d.ts.map +1 -1
  106. package/api/types/KeyGenerate.js.map +1 -1
  107. package/api/types/KeyGenerateType.d.ts +6 -8
  108. package/api/types/KeyGenerateType.d.ts.map +1 -1
  109. package/api/types/KeyGenerateType.js +0 -1
  110. package/api/types/KeyGenerateType.js.map +1 -1
  111. package/api/types/KeyPublic.d.ts +5 -6
  112. package/api/types/KeyPublic.d.ts.map +1 -1
  113. package/api/types/KeyPublic.js.map +1 -1
  114. package/api/types/KeyPublicType.d.ts +6 -8
  115. package/api/types/KeyPublicType.d.ts.map +1 -1
  116. package/api/types/KeyPublicType.js +0 -1
  117. package/api/types/KeyPublicType.js.map +1 -1
  118. package/api/types/NotEqualKeyTypeValue.d.ts +1 -2
  119. package/api/types/NotEqualKeyTypeValue.d.ts.map +1 -1
  120. package/api/types/NotEqualKeyTypeValue.js +0 -1
  121. package/api/types/NotEqualKeyTypeValue.js.map +1 -1
  122. package/api/types/NotInKeyTypeValuesItem.d.ts +6 -8
  123. package/api/types/NotInKeyTypeValuesItem.d.ts.map +1 -1
  124. package/api/types/NotInKeyTypeValuesItem.js +0 -1
  125. package/api/types/NotInKeyTypeValuesItem.js.map +1 -1
  126. package/api/types/ProblemMethodNotAllowedAlive.d.ts +1 -1
  127. package/api/types/ProblemMethodNotAllowedAlive.js.map +1 -1
  128. package/api/types/ProblemMethodNotAllowedDeleted.d.ts +1 -1
  129. package/api/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
  130. package/api/types/ProblemPreconditionFailedBlob.d.ts +1 -1
  131. package/api/types/ProblemPreconditionFailedBlob.js.map +1 -1
  132. package/api/types/ProblemResourceNotFound.d.ts +1 -1
  133. package/api/types/ProblemResourceNotFound.js.map +1 -1
  134. package/documents/credential/baseVerifiableCredential.d.ts +1 -1
  135. package/documents/credential/baseVerifiableCredential.d.ts.map +1 -1
  136. package/documents/credential/baseVerifiableCredential.js +27 -4
  137. package/documents/credential/baseVerifiableCredential.js.map +1 -1
  138. package/documents/credential/document.d.ts +1 -1
  139. package/documents/credential/document.d.ts.map +1 -1
  140. package/documents/credential/document.js +2 -2
  141. package/documents/credential/document.js.map +1 -1
  142. package/documents/credential/document.spec.d.ts +1 -1
  143. package/documents/credential/document.spec.d.ts.map +1 -1
  144. package/documents/credential/document.spec.js +4 -3
  145. package/documents/credential/document.spec.js.map +1 -1
  146. package/documents/credential/draft.d.ts +2 -1
  147. package/documents/credential/draft.d.ts.map +1 -1
  148. package/documents/credential/draft.js +4 -3
  149. package/documents/credential/draft.js.map +1 -1
  150. package/documents/credential/flavor.d.ts.map +1 -1
  151. package/documents/credential/flavor.js +1 -0
  152. package/documents/credential/flavor.js.map +1 -1
  153. package/documents/credential/flavor.spec.js +5 -3
  154. package/documents/credential/flavor.spec.js.map +1 -1
  155. package/documents/credential/issued.d.ts +2 -1
  156. package/documents/credential/issued.d.ts.map +1 -1
  157. package/documents/credential/issued.js +4 -3
  158. package/documents/credential/issued.js.map +1 -1
  159. package/documents/credential/unknown.d.ts +6 -1
  160. package/documents/credential/unknown.d.ts.map +1 -1
  161. package/documents/credential/unknown.js +10 -2
  162. package/documents/credential/unknown.js.map +1 -1
  163. package/documents/credential.d.ts +7 -1
  164. package/documents/credential.d.ts.map +1 -1
  165. package/documents/credential.js +19 -8
  166. package/documents/credential.js.map +1 -1
  167. package/documents/models.d.ts +1 -1
  168. package/documents/models.d.ts.map +1 -1
  169. package/documents/models.js +2 -25
  170. package/documents/models.js.map +1 -1
  171. package/documents/presentation/issued.d.ts +1 -1
  172. package/documents/presentation/issued.d.ts.map +1 -1
  173. package/documents/presentation/issued.js +2 -2
  174. package/documents/presentation/issued.js.map +1 -1
  175. package/documents/presentation.d.ts +7 -1
  176. package/documents/presentation.d.ts.map +1 -1
  177. package/documents/presentation.js +10 -2
  178. package/documents/presentation.js.map +1 -1
  179. package/documents/types.d.ts +1 -0
  180. package/documents/types.d.ts.map +1 -1
  181. package/documents/types.js.map +1 -1
  182. package/package.json +1 -1
  183. package/reference.md +0 -4
  184. package/serialization/types/EqualKeyTypeValue.d.ts +1 -1
  185. package/serialization/types/EqualKeyTypeValue.d.ts.map +1 -1
  186. package/serialization/types/EqualKeyTypeValue.js +1 -1
  187. package/serialization/types/EqualKeyTypeValue.js.map +1 -1
  188. package/serialization/types/InKeyTypeValuesItem.d.ts +1 -1
  189. package/serialization/types/InKeyTypeValuesItem.d.ts.map +1 -1
  190. package/serialization/types/InKeyTypeValuesItem.js +1 -1
  191. package/serialization/types/InKeyTypeValuesItem.js.map +1 -1
  192. package/serialization/types/KeyGenerateType.d.ts +1 -1
  193. package/serialization/types/KeyGenerateType.d.ts.map +1 -1
  194. package/serialization/types/KeyGenerateType.js +1 -1
  195. package/serialization/types/KeyGenerateType.js.map +1 -1
  196. package/serialization/types/KeyPublicType.d.ts +1 -1
  197. package/serialization/types/KeyPublicType.d.ts.map +1 -1
  198. package/serialization/types/KeyPublicType.js +1 -1
  199. package/serialization/types/KeyPublicType.js.map +1 -1
  200. package/serialization/types/NotEqualKeyTypeValue.d.ts +1 -1
  201. package/serialization/types/NotEqualKeyTypeValue.d.ts.map +1 -1
  202. package/serialization/types/NotEqualKeyTypeValue.js +1 -1
  203. package/serialization/types/NotEqualKeyTypeValue.js.map +1 -1
  204. package/serialization/types/NotInKeyTypeValuesItem.d.ts +1 -1
  205. package/serialization/types/NotInKeyTypeValuesItem.d.ts.map +1 -1
  206. package/serialization/types/NotInKeyTypeValuesItem.js +1 -1
  207. package/serialization/types/NotInKeyTypeValuesItem.js.map +1 -1
  208. package/documents/credential/index.d.ts +0 -7
  209. package/documents/credential/index.d.ts.map +0 -1
  210. package/documents/credential/index.js +0 -23
  211. package/documents/credential/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ApiKeyDeleteRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\"\n * }\n */\nexport interface ApiKeyDeleteRequest {\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][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\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 *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n}\n"]}
1
+ {"version":3,"file":"ApiKeyDeleteRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\"\n * }\n */\nexport interface ApiKeyDeleteRequest {\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][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\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 *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n}\n"]}
@@ -15,17 +15,17 @@ export interface ApiKeyRestoreRequest {
15
15
  * to ensure idempotent behavior by sending the same (or a similar) response
16
16
  * without executing the request a second time.
17
17
  *
18
- * Clients should be careful as any subsequent requests with the same key may
19
- * return the same response without further check. Thus, it is recommended to
20
- * use a UUID version 4 (random) or any other random string with enough
21
- * entropy to avoid collisions.
18
+ * Clients should be careful as any subsequent requests with the same key may
19
+ * return the same response without further check. Thus, it is recommended to
20
+ * use a UUID version 4 (random) or any other random string with enough
21
+ * entropy to avoid collisions.
22
22
  *
23
- * Keys expire after 24 hours. Clients are responsible to stay within this
24
- * limit, if they require idempotent behavior.
23
+ * Keys expire after 24 hours. Clients are responsible to stay within this
24
+ * limit, if they require idempotent behavior.
25
25
  *
26
- * See [API Guideline Rule #181][api-230] for further details.
26
+ * See [API Guideline Rule #181][api-230] for further details.
27
27
  *
28
- * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
28
+ * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
29
29
  */
30
30
  idempotencyKey?: string;
31
31
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ApiKeyRestoreRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\"\n * }\n */\nexport interface ApiKeyRestoreRequest {\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][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\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 *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n}\n"]}
1
+ {"version":3,"file":"ApiKeyRestoreRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\"\n * }\n */\nexport interface ApiKeyRestoreRequest {\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][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\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 *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n}\n"]}
@@ -17,17 +17,17 @@ export interface ApiKeyUpdateRequest {
17
17
  * to ensure idempotent behavior by sending the same (or a similar) response
18
18
  * without executing the request a second time.
19
19
  *
20
- * Clients should be careful as any subsequent requests with the same key may
21
- * return the same response without further check. Thus, it is recommended to
22
- * use a UUID version 4 (random) or any other random string with enough
23
- * entropy to avoid collisions.
20
+ * Clients should be careful as any subsequent requests with the same key may
21
+ * return the same response without further check. Thus, it is recommended to
22
+ * use a UUID version 4 (random) or any other random string with enough
23
+ * entropy to avoid collisions.
24
24
  *
25
- * Keys expire after 24 hours. Clients are responsible to stay within this
26
- * limit, if they require idempotent behavior.
25
+ * Keys expire after 24 hours. Clients are responsible to stay within this
26
+ * limit, if they require idempotent behavior.
27
27
  *
28
- * See [API Guideline Rule #181][api-230] for further details.
28
+ * See [API Guideline Rule #181][api-230] for further details.
29
29
  *
30
- * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
30
+ * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
31
31
  */
32
32
  idempotencyKey?: string;
33
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ApiKeyUpdateRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.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 * ifMatch: \"If-Match\",\n * body: {}\n * }\n */\nexport interface ApiKeyUpdateRequest {\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][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\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 *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n body: Truvity.ApiKeyInput;\n}\n"]}
1
+ {"version":3,"file":"ApiKeyUpdateRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.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 * ifMatch: \"If-Match\",\n * body: {}\n * }\n */\nexport interface ApiKeyUpdateRequest {\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][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\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 *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n body: Truvity.ApiKeyInput;\n}\n"]}
@@ -141,6 +141,7 @@ export declare class Credentials {
141
141
  * @throws {@link Truvity.BadRequestError}
142
142
  * @throws {@link Truvity.UnauthorizedError}
143
143
  * @throws {@link Truvity.ForbiddenError}
144
+ * @throws {@link Truvity.NotFoundError}
144
145
  * @throws {@link Truvity.MethodNotAllowedError}
145
146
  * @throws {@link Truvity.PreconditionFailedError}
146
147
  * @throws {@link Truvity.TooManyRequestsError}
@@ -197,6 +198,7 @@ export declare class Credentials {
197
198
  * @throws {@link Truvity.BadRequestError}
198
199
  * @throws {@link Truvity.UnauthorizedError}
199
200
  * @throws {@link Truvity.ForbiddenError}
201
+ * @throws {@link Truvity.NotFoundError}
200
202
  * @throws {@link Truvity.TooManyRequestsError}
201
203
  * @throws {@link Truvity.InternalServerError}
202
204
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/credentials/client/Client.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,IAAI,MAAM,kBAAkB,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AO,GAAE,OAAO,CAAC,yBAA8B,EAC/C,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,GAC5C,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC;IA+GtC;;;;;;;;OAQG;IACU,kBAAkB,CAC3B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAO,CAAC,yBAA8B,EAC/C,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,GAC5C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;IA2G3B;;;;;;;;;;;;;;OAcG;IACU,gBAAgB,CACzB,EAAE,EAAE,MAAM,EACV,cAAc,CAAC,EAAE,WAAW,CAAC,cAAc,GAC5C,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC;cAoGpB,8BAA8B;;;CAIjD"}
@@ -98,7 +98,7 @@ class Credentials {
98
98
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
99
99
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'credentials/import'),
100
100
  method: 'POST',
101
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
101
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
102
102
  contentType: 'application/json',
103
103
  queryParameters: _queryParams,
104
104
  requestType: 'json',
@@ -213,7 +213,7 @@ class Credentials {
213
213
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
214
214
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'credentials/search'),
215
215
  method: 'POST',
216
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
216
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
217
217
  contentType: 'application/json',
218
218
  requestType: 'json',
219
219
  body: serializers.CredentialSearchRequest.jsonOrThrow(request, {
@@ -320,7 +320,7 @@ class Credentials {
320
320
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
321
321
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'credentials/upload'),
322
322
  method: 'POST',
323
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
323
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
324
324
  contentType: 'application/json',
325
325
  requestType: 'json',
326
326
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -420,7 +420,7 @@ class Credentials {
420
420
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
421
421
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}`),
422
422
  method: 'GET',
423
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
423
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
424
424
  contentType: 'application/json',
425
425
  requestType: 'json',
426
426
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -530,7 +530,7 @@ class Credentials {
530
530
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
531
531
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}`),
532
532
  method: 'DELETE',
533
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', '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())),
533
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', '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())),
534
534
  contentType: 'application/json',
535
535
  requestType: 'json',
536
536
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -631,6 +631,7 @@ class Credentials {
631
631
  * @throws {@link Truvity.BadRequestError}
632
632
  * @throws {@link Truvity.UnauthorizedError}
633
633
  * @throws {@link Truvity.ForbiddenError}
634
+ * @throws {@link Truvity.NotFoundError}
634
635
  * @throws {@link Truvity.MethodNotAllowedError}
635
636
  * @throws {@link Truvity.PreconditionFailedError}
636
637
  * @throws {@link Truvity.TooManyRequestsError}
@@ -649,7 +650,7 @@ class Credentials {
649
650
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
650
651
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}/restore`),
651
652
  method: 'POST',
652
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', '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())),
653
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', '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())),
653
654
  contentType: 'application/json',
654
655
  requestType: 'json',
655
656
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,6 +688,13 @@ class Credentials {
687
688
  allowUnrecognizedEnumValues: true,
688
689
  breadcrumbsPrefix: ['response'],
689
690
  }));
691
+ case 404:
692
+ throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
693
+ unrecognizedObjectKeys: 'passthrough',
694
+ allowUnrecognizedUnionMembers: true,
695
+ allowUnrecognizedEnumValues: true,
696
+ breadcrumbsPrefix: ['response'],
697
+ }));
690
698
  case 405:
691
699
  throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
692
700
  unrecognizedObjectKeys: 'passthrough',
@@ -761,7 +769,7 @@ class Credentials {
761
769
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
762
770
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}/revisions`),
763
771
  method: 'GET',
764
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
772
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
765
773
  contentType: 'application/json',
766
774
  requestType: 'json',
767
775
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -869,7 +877,7 @@ class Credentials {
869
877
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
870
878
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
871
879
  method: 'GET',
872
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
880
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
873
881
  contentType: 'application/json',
874
882
  requestType: 'json',
875
883
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -955,6 +963,7 @@ class Credentials {
955
963
  * @throws {@link Truvity.BadRequestError}
956
964
  * @throws {@link Truvity.UnauthorizedError}
957
965
  * @throws {@link Truvity.ForbiddenError}
966
+ * @throws {@link Truvity.NotFoundError}
958
967
  * @throws {@link Truvity.TooManyRequestsError}
959
968
  * @throws {@link Truvity.InternalServerError}
960
969
  */
@@ -965,7 +974,7 @@ class Credentials {
965
974
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
966
975
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
967
976
  method: 'GET',
968
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
977
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
969
978
  contentType: 'application/json',
970
979
  requestType: 'json',
971
980
  responseType: 'streaming',
@@ -999,6 +1008,13 @@ class Credentials {
999
1008
  allowUnrecognizedEnumValues: true,
1000
1009
  breadcrumbsPrefix: ['response'],
1001
1010
  }));
1011
+ case 404:
1012
+ throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
1013
+ unrecognizedObjectKeys: 'passthrough',
1014
+ allowUnrecognizedUnionMembers: true,
1015
+ allowUnrecognizedEnumValues: true,
1016
+ breadcrumbsPrefix: ['response'],
1017
+ }));
1002
1018
  case 429:
1003
1019
  throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
1004
1020
  unrecognizedObjectKeys: 'passthrough',
@@ -1056,7 +1072,7 @@ class Credentials {
1056
1072
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1057
1073
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `credentials/${encodeURIComponent(id)}/verify`),
1058
1074
  method: 'GET',
1059
- headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1075
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1060
1076
  contentType: 'application/json',
1061
1077
  requestType: 'json',
1062
1078
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,