emailr 0.1.0 → 0.3.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/.claude/settings.local.json +7 -0
- package/FUNCTIONS.md +2 -0
- package/README.md +93 -37
- package/dist/commonjs/funcs/billingGetV1BillingUsage.d.ts +12 -0
- package/dist/commonjs/funcs/billingGetV1BillingUsage.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingGetV1BillingUsage.js +102 -0
- package/dist/commonjs/funcs/billingGetV1BillingUsage.js.map +1 -0
- package/dist/commonjs/funcs/billingPostV1BillingCheckout.d.ts +12 -0
- package/dist/commonjs/funcs/billingPostV1BillingCheckout.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingPostV1BillingCheckout.js +115 -0
- package/dist/commonjs/funcs/billingPostV1BillingCheckout.js.map +1 -0
- package/dist/commonjs/funcs/billingPostV1BillingPortal.d.ts +12 -0
- package/dist/commonjs/funcs/billingPostV1BillingPortal.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingPostV1BillingPortal.js +102 -0
- package/dist/commonjs/funcs/billingPostV1BillingPortal.js.map +1 -0
- package/dist/commonjs/funcs/billingPostV1BillingWebhooks.d.ts +12 -0
- package/dist/commonjs/funcs/billingPostV1BillingWebhooks.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingPostV1BillingWebhooks.js +115 -0
- package/dist/commonjs/funcs/billingPostV1BillingWebhooks.js.map +1 -0
- package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.d.ts +11 -0
- package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.d.ts.map +1 -0
- package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.js +114 -0
- package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.js.map +1 -0
- package/dist/commonjs/funcs/contactSyncGetV1ContactSync.d.ts +11 -0
- package/dist/commonjs/funcs/contactSyncGetV1ContactSync.d.ts.map +1 -0
- package/dist/commonjs/funcs/contactSyncGetV1ContactSync.js +98 -0
- package/dist/commonjs/funcs/contactSyncGetV1ContactSync.js.map +1 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.d.ts +11 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.d.ts.map +1 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.js +111 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.js.map +1 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts +11 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts.map +1 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js +115 -0
- package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js.map +1 -0
- package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.d.ts +11 -0
- package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.d.ts.map +1 -0
- package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.js +114 -0
- package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.js.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.d.ts +11 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.d.ts.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.js +98 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.js.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts +10 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js +98 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts +11 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.js +113 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.js.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts +10 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.js +98 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.js.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts +11 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts.map +1 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.js +113 -0
- package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.js.map +1 -0
- package/dist/commonjs/funcs/smtpGetSmtpCredentials.d.ts +18 -0
- package/dist/commonjs/funcs/smtpGetSmtpCredentials.d.ts.map +1 -0
- package/dist/commonjs/funcs/smtpGetSmtpCredentials.js +108 -0
- package/dist/commonjs/funcs/smtpGetSmtpCredentials.js.map +1 -0
- package/dist/commonjs/funcs/topicsDeleteV1TopicsId.d.ts +12 -0
- package/dist/commonjs/funcs/topicsDeleteV1TopicsId.d.ts.map +1 -0
- package/dist/commonjs/funcs/topicsDeleteV1TopicsId.js +118 -0
- package/dist/commonjs/funcs/topicsDeleteV1TopicsId.js.map +1 -0
- package/dist/commonjs/funcs/topicsGetV1Topics.d.ts +12 -0
- package/dist/commonjs/funcs/topicsGetV1Topics.d.ts.map +1 -0
- package/dist/commonjs/funcs/topicsGetV1Topics.js +102 -0
- package/dist/commonjs/funcs/topicsGetV1Topics.js.map +1 -0
- package/dist/commonjs/funcs/topicsPostV1Topics.d.ts +12 -0
- package/dist/commonjs/funcs/topicsPostV1Topics.d.ts.map +1 -0
- package/dist/commonjs/funcs/topicsPostV1Topics.js +115 -0
- package/dist/commonjs/funcs/topicsPostV1Topics.js.map +1 -0
- package/dist/commonjs/funcs/topicsPutV1TopicsId.d.ts +12 -0
- package/dist/commonjs/funcs/topicsPutV1TopicsId.d.ts.map +1 -0
- package/dist/commonjs/funcs/topicsPutV1TopicsId.js +119 -0
- package/dist/commonjs/funcs/topicsPutV1TopicsId.js.map +1 -0
- package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts +12 -0
- package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts.map +1 -0
- package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js +122 -0
- package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js.map +1 -0
- package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.d.ts +12 -0
- package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.d.ts.map +1 -0
- package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.js +115 -0
- package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/createtemplaterequest.d.ts +15 -0
- package/dist/commonjs/models/createtemplaterequest.d.ts.map +1 -1
- package/dist/commonjs/models/createtemplaterequest.js +6 -0
- package/dist/commonjs/models/createtemplaterequest.js.map +1 -1
- package/dist/commonjs/models/errors/deletev1topicsid.d.ts +45 -0
- package/dist/commonjs/models/errors/deletev1topicsid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/deletev1topicsid.js +99 -0
- package/dist/commonjs/models/errors/deletev1topicsid.js.map +1 -0
- package/dist/commonjs/models/errors/getv1billingusage.d.ts +24 -0
- package/dist/commonjs/models/errors/getv1billingusage.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1billingusage.js +71 -0
- package/dist/commonjs/models/errors/getv1billingusage.js.map +1 -0
- package/dist/commonjs/models/errors/getv1topics.d.ts +24 -0
- package/dist/commonjs/models/errors/getv1topics.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1topics.js +71 -0
- package/dist/commonjs/models/errors/getv1topics.js.map +1 -0
- package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.d.ts +24 -0
- package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.js +71 -0
- package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +10 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +10 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/postv1billingcheckout.d.ts +24 -0
- package/dist/commonjs/models/errors/postv1billingcheckout.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1billingcheckout.js +71 -0
- package/dist/commonjs/models/errors/postv1billingcheckout.js.map +1 -0
- package/dist/commonjs/models/errors/postv1billingportal.d.ts +24 -0
- package/dist/commonjs/models/errors/postv1billingportal.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1billingportal.js +71 -0
- package/dist/commonjs/models/errors/postv1billingportal.js.map +1 -0
- package/dist/commonjs/models/errors/postv1billingwebhooks.d.ts +24 -0
- package/dist/commonjs/models/errors/postv1billingwebhooks.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1billingwebhooks.js +71 -0
- package/dist/commonjs/models/errors/postv1billingwebhooks.js.map +1 -0
- package/dist/commonjs/models/errors/postv1topics.d.ts +24 -0
- package/dist/commonjs/models/errors/postv1topics.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1topics.js +71 -0
- package/dist/commonjs/models/errors/postv1topics.js.map +1 -0
- package/dist/commonjs/models/errors/postv1unsubscribe.d.ts +24 -0
- package/dist/commonjs/models/errors/postv1unsubscribe.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1unsubscribe.js +71 -0
- package/dist/commonjs/models/errors/postv1unsubscribe.js.map +1 -0
- package/dist/commonjs/models/errors/putv1topicsid.d.ts +45 -0
- package/dist/commonjs/models/errors/putv1topicsid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/putv1topicsid.js +99 -0
- package/dist/commonjs/models/errors/putv1topicsid.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/deletev1contactsyncid.d.ts +23 -0
- package/dist/commonjs/models/operations/deletev1contactsyncid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletev1contactsyncid.js +59 -0
- package/dist/commonjs/models/operations/deletev1contactsyncid.js.map +1 -0
- package/dist/commonjs/models/operations/deletev1integrationsid.d.ts +23 -0
- package/dist/commonjs/models/operations/deletev1integrationsid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletev1integrationsid.js +59 -0
- package/dist/commonjs/models/operations/deletev1integrationsid.js.map +1 -0
- package/dist/commonjs/models/operations/deletev1topicsid.d.ts +23 -0
- package/dist/commonjs/models/operations/deletev1topicsid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletev1topicsid.js +59 -0
- package/dist/commonjs/models/operations/deletev1topicsid.js.map +1 -0
- package/dist/commonjs/models/operations/getv1billingusage.d.ts +20 -0
- package/dist/commonjs/models/operations/getv1billingusage.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1billingusage.js +58 -0
- package/dist/commonjs/models/operations/getv1billingusage.js.map +1 -0
- package/dist/commonjs/models/operations/getv1contactsync.d.ts +35 -0
- package/dist/commonjs/models/operations/getv1contactsync.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1contactsync.js +85 -0
- package/dist/commonjs/models/operations/getv1contactsync.js.map +1 -0
- package/dist/commonjs/models/operations/getv1integrationsconnections.d.ts +31 -0
- package/dist/commonjs/models/operations/getv1integrationsconnections.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1integrationsconnections.js +78 -0
- package/dist/commonjs/models/operations/getv1integrationsconnections.js.map +1 -0
- package/dist/commonjs/models/operations/getv1integrationssupabasecallback.d.ts +14 -0
- package/dist/commonjs/models/operations/getv1integrationssupabasecallback.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1integrationssupabasecallback.js +50 -0
- package/dist/commonjs/models/operations/getv1integrationssupabasecallback.js.map +1 -0
- package/dist/commonjs/models/operations/getv1integrationsvercelcallback.d.ts +14 -0
- package/dist/commonjs/models/operations/getv1integrationsvercelcallback.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1integrationsvercelcallback.js +50 -0
- package/dist/commonjs/models/operations/getv1integrationsvercelcallback.js.map +1 -0
- package/dist/commonjs/models/operations/getv1topics.d.ts +24 -0
- package/dist/commonjs/models/operations/getv1topics.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1topics.js +71 -0
- package/dist/commonjs/models/operations/getv1topics.js.map +1 -0
- package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.d.ts +39 -0
- package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.js +76 -0
- package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +18 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +18 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/postv1billingcheckout.d.ts +37 -0
- package/dist/commonjs/models/operations/postv1billingcheckout.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1billingcheckout.js +67 -0
- package/dist/commonjs/models/operations/postv1billingcheckout.js.map +1 -0
- package/dist/commonjs/models/operations/postv1billingportal.d.ts +13 -0
- package/dist/commonjs/models/operations/postv1billingportal.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1billingportal.js +51 -0
- package/dist/commonjs/models/operations/postv1billingportal.js.map +1 -0
- package/dist/commonjs/models/operations/postv1billingwebhooks.d.ts +13 -0
- package/dist/commonjs/models/operations/postv1billingwebhooks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1billingwebhooks.js +51 -0
- package/dist/commonjs/models/operations/postv1billingwebhooks.js.map +1 -0
- package/dist/commonjs/models/operations/postv1contactsyncsupabase.d.ts +67 -0
- package/dist/commonjs/models/operations/postv1contactsyncsupabase.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1contactsyncsupabase.js +100 -0
- package/dist/commonjs/models/operations/postv1contactsyncsupabase.js.map +1 -0
- package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.d.ts +25 -0
- package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.js +60 -0
- package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.js.map +1 -0
- package/dist/commonjs/models/operations/postv1topics.d.ts +30 -0
- package/dist/commonjs/models/operations/postv1topics.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1topics.js +72 -0
- package/dist/commonjs/models/operations/postv1topics.js.map +1 -0
- package/dist/commonjs/models/operations/postv1unsubscribe.d.ts +32 -0
- package/dist/commonjs/models/operations/postv1unsubscribe.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1unsubscribe.js +64 -0
- package/dist/commonjs/models/operations/postv1unsubscribe.js.map +1 -0
- package/dist/commonjs/models/operations/putv1topicsid.d.ts +42 -0
- package/dist/commonjs/models/operations/putv1topicsid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/putv1topicsid.js +81 -0
- package/dist/commonjs/models/operations/putv1topicsid.js.map +1 -0
- package/dist/commonjs/models/sendemailrequest.d.ts +26 -4
- package/dist/commonjs/models/sendemailrequest.d.ts.map +1 -1
- package/dist/commonjs/models/sendemailrequest.js +6 -2
- package/dist/commonjs/models/sendemailrequest.js.map +1 -1
- package/dist/commonjs/models/smtpcredentials.d.ts +23 -0
- package/dist/commonjs/models/smtpcredentials.d.ts.map +1 -0
- package/dist/commonjs/models/smtpcredentials.js +71 -0
- package/dist/commonjs/models/smtpcredentials.js.map +1 -0
- package/dist/commonjs/models/template.d.ts +3 -0
- package/dist/commonjs/models/template.d.ts.map +1 -1
- package/dist/commonjs/models/template.js +6 -0
- package/dist/commonjs/models/template.js.map +1 -1
- package/dist/commonjs/sdk/billing.d.ts +9 -0
- package/dist/commonjs/sdk/billing.d.ts.map +1 -0
- package/dist/commonjs/sdk/billing.js +28 -0
- package/dist/commonjs/sdk/billing.js.map +1 -0
- package/dist/commonjs/sdk/contactsync.d.ts +9 -0
- package/dist/commonjs/sdk/contactsync.d.ts.map +1 -0
- package/dist/commonjs/sdk/contactsync.js +28 -0
- package/dist/commonjs/sdk/contactsync.js.map +1 -0
- package/dist/commonjs/sdk/integrations.d.ts +11 -0
- package/dist/commonjs/sdk/integrations.d.ts.map +1 -0
- package/dist/commonjs/sdk/integrations.js +36 -0
- package/dist/commonjs/sdk/integrations.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +18 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +24 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/smtp.d.ts +12 -0
- package/dist/commonjs/sdk/smtp.d.ts.map +1 -0
- package/dist/commonjs/sdk/smtp.js +22 -0
- package/dist/commonjs/sdk/smtp.js.map +1 -0
- package/dist/commonjs/sdk/topics.d.ts +9 -0
- package/dist/commonjs/sdk/topics.d.ts.map +1 -0
- package/dist/commonjs/sdk/topics.js +28 -0
- package/dist/commonjs/sdk/topics.js.map +1 -0
- package/dist/commonjs/sdk/unsubscribe.d.ts +7 -0
- package/dist/commonjs/sdk/unsubscribe.d.ts.map +1 -0
- package/dist/commonjs/sdk/unsubscribe.js +20 -0
- package/dist/commonjs/sdk/unsubscribe.js.map +1 -0
- package/dist/esm/funcs/billingGetV1BillingUsage.d.ts +12 -0
- package/dist/esm/funcs/billingGetV1BillingUsage.d.ts.map +1 -0
- package/dist/esm/funcs/billingGetV1BillingUsage.js +66 -0
- package/dist/esm/funcs/billingGetV1BillingUsage.js.map +1 -0
- package/dist/esm/funcs/billingPostV1BillingCheckout.d.ts +12 -0
- package/dist/esm/funcs/billingPostV1BillingCheckout.d.ts.map +1 -0
- package/dist/esm/funcs/billingPostV1BillingCheckout.js +79 -0
- package/dist/esm/funcs/billingPostV1BillingCheckout.js.map +1 -0
- package/dist/esm/funcs/billingPostV1BillingPortal.d.ts +12 -0
- package/dist/esm/funcs/billingPostV1BillingPortal.d.ts.map +1 -0
- package/dist/esm/funcs/billingPostV1BillingPortal.js +66 -0
- package/dist/esm/funcs/billingPostV1BillingPortal.js.map +1 -0
- package/dist/esm/funcs/billingPostV1BillingWebhooks.d.ts +12 -0
- package/dist/esm/funcs/billingPostV1BillingWebhooks.d.ts.map +1 -0
- package/dist/esm/funcs/billingPostV1BillingWebhooks.js +79 -0
- package/dist/esm/funcs/billingPostV1BillingWebhooks.js.map +1 -0
- package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.d.ts +11 -0
- package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.d.ts.map +1 -0
- package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.js +78 -0
- package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.js.map +1 -0
- package/dist/esm/funcs/contactSyncGetV1ContactSync.d.ts +11 -0
- package/dist/esm/funcs/contactSyncGetV1ContactSync.d.ts.map +1 -0
- package/dist/esm/funcs/contactSyncGetV1ContactSync.js +62 -0
- package/dist/esm/funcs/contactSyncGetV1ContactSync.js.map +1 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.d.ts +11 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.d.ts.map +1 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.js +75 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.js.map +1 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts +11 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts.map +1 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js +79 -0
- package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js.map +1 -0
- package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.d.ts +11 -0
- package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.d.ts.map +1 -0
- package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.js +78 -0
- package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.js.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.d.ts +11 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.d.ts.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.js +62 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.js.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts +10 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js +62 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts +11 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.js +77 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.js.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts +10 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.js +62 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.js.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts +11 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts.map +1 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.js +77 -0
- package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.js.map +1 -0
- package/dist/esm/funcs/smtpGetSmtpCredentials.d.ts +18 -0
- package/dist/esm/funcs/smtpGetSmtpCredentials.d.ts.map +1 -0
- package/dist/esm/funcs/smtpGetSmtpCredentials.js +72 -0
- package/dist/esm/funcs/smtpGetSmtpCredentials.js.map +1 -0
- package/dist/esm/funcs/topicsDeleteV1TopicsId.d.ts +12 -0
- package/dist/esm/funcs/topicsDeleteV1TopicsId.d.ts.map +1 -0
- package/dist/esm/funcs/topicsDeleteV1TopicsId.js +82 -0
- package/dist/esm/funcs/topicsDeleteV1TopicsId.js.map +1 -0
- package/dist/esm/funcs/topicsGetV1Topics.d.ts +12 -0
- package/dist/esm/funcs/topicsGetV1Topics.d.ts.map +1 -0
- package/dist/esm/funcs/topicsGetV1Topics.js +66 -0
- package/dist/esm/funcs/topicsGetV1Topics.js.map +1 -0
- package/dist/esm/funcs/topicsPostV1Topics.d.ts +12 -0
- package/dist/esm/funcs/topicsPostV1Topics.d.ts.map +1 -0
- package/dist/esm/funcs/topicsPostV1Topics.js +79 -0
- package/dist/esm/funcs/topicsPostV1Topics.js.map +1 -0
- package/dist/esm/funcs/topicsPutV1TopicsId.d.ts +12 -0
- package/dist/esm/funcs/topicsPutV1TopicsId.d.ts.map +1 -0
- package/dist/esm/funcs/topicsPutV1TopicsId.js +83 -0
- package/dist/esm/funcs/topicsPutV1TopicsId.js.map +1 -0
- package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts +12 -0
- package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts.map +1 -0
- package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js +86 -0
- package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js.map +1 -0
- package/dist/esm/funcs/unsubscribePostV1Unsubscribe.d.ts +12 -0
- package/dist/esm/funcs/unsubscribePostV1Unsubscribe.d.ts.map +1 -0
- package/dist/esm/funcs/unsubscribePostV1Unsubscribe.js +79 -0
- package/dist/esm/funcs/unsubscribePostV1Unsubscribe.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/createtemplaterequest.d.ts +15 -0
- package/dist/esm/models/createtemplaterequest.d.ts.map +1 -1
- package/dist/esm/models/createtemplaterequest.js +6 -0
- package/dist/esm/models/createtemplaterequest.js.map +1 -1
- package/dist/esm/models/errors/deletev1topicsid.d.ts +45 -0
- package/dist/esm/models/errors/deletev1topicsid.d.ts.map +1 -0
- package/dist/esm/models/errors/deletev1topicsid.js +61 -0
- package/dist/esm/models/errors/deletev1topicsid.js.map +1 -0
- package/dist/esm/models/errors/getv1billingusage.d.ts +24 -0
- package/dist/esm/models/errors/getv1billingusage.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1billingusage.js +34 -0
- package/dist/esm/models/errors/getv1billingusage.js.map +1 -0
- package/dist/esm/models/errors/getv1topics.d.ts +24 -0
- package/dist/esm/models/errors/getv1topics.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1topics.js +34 -0
- package/dist/esm/models/errors/getv1topics.js.map +1 -0
- package/dist/esm/models/errors/getv1unsubscribeorganizationid.d.ts +24 -0
- package/dist/esm/models/errors/getv1unsubscribeorganizationid.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1unsubscribeorganizationid.js +34 -0
- package/dist/esm/models/errors/getv1unsubscribeorganizationid.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +10 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +10 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/postv1billingcheckout.d.ts +24 -0
- package/dist/esm/models/errors/postv1billingcheckout.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1billingcheckout.js +34 -0
- package/dist/esm/models/errors/postv1billingcheckout.js.map +1 -0
- package/dist/esm/models/errors/postv1billingportal.d.ts +24 -0
- package/dist/esm/models/errors/postv1billingportal.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1billingportal.js +34 -0
- package/dist/esm/models/errors/postv1billingportal.js.map +1 -0
- package/dist/esm/models/errors/postv1billingwebhooks.d.ts +24 -0
- package/dist/esm/models/errors/postv1billingwebhooks.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1billingwebhooks.js +34 -0
- package/dist/esm/models/errors/postv1billingwebhooks.js.map +1 -0
- package/dist/esm/models/errors/postv1topics.d.ts +24 -0
- package/dist/esm/models/errors/postv1topics.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1topics.js +34 -0
- package/dist/esm/models/errors/postv1topics.js.map +1 -0
- package/dist/esm/models/errors/postv1unsubscribe.d.ts +24 -0
- package/dist/esm/models/errors/postv1unsubscribe.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1unsubscribe.js +34 -0
- package/dist/esm/models/errors/postv1unsubscribe.js.map +1 -0
- package/dist/esm/models/errors/putv1topicsid.d.ts +45 -0
- package/dist/esm/models/errors/putv1topicsid.d.ts.map +1 -0
- package/dist/esm/models/errors/putv1topicsid.js +61 -0
- package/dist/esm/models/errors/putv1topicsid.js.map +1 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/deletev1contactsyncid.d.ts +23 -0
- package/dist/esm/models/operations/deletev1contactsyncid.d.ts.map +1 -0
- package/dist/esm/models/operations/deletev1contactsyncid.js +21 -0
- package/dist/esm/models/operations/deletev1contactsyncid.js.map +1 -0
- package/dist/esm/models/operations/deletev1integrationsid.d.ts +23 -0
- package/dist/esm/models/operations/deletev1integrationsid.d.ts.map +1 -0
- package/dist/esm/models/operations/deletev1integrationsid.js +21 -0
- package/dist/esm/models/operations/deletev1integrationsid.js.map +1 -0
- package/dist/esm/models/operations/deletev1topicsid.d.ts +23 -0
- package/dist/esm/models/operations/deletev1topicsid.d.ts.map +1 -0
- package/dist/esm/models/operations/deletev1topicsid.js +21 -0
- package/dist/esm/models/operations/deletev1topicsid.js.map +1 -0
- package/dist/esm/models/operations/getv1billingusage.d.ts +20 -0
- package/dist/esm/models/operations/getv1billingusage.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1billingusage.js +21 -0
- package/dist/esm/models/operations/getv1billingusage.js.map +1 -0
- package/dist/esm/models/operations/getv1contactsync.d.ts +35 -0
- package/dist/esm/models/operations/getv1contactsync.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1contactsync.js +47 -0
- package/dist/esm/models/operations/getv1contactsync.js.map +1 -0
- package/dist/esm/models/operations/getv1integrationsconnections.d.ts +31 -0
- package/dist/esm/models/operations/getv1integrationsconnections.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1integrationsconnections.js +40 -0
- package/dist/esm/models/operations/getv1integrationsconnections.js.map +1 -0
- package/dist/esm/models/operations/getv1integrationssupabasecallback.d.ts +14 -0
- package/dist/esm/models/operations/getv1integrationssupabasecallback.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1integrationssupabasecallback.js +13 -0
- package/dist/esm/models/operations/getv1integrationssupabasecallback.js.map +1 -0
- package/dist/esm/models/operations/getv1integrationsvercelcallback.d.ts +14 -0
- package/dist/esm/models/operations/getv1integrationsvercelcallback.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1integrationsvercelcallback.js +13 -0
- package/dist/esm/models/operations/getv1integrationsvercelcallback.js.map +1 -0
- package/dist/esm/models/operations/getv1topics.d.ts +24 -0
- package/dist/esm/models/operations/getv1topics.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1topics.js +33 -0
- package/dist/esm/models/operations/getv1topics.js.map +1 -0
- package/dist/esm/models/operations/getv1unsubscribeorganizationid.d.ts +39 -0
- package/dist/esm/models/operations/getv1unsubscribeorganizationid.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1unsubscribeorganizationid.js +37 -0
- package/dist/esm/models/operations/getv1unsubscribeorganizationid.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +18 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +18 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/postv1billingcheckout.d.ts +37 -0
- package/dist/esm/models/operations/postv1billingcheckout.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1billingcheckout.js +29 -0
- package/dist/esm/models/operations/postv1billingcheckout.js.map +1 -0
- package/dist/esm/models/operations/postv1billingportal.d.ts +13 -0
- package/dist/esm/models/operations/postv1billingportal.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1billingportal.js +14 -0
- package/dist/esm/models/operations/postv1billingportal.js.map +1 -0
- package/dist/esm/models/operations/postv1billingwebhooks.d.ts +13 -0
- package/dist/esm/models/operations/postv1billingwebhooks.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1billingwebhooks.js +14 -0
- package/dist/esm/models/operations/postv1billingwebhooks.js.map +1 -0
- package/dist/esm/models/operations/postv1contactsyncsupabase.d.ts +67 -0
- package/dist/esm/models/operations/postv1contactsyncsupabase.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1contactsyncsupabase.js +61 -0
- package/dist/esm/models/operations/postv1contactsyncsupabase.js.map +1 -0
- package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.d.ts +25 -0
- package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.js +22 -0
- package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.js.map +1 -0
- package/dist/esm/models/operations/postv1topics.d.ts +30 -0
- package/dist/esm/models/operations/postv1topics.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1topics.js +34 -0
- package/dist/esm/models/operations/postv1topics.js.map +1 -0
- package/dist/esm/models/operations/postv1unsubscribe.d.ts +32 -0
- package/dist/esm/models/operations/postv1unsubscribe.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1unsubscribe.js +26 -0
- package/dist/esm/models/operations/postv1unsubscribe.js.map +1 -0
- package/dist/esm/models/operations/putv1topicsid.d.ts +42 -0
- package/dist/esm/models/operations/putv1topicsid.d.ts.map +1 -0
- package/dist/esm/models/operations/putv1topicsid.js +42 -0
- package/dist/esm/models/operations/putv1topicsid.js.map +1 -0
- package/dist/esm/models/sendemailrequest.d.ts +26 -4
- package/dist/esm/models/sendemailrequest.d.ts.map +1 -1
- package/dist/esm/models/sendemailrequest.js +6 -2
- package/dist/esm/models/sendemailrequest.js.map +1 -1
- package/dist/esm/models/smtpcredentials.d.ts +23 -0
- package/dist/esm/models/smtpcredentials.d.ts.map +1 -0
- package/dist/esm/models/smtpcredentials.js +33 -0
- package/dist/esm/models/smtpcredentials.js.map +1 -0
- package/dist/esm/models/template.d.ts +3 -0
- package/dist/esm/models/template.d.ts.map +1 -1
- package/dist/esm/models/template.js +6 -0
- package/dist/esm/models/template.js.map +1 -1
- package/dist/esm/sdk/billing.d.ts +9 -0
- package/dist/esm/sdk/billing.d.ts.map +1 -0
- package/dist/esm/sdk/billing.js +24 -0
- package/dist/esm/sdk/billing.js.map +1 -0
- package/dist/esm/sdk/contactsync.d.ts +9 -0
- package/dist/esm/sdk/contactsync.d.ts.map +1 -0
- package/dist/esm/sdk/contactsync.js +24 -0
- package/dist/esm/sdk/contactsync.js.map +1 -0
- package/dist/esm/sdk/integrations.d.ts +11 -0
- package/dist/esm/sdk/integrations.d.ts.map +1 -0
- package/dist/esm/sdk/integrations.js +32 -0
- package/dist/esm/sdk/integrations.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +18 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +24 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/smtp.d.ts +12 -0
- package/dist/esm/sdk/smtp.d.ts.map +1 -0
- package/dist/esm/sdk/smtp.js +18 -0
- package/dist/esm/sdk/smtp.js.map +1 -0
- package/dist/esm/sdk/topics.d.ts +9 -0
- package/dist/esm/sdk/topics.d.ts.map +1 -0
- package/dist/esm/sdk/topics.js +24 -0
- package/dist/esm/sdk/topics.js.map +1 -0
- package/dist/esm/sdk/unsubscribe.d.ts +7 -0
- package/dist/esm/sdk/unsubscribe.d.ts.map +1 -0
- package/dist/esm/sdk/unsubscribe.js +16 -0
- package/dist/esm/sdk/unsubscribe.js.map +1 -0
- package/examples/emailsSend.example.ts +2 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +5 -1
- package/src/funcs/billingGetV1BillingUsage.ts +145 -0
- package/src/funcs/billingPostV1BillingCheckout.ts +170 -0
- package/src/funcs/billingPostV1BillingPortal.ts +145 -0
- package/src/funcs/billingPostV1BillingWebhooks.ts +166 -0
- package/src/funcs/contactSyncDeleteV1ContactSyncId.ts +162 -0
- package/src/funcs/contactSyncGetV1ContactSync.ts +136 -0
- package/src/funcs/contactSyncPostV1ContactSyncSupabase.ts +161 -0
- package/src/funcs/contactSyncPostV1ContactSyncWebhookSyncId.ts +169 -0
- package/src/funcs/integrationsDeleteV1IntegrationsId.ts +162 -0
- package/src/funcs/integrationsGetV1IntegrationsConnections.ts +136 -0
- package/src/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.ts +136 -0
- package/src/funcs/integrationsGetV1IntegrationsSupabaseCallback.ts +164 -0
- package/src/funcs/integrationsGetV1IntegrationsVercelAuthorize.ts +136 -0
- package/src/funcs/integrationsGetV1IntegrationsVercelCallback.ts +164 -0
- package/src/funcs/smtpGetSmtpCredentials.ts +151 -0
- package/src/funcs/topicsDeleteV1TopicsId.ts +175 -0
- package/src/funcs/topicsGetV1Topics.ts +145 -0
- package/src/funcs/topicsPostV1Topics.ts +167 -0
- package/src/funcs/topicsPutV1TopicsId.ts +175 -0
- package/src/funcs/unsubscribeGetV1UnsubscribeOrganizationId.ts +185 -0
- package/src/funcs/unsubscribePostV1Unsubscribe.ts +170 -0
- package/src/lib/config.ts +3 -3
- package/src/models/createtemplaterequest.ts +21 -0
- package/src/models/errors/deletev1topicsid.ts +109 -0
- package/src/models/errors/getv1billingusage.ts +58 -0
- package/src/models/errors/getv1topics.ts +58 -0
- package/src/models/errors/getv1unsubscribeorganizationid.ts +56 -0
- package/src/models/errors/index.ts +10 -0
- package/src/models/errors/postv1billingcheckout.ts +56 -0
- package/src/models/errors/postv1billingportal.ts +58 -0
- package/src/models/errors/postv1billingwebhooks.ts +58 -0
- package/src/models/errors/postv1topics.ts +58 -0
- package/src/models/errors/postv1unsubscribe.ts +58 -0
- package/src/models/errors/putv1topicsid.ts +109 -0
- package/src/models/index.ts +1 -0
- package/src/models/operations/deletev1contactsyncid.ts +61 -0
- package/src/models/operations/deletev1integrationsid.ts +61 -0
- package/src/models/operations/deletev1topicsid.ts +59 -0
- package/src/models/operations/getv1billingusage.ts +48 -0
- package/src/models/operations/getv1contactsync.ts +98 -0
- package/src/models/operations/getv1integrationsconnections.ts +85 -0
- package/src/models/operations/getv1integrationssupabasecallback.ts +37 -0
- package/src/models/operations/getv1integrationsvercelcallback.ts +37 -0
- package/src/models/operations/getv1topics.ts +76 -0
- package/src/models/operations/getv1unsubscribeorganizationid.ts +105 -0
- package/src/models/operations/index.ts +18 -0
- package/src/models/operations/postv1billingcheckout.ts +81 -0
- package/src/models/operations/postv1billingportal.ts +34 -0
- package/src/models/operations/postv1billingwebhooks.ts +34 -0
- package/src/models/operations/postv1contactsyncsupabase.ts +148 -0
- package/src/models/operations/postv1contactsyncwebhooksyncid.ts +64 -0
- package/src/models/operations/postv1topics.ts +82 -0
- package/src/models/operations/postv1unsubscribe.ts +73 -0
- package/src/models/operations/putv1topicsid.ts +110 -0
- package/src/models/sendemailrequest.ts +32 -6
- package/src/models/smtpcredentials.ts +72 -0
- package/src/models/template.ts +9 -0
- package/src/sdk/billing.ts +53 -0
- package/src/sdk/contactsync.ts +55 -0
- package/src/sdk/integrations.ts +75 -0
- package/src/sdk/sdk.ts +36 -0
- package/src/sdk/smtp.ts +25 -0
- package/src/sdk/topics.ts +55 -0
- package/src/sdk/unsubscribe.ts +33 -0
- package/temp/example.ts +3 -0
|
@@ -2,9 +2,19 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./deletev1topicsid.js";
|
|
5
6
|
export * from "./emailrdefaulterror.js";
|
|
6
7
|
export * from "./emailrerror.js";
|
|
7
8
|
export * from "./error.js";
|
|
9
|
+
export * from "./getv1billingusage.js";
|
|
10
|
+
export * from "./getv1topics.js";
|
|
11
|
+
export * from "./getv1unsubscribeorganizationid.js";
|
|
8
12
|
export * from "./httpclienterrors.js";
|
|
13
|
+
export * from "./postv1billingcheckout.js";
|
|
14
|
+
export * from "./postv1billingportal.js";
|
|
15
|
+
export * from "./postv1billingwebhooks.js";
|
|
16
|
+
export * from "./postv1topics.js";
|
|
17
|
+
export * from "./postv1unsubscribe.js";
|
|
18
|
+
export * from "./putv1topicsid.js";
|
|
9
19
|
export * from "./responsevalidationerror.js";
|
|
10
20
|
export * from "./sdkvalidationerror.js";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { EmailrError } from "./emailrerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Unauthorized
|
|
11
|
+
*/
|
|
12
|
+
export type PostV1BillingCheckoutUnauthorizedErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Unauthorized
|
|
18
|
+
*/
|
|
19
|
+
export class PostV1BillingCheckoutUnauthorizedError extends EmailrError {
|
|
20
|
+
error: string;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: PostV1BillingCheckoutUnauthorizedErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: PostV1BillingCheckoutUnauthorizedErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = "message" in err && typeof err.message === "string"
|
|
30
|
+
? err.message
|
|
31
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
+
super(message, httpMeta);
|
|
33
|
+
this.data$ = err;
|
|
34
|
+
this.error = err.error;
|
|
35
|
+
|
|
36
|
+
this.name = "PostV1BillingCheckoutUnauthorizedError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const PostV1BillingCheckoutUnauthorizedError$inboundSchema:
|
|
42
|
+
z.ZodMiniType<PostV1BillingCheckoutUnauthorizedError, unknown> = z.pipe(
|
|
43
|
+
z.object({
|
|
44
|
+
error: types.string(),
|
|
45
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
46
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
47
|
+
body$: z.string(),
|
|
48
|
+
}),
|
|
49
|
+
z.transform((v) => {
|
|
50
|
+
return new PostV1BillingCheckoutUnauthorizedError(v, {
|
|
51
|
+
request: v.request$,
|
|
52
|
+
response: v.response$,
|
|
53
|
+
body: v.body$,
|
|
54
|
+
});
|
|
55
|
+
}),
|
|
56
|
+
);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { EmailrError } from "./emailrerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Unauthorized
|
|
11
|
+
*/
|
|
12
|
+
export type PostV1BillingPortalUnauthorizedErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Unauthorized
|
|
18
|
+
*/
|
|
19
|
+
export class PostV1BillingPortalUnauthorizedError extends EmailrError {
|
|
20
|
+
error: string;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: PostV1BillingPortalUnauthorizedErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: PostV1BillingPortalUnauthorizedErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = "message" in err && typeof err.message === "string"
|
|
30
|
+
? err.message
|
|
31
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
+
super(message, httpMeta);
|
|
33
|
+
this.data$ = err;
|
|
34
|
+
this.error = err.error;
|
|
35
|
+
|
|
36
|
+
this.name = "PostV1BillingPortalUnauthorizedError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const PostV1BillingPortalUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
42
|
+
PostV1BillingPortalUnauthorizedError,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.pipe(
|
|
45
|
+
z.object({
|
|
46
|
+
error: types.string(),
|
|
47
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
48
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
49
|
+
body$: z.string(),
|
|
50
|
+
}),
|
|
51
|
+
z.transform((v) => {
|
|
52
|
+
return new PostV1BillingPortalUnauthorizedError(v, {
|
|
53
|
+
request: v.request$,
|
|
54
|
+
response: v.response$,
|
|
55
|
+
body: v.body$,
|
|
56
|
+
});
|
|
57
|
+
}),
|
|
58
|
+
);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { EmailrError } from "./emailrerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Invalid signature
|
|
11
|
+
*/
|
|
12
|
+
export type BadRequestErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Invalid signature
|
|
18
|
+
*/
|
|
19
|
+
export class BadRequestError extends EmailrError {
|
|
20
|
+
error: string;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: BadRequestErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: BadRequestErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = "message" in err && typeof err.message === "string"
|
|
30
|
+
? err.message
|
|
31
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
+
super(message, httpMeta);
|
|
33
|
+
this.data$ = err;
|
|
34
|
+
this.error = err.error;
|
|
35
|
+
|
|
36
|
+
this.name = "BadRequestError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const BadRequestError$inboundSchema: z.ZodMiniType<
|
|
42
|
+
BadRequestError,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.pipe(
|
|
45
|
+
z.object({
|
|
46
|
+
error: types.string(),
|
|
47
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
48
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
49
|
+
body$: z.string(),
|
|
50
|
+
}),
|
|
51
|
+
z.transform((v) => {
|
|
52
|
+
return new BadRequestError(v, {
|
|
53
|
+
request: v.request$,
|
|
54
|
+
response: v.response$,
|
|
55
|
+
body: v.body$,
|
|
56
|
+
});
|
|
57
|
+
}),
|
|
58
|
+
);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { EmailrError } from "./emailrerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Unauthorized
|
|
11
|
+
*/
|
|
12
|
+
export type PostV1TopicsUnauthorizedErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Unauthorized
|
|
18
|
+
*/
|
|
19
|
+
export class PostV1TopicsUnauthorizedError extends EmailrError {
|
|
20
|
+
error: string;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: PostV1TopicsUnauthorizedErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: PostV1TopicsUnauthorizedErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = "message" in err && typeof err.message === "string"
|
|
30
|
+
? err.message
|
|
31
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
+
super(message, httpMeta);
|
|
33
|
+
this.data$ = err;
|
|
34
|
+
this.error = err.error;
|
|
35
|
+
|
|
36
|
+
this.name = "PostV1TopicsUnauthorizedError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const PostV1TopicsUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
42
|
+
PostV1TopicsUnauthorizedError,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.pipe(
|
|
45
|
+
z.object({
|
|
46
|
+
error: types.string(),
|
|
47
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
48
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
49
|
+
body$: z.string(),
|
|
50
|
+
}),
|
|
51
|
+
z.transform((v) => {
|
|
52
|
+
return new PostV1TopicsUnauthorizedError(v, {
|
|
53
|
+
request: v.request$,
|
|
54
|
+
response: v.response$,
|
|
55
|
+
body: v.body$,
|
|
56
|
+
});
|
|
57
|
+
}),
|
|
58
|
+
);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { EmailrError } from "./emailrerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Contact not found
|
|
11
|
+
*/
|
|
12
|
+
export type PostV1UnsubscribeNotFoundErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Contact not found
|
|
18
|
+
*/
|
|
19
|
+
export class PostV1UnsubscribeNotFoundError extends EmailrError {
|
|
20
|
+
error: string;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: PostV1UnsubscribeNotFoundErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: PostV1UnsubscribeNotFoundErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = "message" in err && typeof err.message === "string"
|
|
30
|
+
? err.message
|
|
31
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
+
super(message, httpMeta);
|
|
33
|
+
this.data$ = err;
|
|
34
|
+
this.error = err.error;
|
|
35
|
+
|
|
36
|
+
this.name = "PostV1UnsubscribeNotFoundError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const PostV1UnsubscribeNotFoundError$inboundSchema: z.ZodMiniType<
|
|
42
|
+
PostV1UnsubscribeNotFoundError,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.pipe(
|
|
45
|
+
z.object({
|
|
46
|
+
error: types.string(),
|
|
47
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
48
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
49
|
+
body$: z.string(),
|
|
50
|
+
}),
|
|
51
|
+
z.transform((v) => {
|
|
52
|
+
return new PostV1UnsubscribeNotFoundError(v, {
|
|
53
|
+
request: v.request$,
|
|
54
|
+
response: v.response$,
|
|
55
|
+
body: v.body$,
|
|
56
|
+
});
|
|
57
|
+
}),
|
|
58
|
+
);
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { EmailrError } from "./emailrerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Topic not found
|
|
11
|
+
*/
|
|
12
|
+
export type PutV1TopicsIdNotFoundErrorData = {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Topic not found
|
|
18
|
+
*/
|
|
19
|
+
export class PutV1TopicsIdNotFoundError extends EmailrError {
|
|
20
|
+
error: string;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: PutV1TopicsIdNotFoundErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: PutV1TopicsIdNotFoundErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = "message" in err && typeof err.message === "string"
|
|
30
|
+
? err.message
|
|
31
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
32
|
+
super(message, httpMeta);
|
|
33
|
+
this.data$ = err;
|
|
34
|
+
this.error = err.error;
|
|
35
|
+
|
|
36
|
+
this.name = "PutV1TopicsIdNotFoundError";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Unauthorized
|
|
42
|
+
*/
|
|
43
|
+
export type PutV1TopicsIdUnauthorizedErrorData = {
|
|
44
|
+
error: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Unauthorized
|
|
49
|
+
*/
|
|
50
|
+
export class PutV1TopicsIdUnauthorizedError extends EmailrError {
|
|
51
|
+
error: string;
|
|
52
|
+
|
|
53
|
+
/** The original data that was passed to this error instance. */
|
|
54
|
+
data$: PutV1TopicsIdUnauthorizedErrorData;
|
|
55
|
+
|
|
56
|
+
constructor(
|
|
57
|
+
err: PutV1TopicsIdUnauthorizedErrorData,
|
|
58
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
59
|
+
) {
|
|
60
|
+
const message = "message" in err && typeof err.message === "string"
|
|
61
|
+
? err.message
|
|
62
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
63
|
+
super(message, httpMeta);
|
|
64
|
+
this.data$ = err;
|
|
65
|
+
this.error = err.error;
|
|
66
|
+
|
|
67
|
+
this.name = "PutV1TopicsIdUnauthorizedError";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const PutV1TopicsIdNotFoundError$inboundSchema: z.ZodMiniType<
|
|
73
|
+
PutV1TopicsIdNotFoundError,
|
|
74
|
+
unknown
|
|
75
|
+
> = z.pipe(
|
|
76
|
+
z.object({
|
|
77
|
+
error: types.string(),
|
|
78
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
79
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
80
|
+
body$: z.string(),
|
|
81
|
+
}),
|
|
82
|
+
z.transform((v) => {
|
|
83
|
+
return new PutV1TopicsIdNotFoundError(v, {
|
|
84
|
+
request: v.request$,
|
|
85
|
+
response: v.response$,
|
|
86
|
+
body: v.body$,
|
|
87
|
+
});
|
|
88
|
+
}),
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const PutV1TopicsIdUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
93
|
+
PutV1TopicsIdUnauthorizedError,
|
|
94
|
+
unknown
|
|
95
|
+
> = z.pipe(
|
|
96
|
+
z.object({
|
|
97
|
+
error: types.string(),
|
|
98
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
99
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
100
|
+
body$: z.string(),
|
|
101
|
+
}),
|
|
102
|
+
z.transform((v) => {
|
|
103
|
+
return new PutV1TopicsIdUnauthorizedError(v, {
|
|
104
|
+
request: v.request$,
|
|
105
|
+
response: v.response$,
|
|
106
|
+
body: v.body$,
|
|
107
|
+
});
|
|
108
|
+
}),
|
|
109
|
+
);
|
package/src/models/index.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from "./segment.js";
|
|
|
32
32
|
export * from "./sendbroadcastresponse.js";
|
|
33
33
|
export * from "./sendemailrequest.js";
|
|
34
34
|
export * from "./sendemailresponse.js";
|
|
35
|
+
export * from "./smtpcredentials.js";
|
|
35
36
|
export * from "./success.js";
|
|
36
37
|
export * from "./teammember.js";
|
|
37
38
|
export * from "./template.js";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DeleteV1ContactSyncIdRequest = {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Sync deleted
|
|
17
|
+
*/
|
|
18
|
+
export type DeleteV1ContactSyncIdResponse = {
|
|
19
|
+
success: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type DeleteV1ContactSyncIdRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const DeleteV1ContactSyncIdRequest$outboundSchema: z.ZodMiniType<
|
|
29
|
+
DeleteV1ContactSyncIdRequest$Outbound,
|
|
30
|
+
DeleteV1ContactSyncIdRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
id: z.string(),
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function deleteV1ContactSyncIdRequestToJSON(
|
|
36
|
+
deleteV1ContactSyncIdRequest: DeleteV1ContactSyncIdRequest,
|
|
37
|
+
): string {
|
|
38
|
+
return JSON.stringify(
|
|
39
|
+
DeleteV1ContactSyncIdRequest$outboundSchema.parse(
|
|
40
|
+
deleteV1ContactSyncIdRequest,
|
|
41
|
+
),
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const DeleteV1ContactSyncIdResponse$inboundSchema: z.ZodMiniType<
|
|
47
|
+
DeleteV1ContactSyncIdResponse,
|
|
48
|
+
unknown
|
|
49
|
+
> = z.object({
|
|
50
|
+
success: types.boolean(),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export function deleteV1ContactSyncIdResponseFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<DeleteV1ContactSyncIdResponse, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => DeleteV1ContactSyncIdResponse$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'DeleteV1ContactSyncIdResponse' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DeleteV1IntegrationsIdRequest = {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Connection deleted
|
|
17
|
+
*/
|
|
18
|
+
export type DeleteV1IntegrationsIdResponse = {
|
|
19
|
+
success: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type DeleteV1IntegrationsIdRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const DeleteV1IntegrationsIdRequest$outboundSchema: z.ZodMiniType<
|
|
29
|
+
DeleteV1IntegrationsIdRequest$Outbound,
|
|
30
|
+
DeleteV1IntegrationsIdRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
id: z.string(),
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function deleteV1IntegrationsIdRequestToJSON(
|
|
36
|
+
deleteV1IntegrationsIdRequest: DeleteV1IntegrationsIdRequest,
|
|
37
|
+
): string {
|
|
38
|
+
return JSON.stringify(
|
|
39
|
+
DeleteV1IntegrationsIdRequest$outboundSchema.parse(
|
|
40
|
+
deleteV1IntegrationsIdRequest,
|
|
41
|
+
),
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const DeleteV1IntegrationsIdResponse$inboundSchema: z.ZodMiniType<
|
|
47
|
+
DeleteV1IntegrationsIdResponse,
|
|
48
|
+
unknown
|
|
49
|
+
> = z.object({
|
|
50
|
+
success: types.boolean(),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export function deleteV1IntegrationsIdResponseFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<DeleteV1IntegrationsIdResponse, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => DeleteV1IntegrationsIdResponse$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'DeleteV1IntegrationsIdResponse' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DeleteV1TopicsIdRequest = {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Topic deleted
|
|
17
|
+
*/
|
|
18
|
+
export type DeleteV1TopicsIdResponse = {
|
|
19
|
+
success: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type DeleteV1TopicsIdRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const DeleteV1TopicsIdRequest$outboundSchema: z.ZodMiniType<
|
|
29
|
+
DeleteV1TopicsIdRequest$Outbound,
|
|
30
|
+
DeleteV1TopicsIdRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
id: z.string(),
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function deleteV1TopicsIdRequestToJSON(
|
|
36
|
+
deleteV1TopicsIdRequest: DeleteV1TopicsIdRequest,
|
|
37
|
+
): string {
|
|
38
|
+
return JSON.stringify(
|
|
39
|
+
DeleteV1TopicsIdRequest$outboundSchema.parse(deleteV1TopicsIdRequest),
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const DeleteV1TopicsIdResponse$inboundSchema: z.ZodMiniType<
|
|
45
|
+
DeleteV1TopicsIdResponse,
|
|
46
|
+
unknown
|
|
47
|
+
> = z.object({
|
|
48
|
+
success: types.boolean(),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export function deleteV1TopicsIdResponseFromJSON(
|
|
52
|
+
jsonString: string,
|
|
53
|
+
): SafeParseResult<DeleteV1TopicsIdResponse, SDKValidationError> {
|
|
54
|
+
return safeParse(
|
|
55
|
+
jsonString,
|
|
56
|
+
(x) => DeleteV1TopicsIdResponse$inboundSchema.parse(JSON.parse(x)),
|
|
57
|
+
`Failed to parse 'DeleteV1TopicsIdResponse' from JSON`,
|
|
58
|
+
);
|
|
59
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Current usage
|
|
13
|
+
*/
|
|
14
|
+
export type GetV1BillingUsageResponse = {
|
|
15
|
+
organizationId: string;
|
|
16
|
+
month: string;
|
|
17
|
+
transactionalEmails: number;
|
|
18
|
+
marketingEmails: number;
|
|
19
|
+
transactionalLimit: number | null;
|
|
20
|
+
marketingLimit: number | null;
|
|
21
|
+
transactionalPercentUsed: number;
|
|
22
|
+
marketingPercentUsed: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const GetV1BillingUsageResponse$inboundSchema: z.ZodMiniType<
|
|
27
|
+
GetV1BillingUsageResponse,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
organizationId: types.string(),
|
|
31
|
+
month: types.string(),
|
|
32
|
+
transactionalEmails: types.number(),
|
|
33
|
+
marketingEmails: types.number(),
|
|
34
|
+
transactionalLimit: types.nullable(types.number()),
|
|
35
|
+
marketingLimit: types.nullable(types.number()),
|
|
36
|
+
transactionalPercentUsed: types.number(),
|
|
37
|
+
marketingPercentUsed: types.number(),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function getV1BillingUsageResponseFromJSON(
|
|
41
|
+
jsonString: string,
|
|
42
|
+
): SafeParseResult<GetV1BillingUsageResponse, SDKValidationError> {
|
|
43
|
+
return safeParse(
|
|
44
|
+
jsonString,
|
|
45
|
+
(x) => GetV1BillingUsageResponse$inboundSchema.parse(JSON.parse(x)),
|
|
46
|
+
`Failed to parse 'GetV1BillingUsageResponse' from JSON`,
|
|
47
|
+
);
|
|
48
|
+
}
|