@truvity/sdk 0.35.1 → 0.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/credentials/client/requests/CredentialInput.d.ts +1 -2
- package/api/resources/credentials/client/requests/CredentialInput.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialInput.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.d.ts +49 -11
- package/api/resources/drafts/client/Client.d.ts.map +1 -1
- package/api/resources/drafts/client/Client.js +61 -23
- 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/files/client/requests/FileInput.d.ts +1 -2
- package/api/resources/files/client/requests/FileInput.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileInput.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/resources/presentations/client/requests/PresentationInput.d.ts +1 -2
- package/api/resources/presentations/client/requests/PresentationInput.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationInput.js.map +1 -1
- package/api/types/Credential.d.ts +4 -0
- package/api/types/Credential.d.ts.map +1 -1
- package/api/types/Credential.js.map +1 -1
- package/api/types/CredentialFilter.d.ts +4 -1
- package/api/types/CredentialFilter.d.ts.map +1 -1
- package/api/types/CredentialFilter.js.map +1 -1
- package/api/types/Draft.d.ts +4 -0
- package/api/types/Draft.d.ts.map +1 -1
- package/api/types/Draft.js.map +1 -1
- package/api/types/DraftFilter.d.ts +4 -1
- package/api/types/DraftFilter.d.ts.map +1 -1
- package/api/types/DraftFilter.js.map +1 -1
- package/api/types/LinkedRef.d.ts +22 -0
- package/api/types/LinkedRef.d.ts.map +1 -0
- package/api/types/LinkedRef.js +6 -0
- package/api/types/LinkedRef.js.map +1 -0
- package/api/types/LinkedResourceRef.d.ts +14 -0
- package/api/types/LinkedResourceRef.d.ts.map +1 -0
- package/api/types/LinkedResourceRef.js +6 -0
- package/api/types/LinkedResourceRef.js.map +1 -0
- package/api/types/Presentation.d.ts +3 -0
- package/api/types/Presentation.d.ts.map +1 -1
- package/api/types/Presentation.js.map +1 -1
- package/api/types/PresentationFilter.d.ts +3 -1
- package/api/types/PresentationFilter.d.ts.map +1 -1
- package/api/types/PresentationFilter.js.map +1 -1
- package/api/types/UploadResponse.d.ts +1 -4
- package/api/types/UploadResponse.d.ts.map +1 -1
- package/api/types/UploadResponse.js.map +1 -1
- package/api/types/index.d.ts +2 -0
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +2 -0
- package/api/types/index.js.map +1 -1
- package/documents/credential/claims.d.ts.map +1 -1
- package/documents/credential/claims.js +10 -9
- package/documents/credential/claims.js.map +1 -1
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +3 -2
- package/documents/credential.js.map +1 -1
- package/documents/utils/error.d.ts +9 -0
- package/documents/utils/error.d.ts.map +1 -0
- package/documents/utils/error.js +14 -0
- package/documents/utils/error.js.map +1 -0
- package/documents/utils/error.spec.d.ts +2 -0
- package/documents/utils/error.spec.d.ts.map +1 -0
- package/documents/utils/error.spec.js +9 -0
- package/documents/utils/error.spec.js.map +1 -0
- package/package.json +1 -1
- package/reference.md +48 -10
- package/serialization/types/Credential.d.ts +3 -0
- package/serialization/types/Credential.d.ts.map +1 -1
- package/serialization/types/Credential.js +3 -0
- package/serialization/types/Credential.js.map +1 -1
- package/serialization/types/CredentialFilter.d.ts +5 -1
- package/serialization/types/CredentialFilter.d.ts.map +1 -1
- package/serialization/types/CredentialFilter.js +41 -1
- package/serialization/types/CredentialFilter.js.map +1 -1
- package/serialization/types/Draft.d.ts +4 -0
- package/serialization/types/Draft.d.ts.map +1 -1
- package/serialization/types/Draft.js +4 -0
- package/serialization/types/Draft.js.map +1 -1
- package/serialization/types/DraftFilter.d.ts +5 -1
- package/serialization/types/DraftFilter.d.ts.map +1 -1
- package/serialization/types/DraftFilter.js +41 -1
- package/serialization/types/DraftFilter.js.map +1 -1
- package/serialization/types/LinkedRef.d.ts +15 -0
- package/serialization/types/LinkedRef.d.ts.map +1 -0
- package/serialization/types/LinkedRef.js +46 -0
- package/serialization/types/LinkedRef.js.map +1 -0
- package/serialization/types/LinkedResourceRef.d.ts +13 -0
- package/serialization/types/LinkedResourceRef.d.ts.map +1 -0
- package/serialization/types/LinkedResourceRef.js +44 -0
- package/serialization/types/LinkedResourceRef.js.map +1 -0
- package/serialization/types/Presentation.d.ts +2 -0
- package/serialization/types/Presentation.d.ts.map +1 -1
- package/serialization/types/Presentation.js +2 -0
- package/serialization/types/Presentation.js.map +1 -1
- package/serialization/types/PresentationFilter.d.ts +4 -1
- package/serialization/types/PresentationFilter.d.ts.map +1 -1
- package/serialization/types/PresentationFilter.js +40 -1
- package/serialization/types/PresentationFilter.js.map +1 -1
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +2 -0
- package/serialization/types/index.js.map +1 -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.
|
|
93
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: 'application/json',
|
|
95
95
|
requestType: 'json',
|
|
96
96
|
body: Object.assign(Object.assign({}, serializers.PresentationExport.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.
|
|
203
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
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.
|
|
333
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
334
334
|
contentType: 'application/json',
|
|
335
335
|
requestType: 'json',
|
|
336
336
|
body: Object.assign(Object.assign({}, serializers.PresentationIssue.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.
|
|
449
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
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.
|
|
571
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
572
572
|
contentType: 'application/json',
|
|
573
573
|
requestType: 'json',
|
|
574
574
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -675,7 +675,7 @@ class Presentations {
|
|
|
675
675
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
676
676
|
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)}`),
|
|
677
677
|
method: 'GET',
|
|
678
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
678
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
679
679
|
contentType: 'application/json',
|
|
680
680
|
requestType: 'json',
|
|
681
681
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -794,7 +794,7 @@ class Presentations {
|
|
|
794
794
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
795
795
|
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)}`),
|
|
796
796
|
method: 'DELETE',
|
|
797
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
797
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
798
798
|
contentType: 'application/json',
|
|
799
799
|
requestType: 'json',
|
|
800
800
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -923,7 +923,7 @@ class Presentations {
|
|
|
923
923
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
924
924
|
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`),
|
|
925
925
|
method: 'PATCH',
|
|
926
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
926
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
927
927
|
contentType: 'application/json',
|
|
928
928
|
requestType: 'json',
|
|
929
929
|
body: serializers.PresentationUpdateAnnotationsInput.jsonOrThrow(_body, {
|
|
@@ -1071,7 +1071,7 @@ class Presentations {
|
|
|
1071
1071
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1072
1072
|
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`),
|
|
1073
1073
|
method: 'PATCH',
|
|
1074
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1074
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1075
1075
|
contentType: 'application/json',
|
|
1076
1076
|
requestType: 'json',
|
|
1077
1077
|
body: serializers.PresentationUpdateLabelsInput.jsonOrThrow(_body, {
|
|
@@ -1215,7 +1215,7 @@ class Presentations {
|
|
|
1215
1215
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1216
1216
|
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`),
|
|
1217
1217
|
method: 'POST',
|
|
1218
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1218
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1219
1219
|
contentType: 'application/json',
|
|
1220
1220
|
requestType: 'json',
|
|
1221
1221
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1343,7 +1343,7 @@ class Presentations {
|
|
|
1343
1343
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1344
1344
|
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`),
|
|
1345
1345
|
method: 'GET',
|
|
1346
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1346
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1347
1347
|
contentType: 'application/json',
|
|
1348
1348
|
requestType: 'json',
|
|
1349
1349
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1458,7 +1458,7 @@ class Presentations {
|
|
|
1458
1458
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1459
1459
|
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)}`),
|
|
1460
1460
|
method: 'GET',
|
|
1461
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1461
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1462
1462
|
contentType: 'application/json',
|
|
1463
1463
|
requestType: 'json',
|
|
1464
1464
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1564,7 +1564,7 @@ class Presentations {
|
|
|
1564
1564
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1565
1565
|
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`),
|
|
1566
1566
|
method: 'GET',
|
|
1567
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1567
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1568
1568
|
contentType: 'application/json',
|
|
1569
1569
|
requestType: 'json',
|
|
1570
1570
|
responseType: 'streaming',
|
|
@@ -1668,7 +1668,7 @@ class Presentations {
|
|
|
1668
1668
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1669
1669
|
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`),
|
|
1670
1670
|
method: 'GET',
|
|
1671
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1671
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.36.2', 'User-Agent': '@truvity/sdk/0.36.2', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1672
1672
|
contentType: 'application/json',
|
|
1673
1673
|
requestType: 'json',
|
|
1674
1674
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|