digital-tools 2.0.1
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/.turbo/turbo-build.log +5 -0
- package/CHANGELOG.md +9 -0
- package/README.md +1144 -0
- package/dist/define.d.ts +109 -0
- package/dist/define.d.ts.map +1 -0
- package/dist/define.js +268 -0
- package/dist/define.js.map +1 -0
- package/dist/entities/advertising.d.ts +79 -0
- package/dist/entities/advertising.d.ts.map +1 -0
- package/dist/entities/advertising.js +1000 -0
- package/dist/entities/advertising.js.map +1 -0
- package/dist/entities/ai.d.ts +69 -0
- package/dist/entities/ai.d.ts.map +1 -0
- package/dist/entities/ai.js +757 -0
- package/dist/entities/ai.js.map +1 -0
- package/dist/entities/analytics.d.ts +83 -0
- package/dist/entities/analytics.d.ts.map +1 -0
- package/dist/entities/analytics.js +1589 -0
- package/dist/entities/analytics.js.map +1 -0
- package/dist/entities/automation.d.ts +61 -0
- package/dist/entities/automation.d.ts.map +1 -0
- package/dist/entities/automation.js +602 -0
- package/dist/entities/automation.js.map +1 -0
- package/dist/entities/communication.d.ts +96 -0
- package/dist/entities/communication.d.ts.map +1 -0
- package/dist/entities/communication.js +1151 -0
- package/dist/entities/communication.js.map +1 -0
- package/dist/entities/crm.d.ts +91 -0
- package/dist/entities/crm.d.ts.map +1 -0
- package/dist/entities/crm.js +1387 -0
- package/dist/entities/crm.js.map +1 -0
- package/dist/entities/design.d.ts +61 -0
- package/dist/entities/design.d.ts.map +1 -0
- package/dist/entities/design.js +547 -0
- package/dist/entities/design.js.map +1 -0
- package/dist/entities/development.d.ts +145 -0
- package/dist/entities/development.d.ts.map +1 -0
- package/dist/entities/development.js +2213 -0
- package/dist/entities/development.js.map +1 -0
- package/dist/entities/document.d.ts +54 -0
- package/dist/entities/document.d.ts.map +1 -0
- package/dist/entities/document.js +875 -0
- package/dist/entities/document.js.map +1 -0
- package/dist/entities/ecommerce.d.ts +93 -0
- package/dist/entities/ecommerce.d.ts.map +1 -0
- package/dist/entities/ecommerce.js +1430 -0
- package/dist/entities/ecommerce.js.map +1 -0
- package/dist/entities/experiment.d.ts +89 -0
- package/dist/entities/experiment.d.ts.map +1 -0
- package/dist/entities/experiment.js +1040 -0
- package/dist/entities/experiment.js.map +1 -0
- package/dist/entities/finance.d.ts +272 -0
- package/dist/entities/finance.d.ts.map +1 -0
- package/dist/entities/finance.js +3479 -0
- package/dist/entities/finance.js.map +1 -0
- package/dist/entities/forms.d.ts +91 -0
- package/dist/entities/forms.d.ts.map +1 -0
- package/dist/entities/forms.js +1893 -0
- package/dist/entities/forms.js.map +1 -0
- package/dist/entities/hr.d.ts +62 -0
- package/dist/entities/hr.d.ts.map +1 -0
- package/dist/entities/hr.js +662 -0
- package/dist/entities/hr.js.map +1 -0
- package/dist/entities/identity.d.ts +90 -0
- package/dist/entities/identity.d.ts.map +1 -0
- package/dist/entities/identity.js +998 -0
- package/dist/entities/identity.js.map +1 -0
- package/dist/entities/index.d.ts +410 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +283 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/infrastructure.d.ts +98 -0
- package/dist/entities/infrastructure.d.ts.map +1 -0
- package/dist/entities/infrastructure.js +1154 -0
- package/dist/entities/infrastructure.js.map +1 -0
- package/dist/entities/knowledge.d.ts +98 -0
- package/dist/entities/knowledge.d.ts.map +1 -0
- package/dist/entities/knowledge.js +1439 -0
- package/dist/entities/knowledge.js.map +1 -0
- package/dist/entities/marketing.d.ts +82 -0
- package/dist/entities/marketing.d.ts.map +1 -0
- package/dist/entities/marketing.js +1611 -0
- package/dist/entities/marketing.js.map +1 -0
- package/dist/entities/media.d.ts +83 -0
- package/dist/entities/media.d.ts.map +1 -0
- package/dist/entities/media.js +1635 -0
- package/dist/entities/media.js.map +1 -0
- package/dist/entities/notification.d.ts +76 -0
- package/dist/entities/notification.d.ts.map +1 -0
- package/dist/entities/notification.js +1200 -0
- package/dist/entities/notification.js.map +1 -0
- package/dist/entities/presentation.d.ts +61 -0
- package/dist/entities/presentation.d.ts.map +1 -0
- package/dist/entities/presentation.js +1275 -0
- package/dist/entities/presentation.js.map +1 -0
- package/dist/entities/productivity.d.ts +92 -0
- package/dist/entities/productivity.d.ts.map +1 -0
- package/dist/entities/productivity.js +1318 -0
- package/dist/entities/productivity.js.map +1 -0
- package/dist/entities/project-management.d.ts +89 -0
- package/dist/entities/project-management.d.ts.map +1 -0
- package/dist/entities/project-management.js +1137 -0
- package/dist/entities/project-management.js.map +1 -0
- package/dist/entities/recruiting.d.ts +54 -0
- package/dist/entities/recruiting.d.ts.map +1 -0
- package/dist/entities/recruiting.js +737 -0
- package/dist/entities/recruiting.js.map +1 -0
- package/dist/entities/shipping.d.ts +52 -0
- package/dist/entities/shipping.d.ts.map +1 -0
- package/dist/entities/shipping.js +510 -0
- package/dist/entities/shipping.js.map +1 -0
- package/dist/entities/signature.d.ts +83 -0
- package/dist/entities/signature.d.ts.map +1 -0
- package/dist/entities/signature.js +1103 -0
- package/dist/entities/signature.js.map +1 -0
- package/dist/entities/site.d.ts +33 -0
- package/dist/entities/site.d.ts.map +1 -0
- package/dist/entities/site.js +223 -0
- package/dist/entities/site.js.map +1 -0
- package/dist/entities/spreadsheet.d.ts +68 -0
- package/dist/entities/spreadsheet.d.ts.map +1 -0
- package/dist/entities/spreadsheet.js +1342 -0
- package/dist/entities/spreadsheet.js.map +1 -0
- package/dist/entities/storage.d.ts +74 -0
- package/dist/entities/storage.d.ts.map +1 -0
- package/dist/entities/storage.js +1199 -0
- package/dist/entities/storage.js.map +1 -0
- package/dist/entities/support.d.ts +83 -0
- package/dist/entities/support.d.ts.map +1 -0
- package/dist/entities/support.js +1167 -0
- package/dist/entities/support.js.map +1 -0
- package/dist/entities/video-conferencing.d.ts +129 -0
- package/dist/entities/video-conferencing.d.ts.map +1 -0
- package/dist/entities/video-conferencing.js +1751 -0
- package/dist/entities/video-conferencing.js.map +1 -0
- package/dist/entities/video.d.ts +76 -0
- package/dist/entities/video.d.ts.map +1 -0
- package/dist/entities/video.js +951 -0
- package/dist/entities/video.js.map +1 -0
- package/dist/entities.d.ts +147 -0
- package/dist/entities.d.ts.map +1 -0
- package/dist/entities.js +1664 -0
- package/dist/entities.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +75 -0
- package/dist/index.js.map +1 -0
- package/dist/providers/analytics/index.d.ts +19 -0
- package/dist/providers/analytics/index.d.ts.map +1 -0
- package/dist/providers/analytics/index.js +18 -0
- package/dist/providers/analytics/index.js.map +1 -0
- package/dist/providers/analytics/mixpanel.d.ts +25 -0
- package/dist/providers/analytics/mixpanel.d.ts.map +1 -0
- package/dist/providers/analytics/mixpanel.js +256 -0
- package/dist/providers/analytics/mixpanel.js.map +1 -0
- package/dist/providers/calendar/cal-com.d.ts +26 -0
- package/dist/providers/calendar/cal-com.d.ts.map +1 -0
- package/dist/providers/calendar/cal-com.js +304 -0
- package/dist/providers/calendar/cal-com.js.map +1 -0
- package/dist/providers/calendar/google-calendar.d.ts +25 -0
- package/dist/providers/calendar/google-calendar.d.ts.map +1 -0
- package/dist/providers/calendar/google-calendar.js +336 -0
- package/dist/providers/calendar/google-calendar.js.map +1 -0
- package/dist/providers/calendar/index.d.ts +20 -0
- package/dist/providers/calendar/index.d.ts.map +1 -0
- package/dist/providers/calendar/index.js +21 -0
- package/dist/providers/calendar/index.js.map +1 -0
- package/dist/providers/crm/hubspot.d.ts +25 -0
- package/dist/providers/crm/hubspot.d.ts.map +1 -0
- package/dist/providers/crm/hubspot.js +567 -0
- package/dist/providers/crm/hubspot.js.map +1 -0
- package/dist/providers/crm/index.d.ts +19 -0
- package/dist/providers/crm/index.d.ts.map +1 -0
- package/dist/providers/crm/index.js +18 -0
- package/dist/providers/crm/index.js.map +1 -0
- package/dist/providers/development/github.d.ts +25 -0
- package/dist/providers/development/github.d.ts.map +1 -0
- package/dist/providers/development/github.js +473 -0
- package/dist/providers/development/github.js.map +1 -0
- package/dist/providers/development/index.d.ts +19 -0
- package/dist/providers/development/index.d.ts.map +1 -0
- package/dist/providers/development/index.js +18 -0
- package/dist/providers/development/index.js.map +1 -0
- package/dist/providers/ecommerce/index.d.ts +19 -0
- package/dist/providers/ecommerce/index.d.ts.map +1 -0
- package/dist/providers/ecommerce/index.js +18 -0
- package/dist/providers/ecommerce/index.js.map +1 -0
- package/dist/providers/ecommerce/shopify.d.ts +25 -0
- package/dist/providers/ecommerce/shopify.d.ts.map +1 -0
- package/dist/providers/ecommerce/shopify.js +379 -0
- package/dist/providers/ecommerce/shopify.js.map +1 -0
- package/dist/providers/email/index.d.ts +20 -0
- package/dist/providers/email/index.d.ts.map +1 -0
- package/dist/providers/email/index.js +21 -0
- package/dist/providers/email/index.js.map +1 -0
- package/dist/providers/email/resend.d.ts +25 -0
- package/dist/providers/email/resend.d.ts.map +1 -0
- package/dist/providers/email/resend.js +259 -0
- package/dist/providers/email/resend.js.map +1 -0
- package/dist/providers/email/sendgrid.d.ts +25 -0
- package/dist/providers/email/sendgrid.d.ts.map +1 -0
- package/dist/providers/email/sendgrid.js +162 -0
- package/dist/providers/email/sendgrid.js.map +1 -0
- package/dist/providers/finance/index.d.ts +19 -0
- package/dist/providers/finance/index.d.ts.map +1 -0
- package/dist/providers/finance/index.js +18 -0
- package/dist/providers/finance/index.js.map +1 -0
- package/dist/providers/finance/stripe.d.ts +25 -0
- package/dist/providers/finance/stripe.d.ts.map +1 -0
- package/dist/providers/finance/stripe.js +550 -0
- package/dist/providers/finance/stripe.js.map +1 -0
- package/dist/providers/forms/index.d.ts +19 -0
- package/dist/providers/forms/index.d.ts.map +1 -0
- package/dist/providers/forms/index.js +18 -0
- package/dist/providers/forms/index.js.map +1 -0
- package/dist/providers/forms/typeform.d.ts +25 -0
- package/dist/providers/forms/typeform.d.ts.map +1 -0
- package/dist/providers/forms/typeform.js +501 -0
- package/dist/providers/forms/typeform.js.map +1 -0
- package/dist/providers/index.d.ts +56 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +124 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/knowledge/index.d.ts +19 -0
- package/dist/providers/knowledge/index.d.ts.map +1 -0
- package/dist/providers/knowledge/index.js +18 -0
- package/dist/providers/knowledge/index.js.map +1 -0
- package/dist/providers/knowledge/notion.d.ts +25 -0
- package/dist/providers/knowledge/notion.d.ts.map +1 -0
- package/dist/providers/knowledge/notion.js +390 -0
- package/dist/providers/knowledge/notion.js.map +1 -0
- package/dist/providers/marketing/index.d.ts +19 -0
- package/dist/providers/marketing/index.d.ts.map +1 -0
- package/dist/providers/marketing/index.js +18 -0
- package/dist/providers/marketing/index.js.map +1 -0
- package/dist/providers/marketing/mailchimp.d.ts +25 -0
- package/dist/providers/marketing/mailchimp.d.ts.map +1 -0
- package/dist/providers/marketing/mailchimp.js +444 -0
- package/dist/providers/marketing/mailchimp.js.map +1 -0
- package/dist/providers/media/cloudinary.d.ts +25 -0
- package/dist/providers/media/cloudinary.d.ts.map +1 -0
- package/dist/providers/media/cloudinary.js +319 -0
- package/dist/providers/media/cloudinary.js.map +1 -0
- package/dist/providers/media/index.d.ts +19 -0
- package/dist/providers/media/index.d.ts.map +1 -0
- package/dist/providers/media/index.js +18 -0
- package/dist/providers/media/index.js.map +1 -0
- package/dist/providers/messaging/index.d.ts +24 -0
- package/dist/providers/messaging/index.d.ts.map +1 -0
- package/dist/providers/messaging/index.js +21 -0
- package/dist/providers/messaging/index.js.map +1 -0
- package/dist/providers/messaging/slack.d.ts +25 -0
- package/dist/providers/messaging/slack.d.ts.map +1 -0
- package/dist/providers/messaging/slack.js +394 -0
- package/dist/providers/messaging/slack.js.map +1 -0
- package/dist/providers/messaging/twilio-sms.d.ts +25 -0
- package/dist/providers/messaging/twilio-sms.d.ts.map +1 -0
- package/dist/providers/messaging/twilio-sms.js +250 -0
- package/dist/providers/messaging/twilio-sms.js.map +1 -0
- package/dist/providers/project-management/index.d.ts +19 -0
- package/dist/providers/project-management/index.d.ts.map +1 -0
- package/dist/providers/project-management/index.js +18 -0
- package/dist/providers/project-management/index.js.map +1 -0
- package/dist/providers/project-management/linear.d.ts +25 -0
- package/dist/providers/project-management/linear.d.ts.map +1 -0
- package/dist/providers/project-management/linear.js +576 -0
- package/dist/providers/project-management/linear.js.map +1 -0
- package/dist/providers/registry.d.ts +41 -0
- package/dist/providers/registry.d.ts.map +1 -0
- package/dist/providers/registry.js +87 -0
- package/dist/providers/registry.js.map +1 -0
- package/dist/providers/spreadsheet/google-sheets.d.ts +25 -0
- package/dist/providers/spreadsheet/google-sheets.d.ts.map +1 -0
- package/dist/providers/spreadsheet/google-sheets.js +376 -0
- package/dist/providers/spreadsheet/google-sheets.js.map +1 -0
- package/dist/providers/spreadsheet/index.d.ts +20 -0
- package/dist/providers/spreadsheet/index.d.ts.map +1 -0
- package/dist/providers/spreadsheet/index.js +21 -0
- package/dist/providers/spreadsheet/index.js.map +1 -0
- package/dist/providers/spreadsheet/xlsx.d.ts +26 -0
- package/dist/providers/spreadsheet/xlsx.d.ts.map +1 -0
- package/dist/providers/spreadsheet/xlsx.js +424 -0
- package/dist/providers/spreadsheet/xlsx.js.map +1 -0
- package/dist/providers/storage/index.d.ts +30 -0
- package/dist/providers/storage/index.d.ts.map +1 -0
- package/dist/providers/storage/index.js +25 -0
- package/dist/providers/storage/index.js.map +1 -0
- package/dist/providers/storage/s3.d.ts +25 -0
- package/dist/providers/storage/s3.d.ts.map +1 -0
- package/dist/providers/storage/s3.js +420 -0
- package/dist/providers/storage/s3.js.map +1 -0
- package/dist/providers/support/index.d.ts +19 -0
- package/dist/providers/support/index.d.ts.map +1 -0
- package/dist/providers/support/index.js +18 -0
- package/dist/providers/support/index.js.map +1 -0
- package/dist/providers/support/zendesk.d.ts +25 -0
- package/dist/providers/support/zendesk.d.ts.map +1 -0
- package/dist/providers/support/zendesk.js +374 -0
- package/dist/providers/support/zendesk.js.map +1 -0
- package/dist/providers/tasks/index.d.ts +19 -0
- package/dist/providers/tasks/index.d.ts.map +1 -0
- package/dist/providers/tasks/index.js +18 -0
- package/dist/providers/tasks/index.js.map +1 -0
- package/dist/providers/tasks/todoist.d.ts +25 -0
- package/dist/providers/tasks/todoist.d.ts.map +1 -0
- package/dist/providers/tasks/todoist.js +287 -0
- package/dist/providers/tasks/todoist.js.map +1 -0
- package/dist/providers/types.d.ts +1753 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +10 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/providers/video-conferencing/google-meet.d.ts +26 -0
- package/dist/providers/video-conferencing/google-meet.d.ts.map +1 -0
- package/dist/providers/video-conferencing/google-meet.js +287 -0
- package/dist/providers/video-conferencing/google-meet.js.map +1 -0
- package/dist/providers/video-conferencing/index.d.ts +22 -0
- package/dist/providers/video-conferencing/index.d.ts.map +1 -0
- package/dist/providers/video-conferencing/index.js +32 -0
- package/dist/providers/video-conferencing/index.js.map +1 -0
- package/dist/providers/video-conferencing/jitsi.d.ts +26 -0
- package/dist/providers/video-conferencing/jitsi.d.ts.map +1 -0
- package/dist/providers/video-conferencing/jitsi.js +255 -0
- package/dist/providers/video-conferencing/jitsi.js.map +1 -0
- package/dist/providers/video-conferencing/teams.d.ts +26 -0
- package/dist/providers/video-conferencing/teams.d.ts.map +1 -0
- package/dist/providers/video-conferencing/teams.js +271 -0
- package/dist/providers/video-conferencing/teams.js.map +1 -0
- package/dist/providers/video-conferencing/zoom.d.ts +25 -0
- package/dist/providers/video-conferencing/zoom.d.ts.map +1 -0
- package/dist/providers/video-conferencing/zoom.js +333 -0
- package/dist/providers/video-conferencing/zoom.js.map +1 -0
- package/dist/providers/voice/vapi.d.ts +27 -0
- package/dist/providers/voice/vapi.d.ts.map +1 -0
- package/dist/providers/voice/vapi.js +440 -0
- package/dist/providers/voice/vapi.js.map +1 -0
- package/dist/registry.d.ts +38 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +129 -0
- package/dist/registry.js.map +1 -0
- package/dist/tools/communication.d.ts +94 -0
- package/dist/tools/communication.d.ts.map +1 -0
- package/dist/tools/communication.js +185 -0
- package/dist/tools/communication.js.map +1 -0
- package/dist/tools/data.d.ts +61 -0
- package/dist/tools/data.d.ts.map +1 -0
- package/dist/tools/data.js +206 -0
- package/dist/tools/data.js.map +1 -0
- package/dist/tools/index.d.ts +12 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +12 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/web.d.ts +45 -0
- package/dist/tools/web.d.ts.map +1 -0
- package/dist/tools/web.js +138 -0
- package/dist/tools/web.js.map +1 -0
- package/dist/types.d.ts +330 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +11 -0
- package/dist/types.js.map +1 -0
- package/package.json +45 -0
- package/src/define.ts +321 -0
- package/src/entities/advertising.ts +1086 -0
- package/src/entities/ai.ts +835 -0
- package/src/entities/analytics.ts +1690 -0
- package/src/entities/automation.ts +669 -0
- package/src/entities/communication.ts +1255 -0
- package/src/entities/crm.ts +1481 -0
- package/src/entities/design.ts +606 -0
- package/src/entities/development.ts +2392 -0
- package/src/entities/document.ts +930 -0
- package/src/entities/ecommerce.ts +1539 -0
- package/src/entities/experiment.ts +1139 -0
- package/src/entities/finance.ts +3907 -0
- package/src/entities/forms.ts +2021 -0
- package/src/entities/hr.ts +725 -0
- package/src/entities/identity.ts +1093 -0
- package/src/entities/index.ts +731 -0
- package/src/entities/infrastructure.ts +1254 -0
- package/src/entities/knowledge.ts +1547 -0
- package/src/entities/marketing.ts +1718 -0
- package/src/entities/media.ts +1747 -0
- package/src/entities/notification.ts +1260 -0
- package/src/entities/presentation.ts +1360 -0
- package/src/entities/productivity.ts +1411 -0
- package/src/entities/project-management.ts +1222 -0
- package/src/entities/recruiting.ts +797 -0
- package/src/entities/shipping.ts +566 -0
- package/src/entities/signature.ts +1204 -0
- package/src/entities/site.ts +244 -0
- package/src/entities/spreadsheet.ts +1434 -0
- package/src/entities/storage.ts +1290 -0
- package/src/entities/support.ts +1267 -0
- package/src/entities/video-conferencing.ts +1874 -0
- package/src/entities/video.ts +1035 -0
- package/src/entities.ts +1795 -0
- package/src/index.ts +176 -0
- package/src/providers/analytics/index.ts +21 -0
- package/src/providers/analytics/mixpanel.ts +311 -0
- package/src/providers/calendar/cal-com.ts +435 -0
- package/src/providers/calendar/google-calendar.ts +412 -0
- package/src/providers/calendar/index.ts +24 -0
- package/src/providers/crm/hubspot.ts +667 -0
- package/src/providers/crm/index.ts +21 -0
- package/src/providers/development/github.ts +608 -0
- package/src/providers/development/index.ts +21 -0
- package/src/providers/ecommerce/index.ts +21 -0
- package/src/providers/ecommerce/shopify.ts +451 -0
- package/src/providers/email/index.ts +24 -0
- package/src/providers/email/resend.ts +301 -0
- package/src/providers/email/sendgrid.ts +196 -0
- package/src/providers/finance/index.ts +21 -0
- package/src/providers/finance/stripe.ts +665 -0
- package/src/providers/forms/index.ts +21 -0
- package/src/providers/forms/typeform.ts +598 -0
- package/src/providers/index.ts +281 -0
- package/src/providers/knowledge/index.ts +21 -0
- package/src/providers/knowledge/notion.ts +497 -0
- package/src/providers/marketing/index.ts +21 -0
- package/src/providers/marketing/mailchimp.ts +656 -0
- package/src/providers/media/cloudinary.ts +373 -0
- package/src/providers/media/index.ts +21 -0
- package/src/providers/messaging/index.ts +24 -0
- package/src/providers/messaging/slack.ts +487 -0
- package/src/providers/messaging/twilio-sms.ts +301 -0
- package/src/providers/project-management/index.ts +21 -0
- package/src/providers/project-management/linear.ts +693 -0
- package/src/providers/registry.ts +119 -0
- package/src/providers/spreadsheet/google-sheets.ts +464 -0
- package/src/providers/spreadsheet/index.ts +24 -0
- package/src/providers/spreadsheet/xlsx.ts +542 -0
- package/src/providers/storage/index.ts +35 -0
- package/src/providers/storage/s3.ts +513 -0
- package/src/providers/support/index.ts +21 -0
- package/src/providers/support/zendesk.ts +417 -0
- package/src/providers/tasks/index.ts +21 -0
- package/src/providers/tasks/todoist.ts +407 -0
- package/src/providers/types.ts +2113 -0
- package/src/providers/video-conferencing/google-meet.ts +412 -0
- package/src/providers/video-conferencing/index.ts +35 -0
- package/src/providers/video-conferencing/jitsi.ts +324 -0
- package/src/providers/video-conferencing/teams.ts +408 -0
- package/src/providers/video-conferencing/zoom.ts +451 -0
- package/src/registry.ts +172 -0
- package/src/tools/communication.ts +256 -0
- package/src/tools/data.ts +236 -0
- package/src/tools/index.ts +12 -0
- package/src/tools/web.ts +161 -0
- package/src/types.ts +539 -0
- package/test/define.test.ts +367 -0
- package/test/registry.test.ts +444 -0
- package/test/tools.test.ts +453 -0
- package/tsconfig.json +20 -0
package/dist/define.d.ts
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool Definition Utilities
|
|
3
|
+
*
|
|
4
|
+
* Provides helpers for defining tools with type safety
|
|
5
|
+
* and automatic schema conversion.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import type { AnyTool, Tool, DefineToolOptions, ToolContext, ToolResult, Schema } from './types.js';
|
|
10
|
+
/**
|
|
11
|
+
* Define a new tool with type safety
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const sendEmail = defineTool({
|
|
16
|
+
* id: 'communication.email.send',
|
|
17
|
+
* name: 'Send Email',
|
|
18
|
+
* description: 'Send an email to one or more recipients',
|
|
19
|
+
* category: 'communication',
|
|
20
|
+
* subcategory: 'email',
|
|
21
|
+
* input: {
|
|
22
|
+
* type: 'object',
|
|
23
|
+
* properties: {
|
|
24
|
+
* to: { type: 'array', items: { type: 'string' }, description: 'Recipients' },
|
|
25
|
+
* subject: { type: 'string', description: 'Email subject' },
|
|
26
|
+
* body: { type: 'string', description: 'Email body' },
|
|
27
|
+
* },
|
|
28
|
+
* required: ['to', 'subject', 'body'],
|
|
29
|
+
* },
|
|
30
|
+
* handler: async (input) => {
|
|
31
|
+
* // Send email logic
|
|
32
|
+
* return { success: true, messageId: 'msg_123' }
|
|
33
|
+
* },
|
|
34
|
+
* })
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function defineTool<TInput, TOutput>(options: DefineToolOptions<TInput, TOutput>): Tool<TInput, TOutput>;
|
|
38
|
+
/**
|
|
39
|
+
* Define and register a tool in one step
|
|
40
|
+
*/
|
|
41
|
+
export declare function defineAndRegister<TInput, TOutput>(options: DefineToolOptions<TInput, TOutput>): Tool<TInput, TOutput>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a tool executor with context
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const executor = createToolExecutor({
|
|
48
|
+
* executor: { type: 'agent', id: 'agent_123', name: 'Research Agent' },
|
|
49
|
+
* environment: 'production',
|
|
50
|
+
* })
|
|
51
|
+
*
|
|
52
|
+
* const result = await executor.execute('communication.email.send', {
|
|
53
|
+
* to: ['user@example.com'],
|
|
54
|
+
* subject: 'Hello',
|
|
55
|
+
* body: 'World',
|
|
56
|
+
* })
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function createToolExecutor(context: ToolContext): {
|
|
60
|
+
/**
|
|
61
|
+
* Execute a tool by ID with context tracking
|
|
62
|
+
*/
|
|
63
|
+
execute<TInput, TOutput>(toolId: string, input: TInput): Promise<ToolResult<TOutput>>;
|
|
64
|
+
/**
|
|
65
|
+
* List available tools for this executor
|
|
66
|
+
*/
|
|
67
|
+
listAvailable(): AnyTool[];
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Tool builder for fluent API
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const tool = toolBuilder('web.fetch')
|
|
75
|
+
* .name('Fetch URL')
|
|
76
|
+
* .description('Fetch content from a URL')
|
|
77
|
+
* .category('web')
|
|
78
|
+
* .subcategory('fetch')
|
|
79
|
+
* .input({
|
|
80
|
+
* type: 'object',
|
|
81
|
+
* properties: {
|
|
82
|
+
* url: { type: 'string', description: 'URL to fetch' },
|
|
83
|
+
* },
|
|
84
|
+
* required: ['url'],
|
|
85
|
+
* })
|
|
86
|
+
* .handler(async ({ url }) => {
|
|
87
|
+
* const response = await fetch(url)
|
|
88
|
+
* return response.text()
|
|
89
|
+
* })
|
|
90
|
+
* .build()
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare function toolBuilder(id: string): {
|
|
94
|
+
name(name: string): /*elided*/ any;
|
|
95
|
+
description(description: string): /*elided*/ any;
|
|
96
|
+
category(category: DefineToolOptions<unknown, unknown>["category"]): /*elided*/ any;
|
|
97
|
+
subcategory(subcategory: DefineToolOptions<unknown, unknown>["subcategory"]): /*elided*/ any;
|
|
98
|
+
input(schema: Schema): /*elided*/ any;
|
|
99
|
+
output(schema: Schema): /*elided*/ any;
|
|
100
|
+
handler<TInput, TOutput>(fn: (input: TInput) => TOutput | Promise<TOutput>): {
|
|
101
|
+
build(): Tool<TInput, TOutput>;
|
|
102
|
+
register(): Tool<TInput, TOutput>;
|
|
103
|
+
options(opts: Partial<AnyTool>): ReturnType<typeof toolBuilder>;
|
|
104
|
+
};
|
|
105
|
+
options(opts: Partial<AnyTool>): /*elided*/ any;
|
|
106
|
+
build<TInput, TOutput>(): Tool<TInput, TOutput>;
|
|
107
|
+
register<TInput, TOutput>(): Tool<TInput, TOutput>;
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=define.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EACV,OAAO,EACP,IAAI,EAEJ,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,MAAM,EACP,MAAM,YAAY,CAAA;AA4DnB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,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AAC,MAAM,EAAE,OAAO,CAAC;EAMrD"}
|
package/dist/define.js
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool Definition Utilities
|
|
3
|
+
*
|
|
4
|
+
* Provides helpers for defining tools with type safety
|
|
5
|
+
* and automatic schema conversion.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import { registry } from './registry.js';
|
|
10
|
+
/**
|
|
11
|
+
* Check if a schema is a Zod schema
|
|
12
|
+
*/
|
|
13
|
+
function isZodSchema(schema) {
|
|
14
|
+
return (typeof schema === 'object' &&
|
|
15
|
+
schema !== null &&
|
|
16
|
+
'_def' in schema &&
|
|
17
|
+
'parse' in schema);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Convert a schema to JSON Schema format
|
|
21
|
+
*/
|
|
22
|
+
function toJSONSchema(schema) {
|
|
23
|
+
if (isZodSchema(schema)) {
|
|
24
|
+
// For Zod schemas, we'd use zod-to-json-schema in production
|
|
25
|
+
// For now, return a basic representation
|
|
26
|
+
return {
|
|
27
|
+
type: 'object',
|
|
28
|
+
description: 'Zod schema (convert with zod-to-json-schema)',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return schema;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Convert a schema definition to tool parameters
|
|
35
|
+
*/
|
|
36
|
+
function schemaToParameters(schema) {
|
|
37
|
+
const jsonSchema = toJSONSchema(schema);
|
|
38
|
+
if (jsonSchema.type !== 'object' || !jsonSchema.properties) {
|
|
39
|
+
// Single parameter
|
|
40
|
+
return [
|
|
41
|
+
{
|
|
42
|
+
name: 'input',
|
|
43
|
+
description: jsonSchema.description || 'Input value',
|
|
44
|
+
schema: jsonSchema,
|
|
45
|
+
required: true,
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
const required = jsonSchema.required || [];
|
|
50
|
+
return Object.entries(jsonSchema.properties).map(([name, propSchema]) => ({
|
|
51
|
+
name,
|
|
52
|
+
description: propSchema.description || `Parameter: ${name}`,
|
|
53
|
+
schema: propSchema,
|
|
54
|
+
required: required.includes(name),
|
|
55
|
+
default: propSchema.default,
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Define a new tool with type safety
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const sendEmail = defineTool({
|
|
64
|
+
* id: 'communication.email.send',
|
|
65
|
+
* name: 'Send Email',
|
|
66
|
+
* description: 'Send an email to one or more recipients',
|
|
67
|
+
* category: 'communication',
|
|
68
|
+
* subcategory: 'email',
|
|
69
|
+
* input: {
|
|
70
|
+
* type: 'object',
|
|
71
|
+
* properties: {
|
|
72
|
+
* to: { type: 'array', items: { type: 'string' }, description: 'Recipients' },
|
|
73
|
+
* subject: { type: 'string', description: 'Email subject' },
|
|
74
|
+
* body: { type: 'string', description: 'Email body' },
|
|
75
|
+
* },
|
|
76
|
+
* required: ['to', 'subject', 'body'],
|
|
77
|
+
* },
|
|
78
|
+
* handler: async (input) => {
|
|
79
|
+
* // Send email logic
|
|
80
|
+
* return { success: true, messageId: 'msg_123' }
|
|
81
|
+
* },
|
|
82
|
+
* })
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export function defineTool(options) {
|
|
86
|
+
const tool = {
|
|
87
|
+
id: options.id,
|
|
88
|
+
name: options.name,
|
|
89
|
+
description: options.description,
|
|
90
|
+
category: options.category,
|
|
91
|
+
subcategory: options.subcategory,
|
|
92
|
+
parameters: schemaToParameters(options.input),
|
|
93
|
+
output: options.output
|
|
94
|
+
? {
|
|
95
|
+
description: 'Tool output',
|
|
96
|
+
schema: options.output,
|
|
97
|
+
}
|
|
98
|
+
: undefined,
|
|
99
|
+
handler: options.handler,
|
|
100
|
+
...options.options,
|
|
101
|
+
};
|
|
102
|
+
return tool;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Define and register a tool in one step
|
|
106
|
+
*/
|
|
107
|
+
export function defineAndRegister(options) {
|
|
108
|
+
const tool = defineTool(options);
|
|
109
|
+
registry.register(tool);
|
|
110
|
+
return tool;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Create a tool executor with context
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```ts
|
|
117
|
+
* const executor = createToolExecutor({
|
|
118
|
+
* executor: { type: 'agent', id: 'agent_123', name: 'Research Agent' },
|
|
119
|
+
* environment: 'production',
|
|
120
|
+
* })
|
|
121
|
+
*
|
|
122
|
+
* const result = await executor.execute('communication.email.send', {
|
|
123
|
+
* to: ['user@example.com'],
|
|
124
|
+
* subject: 'Hello',
|
|
125
|
+
* body: 'World',
|
|
126
|
+
* })
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
export function createToolExecutor(context) {
|
|
130
|
+
return {
|
|
131
|
+
/**
|
|
132
|
+
* Execute a tool by ID with context tracking
|
|
133
|
+
*/
|
|
134
|
+
async execute(toolId, input) {
|
|
135
|
+
const tool = registry.get(toolId);
|
|
136
|
+
if (!tool) {
|
|
137
|
+
return {
|
|
138
|
+
success: false,
|
|
139
|
+
error: {
|
|
140
|
+
code: 'TOOL_NOT_FOUND',
|
|
141
|
+
message: `Tool "${toolId}" not found`,
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
// Check audience restrictions
|
|
146
|
+
if (tool.audience &&
|
|
147
|
+
tool.audience !== 'both' &&
|
|
148
|
+
tool.audience !== context.executor.type) {
|
|
149
|
+
return {
|
|
150
|
+
success: false,
|
|
151
|
+
error: {
|
|
152
|
+
code: 'ACCESS_DENIED',
|
|
153
|
+
message: `Tool "${toolId}" is not available for ${context.executor.type}`,
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
const startTime = Date.now();
|
|
158
|
+
try {
|
|
159
|
+
const data = (await tool.handler(input));
|
|
160
|
+
const duration = Date.now() - startTime;
|
|
161
|
+
return {
|
|
162
|
+
success: true,
|
|
163
|
+
data,
|
|
164
|
+
metadata: {
|
|
165
|
+
duration,
|
|
166
|
+
requestId: context.requestId,
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
catch (error) {
|
|
171
|
+
const duration = Date.now() - startTime;
|
|
172
|
+
return {
|
|
173
|
+
success: false,
|
|
174
|
+
error: {
|
|
175
|
+
code: 'EXECUTION_ERROR',
|
|
176
|
+
message: error instanceof Error ? error.message : String(error),
|
|
177
|
+
details: error,
|
|
178
|
+
},
|
|
179
|
+
metadata: {
|
|
180
|
+
duration,
|
|
181
|
+
requestId: context.requestId,
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
/**
|
|
187
|
+
* List available tools for this executor
|
|
188
|
+
*/
|
|
189
|
+
listAvailable() {
|
|
190
|
+
return registry.query({
|
|
191
|
+
audience: context.executor.type,
|
|
192
|
+
});
|
|
193
|
+
},
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Tool builder for fluent API
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* ```ts
|
|
201
|
+
* const tool = toolBuilder('web.fetch')
|
|
202
|
+
* .name('Fetch URL')
|
|
203
|
+
* .description('Fetch content from a URL')
|
|
204
|
+
* .category('web')
|
|
205
|
+
* .subcategory('fetch')
|
|
206
|
+
* .input({
|
|
207
|
+
* type: 'object',
|
|
208
|
+
* properties: {
|
|
209
|
+
* url: { type: 'string', description: 'URL to fetch' },
|
|
210
|
+
* },
|
|
211
|
+
* required: ['url'],
|
|
212
|
+
* })
|
|
213
|
+
* .handler(async ({ url }) => {
|
|
214
|
+
* const response = await fetch(url)
|
|
215
|
+
* return response.text()
|
|
216
|
+
* })
|
|
217
|
+
* .build()
|
|
218
|
+
* ```
|
|
219
|
+
*/
|
|
220
|
+
export function toolBuilder(id) {
|
|
221
|
+
const config = { id };
|
|
222
|
+
return {
|
|
223
|
+
name(name) {
|
|
224
|
+
config.name = name;
|
|
225
|
+
return this;
|
|
226
|
+
},
|
|
227
|
+
description(description) {
|
|
228
|
+
config.description = description;
|
|
229
|
+
return this;
|
|
230
|
+
},
|
|
231
|
+
category(category) {
|
|
232
|
+
config.category = category;
|
|
233
|
+
return this;
|
|
234
|
+
},
|
|
235
|
+
subcategory(subcategory) {
|
|
236
|
+
config.subcategory = subcategory;
|
|
237
|
+
return this;
|
|
238
|
+
},
|
|
239
|
+
input(schema) {
|
|
240
|
+
config.input = schema;
|
|
241
|
+
return this;
|
|
242
|
+
},
|
|
243
|
+
output(schema) {
|
|
244
|
+
config.output = schema;
|
|
245
|
+
return this;
|
|
246
|
+
},
|
|
247
|
+
handler(fn) {
|
|
248
|
+
config.handler = fn;
|
|
249
|
+
return this;
|
|
250
|
+
},
|
|
251
|
+
options(opts) {
|
|
252
|
+
config.options = opts;
|
|
253
|
+
return this;
|
|
254
|
+
},
|
|
255
|
+
build() {
|
|
256
|
+
if (!config.name || !config.description || !config.category || !config.input || !config.handler) {
|
|
257
|
+
throw new Error('Tool requires id, name, description, category, input, and handler');
|
|
258
|
+
}
|
|
259
|
+
return defineTool(config);
|
|
260
|
+
},
|
|
261
|
+
register() {
|
|
262
|
+
const tool = this.build();
|
|
263
|
+
registry.register(tool);
|
|
264
|
+
return tool;
|
|
265
|
+
},
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
//# sourceMappingURL=define.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define.js","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAYH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC;;GAEG;AACH,SAAS,WAAW,CAAC,MAAc;IACjC,OAAO,CACL,OAAO,MAAM,KAAK,QAAQ;QAC1B,MAAM,KAAK,IAAI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;YAC1C,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;YACvB,OAAO,IAAI,CAAA;QACb,CAAC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Advertising Entity Types (Nouns)
|
|
3
|
+
*
|
|
4
|
+
* Entities for digital advertising platforms like Google Ads, Meta Ads, etc.
|
|
5
|
+
* Includes ads, campaigns, ad groups, keywords, and conversions.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import type { Noun } from 'ai-database';
|
|
10
|
+
/**
|
|
11
|
+
* Ad entity
|
|
12
|
+
*
|
|
13
|
+
* Represents a digital advertisement
|
|
14
|
+
*/
|
|
15
|
+
export declare const Ad: Noun;
|
|
16
|
+
/**
|
|
17
|
+
* Ad group entity
|
|
18
|
+
*
|
|
19
|
+
* Represents a group of related ads
|
|
20
|
+
*/
|
|
21
|
+
export declare const AdGroup: Noun;
|
|
22
|
+
/**
|
|
23
|
+
* Ad campaign entity
|
|
24
|
+
*
|
|
25
|
+
* Represents an advertising campaign
|
|
26
|
+
*/
|
|
27
|
+
export declare const AdCampaign: Noun;
|
|
28
|
+
/**
|
|
29
|
+
* Keyword entity
|
|
30
|
+
*
|
|
31
|
+
* Represents a search keyword for advertising
|
|
32
|
+
*/
|
|
33
|
+
export declare const Keyword: Noun;
|
|
34
|
+
/**
|
|
35
|
+
* Negative keyword entity
|
|
36
|
+
*/
|
|
37
|
+
export declare const NegativeKeyword: Noun;
|
|
38
|
+
/**
|
|
39
|
+
* Conversion entity
|
|
40
|
+
*
|
|
41
|
+
* Represents a tracked conversion
|
|
42
|
+
*/
|
|
43
|
+
export declare const Conversion: Noun;
|
|
44
|
+
/**
|
|
45
|
+
* Budget entity
|
|
46
|
+
*
|
|
47
|
+
* Represents an advertising budget
|
|
48
|
+
*/
|
|
49
|
+
export declare const Budget: Noun;
|
|
50
|
+
/**
|
|
51
|
+
* Ad audience entity
|
|
52
|
+
*
|
|
53
|
+
* Represents a targetable audience for advertising
|
|
54
|
+
*/
|
|
55
|
+
export declare const AdAudience: Noun;
|
|
56
|
+
/**
|
|
57
|
+
* All advertising entity types
|
|
58
|
+
*/
|
|
59
|
+
export declare const AdvertisingEntities: {
|
|
60
|
+
Ad: Noun;
|
|
61
|
+
AdGroup: Noun;
|
|
62
|
+
AdCampaign: Noun;
|
|
63
|
+
Keyword: Noun;
|
|
64
|
+
NegativeKeyword: Noun;
|
|
65
|
+
Conversion: Noun;
|
|
66
|
+
Budget: Noun;
|
|
67
|
+
AdAudience: Noun;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Entity categories for organization
|
|
71
|
+
*/
|
|
72
|
+
export declare const AdvertisingCategories: {
|
|
73
|
+
readonly ads: readonly ["Ad", "AdGroup", "AdCampaign"];
|
|
74
|
+
readonly keywords: readonly ["Keyword", "NegativeKeyword"];
|
|
75
|
+
readonly conversions: readonly ["Conversion"];
|
|
76
|
+
readonly budget: readonly ["Budget"];
|
|
77
|
+
readonly audiences: readonly ["AdAudience"];
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=advertising.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advertising.d.ts","sourceRoot":"","sources":["../../src/entities/advertising.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAMvC;;;;GAIG;AACH,eAAO,MAAM,EAAE,EAAE,IAgMhB,CAAA;AAMD;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,IAiIrB,CAAA;AAMD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,IA4LxB,CAAA;AAMD;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,IAiIrB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,IAsC7B,CAAA;AAMD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,IAsGxB,CAAA;AAMD;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,IA2EpB,CAAA;AAMD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,IAuGxB,CAAA;AAMD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;CAkB/B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAA"}
|