@truvity/sdk 0.38.2 → 0.40.13

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 (955) hide show
  1. package/Client.d.ts +5 -0
  2. package/Client.d.ts.map +1 -1
  3. package/Client.js +10 -4
  4. package/Client.js.map +1 -1
  5. package/ExtendedClient.d.ts +2 -1
  6. package/ExtendedClient.d.ts.map +1 -1
  7. package/ExtendedClient.js +6 -0
  8. package/ExtendedClient.js.map +1 -1
  9. package/api/resources/apiKeys/client/Client.d.ts +2 -0
  10. package/api/resources/apiKeys/client/Client.d.ts.map +1 -1
  11. package/api/resources/apiKeys/client/Client.js +45 -27
  12. package/api/resources/apiKeys/client/Client.js.map +1 -1
  13. package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts +1 -3
  14. package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts.map +1 -1
  15. package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.js.map +1 -1
  16. package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts +1 -3
  17. package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts.map +1 -1
  18. package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.js.map +1 -1
  19. package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts +1 -3
  20. package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts.map +1 -1
  21. package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.js.map +1 -1
  22. package/api/resources/credentials/client/Client.d.ts +23 -1
  23. package/api/resources/credentials/client/Client.d.ts.map +1 -1
  24. package/api/resources/credentials/client/Client.js +178 -41
  25. package/api/resources/credentials/client/Client.js.map +1 -1
  26. package/api/resources/credentials/client/requests/CredentialDownloadRequest.d.ts +5 -3
  27. package/api/resources/credentials/client/requests/CredentialDownloadRequest.d.ts.map +1 -1
  28. package/api/resources/credentials/client/requests/CredentialDownloadRequest.js.map +1 -1
  29. package/api/resources/credentials/client/requests/CredentialHistoryRequest.d.ts +1 -3
  30. package/api/resources/credentials/client/requests/CredentialHistoryRequest.d.ts.map +1 -1
  31. package/api/resources/credentials/client/requests/CredentialHistoryRequest.js.map +1 -1
  32. package/api/resources/credentials/client/requests/CredentialImportRequest.d.ts +2 -6
  33. package/api/resources/credentials/client/requests/CredentialImportRequest.d.ts.map +1 -1
  34. package/api/resources/credentials/client/requests/CredentialImportRequest.js.map +1 -1
  35. package/api/resources/credentials/client/requests/CredentialLatestRequest.d.ts +1 -3
  36. package/api/resources/credentials/client/requests/CredentialLatestRequest.d.ts.map +1 -1
  37. package/api/resources/credentials/client/requests/CredentialLatestRequest.js.map +1 -1
  38. package/api/resources/credentials/client/requests/CredentialRevisionRequest.d.ts +1 -3
  39. package/api/resources/credentials/client/requests/CredentialRevisionRequest.d.ts.map +1 -1
  40. package/api/resources/credentials/client/requests/CredentialRevisionRequest.js.map +1 -1
  41. package/api/resources/credentials/client/requests/CredentialVerifyRequest.d.ts +10 -0
  42. package/api/resources/credentials/client/requests/CredentialVerifyRequest.d.ts.map +1 -0
  43. package/api/{types/DraftFieldDateTimeValue.js → resources/credentials/client/requests/CredentialVerifyRequest.js} +1 -1
  44. package/api/resources/credentials/client/requests/CredentialVerifyRequest.js.map +1 -0
  45. package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.d.ts +10 -0
  46. package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.d.ts.map +1 -0
  47. package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.js +6 -0
  48. package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.js.map +1 -0
  49. package/api/resources/credentials/client/requests/index.d.ts +2 -0
  50. package/api/resources/credentials/client/requests/index.d.ts.map +1 -1
  51. package/api/resources/credentials/client/requests/index.js.map +1 -1
  52. package/api/resources/desk/client/Client.d.ts +15 -7
  53. package/api/resources/desk/client/Client.d.ts.map +1 -1
  54. package/api/resources/desk/client/Client.js +58 -40
  55. package/api/resources/desk/client/Client.js.map +1 -1
  56. package/api/resources/desk/client/requests/DidCommMessageRecvRequest.d.ts +13 -0
  57. package/api/resources/desk/client/requests/DidCommMessageRecvRequest.d.ts.map +1 -0
  58. package/api/resources/desk/client/requests/DidCommMessageRecvRequest.js +6 -0
  59. package/api/resources/desk/client/requests/DidCommMessageRecvRequest.js.map +1 -0
  60. package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.d.ts +10 -0
  61. package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.d.ts.map +1 -0
  62. package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.js +6 -0
  63. package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.js.map +1 -0
  64. package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.d.ts +10 -0
  65. package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.d.ts.map +1 -0
  66. package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.js +6 -0
  67. package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.js.map +1 -0
  68. package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.d.ts +10 -0
  69. package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.d.ts.map +1 -0
  70. package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.js +6 -0
  71. package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.js.map +1 -0
  72. package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.d.ts +10 -0
  73. package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.d.ts.map +1 -0
  74. package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.js +6 -0
  75. package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.js.map +1 -0
  76. package/api/resources/desk/client/requests/index.d.ts +5 -0
  77. package/api/resources/desk/client/requests/index.d.ts.map +1 -1
  78. package/api/resources/desk/client/requests/index.js.map +1 -1
  79. package/api/resources/didcommMessages/client/Client.d.ts +2 -0
  80. package/api/resources/didcommMessages/client/Client.d.ts.map +1 -1
  81. package/api/resources/didcommMessages/client/Client.js +45 -27
  82. package/api/resources/didcommMessages/client/Client.js.map +1 -1
  83. package/api/resources/didcommMessages/client/requests/DidcommMessageHistoryRequest.d.ts +1 -3
  84. package/api/resources/didcommMessages/client/requests/DidcommMessageHistoryRequest.d.ts.map +1 -1
  85. package/api/resources/didcommMessages/client/requests/DidcommMessageHistoryRequest.js.map +1 -1
  86. package/api/resources/didcommMessages/client/requests/DidcommMessageLatestRequest.d.ts +1 -3
  87. package/api/resources/didcommMessages/client/requests/DidcommMessageLatestRequest.d.ts.map +1 -1
  88. package/api/resources/didcommMessages/client/requests/DidcommMessageLatestRequest.js.map +1 -1
  89. package/api/resources/didcommMessages/client/requests/DidcommMessageRevisionRequest.d.ts +1 -3
  90. package/api/resources/didcommMessages/client/requests/DidcommMessageRevisionRequest.d.ts.map +1 -1
  91. package/api/resources/didcommMessages/client/requests/DidcommMessageRevisionRequest.js.map +1 -1
  92. package/api/resources/dids/client/Client.d.ts +2 -0
  93. package/api/resources/dids/client/Client.d.ts.map +1 -1
  94. package/api/resources/dids/client/Client.js +5 -3
  95. package/api/resources/dids/client/Client.js.map +1 -1
  96. package/api/resources/drafts/client/Client.d.ts +9 -7
  97. package/api/resources/drafts/client/Client.d.ts.map +1 -1
  98. package/api/resources/drafts/client/Client.js +67 -43
  99. package/api/resources/drafts/client/Client.js.map +1 -1
  100. package/api/resources/drafts/client/requests/DraftCreateRequest.d.ts +7 -7
  101. package/api/resources/drafts/client/requests/DraftCreateRequest.js.map +1 -1
  102. package/api/resources/drafts/client/requests/DraftExportRequest.d.ts +8 -0
  103. package/api/resources/drafts/client/requests/DraftExportRequest.d.ts.map +1 -1
  104. package/api/resources/drafts/client/requests/DraftExportRequest.js.map +1 -1
  105. package/api/resources/drafts/client/requests/DraftHistoryRequest.d.ts +1 -3
  106. package/api/resources/drafts/client/requests/DraftHistoryRequest.d.ts.map +1 -1
  107. package/api/resources/drafts/client/requests/DraftHistoryRequest.js.map +1 -1
  108. package/api/resources/drafts/client/requests/DraftLatestRequest.d.ts +1 -3
  109. package/api/resources/drafts/client/requests/DraftLatestRequest.d.ts.map +1 -1
  110. package/api/resources/drafts/client/requests/DraftLatestRequest.js.map +1 -1
  111. package/api/resources/drafts/client/requests/DraftRevisionRequest.d.ts +1 -3
  112. package/api/resources/drafts/client/requests/DraftRevisionRequest.d.ts.map +1 -1
  113. package/api/resources/drafts/client/requests/DraftRevisionRequest.js.map +1 -1
  114. package/api/resources/files/client/Client.d.ts +2 -0
  115. package/api/resources/files/client/Client.d.ts.map +1 -1
  116. package/api/resources/files/client/Client.js +55 -34
  117. package/api/resources/files/client/Client.js.map +1 -1
  118. package/api/resources/files/client/requests/FileCreateRequest.d.ts +1 -3
  119. package/api/resources/files/client/requests/FileCreateRequest.d.ts.map +1 -1
  120. package/api/resources/files/client/requests/FileCreateRequest.js.map +1 -1
  121. package/api/resources/files/client/requests/FileDownloadRequest.d.ts +5 -3
  122. package/api/resources/files/client/requests/FileDownloadRequest.d.ts.map +1 -1
  123. package/api/resources/files/client/requests/FileDownloadRequest.js.map +1 -1
  124. package/api/resources/files/client/requests/FileHistoryRequest.d.ts +1 -3
  125. package/api/resources/files/client/requests/FileHistoryRequest.d.ts.map +1 -1
  126. package/api/resources/files/client/requests/FileHistoryRequest.js.map +1 -1
  127. package/api/resources/files/client/requests/FileLatestRequest.d.ts +1 -3
  128. package/api/resources/files/client/requests/FileLatestRequest.d.ts.map +1 -1
  129. package/api/resources/files/client/requests/FileLatestRequest.js.map +1 -1
  130. package/api/resources/files/client/requests/FileRevisionRequest.d.ts +1 -3
  131. package/api/resources/files/client/requests/FileRevisionRequest.d.ts.map +1 -1
  132. package/api/resources/files/client/requests/FileRevisionRequest.js.map +1 -1
  133. package/api/resources/gdpr/client/Client.d.ts +2 -0
  134. package/api/resources/gdpr/client/Client.d.ts.map +1 -1
  135. package/api/resources/gdpr/client/Client.js +5 -3
  136. package/api/resources/gdpr/client/Client.js.map +1 -1
  137. package/api/resources/index.d.ts +2 -0
  138. package/api/resources/index.d.ts.map +1 -1
  139. package/api/resources/index.js +3 -1
  140. package/api/resources/index.js.map +1 -1
  141. package/api/resources/keys/client/Client.d.ts +2 -0
  142. package/api/resources/keys/client/Client.d.ts.map +1 -1
  143. package/api/resources/keys/client/Client.js +65 -42
  144. package/api/resources/keys/client/Client.js.map +1 -1
  145. package/api/resources/keys/client/requests/CredentialSignRequest.d.ts +8 -6
  146. package/api/resources/keys/client/requests/CredentialSignRequest.d.ts.map +1 -1
  147. package/api/resources/keys/client/requests/CredentialSignRequest.js.map +1 -1
  148. package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts +8 -6
  149. package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts.map +1 -1
  150. package/api/resources/keys/client/requests/DidCommMessageSignRequest.js.map +1 -1
  151. package/api/resources/keys/client/requests/KeyHistoryRequest.d.ts +1 -3
  152. package/api/resources/keys/client/requests/KeyHistoryRequest.d.ts.map +1 -1
  153. package/api/resources/keys/client/requests/KeyHistoryRequest.js.map +1 -1
  154. package/api/resources/keys/client/requests/KeyLatestRequest.d.ts +1 -3
  155. package/api/resources/keys/client/requests/KeyLatestRequest.d.ts.map +1 -1
  156. package/api/resources/keys/client/requests/KeyLatestRequest.js.map +1 -1
  157. package/api/resources/keys/client/requests/KeyRevisionRequest.d.ts +1 -3
  158. package/api/resources/keys/client/requests/KeyRevisionRequest.d.ts.map +1 -1
  159. package/api/resources/keys/client/requests/KeyRevisionRequest.js.map +1 -1
  160. package/api/resources/keys/client/requests/PresentationSignRequest.d.ts +8 -6
  161. package/api/resources/keys/client/requests/PresentationSignRequest.d.ts.map +1 -1
  162. package/api/resources/keys/client/requests/PresentationSignRequest.js.map +1 -1
  163. package/api/resources/presentations/client/Client.d.ts +5 -1
  164. package/api/resources/presentations/client/Client.d.ts.map +1 -1
  165. package/api/resources/presentations/client/Client.js +80 -51
  166. package/api/resources/presentations/client/Client.js.map +1 -1
  167. package/api/resources/presentations/client/requests/PresentationDownloadRequest.d.ts +5 -3
  168. package/api/resources/presentations/client/requests/PresentationDownloadRequest.d.ts.map +1 -1
  169. package/api/resources/presentations/client/requests/PresentationDownloadRequest.js.map +1 -1
  170. package/api/resources/presentations/client/requests/PresentationExportRequest.d.ts +10 -0
  171. package/api/resources/presentations/client/requests/PresentationExportRequest.d.ts.map +1 -1
  172. package/api/resources/presentations/client/requests/PresentationExportRequest.js.map +1 -1
  173. package/api/resources/presentations/client/requests/PresentationHistoryRequest.d.ts +1 -3
  174. package/api/resources/presentations/client/requests/PresentationHistoryRequest.d.ts.map +1 -1
  175. package/api/resources/presentations/client/requests/PresentationHistoryRequest.js.map +1 -1
  176. package/api/resources/presentations/client/requests/PresentationImportRequest.d.ts +1 -3
  177. package/api/resources/presentations/client/requests/PresentationImportRequest.d.ts.map +1 -1
  178. package/api/resources/presentations/client/requests/PresentationImportRequest.js.map +1 -1
  179. package/api/resources/presentations/client/requests/PresentationIssueRequest.d.ts +2 -0
  180. package/api/resources/presentations/client/requests/PresentationIssueRequest.d.ts.map +1 -1
  181. package/api/resources/presentations/client/requests/PresentationIssueRequest.js.map +1 -1
  182. package/api/resources/presentations/client/requests/PresentationLatestRequest.d.ts +1 -3
  183. package/api/resources/presentations/client/requests/PresentationLatestRequest.d.ts.map +1 -1
  184. package/api/resources/presentations/client/requests/PresentationLatestRequest.js.map +1 -1
  185. package/api/resources/presentations/client/requests/PresentationRevisionRequest.d.ts +1 -3
  186. package/api/resources/presentations/client/requests/PresentationRevisionRequest.d.ts.map +1 -1
  187. package/api/resources/presentations/client/requests/PresentationRevisionRequest.js.map +1 -1
  188. package/api/resources/presentations/client/requests/PresentationVerifyRequest.d.ts +10 -0
  189. package/api/resources/presentations/client/requests/PresentationVerifyRequest.d.ts.map +1 -0
  190. package/api/resources/presentations/client/requests/PresentationVerifyRequest.js +6 -0
  191. package/api/resources/presentations/client/requests/PresentationVerifyRequest.js.map +1 -0
  192. package/api/resources/presentations/client/requests/index.d.ts +1 -0
  193. package/api/resources/presentations/client/requests/index.d.ts.map +1 -1
  194. package/api/resources/presentations/client/requests/index.js.map +1 -1
  195. package/api/resources/presentations/types/PresentationExportRequestCompositionType.d.ts +8 -0
  196. package/api/resources/presentations/types/PresentationExportRequestCompositionType.d.ts.map +1 -0
  197. package/api/resources/presentations/types/PresentationExportRequestCompositionType.js +10 -0
  198. package/api/resources/presentations/types/PresentationExportRequestCompositionType.js.map +1 -0
  199. package/api/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts +8 -0
  200. package/api/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts.map +1 -0
  201. package/api/resources/presentations/types/PresentationIssueRequestCompositionType.js +10 -0
  202. package/api/resources/presentations/types/PresentationIssueRequestCompositionType.js.map +1 -0
  203. package/api/resources/presentations/types/index.d.ts +2 -0
  204. package/api/resources/presentations/types/index.d.ts.map +1 -1
  205. package/api/resources/presentations/types/index.js +2 -0
  206. package/api/resources/presentations/types/index.js.map +1 -1
  207. package/api/resources/publishedSchemas/client/Client.d.ts +201 -0
  208. package/api/resources/publishedSchemas/client/Client.d.ts.map +1 -0
  209. package/api/resources/publishedSchemas/client/Client.js +986 -0
  210. package/api/resources/publishedSchemas/client/Client.js.map +1 -0
  211. package/api/resources/publishedSchemas/client/index.d.ts +3 -0
  212. package/api/resources/publishedSchemas/client/index.d.ts.map +1 -0
  213. package/api/resources/publishedSchemas/client/index.js +18 -0
  214. package/api/resources/publishedSchemas/client/index.js.map +1 -0
  215. package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.d.ts +47 -0
  216. package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.d.ts.map +1 -0
  217. package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.js +6 -0
  218. package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.js.map +1 -0
  219. package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.d.ts +12 -0
  220. package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.d.ts.map +1 -0
  221. package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.js +6 -0
  222. package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.js.map +1 -0
  223. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.d.ts +47 -0
  224. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.d.ts.map +1 -0
  225. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.js +6 -0
  226. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.js.map +1 -0
  227. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.d.ts +12 -0
  228. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.d.ts.map +1 -0
  229. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.js +6 -0
  230. package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.js.map +1 -0
  231. package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts +15 -0
  232. package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts.map +1 -0
  233. package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js +6 -0
  234. package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js.map +1 -0
  235. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts +52 -0
  236. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts.map +1 -0
  237. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js +6 -0
  238. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js.map +1 -0
  239. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts +52 -0
  240. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts.map +1 -0
  241. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js +6 -0
  242. package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js.map +1 -0
  243. package/api/resources/publishedSchemas/client/requests/index.d.ts +8 -0
  244. package/api/resources/publishedSchemas/client/requests/index.d.ts.map +1 -0
  245. package/api/resources/publishedSchemas/client/requests/index.js +3 -0
  246. package/api/resources/publishedSchemas/client/requests/index.js.map +1 -0
  247. package/api/resources/publishedSchemas/index.d.ts +2 -0
  248. package/api/resources/publishedSchemas/index.d.ts.map +1 -0
  249. package/api/resources/publishedSchemas/index.js +18 -0
  250. package/api/resources/publishedSchemas/index.js.map +1 -0
  251. package/api/resources/schemas/client/Client.d.ts +42 -11
  252. package/api/resources/schemas/client/Client.d.ts.map +1 -1
  253. package/api/resources/schemas/client/Client.js +212 -47
  254. package/api/resources/schemas/client/Client.js.map +1 -1
  255. package/api/resources/schemas/client/requests/SchemaHistoryRequest.d.ts +1 -3
  256. package/api/resources/schemas/client/requests/SchemaHistoryRequest.d.ts.map +1 -1
  257. package/api/resources/schemas/client/requests/SchemaHistoryRequest.js.map +1 -1
  258. package/api/resources/schemas/client/requests/SchemaImportRequest.d.ts +25 -0
  259. package/api/resources/schemas/client/requests/SchemaImportRequest.d.ts.map +1 -0
  260. package/api/{types/DraftFieldFileValue.js → resources/schemas/client/requests/SchemaImportRequest.js} +1 -1
  261. package/api/resources/schemas/client/requests/SchemaImportRequest.js.map +1 -0
  262. package/api/resources/schemas/client/requests/SchemaLatestRequest.d.ts +1 -3
  263. package/api/resources/schemas/client/requests/SchemaLatestRequest.d.ts.map +1 -1
  264. package/api/resources/schemas/client/requests/SchemaLatestRequest.js.map +1 -1
  265. package/api/resources/schemas/client/requests/SchemaPublishRequest.d.ts +2 -4
  266. package/api/resources/schemas/client/requests/SchemaPublishRequest.d.ts.map +1 -1
  267. package/api/resources/schemas/client/requests/SchemaPublishRequest.js.map +1 -1
  268. package/api/resources/schemas/client/requests/SchemaRevisionRequest.d.ts +1 -3
  269. package/api/resources/schemas/client/requests/SchemaRevisionRequest.d.ts.map +1 -1
  270. package/api/resources/schemas/client/requests/SchemaRevisionRequest.js.map +1 -1
  271. package/api/resources/schemas/client/requests/SchemaUpdateRequest.d.ts +1 -6
  272. package/api/resources/schemas/client/requests/SchemaUpdateRequest.d.ts.map +1 -1
  273. package/api/resources/schemas/client/requests/SchemaUpdateRequest.js.map +1 -1
  274. package/api/resources/schemas/client/requests/index.d.ts +1 -0
  275. package/api/resources/schemas/client/requests/index.d.ts.map +1 -1
  276. package/api/resources/schemas/client/requests/index.js.map +1 -1
  277. package/api/types/ArrayClaimValue.d.ts +12 -0
  278. package/api/types/ArrayClaimValue.d.ts.map +1 -0
  279. package/api/types/{DraftFieldDateValue.js → ArrayClaimValue.js} +1 -1
  280. package/api/types/ArrayClaimValue.js.map +1 -0
  281. package/api/types/BooleanClaimValue.d.ts +11 -0
  282. package/api/types/BooleanClaimValue.d.ts.map +1 -0
  283. package/api/types/{DraftFieldLinkValue.js → BooleanClaimValue.js} +1 -1
  284. package/api/types/BooleanClaimValue.js.map +1 -0
  285. package/api/types/ClaimsSchema.d.ts +6 -2
  286. package/api/types/ClaimsSchema.d.ts.map +1 -1
  287. package/api/types/ClaimsSchema.js.map +1 -1
  288. package/api/types/ClaimsSchemaFieldLinkValue.d.ts +2 -1
  289. package/api/types/ClaimsSchemaFieldLinkValue.d.ts.map +1 -1
  290. package/api/types/ClaimsSchemaFieldLinkValue.js.map +1 -1
  291. package/api/types/ClaimsSchemaFieldLinkValueLinkType.d.ts +11 -0
  292. package/api/types/ClaimsSchemaFieldLinkValueLinkType.d.ts.map +1 -0
  293. package/api/types/ClaimsSchemaFieldLinkValueLinkType.js +10 -0
  294. package/api/types/ClaimsSchemaFieldLinkValueLinkType.js.map +1 -0
  295. package/api/types/ClaimsSchemaFieldStructOptionalValue.d.ts +27 -0
  296. package/api/types/ClaimsSchemaFieldStructOptionalValue.d.ts.map +1 -0
  297. package/api/types/ClaimsSchemaFieldStructOptionalValue.js +6 -0
  298. package/api/types/ClaimsSchemaFieldStructOptionalValue.js.map +1 -0
  299. package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts +35 -0
  300. package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts.map +1 -0
  301. package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js +6 -0
  302. package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js.map +1 -0
  303. package/api/types/ClaimsSchemaFieldStructValue.d.ts +7 -1
  304. package/api/types/ClaimsSchemaFieldStructValue.d.ts.map +1 -1
  305. package/api/types/ClaimsSchemaFieldStructValue.js.map +1 -1
  306. package/api/types/ClaimsSchemaOptional.d.ts +20 -0
  307. package/api/types/ClaimsSchemaOptional.d.ts.map +1 -0
  308. package/api/types/ClaimsSchemaOptional.js +6 -0
  309. package/api/types/ClaimsSchemaOptional.js.map +1 -0
  310. package/api/types/ClaimsSchemaOptionalFieldsItem.d.ts +35 -0
  311. package/api/types/ClaimsSchemaOptionalFieldsItem.d.ts.map +1 -0
  312. package/api/types/ClaimsSchemaOptionalFieldsItem.js +6 -0
  313. package/api/types/ClaimsSchemaOptionalFieldsItem.js.map +1 -0
  314. package/api/types/CredentialClaimLinkedCredentialValue.d.ts +13 -0
  315. package/api/types/CredentialClaimLinkedCredentialValue.d.ts.map +1 -0
  316. package/api/types/CredentialClaimLinkedCredentialValue.js +6 -0
  317. package/api/types/CredentialClaimLinkedCredentialValue.js.map +1 -0
  318. package/api/types/CredentialClaimLinkedFileValue.d.ts +13 -0
  319. package/api/types/CredentialClaimLinkedFileValue.d.ts.map +1 -0
  320. package/api/types/CredentialClaimLinkedFileValue.js +6 -0
  321. package/api/types/CredentialClaimLinkedFileValue.js.map +1 -0
  322. package/api/types/CredentialClaimValue.d.ts +38 -0
  323. package/api/types/CredentialClaimValue.d.ts.map +1 -0
  324. package/api/types/CredentialClaimValue.js +6 -0
  325. package/api/types/CredentialClaimValue.js.map +1 -0
  326. package/api/types/CredentialClaimValues.d.ts +9 -0
  327. package/api/types/CredentialClaimValues.d.ts.map +1 -0
  328. package/api/types/CredentialClaimValues.js +6 -0
  329. package/api/types/CredentialClaimValues.js.map +1 -0
  330. package/api/types/CredentialSchema.d.ts +7 -2
  331. package/api/types/CredentialSchema.d.ts.map +1 -1
  332. package/api/types/CredentialSchema.js.map +1 -1
  333. package/api/types/CredentialSchemaCreate.d.ts +1 -1
  334. package/api/types/CredentialSchemaCreate.d.ts.map +1 -1
  335. package/api/types/CredentialSchemaCreate.js.map +1 -1
  336. package/api/types/CredentialSchemaUpdate.d.ts +1 -1
  337. package/api/types/CredentialSchemaUpdate.d.ts.map +1 -1
  338. package/api/types/CredentialSchemaUpdate.js.map +1 -1
  339. package/api/types/DateClaimValue.d.ts +11 -0
  340. package/api/types/DateClaimValue.d.ts.map +1 -0
  341. package/api/types/{DraftEnumValue.js → DateClaimValue.js} +1 -1
  342. package/api/types/DateClaimValue.js.map +1 -0
  343. package/api/types/DateTimeClaimValue.d.ts +11 -0
  344. package/api/types/DateTimeClaimValue.d.ts.map +1 -0
  345. package/api/types/DateTimeClaimValue.js +6 -0
  346. package/api/types/DateTimeClaimValue.js.map +1 -0
  347. package/api/types/Draft.d.ts +8 -4
  348. package/api/types/Draft.d.ts.map +1 -1
  349. package/api/types/Draft.js.map +1 -1
  350. package/api/types/DraftCreate.d.ts +7 -3
  351. package/api/types/DraftCreate.d.ts.map +1 -1
  352. package/api/types/DraftCreate.js.map +1 -1
  353. package/api/types/DraftCreateMetaSchema.d.ts +12 -0
  354. package/api/types/DraftCreateMetaSchema.d.ts.map +1 -0
  355. package/api/types/DraftCreateMetaSchema.js +6 -0
  356. package/api/types/DraftCreateMetaSchema.js.map +1 -0
  357. package/api/types/DraftUpdate.d.ts +2 -2
  358. package/api/types/DraftUpdate.d.ts.map +1 -1
  359. package/api/types/DraftUpdate.js.map +1 -1
  360. package/api/types/ErrorDetail.d.ts +1 -0
  361. package/api/types/ErrorDetail.d.ts.map +1 -1
  362. package/api/types/ErrorDetail.js.map +1 -1
  363. package/api/types/FileClaimValue.d.ts +12 -0
  364. package/api/types/FileClaimValue.d.ts.map +1 -0
  365. package/api/types/FileClaimValue.js +6 -0
  366. package/api/types/FileClaimValue.js.map +1 -0
  367. package/api/types/LinkClaimValue.d.ts +12 -0
  368. package/api/types/LinkClaimValue.d.ts.map +1 -0
  369. package/api/types/LinkClaimValue.js +6 -0
  370. package/api/types/LinkClaimValue.js.map +1 -0
  371. package/api/types/ListPublishedCredentialSchema.d.ts +12 -0
  372. package/api/types/ListPublishedCredentialSchema.d.ts.map +1 -0
  373. package/api/types/ListPublishedCredentialSchema.js +6 -0
  374. package/api/types/ListPublishedCredentialSchema.js.map +1 -0
  375. package/api/types/MetaSchema.d.ts +16 -0
  376. package/api/types/MetaSchema.d.ts.map +1 -0
  377. package/api/types/{DraftSchema.js → MetaSchema.js} +1 -1
  378. package/api/types/MetaSchema.js.map +1 -0
  379. package/api/types/NumberClaimValue.d.ts +11 -0
  380. package/api/types/NumberClaimValue.d.ts.map +1 -0
  381. package/api/types/NumberClaimValue.js +6 -0
  382. package/api/types/NumberClaimValue.js.map +1 -0
  383. package/api/types/ProblemInternalServerError.d.ts +1 -1
  384. package/api/types/ProblemInternalServerError.d.ts.map +1 -1
  385. package/api/types/ProblemInternalServerError.js.map +1 -1
  386. package/api/types/ProblemInternalServerErrorType.d.ts +11 -0
  387. package/api/types/ProblemInternalServerErrorType.d.ts.map +1 -0
  388. package/api/types/ProblemInternalServerErrorType.js +10 -0
  389. package/api/types/ProblemInternalServerErrorType.js.map +1 -0
  390. package/api/types/PublishedCredentialSchema.d.ts +12 -0
  391. package/api/types/PublishedCredentialSchema.d.ts.map +1 -1
  392. package/api/types/PublishedCredentialSchema.js.map +1 -1
  393. package/api/types/PublishedSchemaBaseFilter.d.ts +27 -0
  394. package/api/types/PublishedSchemaBaseFilter.d.ts.map +1 -0
  395. package/api/types/PublishedSchemaBaseFilter.js +6 -0
  396. package/api/types/PublishedSchemaBaseFilter.js.map +1 -0
  397. package/api/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts +20 -0
  398. package/api/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts.map +1 -0
  399. package/api/types/PublishedSchemaBaseFilterAnnotationsItem.js +6 -0
  400. package/api/types/PublishedSchemaBaseFilterAnnotationsItem.js.map +1 -0
  401. package/api/types/PublishedSchemaBaseFilterCreatedAt.d.ts +26 -0
  402. package/api/types/PublishedSchemaBaseFilterCreatedAt.d.ts.map +1 -0
  403. package/api/types/PublishedSchemaBaseFilterCreatedAt.js +6 -0
  404. package/api/types/PublishedSchemaBaseFilterCreatedAt.js.map +1 -0
  405. package/api/types/PublishedSchemaBaseFilterDeletedAt.d.ts +32 -0
  406. package/api/types/PublishedSchemaBaseFilterDeletedAt.d.ts.map +1 -0
  407. package/api/types/PublishedSchemaBaseFilterDeletedAt.js +6 -0
  408. package/api/types/PublishedSchemaBaseFilterDeletedAt.js.map +1 -0
  409. package/api/types/{SchemaFilterPublicationEtag.d.ts → PublishedSchemaBaseFilterEtag.d.ts} +6 -3
  410. package/api/types/PublishedSchemaBaseFilterEtag.d.ts.map +1 -0
  411. package/api/types/PublishedSchemaBaseFilterEtag.js +6 -0
  412. package/api/types/PublishedSchemaBaseFilterEtag.js.map +1 -0
  413. package/api/types/PublishedSchemaBaseFilterId.d.ts +23 -0
  414. package/api/types/PublishedSchemaBaseFilterId.d.ts.map +1 -0
  415. package/api/types/PublishedSchemaBaseFilterId.js +6 -0
  416. package/api/types/PublishedSchemaBaseFilterId.js.map +1 -0
  417. package/api/types/PublishedSchemaBaseFilterLabelsItem.d.ts +20 -0
  418. package/api/types/PublishedSchemaBaseFilterLabelsItem.d.ts.map +1 -0
  419. package/api/types/PublishedSchemaBaseFilterLabelsItem.js +6 -0
  420. package/api/types/PublishedSchemaBaseFilterLabelsItem.js.map +1 -0
  421. package/api/types/PublishedSchemaBaseFilterModifiedAt.d.ts +26 -0
  422. package/api/types/PublishedSchemaBaseFilterModifiedAt.d.ts.map +1 -0
  423. package/api/types/PublishedSchemaBaseFilterModifiedAt.js +6 -0
  424. package/api/types/PublishedSchemaBaseFilterModifiedAt.js.map +1 -0
  425. package/api/types/PublishedSchemaBaseFilterRevision.d.ts +38 -0
  426. package/api/types/PublishedSchemaBaseFilterRevision.d.ts.map +1 -0
  427. package/api/types/{CredentialSchemaPublicationOutput.js → PublishedSchemaBaseFilterRevision.js} +1 -1
  428. package/api/types/PublishedSchemaBaseFilterRevision.js.map +1 -0
  429. package/api/types/PublishedSchemaFilter.d.ts +9 -0
  430. package/api/types/PublishedSchemaFilter.d.ts.map +1 -0
  431. package/api/types/PublishedSchemaFilter.js +6 -0
  432. package/api/types/PublishedSchemaFilter.js.map +1 -0
  433. package/api/types/PublishedSchemaFilterData.d.ts +14 -0
  434. package/api/types/PublishedSchemaFilterData.d.ts.map +1 -0
  435. package/api/types/PublishedSchemaFilterData.js +6 -0
  436. package/api/types/PublishedSchemaFilterData.js.map +1 -0
  437. package/api/types/PublishedSchemaFilterDataDigestMultibase.d.ts +20 -0
  438. package/api/types/PublishedSchemaFilterDataDigestMultibase.d.ts.map +1 -0
  439. package/api/types/PublishedSchemaFilterDataDigestMultibase.js +6 -0
  440. package/api/types/PublishedSchemaFilterDataDigestMultibase.js.map +1 -0
  441. package/api/types/{SchemaFilterPublicationPublishedAt.d.ts → PublishedSchemaFilterDataPublishedAt.d.ts} +3 -3
  442. package/api/types/PublishedSchemaFilterDataPublishedAt.d.ts.map +1 -0
  443. package/api/types/PublishedSchemaFilterDataPublishedAt.js +6 -0
  444. package/api/types/PublishedSchemaFilterDataPublishedAt.js.map +1 -0
  445. package/api/types/{SchemaFilterPublicationSlug.d.ts → PublishedSchemaFilterDataSlug.d.ts} +3 -3
  446. package/api/types/PublishedSchemaFilterDataSlug.d.ts.map +1 -0
  447. package/api/types/PublishedSchemaFilterDataSlug.js +6 -0
  448. package/api/types/PublishedSchemaFilterDataSlug.js.map +1 -0
  449. package/api/types/{SchemaFilterPublicationVersion.d.ts → PublishedSchemaFilterDataVersion.d.ts} +3 -3
  450. package/api/types/PublishedSchemaFilterDataVersion.d.ts.map +1 -0
  451. package/api/types/PublishedSchemaFilterDataVersion.js +6 -0
  452. package/api/types/PublishedSchemaFilterDataVersion.js.map +1 -0
  453. package/api/types/PublishedSchemaSort.d.ts +14 -0
  454. package/api/types/PublishedSchemaSort.d.ts.map +1 -0
  455. package/api/types/PublishedSchemaSort.js +6 -0
  456. package/api/types/PublishedSchemaSort.js.map +1 -0
  457. package/api/types/PublishedSchemaSortField.d.ts +20 -0
  458. package/api/types/PublishedSchemaSortField.d.ts.map +1 -0
  459. package/api/types/PublishedSchemaSortField.js +19 -0
  460. package/api/types/PublishedSchemaSortField.js.map +1 -0
  461. package/api/types/PublishedSchemaSortOrder.d.ts +12 -0
  462. package/api/types/PublishedSchemaSortOrder.d.ts.map +1 -0
  463. package/api/types/PublishedSchemaSortOrder.js +11 -0
  464. package/api/types/PublishedSchemaSortOrder.js.map +1 -0
  465. package/api/types/ResourcePublishedCredentialSchema.d.ts +30 -0
  466. package/api/types/ResourcePublishedCredentialSchema.d.ts.map +1 -0
  467. package/api/types/ResourcePublishedCredentialSchema.js +6 -0
  468. package/api/types/ResourcePublishedCredentialSchema.js.map +1 -0
  469. package/api/types/SchemaFilterData.d.ts +1 -1
  470. package/api/types/SchemaFilterData.d.ts.map +1 -1
  471. package/api/types/SchemaFilterData.js.map +1 -1
  472. package/api/types/SchemaFilterDataDigestMultibase.d.ts +20 -0
  473. package/api/types/SchemaFilterDataDigestMultibase.d.ts.map +1 -0
  474. package/api/types/SchemaFilterDataDigestMultibase.js +6 -0
  475. package/api/types/SchemaFilterDataDigestMultibase.js.map +1 -0
  476. package/api/types/SchemaImportDataRequest.d.ts +15 -0
  477. package/api/types/SchemaImportDataRequest.d.ts.map +1 -0
  478. package/api/types/{DraftFieldBooleanValue.js → SchemaImportDataRequest.js} +1 -1
  479. package/api/types/SchemaImportDataRequest.js.map +1 -0
  480. package/api/types/SchemaSortField.d.ts +2 -6
  481. package/api/types/SchemaSortField.d.ts.map +1 -1
  482. package/api/types/SchemaSortField.js +1 -5
  483. package/api/types/SchemaSortField.js.map +1 -1
  484. package/api/types/StringClaimValue.d.ts +11 -0
  485. package/api/types/StringClaimValue.d.ts.map +1 -0
  486. package/api/types/StringClaimValue.js +6 -0
  487. package/api/types/StringClaimValue.js.map +1 -0
  488. package/api/types/StructClaimValue.d.ts +12 -0
  489. package/api/types/StructClaimValue.d.ts.map +1 -0
  490. package/api/types/StructClaimValue.js +6 -0
  491. package/api/types/StructClaimValue.js.map +1 -0
  492. package/api/types/index.d.ts +43 -19
  493. package/api/types/index.d.ts.map +1 -1
  494. package/api/types/index.js +43 -19
  495. package/api/types/index.js.map +1 -1
  496. package/core/fetcher/Fetcher.d.ts +1 -1
  497. package/core/fetcher/Fetcher.d.ts.map +1 -1
  498. package/core/fetcher/Fetcher.js.map +1 -1
  499. package/core/fetcher/index.d.ts +1 -1
  500. package/core/fetcher/index.d.ts.map +1 -1
  501. package/core/fetcher/index.js.map +1 -1
  502. package/core/schemas/utils/maybeSkipValidation.js +1 -1
  503. package/core/schemas/utils/maybeSkipValidation.js.map +1 -1
  504. package/core/url/join.d.ts.map +1 -1
  505. package/core/url/join.js +23 -3
  506. package/core/url/join.js.map +1 -1
  507. package/documents/credential/claims.d.ts +11 -7
  508. package/documents/credential/claims.d.ts.map +1 -1
  509. package/documents/credential/claims.js +187 -38
  510. package/documents/credential/claims.js.map +1 -1
  511. package/documents/credential/claims.spec.js +484 -165
  512. package/documents/credential/claims.spec.js.map +1 -1
  513. package/documents/credential/testdata/udt.d.ts +50 -0
  514. package/documents/credential/testdata/udt.d.ts.map +1 -1
  515. package/documents/credential/testdata/udt.js +226 -6
  516. package/documents/credential/testdata/udt.js.map +1 -1
  517. package/documents/credential/types.d.ts +3 -3
  518. package/documents/credential/types.d.ts.map +1 -1
  519. package/documents/credential/types.js.map +1 -1
  520. package/documents/credential.d.ts +11 -5
  521. package/documents/credential.d.ts.map +1 -1
  522. package/documents/credential.js +151 -32
  523. package/documents/credential.js.map +1 -1
  524. package/documents/decorators.d.ts +40 -7
  525. package/documents/decorators.d.ts.map +1 -1
  526. package/documents/decorators.js +105 -20
  527. package/documents/decorators.js.map +1 -1
  528. package/documents/models.d.ts +5 -5
  529. package/documents/models.d.ts.map +1 -1
  530. package/documents/models.js +20 -16
  531. package/documents/models.js.map +1 -1
  532. package/documents/models.spec.js +1 -5
  533. package/documents/models.spec.js.map +1 -1
  534. package/documents/presentation.d.ts.map +1 -1
  535. package/documents/presentation.js +1 -0
  536. package/documents/presentation.js.map +1 -1
  537. package/documents/types.d.ts +8 -2
  538. package/documents/types.d.ts.map +1 -1
  539. package/documents/types.js +8 -1
  540. package/documents/types.js.map +1 -1
  541. package/documents/utils/error.d.ts +2 -0
  542. package/documents/utils/error.d.ts.map +1 -1
  543. package/documents/utils/error.js +2 -0
  544. package/documents/utils/error.js.map +1 -1
  545. package/documents/utils/error.spec.js +1 -1
  546. package/documents/utils/error.spec.js.map +1 -1
  547. package/package.json +7 -3
  548. package/reference.md +1499 -166
  549. package/serialization/resources/index.d.ts +2 -0
  550. package/serialization/resources/index.d.ts.map +1 -1
  551. package/serialization/resources/index.js +3 -1
  552. package/serialization/resources/index.js.map +1 -1
  553. package/serialization/resources/presentations/client/requests/PresentationExportRequest.d.ts +2 -0
  554. package/serialization/resources/presentations/client/requests/PresentationExportRequest.d.ts.map +1 -1
  555. package/serialization/resources/presentations/client/requests/PresentationExportRequest.js +2 -0
  556. package/serialization/resources/presentations/client/requests/PresentationExportRequest.js.map +1 -1
  557. package/serialization/resources/presentations/client/requests/PresentationIssueRequest.d.ts +2 -0
  558. package/serialization/resources/presentations/client/requests/PresentationIssueRequest.d.ts.map +1 -1
  559. package/serialization/resources/presentations/client/requests/PresentationIssueRequest.js +2 -0
  560. package/serialization/resources/presentations/client/requests/PresentationIssueRequest.js.map +1 -1
  561. package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.d.ts +11 -0
  562. package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.d.ts.map +1 -0
  563. package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.js +42 -0
  564. package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.js.map +1 -0
  565. package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts +11 -0
  566. package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts.map +1 -0
  567. package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.js +42 -0
  568. package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.js.map +1 -0
  569. package/serialization/resources/presentations/types/index.d.ts +2 -0
  570. package/serialization/resources/presentations/types/index.d.ts.map +1 -1
  571. package/serialization/resources/presentations/types/index.js +2 -0
  572. package/serialization/resources/presentations/types/index.js.map +1 -1
  573. package/serialization/resources/publishedSchemas/client/index.d.ts +2 -0
  574. package/serialization/resources/publishedSchemas/client/index.d.ts.map +1 -0
  575. package/serialization/resources/publishedSchemas/client/index.js +18 -0
  576. package/serialization/resources/publishedSchemas/client/index.js.map +1 -0
  577. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts +16 -0
  578. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts.map +1 -0
  579. package/serialization/{types/DraftFieldDateTimeValue.js → resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js} +8 -9
  580. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js.map +1 -0
  581. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts +13 -0
  582. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts.map +1 -0
  583. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js +44 -0
  584. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js.map +1 -0
  585. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts +13 -0
  586. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts.map +1 -0
  587. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js +44 -0
  588. package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js.map +1 -0
  589. package/serialization/resources/publishedSchemas/client/requests/index.d.ts +4 -0
  590. package/serialization/resources/publishedSchemas/client/requests/index.d.ts.map +1 -0
  591. package/serialization/resources/publishedSchemas/client/requests/index.js +10 -0
  592. package/serialization/resources/publishedSchemas/client/requests/index.js.map +1 -0
  593. package/serialization/resources/publishedSchemas/index.d.ts +2 -0
  594. package/serialization/resources/publishedSchemas/index.d.ts.map +1 -0
  595. package/serialization/resources/publishedSchemas/index.js +18 -0
  596. package/serialization/resources/publishedSchemas/index.js.map +1 -0
  597. package/serialization/resources/schemas/client/requests/SchemaImportRequest.d.ts +16 -0
  598. package/serialization/resources/schemas/client/requests/SchemaImportRequest.d.ts.map +1 -0
  599. package/serialization/{types/DraftFieldBooleanValue.js → resources/schemas/client/requests/SchemaImportRequest.js} +8 -9
  600. package/serialization/resources/schemas/client/requests/SchemaImportRequest.js.map +1 -0
  601. package/serialization/resources/schemas/client/requests/SchemaPublishRequest.d.ts +1 -1
  602. package/serialization/resources/schemas/client/requests/SchemaPublishRequest.d.ts.map +1 -1
  603. package/serialization/resources/schemas/client/requests/SchemaPublishRequest.js +1 -1
  604. package/serialization/resources/schemas/client/requests/SchemaPublishRequest.js.map +1 -1
  605. package/serialization/resources/schemas/client/requests/index.d.ts +1 -0
  606. package/serialization/resources/schemas/client/requests/index.d.ts.map +1 -1
  607. package/serialization/resources/schemas/client/requests/index.js +3 -1
  608. package/serialization/resources/schemas/client/requests/index.js.map +1 -1
  609. package/serialization/types/ArrayClaimValue.d.ts +13 -0
  610. package/serialization/types/ArrayClaimValue.d.ts.map +1 -0
  611. package/serialization/types/{DraftFieldFileValue.js → ArrayClaimValue.js} +5 -7
  612. package/serialization/types/ArrayClaimValue.js.map +1 -0
  613. package/serialization/types/BooleanClaimValue.d.ts +13 -0
  614. package/serialization/types/BooleanClaimValue.d.ts.map +1 -0
  615. package/serialization/types/{CredentialSchemaPublicationOutput.js → BooleanClaimValue.js} +4 -8
  616. package/serialization/types/BooleanClaimValue.js.map +1 -0
  617. package/serialization/types/ClaimsSchema.d.ts +2 -0
  618. package/serialization/types/ClaimsSchema.d.ts.map +1 -1
  619. package/serialization/types/ClaimsSchema.js +2 -0
  620. package/serialization/types/ClaimsSchema.js.map +1 -1
  621. package/serialization/types/ClaimsSchemaFieldLinkValue.d.ts +2 -1
  622. package/serialization/types/ClaimsSchemaFieldLinkValue.d.ts.map +1 -1
  623. package/serialization/types/ClaimsSchemaFieldLinkValue.js +2 -1
  624. package/serialization/types/ClaimsSchemaFieldLinkValue.js.map +1 -1
  625. package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.d.ts +11 -0
  626. package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.d.ts.map +1 -0
  627. package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.js +42 -0
  628. package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.js.map +1 -0
  629. package/serialization/types/ClaimsSchemaFieldStructOptionalValue.d.ts +21 -0
  630. package/serialization/types/ClaimsSchemaFieldStructOptionalValue.d.ts.map +1 -0
  631. package/serialization/types/{DraftFieldStructValue.js → ClaimsSchemaFieldStructOptionalValue.js} +10 -6
  632. package/serialization/types/ClaimsSchemaFieldStructOptionalValue.js.map +1 -0
  633. package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts +42 -0
  634. package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts.map +1 -0
  635. package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js +64 -0
  636. package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js.map +1 -0
  637. package/serialization/types/ClaimsSchemaFieldStructValue.d.ts +3 -0
  638. package/serialization/types/ClaimsSchemaFieldStructValue.d.ts.map +1 -1
  639. package/serialization/types/ClaimsSchemaFieldStructValue.js +3 -0
  640. package/serialization/types/ClaimsSchemaFieldStructValue.js.map +1 -1
  641. package/serialization/types/ClaimsSchemaOptional.d.ts +18 -0
  642. package/serialization/types/ClaimsSchemaOptional.d.ts.map +1 -0
  643. package/serialization/types/ClaimsSchemaOptional.js +49 -0
  644. package/serialization/types/ClaimsSchemaOptional.js.map +1 -0
  645. package/serialization/types/ClaimsSchemaOptionalFieldsItem.d.ts +42 -0
  646. package/serialization/types/ClaimsSchemaOptionalFieldsItem.d.ts.map +1 -0
  647. package/serialization/types/{DraftFieldStructValueFieldsItem.js → ClaimsSchemaOptionalFieldsItem.js} +18 -18
  648. package/serialization/types/ClaimsSchemaOptionalFieldsItem.js.map +1 -0
  649. package/serialization/types/CredentialClaimLinkedCredentialValue.d.ts +14 -0
  650. package/serialization/types/CredentialClaimLinkedCredentialValue.d.ts.map +1 -0
  651. package/serialization/types/{DraftFieldDateValue.js → CredentialClaimLinkedCredentialValue.js} +5 -8
  652. package/serialization/types/CredentialClaimLinkedCredentialValue.js.map +1 -0
  653. package/serialization/types/CredentialClaimLinkedFileValue.d.ts +14 -0
  654. package/serialization/types/CredentialClaimLinkedFileValue.d.ts.map +1 -0
  655. package/serialization/types/CredentialClaimLinkedFileValue.js +45 -0
  656. package/serialization/types/CredentialClaimLinkedFileValue.js.map +1 -0
  657. package/serialization/types/CredentialClaimValue.d.ts +45 -0
  658. package/serialization/types/CredentialClaimValue.d.ts.map +1 -0
  659. package/serialization/types/{DraftSchemaFieldsItem.js → CredentialClaimValue.js} +19 -18
  660. package/serialization/types/CredentialClaimValue.js.map +1 -0
  661. package/serialization/types/CredentialClaimValues.d.ts +11 -0
  662. package/serialization/types/CredentialClaimValues.d.ts.map +1 -0
  663. package/serialization/types/CredentialClaimValues.js +43 -0
  664. package/serialization/types/CredentialClaimValues.js.map +1 -0
  665. package/serialization/types/CredentialSchema.d.ts +3 -4
  666. package/serialization/types/CredentialSchema.d.ts.map +1 -1
  667. package/serialization/types/CredentialSchema.js +3 -4
  668. package/serialization/types/CredentialSchema.js.map +1 -1
  669. package/serialization/types/CredentialSchemaCreate.d.ts +2 -2
  670. package/serialization/types/CredentialSchemaCreate.d.ts.map +1 -1
  671. package/serialization/types/CredentialSchemaCreate.js +2 -2
  672. package/serialization/types/CredentialSchemaCreate.js.map +1 -1
  673. package/serialization/types/CredentialSchemaUpdate.d.ts +2 -2
  674. package/serialization/types/CredentialSchemaUpdate.d.ts.map +1 -1
  675. package/serialization/types/CredentialSchemaUpdate.js +2 -2
  676. package/serialization/types/CredentialSchemaUpdate.js.map +1 -1
  677. package/serialization/types/{DraftEnumValue.d.ts → DateClaimValue.d.ts} +3 -4
  678. package/serialization/types/DateClaimValue.d.ts.map +1 -0
  679. package/serialization/types/{DraftEnumValue.js → DateClaimValue.js} +3 -4
  680. package/serialization/types/DateClaimValue.js.map +1 -0
  681. package/serialization/types/DateTimeClaimValue.d.ts +13 -0
  682. package/serialization/types/DateTimeClaimValue.d.ts.map +1 -0
  683. package/serialization/types/DateTimeClaimValue.js +44 -0
  684. package/serialization/types/DateTimeClaimValue.js.map +1 -0
  685. package/serialization/types/Draft.d.ts +4 -3
  686. package/serialization/types/Draft.d.ts.map +1 -1
  687. package/serialization/types/Draft.js +5 -3
  688. package/serialization/types/Draft.js.map +1 -1
  689. package/serialization/types/DraftCreate.d.ts +5 -3
  690. package/serialization/types/DraftCreate.d.ts.map +1 -1
  691. package/serialization/types/DraftCreate.js +6 -3
  692. package/serialization/types/DraftCreate.js.map +1 -1
  693. package/serialization/types/DraftCreateMetaSchema.d.ts +12 -0
  694. package/serialization/types/DraftCreateMetaSchema.d.ts.map +1 -0
  695. package/serialization/types/DraftCreateMetaSchema.js +43 -0
  696. package/serialization/types/DraftCreateMetaSchema.js.map +1 -0
  697. package/serialization/types/DraftUpdate.d.ts +1 -1
  698. package/serialization/types/DraftUpdate.d.ts.map +1 -1
  699. package/serialization/types/DraftUpdate.js +2 -1
  700. package/serialization/types/DraftUpdate.js.map +1 -1
  701. package/serialization/types/FileClaimValue.d.ts +14 -0
  702. package/serialization/types/FileClaimValue.d.ts.map +1 -0
  703. package/serialization/types/FileClaimValue.js +45 -0
  704. package/serialization/types/FileClaimValue.js.map +1 -0
  705. package/serialization/types/LinkClaimValue.d.ts +14 -0
  706. package/serialization/types/LinkClaimValue.d.ts.map +1 -0
  707. package/serialization/types/LinkClaimValue.js +45 -0
  708. package/serialization/types/LinkClaimValue.js.map +1 -0
  709. package/serialization/types/ListPublishedCredentialSchema.d.ts +14 -0
  710. package/serialization/types/ListPublishedCredentialSchema.d.ts.map +1 -0
  711. package/serialization/types/ListPublishedCredentialSchema.js +45 -0
  712. package/serialization/types/ListPublishedCredentialSchema.js.map +1 -0
  713. package/serialization/types/MetaSchema.d.ts +16 -0
  714. package/serialization/types/MetaSchema.d.ts.map +1 -0
  715. package/serialization/types/MetaSchema.js +47 -0
  716. package/serialization/types/MetaSchema.js.map +1 -0
  717. package/serialization/types/NumberClaimValue.d.ts +13 -0
  718. package/serialization/types/NumberClaimValue.d.ts.map +1 -0
  719. package/serialization/types/NumberClaimValue.js +44 -0
  720. package/serialization/types/NumberClaimValue.js.map +1 -0
  721. package/serialization/types/ProblemInternalServerError.d.ts +2 -1
  722. package/serialization/types/ProblemInternalServerError.d.ts.map +1 -1
  723. package/serialization/types/ProblemInternalServerError.js +2 -1
  724. package/serialization/types/ProblemInternalServerError.js.map +1 -1
  725. package/serialization/types/ProblemInternalServerErrorType.d.ts +11 -0
  726. package/serialization/types/ProblemInternalServerErrorType.d.ts.map +1 -0
  727. package/serialization/types/ProblemInternalServerErrorType.js +42 -0
  728. package/serialization/types/ProblemInternalServerErrorType.js.map +1 -0
  729. package/serialization/types/PublishedCredentialSchema.d.ts +4 -0
  730. package/serialization/types/PublishedCredentialSchema.d.ts.map +1 -1
  731. package/serialization/types/PublishedCredentialSchema.js +4 -0
  732. package/serialization/types/PublishedCredentialSchema.js.map +1 -1
  733. package/serialization/types/PublishedSchemaBaseFilter.d.ts +30 -0
  734. package/serialization/types/PublishedSchemaBaseFilter.d.ts.map +1 -0
  735. package/serialization/types/PublishedSchemaBaseFilter.js +61 -0
  736. package/serialization/types/PublishedSchemaBaseFilter.js.map +1 -0
  737. package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts +27 -0
  738. package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts.map +1 -0
  739. package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.js +56 -0
  740. package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.js.map +1 -0
  741. package/serialization/types/{SchemaFilterPublicationPublishedAt.d.ts → PublishedSchemaBaseFilterCreatedAt.d.ts} +4 -4
  742. package/serialization/types/{SchemaFilterPublicationPublishedAt.d.ts.map → PublishedSchemaBaseFilterCreatedAt.d.ts.map} +1 -1
  743. package/serialization/types/{SchemaFilterPublicationPublishedAt.js → PublishedSchemaBaseFilterCreatedAt.js} +3 -3
  744. package/serialization/types/{SchemaFilterPublicationPublishedAt.js.map → PublishedSchemaBaseFilterCreatedAt.js.map} +1 -1
  745. package/serialization/types/PublishedSchemaBaseFilterDeletedAt.d.ts +39 -0
  746. package/serialization/types/PublishedSchemaBaseFilterDeletedAt.d.ts.map +1 -0
  747. package/serialization/types/PublishedSchemaBaseFilterDeletedAt.js +62 -0
  748. package/serialization/types/PublishedSchemaBaseFilterDeletedAt.js.map +1 -0
  749. package/serialization/types/{SchemaFilterPublicationEtag.d.ts → PublishedSchemaBaseFilterEtag.d.ts} +4 -4
  750. package/serialization/types/PublishedSchemaBaseFilterEtag.d.ts.map +1 -0
  751. package/serialization/types/{SchemaFilterPublicationEtag.js → PublishedSchemaBaseFilterEtag.js} +3 -3
  752. package/serialization/types/PublishedSchemaBaseFilterEtag.js.map +1 -0
  753. package/serialization/types/PublishedSchemaBaseFilterId.d.ts +27 -0
  754. package/serialization/types/PublishedSchemaBaseFilterId.d.ts.map +1 -0
  755. package/serialization/types/{SchemaFilterPublicationUrl.js → PublishedSchemaBaseFilterId.js} +11 -11
  756. package/serialization/types/PublishedSchemaBaseFilterId.js.map +1 -0
  757. package/serialization/types/PublishedSchemaBaseFilterLabelsItem.d.ts +27 -0
  758. package/serialization/types/PublishedSchemaBaseFilterLabelsItem.d.ts.map +1 -0
  759. package/serialization/types/PublishedSchemaBaseFilterLabelsItem.js +56 -0
  760. package/serialization/types/PublishedSchemaBaseFilterLabelsItem.js.map +1 -0
  761. package/serialization/types/PublishedSchemaBaseFilterModifiedAt.d.ts +31 -0
  762. package/serialization/types/PublishedSchemaBaseFilterModifiedAt.d.ts.map +1 -0
  763. package/serialization/types/PublishedSchemaBaseFilterModifiedAt.js +58 -0
  764. package/serialization/types/PublishedSchemaBaseFilterModifiedAt.js.map +1 -0
  765. package/serialization/types/PublishedSchemaBaseFilterRevision.d.ts +47 -0
  766. package/serialization/types/PublishedSchemaBaseFilterRevision.d.ts.map +1 -0
  767. package/serialization/types/PublishedSchemaBaseFilterRevision.js +66 -0
  768. package/serialization/types/PublishedSchemaBaseFilterRevision.js.map +1 -0
  769. package/serialization/types/PublishedSchemaFilter.d.ts +12 -0
  770. package/serialization/types/PublishedSchemaFilter.d.ts.map +1 -0
  771. package/serialization/types/PublishedSchemaFilter.js +9 -0
  772. package/serialization/types/PublishedSchemaFilter.js.map +1 -0
  773. package/serialization/types/PublishedSchemaFilterData.d.ts +20 -0
  774. package/serialization/types/PublishedSchemaFilterData.d.ts.map +1 -0
  775. package/serialization/types/PublishedSchemaFilterData.js +51 -0
  776. package/serialization/types/PublishedSchemaFilterData.js.map +1 -0
  777. package/serialization/types/PublishedSchemaFilterDataDigestMultibase.d.ts +27 -0
  778. package/serialization/types/PublishedSchemaFilterDataDigestMultibase.d.ts.map +1 -0
  779. package/serialization/types/PublishedSchemaFilterDataDigestMultibase.js +56 -0
  780. package/serialization/types/PublishedSchemaFilterDataDigestMultibase.js.map +1 -0
  781. package/serialization/types/PublishedSchemaFilterDataPublishedAt.d.ts +31 -0
  782. package/serialization/types/PublishedSchemaFilterDataPublishedAt.d.ts.map +1 -0
  783. package/serialization/types/PublishedSchemaFilterDataPublishedAt.js +58 -0
  784. package/serialization/types/PublishedSchemaFilterDataPublishedAt.js.map +1 -0
  785. package/serialization/types/{SchemaFilterPublicationSlug.d.ts → PublishedSchemaFilterDataSlug.d.ts} +4 -4
  786. package/serialization/types/PublishedSchemaFilterDataSlug.d.ts.map +1 -0
  787. package/serialization/types/{SchemaFilterPublicationSlug.js → PublishedSchemaFilterDataSlug.js} +3 -3
  788. package/serialization/types/PublishedSchemaFilterDataSlug.js.map +1 -0
  789. package/serialization/types/{SchemaFilterPublicationVersion.d.ts → PublishedSchemaFilterDataVersion.d.ts} +4 -4
  790. package/serialization/types/PublishedSchemaFilterDataVersion.d.ts.map +1 -0
  791. package/serialization/types/{SchemaFilterPublicationVersion.js → PublishedSchemaFilterDataVersion.js} +3 -3
  792. package/serialization/types/PublishedSchemaFilterDataVersion.js.map +1 -0
  793. package/serialization/types/PublishedSchemaSort.d.ts +16 -0
  794. package/serialization/types/PublishedSchemaSort.d.ts.map +1 -0
  795. package/serialization/types/PublishedSchemaSort.js +47 -0
  796. package/serialization/types/PublishedSchemaSort.js.map +1 -0
  797. package/serialization/types/PublishedSchemaSortField.d.ts +11 -0
  798. package/serialization/types/PublishedSchemaSortField.d.ts.map +1 -0
  799. package/serialization/types/PublishedSchemaSortField.js +53 -0
  800. package/serialization/types/PublishedSchemaSortField.js.map +1 -0
  801. package/serialization/types/PublishedSchemaSortOrder.d.ts +11 -0
  802. package/serialization/types/PublishedSchemaSortOrder.d.ts.map +1 -0
  803. package/serialization/types/PublishedSchemaSortOrder.js +42 -0
  804. package/serialization/types/PublishedSchemaSortOrder.js.map +1 -0
  805. package/serialization/types/ResourcePublishedCredentialSchema.d.ts +24 -0
  806. package/serialization/types/ResourcePublishedCredentialSchema.d.ts.map +1 -0
  807. package/serialization/types/ResourcePublishedCredentialSchema.js +55 -0
  808. package/serialization/types/ResourcePublishedCredentialSchema.js.map +1 -0
  809. package/serialization/types/SchemaFilterData.d.ts +2 -2
  810. package/serialization/types/SchemaFilterData.d.ts.map +1 -1
  811. package/serialization/types/SchemaFilterData.js +2 -2
  812. package/serialization/types/SchemaFilterData.js.map +1 -1
  813. package/serialization/types/SchemaFilterDataDigestMultibase.d.ts +27 -0
  814. package/serialization/types/SchemaFilterDataDigestMultibase.d.ts.map +1 -0
  815. package/serialization/types/SchemaFilterDataDigestMultibase.js +56 -0
  816. package/serialization/types/SchemaFilterDataDigestMultibase.js.map +1 -0
  817. package/serialization/types/SchemaImportDataRequest.d.ts +16 -0
  818. package/serialization/types/SchemaImportDataRequest.d.ts.map +1 -0
  819. package/serialization/types/SchemaImportDataRequest.js +47 -0
  820. package/serialization/types/SchemaImportDataRequest.js.map +1 -0
  821. package/serialization/types/SchemaSortField.d.ts +1 -1
  822. package/serialization/types/SchemaSortField.d.ts.map +1 -1
  823. package/serialization/types/SchemaSortField.js +1 -5
  824. package/serialization/types/SchemaSortField.js.map +1 -1
  825. package/serialization/types/StringClaimValue.d.ts +13 -0
  826. package/serialization/types/StringClaimValue.d.ts.map +1 -0
  827. package/serialization/types/StringClaimValue.js +44 -0
  828. package/serialization/types/StringClaimValue.js.map +1 -0
  829. package/serialization/types/StructClaimValue.d.ts +13 -0
  830. package/serialization/types/StructClaimValue.d.ts.map +1 -0
  831. package/serialization/types/StructClaimValue.js +45 -0
  832. package/serialization/types/StructClaimValue.js.map +1 -0
  833. package/serialization/types/index.d.ts +43 -19
  834. package/serialization/types/index.d.ts.map +1 -1
  835. package/serialization/types/index.js +43 -19
  836. package/serialization/types/index.js.map +1 -1
  837. package/api/types/CredentialSchemaPublicationOutput.d.ts +0 -27
  838. package/api/types/CredentialSchemaPublicationOutput.d.ts.map +0 -1
  839. package/api/types/CredentialSchemaPublicationOutput.js.map +0 -1
  840. package/api/types/DraftEnumValue.d.ts +0 -13
  841. package/api/types/DraftEnumValue.d.ts.map +0 -1
  842. package/api/types/DraftEnumValue.js.map +0 -1
  843. package/api/types/DraftFieldBooleanValue.d.ts +0 -18
  844. package/api/types/DraftFieldBooleanValue.d.ts.map +0 -1
  845. package/api/types/DraftFieldBooleanValue.js.map +0 -1
  846. package/api/types/DraftFieldDateTimeValue.d.ts +0 -18
  847. package/api/types/DraftFieldDateTimeValue.d.ts.map +0 -1
  848. package/api/types/DraftFieldDateTimeValue.js.map +0 -1
  849. package/api/types/DraftFieldDateValue.d.ts +0 -18
  850. package/api/types/DraftFieldDateValue.d.ts.map +0 -1
  851. package/api/types/DraftFieldDateValue.js.map +0 -1
  852. package/api/types/DraftFieldFileValue.d.ts +0 -16
  853. package/api/types/DraftFieldFileValue.d.ts.map +0 -1
  854. package/api/types/DraftFieldFileValue.js.map +0 -1
  855. package/api/types/DraftFieldLinkValue.d.ts +0 -18
  856. package/api/types/DraftFieldLinkValue.d.ts.map +0 -1
  857. package/api/types/DraftFieldLinkValue.js.map +0 -1
  858. package/api/types/DraftFieldNumberValue.d.ts +0 -18
  859. package/api/types/DraftFieldNumberValue.d.ts.map +0 -1
  860. package/api/types/DraftFieldNumberValue.js +0 -6
  861. package/api/types/DraftFieldNumberValue.js.map +0 -1
  862. package/api/types/DraftFieldStringValue.d.ts +0 -21
  863. package/api/types/DraftFieldStringValue.d.ts.map +0 -1
  864. package/api/types/DraftFieldStringValue.js +0 -6
  865. package/api/types/DraftFieldStringValue.js.map +0 -1
  866. package/api/types/DraftFieldStructValue.d.ts +0 -23
  867. package/api/types/DraftFieldStructValue.d.ts.map +0 -1
  868. package/api/types/DraftFieldStructValue.js +0 -6
  869. package/api/types/DraftFieldStructValue.js.map +0 -1
  870. package/api/types/DraftFieldStructValueFieldsItem.d.ts +0 -35
  871. package/api/types/DraftFieldStructValueFieldsItem.d.ts.map +0 -1
  872. package/api/types/DraftFieldStructValueFieldsItem.js +0 -6
  873. package/api/types/DraftFieldStructValueFieldsItem.js.map +0 -1
  874. package/api/types/DraftSchema.d.ts +0 -49
  875. package/api/types/DraftSchema.d.ts.map +0 -1
  876. package/api/types/DraftSchema.js.map +0 -1
  877. package/api/types/DraftSchemaFieldsItem.d.ts +0 -35
  878. package/api/types/DraftSchemaFieldsItem.d.ts.map +0 -1
  879. package/api/types/DraftSchemaFieldsItem.js +0 -6
  880. package/api/types/DraftSchemaFieldsItem.js.map +0 -1
  881. package/api/types/SchemaFilterPublication.d.ts +0 -15
  882. package/api/types/SchemaFilterPublication.d.ts.map +0 -1
  883. package/api/types/SchemaFilterPublication.js +0 -6
  884. package/api/types/SchemaFilterPublication.js.map +0 -1
  885. package/api/types/SchemaFilterPublicationEtag.d.ts.map +0 -1
  886. package/api/types/SchemaFilterPublicationEtag.js +0 -6
  887. package/api/types/SchemaFilterPublicationEtag.js.map +0 -1
  888. package/api/types/SchemaFilterPublicationPublishedAt.d.ts.map +0 -1
  889. package/api/types/SchemaFilterPublicationPublishedAt.js +0 -6
  890. package/api/types/SchemaFilterPublicationPublishedAt.js.map +0 -1
  891. package/api/types/SchemaFilterPublicationSlug.d.ts.map +0 -1
  892. package/api/types/SchemaFilterPublicationSlug.js +0 -6
  893. package/api/types/SchemaFilterPublicationSlug.js.map +0 -1
  894. package/api/types/SchemaFilterPublicationUrl.d.ts +0 -20
  895. package/api/types/SchemaFilterPublicationUrl.d.ts.map +0 -1
  896. package/api/types/SchemaFilterPublicationUrl.js +0 -6
  897. package/api/types/SchemaFilterPublicationUrl.js.map +0 -1
  898. package/api/types/SchemaFilterPublicationVersion.d.ts.map +0 -1
  899. package/api/types/SchemaFilterPublicationVersion.js +0 -6
  900. package/api/types/SchemaFilterPublicationVersion.js.map +0 -1
  901. package/serialization/types/CredentialSchemaPublicationOutput.d.ts +0 -17
  902. package/serialization/types/CredentialSchemaPublicationOutput.d.ts.map +0 -1
  903. package/serialization/types/CredentialSchemaPublicationOutput.js.map +0 -1
  904. package/serialization/types/DraftEnumValue.d.ts.map +0 -1
  905. package/serialization/types/DraftEnumValue.js.map +0 -1
  906. package/serialization/types/DraftFieldBooleanValue.d.ts +0 -17
  907. package/serialization/types/DraftFieldBooleanValue.d.ts.map +0 -1
  908. package/serialization/types/DraftFieldBooleanValue.js.map +0 -1
  909. package/serialization/types/DraftFieldDateTimeValue.d.ts +0 -17
  910. package/serialization/types/DraftFieldDateTimeValue.d.ts.map +0 -1
  911. package/serialization/types/DraftFieldDateTimeValue.js.map +0 -1
  912. package/serialization/types/DraftFieldDateValue.d.ts +0 -17
  913. package/serialization/types/DraftFieldDateValue.d.ts.map +0 -1
  914. package/serialization/types/DraftFieldDateValue.js.map +0 -1
  915. package/serialization/types/DraftFieldFileValue.d.ts +0 -16
  916. package/serialization/types/DraftFieldFileValue.d.ts.map +0 -1
  917. package/serialization/types/DraftFieldFileValue.js.map +0 -1
  918. package/serialization/types/DraftFieldLinkValue.d.ts +0 -17
  919. package/serialization/types/DraftFieldLinkValue.d.ts.map +0 -1
  920. package/serialization/types/DraftFieldLinkValue.js +0 -48
  921. package/serialization/types/DraftFieldLinkValue.js.map +0 -1
  922. package/serialization/types/DraftFieldNumberValue.d.ts +0 -17
  923. package/serialization/types/DraftFieldNumberValue.d.ts.map +0 -1
  924. package/serialization/types/DraftFieldNumberValue.js +0 -48
  925. package/serialization/types/DraftFieldNumberValue.js.map +0 -1
  926. package/serialization/types/DraftFieldStringValue.d.ts +0 -19
  927. package/serialization/types/DraftFieldStringValue.d.ts.map +0 -1
  928. package/serialization/types/DraftFieldStringValue.js +0 -50
  929. package/serialization/types/DraftFieldStringValue.js.map +0 -1
  930. package/serialization/types/DraftFieldStructValue.d.ts +0 -19
  931. package/serialization/types/DraftFieldStructValue.d.ts.map +0 -1
  932. package/serialization/types/DraftFieldStructValue.js.map +0 -1
  933. package/serialization/types/DraftFieldStructValueFieldsItem.d.ts +0 -42
  934. package/serialization/types/DraftFieldStructValueFieldsItem.d.ts.map +0 -1
  935. package/serialization/types/DraftFieldStructValueFieldsItem.js.map +0 -1
  936. package/serialization/types/DraftSchema.d.ts +0 -17
  937. package/serialization/types/DraftSchema.d.ts.map +0 -1
  938. package/serialization/types/DraftSchema.js +0 -48
  939. package/serialization/types/DraftSchema.js.map +0 -1
  940. package/serialization/types/DraftSchemaFieldsItem.d.ts +0 -42
  941. package/serialization/types/DraftSchemaFieldsItem.d.ts.map +0 -1
  942. package/serialization/types/DraftSchemaFieldsItem.js.map +0 -1
  943. package/serialization/types/SchemaFilterPublication.d.ts +0 -22
  944. package/serialization/types/SchemaFilterPublication.d.ts.map +0 -1
  945. package/serialization/types/SchemaFilterPublication.js +0 -53
  946. package/serialization/types/SchemaFilterPublication.js.map +0 -1
  947. package/serialization/types/SchemaFilterPublicationEtag.d.ts.map +0 -1
  948. package/serialization/types/SchemaFilterPublicationEtag.js.map +0 -1
  949. package/serialization/types/SchemaFilterPublicationSlug.d.ts.map +0 -1
  950. package/serialization/types/SchemaFilterPublicationSlug.js.map +0 -1
  951. package/serialization/types/SchemaFilterPublicationUrl.d.ts +0 -27
  952. package/serialization/types/SchemaFilterPublicationUrl.d.ts.map +0 -1
  953. package/serialization/types/SchemaFilterPublicationUrl.js.map +0 -1
  954. package/serialization/types/SchemaFilterPublicationVersion.d.ts.map +0 -1
  955. package/serialization/types/SchemaFilterPublicationVersion.js.map +0 -1
@@ -9,9 +9,7 @@ import * as Truvity from '../../../../index';
9
9
  * }
10
10
  */
11
11
  export interface FileCreateRequest {
12
- /**
13
- * The ID that returned on Upload operation in blob_id field.
14
- */
12
+ /** The ID that returned on Upload operation in blob_id field. */
15
13
  blobId: string;
16
14
  /**
17
15
  * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
@@ -1 +1 @@
1
- {"version":3,"file":"FileCreateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileCreateRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"}
1
+ {"version":3,"file":"FileCreateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileCreateRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAC9B,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileCreateRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileCreateRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * blobId: \"blob_id\"\n * }\n */\nexport interface FileCreateRequest {\n /**\n * The ID that returned on Upload operation in blob_id field.\n */\n blobId: string;\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n * Clients should be careful as any subsequent requests with the same key may\n * return the same response without further check. Thus, it is recommended to\n * use a UUID version 4 (random) or any other random string with enough\n * entropy to avoid collisions.\n *\n * Keys expire after 24 hours. Clients are responsible to stay within this\n * limit, if they require idempotent behavior.\n *\n * See [API Guideline Rule #181](https://opensource.zalando.com/restful-api-guidelines/#230) for further details.\n */\n idempotencyKey?: string;\n /** The annotations of the resource. */\n annotations?: Record<string, string>;\n data?: Truvity.FileData;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
1
+ {"version":3,"file":"FileCreateRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileCreateRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * blobId: \"blob_id\"\n * }\n */\nexport interface FileCreateRequest {\n /** The ID that returned on Upload operation in blob_id field. */\n blobId: string;\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n * Clients should be careful as any subsequent requests with the same key may\n * return the same response without further check. Thus, it is recommended to\n * use a UUID version 4 (random) or any other random string with enough\n * entropy to avoid collisions.\n *\n * Keys expire after 24 hours. Clients are responsible to stay within this\n * limit, if they require idempotent behavior.\n *\n * See [API Guideline Rule #181](https://opensource.zalando.com/restful-api-guidelines/#230) for further details.\n */\n idempotencyKey?: string;\n /** The annotations of the resource. */\n annotations?: Record<string, string>;\n data?: Truvity.FileData;\n /** The labels of the resource. */\n labels?: Record<string, string>;\n}\n"]}
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
4
8
  export interface FileDownloadRequest {
5
- /**
6
- * The ETag of the latest version of the resource.
7
- */
9
+ /** The ETag of the latest version of the resource. */
8
10
  ifNoneMatch?: string;
9
11
  }
10
12
  //# sourceMappingURL=FileDownloadRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileDownloadRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileDownloadRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"FileDownloadRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileDownloadRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileDownloadRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileDownloadRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nexport interface FileDownloadRequest {\n /**\n * The ETag of the latest version of the resource.\n */\n ifNoneMatch?: string;\n}\n"]}
1
+ {"version":3,"file":"FileDownloadRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileDownloadRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileDownloadRequest {\n /** The ETag of the latest version of the resource. */\n ifNoneMatch?: string;\n}\n"]}
@@ -6,9 +6,7 @@
6
6
  * {}
7
7
  */
8
8
  export interface FileHistoryRequest {
9
- /**
10
- * The ETag of the latest version of the resource.
11
- */
9
+ /** The ETag of the latest version of the resource. */
12
10
  ifNoneMatch?: string;
13
11
  }
14
12
  //# sourceMappingURL=FileHistoryRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileHistoryRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileHistoryRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"FileHistoryRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileHistoryRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileHistoryRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileHistoryRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileHistoryRequest {\n /**\n * The ETag of the latest version of the resource.\n */\n ifNoneMatch?: string;\n}\n"]}
1
+ {"version":3,"file":"FileHistoryRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileHistoryRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileHistoryRequest {\n /** The ETag of the latest version of the resource. */\n ifNoneMatch?: string;\n}\n"]}
@@ -6,9 +6,7 @@
6
6
  * {}
7
7
  */
8
8
  export interface FileLatestRequest {
9
- /**
10
- * The ETag of the latest version of the resource.
11
- */
9
+ /** The ETag of the latest version of the resource. */
12
10
  ifNoneMatch?: string;
13
11
  }
14
12
  //# sourceMappingURL=FileLatestRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileLatestRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileLatestRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"FileLatestRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileLatestRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileLatestRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileLatestRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileLatestRequest {\n /**\n * The ETag of the latest version of the resource.\n */\n ifNoneMatch?: string;\n}\n"]}
1
+ {"version":3,"file":"FileLatestRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileLatestRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileLatestRequest {\n /** The ETag of the latest version of the resource. */\n ifNoneMatch?: string;\n}\n"]}
@@ -6,9 +6,7 @@
6
6
  * {}
7
7
  */
8
8
  export interface FileRevisionRequest {
9
- /**
10
- * The ETag of the latest version of the resource.
11
- */
9
+ /** The ETag of the latest version of the resource. */
12
10
  ifNoneMatch?: string;
13
11
  }
14
12
  //# sourceMappingURL=FileRevisionRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileRevisionRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileRevisionRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"FileRevisionRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileRevisionRequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileRevisionRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileRevisionRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileRevisionRequest {\n /**\n * The ETag of the latest version of the resource.\n */\n ifNoneMatch?: string;\n}\n"]}
1
+ {"version":3,"file":"FileRevisionRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/files/client/requests/FileRevisionRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {}\n */\nexport interface FileRevisionRequest {\n /** The ETag of the latest version of the resource. */\n ifNoneMatch?: string;\n}\n"]}
@@ -21,6 +21,8 @@ export declare namespace Gdpr {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
27
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/gdpr/client/Client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AAEzC,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC1B,UAAiB,OAAO;QACpB,WAAW,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,kBAAkB,GAAG,MAAM,CAAC,CAAC;QACtE,qDAAqD;QACrD,OAAO,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAChC,MAAM,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;QAC3C,iDAAiD;QACjD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC;QACjF,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC;KAChC;IAED,UAAiB,cAAc;QAC3B,0DAA0D;QAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,+DAA+D;QAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,mCAAmC;QACnC,WAAW,CAAC,EAAE,WAAW,CAAC;QAC1B,oDAAoD;QACpD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM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A0D;QAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,+DAA+D;QAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,mCAAmC;QACnC,WAAW,CAAC,EAAE,WAAW,CAAC;QAC1B,oEAAoE;QACpE,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACtC,oDAAoD;QACpD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC;KACpF;CACJ;AAED;;GAEG;AACH,qBAAa,IAAI;IACb,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC;gBAE9B,QAAQ,GAAE,IAAI,CAAC,OAAY;IAIvC;;;;;;;;;;;;;;;;OAgBG;IACI,oBAAoB,CACvB,OAAO,EAAE,OAAO,CAAC,2BAA2B,EAC5C,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,GACrC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC;YAInB,sBAAsB;cAqGpB,8BAA8B;;;CAIjD"}
@@ -82,11 +82,13 @@ class Gdpr {
82
82
  __supportRequestCreate(request, requestOptions) {
83
83
  return __awaiter(this, void 0, void 0, function* () {
84
84
  var _a, _b, _c, _d;
85
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
86
- url: core.url.join((_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, 'support-requests'),
85
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
86
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
87
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, 'support-requests'),
87
88
  method: 'POST',
88
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ headers: _headers,
89
90
  contentType: 'application/json',
91
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
90
92
  requestType: 'json',
91
93
  body: serializers.SupportRequestCreateRequest.jsonOrThrow(request, {
92
94
  unrecognizedObjectKeys: 'strip',
@@ -1 +1 @@
1
- {"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api/resources/gdpr/client/Client.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uDAAyC;AACzC,sDAAiF;AACjF,uEAAyD;AACzD,iEAAmD;AACnD,6EAA+D;AAC/D,wDAA0C;AAyB1C;;GAEG;AACH,MAAa,IAAI;IAGb,YAAY,WAAyB,EAAE;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,oBAAoB,CACvB,OAA4C,EAC5C,cAAoC;QAEpC,OAAO,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IACtG,CAAC;IAEa,sBAAsB,CAChC,OAA4C,EAC5C,cAAoC;;;YAEpC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAA,IAA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,aAAa;4BACrC,6BAA6B,EAAE,IAAI;4BACnC,2BAA2B,EAAE,IAAI;4BACjC,iBAAiB,EAAE,CAAC,UAAU,CAAC;yBAClC,CAAC,EACF,SAAS,CAAC,WAAW,CACxB,CAAC;oBACN;wBACI,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;4BAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;4BACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI;4BAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;yBACrC,CAAC,CAAC;gBACX,CAAC;YACL,CAAC;YAED,QAAQ,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;gBAC7B,KAAK,UAAU;oBACX,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;wBACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;wBAC7B,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;gBACP,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,mBAAmB,CAAC,uDAAuD,CAAC,CAAC;gBAClG,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,YAAY;wBACrC,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;YACX,CAAC;QACL,CAAC;KAAA;IAEe,8BAA8B;;YAC1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;QACxC,CAAC;KAAA;CACJ;AAtID,oBAsIC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as core from '../../../../core';\nimport { mergeHeaders, mergeOnlyDefinedHeaders } from '../../../../core/headers';\nimport * as environments from '../../../../environments';\nimport * as errors from '../../../../errors/index';\nimport * as serializers from '../../../../serialization/index';\nimport * as Truvity from '../../../index';\n\nexport declare namespace Gdpr {\n export interface Options {\n environment?: core.Supplier<environments.TruvityEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n apiKey?: core.Supplier<string | undefined>;\n /** Additional headers to include in requests. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n fetcher?: core.FetchFunction;\n }\n\n export interface RequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** The number of times to retry the request. Defaults to 2. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional headers to include in the request. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n }\n}\n\n/**\n * The Truvity's Admin Panel API.\n */\nexport class Gdpr {\n protected readonly _options: Gdpr.Options;\n\n constructor(_options: Gdpr.Options = {}) {\n this._options = _options;\n }\n\n /**\n * Create a request to support.\n *\n * @param {Truvity.SupportRequestCreateRequest} request\n * @param {Gdpr.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.gdpr.supportRequestCreate({\n * message: \"message\",\n * type: \"DATA_DUMP\"\n * })\n */\n public supportRequestCreate(\n request: Truvity.SupportRequestCreateRequest,\n requestOptions?: Gdpr.RequestOptions,\n ): core.HttpResponsePromise<void> {\n return core.HttpResponsePromise.fromPromise(this.__supportRequestCreate(request, requestOptions));\n }\n\n private async __supportRequestCreate(\n request: Truvity.SupportRequestCreateRequest,\n requestOptions?: Gdpr.RequestOptions,\n ): Promise<core.WithRawResponse<void>> {\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'support-requests',\n ),\n method: 'POST',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }),\n requestOptions?.headers,\n ),\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.SupportRequestCreateRequest.jsonOrThrow(request, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: undefined, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /support-requests.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n protected async _getCustomAuthorizationHeaders() {\n const apiKeyValue = await core.Supplier.get(this._options.apiKey);\n return { 'X-API-KEY': apiKeyValue };\n }\n}\n"]}
1
+ {"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api/resources/gdpr/client/Client.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uDAAyC;AACzC,sDAAiF;AACjF,uEAAyD;AACzD,iEAAmD;AACnD,6EAA+D;AAC/D,wDAA0C;AA2B1C;;GAEG;AACH,MAAa,IAAI;IAGb,YAAY,WAAyB,EAAE;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,oBAAoB,CACvB,OAA4C,EAC5C,cAAoC;QAEpC,OAAO,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IACtG,CAAC;IAEa,sBAAsB,CAChC,OAA4C,EAC5C,cAAoC;;;YAEpC,IAAI,QAAQ,GAAiC,IAAA,sBAAY,EACrD,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,EACtB,IAAA,iCAAuB,oBAAM,CAAC,MAAM,IAAI,CAAC,8BAA8B,EAAE,CAAC,EAAG,EAC7E,cAAc,aAAd,cAAc,u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C,2BAA2B,EAAE,IAAI;4BACjC,iBAAiB,EAAE,CAAC,UAAU,CAAC;yBAClC,CAAC,EACF,SAAS,CAAC,WAAW,CACxB,CAAC;oBACN;wBACI,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;4BAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;4BACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI;4BAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;yBACrC,CAAC,CAAC;gBACX,CAAC;YACL,CAAC;YAED,QAAQ,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;gBAC7B,KAAK,UAAU;oBACX,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;wBACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;wBAC7B,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;gBACP,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,mBAAmB,CAAC,uDAAuD,CAAC,CAAC;gBAClG,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,YAAY;wBACrC,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;YACX,CAAC;QACL,CAAC;KAAA;IAEe,8BAA8B;;YAC1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;QACxC,CAAC;KAAA;CACJ;AAxID,oBAwIC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as core from '../../../../core';\nimport { mergeHeaders, mergeOnlyDefinedHeaders } from '../../../../core/headers';\nimport * as environments from '../../../../environments';\nimport * as errors from '../../../../errors/index';\nimport * as serializers from '../../../../serialization/index';\nimport * as Truvity from '../../../index';\n\nexport declare namespace Gdpr {\n export interface Options {\n environment?: core.Supplier<environments.TruvityEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n apiKey?: core.Supplier<string | undefined>;\n /** Additional headers to include in requests. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n fetcher?: core.FetchFunction;\n }\n\n export interface RequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** The number of times to retry the request. Defaults to 2. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional query string parameters to include in the request. */\n queryParams?: Record<string, unknown>;\n /** Additional headers to include in the request. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n }\n}\n\n/**\n * The Truvity's Admin Panel API.\n */\nexport class Gdpr {\n protected readonly _options: Gdpr.Options;\n\n constructor(_options: Gdpr.Options = {}) {\n this._options = _options;\n }\n\n /**\n * Create a request to support.\n *\n * @param {Truvity.SupportRequestCreateRequest} request\n * @param {Gdpr.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.gdpr.supportRequestCreate({\n * message: \"message\",\n * type: \"DATA_DUMP\"\n * })\n */\n public supportRequestCreate(\n request: Truvity.SupportRequestCreateRequest,\n requestOptions?: Gdpr.RequestOptions,\n ): core.HttpResponsePromise<void> {\n return core.HttpResponsePromise.fromPromise(this.__supportRequestCreate(request, requestOptions));\n }\n\n private async __supportRequestCreate(\n request: Truvity.SupportRequestCreateRequest,\n requestOptions?: Gdpr.RequestOptions,\n ): Promise<core.WithRawResponse<void>> {\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'support-requests',\n ),\n method: 'POST',\n headers: _headers,\n contentType: 'application/json',\n queryParameters: requestOptions?.queryParams,\n requestType: 'json',\n body: serializers.SupportRequestCreateRequest.jsonOrThrow(request, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: undefined, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /support-requests.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n protected async _getCustomAuthorizationHeaders() {\n const apiKeyValue = await core.Supplier.get(this._options.apiKey);\n return { 'X-API-KEY': apiKeyValue };\n }\n}\n"]}
@@ -22,6 +22,8 @@ export * from './keys/types';
22
22
  export * as presentations from './presentations';
23
23
  export * from './presentations/client/requests';
24
24
  export * from './presentations/types';
25
+ export * as publishedSchemas from './publishedSchemas';
26
+ export * from './publishedSchemas/client/requests';
25
27
  export * as schemas from './schemas';
26
28
  export * from './schemas/client/requests';
27
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,cAAc,0BA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,cAAc,cAAc,CAAC;AAC7B,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,cAAc,2BAA2B,CAAC"}
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.schemas = exports.presentations = exports.keys = exports.gdpr = exports.files = exports.drafts = exports.dids = exports.didcommMessages = exports.desk = exports.credentials = exports.apiKeys = void 0;
39
+ exports.schemas = exports.publishedSchemas = exports.presentations = exports.keys = exports.gdpr = exports.files = exports.drafts = exports.dids = exports.didcommMessages = exports.desk = exports.credentials = exports.apiKeys = void 0;
40
40
  exports.apiKeys = __importStar(require("./apiKeys"));
41
41
  __exportStar(require("./apiKeys/client/requests"), exports);
42
42
  exports.credentials = __importStar(require("./credentials"));
@@ -61,6 +61,8 @@ __exportStar(require("./keys/types"), exports);
61
61
  exports.presentations = __importStar(require("./presentations"));
62
62
  __exportStar(require("./presentations/client/requests"), exports);
63
63
  __exportStar(require("./presentations/types"), exports);
64
+ exports.publishedSchemas = __importStar(require("./publishedSchemas"));
65
+ __exportStar(require("./publishedSchemas/client/requests"), exports);
64
66
  exports.schemas = __importStar(require("./schemas"));
65
67
  __exportStar(require("./schemas/client/requests"), exports);
66
68
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/resources/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqC;AACrC,4DAA0C;AAC1C,6DAA6C;AAC7C,gEAA8C;AAC9C,+CAA+B;AAC/B,yDAAuC;AACvC,qEAAqD;AACrD,oEAAkD;AAClD,+CAA+B;AAC/B,yDAAuC;AACvC,mDAAmC;AACnC,2DAAyC;AACzC,iDAA+B;AAC/B,iDAAiC;AACjC,0DAAwC;AACxC,+CAA+B;AAC/B,yDAAuC;AACvC,+CAA6B;AAC7B,+CAA+B;AAC/B,yDAAuC;AACvC,+CAA6B;AAC7B,iEAAiD;AACjD,kEAAgD;AAChD,wDAAsC;AACtC,qDAAqC;AACrC,4DAA0C","sourcesContent":["export * as apiKeys from './apiKeys';\nexport * from './apiKeys/client/requests';\nexport * as credentials from './credentials';\nexport * from './credentials/client/requests';\nexport * as desk from './desk';\nexport * from './desk/client/requests';\nexport * as didcommMessages from './didcommMessages';\nexport * from './didcommMessages/client/requests';\nexport * as dids from './dids';\nexport * from './dids/client/requests';\nexport * as drafts from './drafts';\nexport * from './drafts/client/requests';\nexport * from './drafts/types';\nexport * as files from './files';\nexport * from './files/client/requests';\nexport * as gdpr from './gdpr';\nexport * from './gdpr/client/requests';\nexport * from './gdpr/types';\nexport * as keys from './keys';\nexport * from './keys/client/requests';\nexport * from './keys/types';\nexport * as presentations from './presentations';\nexport * from './presentations/client/requests';\nexport * from './presentations/types';\nexport * as schemas from './schemas';\nexport * from './schemas/client/requests';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/resources/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqC;AACrC,4DAA0C;AAC1C,6DAA6C;AAC7C,gEAA8C;AAC9C,+CAA+B;AAC/B,yDAAuC;AACvC,qEAAqD;AACrD,oEAAkD;AAClD,+CAA+B;AAC/B,yDAAuC;AACvC,mDAAmC;AACnC,2DAAyC;AACzC,iDAA+B;AAC/B,iDAAiC;AACjC,0DAAwC;AACxC,+CAA+B;AAC/B,yDAAuC;AACvC,+CAA6B;AAC7B,+CAA+B;AAC/B,yDAAuC;AACvC,+CAA6B;AAC7B,iEAAiD;AACjD,kEAAgD;AAChD,wDAAsC;AACtC,uEAAuD;AACvD,qEAAmD;AACnD,qDAAqC;AACrC,4DAA0C","sourcesContent":["export * as apiKeys from './apiKeys';\nexport * from './apiKeys/client/requests';\nexport * as credentials from './credentials';\nexport * from './credentials/client/requests';\nexport * as desk from './desk';\nexport * from './desk/client/requests';\nexport * as didcommMessages from './didcommMessages';\nexport * from './didcommMessages/client/requests';\nexport * as dids from './dids';\nexport * from './dids/client/requests';\nexport * as drafts from './drafts';\nexport * from './drafts/client/requests';\nexport * from './drafts/types';\nexport * as files from './files';\nexport * from './files/client/requests';\nexport * as gdpr from './gdpr';\nexport * from './gdpr/client/requests';\nexport * from './gdpr/types';\nexport * as keys from './keys';\nexport * from './keys/client/requests';\nexport * from './keys/types';\nexport * as presentations from './presentations';\nexport * from './presentations/client/requests';\nexport * from './presentations/types';\nexport * as publishedSchemas from './publishedSchemas';\nexport * from './publishedSchemas/client/requests';\nexport * as schemas from './schemas';\nexport * from './schemas/client/requests';\n"]}
@@ -21,6 +21,8 @@ export declare namespace Keys {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
27
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/keys/client/Client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AAEzC,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AAGzD,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC1B,UAAiB,OAAO;QACpB,WAAW,CAAC,EAA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;;;;;;;;;;;;OAqBG;IACI,UAAU,CACb,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,OAAO,CAAC,iBAAiB,EAClC,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,GACrC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,iBAAiB,CAAC;YAIxC,YAAY;IAqJ1B;;;;;;;;;;;;;;;;OAgBG;IACI,UAAU,CACb,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,OAAO,CAAC,iBAAsB,EACvC,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,GACrC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,aAAa,CAAC;YAIpC,YAAY;IAgI1B;;;;;;;;;;;;;;;;;OAiBG;IACI,WAAW,CACd,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAO,CAAC,kBAAuB,EACxC,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,GACrC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,iBAAiB,CAAC;YAIxC,aAAa;cAmIX,8BAA8B;;;CAIjD"}
@@ -97,11 +97,13 @@ class Keys {
97
97
  return __awaiter(this, void 0, void 0, function* () {
98
98
  var _a, _b, _c, _d;
99
99
  const { idempotencyKey } = request, _body = __rest(request, ["idempotencyKey"]);
100
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
101
- url: core.url.join((_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, 'keys/generate'),
100
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
101
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
102
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, 'keys/generate'),
102
103
  method: 'POST',
103
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ headers: _headers,
104
105
  contentType: 'application/json',
106
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
105
107
  requestType: 'json',
106
108
  body: serializers.KeyGenerateRequest.jsonOrThrow(_body, {
107
109
  unrecognizedObjectKeys: 'strip',
@@ -293,11 +295,13 @@ class Keys {
293
295
  return __awaiter(this, void 0, void 0, function* () {
294
296
  var _a, _b, _c, _d;
295
297
  const { idempotencyKey } = request, _body = __rest(request, ["idempotencyKey"]);
296
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
297
- url: core.url.join((_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, 'keys/import'),
298
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
299
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
300
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, 'keys/import'),
298
301
  method: 'POST',
299
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
302
+ headers: _headers,
300
303
  contentType: 'application/json',
304
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
301
305
  requestType: 'json',
302
306
  body: serializers.KeyImportRequest.jsonOrThrow(_body, {
303
307
  unrecognizedObjectKeys: 'strip',
@@ -409,11 +413,13 @@ class Keys {
409
413
  __keySearch() {
410
414
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
411
415
  var _a, _b, _c, _d;
412
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
413
- url: core.url.join((_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, 'keys/search'),
416
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
417
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
418
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, 'keys/search'),
414
419
  method: 'POST',
415
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
420
+ headers: _headers,
416
421
  contentType: 'application/json',
422
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
417
423
  requestType: 'json',
418
424
  body: serializers.KeySearchRequest.jsonOrThrow(request, {
419
425
  unrecognizedObjectKeys: 'strip',
@@ -527,10 +533,12 @@ class Keys {
527
533
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
528
534
  var _a, _b, _c, _d;
529
535
  const { ifNoneMatch } = request;
530
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
531
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}`),
536
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
537
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
538
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}`),
532
539
  method: 'GET',
533
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
540
+ headers: _headers,
541
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
534
542
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
535
543
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
536
544
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -644,10 +652,12 @@ class Keys {
644
652
  return __awaiter(this, void 0, void 0, function* () {
645
653
  var _a, _b, _c, _d;
646
654
  const { idempotencyKey, ifMatch } = request;
647
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
648
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}`),
655
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
656
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
657
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}`),
649
658
  method: 'DELETE',
650
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
659
+ headers: _headers,
660
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
651
661
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
652
662
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
653
663
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -771,11 +781,13 @@ class Keys {
771
781
  return __awaiter(this, void 0, void 0, function* () {
772
782
  var _a, _b, _c, _d;
773
783
  const { idempotencyKey, ifMatch } = request, _body = __rest(request, ["idempotencyKey", "ifMatch"]);
774
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
775
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/annotations`),
784
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
785
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
786
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/annotations`),
776
787
  method: 'PATCH',
777
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
788
+ headers: _headers,
778
789
  contentType: 'application/json',
790
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
779
791
  requestType: 'json',
780
792
  body: serializers.KeyUpdateAnnotationsRequest.jsonOrThrow(_body, {
781
793
  unrecognizedObjectKeys: 'strip',
@@ -910,12 +922,13 @@ class Keys {
910
922
  omitUndefined: true,
911
923
  });
912
924
  }
913
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
914
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/credentials/sign`),
925
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
926
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
927
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/credentials/sign`),
915
928
  method: 'POST',
916
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
929
+ headers: _headers,
917
930
  contentType: 'application/json',
918
- queryParameters: _queryParams,
931
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
919
932
  requestType: 'json',
920
933
  body: serializers.keys.credentialSign.Request.jsonOrThrow(_body, {
921
934
  unrecognizedObjectKeys: 'strip',
@@ -1029,12 +1042,13 @@ class Keys {
1029
1042
  omitUndefined: true,
1030
1043
  });
1031
1044
  }
1032
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1033
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/didcomm-messages/sign`),
1045
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1046
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1047
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/didcomm-messages/sign`),
1034
1048
  method: 'POST',
1035
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1049
+ headers: _headers,
1036
1050
  contentType: 'application/json',
1037
- queryParameters: _queryParams,
1051
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1038
1052
  requestType: 'json',
1039
1053
  body: serializers.keys.didCommMessageSign.Request.jsonOrThrow(_body, {
1040
1054
  unrecognizedObjectKeys: 'strip',
@@ -1157,11 +1171,13 @@ class Keys {
1157
1171
  return __awaiter(this, void 0, void 0, function* () {
1158
1172
  var _a, _b, _c, _d;
1159
1173
  const { idempotencyKey, ifMatch } = request, _body = __rest(request, ["idempotencyKey", "ifMatch"]);
1160
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1161
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/labels`),
1174
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1175
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1176
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/labels`),
1162
1177
  method: 'PATCH',
1163
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1178
+ headers: _headers,
1164
1179
  contentType: 'application/json',
1180
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1165
1181
  requestType: 'json',
1166
1182
  body: serializers.KeyUpdateLabelsRequest.jsonOrThrow(_body, {
1167
1183
  unrecognizedObjectKeys: 'strip',
@@ -1296,12 +1312,13 @@ class Keys {
1296
1312
  omitUndefined: true,
1297
1313
  });
1298
1314
  }
1299
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1300
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/presentations/sign`),
1315
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1316
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1317
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/presentations/sign`),
1301
1318
  method: 'POST',
1302
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1319
+ headers: _headers,
1303
1320
  contentType: 'application/json',
1304
- queryParameters: _queryParams,
1321
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1305
1322
  requestType: 'json',
1306
1323
  body: serializers.keys.presentationSign.Request.jsonOrThrow(_body, {
1307
1324
  unrecognizedObjectKeys: 'strip',
@@ -1420,10 +1437,12 @@ class Keys {
1420
1437
  return __awaiter(this, void 0, void 0, function* () {
1421
1438
  var _a, _b, _c, _d;
1422
1439
  const { idempotencyKey, ifMatch } = request;
1423
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1424
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/restore`),
1440
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1441
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1442
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/restore`),
1425
1443
  method: 'POST',
1426
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1444
+ headers: _headers,
1445
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1427
1446
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1428
1447
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1429
1448
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1546,10 +1565,12 @@ class Keys {
1546
1565
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
1547
1566
  var _a, _b, _c, _d;
1548
1567
  const { ifNoneMatch } = request;
1549
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1550
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/revisions`),
1568
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1569
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1570
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/revisions`),
1551
1571
  method: 'GET',
1552
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1572
+ headers: _headers,
1573
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1553
1574
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1554
1575
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1555
1576
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1659,10 +1680,12 @@ class Keys {
1659
1680
  return __awaiter(this, arguments, void 0, function* (id, revision, request = {}, requestOptions) {
1660
1681
  var _a, _b, _c, _d;
1661
1682
  const { ifNoneMatch } = request;
1662
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1663
- url: core.url.join((_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, `keys/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
1683
+ var _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1684
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1685
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TruvityEnvironment.Default, `keys/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
1664
1686
  method: 'GET',
1665
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1687
+ headers: _headers,
1688
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1666
1689
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1667
1690
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1668
1691
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,