@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.
- package/api/resources/apiKeys/client/Client.js +9 -9
- package/api/resources/apiKeys/client/Client.js.map +1 -1
- package/api/resources/credentials/client/Client.js +12 -12
- package/api/resources/credentials/client/Client.js.map +1 -1
- package/api/resources/desk/client/Client.js +2 -2
- package/api/resources/desk/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/Client.js +9 -9
- package/api/resources/didcommMessages/client/Client.js.map +1 -1
- package/api/resources/dids/client/Client.js +1 -1
- package/api/resources/dids/client/Client.js.map +1 -1
- package/api/resources/drafts/client/Client.js +12 -12
- package/api/resources/drafts/client/Client.js.map +1 -1
- package/api/resources/files/client/Client.js +11 -11
- package/api/resources/files/client/Client.js.map +1 -1
- package/api/resources/gdpr/client/Client.js +1 -1
- package/api/resources/gdpr/client/Client.js.map +1 -1
- package/api/resources/keys/client/Client.js +13 -13
- package/api/resources/keys/client/Client.js.map +1 -1
- package/api/resources/presentations/client/Client.js +14 -14
- package/api/resources/presentations/client/Client.js.map +1 -1
- package/api/types/DidCommMessageBlobAttachmentDescriptor.d.ts +16 -0
- package/api/types/DidCommMessageBlobAttachmentDescriptor.d.ts.map +1 -0
- package/api/types/DidCommMessageBlobAttachmentDescriptor.js +6 -0
- package/api/types/DidCommMessageBlobAttachmentDescriptor.js.map +1 -0
- package/api/types/DidCommMessageBlobAttachmentStatus.d.ts +14 -0
- package/api/types/DidCommMessageBlobAttachmentStatus.d.ts.map +1 -0
- package/api/types/DidCommMessageBlobAttachmentStatus.js +6 -0
- package/api/types/DidCommMessageBlobAttachmentStatus.js.map +1 -0
- package/api/types/DidCommMessageBlobDescriptor.d.ts +27 -0
- package/api/types/DidCommMessageBlobDescriptor.d.ts.map +1 -0
- package/api/types/{ProblemMethodNotAllowedAlive.js → DidCommMessageBlobDescriptor.js} +1 -1
- package/api/types/DidCommMessageBlobDescriptor.js.map +1 -0
- package/api/types/DidCommMessageBlobStatus.d.ts +20 -0
- package/api/types/DidCommMessageBlobStatus.d.ts.map +1 -0
- package/api/types/{ProblemPreconditionFailedBlob.js → DidCommMessageBlobStatus.js} +1 -1
- package/api/types/DidCommMessageBlobStatus.js.map +1 -0
- package/api/types/DidCommMessageCreateBlobs.d.ts +11 -0
- package/api/types/DidCommMessageCreateBlobs.d.ts.map +1 -0
- package/api/types/{ProblemMethodNotAllowedDeleted.js → DidCommMessageCreateBlobs.js} +1 -1
- package/api/types/DidCommMessageCreateBlobs.js.map +1 -0
- package/api/types/DidCommMessageCreateBlobsStatus.d.ts +11 -0
- package/api/types/DidCommMessageCreateBlobsStatus.d.ts.map +1 -0
- package/api/types/{ProblemPreconditionFailedResource.js → DidCommMessageCreateBlobsStatus.js} +1 -1
- package/api/types/DidCommMessageCreateBlobsStatus.js.map +1 -0
- package/api/types/MethodNotAllowedProblems.d.ts +2 -2
- package/api/types/MethodNotAllowedProblems.d.ts.map +1 -1
- package/api/types/MethodNotAllowedProblems.js.map +1 -1
- package/api/types/PreconditionFailedProblems.d.ts +2 -2
- package/api/types/PreconditionFailedProblems.js.map +1 -1
- package/api/types/ProblemBadRequest.d.ts +1 -1
- package/api/types/ProblemBadRequest.js.map +1 -1
- package/api/types/ProblemBadRequestBlobInvalidJson.d.ts +1 -1
- package/api/types/ProblemBadRequestBlobInvalidJson.js.map +1 -1
- package/api/types/ProblemBadRequestHasNullUnicodeCharacter.d.ts +1 -1
- package/api/types/ProblemBadRequestHasNullUnicodeCharacter.js.map +1 -1
- package/api/types/ProblemBadRequestPayloadTooLarge.d.ts +1 -1
- package/api/types/ProblemBadRequestPayloadTooLarge.js.map +1 -1
- package/api/types/ProblemBlobNotFound.d.ts +1 -1
- package/api/types/ProblemBlobNotFound.js.map +1 -1
- package/api/types/{ProblemPreconditionFailedBlob.d.ts → ProblemBlobPreconditionFailed.d.ts} +2 -2
- package/api/types/{ProblemPreconditionFailedBlob.d.ts.map → ProblemBlobPreconditionFailed.d.ts.map} +1 -1
- package/api/types/ProblemBlobPreconditionFailed.js +6 -0
- package/api/types/{ProblemPreconditionFailedBlob.js.map → ProblemBlobPreconditionFailed.js.map} +1 -1
- package/api/types/ProblemConflict.d.ts +1 -1
- package/api/types/ProblemConflict.js.map +1 -1
- package/api/types/ProblemConflictBlobRestoreInProgress.d.ts +1 -1
- package/api/types/ProblemConflictBlobRestoreInProgress.js.map +1 -1
- package/api/types/ProblemForbidden.d.ts +1 -1
- package/api/types/ProblemForbidden.js.map +1 -1
- package/api/types/ProblemInternalServerError.d.ts +1 -1
- package/api/types/ProblemInternalServerError.js.map +1 -1
- package/api/types/ProblemMethodNotAllowed.d.ts +1 -1
- package/api/types/ProblemMethodNotAllowed.js.map +1 -1
- package/api/types/{ProblemMethodNotAllowedAlive.d.ts → ProblemMethodNotAllowedResourceAlive.d.ts} +2 -2
- package/api/types/ProblemMethodNotAllowedResourceAlive.d.ts.map +1 -0
- package/api/types/ProblemMethodNotAllowedResourceAlive.js +6 -0
- package/api/types/ProblemMethodNotAllowedResourceAlive.js.map +1 -0
- package/api/types/{ProblemMethodNotAllowedDeleted.d.ts → ProblemMethodNotAllowedResourceDeleted.d.ts} +2 -2
- package/api/types/ProblemMethodNotAllowedResourceDeleted.d.ts.map +1 -0
- package/api/types/ProblemMethodNotAllowedResourceDeleted.js +6 -0
- package/api/types/ProblemMethodNotAllowedResourceDeleted.js.map +1 -0
- package/api/types/ProblemNotFound.d.ts +1 -1
- package/api/types/ProblemNotFound.js.map +1 -1
- package/api/types/ProblemPreconditionFailed.d.ts +1 -1
- package/api/types/ProblemPreconditionFailed.js.map +1 -1
- package/api/types/{ProblemPreconditionFailedResource.d.ts → ProblemResourcePreconditionFailed.d.ts} +2 -2
- package/api/types/{ProblemPreconditionFailedResource.d.ts.map → ProblemResourcePreconditionFailed.d.ts.map} +1 -1
- package/api/types/ProblemResourcePreconditionFailed.js +6 -0
- package/api/types/{ProblemPreconditionFailedResource.js.map → ProblemResourcePreconditionFailed.js.map} +1 -1
- package/api/types/ProblemResourceRevisionNotFound.d.ts +1 -1
- package/api/types/ProblemResourceRevisionNotFound.js.map +1 -1
- package/api/types/ProblemServiceUnavailable.d.ts +1 -1
- package/api/types/ProblemServiceUnavailable.js.map +1 -1
- package/api/types/ProblemUnauthorized.d.ts +1 -1
- package/api/types/ProblemUnauthorized.js.map +1 -1
- package/api/types/ProblemUnsupportedMediaType.d.ts +1 -1
- package/api/types/ProblemUnsupportedMediaType.js.map +1 -1
- package/api/types/index.d.ts +10 -4
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +10 -4
- package/api/types/index.js.map +1 -1
- package/package.json +1 -1
- package/serialization/types/DidCommMessageBlobAttachmentDescriptor.d.ts +17 -0
- package/serialization/types/DidCommMessageBlobAttachmentDescriptor.d.ts.map +1 -0
- package/serialization/types/DidCommMessageBlobAttachmentDescriptor.js +48 -0
- package/serialization/types/DidCommMessageBlobAttachmentDescriptor.js.map +1 -0
- package/serialization/types/DidCommMessageBlobAttachmentStatus.d.ts +16 -0
- package/serialization/types/DidCommMessageBlobAttachmentStatus.d.ts.map +1 -0
- package/serialization/types/DidCommMessageBlobAttachmentStatus.js +47 -0
- package/serialization/types/DidCommMessageBlobAttachmentStatus.js.map +1 -0
- package/serialization/types/DidCommMessageBlobDescriptor.d.ts +21 -0
- package/serialization/types/DidCommMessageBlobDescriptor.d.ts.map +1 -0
- package/serialization/types/DidCommMessageBlobDescriptor.js +52 -0
- package/serialization/types/DidCommMessageBlobDescriptor.js.map +1 -0
- package/serialization/types/DidCommMessageBlobStatus.d.ts +18 -0
- package/serialization/types/DidCommMessageBlobStatus.d.ts.map +1 -0
- package/serialization/types/DidCommMessageBlobStatus.js +49 -0
- package/serialization/types/DidCommMessageBlobStatus.js.map +1 -0
- package/serialization/types/DidCommMessageCreateBlobs.d.ts +14 -0
- package/serialization/types/DidCommMessageCreateBlobs.d.ts.map +1 -0
- package/serialization/types/DidCommMessageCreateBlobs.js +45 -0
- package/serialization/types/DidCommMessageCreateBlobs.js.map +1 -0
- package/serialization/types/DidCommMessageCreateBlobsStatus.d.ts +14 -0
- package/serialization/types/DidCommMessageCreateBlobsStatus.d.ts.map +1 -0
- package/serialization/types/DidCommMessageCreateBlobsStatus.js +45 -0
- package/serialization/types/DidCommMessageCreateBlobsStatus.js.map +1 -0
- package/serialization/types/MethodNotAllowedProblems.d.ts +4 -4
- package/serialization/types/MethodNotAllowedProblems.d.ts.map +1 -1
- package/serialization/types/MethodNotAllowedProblems.js +4 -4
- package/serialization/types/MethodNotAllowedProblems.js.map +1 -1
- package/serialization/types/PreconditionFailedProblems.d.ts +4 -4
- package/serialization/types/PreconditionFailedProblems.js +4 -4
- package/serialization/types/PreconditionFailedProblems.js.map +1 -1
- package/serialization/types/{ProblemPreconditionFailedBlob.d.ts → ProblemBlobPreconditionFailed.d.ts} +3 -3
- package/serialization/types/{ProblemPreconditionFailedBlob.d.ts.map → ProblemBlobPreconditionFailed.d.ts.map} +1 -1
- package/serialization/types/{ProblemPreconditionFailedBlob.js → ProblemBlobPreconditionFailed.js} +3 -3
- package/serialization/types/{ProblemPreconditionFailedBlob.js.map → ProblemBlobPreconditionFailed.js.map} +1 -1
- package/serialization/types/{ProblemMethodNotAllowedDeleted.d.ts → ProblemMethodNotAllowedResourceAlive.d.ts} +3 -3
- package/serialization/types/ProblemMethodNotAllowedResourceAlive.d.ts.map +1 -0
- package/serialization/types/{ProblemMethodNotAllowedAlive.js → ProblemMethodNotAllowedResourceAlive.js} +3 -3
- package/serialization/types/ProblemMethodNotAllowedResourceAlive.js.map +1 -0
- package/serialization/types/{ProblemMethodNotAllowedAlive.d.ts → ProblemMethodNotAllowedResourceDeleted.d.ts} +3 -3
- package/serialization/types/ProblemMethodNotAllowedResourceDeleted.d.ts.map +1 -0
- package/serialization/types/{ProblemMethodNotAllowedDeleted.js → ProblemMethodNotAllowedResourceDeleted.js} +3 -3
- package/serialization/types/ProblemMethodNotAllowedResourceDeleted.js.map +1 -0
- package/serialization/types/{ProblemPreconditionFailedResource.d.ts → ProblemResourcePreconditionFailed.d.ts} +3 -3
- package/serialization/types/{ProblemPreconditionFailedResource.d.ts.map → ProblemResourcePreconditionFailed.d.ts.map} +1 -1
- package/serialization/types/{ProblemPreconditionFailedResource.js → ProblemResourcePreconditionFailed.js} +3 -3
- package/serialization/types/{ProblemPreconditionFailedResource.js.map → ProblemResourcePreconditionFailed.js.map} +1 -1
- package/serialization/types/index.d.ts +10 -4
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +10 -4
- package/serialization/types/index.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedAlive.d.ts.map +0 -1
- package/api/types/ProblemMethodNotAllowedAlive.js.map +0 -1
- package/api/types/ProblemMethodNotAllowedDeleted.d.ts.map +0 -1
- package/api/types/ProblemMethodNotAllowedDeleted.js.map +0 -1
- package/serialization/types/ProblemMethodNotAllowedAlive.d.ts.map +0 -1
- package/serialization/types/ProblemMethodNotAllowedAlive.js.map +0 -1
- package/serialization/types/ProblemMethodNotAllowedDeleted.d.ts.map +0 -1
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|