@keystrokehq/salesforce 0.1.3 → 0.1.4

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.
Files changed (154) hide show
  1. package/README.md +2 -2
  2. package/dist/actions/add-opportunity-line-item.cjs +1 -1
  3. package/dist/actions/add-opportunity-line-item.cjs.map +1 -1
  4. package/dist/actions/add-opportunity-line-item.mjs +1 -1
  5. package/dist/actions/add-opportunity-line-item.mjs.map +1 -1
  6. package/dist/actions/create-bulk-ingest-job.cjs +53 -0
  7. package/dist/actions/create-bulk-ingest-job.cjs.map +1 -0
  8. package/dist/actions/create-bulk-ingest-job.d.cts +57 -0
  9. package/dist/actions/create-bulk-ingest-job.d.cts.map +1 -0
  10. package/dist/actions/create-bulk-ingest-job.d.mts +57 -0
  11. package/dist/actions/create-bulk-ingest-job.d.mts.map +1 -0
  12. package/dist/actions/create-bulk-ingest-job.mjs +50 -0
  13. package/dist/actions/create-bulk-ingest-job.mjs.map +1 -0
  14. package/dist/actions/create-bulk-query-job.cjs +43 -0
  15. package/dist/actions/create-bulk-query-job.cjs.map +1 -0
  16. package/dist/actions/create-bulk-query-job.d.cts +48 -0
  17. package/dist/actions/create-bulk-query-job.d.cts.map +1 -0
  18. package/dist/actions/create-bulk-query-job.d.mts +48 -0
  19. package/dist/actions/create-bulk-query-job.d.mts.map +1 -0
  20. package/dist/actions/create-bulk-query-job.mjs +40 -0
  21. package/dist/actions/create-bulk-query-job.mjs.map +1 -0
  22. package/dist/actions/create-custom-field.cjs +1 -1
  23. package/dist/actions/create-custom-field.cjs.map +1 -1
  24. package/dist/actions/create-custom-field.mjs +1 -1
  25. package/dist/actions/create-custom-field.mjs.map +1 -1
  26. package/dist/actions/execute-global-quick-action.cjs +32 -0
  27. package/dist/actions/execute-global-quick-action.cjs.map +1 -0
  28. package/dist/actions/execute-global-quick-action.d.cts +28 -0
  29. package/dist/actions/execute-global-quick-action.d.cts.map +1 -0
  30. package/dist/actions/execute-global-quick-action.d.mts +28 -0
  31. package/dist/actions/execute-global-quick-action.d.mts.map +1 -0
  32. package/dist/actions/execute-global-quick-action.mjs +31 -0
  33. package/dist/actions/execute-global-quick-action.mjs.map +1 -0
  34. package/dist/actions/execute-invocable-action.cjs +28 -0
  35. package/dist/actions/execute-invocable-action.cjs.map +1 -0
  36. package/dist/actions/execute-invocable-action.d.cts +29 -0
  37. package/dist/actions/execute-invocable-action.d.cts.map +1 -0
  38. package/dist/actions/execute-invocable-action.d.mts +29 -0
  39. package/dist/actions/execute-invocable-action.d.mts.map +1 -0
  40. package/dist/actions/execute-invocable-action.mjs +27 -0
  41. package/dist/actions/execute-invocable-action.mjs.map +1 -0
  42. package/dist/actions/get-all-custom-objects.cjs +1 -1
  43. package/dist/actions/get-all-custom-objects.cjs.map +1 -1
  44. package/dist/actions/get-all-custom-objects.mjs +1 -1
  45. package/dist/actions/get-all-custom-objects.mjs.map +1 -1
  46. package/dist/actions/get-app.cjs +1 -1
  47. package/dist/actions/get-app.cjs.map +1 -1
  48. package/dist/actions/get-app.d.cts +2 -2
  49. package/dist/actions/get-app.d.mts +2 -2
  50. package/dist/actions/get-app.mjs +1 -1
  51. package/dist/actions/get-app.mjs.map +1 -1
  52. package/dist/actions/get-consent-action.cjs +1 -1
  53. package/dist/actions/get-consent-action.cjs.map +1 -1
  54. package/dist/actions/get-consent-action.mjs +1 -1
  55. package/dist/actions/get-consent-action.mjs.map +1 -1
  56. package/dist/actions/get-last-selected-app.cjs +1 -1
  57. package/dist/actions/get-last-selected-app.cjs.map +1 -1
  58. package/dist/actions/get-last-selected-app.d.cts +2 -2
  59. package/dist/actions/get-last-selected-app.d.mts +2 -2
  60. package/dist/actions/get-last-selected-app.mjs +1 -1
  61. package/dist/actions/get-last-selected-app.mjs.map +1 -1
  62. package/dist/actions/get-report-instance.cjs +117 -0
  63. package/dist/actions/get-report-instance.cjs.map +1 -0
  64. package/dist/actions/get-report-instance.d.cts +116 -0
  65. package/dist/actions/get-report-instance.d.cts.map +1 -0
  66. package/dist/actions/get-report-instance.d.mts +116 -0
  67. package/dist/actions/get-report-instance.d.mts.map +1 -0
  68. package/dist/actions/get-report-instance.mjs +116 -0
  69. package/dist/actions/get-report-instance.mjs.map +1 -0
  70. package/dist/actions/get-support.cjs +6 -6
  71. package/dist/actions/get-support.cjs.map +1 -1
  72. package/dist/actions/get-support.d.cts +6 -6
  73. package/dist/actions/get-support.d.mts +6 -6
  74. package/dist/actions/get-support.mjs +6 -6
  75. package/dist/actions/get-support.mjs.map +1 -1
  76. package/dist/actions/index.cjs +14 -4
  77. package/dist/actions/index.d.cts +8 -3
  78. package/dist/actions/index.d.mts +8 -3
  79. package/dist/actions/index.mjs +8 -3
  80. package/dist/actions/list-dashboards.cjs +1 -1
  81. package/dist/actions/list-dashboards.cjs.map +1 -1
  82. package/dist/actions/list-dashboards.mjs +1 -1
  83. package/dist/actions/list-dashboards.mjs.map +1 -1
  84. package/dist/actions/list-reports.cjs +1 -1
  85. package/dist/actions/list-reports.cjs.map +1 -1
  86. package/dist/actions/list-reports.mjs +1 -1
  87. package/dist/actions/list-reports.mjs.map +1 -1
  88. package/dist/actions/mass-transfer-ownership.cjs +1 -1
  89. package/dist/actions/mass-transfer-ownership.cjs.map +1 -1
  90. package/dist/actions/mass-transfer-ownership.mjs +1 -1
  91. package/dist/actions/mass-transfer-ownership.mjs.map +1 -1
  92. package/dist/actions/query-more.cjs +21 -0
  93. package/dist/actions/query-more.cjs.map +1 -0
  94. package/dist/actions/query-more.d.cts +18 -0
  95. package/dist/actions/query-more.d.cts.map +1 -0
  96. package/dist/actions/query-more.d.mts +18 -0
  97. package/dist/actions/query-more.d.mts.map +1 -0
  98. package/dist/actions/query-more.mjs +18 -0
  99. package/dist/actions/query-more.mjs.map +1 -0
  100. package/dist/actions/run-report-async.cjs +30 -0
  101. package/dist/actions/run-report-async.cjs.map +1 -0
  102. package/dist/actions/run-report-async.d.cts +27 -0
  103. package/dist/actions/run-report-async.d.cts.map +1 -0
  104. package/dist/actions/run-report-async.d.mts +27 -0
  105. package/dist/actions/run-report-async.d.mts.map +1 -0
  106. package/dist/actions/run-report-async.mjs +27 -0
  107. package/dist/actions/run-report-async.mjs.map +1 -0
  108. package/dist/actions/run-report.cjs +1 -1
  109. package/dist/actions/run-report.cjs.map +1 -1
  110. package/dist/actions/run-report.mjs +1 -1
  111. package/dist/actions/run-report.mjs.map +1 -1
  112. package/dist/actions/search-knowledge-articles.cjs +2 -2
  113. package/dist/actions/search-knowledge-articles.cjs.map +1 -1
  114. package/dist/actions/search-knowledge-articles.d.cts +5 -5
  115. package/dist/actions/search-knowledge-articles.d.mts +5 -5
  116. package/dist/actions/search-knowledge-articles.mjs +2 -2
  117. package/dist/actions/search-knowledge-articles.mjs.map +1 -1
  118. package/dist/actions/send-mass-email.cjs +1 -1
  119. package/dist/actions/send-mass-email.cjs.map +1 -1
  120. package/dist/actions/send-mass-email.mjs +1 -1
  121. package/dist/actions/send-mass-email.mjs.map +1 -1
  122. package/dist/actions/set-user-password.cjs +6 -3
  123. package/dist/actions/set-user-password.cjs.map +1 -1
  124. package/dist/actions/set-user-password.d.cts +2 -1
  125. package/dist/actions/set-user-password.d.cts.map +1 -1
  126. package/dist/actions/set-user-password.d.mts +2 -1
  127. package/dist/actions/set-user-password.d.mts.map +1 -1
  128. package/dist/actions/set-user-password.mjs +6 -3
  129. package/dist/actions/set-user-password.mjs.map +1 -1
  130. package/dist/execute.cjs +1 -1
  131. package/dist/execute.cjs.map +1 -1
  132. package/dist/execute.mjs +1 -1
  133. package/dist/execute.mjs.map +1 -1
  134. package/dist/index.cjs +14 -4
  135. package/dist/index.d.cts +8 -3
  136. package/dist/index.d.mts +8 -3
  137. package/dist/index.mjs +8 -3
  138. package/package.json +1 -1
  139. package/dist/actions/get-mru-list-view-metadata.cjs +0 -72
  140. package/dist/actions/get-mru-list-view-metadata.cjs.map +0 -1
  141. package/dist/actions/get-mru-list-view-metadata.d.cts +0 -58
  142. package/dist/actions/get-mru-list-view-metadata.d.cts.map +0 -1
  143. package/dist/actions/get-mru-list-view-metadata.d.mts +0 -58
  144. package/dist/actions/get-mru-list-view-metadata.d.mts.map +0 -1
  145. package/dist/actions/get-mru-list-view-metadata.mjs +0 -71
  146. package/dist/actions/get-mru-list-view-metadata.mjs.map +0 -1
  147. package/dist/actions/get-mru-list-view-records.cjs +0 -52
  148. package/dist/actions/get-mru-list-view-records.cjs.map +0 -1
  149. package/dist/actions/get-mru-list-view-records.d.cts +0 -50
  150. package/dist/actions/get-mru-list-view-records.d.cts.map +0 -1
  151. package/dist/actions/get-mru-list-view-records.d.mts +0 -50
  152. package/dist/actions/get-mru-list-view-records.d.mts.map +0 -1
  153. package/dist/actions/get-mru-list-view-records.mjs +0 -51
  154. package/dist/actions/get-mru-list-view-records.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceCreateCustomFieldInput = z.object({\n label: z.string().describe(\"The display label for the field shown in the Salesforce UI.\"),\n scale: z.number().int().describe(\"Number of decimal places for Number, Currency, or Percent fields. Must be less than precision.\").optional(),\n length: z.number().int().describe(\"Maximum character length for Text fields. Required for Text type, max 255 characters. Not applicable for LongTextArea.\").optional(),\n unique: z.boolean().default(false).describe(\"If true, enforce that all values in this field are unique across all records (case-insensitive by default).\").optional(),\n required: z.boolean().default(false).describe(\"If true, this field must be populated when creating or editing records.\").optional(),\n precision: z.number().int().describe(\"Total number of digits for Number, Currency, or Percent fields (including decimal places). Maximum is 18.\").optional(),\n field_type: z.enum([\"Text\", \"LongTextArea\", \"Number\", \"Checkbox\", \"Date\", \"DateTime\", \"Picklist\", \"MultiselectPicklist\", \"Lookup\", \"Email\", \"Phone\", \"Url\", \"Currency\", \"Percent\"]).describe(\"The type of custom field to create. Common types: Text (string up to 255 chars), LongTextArea (larger text), Number (integer or decimal), Checkbox (boolean), Date, DateTime, Picklist (single-select dropdown), MultiselectPicklist (multi-select), Lookup (relationship to another object), Email, Phone, Url, Currency, Percent.\"),\n restricted: z.boolean().describe(\"For Picklist/MultiselectPicklist fields, if true restricts values to only those defined in the picklist (no custom values allowed).\").optional(),\n description: z.string().describe(\"Optional description of the field's purpose and usage.\").optional(),\n external_id: z.boolean().default(false).describe(\"If true, marks this field as an external ID for integration purposes (allows upsert operations and improves query performance).\").optional(),\n reference_to: z.string().describe(\"For Lookup fields, the API name of the object this field references (e.g., 'Account', 'Contact', 'CustomObject__c').\").optional(),\n default_value: z.string().describe(\"Default value for the field. Format depends on field type (e.g., 'true'/'false' for Checkbox, date string for Date fields).\").optional(),\n visible_lines: z.number().int().describe(\"Number of visible lines for LongTextArea fields in the UI. Typically 3-10.\").optional(),\n check_existing: z.boolean().default(true).describe(\"If true, checks if the field already exists before attempting creation. Prevents errors when field is already present.\").optional(),\n field_api_name: z.string().describe(\"The API name for the new custom field. Must end with '__c' for custom fields (e.g., 'Customer_Tier__c', 'Priority_Level__c').\"),\n object_api_name: z.string().describe(\"The API name of the Salesforce object to add the field to (e.g., 'Account', 'Contact', 'Opportunity', or a custom object like 'Invoice__c').\"),\n picklist_values: z.array(z.object({\n label: z.string().describe(\"The display label for this picklist value. If not specified, uses fullName as the label.\").optional(),\n \"default\": z.boolean().describe(\"If true, this value is the default selection for the picklist field.\").optional(),\n full_name: z.string().describe(\"The API name/value of the picklist entry (e.g., 'Option1', 'High', 'Active').\"),\n}).passthrough().describe(\"A single picklist value with its label and optional default setting.\")).describe(\"List of picklist values for Picklist or MultiselectPicklist fields. Each value must have at minimum a fullName.\").optional(),\n inline_help_text: z.string().describe(\"Optional help text shown as a tooltip when users hover over the field in the UI.\").optional(),\n relationship_name: z.string().describe(\"For Lookup fields, the API name for the relationship (used in queries). If not specified, Salesforce auto-generates one.\").optional(),\n visible_lines_picklist: z.number().int().describe(\"For MultiselectPicklist fields, number of visible lines to display in the UI.\").optional(),\n}).describe(\"Request schema for creating a custom field via Tooling API.\");\nconst SalesforceCreateCustomField_ToolingErrorSchema = z.object({\n fields: z.array(z.string()).describe(\"Array of field names where the error occurred. Present for field-level validation errors.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n statusCode: z.string().describe(\"Machine-readable error code identifier.\").nullable().optional(),\n}).passthrough().describe(\"Represents an error returned by the Tooling API.\");\nexport const SalesforceCreateCustomFieldOutput = z.object({\n id: z.string().describe(\"The unique Salesforce ID of the newly created CustomField metadata record. Only present when success is true.\").nullable().optional(),\n errors: z.array(SalesforceCreateCustomField_ToolingErrorSchema).describe(\"Array of error objects. Empty when success is true. Contains error details when success is false.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the custom field creation was successful. Returns true if created successfully, false otherwise.\").nullable(),\n full_name: z.string().describe(\"The full name of the custom field in format 'ObjectApiName.FieldApiName' (e.g., 'Account.Customer_Tier__c').\").nullable(),\n already_exists: z.boolean().default(false).describe(\"If true, indicates the field already existed and was not created again.\").nullable().optional(),\n}).passthrough().describe(\"Response from Salesforce Tooling API CustomField creation.\");\n\nexport const salesforceCreateCustomField = action(\"SALESFORCE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesforce-create-custom-field\",\n name: \"Create custom field\",\n description: \"Tool to create a custom field on a Salesforce object using the Tooling API. Use when you need to add a new field (Text, Number, Checkbox, Date, Picklist, Lookup, etc.) to any standard or custom object without deploying metadata packages. The Tooling API provides direct field creation for rapid development and automation tasks.\",\n input: SalesforceCreateCustomFieldInput,\n output: SalesforceCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAA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J,QAAQA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClM,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceCreateCustomFieldInput = z.object({\n label: z.string().describe(\"The display label for the field shown in the Salesforce UI.\"),\n scale: z.number().int().describe(\"Number of decimal places for Number, Currency, or Percent fields. Must be less than precision.\").optional(),\n length: z.number().int().describe(\"Maximum character length. Required for Text (max 255) and LongTextArea (max 131072) fields.\").optional(),\n unique: z.boolean().default(false).describe(\"If true, enforce that all values in this field are unique across all records (case-insensitive by default).\").optional(),\n required: z.boolean().default(false).describe(\"If true, this field must be populated when creating or editing records.\").optional(),\n precision: z.number().int().describe(\"Total number of digits for Number, Currency, or Percent fields (including decimal places). Maximum is 18.\").optional(),\n field_type: z.enum([\"Text\", \"LongTextArea\", \"Number\", \"Checkbox\", \"Date\", \"DateTime\", \"Picklist\", \"MultiselectPicklist\", \"Lookup\", \"Email\", \"Phone\", \"Url\", \"Currency\", \"Percent\"]).describe(\"The type of custom field to create. Common types: Text (string up to 255 chars), LongTextArea (larger text), Number (integer or decimal), Checkbox (boolean), Date, DateTime, Picklist (single-select dropdown), MultiselectPicklist (multi-select), Lookup (relationship to another object), Email, Phone, Url, Currency, Percent.\"),\n restricted: z.boolean().describe(\"For Picklist/MultiselectPicklist fields, if true restricts values to only those defined in the picklist (no custom values allowed).\").optional(),\n description: z.string().describe(\"Optional description of the field's purpose and usage.\").optional(),\n external_id: z.boolean().default(false).describe(\"If true, marks this field as an external ID for integration purposes (allows upsert operations and improves query performance).\").optional(),\n reference_to: z.string().describe(\"For Lookup fields, the API name of the object this field references (e.g., 'Account', 'Contact', 'CustomObject__c').\").optional(),\n default_value: z.string().describe(\"Default value for the field. Format depends on field type (e.g., 'true'/'false' for Checkbox, date string for Date fields).\").optional(),\n visible_lines: z.number().int().describe(\"Number of visible lines for LongTextArea fields in the UI. Typically 3-10.\").optional(),\n check_existing: z.boolean().default(true).describe(\"If true, checks if the field already exists before attempting creation. Prevents errors when field is already present.\").optional(),\n field_api_name: z.string().describe(\"The API name for the new custom field. Must end with '__c' for custom fields (e.g., 'Customer_Tier__c', 'Priority_Level__c').\"),\n object_api_name: z.string().describe(\"The API name of the Salesforce object to add the field to (e.g., 'Account', 'Contact', 'Opportunity', or a custom object like 'Invoice__c').\"),\n picklist_values: z.array(z.object({\n label: z.string().describe(\"The display label for this picklist value. If not specified, uses fullName as the label.\").optional(),\n \"default\": z.boolean().describe(\"If true, this value is the default selection for the picklist field.\").optional(),\n full_name: z.string().describe(\"The API name/value of the picklist entry (e.g., 'Option1', 'High', 'Active').\"),\n}).passthrough().describe(\"A single picklist value with its label and optional default setting.\")).describe(\"List of picklist values for Picklist or MultiselectPicklist fields. Each value must have at minimum a fullName.\").optional(),\n inline_help_text: z.string().describe(\"Optional help text shown as a tooltip when users hover over the field in the UI.\").optional(),\n relationship_name: z.string().describe(\"For Lookup fields, the API name for the relationship (used in queries). If not specified, Salesforce auto-generates one.\").optional(),\n visible_lines_picklist: z.number().int().describe(\"For MultiselectPicklist fields, number of visible lines to display in the UI.\").optional(),\n}).describe(\"Request schema for creating a custom field via Tooling API.\");\nconst SalesforceCreateCustomField_ToolingErrorSchema = z.object({\n fields: z.array(z.string()).describe(\"Array of field names where the error occurred. Present for field-level validation errors.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n statusCode: z.string().describe(\"Machine-readable error code identifier.\").nullable().optional(),\n}).passthrough().describe(\"Represents an error returned by the Tooling API.\");\nexport const SalesforceCreateCustomFieldOutput = z.object({\n id: z.string().describe(\"The unique Salesforce ID of the newly created CustomField metadata record. Only present when success is true.\").nullable().optional(),\n errors: z.array(SalesforceCreateCustomField_ToolingErrorSchema).describe(\"Array of error objects. Empty when success is true. Contains error details when success is false.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the custom field creation was successful. Returns true if created successfully, false otherwise.\").nullable(),\n full_name: z.string().describe(\"The full name of the custom field in format 'ObjectApiName.FieldApiName' (e.g., 'Account.Customer_Tier__c').\").nullable(),\n already_exists: z.boolean().default(false).describe(\"If true, indicates the field already existed and was not created again.\").nullable().optional(),\n}).passthrough().describe(\"Response from Salesforce Tooling API CustomField creation.\");\n\nexport const salesforceCreateCustomField = action(\"SALESFORCE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesforce-create-custom-field\",\n name: \"Create custom field\",\n description: \"Tool to create a custom field on a Salesforce object using the Tooling API. Use when you need to add a new field (Text, Number, Checkbox, Date, Picklist, Lookup, etc.) to any standard or custom object without deploying metadata packages. The Tooling API provides direct field creation for rapid development and automation tasks.\",\n input: SalesforceCreateCustomFieldInput,\n output: SalesforceCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,Q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,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,QAAQA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClM,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  const SalesforceCreateCustomFieldInput = z.object({
5
5
  label: z.string().describe("The display label for the field shown in the Salesforce UI."),
6
6
  scale: z.number().int().describe("Number of decimal places for Number, Currency, or Percent fields. Must be less than precision.").optional(),
7
- length: z.number().int().describe("Maximum character length for Text fields. Required for Text type, max 255 characters. Not applicable for LongTextArea.").optional(),
7
+ length: z.number().int().describe("Maximum character length. Required for Text (max 255) and LongTextArea (max 131072) fields.").optional(),
8
8
  unique: z.boolean().default(false).describe("If true, enforce that all values in this field are unique across all records (case-insensitive by default).").optional(),
9
9
  required: z.boolean().default(false).describe("If true, this field must be populated when creating or editing records.").optional(),
10
10
  precision: z.number().int().describe("Total number of digits for Number, Currency, or Percent fields (including decimal places). Maximum is 18.").optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceCreateCustomFieldInput = z.object({\n label: z.string().describe(\"The display label for the field shown in the Salesforce UI.\"),\n scale: z.number().int().describe(\"Number of decimal places for Number, Currency, or Percent fields. Must be less than precision.\").optional(),\n length: z.number().int().describe(\"Maximum character length for Text fields. Required for Text type, max 255 characters. Not applicable for LongTextArea.\").optional(),\n unique: z.boolean().default(false).describe(\"If true, enforce that all values in this field are unique across all records (case-insensitive by default).\").optional(),\n required: z.boolean().default(false).describe(\"If true, this field must be populated when creating or editing records.\").optional(),\n precision: z.number().int().describe(\"Total number of digits for Number, Currency, or Percent fields (including decimal places). Maximum is 18.\").optional(),\n field_type: z.enum([\"Text\", \"LongTextArea\", \"Number\", \"Checkbox\", \"Date\", \"DateTime\", \"Picklist\", \"MultiselectPicklist\", \"Lookup\", \"Email\", \"Phone\", \"Url\", \"Currency\", \"Percent\"]).describe(\"The type of custom field to create. Common types: Text (string up to 255 chars), LongTextArea (larger text), Number (integer or decimal), Checkbox (boolean), Date, DateTime, Picklist (single-select dropdown), MultiselectPicklist (multi-select), Lookup (relationship to another object), Email, Phone, Url, Currency, Percent.\"),\n restricted: z.boolean().describe(\"For Picklist/MultiselectPicklist fields, if true restricts values to only those defined in the picklist (no custom values allowed).\").optional(),\n description: z.string().describe(\"Optional description of the field's purpose and usage.\").optional(),\n external_id: z.boolean().default(false).describe(\"If true, marks this field as an external ID for integration purposes (allows upsert operations and improves query performance).\").optional(),\n reference_to: z.string().describe(\"For Lookup fields, the API name of the object this field references (e.g., 'Account', 'Contact', 'CustomObject__c').\").optional(),\n default_value: z.string().describe(\"Default value for the field. Format depends on field type (e.g., 'true'/'false' for Checkbox, date string for Date fields).\").optional(),\n visible_lines: z.number().int().describe(\"Number of visible lines for LongTextArea fields in the UI. Typically 3-10.\").optional(),\n check_existing: z.boolean().default(true).describe(\"If true, checks if the field already exists before attempting creation. Prevents errors when field is already present.\").optional(),\n field_api_name: z.string().describe(\"The API name for the new custom field. Must end with '__c' for custom fields (e.g., 'Customer_Tier__c', 'Priority_Level__c').\"),\n object_api_name: z.string().describe(\"The API name of the Salesforce object to add the field to (e.g., 'Account', 'Contact', 'Opportunity', or a custom object like 'Invoice__c').\"),\n picklist_values: z.array(z.object({\n label: z.string().describe(\"The display label for this picklist value. If not specified, uses fullName as the label.\").optional(),\n \"default\": z.boolean().describe(\"If true, this value is the default selection for the picklist field.\").optional(),\n full_name: z.string().describe(\"The API name/value of the picklist entry (e.g., 'Option1', 'High', 'Active').\"),\n}).passthrough().describe(\"A single picklist value with its label and optional default setting.\")).describe(\"List of picklist values for Picklist or MultiselectPicklist fields. Each value must have at minimum a fullName.\").optional(),\n inline_help_text: z.string().describe(\"Optional help text shown as a tooltip when users hover over the field in the UI.\").optional(),\n relationship_name: z.string().describe(\"For Lookup fields, the API name for the relationship (used in queries). If not specified, Salesforce auto-generates one.\").optional(),\n visible_lines_picklist: z.number().int().describe(\"For MultiselectPicklist fields, number of visible lines to display in the UI.\").optional(),\n}).describe(\"Request schema for creating a custom field via Tooling API.\");\nconst SalesforceCreateCustomField_ToolingErrorSchema = z.object({\n fields: z.array(z.string()).describe(\"Array of field names where the error occurred. Present for field-level validation errors.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n statusCode: z.string().describe(\"Machine-readable error code identifier.\").nullable().optional(),\n}).passthrough().describe(\"Represents an error returned by the Tooling API.\");\nexport const SalesforceCreateCustomFieldOutput = z.object({\n id: z.string().describe(\"The unique Salesforce ID of the newly created CustomField metadata record. Only present when success is true.\").nullable().optional(),\n errors: z.array(SalesforceCreateCustomField_ToolingErrorSchema).describe(\"Array of error objects. Empty when success is true. Contains error details when success is false.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the custom field creation was successful. Returns true if created successfully, false otherwise.\").nullable(),\n full_name: z.string().describe(\"The full name of the custom field in format 'ObjectApiName.FieldApiName' (e.g., 'Account.Customer_Tier__c').\").nullable(),\n already_exists: z.boolean().default(false).describe(\"If true, indicates the field already existed and was not created again.\").nullable().optional(),\n}).passthrough().describe(\"Response from Salesforce Tooling API CustomField creation.\");\n\nexport const salesforceCreateCustomField = action(\"SALESFORCE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesforce-create-custom-field\",\n name: \"Create custom field\",\n description: \"Tool to create a custom field on a Salesforce object using the Tooling API. Use when you need to add a new field (Text, Number, Checkbox, Date, Picklist, Lookup, etc.) to any standard or custom object without deploying metadata packages. The Tooling API provides direct field creation for rapid development and automation tasks.\",\n input: SalesforceCreateCustomFieldInput,\n output: SalesforceCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACrK,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,YAAY,EAAE,KAAK;EAAC;EAAQ;EAAgB;EAAU;EAAY;EAAQ;EAAY;EAAY;EAAuB;EAAU;EAAS;EAAS;EAAO;EAAY;CAAS,CAAC,CAAC,CAAC,SAAS,qUAAqU;CAClgB,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACjL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC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O,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAS5E,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACxJ,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceCreateCustomFieldInput = z.object({\n label: z.string().describe(\"The display label for the field shown in the Salesforce UI.\"),\n scale: z.number().int().describe(\"Number of decimal places for Number, Currency, or Percent fields. Must be less than precision.\").optional(),\n length: z.number().int().describe(\"Maximum character length. Required for Text (max 255) and LongTextArea (max 131072) fields.\").optional(),\n unique: z.boolean().default(false).describe(\"If true, enforce that all values in this field are unique across all records (case-insensitive by default).\").optional(),\n required: z.boolean().default(false).describe(\"If true, this field must be populated when creating or editing records.\").optional(),\n precision: z.number().int().describe(\"Total number of digits for Number, Currency, or Percent fields (including decimal places). Maximum is 18.\").optional(),\n field_type: z.enum([\"Text\", \"LongTextArea\", \"Number\", \"Checkbox\", \"Date\", \"DateTime\", \"Picklist\", \"MultiselectPicklist\", \"Lookup\", \"Email\", \"Phone\", \"Url\", \"Currency\", \"Percent\"]).describe(\"The type of custom field to create. Common types: Text (string up to 255 chars), LongTextArea (larger text), Number (integer or decimal), Checkbox (boolean), Date, DateTime, Picklist (single-select dropdown), MultiselectPicklist (multi-select), Lookup (relationship to another object), Email, Phone, Url, Currency, Percent.\"),\n restricted: z.boolean().describe(\"For Picklist/MultiselectPicklist fields, if true restricts values to only those defined in the picklist (no custom values allowed).\").optional(),\n description: z.string().describe(\"Optional description of the field's purpose and usage.\").optional(),\n external_id: z.boolean().default(false).describe(\"If true, marks this field as an external ID for integration purposes (allows upsert operations and improves query performance).\").optional(),\n reference_to: z.string().describe(\"For Lookup fields, the API name of the object this field references (e.g., 'Account', 'Contact', 'CustomObject__c').\").optional(),\n default_value: z.string().describe(\"Default value for the field. Format depends on field type (e.g., 'true'/'false' for Checkbox, date string for Date fields).\").optional(),\n visible_lines: z.number().int().describe(\"Number of visible lines for LongTextArea fields in the UI. Typically 3-10.\").optional(),\n check_existing: z.boolean().default(true).describe(\"If true, checks if the field already exists before attempting creation. Prevents errors when field is already present.\").optional(),\n field_api_name: z.string().describe(\"The API name for the new custom field. Must end with '__c' for custom fields (e.g., 'Customer_Tier__c', 'Priority_Level__c').\"),\n object_api_name: z.string().describe(\"The API name of the Salesforce object to add the field to (e.g., 'Account', 'Contact', 'Opportunity', or a custom object like 'Invoice__c').\"),\n picklist_values: z.array(z.object({\n label: z.string().describe(\"The display label for this picklist value. If not specified, uses fullName as the label.\").optional(),\n \"default\": z.boolean().describe(\"If true, this value is the default selection for the picklist field.\").optional(),\n full_name: z.string().describe(\"The API name/value of the picklist entry (e.g., 'Option1', 'High', 'Active').\"),\n}).passthrough().describe(\"A single picklist value with its label and optional default setting.\")).describe(\"List of picklist values for Picklist or MultiselectPicklist fields. Each value must have at minimum a fullName.\").optional(),\n inline_help_text: z.string().describe(\"Optional help text shown as a tooltip when users hover over the field in the UI.\").optional(),\n relationship_name: z.string().describe(\"For Lookup fields, the API name for the relationship (used in queries). If not specified, Salesforce auto-generates one.\").optional(),\n visible_lines_picklist: z.number().int().describe(\"For MultiselectPicklist fields, number of visible lines to display in the UI.\").optional(),\n}).describe(\"Request schema for creating a custom field via Tooling API.\");\nconst SalesforceCreateCustomField_ToolingErrorSchema = z.object({\n fields: z.array(z.string()).describe(\"Array of field names where the error occurred. Present for field-level validation errors.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n statusCode: z.string().describe(\"Machine-readable error code identifier.\").nullable().optional(),\n}).passthrough().describe(\"Represents an error returned by the Tooling API.\");\nexport const SalesforceCreateCustomFieldOutput = z.object({\n id: z.string().describe(\"The unique Salesforce ID of the newly created CustomField metadata record. Only present when success is true.\").nullable().optional(),\n errors: z.array(SalesforceCreateCustomField_ToolingErrorSchema).describe(\"Array of error objects. Empty when success is true. Contains error details when success is false.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the custom field creation was successful. Returns true if created successfully, false otherwise.\").nullable(),\n full_name: z.string().describe(\"The full name of the custom field in format 'ObjectApiName.FieldApiName' (e.g., 'Account.Customer_Tier__c').\").nullable(),\n already_exists: z.boolean().default(false).describe(\"If true, indicates the field already existed and was not created again.\").nullable().optional(),\n}).passthrough().describe(\"Response from Salesforce Tooling API CustomField creation.\");\n\nexport const salesforceCreateCustomField = action(\"SALESFORCE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesforce-create-custom-field\",\n name: \"Create custom field\",\n description: \"Tool to create a custom field on a Salesforce object using the Tooling API. Use when you need to add a new field (Text, Number, Checkbox, Date, Picklist, Lookup, etc.) to any standard or custom object without deploying metadata packages. The Tooling API provides direct field creation for rapid development and automation tasks.\",\n input: SalesforceCreateCustomFieldInput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EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACxJ,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/execute-global-quick-action.ts
4
+ const SalesforceExecuteGlobalQuickActionInput = zod.z.object({
5
+ record: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Object containing the field values for the record the quick action creates/updates. Field names depend on the quick action's target and layout."),
6
+ context_id: zod.z.string().describe("The ID of the context record for the action, when applicable.").optional(),
7
+ action_name: zod.z.string().describe("The API name of the global (non-object-specific) quick action to execute, as listed by the 'Get quick actions' action (e.g., 'LogACall', 'NewContact').")
8
+ });
9
+ const SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema = zod.z.object({
10
+ fields: zod.z.array(zod.z.string()).describe("Array of field names that caused the error, if applicable.").nullable().optional(),
11
+ message: zod.z.string().describe("Human-readable error message describing the issue.").nullable(),
12
+ statusCode: zod.z.string().describe("Error code identifier (e.g., 'REQUIRED_FIELD_MISSING', 'INVALID_FIELD').").nullable().optional()
13
+ }).passthrough().describe("Error object returned when a global quick action fails.");
14
+ const SalesforceExecuteGlobalQuickActionOutput = zod.z.object({
15
+ id: zod.z.string().describe("The 18-character Salesforce ID of the created/updated record. Present only on success.").nullable().optional(),
16
+ errors: zod.z.array(SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema).describe("Error objects. Empty when success is true.").nullable().optional(),
17
+ created: zod.z.boolean().describe("True if a new record was created; false if an existing record was updated.").nullable().optional(),
18
+ success: zod.z.boolean().describe("Whether the action succeeded.").nullable(),
19
+ contextId: zod.z.string().describe("The context/parent record ID used for the action, if applicable.").nullable().optional(),
20
+ successMessage: zod.z.string().describe("Human-readable success message (e.g., 'Call logged.').").nullable().optional()
21
+ }).passthrough().describe("Response from executing a global quick action.");
22
+ const salesforceExecuteGlobalQuickAction = require_action.action("SALESFORCE_EXECUTE_GLOBAL_QUICK_ACTION", {
23
+ slug: "salesforce-execute-global-quick-action",
24
+ name: "Execute global quick action",
25
+ description: "Execute a global (non-object-specific) quick action (POST /quickActions/{actionName}). The 'Get quick actions' action lists the available global quick actions, but only object-scoped quick actions could be executed before — this runs the global ones. Distinct from the sObject-scoped execute (POST /sobjects/{type}/quickActions/{name}).",
26
+ input: SalesforceExecuteGlobalQuickActionInput,
27
+ output: SalesforceExecuteGlobalQuickActionOutput
28
+ });
29
+ //#endregion
30
+ exports.salesforceExecuteGlobalQuickAction = salesforceExecuteGlobalQuickAction;
31
+
32
+ //# sourceMappingURL=execute-global-quick-action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-global-quick-action.cjs","names":["z","action"],"sources":["../../src/actions/execute-global-quick-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceExecuteGlobalQuickActionInput = z.object({\n record: z.record(z.string(), z.unknown()).describe(\"Object containing the field values for the record the quick action creates/updates. Field names depend on the quick action's target and layout.\"),\n context_id: z.string().describe(\"The ID of the context record for the action, when applicable.\").optional(),\n action_name: z.string().describe(\"The API name of the global (non-object-specific) quick action to execute, as listed by the 'Get quick actions' action (e.g., 'LogACall', 'NewContact').\"),\n});\nconst SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema = z.object({\n fields: z.array(z.string()).describe(\"Array of field names that caused the error, if applicable.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing the issue.\").nullable(),\n statusCode: z.string().describe(\"Error code identifier (e.g., 'REQUIRED_FIELD_MISSING', 'INVALID_FIELD').\").nullable().optional(),\n}).passthrough().describe(\"Error object returned when a global quick action fails.\");\nexport const SalesforceExecuteGlobalQuickActionOutput = z.object({\n id: z.string().describe(\"The 18-character Salesforce ID of the created/updated record. Present only on success.\").nullable().optional(),\n errors: z.array(SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema).describe(\"Error objects. Empty when success is true.\").nullable().optional(),\n created: z.boolean().describe(\"True if a new record was created; false if an existing record was updated.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the action succeeded.\").nullable(),\n contextId: z.string().describe(\"The context/parent record ID used for the action, if applicable.\").nullable().optional(),\n successMessage: z.string().describe(\"Human-readable success message (e.g., 'Call logged.').\").nullable().optional(),\n}).passthrough().describe(\"Response from executing a global quick action.\");\n\nexport const salesforceExecuteGlobalQuickAction = action(\"SALESFORCE_EXECUTE_GLOBAL_QUICK_ACTION\", {\n slug: \"salesforce-execute-global-quick-action\",\n name: \"Execute global quick action\",\n description: \"Execute a global (non-object-specific) quick action (POST /quickActions/{actionName}). The 'Get quick actions' action lists the available global quick actions, but only object-scoped quick actions could be executed before — this runs the global ones. Distinct from the sObject-scoped execute (POST /sobjects/{type}/quickActions/{name}).\",\n input: SalesforceExecuteGlobalQuickActionInput,\n output: SalesforceExecuteGlobalQuickActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACpM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1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AC"}
@@ -0,0 +1,28 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/execute-global-quick-action.d.ts
4
+ declare const SalesforceExecuteGlobalQuickActionInput: z.ZodObject<{
5
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ context_id: z.ZodOptional<z.ZodString>;
7
+ action_name: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SalesforceExecuteGlobalQuickActionOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13
+ message: z.ZodNullable<z.ZodString>;
14
+ statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>>>;
16
+ created: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ success: z.ZodNullable<z.ZodBoolean>;
18
+ contextId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ successMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const salesforceExecuteGlobalQuickAction: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ record: Record<string, unknown>;
23
+ action_name: string;
24
+ context_id?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ //#endregion
27
+ export { salesforceExecuteGlobalQuickAction };
28
+ //# sourceMappingURL=execute-global-quick-action.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-global-quick-action.d.cts","names":[],"sources":["../../src/actions/execute-global-quick-action.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAUvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;cASxC,kCAAA,gCAAkC,wBAAA;UAM7C,MAAA"}
@@ -0,0 +1,28 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/execute-global-quick-action.d.ts
4
+ declare const SalesforceExecuteGlobalQuickActionInput: z.ZodObject<{
5
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ context_id: z.ZodOptional<z.ZodString>;
7
+ action_name: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SalesforceExecuteGlobalQuickActionOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13
+ message: z.ZodNullable<z.ZodString>;
14
+ statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>>>;
16
+ created: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ success: z.ZodNullable<z.ZodBoolean>;
18
+ contextId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ successMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const salesforceExecuteGlobalQuickAction: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ record: Record<string, unknown>;
23
+ action_name: string;
24
+ context_id?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ //#endregion
27
+ export { salesforceExecuteGlobalQuickAction };
28
+ //# sourceMappingURL=execute-global-quick-action.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-global-quick-action.d.mts","names":[],"sources":["../../src/actions/execute-global-quick-action.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAUvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;cASxC,kCAAA,gCAAkC,wBAAA;UAM7C,MAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/execute-global-quick-action.ts
4
+ const SalesforceExecuteGlobalQuickActionInput = z.object({
5
+ record: z.record(z.string(), z.unknown()).describe("Object containing the field values for the record the quick action creates/updates. Field names depend on the quick action's target and layout."),
6
+ context_id: z.string().describe("The ID of the context record for the action, when applicable.").optional(),
7
+ action_name: z.string().describe("The API name of the global (non-object-specific) quick action to execute, as listed by the 'Get quick actions' action (e.g., 'LogACall', 'NewContact').")
8
+ });
9
+ const SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema = z.object({
10
+ fields: z.array(z.string()).describe("Array of field names that caused the error, if applicable.").nullable().optional(),
11
+ message: z.string().describe("Human-readable error message describing the issue.").nullable(),
12
+ statusCode: z.string().describe("Error code identifier (e.g., 'REQUIRED_FIELD_MISSING', 'INVALID_FIELD').").nullable().optional()
13
+ }).passthrough().describe("Error object returned when a global quick action fails.");
14
+ const salesforceExecuteGlobalQuickAction = action("SALESFORCE_EXECUTE_GLOBAL_QUICK_ACTION", {
15
+ slug: "salesforce-execute-global-quick-action",
16
+ name: "Execute global quick action",
17
+ description: "Execute a global (non-object-specific) quick action (POST /quickActions/{actionName}). The 'Get quick actions' action lists the available global quick actions, but only object-scoped quick actions could be executed before — this runs the global ones. Distinct from the sObject-scoped execute (POST /sobjects/{type}/quickActions/{name}).",
18
+ input: SalesforceExecuteGlobalQuickActionInput,
19
+ output: z.object({
20
+ id: z.string().describe("The 18-character Salesforce ID of the created/updated record. Present only on success.").nullable().optional(),
21
+ errors: z.array(SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema).describe("Error objects. Empty when success is true.").nullable().optional(),
22
+ created: z.boolean().describe("True if a new record was created; false if an existing record was updated.").nullable().optional(),
23
+ success: z.boolean().describe("Whether the action succeeded.").nullable(),
24
+ contextId: z.string().describe("The context/parent record ID used for the action, if applicable.").nullable().optional(),
25
+ successMessage: z.string().describe("Human-readable success message (e.g., 'Call logged.').").nullable().optional()
26
+ }).passthrough().describe("Response from executing a global quick action.")
27
+ });
28
+ //#endregion
29
+ export { salesforceExecuteGlobalQuickAction };
30
+
31
+ //# sourceMappingURL=execute-global-quick-action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-global-quick-action.mjs","names":[],"sources":["../../src/actions/execute-global-quick-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceExecuteGlobalQuickActionInput = z.object({\n record: z.record(z.string(), z.unknown()).describe(\"Object containing the field values for the record the quick action creates/updates. Field names depend on the quick action's target and layout.\"),\n context_id: z.string().describe(\"The ID of the context record for the action, when applicable.\").optional(),\n action_name: z.string().describe(\"The API name of the global (non-object-specific) quick action to execute, as listed by the 'Get quick actions' action (e.g., 'LogACall', 'NewContact').\"),\n});\nconst SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema = z.object({\n fields: z.array(z.string()).describe(\"Array of field names that caused the error, if applicable.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing the issue.\").nullable(),\n statusCode: z.string().describe(\"Error code identifier (e.g., 'REQUIRED_FIELD_MISSING', 'INVALID_FIELD').\").nullable().optional(),\n}).passthrough().describe(\"Error object returned when a global quick action fails.\");\nexport const SalesforceExecuteGlobalQuickActionOutput = z.object({\n id: z.string().describe(\"The 18-character Salesforce ID of the created/updated record. Present only on success.\").nullable().optional(),\n errors: z.array(SalesforceExecuteGlobalQuickAction_GlobalQuickActionErrorSchema).describe(\"Error objects. Empty when success is true.\").nullable().optional(),\n created: z.boolean().describe(\"True if a new record was created; false if an existing record was updated.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the action succeeded.\").nullable(),\n contextId: z.string().describe(\"The context/parent record ID used for the action, if applicable.\").nullable().optional(),\n successMessage: z.string().describe(\"Human-readable success message (e.g., 'Call logged.').\").nullable().optional(),\n}).passthrough().describe(\"Response from executing a global quick action.\");\n\nexport const salesforceExecuteGlobalQuickAction = action(\"SALESFORCE_EXECUTE_GLOBAL_QUICK_ACTION\", {\n slug: \"salesforce-execute-global-quick-action\",\n name: \"Execute global quick action\",\n description: \"Execute a global (non-object-specific) quick action (POST /quickActions/{actionName}). The 'Get quick actions' action lists the available global quick actions, but only object-scoped quick actions could be executed before — this runs the global ones. Distinct from the sObject-scoped execute (POST /sobjects/{type}/quickActions/{name}).\",\n input: SalesforceExecuteGlobalQuickActionInput,\n output: SalesforceExecuteGlobalQuickActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACpM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;AAC5L,CAAC;AACD,MAAM,kEAAkE,EAAE,OAAO;CAC/E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAUnF,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/execute-invocable-action.ts
4
+ const SalesforceExecuteInvocableActionInput = zod.z.object({
5
+ inputs: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of input maps, one per invocation. Each map's keys are the action's input parameter names. The action runs once per element and returns one result per element."),
6
+ action_name: zod.z.string().describe("The API name of the invocable action to run (e.g., 'chatterPost' for a standard action, or the API name of a custom Flow/Apex action)."),
7
+ action_type: zod.z.enum(["standard", "custom"]).describe("Whether the invocable action is a Salesforce standard action or a custom action (custom includes Flows and Apex invocable methods). 'Get standard invocable actions' / 'Get custom invocable actions' list the available names.")
8
+ });
9
+ const SalesforceExecuteInvocableAction_InvocableActionResultSchema = zod.z.object({
10
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Error details when isSuccess is false; null/empty on success.").nullable().optional(),
11
+ isSuccess: zod.z.boolean().describe("Whether this invocation succeeded.").nullable(),
12
+ sortOrder: zod.z.number().int().describe("Ordering of this result within the batch, if returned.").nullable().optional(),
13
+ actionName: zod.z.string().describe("The name of the invoked action.").nullable().optional(),
14
+ invocationId: zod.z.string().describe("Identifier for tracking this invocation, if returned.").nullable().optional(),
15
+ outputValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The action's output parameter values for this invocation.").nullable().optional()
16
+ }).passthrough().describe("Result for a single invocation of an invocable action.");
17
+ const SalesforceExecuteInvocableActionOutput = zod.z.object({ results: zod.z.array(SalesforceExecuteInvocableAction_InvocableActionResultSchema).describe("One InvocableActionResult per element of the request's inputs array.") }).passthrough().describe("Response containing one result per input invocation.");
18
+ const salesforceExecuteInvocableAction = require_action.action("SALESFORCE_EXECUTE_INVOCABLE_ACTION", {
19
+ slug: "salesforce-execute-invocable-action",
20
+ name: "Execute invocable action",
21
+ description: "Invoke any standard or custom invocable action by name (POST /actions/standard/{name} or /actions/custom/{name}). The 'Get standard/custom invocable actions' actions enumerate the available actions (including Flows and Apex invocable methods), but previously only emailSimple and invocableApplyLeadAssignmentRules could actually be run — this executes any of them generically. Returns one result per input.",
22
+ input: SalesforceExecuteInvocableActionInput,
23
+ output: SalesforceExecuteInvocableActionOutput
24
+ });
25
+ //#endregion
26
+ exports.salesforceExecuteInvocableAction = salesforceExecuteInvocableAction;
27
+
28
+ //# sourceMappingURL=execute-invocable-action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-invocable-action.cjs","names":["z","action"],"sources":["../../src/actions/execute-invocable-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceExecuteInvocableActionInput = z.object({\n inputs: z.array(z.record(z.string(), z.unknown())).describe(\"Array of input maps, one per invocation. Each map's keys are the action's input parameter names. The action runs once per element and returns one result per element.\"),\n action_name: z.string().describe(\"The API name of the invocable action to run (e.g., 'chatterPost' for a standard action, or the API name of a custom Flow/Apex action).\"),\n action_type: z.enum([\"standard\", \"custom\"]).describe(\"Whether the invocable action is a Salesforce standard action or a custom action (custom includes Flows and Apex invocable methods). 'Get standard invocable actions' / 'Get custom invocable actions' list the available names.\"),\n});\nconst SalesforceExecuteInvocableAction_InvocableActionResultSchema = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Error details when isSuccess is false; null/empty on success.\").nullable().optional(),\n isSuccess: z.boolean().describe(\"Whether this invocation succeeded.\").nullable(),\n sortOrder: z.number().int().describe(\"Ordering of this result within the batch, if returned.\").nullable().optional(),\n actionName: z.string().describe(\"The name of the invoked action.\").nullable().optional(),\n invocationId: z.string().describe(\"Identifier for tracking this invocation, if returned.\").nullable().optional(),\n outputValues: z.record(z.string(), z.unknown()).describe(\"The action's output parameter values for this invocation.\").nullable().optional(),\n}).passthrough().describe(\"Result for a single invocation of an invocable action.\");\nexport const SalesforceExecuteInvocableActionOutput = z.object({\n results: z.array(SalesforceExecuteInvocableAction_InvocableActionResultSchema).describe(\"One InvocableActionResult per element of the request's inputs array.\"),\n}).passthrough().describe(\"Response containing one result per input invocation.\");\n\nexport const salesforceExecuteInvocableAction = action(\"SALESFORCE_EXECUTE_INVOCABLE_ACTION\", {\n slug: \"salesforce-execute-invocable-action\",\n name: \"Execute invocable action\",\n description: \"Invoke any standard or custom invocable action by name (POST /actions/standard/{name} or /actions/custom/{name}). The 'Get standard/custom invocable actions' actions enumerate the available actions (including Flows and Apex invocable methods), but previously only emailSimple and invocableApplyLeadAssignmentRules could actually be run — this executes any of them generically. Returns one result per input.\",\n input: SalesforceExecuteInvocableActionInput,\n output: SalesforceExecuteInvocableActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK;CACnO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,aAAaA,IAAAA,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,iOAAiO;AACxR,CAAC;AACD,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,sEAAsE,EAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/execute-invocable-action.d.ts
4
+ declare const SalesforceExecuteInvocableActionInput: z.ZodObject<{
5
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ action_name: z.ZodString;
7
+ action_type: z.ZodEnum<{
8
+ custom: "custom";
9
+ standard: "standard";
10
+ }>;
11
+ }, z.core.$strip>;
12
+ declare const SalesforceExecuteInvocableActionOutput: z.ZodObject<{
13
+ results: z.ZodArray<z.ZodObject<{
14
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
15
+ isSuccess: z.ZodNullable<z.ZodBoolean>;
16
+ sortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ actionName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ invocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ outputValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
+ declare const salesforceExecuteInvocableAction: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ inputs: Record<string, unknown>[];
24
+ action_name: string;
25
+ action_type: "custom" | "standard";
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ //#endregion
28
+ export { salesforceExecuteInvocableAction };
29
+ //# sourceMappingURL=execute-invocable-action.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-invocable-action.d.cts","names":[],"sources":["../../src/actions/execute-invocable-action.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAarC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA;UAM3C,MAAA"}
@@ -0,0 +1,29 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/execute-invocable-action.d.ts
4
+ declare const SalesforceExecuteInvocableActionInput: z.ZodObject<{
5
+ inputs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ action_name: z.ZodString;
7
+ action_type: z.ZodEnum<{
8
+ custom: "custom";
9
+ standard: "standard";
10
+ }>;
11
+ }, z.core.$strip>;
12
+ declare const SalesforceExecuteInvocableActionOutput: z.ZodObject<{
13
+ results: z.ZodArray<z.ZodObject<{
14
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
15
+ isSuccess: z.ZodNullable<z.ZodBoolean>;
16
+ sortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ actionName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ invocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ outputValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
+ declare const salesforceExecuteInvocableAction: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ inputs: Record<string, unknown>[];
24
+ action_name: string;
25
+ action_type: "custom" | "standard";
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ //#endregion
28
+ export { salesforceExecuteInvocableAction };
29
+ //# sourceMappingURL=execute-invocable-action.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-invocable-action.d.mts","names":[],"sources":["../../src/actions/execute-invocable-action.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAarC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA;UAM3C,MAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/execute-invocable-action.ts
4
+ const SalesforceExecuteInvocableActionInput = z.object({
5
+ inputs: z.array(z.record(z.string(), z.unknown())).describe("Array of input maps, one per invocation. Each map's keys are the action's input parameter names. The action runs once per element and returns one result per element."),
6
+ action_name: z.string().describe("The API name of the invocable action to run (e.g., 'chatterPost' for a standard action, or the API name of a custom Flow/Apex action)."),
7
+ action_type: z.enum(["standard", "custom"]).describe("Whether the invocable action is a Salesforce standard action or a custom action (custom includes Flows and Apex invocable methods). 'Get standard invocable actions' / 'Get custom invocable actions' list the available names.")
8
+ });
9
+ const SalesforceExecuteInvocableAction_InvocableActionResultSchema = z.object({
10
+ errors: z.array(z.record(z.string(), z.unknown())).describe("Error details when isSuccess is false; null/empty on success.").nullable().optional(),
11
+ isSuccess: z.boolean().describe("Whether this invocation succeeded.").nullable(),
12
+ sortOrder: z.number().int().describe("Ordering of this result within the batch, if returned.").nullable().optional(),
13
+ actionName: z.string().describe("The name of the invoked action.").nullable().optional(),
14
+ invocationId: z.string().describe("Identifier for tracking this invocation, if returned.").nullable().optional(),
15
+ outputValues: z.record(z.string(), z.unknown()).describe("The action's output parameter values for this invocation.").nullable().optional()
16
+ }).passthrough().describe("Result for a single invocation of an invocable action.");
17
+ const salesforceExecuteInvocableAction = action("SALESFORCE_EXECUTE_INVOCABLE_ACTION", {
18
+ slug: "salesforce-execute-invocable-action",
19
+ name: "Execute invocable action",
20
+ description: "Invoke any standard or custom invocable action by name (POST /actions/standard/{name} or /actions/custom/{name}). The 'Get standard/custom invocable actions' actions enumerate the available actions (including Flows and Apex invocable methods), but previously only emailSimple and invocableApplyLeadAssignmentRules could actually be run — this executes any of them generically. Returns one result per input.",
21
+ input: SalesforceExecuteInvocableActionInput,
22
+ output: z.object({ results: z.array(SalesforceExecuteInvocableAction_InvocableActionResultSchema).describe("One InvocableActionResult per element of the request's inputs array.") }).passthrough().describe("Response containing one result per input invocation.")
23
+ });
24
+ //#endregion
25
+ export { salesforceExecuteInvocableAction };
26
+
27
+ //# sourceMappingURL=execute-invocable-action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-invocable-action.mjs","names":[],"sources":["../../src/actions/execute-invocable-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceExecuteInvocableActionInput = z.object({\n inputs: z.array(z.record(z.string(), z.unknown())).describe(\"Array of input maps, one per invocation. Each map's keys are the action's input parameter names. The action runs once per element and returns one result per element.\"),\n action_name: z.string().describe(\"The API name of the invocable action to run (e.g., 'chatterPost' for a standard action, or the API name of a custom Flow/Apex action).\"),\n action_type: z.enum([\"standard\", \"custom\"]).describe(\"Whether the invocable action is a Salesforce standard action or a custom action (custom includes Flows and Apex invocable methods). 'Get standard invocable actions' / 'Get custom invocable actions' list the available names.\"),\n});\nconst SalesforceExecuteInvocableAction_InvocableActionResultSchema = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Error details when isSuccess is false; null/empty on success.\").nullable().optional(),\n isSuccess: z.boolean().describe(\"Whether this invocation succeeded.\").nullable(),\n sortOrder: z.number().int().describe(\"Ordering of this result within the batch, if returned.\").nullable().optional(),\n actionName: z.string().describe(\"The name of the invoked action.\").nullable().optional(),\n invocationId: z.string().describe(\"Identifier for tracking this invocation, if returned.\").nullable().optional(),\n outputValues: z.record(z.string(), z.unknown()).describe(\"The action's output parameter values for this invocation.\").nullable().optional(),\n}).passthrough().describe(\"Result for a single invocation of an invocable action.\");\nexport const SalesforceExecuteInvocableActionOutput = z.object({\n results: z.array(SalesforceExecuteInvocableAction_InvocableActionResultSchema).describe(\"One InvocableActionResult per element of the request's inputs array.\"),\n}).passthrough().describe(\"Response containing one result per input invocation.\");\n\nexport const salesforceExecuteInvocableAction = action(\"SALESFORCE_EXECUTE_INVOCABLE_ACTION\", {\n slug: \"salesforce-execute-invocable-action\",\n name: \"Execute invocable action\",\n description: \"Invoke any standard or custom invocable action by name (POST /actions/standard/{name} or /actions/custom/{name}). The 'Get standard/custom invocable actions' actions enumerate the available actions (including Flows and Apex invocable methods), but previously only emailSimple and invocableApplyLeadAssignmentRules could actually be run — this executes any of them generically. Returns one result per input.\",\n input: SalesforceExecuteInvocableActionInput,\n output: SalesforceExecuteInvocableActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OA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sOutput = zod.z.object({
64
64
  const salesforceGetAllCustomObjects = require_action.action("SALESFORCE_GET_ALL_CUSTOM_OBJECTS", {
65
65
  slug: "salesforce-get-all-custom-objects",
66
66
  name: "Get all objects",
67
- description: "Retrieves all Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Use when you need to discover available objects or their capabilities.",
67
+ description: "Retrieves Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Note: the underlying Global Describe (/sobjects) is not paginated — it returns every object in one call — so the page/page_size parameters here are CLIENT-SIDE convenience slicing of that full list, not a server cursor. The full list is fetched on every call, and a page past the end returns an empty slice. Use when you need to discover available objects or their capabilities.",
68
68
  input: SalesforceGetAllCustomObjectsInput,
69
69
  output: SalesforceGetAllCustomObjectsOutput
70
70
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-custom-objects.cjs","names":["z","action"],"sources":["../../src/actions/get-all-custom-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceGetAllCustomObjectsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-indexed). Defaults to 1. Must be at least 1.\").optional(),\n page_size: z.number().int().default(50).describe(\"Number of objects to return per page. Defaults to 50. Must be between 1 and 200 (inclusive).\").optional(),\n custom_only: z.boolean().default(false).describe(\"If true, only returns custom objects (objects where custom=true). Defaults to false.\").optional(),\n});\nconst SalesforceGetAllCustomObjects_SObjectUrlsSchema = z.object({\n layouts: z.string().describe(\"URL for page layouts for this object\").nullable().optional(),\n sobject: z.string().describe(\"URL for the base sObject resource\").nullable(),\n describe: z.string().describe(\"URL for the describe endpoint that returns complete metadata for this object\").nullable(),\n listviews: z.string().describe(\"URL for list views for this object\").nullable().optional(),\n eventSchema: z.string().describe(\"URL for event schema (for platform event objects)\").nullable().optional(),\n rowTemplate: z.string().describe(\"URL template for accessing individual records, with {ID} placeholder\").nullable(),\n quickActions: z.string().describe(\"URL for quick actions available for this object\").nullable().optional(),\n compactLayouts: z.string().describe(\"URL for compact layouts for this object\").nullable().optional(),\n approvalLayouts: z.string().describe(\"URL for approval layouts for this object\").nullable().optional(),\n}).passthrough().describe(\"Contains REST API endpoint URLs for this object.\\n\\nNote: Uses extra='allow' to accept additional URL fields that may vary\\nby API version, org edition, or object type.\");\nconst SalesforceGetAllCustomObjects_SObjectMetadataSchema = z.object({\n name: z.string().describe(\"API name of the object\").nullable(),\n urls: SalesforceGetAllCustomObjects_SObjectUrlsSchema.nullable(),\n label: z.string().describe(\"Display label for the object in the user interface\").nullable(),\n custom: z.boolean().describe(\"Indicates whether this is a custom object (true) or a standard Salesforce object (false)\").nullable(),\n deletable: z.boolean().default(false).describe(\"Indicates whether the object can be deleted by the current user\").nullable().optional(),\n isSubtype: z.boolean().default(false).describe(\"Indicates whether the object is a subtype of another object\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix code for the object's record IDs. Returns null for objects without a key prefix\").nullable().optional(),\n mergeable: z.boolean().default(false).describe(\"Indicates whether records of this object type can be merged with each other\").nullable().optional(),\n queryable: z.boolean().default(false).describe(\"Indicates whether the object can be queried via SOQL\").nullable().optional(),\n createable: z.boolean().default(false).describe(\"Indicates whether the object can be created by the current user\").nullable().optional(),\n layoutable: z.boolean().default(false).describe(\"Indicates whether the object supports page layouts\").nullable().optional(),\n mruEnabled: z.boolean().default(false).describe(\"Indicates whether Most Recently Used (MRU) list tracking is enabled for this object\").nullable().optional(),\n searchable: z.boolean().default(false).describe(\"Indicates whether the object can be searched via SOSL\").nullable().optional(),\n updateable: z.boolean().default(false).describe(\"Indicates whether the object can be updated by the current user\").nullable().optional(),\n feedEnabled: z.boolean().default(false).describe(\"Indicates whether Chatter feeds are enabled for this object\").nullable().optional(),\n hasSubtypes: z.boolean().default(false).describe(\"Indicates whether the object has subtypes\").nullable().optional(),\n isInterface: z.boolean().default(false).describe(\"Indicates whether the object is an interface\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural display label for the object in the user interface\").nullable(),\n triggerable: z.boolean().default(false).describe(\"Indicates whether Apex triggers can be defined for this object\").nullable().optional(),\n undeletable: z.boolean().default(false).describe(\"Indicates whether records of this object can be undeleted from the Recycle Bin\").nullable().optional(),\n activateable: z.boolean().default(false).describe(\"Indicates whether the object can be activated\").nullable().optional(),\n retrieveable: z.boolean().default(false).describe(\"Indicates whether the object can be retrieved\").nullable().optional(),\n customSetting: z.boolean().default(false).describe(\"Indicates whether the object is a custom setting\").nullable().optional(),\n deepCloneable: z.boolean().default(false).describe(\"Indicates whether the object can be deep cloned\").nullable().optional(),\n replicateable: z.boolean().default(false).describe(\"Indicates whether the object can be replicated\").nullable().optional(),\n associateEntityType: z.string().describe(\"Type of associated entity (e.g., 'ChangeEvent', 'Feed', 'History', 'Share')\").nullable().optional(),\n deprecatedAndHidden: z.boolean().default(false).describe(\"Indicates whether the object is deprecated and hidden from the API\").nullable().optional(),\n associateParentEntity: z.string().describe(\"Name of the parent entity this object is associated with\").nullable().optional(),\n}).passthrough().describe(\"Metadata for a Salesforce sObject.\\n\\nNote: Uses extra='allow' to accept additional fields that may vary\\nby API version, org edition, or feature enablement.\\nSome fields are marked optional with defaults for cross-version compatibility.\");\nconst SalesforceGetAllCustomObjects_PaginationInfoSchema = z.object({\n page_size: z.number().int().describe(\"Number of objects per page\").nullable(),\n total_count: z.number().int().describe(\"Total number of objects matching the filter criteria\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n has_next_page: z.boolean().describe(\"Whether there is a next page of results\").nullable(),\n has_previous_page: z.boolean().describe(\"Whether there is a previous page of results\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nexport const SalesforceGetAllCustomObjectsOutput = z.object({\n encoding: z.string().describe(\"Character encoding of the response, typically UTF-8\").nullable(),\n sobjects: z.array(SalesforceGetAllCustomObjects_SObjectMetadataSchema).describe(\"Array of sObject metadata for the current page\"),\n pagination: SalesforceGetAllCustomObjects_PaginationInfoSchema.nullable(),\n maxBatchSize: z.number().int().describe(\"Maximum batch size permitted in queries for this organization\").nullable(),\n}).passthrough();\n\nexport const salesforceGetAllCustomObjects = action(\"SALESFORCE_GET_ALL_CUSTOM_OBJECTS\", {\n slug: \"salesforce-get-all-custom-objects\",\n name: \"Get all objects\",\n description: \"Retrieves all Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Use when you need to discover available objects or their capabilities.\",\n input: SalesforceGetAllCustomObjectsInput,\n output: SalesforceGetAllCustomObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1J,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACpJ,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC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O,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,gDAAgD;CAChI,YAAY,mDAAmD,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-custom-objects.cjs","names":["z","action"],"sources":["../../src/actions/get-all-custom-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceGetAllCustomObjectsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-indexed). Defaults to 1. Must be at least 1.\").optional(),\n page_size: z.number().int().default(50).describe(\"Number of objects to return per page. Defaults to 50. Must be between 1 and 200 (inclusive).\").optional(),\n custom_only: z.boolean().default(false).describe(\"If true, only returns custom objects (objects where custom=true). Defaults to false.\").optional(),\n});\nconst SalesforceGetAllCustomObjects_SObjectUrlsSchema = z.object({\n layouts: z.string().describe(\"URL for page layouts for this object\").nullable().optional(),\n sobject: z.string().describe(\"URL for the base sObject resource\").nullable(),\n describe: z.string().describe(\"URL for the describe endpoint that returns complete metadata for this object\").nullable(),\n listviews: z.string().describe(\"URL for list views for this object\").nullable().optional(),\n eventSchema: z.string().describe(\"URL for event schema (for platform event objects)\").nullable().optional(),\n rowTemplate: z.string().describe(\"URL template for accessing individual records, with {ID} placeholder\").nullable(),\n quickActions: z.string().describe(\"URL for quick actions available for this object\").nullable().optional(),\n compactLayouts: z.string().describe(\"URL for compact layouts for this object\").nullable().optional(),\n approvalLayouts: z.string().describe(\"URL for approval layouts for this object\").nullable().optional(),\n}).passthrough().describe(\"Contains REST API endpoint URLs for this object.\\n\\nNote: Uses extra='allow' to accept additional URL fields that may vary\\nby API version, org edition, or object type.\");\nconst SalesforceGetAllCustomObjects_SObjectMetadataSchema = z.object({\n name: z.string().describe(\"API name of the object\").nullable(),\n urls: SalesforceGetAllCustomObjects_SObjectUrlsSchema.nullable(),\n label: z.string().describe(\"Display label for the object in the user interface\").nullable(),\n custom: z.boolean().describe(\"Indicates whether this is a custom object (true) or a standard Salesforce object (false)\").nullable(),\n deletable: z.boolean().default(false).describe(\"Indicates whether the object can be deleted by the current user\").nullable().optional(),\n isSubtype: z.boolean().default(false).describe(\"Indicates whether the object is a subtype of another object\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix code for the object's record IDs. Returns null for objects without a key prefix\").nullable().optional(),\n mergeable: z.boolean().default(false).describe(\"Indicates whether records of this object type can be merged with each other\").nullable().optional(),\n queryable: z.boolean().default(false).describe(\"Indicates whether the object can be queried via SOQL\").nullable().optional(),\n createable: z.boolean().default(false).describe(\"Indicates whether the object can be created by the current user\").nullable().optional(),\n layoutable: z.boolean().default(false).describe(\"Indicates whether the object supports page layouts\").nullable().optional(),\n mruEnabled: z.boolean().default(false).describe(\"Indicates whether Most Recently Used (MRU) list tracking is enabled for this object\").nullable().optional(),\n searchable: z.boolean().default(false).describe(\"Indicates whether the object can be searched via SOSL\").nullable().optional(),\n updateable: z.boolean().default(false).describe(\"Indicates whether the object can be updated by the current user\").nullable().optional(),\n feedEnabled: z.boolean().default(false).describe(\"Indicates whether Chatter feeds are enabled for this object\").nullable().optional(),\n hasSubtypes: z.boolean().default(false).describe(\"Indicates whether the object has subtypes\").nullable().optional(),\n isInterface: z.boolean().default(false).describe(\"Indicates whether the object is an interface\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural display label for the object in the user interface\").nullable(),\n triggerable: z.boolean().default(false).describe(\"Indicates whether Apex triggers can be defined for this object\").nullable().optional(),\n undeletable: z.boolean().default(false).describe(\"Indicates whether records of this object can be undeleted from the Recycle Bin\").nullable().optional(),\n activateable: z.boolean().default(false).describe(\"Indicates whether the object can be activated\").nullable().optional(),\n retrieveable: z.boolean().default(false).describe(\"Indicates whether the object can be retrieved\").nullable().optional(),\n customSetting: z.boolean().default(false).describe(\"Indicates whether the object is a custom setting\").nullable().optional(),\n deepCloneable: z.boolean().default(false).describe(\"Indicates whether the object can be deep cloned\").nullable().optional(),\n replicateable: z.boolean().default(false).describe(\"Indicates whether the object can be replicated\").nullable().optional(),\n associateEntityType: z.string().describe(\"Type of associated entity (e.g., 'ChangeEvent', 'Feed', 'History', 'Share')\").nullable().optional(),\n deprecatedAndHidden: z.boolean().default(false).describe(\"Indicates whether the object is deprecated and hidden from the API\").nullable().optional(),\n associateParentEntity: z.string().describe(\"Name of the parent entity this object is associated with\").nullable().optional(),\n}).passthrough().describe(\"Metadata for a Salesforce sObject.\\n\\nNote: Uses extra='allow' to accept additional fields that may vary\\nby API version, org edition, or feature enablement.\\nSome fields are marked optional with defaults for cross-version compatibility.\");\nconst SalesforceGetAllCustomObjects_PaginationInfoSchema = z.object({\n page_size: z.number().int().describe(\"Number of objects per page\").nullable(),\n total_count: z.number().int().describe(\"Total number of objects matching the filter criteria\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n has_next_page: z.boolean().describe(\"Whether there is a next page of results\").nullable(),\n has_previous_page: z.boolean().describe(\"Whether there is a previous page of results\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nexport const SalesforceGetAllCustomObjectsOutput = z.object({\n encoding: z.string().describe(\"Character encoding of the response, typically UTF-8\").nullable(),\n sobjects: z.array(SalesforceGetAllCustomObjects_SObjectMetadataSchema).describe(\"Array of sObject metadata for the current page\"),\n pagination: SalesforceGetAllCustomObjects_PaginationInfoSchema.nullable(),\n maxBatchSize: z.number().int().describe(\"Maximum batch size permitted in queries for this organization\").nullable(),\n}).passthrough();\n\nexport const salesforceGetAllCustomObjects = action(\"SALESFORCE_GET_ALL_CUSTOM_OBJECTS\", {\n slug: \"salesforce-get-all-custom-objects\",\n name: \"Get all objects\",\n description: \"Retrieves Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Note: the underlying Global Describe (/sobjects) is not paginated — it returns every object in one call — so the page/page_size parameters here are CLIENT-SIDE convenience slicing of that full list, not a server cursor. The full list is fetched on every call, and a page past the end returns an empty slice. Use when you need to discover available objects or their capabilities.\",\n input: SalesforceGetAllCustomObjectsInput,\n output: SalesforceGetAllCustomObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EA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D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,gDAAgD;CAChI,YAAY,mDAAmD,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -58,7 +58,7 @@ const SalesforceGetAllCustomObjects_PaginationInfoSchema = z.object({
58
58
  const salesforceGetAllCustomObjects = action("SALESFORCE_GET_ALL_CUSTOM_OBJECTS", {
59
59
  slug: "salesforce-get-all-custom-objects",
60
60
  name: "Get all objects",
61
- description: "Retrieves all Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Use when you need to discover available objects or their capabilities.",
61
+ description: "Retrieves Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Note: the underlying Global Describe (/sobjects) is not paginated — it returns every object in one call — so the page/page_size parameters here are CLIENT-SIDE convenience slicing of that full list, not a server cursor. The full list is fetched on every call, and a page past the end returns an empty slice. Use when you need to discover available objects or their capabilities.",
62
62
  input: SalesforceGetAllCustomObjectsInput,
63
63
  output: z.object({
64
64
  encoding: z.string().describe("Character encoding of the response, typically UTF-8").nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-custom-objects.mjs","names":[],"sources":["../../src/actions/get-all-custom-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceGetAllCustomObjectsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-indexed). Defaults to 1. Must be at least 1.\").optional(),\n page_size: z.number().int().default(50).describe(\"Number of objects to return per page. Defaults to 50. Must be between 1 and 200 (inclusive).\").optional(),\n custom_only: z.boolean().default(false).describe(\"If true, only returns custom objects (objects where custom=true). Defaults to false.\").optional(),\n});\nconst SalesforceGetAllCustomObjects_SObjectUrlsSchema = z.object({\n layouts: z.string().describe(\"URL for page layouts for this object\").nullable().optional(),\n sobject: z.string().describe(\"URL for the base sObject resource\").nullable(),\n describe: z.string().describe(\"URL for the describe endpoint that returns complete metadata for this object\").nullable(),\n listviews: z.string().describe(\"URL for list views for this object\").nullable().optional(),\n eventSchema: z.string().describe(\"URL for event schema (for platform event objects)\").nullable().optional(),\n rowTemplate: z.string().describe(\"URL template for accessing individual records, with {ID} placeholder\").nullable(),\n quickActions: z.string().describe(\"URL for quick actions available for this object\").nullable().optional(),\n compactLayouts: z.string().describe(\"URL for compact layouts for this object\").nullable().optional(),\n approvalLayouts: z.string().describe(\"URL for approval layouts for this object\").nullable().optional(),\n}).passthrough().describe(\"Contains REST API endpoint URLs for this object.\\n\\nNote: Uses extra='allow' to accept additional URL fields that may vary\\nby API version, org edition, or object type.\");\nconst SalesforceGetAllCustomObjects_SObjectMetadataSchema = z.object({\n name: z.string().describe(\"API name of the object\").nullable(),\n urls: SalesforceGetAllCustomObjects_SObjectUrlsSchema.nullable(),\n label: z.string().describe(\"Display label for the object in the user interface\").nullable(),\n custom: z.boolean().describe(\"Indicates whether this is a custom object (true) or a standard Salesforce object (false)\").nullable(),\n deletable: z.boolean().default(false).describe(\"Indicates whether the object can be deleted by the current user\").nullable().optional(),\n isSubtype: z.boolean().default(false).describe(\"Indicates whether the object is a subtype of another object\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix code for the object's record IDs. Returns null for objects without a key prefix\").nullable().optional(),\n mergeable: z.boolean().default(false).describe(\"Indicates whether records of this object type can be merged with each other\").nullable().optional(),\n queryable: z.boolean().default(false).describe(\"Indicates whether the object can be queried via SOQL\").nullable().optional(),\n createable: z.boolean().default(false).describe(\"Indicates whether the object can be created by the current user\").nullable().optional(),\n layoutable: z.boolean().default(false).describe(\"Indicates whether the object supports page layouts\").nullable().optional(),\n mruEnabled: z.boolean().default(false).describe(\"Indicates whether Most Recently Used (MRU) list tracking is enabled for this object\").nullable().optional(),\n searchable: z.boolean().default(false).describe(\"Indicates whether the object can be searched via SOSL\").nullable().optional(),\n updateable: z.boolean().default(false).describe(\"Indicates whether the object can be updated by the current user\").nullable().optional(),\n feedEnabled: z.boolean().default(false).describe(\"Indicates whether Chatter feeds are enabled for this object\").nullable().optional(),\n hasSubtypes: z.boolean().default(false).describe(\"Indicates whether the object has subtypes\").nullable().optional(),\n isInterface: z.boolean().default(false).describe(\"Indicates whether the object is an interface\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural display label for the object in the user interface\").nullable(),\n triggerable: z.boolean().default(false).describe(\"Indicates whether Apex triggers can be defined for this object\").nullable().optional(),\n undeletable: z.boolean().default(false).describe(\"Indicates whether records of this object can be undeleted from the Recycle Bin\").nullable().optional(),\n activateable: z.boolean().default(false).describe(\"Indicates whether the object can be activated\").nullable().optional(),\n retrieveable: z.boolean().default(false).describe(\"Indicates whether the object can be retrieved\").nullable().optional(),\n customSetting: z.boolean().default(false).describe(\"Indicates whether the object is a custom setting\").nullable().optional(),\n deepCloneable: z.boolean().default(false).describe(\"Indicates whether the object can be deep cloned\").nullable().optional(),\n replicateable: z.boolean().default(false).describe(\"Indicates whether the object can be replicated\").nullable().optional(),\n associateEntityType: z.string().describe(\"Type of associated entity (e.g., 'ChangeEvent', 'Feed', 'History', 'Share')\").nullable().optional(),\n deprecatedAndHidden: z.boolean().default(false).describe(\"Indicates whether the object is deprecated and hidden from the API\").nullable().optional(),\n associateParentEntity: z.string().describe(\"Name of the parent entity this object is associated with\").nullable().optional(),\n}).passthrough().describe(\"Metadata for a Salesforce sObject.\\n\\nNote: Uses extra='allow' to accept additional fields that may vary\\nby API version, org edition, or feature enablement.\\nSome fields are marked optional with defaults for cross-version compatibility.\");\nconst SalesforceGetAllCustomObjects_PaginationInfoSchema = z.object({\n page_size: z.number().int().describe(\"Number of objects per page\").nullable(),\n total_count: z.number().int().describe(\"Total number of objects matching the filter criteria\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n has_next_page: z.boolean().describe(\"Whether there is a next page of results\").nullable(),\n has_previous_page: z.boolean().describe(\"Whether there is a previous page of results\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nexport const SalesforceGetAllCustomObjectsOutput = z.object({\n encoding: z.string().describe(\"Character encoding of the response, typically UTF-8\").nullable(),\n sobjects: z.array(SalesforceGetAllCustomObjects_SObjectMetadataSchema).describe(\"Array of sObject metadata for the current page\"),\n pagination: SalesforceGetAllCustomObjects_PaginationInfoSchema.nullable(),\n maxBatchSize: z.number().int().describe(\"Maximum batch size permitted in queries for this organization\").nullable(),\n}).passthrough();\n\nexport const salesforceGetAllCustomObjects = action(\"SALESFORCE_GET_ALL_CUSTOM_OBJECTS\", {\n slug: \"salesforce-get-all-custom-objects\",\n name: \"Get all objects\",\n description: \"Retrieves all Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Use when you need to discover available objects or their capabilities.\",\n input: SalesforceGetAllCustomObjectsInput,\n output: SalesforceGetAllCustomObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1J,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACpJ,CAAC;AACD,MAAM,kDAAkD,EAAE,O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CAAC,YAAY,CAAC,CAAC,SAAS,+OAA+O;AACzQ,MAAM,qDAAqD,EAAE,OAAO;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAQjE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,gDAAgD;EAChI,YAAY,mDAAmD,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-custom-objects.mjs","names":[],"sources":["../../src/actions/get-all-custom-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceGetAllCustomObjectsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-indexed). Defaults to 1. Must be at least 1.\").optional(),\n page_size: z.number().int().default(50).describe(\"Number of objects to return per page. Defaults to 50. Must be between 1 and 200 (inclusive).\").optional(),\n custom_only: z.boolean().default(false).describe(\"If true, only returns custom objects (objects where custom=true). Defaults to false.\").optional(),\n});\nconst SalesforceGetAllCustomObjects_SObjectUrlsSchema = z.object({\n layouts: z.string().describe(\"URL for page layouts for this object\").nullable().optional(),\n sobject: z.string().describe(\"URL for the base sObject resource\").nullable(),\n describe: z.string().describe(\"URL for the describe endpoint that returns complete metadata for this object\").nullable(),\n listviews: z.string().describe(\"URL for list views for this object\").nullable().optional(),\n eventSchema: z.string().describe(\"URL for event schema (for platform event objects)\").nullable().optional(),\n rowTemplate: z.string().describe(\"URL template for accessing individual records, with {ID} placeholder\").nullable(),\n quickActions: z.string().describe(\"URL for quick actions available for this object\").nullable().optional(),\n compactLayouts: z.string().describe(\"URL for compact layouts for this object\").nullable().optional(),\n approvalLayouts: z.string().describe(\"URL for approval layouts for this object\").nullable().optional(),\n}).passthrough().describe(\"Contains REST API endpoint URLs for this object.\\n\\nNote: Uses extra='allow' to accept additional URL fields that may vary\\nby API version, org edition, or object type.\");\nconst SalesforceGetAllCustomObjects_SObjectMetadataSchema = z.object({\n name: z.string().describe(\"API name of the object\").nullable(),\n urls: SalesforceGetAllCustomObjects_SObjectUrlsSchema.nullable(),\n label: z.string().describe(\"Display label for the object in the user interface\").nullable(),\n custom: z.boolean().describe(\"Indicates whether this is a custom object (true) or a standard Salesforce object (false)\").nullable(),\n deletable: z.boolean().default(false).describe(\"Indicates whether the object can be deleted by the current user\").nullable().optional(),\n isSubtype: z.boolean().default(false).describe(\"Indicates whether the object is a subtype of another object\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix code for the object's record IDs. Returns null for objects without a key prefix\").nullable().optional(),\n mergeable: z.boolean().default(false).describe(\"Indicates whether records of this object type can be merged with each other\").nullable().optional(),\n queryable: z.boolean().default(false).describe(\"Indicates whether the object can be queried via SOQL\").nullable().optional(),\n createable: z.boolean().default(false).describe(\"Indicates whether the object can be created by the current user\").nullable().optional(),\n layoutable: z.boolean().default(false).describe(\"Indicates whether the object supports page layouts\").nullable().optional(),\n mruEnabled: z.boolean().default(false).describe(\"Indicates whether Most Recently Used (MRU) list tracking is enabled for this object\").nullable().optional(),\n searchable: z.boolean().default(false).describe(\"Indicates whether the object can be searched via SOSL\").nullable().optional(),\n updateable: z.boolean().default(false).describe(\"Indicates whether the object can be updated by the current user\").nullable().optional(),\n feedEnabled: z.boolean().default(false).describe(\"Indicates whether Chatter feeds are enabled for this object\").nullable().optional(),\n hasSubtypes: z.boolean().default(false).describe(\"Indicates whether the object has subtypes\").nullable().optional(),\n isInterface: z.boolean().default(false).describe(\"Indicates whether the object is an interface\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural display label for the object in the user interface\").nullable(),\n triggerable: z.boolean().default(false).describe(\"Indicates whether Apex triggers can be defined for this object\").nullable().optional(),\n undeletable: z.boolean().default(false).describe(\"Indicates whether records of this object can be undeleted from the Recycle Bin\").nullable().optional(),\n activateable: z.boolean().default(false).describe(\"Indicates whether the object can be activated\").nullable().optional(),\n retrieveable: z.boolean().default(false).describe(\"Indicates whether the object can be retrieved\").nullable().optional(),\n customSetting: z.boolean().default(false).describe(\"Indicates whether the object is a custom setting\").nullable().optional(),\n deepCloneable: z.boolean().default(false).describe(\"Indicates whether the object can be deep cloned\").nullable().optional(),\n replicateable: z.boolean().default(false).describe(\"Indicates whether the object can be replicated\").nullable().optional(),\n associateEntityType: z.string().describe(\"Type of associated entity (e.g., 'ChangeEvent', 'Feed', 'History', 'Share')\").nullable().optional(),\n deprecatedAndHidden: z.boolean().default(false).describe(\"Indicates whether the object is deprecated and hidden from the API\").nullable().optional(),\n associateParentEntity: z.string().describe(\"Name of the parent entity this object is associated with\").nullable().optional(),\n}).passthrough().describe(\"Metadata for a Salesforce sObject.\\n\\nNote: Uses extra='allow' to accept additional fields that may vary\\nby API version, org edition, or feature enablement.\\nSome fields are marked optional with defaults for cross-version compatibility.\");\nconst SalesforceGetAllCustomObjects_PaginationInfoSchema = z.object({\n page_size: z.number().int().describe(\"Number of objects per page\").nullable(),\n total_count: z.number().int().describe(\"Total number of objects matching the filter criteria\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n has_next_page: z.boolean().describe(\"Whether there is a next page of results\").nullable(),\n has_previous_page: z.boolean().describe(\"Whether there is a previous page of results\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nexport const SalesforceGetAllCustomObjectsOutput = z.object({\n encoding: z.string().describe(\"Character encoding of the response, typically UTF-8\").nullable(),\n sobjects: z.array(SalesforceGetAllCustomObjects_SObjectMetadataSchema).describe(\"Array of sObject metadata for the current page\"),\n pagination: SalesforceGetAllCustomObjects_PaginationInfoSchema.nullable(),\n maxBatchSize: z.number().int().describe(\"Maximum batch size permitted in queries for this organization\").nullable(),\n}).passthrough();\n\nexport const salesforceGetAllCustomObjects = action(\"SALESFORCE_GET_ALL_CUSTOM_OBJECTS\", {\n slug: \"salesforce-get-all-custom-objects\",\n name: \"Get all objects\",\n description: \"Retrieves Salesforce objects (standard and custom) with detailed metadata. Each object includes a 'custom' field to identify custom objects. Note: the underlying Global Describe (/sobjects) is not paginated — it returns every object in one call — so the page/page_size parameters here are CLIENT-SIDE convenience slicing of that full list, not a server cursor. The full list is fetched on every call, and a page past the end returns an empty slice. Use when you need to discover available objects or their capabilities.\",\n input: SalesforceGetAllCustomObjectsInput,\n output: SalesforceGetAllCustomObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAA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small"
10
- ]).describe("Specifies the device form factor for which to retrieve app metadata. 'Large' for desktop/web client (default), 'Medium' for tablet client, 'Small' for phone/mobile client.").optional()
10
+ ]).default("Large").describe("Specifies the device form factor for which to retrieve app metadata. Required by the UI API; defaults to 'Large'. 'Large' for desktop/web client, 'Medium' for tablet client, 'Small' for phone/mobile client.").optional()
11
11
  });
12
12
  const SalesforceGetApp_PageReferenceStateSchema = zod.z.object({ filterName: zod.z.string().describe("Name of the filter being applied.").nullable().optional() }).passthrough().describe("State parameters for a page reference.");
13
13
  const SalesforceGetApp_PageReferenceAttributesSchema = zod.z.object({