@truvity/sdk 0.28.9 → 0.30.7
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 +12 -12
- 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/Credential.d.ts +1 -1
- package/api/types/Credential.d.ts.map +1 -1
- package/api/types/Credential.js.map +1 -1
- package/api/types/File_.d.ts +1 -1
- package/api/types/File_.d.ts.map +1 -1
- package/api/types/File_.js.map +1 -1
- package/api/types/Presentation.d.ts +1 -1
- package/api/types/Presentation.d.ts.map +1 -1
- package/api/types/Presentation.js.map +1 -1
- package/documents/credential/claims.d.ts +29 -0
- package/documents/credential/claims.d.ts.map +1 -0
- package/documents/credential/claims.js +228 -0
- package/documents/credential/claims.js.map +1 -0
- package/documents/credential/claims.spec.d.ts +2 -0
- package/documents/credential/claims.spec.d.ts.map +1 -0
- package/documents/credential/{document.spec.js → claims.spec.js} +77 -129
- package/documents/credential/claims.spec.js.map +1 -0
- package/documents/credential/document/vcdm.d.ts +50 -0
- package/documents/credential/document/vcdm.d.ts.map +1 -0
- package/documents/credential/document/vcdm.js +76 -0
- package/documents/credential/document/vcdm.js.map +1 -0
- package/documents/credential/document.d.ts +6 -24
- package/documents/credential/document.d.ts.map +1 -1
- package/documents/credential/document.js +15 -137
- package/documents/credential/document.js.map +1 -1
- package/documents/credential/draft.d.ts +7 -5
- package/documents/credential/draft.d.ts.map +1 -1
- package/documents/credential/draft.js +15 -14
- package/documents/credential/draft.js.map +1 -1
- package/documents/credential/flavor/vcdm1_1.d.ts +76 -0
- package/documents/credential/flavor/vcdm1_1.d.ts.map +1 -0
- package/documents/credential/flavor/vcdm1_1.js +148 -0
- package/documents/credential/flavor/vcdm1_1.js.map +1 -0
- package/documents/credential/flavor/vcdm2_0.d.ts +83 -0
- package/documents/credential/flavor/vcdm2_0.d.ts.map +1 -0
- package/documents/credential/flavor/vcdm2_0.js +76 -0
- package/documents/credential/flavor/vcdm2_0.js.map +1 -0
- package/documents/credential/flavor.d.ts +8 -32
- package/documents/credential/flavor.d.ts.map +1 -1
- package/documents/credential/flavor.js +22 -99
- package/documents/credential/flavor.js.map +1 -1
- package/documents/credential/flavor.spec.js +31 -102
- package/documents/credential/flavor.spec.js.map +1 -1
- package/documents/credential/testdata/udt.d.ts +53 -0
- package/documents/credential/testdata/udt.d.ts.map +1 -0
- package/documents/credential/testdata/udt.js +243 -0
- package/documents/credential/testdata/udt.js.map +1 -0
- package/documents/credential/types.d.ts +39 -0
- package/documents/credential/types.d.ts.map +1 -0
- package/documents/credential/types.js +3 -0
- package/documents/credential/types.js.map +1 -0
- package/documents/credential/unknown.d.ts +5 -5
- package/documents/credential/unknown.d.ts.map +1 -1
- package/documents/credential/unknown.js +3 -4
- package/documents/credential/unknown.js.map +1 -1
- package/documents/credential/unknown.spec.js +12 -9
- package/documents/credential/unknown.spec.js.map +1 -1
- package/documents/credential/{baseVerifiableCredential.d.ts → verifiable.d.ts} +8 -5
- package/documents/credential/verifiable.d.ts.map +1 -0
- package/documents/credential/{baseVerifiableCredential.js → verifiable.js} +11 -7
- package/documents/credential/verifiable.js.map +1 -0
- package/documents/credential/with-claims.d.ts +15 -0
- package/documents/credential/with-claims.d.ts.map +1 -0
- package/documents/credential/{issued.js → with-claims.js} +12 -12
- package/documents/credential/with-claims.js.map +1 -0
- package/documents/credential.d.ts +13 -15
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +21 -102
- package/documents/credential.js.map +1 -1
- package/documents/index.d.ts +1 -0
- package/documents/index.d.ts.map +1 -1
- package/documents/index.js +1 -0
- package/documents/index.js.map +1 -1
- package/documents/models.d.ts +13 -13
- package/documents/models.d.ts.map +1 -1
- package/documents/models.js +4 -4
- package/documents/models.js.map +1 -1
- package/documents/presentation/issued.d.ts +1 -1
- package/documents/presentation/issued.d.ts.map +1 -1
- package/documents/presentation/issued.js +2 -2
- package/documents/presentation/issued.js.map +1 -1
- package/documents/presentation.d.ts +5 -5
- package/documents/presentation.d.ts.map +1 -1
- package/documents/presentation.js +4 -4
- package/documents/presentation.js.map +1 -1
- package/documents/types.d.ts +12 -32
- package/documents/types.d.ts.map +1 -1
- package/documents/types.js +25 -1
- package/documents/types.js.map +1 -1
- package/documents/utils/converters.d.ts +1 -1
- package/documents/utils/converters.d.ts.map +1 -1
- package/documents/utils/converters.js +1 -1
- package/documents/utils/converters.js.map +1 -1
- package/documents/utils/idempotency.d.ts +2 -0
- package/documents/utils/idempotency.d.ts.map +1 -0
- package/documents/utils/idempotency.js +9 -0
- package/documents/utils/idempotency.js.map +1 -0
- package/documents/utils/stream.d.ts +1 -0
- package/documents/utils/stream.d.ts.map +1 -1
- package/documents/utils/stream.js +3 -2
- package/documents/utils/stream.js.map +1 -1
- package/package.json +1 -1
- package/documents/credential/baseVerifiableCredential.d.ts.map +0 -1
- package/documents/credential/baseVerifiableCredential.js.map +0 -1
- package/documents/credential/document.spec.d.ts +0 -7
- package/documents/credential/document.spec.d.ts.map +0 -1
- package/documents/credential/document.spec.js.map +0 -1
- package/documents/credential/issued.d.ts +0 -13
- package/documents/credential/issued.d.ts.map +0 -1
- package/documents/credential/issued.js.map +0 -1
- package/documents/credential.spec.d.ts +0 -8
- package/documents/credential.spec.d.ts.map +0 -1
- package/documents/credential.spec.js +0 -246
- package/documents/credential.spec.js.map +0 -1
- package/documents/guards.d.ts +0 -6
- package/documents/guards.d.ts.map +0 -1
- package/documents/guards.js +0 -32
- package/documents/guards.js.map +0 -1
- package/documents/helpers.d.ts +0 -2
- package/documents/helpers.d.ts.map +0 -1
- package/documents/helpers.js +0 -9
- package/documents/helpers.js.map +0 -1
|
@@ -77,7 +77,7 @@ class Presentations {
|
|
|
77
77
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
78
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/export'),
|
|
79
79
|
method: 'POST',
|
|
80
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
80
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
81
81
|
contentType: 'application/json',
|
|
82
82
|
requestType: 'json',
|
|
83
83
|
body: Object.assign(Object.assign({}, serializers.PresentationExport.jsonOrThrow(request, {
|
|
@@ -179,7 +179,7 @@ class Presentations {
|
|
|
179
179
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
180
180
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/import'),
|
|
181
181
|
method: 'POST',
|
|
182
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
182
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
183
183
|
contentType: 'application/json',
|
|
184
184
|
queryParameters: _queryParams,
|
|
185
185
|
requestType: 'json',
|
|
@@ -301,7 +301,7 @@ class Presentations {
|
|
|
301
301
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
302
302
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/issue'),
|
|
303
303
|
method: 'POST',
|
|
304
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
304
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
305
305
|
contentType: 'application/json',
|
|
306
306
|
requestType: 'json',
|
|
307
307
|
body: Object.assign(Object.assign({}, serializers.PresentationIssue.jsonOrThrow(request, {
|
|
@@ -408,7 +408,7 @@ class Presentations {
|
|
|
408
408
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
409
409
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/search'),
|
|
410
410
|
method: 'POST',
|
|
411
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
411
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
412
412
|
contentType: 'application/json',
|
|
413
413
|
requestType: 'json',
|
|
414
414
|
body: serializers.PresentationSearchRequest.jsonOrThrow(request, {
|
|
@@ -515,7 +515,7 @@ class Presentations {
|
|
|
515
515
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
516
516
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'presentations/upload'),
|
|
517
517
|
method: 'POST',
|
|
518
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
518
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
519
519
|
contentType: 'application/json',
|
|
520
520
|
requestType: 'json',
|
|
521
521
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -613,7 +613,7 @@ class Presentations {
|
|
|
613
613
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
614
614
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}`),
|
|
615
615
|
method: 'GET',
|
|
616
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
616
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
617
617
|
contentType: 'application/json',
|
|
618
618
|
requestType: 'json',
|
|
619
619
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -723,7 +723,7 @@ class Presentations {
|
|
|
723
723
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
724
724
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}`),
|
|
725
725
|
method: 'DELETE',
|
|
726
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
726
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
727
727
|
contentType: 'application/json',
|
|
728
728
|
requestType: 'json',
|
|
729
729
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -846,7 +846,7 @@ class Presentations {
|
|
|
846
846
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
847
847
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/annotations`),
|
|
848
848
|
method: 'PATCH',
|
|
849
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
849
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
850
850
|
contentType: 'application/json',
|
|
851
851
|
requestType: 'json',
|
|
852
852
|
body: serializers.PresentationUpdateAnnotationsInput.jsonOrThrow(_body, {
|
|
@@ -985,7 +985,7 @@ class Presentations {
|
|
|
985
985
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
986
986
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/labels`),
|
|
987
987
|
method: 'PATCH',
|
|
988
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
988
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
989
989
|
contentType: 'application/json',
|
|
990
990
|
requestType: 'json',
|
|
991
991
|
body: serializers.PresentationUpdateLabelsInput.jsonOrThrow(_body, {
|
|
@@ -1120,7 +1120,7 @@ class Presentations {
|
|
|
1120
1120
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1121
1121
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/restore`),
|
|
1122
1122
|
method: 'POST',
|
|
1123
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1123
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
1124
1124
|
contentType: 'application/json',
|
|
1125
1125
|
requestType: 'json',
|
|
1126
1126
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1239,7 +1239,7 @@ class Presentations {
|
|
|
1239
1239
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1240
1240
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions`),
|
|
1241
1241
|
method: 'GET',
|
|
1242
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1242
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
1243
1243
|
contentType: 'application/json',
|
|
1244
1244
|
requestType: 'json',
|
|
1245
1245
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1345,7 +1345,7 @@ class Presentations {
|
|
|
1345
1345
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1346
1346
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
|
|
1347
1347
|
method: 'GET',
|
|
1348
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1348
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
1349
1349
|
contentType: 'application/json',
|
|
1350
1350
|
requestType: 'json',
|
|
1351
1351
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1442,7 +1442,7 @@ class Presentations {
|
|
|
1442
1442
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1443
1443
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
|
|
1444
1444
|
method: 'GET',
|
|
1445
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1445
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
1446
1446
|
contentType: 'application/json',
|
|
1447
1447
|
requestType: 'json',
|
|
1448
1448
|
responseType: 'streaming',
|
|
@@ -1540,7 +1540,7 @@ class Presentations {
|
|
|
1540
1540
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1541
1541
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `presentations/${encodeURIComponent(id)}/verify`),
|
|
1542
1542
|
method: 'GET',
|
|
1543
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1543
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.30.7', 'User-Agent': '@truvity/sdk/0.30.7', '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),
|
|
1544
1544
|
contentType: 'application/json',
|
|
1545
1545
|
requestType: 'json',
|
|
1546
1546
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|