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