@marcoappio/marco-config 2.0.598 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/dist/appwrite/appwrite.d.ts +18 -6
  2. package/dist/appwrite/appwrite.d.ts.map +1 -1
  3. package/dist/appwrite/appwrite.js +34 -2
  4. package/dist/appwrite/appwrite.test.js +20 -4
  5. package/dist/appwrite/index.d.ts +1 -1
  6. package/dist/appwrite/index.d.ts.map +1 -1
  7. package/dist/constants/index.d.ts +0 -8
  8. package/dist/constants/index.d.ts.map +1 -1
  9. package/dist/constants/index.js +0 -2
  10. package/dist/index.d.ts +3 -5
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +1 -3
  13. package/dist/index.test.d.ts +2 -0
  14. package/dist/index.test.d.ts.map +1 -0
  15. package/dist/index.test.js +26 -0
  16. package/dist/schemas/index.d.ts +1 -429
  17. package/dist/schemas/index.d.ts.map +1 -1
  18. package/dist/schemas/index.js +1 -10
  19. package/dist/schemas/models/index.d.ts +1 -1
  20. package/dist/schemas/models/index.d.ts.map +1 -1
  21. package/dist/schemas/models/index.js +1 -1
  22. package/dist/schemas/models/user.d.ts +0 -68
  23. package/dist/schemas/models/user.d.ts.map +1 -1
  24. package/dist/schemas/models/user.js +0 -19
  25. package/dist/types/index.d.ts +0 -6
  26. package/dist/types/index.d.ts.map +1 -1
  27. package/dist/types/index.js +0 -6
  28. package/dist/utils/index.d.ts +1 -0
  29. package/dist/utils/index.d.ts.map +1 -1
  30. package/dist/utils/index.js +1 -0
  31. package/dist/utils/validation/flattenRequirements/flattenRequirements.d.ts +8 -0
  32. package/dist/utils/validation/flattenRequirements/flattenRequirements.d.ts.map +1 -0
  33. package/dist/utils/validation/flattenRequirements/flattenRequirements.js +37 -0
  34. package/dist/utils/validation/flattenRequirements/flattenRequirements.test.d.ts +2 -0
  35. package/dist/utils/validation/flattenRequirements/flattenRequirements.test.d.ts.map +1 -0
  36. package/dist/utils/validation/flattenRequirements/flattenRequirements.test.js +25 -0
  37. package/dist/utils/validation/flattenRequirements/index.d.ts +2 -0
  38. package/dist/utils/validation/flattenRequirements/index.d.ts.map +1 -0
  39. package/dist/utils/validation/index.d.ts +2 -0
  40. package/dist/utils/validation/index.d.ts.map +1 -0
  41. package/dist/{sdk/validation/utils/flattenRequirements/index.d.ts → utils/validation/index.js} +0 -1
  42. package/package.json +4 -4
  43. package/dist/constants/api.d.ts +0 -9
  44. package/dist/constants/api.d.ts.map +0 -1
  45. package/dist/constants/api.js +0 -8
  46. package/dist/marcoPublicConfig.d.ts +0 -52
  47. package/dist/marcoPublicConfig.d.ts.map +0 -1
  48. package/dist/marcoPublicConfig.js +0 -144
  49. package/dist/marcoPublicConfig.test.d.ts +0 -2
  50. package/dist/marcoPublicConfig.test.d.ts.map +0 -1
  51. package/dist/marcoPublicConfig.test.js +0 -7
  52. package/dist/schemas/mutators/index.d.ts +0 -2
  53. package/dist/schemas/mutators/index.d.ts.map +0 -1
  54. package/dist/schemas/mutators/index.js +0 -1
  55. package/dist/schemas/mutators/mutatorSchemas.d.ts +0 -314
  56. package/dist/schemas/mutators/mutatorSchemas.d.ts.map +0 -1
  57. package/dist/schemas/mutators/mutatorSchemas.js +0 -229
  58. package/dist/schemas/mutators/mutatorSchemas.test.d.ts +0 -2
  59. package/dist/schemas/mutators/mutatorSchemas.test.d.ts.map +0 -1
  60. package/dist/schemas/mutators/mutatorSchemas.test.js +0 -39
  61. package/dist/schemas/stripe.d.ts +0 -43
  62. package/dist/schemas/stripe.d.ts.map +0 -1
  63. package/dist/schemas/stripe.js +0 -48
  64. package/dist/schemas/websocket.d.ts +0 -14
  65. package/dist/schemas/websocket.d.ts.map +0 -1
  66. package/dist/schemas/websocket.js +0 -10
  67. package/dist/sdk/endpoints/createEndpointConfig.d.ts +0 -12
  68. package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +0 -1
  69. package/dist/sdk/endpoints/createEndpointConfig.js +0 -21
  70. package/dist/sdk/endpoints/index.d.ts +0 -308
  71. package/dist/sdk/endpoints/index.d.ts.map +0 -1
  72. package/dist/sdk/endpoints/index.js +0 -6
  73. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +0 -31
  74. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +0 -1
  75. package/dist/sdk/endpoints/private/draftAttachment/index.js +0 -4
  76. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +0 -30
  77. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +0 -1
  78. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.js +0 -18
  79. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -21
  80. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +0 -1
  81. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +0 -16
  82. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -22
  83. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +0 -1
  84. package/dist/sdk/endpoints/private/emailMessage/index.js +0 -4
  85. package/dist/sdk/endpoints/private/index.d.ts +0 -156
  86. package/dist/sdk/endpoints/private/index.d.ts.map +0 -1
  87. package/dist/sdk/endpoints/private/index.js +0 -12
  88. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +0 -70
  89. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +0 -1
  90. package/dist/sdk/endpoints/private/models/account/getAccounts.js +0 -26
  91. package/dist/sdk/endpoints/private/models/account/index.d.ts +0 -2
  92. package/dist/sdk/endpoints/private/models/account/index.d.ts.map +0 -1
  93. package/dist/sdk/endpoints/private/models/account/index.js +0 -1
  94. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +0 -41
  95. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +0 -1
  96. package/dist/sdk/endpoints/private/models/contact/getContacts.js +0 -26
  97. package/dist/sdk/endpoints/private/models/contact/index.d.ts +0 -2
  98. package/dist/sdk/endpoints/private/models/contact/index.d.ts.map +0 -1
  99. package/dist/sdk/endpoints/private/models/contact/index.js +0 -1
  100. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +0 -62
  101. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +0 -1
  102. package/dist/sdk/endpoints/private/models/draft/getDrafts.js +0 -25
  103. package/dist/sdk/endpoints/private/models/draft/index.d.ts +0 -2
  104. package/dist/sdk/endpoints/private/models/draft/index.d.ts.map +0 -1
  105. package/dist/sdk/endpoints/private/models/draft/index.js +0 -1
  106. package/dist/sdk/endpoints/private/models/index.d.ts +0 -13
  107. package/dist/sdk/endpoints/private/models/index.d.ts.map +0 -1
  108. package/dist/sdk/endpoints/private/models/index.js +0 -12
  109. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +0 -63
  110. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +0 -1
  111. package/dist/sdk/endpoints/private/models/thread/getThread.js +0 -17
  112. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +0 -63
  113. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +0 -1
  114. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +0 -17
  115. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +0 -79
  116. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +0 -1
  117. package/dist/sdk/endpoints/private/models/thread/getThreadList.js +0 -47
  118. package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +0 -83
  119. package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts.map +0 -1
  120. package/dist/sdk/endpoints/private/models/thread/getThreads.js +0 -36
  121. package/dist/sdk/endpoints/private/models/thread/index.d.ts +0 -5
  122. package/dist/sdk/endpoints/private/models/thread/index.d.ts.map +0 -1
  123. package/dist/sdk/endpoints/private/models/thread/index.js +0 -4
  124. package/dist/sdk/endpoints/private/models/user/getUser.d.ts +0 -75
  125. package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +0 -1
  126. package/dist/sdk/endpoints/private/models/user/getUser.js +0 -16
  127. package/dist/sdk/endpoints/private/models/user/index.d.ts +0 -2
  128. package/dist/sdk/endpoints/private/models/user/index.d.ts.map +0 -1
  129. package/dist/sdk/endpoints/private/models/user/index.js +0 -1
  130. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +0 -35
  131. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +0 -1
  132. package/dist/sdk/endpoints/private/mutations/account/createAccount.js +0 -18
  133. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +0 -42
  134. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +0 -1
  135. package/dist/sdk/endpoints/private/mutations/account/createAlias.js +0 -19
  136. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +0 -44
  137. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +0 -1
  138. package/dist/sdk/endpoints/private/mutations/account/createLabel.js +0 -20
  139. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +0 -27
  140. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +0 -1
  141. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +0 -18
  142. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +0 -33
  143. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +0 -1
  144. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +0 -19
  145. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +0 -43
  146. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +0 -1
  147. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.js +0 -20
  148. package/dist/sdk/endpoints/private/mutations/account/index.d.ts +0 -14
  149. package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +0 -1
  150. package/dist/sdk/endpoints/private/mutations/account/index.js +0 -13
  151. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +0 -49
  152. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +0 -1
  153. package/dist/sdk/endpoints/private/mutations/account/renameLabel.js +0 -21
  154. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +0 -44
  155. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +0 -1
  156. package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +0 -20
  157. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +0 -33
  158. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +0 -1
  159. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +0 -19
  160. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +0 -44
  161. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +0 -1
  162. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.js +0 -20
  163. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +0 -49
  164. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +0 -1
  165. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +0 -19
  166. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +0 -42
  167. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +0 -1
  168. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +0 -19
  169. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +0 -39
  170. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +0 -1
  171. package/dist/sdk/endpoints/private/mutations/account/setSettings.js +0 -19
  172. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +0 -28
  173. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +0 -1
  174. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +0 -18
  175. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +0 -45
  176. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +0 -1
  177. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +0 -19
  178. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +0 -60
  179. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +0 -1
  180. package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +0 -19
  181. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +0 -34
  182. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +0 -1
  183. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +0 -19
  184. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +0 -27
  185. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +0 -1
  186. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +0 -18
  187. package/dist/sdk/endpoints/private/mutations/draft/index.d.ts +0 -10
  188. package/dist/sdk/endpoints/private/mutations/draft/index.d.ts.map +0 -1
  189. package/dist/sdk/endpoints/private/mutations/draft/index.js +0 -9
  190. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +0 -39
  191. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +0 -1
  192. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.js +0 -19
  193. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +0 -45
  194. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +0 -1
  195. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +0 -19
  196. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +0 -85
  197. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +0 -1
  198. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +0 -19
  199. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +0 -47
  200. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +0 -1
  201. package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +0 -20
  202. package/dist/sdk/endpoints/private/mutations/index.d.ts +0 -11
  203. package/dist/sdk/endpoints/private/mutations/index.d.ts.map +0 -1
  204. package/dist/sdk/endpoints/private/mutations/index.js +0 -10
  205. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +0 -40
  206. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +0 -1
  207. package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +0 -19
  208. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +0 -34
  209. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +0 -1
  210. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +0 -18
  211. package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +0 -11
  212. package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +0 -1
  213. package/dist/sdk/endpoints/private/mutations/thread/index.js +0 -10
  214. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +0 -40
  215. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +0 -1
  216. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +0 -19
  217. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +0 -34
  218. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +0 -1
  219. package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +0 -18
  220. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +0 -35
  221. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +0 -1
  222. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +0 -18
  223. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +0 -34
  224. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +0 -1
  225. package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +0 -18
  226. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +0 -35
  227. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +0 -1
  228. package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +0 -18
  229. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +0 -35
  230. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +0 -1
  231. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.js +0 -18
  232. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +0 -34
  233. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +0 -1
  234. package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +0 -18
  235. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +0 -34
  236. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +0 -1
  237. package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +0 -18
  238. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +0 -34
  239. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +0 -1
  240. package/dist/sdk/endpoints/private/mutations/user/createFeedback.js +0 -18
  241. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +0 -38
  242. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +0 -1
  243. package/dist/sdk/endpoints/private/mutations/user/createView.js +0 -18
  244. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +0 -23
  245. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +0 -1
  246. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +0 -17
  247. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +0 -28
  248. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +0 -1
  249. package/dist/sdk/endpoints/private/mutations/user/deleteView.js +0 -18
  250. package/dist/sdk/endpoints/private/mutations/user/index.d.ts +0 -9
  251. package/dist/sdk/endpoints/private/mutations/user/index.d.ts.map +0 -1
  252. package/dist/sdk/endpoints/private/mutations/user/index.js +0 -8
  253. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +0 -32
  254. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +0 -1
  255. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.js +0 -18
  256. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +0 -37
  257. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +0 -1
  258. package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +0 -18
  259. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +0 -33
  260. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +0 -1
  261. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +0 -18
  262. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +0 -43
  263. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +0 -1
  264. package/dist/sdk/endpoints/private/mutations/user/updateView.js +0 -19
  265. package/dist/sdk/endpoints/private/user/createBillingPortalSession.d.ts +0 -30
  266. package/dist/sdk/endpoints/private/user/createBillingPortalSession.d.ts.map +0 -1
  267. package/dist/sdk/endpoints/private/user/createBillingPortalSession.js +0 -19
  268. package/dist/sdk/endpoints/private/user/createCheckoutSession.d.ts +0 -27
  269. package/dist/sdk/endpoints/private/user/createCheckoutSession.d.ts.map +0 -1
  270. package/dist/sdk/endpoints/private/user/createCheckoutSession.js +0 -20
  271. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +0 -10
  272. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +0 -1
  273. package/dist/sdk/endpoints/private/user/deleteUser.js +0 -13
  274. package/dist/sdk/endpoints/private/user/index.d.ts +0 -90
  275. package/dist/sdk/endpoints/private/user/index.d.ts.map +0 -1
  276. package/dist/sdk/endpoints/private/user/index.js +0 -10
  277. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +0 -28
  278. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +0 -1
  279. package/dist/sdk/endpoints/private/user/uploadProfilePicture.js +0 -19
  280. package/dist/sdk/endpoints/public/auth/index.d.ts +0 -133
  281. package/dist/sdk/endpoints/public/auth/index.d.ts.map +0 -1
  282. package/dist/sdk/endpoints/public/auth/index.js +0 -8
  283. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +0 -41
  284. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +0 -1
  285. package/dist/sdk/endpoints/public/auth/refreshAuth.js +0 -33
  286. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +0 -27
  287. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +0 -1
  288. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +0 -19
  289. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +0 -68
  290. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +0 -1
  291. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +0 -36
  292. package/dist/sdk/endpoints/public/config/index.d.ts +0 -10
  293. package/dist/sdk/endpoints/public/config/index.d.ts.map +0 -1
  294. package/dist/sdk/endpoints/public/config/index.js +0 -15
  295. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +0 -8
  296. package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +0 -1
  297. package/dist/sdk/endpoints/public/healthcheck/index.js +0 -10
  298. package/dist/sdk/endpoints/public/index.d.ts +0 -149
  299. package/dist/sdk/endpoints/public/index.d.ts.map +0 -1
  300. package/dist/sdk/endpoints/public/index.js +0 -8
  301. package/dist/sdk/index.d.ts +0 -485
  302. package/dist/sdk/index.d.ts.map +0 -1
  303. package/dist/sdk/index.js +0 -6
  304. package/dist/sdk/validation/errors.d.ts +0 -338
  305. package/dist/sdk/validation/errors.d.ts.map +0 -1
  306. package/dist/sdk/validation/errors.js +0 -145
  307. package/dist/sdk/validation/index.d.ts +0 -178
  308. package/dist/sdk/validation/index.d.ts.map +0 -1
  309. package/dist/sdk/validation/index.js +0 -3
  310. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts +0 -11
  311. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts.map +0 -1
  312. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.js +0 -22
  313. package/dist/sdk/validation/utils/flattenRequirements/index.d.ts.map +0 -1
  314. package/dist/sdk/validation/utils/index.d.ts +0 -7
  315. package/dist/sdk/validation/utils/index.d.ts.map +0 -1
  316. package/dist/sdk/validation/utils/index.js +0 -4
  317. package/dist/types/AuthData.d.ts +0 -4
  318. package/dist/types/AuthData.d.ts.map +0 -1
  319. package/dist/types/AuthData.js +0 -1
  320. package/dist/types/Endpoint.d.ts +0 -25
  321. package/dist/types/Endpoint.d.ts.map +0 -1
  322. package/dist/types/Endpoint.js +0 -1
  323. package/dist/types/PokeEvent.d.ts +0 -6
  324. package/dist/types/PokeEvent.d.ts.map +0 -1
  325. package/dist/types/PokeEvent.js +0 -1
  326. package/dist/types/SDKError.d.ts +0 -4
  327. package/dist/types/SDKError.d.ts.map +0 -1
  328. package/dist/types/SDKError.js +0 -1
  329. package/dist/types/StripeSubscriptionStatus.d.ts +0 -3
  330. package/dist/types/StripeSubscriptionStatus.d.ts.map +0 -1
  331. package/dist/types/StripeSubscriptionStatus.js +0 -10
  332. package/dist/types/SubscriptionTier.d.ts +0 -3
  333. package/dist/types/SubscriptionTier.d.ts.map +0 -1
  334. package/dist/types/SubscriptionTier.js +0 -1
  335. /package/dist/{sdk/validation/utils → utils/validation}/flattenRequirements/index.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { auth } from './auth';
2
- import { config } from './config';
3
- import { healthcheck } from './healthcheck';
4
- export const publicGroup = {
5
- auth,
6
- config,
7
- healthcheck,
8
- };
@@ -1,485 +0,0 @@
1
- export declare const marcoSDK: {
2
- endpoints: {
3
- private: {
4
- draftAttachment: {
5
- upload: import("..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
- readonly data: import("valibot").ObjectSchema<{
7
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
8
- }, undefined>;
9
- readonly status: import("valibot").LiteralSchema<401, undefined>;
10
- }, undefined>, import("valibot").ObjectSchema<{
11
- readonly data: import("valibot").ObjectSchema<{
12
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
13
- }, undefined>;
14
- readonly status: import("valibot").LiteralSchema<404, undefined>;
15
- }, undefined>, import("valibot").ObjectSchema<{
16
- readonly data: import("valibot").ObjectSchema<{
17
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
18
- }, undefined>;
19
- readonly status: import("valibot").LiteralSchema<409, undefined>;
20
- }, undefined>, import("valibot").ObjectSchema<{
21
- readonly data: import("valibot").ObjectSchema<{
22
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
23
- readonly issues: import("valibot").ObjectSchema<{
24
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
25
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
26
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
27
- }, undefined>;
28
- }, undefined>;
29
- readonly status: import("valibot").LiteralSchema<400, undefined>;
30
- }, undefined>, import("valibot").ObjectSchema<{
31
- readonly status: import("valibot").LiteralSchema<200, undefined>;
32
- }, undefined>], undefined>>;
33
- };
34
- emailMessage: {
35
- getAttachment: import("..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
36
- readonly data: import("valibot").ObjectSchema<{
37
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
38
- }, undefined>;
39
- readonly status: import("valibot").LiteralSchema<401, undefined>;
40
- }, undefined>, import("valibot").ObjectSchema<{
41
- readonly data: import("valibot").ObjectSchema<{
42
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
43
- }, undefined>;
44
- readonly status: import("valibot").LiteralSchema<404, undefined>;
45
- }, undefined>, import("valibot").ObjectSchema<{
46
- readonly data: import("valibot").ObjectSchema<{
47
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
48
- }, undefined>;
49
- readonly status: import("valibot").LiteralSchema<409, undefined>;
50
- }, undefined>, import("valibot").ObjectSchema<{
51
- readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
52
- readonly status: import("valibot").LiteralSchema<200, undefined>;
53
- }, undefined>], undefined>>;
54
- };
55
- models: {
56
- account: typeof import("./endpoints/private/models/account");
57
- contact: typeof import("./endpoints/private/models/contact");
58
- draft: typeof import("./endpoints/private/models/draft");
59
- thread: typeof import("./endpoints/private/models/thread");
60
- user: typeof import("./endpoints/private/models/user");
61
- };
62
- mutations: {
63
- account: typeof import("./endpoints/private/mutations/account");
64
- draft: typeof import("./endpoints/private/mutations/draft");
65
- thread: typeof import("./endpoints/private/mutations/thread");
66
- user: typeof import("./endpoints/private/mutations/user");
67
- };
68
- user: {
69
- createBillingPortalSession: import("..").EndpointConfig<"/v1/pv/user/create-billing-portal-session", import("valibot").ObjectSchema<{
70
- readonly returnUrl: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
71
- }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
72
- readonly data: import("valibot").ObjectSchema<{
73
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
74
- }, undefined>;
75
- readonly status: import("valibot").LiteralSchema<401, undefined>;
76
- }, undefined>, import("valibot").ObjectSchema<{
77
- readonly data: import("valibot").ObjectSchema<{
78
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
79
- readonly issues: import("valibot").ObjectSchema<{
80
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
81
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
82
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
83
- }, undefined>;
84
- }, undefined>;
85
- readonly status: import("valibot").LiteralSchema<400, undefined>;
86
- }, undefined>, import("valibot").ObjectSchema<{
87
- readonly data: import("valibot").ObjectSchema<{
88
- readonly code: import("valibot").LiteralSchema<"SUBSCRIPTION_NOT_FOUND", undefined>;
89
- }, undefined>;
90
- readonly status: import("valibot").LiteralSchema<404, undefined>;
91
- }, undefined>, import("valibot").ObjectSchema<{
92
- readonly data: import("valibot").ObjectSchema<{
93
- readonly url: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
94
- }, undefined>;
95
- readonly status: import("valibot").LiteralSchema<200, undefined>;
96
- }, undefined>], undefined>>;
97
- createCheckoutSession: import("..").EndpointConfig<"/v1/pv/user/create-checkout-session", import("valibot").ObjectSchema<{
98
- readonly cancelUrl: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
99
- readonly priceId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
100
- readonly successUrl: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
101
- }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
102
- readonly data: import("valibot").ObjectSchema<{
103
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
104
- }, undefined>;
105
- readonly status: import("valibot").LiteralSchema<401, undefined>;
106
- }, undefined>, import("valibot").ObjectSchema<{
107
- readonly data: import("valibot").ObjectSchema<{
108
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
109
- readonly issues: import("valibot").ObjectSchema<{
110
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
111
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
112
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
113
- }, undefined>;
114
- }, undefined>;
115
- readonly status: import("valibot").LiteralSchema<400, undefined>;
116
- }, undefined>, import("valibot").ObjectSchema<{
117
- readonly data: import("valibot").ObjectSchema<{
118
- readonly url: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
119
- }, undefined>;
120
- readonly status: import("valibot").LiteralSchema<200, undefined>;
121
- }, undefined>], undefined>>;
122
- deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
123
- readonly data: import("valibot").ObjectSchema<{
124
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
125
- }, undefined>;
126
- readonly status: import("valibot").LiteralSchema<401, undefined>;
127
- }, undefined>, import("valibot").ObjectSchema<{
128
- readonly status: import("valibot").LiteralSchema<204, undefined>;
129
- }, undefined>], undefined>>;
130
- uploadProfilePicture: import("..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
131
- readonly data: import("valibot").ObjectSchema<{
132
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
133
- }, undefined>;
134
- readonly status: import("valibot").LiteralSchema<401, undefined>;
135
- }, undefined>, import("valibot").ObjectSchema<{
136
- readonly data: import("valibot").ObjectSchema<{
137
- readonly code: import("valibot").LiteralSchema<"FILE_TOO_LARGE", undefined>;
138
- }, undefined>;
139
- readonly status: import("valibot").LiteralSchema<413, undefined>;
140
- }, undefined>, import("valibot").ObjectSchema<{
141
- readonly data: import("valibot").ObjectSchema<{
142
- readonly code: import("valibot").LiteralSchema<"INVALID_FILE_TYPE", undefined>;
143
- }, undefined>;
144
- readonly status: import("valibot").LiteralSchema<415, undefined>;
145
- }, undefined>, import("valibot").ObjectSchema<{
146
- readonly data: import("valibot").ObjectSchema<{
147
- readonly code: import("valibot").LiteralSchema<"INVALID_IMAGE_DIMENSIONS", undefined>;
148
- }, undefined>;
149
- readonly status: import("valibot").LiteralSchema<415, undefined>;
150
- }, undefined>, import("valibot").ObjectSchema<{
151
- readonly data: import("valibot").ObjectSchema<{
152
- readonly profilePicture: import("valibot").StringSchema<undefined>;
153
- }, undefined>;
154
- readonly status: import("valibot").LiteralSchema<200, undefined>;
155
- }, undefined>], undefined>>;
156
- };
157
- };
158
- public: {
159
- auth: {
160
- refreshAuth: import("..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
161
- readonly refreshToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
162
- }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
163
- readonly data: import("valibot").ObjectSchema<{
164
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
165
- readonly issues: import("valibot").ObjectSchema<{
166
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
167
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
168
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
169
- }, undefined>;
170
- }, undefined>;
171
- readonly status: import("valibot").LiteralSchema<400, undefined>;
172
- }, undefined>, import("valibot").ObjectSchema<{
173
- readonly data: import("valibot").ObjectSchema<{
174
- readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
175
- }, undefined>;
176
- readonly status: import("valibot").LiteralSchema<401, undefined>;
177
- }, undefined>, import("valibot").ObjectSchema<{
178
- readonly data: import("valibot").ObjectSchema<{
179
- readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
180
- }, undefined>;
181
- readonly status: import("valibot").LiteralSchema<502, undefined>;
182
- }, undefined>, import("valibot").ObjectSchema<{
183
- readonly data: import("valibot").ObjectSchema<{
184
- readonly accessToken: import("valibot").StringSchema<undefined>;
185
- readonly refreshToken: import("valibot").StringSchema<undefined>;
186
- readonly user: import("valibot").ObjectSchema<{
187
- readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
188
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
189
- readonly emailVerified: import("valibot").BooleanSchema<undefined>;
190
- readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
192
- readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
193
- readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
194
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
195
- }, undefined>;
196
- }, undefined>;
197
- readonly status: import("valibot").LiteralSchema<200, undefined>;
198
- }, undefined>], undefined>>;
199
- sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
200
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
201
- }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
202
- readonly data: import("valibot").ObjectSchema<{
203
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
204
- readonly issues: import("valibot").ObjectSchema<{
205
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
206
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
207
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
208
- }, undefined>;
209
- }, undefined>;
210
- readonly status: import("valibot").LiteralSchema<400, undefined>;
211
- }, undefined>, import("valibot").ObjectSchema<{
212
- readonly data: import("valibot").ObjectSchema<{
213
- readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
214
- }, undefined>;
215
- readonly status: import("valibot").LiteralSchema<502, undefined>;
216
- }, undefined>, import("valibot").ObjectSchema<{
217
- readonly data: import("valibot").ObjectSchema<{
218
- readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
219
- }, undefined>;
220
- readonly status: import("valibot").LiteralSchema<404, undefined>;
221
- }, undefined>, import("valibot").ObjectSchema<{
222
- readonly status: import("valibot").LiteralSchema<200, undefined>;
223
- }, undefined>], undefined>>;
224
- verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
225
- readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
226
- readonly code: import("valibot").StringSchema<undefined>;
227
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
228
- }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
229
- readonly data: import("valibot").ObjectSchema<{
230
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
231
- readonly issues: import("valibot").ObjectSchema<{
232
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
233
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
234
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
235
- }, undefined>;
236
- }, undefined>;
237
- readonly status: import("valibot").LiteralSchema<400, undefined>;
238
- }, undefined>, import("valibot").ObjectSchema<{
239
- readonly data: import("valibot").ObjectSchema<{
240
- readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
241
- }, undefined>;
242
- readonly status: import("valibot").LiteralSchema<401, undefined>;
243
- }, undefined>, import("valibot").ObjectSchema<{
244
- readonly data: import("valibot").ObjectSchema<{
245
- readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
246
- }, undefined>;
247
- readonly status: import("valibot").LiteralSchema<401, undefined>;
248
- }, undefined>, import("valibot").ObjectSchema<{
249
- readonly data: import("valibot").ObjectSchema<{
250
- readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
251
- }, undefined>;
252
- readonly status: import("valibot").LiteralSchema<401, undefined>;
253
- }, undefined>, import("valibot").ObjectSchema<{
254
- readonly data: import("valibot").ObjectSchema<{
255
- readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
256
- }, undefined>;
257
- readonly status: import("valibot").LiteralSchema<401, undefined>;
258
- }, undefined>, import("valibot").ObjectSchema<{
259
- readonly data: import("valibot").ObjectSchema<{
260
- readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
261
- }, undefined>;
262
- readonly status: import("valibot").LiteralSchema<502, undefined>;
263
- }, undefined>, import("valibot").ObjectSchema<{
264
- readonly data: import("valibot").ObjectSchema<{
265
- readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
266
- }, undefined>;
267
- readonly status: import("valibot").LiteralSchema<404, undefined>;
268
- }, undefined>, import("valibot").ObjectSchema<{
269
- readonly data: import("valibot").ObjectSchema<{
270
- readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
271
- }, undefined>;
272
- readonly status: import("valibot").LiteralSchema<409, undefined>;
273
- }, undefined>, import("valibot").ObjectSchema<{
274
- readonly data: import("valibot").ObjectSchema<{
275
- readonly accessToken: import("valibot").StringSchema<undefined>;
276
- readonly refreshToken: import("valibot").StringSchema<undefined>;
277
- readonly user: import("valibot").ObjectSchema<{
278
- readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
279
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
280
- readonly emailVerified: import("valibot").BooleanSchema<undefined>;
281
- readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
282
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
283
- readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
284
- readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
285
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
286
- }, undefined>;
287
- }, undefined>;
288
- readonly status: import("valibot").LiteralSchema<200, undefined>;
289
- }, undefined>], undefined>>;
290
- };
291
- config: import("..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
292
- readonly data: import("valibot").ObjectSchema<{
293
- readonly app: import("valibot").ObjectSchema<{
294
- readonly minimumVersion: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
295
- }, undefined>;
296
- }, undefined>;
297
- readonly status: import("valibot").LiteralSchema<200, undefined>;
298
- }, undefined>>;
299
- healthcheck: import("..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
300
- readonly data: import("valibot").ObjectSchema<{
301
- readonly status: import("valibot").LiteralSchema<"ok", undefined>;
302
- }, undefined>;
303
- readonly status: import("valibot").LiteralSchema<200, undefined>;
304
- }, undefined>>;
305
- };
306
- };
307
- validation: {
308
- errors: {
309
- readonly accountNotFoundErrorSchema: import("valibot").ObjectSchema<{
310
- readonly data: import("valibot").ObjectSchema<{
311
- readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
312
- }, undefined>;
313
- readonly status: import("valibot").LiteralSchema<404, undefined>;
314
- }, undefined>;
315
- readonly aliasNotFoundErrorSchema: import("valibot").ObjectSchema<{
316
- readonly data: import("valibot").ObjectSchema<{
317
- readonly code: import("valibot").LiteralSchema<"ALIAS_NOT_FOUND", undefined>;
318
- }, undefined>;
319
- readonly status: import("valibot").LiteralSchema<404, undefined>;
320
- }, undefined>;
321
- readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
322
- readonly data: import("valibot").ObjectSchema<{
323
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
324
- }, undefined>;
325
- readonly status: import("valibot").LiteralSchema<404, undefined>;
326
- }, undefined>;
327
- readonly attachmentStateInvalidErrorSchema: import("valibot").ObjectSchema<{
328
- readonly data: import("valibot").ObjectSchema<{
329
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
330
- }, undefined>;
331
- readonly status: import("valibot").LiteralSchema<409, undefined>;
332
- }, undefined>;
333
- readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
334
- readonly data: import("valibot").ObjectSchema<{
335
- readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
336
- }, undefined>;
337
- readonly status: import("valibot").LiteralSchema<401, undefined>;
338
- }, undefined>;
339
- readonly authCodeInvalidErrorSchema: import("valibot").ObjectSchema<{
340
- readonly data: import("valibot").ObjectSchema<{
341
- readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
342
- }, undefined>;
343
- readonly status: import("valibot").LiteralSchema<401, undefined>;
344
- }, undefined>;
345
- readonly authCodePreviouslyUsedErrorSchema: import("valibot").ObjectSchema<{
346
- readonly data: import("valibot").ObjectSchema<{
347
- readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
348
- }, undefined>;
349
- readonly status: import("valibot").LiteralSchema<401, undefined>;
350
- }, undefined>;
351
- readonly authFailedErrorSchema: import("valibot").ObjectSchema<{
352
- readonly data: import("valibot").ObjectSchema<{
353
- readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
354
- }, undefined>;
355
- readonly status: import("valibot").LiteralSchema<401, undefined>;
356
- }, undefined>;
357
- readonly authRefreshTokenInvalid: import("valibot").ObjectSchema<{
358
- readonly data: import("valibot").ObjectSchema<{
359
- readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
360
- }, undefined>;
361
- readonly status: import("valibot").LiteralSchema<401, undefined>;
362
- }, undefined>;
363
- readonly authServerResponseUnexpectedErrorSchema: import("valibot").ObjectSchema<{
364
- readonly data: import("valibot").ObjectSchema<{
365
- readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
366
- }, undefined>;
367
- readonly status: import("valibot").LiteralSchema<502, undefined>;
368
- }, undefined>;
369
- readonly authTooManyAttemptsErrorSchema: import("valibot").ObjectSchema<{
370
- readonly data: import("valibot").ObjectSchema<{
371
- readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
372
- }, undefined>;
373
- readonly status: import("valibot").LiteralSchema<401, undefined>;
374
- }, undefined>;
375
- readonly contactNotFoundErrorSchema: import("valibot").ObjectSchema<{
376
- readonly data: import("valibot").ObjectSchema<{
377
- readonly code: import("valibot").LiteralSchema<"CONTACT_NOT_FOUND", undefined>;
378
- }, undefined>;
379
- readonly status: import("valibot").LiteralSchema<404, undefined>;
380
- }, undefined>;
381
- readonly draftNotFoundErrorSchema: import("valibot").ObjectSchema<{
382
- readonly data: import("valibot").ObjectSchema<{
383
- readonly code: import("valibot").LiteralSchema<"DRAFT_NOT_FOUND", undefined>;
384
- }, undefined>;
385
- readonly status: import("valibot").LiteralSchema<404, undefined>;
386
- }, undefined>;
387
- readonly fileTooLargeErrorSchema: import("valibot").ObjectSchema<{
388
- readonly data: import("valibot").ObjectSchema<{
389
- readonly code: import("valibot").LiteralSchema<"FILE_TOO_LARGE", undefined>;
390
- }, undefined>;
391
- readonly status: import("valibot").LiteralSchema<413, undefined>;
392
- }, undefined>;
393
- readonly invalidFileTypeErrorSchema: import("valibot").ObjectSchema<{
394
- readonly data: import("valibot").ObjectSchema<{
395
- readonly code: import("valibot").LiteralSchema<"INVALID_FILE_TYPE", undefined>;
396
- }, undefined>;
397
- readonly status: import("valibot").LiteralSchema<415, undefined>;
398
- }, undefined>;
399
- readonly invalidImageDimensionsErrorSchema: import("valibot").ObjectSchema<{
400
- readonly data: import("valibot").ObjectSchema<{
401
- readonly code: import("valibot").LiteralSchema<"INVALID_IMAGE_DIMENSIONS", undefined>;
402
- }, undefined>;
403
- readonly status: import("valibot").LiteralSchema<415, undefined>;
404
- }, undefined>;
405
- readonly inviteNotFoundErrorSchema: import("valibot").ObjectSchema<{
406
- readonly data: import("valibot").ObjectSchema<{
407
- readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
408
- }, undefined>;
409
- readonly status: import("valibot").LiteralSchema<404, undefined>;
410
- }, undefined>;
411
- readonly labelAlreadyExistsErrorSchema: import("valibot").ObjectSchema<{
412
- readonly data: import("valibot").ObjectSchema<{
413
- readonly code: import("valibot").LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
414
- }, undefined>;
415
- readonly status: import("valibot").LiteralSchema<409, undefined>;
416
- }, undefined>;
417
- readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
418
- readonly data: import("valibot").ObjectSchema<{
419
- readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
420
- }, undefined>;
421
- readonly status: import("valibot").LiteralSchema<404, undefined>;
422
- }, undefined>;
423
- readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
424
- readonly data: import("valibot").ObjectSchema<{
425
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
426
- }, undefined>;
427
- readonly status: import("valibot").LiteralSchema<404, undefined>;
428
- }, undefined>;
429
- readonly mutationRejectedErrorSchema: import("valibot").ObjectSchema<{
430
- readonly data: import("valibot").ObjectSchema<{
431
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
432
- }, undefined>;
433
- readonly status: import("valibot").LiteralSchema<409, undefined>;
434
- }, undefined>;
435
- readonly subscriptionNotFoundErrorSchema: import("valibot").ObjectSchema<{
436
- readonly data: import("valibot").ObjectSchema<{
437
- readonly code: import("valibot").LiteralSchema<"SUBSCRIPTION_NOT_FOUND", undefined>;
438
- }, undefined>;
439
- readonly status: import("valibot").LiteralSchema<404, undefined>;
440
- }, undefined>;
441
- readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
442
- readonly data: import("valibot").ObjectSchema<{
443
- readonly code: import("valibot").LiteralSchema<"THREAD_NOT_FOUND", undefined>;
444
- }, undefined>;
445
- readonly status: import("valibot").LiteralSchema<404, undefined>;
446
- }, undefined>;
447
- readonly userMarkedForDeletionErrorSchema: import("valibot").ObjectSchema<{
448
- readonly data: import("valibot").ObjectSchema<{
449
- readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
450
- }, undefined>;
451
- readonly status: import("valibot").LiteralSchema<409, undefined>;
452
- }, undefined>;
453
- readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
454
- readonly data: import("valibot").ObjectSchema<{
455
- readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
456
- }, undefined>;
457
- readonly status: import("valibot").LiteralSchema<404, undefined>;
458
- }, undefined>;
459
- readonly validationFailedErrorSchema: import("valibot").ObjectSchema<{
460
- readonly data: import("valibot").ObjectSchema<{
461
- readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
462
- readonly issues: import("valibot").ObjectSchema<{
463
- readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
464
- readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
465
- readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
466
- }, undefined>;
467
- }, undefined>;
468
- readonly status: import("valibot").LiteralSchema<400, undefined>;
469
- }, undefined>;
470
- readonly viewNotFoundErrorSchema: import("valibot").ObjectSchema<{
471
- readonly data: import("valibot").ObjectSchema<{
472
- readonly code: import("valibot").LiteralSchema<"VIEW_NOT_FOUND", undefined>;
473
- }, undefined>;
474
- readonly status: import("valibot").LiteralSchema<404, undefined>;
475
- }, undefined>;
476
- };
477
- utils: {
478
- flattenRequirements: <T extends Record<string, any>>(schema: import("valibot").ObjectSchema<T, any>) => { [K in keyof T]: {
479
- maxLength?: number;
480
- minLength?: number;
481
- }; };
482
- };
483
- };
484
- };
485
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/dist/sdk/index.js DELETED
@@ -1,6 +0,0 @@
1
- import { endpoints } from './endpoints';
2
- import { validation } from './validation';
3
- export const marcoSDK = {
4
- endpoints,
5
- validation,
6
- };