@truvity/sdk 0.37.4 → 0.37.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/api/resources/apiKeys/client/Client.js +9 -9
  2. package/api/resources/apiKeys/client/Client.js.map +1 -1
  3. package/api/resources/credentials/client/Client.js +12 -12
  4. package/api/resources/credentials/client/Client.js.map +1 -1
  5. package/api/resources/desk/client/Client.js +2 -2
  6. package/api/resources/desk/client/Client.js.map +1 -1
  7. package/api/resources/didcommMessages/client/Client.js +9 -9
  8. package/api/resources/didcommMessages/client/Client.js.map +1 -1
  9. package/api/resources/dids/client/Client.js +1 -1
  10. package/api/resources/dids/client/Client.js.map +1 -1
  11. package/api/resources/drafts/client/Client.js +12 -12
  12. package/api/resources/drafts/client/Client.js.map +1 -1
  13. package/api/resources/files/client/Client.js +11 -11
  14. package/api/resources/files/client/Client.js.map +1 -1
  15. package/api/resources/gdpr/client/Client.js +1 -1
  16. package/api/resources/gdpr/client/Client.js.map +1 -1
  17. package/api/resources/keys/client/Client.js +13 -13
  18. package/api/resources/keys/client/Client.js.map +1 -1
  19. package/api/resources/presentations/client/Client.js +14 -14
  20. package/api/resources/presentations/client/Client.js.map +1 -1
  21. package/api/types/DidCommMessageBlobAttachmentDescriptor.d.ts +16 -0
  22. package/api/types/DidCommMessageBlobAttachmentDescriptor.d.ts.map +1 -0
  23. package/api/types/DidCommMessageBlobAttachmentDescriptor.js +6 -0
  24. package/api/types/DidCommMessageBlobAttachmentDescriptor.js.map +1 -0
  25. package/api/types/DidCommMessageBlobAttachmentStatus.d.ts +14 -0
  26. package/api/types/DidCommMessageBlobAttachmentStatus.d.ts.map +1 -0
  27. package/api/types/DidCommMessageBlobAttachmentStatus.js +6 -0
  28. package/api/types/DidCommMessageBlobAttachmentStatus.js.map +1 -0
  29. package/api/types/DidCommMessageBlobDescriptor.d.ts +27 -0
  30. package/api/types/DidCommMessageBlobDescriptor.d.ts.map +1 -0
  31. package/api/types/{ProblemMethodNotAllowedAlive.js → DidCommMessageBlobDescriptor.js} +1 -1
  32. package/api/types/DidCommMessageBlobDescriptor.js.map +1 -0
  33. package/api/types/DidCommMessageBlobStatus.d.ts +20 -0
  34. package/api/types/DidCommMessageBlobStatus.d.ts.map +1 -0
  35. package/api/types/{ProblemPreconditionFailedBlob.js → DidCommMessageBlobStatus.js} +1 -1
  36. package/api/types/DidCommMessageBlobStatus.js.map +1 -0
  37. package/api/types/DidCommMessageCreateBlobs.d.ts +11 -0
  38. package/api/types/DidCommMessageCreateBlobs.d.ts.map +1 -0
  39. package/api/types/{ProblemMethodNotAllowedDeleted.js → DidCommMessageCreateBlobs.js} +1 -1
  40. package/api/types/DidCommMessageCreateBlobs.js.map +1 -0
  41. package/api/types/DidCommMessageCreateBlobsStatus.d.ts +11 -0
  42. package/api/types/DidCommMessageCreateBlobsStatus.d.ts.map +1 -0
  43. package/api/types/{ProblemPreconditionFailedResource.js → DidCommMessageCreateBlobsStatus.js} +1 -1
  44. package/api/types/DidCommMessageCreateBlobsStatus.js.map +1 -0
  45. package/api/types/MethodNotAllowedProblems.d.ts +2 -2
  46. package/api/types/MethodNotAllowedProblems.d.ts.map +1 -1
  47. package/api/types/MethodNotAllowedProblems.js.map +1 -1
  48. package/api/types/PreconditionFailedProblems.d.ts +2 -2
  49. package/api/types/PreconditionFailedProblems.js.map +1 -1
  50. package/api/types/ProblemBadRequest.d.ts +1 -1
  51. package/api/types/ProblemBadRequest.js.map +1 -1
  52. package/api/types/ProblemBadRequestBlobInvalidJson.d.ts +1 -1
  53. package/api/types/ProblemBadRequestBlobInvalidJson.js.map +1 -1
  54. package/api/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts +1 -1
  55. package/api/types/ProblemBadRequestHasNullUnicodeCharacter.js.map +1 -1
  56. package/api/types/ProblemBadRequestPayloadTooLarge.d.ts +1 -1
  57. package/api/types/ProblemBadRequestPayloadTooLarge.js.map +1 -1
  58. package/api/types/ProblemBlobNotFound.d.ts +1 -1
  59. package/api/types/ProblemBlobNotFound.js.map +1 -1
  60. package/api/types/{ProblemPreconditionFailedBlob.d.ts → ProblemBlobPreconditionFailed.d.ts} +2 -2
  61. package/api/types/{ProblemPreconditionFailedBlob.d.ts.map → ProblemBlobPreconditionFailed.d.ts.map} +1 -1
  62. package/api/types/ProblemBlobPreconditionFailed.js +6 -0
  63. package/api/types/{ProblemPreconditionFailedBlob.js.map → ProblemBlobPreconditionFailed.js.map} +1 -1
  64. package/api/types/ProblemConflict.d.ts +1 -1
  65. package/api/types/ProblemConflict.js.map +1 -1
  66. package/api/types/ProblemConflictBlobRestoreInProgress.d.ts +1 -1
  67. package/api/types/ProblemConflictBlobRestoreInProgress.js.map +1 -1
  68. package/api/types/ProblemForbidden.d.ts +1 -1
  69. package/api/types/ProblemForbidden.js.map +1 -1
  70. package/api/types/ProblemInternalServerError.d.ts +1 -1
  71. package/api/types/ProblemInternalServerError.js.map +1 -1
  72. package/api/types/ProblemMethodNotAllowed.d.ts +1 -1
  73. package/api/types/ProblemMethodNotAllowed.js.map +1 -1
  74. package/api/types/{ProblemMethodNotAllowedAlive.d.ts → ProblemMethodNotAllowedResourceAlive.d.ts} +2 -2
  75. package/api/types/ProblemMethodNotAllowedResourceAlive.d.ts.map +1 -0
  76. package/api/types/ProblemMethodNotAllowedResourceAlive.js +6 -0
  77. package/api/types/ProblemMethodNotAllowedResourceAlive.js.map +1 -0
  78. package/api/types/{ProblemMethodNotAllowedDeleted.d.ts → ProblemMethodNotAllowedResourceDeleted.d.ts} +2 -2
  79. package/api/types/ProblemMethodNotAllowedResourceDeleted.d.ts.map +1 -0
  80. package/api/types/ProblemMethodNotAllowedResourceDeleted.js +6 -0
  81. package/api/types/ProblemMethodNotAllowedResourceDeleted.js.map +1 -0
  82. package/api/types/ProblemNotFound.d.ts +1 -1
  83. package/api/types/ProblemNotFound.js.map +1 -1
  84. package/api/types/ProblemPreconditionFailed.d.ts +1 -1
  85. package/api/types/ProblemPreconditionFailed.js.map +1 -1
  86. package/api/types/{ProblemPreconditionFailedResource.d.ts → ProblemResourcePreconditionFailed.d.ts} +2 -2
  87. package/api/types/{ProblemPreconditionFailedResource.d.ts.map → ProblemResourcePreconditionFailed.d.ts.map} +1 -1
  88. package/api/types/ProblemResourcePreconditionFailed.js +6 -0
  89. package/api/types/{ProblemPreconditionFailedResource.js.map → ProblemResourcePreconditionFailed.js.map} +1 -1
  90. package/api/types/ProblemResourceRevisionNotFound.d.ts +1 -1
  91. package/api/types/ProblemResourceRevisionNotFound.js.map +1 -1
  92. package/api/types/ProblemServiceUnavailable.d.ts +1 -1
  93. package/api/types/ProblemServiceUnavailable.js.map +1 -1
  94. package/api/types/ProblemUnauthorized.d.ts +1 -1
  95. package/api/types/ProblemUnauthorized.js.map +1 -1
  96. package/api/types/ProblemUnsupportedMediaType.d.ts +1 -1
  97. package/api/types/ProblemUnsupportedMediaType.js.map +1 -1
  98. package/api/types/index.d.ts +10 -4
  99. package/api/types/index.d.ts.map +1 -1
  100. package/api/types/index.js +10 -4
  101. package/api/types/index.js.map +1 -1
  102. package/package.json +1 -1
  103. package/serialization/types/DidCommMessageBlobAttachmentDescriptor.d.ts +17 -0
  104. package/serialization/types/DidCommMessageBlobAttachmentDescriptor.d.ts.map +1 -0
  105. package/serialization/types/DidCommMessageBlobAttachmentDescriptor.js +48 -0
  106. package/serialization/types/DidCommMessageBlobAttachmentDescriptor.js.map +1 -0
  107. package/serialization/types/DidCommMessageBlobAttachmentStatus.d.ts +16 -0
  108. package/serialization/types/DidCommMessageBlobAttachmentStatus.d.ts.map +1 -0
  109. package/serialization/types/DidCommMessageBlobAttachmentStatus.js +47 -0
  110. package/serialization/types/DidCommMessageBlobAttachmentStatus.js.map +1 -0
  111. package/serialization/types/DidCommMessageBlobDescriptor.d.ts +21 -0
  112. package/serialization/types/DidCommMessageBlobDescriptor.d.ts.map +1 -0
  113. package/serialization/types/DidCommMessageBlobDescriptor.js +52 -0
  114. package/serialization/types/DidCommMessageBlobDescriptor.js.map +1 -0
  115. package/serialization/types/DidCommMessageBlobStatus.d.ts +18 -0
  116. package/serialization/types/DidCommMessageBlobStatus.d.ts.map +1 -0
  117. package/serialization/types/DidCommMessageBlobStatus.js +49 -0
  118. package/serialization/types/DidCommMessageBlobStatus.js.map +1 -0
  119. package/serialization/types/DidCommMessageCreateBlobs.d.ts +14 -0
  120. package/serialization/types/DidCommMessageCreateBlobs.d.ts.map +1 -0
  121. package/serialization/types/DidCommMessageCreateBlobs.js +45 -0
  122. package/serialization/types/DidCommMessageCreateBlobs.js.map +1 -0
  123. package/serialization/types/DidCommMessageCreateBlobsStatus.d.ts +14 -0
  124. package/serialization/types/DidCommMessageCreateBlobsStatus.d.ts.map +1 -0
  125. package/serialization/types/DidCommMessageCreateBlobsStatus.js +45 -0
  126. package/serialization/types/DidCommMessageCreateBlobsStatus.js.map +1 -0
  127. package/serialization/types/MethodNotAllowedProblems.d.ts +4 -4
  128. package/serialization/types/MethodNotAllowedProblems.d.ts.map +1 -1
  129. package/serialization/types/MethodNotAllowedProblems.js +4 -4
  130. package/serialization/types/MethodNotAllowedProblems.js.map +1 -1
  131. package/serialization/types/PreconditionFailedProblems.d.ts +4 -4
  132. package/serialization/types/PreconditionFailedProblems.js +4 -4
  133. package/serialization/types/PreconditionFailedProblems.js.map +1 -1
  134. package/serialization/types/{ProblemPreconditionFailedBlob.d.ts → ProblemBlobPreconditionFailed.d.ts} +3 -3
  135. package/serialization/types/{ProblemPreconditionFailedBlob.d.ts.map → ProblemBlobPreconditionFailed.d.ts.map} +1 -1
  136. package/serialization/types/{ProblemPreconditionFailedBlob.js → ProblemBlobPreconditionFailed.js} +3 -3
  137. package/serialization/types/{ProblemPreconditionFailedBlob.js.map → ProblemBlobPreconditionFailed.js.map} +1 -1
  138. package/serialization/types/{ProblemMethodNotAllowedDeleted.d.ts → ProblemMethodNotAllowedResourceAlive.d.ts} +3 -3
  139. package/serialization/types/ProblemMethodNotAllowedResourceAlive.d.ts.map +1 -0
  140. package/serialization/types/{ProblemMethodNotAllowedAlive.js → ProblemMethodNotAllowedResourceAlive.js} +3 -3
  141. package/serialization/types/ProblemMethodNotAllowedResourceAlive.js.map +1 -0
  142. package/serialization/types/{ProblemMethodNotAllowedAlive.d.ts → ProblemMethodNotAllowedResourceDeleted.d.ts} +3 -3
  143. package/serialization/types/ProblemMethodNotAllowedResourceDeleted.d.ts.map +1 -0
  144. package/serialization/types/{ProblemMethodNotAllowedDeleted.js → ProblemMethodNotAllowedResourceDeleted.js} +3 -3
  145. package/serialization/types/ProblemMethodNotAllowedResourceDeleted.js.map +1 -0
  146. package/serialization/types/{ProblemPreconditionFailedResource.d.ts → ProblemResourcePreconditionFailed.d.ts} +3 -3
  147. package/serialization/types/{ProblemPreconditionFailedResource.d.ts.map → ProblemResourcePreconditionFailed.d.ts.map} +1 -1
  148. package/serialization/types/{ProblemPreconditionFailedResource.js → ProblemResourcePreconditionFailed.js} +3 -3
  149. package/serialization/types/{ProblemPreconditionFailedResource.js.map → ProblemResourcePreconditionFailed.js.map} +1 -1
  150. package/serialization/types/index.d.ts +10 -4
  151. package/serialization/types/index.d.ts.map +1 -1
  152. package/serialization/types/index.js +10 -4
  153. package/serialization/types/index.js.map +1 -1
  154. package/api/types/ProblemMethodNotAllowedAlive.d.ts.map +0 -1
  155. package/api/types/ProblemMethodNotAllowedAlive.js.map +0 -1
  156. package/api/types/ProblemMethodNotAllowedDeleted.d.ts.map +0 -1
  157. package/api/types/ProblemMethodNotAllowedDeleted.js.map +0 -1
  158. package/serialization/types/ProblemMethodNotAllowedAlive.d.ts.map +0 -1
  159. package/serialization/types/ProblemMethodNotAllowedAlive.js.map +0 -1
  160. package/serialization/types/ProblemMethodNotAllowedDeleted.d.ts.map +0 -1
  161. package/serialization/types/ProblemMethodNotAllowedDeleted.js.map +0 -1
@@ -90,7 +90,7 @@ class Presentations {
90
90
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
91
91
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'presentations/export'),
92
92
  method: 'POST',
93
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: 'application/json',
95
95
  requestType: 'json',
96
96
  body: Object.assign(Object.assign({}, serializers.PresentationExportRequest.jsonOrThrow(request, {
@@ -200,7 +200,7 @@ class Presentations {
200
200
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
201
201
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'presentations/import'),
202
202
  method: 'POST',
203
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
204
204
  contentType: 'application/json',
205
205
  queryParameters: _queryParams,
206
206
  requestType: 'json',
@@ -330,7 +330,7 @@ class Presentations {
330
330
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
331
331
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'presentations/issue'),
332
332
  method: 'POST',
333
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
333
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
334
  contentType: 'application/json',
335
335
  requestType: 'json',
336
336
  body: Object.assign(Object.assign({}, serializers.PresentationIssueRequest.jsonOrThrow(request, {
@@ -446,7 +446,7 @@ class Presentations {
446
446
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
447
447
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'presentations/search'),
448
448
  method: 'POST',
449
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
449
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
450
450
  contentType: 'application/json',
451
451
  requestType: 'json',
452
452
  body: serializers.PresentationSearchRequest.jsonOrThrow(request, {
@@ -568,7 +568,7 @@ class Presentations {
568
568
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
569
569
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, 'presentations/upload'),
570
570
  method: 'POST',
571
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
571
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
572
572
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
573
573
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
574
574
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -673,7 +673,7 @@ class Presentations {
673
673
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
674
674
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}`),
675
675
  method: 'GET',
676
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
676
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
677
677
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
678
678
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
679
679
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -790,7 +790,7 @@ class Presentations {
790
790
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
791
791
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}`),
792
792
  method: 'DELETE',
793
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.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())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
793
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
794
794
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
795
795
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
796
796
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -917,7 +917,7 @@ class Presentations {
917
917
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
918
918
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/annotations`),
919
919
  method: 'PATCH',
920
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.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())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
920
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
921
921
  contentType: 'application/json',
922
922
  requestType: 'json',
923
923
  body: serializers.PresentationUpdateAnnotationsRequest.jsonOrThrow(_body, {
@@ -1065,7 +1065,7 @@ class Presentations {
1065
1065
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1066
1066
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/labels`),
1067
1067
  method: 'PATCH',
1068
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.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())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1068
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1069
1069
  contentType: 'application/json',
1070
1070
  requestType: 'json',
1071
1071
  body: serializers.PresentationUpdateLabelsRequest.jsonOrThrow(_body, {
@@ -1209,7 +1209,7 @@ class Presentations {
1209
1209
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1210
1210
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/restore`),
1211
1211
  method: 'POST',
1212
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.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())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1212
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1213
1213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1214
1214
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1215
1215
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1335,7 +1335,7 @@ class Presentations {
1335
1335
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1336
1336
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions`),
1337
1337
  method: 'GET',
1338
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1338
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1339
1339
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1340
1340
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1341
1341
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1448,7 +1448,7 @@ class Presentations {
1448
1448
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1449
1449
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
1450
1450
  method: 'GET',
1451
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1451
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1452
1452
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1453
1453
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1454
1454
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1552,7 +1552,7 @@ class Presentations {
1552
1552
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1553
1553
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
1554
1554
  method: 'GET',
1555
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1555
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1556
1556
  responseType: 'streaming',
1557
1557
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1558
1558
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1654,7 +1654,7 @@ class Presentations {
1654
1654
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1655
1655
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/verify`),
1656
1656
  method: 'GET',
1657
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.4', 'User-Agent': '@truvity/sdk/0.37.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1657
+ headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.6', 'User-Agent': '@truvity/sdk/0.37.6', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1658
1658
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1659
1659
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1660
1660
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,