@pikku/addon-salesforce 0.0.2
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/README.md +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +11 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +13 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-addon-meta.gen.json +14 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +20 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +1873 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +1223 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +136 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +136 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +36 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +32 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +45 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +535 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +600 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +67 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +257 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +507 -0
- package/dist/.pikku/schemas/schemas/AccountAddNoteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountAddNoteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountUpsertInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AccountUpsertOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AttachmentUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseAddCommentInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseAddCommentOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactAddNoteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactAddNoteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactAddToCampaignInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactAddToCampaignOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpsertInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpsertOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_salesforce.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectUpsertInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CustomObjectUpsertOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DocumentUploadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DocumentUploadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FlowGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FlowGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FlowInvokeInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FlowInvokeOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadAddNoteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadAddNoteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadAddToCampaignInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadAddToCampaignOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadUpsertInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LeadUpsertOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityAddNoteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityAddNoteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityUpsertInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OpportunityUpsertOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SearchQueryInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SearchQueryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SecretSchema_salesforceOAuthApp.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetSummaryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_SALESFORCE_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +10 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/accountAddNote.function.d.ts +17 -0
- package/dist/src/functions/accountAddNote.function.d.ts.map +1 -0
- package/dist/src/functions/accountAddNote.function.js +16 -0
- package/dist/src/functions/accountAddNote.function.js.map +1 -0
- package/dist/src/functions/accountCreate.function.d.ts +25 -0
- package/dist/src/functions/accountCreate.function.d.ts.map +1 -0
- package/dist/src/functions/accountCreate.function.js +18 -0
- package/dist/src/functions/accountCreate.function.js.map +1 -0
- package/dist/src/functions/accountDelete.function.d.ts +13 -0
- package/dist/src/functions/accountDelete.function.d.ts.map +1 -0
- package/dist/src/functions/accountDelete.function.js +15 -0
- package/dist/src/functions/accountDelete.function.js.map +1 -0
- package/dist/src/functions/accountGet.function.d.ts +13 -0
- package/dist/src/functions/accountGet.function.d.ts.map +1 -0
- package/dist/src/functions/accountGet.function.js +15 -0
- package/dist/src/functions/accountGet.function.js.map +1 -0
- package/dist/src/functions/accountGetAll.function.d.ts +29 -0
- package/dist/src/functions/accountGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/accountGetAll.function.js +19 -0
- package/dist/src/functions/accountGetAll.function.js.map +1 -0
- package/dist/src/functions/accountGetSummary.function.d.ts +4 -0
- package/dist/src/functions/accountGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/accountGetSummary.function.js +11 -0
- package/dist/src/functions/accountGetSummary.function.js.map +1 -0
- package/dist/src/functions/accountUpdate.function.d.ts +17 -0
- package/dist/src/functions/accountUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/accountUpdate.function.js +16 -0
- package/dist/src/functions/accountUpdate.function.js.map +1 -0
- package/dist/src/functions/accountUpsert.function.d.ts +21 -0
- package/dist/src/functions/accountUpsert.function.d.ts.map +1 -0
- package/dist/src/functions/accountUpsert.function.js +17 -0
- package/dist/src/functions/accountUpsert.function.js.map +1 -0
- package/dist/src/functions/attachmentCreate.function.d.ts +29 -0
- package/dist/src/functions/attachmentCreate.function.d.ts.map +1 -0
- package/dist/src/functions/attachmentCreate.function.js +19 -0
- package/dist/src/functions/attachmentCreate.function.js.map +1 -0
- package/dist/src/functions/attachmentDelete.function.d.ts +13 -0
- package/dist/src/functions/attachmentDelete.function.d.ts.map +1 -0
- package/dist/src/functions/attachmentDelete.function.js +15 -0
- package/dist/src/functions/attachmentDelete.function.js.map +1 -0
- package/dist/src/functions/attachmentGet.function.d.ts +13 -0
- package/dist/src/functions/attachmentGet.function.d.ts.map +1 -0
- package/dist/src/functions/attachmentGet.function.js +15 -0
- package/dist/src/functions/attachmentGet.function.js.map +1 -0
- package/dist/src/functions/attachmentGetAll.function.d.ts +29 -0
- package/dist/src/functions/attachmentGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/attachmentGetAll.function.js +19 -0
- package/dist/src/functions/attachmentGetAll.function.js.map +1 -0
- package/dist/src/functions/attachmentGetSummary.function.d.ts +4 -0
- package/dist/src/functions/attachmentGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/attachmentGetSummary.function.js +11 -0
- package/dist/src/functions/attachmentGetSummary.function.js.map +1 -0
- package/dist/src/functions/attachmentUpdate.function.d.ts +21 -0
- package/dist/src/functions/attachmentUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/attachmentUpdate.function.js +17 -0
- package/dist/src/functions/attachmentUpdate.function.js.map +1 -0
- package/dist/src/functions/caseAddComment.function.d.ts +17 -0
- package/dist/src/functions/caseAddComment.function.d.ts.map +1 -0
- package/dist/src/functions/caseAddComment.function.js +16 -0
- package/dist/src/functions/caseAddComment.function.js.map +1 -0
- package/dist/src/functions/caseCreate.function.d.ts +25 -0
- package/dist/src/functions/caseCreate.function.d.ts.map +1 -0
- package/dist/src/functions/caseCreate.function.js +18 -0
- package/dist/src/functions/caseCreate.function.js.map +1 -0
- package/dist/src/functions/caseDelete.function.d.ts +13 -0
- package/dist/src/functions/caseDelete.function.d.ts.map +1 -0
- package/dist/src/functions/caseDelete.function.js +15 -0
- package/dist/src/functions/caseDelete.function.js.map +1 -0
- package/dist/src/functions/caseGet.function.d.ts +13 -0
- package/dist/src/functions/caseGet.function.d.ts.map +1 -0
- package/dist/src/functions/caseGet.function.js +15 -0
- package/dist/src/functions/caseGet.function.js.map +1 -0
- package/dist/src/functions/caseGetAll.function.d.ts +29 -0
- package/dist/src/functions/caseGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/caseGetAll.function.js +19 -0
- package/dist/src/functions/caseGetAll.function.js.map +1 -0
- package/dist/src/functions/caseGetSummary.function.d.ts +4 -0
- package/dist/src/functions/caseGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/caseGetSummary.function.js +11 -0
- package/dist/src/functions/caseGetSummary.function.js.map +1 -0
- package/dist/src/functions/caseUpdate.function.d.ts +17 -0
- package/dist/src/functions/caseUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/caseUpdate.function.js +16 -0
- package/dist/src/functions/caseUpdate.function.js.map +1 -0
- package/dist/src/functions/contactAddNote.function.d.ts +17 -0
- package/dist/src/functions/contactAddNote.function.d.ts.map +1 -0
- package/dist/src/functions/contactAddNote.function.js +16 -0
- package/dist/src/functions/contactAddNote.function.js.map +1 -0
- package/dist/src/functions/contactAddToCampaign.function.d.ts +13 -0
- package/dist/src/functions/contactAddToCampaign.function.d.ts.map +1 -0
- package/dist/src/functions/contactAddToCampaign.function.js +15 -0
- package/dist/src/functions/contactAddToCampaign.function.js.map +1 -0
- package/dist/src/functions/contactCreate.function.d.ts +25 -0
- package/dist/src/functions/contactCreate.function.d.ts.map +1 -0
- package/dist/src/functions/contactCreate.function.js +18 -0
- package/dist/src/functions/contactCreate.function.js.map +1 -0
- package/dist/src/functions/contactDelete.function.d.ts +13 -0
- package/dist/src/functions/contactDelete.function.d.ts.map +1 -0
- package/dist/src/functions/contactDelete.function.js +15 -0
- package/dist/src/functions/contactDelete.function.js.map +1 -0
- package/dist/src/functions/contactGet.function.d.ts +13 -0
- package/dist/src/functions/contactGet.function.d.ts.map +1 -0
- package/dist/src/functions/contactGet.function.js +15 -0
- package/dist/src/functions/contactGet.function.js.map +1 -0
- package/dist/src/functions/contactGetAll.function.d.ts +29 -0
- package/dist/src/functions/contactGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/contactGetAll.function.js +19 -0
- package/dist/src/functions/contactGetAll.function.js.map +1 -0
- package/dist/src/functions/contactGetSummary.function.d.ts +4 -0
- package/dist/src/functions/contactGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/contactGetSummary.function.js +11 -0
- package/dist/src/functions/contactGetSummary.function.js.map +1 -0
- package/dist/src/functions/contactUpdate.function.d.ts +17 -0
- package/dist/src/functions/contactUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/contactUpdate.function.js +16 -0
- package/dist/src/functions/contactUpdate.function.js.map +1 -0
- package/dist/src/functions/contactUpsert.function.d.ts +21 -0
- package/dist/src/functions/contactUpsert.function.d.ts.map +1 -0
- package/dist/src/functions/contactUpsert.function.js +17 -0
- package/dist/src/functions/contactUpsert.function.js.map +1 -0
- package/dist/src/functions/customObjectCreate.function.d.ts +25 -0
- package/dist/src/functions/customObjectCreate.function.d.ts.map +1 -0
- package/dist/src/functions/customObjectCreate.function.js +18 -0
- package/dist/src/functions/customObjectCreate.function.js.map +1 -0
- package/dist/src/functions/customObjectDelete.function.d.ts +13 -0
- package/dist/src/functions/customObjectDelete.function.d.ts.map +1 -0
- package/dist/src/functions/customObjectDelete.function.js +15 -0
- package/dist/src/functions/customObjectDelete.function.js.map +1 -0
- package/dist/src/functions/customObjectGet.function.d.ts +13 -0
- package/dist/src/functions/customObjectGet.function.d.ts.map +1 -0
- package/dist/src/functions/customObjectGet.function.js +15 -0
- package/dist/src/functions/customObjectGet.function.js.map +1 -0
- package/dist/src/functions/customObjectGetAll.function.d.ts +29 -0
- package/dist/src/functions/customObjectGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/customObjectGetAll.function.js +19 -0
- package/dist/src/functions/customObjectGetAll.function.js.map +1 -0
- package/dist/src/functions/customObjectUpdate.function.d.ts +17 -0
- package/dist/src/functions/customObjectUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/customObjectUpdate.function.js +16 -0
- package/dist/src/functions/customObjectUpdate.function.js.map +1 -0
- package/dist/src/functions/customObjectUpsert.function.d.ts +21 -0
- package/dist/src/functions/customObjectUpsert.function.d.ts.map +1 -0
- package/dist/src/functions/customObjectUpsert.function.js +17 -0
- package/dist/src/functions/customObjectUpsert.function.js.map +1 -0
- package/dist/src/functions/documentUpload.function.d.ts +17 -0
- package/dist/src/functions/documentUpload.function.d.ts.map +1 -0
- package/dist/src/functions/documentUpload.function.js +16 -0
- package/dist/src/functions/documentUpload.function.js.map +1 -0
- package/dist/src/functions/flowGetAll.function.d.ts +13 -0
- package/dist/src/functions/flowGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/flowGetAll.function.js +15 -0
- package/dist/src/functions/flowGetAll.function.js.map +1 -0
- package/dist/src/functions/flowInvoke.function.d.ts +17 -0
- package/dist/src/functions/flowInvoke.function.d.ts.map +1 -0
- package/dist/src/functions/flowInvoke.function.js +16 -0
- package/dist/src/functions/flowInvoke.function.js.map +1 -0
- package/dist/src/functions/leadAddNote.function.d.ts +17 -0
- package/dist/src/functions/leadAddNote.function.d.ts.map +1 -0
- package/dist/src/functions/leadAddNote.function.js +16 -0
- package/dist/src/functions/leadAddNote.function.js.map +1 -0
- package/dist/src/functions/leadAddToCampaign.function.d.ts +13 -0
- package/dist/src/functions/leadAddToCampaign.function.d.ts.map +1 -0
- package/dist/src/functions/leadAddToCampaign.function.js +15 -0
- package/dist/src/functions/leadAddToCampaign.function.js.map +1 -0
- package/dist/src/functions/leadCreate.function.d.ts +29 -0
- package/dist/src/functions/leadCreate.function.d.ts.map +1 -0
- package/dist/src/functions/leadCreate.function.js +19 -0
- package/dist/src/functions/leadCreate.function.js.map +1 -0
- package/dist/src/functions/leadDelete.function.d.ts +13 -0
- package/dist/src/functions/leadDelete.function.d.ts.map +1 -0
- package/dist/src/functions/leadDelete.function.js +15 -0
- package/dist/src/functions/leadDelete.function.js.map +1 -0
- package/dist/src/functions/leadGet.function.d.ts +13 -0
- package/dist/src/functions/leadGet.function.d.ts.map +1 -0
- package/dist/src/functions/leadGet.function.js +15 -0
- package/dist/src/functions/leadGet.function.js.map +1 -0
- package/dist/src/functions/leadGetAll.function.d.ts +29 -0
- package/dist/src/functions/leadGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/leadGetAll.function.js +19 -0
- package/dist/src/functions/leadGetAll.function.js.map +1 -0
- package/dist/src/functions/leadGetSummary.function.d.ts +4 -0
- package/dist/src/functions/leadGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/leadGetSummary.function.js +11 -0
- package/dist/src/functions/leadGetSummary.function.js.map +1 -0
- package/dist/src/functions/leadUpdate.function.d.ts +21 -0
- package/dist/src/functions/leadUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/leadUpdate.function.js +17 -0
- package/dist/src/functions/leadUpdate.function.js.map +1 -0
- package/dist/src/functions/leadUpsert.function.d.ts +21 -0
- package/dist/src/functions/leadUpsert.function.d.ts.map +1 -0
- package/dist/src/functions/leadUpsert.function.js +17 -0
- package/dist/src/functions/leadUpsert.function.js.map +1 -0
- package/dist/src/functions/opportunityAddNote.function.d.ts +17 -0
- package/dist/src/functions/opportunityAddNote.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityAddNote.function.js +16 -0
- package/dist/src/functions/opportunityAddNote.function.js.map +1 -0
- package/dist/src/functions/opportunityCreate.function.d.ts +33 -0
- package/dist/src/functions/opportunityCreate.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityCreate.function.js +20 -0
- package/dist/src/functions/opportunityCreate.function.js.map +1 -0
- package/dist/src/functions/opportunityDelete.function.d.ts +13 -0
- package/dist/src/functions/opportunityDelete.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityDelete.function.js +15 -0
- package/dist/src/functions/opportunityDelete.function.js.map +1 -0
- package/dist/src/functions/opportunityGet.function.d.ts +13 -0
- package/dist/src/functions/opportunityGet.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityGet.function.js +15 -0
- package/dist/src/functions/opportunityGet.function.js.map +1 -0
- package/dist/src/functions/opportunityGetAll.function.d.ts +29 -0
- package/dist/src/functions/opportunityGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityGetAll.function.js +19 -0
- package/dist/src/functions/opportunityGetAll.function.js.map +1 -0
- package/dist/src/functions/opportunityGetSummary.function.d.ts +4 -0
- package/dist/src/functions/opportunityGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityGetSummary.function.js +11 -0
- package/dist/src/functions/opportunityGetSummary.function.js.map +1 -0
- package/dist/src/functions/opportunityUpdate.function.d.ts +25 -0
- package/dist/src/functions/opportunityUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityUpdate.function.js +18 -0
- package/dist/src/functions/opportunityUpdate.function.js.map +1 -0
- package/dist/src/functions/opportunityUpsert.function.d.ts +21 -0
- package/dist/src/functions/opportunityUpsert.function.d.ts.map +1 -0
- package/dist/src/functions/opportunityUpsert.function.js +17 -0
- package/dist/src/functions/opportunityUpsert.function.js.map +1 -0
- package/dist/src/functions/searchQuery.function.d.ts +13 -0
- package/dist/src/functions/searchQuery.function.d.ts.map +1 -0
- package/dist/src/functions/searchQuery.function.js +15 -0
- package/dist/src/functions/searchQuery.function.js.map +1 -0
- package/dist/src/functions/taskCreate.function.d.ts +25 -0
- package/dist/src/functions/taskCreate.function.d.ts.map +1 -0
- package/dist/src/functions/taskCreate.function.js +18 -0
- package/dist/src/functions/taskCreate.function.js.map +1 -0
- package/dist/src/functions/taskDelete.function.d.ts +13 -0
- package/dist/src/functions/taskDelete.function.d.ts.map +1 -0
- package/dist/src/functions/taskDelete.function.js +15 -0
- package/dist/src/functions/taskDelete.function.js.map +1 -0
- package/dist/src/functions/taskGet.function.d.ts +13 -0
- package/dist/src/functions/taskGet.function.d.ts.map +1 -0
- package/dist/src/functions/taskGet.function.js +15 -0
- package/dist/src/functions/taskGet.function.js.map +1 -0
- package/dist/src/functions/taskGetAll.function.d.ts +29 -0
- package/dist/src/functions/taskGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/taskGetAll.function.js +19 -0
- package/dist/src/functions/taskGetAll.function.js.map +1 -0
- package/dist/src/functions/taskGetSummary.function.d.ts +4 -0
- package/dist/src/functions/taskGetSummary.function.d.ts.map +1 -0
- package/dist/src/functions/taskGetSummary.function.js +11 -0
- package/dist/src/functions/taskGetSummary.function.js.map +1 -0
- package/dist/src/functions/taskUpdate.function.d.ts +17 -0
- package/dist/src/functions/taskUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/taskUpdate.function.js +16 -0
- package/dist/src/functions/taskUpdate.function.js.map +1 -0
- package/dist/src/functions/userGet.function.d.ts +13 -0
- package/dist/src/functions/userGet.function.d.ts.map +1 -0
- package/dist/src/functions/userGet.function.js +15 -0
- package/dist/src/functions/userGet.function.js.map +1 -0
- package/dist/src/functions/userGetAll.function.d.ts +29 -0
- package/dist/src/functions/userGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/userGetAll.function.js +19 -0
- package/dist/src/functions/userGetAll.function.js.map +1 -0
- package/dist/src/index.d.ts +66 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +66 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/salesforce-api.service.d.ts +15 -0
- package/dist/src/salesforce-api.service.d.ts.map +1 -0
- package/dist/src/salesforce-api.service.js +504 -0
- package/dist/src/salesforce-api.service.js.map +1 -0
- package/dist/src/salesforce.credential.d.ts +10 -0
- package/dist/src/salesforce.credential.d.ts.map +1 -0
- package/dist/src/salesforce.credential.js +33 -0
- package/dist/src/salesforce.credential.js.map +1 -0
- package/dist/src/salesforce.types.d.ts +7 -0
- package/dist/src/salesforce.types.d.ts.map +1 -0
- package/dist/src/salesforce.types.js +8 -0
- package/dist/src/salesforce.types.js.map +1 -0
- package/dist/src/salesforce.variable.d.ts +5 -0
- package/dist/src/salesforce.variable.d.ts.map +1 -0
- package/dist/src/salesforce.variable.js +11 -0
- package/dist/src/salesforce.variable.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +7 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { accountCreate } from './functions/accountCreate.function.js';
|
|
2
|
+
export { accountGet } from './functions/accountGet.function.js';
|
|
3
|
+
export { accountUpdate } from './functions/accountUpdate.function.js';
|
|
4
|
+
export { accountDelete } from './functions/accountDelete.function.js';
|
|
5
|
+
export { accountUpsert } from './functions/accountUpsert.function.js';
|
|
6
|
+
export { accountGetAll } from './functions/accountGetAll.function.js';
|
|
7
|
+
export { accountGetSummary } from './functions/accountGetSummary.function.js';
|
|
8
|
+
export { accountAddNote } from './functions/accountAddNote.function.js';
|
|
9
|
+
export { contactCreate } from './functions/contactCreate.function.js';
|
|
10
|
+
export { contactGet } from './functions/contactGet.function.js';
|
|
11
|
+
export { contactUpdate } from './functions/contactUpdate.function.js';
|
|
12
|
+
export { contactDelete } from './functions/contactDelete.function.js';
|
|
13
|
+
export { contactUpsert } from './functions/contactUpsert.function.js';
|
|
14
|
+
export { contactGetAll } from './functions/contactGetAll.function.js';
|
|
15
|
+
export { contactGetSummary } from './functions/contactGetSummary.function.js';
|
|
16
|
+
export { contactAddNote } from './functions/contactAddNote.function.js';
|
|
17
|
+
export { contactAddToCampaign } from './functions/contactAddToCampaign.function.js';
|
|
18
|
+
export { leadCreate } from './functions/leadCreate.function.js';
|
|
19
|
+
export { leadGet } from './functions/leadGet.function.js';
|
|
20
|
+
export { leadUpdate } from './functions/leadUpdate.function.js';
|
|
21
|
+
export { leadDelete } from './functions/leadDelete.function.js';
|
|
22
|
+
export { leadUpsert } from './functions/leadUpsert.function.js';
|
|
23
|
+
export { leadGetAll } from './functions/leadGetAll.function.js';
|
|
24
|
+
export { leadGetSummary } from './functions/leadGetSummary.function.js';
|
|
25
|
+
export { leadAddNote } from './functions/leadAddNote.function.js';
|
|
26
|
+
export { leadAddToCampaign } from './functions/leadAddToCampaign.function.js';
|
|
27
|
+
export { opportunityCreate } from './functions/opportunityCreate.function.js';
|
|
28
|
+
export { opportunityGet } from './functions/opportunityGet.function.js';
|
|
29
|
+
export { opportunityUpdate } from './functions/opportunityUpdate.function.js';
|
|
30
|
+
export { opportunityDelete } from './functions/opportunityDelete.function.js';
|
|
31
|
+
export { opportunityUpsert } from './functions/opportunityUpsert.function.js';
|
|
32
|
+
export { opportunityGetAll } from './functions/opportunityGetAll.function.js';
|
|
33
|
+
export { opportunityGetSummary } from './functions/opportunityGetSummary.function.js';
|
|
34
|
+
export { opportunityAddNote } from './functions/opportunityAddNote.function.js';
|
|
35
|
+
export { caseCreate } from './functions/caseCreate.function.js';
|
|
36
|
+
export { caseGet } from './functions/caseGet.function.js';
|
|
37
|
+
export { caseUpdate } from './functions/caseUpdate.function.js';
|
|
38
|
+
export { caseDelete } from './functions/caseDelete.function.js';
|
|
39
|
+
export { caseGetAll } from './functions/caseGetAll.function.js';
|
|
40
|
+
export { caseGetSummary } from './functions/caseGetSummary.function.js';
|
|
41
|
+
export { caseAddComment } from './functions/caseAddComment.function.js';
|
|
42
|
+
export { taskCreate } from './functions/taskCreate.function.js';
|
|
43
|
+
export { taskGet } from './functions/taskGet.function.js';
|
|
44
|
+
export { taskUpdate } from './functions/taskUpdate.function.js';
|
|
45
|
+
export { taskDelete } from './functions/taskDelete.function.js';
|
|
46
|
+
export { taskGetAll } from './functions/taskGetAll.function.js';
|
|
47
|
+
export { taskGetSummary } from './functions/taskGetSummary.function.js';
|
|
48
|
+
export { userGet } from './functions/userGet.function.js';
|
|
49
|
+
export { userGetAll } from './functions/userGetAll.function.js';
|
|
50
|
+
export { customObjectCreate } from './functions/customObjectCreate.function.js';
|
|
51
|
+
export { customObjectGet } from './functions/customObjectGet.function.js';
|
|
52
|
+
export { customObjectUpdate } from './functions/customObjectUpdate.function.js';
|
|
53
|
+
export { customObjectDelete } from './functions/customObjectDelete.function.js';
|
|
54
|
+
export { customObjectUpsert } from './functions/customObjectUpsert.function.js';
|
|
55
|
+
export { customObjectGetAll } from './functions/customObjectGetAll.function.js';
|
|
56
|
+
export { documentUpload } from './functions/documentUpload.function.js';
|
|
57
|
+
export { flowGetAll } from './functions/flowGetAll.function.js';
|
|
58
|
+
export { flowInvoke } from './functions/flowInvoke.function.js';
|
|
59
|
+
export { attachmentCreate } from './functions/attachmentCreate.function.js';
|
|
60
|
+
export { attachmentGet } from './functions/attachmentGet.function.js';
|
|
61
|
+
export { attachmentUpdate } from './functions/attachmentUpdate.function.js';
|
|
62
|
+
export { attachmentDelete } from './functions/attachmentDelete.function.js';
|
|
63
|
+
export { attachmentGetAll } from './functions/attachmentGetAll.function.js';
|
|
64
|
+
export { attachmentGetSummary } from './functions/attachmentGetSummary.function.js';
|
|
65
|
+
export { searchQuery } from './functions/searchQuery.function.js';
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,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AAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAA;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { accountCreate } from './functions/accountCreate.function.js';
|
|
2
|
+
export { accountGet } from './functions/accountGet.function.js';
|
|
3
|
+
export { accountUpdate } from './functions/accountUpdate.function.js';
|
|
4
|
+
export { accountDelete } from './functions/accountDelete.function.js';
|
|
5
|
+
export { accountUpsert } from './functions/accountUpsert.function.js';
|
|
6
|
+
export { accountGetAll } from './functions/accountGetAll.function.js';
|
|
7
|
+
export { accountGetSummary } from './functions/accountGetSummary.function.js';
|
|
8
|
+
export { accountAddNote } from './functions/accountAddNote.function.js';
|
|
9
|
+
export { contactCreate } from './functions/contactCreate.function.js';
|
|
10
|
+
export { contactGet } from './functions/contactGet.function.js';
|
|
11
|
+
export { contactUpdate } from './functions/contactUpdate.function.js';
|
|
12
|
+
export { contactDelete } from './functions/contactDelete.function.js';
|
|
13
|
+
export { contactUpsert } from './functions/contactUpsert.function.js';
|
|
14
|
+
export { contactGetAll } from './functions/contactGetAll.function.js';
|
|
15
|
+
export { contactGetSummary } from './functions/contactGetSummary.function.js';
|
|
16
|
+
export { contactAddNote } from './functions/contactAddNote.function.js';
|
|
17
|
+
export { contactAddToCampaign } from './functions/contactAddToCampaign.function.js';
|
|
18
|
+
export { leadCreate } from './functions/leadCreate.function.js';
|
|
19
|
+
export { leadGet } from './functions/leadGet.function.js';
|
|
20
|
+
export { leadUpdate } from './functions/leadUpdate.function.js';
|
|
21
|
+
export { leadDelete } from './functions/leadDelete.function.js';
|
|
22
|
+
export { leadUpsert } from './functions/leadUpsert.function.js';
|
|
23
|
+
export { leadGetAll } from './functions/leadGetAll.function.js';
|
|
24
|
+
export { leadGetSummary } from './functions/leadGetSummary.function.js';
|
|
25
|
+
export { leadAddNote } from './functions/leadAddNote.function.js';
|
|
26
|
+
export { leadAddToCampaign } from './functions/leadAddToCampaign.function.js';
|
|
27
|
+
export { opportunityCreate } from './functions/opportunityCreate.function.js';
|
|
28
|
+
export { opportunityGet } from './functions/opportunityGet.function.js';
|
|
29
|
+
export { opportunityUpdate } from './functions/opportunityUpdate.function.js';
|
|
30
|
+
export { opportunityDelete } from './functions/opportunityDelete.function.js';
|
|
31
|
+
export { opportunityUpsert } from './functions/opportunityUpsert.function.js';
|
|
32
|
+
export { opportunityGetAll } from './functions/opportunityGetAll.function.js';
|
|
33
|
+
export { opportunityGetSummary } from './functions/opportunityGetSummary.function.js';
|
|
34
|
+
export { opportunityAddNote } from './functions/opportunityAddNote.function.js';
|
|
35
|
+
export { caseCreate } from './functions/caseCreate.function.js';
|
|
36
|
+
export { caseGet } from './functions/caseGet.function.js';
|
|
37
|
+
export { caseUpdate } from './functions/caseUpdate.function.js';
|
|
38
|
+
export { caseDelete } from './functions/caseDelete.function.js';
|
|
39
|
+
export { caseGetAll } from './functions/caseGetAll.function.js';
|
|
40
|
+
export { caseGetSummary } from './functions/caseGetSummary.function.js';
|
|
41
|
+
export { caseAddComment } from './functions/caseAddComment.function.js';
|
|
42
|
+
export { taskCreate } from './functions/taskCreate.function.js';
|
|
43
|
+
export { taskGet } from './functions/taskGet.function.js';
|
|
44
|
+
export { taskUpdate } from './functions/taskUpdate.function.js';
|
|
45
|
+
export { taskDelete } from './functions/taskDelete.function.js';
|
|
46
|
+
export { taskGetAll } from './functions/taskGetAll.function.js';
|
|
47
|
+
export { taskGetSummary } from './functions/taskGetSummary.function.js';
|
|
48
|
+
export { userGet } from './functions/userGet.function.js';
|
|
49
|
+
export { userGetAll } from './functions/userGetAll.function.js';
|
|
50
|
+
export { customObjectCreate } from './functions/customObjectCreate.function.js';
|
|
51
|
+
export { customObjectGet } from './functions/customObjectGet.function.js';
|
|
52
|
+
export { customObjectUpdate } from './functions/customObjectUpdate.function.js';
|
|
53
|
+
export { customObjectDelete } from './functions/customObjectDelete.function.js';
|
|
54
|
+
export { customObjectUpsert } from './functions/customObjectUpsert.function.js';
|
|
55
|
+
export { customObjectGetAll } from './functions/customObjectGetAll.function.js';
|
|
56
|
+
export { documentUpload } from './functions/documentUpload.function.js';
|
|
57
|
+
export { flowGetAll } from './functions/flowGetAll.function.js';
|
|
58
|
+
export { flowInvoke } from './functions/flowInvoke.function.js';
|
|
59
|
+
export { attachmentCreate } from './functions/attachmentCreate.function.js';
|
|
60
|
+
export { attachmentGet } from './functions/attachmentGet.function.js';
|
|
61
|
+
export { attachmentUpdate } from './functions/attachmentUpdate.function.js';
|
|
62
|
+
export { attachmentDelete } from './functions/attachmentDelete.function.js';
|
|
63
|
+
export { attachmentGetAll } from './functions/attachmentGetAll.function.js';
|
|
64
|
+
export { attachmentGetSummary } from './functions/attachmentGetSummary.function.js';
|
|
65
|
+
export { searchQuery } from './functions/searchQuery.function.js';
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,u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AAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAA;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TypedSecretService } from '#pikku/secrets/pikku-secrets.gen.js';
|
|
2
|
+
import type { TypedVariablesService } from '#pikku/variables/pikku-variables.gen.js';
|
|
3
|
+
export declare const SALESFORCE_OAUTH2_CONFIG: {
|
|
4
|
+
tokenSecretId: string;
|
|
5
|
+
authorizationUrl: string;
|
|
6
|
+
tokenUrl: string;
|
|
7
|
+
scopes: string[];
|
|
8
|
+
};
|
|
9
|
+
export declare class SalesforceService {
|
|
10
|
+
private baseUrl;
|
|
11
|
+
private oauth;
|
|
12
|
+
constructor(secrets: TypedSecretService, variables: TypedVariablesService);
|
|
13
|
+
call<T>(method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH', path: string, data?: Record<string, unknown>): Promise<T>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=salesforce-api.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"salesforce-api.service.d.ts","sourceRoot":"","sources":["../../src/salesforce-api.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAE7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAA;AAEpF,eAAO,MAAM,wBAAwB;;;;;CAKpC,CAAA;AA4aD,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,KAAK,CAAc;gBAEf,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,qBAAqB;IASnE,IAAI,CAAC,CAAC,EACV,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,EACnD,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC;CAsEd"}
|
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
import { OAuth2Client } from '@pikku/core/oauth2';
|
|
2
|
+
import { BadRequestError, ConflictError, ForbiddenError, InternalServerError, MethodNotAllowedError, NotFoundError, TooManyRequestsError, UnauthorizedError, UnprocessableContentError } from '@pikku/core/errors';
|
|
3
|
+
export const SALESFORCE_OAUTH2_CONFIG = {
|
|
4
|
+
tokenSecretId: 'SALESFORCE_TOKENS',
|
|
5
|
+
authorizationUrl: "https://example.com/oauth2/authorize",
|
|
6
|
+
tokenUrl: "https://example.com/oauth2/token",
|
|
7
|
+
scopes: ["read", "write"],
|
|
8
|
+
};
|
|
9
|
+
const ROUTES = {
|
|
10
|
+
"POST /sobjects/Account": {
|
|
11
|
+
"path": [],
|
|
12
|
+
"query": [],
|
|
13
|
+
"headers": []
|
|
14
|
+
},
|
|
15
|
+
"GET /sobjects/Account/{id}": {
|
|
16
|
+
"path": [
|
|
17
|
+
"id"
|
|
18
|
+
],
|
|
19
|
+
"query": [],
|
|
20
|
+
"headers": []
|
|
21
|
+
},
|
|
22
|
+
"PATCH /sobjects/Account/{id}": {
|
|
23
|
+
"path": [
|
|
24
|
+
"id"
|
|
25
|
+
],
|
|
26
|
+
"query": [],
|
|
27
|
+
"headers": []
|
|
28
|
+
},
|
|
29
|
+
"DELETE /sobjects/Account/{id}": {
|
|
30
|
+
"path": [
|
|
31
|
+
"id"
|
|
32
|
+
],
|
|
33
|
+
"query": [],
|
|
34
|
+
"headers": []
|
|
35
|
+
},
|
|
36
|
+
"PATCH /sobjects/Account/{externalIdField}/{externalIdValue}": {
|
|
37
|
+
"path": [
|
|
38
|
+
"externalIdField",
|
|
39
|
+
"externalIdValue"
|
|
40
|
+
],
|
|
41
|
+
"query": [],
|
|
42
|
+
"headers": []
|
|
43
|
+
},
|
|
44
|
+
"GET /query/Account": {
|
|
45
|
+
"path": [],
|
|
46
|
+
"query": [
|
|
47
|
+
"q",
|
|
48
|
+
"limit"
|
|
49
|
+
],
|
|
50
|
+
"headers": []
|
|
51
|
+
},
|
|
52
|
+
"GET /query/Account/summary": {
|
|
53
|
+
"path": [],
|
|
54
|
+
"query": [],
|
|
55
|
+
"headers": []
|
|
56
|
+
},
|
|
57
|
+
"POST /sobjects/Account/notes": {
|
|
58
|
+
"path": [],
|
|
59
|
+
"query": [],
|
|
60
|
+
"headers": []
|
|
61
|
+
},
|
|
62
|
+
"POST /sobjects/Contact": {
|
|
63
|
+
"path": [],
|
|
64
|
+
"query": [],
|
|
65
|
+
"headers": []
|
|
66
|
+
},
|
|
67
|
+
"GET /sobjects/Contact/{id}": {
|
|
68
|
+
"path": [
|
|
69
|
+
"id"
|
|
70
|
+
],
|
|
71
|
+
"query": [],
|
|
72
|
+
"headers": []
|
|
73
|
+
},
|
|
74
|
+
"PATCH /sobjects/Contact/{id}": {
|
|
75
|
+
"path": [
|
|
76
|
+
"id"
|
|
77
|
+
],
|
|
78
|
+
"query": [],
|
|
79
|
+
"headers": []
|
|
80
|
+
},
|
|
81
|
+
"DELETE /sobjects/Contact/{id}": {
|
|
82
|
+
"path": [
|
|
83
|
+
"id"
|
|
84
|
+
],
|
|
85
|
+
"query": [],
|
|
86
|
+
"headers": []
|
|
87
|
+
},
|
|
88
|
+
"PATCH /sobjects/Contact/{externalIdField}/{externalIdValue}": {
|
|
89
|
+
"path": [
|
|
90
|
+
"externalIdField",
|
|
91
|
+
"externalIdValue"
|
|
92
|
+
],
|
|
93
|
+
"query": [],
|
|
94
|
+
"headers": []
|
|
95
|
+
},
|
|
96
|
+
"GET /query/Contact": {
|
|
97
|
+
"path": [],
|
|
98
|
+
"query": [
|
|
99
|
+
"q",
|
|
100
|
+
"limit"
|
|
101
|
+
],
|
|
102
|
+
"headers": []
|
|
103
|
+
},
|
|
104
|
+
"GET /query/Contact/summary": {
|
|
105
|
+
"path": [],
|
|
106
|
+
"query": [],
|
|
107
|
+
"headers": []
|
|
108
|
+
},
|
|
109
|
+
"POST /sobjects/Contact/notes": {
|
|
110
|
+
"path": [],
|
|
111
|
+
"query": [],
|
|
112
|
+
"headers": []
|
|
113
|
+
},
|
|
114
|
+
"POST /sobjects/Contact/campaign-members": {
|
|
115
|
+
"path": [],
|
|
116
|
+
"query": [],
|
|
117
|
+
"headers": []
|
|
118
|
+
},
|
|
119
|
+
"POST /sobjects/Lead": {
|
|
120
|
+
"path": [],
|
|
121
|
+
"query": [],
|
|
122
|
+
"headers": []
|
|
123
|
+
},
|
|
124
|
+
"GET /sobjects/Lead/{id}": {
|
|
125
|
+
"path": [
|
|
126
|
+
"id"
|
|
127
|
+
],
|
|
128
|
+
"query": [],
|
|
129
|
+
"headers": []
|
|
130
|
+
},
|
|
131
|
+
"PATCH /sobjects/Lead/{id}": {
|
|
132
|
+
"path": [
|
|
133
|
+
"id"
|
|
134
|
+
],
|
|
135
|
+
"query": [],
|
|
136
|
+
"headers": []
|
|
137
|
+
},
|
|
138
|
+
"DELETE /sobjects/Lead/{id}": {
|
|
139
|
+
"path": [
|
|
140
|
+
"id"
|
|
141
|
+
],
|
|
142
|
+
"query": [],
|
|
143
|
+
"headers": []
|
|
144
|
+
},
|
|
145
|
+
"PATCH /sobjects/Lead/{externalIdField}/{externalIdValue}": {
|
|
146
|
+
"path": [
|
|
147
|
+
"externalIdField",
|
|
148
|
+
"externalIdValue"
|
|
149
|
+
],
|
|
150
|
+
"query": [],
|
|
151
|
+
"headers": []
|
|
152
|
+
},
|
|
153
|
+
"GET /query/Lead": {
|
|
154
|
+
"path": [],
|
|
155
|
+
"query": [
|
|
156
|
+
"q",
|
|
157
|
+
"limit"
|
|
158
|
+
],
|
|
159
|
+
"headers": []
|
|
160
|
+
},
|
|
161
|
+
"GET /query/Lead/summary": {
|
|
162
|
+
"path": [],
|
|
163
|
+
"query": [],
|
|
164
|
+
"headers": []
|
|
165
|
+
},
|
|
166
|
+
"POST /sobjects/Lead/notes": {
|
|
167
|
+
"path": [],
|
|
168
|
+
"query": [],
|
|
169
|
+
"headers": []
|
|
170
|
+
},
|
|
171
|
+
"POST /sobjects/Lead/campaign-members": {
|
|
172
|
+
"path": [],
|
|
173
|
+
"query": [],
|
|
174
|
+
"headers": []
|
|
175
|
+
},
|
|
176
|
+
"POST /sobjects/Opportunity": {
|
|
177
|
+
"path": [],
|
|
178
|
+
"query": [],
|
|
179
|
+
"headers": []
|
|
180
|
+
},
|
|
181
|
+
"GET /sobjects/Opportunity/{id}": {
|
|
182
|
+
"path": [
|
|
183
|
+
"id"
|
|
184
|
+
],
|
|
185
|
+
"query": [],
|
|
186
|
+
"headers": []
|
|
187
|
+
},
|
|
188
|
+
"PATCH /sobjects/Opportunity/{id}": {
|
|
189
|
+
"path": [
|
|
190
|
+
"id"
|
|
191
|
+
],
|
|
192
|
+
"query": [],
|
|
193
|
+
"headers": []
|
|
194
|
+
},
|
|
195
|
+
"DELETE /sobjects/Opportunity/{id}": {
|
|
196
|
+
"path": [
|
|
197
|
+
"id"
|
|
198
|
+
],
|
|
199
|
+
"query": [],
|
|
200
|
+
"headers": []
|
|
201
|
+
},
|
|
202
|
+
"PATCH /sobjects/Opportunity/{externalIdField}/{externalIdValue}": {
|
|
203
|
+
"path": [
|
|
204
|
+
"externalIdField",
|
|
205
|
+
"externalIdValue"
|
|
206
|
+
],
|
|
207
|
+
"query": [],
|
|
208
|
+
"headers": []
|
|
209
|
+
},
|
|
210
|
+
"GET /query/Opportunity": {
|
|
211
|
+
"path": [],
|
|
212
|
+
"query": [
|
|
213
|
+
"q",
|
|
214
|
+
"limit"
|
|
215
|
+
],
|
|
216
|
+
"headers": []
|
|
217
|
+
},
|
|
218
|
+
"GET /query/Opportunity/summary": {
|
|
219
|
+
"path": [],
|
|
220
|
+
"query": [],
|
|
221
|
+
"headers": []
|
|
222
|
+
},
|
|
223
|
+
"POST /sobjects/Opportunity/notes": {
|
|
224
|
+
"path": [],
|
|
225
|
+
"query": [],
|
|
226
|
+
"headers": []
|
|
227
|
+
},
|
|
228
|
+
"POST /sobjects/Case": {
|
|
229
|
+
"path": [],
|
|
230
|
+
"query": [],
|
|
231
|
+
"headers": []
|
|
232
|
+
},
|
|
233
|
+
"GET /sobjects/Case/{id}": {
|
|
234
|
+
"path": [
|
|
235
|
+
"id"
|
|
236
|
+
],
|
|
237
|
+
"query": [],
|
|
238
|
+
"headers": []
|
|
239
|
+
},
|
|
240
|
+
"PATCH /sobjects/Case/{id}": {
|
|
241
|
+
"path": [
|
|
242
|
+
"id"
|
|
243
|
+
],
|
|
244
|
+
"query": [],
|
|
245
|
+
"headers": []
|
|
246
|
+
},
|
|
247
|
+
"DELETE /sobjects/Case/{id}": {
|
|
248
|
+
"path": [
|
|
249
|
+
"id"
|
|
250
|
+
],
|
|
251
|
+
"query": [],
|
|
252
|
+
"headers": []
|
|
253
|
+
},
|
|
254
|
+
"GET /query/Case": {
|
|
255
|
+
"path": [],
|
|
256
|
+
"query": [
|
|
257
|
+
"q",
|
|
258
|
+
"limit"
|
|
259
|
+
],
|
|
260
|
+
"headers": []
|
|
261
|
+
},
|
|
262
|
+
"GET /query/Case/summary": {
|
|
263
|
+
"path": [],
|
|
264
|
+
"query": [],
|
|
265
|
+
"headers": []
|
|
266
|
+
},
|
|
267
|
+
"POST /sobjects/Case/comments": {
|
|
268
|
+
"path": [],
|
|
269
|
+
"query": [],
|
|
270
|
+
"headers": []
|
|
271
|
+
},
|
|
272
|
+
"POST /sobjects/Task": {
|
|
273
|
+
"path": [],
|
|
274
|
+
"query": [],
|
|
275
|
+
"headers": []
|
|
276
|
+
},
|
|
277
|
+
"GET /sobjects/Task/{id}": {
|
|
278
|
+
"path": [
|
|
279
|
+
"id"
|
|
280
|
+
],
|
|
281
|
+
"query": [],
|
|
282
|
+
"headers": []
|
|
283
|
+
},
|
|
284
|
+
"PATCH /sobjects/Task/{id}": {
|
|
285
|
+
"path": [
|
|
286
|
+
"id"
|
|
287
|
+
],
|
|
288
|
+
"query": [],
|
|
289
|
+
"headers": []
|
|
290
|
+
},
|
|
291
|
+
"DELETE /sobjects/Task/{id}": {
|
|
292
|
+
"path": [
|
|
293
|
+
"id"
|
|
294
|
+
],
|
|
295
|
+
"query": [],
|
|
296
|
+
"headers": []
|
|
297
|
+
},
|
|
298
|
+
"GET /query/Task": {
|
|
299
|
+
"path": [],
|
|
300
|
+
"query": [
|
|
301
|
+
"q",
|
|
302
|
+
"limit"
|
|
303
|
+
],
|
|
304
|
+
"headers": []
|
|
305
|
+
},
|
|
306
|
+
"GET /query/Task/summary": {
|
|
307
|
+
"path": [],
|
|
308
|
+
"query": [],
|
|
309
|
+
"headers": []
|
|
310
|
+
},
|
|
311
|
+
"GET /sobjects/User/{id}": {
|
|
312
|
+
"path": [
|
|
313
|
+
"id"
|
|
314
|
+
],
|
|
315
|
+
"query": [],
|
|
316
|
+
"headers": []
|
|
317
|
+
},
|
|
318
|
+
"GET /query/User": {
|
|
319
|
+
"path": [],
|
|
320
|
+
"query": [
|
|
321
|
+
"q",
|
|
322
|
+
"limit"
|
|
323
|
+
],
|
|
324
|
+
"headers": []
|
|
325
|
+
},
|
|
326
|
+
"POST /sobjects/CustomObject": {
|
|
327
|
+
"path": [],
|
|
328
|
+
"query": [],
|
|
329
|
+
"headers": []
|
|
330
|
+
},
|
|
331
|
+
"GET /sobjects/CustomObject/{id}": {
|
|
332
|
+
"path": [
|
|
333
|
+
"id"
|
|
334
|
+
],
|
|
335
|
+
"query": [],
|
|
336
|
+
"headers": []
|
|
337
|
+
},
|
|
338
|
+
"PATCH /sobjects/CustomObject/{id}": {
|
|
339
|
+
"path": [
|
|
340
|
+
"id"
|
|
341
|
+
],
|
|
342
|
+
"query": [],
|
|
343
|
+
"headers": []
|
|
344
|
+
},
|
|
345
|
+
"DELETE /sobjects/CustomObject/{id}": {
|
|
346
|
+
"path": [
|
|
347
|
+
"id"
|
|
348
|
+
],
|
|
349
|
+
"query": [],
|
|
350
|
+
"headers": []
|
|
351
|
+
},
|
|
352
|
+
"PATCH /sobjects/CustomObject/{externalIdField}/{externalIdValue}": {
|
|
353
|
+
"path": [
|
|
354
|
+
"externalIdField",
|
|
355
|
+
"externalIdValue"
|
|
356
|
+
],
|
|
357
|
+
"query": [],
|
|
358
|
+
"headers": []
|
|
359
|
+
},
|
|
360
|
+
"GET /query/CustomObject": {
|
|
361
|
+
"path": [],
|
|
362
|
+
"query": [
|
|
363
|
+
"q",
|
|
364
|
+
"limit"
|
|
365
|
+
],
|
|
366
|
+
"headers": []
|
|
367
|
+
},
|
|
368
|
+
"POST /sobjects/Document": {
|
|
369
|
+
"path": [],
|
|
370
|
+
"query": [],
|
|
371
|
+
"headers": []
|
|
372
|
+
},
|
|
373
|
+
"GET /actions/custom/flow": {
|
|
374
|
+
"path": [],
|
|
375
|
+
"query": [
|
|
376
|
+
"limit"
|
|
377
|
+
],
|
|
378
|
+
"headers": []
|
|
379
|
+
},
|
|
380
|
+
"POST /actions/custom/flow/{flowName}": {
|
|
381
|
+
"path": [
|
|
382
|
+
"flowName"
|
|
383
|
+
],
|
|
384
|
+
"query": [],
|
|
385
|
+
"headers": []
|
|
386
|
+
},
|
|
387
|
+
"POST /sobjects/Attachment": {
|
|
388
|
+
"path": [],
|
|
389
|
+
"query": [],
|
|
390
|
+
"headers": []
|
|
391
|
+
},
|
|
392
|
+
"GET /sobjects/Attachment/{id}": {
|
|
393
|
+
"path": [
|
|
394
|
+
"id"
|
|
395
|
+
],
|
|
396
|
+
"query": [],
|
|
397
|
+
"headers": []
|
|
398
|
+
},
|
|
399
|
+
"PATCH /sobjects/Attachment/{id}": {
|
|
400
|
+
"path": [
|
|
401
|
+
"id"
|
|
402
|
+
],
|
|
403
|
+
"query": [],
|
|
404
|
+
"headers": []
|
|
405
|
+
},
|
|
406
|
+
"DELETE /sobjects/Attachment/{id}": {
|
|
407
|
+
"path": [
|
|
408
|
+
"id"
|
|
409
|
+
],
|
|
410
|
+
"query": [],
|
|
411
|
+
"headers": []
|
|
412
|
+
},
|
|
413
|
+
"GET /query/Attachment": {
|
|
414
|
+
"path": [],
|
|
415
|
+
"query": [
|
|
416
|
+
"q",
|
|
417
|
+
"limit"
|
|
418
|
+
],
|
|
419
|
+
"headers": []
|
|
420
|
+
},
|
|
421
|
+
"GET /query/Attachment/summary": {
|
|
422
|
+
"path": [],
|
|
423
|
+
"query": [],
|
|
424
|
+
"headers": []
|
|
425
|
+
},
|
|
426
|
+
"GET /search/query": {
|
|
427
|
+
"path": [],
|
|
428
|
+
"query": [
|
|
429
|
+
"query"
|
|
430
|
+
],
|
|
431
|
+
"headers": []
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
export class SalesforceService {
|
|
435
|
+
constructor(secrets, variables) {
|
|
436
|
+
this.baseUrl = variables.get('SALESFORCE_BASE_URL');
|
|
437
|
+
this.oauth = new OAuth2Client(SALESFORCE_OAUTH2_CONFIG, 'SALESFORCE_APP_CREDENTIALS', secrets);
|
|
438
|
+
}
|
|
439
|
+
async call(method, path, data) {
|
|
440
|
+
const route = ROUTES[`${method} ${path}`];
|
|
441
|
+
let endpoint = path;
|
|
442
|
+
let body;
|
|
443
|
+
const query = {};
|
|
444
|
+
const headers = {
|
|
445
|
+
'Content-Type': 'application/json',
|
|
446
|
+
};
|
|
447
|
+
if (data && route) {
|
|
448
|
+
// Interpolate path params
|
|
449
|
+
for (const param of route.path) {
|
|
450
|
+
if (data[param] !== undefined) {
|
|
451
|
+
endpoint = endpoint.replace(`{${param}}`, String(data[param]));
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
// Extract query params
|
|
455
|
+
for (const param of route.query) {
|
|
456
|
+
if (data[param] !== undefined) {
|
|
457
|
+
query[param] = String(data[param]);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
// Extract header params
|
|
461
|
+
for (const param of route.headers) {
|
|
462
|
+
if (data[param] !== undefined) {
|
|
463
|
+
headers[param] = String(data[param]);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
// Everything else goes into body
|
|
467
|
+
const pathQueryHeaders = new Set([...route.path, ...route.query, ...route.headers]);
|
|
468
|
+
const remaining = Object.fromEntries(Object.entries(data).filter(([k]) => !pathQueryHeaders.has(k)));
|
|
469
|
+
if (Object.keys(remaining).length > 0) {
|
|
470
|
+
body = remaining;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
const url = new URL(`${this.baseUrl}${endpoint}`);
|
|
474
|
+
for (const [key, value] of Object.entries(query)) {
|
|
475
|
+
url.searchParams.set(key, value);
|
|
476
|
+
}
|
|
477
|
+
const response = await this.oauth.request(url.toString(), {
|
|
478
|
+
method,
|
|
479
|
+
headers,
|
|
480
|
+
body: body ? JSON.stringify(body) : undefined,
|
|
481
|
+
});
|
|
482
|
+
if (!response.ok) {
|
|
483
|
+
const errorText = await response.text();
|
|
484
|
+
const errorMessage = route?.errors?.[response.status] ?? errorText;
|
|
485
|
+
switch (response.status) {
|
|
486
|
+
case 400: throw new BadRequestError(errorMessage);
|
|
487
|
+
case 401: throw new UnauthorizedError(errorMessage);
|
|
488
|
+
case 403: throw new ForbiddenError(errorMessage);
|
|
489
|
+
case 404: throw new NotFoundError(errorMessage);
|
|
490
|
+
case 405: throw new MethodNotAllowedError(errorMessage);
|
|
491
|
+
case 409: throw new ConflictError(errorMessage);
|
|
492
|
+
case 422: throw new UnprocessableContentError(errorMessage);
|
|
493
|
+
case 429: throw new TooManyRequestsError(errorMessage);
|
|
494
|
+
case 500: throw new InternalServerError(errorMessage);
|
|
495
|
+
default: throw new Error(`Salesforce API error (${response.status}): ${errorText}`);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
const text = await response.text();
|
|
499
|
+
if (!text)
|
|
500
|
+
return {};
|
|
501
|
+
return JSON.parse(text);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
//# sourceMappingURL=salesforce-api.service.js.map
|