@keystrokehq/salesforce 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-contact-to-campaign.cjs +2 -2
- package/dist/actions/add-contact-to-campaign.cjs.map +1 -1
- package/dist/actions/add-contact-to-campaign.d.cts +2 -2
- package/dist/actions/add-contact-to-campaign.d.mts +2 -2
- package/dist/actions/add-contact-to-campaign.mjs +2 -2
- package/dist/actions/add-contact-to-campaign.mjs.map +1 -1
- package/dist/actions/add-lead-to-campaign.cjs +2 -2
- package/dist/actions/add-lead-to-campaign.cjs.map +1 -1
- package/dist/actions/add-lead-to-campaign.d.cts +2 -2
- package/dist/actions/add-lead-to-campaign.d.mts +2 -2
- package/dist/actions/add-lead-to-campaign.mjs +2 -2
- package/dist/actions/add-lead-to-campaign.mjs.map +1 -1
- package/dist/actions/add-opportunity-line-item.cjs +3 -3
- package/dist/actions/add-opportunity-line-item.cjs.map +1 -1
- package/dist/actions/add-opportunity-line-item.d.cts +4 -4
- package/dist/actions/add-opportunity-line-item.d.mts +4 -4
- package/dist/actions/add-opportunity-line-item.mjs +3 -3
- package/dist/actions/add-opportunity-line-item.mjs.map +1 -1
- package/dist/actions/apply-lead-assignment-rules.cjs +2 -2
- package/dist/actions/apply-lead-assignment-rules.cjs.map +1 -1
- package/dist/actions/apply-lead-assignment-rules.d.cts +2 -2
- package/dist/actions/apply-lead-assignment-rules.d.mts +2 -2
- package/dist/actions/apply-lead-assignment-rules.mjs +2 -2
- package/dist/actions/apply-lead-assignment-rules.mjs.map +1 -1
- package/dist/actions/associate-contact-to-account.cjs +1 -1
- package/dist/actions/associate-contact-to-account.cjs.map +1 -1
- package/dist/actions/associate-contact-to-account.d.cts +1 -1
- package/dist/actions/associate-contact-to-account.d.cts.map +1 -1
- package/dist/actions/associate-contact-to-account.d.mts +1 -1
- package/dist/actions/associate-contact-to-account.d.mts.map +1 -1
- package/dist/actions/associate-contact-to-account.mjs +1 -1
- package/dist/actions/associate-contact-to-account.mjs.map +1 -1
- package/dist/actions/clone-opportunity-with-products.cjs +2 -2
- package/dist/actions/clone-opportunity-with-products.cjs.map +1 -1
- package/dist/actions/clone-opportunity-with-products.d.cts +2 -2
- package/dist/actions/clone-opportunity-with-products.d.mts +2 -2
- package/dist/actions/clone-opportunity-with-products.mjs +2 -2
- package/dist/actions/clone-opportunity-with-products.mjs.map +1 -1
- package/dist/actions/clone-record.cjs +2 -2
- package/dist/actions/clone-record.cjs.map +1 -1
- package/dist/actions/clone-record.d.cts +2 -2
- package/dist/actions/clone-record.d.mts +2 -2
- package/dist/actions/clone-record.mjs +2 -2
- package/dist/actions/clone-record.mjs.map +1 -1
- package/dist/actions/close-or-abort-job.cjs +1 -1
- package/dist/actions/close-or-abort-job.cjs.map +1 -1
- package/dist/actions/close-or-abort-job.d.cts +1 -1
- package/dist/actions/close-or-abort-job.d.mts +1 -1
- package/dist/actions/close-or-abort-job.mjs +1 -1
- package/dist/actions/close-or-abort-job.mjs.map +1 -1
- package/dist/actions/complete-task.cjs +1 -1
- package/dist/actions/complete-task.cjs.map +1 -1
- package/dist/actions/complete-task.d.cts +1 -1
- package/dist/actions/complete-task.d.cts.map +1 -1
- package/dist/actions/complete-task.d.mts +1 -1
- package/dist/actions/complete-task.d.mts.map +1 -1
- package/dist/actions/complete-task.mjs +1 -1
- package/dist/actions/complete-task.mjs.map +1 -1
- package/dist/actions/create-a-record.cjs +2 -2
- package/dist/actions/create-a-record.cjs.map +1 -1
- package/dist/actions/create-a-record.d.cts +2 -2
- package/dist/actions/create-a-record.d.mts +2 -2
- package/dist/actions/create-a-record.mjs +2 -2
- package/dist/actions/create-a-record.mjs.map +1 -1
- package/dist/actions/create-account.cjs +2 -2
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +2 -2
- package/dist/actions/create-account.d.mts +2 -2
- package/dist/actions/create-account.mjs +2 -2
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-campaign.cjs +2 -2
- package/dist/actions/create-campaign.cjs.map +1 -1
- package/dist/actions/create-campaign.d.cts +2 -2
- package/dist/actions/create-campaign.d.mts +2 -2
- package/dist/actions/create-campaign.mjs +2 -2
- package/dist/actions/create-campaign.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +2 -2
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +2 -2
- package/dist/actions/create-contact.d.mts +2 -2
- package/dist/actions/create-contact.mjs +2 -2
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +3 -3
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +4 -3
- package/dist/actions/create-custom-field.d.mts +4 -3
- package/dist/actions/create-custom-field.mjs +3 -3
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-custom-object.cjs +2 -2
- package/dist/actions/create-custom-object.cjs.map +1 -1
- package/dist/actions/create-custom-object.d.cts +2 -2
- package/dist/actions/create-custom-object.d.mts +2 -2
- package/dist/actions/create-custom-object.mjs +2 -2
- package/dist/actions/create-custom-object.mjs.map +1 -1
- package/dist/actions/create-lead.cjs +5 -5
- package/dist/actions/create-lead.cjs.map +1 -1
- package/dist/actions/create-lead.d.cts +5 -5
- package/dist/actions/create-lead.d.mts +5 -5
- package/dist/actions/create-lead.mjs +5 -5
- package/dist/actions/create-lead.mjs.map +1 -1
- package/dist/actions/create-note.cjs +2 -2
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +2 -2
- package/dist/actions/create-note.d.mts +2 -2
- package/dist/actions/create-note.mjs +2 -2
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-opportunity.cjs +2 -2
- package/dist/actions/create-opportunity.cjs.map +1 -1
- package/dist/actions/create-opportunity.d.cts +2 -2
- package/dist/actions/create-opportunity.d.mts +2 -2
- package/dist/actions/create-opportunity.mjs +2 -2
- package/dist/actions/create-opportunity.mjs.map +1 -1
- package/dist/actions/create-s-object-record.cjs +5 -5
- package/dist/actions/create-s-object-record.cjs.map +1 -1
- package/dist/actions/create-s-object-record.d.cts +5 -5
- package/dist/actions/create-s-object-record.d.mts +5 -5
- package/dist/actions/create-s-object-record.mjs +5 -5
- package/dist/actions/create-s-object-record.mjs.map +1 -1
- package/dist/actions/create-sobject-tree.cjs +3 -3
- package/dist/actions/create-sobject-tree.cjs.map +1 -1
- package/dist/actions/create-sobject-tree.d.cts +3 -3
- package/dist/actions/create-sobject-tree.d.mts +3 -3
- package/dist/actions/create-sobject-tree.mjs +3 -3
- package/dist/actions/create-sobject-tree.mjs.map +1 -1
- package/dist/actions/create-task.cjs +2 -2
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +2 -2
- package/dist/actions/create-task.d.mts +2 -2
- package/dist/actions/create-task.mjs +2 -2
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/delete-account.cjs +1 -1
- package/dist/actions/delete-account.cjs.map +1 -1
- package/dist/actions/delete-account.d.cts +1 -1
- package/dist/actions/delete-account.d.cts.map +1 -1
- package/dist/actions/delete-account.d.mts +1 -1
- package/dist/actions/delete-account.d.mts.map +1 -1
- package/dist/actions/delete-account.mjs +1 -1
- package/dist/actions/delete-account.mjs.map +1 -1
- package/dist/actions/delete-campaign.cjs +1 -1
- package/dist/actions/delete-campaign.cjs.map +1 -1
- package/dist/actions/delete-campaign.d.cts +1 -1
- package/dist/actions/delete-campaign.d.cts.map +1 -1
- package/dist/actions/delete-campaign.d.mts +1 -1
- package/dist/actions/delete-campaign.d.mts.map +1 -1
- package/dist/actions/delete-campaign.mjs +1 -1
- package/dist/actions/delete-campaign.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +2 -2
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +2 -2
- package/dist/actions/delete-contact.d.mts +2 -2
- package/dist/actions/delete-contact.mjs +2 -2
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.d.mts.map +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-job-query.cjs +1 -1
- package/dist/actions/delete-job-query.cjs.map +1 -1
- package/dist/actions/delete-job-query.d.cts +1 -1
- package/dist/actions/delete-job-query.d.cts.map +1 -1
- package/dist/actions/delete-job-query.d.mts +1 -1
- package/dist/actions/delete-job-query.d.mts.map +1 -1
- package/dist/actions/delete-job-query.mjs +1 -1
- package/dist/actions/delete-job-query.mjs.map +1 -1
- package/dist/actions/delete-lead.cjs +1 -1
- package/dist/actions/delete-lead.cjs.map +1 -1
- package/dist/actions/delete-lead.d.cts +1 -1
- package/dist/actions/delete-lead.d.cts.map +1 -1
- package/dist/actions/delete-lead.d.mts +1 -1
- package/dist/actions/delete-lead.d.mts.map +1 -1
- package/dist/actions/delete-lead.mjs +1 -1
- package/dist/actions/delete-lead.mjs.map +1 -1
- package/dist/actions/delete-note.cjs +1 -1
- package/dist/actions/delete-note.cjs.map +1 -1
- package/dist/actions/delete-note.d.cts +1 -1
- package/dist/actions/delete-note.d.cts.map +1 -1
- package/dist/actions/delete-note.d.mts +1 -1
- package/dist/actions/delete-note.d.mts.map +1 -1
- package/dist/actions/delete-note.mjs +1 -1
- package/dist/actions/delete-note.mjs.map +1 -1
- package/dist/actions/delete-opportunity.cjs +1 -1
- package/dist/actions/delete-opportunity.cjs.map +1 -1
- package/dist/actions/delete-opportunity.d.cts +1 -1
- package/dist/actions/delete-opportunity.d.cts.map +1 -1
- package/dist/actions/delete-opportunity.d.mts +1 -1
- package/dist/actions/delete-opportunity.d.mts.map +1 -1
- package/dist/actions/delete-opportunity.mjs +1 -1
- package/dist/actions/delete-opportunity.mjs.map +1 -1
- package/dist/actions/delete-sobject-collections.cjs +3 -3
- package/dist/actions/delete-sobject-collections.cjs.map +1 -1
- package/dist/actions/delete-sobject-collections.d.cts +3 -3
- package/dist/actions/delete-sobject-collections.d.mts +3 -3
- package/dist/actions/delete-sobject-collections.mjs +3 -3
- package/dist/actions/delete-sobject-collections.mjs.map +1 -1
- package/dist/actions/delete-sobject.cjs +1 -1
- package/dist/actions/delete-sobject.cjs.map +1 -1
- package/dist/actions/delete-sobject.d.cts +1 -1
- package/dist/actions/delete-sobject.d.cts.map +1 -1
- package/dist/actions/delete-sobject.d.mts +1 -1
- package/dist/actions/delete-sobject.d.mts.map +1 -1
- package/dist/actions/delete-sobject.mjs +1 -1
- package/dist/actions/delete-sobject.mjs.map +1 -1
- package/dist/actions/execute-sobject-quick-action.cjs +2 -2
- package/dist/actions/execute-sobject-quick-action.cjs.map +1 -1
- package/dist/actions/execute-sobject-quick-action.d.cts +2 -2
- package/dist/actions/execute-sobject-quick-action.d.mts +2 -2
- package/dist/actions/execute-sobject-quick-action.mjs +2 -2
- package/dist/actions/execute-sobject-quick-action.mjs.map +1 -1
- package/dist/actions/execute-sosl-search.cjs +2 -2
- package/dist/actions/execute-sosl-search.cjs.map +1 -1
- package/dist/actions/execute-sosl-search.d.cts +2 -2
- package/dist/actions/execute-sosl-search.d.mts +2 -2
- package/dist/actions/execute-sosl-search.mjs +2 -2
- package/dist/actions/execute-sosl-search.mjs.map +1 -1
- package/dist/actions/get-a-batch-of-records.cjs +7 -7
- package/dist/actions/get-a-batch-of-records.cjs.map +1 -1
- package/dist/actions/get-a-batch-of-records.d.cts +7 -7
- package/dist/actions/get-a-batch-of-records.d.mts +7 -7
- package/dist/actions/get-a-batch-of-records.mjs +7 -7
- package/dist/actions/get-a-batch-of-records.mjs.map +1 -1
- package/dist/actions/get-account.cjs +3 -3
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +4 -4
- package/dist/actions/get-account.d.mts +4 -4
- package/dist/actions/get-account.mjs +3 -3
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-all-custom-objects.cjs +2 -2
- package/dist/actions/get-all-custom-objects.cjs.map +1 -1
- package/dist/actions/get-all-custom-objects.d.cts +2 -2
- package/dist/actions/get-all-custom-objects.d.mts +2 -2
- package/dist/actions/get-all-custom-objects.mjs +2 -2
- package/dist/actions/get-all-custom-objects.mjs.map +1 -1
- package/dist/actions/get-all-navigation-items.cjs +2 -2
- package/dist/actions/get-all-navigation-items.cjs.map +1 -1
- package/dist/actions/get-all-navigation-items.d.cts +2 -2
- package/dist/actions/get-all-navigation-items.d.mts +2 -2
- package/dist/actions/get-all-navigation-items.mjs +2 -2
- package/dist/actions/get-all-navigation-items.mjs.map +1 -1
- package/dist/actions/get-api.cjs +1 -1
- package/dist/actions/get-api.cjs.map +1 -1
- package/dist/actions/get-api.d.cts +1 -1
- package/dist/actions/get-api.d.mts +1 -1
- package/dist/actions/get-api.mjs +1 -1
- package/dist/actions/get-api.mjs.map +1 -1
- package/dist/actions/get-app.cjs +7 -7
- package/dist/actions/get-app.cjs.map +1 -1
- package/dist/actions/get-app.d.cts +11 -11
- package/dist/actions/get-app.d.mts +11 -11
- package/dist/actions/get-app.mjs +7 -7
- package/dist/actions/get-app.mjs.map +1 -1
- package/dist/actions/get-apps.cjs +7 -7
- package/dist/actions/get-apps.cjs.map +1 -1
- package/dist/actions/get-apps.d.cts +11 -11
- package/dist/actions/get-apps.d.mts +11 -11
- package/dist/actions/get-apps.mjs +7 -7
- package/dist/actions/get-apps.mjs.map +1 -1
- package/dist/actions/get-campaign.cjs +2 -2
- package/dist/actions/get-campaign.cjs.map +1 -1
- package/dist/actions/get-campaign.d.cts +2 -2
- package/dist/actions/get-campaign.d.mts +2 -2
- package/dist/actions/get-campaign.mjs +2 -2
- package/dist/actions/get-campaign.mjs.map +1 -1
- package/dist/actions/get-chatter-resources.cjs +1 -1
- package/dist/actions/get-chatter-resources.cjs.map +1 -1
- package/dist/actions/get-chatter-resources.d.cts +1 -1
- package/dist/actions/get-chatter-resources.d.mts +1 -1
- package/dist/actions/get-chatter-resources.mjs +1 -1
- package/dist/actions/get-chatter-resources.mjs.map +1 -1
- package/dist/actions/get-child-records.cjs +4 -4
- package/dist/actions/get-child-records.cjs.map +1 -1
- package/dist/actions/get-child-records.d.cts +4 -4
- package/dist/actions/get-child-records.d.mts +4 -4
- package/dist/actions/get-child-records.mjs +4 -4
- package/dist/actions/get-child-records.mjs.map +1 -1
- package/dist/actions/get-composite-resources.cjs +1 -1
- package/dist/actions/get-composite-resources.cjs.map +1 -1
- package/dist/actions/get-composite-resources.d.cts +1 -1
- package/dist/actions/get-composite-resources.d.mts +1 -1
- package/dist/actions/get-composite-resources.mjs +1 -1
- package/dist/actions/get-composite-resources.mjs.map +1 -1
- package/dist/actions/get-composite-sobjects.cjs +2 -2
- package/dist/actions/get-composite-sobjects.cjs.map +1 -1
- package/dist/actions/get-composite-sobjects.d.cts +2 -2
- package/dist/actions/get-composite-sobjects.d.mts +2 -2
- package/dist/actions/get-composite-sobjects.mjs +2 -2
- package/dist/actions/get-composite-sobjects.mjs.map +1 -1
- package/dist/actions/get-consent-action.cjs +1 -1
- package/dist/actions/get-consent-action.cjs.map +1 -1
- package/dist/actions/get-consent-action.d.cts +2 -2
- package/dist/actions/get-consent-action.d.mts +2 -2
- package/dist/actions/get-consent-action.mjs +1 -1
- package/dist/actions/get-consent-action.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +3 -3
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +4 -4
- package/dist/actions/get-contact-by-id.d.mts +4 -4
- package/dist/actions/get-contact-by-id.mjs +3 -3
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +2 -2
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +2 -2
- package/dist/actions/get-contact.d.mts +2 -2
- package/dist/actions/get-contact.mjs +2 -2
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-dashboard.cjs +6 -6
- package/dist/actions/get-dashboard.cjs.map +1 -1
- package/dist/actions/get-dashboard.d.cts +6 -6
- package/dist/actions/get-dashboard.d.mts +6 -6
- package/dist/actions/get-dashboard.mjs +6 -6
- package/dist/actions/get-dashboard.mjs.map +1 -1
- package/dist/actions/get-file-content.cjs +2 -2
- package/dist/actions/get-file-content.cjs.map +1 -1
- package/dist/actions/get-file-content.d.cts +2 -2
- package/dist/actions/get-file-content.d.mts +2 -2
- package/dist/actions/get-file-content.mjs +2 -2
- package/dist/actions/get-file-content.mjs.map +1 -1
- package/dist/actions/get-file-information.cjs +2 -2
- package/dist/actions/get-file-information.cjs.map +1 -1
- package/dist/actions/get-file-information.d.cts +2 -2
- package/dist/actions/get-file-information.d.mts +2 -2
- package/dist/actions/get-file-information.mjs +2 -2
- package/dist/actions/get-file-information.mjs.map +1 -1
- package/dist/actions/get-file-shares.cjs +3 -3
- package/dist/actions/get-file-shares.cjs.map +1 -1
- package/dist/actions/get-file-shares.d.cts +3 -3
- package/dist/actions/get-file-shares.d.mts +3 -3
- package/dist/actions/get-file-shares.mjs +3 -3
- package/dist/actions/get-file-shares.mjs.map +1 -1
- package/dist/actions/get-global-actions.cjs +3 -3
- package/dist/actions/get-global-actions.cjs.map +1 -1
- package/dist/actions/get-global-actions.d.cts +3 -3
- package/dist/actions/get-global-actions.d.mts +3 -3
- package/dist/actions/get-global-actions.mjs +3 -3
- package/dist/actions/get-global-actions.mjs.map +1 -1
- package/dist/actions/get-job-failed-record-results.cjs +1 -1
- package/dist/actions/get-job-failed-record-results.cjs.map +1 -1
- package/dist/actions/get-job-failed-record-results.d.cts +1 -1
- package/dist/actions/get-job-failed-record-results.d.mts +1 -1
- package/dist/actions/get-job-failed-record-results.mjs +1 -1
- package/dist/actions/get-job-failed-record-results.mjs.map +1 -1
- package/dist/actions/get-job-successful-record-results.cjs +1 -1
- package/dist/actions/get-job-successful-record-results.cjs.map +1 -1
- package/dist/actions/get-job-successful-record-results.d.cts +1 -1
- package/dist/actions/get-job-successful-record-results.d.mts +1 -1
- package/dist/actions/get-job-successful-record-results.mjs +1 -1
- package/dist/actions/get-job-successful-record-results.mjs.map +1 -1
- package/dist/actions/get-job-unprocessed-record-results.cjs +1 -1
- package/dist/actions/get-job-unprocessed-record-results.cjs.map +1 -1
- package/dist/actions/get-job-unprocessed-record-results.d.cts +1 -1
- package/dist/actions/get-job-unprocessed-record-results.d.mts +1 -1
- package/dist/actions/get-job-unprocessed-record-results.mjs +1 -1
- package/dist/actions/get-job-unprocessed-record-results.mjs.map +1 -1
- package/dist/actions/get-last-selected-app.cjs +2 -2
- package/dist/actions/get-last-selected-app.cjs.map +1 -1
- package/dist/actions/get-last-selected-app.d.cts +3 -3
- package/dist/actions/get-last-selected-app.d.mts +3 -3
- package/dist/actions/get-last-selected-app.mjs +2 -2
- package/dist/actions/get-last-selected-app.mjs.map +1 -1
- package/dist/actions/get-lead.cjs +2 -2
- package/dist/actions/get-lead.cjs.map +1 -1
- package/dist/actions/get-lead.d.cts +2 -2
- package/dist/actions/get-lead.d.mts +2 -2
- package/dist/actions/get-lead.mjs +2 -2
- package/dist/actions/get-lead.mjs.map +1 -1
- package/dist/actions/get-list-view-actions.cjs +2 -2
- package/dist/actions/get-list-view-actions.cjs.map +1 -1
- package/dist/actions/get-list-view-actions.d.cts +2 -2
- package/dist/actions/get-list-view-actions.d.mts +2 -2
- package/dist/actions/get-list-view-actions.mjs +2 -2
- package/dist/actions/get-list-view-actions.mjs.map +1 -1
- package/dist/actions/get-list-view-metadata-batch.cjs +9 -9
- package/dist/actions/get-list-view-metadata-batch.cjs.map +1 -1
- package/dist/actions/get-list-view-metadata-batch.d.cts +9 -9
- package/dist/actions/get-list-view-metadata-batch.d.mts +9 -9
- package/dist/actions/get-list-view-metadata-batch.mjs +9 -9
- package/dist/actions/get-list-view-metadata-batch.mjs.map +1 -1
- package/dist/actions/get-list-view-metadata-by-name.cjs +12 -12
- package/dist/actions/get-list-view-metadata-by-name.cjs.map +1 -1
- package/dist/actions/get-list-view-metadata-by-name.d.cts +12 -12
- package/dist/actions/get-list-view-metadata-by-name.d.mts +12 -12
- package/dist/actions/get-list-view-metadata-by-name.mjs +12 -12
- package/dist/actions/get-list-view-metadata-by-name.mjs.map +1 -1
- package/dist/actions/get-list-view-records-by-id.cjs +10 -10
- package/dist/actions/get-list-view-records-by-id.cjs.map +1 -1
- package/dist/actions/get-list-view-records-by-id.d.cts +11 -11
- package/dist/actions/get-list-view-records-by-id.d.mts +11 -11
- package/dist/actions/get-list-view-records-by-id.mjs +10 -10
- package/dist/actions/get-list-view-records-by-id.mjs.map +1 -1
- package/dist/actions/get-list-view-records-by-name.cjs +3 -3
- package/dist/actions/get-list-view-records-by-name.cjs.map +1 -1
- package/dist/actions/get-list-view-records-by-name.d.cts +3 -3
- package/dist/actions/get-list-view-records-by-name.d.mts +3 -3
- package/dist/actions/get-list-view-records-by-name.mjs +3 -3
- package/dist/actions/get-list-view-records-by-name.mjs.map +1 -1
- package/dist/actions/get-list-view-results.cjs +4 -4
- package/dist/actions/get-list-view-results.cjs.map +1 -1
- package/dist/actions/get-list-view-results.d.cts +4 -4
- package/dist/actions/get-list-view-results.d.mts +4 -4
- package/dist/actions/get-list-view-results.mjs +4 -4
- package/dist/actions/get-list-view-results.mjs.map +1 -1
- package/dist/actions/get-lookup-field-suggestions.cjs +3 -3
- package/dist/actions/get-lookup-field-suggestions.cjs.map +1 -1
- package/dist/actions/get-lookup-field-suggestions.d.cts +3 -3
- package/dist/actions/get-lookup-field-suggestions.d.mts +3 -3
- package/dist/actions/get-lookup-field-suggestions.mjs +3 -3
- package/dist/actions/get-lookup-field-suggestions.mjs.map +1 -1
- package/dist/actions/get-lookup-suggestions-case-contact.cjs +4 -4
- package/dist/actions/get-lookup-suggestions-case-contact.cjs.map +1 -1
- package/dist/actions/get-lookup-suggestions-case-contact.d.cts +5 -5
- package/dist/actions/get-lookup-suggestions-case-contact.d.mts +5 -5
- package/dist/actions/get-lookup-suggestions-case-contact.mjs +4 -4
- package/dist/actions/get-lookup-suggestions-case-contact.mjs.map +1 -1
- package/dist/actions/get-mru-list-view-metadata.cjs +11 -11
- package/dist/actions/get-mru-list-view-metadata.cjs.map +1 -1
- package/dist/actions/get-mru-list-view-metadata.d.cts +11 -11
- package/dist/actions/get-mru-list-view-metadata.d.mts +11 -11
- package/dist/actions/get-mru-list-view-metadata.mjs +11 -11
- package/dist/actions/get-mru-list-view-metadata.mjs.map +1 -1
- package/dist/actions/get-mru-list-view-records.cjs +5 -5
- package/dist/actions/get-mru-list-view-records.cjs.map +1 -1
- package/dist/actions/get-mru-list-view-records.d.cts +5 -5
- package/dist/actions/get-mru-list-view-records.d.mts +5 -5
- package/dist/actions/get-mru-list-view-records.mjs +5 -5
- package/dist/actions/get-mru-list-view-records.mjs.map +1 -1
- package/dist/actions/get-note.cjs +1 -1
- package/dist/actions/get-note.cjs.map +1 -1
- package/dist/actions/get-note.d.cts +1 -1
- package/dist/actions/get-note.d.mts +1 -1
- package/dist/actions/get-note.mjs +1 -1
- package/dist/actions/get-note.mjs.map +1 -1
- package/dist/actions/get-object-list-views.cjs +2 -2
- package/dist/actions/get-object-list-views.cjs.map +1 -1
- package/dist/actions/get-object-list-views.d.cts +2 -2
- package/dist/actions/get-object-list-views.d.mts +2 -2
- package/dist/actions/get-object-list-views.mjs +2 -2
- package/dist/actions/get-object-list-views.mjs.map +1 -1
- package/dist/actions/get-opportunity.cjs +7 -7
- package/dist/actions/get-opportunity.cjs.map +1 -1
- package/dist/actions/get-opportunity.d.cts +7 -7
- package/dist/actions/get-opportunity.d.mts +7 -7
- package/dist/actions/get-opportunity.mjs +7 -7
- package/dist/actions/get-opportunity.mjs.map +1 -1
- package/dist/actions/get-org-limits.cjs +1 -1
- package/dist/actions/get-org-limits.cjs.map +1 -1
- package/dist/actions/get-org-limits.d.cts +32 -32
- package/dist/actions/get-org-limits.d.mts +32 -32
- package/dist/actions/get-org-limits.mjs +1 -1
- package/dist/actions/get-org-limits.mjs.map +1 -1
- package/dist/actions/get-photo-actions.cjs +3 -3
- package/dist/actions/get-photo-actions.cjs.map +1 -1
- package/dist/actions/get-photo-actions.d.cts +3 -3
- package/dist/actions/get-photo-actions.d.mts +3 -3
- package/dist/actions/get-photo-actions.mjs +3 -3
- package/dist/actions/get-photo-actions.mjs.map +1 -1
- package/dist/actions/get-picklist-values-by-record-type.cjs +2 -2
- package/dist/actions/get-picklist-values-by-record-type.cjs.map +1 -1
- package/dist/actions/get-picklist-values-by-record-type.d.cts +2 -2
- package/dist/actions/get-picklist-values-by-record-type.d.mts +2 -2
- package/dist/actions/get-picklist-values-by-record-type.mjs +2 -2
- package/dist/actions/get-picklist-values-by-record-type.mjs.map +1 -1
- package/dist/actions/get-query-job-info.cjs +1 -1
- package/dist/actions/get-query-job-info.cjs.map +1 -1
- package/dist/actions/get-query-job-info.d.cts +1 -1
- package/dist/actions/get-query-job-info.d.mts +1 -1
- package/dist/actions/get-query-job-info.mjs +1 -1
- package/dist/actions/get-query-job-info.mjs.map +1 -1
- package/dist/actions/get-query-job-results.cjs +1 -1
- package/dist/actions/get-query-job-results.cjs.map +1 -1
- package/dist/actions/get-query-job-results.d.cts +1 -1
- package/dist/actions/get-query-job-results.d.mts +1 -1
- package/dist/actions/get-query-job-results.mjs +1 -1
- package/dist/actions/get-query-job-results.mjs.map +1 -1
- package/dist/actions/get-quick-actions.cjs +4 -4
- package/dist/actions/get-quick-actions.cjs.map +1 -1
- package/dist/actions/get-quick-actions.d.cts +4 -4
- package/dist/actions/get-quick-actions.d.mts +4 -4
- package/dist/actions/get-quick-actions.mjs +4 -4
- package/dist/actions/get-quick-actions.mjs.map +1 -1
- package/dist/actions/get-record-counts.cjs +2 -2
- package/dist/actions/get-record-counts.cjs.map +1 -1
- package/dist/actions/get-record-counts.d.cts +2 -2
- package/dist/actions/get-record-counts.d.mts +2 -2
- package/dist/actions/get-record-counts.mjs +2 -2
- package/dist/actions/get-record-counts.mjs.map +1 -1
- package/dist/actions/get-record-edit-page-actions.cjs +3 -3
- package/dist/actions/get-record-edit-page-actions.cjs.map +1 -1
- package/dist/actions/get-record-edit-page-actions.d.cts +3 -3
- package/dist/actions/get-record-edit-page-actions.d.mts +3 -3
- package/dist/actions/get-record-edit-page-actions.mjs +3 -3
- package/dist/actions/get-record-edit-page-actions.mjs.map +1 -1
- package/dist/actions/get-related-list-actions.cjs +3 -3
- package/dist/actions/get-related-list-actions.cjs.map +1 -1
- package/dist/actions/get-related-list-actions.d.cts +3 -3
- package/dist/actions/get-related-list-actions.d.mts +3 -3
- package/dist/actions/get-related-list-actions.mjs +3 -3
- package/dist/actions/get-related-list-actions.mjs.map +1 -1
- package/dist/actions/get-related-list-preferences-batch.cjs +5 -5
- package/dist/actions/get-related-list-preferences-batch.cjs.map +1 -1
- package/dist/actions/get-related-list-preferences-batch.d.cts +5 -5
- package/dist/actions/get-related-list-preferences-batch.d.mts +5 -5
- package/dist/actions/get-related-list-preferences-batch.mjs +5 -5
- package/dist/actions/get-related-list-preferences-batch.mjs.map +1 -1
- package/dist/actions/get-related-list-records-contacts.cjs +5 -5
- package/dist/actions/get-related-list-records-contacts.cjs.map +1 -1
- package/dist/actions/get-related-list-records-contacts.d.cts +5 -5
- package/dist/actions/get-related-list-records-contacts.d.mts +5 -5
- package/dist/actions/get-related-list-records-contacts.mjs +5 -5
- package/dist/actions/get-related-list-records-contacts.mjs.map +1 -1
- package/dist/actions/get-s-object-quick-action-default-values.cjs +2 -2
- package/dist/actions/get-s-object-quick-action-default-values.cjs.map +1 -1
- package/dist/actions/get-s-object-quick-action-default-values.d.cts +2 -2
- package/dist/actions/get-s-object-quick-action-default-values.d.mts +2 -2
- package/dist/actions/get-s-object-quick-action-default-values.mjs +2 -2
- package/dist/actions/get-s-object-quick-action-default-values.mjs.map +1 -1
- package/dist/actions/get-s-object-record.cjs +1 -1
- package/dist/actions/get-s-object-record.cjs.map +1 -1
- package/dist/actions/get-s-object-record.d.cts +1 -1
- package/dist/actions/get-s-object-record.d.mts +1 -1
- package/dist/actions/get-s-object-record.mjs +1 -1
- package/dist/actions/get-s-object-record.mjs.map +1 -1
- package/dist/actions/get-s-objects-describe-layouts-record-type-id.cjs +6 -6
- package/dist/actions/get-s-objects-describe-layouts-record-type-id.cjs.map +1 -1
- package/dist/actions/get-s-objects-describe-layouts-record-type-id.d.cts +6 -6
- package/dist/actions/get-s-objects-describe-layouts-record-type-id.d.mts +6 -6
- package/dist/actions/get-s-objects-describe-layouts-record-type-id.mjs +6 -6
- package/dist/actions/get-s-objects-describe-layouts-record-type-id.mjs.map +1 -1
- package/dist/actions/get-s-objects-updated.cjs +1 -1
- package/dist/actions/get-s-objects-updated.cjs.map +1 -1
- package/dist/actions/get-s-objects-updated.d.cts +1 -1
- package/dist/actions/get-s-objects-updated.d.mts +1 -1
- package/dist/actions/get-s-objects-updated.mjs +1 -1
- package/dist/actions/get-s-objects-updated.mjs.map +1 -1
- package/dist/actions/get-search-layout.cjs +3 -3
- package/dist/actions/get-search-layout.cjs.map +1 -1
- package/dist/actions/get-search-layout.d.cts +3 -3
- package/dist/actions/get-search-layout.d.mts +3 -3
- package/dist/actions/get-search-layout.mjs +3 -3
- package/dist/actions/get-search-layout.mjs.map +1 -1
- package/dist/actions/get-search-suggestions.cjs +2 -2
- package/dist/actions/get-search-suggestions.cjs.map +1 -1
- package/dist/actions/get-search-suggestions.d.cts +2 -2
- package/dist/actions/get-search-suggestions.d.mts +2 -2
- package/dist/actions/get-search-suggestions.mjs +2 -2
- package/dist/actions/get-search-suggestions.mjs.map +1 -1
- package/dist/actions/get-sobject-by-external-id.cjs +1 -1
- package/dist/actions/get-sobject-by-external-id.cjs.map +1 -1
- package/dist/actions/get-sobject-by-external-id.d.cts +1 -1
- package/dist/actions/get-sobject-by-external-id.d.mts +1 -1
- package/dist/actions/get-sobject-by-external-id.mjs +1 -1
- package/dist/actions/get-sobject-by-external-id.mjs.map +1 -1
- package/dist/actions/get-sobject-collections.cjs +2 -2
- package/dist/actions/get-sobject-collections.cjs.map +1 -1
- package/dist/actions/get-sobject-collections.d.cts +2 -2
- package/dist/actions/get-sobject-collections.d.mts +2 -2
- package/dist/actions/get-sobject-collections.mjs +2 -2
- package/dist/actions/get-sobject-collections.mjs.map +1 -1
- package/dist/actions/get-sobject-list-view.cjs +1 -1
- package/dist/actions/get-sobject-list-view.cjs.map +1 -1
- package/dist/actions/get-sobject-list-view.d.cts +1 -1
- package/dist/actions/get-sobject-list-view.d.mts +1 -1
- package/dist/actions/get-sobject-list-view.mjs +1 -1
- package/dist/actions/get-sobject-list-view.mjs.map +1 -1
- package/dist/actions/get-sobject-list-views.cjs +2 -2
- package/dist/actions/get-sobject-list-views.cjs.map +1 -1
- package/dist/actions/get-sobject-list-views.d.cts +2 -2
- package/dist/actions/get-sobject-list-views.d.mts +2 -2
- package/dist/actions/get-sobject-list-views.mjs +2 -2
- package/dist/actions/get-sobject-list-views.mjs.map +1 -1
- package/dist/actions/get-sobject-platformaction.cjs +2 -2
- package/dist/actions/get-sobject-platformaction.cjs.map +1 -1
- package/dist/actions/get-sobject-platformaction.d.cts +2 -2
- package/dist/actions/get-sobject-platformaction.d.mts +2 -2
- package/dist/actions/get-sobject-platformaction.mjs +2 -2
- package/dist/actions/get-sobject-platformaction.mjs.map +1 -1
- package/dist/actions/get-sobject-quick-action-default-values.cjs +2 -2
- package/dist/actions/get-sobject-quick-action-default-values.cjs.map +1 -1
- package/dist/actions/get-sobject-quick-action-default-values.d.cts +2 -2
- package/dist/actions/get-sobject-quick-action-default-values.d.mts +2 -2
- package/dist/actions/get-sobject-quick-action-default-values.mjs +2 -2
- package/dist/actions/get-sobject-quick-action-default-values.mjs.map +1 -1
- package/dist/actions/get-sobject-relationship.cjs +2 -2
- package/dist/actions/get-sobject-relationship.cjs.map +1 -1
- package/dist/actions/get-sobject-relationship.d.cts +2 -2
- package/dist/actions/get-sobject-relationship.d.mts +2 -2
- package/dist/actions/get-sobject-relationship.mjs +2 -2
- package/dist/actions/get-sobject-relationship.mjs.map +1 -1
- package/dist/actions/get-sobjects-sobject-describe-approvallayouts.cjs +1 -1
- package/dist/actions/get-sobjects-sobject-describe-approvallayouts.cjs.map +1 -1
- package/dist/actions/get-sobjects-sobject-describe-approvallayouts.d.cts +1 -1
- package/dist/actions/get-sobjects-sobject-describe-approvallayouts.d.mts +1 -1
- package/dist/actions/get-sobjects-sobject-describe-approvallayouts.mjs +1 -1
- package/dist/actions/get-sobjects-sobject-describe-approvallayouts.mjs.map +1 -1
- package/dist/actions/get-support.cjs +1 -1
- package/dist/actions/get-support.cjs.map +1 -1
- package/dist/actions/get-support.d.cts +1 -1
- package/dist/actions/get-support.d.mts +1 -1
- package/dist/actions/get-support.mjs +1 -1
- package/dist/actions/get-support.mjs.map +1 -1
- package/dist/actions/get-supported-objects-directory.cjs +2 -2
- package/dist/actions/get-supported-objects-directory.cjs.map +1 -1
- package/dist/actions/get-supported-objects-directory.d.cts +2 -2
- package/dist/actions/get-supported-objects-directory.d.mts +2 -2
- package/dist/actions/get-supported-objects-directory.mjs +2 -2
- package/dist/actions/get-supported-objects-directory.mjs.map +1 -1
- package/dist/actions/get-theme.cjs +4 -4
- package/dist/actions/get-theme.cjs.map +1 -1
- package/dist/actions/get-theme.d.cts +4 -4
- package/dist/actions/get-theme.d.mts +4 -4
- package/dist/actions/get-theme.mjs +4 -4
- package/dist/actions/get-theme.mjs.map +1 -1
- package/dist/actions/get-ui-api-actions-lookup-account.cjs +2 -2
- package/dist/actions/get-ui-api-actions-lookup-account.cjs.map +1 -1
- package/dist/actions/get-ui-api-actions-lookup-account.d.cts +2 -2
- package/dist/actions/get-ui-api-actions-lookup-account.d.mts +2 -2
- package/dist/actions/get-ui-api-actions-lookup-account.mjs +2 -2
- package/dist/actions/get-ui-api-actions-lookup-account.mjs.map +1 -1
- package/dist/actions/get-ui-api-actions-record-related-list.cjs +3 -3
- package/dist/actions/get-ui-api-actions-record-related-list.cjs.map +1 -1
- package/dist/actions/get-ui-api-actions-record-related-list.d.cts +3 -3
- package/dist/actions/get-ui-api-actions-record-related-list.d.mts +3 -3
- package/dist/actions/get-ui-api-actions-record-related-list.mjs +3 -3
- package/dist/actions/get-ui-api-actions-record-related-list.mjs.map +1 -1
- package/dist/actions/get-ui-api-apps-user-nav-items.cjs +5 -5
- package/dist/actions/get-ui-api-apps-user-nav-items.cjs.map +1 -1
- package/dist/actions/get-ui-api-apps-user-nav-items.d.cts +5 -5
- package/dist/actions/get-ui-api-apps-user-nav-items.d.mts +5 -5
- package/dist/actions/get-ui-api-apps-user-nav-items.mjs +5 -5
- package/dist/actions/get-ui-api-apps-user-nav-items.mjs.map +1 -1
- package/dist/actions/get-ui-api-list-info-recent.cjs +2 -2
- package/dist/actions/get-ui-api-list-info-recent.cjs.map +1 -1
- package/dist/actions/get-ui-api-list-info-recent.d.cts +2 -2
- package/dist/actions/get-ui-api-list-info-recent.d.mts +2 -2
- package/dist/actions/get-ui-api-list-info-recent.mjs +2 -2
- package/dist/actions/get-ui-api-list-info-recent.mjs.map +1 -1
- package/dist/actions/get-ui-api-record-ui.cjs +5 -5
- package/dist/actions/get-ui-api-record-ui.cjs.map +1 -1
- package/dist/actions/get-ui-api-record-ui.d.cts +5 -5
- package/dist/actions/get-ui-api-record-ui.d.mts +5 -5
- package/dist/actions/get-ui-api-record-ui.mjs +5 -5
- package/dist/actions/get-ui-api-record-ui.mjs.map +1 -1
- package/dist/actions/get-uiapi-actions-mru-list-account.cjs +3 -3
- package/dist/actions/get-uiapi-actions-mru-list-account.cjs.map +1 -1
- package/dist/actions/get-uiapi-actions-mru-list-account.d.cts +3 -3
- package/dist/actions/get-uiapi-actions-mru-list-account.d.mts +3 -3
- package/dist/actions/get-uiapi-actions-mru-list-account.mjs +3 -3
- package/dist/actions/get-uiapi-actions-mru-list-account.mjs.map +1 -1
- package/dist/actions/get-uiapi-list-info-account-all-accounts.cjs +8 -8
- package/dist/actions/get-uiapi-list-info-account-all-accounts.cjs.map +1 -1
- package/dist/actions/get-uiapi-list-info-account-all-accounts.d.cts +8 -8
- package/dist/actions/get-uiapi-list-info-account-all-accounts.d.mts +8 -8
- package/dist/actions/get-uiapi-list-info-account-all-accounts.mjs +8 -8
- package/dist/actions/get-uiapi-list-info-account-all-accounts.mjs.map +1 -1
- package/dist/actions/get-uiapi-list-info-account-recent.cjs +9 -9
- package/dist/actions/get-uiapi-list-info-account-recent.cjs.map +1 -1
- package/dist/actions/get-uiapi-list-info-account-recent.d.cts +9 -9
- package/dist/actions/get-uiapi-list-info-account-recent.d.mts +9 -9
- package/dist/actions/get-uiapi-list-info-account-recent.mjs +9 -9
- package/dist/actions/get-uiapi-list-info-account-recent.mjs.map +1 -1
- package/dist/actions/get-uiapi-list-info-account-search-result.cjs +8 -8
- package/dist/actions/get-uiapi-list-info-account-search-result.cjs.map +1 -1
- package/dist/actions/get-uiapi-list-info-account-search-result.d.cts +8 -8
- package/dist/actions/get-uiapi-list-info-account-search-result.d.mts +8 -8
- package/dist/actions/get-uiapi-list-info-account-search-result.mjs +8 -8
- package/dist/actions/get-uiapi-list-info-account-search-result.mjs.map +1 -1
- package/dist/actions/get-uiapi-related-list-preferences.cjs +4 -4
- package/dist/actions/get-uiapi-related-list-preferences.cjs.map +1 -1
- package/dist/actions/get-uiapi-related-list-preferences.d.cts +4 -4
- package/dist/actions/get-uiapi-related-list-preferences.d.mts +4 -4
- package/dist/actions/get-uiapi-related-list-preferences.mjs +4 -4
- package/dist/actions/get-uiapi-related-list-preferences.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +4 -4
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +4 -4
- package/dist/actions/get-user-info.d.mts +4 -4
- package/dist/actions/get-user-info.mjs +4 -4
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/head-actions-custom.cjs +2 -2
- package/dist/actions/head-actions-custom.cjs.map +1 -1
- package/dist/actions/head-actions-custom.d.cts +2 -2
- package/dist/actions/head-actions-custom.d.mts +2 -2
- package/dist/actions/head-actions-custom.mjs +2 -2
- package/dist/actions/head-actions-custom.mjs.map +1 -1
- package/dist/actions/head-actions-standard.cjs +2 -2
- package/dist/actions/head-actions-standard.cjs.map +1 -1
- package/dist/actions/head-actions-standard.d.cts +2 -2
- package/dist/actions/head-actions-standard.d.mts +2 -2
- package/dist/actions/head-actions-standard.mjs +2 -2
- package/dist/actions/head-actions-standard.mjs.map +1 -1
- package/dist/actions/head-appmenu-salesforce1.cjs +2 -2
- package/dist/actions/head-appmenu-salesforce1.cjs.map +1 -1
- package/dist/actions/head-appmenu-salesforce1.d.cts +2 -2
- package/dist/actions/head-appmenu-salesforce1.d.mts +2 -2
- package/dist/actions/head-appmenu-salesforce1.mjs +2 -2
- package/dist/actions/head-appmenu-salesforce1.mjs.map +1 -1
- package/dist/actions/head-process-rules-s-object.cjs +2 -2
- package/dist/actions/head-process-rules-s-object.cjs.map +1 -1
- package/dist/actions/head-process-rules-s-object.d.cts +2 -2
- package/dist/actions/head-process-rules-s-object.d.mts +2 -2
- package/dist/actions/head-process-rules-s-object.mjs +2 -2
- package/dist/actions/head-process-rules-s-object.mjs.map +1 -1
- package/dist/actions/head-quick-actions.cjs +2 -2
- package/dist/actions/head-quick-actions.cjs.map +1 -1
- package/dist/actions/head-quick-actions.d.cts +2 -2
- package/dist/actions/head-quick-actions.d.mts +2 -2
- package/dist/actions/head-quick-actions.mjs +2 -2
- package/dist/actions/head-quick-actions.mjs.map +1 -1
- package/dist/actions/head-sobject-quick-action-default-values.cjs +2 -2
- package/dist/actions/head-sobject-quick-action-default-values.cjs.map +1 -1
- package/dist/actions/head-sobject-quick-action-default-values.d.cts +2 -2
- package/dist/actions/head-sobject-quick-action-default-values.d.mts +2 -2
- package/dist/actions/head-sobject-quick-action-default-values.mjs +2 -2
- package/dist/actions/head-sobject-quick-action-default-values.mjs.map +1 -1
- package/dist/actions/head-sobjects-global-describe-layouts.cjs +2 -2
- package/dist/actions/head-sobjects-global-describe-layouts.cjs.map +1 -1
- package/dist/actions/head-sobjects-global-describe-layouts.d.cts +2 -2
- package/dist/actions/head-sobjects-global-describe-layouts.d.mts +2 -2
- package/dist/actions/head-sobjects-global-describe-layouts.mjs +2 -2
- package/dist/actions/head-sobjects-global-describe-layouts.mjs.map +1 -1
- package/dist/actions/head-sobjects-quick-action.cjs +2 -2
- package/dist/actions/head-sobjects-quick-action.cjs.map +1 -1
- package/dist/actions/head-sobjects-quick-action.d.cts +2 -2
- package/dist/actions/head-sobjects-quick-action.d.mts +2 -2
- package/dist/actions/head-sobjects-quick-action.mjs +2 -2
- package/dist/actions/head-sobjects-quick-action.mjs.map +1 -1
- package/dist/actions/head-sobjects-user-password.cjs +2 -2
- package/dist/actions/head-sobjects-user-password.cjs.map +1 -1
- package/dist/actions/head-sobjects-user-password.d.cts +2 -2
- package/dist/actions/head-sobjects-user-password.d.mts +2 -2
- package/dist/actions/head-sobjects-user-password.mjs +2 -2
- package/dist/actions/head-sobjects-user-password.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +3 -3
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +3 -3
- package/dist/actions/list-accounts.d.mts +3 -3
- package/dist/actions/list-accounts.mjs +3 -3
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-analytics-templates.cjs +3 -3
- package/dist/actions/list-analytics-templates.cjs.map +1 -1
- package/dist/actions/list-analytics-templates.d.cts +3 -3
- package/dist/actions/list-analytics-templates.d.mts +3 -3
- package/dist/actions/list-analytics-templates.mjs +3 -3
- package/dist/actions/list-analytics-templates.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +4 -4
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +5 -5
- package/dist/actions/list-contacts.d.mts +5 -5
- package/dist/actions/list-contacts.mjs +4 -4
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-custom-invocable-actions.cjs +4 -4
- package/dist/actions/list-custom-invocable-actions.cjs.map +1 -1
- package/dist/actions/list-custom-invocable-actions.d.cts +4 -4
- package/dist/actions/list-custom-invocable-actions.d.mts +4 -4
- package/dist/actions/list-custom-invocable-actions.mjs +4 -4
- package/dist/actions/list-custom-invocable-actions.mjs.map +1 -1
- package/dist/actions/list-email-templates.cjs +3 -3
- package/dist/actions/list-email-templates.cjs.map +1 -1
- package/dist/actions/list-email-templates.d.cts +3 -3
- package/dist/actions/list-email-templates.d.mts +3 -3
- package/dist/actions/list-email-templates.mjs +3 -3
- package/dist/actions/list-email-templates.mjs.map +1 -1
- package/dist/actions/list-leads.cjs +2 -2
- package/dist/actions/list-leads.cjs.map +1 -1
- package/dist/actions/list-leads.d.cts +2 -2
- package/dist/actions/list-leads.d.mts +2 -2
- package/dist/actions/list-leads.mjs +2 -2
- package/dist/actions/list-leads.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +2 -2
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +2 -2
- package/dist/actions/list-notes.d.mts +2 -2
- package/dist/actions/list-notes.mjs +2 -2
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-opportunities.cjs +2 -2
- package/dist/actions/list-opportunities.cjs.map +1 -1
- package/dist/actions/list-opportunities.d.cts +2 -2
- package/dist/actions/list-opportunities.d.mts +2 -2
- package/dist/actions/list-opportunities.mjs +2 -2
- package/dist/actions/list-opportunities.mjs.map +1 -1
- package/dist/actions/list-pricebook-entries.cjs +3 -3
- package/dist/actions/list-pricebook-entries.cjs.map +1 -1
- package/dist/actions/list-pricebook-entries.d.cts +3 -3
- package/dist/actions/list-pricebook-entries.d.mts +3 -3
- package/dist/actions/list-pricebook-entries.mjs +3 -3
- package/dist/actions/list-pricebook-entries.mjs.map +1 -1
- package/dist/actions/list-pricebooks.cjs +3 -3
- package/dist/actions/list-pricebooks.cjs.map +1 -1
- package/dist/actions/list-pricebooks.d.cts +3 -3
- package/dist/actions/list-pricebooks.d.mts +3 -3
- package/dist/actions/list-pricebooks.mjs +3 -3
- package/dist/actions/list-pricebooks.mjs.map +1 -1
- package/dist/actions/list-reports.cjs +2 -2
- package/dist/actions/list-reports.cjs.map +1 -1
- package/dist/actions/list-reports.d.cts +2 -2
- package/dist/actions/list-reports.d.mts +2 -2
- package/dist/actions/list-reports.mjs +2 -2
- package/dist/actions/list-reports.mjs.map +1 -1
- package/dist/actions/list-standard-invocable-actions.cjs +4 -4
- package/dist/actions/list-standard-invocable-actions.cjs.map +1 -1
- package/dist/actions/list-standard-invocable-actions.d.cts +4 -4
- package/dist/actions/list-standard-invocable-actions.d.mts +4 -4
- package/dist/actions/list-standard-invocable-actions.mjs +4 -4
- package/dist/actions/list-standard-invocable-actions.mjs.map +1 -1
- package/dist/actions/log-call.cjs +4 -4
- package/dist/actions/log-call.cjs.map +1 -1
- package/dist/actions/log-call.d.cts +5 -5
- package/dist/actions/log-call.d.mts +5 -5
- package/dist/actions/log-call.mjs +4 -4
- package/dist/actions/log-call.mjs.map +1 -1
- package/dist/actions/log-email-activity.cjs +2 -2
- package/dist/actions/log-email-activity.cjs.map +1 -1
- package/dist/actions/log-email-activity.d.cts +2 -2
- package/dist/actions/log-email-activity.d.mts +2 -2
- package/dist/actions/log-email-activity.mjs +2 -2
- package/dist/actions/log-email-activity.mjs.map +1 -1
- package/dist/actions/mass-transfer-ownership.cjs +3 -3
- package/dist/actions/mass-transfer-ownership.cjs.map +1 -1
- package/dist/actions/mass-transfer-ownership.d.cts +3 -3
- package/dist/actions/mass-transfer-ownership.d.mts +3 -3
- package/dist/actions/mass-transfer-ownership.mjs +3 -3
- package/dist/actions/mass-transfer-ownership.mjs.map +1 -1
- package/dist/actions/parameterized-search.cjs +3 -3
- package/dist/actions/parameterized-search.cjs.map +1 -1
- package/dist/actions/parameterized-search.d.cts +4 -3
- package/dist/actions/parameterized-search.d.mts +4 -3
- package/dist/actions/parameterized-search.mjs +3 -3
- package/dist/actions/parameterized-search.mjs.map +1 -1
- package/dist/actions/patch-composite-sobjects.cjs +4 -4
- package/dist/actions/patch-composite-sobjects.cjs.map +1 -1
- package/dist/actions/patch-composite-sobjects.d.cts +5 -5
- package/dist/actions/patch-composite-sobjects.d.mts +5 -5
- package/dist/actions/patch-composite-sobjects.mjs +4 -4
- package/dist/actions/patch-composite-sobjects.mjs.map +1 -1
- package/dist/actions/post-composite-graph.cjs +11 -11
- package/dist/actions/post-composite-graph.cjs.map +1 -1
- package/dist/actions/post-composite-graph.d.cts +13 -11
- package/dist/actions/post-composite-graph.d.cts.map +1 -1
- package/dist/actions/post-composite-graph.d.mts +13 -11
- package/dist/actions/post-composite-graph.d.mts.map +1 -1
- package/dist/actions/post-composite-graph.mjs +11 -11
- package/dist/actions/post-composite-graph.mjs.map +1 -1
- package/dist/actions/post-composite-sobjects.cjs +3 -3
- package/dist/actions/post-composite-sobjects.cjs.map +1 -1
- package/dist/actions/post-composite-sobjects.d.cts +3 -3
- package/dist/actions/post-composite-sobjects.d.mts +3 -3
- package/dist/actions/post-composite-sobjects.mjs +3 -3
- package/dist/actions/post-composite-sobjects.mjs.map +1 -1
- package/dist/actions/post-parameterized-search.cjs +3 -3
- package/dist/actions/post-parameterized-search.cjs.map +1 -1
- package/dist/actions/post-parameterized-search.d.cts +4 -3
- package/dist/actions/post-parameterized-search.d.mts +4 -3
- package/dist/actions/post-parameterized-search.mjs +3 -3
- package/dist/actions/post-parameterized-search.mjs.map +1 -1
- package/dist/actions/query-all.cjs +2 -2
- package/dist/actions/query-all.cjs.map +1 -1
- package/dist/actions/query-all.d.cts +2 -2
- package/dist/actions/query-all.d.mts +2 -2
- package/dist/actions/query-all.mjs +2 -2
- package/dist/actions/query-all.mjs.map +1 -1
- package/dist/actions/remove-from-campaign.cjs +1 -1
- package/dist/actions/remove-from-campaign.cjs.map +1 -1
- package/dist/actions/remove-from-campaign.d.cts +1 -1
- package/dist/actions/remove-from-campaign.d.mts +1 -1
- package/dist/actions/remove-from-campaign.mjs +1 -1
- package/dist/actions/remove-from-campaign.mjs.map +1 -1
- package/dist/actions/retrieve-lead-by-id.cjs +1 -1
- package/dist/actions/retrieve-lead-by-id.cjs.map +1 -1
- package/dist/actions/retrieve-lead-by-id.d.cts +1 -1
- package/dist/actions/retrieve-lead-by-id.d.mts +1 -1
- package/dist/actions/retrieve-lead-by-id.mjs +1 -1
- package/dist/actions/retrieve-lead-by-id.mjs.map +1 -1
- package/dist/actions/retrieve-opportunities-data.cjs +2 -2
- package/dist/actions/retrieve-opportunities-data.cjs.map +1 -1
- package/dist/actions/retrieve-opportunities-data.d.cts +2 -2
- package/dist/actions/retrieve-opportunities-data.d.mts +2 -2
- package/dist/actions/retrieve-opportunities-data.mjs +2 -2
- package/dist/actions/retrieve-opportunities-data.mjs.map +1 -1
- package/dist/actions/run-report.cjs +16 -16
- package/dist/actions/run-report.cjs.map +1 -1
- package/dist/actions/run-report.d.cts +19 -19
- package/dist/actions/run-report.d.mts +19 -19
- package/dist/actions/run-report.mjs +16 -16
- package/dist/actions/run-report.mjs.map +1 -1
- package/dist/actions/run-soql-query.cjs +2 -2
- package/dist/actions/run-soql-query.cjs.map +1 -1
- package/dist/actions/run-soql-query.d.cts +2 -2
- package/dist/actions/run-soql-query.d.mts +2 -2
- package/dist/actions/run-soql-query.mjs +2 -2
- package/dist/actions/run-soql-query.mjs.map +1 -1
- package/dist/actions/search-accounts.cjs +3 -3
- package/dist/actions/search-accounts.cjs.map +1 -1
- package/dist/actions/search-accounts.d.cts +4 -4
- package/dist/actions/search-accounts.d.mts +4 -4
- package/dist/actions/search-accounts.mjs +3 -3
- package/dist/actions/search-accounts.mjs.map +1 -1
- package/dist/actions/search-campaigns.cjs +2 -2
- package/dist/actions/search-campaigns.cjs.map +1 -1
- package/dist/actions/search-campaigns.d.cts +2 -2
- package/dist/actions/search-campaigns.d.mts +2 -2
- package/dist/actions/search-campaigns.mjs +2 -2
- package/dist/actions/search-campaigns.mjs.map +1 -1
- package/dist/actions/search-knowledge-articles.cjs +3 -3
- package/dist/actions/search-knowledge-articles.cjs.map +1 -1
- package/dist/actions/search-knowledge-articles.d.cts +3 -3
- package/dist/actions/search-knowledge-articles.d.mts +3 -3
- package/dist/actions/search-knowledge-articles.mjs +3 -3
- package/dist/actions/search-knowledge-articles.mjs.map +1 -1
- package/dist/actions/search-leads.cjs +2 -2
- package/dist/actions/search-leads.cjs.map +1 -1
- package/dist/actions/search-leads.d.cts +2 -2
- package/dist/actions/search-leads.d.mts +2 -2
- package/dist/actions/search-leads.mjs +2 -2
- package/dist/actions/search-leads.mjs.map +1 -1
- package/dist/actions/search-notes.cjs +3 -3
- package/dist/actions/search-notes.cjs.map +1 -1
- package/dist/actions/search-notes.d.cts +3 -3
- package/dist/actions/search-notes.d.mts +3 -3
- package/dist/actions/search-notes.mjs +3 -3
- package/dist/actions/search-notes.mjs.map +1 -1
- package/dist/actions/search-opportunities.cjs +2 -2
- package/dist/actions/search-opportunities.cjs.map +1 -1
- package/dist/actions/search-opportunities.d.cts +2 -2
- package/dist/actions/search-opportunities.d.mts +2 -2
- package/dist/actions/search-opportunities.mjs +2 -2
- package/dist/actions/search-opportunities.mjs.map +1 -1
- package/dist/actions/send-email-from-template.cjs +2 -2
- package/dist/actions/send-email-from-template.cjs.map +1 -1
- package/dist/actions/send-email-from-template.d.cts +2 -2
- package/dist/actions/send-email-from-template.d.mts +2 -2
- package/dist/actions/send-email-from-template.mjs +2 -2
- package/dist/actions/send-email-from-template.mjs.map +1 -1
- package/dist/actions/send-email.cjs +2 -2
- package/dist/actions/send-email.cjs.map +1 -1
- package/dist/actions/send-email.d.cts +2 -2
- package/dist/actions/send-email.d.mts +2 -2
- package/dist/actions/send-email.mjs +2 -2
- package/dist/actions/send-email.mjs.map +1 -1
- package/dist/actions/send-mass-email.cjs +3 -3
- package/dist/actions/send-mass-email.cjs.map +1 -1
- package/dist/actions/send-mass-email.d.cts +3 -3
- package/dist/actions/send-mass-email.d.mts +3 -3
- package/dist/actions/send-mass-email.mjs +3 -3
- package/dist/actions/send-mass-email.mjs.map +1 -1
- package/dist/actions/set-user-password.cjs +1 -1
- package/dist/actions/set-user-password.cjs.map +1 -1
- package/dist/actions/set-user-password.d.cts +1 -1
- package/dist/actions/set-user-password.d.mts +1 -1
- package/dist/actions/set-user-password.mjs +1 -1
- package/dist/actions/set-user-password.mjs.map +1 -1
- package/dist/actions/sobject-rows-update.cjs +1 -1
- package/dist/actions/sobject-rows-update.cjs.map +1 -1
- package/dist/actions/sobject-rows-update.d.cts +1 -1
- package/dist/actions/sobject-rows-update.d.cts.map +1 -1
- package/dist/actions/sobject-rows-update.d.mts +1 -1
- package/dist/actions/sobject-rows-update.d.mts.map +1 -1
- package/dist/actions/sobject-rows-update.mjs +1 -1
- package/dist/actions/sobject-rows-update.mjs.map +1 -1
- package/dist/actions/sobject-user-password.cjs +1 -1
- package/dist/actions/sobject-user-password.cjs.map +1 -1
- package/dist/actions/sobject-user-password.d.cts +1 -1
- package/dist/actions/sobject-user-password.d.mts +1 -1
- package/dist/actions/sobject-user-password.mjs +1 -1
- package/dist/actions/sobject-user-password.mjs.map +1 -1
- package/dist/actions/tooling-query.cjs +2 -2
- package/dist/actions/tooling-query.cjs.map +1 -1
- package/dist/actions/tooling-query.d.cts +2 -2
- package/dist/actions/tooling-query.d.mts +2 -2
- package/dist/actions/tooling-query.mjs +2 -2
- package/dist/actions/tooling-query.mjs.map +1 -1
- package/dist/actions/update-account.cjs +1 -1
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +1 -1
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +1 -1
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs +1 -1
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -1
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +1 -1
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +1 -1
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -1
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +1 -1
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +1 -1
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-favorite.cjs +2 -2
- package/dist/actions/update-favorite.cjs.map +1 -1
- package/dist/actions/update-favorite.d.cts +2 -2
- package/dist/actions/update-favorite.d.mts +2 -2
- package/dist/actions/update-favorite.mjs +2 -2
- package/dist/actions/update-favorite.mjs.map +1 -1
- package/dist/actions/update-lead.cjs +2 -2
- package/dist/actions/update-lead.cjs.map +1 -1
- package/dist/actions/update-lead.d.cts +2 -2
- package/dist/actions/update-lead.d.mts +2 -2
- package/dist/actions/update-lead.mjs +2 -2
- package/dist/actions/update-lead.mjs.map +1 -1
- package/dist/actions/update-list-view-preferences.cjs +5 -5
- package/dist/actions/update-list-view-preferences.cjs.map +1 -1
- package/dist/actions/update-list-view-preferences.d.cts +7 -7
- package/dist/actions/update-list-view-preferences.d.mts +7 -7
- package/dist/actions/update-list-view-preferences.mjs +5 -5
- package/dist/actions/update-list-view-preferences.mjs.map +1 -1
- package/dist/actions/update-note.cjs +1 -1
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +1 -1
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +1 -1
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +1 -1
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-opportunity.cjs +2 -2
- package/dist/actions/update-opportunity.cjs.map +1 -1
- package/dist/actions/update-opportunity.d.cts +2 -2
- package/dist/actions/update-opportunity.d.mts +2 -2
- package/dist/actions/update-opportunity.mjs +2 -2
- package/dist/actions/update-opportunity.mjs.map +1 -1
- package/dist/actions/update-record.cjs +5 -5
- package/dist/actions/update-record.cjs.map +1 -1
- package/dist/actions/update-record.d.cts +6 -6
- package/dist/actions/update-record.d.mts +6 -6
- package/dist/actions/update-record.mjs +5 -5
- package/dist/actions/update-record.mjs.map +1 -1
- package/dist/actions/update-related-list-preferences.cjs +7 -7
- package/dist/actions/update-related-list-preferences.cjs.map +1 -1
- package/dist/actions/update-related-list-preferences.d.cts +10 -9
- package/dist/actions/update-related-list-preferences.d.cts.map +1 -1
- package/dist/actions/update-related-list-preferences.d.mts +10 -9
- package/dist/actions/update-related-list-preferences.d.mts.map +1 -1
- package/dist/actions/update-related-list-preferences.mjs +7 -7
- package/dist/actions/update-related-list-preferences.mjs.map +1 -1
- package/dist/actions/update-task.cjs +2 -2
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +2 -2
- package/dist/actions/update-task.d.mts +2 -2
- package/dist/actions/update-task.mjs +2 -2
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +2 -2
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +2 -2
- package/dist/actions/upload-file.d.mts +2 -2
- package/dist/actions/upload-file.mjs +2 -2
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upload-job-data.cjs +1 -1
- package/dist/actions/upload-job-data.cjs.map +1 -1
- package/dist/actions/upload-job-data.d.cts +1 -1
- package/dist/actions/upload-job-data.d.cts.map +1 -1
- package/dist/actions/upload-job-data.d.mts +1 -1
- package/dist/actions/upload-job-data.d.mts.map +1 -1
- package/dist/actions/upload-job-data.mjs +1 -1
- package/dist/actions/upload-job-data.mjs.map +1 -1
- package/dist/actions/upsert-sobject-by-external-id.cjs +1 -1
- package/dist/actions/upsert-sobject-by-external-id.cjs.map +1 -1
- package/dist/actions/upsert-sobject-by-external-id.d.cts +1 -1
- package/dist/actions/upsert-sobject-by-external-id.d.mts +1 -1
- package/dist/actions/upsert-sobject-by-external-id.mjs +1 -1
- package/dist/actions/upsert-sobject-by-external-id.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const SalesforceListNotesInput = zod.z.object({ query: zod.z.string().default("S
|
|
|
5
5
|
const SalesforceListNotes_NoteAttributesSchema = zod.z.object({
|
|
6
6
|
url: zod.z.string().describe("REST API URL for accessing the specific record.").nullable(),
|
|
7
7
|
type: zod.z.string().describe("Object type, either 'ContentNote' or 'Note'.").nullable()
|
|
8
|
-
}).describe("Metadata about the record.");
|
|
8
|
+
}).passthrough().describe("Metadata about the record.");
|
|
9
9
|
const SalesforceListNotes_NoteRecordSchema = zod.z.object({
|
|
10
10
|
Id: zod.z.string().describe("Unique identifier for the note record.").nullable(),
|
|
11
11
|
Body: zod.z.string().describe("Text content of the note. Available in classic Note object.").nullable().optional(),
|
|
@@ -36,7 +36,7 @@ const SalesforceListNotesOutput = zod.z.object({
|
|
|
36
36
|
records: zod.z.array(SalesforceListNotes_NoteRecordSchema).describe("Array of note records."),
|
|
37
37
|
totalSize: zod.z.number().int().describe("Total number of notes returned by the query.").nullable(),
|
|
38
38
|
nextRecordsUrl: zod.z.string().describe("URL path to retrieve the next batch of results when pagination is needed. Only present when done is false.").nullable().optional()
|
|
39
|
-
}).describe("Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.");
|
|
39
|
+
}).passthrough().describe("Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.");
|
|
40
40
|
const salesforceListNotes = require_action.action("SALESFORCE_LIST_NOTES", {
|
|
41
41
|
slug: "salesforce-list-notes",
|
|
42
42
|
name: "List notes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListNotesInput = z.object({\n query: z.string().default(\"SELECT Id, Title, Body, IsPrivate, ParentId, OwnerId, CreatedDate, LastModifiedDate FROM Note\").describe(\"SOQL query to fetch notes. Use standard SOQL syntax to filter, sort, and limit results. This action is specifically designed for Note and ContentNote objects. For other objects like EmailMessage (which uses 'Subject' instead of 'Title'), use the general SOQL query action instead. Always include a LIMIT clause to avoid over-fetching; the default query has no LIMIT and may return very large payloads. Omit Body or use TextPreview (ContentNote only) when full note content is not needed.\").optional(),\n});\nconst SalesforceListNotes_NoteAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL for accessing the specific record.\").nullable(),\n type: z.string().describe(\"Object type, either 'ContentNote' or 'Note'.\").nullable(),\n}).describe(\"Metadata about the record.\");\nconst SalesforceListNotes_NoteRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the note record.\").nullable(),\n Body: z.string().describe(\"Text content of the note. Available in classic Note object.\").nullable().optional(),\n Title: z.string().describe(\"Title of the note. Available in both ContentNote and Note objects.\").nullable().optional(),\n Content: z.string().describe(\"For ContentNote: Returns a URL pointing to the blob content (requires additional API call to retrieve actual content). Content must be base64 encoded when creating notes.\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the user who owns the note.\").nullable().optional(),\n FileType: z.string().describe(\"Type of file, typically 'SNOTE' for ContentNote.\").nullable().optional(),\n ParentId: z.string().describe(\"ID of the parent record (Account, Contact, Lead, etc.) that the note is associated with. Available in classic Note object.\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Indicates whether the note has been deleted.\").nullable().optional(),\n IsPrivate: z.boolean().describe(\"Indicates whether the note is private. Available in classic Note object.\").nullable().optional(),\n IsReadOnly: z.boolean().describe(\"Indicates whether the note is read-only. Available in ContentNote.\").nullable().optional(),\n attributes: SalesforceListNotes_NoteAttributesSchema.nullable(),\n ContentSize: z.number().int().describe(\"Size of the content in bytes. Available in ContentNote.\").nullable().optional(),\n CreatedById: z.string().describe(\"ID of the user who created the note.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the note was created (ISO 8601 format).\").nullable().optional(),\n TextPreview: z.string().describe(\"Preview text of the note content. Available in ContentNote.\").nullable().optional(),\n FileExtension: z.string().describe(\"File extension of the note content. Available in ContentNote.\").nullable().optional(),\n LastViewedDate: z.string().describe(\"Date and time when the note was last viewed (ISO 8601 format). Available in ContentNote.\").nullable().optional(),\n SharingPrivacy: z.string().describe(\"File privacy setting controlling who can access the note. Available in ContentNote.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"Date and time when the note was last modified by any user or system process (ISO 8601 format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the user who last modified the note.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the note was last modified (ISO 8601 format).\").nullable().optional(),\n LastReferencedDate: z.string().describe(\"Date and time when the note was last referenced, including through reports or related lists (ISO 8601 format).\").nullable().optional(),\n LatestPublishedVersionId: z.string().describe(\"ID of the latest published version of the content. Available in ContentNote.\").nullable().optional(),\n}).passthrough().describe(\"Individual note record. Can be either ContentNote (Lightning) or Note (Classic) object.\");\nexport const SalesforceListNotesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether all results have been returned. If false, use nextRecordsUrl to retrieve additional results.\").nullable(),\n records: z.array(SalesforceListNotes_NoteRecordSchema).describe(\"Array of note records.\"),\n totalSize: z.number().int().describe(\"Total number of notes returned by the query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of results when pagination is needed. Only present when done is false.\").nullable().optional(),\n}).describe(\"Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.\");\n\nexport const salesforceListNotes = action(\"SALESFORCE_LIST_NOTES\", {\n slug: \"salesforce-list-notes\",\n name: \"List notes\",\n description: \"Lists notes from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Designed specifically for Note and ContentNote objects.\",\n input: SalesforceListNotesInput,\n output: SalesforceListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+FAA+F,CAAC,CAAC,SAAS,yeAAye,CAAC,CAAC,SAAS,EAC1nB,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListNotesInput = z.object({\n query: z.string().default(\"SELECT Id, Title, Body, IsPrivate, ParentId, OwnerId, CreatedDate, LastModifiedDate FROM Note\").describe(\"SOQL query to fetch notes. Use standard SOQL syntax to filter, sort, and limit results. This action is specifically designed for Note and ContentNote objects. For other objects like EmailMessage (which uses 'Subject' instead of 'Title'), use the general SOQL query action instead. Always include a LIMIT clause to avoid over-fetching; the default query has no LIMIT and may return very large payloads. Omit Body or use TextPreview (ContentNote only) when full note content is not needed.\").optional(),\n});\nconst SalesforceListNotes_NoteAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL for accessing the specific record.\").nullable(),\n type: z.string().describe(\"Object type, either 'ContentNote' or 'Note'.\").nullable(),\n}).passthrough().describe(\"Metadata about the record.\");\nconst SalesforceListNotes_NoteRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the note record.\").nullable(),\n Body: z.string().describe(\"Text content of the note. Available in classic Note object.\").nullable().optional(),\n Title: z.string().describe(\"Title of the note. Available in both ContentNote and Note objects.\").nullable().optional(),\n Content: z.string().describe(\"For ContentNote: Returns a URL pointing to the blob content (requires additional API call to retrieve actual content). Content must be base64 encoded when creating notes.\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the user who owns the note.\").nullable().optional(),\n FileType: z.string().describe(\"Type of file, typically 'SNOTE' for ContentNote.\").nullable().optional(),\n ParentId: z.string().describe(\"ID of the parent record (Account, Contact, Lead, etc.) that the note is associated with. Available in classic Note object.\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Indicates whether the note has been deleted.\").nullable().optional(),\n IsPrivate: z.boolean().describe(\"Indicates whether the note is private. Available in classic Note object.\").nullable().optional(),\n IsReadOnly: z.boolean().describe(\"Indicates whether the note is read-only. Available in ContentNote.\").nullable().optional(),\n attributes: SalesforceListNotes_NoteAttributesSchema.nullable(),\n ContentSize: z.number().int().describe(\"Size of the content in bytes. Available in ContentNote.\").nullable().optional(),\n CreatedById: z.string().describe(\"ID of the user who created the note.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the note was created (ISO 8601 format).\").nullable().optional(),\n TextPreview: z.string().describe(\"Preview text of the note content. Available in ContentNote.\").nullable().optional(),\n FileExtension: z.string().describe(\"File extension of the note content. Available in ContentNote.\").nullable().optional(),\n LastViewedDate: z.string().describe(\"Date and time when the note was last viewed (ISO 8601 format). Available in ContentNote.\").nullable().optional(),\n SharingPrivacy: z.string().describe(\"File privacy setting controlling who can access the note. Available in ContentNote.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"Date and time when the note was last modified by any user or system process (ISO 8601 format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the user who last modified the note.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the note was last modified (ISO 8601 format).\").nullable().optional(),\n LastReferencedDate: z.string().describe(\"Date and time when the note was last referenced, including through reports or related lists (ISO 8601 format).\").nullable().optional(),\n LatestPublishedVersionId: z.string().describe(\"ID of the latest published version of the content. Available in ContentNote.\").nullable().optional(),\n}).passthrough().describe(\"Individual note record. Can be either ContentNote (Lightning) or Note (Classic) object.\");\nexport const SalesforceListNotesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether all results have been returned. If false, use nextRecordsUrl to retrieve additional results.\").nullable(),\n records: z.array(SalesforceListNotes_NoteRecordSchema).describe(\"Array of note records.\"),\n totalSize: z.number().int().describe(\"Total number of notes returned by the query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of results when pagination is needed. Only present when done is false.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.\");\n\nexport const salesforceListNotes = action(\"SALESFORCE_LIST_NOTES\", {\n slug: \"salesforce-list-notes\",\n name: \"List notes\",\n description: \"Lists notes from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Designed specifically for Note and ContentNote objects.\",\n input: SalesforceListNotesInput,\n output: SalesforceListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+FAA+F,CAAC,CAAC,SAAS,yeAAye,CAAC,CAAC,SAAS,EAC1nB,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CA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AAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAAmM;AAE7N,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const SalesforceListNotesOutput: z.ZodObject<{
|
|
|
20
20
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
21
21
|
url: z.ZodNullable<z.ZodString>;
|
|
22
22
|
type: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
ContentSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -36,7 +36,7 @@ declare const SalesforceListNotesOutput: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$loose>>;
|
|
37
37
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const salesforceListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
query?: string | undefined;
|
|
42
42
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -20,7 +20,7 @@ declare const SalesforceListNotesOutput: z.ZodObject<{
|
|
|
20
20
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
21
21
|
url: z.ZodNullable<z.ZodString>;
|
|
22
22
|
type: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
ContentSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -36,7 +36,7 @@ declare const SalesforceListNotesOutput: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$loose>>;
|
|
37
37
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const salesforceListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
query?: string | undefined;
|
|
42
42
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const SalesforceListNotesInput = z.object({ query: z.string().default("SELECT Id
|
|
|
5
5
|
const SalesforceListNotes_NoteAttributesSchema = z.object({
|
|
6
6
|
url: z.string().describe("REST API URL for accessing the specific record.").nullable(),
|
|
7
7
|
type: z.string().describe("Object type, either 'ContentNote' or 'Note'.").nullable()
|
|
8
|
-
}).describe("Metadata about the record.");
|
|
8
|
+
}).passthrough().describe("Metadata about the record.");
|
|
9
9
|
const SalesforceListNotes_NoteRecordSchema = z.object({
|
|
10
10
|
Id: z.string().describe("Unique identifier for the note record.").nullable(),
|
|
11
11
|
Body: z.string().describe("Text content of the note. Available in classic Note object.").nullable().optional(),
|
|
@@ -41,7 +41,7 @@ const salesforceListNotes = action("SALESFORCE_LIST_NOTES", {
|
|
|
41
41
|
records: z.array(SalesforceListNotes_NoteRecordSchema).describe("Array of note records."),
|
|
42
42
|
totalSize: z.number().int().describe("Total number of notes returned by the query.").nullable(),
|
|
43
43
|
nextRecordsUrl: z.string().describe("URL path to retrieve the next batch of results when pagination is needed. Only present when done is false.").nullable().optional()
|
|
44
|
-
}).describe("Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.")
|
|
44
|
+
}).passthrough().describe("Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { salesforceListNotes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListNotesInput = z.object({\n query: z.string().default(\"SELECT Id, Title, Body, IsPrivate, ParentId, OwnerId, CreatedDate, LastModifiedDate FROM Note\").describe(\"SOQL query to fetch notes. Use standard SOQL syntax to filter, sort, and limit results. This action is specifically designed for Note and ContentNote objects. For other objects like EmailMessage (which uses 'Subject' instead of 'Title'), use the general SOQL query action instead. Always include a LIMIT clause to avoid over-fetching; the default query has no LIMIT and may return very large payloads. Omit Body or use TextPreview (ContentNote only) when full note content is not needed.\").optional(),\n});\nconst SalesforceListNotes_NoteAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL for accessing the specific record.\").nullable(),\n type: z.string().describe(\"Object type, either 'ContentNote' or 'Note'.\").nullable(),\n}).describe(\"Metadata about the record.\");\nconst SalesforceListNotes_NoteRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the note record.\").nullable(),\n Body: z.string().describe(\"Text content of the note. Available in classic Note object.\").nullable().optional(),\n Title: z.string().describe(\"Title of the note. Available in both ContentNote and Note objects.\").nullable().optional(),\n Content: z.string().describe(\"For ContentNote: Returns a URL pointing to the blob content (requires additional API call to retrieve actual content). Content must be base64 encoded when creating notes.\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the user who owns the note.\").nullable().optional(),\n FileType: z.string().describe(\"Type of file, typically 'SNOTE' for ContentNote.\").nullable().optional(),\n ParentId: z.string().describe(\"ID of the parent record (Account, Contact, Lead, etc.) that the note is associated with. Available in classic Note object.\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Indicates whether the note has been deleted.\").nullable().optional(),\n IsPrivate: z.boolean().describe(\"Indicates whether the note is private. Available in classic Note object.\").nullable().optional(),\n IsReadOnly: z.boolean().describe(\"Indicates whether the note is read-only. Available in ContentNote.\").nullable().optional(),\n attributes: SalesforceListNotes_NoteAttributesSchema.nullable(),\n ContentSize: z.number().int().describe(\"Size of the content in bytes. Available in ContentNote.\").nullable().optional(),\n CreatedById: z.string().describe(\"ID of the user who created the note.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the note was created (ISO 8601 format).\").nullable().optional(),\n TextPreview: z.string().describe(\"Preview text of the note content. Available in ContentNote.\").nullable().optional(),\n FileExtension: z.string().describe(\"File extension of the note content. Available in ContentNote.\").nullable().optional(),\n LastViewedDate: z.string().describe(\"Date and time when the note was last viewed (ISO 8601 format). Available in ContentNote.\").nullable().optional(),\n SharingPrivacy: z.string().describe(\"File privacy setting controlling who can access the note. Available in ContentNote.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"Date and time when the note was last modified by any user or system process (ISO 8601 format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the user who last modified the note.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the note was last modified (ISO 8601 format).\").nullable().optional(),\n LastReferencedDate: z.string().describe(\"Date and time when the note was last referenced, including through reports or related lists (ISO 8601 format).\").nullable().optional(),\n LatestPublishedVersionId: z.string().describe(\"ID of the latest published version of the content. Available in ContentNote.\").nullable().optional(),\n}).passthrough().describe(\"Individual note record. Can be either ContentNote (Lightning) or Note (Classic) object.\");\nexport const SalesforceListNotesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether all results have been returned. If false, use nextRecordsUrl to retrieve additional results.\").nullable(),\n records: z.array(SalesforceListNotes_NoteRecordSchema).describe(\"Array of note records.\"),\n totalSize: z.number().int().describe(\"Total number of notes returned by the query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of results when pagination is needed. Only present when done is false.\").nullable().optional(),\n}).describe(\"Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.\");\n\nexport const salesforceListNotes = action(\"SALESFORCE_LIST_NOTES\", {\n slug: \"salesforce-list-notes\",\n name: \"List notes\",\n description: \"Lists notes from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Designed specifically for Note and ContentNote objects.\",\n input: SalesforceListNotesInput,\n output: SalesforceListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,+FAA+F,CAAC,CAAC,SAAS,yeAAye,CAAC,CAAC,SAAS,EAC1nB,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListNotesInput = z.object({\n query: z.string().default(\"SELECT Id, Title, Body, IsPrivate, ParentId, OwnerId, CreatedDate, LastModifiedDate FROM Note\").describe(\"SOQL query to fetch notes. Use standard SOQL syntax to filter, sort, and limit results. This action is specifically designed for Note and ContentNote objects. For other objects like EmailMessage (which uses 'Subject' instead of 'Title'), use the general SOQL query action instead. Always include a LIMIT clause to avoid over-fetching; the default query has no LIMIT and may return very large payloads. Omit Body or use TextPreview (ContentNote only) when full note content is not needed.\").optional(),\n});\nconst SalesforceListNotes_NoteAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL for accessing the specific record.\").nullable(),\n type: z.string().describe(\"Object type, either 'ContentNote' or 'Note'.\").nullable(),\n}).passthrough().describe(\"Metadata about the record.\");\nconst SalesforceListNotes_NoteRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the note record.\").nullable(),\n Body: z.string().describe(\"Text content of the note. Available in classic Note object.\").nullable().optional(),\n Title: z.string().describe(\"Title of the note. Available in both ContentNote and Note objects.\").nullable().optional(),\n Content: z.string().describe(\"For ContentNote: Returns a URL pointing to the blob content (requires additional API call to retrieve actual content). Content must be base64 encoded when creating notes.\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the user who owns the note.\").nullable().optional(),\n FileType: z.string().describe(\"Type of file, typically 'SNOTE' for ContentNote.\").nullable().optional(),\n ParentId: z.string().describe(\"ID of the parent record (Account, Contact, Lead, etc.) that the note is associated with. Available in classic Note object.\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Indicates whether the note has been deleted.\").nullable().optional(),\n IsPrivate: z.boolean().describe(\"Indicates whether the note is private. Available in classic Note object.\").nullable().optional(),\n IsReadOnly: z.boolean().describe(\"Indicates whether the note is read-only. Available in ContentNote.\").nullable().optional(),\n attributes: SalesforceListNotes_NoteAttributesSchema.nullable(),\n ContentSize: z.number().int().describe(\"Size of the content in bytes. Available in ContentNote.\").nullable().optional(),\n CreatedById: z.string().describe(\"ID of the user who created the note.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the note was created (ISO 8601 format).\").nullable().optional(),\n TextPreview: z.string().describe(\"Preview text of the note content. Available in ContentNote.\").nullable().optional(),\n FileExtension: z.string().describe(\"File extension of the note content. Available in ContentNote.\").nullable().optional(),\n LastViewedDate: z.string().describe(\"Date and time when the note was last viewed (ISO 8601 format). Available in ContentNote.\").nullable().optional(),\n SharingPrivacy: z.string().describe(\"File privacy setting controlling who can access the note. Available in ContentNote.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"Date and time when the note was last modified by any user or system process (ISO 8601 format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the user who last modified the note.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the note was last modified (ISO 8601 format).\").nullable().optional(),\n LastReferencedDate: z.string().describe(\"Date and time when the note was last referenced, including through reports or related lists (ISO 8601 format).\").nullable().optional(),\n LatestPublishedVersionId: z.string().describe(\"ID of the latest published version of the content. Available in ContentNote.\").nullable().optional(),\n}).passthrough().describe(\"Individual note record. Can be either ContentNote (Lightning) or Note (Classic) object.\");\nexport const SalesforceListNotesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether all results have been returned. If false, use nextRecordsUrl to retrieve additional results.\").nullable(),\n records: z.array(SalesforceListNotes_NoteRecordSchema).describe(\"Array of note records.\"),\n totalSize: z.number().int().describe(\"Total number of notes returned by the query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of results when pagination is needed. Only present when done is false.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for SALESFORCE_LIST_NOTES action. Salesforce has two note objects: ContentNote (Lightning/Enhanced Notes, API v32.0+) and Note (Classic). Modern implementations use ContentNote.\");\n\nexport const salesforceListNotes = action(\"SALESFORCE_LIST_NOTES\", {\n slug: \"salesforce-list-notes\",\n name: \"List notes\",\n description: \"Lists notes from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Designed specifically for Note and ContentNote objects.\",\n input: SalesforceListNotesInput,\n output: SalesforceListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,+FAA+F,CAAC,CAAC,SAAS,yeAAye,CAAC,CAAC,SAAS,EAC1nB,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,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E,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mMAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SalesforceListOpportunitiesInput = zod.z.object({ query: zod.z.string().de
|
|
|
5
5
|
const SalesforceListOpportunities_OpportunityAttributesSchema = zod.z.object({
|
|
6
6
|
url: zod.z.string().describe("The resource URL for this specific record.").nullable(),
|
|
7
7
|
type: zod.z.string().describe("The object type, typically 'Opportunity'.").nullable()
|
|
8
|
-
}).describe("Metadata about each record including the object type and URL.");
|
|
8
|
+
}).passthrough().describe("Metadata about each record including the object type and URL.");
|
|
9
9
|
const SalesforceListOpportunities_OpportunityRecordSchema = zod.z.object({
|
|
10
10
|
Id: zod.z.string().describe("Unique identifier of the Opportunity record.").nullable().optional(),
|
|
11
11
|
Name: zod.z.string().describe("The name or title of the Opportunity.").nullable().optional(),
|
|
@@ -47,7 +47,7 @@ const SalesforceListOpportunitiesOutput = zod.z.object({
|
|
|
47
47
|
totalSize: zod.z.number().int().describe("The total number of records that can be selected with the SOQL query.").nullable(),
|
|
48
48
|
nextRecordsUrl: zod.z.string().describe("If the done field is set to false, this field will be populated with the path to the next page of results. On the final page, done will be set to true and this field will not be provided. Maximum of 2000 records are returned per API call.").nullable().optional(),
|
|
49
49
|
composio_execution_message: zod.z.string().describe("Informational message about the execution, if any.").nullable().optional()
|
|
50
|
-
}).describe("Response from the Salesforce query API containing Opportunity records and pagination metadata.");
|
|
50
|
+
}).passthrough().describe("Response from the Salesforce query API containing Opportunity records and pagination metadata.");
|
|
51
51
|
const salesforceListOpportunities = require_action.action("SALESFORCE_LIST_OPPORTUNITIES", {
|
|
52
52
|
slug: "salesforce-list-opportunities",
|
|
53
53
|
name: "List opportunities",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-opportunities.cjs","names":["z","action"],"sources":["../../src/actions/list-opportunities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListOpportunitiesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, StageName, CloseDate, Amount, Probability, Type, LeadSource, AccountId FROM Opportunity\").describe(\"SOQL query to fetch opportunities. Use standard SOQL syntax to filter, sort, and limit results. Omitting a `WHERE` clause returns all opportunities including historical ones. Results have no default sort order; include `ORDER BY CloseDate DESC` to retrieve recent opportunities first.IMPORTANT: Only use standard Salesforce fields unless you have confirmed that custom fields exist in the target org. Custom fields (ending with '__c') are org-specific and may not exist in all Salesforce instances. For relationship queries (e.g., Owner.Name), only use standard fields on the related object. To discover available fields, use the SALESFORCE_GET_ALL_FIELDS_FOR_OBJECT action first.\").optional(),\n});\nconst SalesforceListOpportunities_OpportunityAttributesSchema = z.object({\n url: z.string().describe(\"The resource URL for this specific record.\").nullable(),\n type: z.string().describe(\"The object type, typically 'Opportunity'.\").nullable(),\n}).describe(\"Metadata about each record including the object type and URL.\");\nconst SalesforceListOpportunities_OpportunityRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier of the Opportunity record.\").nullable().optional(),\n Name: z.string().describe(\"The name or title of the Opportunity.\").nullable().optional(),\n Type: z.string().describe(\"Picklist field indicating the type of Opportunity (e.g., New Customer, Existing Customer, etc.).\").nullable().optional(),\n IsWon: z.boolean().describe(\"Indicates whether the Opportunity was closed and won. True only when the Opportunity is closed as won.\").nullable().optional(),\n Amount: z.number().describe(\"Currency field representing the estimated total sale amount for the Opportunity.\").nullable().optional(),\n Fiscal: z.string().describe(\"The fiscal period in which the Opportunity is expected to close.\").nullable().optional(),\n OwnerId: z.string().describe(\"The ID of the user who owns the Opportunity.\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Indicates whether the Opportunity is closed (either won or lost). True when the Stage indicates a closed status.\").nullable().optional(),\n NextStep: z.string().describe(\"Text field describing the next action to take on the Opportunity.\").nullable().optional(),\n AccountId: z.string().describe(\"Lookup field that links the Opportunity to an Account.\").nullable().optional(),\n CloseDate: z.string().describe(\"The date when the Opportunity is expected to close (ISO 8601 date format).\").nullable().optional(),\n StageName: z.string().describe(\"The current stage of the Opportunity in the sales process (e.g., Prospecting, Qualification, Proposal, Negotiation, Closed Won, Closed Lost).\").nullable().optional(),\n CampaignId: z.string().describe(\"The ID of the primary campaign associated with this Opportunity for attribution purposes.\").nullable().optional(),\n FiscalYear: z.number().int().describe(\"The fiscal year in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n LeadSource: z.string().describe(\"Picklist field indicating where the lead originated.\").nullable().optional(),\n attributes: SalesforceListOpportunities_OpportunityAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"The ID of the user who created the Opportunity.\").nullable().optional(),\n CreatedDate: z.string().describe(\"The date and time when the Opportunity was created (ISO 8601 datetime format).\").nullable().optional(),\n Description: z.string().describe(\"Text field for additional details about the Opportunity.\").nullable().optional(),\n Probability: z.number().describe(\"The percentage probability of winning the Opportunity (0-100).\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"The ID of the price book associated with this Opportunity. Required if the Opportunity has products.\").nullable().optional(),\n RecordTypeId: z.string().describe(\"The ID of the record type assigned to this Opportunity (if record types are enabled for Opportunities).\").nullable().optional(),\n FiscalQuarter: z.number().int().describe(\"The fiscal quarter in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"The date and time when the Opportunity was last modified by a user or by an automated process such as a trigger (ISO 8601 datetime format). This field is indexed and strictly read-only.\").nullable().optional(),\n ExpectedRevenue: z.number().describe(\"Currency field for the expected revenue amount, calculated from Amount and Probability.\").nullable().optional(),\n ForecastCategory: z.string().describe(\"The forecast category associated with the Opportunity's current Stage (e.g., Pipeline, Best Case, Commit, Omitted, Closed).\").nullable().optional(),\n LastActivityDate: z.string().describe(\"The date of the most recent activity (task or event) associated with this Opportunity (ISO 8601 date format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"The ID of the user who last modified the Opportunity.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"The date and time when the Opportunity was last modified by a user (ISO 8601 datetime format).\").nullable().optional(),\n LastStageChangeDate: z.string().describe(\"The date when the Stage field was last changed (ISO 8601 date format).\").nullable().optional(),\n ForecastCategoryName: z.string().describe(\"The name of the forecast category associated with the Opportunity's current Stage.\").nullable().optional(),\n HasOpportunityLineItem: z.boolean().describe(\"Read-only field indicating whether the Opportunity has associated line items (products).\").nullable().optional(),\n TotalOpportunityQuantity: z.number().describe(\"The sum of all Opportunity Product quantities associated with the Opportunity.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single Opportunity record returned by the query.\");\nexport const SalesforceListOpportunitiesOutput = z.object({\n done: z.boolean().describe(\"A flag set to true indicates that there are no additional records to fetch for this query. When set to false, indicates that there are additional records that can be returned.\").nullable(),\n records: z.array(SalesforceListOpportunities_OpportunityRecordSchema).describe(\"Array containing the actual Opportunity records returned by the query.\"),\n totalSize: z.number().int().describe(\"The total number of records that can be selected with the SOQL query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"If the done field is set to false, this field will be populated with the path to the next page of results. On the final page, done will be set to true and this field will not be provided. Maximum of 2000 records are returned per API call.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Informational message about the execution, if any.\").nullable().optional(),\n}).describe(\"Response from the Salesforce query API containing Opportunity records and pagination metadata.\");\n\nexport const salesforceListOpportunities = action(\"SALESFORCE_LIST_OPPORTUNITIES\", {\n slug: \"salesforce-list-opportunities\",\n name: \"List opportunities\",\n description: \"Lists opportunities from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Results are paginated up to ~2000 rows per batch; check `done`, `totalSize`, and `nextRecordsUrl` fields to detect and retrieve additional pages, or use a SOQL `LIMIT` clause to cap results. For complex queries rejected by this tool, use `SALESFORCE_RUN_SOQL_Q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C,CAAC,SAAS,+DAA+D;AACzF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACvN,SAASA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wEAAwE;CACvJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1S,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAE5G,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-opportunities.cjs","names":["z","action"],"sources":["../../src/actions/list-opportunities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListOpportunitiesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, StageName, CloseDate, Amount, Probability, Type, LeadSource, AccountId FROM Opportunity\").describe(\"SOQL query to fetch opportunities. Use standard SOQL syntax to filter, sort, and limit results. Omitting a `WHERE` clause returns all opportunities including historical ones. Results have no default sort order; include `ORDER BY CloseDate DESC` to retrieve recent opportunities first.IMPORTANT: Only use standard Salesforce fields unless you have confirmed that custom fields exist in the target org. Custom fields (ending with '__c') are org-specific and may not exist in all Salesforce instances. For relationship queries (e.g., Owner.Name), only use standard fields on the related object. To discover available fields, use the SALESFORCE_GET_ALL_FIELDS_FOR_OBJECT action first.\").optional(),\n});\nconst SalesforceListOpportunities_OpportunityAttributesSchema = z.object({\n url: z.string().describe(\"The resource URL for this specific record.\").nullable(),\n type: z.string().describe(\"The object type, typically 'Opportunity'.\").nullable(),\n}).passthrough().describe(\"Metadata about each record including the object type and URL.\");\nconst SalesforceListOpportunities_OpportunityRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier of the Opportunity record.\").nullable().optional(),\n Name: z.string().describe(\"The name or title of the Opportunity.\").nullable().optional(),\n Type: z.string().describe(\"Picklist field indicating the type of Opportunity (e.g., New Customer, Existing Customer, etc.).\").nullable().optional(),\n IsWon: z.boolean().describe(\"Indicates whether the Opportunity was closed and won. True only when the Opportunity is closed as won.\").nullable().optional(),\n Amount: z.number().describe(\"Currency field representing the estimated total sale amount for the Opportunity.\").nullable().optional(),\n Fiscal: z.string().describe(\"The fiscal period in which the Opportunity is expected to close.\").nullable().optional(),\n OwnerId: z.string().describe(\"The ID of the user who owns the Opportunity.\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Indicates whether the Opportunity is closed (either won or lost). True when the Stage indicates a closed status.\").nullable().optional(),\n NextStep: z.string().describe(\"Text field describing the next action to take on the Opportunity.\").nullable().optional(),\n AccountId: z.string().describe(\"Lookup field that links the Opportunity to an Account.\").nullable().optional(),\n CloseDate: z.string().describe(\"The date when the Opportunity is expected to close (ISO 8601 date format).\").nullable().optional(),\n StageName: z.string().describe(\"The current stage of the Opportunity in the sales process (e.g., Prospecting, Qualification, Proposal, Negotiation, Closed Won, Closed Lost).\").nullable().optional(),\n CampaignId: z.string().describe(\"The ID of the primary campaign associated with this Opportunity for attribution purposes.\").nullable().optional(),\n FiscalYear: z.number().int().describe(\"The fiscal year in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n LeadSource: z.string().describe(\"Picklist field indicating where the lead originated.\").nullable().optional(),\n attributes: SalesforceListOpportunities_OpportunityAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"The ID of the user who created the Opportunity.\").nullable().optional(),\n CreatedDate: z.string().describe(\"The date and time when the Opportunity was created (ISO 8601 datetime format).\").nullable().optional(),\n Description: z.string().describe(\"Text field for additional details about the Opportunity.\").nullable().optional(),\n Probability: z.number().describe(\"The percentage probability of winning the Opportunity (0-100).\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"The ID of the price book associated with this Opportunity. Required if the Opportunity has products.\").nullable().optional(),\n RecordTypeId: z.string().describe(\"The ID of the record type assigned to this Opportunity (if record types are enabled for Opportunities).\").nullable().optional(),\n FiscalQuarter: z.number().int().describe(\"The fiscal quarter in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"The date and time when the Opportunity was last modified by a user or by an automated process such as a trigger (ISO 8601 datetime format). This field is indexed and strictly read-only.\").nullable().optional(),\n ExpectedRevenue: z.number().describe(\"Currency field for the expected revenue amount, calculated from Amount and Probability.\").nullable().optional(),\n ForecastCategory: z.string().describe(\"The forecast category associated with the Opportunity's current Stage (e.g., Pipeline, Best Case, Commit, Omitted, Closed).\").nullable().optional(),\n LastActivityDate: z.string().describe(\"The date of the most recent activity (task or event) associated with this Opportunity (ISO 8601 date format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"The ID of the user who last modified the Opportunity.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"The date and time when the Opportunity was last modified by a user (ISO 8601 datetime format).\").nullable().optional(),\n LastStageChangeDate: z.string().describe(\"The date when the Stage field was last changed (ISO 8601 date format).\").nullable().optional(),\n ForecastCategoryName: z.string().describe(\"The name of the forecast category associated with the Opportunity's current Stage.\").nullable().optional(),\n HasOpportunityLineItem: z.boolean().describe(\"Read-only field indicating whether the Opportunity has associated line items (products).\").nullable().optional(),\n TotalOpportunityQuantity: z.number().describe(\"The sum of all Opportunity Product quantities associated with the Opportunity.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single Opportunity record returned by the query.\");\nexport const SalesforceListOpportunitiesOutput = z.object({\n done: z.boolean().describe(\"A flag set to true indicates that there are no additional records to fetch for this query. When set to false, indicates that there are additional records that can be returned.\").nullable(),\n records: z.array(SalesforceListOpportunities_OpportunityRecordSchema).describe(\"Array containing the actual Opportunity records returned by the query.\"),\n totalSize: z.number().int().describe(\"The total number of records that can be selected with the SOQL query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"If the done field is set to false, this field will be populated with the path to the next page of results. On the final page, done will be set to true and this field will not be provided. Maximum of 2000 records are returned per API call.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Informational message about the execution, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response from the Salesforce query API containing Opportunity records and pagination metadata.\");\n\nexport const salesforceListOpportunities = action(\"SALESFORCE_LIST_OPPORTUNITIES\", {\n slug: \"salesforce-list-opportunities\",\n name: \"List opportunities\",\n description: \"Lists opportunities from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Results are paginated up to ~2000 rows per batch; check `done`, `totalSize`, and `nextRecordsUrl` fields to detect and retrieve additional pages, or use a SOQL `LIMIT` clause to cap results. For complex queries rejected by this tool, use `SALESFORCE_RUN_SOQL_QUERY` instead.\",\n input: SalesforceListOpportunitiesInput,\n output: SalesforceListOpportunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,0GAA0G,CAAC,CAAC,SAAS,2qBAA2qB,CAAC,CAAC,SAAS,EACv0B,CAAC;AACD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,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BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const SalesforceListOpportunitiesOutput: z.ZodObject<{
|
|
|
25
25
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
26
26
|
url: z.ZodNullable<z.ZodString>;
|
|
27
27
|
type: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -47,7 +47,7 @@ declare const SalesforceListOpportunitiesOutput: z.ZodObject<{
|
|
|
47
47
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
48
48
|
nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const salesforceListOpportunities: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
query?: string | undefined;
|
|
53
53
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -25,7 +25,7 @@ declare const SalesforceListOpportunitiesOutput: z.ZodObject<{
|
|
|
25
25
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
26
26
|
url: z.ZodNullable<z.ZodString>;
|
|
27
27
|
type: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -47,7 +47,7 @@ declare const SalesforceListOpportunitiesOutput: z.ZodObject<{
|
|
|
47
47
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
48
48
|
nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const salesforceListOpportunities: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
query?: string | undefined;
|
|
53
53
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const SalesforceListOpportunitiesInput = z.object({ query: z.string().default("S
|
|
|
5
5
|
const SalesforceListOpportunities_OpportunityAttributesSchema = z.object({
|
|
6
6
|
url: z.string().describe("The resource URL for this specific record.").nullable(),
|
|
7
7
|
type: z.string().describe("The object type, typically 'Opportunity'.").nullable()
|
|
8
|
-
}).describe("Metadata about each record including the object type and URL.");
|
|
8
|
+
}).passthrough().describe("Metadata about each record including the object type and URL.");
|
|
9
9
|
const SalesforceListOpportunities_OpportunityRecordSchema = z.object({
|
|
10
10
|
Id: z.string().describe("Unique identifier of the Opportunity record.").nullable().optional(),
|
|
11
11
|
Name: z.string().describe("The name or title of the Opportunity.").nullable().optional(),
|
|
@@ -52,7 +52,7 @@ const salesforceListOpportunities = action("SALESFORCE_LIST_OPPORTUNITIES", {
|
|
|
52
52
|
totalSize: z.number().int().describe("The total number of records that can be selected with the SOQL query.").nullable(),
|
|
53
53
|
nextRecordsUrl: z.string().describe("If the done field is set to false, this field will be populated with the path to the next page of results. On the final page, done will be set to true and this field will not be provided. Maximum of 2000 records are returned per API call.").nullable().optional(),
|
|
54
54
|
composio_execution_message: z.string().describe("Informational message about the execution, if any.").nullable().optional()
|
|
55
|
-
}).describe("Response from the Salesforce query API containing Opportunity records and pagination metadata.")
|
|
55
|
+
}).passthrough().describe("Response from the Salesforce query API containing Opportunity records and pagination metadata.")
|
|
56
56
|
});
|
|
57
57
|
//#endregion
|
|
58
58
|
export { salesforceListOpportunities };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-opportunities.mjs","names":[],"sources":["../../src/actions/list-opportunities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListOpportunitiesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, StageName, CloseDate, Amount, Probability, Type, LeadSource, AccountId FROM Opportunity\").describe(\"SOQL query to fetch opportunities. Use standard SOQL syntax to filter, sort, and limit results. Omitting a `WHERE` clause returns all opportunities including historical ones. Results have no default sort order; include `ORDER BY CloseDate DESC` to retrieve recent opportunities first.IMPORTANT: Only use standard Salesforce fields unless you have confirmed that custom fields exist in the target org. Custom fields (ending with '__c') are org-specific and may not exist in all Salesforce instances. For relationship queries (e.g., Owner.Name), only use standard fields on the related object. To discover available fields, use the SALESFORCE_GET_ALL_FIELDS_FOR_OBJECT action first.\").optional(),\n});\nconst SalesforceListOpportunities_OpportunityAttributesSchema = z.object({\n url: z.string().describe(\"The resource URL for this specific record.\").nullable(),\n type: z.string().describe(\"The object type, typically 'Opportunity'.\").nullable(),\n}).describe(\"Metadata about each record including the object type and URL.\");\nconst SalesforceListOpportunities_OpportunityRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier of the Opportunity record.\").nullable().optional(),\n Name: z.string().describe(\"The name or title of the Opportunity.\").nullable().optional(),\n Type: z.string().describe(\"Picklist field indicating the type of Opportunity (e.g., New Customer, Existing Customer, etc.).\").nullable().optional(),\n IsWon: z.boolean().describe(\"Indicates whether the Opportunity was closed and won. True only when the Opportunity is closed as won.\").nullable().optional(),\n Amount: z.number().describe(\"Currency field representing the estimated total sale amount for the Opportunity.\").nullable().optional(),\n Fiscal: z.string().describe(\"The fiscal period in which the Opportunity is expected to close.\").nullable().optional(),\n OwnerId: z.string().describe(\"The ID of the user who owns the Opportunity.\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Indicates whether the Opportunity is closed (either won or lost). True when the Stage indicates a closed status.\").nullable().optional(),\n NextStep: z.string().describe(\"Text field describing the next action to take on the Opportunity.\").nullable().optional(),\n AccountId: z.string().describe(\"Lookup field that links the Opportunity to an Account.\").nullable().optional(),\n CloseDate: z.string().describe(\"The date when the Opportunity is expected to close (ISO 8601 date format).\").nullable().optional(),\n StageName: z.string().describe(\"The current stage of the Opportunity in the sales process (e.g., Prospecting, Qualification, Proposal, Negotiation, Closed Won, Closed Lost).\").nullable().optional(),\n CampaignId: z.string().describe(\"The ID of the primary campaign associated with this Opportunity for attribution purposes.\").nullable().optional(),\n FiscalYear: z.number().int().describe(\"The fiscal year in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n LeadSource: z.string().describe(\"Picklist field indicating where the lead originated.\").nullable().optional(),\n attributes: SalesforceListOpportunities_OpportunityAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"The ID of the user who created the Opportunity.\").nullable().optional(),\n CreatedDate: z.string().describe(\"The date and time when the Opportunity was created (ISO 8601 datetime format).\").nullable().optional(),\n Description: z.string().describe(\"Text field for additional details about the Opportunity.\").nullable().optional(),\n Probability: z.number().describe(\"The percentage probability of winning the Opportunity (0-100).\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"The ID of the price book associated with this Opportunity. Required if the Opportunity has products.\").nullable().optional(),\n RecordTypeId: z.string().describe(\"The ID of the record type assigned to this Opportunity (if record types are enabled for Opportunities).\").nullable().optional(),\n FiscalQuarter: z.number().int().describe(\"The fiscal quarter in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"The date and time when the Opportunity was last modified by a user or by an automated process such as a trigger (ISO 8601 datetime format). This field is indexed and strictly read-only.\").nullable().optional(),\n ExpectedRevenue: z.number().describe(\"Currency field for the expected revenue amount, calculated from Amount and Probability.\").nullable().optional(),\n ForecastCategory: z.string().describe(\"The forecast category associated with the Opportunity's current Stage (e.g., Pipeline, Best Case, Commit, Omitted, Closed).\").nullable().optional(),\n LastActivityDate: z.string().describe(\"The date of the most recent activity (task or event) associated with this Opportunity (ISO 8601 date format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"The ID of the user who last modified the Opportunity.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"The date and time when the Opportunity was last modified by a user (ISO 8601 datetime format).\").nullable().optional(),\n LastStageChangeDate: z.string().describe(\"The date when the Stage field was last changed (ISO 8601 date format).\").nullable().optional(),\n ForecastCategoryName: z.string().describe(\"The name of the forecast category associated with the Opportunity's current Stage.\").nullable().optional(),\n HasOpportunityLineItem: z.boolean().describe(\"Read-only field indicating whether the Opportunity has associated line items (products).\").nullable().optional(),\n TotalOpportunityQuantity: z.number().describe(\"The sum of all Opportunity Product quantities associated with the Opportunity.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single Opportunity record returned by the query.\");\nexport const SalesforceListOpportunitiesOutput = z.object({\n done: z.boolean().describe(\"A flag set to true indicates that there are no additional records to fetch for this query. When set to false, indicates that there are additional records that can be returned.\").nullable(),\n records: z.array(SalesforceListOpportunities_OpportunityRecordSchema).describe(\"Array containing the actual Opportunity records returned by the query.\"),\n totalSize: z.number().int().describe(\"The total number of records that can be selected with the SOQL query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"If the done field is set to false, this field will be populated with the path to the next page of results. On the final page, done will be set to true and this field will not be provided. Maximum of 2000 records are returned per API call.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Informational message about the execution, if any.\").nullable().optional(),\n}).describe(\"Response from the Salesforce query API containing Opportunity records and pagination metadata.\");\n\nexport const salesforceListOpportunities = action(\"SALESFORCE_LIST_OPPORTUNITIES\", {\n slug: \"salesforce-list-opportunities\",\n name: \"List opportunities\",\n description: \"Lists opportunities from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Results are paginated up to ~2000 rows per batch; check `done`, `totalSize`, and `nextRecordsUrl` fields to detect and retrieve additional pages, or use a SOQL `LIMIT` clause to cap results. For complex queries rejected by this tool, use `SALESFORCE_RUN_SOQL_QUERY` instead.\",\n input: SalesforceListOpportunitiesInput,\n output: SalesforceListOpportunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,0GAA0G,CAAC,CAAC,SAAS,2qBAA2qB,CAAC,CAAC,SAAS,EACv0B,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAA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OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;EACvN,SAAS,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wEAAwE;EACvJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1S,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,gGAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-opportunities.mjs","names":[],"sources":["../../src/actions/list-opportunities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListOpportunitiesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, StageName, CloseDate, Amount, Probability, Type, LeadSource, AccountId FROM Opportunity\").describe(\"SOQL query to fetch opportunities. Use standard SOQL syntax to filter, sort, and limit results. Omitting a `WHERE` clause returns all opportunities including historical ones. Results have no default sort order; include `ORDER BY CloseDate DESC` to retrieve recent opportunities first.IMPORTANT: Only use standard Salesforce fields unless you have confirmed that custom fields exist in the target org. Custom fields (ending with '__c') are org-specific and may not exist in all Salesforce instances. For relationship queries (e.g., Owner.Name), only use standard fields on the related object. To discover available fields, use the SALESFORCE_GET_ALL_FIELDS_FOR_OBJECT action first.\").optional(),\n});\nconst SalesforceListOpportunities_OpportunityAttributesSchema = z.object({\n url: z.string().describe(\"The resource URL for this specific record.\").nullable(),\n type: z.string().describe(\"The object type, typically 'Opportunity'.\").nullable(),\n}).passthrough().describe(\"Metadata about each record including the object type and URL.\");\nconst SalesforceListOpportunities_OpportunityRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier of the Opportunity record.\").nullable().optional(),\n Name: z.string().describe(\"The name or title of the Opportunity.\").nullable().optional(),\n Type: z.string().describe(\"Picklist field indicating the type of Opportunity (e.g., New Customer, Existing Customer, etc.).\").nullable().optional(),\n IsWon: z.boolean().describe(\"Indicates whether the Opportunity was closed and won. True only when the Opportunity is closed as won.\").nullable().optional(),\n Amount: z.number().describe(\"Currency field representing the estimated total sale amount for the Opportunity.\").nullable().optional(),\n Fiscal: z.string().describe(\"The fiscal period in which the Opportunity is expected to close.\").nullable().optional(),\n OwnerId: z.string().describe(\"The ID of the user who owns the Opportunity.\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Indicates whether the Opportunity is closed (either won or lost). True when the Stage indicates a closed status.\").nullable().optional(),\n NextStep: z.string().describe(\"Text field describing the next action to take on the Opportunity.\").nullable().optional(),\n AccountId: z.string().describe(\"Lookup field that links the Opportunity to an Account.\").nullable().optional(),\n CloseDate: z.string().describe(\"The date when the Opportunity is expected to close (ISO 8601 date format).\").nullable().optional(),\n StageName: z.string().describe(\"The current stage of the Opportunity in the sales process (e.g., Prospecting, Qualification, Proposal, Negotiation, Closed Won, Closed Lost).\").nullable().optional(),\n CampaignId: z.string().describe(\"The ID of the primary campaign associated with this Opportunity for attribution purposes.\").nullable().optional(),\n FiscalYear: z.number().int().describe(\"The fiscal year in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n LeadSource: z.string().describe(\"Picklist field indicating where the lead originated.\").nullable().optional(),\n attributes: SalesforceListOpportunities_OpportunityAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"The ID of the user who created the Opportunity.\").nullable().optional(),\n CreatedDate: z.string().describe(\"The date and time when the Opportunity was created (ISO 8601 datetime format).\").nullable().optional(),\n Description: z.string().describe(\"Text field for additional details about the Opportunity.\").nullable().optional(),\n Probability: z.number().describe(\"The percentage probability of winning the Opportunity (0-100).\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"The ID of the price book associated with this Opportunity. Required if the Opportunity has products.\").nullable().optional(),\n RecordTypeId: z.string().describe(\"The ID of the record type assigned to this Opportunity (if record types are enabled for Opportunities).\").nullable().optional(),\n FiscalQuarter: z.number().int().describe(\"The fiscal quarter in which the Opportunity is expected to close, derived from CloseDate and organization fiscal year settings.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"The date and time when the Opportunity was last modified by a user or by an automated process such as a trigger (ISO 8601 datetime format). This field is indexed and strictly read-only.\").nullable().optional(),\n ExpectedRevenue: z.number().describe(\"Currency field for the expected revenue amount, calculated from Amount and Probability.\").nullable().optional(),\n ForecastCategory: z.string().describe(\"The forecast category associated with the Opportunity's current Stage (e.g., Pipeline, Best Case, Commit, Omitted, Closed).\").nullable().optional(),\n LastActivityDate: z.string().describe(\"The date of the most recent activity (task or event) associated with this Opportunity (ISO 8601 date format).\").nullable().optional(),\n LastModifiedById: z.string().describe(\"The ID of the user who last modified the Opportunity.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"The date and time when the Opportunity was last modified by a user (ISO 8601 datetime format).\").nullable().optional(),\n LastStageChangeDate: z.string().describe(\"The date when the Stage field was last changed (ISO 8601 date format).\").nullable().optional(),\n ForecastCategoryName: z.string().describe(\"The name of the forecast category associated with the Opportunity's current Stage.\").nullable().optional(),\n HasOpportunityLineItem: z.boolean().describe(\"Read-only field indicating whether the Opportunity has associated line items (products).\").nullable().optional(),\n TotalOpportunityQuantity: z.number().describe(\"The sum of all Opportunity Product quantities associated with the Opportunity.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single Opportunity record returned by the query.\");\nexport const SalesforceListOpportunitiesOutput = z.object({\n done: z.boolean().describe(\"A flag set to true indicates that there are no additional records to fetch for this query. When set to false, indicates that there are additional records that can be returned.\").nullable(),\n records: z.array(SalesforceListOpportunities_OpportunityRecordSchema).describe(\"Array containing the actual Opportunity records returned by the query.\"),\n totalSize: z.number().int().describe(\"The total number of records that can be selected with the SOQL query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"If the done field is set to false, this field will be populated with the path to the next page of results. On the final page, done will be set to true and this field will not be provided. Maximum of 2000 records are returned per API call.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Informational message about the execution, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response from the Salesforce query API containing Opportunity records and pagination metadata.\");\n\nexport const salesforceListOpportunities = action(\"SALESFORCE_LIST_OPPORTUNITIES\", {\n slug: \"salesforce-list-opportunities\",\n name: \"List opportunities\",\n description: \"Lists opportunities from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Results are paginated up to ~2000 rows per batch; check `done`, `totalSize`, and `nextRecordsUrl` fields to detect and retrieve additional pages, or use a SOQL `LIMIT` clause to cap results. For complex queries rejected by this tool, use `SALESFORCE_RUN_SOQL_QUERY` instead.\",\n input: SalesforceListOpportunitiesInput,\n output: SalesforceListOpportunitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,0GAA0G,CAAC,CAAC,SAAS,2qBAA2qB,CAAC,CAAC,SAAS,EACv0B,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,OAAO,EAAE,QAAQ,CAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AASzF,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;EACvN,SAAS,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,wEAAwE;EACvJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1S,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SalesforceListPricebookEntriesInput = zod.z.object({ query: zod.z.string()
|
|
|
5
5
|
const SalesforceListPricebookEntries_RecordAttributesSchema = zod.z.object({
|
|
6
6
|
url: zod.z.string().describe("REST API URL path to access this specific PricebookEntry record").nullable(),
|
|
7
7
|
type: zod.z.string().describe("The Salesforce object type name, always 'PricebookEntry' for these records").nullable()
|
|
8
|
-
}).describe("Metadata about the record including its type and URL");
|
|
8
|
+
}).passthrough().describe("Metadata about the record including its type and URL");
|
|
9
9
|
const SalesforceListPricebookEntries_PricebookEntryRecordSchema = zod.z.object({
|
|
10
10
|
Id: zod.z.string().describe("Unique identifier for the PricebookEntry record").nullable(),
|
|
11
11
|
Name: zod.z.string().describe("Name of the PricebookEntry").nullable().optional(),
|
|
@@ -24,13 +24,13 @@ const SalesforceListPricebookEntries_PricebookEntryRecordSchema = zod.z.object({
|
|
|
24
24
|
LastModifiedById: zod.z.string().describe("ID of the User who last modified the PricebookEntry record").nullable().optional(),
|
|
25
25
|
LastModifiedDate: zod.z.string().describe("Date and time when the PricebookEntry was last modified by a user (ISO 8601 format)").nullable().optional(),
|
|
26
26
|
UseStandardPrice: zod.z.boolean().describe("Indicates whether to use the price from the Standard Price Book").nullable().optional()
|
|
27
|
-
}).describe("Represents a single PricebookEntry record returned by the query");
|
|
27
|
+
}).passthrough().describe("Represents a single PricebookEntry record returned by the query");
|
|
28
28
|
const SalesforceListPricebookEntriesOutput = zod.z.object({
|
|
29
29
|
done: zod.z.boolean().describe("Indicates whether there are additional records to fetch. True means all records have been retrieved, false means more records are available via pagination").nullable(),
|
|
30
30
|
records: zod.z.array(SalesforceListPricebookEntries_PricebookEntryRecordSchema).describe("Array of PricebookEntry records returned by the query (up to 2000 records per request)"),
|
|
31
31
|
totalSize: zod.z.number().int().describe("Total number of records that match the query criteria").nullable(),
|
|
32
32
|
nextRecordsUrl: zod.z.string().describe("URL path to retrieve the next batch of records. Only present when done is false and more records are available").nullable().optional()
|
|
33
|
-
}).describe("Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query");
|
|
33
|
+
}).passthrough().describe("Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query");
|
|
34
34
|
const salesforceListPricebookEntries = require_action.action("SALESFORCE_LIST_PRICEBOOK_ENTRIES", {
|
|
35
35
|
slug: "salesforce-list-pricebook-entries",
|
|
36
36
|
name: "List pricebook entries",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pricebook-entries.cjs","names":["z","action"],"sources":["../../src/actions/list-pricebook-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListPricebookEntriesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, Product2Id, Pricebook2Id, UnitPrice, IsActive, ProductCode, Product2.Name FROM PricebookEntry\").describe(\"SOQL query to fetch pricebook entries. Use standard SOQL syntax to filter, sort, and limit results.\").optional(),\n});\nconst SalesforceListPricebookEntries_RecordAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL path to access this specific PricebookEntry record\").nullable(),\n type: z.string().describe(\"The Salesforce object type name, always 'PricebookEntry' for these records\").nullable(),\n}).describe(\"Metadata about the record including its type and URL\");\nconst SalesforceListPricebookEntries_PricebookEntryRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the PricebookEntry record\").nullable(),\n Name: z.string().describe(\"Name of the PricebookEntry\").nullable().optional(),\n IsActive: z.boolean().describe(\"Indicates whether the price book entry is active and available for use\").nullable(),\n IsDeleted: z.boolean().describe(\"Indicates whether the record has been moved to the Recycle Bin\").nullable().optional(),\n UnitPrice: z.number().describe(\"The list price for the product in this specific price book\").nullable(),\n IsArchived: z.boolean().describe(\"Indicates whether the record has been archived. Archived records occur when a PricebookEntry is deleted while still being referenced by other records\").nullable().optional(),\n Product2Id: z.string().describe(\"Lookup relationship to the Product2 object. References the product associated with this price book entry\").nullable(),\n attributes: SalesforceListPricebookEntries_RecordAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the PricebookEntry record\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the PricebookEntry was created (ISO 8601 format)\").nullable().optional(),\n ProductCode: z.string().describe(\"Product code associated with this price book entry\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"Lookup relationship to the Pricebook2 object. References the price book that contains this entry\").nullable(),\n SystemModstamp: z.string().describe(\"Date and time when the record was last modified by any user or automated process (ISO 8601 format). Always greater than or equal to LastModifiedDate\").nullable().optional(),\n CurrencyIsoCode: z.string().describe(\"ISO code for the currency of this price book entry. Only available in orgs with multiple currencies enabled. This field cannot be updated after creation\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the PricebookEntry record\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the PricebookEntry was last modified by a user (ISO 8601 format)\").nullable().optional(),\n UseStandardPrice: z.boolean().describe(\"Indicates whether to use the price from the Standard Price Book\").nullable().optional(),\n}).describe(\"Represents a single PricebookEntry record returned by the query\");\nexport const SalesforceListPricebookEntriesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether there are additional records to fetch. True means all records have been retrieved, false means more records are available via pagination\").nullable(),\n records: z.array(SalesforceListPricebookEntries_PricebookEntryRecordSchema).describe(\"Array of PricebookEntry records returned by the query (up to 2000 records per request)\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query criteria\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of records. Only present when done is false and more records are available\").nullable().optional(),\n}).describe(\"Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query\");\n\nexport const salesforceListPricebookEntries = action(\"SALESFORCE_LIST_PRICEBOOK_ENTRIES\", {\n slug: \"salesforce-list-pricebook-entries\",\n name: \"List pricebook entries\",\n description: \"Lists pricebook entries from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Use this to map product names to pricebook entry IDs needed for opportunity line items. When using returned IDs with SALESFORCE_ADD_OPPORTUNITY_LINE_ITEM, always filter with WHERE IsActive = true — inactive entries cause REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY errors.\",\n input: SalesforceListPricebookEntriesInput,\n output: SalesforceListPricebookEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,gHAAgH,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACvQ,CAAC;AACD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"list-pricebook-entries.cjs","names":["z","action"],"sources":["../../src/actions/list-pricebook-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListPricebookEntriesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, Product2Id, Pricebook2Id, UnitPrice, IsActive, ProductCode, Product2.Name FROM PricebookEntry\").describe(\"SOQL query to fetch pricebook entries. Use standard SOQL syntax to filter, sort, and limit results.\").optional(),\n});\nconst SalesforceListPricebookEntries_RecordAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL path to access this specific PricebookEntry record\").nullable(),\n type: z.string().describe(\"The Salesforce object type name, always 'PricebookEntry' for these records\").nullable(),\n}).passthrough().describe(\"Metadata about the record including its type and URL\");\nconst SalesforceListPricebookEntries_PricebookEntryRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the PricebookEntry record\").nullable(),\n Name: z.string().describe(\"Name of the PricebookEntry\").nullable().optional(),\n IsActive: z.boolean().describe(\"Indicates whether the price book entry is active and available for use\").nullable(),\n IsDeleted: z.boolean().describe(\"Indicates whether the record has been moved to the Recycle Bin\").nullable().optional(),\n UnitPrice: z.number().describe(\"The list price for the product in this specific price book\").nullable(),\n IsArchived: z.boolean().describe(\"Indicates whether the record has been archived. Archived records occur when a PricebookEntry is deleted while still being referenced by other records\").nullable().optional(),\n Product2Id: z.string().describe(\"Lookup relationship to the Product2 object. References the product associated with this price book entry\").nullable(),\n attributes: SalesforceListPricebookEntries_RecordAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the PricebookEntry record\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the PricebookEntry was created (ISO 8601 format)\").nullable().optional(),\n ProductCode: z.string().describe(\"Product code associated with this price book entry\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"Lookup relationship to the Pricebook2 object. References the price book that contains this entry\").nullable(),\n SystemModstamp: z.string().describe(\"Date and time when the record was last modified by any user or automated process (ISO 8601 format). Always greater than or equal to LastModifiedDate\").nullable().optional(),\n CurrencyIsoCode: z.string().describe(\"ISO code for the currency of this price book entry. Only available in orgs with multiple currencies enabled. This field cannot be updated after creation\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the PricebookEntry record\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the PricebookEntry was last modified by a user (ISO 8601 format)\").nullable().optional(),\n UseStandardPrice: z.boolean().describe(\"Indicates whether to use the price from the Standard Price Book\").nullable().optional(),\n}).passthrough().describe(\"Represents a single PricebookEntry record returned by the query\");\nexport const SalesforceListPricebookEntriesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether there are additional records to fetch. True means all records have been retrieved, false means more records are available via pagination\").nullable(),\n records: z.array(SalesforceListPricebookEntries_PricebookEntryRecordSchema).describe(\"Array of PricebookEntry records returned by the query (up to 2000 records per request)\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query criteria\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of records. Only present when done is false and more records are available\").nullable().optional(),\n}).passthrough().describe(\"Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query\");\n\nexport const salesforceListPricebookEntries = action(\"SALESFORCE_LIST_PRICEBOOK_ENTRIES\", {\n slug: \"salesforce-list-pricebook-entries\",\n name: \"List pricebook entries\",\n description: \"Lists pricebook entries from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Use this to map product names to pricebook entry IDs needed for opportunity line items. When using returned IDs with SALESFORCE_ADD_OPPORTUNITY_LINE_ITEM, always filter with WHERE IsActive = true — inactive entries cause REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY errors.\",\n input: SalesforceListPricebookEntriesInput,\n output: SalesforceListPricebookEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA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P,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const SalesforceListPricebookEntriesOutput: z.ZodObject<{
|
|
|
17
17
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
url: z.ZodNullable<z.ZodString>;
|
|
19
19
|
type: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
ProductCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27,10 +27,10 @@ declare const SalesforceListPricebookEntriesOutput: z.ZodObject<{
|
|
|
27
27
|
LastModifiedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
LastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
UseStandardPrice: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const salesforceListPricebookEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
query?: string | undefined;
|
|
36
36
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,7 +17,7 @@ declare const SalesforceListPricebookEntriesOutput: z.ZodObject<{
|
|
|
17
17
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
url: z.ZodNullable<z.ZodString>;
|
|
19
19
|
type: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
ProductCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27,10 +27,10 @@ declare const SalesforceListPricebookEntriesOutput: z.ZodObject<{
|
|
|
27
27
|
LastModifiedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
LastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
UseStandardPrice: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const salesforceListPricebookEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
query?: string | undefined;
|
|
36
36
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const SalesforceListPricebookEntriesInput = z.object({ query: z.string().default
|
|
|
5
5
|
const SalesforceListPricebookEntries_RecordAttributesSchema = z.object({
|
|
6
6
|
url: z.string().describe("REST API URL path to access this specific PricebookEntry record").nullable(),
|
|
7
7
|
type: z.string().describe("The Salesforce object type name, always 'PricebookEntry' for these records").nullable()
|
|
8
|
-
}).describe("Metadata about the record including its type and URL");
|
|
8
|
+
}).passthrough().describe("Metadata about the record including its type and URL");
|
|
9
9
|
const SalesforceListPricebookEntries_PricebookEntryRecordSchema = z.object({
|
|
10
10
|
Id: z.string().describe("Unique identifier for the PricebookEntry record").nullable(),
|
|
11
11
|
Name: z.string().describe("Name of the PricebookEntry").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const SalesforceListPricebookEntries_PricebookEntryRecordSchema = z.object({
|
|
|
24
24
|
LastModifiedById: z.string().describe("ID of the User who last modified the PricebookEntry record").nullable().optional(),
|
|
25
25
|
LastModifiedDate: z.string().describe("Date and time when the PricebookEntry was last modified by a user (ISO 8601 format)").nullable().optional(),
|
|
26
26
|
UseStandardPrice: z.boolean().describe("Indicates whether to use the price from the Standard Price Book").nullable().optional()
|
|
27
|
-
}).describe("Represents a single PricebookEntry record returned by the query");
|
|
27
|
+
}).passthrough().describe("Represents a single PricebookEntry record returned by the query");
|
|
28
28
|
const salesforceListPricebookEntries = action("SALESFORCE_LIST_PRICEBOOK_ENTRIES", {
|
|
29
29
|
slug: "salesforce-list-pricebook-entries",
|
|
30
30
|
name: "List pricebook entries",
|
|
@@ -35,7 +35,7 @@ const salesforceListPricebookEntries = action("SALESFORCE_LIST_PRICEBOOK_ENTRIES
|
|
|
35
35
|
records: z.array(SalesforceListPricebookEntries_PricebookEntryRecordSchema).describe("Array of PricebookEntry records returned by the query (up to 2000 records per request)"),
|
|
36
36
|
totalSize: z.number().int().describe("Total number of records that match the query criteria").nullable(),
|
|
37
37
|
nextRecordsUrl: z.string().describe("URL path to retrieve the next batch of records. Only present when done is false and more records are available").nullable().optional()
|
|
38
|
-
}).describe("Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query")
|
|
38
|
+
}).passthrough().describe("Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { salesforceListPricebookEntries };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pricebook-entries.mjs","names":[],"sources":["../../src/actions/list-pricebook-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListPricebookEntriesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, Product2Id, Pricebook2Id, UnitPrice, IsActive, ProductCode, Product2.Name FROM PricebookEntry\").describe(\"SOQL query to fetch pricebook entries. Use standard SOQL syntax to filter, sort, and limit results.\").optional(),\n});\nconst SalesforceListPricebookEntries_RecordAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL path to access this specific PricebookEntry record\").nullable(),\n type: z.string().describe(\"The Salesforce object type name, always 'PricebookEntry' for these records\").nullable(),\n}).describe(\"Metadata about the record including its type and URL\");\nconst SalesforceListPricebookEntries_PricebookEntryRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the PricebookEntry record\").nullable(),\n Name: z.string().describe(\"Name of the PricebookEntry\").nullable().optional(),\n IsActive: z.boolean().describe(\"Indicates whether the price book entry is active and available for use\").nullable(),\n IsDeleted: z.boolean().describe(\"Indicates whether the record has been moved to the Recycle Bin\").nullable().optional(),\n UnitPrice: z.number().describe(\"The list price for the product in this specific price book\").nullable(),\n IsArchived: z.boolean().describe(\"Indicates whether the record has been archived. Archived records occur when a PricebookEntry is deleted while still being referenced by other records\").nullable().optional(),\n Product2Id: z.string().describe(\"Lookup relationship to the Product2 object. References the product associated with this price book entry\").nullable(),\n attributes: SalesforceListPricebookEntries_RecordAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the PricebookEntry record\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the PricebookEntry was created (ISO 8601 format)\").nullable().optional(),\n ProductCode: z.string().describe(\"Product code associated with this price book entry\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"Lookup relationship to the Pricebook2 object. References the price book that contains this entry\").nullable(),\n SystemModstamp: z.string().describe(\"Date and time when the record was last modified by any user or automated process (ISO 8601 format). Always greater than or equal to LastModifiedDate\").nullable().optional(),\n CurrencyIsoCode: z.string().describe(\"ISO code for the currency of this price book entry. Only available in orgs with multiple currencies enabled. This field cannot be updated after creation\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the PricebookEntry record\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the PricebookEntry was last modified by a user (ISO 8601 format)\").nullable().optional(),\n UseStandardPrice: z.boolean().describe(\"Indicates whether to use the price from the Standard Price Book\").nullable().optional(),\n}).describe(\"Represents a single PricebookEntry record returned by the query\");\nexport const SalesforceListPricebookEntriesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether there are additional records to fetch. True means all records have been retrieved, false means more records are available via pagination\").nullable(),\n records: z.array(SalesforceListPricebookEntries_PricebookEntryRecordSchema).describe(\"Array of PricebookEntry records returned by the query (up to 2000 records per request)\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query criteria\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of records. Only present when done is false and more records are available\").nullable().optional(),\n}).describe(\"Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query\");\n\nexport const salesforceListPricebookEntries = action(\"SALESFORCE_LIST_PRICEBOOK_ENTRIES\", {\n slug: \"salesforce-list-pricebook-entries\",\n name: \"List pricebook entries\",\n description: \"Lists pricebook entries from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Use this to map product names to pricebook entry IDs needed for opportunity line items. When using returned IDs with SALESFORCE_ADD_OPPORTUNITY_LINE_ITEM, always filter with WHERE IsActive = true — inactive entries cause REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY errors.\",\n input: SalesforceListPricebookEntriesInput,\n output: SalesforceListPricebookEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,gHAAgH,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EACvQ,CAAC;AACD,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"list-pricebook-entries.mjs","names":[],"sources":["../../src/actions/list-pricebook-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListPricebookEntriesInput = z.object({\n query: z.string().default(\"SELECT Id, Name, Product2Id, Pricebook2Id, UnitPrice, IsActive, ProductCode, Product2.Name FROM PricebookEntry\").describe(\"SOQL query to fetch pricebook entries. Use standard SOQL syntax to filter, sort, and limit results.\").optional(),\n});\nconst SalesforceListPricebookEntries_RecordAttributesSchema = z.object({\n url: z.string().describe(\"REST API URL path to access this specific PricebookEntry record\").nullable(),\n type: z.string().describe(\"The Salesforce object type name, always 'PricebookEntry' for these records\").nullable(),\n}).passthrough().describe(\"Metadata about the record including its type and URL\");\nconst SalesforceListPricebookEntries_PricebookEntryRecordSchema = z.object({\n Id: z.string().describe(\"Unique identifier for the PricebookEntry record\").nullable(),\n Name: z.string().describe(\"Name of the PricebookEntry\").nullable().optional(),\n IsActive: z.boolean().describe(\"Indicates whether the price book entry is active and available for use\").nullable(),\n IsDeleted: z.boolean().describe(\"Indicates whether the record has been moved to the Recycle Bin\").nullable().optional(),\n UnitPrice: z.number().describe(\"The list price for the product in this specific price book\").nullable(),\n IsArchived: z.boolean().describe(\"Indicates whether the record has been archived. Archived records occur when a PricebookEntry is deleted while still being referenced by other records\").nullable().optional(),\n Product2Id: z.string().describe(\"Lookup relationship to the Product2 object. References the product associated with this price book entry\").nullable(),\n attributes: SalesforceListPricebookEntries_RecordAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the PricebookEntry record\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date and time when the PricebookEntry was created (ISO 8601 format)\").nullable().optional(),\n ProductCode: z.string().describe(\"Product code associated with this price book entry\").nullable().optional(),\n Pricebook2Id: z.string().describe(\"Lookup relationship to the Pricebook2 object. References the price book that contains this entry\").nullable(),\n SystemModstamp: z.string().describe(\"Date and time when the record was last modified by any user or automated process (ISO 8601 format). Always greater than or equal to LastModifiedDate\").nullable().optional(),\n CurrencyIsoCode: z.string().describe(\"ISO code for the currency of this price book entry. Only available in orgs with multiple currencies enabled. This field cannot be updated after creation\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the PricebookEntry record\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"Date and time when the PricebookEntry was last modified by a user (ISO 8601 format)\").nullable().optional(),\n UseStandardPrice: z.boolean().describe(\"Indicates whether to use the price from the Standard Price Book\").nullable().optional(),\n}).passthrough().describe(\"Represents a single PricebookEntry record returned by the query\");\nexport const SalesforceListPricebookEntriesOutput = z.object({\n done: z.boolean().describe(\"Indicates whether there are additional records to fetch. True means all records have been retrieved, false means more records are available via pagination\").nullable(),\n records: z.array(SalesforceListPricebookEntries_PricebookEntryRecordSchema).describe(\"Array of PricebookEntry records returned by the query (up to 2000 records per request)\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query criteria\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next batch of records. Only present when done is false and more records are available\").nullable().optional(),\n}).passthrough().describe(\"Response structure for listing PricebookEntry records via Salesforce REST API using SOQL query\");\n\nexport const salesforceListPricebookEntries = action(\"SALESFORCE_LIST_PRICEBOOK_ENTRIES\", {\n slug: \"salesforce-list-pricebook-entries\",\n name: \"List pricebook entries\",\n description: \"Lists pricebook entries from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Use this to map product names to pricebook entry IDs needed for opportunity line items. When using returned IDs with SALESFORCE_ADD_OPPORTUNITY_LINE_ITEM, always filter with WHERE IsActive = true — inactive entries cause REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY errors.\",\n input: SalesforceListPricebookEntriesInput,\n output: SalesforceListPricebookEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,gHAAgH,CAAC,CAAC,SA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AAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChN,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAQ3F,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkD,EAAE,OAAO;EAC3D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EAClM,SAAS,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,wFAAwF;EAC7K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SalesforceListPricebooksInput = zod.z.object({ query: zod.z.string().defau
|
|
|
5
5
|
const SalesforceListPricebooks_RecordAttributesSchema = zod.z.object({
|
|
6
6
|
url: zod.z.string().describe("The API endpoint URL to access this specific record.").nullable(),
|
|
7
7
|
type: zod.z.string().describe("The sObject type name, always 'Pricebook2' for pricebook records.").nullable()
|
|
8
|
-
}).describe("Metadata about the record including object type and API URL.");
|
|
8
|
+
}).passthrough().describe("Metadata about the record including object type and API URL.");
|
|
9
9
|
const SalesforceListPricebooks_Pricebook2RecordSchema = zod.z.object({
|
|
10
10
|
Id: zod.z.string().describe("Unique 18-character identifier for the pricebook record.").nullable(),
|
|
11
11
|
Name: zod.z.string().describe("The name of the pricebook.").nullable().optional(),
|
|
@@ -19,13 +19,13 @@ const SalesforceListPricebooks_Pricebook2RecordSchema = zod.z.object({
|
|
|
19
19
|
SystemModstamp: zod.z.string().describe("ISO 8601 timestamp automatically updated when any field is modified, used for data synchronization.").nullable().optional(),
|
|
20
20
|
LastModifiedById: zod.z.string().describe("ID of the User who last modified the pricebook record.").nullable().optional(),
|
|
21
21
|
LastModifiedDate: zod.z.string().describe("ISO 8601 timestamp indicating when the pricebook was last modified.").nullable().optional()
|
|
22
|
-
}).describe("A single Pricebook2 record returned by the Salesforce query.");
|
|
22
|
+
}).passthrough().describe("A single Pricebook2 record returned by the Salesforce query.");
|
|
23
23
|
const SalesforceListPricebooksOutput = zod.z.object({
|
|
24
24
|
done: zod.z.boolean().describe("Indicates whether there are more records to retrieve. False means additional records are available via pagination.").nullable(),
|
|
25
25
|
records: zod.z.array(SalesforceListPricebooks_Pricebook2RecordSchema).describe("Array of Pricebook2 records returned by the query."),
|
|
26
26
|
totalSize: zod.z.number().int().describe("The total number of records that match the query criteria.").nullable(),
|
|
27
27
|
nextRecordsUrl: zod.z.string().describe("URL path to retrieve the next page of results. Only present when done is false and pagination is needed.").nullable().optional()
|
|
28
|
-
}).describe("Response from Salesforce query API containing pricebook records and pagination metadata.");
|
|
28
|
+
}).passthrough().describe("Response from Salesforce query API containing pricebook records and pagination metadata.");
|
|
29
29
|
const salesforceListPricebooks = require_action.action("SALESFORCE_LIST_PRICEBOOKS", {
|
|
30
30
|
slug: "salesforce-list-pricebooks",
|
|
31
31
|
name: "List pricebooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pricebooks.cjs","names":["z","action"],"sources":["../../src/actions/list-pricebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListPricebooksInput = z.object({\n query: z.string().default(\"SELECT Id, Name, IsActive, IsStandard, Description FROM Pricebook2\").describe(\"SOQL query to fetch pricebooks. Use standard SOQL syntax to filter, sort, and limit results.\").optional(),\n});\nconst SalesforceListPricebooks_RecordAttributesSchema = z.object({\n url: z.string().describe(\"The API endpoint URL to access this specific record.\").nullable(),\n type: z.string().describe(\"The sObject type name, always 'Pricebook2' for pricebook records.\").nullable(),\n}).describe(\"Metadata about the record including object type and API URL.\");\nconst SalesforceListPricebooks_Pricebook2RecordSchema = z.object({\n Id: z.string().describe(\"Unique 18-character identifier for the pricebook record.\").nullable(),\n Name: z.string().describe(\"The name of the pricebook.\").nullable().optional(),\n IsActive: z.boolean().describe(\"Indicates whether the pricebook is active and available for use.\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Indicates whether the pricebook has been moved to the recycle bin.\").nullable().optional(),\n IsStandard: z.boolean().describe(\"Indicates whether this is the standard pricebook. Only one pricebook can be marked as standard.\").nullable().optional(),\n attributes: SalesforceListPricebooks_RecordAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the pricebook record.\").nullable().optional(),\n CreatedDate: z.string().describe(\"ISO 8601 timestamp indicating when the pricebook was created.\").nullable().optional(),\n Description: z.string().describe(\"Text description providing details about the pricebook. Can be null.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"ISO 8601 timestamp automatically updated when any field is modified, used for data synchronization.\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the pricebook record.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"ISO 8601 timestamp indicating when the pricebook was last modified.\").nullable().optional(),\n}).describe(\"A single Pricebook2 record returned by the Salesforce query.\");\nexport const SalesforceListPricebooksOutput = z.object({\n done: z.boolean().describe(\"Indicates whether there are more records to retrieve. False means additional records are available via pagination.\").nullable(),\n records: z.array(SalesforceListPricebooks_Pricebook2RecordSchema).describe(\"Array of Pricebook2 records returned by the query.\"),\n totalSize: z.number().int().describe(\"The total number of records that match the query criteria.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next page of results. Only present when done is false and pagination is needed.\").nullable().optional(),\n}).describe(\"Response from Salesforce query API containing pricebook records and pagination metadata.\");\n\nexport const salesforceListPricebooks = action(\"SALESFORCE_LIST_PRICEBOOKS\", {\n slug: \"salesforce-list-pricebooks\",\n name: \"List pricebooks\",\n description: \"Lists pricebooks from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Use this to map pricebook names to IDs.\",\n input: SalesforceListPricebooksInput,\n output: SalesforceListPricebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oEAAoE,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACpN,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"list-pricebooks.cjs","names":["z","action"],"sources":["../../src/actions/list-pricebooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceListPricebooksInput = z.object({\n query: z.string().default(\"SELECT Id, Name, IsActive, IsStandard, Description FROM Pricebook2\").describe(\"SOQL query to fetch pricebooks. Use standard SOQL syntax to filter, sort, and limit results.\").optional(),\n});\nconst SalesforceListPricebooks_RecordAttributesSchema = z.object({\n url: z.string().describe(\"The API endpoint URL to access this specific record.\").nullable(),\n type: z.string().describe(\"The sObject type name, always 'Pricebook2' for pricebook records.\").nullable(),\n}).passthrough().describe(\"Metadata about the record including object type and API URL.\");\nconst SalesforceListPricebooks_Pricebook2RecordSchema = z.object({\n Id: z.string().describe(\"Unique 18-character identifier for the pricebook record.\").nullable(),\n Name: z.string().describe(\"The name of the pricebook.\").nullable().optional(),\n IsActive: z.boolean().describe(\"Indicates whether the pricebook is active and available for use.\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Indicates whether the pricebook has been moved to the recycle bin.\").nullable().optional(),\n IsStandard: z.boolean().describe(\"Indicates whether this is the standard pricebook. Only one pricebook can be marked as standard.\").nullable().optional(),\n attributes: SalesforceListPricebooks_RecordAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the pricebook record.\").nullable().optional(),\n CreatedDate: z.string().describe(\"ISO 8601 timestamp indicating when the pricebook was created.\").nullable().optional(),\n Description: z.string().describe(\"Text description providing details about the pricebook. Can be null.\").nullable().optional(),\n SystemModstamp: z.string().describe(\"ISO 8601 timestamp automatically updated when any field is modified, used for data synchronization.\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the pricebook record.\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"ISO 8601 timestamp indicating when the pricebook was last modified.\").nullable().optional(),\n}).passthrough().describe(\"A single Pricebook2 record returned by the Salesforce query.\");\nexport const SalesforceListPricebooksOutput = z.object({\n done: z.boolean().describe(\"Indicates whether there are more records to retrieve. False means additional records are available via pagination.\").nullable(),\n records: z.array(SalesforceListPricebooks_Pricebook2RecordSchema).describe(\"Array of Pricebook2 records returned by the query.\"),\n totalSize: z.number().int().describe(\"The total number of records that match the query criteria.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL path to retrieve the next page of results. Only present when done is false and pagination is needed.\").nullable().optional(),\n}).passthrough().describe(\"Response from Salesforce query API containing pricebook records and pagination metadata.\");\n\nexport const salesforceListPricebooks = action(\"SALESFORCE_LIST_PRICEBOOKS\", {\n slug: \"salesforce-list-pricebooks\",\n name: \"List pricebooks\",\n description: \"Lists pricebooks from Salesforce using SOQL query, allowing flexible filtering, sorting, and field selection. Use this to map pricebook names to IDs.\",\n input: SalesforceListPricebooksInput,\n output: SalesforceListPricebooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oEAAoE,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACpN,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,YAAY,gDAAgD,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+D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