@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.
- package/dist/appwrite/appwrite.d.ts +18 -6
- package/dist/appwrite/appwrite.d.ts.map +1 -1
- package/dist/appwrite/appwrite.js +34 -2
- package/dist/appwrite/appwrite.test.js +20 -4
- package/dist/appwrite/index.d.ts +1 -1
- package/dist/appwrite/index.d.ts.map +1 -1
- package/dist/constants/index.d.ts +0 -8
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +0 -2
- package/dist/index.d.ts +3 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/index.test.js +26 -0
- package/dist/schemas/index.d.ts +1 -429
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -10
- package/dist/schemas/models/index.d.ts +1 -1
- package/dist/schemas/models/index.d.ts.map +1 -1
- package/dist/schemas/models/index.js +1 -1
- package/dist/schemas/models/user.d.ts +0 -68
- package/dist/schemas/models/user.d.ts.map +1 -1
- package/dist/schemas/models/user.js +0 -19
- package/dist/types/index.d.ts +0 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -6
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/validation/flattenRequirements/flattenRequirements.d.ts +8 -0
- package/dist/utils/validation/flattenRequirements/flattenRequirements.d.ts.map +1 -0
- package/dist/utils/validation/flattenRequirements/flattenRequirements.js +37 -0
- package/dist/utils/validation/flattenRequirements/flattenRequirements.test.d.ts +2 -0
- package/dist/utils/validation/flattenRequirements/flattenRequirements.test.d.ts.map +1 -0
- package/dist/utils/validation/flattenRequirements/flattenRequirements.test.js +25 -0
- package/dist/utils/validation/flattenRequirements/index.d.ts +2 -0
- package/dist/utils/validation/flattenRequirements/index.d.ts.map +1 -0
- package/dist/utils/validation/index.d.ts +2 -0
- package/dist/utils/validation/index.d.ts.map +1 -0
- package/dist/{sdk/validation/utils/flattenRequirements/index.d.ts → utils/validation/index.js} +0 -1
- package/package.json +4 -4
- package/dist/constants/api.d.ts +0 -9
- package/dist/constants/api.d.ts.map +0 -1
- package/dist/constants/api.js +0 -8
- package/dist/marcoPublicConfig.d.ts +0 -52
- package/dist/marcoPublicConfig.d.ts.map +0 -1
- package/dist/marcoPublicConfig.js +0 -144
- package/dist/marcoPublicConfig.test.d.ts +0 -2
- package/dist/marcoPublicConfig.test.d.ts.map +0 -1
- package/dist/marcoPublicConfig.test.js +0 -7
- package/dist/schemas/mutators/index.d.ts +0 -2
- package/dist/schemas/mutators/index.d.ts.map +0 -1
- package/dist/schemas/mutators/index.js +0 -1
- package/dist/schemas/mutators/mutatorSchemas.d.ts +0 -314
- package/dist/schemas/mutators/mutatorSchemas.d.ts.map +0 -1
- package/dist/schemas/mutators/mutatorSchemas.js +0 -229
- package/dist/schemas/mutators/mutatorSchemas.test.d.ts +0 -2
- package/dist/schemas/mutators/mutatorSchemas.test.d.ts.map +0 -1
- package/dist/schemas/mutators/mutatorSchemas.test.js +0 -39
- package/dist/schemas/stripe.d.ts +0 -43
- package/dist/schemas/stripe.d.ts.map +0 -1
- package/dist/schemas/stripe.js +0 -48
- package/dist/schemas/websocket.d.ts +0 -14
- package/dist/schemas/websocket.d.ts.map +0 -1
- package/dist/schemas/websocket.js +0 -10
- package/dist/sdk/endpoints/createEndpointConfig.d.ts +0 -12
- package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +0 -1
- package/dist/sdk/endpoints/createEndpointConfig.js +0 -21
- package/dist/sdk/endpoints/index.d.ts +0 -308
- package/dist/sdk/endpoints/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/index.js +0 -6
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +0 -31
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/draftAttachment/index.js +0 -4
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +0 -30
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.js +0 -18
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -21
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +0 -16
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -22
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/emailMessage/index.js +0 -4
- package/dist/sdk/endpoints/private/index.d.ts +0 -156
- package/dist/sdk/endpoints/private/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/index.js +0 -12
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +0 -70
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +0 -26
- package/dist/sdk/endpoints/private/models/account/index.d.ts +0 -2
- package/dist/sdk/endpoints/private/models/account/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/account/index.js +0 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +0 -41
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +0 -26
- package/dist/sdk/endpoints/private/models/contact/index.d.ts +0 -2
- package/dist/sdk/endpoints/private/models/contact/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/contact/index.js +0 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +0 -62
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +0 -25
- package/dist/sdk/endpoints/private/models/draft/index.d.ts +0 -2
- package/dist/sdk/endpoints/private/models/draft/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/draft/index.js +0 -1
- package/dist/sdk/endpoints/private/models/index.d.ts +0 -13
- package/dist/sdk/endpoints/private/models/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/index.js +0 -12
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +0 -63
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/thread/getThread.js +0 -17
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +0 -63
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +0 -17
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +0 -79
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +0 -47
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +0 -83
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/thread/getThreads.js +0 -36
- package/dist/sdk/endpoints/private/models/thread/index.d.ts +0 -5
- package/dist/sdk/endpoints/private/models/thread/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/thread/index.js +0 -4
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts +0 -75
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/user/getUser.js +0 -16
- package/dist/sdk/endpoints/private/models/user/index.d.ts +0 -2
- package/dist/sdk/endpoints/private/models/user/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/models/user/index.js +0 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +0 -35
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.js +0 -18
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +0 -42
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.js +0 -19
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +0 -44
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/createLabel.js +0 -20
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +0 -27
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +0 -18
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +0 -33
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +0 -19
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +0 -43
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.js +0 -20
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts +0 -14
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/index.js +0 -13
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +0 -49
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.js +0 -21
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +0 -44
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +0 -20
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +0 -33
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +0 -19
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +0 -44
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.js +0 -20
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +0 -49
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +0 -19
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +0 -42
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +0 -19
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +0 -39
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +0 -28
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +0 -18
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +0 -45
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +0 -60
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +0 -27
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +0 -18
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts +0 -10
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/index.js +0 -9
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +0 -39
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +0 -45
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +0 -85
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +0 -19
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +0 -47
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +0 -20
- package/dist/sdk/endpoints/private/mutations/index.d.ts +0 -11
- package/dist/sdk/endpoints/private/mutations/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/index.js +0 -10
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +0 -40
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +0 -19
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +0 -11
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/index.js +0 -10
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +0 -40
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +0 -19
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +0 -35
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +0 -35
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +0 -35
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +0 -18
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +0 -34
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +0 -38
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +0 -23
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +0 -17
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +0 -28
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts +0 -9
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/index.js +0 -8
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +0 -32
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +0 -37
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +0 -33
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +0 -18
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +0 -43
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.js +0 -19
- package/dist/sdk/endpoints/private/user/createBillingPortalSession.d.ts +0 -30
- package/dist/sdk/endpoints/private/user/createBillingPortalSession.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/createBillingPortalSession.js +0 -19
- package/dist/sdk/endpoints/private/user/createCheckoutSession.d.ts +0 -27
- package/dist/sdk/endpoints/private/user/createCheckoutSession.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/createCheckoutSession.js +0 -20
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +0 -10
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/deleteUser.js +0 -13
- package/dist/sdk/endpoints/private/user/index.d.ts +0 -90
- package/dist/sdk/endpoints/private/user/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/index.js +0 -10
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +0 -28
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.js +0 -19
- package/dist/sdk/endpoints/public/auth/index.d.ts +0 -133
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/auth/index.js +0 -8
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +0 -41
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.js +0 -33
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +0 -27
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.js +0 -19
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +0 -68
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +0 -36
- package/dist/sdk/endpoints/public/config/index.d.ts +0 -10
- package/dist/sdk/endpoints/public/config/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/config/index.js +0 -15
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +0 -8
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/healthcheck/index.js +0 -10
- package/dist/sdk/endpoints/public/index.d.ts +0 -149
- package/dist/sdk/endpoints/public/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/public/index.js +0 -8
- package/dist/sdk/index.d.ts +0 -485
- package/dist/sdk/index.d.ts.map +0 -1
- package/dist/sdk/index.js +0 -6
- package/dist/sdk/validation/errors.d.ts +0 -338
- package/dist/sdk/validation/errors.d.ts.map +0 -1
- package/dist/sdk/validation/errors.js +0 -145
- package/dist/sdk/validation/index.d.ts +0 -178
- package/dist/sdk/validation/index.d.ts.map +0 -1
- package/dist/sdk/validation/index.js +0 -3
- package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts +0 -11
- package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts.map +0 -1
- package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.js +0 -22
- package/dist/sdk/validation/utils/flattenRequirements/index.d.ts.map +0 -1
- package/dist/sdk/validation/utils/index.d.ts +0 -7
- package/dist/sdk/validation/utils/index.d.ts.map +0 -1
- package/dist/sdk/validation/utils/index.js +0 -4
- package/dist/types/AuthData.d.ts +0 -4
- package/dist/types/AuthData.d.ts.map +0 -1
- package/dist/types/AuthData.js +0 -1
- package/dist/types/Endpoint.d.ts +0 -25
- package/dist/types/Endpoint.d.ts.map +0 -1
- package/dist/types/Endpoint.js +0 -1
- package/dist/types/PokeEvent.d.ts +0 -6
- package/dist/types/PokeEvent.d.ts.map +0 -1
- package/dist/types/PokeEvent.js +0 -1
- package/dist/types/SDKError.d.ts +0 -4
- package/dist/types/SDKError.d.ts.map +0 -1
- package/dist/types/SDKError.js +0 -1
- package/dist/types/StripeSubscriptionStatus.d.ts +0 -3
- package/dist/types/StripeSubscriptionStatus.d.ts.map +0 -1
- package/dist/types/StripeSubscriptionStatus.js +0 -10
- package/dist/types/SubscriptionTier.d.ts +0 -3
- package/dist/types/SubscriptionTier.d.ts.map +0 -1
- package/dist/types/SubscriptionTier.js +0 -1
- /package/dist/{sdk/validation/utils → utils/validation}/flattenRequirements/index.js +0 -0
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
export declare const auth: {
|
|
2
|
-
refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
3
|
-
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>;
|
|
4
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
6
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
8
|
-
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>;
|
|
9
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
10
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
11
|
-
}, undefined>;
|
|
12
|
-
}, undefined>;
|
|
13
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
14
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
15
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
16
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
19
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
20
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
21
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
22
|
-
}, undefined>;
|
|
23
|
-
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
24
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
25
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
26
|
-
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
27
|
-
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
28
|
-
readonly user: import("valibot").ObjectSchema<{
|
|
29
|
-
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>;
|
|
30
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
31
|
-
readonly emailVerified: import("valibot").BooleanSchema<undefined>;
|
|
32
|
-
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>;
|
|
33
|
-
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>;
|
|
34
|
-
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>;
|
|
35
|
-
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>;
|
|
36
|
-
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>;
|
|
37
|
-
}, undefined>;
|
|
38
|
-
}, undefined>;
|
|
39
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
40
|
-
}, undefined>], undefined>>;
|
|
41
|
-
sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
42
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
43
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
44
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
45
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
46
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
47
|
-
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>;
|
|
48
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
49
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
50
|
-
}, undefined>;
|
|
51
|
-
}, undefined>;
|
|
52
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
53
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
54
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
55
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
56
|
-
}, undefined>;
|
|
57
|
-
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
58
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
59
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
60
|
-
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
61
|
-
}, undefined>;
|
|
62
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
63
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
64
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
65
|
-
}, undefined>], undefined>>;
|
|
66
|
-
verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
67
|
-
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
68
|
-
readonly code: import("valibot").StringSchema<undefined>;
|
|
69
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
70
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
71
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
72
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
73
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
74
|
-
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>;
|
|
75
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
76
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
77
|
-
}, undefined>;
|
|
78
|
-
}, undefined>;
|
|
79
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
80
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
81
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
82
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
83
|
-
}, undefined>;
|
|
84
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
85
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
86
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
87
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
|
|
88
|
-
}, undefined>;
|
|
89
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
90
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
92
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
93
|
-
}, undefined>;
|
|
94
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
95
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
96
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
97
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
98
|
-
}, undefined>;
|
|
99
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
100
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
101
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
102
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
103
|
-
}, undefined>;
|
|
104
|
-
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
105
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
106
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
107
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
108
|
-
}, undefined>;
|
|
109
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
110
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
111
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
112
|
-
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
113
|
-
}, undefined>;
|
|
114
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
115
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
116
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
117
|
-
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
118
|
-
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
119
|
-
readonly user: import("valibot").ObjectSchema<{
|
|
120
|
-
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>;
|
|
121
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
122
|
-
readonly emailVerified: import("valibot").BooleanSchema<undefined>;
|
|
123
|
-
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>;
|
|
124
|
-
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>;
|
|
125
|
-
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>;
|
|
126
|
-
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>;
|
|
127
|
-
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>;
|
|
128
|
-
}, undefined>;
|
|
129
|
-
}, undefined>;
|
|
130
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
131
|
-
}, undefined>], undefined>>;
|
|
132
|
-
};
|
|
133
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", v.ObjectSchema<{
|
|
3
|
-
readonly refreshToken: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
-
readonly data: v.ObjectSchema<{
|
|
6
|
-
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
|
-
readonly issues: v.ObjectSchema<{
|
|
8
|
-
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
9
|
-
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
10
|
-
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11
|
-
}, undefined>;
|
|
12
|
-
}, undefined>;
|
|
13
|
-
readonly status: v.LiteralSchema<400, undefined>;
|
|
14
|
-
}, undefined>, v.ObjectSchema<{
|
|
15
|
-
readonly data: v.ObjectSchema<{
|
|
16
|
-
readonly code: v.LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
19
|
-
}, undefined>, v.ObjectSchema<{
|
|
20
|
-
readonly data: v.ObjectSchema<{
|
|
21
|
-
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
22
|
-
}, undefined>;
|
|
23
|
-
readonly status: v.LiteralSchema<502, undefined>;
|
|
24
|
-
}, undefined>, v.ObjectSchema<{
|
|
25
|
-
readonly data: v.ObjectSchema<{
|
|
26
|
-
readonly accessToken: v.StringSchema<undefined>;
|
|
27
|
-
readonly refreshToken: v.StringSchema<undefined>;
|
|
28
|
-
readonly user: v.ObjectSchema<{
|
|
29
|
-
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
|
-
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
31
|
-
readonly emailVerified: v.BooleanSchema<undefined>;
|
|
32
|
-
readonly firstName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
33
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
34
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
-
readonly profilePictureUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
|
-
}, undefined>;
|
|
38
|
-
}, undefined>;
|
|
39
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
40
|
-
}, undefined>], undefined>>;
|
|
41
|
-
//# sourceMappingURL=refreshAuth.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refreshAuth.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/refreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BtB,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { marcoSchemas } from '../../../../schemas';
|
|
3
|
-
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
import { errors } from '../../../../sdk/validation/errors';
|
|
5
|
-
export const refreshAuth = createEndpoint({
|
|
6
|
-
body: v.object({
|
|
7
|
-
refreshToken: marcoSchemas.string.required(),
|
|
8
|
-
}),
|
|
9
|
-
method: 'POST',
|
|
10
|
-
path: '/v1/pb/auth/refresh',
|
|
11
|
-
response: v.union([
|
|
12
|
-
errors.validationFailedErrorSchema,
|
|
13
|
-
errors.authRefreshTokenInvalid,
|
|
14
|
-
errors.authServerResponseUnexpectedErrorSchema,
|
|
15
|
-
v.object({
|
|
16
|
-
data: v.object({
|
|
17
|
-
accessToken: v.string(),
|
|
18
|
-
refreshToken: v.string(),
|
|
19
|
-
user: v.object({
|
|
20
|
-
createdAt: marcoSchemas.string.required(),
|
|
21
|
-
email: marcoSchemas.string.email(),
|
|
22
|
-
emailVerified: v.boolean(),
|
|
23
|
-
firstName: marcoSchemas.string.nullable(),
|
|
24
|
-
id: marcoSchemas.string.required(),
|
|
25
|
-
lastName: marcoSchemas.string.nullable(),
|
|
26
|
-
profilePictureUrl: marcoSchemas.string.nullable(),
|
|
27
|
-
updatedAt: marcoSchemas.string.required(),
|
|
28
|
-
}),
|
|
29
|
-
}),
|
|
30
|
-
status: v.literal(200),
|
|
31
|
-
}),
|
|
32
|
-
]),
|
|
33
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", v.ObjectSchema<{
|
|
3
|
-
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
-
readonly data: v.ObjectSchema<{
|
|
6
|
-
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
|
-
readonly issues: v.ObjectSchema<{
|
|
8
|
-
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
9
|
-
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
10
|
-
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11
|
-
}, undefined>;
|
|
12
|
-
}, undefined>;
|
|
13
|
-
readonly status: v.LiteralSchema<400, undefined>;
|
|
14
|
-
}, undefined>, v.ObjectSchema<{
|
|
15
|
-
readonly data: v.ObjectSchema<{
|
|
16
|
-
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
readonly status: v.LiteralSchema<502, undefined>;
|
|
19
|
-
}, undefined>, v.ObjectSchema<{
|
|
20
|
-
readonly data: v.ObjectSchema<{
|
|
21
|
-
readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
22
|
-
}, undefined>;
|
|
23
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
24
|
-
}, undefined>, v.ObjectSchema<{
|
|
25
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
26
|
-
}, undefined>], undefined>>;
|
|
27
|
-
//# sourceMappingURL=sendAuthCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { marcoSchemas } from '../../../../schemas';
|
|
3
|
-
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
import { errors } from '../../../../sdk/validation/errors';
|
|
5
|
-
export const sendAuthCode = createEndpoint({
|
|
6
|
-
body: v.object({
|
|
7
|
-
email: marcoSchemas.string.email(),
|
|
8
|
-
}),
|
|
9
|
-
method: 'POST',
|
|
10
|
-
path: '/v1/pb/auth/send-code',
|
|
11
|
-
response: v.union([
|
|
12
|
-
errors.validationFailedErrorSchema,
|
|
13
|
-
errors.authServerResponseUnexpectedErrorSchema,
|
|
14
|
-
errors.inviteNotFoundErrorSchema,
|
|
15
|
-
v.object({
|
|
16
|
-
status: v.literal(200),
|
|
17
|
-
}),
|
|
18
|
-
]),
|
|
19
|
-
});
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", v.ObjectSchema<{
|
|
3
|
-
readonly authType: v.LiteralSchema<"CODE", undefined>;
|
|
4
|
-
readonly code: v.StringSchema<undefined>;
|
|
5
|
-
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
6
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
7
|
-
readonly data: v.ObjectSchema<{
|
|
8
|
-
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
9
|
-
readonly issues: v.ObjectSchema<{
|
|
10
|
-
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
11
|
-
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12
|
-
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
13
|
-
}, undefined>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
readonly status: v.LiteralSchema<400, undefined>;
|
|
16
|
-
}, undefined>, v.ObjectSchema<{
|
|
17
|
-
readonly data: v.ObjectSchema<{
|
|
18
|
-
readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
21
|
-
}, undefined>, v.ObjectSchema<{
|
|
22
|
-
readonly data: v.ObjectSchema<{
|
|
23
|
-
readonly code: v.LiteralSchema<"AUTH_CODE_INVALID", undefined>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
26
|
-
}, undefined>, v.ObjectSchema<{
|
|
27
|
-
readonly data: v.ObjectSchema<{
|
|
28
|
-
readonly code: v.LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
29
|
-
}, undefined>;
|
|
30
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
31
|
-
}, undefined>, v.ObjectSchema<{
|
|
32
|
-
readonly data: v.ObjectSchema<{
|
|
33
|
-
readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
34
|
-
}, undefined>;
|
|
35
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
36
|
-
}, undefined>, v.ObjectSchema<{
|
|
37
|
-
readonly data: v.ObjectSchema<{
|
|
38
|
-
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
39
|
-
}, undefined>;
|
|
40
|
-
readonly status: v.LiteralSchema<502, undefined>;
|
|
41
|
-
}, undefined>, v.ObjectSchema<{
|
|
42
|
-
readonly data: v.ObjectSchema<{
|
|
43
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
44
|
-
}, undefined>;
|
|
45
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
46
|
-
}, undefined>, v.ObjectSchema<{
|
|
47
|
-
readonly data: v.ObjectSchema<{
|
|
48
|
-
readonly code: v.LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
49
|
-
}, undefined>;
|
|
50
|
-
readonly status: v.LiteralSchema<409, undefined>;
|
|
51
|
-
}, undefined>, v.ObjectSchema<{
|
|
52
|
-
readonly data: v.ObjectSchema<{
|
|
53
|
-
readonly accessToken: v.StringSchema<undefined>;
|
|
54
|
-
readonly refreshToken: v.StringSchema<undefined>;
|
|
55
|
-
readonly user: v.ObjectSchema<{
|
|
56
|
-
readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
57
|
-
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
58
|
-
readonly emailVerified: v.BooleanSchema<undefined>;
|
|
59
|
-
readonly firstName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
60
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
61
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
62
|
-
readonly profilePictureUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
63
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
-
}, undefined>;
|
|
65
|
-
}, undefined>;
|
|
66
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
67
|
-
}, undefined>], undefined>>;
|
|
68
|
-
//# sourceMappingURL=verifyAuthCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+BzB,CAAA"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { marcoSchemas } from '../../../../schemas';
|
|
3
|
-
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
import { errors } from '../../../../sdk/validation/errors';
|
|
5
|
-
export const verifyAuthCode = createEndpoint({
|
|
6
|
-
body: marcoSchemas.auth.code,
|
|
7
|
-
method: 'POST',
|
|
8
|
-
path: '/v1/pb/auth/verify-code',
|
|
9
|
-
response: v.union([
|
|
10
|
-
errors.validationFailedErrorSchema,
|
|
11
|
-
errors.authCodeExpiredErrorSchema,
|
|
12
|
-
errors.authCodeInvalidErrorSchema,
|
|
13
|
-
errors.authCodePreviouslyUsedErrorSchema,
|
|
14
|
-
errors.authTooManyAttemptsErrorSchema,
|
|
15
|
-
errors.authServerResponseUnexpectedErrorSchema,
|
|
16
|
-
errors.userNotFoundErrorSchema,
|
|
17
|
-
errors.userMarkedForDeletionErrorSchema,
|
|
18
|
-
v.object({
|
|
19
|
-
data: v.object({
|
|
20
|
-
accessToken: v.string(),
|
|
21
|
-
refreshToken: v.string(),
|
|
22
|
-
user: v.object({
|
|
23
|
-
createdAt: marcoSchemas.string.required(),
|
|
24
|
-
email: marcoSchemas.string.email(),
|
|
25
|
-
emailVerified: v.boolean(),
|
|
26
|
-
firstName: marcoSchemas.string.nullable(),
|
|
27
|
-
id: marcoSchemas.string.required(),
|
|
28
|
-
lastName: marcoSchemas.string.nullable(),
|
|
29
|
-
profilePictureUrl: marcoSchemas.string.nullable(),
|
|
30
|
-
updatedAt: marcoSchemas.string.required(),
|
|
31
|
-
}),
|
|
32
|
-
}),
|
|
33
|
-
status: v.literal(200),
|
|
34
|
-
}),
|
|
35
|
-
]),
|
|
36
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const config: import("../../../..").EndpointConfig<"/v1/pb/config", v.GenericSchema | undefined, v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
|
-
readonly data: v.ObjectSchema<{
|
|
4
|
-
readonly app: v.ObjectSchema<{
|
|
5
|
-
readonly minimumVersion: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
|
-
}, undefined>;
|
|
7
|
-
}, undefined>;
|
|
8
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
9
|
-
}, undefined>>;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,MAAM;;;;;;;cAWjB,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { marcoSchemas } from '../../../../schemas';
|
|
3
|
-
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
-
export const config = createEndpoint({
|
|
5
|
-
method: 'GET',
|
|
6
|
-
path: '/v1/pb/config',
|
|
7
|
-
response: v.object({
|
|
8
|
-
data: v.object({
|
|
9
|
-
app: v.object({
|
|
10
|
-
minimumVersion: marcoSchemas.string.required(),
|
|
11
|
-
}),
|
|
12
|
-
}),
|
|
13
|
-
status: v.literal(200),
|
|
14
|
-
}),
|
|
15
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema | undefined, v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
|
-
readonly data: v.ObjectSchema<{
|
|
4
|
-
readonly status: v.LiteralSchema<"ok", undefined>;
|
|
5
|
-
}, undefined>;
|
|
6
|
-
readonly status: v.LiteralSchema<200, undefined>;
|
|
7
|
-
}, undefined>>;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/healthcheck/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,eAAO,MAAM,WAAW;;;;;cAOtB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
-
export const healthcheck = createEndpoint({
|
|
4
|
-
method: 'GET',
|
|
5
|
-
path: '/v1/pb/healthcheck',
|
|
6
|
-
response: v.object({
|
|
7
|
-
data: v.object({ status: v.literal('ok') }),
|
|
8
|
-
status: v.literal(200),
|
|
9
|
-
}),
|
|
10
|
-
});
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
export declare const publicGroup: {
|
|
2
|
-
auth: {
|
|
3
|
-
refreshAuth: import("../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
4
|
-
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>;
|
|
5
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
7
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
8
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
9
|
-
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>;
|
|
10
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
11
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
12
|
-
}, undefined>;
|
|
13
|
-
}, undefined>;
|
|
14
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
15
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
16
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
17
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
18
|
-
}, undefined>;
|
|
19
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
20
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
21
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
22
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
23
|
-
}, undefined>;
|
|
24
|
-
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
25
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
26
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
27
|
-
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
28
|
-
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
29
|
-
readonly user: import("valibot").ObjectSchema<{
|
|
30
|
-
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>;
|
|
31
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
32
|
-
readonly emailVerified: import("valibot").BooleanSchema<undefined>;
|
|
33
|
-
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>;
|
|
34
|
-
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>;
|
|
35
|
-
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>;
|
|
36
|
-
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>;
|
|
37
|
-
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>;
|
|
38
|
-
}, undefined>;
|
|
39
|
-
}, undefined>;
|
|
40
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
41
|
-
}, undefined>], undefined>>;
|
|
42
|
-
sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
43
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
44
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
45
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
46
|
-
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
47
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
48
|
-
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>;
|
|
49
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
50
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
51
|
-
}, undefined>;
|
|
52
|
-
}, undefined>;
|
|
53
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
54
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
55
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
56
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
57
|
-
}, undefined>;
|
|
58
|
-
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
59
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
61
|
-
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
62
|
-
}, undefined>;
|
|
63
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
64
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
65
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
66
|
-
}, undefined>], undefined>>;
|
|
67
|
-
verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
68
|
-
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
69
|
-
readonly code: import("valibot").StringSchema<undefined>;
|
|
70
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, 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<"VALIDATION_FAILED", undefined>;
|
|
74
|
-
readonly issues: import("valibot").ObjectSchema<{
|
|
75
|
-
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>;
|
|
76
|
-
readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
77
|
-
readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
78
|
-
}, undefined>;
|
|
79
|
-
}, undefined>;
|
|
80
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
81
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
82
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
83
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
84
|
-
}, undefined>;
|
|
85
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
86
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
87
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
88
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_INVALID", undefined>;
|
|
89
|
-
}, undefined>;
|
|
90
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
91
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
92
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
93
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
94
|
-
}, undefined>;
|
|
95
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
96
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
97
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
98
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
99
|
-
}, undefined>;
|
|
100
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
101
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
102
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
103
|
-
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
104
|
-
}, undefined>;
|
|
105
|
-
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
106
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
107
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
108
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
109
|
-
}, undefined>;
|
|
110
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
111
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
112
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
113
|
-
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", undefined>;
|
|
114
|
-
}, undefined>;
|
|
115
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
116
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
117
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
118
|
-
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
119
|
-
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
120
|
-
readonly user: import("valibot").ObjectSchema<{
|
|
121
|
-
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>;
|
|
122
|
-
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
123
|
-
readonly emailVerified: import("valibot").BooleanSchema<undefined>;
|
|
124
|
-
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>;
|
|
125
|
-
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>;
|
|
126
|
-
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>;
|
|
127
|
-
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>;
|
|
128
|
-
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>;
|
|
129
|
-
}, undefined>;
|
|
130
|
-
}, undefined>;
|
|
131
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
132
|
-
}, undefined>], undefined>>;
|
|
133
|
-
};
|
|
134
|
-
config: import("../../..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
135
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
136
|
-
readonly app: import("valibot").ObjectSchema<{
|
|
137
|
-
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>;
|
|
138
|
-
}, undefined>;
|
|
139
|
-
}, undefined>;
|
|
140
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
141
|
-
}, undefined>>;
|
|
142
|
-
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
143
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
144
|
-
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
145
|
-
}, undefined>;
|
|
146
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
147
|
-
}, undefined>>;
|
|
148
|
-
};
|
|
149
|
-
//# sourceMappingURL=index.d.ts.map
|