@truvity/sdk 0.28.3 → 0.28.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) 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/flavor.d.ts.map +1 -1
  135. package/documents/credential/flavor.js +1 -0
  136. package/documents/credential/flavor.js.map +1 -1
  137. package/documents/credential/flavor.spec.js +2 -0
  138. package/documents/credential/flavor.spec.js.map +1 -1
  139. package/documents/credential/unknown.d.ts +4 -0
  140. package/documents/credential/unknown.d.ts.map +1 -1
  141. package/documents/credential/unknown.js +8 -0
  142. package/documents/credential/unknown.js.map +1 -1
  143. package/documents/credential.d.ts +4 -0
  144. package/documents/credential.d.ts.map +1 -1
  145. package/documents/credential.js +8 -0
  146. package/documents/credential.js.map +1 -1
  147. package/documents/presentation.d.ts +4 -0
  148. package/documents/presentation.d.ts.map +1 -1
  149. package/documents/presentation.js +8 -0
  150. package/documents/presentation.js.map +1 -1
  151. package/documents/types.d.ts +1 -0
  152. package/documents/types.d.ts.map +1 -1
  153. package/documents/types.js.map +1 -1
  154. package/package.json +1 -1
  155. package/reference.md +0 -4
  156. package/serialization/types/EqualKeyTypeValue.d.ts +1 -1
  157. package/serialization/types/EqualKeyTypeValue.d.ts.map +1 -1
  158. package/serialization/types/EqualKeyTypeValue.js +1 -1
  159. package/serialization/types/EqualKeyTypeValue.js.map +1 -1
  160. package/serialization/types/InKeyTypeValuesItem.d.ts +1 -1
  161. package/serialization/types/InKeyTypeValuesItem.d.ts.map +1 -1
  162. package/serialization/types/InKeyTypeValuesItem.js +1 -1
  163. package/serialization/types/InKeyTypeValuesItem.js.map +1 -1
  164. package/serialization/types/KeyGenerateType.d.ts +1 -1
  165. package/serialization/types/KeyGenerateType.d.ts.map +1 -1
  166. package/serialization/types/KeyGenerateType.js +1 -1
  167. package/serialization/types/KeyGenerateType.js.map +1 -1
  168. package/serialization/types/KeyPublicType.d.ts +1 -1
  169. package/serialization/types/KeyPublicType.d.ts.map +1 -1
  170. package/serialization/types/KeyPublicType.js +1 -1
  171. package/serialization/types/KeyPublicType.js.map +1 -1
  172. package/serialization/types/NotEqualKeyTypeValue.d.ts +1 -1
  173. package/serialization/types/NotEqualKeyTypeValue.d.ts.map +1 -1
  174. package/serialization/types/NotEqualKeyTypeValue.js +1 -1
  175. package/serialization/types/NotEqualKeyTypeValue.js.map +1 -1
  176. package/serialization/types/NotInKeyTypeValuesItem.d.ts +1 -1
  177. package/serialization/types/NotInKeyTypeValuesItem.d.ts.map +1 -1
  178. package/serialization/types/NotInKeyTypeValuesItem.js +1 -1
  179. package/serialization/types/NotInKeyTypeValuesItem.js.map +1 -1
@@ -15,17 +15,17 @@ export interface KeyDeleteRequest {
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":"KeyDeleteRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyDeleteRequest.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 KeyDeleteRequest {\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":"KeyDeleteRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyDeleteRequest.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 KeyDeleteRequest {\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"]}
@@ -16,17 +16,17 @@ export interface KeyGenerateInput {
16
16
  * to ensure idempotent behavior by sending the same (or a similar) response
17
17
  * without executing the request a second time.
18
18
  *
19
- * Clients should be careful as any subsequent requests with the same key may
20
- * return the same response without further check. Thus, it is recommended to
21
- * use a UUID version 4 (random) or any other random string with enough
22
- * entropy to avoid collisions.
19
+ * Clients should be careful as any subsequent requests with the same key may
20
+ * return the same response without further check. Thus, it is recommended to
21
+ * use a UUID version 4 (random) or any other random string with enough
22
+ * entropy to avoid collisions.
23
23
  *
24
- * Keys expire after 24 hours. Clients are responsible to stay within this
25
- * limit, if they require idempotent behavior.
24
+ * Keys expire after 24 hours. Clients are responsible to stay within this
25
+ * limit, if they require idempotent behavior.
26
26
  *
27
- * See [API Guideline Rule #181][api-230] for further details.
27
+ * See [API Guideline Rule #181][api-230] for further details.
28
28
  *
29
- * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
29
+ * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
30
30
  */
31
31
  idempotencyKey?: string;
32
32
  data: Truvity.KeyGenerate;
@@ -1 +1 @@
1
- {"version":3,"file":"KeyGenerateInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyGenerateInput.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 * }\n */\nexport interface KeyGenerateInput {\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 data: Truvity.KeyGenerate;\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":"KeyGenerateInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyGenerateInput.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 * }\n */\nexport interface KeyGenerateInput {\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 data: Truvity.KeyGenerate;\n /** The annotations of the resource. */\n annotations?: Record<string, string>;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
@@ -15,17 +15,17 @@ export interface KeyImportSecretInput {
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":"KeyImportSecretInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyImportSecretInput.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 * data: \"data\"\n * }\n */\nexport interface KeyImportSecretInput {\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 * Import secret key. Supported formats:\n * - PEM-encoded PKCS#8\n * - PEM-encoded EC\n * - JWK format\n * .\n */\n data: string;\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":"KeyImportSecretInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyImportSecretInput.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 * data: \"data\"\n * }\n */\nexport interface KeyImportSecretInput {\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 * Import secret key. Supported formats:\n * - PEM-encoded PKCS#8\n * - PEM-encoded EC\n * - JWK format\n * .\n */\n data: string;\n /** The annotations of the resource. */\n annotations?: Record<string, string>;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
@@ -15,17 +15,17 @@ export interface KeyInput {
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":"KeyInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyInput.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 KeyInput {\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 /** 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":"KeyInput.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyInput.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 KeyInput {\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 /** The annotations of the resource. */\n annotations?: Record<string, string>;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
@@ -15,17 +15,17 @@ export interface KeyRestoreRequest {
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":"KeyRestoreRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyRestoreRequest.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 KeyRestoreRequest {\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":"KeyRestoreRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/keys/client/requests/KeyRestoreRequest.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 KeyRestoreRequest {\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"]}
@@ -69,6 +69,7 @@ export declare class Presentations {
69
69
  * @throws {@link Truvity.BadRequestError}
70
70
  * @throws {@link Truvity.UnauthorizedError}
71
71
  * @throws {@link Truvity.ForbiddenError}
72
+ * @throws {@link Truvity.MethodNotAllowedError}
72
73
  * @throws {@link Truvity.TooManyRequestsError}
73
74
  * @throws {@link Truvity.InternalServerError}
74
75
  *
@@ -164,6 +165,7 @@ export declare class Presentations {
164
165
  * @throws {@link Truvity.BadRequestError}
165
166
  * @throws {@link Truvity.UnauthorizedError}
166
167
  * @throws {@link Truvity.ForbiddenError}
168
+ * @throws {@link Truvity.NotFoundError}
167
169
  * @throws {@link Truvity.MethodNotAllowedError}
168
170
  * @throws {@link Truvity.PreconditionFailedError}
169
171
  * @throws {@link Truvity.TooManyRequestsError}
@@ -217,6 +219,7 @@ export declare class Presentations {
217
219
  * @throws {@link Truvity.BadRequestError}
218
220
  * @throws {@link Truvity.UnauthorizedError}
219
221
  * @throws {@link Truvity.ForbiddenError}
222
+ * @throws {@link Truvity.NotFoundError}
220
223
  * @throws {@link Truvity.TooManyRequestsError}
221
224
  * @throws {@link Truvity.InternalServerError}
222
225
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/presentations/client/Client.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAKjC,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACnC,UAAU,OAAO;QACb,WAAW,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,kBAAkB,GAAG,MAAM,CAAC,CAAC;QACtE,MAAM,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;QAC3C,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC;KAChC;IAED,UAAU,cAAc;QACpB,0DAA0D;QAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,+DAA+D;QAC/D,UAAU,CAAC,EAA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ChD,cAAc,CAAC,EAAE,aAAa,CAAC,cAAc,GAC9C,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC;IA+GpC;;;;;;;;;;;;;;;;;OAiBG;IACU,oBAAoB,CAC7B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAO,CAAC,2BAAgC,EACjD,cAAc,CAAC,EAAE,aAAa,CAAC,cAAc,GAC9C,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC;IA+GxC;;;;;;;;OAQG;IACU,oBAAoB,CAC7B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAO,CAAC,2BAAgC,EACjD,cAAc,CAAC,EAAE,aAAa,CAAC,cAAc,GAC9C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;IA2G3B;;;;;;;;;;;;;;OAcG;IACU,kBAAkB,CAC3B,EAAE,EAAE,MAAM,EACV,cAAc,CAAC,EAAE,aAAa,CAAC,cAAc,GAC9C,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC;cAoGtB,8BAA8B;;;CAIjD"}
@@ -77,7 +77,7 @@ class Presentations {
77
77
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
78
78
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/export'),
79
79
  method: 'POST',
80
- 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())),
80
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
81
  contentType: 'application/json',
82
82
  requestType: 'json',
83
83
  body: Object.assign(Object.assign({}, serializers.PresentationExport.jsonOrThrow(request, {
@@ -179,7 +179,7 @@ class Presentations {
179
179
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
180
180
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/import'),
181
181
  method: 'POST',
182
- 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())),
182
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
183
183
  contentType: 'application/json',
184
184
  queryParameters: _queryParams,
185
185
  requestType: 'json',
@@ -285,6 +285,7 @@ class Presentations {
285
285
  * @throws {@link Truvity.BadRequestError}
286
286
  * @throws {@link Truvity.UnauthorizedError}
287
287
  * @throws {@link Truvity.ForbiddenError}
288
+ * @throws {@link Truvity.MethodNotAllowedError}
288
289
  * @throws {@link Truvity.TooManyRequestsError}
289
290
  * @throws {@link Truvity.InternalServerError}
290
291
  *
@@ -300,7 +301,7 @@ class Presentations {
300
301
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
301
302
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/issue'),
302
303
  method: 'POST',
303
- 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())),
304
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
304
305
  contentType: 'application/json',
305
306
  requestType: 'json',
306
307
  body: Object.assign(Object.assign({}, serializers.PresentationIssue.jsonOrThrow(request, {
@@ -342,6 +343,13 @@ class Presentations {
342
343
  allowUnrecognizedEnumValues: true,
343
344
  breadcrumbsPrefix: ['response'],
344
345
  }));
346
+ case 405:
347
+ throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
348
+ unrecognizedObjectKeys: 'passthrough',
349
+ allowUnrecognizedUnionMembers: true,
350
+ allowUnrecognizedEnumValues: true,
351
+ breadcrumbsPrefix: ['response'],
352
+ }));
345
353
  case 429:
346
354
  throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
347
355
  unrecognizedObjectKeys: 'passthrough',
@@ -400,7 +408,7 @@ class Presentations {
400
408
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
401
409
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/search'),
402
410
  method: 'POST',
403
- 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())),
411
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
404
412
  contentType: 'application/json',
405
413
  requestType: 'json',
406
414
  body: serializers.PresentationSearchRequest.jsonOrThrow(request, {
@@ -507,7 +515,7 @@ class Presentations {
507
515
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
508
516
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/upload'),
509
517
  method: 'POST',
510
- 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())),
518
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
511
519
  contentType: 'application/json',
512
520
  requestType: 'json',
513
521
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -605,7 +613,7 @@ class Presentations {
605
613
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
606
614
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}`),
607
615
  method: 'GET',
608
- 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())),
616
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
609
617
  contentType: 'application/json',
610
618
  requestType: 'json',
611
619
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -715,7 +723,7 @@ class Presentations {
715
723
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
716
724
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}`),
717
725
  method: 'DELETE',
718
- 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())),
726
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', '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())),
719
727
  contentType: 'application/json',
720
728
  requestType: 'json',
721
729
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -816,6 +824,7 @@ class Presentations {
816
824
  * @throws {@link Truvity.BadRequestError}
817
825
  * @throws {@link Truvity.UnauthorizedError}
818
826
  * @throws {@link Truvity.ForbiddenError}
827
+ * @throws {@link Truvity.NotFoundError}
819
828
  * @throws {@link Truvity.MethodNotAllowedError}
820
829
  * @throws {@link Truvity.PreconditionFailedError}
821
830
  * @throws {@link Truvity.TooManyRequestsError}
@@ -833,7 +842,7 @@ class Presentations {
833
842
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
834
843
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/restore`),
835
844
  method: 'POST',
836
- 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())),
845
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', '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())),
837
846
  contentType: 'application/json',
838
847
  requestType: 'json',
839
848
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -871,6 +880,13 @@ class Presentations {
871
880
  allowUnrecognizedEnumValues: true,
872
881
  breadcrumbsPrefix: ['response'],
873
882
  }));
883
+ case 404:
884
+ throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
885
+ unrecognizedObjectKeys: 'passthrough',
886
+ allowUnrecognizedUnionMembers: true,
887
+ allowUnrecognizedEnumValues: true,
888
+ breadcrumbsPrefix: ['response'],
889
+ }));
874
890
  case 405:
875
891
  throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
876
892
  unrecognizedObjectKeys: 'passthrough',
@@ -945,7 +961,7 @@ class Presentations {
945
961
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
946
962
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions`),
947
963
  method: 'GET',
948
- 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())),
964
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
949
965
  contentType: 'application/json',
950
966
  requestType: 'json',
951
967
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1051,7 +1067,7 @@ class Presentations {
1051
1067
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1052
1068
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
1053
1069
  method: 'GET',
1054
- 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())),
1070
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
1055
1071
  contentType: 'application/json',
1056
1072
  requestType: 'json',
1057
1073
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1137,6 +1153,7 @@ class Presentations {
1137
1153
  * @throws {@link Truvity.BadRequestError}
1138
1154
  * @throws {@link Truvity.UnauthorizedError}
1139
1155
  * @throws {@link Truvity.ForbiddenError}
1156
+ * @throws {@link Truvity.NotFoundError}
1140
1157
  * @throws {@link Truvity.TooManyRequestsError}
1141
1158
  * @throws {@link Truvity.InternalServerError}
1142
1159
  */
@@ -1147,7 +1164,7 @@ class Presentations {
1147
1164
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1148
1165
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
1149
1166
  method: 'GET',
1150
- 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())),
1167
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
1151
1168
  contentType: 'application/json',
1152
1169
  requestType: 'json',
1153
1170
  responseType: 'streaming',
@@ -1181,6 +1198,13 @@ class Presentations {
1181
1198
  allowUnrecognizedEnumValues: true,
1182
1199
  breadcrumbsPrefix: ['response'],
1183
1200
  }));
1201
+ case 404:
1202
+ throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
1203
+ unrecognizedObjectKeys: 'passthrough',
1204
+ allowUnrecognizedUnionMembers: true,
1205
+ allowUnrecognizedEnumValues: true,
1206
+ breadcrumbsPrefix: ['response'],
1207
+ }));
1184
1208
  case 429:
1185
1209
  throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
1186
1210
  unrecognizedObjectKeys: 'passthrough',
@@ -1238,7 +1262,7 @@ class Presentations {
1238
1262
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1239
1263
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/verify`),
1240
1264
  method: 'GET',
1241
- 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())),
1265
+ headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1242
1266
  contentType: 'application/json',
1243
1267
  requestType: 'json',
1244
1268
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,