@truvity/sdk 0.36.8 → 0.37.0
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 +13 -13
- 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/Credential.d.ts +0 -4
- package/api/types/Credential.d.ts.map +1 -1
- package/api/types/Credential.js.map +1 -1
- package/api/types/CredentialFilterData.d.ts +0 -2
- package/api/types/CredentialFilterData.d.ts.map +1 -1
- package/api/types/CredentialFilterData.js.map +1 -1
- package/api/types/CredentialSortField.d.ts +1 -3
- package/api/types/CredentialSortField.d.ts.map +1 -1
- package/api/types/CredentialSortField.js +0 -2
- package/api/types/CredentialSortField.js.map +1 -1
- package/api/types/Draft.d.ts +0 -4
- package/api/types/Draft.d.ts.map +1 -1
- package/api/types/Draft.js.map +1 -1
- package/api/types/DraftFilterData.d.ts +0 -2
- package/api/types/DraftFilterData.d.ts.map +1 -1
- package/api/types/DraftFilterData.js.map +1 -1
- package/api/types/DraftSortField.d.ts +1 -3
- package/api/types/DraftSortField.d.ts.map +1 -1
- package/api/types/DraftSortField.js +0 -2
- package/api/types/DraftSortField.js.map +1 -1
- package/api/types/Presentation.d.ts +0 -2
- package/api/types/Presentation.d.ts.map +1 -1
- package/api/types/Presentation.js.map +1 -1
- package/api/types/PresentationFilterData.d.ts +0 -1
- package/api/types/PresentationFilterData.d.ts.map +1 -1
- package/api/types/PresentationFilterData.js.map +1 -1
- package/api/types/PresentationSortField.d.ts +1 -2
- package/api/types/PresentationSortField.d.ts.map +1 -1
- package/api/types/PresentationSortField.js +0 -1
- package/api/types/PresentationSortField.js.map +1 -1
- package/api/types/index.d.ts +0 -7
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +0 -7
- package/api/types/index.js.map +1 -1
- package/documents/credential/claims.js +1 -1
- package/documents/credential/claims.js.map +1 -1
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +2 -2
- package/documents/credential.js.map +1 -1
- package/documents/models.d.ts +5 -2
- package/documents/models.d.ts.map +1 -1
- package/documents/models.js +4 -2
- package/documents/models.js.map +1 -1
- package/documents/presentation.d.ts +1 -0
- package/documents/presentation.d.ts.map +1 -1
- package/documents/presentation.js +6 -3
- package/documents/presentation.js.map +1 -1
- package/documents/utils/error.d.ts +2 -0
- package/documents/utils/error.d.ts.map +1 -1
- package/documents/utils/error.js +3 -1
- package/documents/utils/error.js.map +1 -1
- package/documents/utils/error.spec.js +1 -1
- package/documents/utils/error.spec.js.map +1 -1
- package/package.json +1 -1
- package/serialization/types/Credential.d.ts +0 -2
- package/serialization/types/Credential.d.ts.map +1 -1
- package/serialization/types/Credential.js +0 -2
- package/serialization/types/Credential.js.map +1 -1
- package/serialization/types/CredentialFilterData.d.ts +0 -4
- package/serialization/types/CredentialFilterData.d.ts.map +1 -1
- package/serialization/types/CredentialFilterData.js +0 -4
- package/serialization/types/CredentialFilterData.js.map +1 -1
- package/serialization/types/CredentialSortField.d.ts +1 -1
- package/serialization/types/CredentialSortField.d.ts.map +1 -1
- package/serialization/types/CredentialSortField.js +0 -2
- package/serialization/types/CredentialSortField.js.map +1 -1
- package/serialization/types/Draft.d.ts +0 -2
- package/serialization/types/Draft.d.ts.map +1 -1
- package/serialization/types/Draft.js +0 -2
- package/serialization/types/Draft.js.map +1 -1
- package/serialization/types/DraftFilterData.d.ts +0 -4
- package/serialization/types/DraftFilterData.d.ts.map +1 -1
- package/serialization/types/DraftFilterData.js +0 -4
- package/serialization/types/DraftFilterData.js.map +1 -1
- package/serialization/types/DraftSortField.d.ts +1 -1
- package/serialization/types/DraftSortField.d.ts.map +1 -1
- package/serialization/types/DraftSortField.js +0 -2
- package/serialization/types/DraftSortField.js.map +1 -1
- package/serialization/types/Presentation.d.ts +0 -1
- package/serialization/types/Presentation.d.ts.map +1 -1
- package/serialization/types/Presentation.js +0 -1
- package/serialization/types/Presentation.js.map +1 -1
- package/serialization/types/PresentationFilterData.d.ts +0 -2
- package/serialization/types/PresentationFilterData.d.ts.map +1 -1
- package/serialization/types/PresentationFilterData.js +0 -2
- package/serialization/types/PresentationFilterData.js.map +1 -1
- package/serialization/types/PresentationSortField.d.ts +1 -1
- package/serialization/types/PresentationSortField.d.ts.map +1 -1
- package/serialization/types/PresentationSortField.js +0 -1
- package/serialization/types/PresentationSortField.js.map +1 -1
- package/serialization/types/index.d.ts +0 -7
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +0 -7
- package/serialization/types/index.js.map +1 -1
- package/api/types/CredentialFilterDataLinkedCredentials.d.ts +0 -20
- package/api/types/CredentialFilterDataLinkedCredentials.d.ts.map +0 -1
- package/api/types/CredentialFilterDataLinkedCredentials.js +0 -6
- package/api/types/CredentialFilterDataLinkedCredentials.js.map +0 -1
- package/api/types/CredentialFilterDataLinkedFiles.d.ts +0 -20
- package/api/types/CredentialFilterDataLinkedFiles.d.ts.map +0 -1
- package/api/types/CredentialFilterDataLinkedFiles.js +0 -6
- package/api/types/CredentialFilterDataLinkedFiles.js.map +0 -1
- package/api/types/DraftFilterDataLinkedCredentials.d.ts +0 -20
- package/api/types/DraftFilterDataLinkedCredentials.d.ts.map +0 -1
- package/api/types/DraftFilterDataLinkedCredentials.js +0 -6
- package/api/types/DraftFilterDataLinkedCredentials.js.map +0 -1
- package/api/types/DraftFilterDataLinkedDrafts.d.ts +0 -20
- package/api/types/DraftFilterDataLinkedDrafts.d.ts.map +0 -1
- package/api/types/DraftFilterDataLinkedDrafts.js +0 -6
- package/api/types/DraftFilterDataLinkedDrafts.js.map +0 -1
- package/api/types/NestedInUri.d.ts +0 -11
- package/api/types/NestedInUri.d.ts.map +0 -1
- package/api/types/NestedInUri.js +0 -6
- package/api/types/NestedInUri.js.map +0 -1
- package/api/types/NestedNotInUri.d.ts +0 -11
- package/api/types/NestedNotInUri.d.ts.map +0 -1
- package/api/types/NestedNotInUri.js +0 -6
- package/api/types/NestedNotInUri.js.map +0 -1
- package/api/types/PresentationFilterDataLinkedCredentials.d.ts +0 -14
- package/api/types/PresentationFilterDataLinkedCredentials.d.ts.map +0 -1
- package/api/types/PresentationFilterDataLinkedCredentials.js +0 -6
- package/api/types/PresentationFilterDataLinkedCredentials.js.map +0 -1
- package/serialization/types/CredentialFilterDataLinkedCredentials.d.ts +0 -27
- package/serialization/types/CredentialFilterDataLinkedCredentials.d.ts.map +0 -1
- package/serialization/types/CredentialFilterDataLinkedCredentials.js +0 -56
- package/serialization/types/CredentialFilterDataLinkedCredentials.js.map +0 -1
- package/serialization/types/CredentialFilterDataLinkedFiles.d.ts +0 -27
- package/serialization/types/CredentialFilterDataLinkedFiles.d.ts.map +0 -1
- package/serialization/types/CredentialFilterDataLinkedFiles.js +0 -56
- package/serialization/types/CredentialFilterDataLinkedFiles.js.map +0 -1
- package/serialization/types/DraftFilterDataLinkedCredentials.d.ts +0 -27
- package/serialization/types/DraftFilterDataLinkedCredentials.d.ts.map +0 -1
- package/serialization/types/DraftFilterDataLinkedCredentials.js +0 -56
- package/serialization/types/DraftFilterDataLinkedCredentials.js.map +0 -1
- package/serialization/types/DraftFilterDataLinkedDrafts.d.ts +0 -27
- package/serialization/types/DraftFilterDataLinkedDrafts.d.ts.map +0 -1
- package/serialization/types/DraftFilterDataLinkedDrafts.js +0 -56
- package/serialization/types/DraftFilterDataLinkedDrafts.js.map +0 -1
- package/serialization/types/NestedInUri.d.ts +0 -13
- package/serialization/types/NestedInUri.d.ts.map +0 -1
- package/serialization/types/NestedInUri.js +0 -44
- package/serialization/types/NestedInUri.js.map +0 -1
- package/serialization/types/NestedNotInUri.d.ts +0 -13
- package/serialization/types/NestedNotInUri.d.ts.map +0 -1
- package/serialization/types/NestedNotInUri.js +0 -44
- package/serialization/types/NestedNotInUri.js.map +0 -1
- package/serialization/types/PresentationFilterDataLinkedCredentials.d.ts +0 -19
- package/serialization/types/PresentationFilterDataLinkedCredentials.d.ts.map +0 -1
- package/serialization/types/PresentationFilterDataLinkedCredentials.js +0 -52
- package/serialization/types/PresentationFilterDataLinkedCredentials.js.map +0 -1
|
@@ -99,7 +99,7 @@ class ApiKeys {
|
|
|
99
99
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
100
100
|
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, 'api-keys'),
|
|
101
101
|
method: 'POST',
|
|
102
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
102
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
103
103
|
contentType: 'application/json',
|
|
104
104
|
requestType: 'json',
|
|
105
105
|
body: serializers.ApiKeyCreateRequest.jsonOrThrow(_body, {
|
|
@@ -215,7 +215,7 @@ class ApiKeys {
|
|
|
215
215
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
216
216
|
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, 'api-keys/search'),
|
|
217
217
|
method: 'POST',
|
|
218
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
218
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
219
219
|
contentType: 'application/json',
|
|
220
220
|
requestType: 'json',
|
|
221
221
|
body: serializers.ApiKeySearchRequest.jsonOrThrow(request, {
|
|
@@ -333,7 +333,7 @@ class ApiKeys {
|
|
|
333
333
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
334
334
|
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, `api-keys/${encodeURIComponent(id)}`),
|
|
335
335
|
method: 'GET',
|
|
336
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
336
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
337
337
|
contentType: 'application/json',
|
|
338
338
|
requestType: 'json',
|
|
339
339
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -452,7 +452,7 @@ class ApiKeys {
|
|
|
452
452
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
453
453
|
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, `api-keys/${encodeURIComponent(id)}`),
|
|
454
454
|
method: 'DELETE',
|
|
455
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
455
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
456
456
|
contentType: 'application/json',
|
|
457
457
|
requestType: 'json',
|
|
458
458
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -581,7 +581,7 @@ class ApiKeys {
|
|
|
581
581
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
582
582
|
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, `api-keys/${encodeURIComponent(id)}/annotations`),
|
|
583
583
|
method: 'PATCH',
|
|
584
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
584
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
585
585
|
contentType: 'application/json',
|
|
586
586
|
requestType: 'json',
|
|
587
587
|
body: serializers.ApiKeyUpdateAnnotationsRequest.jsonOrThrow(_body, {
|
|
@@ -729,7 +729,7 @@ class ApiKeys {
|
|
|
729
729
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
730
730
|
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, `api-keys/${encodeURIComponent(id)}/labels`),
|
|
731
731
|
method: 'PATCH',
|
|
732
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
732
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
733
733
|
contentType: 'application/json',
|
|
734
734
|
requestType: 'json',
|
|
735
735
|
body: serializers.ApiKeyUpdateLabelsRequest.jsonOrThrow(_body, {
|
|
@@ -873,7 +873,7 @@ class ApiKeys {
|
|
|
873
873
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
874
874
|
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, `api-keys/${encodeURIComponent(id)}/restore`),
|
|
875
875
|
method: 'POST',
|
|
876
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
876
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
877
877
|
contentType: 'application/json',
|
|
878
878
|
requestType: 'json',
|
|
879
879
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1001,7 +1001,7 @@ class ApiKeys {
|
|
|
1001
1001
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1002
1002
|
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, `api-keys/${encodeURIComponent(id)}/revisions`),
|
|
1003
1003
|
method: 'GET',
|
|
1004
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1004
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
1005
1005
|
contentType: 'application/json',
|
|
1006
1006
|
requestType: 'json',
|
|
1007
1007
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1116,7 +1116,7 @@ class ApiKeys {
|
|
|
1116
1116
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1117
1117
|
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, `api-keys/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
|
|
1118
1118
|
method: 'GET',
|
|
1119
|
-
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.
|
|
1119
|
+
headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.37.0', 'User-Agent': '@truvity/sdk/0.37.0', '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),
|
|
1120
1120
|
contentType: 'application/json',
|
|
1121
1121
|
requestType: 'json',
|
|
1122
1122
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|