@cheqd/studio 3.0.0-develop.1

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 (654) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +246 -0
  3. package/dist/app.d.ts +4 -0
  4. package/dist/app.d.ts.map +1 -0
  5. package/dist/app.js +180 -0
  6. package/dist/app.js.map +1 -0
  7. package/dist/controllers/admin/api-key.d.ts +153 -0
  8. package/dist/controllers/admin/api-key.d.ts.map +1 -0
  9. package/dist/controllers/admin/api-key.js +389 -0
  10. package/dist/controllers/admin/api-key.js.map +1 -0
  11. package/dist/controllers/admin/organisation.d.ts +72 -0
  12. package/dist/controllers/admin/organisation.d.ts.map +1 -0
  13. package/dist/controllers/admin/organisation.js +139 -0
  14. package/dist/controllers/admin/organisation.js.map +1 -0
  15. package/dist/controllers/admin/prices.d.ts +37 -0
  16. package/dist/controllers/admin/prices.d.ts.map +1 -0
  17. package/dist/controllers/admin/prices.js +75 -0
  18. package/dist/controllers/admin/prices.js.map +1 -0
  19. package/dist/controllers/admin/product.d.ts +90 -0
  20. package/dist/controllers/admin/product.d.ts.map +1 -0
  21. package/dist/controllers/admin/product.js +187 -0
  22. package/dist/controllers/admin/product.js.map +1 -0
  23. package/dist/controllers/admin/subscriptions.d.ts +183 -0
  24. package/dist/controllers/admin/subscriptions.d.ts.map +1 -0
  25. package/dist/controllers/admin/subscriptions.js +512 -0
  26. package/dist/controllers/admin/subscriptions.js.map +1 -0
  27. package/dist/controllers/admin/webhook.d.ts +5 -0
  28. package/dist/controllers/admin/webhook.d.ts.map +1 -0
  29. package/dist/controllers/admin/webhook.js +90 -0
  30. package/dist/controllers/admin/webhook.js.map +1 -0
  31. package/dist/controllers/api/account.d.ts +84 -0
  32. package/dist/controllers/api/account.d.ts.map +1 -0
  33. package/dist/controllers/api/account.js +442 -0
  34. package/dist/controllers/api/account.js.map +1 -0
  35. package/dist/controllers/api/credential-status.d.ts +257 -0
  36. package/dist/controllers/api/credential-status.d.ts.map +1 -0
  37. package/dist/controllers/api/credential-status.js +1080 -0
  38. package/dist/controllers/api/credential-status.js.map +1 -0
  39. package/dist/controllers/api/credential.d.ts +207 -0
  40. package/dist/controllers/api/credential.d.ts.map +1 -0
  41. package/dist/controllers/api/credential.js +527 -0
  42. package/dist/controllers/api/credential.js.map +1 -0
  43. package/dist/controllers/api/did.d.ts +259 -0
  44. package/dist/controllers/api/did.d.ts.map +1 -0
  45. package/dist/controllers/api/did.js +673 -0
  46. package/dist/controllers/api/did.js.map +1 -0
  47. package/dist/controllers/api/key.d.ts +136 -0
  48. package/dist/controllers/api/key.d.ts.map +1 -0
  49. package/dist/controllers/api/key.js +268 -0
  50. package/dist/controllers/api/key.js.map +1 -0
  51. package/dist/controllers/api/presentation.d.ts +87 -0
  52. package/dist/controllers/api/presentation.d.ts.map +1 -0
  53. package/dist/controllers/api/presentation.js +264 -0
  54. package/dist/controllers/api/presentation.js.map +1 -0
  55. package/dist/controllers/api/resource.d.ts +118 -0
  56. package/dist/controllers/api/resource.d.ts.map +1 -0
  57. package/dist/controllers/api/resource.js +312 -0
  58. package/dist/controllers/api/resource.js.map +1 -0
  59. package/dist/controllers/validator/controller.d.ts +7 -0
  60. package/dist/controllers/validator/controller.d.ts.map +1 -0
  61. package/dist/controllers/validator/controller.js +31 -0
  62. package/dist/controllers/validator/controller.js.map +1 -0
  63. package/dist/controllers/validator/credential-status.d.ts +6 -0
  64. package/dist/controllers/validator/credential-status.d.ts.map +1 -0
  65. package/dist/controllers/validator/credential-status.js +36 -0
  66. package/dist/controllers/validator/credential-status.js.map +1 -0
  67. package/dist/controllers/validator/credential.d.ts +9 -0
  68. package/dist/controllers/validator/credential.d.ts.map +1 -0
  69. package/dist/controllers/validator/credential.js +103 -0
  70. package/dist/controllers/validator/credential.js.map +1 -0
  71. package/dist/controllers/validator/decorator.d.ts +2 -0
  72. package/dist/controllers/validator/decorator.d.ts.map +1 -0
  73. package/dist/controllers/validator/decorator.js +25 -0
  74. package/dist/controllers/validator/decorator.js.map +1 -0
  75. package/dist/controllers/validator/did-also-known-as.d.ts +8 -0
  76. package/dist/controllers/validator/did-also-known-as.d.ts.map +1 -0
  77. package/dist/controllers/validator/did-also-known-as.js +31 -0
  78. package/dist/controllers/validator/did-also-known-as.js.map +1 -0
  79. package/dist/controllers/validator/did-array.d.ts +7 -0
  80. package/dist/controllers/validator/did-array.d.ts.map +1 -0
  81. package/dist/controllers/validator/did-array.js +27 -0
  82. package/dist/controllers/validator/did-array.js.map +1 -0
  83. package/dist/controllers/validator/did-document-section-id.d.ts +7 -0
  84. package/dist/controllers/validator/did-document-section-id.d.ts.map +1 -0
  85. package/dist/controllers/validator/did-document-section-id.js +43 -0
  86. package/dist/controllers/validator/did-document-section-id.js.map +1 -0
  87. package/dist/controllers/validator/did-document.d.ts +11 -0
  88. package/dist/controllers/validator/did-document.d.ts.map +1 -0
  89. package/dist/controllers/validator/did-document.js +96 -0
  90. package/dist/controllers/validator/did-document.js.map +1 -0
  91. package/dist/controllers/validator/did-uri.d.ts +5 -0
  92. package/dist/controllers/validator/did-uri.d.ts.map +1 -0
  93. package/dist/controllers/validator/did-uri.js +14 -0
  94. package/dist/controllers/validator/did-uri.js.map +1 -0
  95. package/dist/controllers/validator/did.d.ts +35 -0
  96. package/dist/controllers/validator/did.d.ts.map +1 -0
  97. package/dist/controllers/validator/did.js +233 -0
  98. package/dist/controllers/validator/did.js.map +1 -0
  99. package/dist/controllers/validator/helpers.d.ts +7 -0
  100. package/dist/controllers/validator/helpers.d.ts.map +1 -0
  101. package/dist/controllers/validator/helpers.js +6 -0
  102. package/dist/controllers/validator/helpers.js.map +1 -0
  103. package/dist/controllers/validator/identifier.d.ts +20 -0
  104. package/dist/controllers/validator/identifier.d.ts.map +1 -0
  105. package/dist/controllers/validator/identifier.js +100 -0
  106. package/dist/controllers/validator/identifier.js.map +1 -0
  107. package/dist/controllers/validator/index.d.ts +42 -0
  108. package/dist/controllers/validator/index.d.ts.map +1 -0
  109. package/dist/controllers/validator/index.js +90 -0
  110. package/dist/controllers/validator/index.js.map +1 -0
  111. package/dist/controllers/validator/jsonld-proof.d.ts +5 -0
  112. package/dist/controllers/validator/jsonld-proof.d.ts.map +1 -0
  113. package/dist/controllers/validator/jsonld-proof.js +50 -0
  114. package/dist/controllers/validator/jsonld-proof.js.map +1 -0
  115. package/dist/controllers/validator/jwt-proof.d.ts +5 -0
  116. package/dist/controllers/validator/jwt-proof.d.ts.map +1 -0
  117. package/dist/controllers/validator/jwt-proof.js +45 -0
  118. package/dist/controllers/validator/jwt-proof.js.map +1 -0
  119. package/dist/controllers/validator/presentation.d.ts +9 -0
  120. package/dist/controllers/validator/presentation.d.ts.map +1 -0
  121. package/dist/controllers/validator/presentation.js +96 -0
  122. package/dist/controllers/validator/presentation.js.map +1 -0
  123. package/dist/controllers/validator/resource-also-known-as.d.ts +7 -0
  124. package/dist/controllers/validator/resource-also-known-as.d.ts.map +1 -0
  125. package/dist/controllers/validator/resource-also-known-as.js +47 -0
  126. package/dist/controllers/validator/resource-also-known-as.js.map +1 -0
  127. package/dist/controllers/validator/service-create-request.d.ts +10 -0
  128. package/dist/controllers/validator/service-create-request.d.ts.map +1 -0
  129. package/dist/controllers/validator/service-create-request.js +63 -0
  130. package/dist/controllers/validator/service-create-request.js.map +1 -0
  131. package/dist/controllers/validator/service.d.ts +11 -0
  132. package/dist/controllers/validator/service.d.ts.map +1 -0
  133. package/dist/controllers/validator/service.js +76 -0
  134. package/dist/controllers/validator/service.js.map +1 -0
  135. package/dist/controllers/validator/utils.d.ts +3 -0
  136. package/dist/controllers/validator/utils.d.ts.map +1 -0
  137. package/dist/controllers/validator/utils.js +21 -0
  138. package/dist/controllers/validator/utils.js.map +1 -0
  139. package/dist/controllers/validator/validator.d.ts +20 -0
  140. package/dist/controllers/validator/validator.d.ts.map +1 -0
  141. package/dist/controllers/validator/validator.js +2 -0
  142. package/dist/controllers/validator/validator.js.map +1 -0
  143. package/dist/controllers/validator/verification-method.d.ts +30 -0
  144. package/dist/controllers/validator/verification-method.d.ts.map +1 -0
  145. package/dist/controllers/validator/verification-method.js +211 -0
  146. package/dist/controllers/validator/verification-method.js.map +1 -0
  147. package/dist/database/connection/connection.d.ts +9 -0
  148. package/dist/database/connection/connection.d.ts.map +1 -0
  149. package/dist/database/connection/connection.js +27 -0
  150. package/dist/database/connection/connection.js.map +1 -0
  151. package/dist/database/entities/api.key.entity.d.ts +18 -0
  152. package/dist/database/entities/api.key.entity.d.ts.map +1 -0
  153. package/dist/database/entities/api.key.entity.js +102 -0
  154. package/dist/database/entities/api.key.entity.js.map +1 -0
  155. package/dist/database/entities/coin.entity.d.ts +11 -0
  156. package/dist/database/entities/coin.entity.d.ts.map +1 -0
  157. package/dist/database/entities/coin.entity.js +66 -0
  158. package/dist/database/entities/coin.entity.js.map +1 -0
  159. package/dist/database/entities/customer.entity.d.ts +14 -0
  160. package/dist/database/entities/customer.entity.d.ts.map +1 -0
  161. package/dist/database/entities/customer.entity.js +87 -0
  162. package/dist/database/entities/customer.entity.js.map +1 -0
  163. package/dist/database/entities/identifier.entity.d.ts +7 -0
  164. package/dist/database/entities/identifier.entity.d.ts.map +1 -0
  165. package/dist/database/entities/identifier.entity.js +26 -0
  166. package/dist/database/entities/identifier.entity.js.map +1 -0
  167. package/dist/database/entities/key.entity.d.ts +13 -0
  168. package/dist/database/entities/key.entity.d.ts.map +1 -0
  169. package/dist/database/entities/key.entity.js +63 -0
  170. package/dist/database/entities/key.entity.js.map +1 -0
  171. package/dist/database/entities/operation.entity.d.ts +17 -0
  172. package/dist/database/entities/operation.entity.d.ts.map +1 -0
  173. package/dist/database/entities/operation.entity.js +98 -0
  174. package/dist/database/entities/operation.entity.js.map +1 -0
  175. package/dist/database/entities/payment.account.entity.d.ts +16 -0
  176. package/dist/database/entities/payment.account.entity.d.ts.map +1 -0
  177. package/dist/database/entities/payment.account.entity.js +86 -0
  178. package/dist/database/entities/payment.account.entity.js.map +1 -0
  179. package/dist/database/entities/payment.entity.d.ts +20 -0
  180. package/dist/database/entities/payment.entity.d.ts.map +1 -0
  181. package/dist/database/entities/payment.entity.js +103 -0
  182. package/dist/database/entities/payment.entity.js.map +1 -0
  183. package/dist/database/entities/resource.entity.d.ts +21 -0
  184. package/dist/database/entities/resource.entity.d.ts.map +1 -0
  185. package/dist/database/entities/resource.entity.js +117 -0
  186. package/dist/database/entities/resource.entity.js.map +1 -0
  187. package/dist/database/entities/role.entity.d.ts +7 -0
  188. package/dist/database/entities/role.entity.d.ts.map +1 -0
  189. package/dist/database/entities/role.entity.js +60 -0
  190. package/dist/database/entities/role.entity.js.map +1 -0
  191. package/dist/database/entities/subscription.entity.d.ts +16 -0
  192. package/dist/database/entities/subscription.entity.d.ts.map +1 -0
  193. package/dist/database/entities/subscription.entity.js +102 -0
  194. package/dist/database/entities/subscription.entity.js.map +1 -0
  195. package/dist/database/entities/user.entity.d.ts +13 -0
  196. package/dist/database/entities/user.entity.d.ts.map +1 -0
  197. package/dist/database/entities/user.entity.js +67 -0
  198. package/dist/database/entities/user.entity.js.map +1 -0
  199. package/dist/database/migrations/AlterAPIKeyTable.d.ts +6 -0
  200. package/dist/database/migrations/AlterAPIKeyTable.d.ts.map +1 -0
  201. package/dist/database/migrations/AlterAPIKeyTable.js +51 -0
  202. package/dist/database/migrations/AlterAPIKeyTable.js.map +1 -0
  203. package/dist/database/migrations/AlterCustomerTable.d.ts +6 -0
  204. package/dist/database/migrations/AlterCustomerTable.d.ts.map +1 -0
  205. package/dist/database/migrations/AlterCustomerTable.js +15 -0
  206. package/dist/database/migrations/AlterCustomerTable.js.map +1 -0
  207. package/dist/database/migrations/AlterCustomerTableAddEmail.d.ts +6 -0
  208. package/dist/database/migrations/AlterCustomerTableAddEmail.d.ts.map +1 -0
  209. package/dist/database/migrations/AlterCustomerTableAddEmail.js +20 -0
  210. package/dist/database/migrations/AlterCustomerTableAddEmail.js.map +1 -0
  211. package/dist/database/migrations/AlterOperationTable.d.ts +6 -0
  212. package/dist/database/migrations/AlterOperationTable.d.ts.map +1 -0
  213. package/dist/database/migrations/AlterOperationTable.js +38 -0
  214. package/dist/database/migrations/AlterOperationTable.js.map +1 -0
  215. package/dist/database/migrations/AlterOperationTableAddCustomer.d.ts +6 -0
  216. package/dist/database/migrations/AlterOperationTableAddCustomer.d.ts.map +1 -0
  217. package/dist/database/migrations/AlterOperationTableAddCustomer.js +22 -0
  218. package/dist/database/migrations/AlterOperationTableAddCustomer.js.map +1 -0
  219. package/dist/database/migrations/AlterOperationTableNewCategory.d.ts +6 -0
  220. package/dist/database/migrations/AlterOperationTableNewCategory.d.ts.map +1 -0
  221. package/dist/database/migrations/AlterOperationTableNewCategory.js +17 -0
  222. package/dist/database/migrations/AlterOperationTableNewCategory.js.map +1 -0
  223. package/dist/database/migrations/AlterPaymentTable.d.ts +6 -0
  224. package/dist/database/migrations/AlterPaymentTable.d.ts.map +1 -0
  225. package/dist/database/migrations/AlterPaymentTable.js +61 -0
  226. package/dist/database/migrations/AlterPaymentTable.js.map +1 -0
  227. package/dist/database/migrations/AlterTableClaim.d.ts +6 -0
  228. package/dist/database/migrations/AlterTableClaim.d.ts.map +1 -0
  229. package/dist/database/migrations/AlterTableClaim.js +21 -0
  230. package/dist/database/migrations/AlterTableClaim.js.map +1 -0
  231. package/dist/database/migrations/AlterTableIdentifier.d.ts +6 -0
  232. package/dist/database/migrations/AlterTableIdentifier.d.ts.map +1 -0
  233. package/dist/database/migrations/AlterTableIdentifier.js +21 -0
  234. package/dist/database/migrations/AlterTableIdentifier.js.map +1 -0
  235. package/dist/database/migrations/AlterTableKey.d.ts +6 -0
  236. package/dist/database/migrations/AlterTableKey.d.ts.map +1 -0
  237. package/dist/database/migrations/AlterTableKey.js +36 -0
  238. package/dist/database/migrations/AlterTableKey.js.map +1 -0
  239. package/dist/database/migrations/CreateApiKeyMigration.d.ts +6 -0
  240. package/dist/database/migrations/CreateApiKeyMigration.d.ts.map +1 -0
  241. package/dist/database/migrations/CreateApiKeyMigration.js +40 -0
  242. package/dist/database/migrations/CreateApiKeyMigration.js.map +1 -0
  243. package/dist/database/migrations/CreateCoinTable.d.ts +6 -0
  244. package/dist/database/migrations/CreateCoinTable.d.ts.map +1 -0
  245. package/dist/database/migrations/CreateCoinTable.js +20 -0
  246. package/dist/database/migrations/CreateCoinTable.js.map +1 -0
  247. package/dist/database/migrations/CreateCustomerTable.d.ts +6 -0
  248. package/dist/database/migrations/CreateCustomerTable.d.ts.map +1 -0
  249. package/dist/database/migrations/CreateCustomerTable.js +24 -0
  250. package/dist/database/migrations/CreateCustomerTable.js.map +1 -0
  251. package/dist/database/migrations/CreateCustomersTable.d.ts +6 -0
  252. package/dist/database/migrations/CreateCustomersTable.d.ts.map +1 -0
  253. package/dist/database/migrations/CreateCustomersTable.js +21 -0
  254. package/dist/database/migrations/CreateCustomersTable.js.map +1 -0
  255. package/dist/database/migrations/CreateOperationTable.d.ts +6 -0
  256. package/dist/database/migrations/CreateOperationTable.d.ts.map +1 -0
  257. package/dist/database/migrations/CreateOperationTable.js +28 -0
  258. package/dist/database/migrations/CreateOperationTable.js.map +1 -0
  259. package/dist/database/migrations/CreatePaymentAccountTable.d.ts +6 -0
  260. package/dist/database/migrations/CreatePaymentAccountTable.d.ts.map +1 -0
  261. package/dist/database/migrations/CreatePaymentAccountTable.js +35 -0
  262. package/dist/database/migrations/CreatePaymentAccountTable.js.map +1 -0
  263. package/dist/database/migrations/CreatePaymentTable.d.ts +6 -0
  264. package/dist/database/migrations/CreatePaymentTable.d.ts.map +1 -0
  265. package/dist/database/migrations/CreatePaymentTable.js +55 -0
  266. package/dist/database/migrations/CreatePaymentTable.js.map +1 -0
  267. package/dist/database/migrations/CreateResourceTable.d.ts +6 -0
  268. package/dist/database/migrations/CreateResourceTable.d.ts.map +1 -0
  269. package/dist/database/migrations/CreateResourceTable.js +46 -0
  270. package/dist/database/migrations/CreateResourceTable.js.map +1 -0
  271. package/dist/database/migrations/CreateRoleTable.d.ts +6 -0
  272. package/dist/database/migrations/CreateRoleTable.d.ts.map +1 -0
  273. package/dist/database/migrations/CreateRoleTable.js +25 -0
  274. package/dist/database/migrations/CreateRoleTable.js.map +1 -0
  275. package/dist/database/migrations/CreateSubscriptionTable.d.ts +6 -0
  276. package/dist/database/migrations/CreateSubscriptionTable.d.ts.map +1 -0
  277. package/dist/database/migrations/CreateSubscriptionTable.js +30 -0
  278. package/dist/database/migrations/CreateSubscriptionTable.js.map +1 -0
  279. package/dist/database/migrations/CreateUserTable.d.ts +6 -0
  280. package/dist/database/migrations/CreateUserTable.d.ts.map +1 -0
  281. package/dist/database/migrations/CreateUserTable.js +32 -0
  282. package/dist/database/migrations/CreateUserTable.js.map +1 -0
  283. package/dist/database/migrations/MigrateData.d.ts +7 -0
  284. package/dist/database/migrations/MigrateData.d.ts.map +1 -0
  285. package/dist/database/migrations/MigrateData.js +138 -0
  286. package/dist/database/migrations/MigrateData.js.map +1 -0
  287. package/dist/database/ormconfig.d.ts +2 -0
  288. package/dist/database/ormconfig.d.ts.map +1 -0
  289. package/dist/database/ormconfig.js +3 -0
  290. package/dist/database/ormconfig.js.map +1 -0
  291. package/dist/database/types/enum.d.ts +21 -0
  292. package/dist/database/types/enum.d.ts.map +1 -0
  293. package/dist/database/types/enum.js +35 -0
  294. package/dist/database/types/enum.js.map +1 -0
  295. package/dist/database/types/types.d.ts +11 -0
  296. package/dist/database/types/types.d.ts.map +1 -0
  297. package/dist/database/types/types.js +127 -0
  298. package/dist/database/types/types.js.map +1 -0
  299. package/dist/helpers/faucet.d.ts +5 -0
  300. package/dist/helpers/faucet.d.ts.map +1 -0
  301. package/dist/helpers/faucet.js +24 -0
  302. package/dist/helpers/faucet.js.map +1 -0
  303. package/dist/helpers/fee-analyzer.d.ts +8 -0
  304. package/dist/helpers/fee-analyzer.d.ts.map +1 -0
  305. package/dist/helpers/fee-analyzer.js +73 -0
  306. package/dist/helpers/fee-analyzer.js.map +1 -0
  307. package/dist/helpers/helpers.d.ts +28 -0
  308. package/dist/helpers/helpers.d.ts.map +1 -0
  309. package/dist/helpers/helpers.js +167 -0
  310. package/dist/helpers/helpers.js.map +1 -0
  311. package/dist/index.d.ts +2 -0
  312. package/dist/index.d.ts.map +1 -0
  313. package/dist/index.js +28 -0
  314. package/dist/index.js.map +1 -0
  315. package/dist/middleware/auth/auth-gaurd.d.ts +51 -0
  316. package/dist/middleware/auth/auth-gaurd.d.ts.map +1 -0
  317. package/dist/middleware/auth/auth-gaurd.js +117 -0
  318. package/dist/middleware/auth/auth-gaurd.js.map +1 -0
  319. package/dist/middleware/auth/logto-helper.d.ts +44 -0
  320. package/dist/middleware/auth/logto-helper.d.ts.map +1 -0
  321. package/dist/middleware/auth/logto-helper.js +438 -0
  322. package/dist/middleware/auth/logto-helper.js.map +1 -0
  323. package/dist/middleware/auth/oauth/abstract.d.ts +22 -0
  324. package/dist/middleware/auth/oauth/abstract.d.ts.map +1 -0
  325. package/dist/middleware/auth/oauth/abstract.js +24 -0
  326. package/dist/middleware/auth/oauth/abstract.js.map +1 -0
  327. package/dist/middleware/auth/oauth/logto-provider.d.ts +15 -0
  328. package/dist/middleware/auth/oauth/logto-provider.d.ts.map +1 -0
  329. package/dist/middleware/auth/oauth/logto-provider.js +42 -0
  330. package/dist/middleware/auth/oauth/logto-provider.js.map +1 -0
  331. package/dist/middleware/auth/routes/admin/admin-auth.d.ts +8 -0
  332. package/dist/middleware/auth/routes/admin/admin-auth.d.ts.map +1 -0
  333. package/dist/middleware/auth/routes/admin/admin-auth.js +44 -0
  334. package/dist/middleware/auth/routes/admin/admin-auth.js.map +1 -0
  335. package/dist/middleware/auth/routes/api/account-auth.d.ts +5 -0
  336. package/dist/middleware/auth/routes/api/account-auth.d.ts.map +1 -0
  337. package/dist/middleware/auth/routes/api/account-auth.js +9 -0
  338. package/dist/middleware/auth/routes/api/account-auth.js.map +1 -0
  339. package/dist/middleware/auth/routes/api/auth-user-info.d.ts +5 -0
  340. package/dist/middleware/auth/routes/api/auth-user-info.d.ts.map +1 -0
  341. package/dist/middleware/auth/routes/api/auth-user-info.js +8 -0
  342. package/dist/middleware/auth/routes/api/auth-user-info.js.map +1 -0
  343. package/dist/middleware/auth/routes/api/credential-auth.d.ts +5 -0
  344. package/dist/middleware/auth/routes/api/credential-auth.d.ts.map +1 -0
  345. package/dist/middleware/auth/routes/api/credential-auth.js +17 -0
  346. package/dist/middleware/auth/routes/api/credential-auth.js.map +1 -0
  347. package/dist/middleware/auth/routes/api/credential-status-auth.d.ts +5 -0
  348. package/dist/middleware/auth/routes/api/credential-status-auth.d.ts.map +1 -0
  349. package/dist/middleware/auth/routes/api/credential-status-auth.js +20 -0
  350. package/dist/middleware/auth/routes/api/credential-status-auth.js.map +1 -0
  351. package/dist/middleware/auth/routes/api/did-auth.d.ts +5 -0
  352. package/dist/middleware/auth/routes/api/did-auth.d.ts.map +1 -0
  353. package/dist/middleware/auth/routes/api/did-auth.js +19 -0
  354. package/dist/middleware/auth/routes/api/did-auth.js.map +1 -0
  355. package/dist/middleware/auth/routes/api/key-auth.d.ts +5 -0
  356. package/dist/middleware/auth/routes/api/key-auth.d.ts.map +1 -0
  357. package/dist/middleware/auth/routes/api/key-auth.js +11 -0
  358. package/dist/middleware/auth/routes/api/key-auth.js.map +1 -0
  359. package/dist/middleware/auth/routes/api/presentation-auth.d.ts +5 -0
  360. package/dist/middleware/auth/routes/api/presentation-auth.d.ts.map +1 -0
  361. package/dist/middleware/auth/routes/api/presentation-auth.js +10 -0
  362. package/dist/middleware/auth/routes/api/presentation-auth.js.map +1 -0
  363. package/dist/middleware/auth/routes/api/resource-auth.d.ts +5 -0
  364. package/dist/middleware/auth/routes/api/resource-auth.d.ts.map +1 -0
  365. package/dist/middleware/auth/routes/api/resource-auth.js +11 -0
  366. package/dist/middleware/auth/routes/api/resource-auth.js.map +1 -0
  367. package/dist/middleware/auth/routes/auth-rule-provider.d.ts +33 -0
  368. package/dist/middleware/auth/routes/auth-rule-provider.d.ts.map +1 -0
  369. package/dist/middleware/auth/routes/auth-rule-provider.js +39 -0
  370. package/dist/middleware/auth/routes/auth-rule-provider.js.map +1 -0
  371. package/dist/middleware/auth/routes/auth-rule-repository.d.ts +21 -0
  372. package/dist/middleware/auth/routes/auth-rule-repository.d.ts.map +1 -0
  373. package/dist/middleware/auth/routes/auth-rule-repository.js +28 -0
  374. package/dist/middleware/auth/routes/auth-rule-repository.js.map +1 -0
  375. package/dist/middleware/auth/user-info-fetcher/api-token.d.ts +17 -0
  376. package/dist/middleware/auth/user-info-fetcher/api-token.d.ts.map +1 -0
  377. package/dist/middleware/auth/user-info-fetcher/api-token.js +60 -0
  378. package/dist/middleware/auth/user-info-fetcher/api-token.js.map +1 -0
  379. package/dist/middleware/auth/user-info-fetcher/base.d.ts +14 -0
  380. package/dist/middleware/auth/user-info-fetcher/base.d.ts.map +1 -0
  381. package/dist/middleware/auth/user-info-fetcher/base.js +38 -0
  382. package/dist/middleware/auth/user-info-fetcher/base.js.map +1 -0
  383. package/dist/middleware/auth/user-info-fetcher/idtoken.d.ts +18 -0
  384. package/dist/middleware/auth/user-info-fetcher/idtoken.d.ts.map +1 -0
  385. package/dist/middleware/auth/user-info-fetcher/idtoken.js +56 -0
  386. package/dist/middleware/auth/user-info-fetcher/idtoken.js.map +1 -0
  387. package/dist/middleware/auth/user-info-fetcher/m2m-creds-token.d.ts +18 -0
  388. package/dist/middleware/auth/user-info-fetcher/m2m-creds-token.d.ts.map +1 -0
  389. package/dist/middleware/auth/user-info-fetcher/m2m-creds-token.js +52 -0
  390. package/dist/middleware/auth/user-info-fetcher/m2m-creds-token.js.map +1 -0
  391. package/dist/middleware/auth/user-info-fetcher/portal-token.d.ts +20 -0
  392. package/dist/middleware/auth/user-info-fetcher/portal-token.d.ts.map +1 -0
  393. package/dist/middleware/auth/user-info-fetcher/portal-token.js +79 -0
  394. package/dist/middleware/auth/user-info-fetcher/portal-token.js.map +1 -0
  395. package/dist/middleware/auth/user-info-fetcher/swagger-ui.d.ts +16 -0
  396. package/dist/middleware/auth/user-info-fetcher/swagger-ui.d.ts.map +1 -0
  397. package/dist/middleware/auth/user-info-fetcher/swagger-ui.js +48 -0
  398. package/dist/middleware/auth/user-info-fetcher/swagger-ui.js.map +1 -0
  399. package/dist/middleware/authentication.d.ts +15 -0
  400. package/dist/middleware/authentication.d.ts.map +1 -0
  401. package/dist/middleware/authentication.js +110 -0
  402. package/dist/middleware/authentication.js.map +1 -0
  403. package/dist/middleware/event-tracker.d.ts +5 -0
  404. package/dist/middleware/event-tracker.d.ts.map +1 -0
  405. package/dist/middleware/event-tracker.js +34 -0
  406. package/dist/middleware/event-tracker.js.map +1 -0
  407. package/dist/middleware/hook.d.ts +9 -0
  408. package/dist/middleware/hook.d.ts.map +1 -0
  409. package/dist/middleware/hook.js +24 -0
  410. package/dist/middleware/hook.js.map +1 -0
  411. package/dist/middleware/middleware.d.ts +6 -0
  412. package/dist/middleware/middleware.d.ts.map +1 -0
  413. package/dist/middleware/middleware.js +36 -0
  414. package/dist/middleware/middleware.js.map +1 -0
  415. package/dist/services/admin/api-key.d.ts +30 -0
  416. package/dist/services/admin/api-key.d.ts.map +1 -0
  417. package/dist/services/admin/api-key.js +135 -0
  418. package/dist/services/admin/api-key.js.map +1 -0
  419. package/dist/services/admin/stripe.d.ts +18 -0
  420. package/dist/services/admin/stripe.d.ts.map +1 -0
  421. package/dist/services/admin/stripe.js +125 -0
  422. package/dist/services/admin/stripe.js.map +1 -0
  423. package/dist/services/admin/subscription.d.ts +16 -0
  424. package/dist/services/admin/subscription.d.ts.map +1 -0
  425. package/dist/services/admin/subscription.js +75 -0
  426. package/dist/services/admin/subscription.js.map +1 -0
  427. package/dist/services/api/coin.d.ts +13 -0
  428. package/dist/services/api/coin.d.ts.map +1 -0
  429. package/dist/services/api/coin.js +49 -0
  430. package/dist/services/api/coin.js.map +1 -0
  431. package/dist/services/api/credentials.d.ts +8 -0
  432. package/dist/services/api/credentials.d.ts.map +1 -0
  433. package/dist/services/api/credentials.js +38 -0
  434. package/dist/services/api/credentials.js.map +1 -0
  435. package/dist/services/api/customer.d.ts +19 -0
  436. package/dist/services/api/customer.d.ts.map +1 -0
  437. package/dist/services/api/customer.js +88 -0
  438. package/dist/services/api/customer.js.map +1 -0
  439. package/dist/services/api/identifier.d.ts +12 -0
  440. package/dist/services/api/identifier.d.ts.map +1 -0
  441. package/dist/services/api/identifier.js +38 -0
  442. package/dist/services/api/identifier.js.map +1 -0
  443. package/dist/services/api/key.d.ts +14 -0
  444. package/dist/services/api/key.d.ts.map +1 -0
  445. package/dist/services/api/key.js +49 -0
  446. package/dist/services/api/key.js.map +1 -0
  447. package/dist/services/api/operation.d.ts +14 -0
  448. package/dist/services/api/operation.d.ts.map +1 -0
  449. package/dist/services/api/operation.js +61 -0
  450. package/dist/services/api/operation.js.map +1 -0
  451. package/dist/services/api/payment-account.d.ts +14 -0
  452. package/dist/services/api/payment-account.d.ts.map +1 -0
  453. package/dist/services/api/payment-account.js +68 -0
  454. package/dist/services/api/payment-account.js.map +1 -0
  455. package/dist/services/api/payment.d.ts +17 -0
  456. package/dist/services/api/payment.d.ts.map +1 -0
  457. package/dist/services/api/payment.js +68 -0
  458. package/dist/services/api/payment.js.map +1 -0
  459. package/dist/services/api/resource.d.ts +17 -0
  460. package/dist/services/api/resource.d.ts.map +1 -0
  461. package/dist/services/api/resource.js +65 -0
  462. package/dist/services/api/resource.js.map +1 -0
  463. package/dist/services/api/role.d.ts +14 -0
  464. package/dist/services/api/role.d.ts.map +1 -0
  465. package/dist/services/api/role.js +53 -0
  466. package/dist/services/api/role.js.map +1 -0
  467. package/dist/services/api/store.d.ts +8 -0
  468. package/dist/services/api/store.d.ts.map +1 -0
  469. package/dist/services/api/store.js +18 -0
  470. package/dist/services/api/store.js.map +1 -0
  471. package/dist/services/api/user.d.ts +15 -0
  472. package/dist/services/api/user.d.ts.map +1 -0
  473. package/dist/services/api/user.js +54 -0
  474. package/dist/services/api/user.js.map +1 -0
  475. package/dist/services/connectors/verida.d.ts +40 -0
  476. package/dist/services/connectors/verida.d.ts.map +1 -0
  477. package/dist/services/connectors/verida.js +110 -0
  478. package/dist/services/connectors/verida.js.map +1 -0
  479. package/dist/services/helpers.d.ts +10 -0
  480. package/dist/services/helpers.d.ts.map +1 -0
  481. package/dist/services/helpers.js +44 -0
  482. package/dist/services/helpers.js.map +1 -0
  483. package/dist/services/identity/abstract.d.ts +51 -0
  484. package/dist/services/identity/abstract.d.ts.map +1 -0
  485. package/dist/services/identity/abstract.js +101 -0
  486. package/dist/services/identity/abstract.js.map +1 -0
  487. package/dist/services/identity/agent.d.ts +43 -0
  488. package/dist/services/identity/agent.d.ts.map +1 -0
  489. package/dist/services/identity/agent.js +625 -0
  490. package/dist/services/identity/agent.js.map +1 -0
  491. package/dist/services/identity/default.d.ts +19 -0
  492. package/dist/services/identity/default.d.ts.map +1 -0
  493. package/dist/services/identity/default.js +26 -0
  494. package/dist/services/identity/default.js.map +1 -0
  495. package/dist/services/identity/index.d.ts +59 -0
  496. package/dist/services/identity/index.d.ts.map +1 -0
  497. package/dist/services/identity/index.js +31 -0
  498. package/dist/services/identity/index.js.map +1 -0
  499. package/dist/services/identity/local.d.ts +33 -0
  500. package/dist/services/identity/local.d.ts.map +1 -0
  501. package/dist/services/identity/local.js +156 -0
  502. package/dist/services/identity/local.js.map +1 -0
  503. package/dist/services/identity/postgres.d.ts +59 -0
  504. package/dist/services/identity/postgres.d.ts.map +1 -0
  505. package/dist/services/identity/postgres.js +388 -0
  506. package/dist/services/identity/postgres.js.map +1 -0
  507. package/dist/services/identity/unauthorized.d.ts +6 -0
  508. package/dist/services/identity/unauthorized.d.ts.map +1 -0
  509. package/dist/services/identity/unauthorized.js +49 -0
  510. package/dist/services/identity/unauthorized.js.map +1 -0
  511. package/dist/services/track/admin/account-submitter.d.ts +11 -0
  512. package/dist/services/track/admin/account-submitter.d.ts.map +1 -0
  513. package/dist/services/track/admin/account-submitter.js +54 -0
  514. package/dist/services/track/admin/account-submitter.js.map +1 -0
  515. package/dist/services/track/admin/subscription-submitter.d.ts +13 -0
  516. package/dist/services/track/admin/subscription-submitter.d.ts.map +1 -0
  517. package/dist/services/track/admin/subscription-submitter.js +106 -0
  518. package/dist/services/track/admin/subscription-submitter.js.map +1 -0
  519. package/dist/services/track/api/credential-status-subscriber.d.ts +10 -0
  520. package/dist/services/track/api/credential-status-subscriber.d.ts.map +1 -0
  521. package/dist/services/track/api/credential-status-subscriber.js +35 -0
  522. package/dist/services/track/api/credential-status-subscriber.js.map +1 -0
  523. package/dist/services/track/api/credential-subscriber.d.ts +10 -0
  524. package/dist/services/track/api/credential-subscriber.d.ts.map +1 -0
  525. package/dist/services/track/api/credential-subscriber.js +35 -0
  526. package/dist/services/track/api/credential-subscriber.js.map +1 -0
  527. package/dist/services/track/api/did-subscriber.d.ts +10 -0
  528. package/dist/services/track/api/did-subscriber.d.ts.map +1 -0
  529. package/dist/services/track/api/did-subscriber.js +33 -0
  530. package/dist/services/track/api/did-subscriber.js.map +1 -0
  531. package/dist/services/track/api/key-subscriber.d.ts +10 -0
  532. package/dist/services/track/api/key-subscriber.d.ts.map +1 -0
  533. package/dist/services/track/api/key-subscriber.js +35 -0
  534. package/dist/services/track/api/key-subscriber.js.map +1 -0
  535. package/dist/services/track/api/presentation-subscriber.d.ts +10 -0
  536. package/dist/services/track/api/presentation-subscriber.d.ts.map +1 -0
  537. package/dist/services/track/api/presentation-subscriber.js +35 -0
  538. package/dist/services/track/api/presentation-subscriber.js.map +1 -0
  539. package/dist/services/track/api/resource-subscriber.d.ts +11 -0
  540. package/dist/services/track/api/resource-subscriber.d.ts.map +1 -0
  541. package/dist/services/track/api/resource-subscriber.js +107 -0
  542. package/dist/services/track/api/resource-subscriber.js.map +1 -0
  543. package/dist/services/track/base.d.ts +10 -0
  544. package/dist/services/track/base.d.ts.map +1 -0
  545. package/dist/services/track/base.js +26 -0
  546. package/dist/services/track/base.js.map +1 -0
  547. package/dist/services/track/helpers.d.ts +23 -0
  548. package/dist/services/track/helpers.d.ts.map +1 -0
  549. package/dist/services/track/helpers.js +35 -0
  550. package/dist/services/track/helpers.js.map +1 -0
  551. package/dist/services/track/notifiers.d.ts +12 -0
  552. package/dist/services/track/notifiers.d.ts.map +1 -0
  553. package/dist/services/track/notifiers.js +39 -0
  554. package/dist/services/track/notifiers.js.map +1 -0
  555. package/dist/services/track/observer.d.ts +14 -0
  556. package/dist/services/track/observer.d.ts.map +1 -0
  557. package/dist/services/track/observer.js +43 -0
  558. package/dist/services/track/observer.js.map +1 -0
  559. package/dist/services/track/operation-subscriber.d.ts +14 -0
  560. package/dist/services/track/operation-subscriber.d.ts.map +1 -0
  561. package/dist/services/track/operation-subscriber.js +112 -0
  562. package/dist/services/track/operation-subscriber.js.map +1 -0
  563. package/dist/services/track/submitter.d.ts +22 -0
  564. package/dist/services/track/submitter.d.ts.map +1 -0
  565. package/dist/services/track/submitter.js +2 -0
  566. package/dist/services/track/submitter.js.map +1 -0
  567. package/dist/services/track/tracker.d.ts +24 -0
  568. package/dist/services/track/tracker.d.ts.map +1 -0
  569. package/dist/services/track/tracker.js +79 -0
  570. package/dist/services/track/tracker.js.map +1 -0
  571. package/dist/services/track/types.d.ts +16 -0
  572. package/dist/services/track/types.d.ts.map +1 -0
  573. package/dist/services/track/types.js +2 -0
  574. package/dist/services/track/types.js.map +1 -0
  575. package/dist/services/w3c-credential.d.ts +32 -0
  576. package/dist/services/w3c-credential.d.ts.map +1 -0
  577. package/dist/services/w3c-credential.js +120 -0
  578. package/dist/services/w3c-credential.js.map +1 -0
  579. package/dist/services/w3c-presentation.d.ts +30 -0
  580. package/dist/services/w3c-presentation.d.ts.map +1 -0
  581. package/dist/services/w3c-presentation.js +95 -0
  582. package/dist/services/w3c-presentation.js.map +1 -0
  583. package/dist/static/custom-button.d.ts +2 -0
  584. package/dist/static/custom-button.d.ts.map +1 -0
  585. package/dist/static/custom-button.js +35 -0
  586. package/dist/static/custom-button.js.map +1 -0
  587. package/dist/static/swagger-admin.json +1191 -0
  588. package/dist/static/swagger-api.json +3564 -0
  589. package/dist/types/admin.d.ts +122 -0
  590. package/dist/types/admin.d.ts.map +1 -0
  591. package/dist/types/admin.js +2 -0
  592. package/dist/types/admin.js.map +1 -0
  593. package/dist/types/authentication.d.ts +30 -0
  594. package/dist/types/authentication.d.ts.map +1 -0
  595. package/dist/types/authentication.js +131 -0
  596. package/dist/types/authentication.js.map +1 -0
  597. package/dist/types/constants.d.ts +98 -0
  598. package/dist/types/constants.d.ts.map +1 -0
  599. package/dist/types/constants.js +138 -0
  600. package/dist/types/constants.js.map +1 -0
  601. package/dist/types/credential-status.d.ts +168 -0
  602. package/dist/types/credential-status.d.ts.map +1 -0
  603. package/dist/types/credential-status.js +12 -0
  604. package/dist/types/credential-status.js.map +1 -0
  605. package/dist/types/credential.d.ts +55 -0
  606. package/dist/types/credential.d.ts.map +1 -0
  607. package/dist/types/credential.js +2 -0
  608. package/dist/types/credential.js.map +1 -0
  609. package/dist/types/customer.d.ts +18 -0
  610. package/dist/types/customer.d.ts.map +1 -0
  611. package/dist/types/customer.js +2 -0
  612. package/dist/types/customer.js.map +1 -0
  613. package/dist/types/did.d.ts +56 -0
  614. package/dist/types/did.d.ts.map +1 -0
  615. package/dist/types/did.js +2 -0
  616. package/dist/types/did.js.map +1 -0
  617. package/dist/types/key.d.ts +23 -0
  618. package/dist/types/key.d.ts.map +1 -0
  619. package/dist/types/key.js +2 -0
  620. package/dist/types/key.js.map +1 -0
  621. package/dist/types/presentation.d.ts +19 -0
  622. package/dist/types/presentation.d.ts.map +1 -0
  623. package/dist/types/presentation.js +2 -0
  624. package/dist/types/presentation.js.map +1 -0
  625. package/dist/types/resource.d.ts +26 -0
  626. package/dist/types/resource.d.ts.map +1 -0
  627. package/dist/types/resource.js +2 -0
  628. package/dist/types/resource.js.map +1 -0
  629. package/dist/types/shared.d.ts +51 -0
  630. package/dist/types/shared.d.ts.map +1 -0
  631. package/dist/types/shared.js +24 -0
  632. package/dist/types/shared.js.map +1 -0
  633. package/dist/types/swagger-admin-types.d.ts +352 -0
  634. package/dist/types/swagger-admin-types.d.ts.map +1 -0
  635. package/dist/types/swagger-admin-types.js +353 -0
  636. package/dist/types/swagger-admin-types.js.map +1 -0
  637. package/dist/types/swagger-api-types.d.ts +1312 -0
  638. package/dist/types/swagger-api-types.d.ts.map +1 -0
  639. package/dist/types/swagger-api-types.js +1313 -0
  640. package/dist/types/swagger-api-types.js.map +1 -0
  641. package/dist/types/track.d.ts +72 -0
  642. package/dist/types/track.d.ts.map +1 -0
  643. package/dist/types/track.js +37 -0
  644. package/dist/types/track.js.map +1 -0
  645. package/dist/types/validation.d.ts +23 -0
  646. package/dist/types/validation.d.ts.map +1 -0
  647. package/dist/types/validation.js +2 -0
  648. package/dist/types/validation.js.map +1 -0
  649. package/dist/types/verida.d.ts +23 -0
  650. package/dist/types/verida.d.ts.map +1 -0
  651. package/dist/types/verida.js +2 -0
  652. package/dist/types/verida.js.map +1 -0
  653. package/example.env +43 -0
  654. package/package.json +156 -0
@@ -0,0 +1,1313 @@
1
+ "use strict";
2
+ /**
3
+ * @openapi
4
+ *
5
+ * components:
6
+ * schemas:
7
+ * AlsoKnownAs:
8
+ * type: object
9
+ * properties:
10
+ * alsoKnownAs:
11
+ * type: array
12
+ * description: Optional field to assign a set of alternative URIs where the DID-Linked Resource can be fetched from.
13
+ * items:
14
+ * type: object
15
+ * properties:
16
+ * uri:
17
+ * type: string
18
+ * format: uri
19
+ * description: URI where the DID-Linked Resource can be fetched from. Can be any type of URI (e.g., DID, HTTPS, IPFS, etc.)
20
+ * description:
21
+ * type: string
22
+ * description: Optional description of the URI.
23
+ * CredentialRequest:
24
+ * description: Input fields for the creating a Verifiable Credential.
25
+ * type: object
26
+ * additionalProperties: false
27
+ * properties:
28
+ * issuerDid:
29
+ * description: DID of the Verifiable Credential issuer. This needs to be a `did:cheqd` DID.
30
+ * type: string
31
+ * example: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
32
+ * subjectDid:
33
+ * description: DID of the Verifiable Credential holder/subject. This needs to be a `did:key` DID.
34
+ * type: string
35
+ * example: did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK
36
+ * attributes:
37
+ * description: JSON object containing the attributes to be included in the credential.
38
+ * type: object
39
+ * example: {
40
+ * name: Bob,
41
+ * gender: male
42
+ * }
43
+ * '@context':
44
+ * description: Optional properties to be included in the `@context` property of the credential.
45
+ * type: array
46
+ * items:
47
+ * type: string
48
+ * example: [https://schema.org/schema.jsonld, https://veramo.io/contexts/profile/v1]
49
+ * type:
50
+ * description: Optional properties to be included in the `type` property of the credential.
51
+ * type: array
52
+ * items:
53
+ * type: string
54
+ * example: [Person]
55
+ * expirationDate:
56
+ * description: Optional expiration date according to the <a href=https://www.w3.org/TR/vc-data-model/#expiration> VC Data Model specification</a>.
57
+ * type: string
58
+ * format: date-time
59
+ * example: 2023-06-08T13:49:28.000Z
60
+ * format:
61
+ * description: Format of the Verifiable Credential. Defaults to VC-JWT.
62
+ * type: string
63
+ * enum:
64
+ * - jwt
65
+ * - jsonld
66
+ * example: jwt
67
+ * credentialStatus:
68
+ * description: Optional `credentialStatus` properties for VC revocation or suspension. Takes `statusListName` and `statusListPurpose` as inputs.
69
+ * type: object
70
+ * required:
71
+ * - statusPurpose
72
+ * - statusListName
73
+ * properties:
74
+ * statusPurpose:
75
+ * type: string
76
+ * enum:
77
+ * - revocation
78
+ * - suspension
79
+ * statusListName:
80
+ * type: string
81
+ * statusListIndex:
82
+ * type: number
83
+ * statusListVersion:
84
+ * type: string
85
+ * format: date-time
86
+ * statusListRangeStart:
87
+ * type: number
88
+ * statusListRangeEnd:
89
+ * type: number
90
+ * indexNotIn:
91
+ * type: number
92
+ * example:
93
+ * statusPurpose: revocation
94
+ * statusListName: employee-credentials
95
+ * required:
96
+ * - issuerDid
97
+ * - subjectDid
98
+ * - attributes
99
+ * example:
100
+ * issuerDid: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
101
+ * subjectDid: did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK
102
+ * attributes:
103
+ * gender: male
104
+ * name: Bob
105
+ * '@context':
106
+ * - https://schema.org
107
+ * type:
108
+ * - Person
109
+ * format: jwt
110
+ * credentialStatus:
111
+ * statusPurpose: revocation
112
+ * statusListName: employee-credentials
113
+ * statusListIndex: 10
114
+ * Credential:
115
+ * description: Input fields for revoking/suspending a Verifiable Credential.
116
+ * type: object
117
+ * additionalProperties: false
118
+ * properties:
119
+ * '@context':
120
+ * type: array
121
+ * items:
122
+ * type: string
123
+ * example: [https://www.w3.org/2018/credentials/v1, https://schema.org, https://veramo.io/contexts/profile/v1]
124
+ * type:
125
+ * type: array
126
+ * items:
127
+ * type: string
128
+ * example: [VerifiableCredential, Person]
129
+ * expirationDate:
130
+ * type: string
131
+ * format: date-time
132
+ * example: 2023-06-08T13:49:28.000Z
133
+ * issuer:
134
+ * type: object
135
+ * properties:
136
+ * id:
137
+ * type: string
138
+ * format: DID
139
+ * example: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
140
+ * credentialSubject:
141
+ * type: object
142
+ * properties:
143
+ * id:
144
+ * type: string
145
+ * format: DID
146
+ * example: did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK
147
+ * credentialStatus:
148
+ * type: object
149
+ * properties:
150
+ * id:
151
+ * type: string
152
+ * example: https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e?resourceName=cheqd-suspension-1&resourceType=StatusList2021Suspension#20
153
+ * statusListIndex:
154
+ * type: number
155
+ * example: 20
156
+ * statusPurpose:
157
+ * type: string
158
+ * enum:
159
+ * - revocation
160
+ * - suspension
161
+ * example: suspension
162
+ * type:
163
+ * type: string
164
+ * enum:
165
+ * - StatusList2021Entry
166
+ * issuanceDate:
167
+ * type: string
168
+ * format: date-time
169
+ * example: 2023-06-08T13:49:28.000Z
170
+ * proof:
171
+ * type: object
172
+ * properties:
173
+ * type:
174
+ * type: string
175
+ * jwt:
176
+ * type: string
177
+ * example: {
178
+ * type: JwtProof2020,
179
+ * jwt: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkaWQ6Y2hlcWQ6dGVzdG5ldDo3YmY4MWEyMC02MzNjLTRjYzctYmM0YS01YTQ1ODAxMDA1ZTAiLCJuYmYiOjE2ODYyMzIxNjgsInN1YiI6ImRpZDprZXk6ejZNa2hhWGdCWkR2b3REa0w1MjU3ZmFpenRpR2lDMlF0S0xHcGJubkVHdGEyZG9LIiwidmMiOnsiQGNvbnRleHQiOlsiaHR0cHM6Ly93d3cudzMub3JnLzIwMTgvY3JlZGVudGlhbHMvdjEiLCJodHRwczovL3NjaGVtYS5vcmciLCJodHRwczovL3ZlcmFtby5pby9jb250ZXh0cy9wcm9maWxlL3YxIl0sImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImdlbmRlciI6Im1hbGUiLCJuYW1lIjoiQm9iIn0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQZXJzb24iXX19.wMfdR6RtyAZA4eoWya5Aw97wwER2Cm5Guk780Xw8H9fA3sfudIJeLRLboqixpTchqSbYeA7KbuCTAnLgXTD_Cg,
180
+ * }
181
+ * example:
182
+ * '@context':
183
+ * - https://www.w3.org/2018/credentials/v1
184
+ * - https://schema.org
185
+ * - https://veramo.io/contexts/profile/v1
186
+ * credentialSubject:
187
+ * gender: male
188
+ * id: did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK
189
+ * name: Bob
190
+ * credentialStatus:
191
+ * id: https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e?resourceName=cheqd-suspension-1&resourceType=StatusList2021Suspension#20
192
+ * statusIndex: 20
193
+ * statusPurpose: suspension
194
+ * type: StatusList2021Entry
195
+ * issuanceDate: 2023-06-08T13:49:28.000Z
196
+ * issuer:
197
+ * id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
198
+ * proof:
199
+ * jwt: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkaWQ6Y2hlcWQ6dGVzdG5ldDo3YmY4MWEyMC02MzNjLTRjYzctYmM0YS01YTQ1ODAxMDA1ZTAiLCJuYmYiOjE2ODYyMzIxNjgsInN1YiI6ImRpZDprZXk6ejZNa2hhWGdCWkR2b3REa0w1MjU3ZmFpenRpR2lDMlF0S0xHcGJubkVHdGEyZG9LIiwidmMiOnsiQGNvbnRleHQiOlsiaHR0cHM6Ly93d3cudzMub3JnLzIwMTgvY3JlZGVudGlhbHMvdjEiLCJodHRwczovL3NjaGVtYS5vcmciLCJodHRwczovL3ZlcmFtby5pby9jb250ZXh0cy9wcm9maWxlL3YxIl0sImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImdlbmRlciI6Im1hbGUiLCJuYW1lIjoiQm9iIn0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQZXJzb24iXX19.wMfdR6RtyAZA4eoWya5Aw97wwER2Cm5Guk780Xw8H9fA3sfudIJeLRLboqixpTchqSbYeA7KbuCTAnLgXTD_Cg
200
+ * type: JwtProof2020
201
+ * type:
202
+ * - VerifiableCredential
203
+ * - Person
204
+ * CredentialRevokeRequest:
205
+ * type: object
206
+ * properties:
207
+ * credential:
208
+ * description: Verifiable Credential to be revoked as a VC-JWT string or a JSON object.
209
+ * oneOf:
210
+ * - type: object
211
+ * - type: string
212
+ * symmetricKey:
213
+ * description: The symmetric key used to encrypt the StatusList2021 DID-Linked Resource. Required if the StatusList2021 DID-Linked Resource is encrypted.
214
+ * type: string
215
+ * RevocationResult:
216
+ * properties:
217
+ * revoked:
218
+ * type: boolean
219
+ * example: true
220
+ * SuspensionResult:
221
+ * properties:
222
+ * suspended:
223
+ * type: boolean
224
+ * example: true
225
+ * UnsuspensionResult:
226
+ * properties:
227
+ * unsuspended:
228
+ * type: boolean
229
+ * example: true
230
+ * CredentialVerifyRequest:
231
+ * type: object
232
+ * properties:
233
+ * credential:
234
+ * description: Verifiable Credential to be verified as a VC-JWT string or a JSON object.
235
+ * type: object
236
+ * policies:
237
+ * description: Custom verification policies to execute when verifying credential.
238
+ * type: object
239
+ * properties:
240
+ * issuanceDate:
241
+ * description: Policy to skip the `issuanceDate` (`nbf`) timestamp check when set to `false`.
242
+ * type: boolean
243
+ * default: true
244
+ * expirationDate:
245
+ * description: Policy to skip the `expirationDate` (`exp`) timestamp check when set to `false`.
246
+ * type: boolean
247
+ * default: true
248
+ * audience:
249
+ * description: Policy to skip the audience check when set to `false`.
250
+ * type: boolean
251
+ * default: false
252
+ * VerifyPresentationResult:
253
+ * type: object
254
+ * properties:
255
+ * verified:
256
+ * type: boolean
257
+ * issuer:
258
+ * type: string
259
+ * signer:
260
+ * type: object
261
+ * jwt:
262
+ * type: string
263
+ * verifiableCredential:
264
+ * type: object
265
+ * VerifyCredentialResult:
266
+ * type: object
267
+ * properties:
268
+ * verified:
269
+ * type: boolean
270
+ * issuer:
271
+ * type: string
272
+ * signer:
273
+ * type: object
274
+ * jwt:
275
+ * type: string
276
+ * verifiableCredential:
277
+ * type: object
278
+ * example:
279
+ * verified: true
280
+ * polices: {}
281
+ * issuer: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
282
+ * signer:
283
+ * controller: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
284
+ * id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#key-1
285
+ * publicKeyBase58: BTJiso1S4iSiReP6wGksSneGfiKHxz9SYcm2KknpqBJt
286
+ * type: Ed25519VerificationKey2018
287
+ * PresentationCreateRequest:
288
+ * type: object
289
+ * required:
290
+ * - credentials
291
+ * properties:
292
+ * credentials:
293
+ * description: Verifiable Credentials to be used for VP-JWT creation as a VP-JWT strings or a JSON objectsf.
294
+ * type: array
295
+ * items:
296
+ * type: object
297
+ * holderDid:
298
+ * description: DID of holder
299
+ * type: string
300
+ * verifierDid:
301
+ * description: DID of verifier
302
+ * type: string
303
+ * PresentationVerifyRequest:
304
+ * type: object
305
+ * required:
306
+ * - presentation
307
+ * properties:
308
+ * presentation:
309
+ * description: Verifiable Presentation to be verified as a VP-JWT string or a JSON object.
310
+ * type: object
311
+ * verifierDid:
312
+ * description: Provide an optional verifier DID (also known as 'domain' parameter), if the verifier DID in the presentation is not managed in the wallet.
313
+ * type: string
314
+ * makeFeePayment:
315
+ * description: Automatically make fee payment (if required) based on payment conditions to unlock encrypted StatusList2021 DID-Linked Resource.
316
+ * type: boolean
317
+ * default: false
318
+ * policies:
319
+ * description: Custom verification policies to execute when verifying presentation.
320
+ * type: object
321
+ * properties:
322
+ * issuanceDate:
323
+ * description: Policy to skip the `issuanceDate` (`nbf`) timestamp check when set to `false`.
324
+ * type: boolean
325
+ * default: true
326
+ * expirationDate:
327
+ * description: Policy to skip the `expirationDate` (`exp`) timestamp check when set to `false`.
328
+ * type: boolean
329
+ * default: true
330
+ * audience:
331
+ * description: Policy to skip the audience check when set to `false`.
332
+ * type: boolean
333
+ * default: false
334
+ * CredentialStatusCreateBody:
335
+ * allOf:
336
+ * - type: object
337
+ * required:
338
+ * - did
339
+ * - statusListName
340
+ * properties:
341
+ * did:
342
+ * description: DID of the StatusList2021 publisher.
343
+ * type: string
344
+ * format: uri
345
+ * statusListName:
346
+ * description: The name of the StatusList2021 DID-Linked Resource to be created.
347
+ * type: string
348
+ * length:
349
+ * description: The length of the status list to be created. The default and minimum length is 140000 which is 16kb.
350
+ * type: integer
351
+ * minimum: 0
352
+ * exclusiveMinimum: true
353
+ * default: 140000
354
+ * encoding:
355
+ * description: The encoding format of the StatusList2021 DiD-Linked Resource to be created.
356
+ * type: string
357
+ * default: base64url
358
+ * enum:
359
+ * - base64url
360
+ * - base64
361
+ * - hex
362
+ * statusListVersion:
363
+ * description: Optional field to assign a human-readable version in the StatusList2021 DID-Linked Resource.
364
+ * type: string
365
+ * - $ref: '#/components/schemas/AlsoKnownAs'
366
+ * CredentialStatusCreateUnencryptedRequest:
367
+ * allOf:
368
+ * - $ref: '#/components/schemas/CredentialStatusCreateBody'
369
+ * example:
370
+ * did: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
371
+ * statusListName: cheqd-employee-credentials
372
+ * length: 140000
373
+ * encoding: base64url
374
+ * CredentialStatusUnencryptedResult:
375
+ * type: object
376
+ * properties:
377
+ * resource:
378
+ * type: object
379
+ * properties:
380
+ * StatusList2021:
381
+ * type: object
382
+ * properties:
383
+ * encodedList:
384
+ * type: string
385
+ * example: H4sIAAAAAAAAA-3BAQ0AAADCoPdPbQ8HFAAAAAAAAAAAAAAAAAAAAADwaDhDr_xcRAAA
386
+ * type:
387
+ * type: string
388
+ * example: StatusList2021Revocation
389
+ * validFrom:
390
+ * type: string
391
+ * format: date-time
392
+ * example: 2023-06-26T11:45:19.349Z
393
+ * metadata:
394
+ * type: object
395
+ * properties:
396
+ * type:
397
+ * type: string
398
+ * example: StatusList2021Revocation
399
+ * encoding:
400
+ * type: string
401
+ * example: base64url
402
+ * encrypted:
403
+ * type: boolean
404
+ * example: false
405
+ * resourceMetadata:
406
+ * type: object
407
+ * example:
408
+ * resourceURI: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e/resources/5945233a-a4b5-422b-b893-eaed5cedd2dc
409
+ * resourceCollectionId: 7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
410
+ * resourceId: 5945233a-a4b5-422b-b893-eaed5cedd2dc
411
+ * resourceName: cheqd-employee-credentials
412
+ * resourceType: StatusList2021Revocation
413
+ * mediaType: application/json
414
+ * resourceVersion: 1.0.0
415
+ * created: 2023-06-26T11:45:20Z
416
+ * checksum: 909e22e371a41afbb96c330a97752cf7c8856088f1f937f87decbef06cbe9ca2
417
+ * previousVersionId: null
418
+ * nextVersionId: null
419
+ * CredentialStatusCreateUnencryptedResult:
420
+ * allOf:
421
+ * - type: object
422
+ * properties:
423
+ * created:
424
+ * type: boolean
425
+ * example: true
426
+ * - $ref: '#/components/schemas/CredentialStatusUnencryptedResult'
427
+ * CredentialStatusEncryptedPaymentConditionsBody:
428
+ * type: object
429
+ * properties:
430
+ * feePaymentAddress:
431
+ * description: The cheqd/Cosmos payment address where payments to unlock the encrypted StatusList2021 DID-Linked Resource need to be sent.
432
+ * type: string
433
+ * example: cheqd1qs0nhyk868c246defezhz5eymlt0dmajna2csg
434
+ * feePaymentAmount:
435
+ * description: Amount in CHEQ tokens to unlock the encrypted StatusList2021 DID-Linked Resource.
436
+ * type: number
437
+ * minimum: 0
438
+ * exclusiveMinimum: true
439
+ * default: 20
440
+ * feePaymentWindow:
441
+ * description: Time window (in minutes) within which the payment to unlock the encrypted StatusList2021 DID-Linked Resource is considered valid.
442
+ * type: number
443
+ * minimum: 0
444
+ * exclusiveMinimum: true
445
+ * default: 10
446
+ * CredentialStatusEncryptedPaymentConditionsJson:
447
+ * type: object
448
+ * properties:
449
+ * paymentConditions:
450
+ * allOf:
451
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedPaymentConditionsBody'
452
+ * CredentialStatusCreateEncryptedFormRequest:
453
+ * allOf:
454
+ * - $ref: '#/components/schemas/CredentialStatusCreateBody'
455
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedPaymentConditionsBody'
456
+ * - type: object
457
+ * required:
458
+ * - feePaymentAddress
459
+ * - feePaymentAmount
460
+ * - feePaymentWindow
461
+ * CredentialStatusCreateEncryptedJsonRequest:
462
+ * allOf:
463
+ * - $ref: '#/components/schemas/CredentialStatusCreateBody'
464
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedPaymentConditionsJson'
465
+ * - type: object
466
+ * required:
467
+ * - paymentConditions
468
+ * example:
469
+ * did: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
470
+ * statusListName: cheqd-employee-credentials-encrypted
471
+ * paymentConditions:
472
+ * - feePaymentAddress: cheqd1qs0nhyk868c246defezhz5eymlt0dmajna2csg
473
+ * feePaymentAmount: 20
474
+ * feePaymentWindow: 10
475
+ * CredentialStatusEncryptedResult:
476
+ * type: object
477
+ * properties:
478
+ * resource:
479
+ * type: object
480
+ * properties:
481
+ * StatusList2021:
482
+ * type: object
483
+ * properties:
484
+ * encodedList:
485
+ * type: string
486
+ * example: 496fdfbeb745b4db03fcdb40566f9c4c4a1c0f184b31255e641b6e7bdfb9b6946c12be87ca3763be0393c00b67ac1e8737c106b32f46ef59c765754415b5e8cc7c65fccaa3374620430ea476301a5e0dd63340e7a27a68bc627518471f22e4a2
487
+ * type:
488
+ * type: string
489
+ * example: StatusList2021Revocation
490
+ * validFrom:
491
+ * type: string
492
+ * format: date-time
493
+ * example: 2023-06-26T11:45:19.349Z
494
+ * metadata:
495
+ * type: object
496
+ * properties:
497
+ * type:
498
+ * type: string
499
+ * example: StatusList2021Revocation
500
+ * encoding:
501
+ * type: string
502
+ * example: base64url
503
+ * encrypted:
504
+ * type: boolean
505
+ * example: true
506
+ * encryptedSymmetricKey:
507
+ * type: string
508
+ * example: b11182dc524b8181f9a6aef4c4ad0a1c14e40033b9112dffd8d1bcf6cc3b85abc07ded2205ee94068a99f4202502cb0855f322583fa6ce1534d3a05bf36891766ea2c5f90a982b3040680762977d404d758a2370224a239c8279aa7d21e980931c42055b17ca4c7dbffa4782480a8b6279cf989b2f166d5fdb4b2c1b5a63927200000000000000203018dcaba26df45a415bb599218b27ca853a70289d7a3ed3ed0e3730452e8f8d9af91b6e71312565d2c069341f6660ab
509
+ * paymentConditions:
510
+ * type: array
511
+ * items:
512
+ * type: object
513
+ * properties:
514
+ * feePaymentAddress:
515
+ * type: string
516
+ * example: cheqd1qs0nhyk868c246defezhz5eymlt0dmajna2csg
517
+ * feePaymentAmount:
518
+ * type: string
519
+ * example: 20000000000ncheq
520
+ * intervalInSeconds:
521
+ * type: number
522
+ * example: 600
523
+ * type:
524
+ * type: string
525
+ * example: timelockPayment
526
+ * resourceMetadata:
527
+ * type: object
528
+ * example:
529
+ * resourceURI: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e/resources/5945233a-a4b5-422b-b893-eaed5cedd2dc
530
+ * resourceCollectionId: 7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
531
+ * resourceId: 5945233a-a4b5-422b-b893-eaed5cedd2dc
532
+ * resourceName: cheqd-revocation-encrypted-1
533
+ * resourceType: StatusList2021Revocation
534
+ * mediaType: application/json
535
+ * resourceVersion: 2023-06-26T11:45:19.349Z
536
+ * created: 2023-06-26T11:45:20Z
537
+ * checksum: 909e22e371a41afbb96c330a97752cf7c8856088f1f937f87decbef06cbe9ca2
538
+ * previousVersionId: null
539
+ * nextVersionId: null
540
+ * symmetricKey:
541
+ * type: string
542
+ * example: dfe204ee95ae74ea5d74b94c3d8ff782273905b07fbc9f8c3d961c3b43849f18
543
+ * CredentialStatusCreateEncryptedResult:
544
+ * allOf:
545
+ * - type: object
546
+ * properties:
547
+ * created:
548
+ * type: boolean
549
+ * example: true
550
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedResult'
551
+ * CredentialStatusUpdateBody:
552
+ * type: object
553
+ * required:
554
+ * - did
555
+ * - statusListName
556
+ * - indices
557
+ * properties:
558
+ * did:
559
+ * description: DID of the StatusList2021 publisher.
560
+ * type: string
561
+ * format: uri
562
+ * statusListName:
563
+ * description: The name of the StatusList2021 DID-Linked Resource to be updated.
564
+ * type: string
565
+ * indices:
566
+ * description: List of credential status indices to be updated. The indices must be in the range of the status list.
567
+ * type: array
568
+ * items:
569
+ * type: integer
570
+ * minimum: 0
571
+ * exclusiveMinimum: false
572
+ * statusListVersion:
573
+ * description: Optional field to assign a human-readable version in the StatusList2021 DID-Linked Resource.
574
+ * type: string
575
+ * CredentialStatusUpdateUnencryptedRequest:
576
+ * allOf:
577
+ * - $ref: '#/components/schemas/CredentialStatusUpdateBody'
578
+ * example:
579
+ * did: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
580
+ * statusListName: cheqd-employee-credentials
581
+ * indices:
582
+ * - 10
583
+ * - 3199
584
+ * - 12109
585
+ * - 130999
586
+ * CredentialStatusUpdateUnencryptedResult:
587
+ * allOf:
588
+ * - type: object
589
+ * properties:
590
+ * updated:
591
+ * type: boolean
592
+ * example: true
593
+ * - oneOf:
594
+ * - $ref: '#/components/schemas/RevocationResult'
595
+ * - $ref: '#/components/schemas/SuspensionResult'
596
+ * - $ref: '#/components/schemas/UnsuspensionResult'
597
+ * - $ref: '#/components/schemas/CredentialStatusUnencryptedResult'
598
+ * CredentialStatusUpdateEncryptedFormRequest:
599
+ * allOf:
600
+ * - $ref: '#/components/schemas/CredentialStatusUpdateBody'
601
+ * - type: object
602
+ * required:
603
+ * - symmetricKey
604
+ * properties:
605
+ * symmetricKey:
606
+ * description: The symmetric key used to encrypt the StatusList2021 DID-Linked Resource.
607
+ * type: string
608
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedPaymentConditionsBody'
609
+ * CredentialStatusUpdateEncryptedJsonRequest:
610
+ * allOf:
611
+ * - $ref: '#/components/schemas/CredentialStatusUpdateBody'
612
+ * - type: object
613
+ * required:
614
+ * - symmetricKey
615
+ * properties:
616
+ * symmetricKey:
617
+ * description: The symmetric key used to encrypt the StatusList2021 DID-Linked Resource.
618
+ * type: string
619
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedPaymentConditionsJson'
620
+ * example:
621
+ * did: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
622
+ * statusListName: cheqd-employee-credentials-encrypted
623
+ * indices:
624
+ * - 10
625
+ * - 3199
626
+ * - 12109
627
+ * - 130999
628
+ * symmetricKey: dfe204ee95ae74ea5d74b94c3d8ff782273905b07fbc9f8c3d961c3b43849f18
629
+ * CredentialStatusUpdateEncryptedResult:
630
+ * allOf:
631
+ * - type: object
632
+ * properties:
633
+ * updated:
634
+ * type: boolean
635
+ * example: true
636
+ * - oneOf:
637
+ * - $ref: '#/components/schemas/RevocationResult'
638
+ * - $ref: '#/components/schemas/SuspensionResult'
639
+ * - $ref: '#/components/schemas/UnsuspensionResult'
640
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedResult'
641
+ * CredentialStatusCheckRequest:
642
+ * type: object
643
+ * required:
644
+ * - did
645
+ * - statusListName
646
+ * - index
647
+ * properties:
648
+ * did:
649
+ * description: DID of the StatusList2021 publisher.
650
+ * type: string
651
+ * format: uri
652
+ * statusListName:
653
+ * description: The name of the StatusList2021 DID-Linked Resource to be checked.
654
+ * type: string
655
+ * index:
656
+ * description: Credential status index to be checked for revocation or suspension.
657
+ * type: integer
658
+ * minimum: 0
659
+ * exclusiveMinimum: false
660
+ * makeFeePayment:
661
+ * description: Automatically make fee payment (if required) based on payment conditions to unlock encrypted StatusList2021 DID-Linked Resource.
662
+ * type: boolean
663
+ * default: true
664
+ * CredentialStatusCheckResult:
665
+ * oneOf:
666
+ * - $ref: '#/components/schemas/CredentialStatusCheckRevocationResult'
667
+ * - $ref: '#/components/schemas/CredentialStatusCheckSuspensionResult'
668
+ * CredentialStatusCheckRevocationResult:
669
+ * type: object
670
+ * properties:
671
+ * checked:
672
+ * type: boolean
673
+ * example: true
674
+ * revoked:
675
+ * type: boolean
676
+ * example: false
677
+ * CredentialStatusCheckSuspensionResult:
678
+ * type: object
679
+ * properties:
680
+ * checked:
681
+ * type: boolean
682
+ * example: true
683
+ * suspended:
684
+ * type: boolean
685
+ * example: false
686
+ * CredentialStatusListSearchResult:
687
+ * allOf:
688
+ * - type: object
689
+ * properties:
690
+ * found:
691
+ * type: boolean
692
+ * example: true
693
+ * - oneOf:
694
+ * - $ref: '#/components/schemas/CredentialStatusUnencryptedResult'
695
+ * - $ref: '#/components/schemas/CredentialStatusEncryptedResult'
696
+ * KeyImportRequest:
697
+ * type: object
698
+ * properties:
699
+ * alias:
700
+ * type: string
701
+ * type:
702
+ * type: string
703
+ * enum: [ Ed25519, Secp256k1 ]
704
+ * privateKeyHex:
705
+ * type: string
706
+ * KeyResult:
707
+ * type: object
708
+ * properties:
709
+ * kid:
710
+ * type: string
711
+ * type:
712
+ * type: string
713
+ * enum: [ Ed25519, Secp256k1 ]
714
+ * publicKeyHex:
715
+ * type: string
716
+ * DidDocument:
717
+ * description: This input field contains either a complete DID document, or an incremental change (diff) to a DID document. See <a href="https://identity.foundation/did-registration/#diddocument">Universal DID Registrar specification</a>.
718
+ * type: object
719
+ * properties:
720
+ * '@context':
721
+ * type: array
722
+ * items:
723
+ * type: string
724
+ * id:
725
+ * type: string
726
+ * controllers:
727
+ * type: array
728
+ * items:
729
+ * type: string
730
+ * verificationMethod:
731
+ * type: array
732
+ * items:
733
+ * $ref: '#/components/schemas/VerificationMethod'
734
+ * service:
735
+ * type: array
736
+ * items:
737
+ * $ref: '#/components/schemas/Service'
738
+ * authentication:
739
+ * type: array
740
+ * items:
741
+ * type: string
742
+ * assertionMethod:
743
+ * type: array
744
+ * items:
745
+ * type: string
746
+ * capabilityInvocation:
747
+ * type: array
748
+ * items:
749
+ * type: string
750
+ * capabilityDelegation:
751
+ * type: array
752
+ * items:
753
+ * type: string
754
+ * keyAgreement:
755
+ * type: array
756
+ * items:
757
+ * type: string
758
+ * example:
759
+ * '@context':
760
+ * - https://www.w3.org/ns/did/v1
761
+ * id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
762
+ * controller:
763
+ * - did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
764
+ * verificationMethod:
765
+ * - id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#key-1
766
+ * type: Ed25519VerificationKey2018
767
+ * controller: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
768
+ * publicKeyBase58: z6MkkVbyHJLLjdjU5B62DaJ4mkdMdUkttf9UqySSkA9bVTeZ
769
+ * authentication:
770
+ * - did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#key-1
771
+ * service:
772
+ * - id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#service-1
773
+ * type: LinkedDomains
774
+ * serviceEndpoint:
775
+ * - https://example.com
776
+ * DidDocumentWithoutVerificationMethod:
777
+ * type: object
778
+ * properties:
779
+ * '@context':
780
+ * type: array
781
+ * items:
782
+ * type: string
783
+ * id:
784
+ * type: string
785
+ * controllers:
786
+ * type: array
787
+ * items:
788
+ * type: string
789
+ * service:
790
+ * type: array
791
+ * items:
792
+ * $ref: '#/components/schemas/Service'
793
+ * authentication:
794
+ * type: array
795
+ * items:
796
+ * type: string
797
+ * assertionMethod:
798
+ * type: array
799
+ * items:
800
+ * type: string
801
+ * capabilityInvocation:
802
+ * type: array
803
+ * items:
804
+ * type: string
805
+ * capabilityDelegation:
806
+ * type: array
807
+ * items:
808
+ * type: string
809
+ * keyAgreement:
810
+ * type: array
811
+ * items:
812
+ * type: string
813
+ * example:
814
+ * '@context':
815
+ * - https://www.w3.org/ns/did/v1
816
+ * id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
817
+ * controller:
818
+ * - did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
819
+ * authentication:
820
+ * - did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#key-1
821
+ * service:
822
+ * - id: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#service-1
823
+ * type: LinkedDomains
824
+ * serviceEndpoint:
825
+ * - https://example.com
826
+ * DidCreateRequestFormBased:
827
+ * type: object
828
+ * properties:
829
+ * network:
830
+ * description: Network to create the DID on (testnet or mainnet)
831
+ * type: string
832
+ * enum:
833
+ * - testnet
834
+ * - mainnet
835
+ * identifierFormatType:
836
+ * description: Algorithm to use for generating the method-specific ID. The two styles supported are UUIDs and Indy-style Base58. See <a href="https://docs.cheqd.io/identity/architecture/adr-list/adr-001-cheqd-did-method#cheqd-did-method-did-cheqd">cheqd DID method documentation</a> for more details.
837
+ * type: string
838
+ * enum:
839
+ * - uuid
840
+ * - base58btc
841
+ * verificationMethodType:
842
+ * description: Type of verification method to use for the DID. See <a href="https://www.w3.org/TR/did-core/#verification-methods">DID Core specification</a> for more details. Only the types listed below are supported.
843
+ * type: string
844
+ * enum:
845
+ * - Ed25519VerificationKey2018
846
+ * - JsonWebKey2020
847
+ * - Ed25519VerificationKey2020
848
+ * service:
849
+ * description: It's a list of special objects which are designed to build the actual service. It's almost the same as in <a href="https://www.w3.org/TR/did-core/#services">DID Core specification</a>, but instead of `id` it utilises `idFragment` field for making the right `id` for each service. !!! WARN. Cause swagger-ui does not handle x-ww-form based arrays correctly, please frame all your services in brackets while using swagger UI. !!!
850
+ * type: array
851
+ * items:
852
+ * type: object
853
+ * properties:
854
+ * idFragment:
855
+ * type: string
856
+ * type:
857
+ * type: string
858
+ * serviceEndpoint:
859
+ * type: array
860
+ * items:
861
+ * type: string
862
+ * example:
863
+ * - idFragment: service-1
864
+ * type: LinkedDomains
865
+ * serviceEndpoint: [
866
+ * https://example.com
867
+ * ]
868
+ *
869
+ * key:
870
+ * description: The unique identifier in hexadecimal public key format used in the verification method to create the DID.
871
+ * type: string
872
+ * '@context':
873
+ * type: array
874
+ * items:
875
+ * type: string
876
+ * example:
877
+ * - https://www.w3.org/ns/did/v1
878
+ *
879
+ * DidCreateRequestJson:
880
+ * type: object
881
+ * properties:
882
+ * network:
883
+ * description: Network to create the DID on (testnet or mainnet)
884
+ * type: string
885
+ * enum:
886
+ * - testnet
887
+ * - mainnet
888
+ * identifierFormatType:
889
+ * description: Algorithm to use for generating the method-specific ID. The two styles supported are UUIDs and Indy-style Base58. See <a href="https://docs.cheqd.io/identity/architecture/adr-list/adr-001-cheqd-did-method#cheqd-did-method-did-cheqd">cheqd DID method documentation</a> for more details.
890
+ * type: string
891
+ * enum:
892
+ * - uuid
893
+ * - base58btc
894
+ * assertionMethod:
895
+ * description: Usually a reference to a Verification Method. An Assertion Method is required to issue JSON-LD credentials. See <a href="https://w3c.github.io/did-core/#assertion">DID Core specification</a> for more details.
896
+ * type: boolean
897
+ * default: true
898
+ * options:
899
+ * type: object
900
+ * properties:
901
+ * key:
902
+ * type: string
903
+ * example: 8255ddadd75695e01f3d98fcec8ccc7861a030b317d4326b0e48a4d579ddc43a
904
+ * verificationMethodType:
905
+ * description: Type of verification method to use for the DID. See <a href="https://www.w3.org/TR/did-core/#verification-methods">DID Core specification</a> for more details. Only the types listed below are supported.
906
+ * type: string
907
+ * enum:
908
+ * - Ed25519VerificationKey2018
909
+ * - JsonWebKey2020
910
+ * - Ed25519VerificationKey2020
911
+ * didDocument:
912
+ * $ref: '#/components/schemas/DidDocumentWithoutVerificationMethod'
913
+ * DidImportRequest:
914
+ * type: object
915
+ * properties:
916
+ * did:
917
+ * type: string
918
+ * description: DID to be imported
919
+ * format: uri
920
+ * required: true
921
+ * keys:
922
+ * type: array
923
+ * description: List of keys required to import the DID
924
+ * required: true
925
+ * items:
926
+ * $ref: '#/components/schemas/KeyImportRequest'
927
+ * PresentationCreateResult:
928
+ * type: object
929
+ * properties:
930
+ * vp:
931
+ * type: object
932
+ * description: Verifiable Presentation which could be provided to the verifier.
933
+ * nbf:
934
+ * type: integer
935
+ * description: Unix timestamp of the earliest time that the Verifiable Presentation is valid.
936
+ * iss:
937
+ * type: string
938
+ * description: DID of the issuer of the Verifiable Presentation. (Here it's supposed to be a holder DID)
939
+ * aud:
940
+ * type: array
941
+ * items:
942
+ * type: string
943
+ * description: DID of the verifier of the Verifiable Presentation.
944
+ * example:
945
+ * vp:
946
+ * '@context':
947
+ * - https://www.w3.org/2018/credentials/v1
948
+ * type:
949
+ * - VerifiablePresentation
950
+ * verifiableCredential:
951
+ * - eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJ2YyI6eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSIsImh0dHBzOi8vc2NoZW1hLm9yZy9zY2hlbWEuanNvbmxkIiwiaHR0cHM6Ly92ZXJhbW8uaW8vY29udGV4dHMvcHJvZmlsZS92MSIsImh0dHBzOi8vdzNpZC5vcmcvdmMtc3RhdHVzLWxpc3QtMjAyMS92MSJdLCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIiwiUGVyc29uIl0sImNyZWRlbnRpYWxTdWJqZWN0Ijp7Im5hbWUiOiJCb2IiLCJnZW5kZXIiOiJtYWxlIn0sImNyZWRlbnRpYWxTdGF0dXMiOnsiaWQiOiJodHRwczovL3Jlc29sdmVyLmNoZXFkLm5ldC8xLjAvaWRlbnRpZmllcnMvZGlkOmNoZXFkOnRlc3RuZXQ6OTBkNWMxNDEtNzI0Zi00N2FkLTlhZTctYTdjMzNhOWU1NjQzP3Jlc291cmNlTmFtZT1zdXNwZW5zaW9uRW4mcmVzb3VyY2VUeXBlPVN0YXR1c0xpc3QyMDIxU3VzcGVuc2lvbiMxMzMzOCIsInR5cGUiOiJTdGF0dXNMaXN0MjAyMUVudHJ5Iiwic3RhdHVzUHVycG9zZSI6InN1c3BlbnNpb24iLCJzdGF0dXNMaXN0SW5kZXgiOiIxMzMzOCJ9fSwic3ViIjoiZGlkOmtleTp6Nk1raGFYZ0JaRHZvdERrTDUyNTdmYWl6dGlHaUMyUXRLTEdwYm5uRUd0YTJkb0siLCJuYmYiOjE3MDA0NzM0MTYsImlzcyI6ImRpZDpjaGVxZDp0ZXN0bmV0OjkwZDVjMTQxLTcyNGYtNDdhZC05YWU3LWE3YzMzYTllNTY0MyJ9.-14Ril1pZEy2HEEo48gTJr2yOtGxBhUGTFmzVdjAtyhFRsW5zZg9onHt6V9JQ8BaiYBlTkP9GzTnJ-O6hdiyCw
952
+ * nbf: 1700744275
953
+ * iss: did:cheqd:testnet:4b846d0f-2f6c-4ab6-9fe2-5b8db301c83c
954
+ * aud:
955
+ * - did:cheqd:testnet:8c71e9b6-c5a3-4250-8c58-fa591533cd22
956
+ * DidResult:
957
+ * type: object
958
+ * properties:
959
+ * did:
960
+ * type: string
961
+ * controllerKeyId:
962
+ * type: string
963
+ * keys:
964
+ * type: array
965
+ * items:
966
+ * type: object
967
+ * services:
968
+ * type: array
969
+ * items:
970
+ * $ref: '#/components/schemas/Service'
971
+ * DidUpdateResponse:
972
+ * type: object
973
+ * properties:
974
+ * did:
975
+ * type: string
976
+ * controllerKeyId:
977
+ * type: string
978
+ * description: The default key id of which is the key associated with the first verificationMethod
979
+ * keys:
980
+ * type: array
981
+ * description: The list of keys associated with the list of verificationMethod's of DIDDocument
982
+ * items:
983
+ * type: object
984
+ * services:
985
+ * type: array
986
+ * items:
987
+ * $ref: '#/components/schemas/Service'
988
+ * controllerKeyRefs:
989
+ * type: array
990
+ * description: The list of keyRefs which were used for signing the transaction
991
+ * items:
992
+ * type: string
993
+ * controllerKeys:
994
+ * type: array
995
+ * description: The list of all possible keys, inlcuding all controller's keys
996
+ * items:
997
+ * type: string
998
+ * VerificationMethod:
999
+ * type: object
1000
+ * properties:
1001
+ * id:
1002
+ * type: string
1003
+ * type:
1004
+ * type: string
1005
+ * controller:
1006
+ * type: string
1007
+ * publicKeyMultibase:
1008
+ * type: string
1009
+ * publicKeyJwk:
1010
+ * type: array
1011
+ * items:
1012
+ * type: string
1013
+ * example:
1014
+ * controller: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
1015
+ * id: did:cheqd:testnet :7bf81a20-633c-4cc7-bc4a-5a45801005e0#key-1
1016
+ * publicKeyBase58: BTJiso1S4iSiReP6wGksSneGfiKHxz9SYcm2KknpqBJt
1017
+ * type: Ed25519VerificationKey2018
1018
+ * Service:
1019
+ * description: Communicating or interacting with the DID subject or associated entities via one or more service endpoints. See <a href="https://www.w3.org/TR/did-core/#services">DID Core specification</a> for more details.
1020
+ * type: object
1021
+ * properties:
1022
+ * id:
1023
+ * description: DID appended with Service fragment ID (e.g., `#service-1` in `did:cheqd:mainnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#service-1`)
1024
+ * type: string
1025
+ * example: did:cheqd:mainnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#service-1
1026
+ * type:
1027
+ * description: Service type as defined in <a href="https://www.w3.org/TR/did-spec-registries/#service-types">DID Specification Registries</a>.
1028
+ * type: string
1029
+ * example: LinkedDomains
1030
+ * serviceEndpoint:
1031
+ * description: Service endpoint as defined in <a href="https://www.w3.org/TR/did-core/#services">DID Core Specification</a>.
1032
+ * type: array
1033
+ * items:
1034
+ * type: string
1035
+ * example: https://example.com
1036
+ * DidUpdateRequest:
1037
+ * type: object
1038
+ * properties:
1039
+ * did:
1040
+ * description: DID identifier to be updated.
1041
+ * type: string
1042
+ * example: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
1043
+ * service:
1044
+ * type: array
1045
+ * description: Service section of the DID Document.
1046
+ * items:
1047
+ * $ref: '#/components/schemas/Service'
1048
+ * verificationMethod:
1049
+ * type: array
1050
+ * description: Verification Method section of the DID Document.
1051
+ * items:
1052
+ * $ref: '#/components/schemas/VerificationMethod'
1053
+ * authentication:
1054
+ * description: Authentication section of the DID Document.
1055
+ * type: array
1056
+ * items:
1057
+ * type: string
1058
+ * publicKeyHexs:
1059
+ * description: List of key references (publicKeys) which will be used for signing the message. The should be in hexadecimal format and placed in the wallet of current user.
1060
+ * type: array
1061
+ * items:
1062
+ * type: string
1063
+ * didDocument:
1064
+ * $ref: '#/components/schemas/DidDocument'
1065
+ * DidDeactivateRequest:
1066
+ * type: object
1067
+ * properties:
1068
+ * publicKeyHexs:
1069
+ * description: List of key references (publicKeys) which will be used for signing the message. The should be in hexadecimal format and placed in the wallet of current user.
1070
+ * type: array
1071
+ * items:
1072
+ * type: string
1073
+ * CreateResourceRequest:
1074
+ * description: Input fields for DID-Linked Resource creation.
1075
+ * type: object
1076
+ * additionalProperties: false
1077
+ * required:
1078
+ * - name
1079
+ * - type
1080
+ * - data
1081
+ * - encoding
1082
+ * properties:
1083
+ * data:
1084
+ * description: Encoded string containing the data to be stored in the DID-Linked Resource.
1085
+ * type: string
1086
+ * encoding:
1087
+ * description: Encoding format used to encode the data.
1088
+ * type: string
1089
+ * enum:
1090
+ * - base64url
1091
+ * - base64
1092
+ * - hex
1093
+ * name:
1094
+ * description: Name of DID-Linked Resource.
1095
+ * type: string
1096
+ * type:
1097
+ * description: Type of DID-Linked Resource. This is NOT the same as the media type, which is calculated automatically ledger-side.
1098
+ * type: string
1099
+ * alsoKnownAs:
1100
+ * description: Optional field to assign a set of alternative URIs where the DID-Linked Resource can be fetched from.
1101
+ * type: array
1102
+ * items:
1103
+ * type: object
1104
+ * properties:
1105
+ * uri:
1106
+ * type: string
1107
+ * description:
1108
+ * type: string
1109
+ * version:
1110
+ * description: Optional field to assign a human-readable version in the DID-Linked Resource.
1111
+ * type: string
1112
+ * publicKeyHexs:
1113
+ * description: List of key references (publicKeys) which will be used for signing the message. The should be in hexadecimal format and placed in the wallet of current user.
1114
+ * type: array
1115
+ * items:
1116
+ * type: string
1117
+ * example:
1118
+ * data: SGVsbG8gV29ybGQ=
1119
+ * encoding: base64url
1120
+ * name: ResourceName
1121
+ * type: TextDocument
1122
+ * ResourceList:
1123
+ * type: object
1124
+ * properties:
1125
+ * '@context':
1126
+ * type: string
1127
+ * example: https://w3id.org/did-resolution/v1
1128
+ * contentMetadata:
1129
+ * type: object
1130
+ * contentStream:
1131
+ * type: object
1132
+ * dereferencingMetadata:
1133
+ * $ref: '#/components/schemas/DereferencingMetadata'
1134
+ * DereferencingMetadata:
1135
+ * type: object
1136
+ * properties:
1137
+ * contentType:
1138
+ * type: string
1139
+ * example: application/did+ld+json
1140
+ * did:
1141
+ * $ref: '#/components/schemas/DidProperties'
1142
+ * retrieved:
1143
+ * type: string
1144
+ * example: "2021-09-01T12:00:00Z"
1145
+ * DidResolution:
1146
+ * type: object
1147
+ * properties:
1148
+ * '@context':
1149
+ * type: string
1150
+ * example: https://w3id.org/did-resolution/v1
1151
+ * didDidResolutionMetadata:
1152
+ * $ref: '#/components/schemas/DidResolutionMetadata'
1153
+ * didDocument:
1154
+ * $ref: '#/components/schemas/DidDocument'
1155
+ * didDocumentMetadata:
1156
+ * $ref: '#/components/schemas/DidDocumentMetadata'
1157
+ * DeactivatedDidResolution:
1158
+ * type: object
1159
+ * properties:
1160
+ * '@context':
1161
+ * type: string
1162
+ * example: https://w3id.org/did-resolution/v1
1163
+ * didDidResolutionMetadata:
1164
+ * $ref: '#/components/schemas/DidResolutionMetadata'
1165
+ * didDocument:
1166
+ * $ref: '#/components/schemas/DidDocument'
1167
+ * didDocumentMetadata:
1168
+ * $ref: '#/components/schemas/DeactivatedDidDocumentMetadata'
1169
+ * DidDocumentMetadata:
1170
+ * type: object
1171
+ * properties:
1172
+ * created:
1173
+ * type: string
1174
+ * example: "2021-09-01T12:00:00Z"
1175
+ * deactivated:
1176
+ * type: boolean
1177
+ * example: false
1178
+ * updated:
1179
+ * type: string
1180
+ * example: "2021-09-10T12:00:00Z"
1181
+ * versionId:
1182
+ * type: string
1183
+ * example: 3ccde6ba-6ba5-56f2-9f4f-8825561a9860
1184
+ * linkedResourceMetadata:
1185
+ * type: array
1186
+ * items:
1187
+ * $ref: '#/components/schemas/ResourceMetadata'
1188
+ * DeactivatedDidDocumentMetadata:
1189
+ * type: object
1190
+ * properties:
1191
+ * created:
1192
+ * type: string
1193
+ * example: "2021-09-01T12:00:00Z"
1194
+ * deactivated:
1195
+ * type: boolean
1196
+ * example: true
1197
+ * updated:
1198
+ * type: string
1199
+ * example: "2021-09-10T12:00:00Z"
1200
+ * versionId:
1201
+ * type: string
1202
+ * example: 3ccde6ba-6ba5-56f2-9f4f-8825561a9860
1203
+ * linkedResourceMetadata:
1204
+ * type: array
1205
+ * items:
1206
+ * $ref: '#/components/schemas/ResourceMetadata'
1207
+ * ResourceMetadata:
1208
+ * type: object
1209
+ * properties:
1210
+ * resourceURI:
1211
+ * type: string
1212
+ * example: did:cheqd:testnet:55dbc8bf-fba3-4117-855c-1e0dc1d3bb47/resources/398cee0a-efac-4643-9f4c-74c48c72a14b
1213
+ * resourceCollectionId:
1214
+ * type: string
1215
+ * example: 55dbc8bf-fba3-4117-855c-1e0dc1d3bb47
1216
+ * resourceId:
1217
+ * type: string
1218
+ * example: 398cee0a-efac-4643-9f4c-74c48c72a14b
1219
+ * resourceName:
1220
+ * type: string
1221
+ * example: cheqd-issuer-logo
1222
+ * resourceType:
1223
+ * type: string
1224
+ * example: CredentialArtwork
1225
+ * mediaType:
1226
+ * type: string
1227
+ * example: image/png
1228
+ * resourceVersion:
1229
+ * type: string
1230
+ * example: "1.0"
1231
+ * checksum:
1232
+ * type: string
1233
+ * example: a95380f460e63ad939541a57aecbfd795fcd37c6d78ee86c885340e33a91b559
1234
+ * created:
1235
+ * type: string
1236
+ * example: "2021-09-01T12:00:00Z"
1237
+ * nextVersionId:
1238
+ * type: string
1239
+ * example: d4829ac7-4566-478c-a408-b44767eddadc
1240
+ * previousVersionId:
1241
+ * type: string
1242
+ * example: ad7a8442-3531-46eb-a024-53953ec6e4ff
1243
+ * DidResolutionMetadata:
1244
+ * type: object
1245
+ * properties:
1246
+ * contentType:
1247
+ * allOf:
1248
+ * - $ref: '#/components/schemas/ContentType'
1249
+ * example: application/did+ld+json
1250
+ * retrieved:
1251
+ * type: string
1252
+ * example: '2021-09-01T12:00:00Z'
1253
+ * did:
1254
+ * $ref: '#/components/schemas/DidProperties'
1255
+ * ContentType:
1256
+ * type: string
1257
+ * enum:
1258
+ * - application/did+json
1259
+ * - application/did+ld+json
1260
+ * - application/ld+json
1261
+ * - application/json
1262
+ * DidProperties:
1263
+ * type: object
1264
+ * properties:
1265
+ * didString:
1266
+ * type: string
1267
+ * example: did:cheqd:testnet:55dbc8bf-fba3-4117-855c-1e0dc1d3bb47
1268
+ * method:
1269
+ * type: string
1270
+ * example: cheqd
1271
+ * methodSpecificId:
1272
+ * type: string
1273
+ * example: 55dbc8bf-fba3-4117-855c-1e0dc1d3bb47
1274
+ * Customer:
1275
+ * type: object
1276
+ * properties:
1277
+ * customerId:
1278
+ * type: string
1279
+ * example: 6w5drpiiwhhs
1280
+ * address:
1281
+ * type: string
1282
+ * example: cheqd1wgsvqwlkmdp60f4dek26ak0sjw6au3ytd3pz7f
1283
+ * AccountCreateRequest:
1284
+ * type: object
1285
+ * properties:
1286
+ * user:
1287
+ * type: object
1288
+ * properties:
1289
+ * primaryEmail:
1290
+ * type: string
1291
+ * InvalidRequest:
1292
+ * description: A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
1293
+ * type: object
1294
+ * properties:
1295
+ * error:
1296
+ * type: string
1297
+ * example: InvalidRequest
1298
+ * InternalError:
1299
+ * description: An internal error has occurred. Additional state information plus metadata may be available in the response body.
1300
+ * type: object
1301
+ * properties:
1302
+ * error:
1303
+ * type: string
1304
+ * example: Internal Error
1305
+ * UnauthorizedError:
1306
+ * description: Access token is missing or invalid
1307
+ * type: object
1308
+ * properties:
1309
+ * error:
1310
+ * type: string
1311
+ * example: Unauthorized Error
1312
+ */
1313
+ //# sourceMappingURL=swagger-api-types.js.map