@keystrokehq/salesforce_service_cloud 0.1.4 → 0.1.5

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 (189) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/chasitor-sneak-peek.cjs +1 -0
  4. package/dist/actions/chasitor-sneak-peek.cjs.map +1 -1
  5. package/dist/actions/chasitor-sneak-peek.d.cts +3 -20
  6. package/dist/actions/chasitor-sneak-peek.d.cts.map +1 -1
  7. package/dist/actions/chasitor-sneak-peek.d.mts +3 -20
  8. package/dist/actions/chasitor-sneak-peek.d.mts.map +1 -1
  9. package/dist/actions/chasitor-sneak-peek.mjs +1 -0
  10. package/dist/actions/chasitor-sneak-peek.mjs.map +1 -1
  11. package/dist/actions/composite-batch.cjs +1 -0
  12. package/dist/actions/composite-batch.cjs.map +1 -1
  13. package/dist/actions/composite-batch.d.cts +4 -22
  14. package/dist/actions/composite-batch.d.cts.map +1 -1
  15. package/dist/actions/composite-batch.d.mts +4 -22
  16. package/dist/actions/composite-batch.d.mts.map +1 -1
  17. package/dist/actions/composite-batch.mjs +1 -0
  18. package/dist/actions/composite-batch.mjs.map +1 -1
  19. package/dist/actions/composite-request.cjs +1 -0
  20. package/dist/actions/composite-request.cjs.map +1 -1
  21. package/dist/actions/composite-request.d.cts +3 -23
  22. package/dist/actions/composite-request.d.cts.map +1 -1
  23. package/dist/actions/composite-request.d.mts +3 -23
  24. package/dist/actions/composite-request.d.mts.map +1 -1
  25. package/dist/actions/composite-request.mjs +1 -0
  26. package/dist/actions/composite-request.mjs.map +1 -1
  27. package/dist/actions/composite-sobject-tree.cjs +1 -0
  28. package/dist/actions/composite-sobject-tree.cjs.map +1 -1
  29. package/dist/actions/composite-sobject-tree.d.cts +3 -22
  30. package/dist/actions/composite-sobject-tree.d.cts.map +1 -1
  31. package/dist/actions/composite-sobject-tree.d.mts +3 -22
  32. package/dist/actions/composite-sobject-tree.d.mts.map +1 -1
  33. package/dist/actions/composite-sobject-tree.mjs +1 -0
  34. package/dist/actions/composite-sobject-tree.mjs.map +1 -1
  35. package/dist/actions/create-case-record.cjs +1 -0
  36. package/dist/actions/create-case-record.cjs.map +1 -1
  37. package/dist/actions/create-case-record.d.cts +3 -21
  38. package/dist/actions/create-case-record.d.cts.map +1 -1
  39. package/dist/actions/create-case-record.d.mts +3 -21
  40. package/dist/actions/create-case-record.d.mts.map +1 -1
  41. package/dist/actions/create-case-record.mjs +1 -0
  42. package/dist/actions/create-case-record.mjs.map +1 -1
  43. package/dist/actions/delete-case-record.cjs +1 -0
  44. package/dist/actions/delete-case-record.cjs.map +1 -1
  45. package/dist/actions/delete-case-record.d.cts +3 -15
  46. package/dist/actions/delete-case-record.d.cts.map +1 -1
  47. package/dist/actions/delete-case-record.d.mts +3 -15
  48. package/dist/actions/delete-case-record.d.mts.map +1 -1
  49. package/dist/actions/delete-case-record.mjs +1 -0
  50. package/dist/actions/delete-case-record.mjs.map +1 -1
  51. package/dist/actions/describe-s-object.cjs +1 -0
  52. package/dist/actions/describe-s-object.cjs.map +1 -1
  53. package/dist/actions/describe-s-object.d.cts +3 -15
  54. package/dist/actions/describe-s-object.d.cts.map +1 -1
  55. package/dist/actions/describe-s-object.d.mts +3 -15
  56. package/dist/actions/describe-s-object.d.mts.map +1 -1
  57. package/dist/actions/describe-s-object.mjs +1 -0
  58. package/dist/actions/describe-s-object.mjs.map +1 -1
  59. package/dist/actions/generate-request-id.cjs +1 -0
  60. package/dist/actions/generate-request-id.cjs.map +1 -1
  61. package/dist/actions/generate-request-id.d.cts +3 -13
  62. package/dist/actions/generate-request-id.d.cts.map +1 -1
  63. package/dist/actions/generate-request-id.d.mts +3 -13
  64. package/dist/actions/generate-request-id.d.mts.map +1 -1
  65. package/dist/actions/generate-request-id.mjs +1 -0
  66. package/dist/actions/generate-request-id.mjs.map +1 -1
  67. package/dist/actions/generate-signed-jwt-assertion.cjs +1 -0
  68. package/dist/actions/generate-signed-jwt-assertion.cjs.map +1 -1
  69. package/dist/actions/generate-signed-jwt-assertion.d.cts +3 -20
  70. package/dist/actions/generate-signed-jwt-assertion.d.cts.map +1 -1
  71. package/dist/actions/generate-signed-jwt-assertion.d.mts +3 -20
  72. package/dist/actions/generate-signed-jwt-assertion.d.mts.map +1 -1
  73. package/dist/actions/generate-signed-jwt-assertion.mjs +1 -0
  74. package/dist/actions/generate-signed-jwt-assertion.mjs.map +1 -1
  75. package/dist/actions/get-case-record.cjs +1 -0
  76. package/dist/actions/get-case-record.cjs.map +1 -1
  77. package/dist/actions/get-case-record.d.cts +3 -16
  78. package/dist/actions/get-case-record.d.cts.map +1 -1
  79. package/dist/actions/get-case-record.d.mts +3 -16
  80. package/dist/actions/get-case-record.d.mts.map +1 -1
  81. package/dist/actions/get-case-record.mjs +1 -0
  82. package/dist/actions/get-case-record.mjs.map +1 -1
  83. package/dist/actions/get-chat-messages.cjs +1 -0
  84. package/dist/actions/get-chat-messages.cjs.map +1 -1
  85. package/dist/actions/get-chat-messages.d.cts +3 -18
  86. package/dist/actions/get-chat-messages.d.cts.map +1 -1
  87. package/dist/actions/get-chat-messages.d.mts +3 -18
  88. package/dist/actions/get-chat-messages.d.mts.map +1 -1
  89. package/dist/actions/get-chat-messages.mjs +1 -0
  90. package/dist/actions/get-chat-messages.mjs.map +1 -1
  91. package/dist/actions/get-live-agent-api-version.cjs +1 -0
  92. package/dist/actions/get-live-agent-api-version.cjs.map +1 -1
  93. package/dist/actions/get-live-agent-api-version.d.cts +3 -13
  94. package/dist/actions/get-live-agent-api-version.d.cts.map +1 -1
  95. package/dist/actions/get-live-agent-api-version.d.mts +3 -13
  96. package/dist/actions/get-live-agent-api-version.d.mts.map +1 -1
  97. package/dist/actions/get-live-agent-api-version.mjs +1 -0
  98. package/dist/actions/get-live-agent-api-version.mjs.map +1 -1
  99. package/dist/actions/list-einstein-bots.cjs +1 -0
  100. package/dist/actions/list-einstein-bots.cjs.map +1 -1
  101. package/dist/actions/list-einstein-bots.d.cts +3 -13
  102. package/dist/actions/list-einstein-bots.d.cts.map +1 -1
  103. package/dist/actions/list-einstein-bots.d.mts +3 -13
  104. package/dist/actions/list-einstein-bots.d.mts.map +1 -1
  105. package/dist/actions/list-einstein-bots.mjs +1 -0
  106. package/dist/actions/list-einstein-bots.mjs.map +1 -1
  107. package/dist/actions/query-all-soql.cjs +1 -0
  108. package/dist/actions/query-all-soql.cjs.map +1 -1
  109. package/dist/actions/query-all-soql.d.cts +3 -15
  110. package/dist/actions/query-all-soql.d.cts.map +1 -1
  111. package/dist/actions/query-all-soql.d.mts +3 -15
  112. package/dist/actions/query-all-soql.d.mts.map +1 -1
  113. package/dist/actions/query-all-soql.mjs +1 -0
  114. package/dist/actions/query-all-soql.mjs.map +1 -1
  115. package/dist/actions/query-soql.cjs +1 -0
  116. package/dist/actions/query-soql.cjs.map +1 -1
  117. package/dist/actions/query-soql.d.cts +3 -15
  118. package/dist/actions/query-soql.d.cts.map +1 -1
  119. package/dist/actions/query-soql.d.mts +3 -15
  120. package/dist/actions/query-soql.d.mts.map +1 -1
  121. package/dist/actions/query-soql.mjs +1 -0
  122. package/dist/actions/query-soql.mjs.map +1 -1
  123. package/dist/actions/reconnect-chat-session.cjs +1 -0
  124. package/dist/actions/reconnect-chat-session.cjs.map +1 -1
  125. package/dist/actions/reconnect-chat-session.d.cts +3 -18
  126. package/dist/actions/reconnect-chat-session.d.cts.map +1 -1
  127. package/dist/actions/reconnect-chat-session.d.mts +3 -18
  128. package/dist/actions/reconnect-chat-session.d.mts.map +1 -1
  129. package/dist/actions/reconnect-chat-session.mjs +1 -0
  130. package/dist/actions/reconnect-chat-session.mjs.map +1 -1
  131. package/dist/actions/resync-chasitor-state.cjs +1 -0
  132. package/dist/actions/resync-chasitor-state.cjs.map +1 -1
  133. package/dist/actions/resync-chasitor-state.d.cts +3 -19
  134. package/dist/actions/resync-chasitor-state.d.cts.map +1 -1
  135. package/dist/actions/resync-chasitor-state.d.mts +3 -19
  136. package/dist/actions/resync-chasitor-state.d.mts.map +1 -1
  137. package/dist/actions/resync-chasitor-state.mjs +1 -0
  138. package/dist/actions/resync-chasitor-state.mjs.map +1 -1
  139. package/dist/actions/retrieve-salesforce-username.cjs +1 -0
  140. package/dist/actions/retrieve-salesforce-username.cjs.map +1 -1
  141. package/dist/actions/retrieve-salesforce-username.d.cts +3 -13
  142. package/dist/actions/retrieve-salesforce-username.d.cts.map +1 -1
  143. package/dist/actions/retrieve-salesforce-username.d.mts +3 -13
  144. package/dist/actions/retrieve-salesforce-username.d.mts.map +1 -1
  145. package/dist/actions/retrieve-salesforce-username.mjs +1 -0
  146. package/dist/actions/retrieve-salesforce-username.mjs.map +1 -1
  147. package/dist/actions/send-custom-event.cjs +1 -0
  148. package/dist/actions/send-custom-event.cjs.map +1 -1
  149. package/dist/actions/send-custom-event.d.cts +3 -20
  150. package/dist/actions/send-custom-event.d.cts.map +1 -1
  151. package/dist/actions/send-custom-event.d.mts +3 -20
  152. package/dist/actions/send-custom-event.d.mts.map +1 -1
  153. package/dist/actions/send-custom-event.mjs +1 -0
  154. package/dist/actions/send-custom-event.mjs.map +1 -1
  155. package/dist/actions/set-breadcrumb.cjs +1 -0
  156. package/dist/actions/set-breadcrumb.cjs.map +1 -1
  157. package/dist/actions/set-breadcrumb.d.cts +3 -19
  158. package/dist/actions/set-breadcrumb.d.cts.map +1 -1
  159. package/dist/actions/set-breadcrumb.d.mts +3 -19
  160. package/dist/actions/set-breadcrumb.d.mts.map +1 -1
  161. package/dist/actions/set-breadcrumb.mjs +1 -0
  162. package/dist/actions/set-breadcrumb.mjs.map +1 -1
  163. package/dist/actions/upload-file-to-s3.cjs +1 -0
  164. package/dist/actions/upload-file-to-s3.cjs.map +1 -1
  165. package/dist/actions/upload-file-to-s3.d.cts +3 -19
  166. package/dist/actions/upload-file-to-s3.d.cts.map +1 -1
  167. package/dist/actions/upload-file-to-s3.d.mts +3 -19
  168. package/dist/actions/upload-file-to-s3.d.mts.map +1 -1
  169. package/dist/actions/upload-file-to-s3.mjs +1 -0
  170. package/dist/actions/upload-file-to-s3.mjs.map +1 -1
  171. package/dist/actions/visitor-sensitive-data-rule.cjs +1 -0
  172. package/dist/actions/visitor-sensitive-data-rule.cjs.map +1 -1
  173. package/dist/actions/visitor-sensitive-data-rule.d.cts +3 -23
  174. package/dist/actions/visitor-sensitive-data-rule.d.cts.map +1 -1
  175. package/dist/actions/visitor-sensitive-data-rule.d.mts +3 -23
  176. package/dist/actions/visitor-sensitive-data-rule.d.mts.map +1 -1
  177. package/dist/actions/visitor-sensitive-data-rule.mjs +1 -0
  178. package/dist/actions/visitor-sensitive-data-rule.mjs.map +1 -1
  179. package/dist/app.cjs +2 -2
  180. package/dist/app.cjs.map +1 -1
  181. package/dist/app.d.cts +4 -6
  182. package/dist/app.d.cts.map +1 -1
  183. package/dist/app.d.mts +4 -6
  184. package/dist/app.d.mts.map +1 -1
  185. package/dist/app.mjs +0 -1
  186. package/dist/app.mjs.map +1 -1
  187. package/dist/index.d.cts +1 -1
  188. package/dist/index.d.mts +1 -1
  189. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"composite-sobject-tree.mjs","names":[],"sources":["../../src/actions/composite-sobject-tree.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudCompositeSobjectTreeInput = z.object({\n records: z.array(z.object({\n attributes: z.object({\n type: z.string().describe(\"sObject API name for this record (e.g., 'Account', 'Contact')\"),\n referenceId: z.string().describe(\"Unique client-defined reference ID (e.g., 'ref1', 'accountRef001') used to correlate request records with response results\"),\n}).describe(\"Metadata for the sObject record including type and referenceId\"),\n}).passthrough().describe(\"A record tree for composite insert, allowing nested child records.\")).describe(\"List of sObject tree records to create. Each record must have 'attributes' (with 'type' and 'referenceId') and field values. Child records are specified using relationship name as key (e.g., 'Contacts'). Maximum 200 total records across all trees, up to 5 levels deep.\"),\n objectApiName: z.string().describe(\"Root sObject API name (e.g., 'Account', 'Contact', 'Case'). All root records in the request must be of this type.\"),\n}).describe(\"Request model for Composite SObject Tree endpoint.\");\nconst SalesforceServiceCloudCompositeSobjectTree_ErrorDetailSchema = z.object({\n fields: z.array(z.string()).describe(\"Fields involved in the error\").nullable().optional(),\n message: z.string().describe(\"Error message\").nullable(),\n errorCode: z.string().describe(\"Error code for the failed record\").nullable().optional(),\n}).passthrough().describe(\"Error detail for a failed record in the response.\");\nconst SalesforceServiceCloudCompositeSobjectTree_CompositeSobjectTreeRecordResultSchema = z.object({\n id: z.string().describe(\"Salesforce ID of the created record\").nullable().optional(),\n errors: z.array(SalesforceServiceCloudCompositeSobjectTree_ErrorDetailSchema).describe(\"Error details if this record creation failed\").nullable().optional(),\n referenceId: z.string().describe(\"Echo of the client-defined referenceId\").nullable(),\n}).passthrough().describe(\"Result for an individual record in the composite tree response.\");\nexport const SalesforceServiceCloudCompositeSobjectTreeOutput = z.object({\n results: z.array(SalesforceServiceCloudCompositeSobjectTree_CompositeSobjectTreeRecordResultSchema).describe(\"List of results matching each submitted record\"),\n hasErrors: z.boolean().describe(\"Indicates if any record failed to create\").nullable(),\n}).passthrough().describe(\"Response model for Composite SObject Tree endpoint.\");\n\nexport const salesforceServiceCloudCompositeSobjectTree = action(\"SALESFORCE_SERVICE_CLOUD_COMPOSITE_SOBJECT_TREE\", {\n slug: \"salesforce_service_cloud-composite-sobject-tree\",\n name: \"Composite SObject Tree\",\n description: \"Create one or more nested sObject record trees in a single API call. Supports parent-child relationships up to 5 levels deep, with a maximum of 200 total records across all trees. Use this for bulk insertion of related records (e.g., Account with Contacts, or Orders with Line Items). Relationships must be Master-Detail or Lookup. Only supports INSERT operations, not upserts.\",\n input: SalesforceServiceCloudCompositeSobjectTreeInput,\n output: SalesforceServiceCloudCompositeSobjectTreeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkD,EAAE,OAAO;CACtE,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,YAAY,EAAE,OAAO;E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AC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"composite-sobject-tree.mjs","names":[],"sources":["../../src/actions/composite-sobject-tree.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudCompositeSobjectTreeInput = z.object({\n records: z.array(z.object({\n attributes: z.object({\n type: z.string().describe(\"sObject API name for this record (e.g., 'Account', 'Contact')\"),\n referenceId: z.string().describe(\"Unique client-defined reference ID (e.g., 'ref1', 'accountRef001') used to correlate request records with response results\"),\n}).describe(\"Metadata for the sObject record including type and referenceId\"),\n}).passthrough().describe(\"A record tree for composite insert, allowing nested child records.\")).describe(\"List of sObject tree records to create. Each record must have 'attributes' (with 'type' and 'referenceId') and field values. Child records are specified using relationship name as key (e.g., 'Contacts'). Maximum 200 total records across all trees, up to 5 levels deep.\"),\n objectApiName: z.string().describe(\"Root sObject API name (e.g., 'Account', 'Contact', 'Case'). All root records in the request must be of this type.\"),\n}).describe(\"Request model for Composite SObject Tree endpoint.\");\nconst SalesforceServiceCloudCompositeSobjectTree_ErrorDetailSchema = z.object({\n fields: z.array(z.string()).describe(\"Fields involved in the error\").nullable().optional(),\n message: z.string().describe(\"Error message\").nullable(),\n errorCode: z.string().describe(\"Error code for the failed record\").nullable().optional(),\n}).passthrough().describe(\"Error detail for a failed record in the response.\");\nconst SalesforceServiceCloudCompositeSobjectTree_CompositeSobjectTreeRecordResultSchema = z.object({\n id: z.string().describe(\"Salesforce ID of the created record\").nullable().optional(),\n errors: z.array(SalesforceServiceCloudCompositeSobjectTree_ErrorDetailSchema).describe(\"Error details if this record creation failed\").nullable().optional(),\n referenceId: z.string().describe(\"Echo of the client-defined referenceId\").nullable(),\n}).passthrough().describe(\"Result for an individual record in the composite tree response.\");\nexport const SalesforceServiceCloudCompositeSobjectTreeOutput = z.object({\n results: z.array(SalesforceServiceCloudCompositeSobjectTree_CompositeSobjectTreeRecordResultSchema).describe(\"List of results matching each submitted record\"),\n hasErrors: z.boolean().describe(\"Indicates if any record failed to create\").nullable(),\n}).passthrough().describe(\"Response model for Composite SObject Tree endpoint.\");\n\nexport const salesforceServiceCloudCompositeSobjectTree: AppAction<\n typeof SalesforceServiceCloudCompositeSobjectTreeInput,\n typeof SalesforceServiceCloudCompositeSobjectTreeOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_COMPOSITE_SOBJECT_TREE\", {\n slug: \"salesforce_service_cloud-composite-sobject-tree\",\n name: \"Composite SObject Tree\",\n description: \"Create one or more nested sObject record trees in a single API call. Supports parent-child relationships up to 5 levels deep, with a maximum of 200 total records across all trees. Use this for bulk insertion of related records (e.g., Account with Contacts, or Orders with Line Items). Relationships must be Master-Detail or Lookup. Only supports INSERT operations, not upserts.\",\n input: SalesforceServiceCloudCompositeSobjectTreeInput,\n output: SalesforceServiceCloudCompositeSobjectTreeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkD,EAAE,OAAO;CACtE,SAAS,EAAE,MAAM,EAAE,OAAO,EAC1B,YAAY,EAAE,OAAO;EACrB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H;CAC/J,CAAC,CAAC,CAAC,SAAS,gEAAgE,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,CAAC,SAAS,8QAA8Q;CACtX,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACxJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oFAAoF,EAAE,OAAO;CACjG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAM3F,MAAa,6CAIT,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8D,EAAE,OAAO;EACvE,SAAS,EAAE,MAAM,iFAAiF,CAAC,CAAC,SAAS,gDAAgD;EAC7J,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-case-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-case-record.cjs","names":["z","action"],"sources":["../../src/actions/create-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudCreateCaseRecordInput = z.object({\n accept: z.enum([\"application/json\", \"application/xml\"]).describe(\"Desired response format; defaults to application/json\").optional(),\n case_fields: z.record(z.string(), z.unknown()).describe(\"Map of Case field API names to values (e.g., Subject, Status, Origin)\"),\n x_pretty_print: z.string().describe(\"Set to '1' to pretty-print the response\").optional(),\n external_id_field: z.string().describe(\"API name of external ID field for upsert; provide with external_id_value\").optional(),\n external_id_value: z.string().describe(\"Value of external ID for upsert; provide with external_id_field\").optional(),\n sforce_auto_assign: z.boolean().describe(\"Set to True to apply active assignment rules on Case creation or upsert\").optional(),\n sforce_call_options: z.string().describe(\"Client and defaultNamespace options in format 'client=<name>[, defaultNamespace=<ns>]'\").optional(),\n});\nconst SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema = z.object({\n message: z.string().describe(\"Error message returned by Salesforce\").nullable(),\n errorCode: z.string().describe(\"Error code returned by Salesforce\").nullable(),\n}).passthrough();\nexport const SalesforceServiceCloudCreateCaseRecordOutput = z.object({\n id: z.string().describe(\"ID of the created Case record; not returned when updated\").nullable().optional(),\n errors: z.array(SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema).describe(\"List of errors (empty if success)\"),\n success: z.boolean().describe(\"True if the operation succeeded\").nullable(),\n updated: z.boolean().default(false).describe(\"True if an existing record was updated via upsert\").nullable().optional(),\n}).passthrough();\n\nexport const salesforceServiceCloudCreateCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_CREATE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-create-case-record\",\n name: \"Create Case Record\",\n description: \"Tool to create or upsert a Salesforce Case record. Use when you need to add a new Case or update via external ID.\",\n input: SalesforceServiceCloudCreateCaseRecordInput,\n output: SalesforceServiceCloudCreateCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,oBAAoB,iBAAiB,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAA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"],"sources":["../../src/actions/create-case-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudCreateCaseRecordInput = z.object({\n accept: z.enum([\"application/json\", \"application/xml\"]).describe(\"Desired response format; defaults to application/json\").optional(),\n case_fields: z.record(z.string(), z.unknown()).describe(\"Map of Case field API names to values (e.g., Subject, Status, Origin)\"),\n x_pretty_print: z.string().describe(\"Set to '1' to pretty-print the response\").optional(),\n external_id_field: z.string().describe(\"API name of external ID field for upsert; provide with external_id_value\").optional(),\n external_id_value: z.string().describe(\"Value of external ID for upsert; provide with external_id_field\").optional(),\n sforce_auto_assign: z.boolean().describe(\"Set to True to apply active assignment rules on Case creation or upsert\").optional(),\n sforce_call_options: z.string().describe(\"Client and defaultNamespace options in format 'client=<name>[, defaultNamespace=<ns>]'\").optional(),\n});\nconst SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema = z.object({\n message: z.string().describe(\"Error message returned by Salesforce\").nullable(),\n errorCode: z.string().describe(\"Error code returned by Salesforce\").nullable(),\n}).passthrough();\nexport const SalesforceServiceCloudCreateCaseRecordOutput = z.object({\n id: z.string().describe(\"ID of the created Case record; not returned when updated\").nullable().optional(),\n errors: z.array(SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema).describe(\"List of errors (empty if success)\"),\n success: z.boolean().describe(\"True if the operation succeeded\").nullable(),\n updated: z.boolean().default(false).describe(\"True if an existing record was updated via upsert\").nullable().optional(),\n}).passthrough();\n\nexport const salesforceServiceCloudCreateCaseRecord: AppAction<\n typeof SalesforceServiceCloudCreateCaseRecordInput,\n typeof SalesforceServiceCloudCreateCaseRecordOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_CREATE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-create-case-record\",\n name: \"Create Case Record\",\n description: \"Tool to create or upsert a Salesforce Case record. Use when you need to add a new Case or update via external ID.\",\n input: SalesforceServiceCloudCreateCaseRecordInput,\n output: SalesforceServiceCloudCreateCaseRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,oBAAoB,iBAAiB,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAC9I,CAAC;AACD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,mCAAmC;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-case-record.d.ts
@@ -22,27 +24,7 @@ declare const SalesforceServiceCloudCreateCaseRecordOutput: z.ZodObject<{
22
24
  success: z.ZodNullable<z.ZodBoolean>;
23
25
  updated: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
26
  }, z.core.$loose>;
25
- declare const salesforceServiceCloudCreateCaseRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- case_fields: Record<string, unknown>;
27
- accept?: "application/json" | "application/xml" | undefined;
28
- x_pretty_print?: string | undefined;
29
- external_id_field?: string | undefined;
30
- external_id_value?: string | undefined;
31
- sforce_auto_assign?: boolean | undefined;
32
- sforce_call_options?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- accessToken: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- accessToken: z.ZodString;
45
- }, z.core.$strip>>]>;
27
+ declare const salesforceServiceCloudCreateCaseRecord: AppAction<typeof SalesforceServiceCloudCreateCaseRecordInput, typeof SalesforceServiceCloudCreateCaseRecordOutput, typeof salesforceServiceCloud.credential>;
46
28
  //#endregion
47
29
  export { salesforceServiceCloudCreateCaseRecord };
48
30
  //# sourceMappingURL=create-case-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-case-record.d.cts","names":[],"sources":["../../src/actions/create-case-record.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAO5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"create-case-record.d.cts","names":[],"sources":["../../src/actions/create-case-record.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAO5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-case-record.d.ts
@@ -22,27 +24,7 @@ declare const SalesforceServiceCloudCreateCaseRecordOutput: z.ZodObject<{
22
24
  success: z.ZodNullable<z.ZodBoolean>;
23
25
  updated: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
26
  }, z.core.$loose>;
25
- declare const salesforceServiceCloudCreateCaseRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- case_fields: Record<string, unknown>;
27
- accept?: "application/json" | "application/xml" | undefined;
28
- x_pretty_print?: string | undefined;
29
- external_id_field?: string | undefined;
30
- external_id_value?: string | undefined;
31
- sforce_auto_assign?: boolean | undefined;
32
- sforce_call_options?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- accessToken: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- accessToken: z.ZodString;
45
- }, z.core.$strip>>]>;
27
+ declare const salesforceServiceCloudCreateCaseRecord: AppAction<typeof SalesforceServiceCloudCreateCaseRecordInput, typeof SalesforceServiceCloudCreateCaseRecordOutput, typeof salesforceServiceCloud.credential>;
46
28
  //#endregion
47
29
  export { salesforceServiceCloudCreateCaseRecord };
48
30
  //# sourceMappingURL=create-case-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-case-record.d.mts","names":[],"sources":["../../src/actions/create-case-record.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAO5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"create-case-record.d.mts","names":[],"sources":["../../src/actions/create-case-record.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAO5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-case-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-case-record.mjs","names":[],"sources":["../../src/actions/create-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudCreateCaseRecordInput = z.object({\n accept: z.enum([\"application/json\", \"application/xml\"]).describe(\"Desired response format; defaults to application/json\").optional(),\n case_fields: z.record(z.string(), z.unknown()).describe(\"Map of Case field API names to values (e.g., Subject, Status, Origin)\"),\n x_pretty_print: z.string().describe(\"Set to '1' to pretty-print the response\").optional(),\n external_id_field: z.string().describe(\"API name of external ID field for upsert; provide with external_id_value\").optional(),\n external_id_value: z.string().describe(\"Value of external ID for upsert; provide with external_id_field\").optional(),\n sforce_auto_assign: z.boolean().describe(\"Set to True to apply active assignment rules on Case creation or upsert\").optional(),\n sforce_call_options: z.string().describe(\"Client and defaultNamespace options in format 'client=<name>[, defaultNamespace=<ns>]'\").optional(),\n});\nconst SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema = z.object({\n message: z.string().describe(\"Error message returned by Salesforce\").nullable(),\n errorCode: z.string().describe(\"Error code returned by Salesforce\").nullable(),\n}).passthrough();\nexport const SalesforceServiceCloudCreateCaseRecordOutput = z.object({\n id: z.string().describe(\"ID of the created Case record; not returned when updated\").nullable().optional(),\n errors: z.array(SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema).describe(\"List of errors (empty if success)\"),\n success: z.boolean().describe(\"True if the operation succeeded\").nullable(),\n updated: z.boolean().default(false).describe(\"True if an existing record was updated via upsert\").nullable().optional(),\n}).passthrough();\n\nexport const salesforceServiceCloudCreateCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_CREATE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-create-case-record\",\n name: \"Create Case Record\",\n description: \"Tool to create or upsert a Salesforce Case record. Use when you need to add a new Case or update via external ID.\",\n input: SalesforceServiceCloudCreateCaseRecordInput,\n output: SalesforceServiceCloudCreateCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8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C,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-case-record.mjs","names":[],"sources":["../../src/actions/create-case-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudCreateCaseRecordInput = z.object({\n accept: z.enum([\"application/json\", \"application/xml\"]).describe(\"Desired response format; defaults to application/json\").optional(),\n case_fields: z.record(z.string(), z.unknown()).describe(\"Map of Case field API names to values (e.g., Subject, Status, Origin)\"),\n x_pretty_print: z.string().describe(\"Set to '1' to pretty-print the response\").optional(),\n external_id_field: z.string().describe(\"API name of external ID field for upsert; provide with external_id_value\").optional(),\n external_id_value: z.string().describe(\"Value of external ID for upsert; provide with external_id_field\").optional(),\n sforce_auto_assign: z.boolean().describe(\"Set to True to apply active assignment rules on Case creation or upsert\").optional(),\n sforce_call_options: z.string().describe(\"Client and defaultNamespace options in format 'client=<name>[, defaultNamespace=<ns>]'\").optional(),\n});\nconst SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema = z.object({\n message: z.string().describe(\"Error message returned by Salesforce\").nullable(),\n errorCode: z.string().describe(\"Error code returned by Salesforce\").nullable(),\n}).passthrough();\nexport const SalesforceServiceCloudCreateCaseRecordOutput = z.object({\n id: z.string().describe(\"ID of the created Case record; not returned when updated\").nullable().optional(),\n errors: z.array(SalesforceServiceCloudCreateCaseRecord_ErrorObjectSchema).describe(\"List of errors (empty if success)\"),\n success: z.boolean().describe(\"True if the operation succeeded\").nullable(),\n updated: z.boolean().default(false).describe(\"True if an existing record was updated via upsert\").nullable().optional(),\n}).passthrough();\n\nexport const salesforceServiceCloudCreateCaseRecord: AppAction<\n typeof SalesforceServiceCloudCreateCaseRecordInput,\n typeof SalesforceServiceCloudCreateCaseRecordOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_CREATE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-create-case-record\",\n name: \"Create Case Record\",\n description: \"Tool to create or upsert a Salesforce Case record. Use when you need to add a new Case or update via external ID.\",\n input: SalesforceServiceCloudCreateCaseRecordInput,\n output: SalesforceServiceCloudCreateCaseRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8C,EAAE,OAAO;CAClE,QAAQ,EAAE,KAAK,CAAC,oBAAoB,iBAAiB,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE;CAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAC9I,CAAC;AACD,MAAM,2DAA2D,EAAE,OAAO;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,yCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,mCAAmC;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-case-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-case-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudDeleteCaseRecordInput = z.object({\n case_id: z.string().describe(\"Salesforce Case record ID to delete (15-18 character string)\"),\n}).describe(\"Request model for DeleteCaseRecord.\");\nexport const SalesforceServiceCloudDeleteCaseRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the Case record was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for DeleteCaseRecord.\");\n\nexport const salesforceServiceCloudDeleteCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_DELETE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-delete-case-record\",\n name: \"Delete Case Record\",\n description: \"Tool to delete a Salesforce Case record. Use when you need to remove a case by its record ID.\",\n input: SalesforceServiceCloudDeleteCaseRecordInput,\n output: SalesforceServiceCloudDeleteCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-case-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-case-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudDeleteCaseRecordInput = z.object({\n case_id: z.string().describe(\"Salesforce Case record ID to delete (15-18 character string)\"),\n}).describe(\"Request model for DeleteCaseRecord.\");\nexport const SalesforceServiceCloudDeleteCaseRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the Case record was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for DeleteCaseRecord.\");\n\nexport const salesforceServiceCloudDeleteCaseRecord: AppAction<\n typeof SalesforceServiceCloudDeleteCaseRecordInput,\n typeof SalesforceServiceCloudDeleteCaseRecordOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_DELETE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-delete-case-record\",\n name: \"Delete Case Record\",\n description: \"Tool to delete a Salesforce Case record. Use when you need to remove a case by its record ID.\",\n input: SalesforceServiceCloudDeleteCaseRecordInput,\n output: SalesforceServiceCloudDeleteCaseRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-case-record.d.ts
@@ -7,21 +9,7 @@ declare const SalesforceServiceCloudDeleteCaseRecordInput: z.ZodObject<{
7
9
  declare const SalesforceServiceCloudDeleteCaseRecordOutput: z.ZodObject<{
8
10
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
11
  }, z.core.$loose>;
10
- declare const salesforceServiceCloudDeleteCaseRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- case_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- accessToken: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- accessToken: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const salesforceServiceCloudDeleteCaseRecord: AppAction<typeof SalesforceServiceCloudDeleteCaseRecordInput, typeof SalesforceServiceCloudDeleteCaseRecordOutput, typeof salesforceServiceCloud.credential>;
25
13
  //#endregion
26
14
  export { salesforceServiceCloudDeleteCaseRecord };
27
15
  //# sourceMappingURL=delete-case-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-case-record.d.cts","names":[],"sources":["../../src/actions/delete-case-record.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAG3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"delete-case-record.d.cts","names":[],"sources":["../../src/actions/delete-case-record.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAG3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-case-record.d.ts
@@ -7,21 +9,7 @@ declare const SalesforceServiceCloudDeleteCaseRecordInput: z.ZodObject<{
7
9
  declare const SalesforceServiceCloudDeleteCaseRecordOutput: z.ZodObject<{
8
10
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
11
  }, z.core.$loose>;
10
- declare const salesforceServiceCloudDeleteCaseRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- case_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- accessToken: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- accessToken: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const salesforceServiceCloudDeleteCaseRecord: AppAction<typeof SalesforceServiceCloudDeleteCaseRecordInput, typeof SalesforceServiceCloudDeleteCaseRecordOutput, typeof salesforceServiceCloud.credential>;
25
13
  //#endregion
26
14
  export { salesforceServiceCloudDeleteCaseRecord };
27
15
  //# sourceMappingURL=delete-case-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-case-record.d.mts","names":[],"sources":["../../src/actions/delete-case-record.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAG3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"delete-case-record.d.mts","names":[],"sources":["../../src/actions/delete-case-record.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAG3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesforceServiceCloudDeleteCaseRecord = action("SALESFORCE_SERVICE_CLOUD_DELETE_CASE_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-case-record.mjs","names":[],"sources":["../../src/actions/delete-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudDeleteCaseRecordInput = z.object({\n case_id: z.string().describe(\"Salesforce Case record ID to delete (15-18 character string)\"),\n}).describe(\"Request model for DeleteCaseRecord.\");\nexport const SalesforceServiceCloudDeleteCaseRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the Case record was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for DeleteCaseRecord.\");\n\nexport const salesforceServiceCloudDeleteCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_DELETE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-delete-case-record\",\n name: \"Delete Case Record\",\n description: \"Tool to delete a Salesforce Case record. Use when you need to remove a case by its record ID.\",\n input: SalesforceServiceCloudDeleteCaseRecordInput,\n output: SalesforceServiceCloudDeleteCaseRecordOutput,\n});\n"],"mappings":";;AAWA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyD,EAAE,OAAO,EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCASH;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-case-record.mjs","names":[],"sources":["../../src/actions/delete-case-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudDeleteCaseRecordInput = z.object({\n case_id: z.string().describe(\"Salesforce Case record ID to delete (15-18 character string)\"),\n}).describe(\"Request model for DeleteCaseRecord.\");\nexport const SalesforceServiceCloudDeleteCaseRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the Case record was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for DeleteCaseRecord.\");\n\nexport const salesforceServiceCloudDeleteCaseRecord: AppAction<\n typeof SalesforceServiceCloudDeleteCaseRecordInput,\n typeof SalesforceServiceCloudDeleteCaseRecordOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_DELETE_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-delete-case-record\",\n name: \"Delete Case Record\",\n description: \"Tool to delete a Salesforce Case record. Use when you need to remove a case by its record ID.\",\n input: SalesforceServiceCloudDeleteCaseRecordInput,\n output: SalesforceServiceCloudDeleteCaseRecordOutput,\n});\n"],"mappings":";;;AAaA,MAAa,yCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO,EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAaH;CACP,QAb0D,EAAE,OAAO,EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/describe-s-object.ts
@@ -1 +1 @@
1
- {"version":3,"file":"describe-s-object.cjs","names":["z","action"],"sources":["../../src/actions/describe-s-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudDescribeSObjectInput = z.object({\n sObjectName: z.string().describe(\"API name of the sObject to describe, e.g., 'Account', 'Contact', 'Case'.\"),\n}).describe(\"Request model for describing a specified sObject metadata.\");\nexport const SalesforceServiceCloudDescribeSObjectOutput = z.object({\n name: z.string().describe(\"API name of the sObject (e.g., 'Account', 'Contact').\").nullable(),\n urls: z.record(z.string(), z.unknown()).describe(\"URLs for various sObject operations (e.g., 'sobject', 'describe', 'rowTemplate').\").nullable().optional(),\n label: z.string().describe(\"User-friendly label for the sObject (e.g., 'Account', 'Contact').\").nullable(),\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of field metadata for the sObject. Each field includes name, label, type, length, picklistValues, relationships, and other properties.\"),\n deletable: z.boolean().describe(\"Whether records of this sObject can be deleted.\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix for record IDs of this sObject type.\").nullable().optional(),\n queryable: z.boolean().describe(\"Whether this sObject can be queried via SOQL.\").nullable().optional(),\n createable: z.boolean().describe(\"Whether records of this sObject can be created.\").nullable().optional(),\n searchable: z.boolean().describe(\"Whether this sObject can be searched via SOSL.\").nullable().optional(),\n updateable: z.boolean().describe(\"Whether records of this sObject can be updated.\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural form of the label.\").nullable().optional(),\n recordTypeInfos: z.array(z.record(z.string(), z.unknown())).describe(\"List of record type information for this sObject.\").nullable().optional(),\n childRelationships: z.array(z.record(z.string(), z.unknown())).describe(\"List of child relationships where other objects reference this sObject.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing comprehensive metadata for the specified sObject.\\n\\nIncludes field definitions, picklist values, relationships, and object capabilities.\");\n\nexport const salesforceServiceCloudDescribeSObject = action(\"SALESFORCE_SERVICE_CLOUD_DESCRIBE_S_OBJECT\", {\n slug: \"salesforce_service_cloud-describe-s-object\",\n name: \"Describe SObject\",\n description: \"Tool to retrieve metadata of any sObject. Use when you need to inspect field definitions, relationships, and supported features for objects like Account, Contact, Case, etc.\",\n input: SalesforceServiceCloudDescribeSObjectInput,\n output: SalesforceServiceCloudDescribeSObjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ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AE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qKAAqK;AAE/L,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"describe-s-object.cjs","names":["z","action"],"sources":["../../src/actions/describe-s-object.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudDescribeSObjectInput = z.object({\n sObjectName: z.string().describe(\"API name of the sObject to describe, e.g., 'Account', 'Contact', 'Case'.\"),\n}).describe(\"Request model for describing a specified sObject metadata.\");\nexport const SalesforceServiceCloudDescribeSObjectOutput = z.object({\n name: z.string().describe(\"API name of the sObject (e.g., 'Account', 'Contact').\").nullable(),\n urls: z.record(z.string(), z.unknown()).describe(\"URLs for various sObject operations (e.g., 'sobject', 'describe', 'rowTemplate').\").nullable().optional(),\n label: z.string().describe(\"User-friendly label for the sObject (e.g., 'Account', 'Contact').\").nullable(),\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of field metadata for the sObject. Each field includes name, label, type, length, picklistValues, relationships, and other properties.\"),\n deletable: z.boolean().describe(\"Whether records of this sObject can be deleted.\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix for record IDs of this sObject type.\").nullable().optional(),\n queryable: z.boolean().describe(\"Whether this sObject can be queried via SOQL.\").nullable().optional(),\n createable: z.boolean().describe(\"Whether records of this sObject can be created.\").nullable().optional(),\n searchable: z.boolean().describe(\"Whether this sObject can be searched via SOSL.\").nullable().optional(),\n updateable: z.boolean().describe(\"Whether records of this sObject can be updated.\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural form of the label.\").nullable().optional(),\n recordTypeInfos: z.array(z.record(z.string(), z.unknown())).describe(\"List of record type information for this sObject.\").nullable().optional(),\n childRelationships: z.array(z.record(z.string(), z.unknown())).describe(\"List of child relationships where other objects reference this sObject.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing comprehensive metadata for the specified sObject.\\n\\nIncludes field definitions, picklist values, relationships, and object capabilities.\");\n\nexport const salesforceServiceCloudDescribeSObject: AppAction<\n typeof SalesforceServiceCloudDescribeSObjectInput,\n typeof SalesforceServiceCloudDescribeSObjectOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_DESCRIBE_S_OBJECT\", {\n slug: \"salesforce_service_cloud-describe-s-object\",\n name: \"Describe SObject\",\n description: \"Tool to retrieve metadata of any sObject. Use when you need to inspect field definitions, relationships, and supported features for objects like Account, Contact, Case, etc.\",\n input: SalesforceServiceCloudDescribeSObjectInput,\n output: SalesforceServiceCloudDescribeSObjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,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salesforceServiceCloud } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/describe-s-object.d.ts
@@ -19,21 +21,7 @@ declare const SalesforceServiceCloudDescribeSObjectOutput: z.ZodObject<{
19
21
  recordTypeInfos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20
22
  childRelationships: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21
23
  }, z.core.$loose>;
22
- declare const salesforceServiceCloudDescribeSObject: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- sObjectName: string;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
24
+ declare const salesforceServiceCloudDescribeSObject: AppAction<typeof SalesforceServiceCloudDescribeSObjectInput, typeof SalesforceServiceCloudDescribeSObjectOutput, typeof salesforceServiceCloud.credential>;
37
25
  //#endregion
38
26
  export { salesforceServiceCloudDescribeSObject };
39
27
  //# sourceMappingURL=describe-s-object.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"describe-s-object.d.cts","names":[],"sources":["../../src/actions/describe-s-object.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAG1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"describe-s-object.d.cts","names":[],"sources":["../../src/actions/describe-s-object.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAG1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/describe-s-object.d.ts
@@ -19,21 +21,7 @@ declare const SalesforceServiceCloudDescribeSObjectOutput: z.ZodObject<{
19
21
  recordTypeInfos: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20
22
  childRelationships: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21
23
  }, z.core.$loose>;
22
- declare const salesforceServiceCloudDescribeSObject: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- sObjectName: string;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
24
+ declare const salesforceServiceCloudDescribeSObject: AppAction<typeof SalesforceServiceCloudDescribeSObjectInput, typeof SalesforceServiceCloudDescribeSObjectOutput, typeof salesforceServiceCloud.credential>;
37
25
  //#endregion
38
26
  export { salesforceServiceCloudDescribeSObject };
39
27
  //# sourceMappingURL=describe-s-object.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"describe-s-object.d.mts","names":[],"sources":["../../src/actions/describe-s-object.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAG1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"describe-s-object.d.mts","names":[],"sources":["../../src/actions/describe-s-object.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAG1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesforceServiceCloudDescribeSObject = action("SALESFORCE_SERVICE_CLOUD_DESCRIBE_S_OBJECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"describe-s-object.mjs","names":[],"sources":["../../src/actions/describe-s-object.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudDescribeSObjectInput = z.object({\n sObjectName: z.string().describe(\"API name of the sObject to describe, e.g., 'Account', 'Contact', 'Case'.\"),\n}).describe(\"Request model for describing a specified sObject metadata.\");\nexport const SalesforceServiceCloudDescribeSObjectOutput = z.object({\n name: z.string().describe(\"API name of the sObject (e.g., 'Account', 'Contact').\").nullable(),\n urls: z.record(z.string(), z.unknown()).describe(\"URLs for various sObject operations (e.g., 'sobject', 'describe', 'rowTemplate').\").nullable().optional(),\n label: z.string().describe(\"User-friendly label for the sObject (e.g., 'Account', 'Contact').\").nullable(),\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of field metadata for the sObject. Each field includes name, label, type, length, picklistValues, relationships, and other properties.\"),\n deletable: z.boolean().describe(\"Whether records of this sObject can be deleted.\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix for record IDs of this sObject type.\").nullable().optional(),\n queryable: z.boolean().describe(\"Whether this sObject can be queried via SOQL.\").nullable().optional(),\n createable: z.boolean().describe(\"Whether records of this sObject can be created.\").nullable().optional(),\n searchable: z.boolean().describe(\"Whether this sObject can be searched via SOSL.\").nullable().optional(),\n updateable: z.boolean().describe(\"Whether records of this sObject can be updated.\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural form of the label.\").nullable().optional(),\n recordTypeInfos: z.array(z.record(z.string(), z.unknown())).describe(\"List of record type information for this sObject.\").nullable().optional(),\n childRelationships: z.array(z.record(z.string(), z.unknown())).describe(\"List of child relationships where other objects reference this sObject.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing comprehensive metadata for the specified sObject.\\n\\nIncludes field definitions, picklist values, relationships, and object capabilities.\");\n\nexport const salesforceServiceCloudDescribeSObject = action(\"SALESFORCE_SERVICE_CLOUD_DESCRIBE_S_OBJECT\", {\n slug: \"salesforce_service_cloud-describe-s-object\",\n name: \"Describe SObject\",\n description: \"Tool to retrieve metadata of any sObject. Use when you need to inspect field definitions, relationships, and supported features for objects like Account, Contact, Case, etc.\",\n input: SalesforceServiceCloudDescribeSObjectInput,\n output: SalesforceServiceCloudDescribeSObjectOutput,\n});\n"],"mappings":";;AAuBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwD,EAAE,OAAO,EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,4DAqBH;CACP,QArByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,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,qKAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"describe-s-object.mjs","names":[],"sources":["../../src/actions/describe-s-object.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudDescribeSObjectInput = z.object({\n sObjectName: z.string().describe(\"API name of the sObject to describe, e.g., 'Account', 'Contact', 'Case'.\"),\n}).describe(\"Request model for describing a specified sObject metadata.\");\nexport const SalesforceServiceCloudDescribeSObjectOutput = z.object({\n name: z.string().describe(\"API name of the sObject (e.g., 'Account', 'Contact').\").nullable(),\n urls: z.record(z.string(), z.unknown()).describe(\"URLs for various sObject operations (e.g., 'sobject', 'describe', 'rowTemplate').\").nullable().optional(),\n label: z.string().describe(\"User-friendly label for the sObject (e.g., 'Account', 'Contact').\").nullable(),\n fields: z.array(z.record(z.string(), z.unknown())).describe(\"List of field metadata for the sObject. Each field includes name, label, type, length, picklistValues, relationships, and other properties.\"),\n deletable: z.boolean().describe(\"Whether records of this sObject can be deleted.\").nullable().optional(),\n keyPrefix: z.string().describe(\"Three-character prefix for record IDs of this sObject type.\").nullable().optional(),\n queryable: z.boolean().describe(\"Whether this sObject can be queried via SOQL.\").nullable().optional(),\n createable: z.boolean().describe(\"Whether records of this sObject can be created.\").nullable().optional(),\n searchable: z.boolean().describe(\"Whether this sObject can be searched via SOSL.\").nullable().optional(),\n updateable: z.boolean().describe(\"Whether records of this sObject can be updated.\").nullable().optional(),\n labelPlural: z.string().describe(\"Plural form of the label.\").nullable().optional(),\n recordTypeInfos: z.array(z.record(z.string(), z.unknown())).describe(\"List of record type information for this sObject.\").nullable().optional(),\n childRelationships: z.array(z.record(z.string(), z.unknown())).describe(\"List of child relationships where other objects reference this sObject.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing comprehensive metadata for the specified sObject.\\n\\nIncludes field definitions, picklist values, relationships, and object capabilities.\");\n\nexport const salesforceServiceCloudDescribeSObject: AppAction<\n typeof SalesforceServiceCloudDescribeSObjectInput,\n typeof SalesforceServiceCloudDescribeSObjectOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_DESCRIBE_S_OBJECT\", {\n slug: \"salesforce_service_cloud-describe-s-object\",\n name: \"Describe SObject\",\n description: \"Tool to retrieve metadata of any sObject. Use when you need to inspect field definitions, relationships, and supported features for objects like Account, Contact, Case, etc.\",\n input: SalesforceServiceCloudDescribeSObjectInput,\n output: SalesforceServiceCloudDescribeSObjectOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,wCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BwD,EAAE,OAAO,EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,4DAyBH;CACP,QAzByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I;EACzM,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qKAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/generate-request-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"generate-request-id.cjs","names":["z","action"],"sources":["../../src/actions/generate-request-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateRequestIdInput = z.object({}).describe(\"Request model for GenerateRequestId. No parameters are required to generate a UUIDv4.\");\nexport const SalesforceServiceCloudGenerateRequestIdOutput = z.object({\n request_id: z.string().describe(\"Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.\").nullable(),\n}).passthrough().describe(\"Response model containing the generated UUIDv4 request ID.\");\n\nexport const salesforceServiceCloudGenerateRequestId = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID\", {\n slug: \"salesforce_service_cloud-generate-request-id\",\n name: \"Generate Request ID\",\n description: \"Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.\",\n input: SalesforceServiceCloudGenerateRequestIdInput,\n output: SalesforceServiceCloudGenerateRequestIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACzK,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0CAA0CC,eAAAA,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"generate-request-id.cjs","names":["z","action"],"sources":["../../src/actions/generate-request-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudGenerateRequestIdInput = z.object({}).describe(\"Request model for GenerateRequestId. No parameters are required to generate a UUIDv4.\");\nexport const SalesforceServiceCloudGenerateRequestIdOutput = z.object({\n request_id: z.string().describe(\"Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.\").nullable(),\n}).passthrough().describe(\"Response model containing the generated UUIDv4 request ID.\");\n\nexport const salesforceServiceCloudGenerateRequestId: AppAction<\n typeof SalesforceServiceCloudGenerateRequestIdInput,\n typeof SalesforceServiceCloudGenerateRequestIdOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID\", {\n slug: \"salesforce_service_cloud-generate-request-id\",\n name: \"Generate Request ID\",\n description: \"Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.\",\n input: SalesforceServiceCloudGenerateRequestIdInput,\n output: SalesforceServiceCloudGenerateRequestIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACzK,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0CAITC,eAAAA,OAAO,gDAAgD;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/generate-request-id.d.ts
@@ -5,19 +7,7 @@ declare const SalesforceServiceCloudGenerateRequestIdInput: z.ZodObject<{}, z.co
5
7
  declare const SalesforceServiceCloudGenerateRequestIdOutput: z.ZodObject<{
6
8
  request_id: z.ZodNullable<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const salesforceServiceCloudGenerateRequestId: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- accessToken: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const salesforceServiceCloudGenerateRequestId: AppAction<typeof SalesforceServiceCloudGenerateRequestIdInput, typeof SalesforceServiceCloudGenerateRequestIdOutput, typeof salesforceServiceCloud.credential>;
21
11
  //#endregion
22
12
  export { salesforceServiceCloudGenerateRequestId };
23
13
  //# sourceMappingURL=generate-request-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-request-id.d.cts","names":[],"sources":["../../src/actions/generate-request-id.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,6BAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"generate-request-id.d.cts","names":[],"sources":["../../src/actions/generate-request-id.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/generate-request-id.d.ts
@@ -5,19 +7,7 @@ declare const SalesforceServiceCloudGenerateRequestIdInput: z.ZodObject<{}, z.co
5
7
  declare const SalesforceServiceCloudGenerateRequestIdOutput: z.ZodObject<{
6
8
  request_id: z.ZodNullable<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const salesforceServiceCloudGenerateRequestId: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- accessToken: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const salesforceServiceCloudGenerateRequestId: AppAction<typeof SalesforceServiceCloudGenerateRequestIdInput, typeof SalesforceServiceCloudGenerateRequestIdOutput, typeof salesforceServiceCloud.credential>;
21
11
  //#endregion
22
12
  export { salesforceServiceCloudGenerateRequestId };
23
13
  //# sourceMappingURL=generate-request-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-request-id.d.mts","names":[],"sources":["../../src/actions/generate-request-id.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,6BAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"generate-request-id.d.mts","names":[],"sources":["../../src/actions/generate-request-id.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,sBAAA,CAAuB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const salesforceServiceCloudGenerateRequestId = action("SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID", {
@@ -1 +1 @@
1
- {"version":3,"file":"generate-request-id.mjs","names":[],"sources":["../../src/actions/generate-request-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateRequestIdInput = z.object({}).describe(\"Request model for GenerateRequestId. No parameters are required to generate a UUIDv4.\");\nexport const SalesforceServiceCloudGenerateRequestIdOutput = z.object({\n request_id: z.string().describe(\"Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.\").nullable(),\n}).passthrough().describe(\"Response model containing the generated UUIDv4 request ID.\");\n\nexport const salesforceServiceCloudGenerateRequestId = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID\", {\n slug: \"salesforce_service_cloud-generate-request-id\",\n name: \"Generate Request ID\",\n description: \"Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.\",\n input: SalesforceServiceCloudGenerateRequestIdInput,\n output: SalesforceServiceCloudGenerateRequestIdOutput,\n});\n"],"mappings":";;AASA,MAAa,0CAA0C,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFASzE;CACP,QAT2D,EAAE,OAAO,EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"generate-request-id.mjs","names":[],"sources":["../../src/actions/generate-request-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudGenerateRequestIdInput = z.object({}).describe(\"Request model for GenerateRequestId. No parameters are required to generate a UUIDv4.\");\nexport const SalesforceServiceCloudGenerateRequestIdOutput = z.object({\n request_id: z.string().describe(\"Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.\").nullable(),\n}).passthrough().describe(\"Response model containing the generated UUIDv4 request ID.\");\n\nexport const salesforceServiceCloudGenerateRequestId: AppAction<\n typeof SalesforceServiceCloudGenerateRequestIdInput,\n typeof SalesforceServiceCloudGenerateRequestIdOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID\", {\n slug: \"salesforce_service_cloud-generate-request-id\",\n name: \"Generate Request ID\",\n description: \"Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.\",\n input: SalesforceServiceCloudGenerateRequestIdInput,\n output: SalesforceServiceCloudGenerateRequestIdOutput,\n});\n"],"mappings":";;;AAWA,MAAa,0CAIT,OAAO,gDAAgD;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAazE;CACP,QAb2D,EAAE,OAAO,EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/generate-signed-jwt-assertion.ts
@@ -1 +1 @@
1
- {"version":3,"file":"generate-signed-jwt-assertion.cjs","names":["z","action"],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionInput = z.object({\n audience: z.string().describe(\"Audience claim for the JWT, e.g., login URL or instance domain. Defaults to the instance domain derived from base_url metadata.\").optional(),\n username: z.string().describe(\"Salesforce username (subject) for whom to generate the JWT assertion.\"),\n client_id: z.string().describe(\"Client (Consumer) ID of the Salesforce Connected App. If provided, overrides value from connection metadata.\").optional(),\n expiration: z.number().int().default(300).describe(\"JWT lifetime in seconds from now.\").optional(),\n private_key: z.string().describe(\"RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.\").optional(),\n generate_private_key: z.boolean().default(false).describe(\"If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).\").optional(),\n}).describe(\"Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.\");\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = z.object({\n assertion: z.string().describe(\"Compact serialized, RS256-signed JWT assertion.\").nullable(),\n}).passthrough().describe(\"Compact JWT assertion signed with RS256.\");\n\nexport const salesforceServiceCloudGenerateSignedJwtAssertion = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION\", {\n slug: \"salesforce_service_cloud-generate-signed-jwt-assertion\",\n name: \"Generate Signed JWT Assertion\",\n description: \"Tool to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow. Use when you need to perform server-to-server authentication using a connected app’s certificate. Use before exchanging the assertion for an access token.\",\n input: SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n output: SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,yDAAyDA,IAAAA,EAAE,OAAO,EAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,mDAAmDC,eAAAA,OAAO,0DAA0D;CAC/H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"generate-signed-jwt-assertion.cjs","names":["z","action"],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionInput = z.object({\n audience: z.string().describe(\"Audience claim for the JWT, e.g., login URL or instance domain. Defaults to the instance domain derived from base_url metadata.\").optional(),\n username: z.string().describe(\"Salesforce username (subject) for whom to generate the JWT assertion.\"),\n client_id: z.string().describe(\"Client (Consumer) ID of the Salesforce Connected App. If provided, overrides value from connection metadata.\").optional(),\n expiration: z.number().int().default(300).describe(\"JWT lifetime in seconds from now.\").optional(),\n private_key: z.string().describe(\"RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.\").optional(),\n generate_private_key: z.boolean().default(false).describe(\"If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).\").optional(),\n}).describe(\"Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.\");\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = z.object({\n assertion: z.string().describe(\"Compact serialized, RS256-signed JWT assertion.\").nullable(),\n}).passthrough().describe(\"Compact JWT assertion signed with RS256.\");\n\nexport const salesforceServiceCloudGenerateSignedJwtAssertion: AppAction<\n typeof SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n typeof SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION\", {\n slug: \"salesforce_service_cloud-generate-signed-jwt-assertion\",\n name: \"Generate Signed JWT Assertion\",\n description: \"Tool to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow. Use when you need to perform server-to-server authentication using a connected app’s certificate. Use before exchanging the assertion for an access token.\",\n input: SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n output: SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,yDAAyDA,IAAAA,EAAE,OAAO,EAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,mDAITC,eAAAA,OAAO,0DAA0D;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { salesforceServiceCloud } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/generate-signed-jwt-assertion.d.ts
@@ -12,26 +14,7 @@ declare const SalesforceServiceCloudGenerateSignedJwtAssertionInput: z.ZodObject
12
14
  declare const SalesforceServiceCloudGenerateSignedJwtAssertionOutput: z.ZodObject<{
13
15
  assertion: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
15
- declare const salesforceServiceCloudGenerateSignedJwtAssertion: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- username: string;
17
- audience?: string | undefined;
18
- client_id?: string | undefined;
19
- expiration?: number | undefined;
20
- private_key?: string | undefined;
21
- generate_private_key?: boolean | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- accessToken: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const salesforceServiceCloudGenerateSignedJwtAssertion: AppAction<typeof SalesforceServiceCloudGenerateSignedJwtAssertionInput, typeof SalesforceServiceCloudGenerateSignedJwtAssertionOutput, typeof salesforceServiceCloud.credential>;
35
18
  //#endregion
36
19
  export { salesforceServiceCloudGenerateSignedJwtAssertion };
37
20
  //# sourceMappingURL=generate-signed-jwt-assertion.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-signed-jwt-assertion.d.cts","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"mappings":";;;cAIa,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;cAQrD,sDAAA,EAAsD,CAAA,CAAA,SAAA;;;cAItD,gDAAA,gCAAgD,wBAAA"}
1
+ {"version":3,"file":"generate-signed-jwt-assertion.d.cts","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"mappings":";;;;;cAMa,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;cAQrD,sDAAA,EAAsD,CAAA,CAAA,SAAA;;;cAItD,gDAAA,EAAkD,SAAA,QACtD,qDAAA,SACA,sDAAA,SACA,sBAAA,CAAuB,UAAA"}