@marcoappio/marco-config 2.0.599 → 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 +12 -0
- package/dist/appwrite/appwrite.d.ts.map +1 -1
- package/dist/appwrite/appwrite.js +32 -0
- package/dist/appwrite/appwrite.test.js +16 -0
- 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,11 +0,0 @@
|
|
|
1
|
-
import type * as v from 'valibot';
|
|
2
|
-
type SchemaRequirements = {
|
|
3
|
-
maxLength?: number;
|
|
4
|
-
minLength?: number;
|
|
5
|
-
};
|
|
6
|
-
type FlattenedRequirements<T> = {
|
|
7
|
-
[K in keyof T]: SchemaRequirements;
|
|
8
|
-
};
|
|
9
|
-
export declare const flattenRequirements: <T extends Record<string, any>>(schema: v.ObjectSchema<T, any>) => FlattenedRequirements<T>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=flattenRequirements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flattenRequirements.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/validation/utils/flattenRequirements/flattenRequirements.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,KAAK,kBAAkB,GAAG;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,KAAK,qBAAqB,CAAC,CAAC,IAAI;KAC7B,CAAC,IAAI,MAAM,CAAC,GAAG,kBAAkB;CACnC,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UACvD,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,KAC7B,qBAAqB,CAAC,CAAC,CA0BzB,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export const flattenRequirements = (schema) => {
|
|
2
|
-
const result = {};
|
|
3
|
-
for (const key in schema.entries) {
|
|
4
|
-
const field = schema.entries[key];
|
|
5
|
-
const schemaField = field;
|
|
6
|
-
const getPipeRequirements = (pipe) => {
|
|
7
|
-
if (!pipe) {
|
|
8
|
-
return {};
|
|
9
|
-
}
|
|
10
|
-
return {
|
|
11
|
-
maxLength: pipe.find(x => x.type === 'max_length')?.requirement,
|
|
12
|
-
minLength: pipe.find(x => x.type === 'min_length')?.requirement,
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
result[key] = schemaField.pipe
|
|
16
|
-
? getPipeRequirements(schemaField.pipe)
|
|
17
|
-
: schemaField.wrapped?.pipe
|
|
18
|
-
? getPipeRequirements(schemaField.wrapped.pipe)
|
|
19
|
-
: {};
|
|
20
|
-
}
|
|
21
|
-
return result;
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/validation/utils/flattenRequirements/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/utils/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;CAEjB,CAAA"}
|
package/dist/types/AuthData.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthData.d.ts","sourceRoot":"","sources":["../../src/types/AuthData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
package/dist/types/AuthData.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/types/Endpoint.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { GenericSchema } from 'valibot';
|
|
2
|
-
import type { SDKError } from '../types/SDKError';
|
|
3
|
-
type Split<S extends string> = S extends `${infer T}/${infer U}` ? [T, ...Split<U>] : [S];
|
|
4
|
-
type URLParams<Segments extends readonly string[]> = {
|
|
5
|
-
[Seg in Segments[number] as Seg extends `:${infer Param}` ? Param : never]: string;
|
|
6
|
-
};
|
|
7
|
-
export type HTTPSuccessStatusCode = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308;
|
|
8
|
-
export type URLPattern<T extends string> = URLParams<Split<T>>;
|
|
9
|
-
export type HTTPMethod = 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT';
|
|
10
|
-
export type SDKResponse = {
|
|
11
|
-
data?: any;
|
|
12
|
-
status: HTTPSuccessStatusCode;
|
|
13
|
-
} | SDKError;
|
|
14
|
-
export type BodyType = 'blob' | 'json';
|
|
15
|
-
export type EndpointConfig<TPath extends string, TRequestBody extends GenericSchema | undefined, TRequestQuery extends GenericSchema | undefined, TResponse extends GenericSchema<SDKResponse>> = {
|
|
16
|
-
body: TRequestBody;
|
|
17
|
-
bodyType: BodyType;
|
|
18
|
-
buildPath: (params: URLPattern<TPath>) => string;
|
|
19
|
-
method: HTTPMethod;
|
|
20
|
-
path: TPath;
|
|
21
|
-
query: TRequestQuery;
|
|
22
|
-
response: TResponse;
|
|
23
|
-
};
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=Endpoint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Endpoint.d.ts","sourceRoot":"","sources":["../../src/types/Endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAA;AAE5D,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,I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AU,CAAC,KAAK,CAAC,KAAK,MAAM,CAAA;IAChD,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,aAAa,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA"}
|
package/dist/types/Endpoint.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type * as v from 'valibot';
|
|
2
|
-
import type { marcoSchemas } from '../schemas';
|
|
3
|
-
export declare const POKE_MODELS: readonly ["user", "account", "contact", "draft", "thread"];
|
|
4
|
-
export type PokeModel = (typeof POKE_MODELS)[number];
|
|
5
|
-
export type PokeEvent = v.InferOutput<typeof marcoSchemas.websocket.pokeEvent>;
|
|
6
|
-
//# sourceMappingURL=PokeEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PokeEvent.d.ts","sourceRoot":"","sources":["../../src/types/PokeEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,eAAO,MAAM,WAAW,4DAA6D,CAAA;AAErF,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AACpD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,SAAS,CAAC,CAAA"}
|
package/dist/types/PokeEvent.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const POKE_MODELS = ['user', 'account', 'contact', 'draft', 'thread'];
|
package/dist/types/SDKError.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type * as v from 'valibot';
|
|
2
|
-
import type { errors } from '../sdk/validation/errors';
|
|
3
|
-
export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.contactNotFoundErrorSchema> | v.InferOutput<typeof errors.draftNotFoundErrorSchema> | v.InferOutput<typeof errors.fileTooLargeErrorSchema> | v.InferOutput<typeof errors.invalidFileTypeErrorSchema> | v.InferOutput<typeof errors.invalidImageDimensionsErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.labelAlreadyExistsErrorSchema> | v.InferOutput<typeof errors.labelNotFoundErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.threadNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.viewNotFoundErrorSchema> | v.InferOutput<typeof errors.subscriptionNotFoundErrorSchema>;
|
|
4
|
-
//# sourceMappingURL=SDKError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAEjE,MAAM,MAAM,QA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AAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,CAAC,GAC7D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,+BAA+B,CAAC,CAAA"}
|
package/dist/types/SDKError.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const STRIPE_SUBSCRIPTION_STATUSES: readonly ["active", "canceled", "incomplete", "incomplete_expired", "past_due", "paused", "trialing", "unpaid"];
|
|
2
|
-
export type StripeSubscriptionStatus = (typeof STRIPE_SUBSCRIPTION_STATUSES)[number];
|
|
3
|
-
//# sourceMappingURL=StripeSubscriptionStatus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StripeSubscriptionStatus.d.ts","sourceRoot":"","sources":["../../src/types/StripeSubscriptionStatus.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,iHASiB,CAAA;AAE1D,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionTier.d.ts","sourceRoot":"","sources":["../../src/types/SubscriptionTier.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,oBAAqB,CAAA;AAEpD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const SUBSCRIPTION_TIERS = ['tier1'];
|
|
File without changes
|