@marcoappio/marco-config 4.0.26 → 6.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.
- package/dist/constants/api.d.ts +9 -0
- package/dist/constants/api.d.ts.map +1 -0
- package/dist/constants/api.js +8 -0
- package/dist/constants/emailAccounts.d.ts.map +1 -1
- package/dist/constants/emailAccounts.js +14 -1
- package/dist/constants/emailProvider.js +1 -1
- package/dist/constants/index.d.ts +11 -3
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +7 -5
- package/dist/constants/messages.d.ts.map +1 -1
- package/dist/constants/oauth.d.ts +2 -2
- package/dist/constants/oauth.d.ts.map +1 -1
- package/dist/constants/oauth.js +5 -1
- package/dist/constants/user.d.ts +1 -1
- package/dist/constants/user.d.ts.map +1 -1
- package/dist/constants/user.js +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/marcoPublicConfig.d.ts +36 -0
- package/dist/marcoPublicConfig.d.ts.map +1 -0
- package/dist/marcoPublicConfig.js +99 -0
- package/dist/schemas/app.d.ts +2 -2
- package/dist/schemas/app.d.ts.map +1 -1
- package/dist/schemas/app.js +3 -3
- package/dist/schemas/auth.d.ts +1 -1
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +2 -2
- package/dist/schemas/boolean.d.ts +5 -0
- package/dist/schemas/boolean.d.ts.map +1 -0
- package/dist/schemas/boolean.js +4 -0
- package/dist/schemas/emailAccount.d.ts +10 -10
- package/dist/schemas/emailAccount.d.ts.map +1 -1
- package/dist/schemas/emailAccount.js +13 -13
- package/dist/schemas/id.d.ts +1 -6
- package/dist/schemas/id.d.ts.map +1 -1
- package/dist/schemas/id.js +1 -2
- package/dist/schemas/index.d.ts +429 -60
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +21 -9
- package/dist/schemas/labels.d.ts +5 -0
- package/dist/schemas/labels.d.ts.map +1 -0
- package/dist/schemas/labels.js +5 -0
- package/dist/schemas/models/account.d.ts +3 -3
- package/dist/schemas/models/account.d.ts.map +1 -1
- package/dist/schemas/models/account.js +8 -8
- package/dist/schemas/models/contact.d.ts +2 -2
- package/dist/schemas/models/contact.d.ts.map +1 -1
- package/dist/schemas/models/contact.js +4 -4
- package/dist/schemas/models/draft.d.ts +9 -9
- package/dist/schemas/models/draft.d.ts.map +1 -1
- package/dist/schemas/models/draft.js +9 -9
- package/dist/schemas/models/index.d.ts +5 -5
- package/dist/schemas/models/index.d.ts.map +1 -1
- package/dist/schemas/models/index.js +5 -5
- package/dist/schemas/models/thread.d.ts +46 -28
- package/dist/schemas/models/thread.d.ts.map +1 -1
- package/dist/schemas/models/thread.js +12 -11
- package/dist/schemas/models/user.d.ts +30 -3
- package/dist/schemas/models/user.d.ts.map +1 -1
- package/dist/schemas/models/user.js +21 -5
- package/dist/schemas/mutators/index.d.ts +2 -0
- package/dist/schemas/mutators/index.d.ts.map +1 -0
- package/dist/schemas/mutators/index.js +1 -0
- package/dist/schemas/mutators/mutatorSchemas.d.ts +314 -0
- package/dist/schemas/mutators/mutatorSchemas.d.ts.map +1 -0
- package/dist/schemas/mutators/mutatorSchemas.js +229 -0
- package/dist/schemas/number.d.ts +5 -3
- package/dist/schemas/number.d.ts.map +1 -1
- package/dist/schemas/number.js +5 -4
- package/dist/schemas/oauth.d.ts +2 -2
- package/dist/schemas/oauth.d.ts.map +1 -1
- package/dist/schemas/oauth.js +3 -3
- package/dist/schemas/paginatedResponse.d.ts +10 -0
- package/dist/schemas/paginatedResponse.d.ts.map +1 -0
- package/dist/schemas/paginatedResponse.js +5 -0
- package/dist/schemas/pushNotifications.d.ts +3 -3
- package/dist/schemas/pushNotifications.d.ts.map +1 -1
- package/dist/schemas/pushNotifications.js +4 -3
- package/dist/schemas/string.d.ts +4 -2
- package/dist/schemas/string.d.ts.map +1 -1
- package/dist/schemas/string.js +5 -4
- package/dist/schemas/websocket.d.ts +14 -0
- package/dist/schemas/websocket.d.ts.map +1 -0
- package/dist/schemas/websocket.js +10 -0
- package/dist/sdk/endpoints/createEndpointConfig.d.ts +12 -0
- package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -0
- package/dist/sdk/endpoints/createEndpointConfig.js +21 -0
- package/dist/sdk/endpoints/index.d.ts +255 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/index.js +6 -0
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +31 -0
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/draftAttachment/index.js +4 -0
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +30 -0
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.js +18 -0
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +21 -0
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +16 -0
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +22 -0
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
- package/dist/sdk/endpoints/private/index.d.ts +103 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/index.js +12 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +70 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +26 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/index.js +1 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +41 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +26 -0
- package/dist/sdk/endpoints/private/models/contact/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/contact/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/contact/index.js +1 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +25 -0
- package/dist/sdk/endpoints/private/models/draft/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/draft/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/draft/index.js +1 -0
- package/dist/sdk/endpoints/private/models/index.d.ts +13 -0
- package/dist/sdk/endpoints/private/models/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/index.js +12 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +63 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.js +17 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +63 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +17 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +79 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +47 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +83 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.js +36 -0
- package/dist/sdk/endpoints/private/models/thread/index.d.ts +5 -0
- package/dist/sdk/endpoints/private/models/thread/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/index.js +4 -0
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts +34 -0
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/user/getUser.js +16 -0
- package/dist/sdk/endpoints/private/models/user/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/user/index.js +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.js +18 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +42 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +44 -0
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createLabel.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +27 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +18 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +43 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts +14 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/index.js +13 -0
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +49 -0
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.js +21 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +44 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +44 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +49 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +42 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +39 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +28 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +18 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +45 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +60 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +27 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +18 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +39 -0
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +45 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +85 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +47 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +20 -0
- package/dist/sdk/endpoints/private/mutations/index.d.ts +11 -0
- package/dist/sdk/endpoints/private/mutations/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/index.js +10 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +40 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +19 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +11 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.js +10 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +40 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +19 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +38 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +23 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +17 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +28 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts +9 -0
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/index.js +8 -0
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +32 -0
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +37 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +43 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.js +19 -0
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +10 -0
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/user/deleteUser.js +13 -0
- package/dist/sdk/endpoints/private/user/index.d.ts +37 -0
- package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/user/index.js +6 -0
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +28 -0
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.js +19 -0
- package/dist/sdk/endpoints/public/auth/index.d.ts +133 -0
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/auth/index.js +8 -0
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +41 -0
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/auth/refreshAuth.js +33 -0
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +27 -0
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/auth/sendAuthCode.js +19 -0
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +68 -0
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +36 -0
- package/dist/sdk/endpoints/public/config/index.d.ts +10 -0
- package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/config/index.js +15 -0
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +8 -0
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/healthcheck/index.js +10 -0
- package/dist/sdk/endpoints/public/index.d.ts +149 -0
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/index.js +8 -0
- package/dist/sdk/index.d.ts +426 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/sdk/index.js +6 -0
- package/dist/sdk/validation/errors.d.ts +326 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -0
- package/dist/sdk/validation/errors.js +140 -0
- package/dist/sdk/validation/index.d.ts +172 -0
- package/dist/sdk/validation/index.d.ts.map +1 -0
- package/dist/sdk/validation/index.js +3 -0
- package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts +11 -0
- package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts.map +1 -0
- package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.js +22 -0
- package/dist/sdk/validation/utils/flattenRequirements/index.d.ts +2 -0
- package/dist/sdk/validation/utils/flattenRequirements/index.d.ts.map +1 -0
- package/dist/sdk/validation/utils/flattenRequirements/index.js +1 -0
- package/dist/sdk/validation/utils/index.d.ts +7 -0
- package/dist/sdk/validation/utils/index.d.ts.map +1 -0
- package/dist/sdk/validation/utils/index.js +4 -0
- package/dist/types/AuthData.d.ts +4 -0
- package/dist/types/AuthData.d.ts.map +1 -0
- package/dist/types/AuthData.js +1 -0
- package/dist/types/DraftAttachmentUploadStatus.d.ts +1 -1
- package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -1
- package/dist/types/DraftStatus.d.ts +1 -1
- package/dist/types/DraftStatus.d.ts.map +1 -1
- package/dist/types/DraftType.d.ts +1 -1
- package/dist/types/DraftType.d.ts.map +1 -1
- package/dist/types/Endpoint.d.ts +25 -0
- package/dist/types/Endpoint.d.ts.map +1 -0
- package/dist/types/Endpoint.js +1 -0
- package/dist/types/IMAPConnectionStatus.d.ts +1 -1
- package/dist/types/IMAPConnectionStatus.d.ts.map +1 -1
- package/dist/types/IMAPSourceLocation.d.ts +1 -1
- package/dist/types/LabelSpecialUse.d.ts +1 -1
- package/dist/types/LabelSpecialUse.d.ts.map +1 -1
- package/dist/types/MarcoPlatform.d.ts +1 -1
- package/dist/types/MarcoPlatform.d.ts.map +1 -1
- package/dist/types/MessageRecipientType.d.ts +1 -1
- package/dist/types/MessageRecipientType.d.ts.map +1 -1
- package/dist/types/OAuthProvider.d.ts +1 -1
- package/dist/types/OAuthProvider.d.ts.map +1 -1
- package/dist/types/PokeEvent.d.ts +6 -0
- package/dist/types/PokeEvent.d.ts.map +1 -0
- package/dist/types/PokeEvent.js +1 -0
- package/dist/types/SDKError.d.ts +4 -0
- package/dist/types/SDKError.d.ts.map +1 -0
- package/dist/types/SDKError.js +1 -0
- package/dist/types/UserSettings.d.ts +15 -16
- package/dist/types/UserSettings.d.ts.map +1 -1
- package/dist/types/UserSettings.js +29 -15
- package/dist/types/index.d.ts +15 -11
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +15 -11
- package/dist/utils/accounts/generateAccountColor.d.ts.map +1 -1
- package/dist/utils/accounts/generateAccountColor.js +15 -10
- package/dist/utils/accounts/index.d.ts +3 -1
- package/dist/utils/accounts/index.d.ts.map +1 -1
- package/dist/utils/accounts/index.js +4 -1
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +3 -3
- package/dist/utils/labels/index.d.ts +3 -2
- package/dist/utils/labels/index.d.ts.map +1 -1
- package/dist/utils/labels/index.js +4 -1
- package/dist/utils/threads/index.d.ts +4 -2
- package/dist/utils/threads/index.d.ts.map +1 -1
- package/dist/utils/threads/index.js +6 -2
- package/dist/utils/threads/parseLabelIdList/index.d.ts +2 -0
- package/dist/utils/threads/parseLabelIdList/index.d.ts.map +1 -0
- package/dist/utils/threads/parseLabelIdList/index.js +1 -0
- package/dist/utils/threads/processSearchTerm/index.d.ts +2 -0
- package/dist/utils/threads/processSearchTerm/index.d.ts.map +1 -0
- package/dist/utils/threads/processSearchTerm/index.js +1 -0
- package/package.json +13 -28
- package/dist/appwrite/appwrite.d.ts +0 -77
- package/dist/appwrite/appwrite.d.ts.map +0 -1
- package/dist/appwrite/appwrite.js +0 -61
- package/dist/appwrite/appwrite.test.d.ts +0 -2
- package/dist/appwrite/appwrite.test.d.ts.map +0 -1
- package/dist/appwrite/appwrite.test.js +0 -901
- package/dist/appwrite/commands.d.ts +0 -5093
- package/dist/appwrite/commands.d.ts.map +0 -1
- package/dist/appwrite/commands.js +0 -208
- package/dist/appwrite/commands.test.d.ts +0 -2
- package/dist/appwrite/commands.test.d.ts.map +0 -1
- package/dist/appwrite/commands.test.js +0 -425
- package/dist/appwrite/decodedSchemas.d.ts +0 -35
- package/dist/appwrite/decodedSchemas.d.ts.map +0 -1
- package/dist/appwrite/decodedSchemas.js +0 -18
- package/dist/appwrite/functions.d.ts +0 -2806
- package/dist/appwrite/functions.d.ts.map +0 -1
- package/dist/appwrite/functions.js +0 -192
- package/dist/appwrite/functions.test.d.ts +0 -2
- package/dist/appwrite/functions.test.d.ts.map +0 -1
- package/dist/appwrite/functions.test.js +0 -370
- package/dist/appwrite/index.d.ts +0 -8
- package/dist/appwrite/index.d.ts.map +0 -1
- package/dist/appwrite/index.js +0 -5
- package/dist/appwrite/queryContracts/queryContracts.d.ts +0 -392
- package/dist/appwrite/queryContracts/queryContracts.d.ts.map +0 -1
- package/dist/appwrite/queryContracts/queryContracts.js +0 -299
- package/dist/appwrite/queryContracts/queryContracts.test.d.ts +0 -2
- package/dist/appwrite/queryContracts/queryContracts.test.d.ts.map +0 -1
- package/dist/appwrite/queryContracts/queryContracts.test.js +0 -39
- package/dist/appwrite/tableContract/identity.d.ts +0 -207
- package/dist/appwrite/tableContract/identity.d.ts.map +0 -1
- package/dist/appwrite/tableContract/identity.js +0 -169
- package/dist/appwrite/tableContract/index.d.ts +0 -3125
- package/dist/appwrite/tableContract/index.d.ts.map +0 -1
- package/dist/appwrite/tableContract/index.js +0 -94
- package/dist/appwrite/tableContract/index.test.d.ts +0 -2
- package/dist/appwrite/tableContract/index.test.d.ts.map +0 -1
- package/dist/appwrite/tableContract/index.test.js +0 -150
- package/dist/appwrite/tableContract/mailbox.d.ts +0 -276
- package/dist/appwrite/tableContract/mailbox.d.ts.map +0 -1
- package/dist/appwrite/tableContract/mailbox.js +0 -261
- package/dist/appwrite/tableContract/operational.d.ts +0 -247
- package/dist/appwrite/tableContract/operational.d.ts.map +0 -1
- package/dist/appwrite/tableContract/operational.js +0 -167
- package/dist/appwrite/tableContract/shared.d.ts +0 -145
- package/dist/appwrite/tableContract/shared.d.ts.map +0 -1
- package/dist/appwrite/tableContract/shared.js +0 -83
- package/dist/index.test.d.ts +0 -2
- package/dist/index.test.d.ts.map +0 -1
- package/dist/index.test.js +0 -106
- package/dist/schemas/models/mailboxAddress.test.d.ts +0 -2
- package/dist/schemas/models/mailboxAddress.test.d.ts.map +0 -1
- package/dist/schemas/models/mailboxAddress.test.js +0 -31
- package/dist/schemas/models/numericSemantics.test.d.ts +0 -2
- package/dist/schemas/models/numericSemantics.test.d.ts.map +0 -1
- package/dist/schemas/models/numericSemantics.test.js +0 -24
- package/dist/schemas/models/user.test.d.ts +0 -2
- package/dist/schemas/models/user.test.d.ts.map +0 -1
- package/dist/schemas/models/user.test.js +0 -18
- package/dist/schemas/scalars.d.ts +0 -13
- package/dist/schemas/scalars.d.ts.map +0 -1
- package/dist/schemas/scalars.js +0 -15
- package/dist/schemas/scalars.test.d.ts +0 -2
- package/dist/schemas/scalars.test.d.ts.map +0 -1
- package/dist/schemas/scalars.test.js +0 -44
- package/dist/schemas/schemaValues.test.d.ts +0 -2
- package/dist/schemas/schemaValues.test.d.ts.map +0 -1
- package/dist/schemas/schemaValues.test.js +0 -21
- package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.d.ts +0 -2
- package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.d.ts.map +0 -1
- package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.js +0 -18
- package/dist/utils/threads/processSearchTerm/processSearchTerm.test.d.ts +0 -2
- package/dist/utils/threads/processSearchTerm/processSearchTerm.test.d.ts.map +0 -1
- package/dist/utils/threads/processSearchTerm/processSearchTerm.test.js +0 -38
- package/dist/utils/valibot/index.d.ts +0 -3
- package/dist/utils/valibot/index.d.ts.map +0 -1
- package/dist/utils/valibot/index.js +0 -2
|
@@ -0,0 +1,426 @@
|
|
|
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
|
+
deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
70
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
71
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
72
|
+
}, undefined>;
|
|
73
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
74
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
75
|
+
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
76
|
+
}, undefined>], undefined>>;
|
|
77
|
+
uploadProfilePicture: import("..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
78
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
79
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
80
|
+
}, undefined>;
|
|
81
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
82
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
83
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
84
|
+
readonly code: import("valibot").LiteralSchema<"FILE_TOO_LARGE", undefined>;
|
|
85
|
+
}, undefined>;
|
|
86
|
+
readonly status: import("valibot").LiteralSchema<413, undefined>;
|
|
87
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
88
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
89
|
+
readonly code: import("valibot").LiteralSchema<"INVALID_FILE_TYPE", undefined>;
|
|
90
|
+
}, undefined>;
|
|
91
|
+
readonly status: import("valibot").LiteralSchema<415, undefined>;
|
|
92
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
93
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
94
|
+
readonly code: import("valibot").LiteralSchema<"INVALID_IMAGE_DIMENSIONS", undefined>;
|
|
95
|
+
}, undefined>;
|
|
96
|
+
readonly status: import("valibot").LiteralSchema<415, undefined>;
|
|
97
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
98
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
99
|
+
readonly profilePicture: import("valibot").StringSchema<undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
102
|
+
}, undefined>], undefined>>;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
public: {
|
|
106
|
+
auth: {
|
|
107
|
+
refreshAuth: import("..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
108
|
+
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>;
|
|
109
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
110
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
111
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
112
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
113
|
+
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>;
|
|
114
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
115
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
116
|
+
}, undefined>;
|
|
117
|
+
}, undefined>;
|
|
118
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
119
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
120
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
121
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
122
|
+
}, undefined>;
|
|
123
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
124
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
125
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
126
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
127
|
+
}, undefined>;
|
|
128
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
129
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
130
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
131
|
+
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
132
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
133
|
+
readonly user: import("valibot").ObjectSchema<{
|
|
134
|
+
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>;
|
|
135
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
136
|
+
readonly emailVerified: import("valibot").BooleanSchema<undefined>;
|
|
137
|
+
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>;
|
|
138
|
+
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>;
|
|
139
|
+
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>;
|
|
140
|
+
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>;
|
|
141
|
+
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>;
|
|
142
|
+
}, undefined>;
|
|
143
|
+
}, undefined>;
|
|
144
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
145
|
+
}, undefined>], undefined>>;
|
|
146
|
+
sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
147
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
148
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
149
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
150
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
151
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
152
|
+
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>;
|
|
153
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
154
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
155
|
+
}, undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
158
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
159
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
160
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
161
|
+
}, undefined>;
|
|
162
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
163
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
164
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
165
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
166
|
+
}, undefined>;
|
|
167
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
168
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
169
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
170
|
+
}, undefined>], undefined>>;
|
|
171
|
+
verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
172
|
+
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
173
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
174
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
175
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
176
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
177
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
178
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
179
|
+
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>;
|
|
180
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
181
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
182
|
+
}, undefined>;
|
|
183
|
+
}, undefined>;
|
|
184
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
185
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
186
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
187
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
188
|
+
}, undefined>;
|
|
189
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
190
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
191
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
192
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
|
|
193
|
+
}, undefined>;
|
|
194
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
195
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
196
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
197
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
198
|
+
}, undefined>;
|
|
199
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
200
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
201
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
202
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
203
|
+
}, undefined>;
|
|
204
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
205
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
206
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
207
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
208
|
+
}, undefined>;
|
|
209
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
210
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
211
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
212
|
+
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
213
|
+
}, undefined>;
|
|
214
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
215
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
216
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
217
|
+
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
218
|
+
}, undefined>;
|
|
219
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
220
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
221
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
222
|
+
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
223
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
224
|
+
readonly user: import("valibot").ObjectSchema<{
|
|
225
|
+
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>;
|
|
226
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
227
|
+
readonly emailVerified: import("valibot").BooleanSchema<undefined>;
|
|
228
|
+
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>;
|
|
229
|
+
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>;
|
|
230
|
+
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>;
|
|
231
|
+
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>;
|
|
232
|
+
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>;
|
|
233
|
+
}, undefined>;
|
|
234
|
+
}, undefined>;
|
|
235
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
236
|
+
}, undefined>], undefined>>;
|
|
237
|
+
};
|
|
238
|
+
config: import("..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
239
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
240
|
+
readonly app: import("valibot").ObjectSchema<{
|
|
241
|
+
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>;
|
|
242
|
+
}, undefined>;
|
|
243
|
+
}, undefined>;
|
|
244
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
245
|
+
}, undefined>>;
|
|
246
|
+
healthcheck: import("..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
247
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
248
|
+
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
249
|
+
}, undefined>;
|
|
250
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
251
|
+
}, undefined>>;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
validation: {
|
|
255
|
+
errors: {
|
|
256
|
+
readonly accountNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
257
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
258
|
+
readonly code: import("valibot").LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
259
|
+
}, undefined>;
|
|
260
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
261
|
+
}, undefined>;
|
|
262
|
+
readonly aliasNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
263
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
264
|
+
readonly code: import("valibot").LiteralSchema<"ALIAS_NOT_FOUND", undefined>;
|
|
265
|
+
}, undefined>;
|
|
266
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
267
|
+
}, undefined>;
|
|
268
|
+
readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
269
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
270
|
+
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
271
|
+
}, undefined>;
|
|
272
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
273
|
+
}, undefined>;
|
|
274
|
+
readonly attachmentStateInvalidErrorSchema: import("valibot").ObjectSchema<{
|
|
275
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
276
|
+
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_STATE_INVALID", undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
279
|
+
}, undefined>;
|
|
280
|
+
readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
|
|
281
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
282
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
283
|
+
}, undefined>;
|
|
284
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
285
|
+
}, undefined>;
|
|
286
|
+
readonly authCodeInvalidErrorSchema: import("valibot").ObjectSchema<{
|
|
287
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
288
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
|
|
289
|
+
}, undefined>;
|
|
290
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
291
|
+
}, undefined>;
|
|
292
|
+
readonly authCodePreviouslyUsedErrorSchema: import("valibot").ObjectSchema<{
|
|
293
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
294
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
295
|
+
}, undefined>;
|
|
296
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
297
|
+
}, undefined>;
|
|
298
|
+
readonly authFailedErrorSchema: import("valibot").ObjectSchema<{
|
|
299
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
300
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
301
|
+
}, undefined>;
|
|
302
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
303
|
+
}, undefined>;
|
|
304
|
+
readonly authRefreshTokenInvalid: import("valibot").ObjectSchema<{
|
|
305
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
306
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
307
|
+
}, undefined>;
|
|
308
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
309
|
+
}, undefined>;
|
|
310
|
+
readonly authServerResponseUnexpectedErrorSchema: import("valibot").ObjectSchema<{
|
|
311
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
312
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
313
|
+
}, undefined>;
|
|
314
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
315
|
+
}, undefined>;
|
|
316
|
+
readonly authTooManyAttemptsErrorSchema: import("valibot").ObjectSchema<{
|
|
317
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
318
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
319
|
+
}, undefined>;
|
|
320
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
321
|
+
}, undefined>;
|
|
322
|
+
readonly contactNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
323
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
324
|
+
readonly code: import("valibot").LiteralSchema<"CONTACT_NOT_FOUND", undefined>;
|
|
325
|
+
}, undefined>;
|
|
326
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
327
|
+
}, undefined>;
|
|
328
|
+
readonly draftNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
329
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
330
|
+
readonly code: import("valibot").LiteralSchema<"DRAFT_NOT_FOUND", undefined>;
|
|
331
|
+
}, undefined>;
|
|
332
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
333
|
+
}, undefined>;
|
|
334
|
+
readonly fileTooLargeErrorSchema: import("valibot").ObjectSchema<{
|
|
335
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
336
|
+
readonly code: import("valibot").LiteralSchema<"FILE_TOO_LARGE", undefined>;
|
|
337
|
+
}, undefined>;
|
|
338
|
+
readonly status: import("valibot").LiteralSchema<413, undefined>;
|
|
339
|
+
}, undefined>;
|
|
340
|
+
readonly invalidFileTypeErrorSchema: import("valibot").ObjectSchema<{
|
|
341
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
342
|
+
readonly code: import("valibot").LiteralSchema<"INVALID_FILE_TYPE", undefined>;
|
|
343
|
+
}, undefined>;
|
|
344
|
+
readonly status: import("valibot").LiteralSchema<415, undefined>;
|
|
345
|
+
}, undefined>;
|
|
346
|
+
readonly invalidImageDimensionsErrorSchema: import("valibot").ObjectSchema<{
|
|
347
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
348
|
+
readonly code: import("valibot").LiteralSchema<"INVALID_IMAGE_DIMENSIONS", undefined>;
|
|
349
|
+
}, undefined>;
|
|
350
|
+
readonly status: import("valibot").LiteralSchema<415, undefined>;
|
|
351
|
+
}, undefined>;
|
|
352
|
+
readonly inviteNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
353
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
354
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
355
|
+
}, undefined>;
|
|
356
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
357
|
+
}, undefined>;
|
|
358
|
+
readonly labelAlreadyExistsErrorSchema: import("valibot").ObjectSchema<{
|
|
359
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
360
|
+
readonly code: import("valibot").LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
|
|
361
|
+
}, undefined>;
|
|
362
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
363
|
+
}, undefined>;
|
|
364
|
+
readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
365
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
366
|
+
readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
367
|
+
}, undefined>;
|
|
368
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
369
|
+
}, undefined>;
|
|
370
|
+
readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
371
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
372
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
373
|
+
}, undefined>;
|
|
374
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
375
|
+
}, undefined>;
|
|
376
|
+
readonly mutationRejectedErrorSchema: import("valibot").ObjectSchema<{
|
|
377
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
378
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
379
|
+
}, undefined>;
|
|
380
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
381
|
+
}, undefined>;
|
|
382
|
+
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
383
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
384
|
+
readonly code: import("valibot").LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
385
|
+
}, undefined>;
|
|
386
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
387
|
+
}, undefined>;
|
|
388
|
+
readonly userMarkedForDeletionErrorSchema: import("valibot").ObjectSchema<{
|
|
389
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
390
|
+
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
391
|
+
}, undefined>;
|
|
392
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
393
|
+
}, undefined>;
|
|
394
|
+
readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
395
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
396
|
+
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
397
|
+
}, undefined>;
|
|
398
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
399
|
+
}, undefined>;
|
|
400
|
+
readonly validationFailedErrorSchema: import("valibot").ObjectSchema<{
|
|
401
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
402
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
403
|
+
readonly issues: import("valibot").ObjectSchema<{
|
|
404
|
+
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>;
|
|
405
|
+
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
406
|
+
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
407
|
+
}, undefined>;
|
|
408
|
+
}, undefined>;
|
|
409
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
410
|
+
}, undefined>;
|
|
411
|
+
readonly viewNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
412
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
413
|
+
readonly code: import("valibot").LiteralSchema<"VIEW_NOT_FOUND", undefined>;
|
|
414
|
+
}, undefined>;
|
|
415
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
416
|
+
}, undefined>;
|
|
417
|
+
};
|
|
418
|
+
utils: {
|
|
419
|
+
flattenRequirements: <T extends Record<string, any>>(schema: import("valibot").ObjectSchema<T, any>) => { [K in keyof T]: {
|
|
420
|
+
maxLength?: number;
|
|
421
|
+
minLength?: number;
|
|
422
|
+
}; };
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|