@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.
Files changed (116) hide show
  1. package/api/resources/apiKeys/client/Client.js +9 -9
  2. package/api/resources/apiKeys/client/Client.js.map +1 -1
  3. package/api/resources/credentials/client/Client.js +12 -12
  4. package/api/resources/credentials/client/Client.js.map +1 -1
  5. package/api/resources/credentials/client/requests/CredentialInput.d.ts +1 -2
  6. package/api/resources/credentials/client/requests/CredentialInput.d.ts.map +1 -1
  7. package/api/resources/credentials/client/requests/CredentialInput.js.map +1 -1
  8. package/api/resources/desk/client/Client.js +2 -2
  9. package/api/resources/desk/client/Client.js.map +1 -1
  10. package/api/resources/didcommMessages/client/Client.js +9 -9
  11. package/api/resources/didcommMessages/client/Client.js.map +1 -1
  12. package/api/resources/dids/client/Client.js +1 -1
  13. package/api/resources/dids/client/Client.js.map +1 -1
  14. package/api/resources/drafts/client/Client.d.ts +49 -11
  15. package/api/resources/drafts/client/Client.d.ts.map +1 -1
  16. package/api/resources/drafts/client/Client.js +61 -23
  17. package/api/resources/drafts/client/Client.js.map +1 -1
  18. package/api/resources/files/client/Client.js +11 -11
  19. package/api/resources/files/client/Client.js.map +1 -1
  20. package/api/resources/files/client/requests/FileInput.d.ts +1 -2
  21. package/api/resources/files/client/requests/FileInput.d.ts.map +1 -1
  22. package/api/resources/files/client/requests/FileInput.js.map +1 -1
  23. package/api/resources/gdpr/client/Client.js +1 -1
  24. package/api/resources/gdpr/client/Client.js.map +1 -1
  25. package/api/resources/keys/client/Client.js +13 -13
  26. package/api/resources/keys/client/Client.js.map +1 -1
  27. package/api/resources/presentations/client/Client.js +14 -14
  28. package/api/resources/presentations/client/Client.js.map +1 -1
  29. package/api/resources/presentations/client/requests/PresentationInput.d.ts +1 -2
  30. package/api/resources/presentations/client/requests/PresentationInput.d.ts.map +1 -1
  31. package/api/resources/presentations/client/requests/PresentationInput.js.map +1 -1
  32. package/api/types/Credential.d.ts +4 -0
  33. package/api/types/Credential.d.ts.map +1 -1
  34. package/api/types/Credential.js.map +1 -1
  35. package/api/types/CredentialFilter.d.ts +4 -1
  36. package/api/types/CredentialFilter.d.ts.map +1 -1
  37. package/api/types/CredentialFilter.js.map +1 -1
  38. package/api/types/Draft.d.ts +4 -0
  39. package/api/types/Draft.d.ts.map +1 -1
  40. package/api/types/Draft.js.map +1 -1
  41. package/api/types/DraftFilter.d.ts +4 -1
  42. package/api/types/DraftFilter.d.ts.map +1 -1
  43. package/api/types/DraftFilter.js.map +1 -1
  44. package/api/types/LinkedRef.d.ts +22 -0
  45. package/api/types/LinkedRef.d.ts.map +1 -0
  46. package/api/types/LinkedRef.js +6 -0
  47. package/api/types/LinkedRef.js.map +1 -0
  48. package/api/types/LinkedResourceRef.d.ts +14 -0
  49. package/api/types/LinkedResourceRef.d.ts.map +1 -0
  50. package/api/types/LinkedResourceRef.js +6 -0
  51. package/api/types/LinkedResourceRef.js.map +1 -0
  52. package/api/types/Presentation.d.ts +3 -0
  53. package/api/types/Presentation.d.ts.map +1 -1
  54. package/api/types/Presentation.js.map +1 -1
  55. package/api/types/PresentationFilter.d.ts +3 -1
  56. package/api/types/PresentationFilter.d.ts.map +1 -1
  57. package/api/types/PresentationFilter.js.map +1 -1
  58. package/api/types/UploadResponse.d.ts +1 -4
  59. package/api/types/UploadResponse.d.ts.map +1 -1
  60. package/api/types/UploadResponse.js.map +1 -1
  61. package/api/types/index.d.ts +2 -0
  62. package/api/types/index.d.ts.map +1 -1
  63. package/api/types/index.js +2 -0
  64. package/api/types/index.js.map +1 -1
  65. package/documents/credential/claims.d.ts.map +1 -1
  66. package/documents/credential/claims.js +10 -9
  67. package/documents/credential/claims.js.map +1 -1
  68. package/documents/credential.d.ts.map +1 -1
  69. package/documents/credential.js +3 -2
  70. package/documents/credential.js.map +1 -1
  71. package/documents/utils/error.d.ts +9 -0
  72. package/documents/utils/error.d.ts.map +1 -0
  73. package/documents/utils/error.js +14 -0
  74. package/documents/utils/error.js.map +1 -0
  75. package/documents/utils/error.spec.d.ts +2 -0
  76. package/documents/utils/error.spec.d.ts.map +1 -0
  77. package/documents/utils/error.spec.js +9 -0
  78. package/documents/utils/error.spec.js.map +1 -0
  79. package/package.json +1 -1
  80. package/reference.md +48 -10
  81. package/serialization/types/Credential.d.ts +3 -0
  82. package/serialization/types/Credential.d.ts.map +1 -1
  83. package/serialization/types/Credential.js +3 -0
  84. package/serialization/types/Credential.js.map +1 -1
  85. package/serialization/types/CredentialFilter.d.ts +5 -1
  86. package/serialization/types/CredentialFilter.d.ts.map +1 -1
  87. package/serialization/types/CredentialFilter.js +41 -1
  88. package/serialization/types/CredentialFilter.js.map +1 -1
  89. package/serialization/types/Draft.d.ts +4 -0
  90. package/serialization/types/Draft.d.ts.map +1 -1
  91. package/serialization/types/Draft.js +4 -0
  92. package/serialization/types/Draft.js.map +1 -1
  93. package/serialization/types/DraftFilter.d.ts +5 -1
  94. package/serialization/types/DraftFilter.d.ts.map +1 -1
  95. package/serialization/types/DraftFilter.js +41 -1
  96. package/serialization/types/DraftFilter.js.map +1 -1
  97. package/serialization/types/LinkedRef.d.ts +15 -0
  98. package/serialization/types/LinkedRef.d.ts.map +1 -0
  99. package/serialization/types/LinkedRef.js +46 -0
  100. package/serialization/types/LinkedRef.js.map +1 -0
  101. package/serialization/types/LinkedResourceRef.d.ts +13 -0
  102. package/serialization/types/LinkedResourceRef.d.ts.map +1 -0
  103. package/serialization/types/LinkedResourceRef.js +44 -0
  104. package/serialization/types/LinkedResourceRef.js.map +1 -0
  105. package/serialization/types/Presentation.d.ts +2 -0
  106. package/serialization/types/Presentation.d.ts.map +1 -1
  107. package/serialization/types/Presentation.js +2 -0
  108. package/serialization/types/Presentation.js.map +1 -1
  109. package/serialization/types/PresentationFilter.d.ts +4 -1
  110. package/serialization/types/PresentationFilter.d.ts.map +1 -1
  111. package/serialization/types/PresentationFilter.js +40 -1
  112. package/serialization/types/PresentationFilter.js.map +1 -1
  113. package/serialization/types/index.d.ts +2 -0
  114. package/serialization/types/index.d.ts.map +1 -1
  115. package/serialization/types/index.js +2 -0
  116. package/serialization/types/index.js.map +1 -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.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
102
+ 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),
103
103
  contentType: 'application/json',
104
104
  requestType: 'json',
105
105
  body: serializers.ApiKeyInput.jsonOrThrow(_body, { unrecognizedObjectKeys: 'strip', omitUndefined: true }),
@@ -212,7 +212,7 @@ class ApiKeys {
212
212
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
213
213
  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'),
214
214
  method: 'POST',
215
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
215
+ 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),
216
216
  contentType: 'application/json',
217
217
  requestType: 'json',
218
218
  body: serializers.ApiKeySearchRequest.jsonOrThrow(request, {
@@ -330,7 +330,7 @@ class ApiKeys {
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, `api-keys/${encodeURIComponent(id)}`),
332
332
  method: 'GET',
333
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
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, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
334
  contentType: 'application/json',
335
335
  requestType: 'json',
336
336
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -449,7 +449,7 @@ class ApiKeys {
449
449
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
450
450
  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)}`),
451
451
  method: 'DELETE',
452
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
452
+ 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),
453
453
  contentType: 'application/json',
454
454
  requestType: 'json',
455
455
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -578,7 +578,7 @@ class ApiKeys {
578
578
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
579
579
  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`),
580
580
  method: 'PATCH',
581
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
581
+ 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),
582
582
  contentType: 'application/json',
583
583
  requestType: 'json',
584
584
  body: serializers.ApiKeyUpdateAnnotationsInput.jsonOrThrow(_body, {
@@ -726,7 +726,7 @@ class ApiKeys {
726
726
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
727
727
  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`),
728
728
  method: 'PATCH',
729
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
729
+ 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),
730
730
  contentType: 'application/json',
731
731
  requestType: 'json',
732
732
  body: serializers.ApiKeyUpdateLabelsInput.jsonOrThrow(_body, {
@@ -870,7 +870,7 @@ class ApiKeys {
870
870
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
871
871
  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`),
872
872
  method: 'POST',
873
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
873
+ 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),
874
874
  contentType: 'application/json',
875
875
  requestType: 'json',
876
876
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -998,7 +998,7 @@ class ApiKeys {
998
998
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
999
999
  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`),
1000
1000
  method: 'GET',
1001
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
1001
+ 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),
1002
1002
  contentType: 'application/json',
1003
1003
  requestType: 'json',
1004
1004
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1113,7 +1113,7 @@ class ApiKeys {
1113
1113
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1114
1114
  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)}`),
1115
1115
  method: 'GET',
1116
- headers: Object.assign(Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '0.35.1', 'User-Agent': '@truvity/sdk/0.35.1', '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),
1116
+ 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),
1117
1117
  contentType: 'application/json',
1118
1118
  requestType: 'json',
1119
1119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,