@peernova/cuneiform-sf 1.0.2 → 1.0.4-beta.8

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 (494) hide show
  1. package/LICENSE +81 -30
  2. package/README.md +59 -95
  3. package/lib/adapters/connection-facade.d.ts +458 -0
  4. package/lib/adapters/connection-facade.js +379 -0
  5. package/lib/adapters/connection-facade.js.map +1 -0
  6. package/lib/adapters/errors.d.ts +547 -0
  7. package/lib/adapters/errors.js +937 -0
  8. package/lib/adapters/errors.js.map +1 -0
  9. package/lib/adapters/index.d.ts +33 -0
  10. package/lib/adapters/index.js +50 -0
  11. package/lib/adapters/index.js.map +1 -0
  12. package/lib/adapters/lifecycle.d.ts +119 -0
  13. package/lib/adapters/lifecycle.js +94 -0
  14. package/lib/adapters/lifecycle.js.map +1 -0
  15. package/lib/adapters/rest/cache.d.ts +69 -0
  16. package/lib/adapters/rest/cache.js +133 -0
  17. package/lib/adapters/rest/cache.js.map +1 -0
  18. package/lib/adapters/rest/index.d.ts +11 -0
  19. package/lib/adapters/rest/index.js +18 -0
  20. package/lib/adapters/rest/index.js.map +1 -0
  21. package/lib/adapters/rest/profiling-rest-client.d.ts +137 -0
  22. package/lib/adapters/rest/profiling-rest-client.js +115 -0
  23. package/lib/adapters/rest/profiling-rest-client.js.map +1 -0
  24. package/lib/adapters/rest/rest-api-adapter.d.ts +389 -0
  25. package/lib/adapters/rest/rest-api-adapter.js +747 -0
  26. package/lib/adapters/rest/rest-api-adapter.js.map +1 -0
  27. package/lib/adapters/rest/types.d.ts +34 -0
  28. package/lib/adapters/rest/types.js +9 -0
  29. package/lib/adapters/rest/types.js.map +1 -0
  30. package/lib/adapters/retry.d.ts +91 -0
  31. package/lib/adapters/retry.js +215 -0
  32. package/lib/adapters/retry.js.map +1 -0
  33. package/lib/adapters/soql/cuneiform-query-builder.d.ts +391 -0
  34. package/lib/adapters/soql/cuneiform-query-builder.js +559 -0
  35. package/lib/adapters/soql/cuneiform-query-builder.js.map +1 -0
  36. package/lib/adapters/soql/index.d.ts +13 -0
  37. package/lib/adapters/soql/index.js +21 -0
  38. package/lib/adapters/soql/index.js.map +1 -0
  39. package/lib/adapters/soql/soql-query-adapter.d.ts +141 -0
  40. package/lib/adapters/soql/soql-query-adapter.js +259 -0
  41. package/lib/adapters/soql/soql-query-adapter.js.map +1 -0
  42. package/lib/adapters/soql/types.d.ts +37 -0
  43. package/lib/adapters/soql/types.js +19 -0
  44. package/lib/adapters/soql/types.js.map +1 -0
  45. package/lib/adapters/testing/index.d.ts +37 -0
  46. package/lib/adapters/testing/index.js +20 -0
  47. package/lib/adapters/testing/index.js.map +1 -0
  48. package/lib/adapters/testing/mock-connection.d.ts +77 -0
  49. package/lib/adapters/testing/mock-connection.js +207 -0
  50. package/lib/adapters/testing/mock-connection.js.map +1 -0
  51. package/lib/adapters/testing/mock-logger.d.ts +29 -0
  52. package/lib/adapters/testing/mock-logger.js +57 -0
  53. package/lib/adapters/testing/mock-logger.js.map +1 -0
  54. package/lib/adapters/testing/mock-mcp-adapters.d.ts +32 -0
  55. package/lib/adapters/testing/mock-mcp-adapters.js +52 -0
  56. package/lib/adapters/testing/mock-mcp-adapters.js.map +1 -0
  57. package/lib/adapters/testing/mock-oclif-config.d.ts +22 -0
  58. package/lib/adapters/testing/mock-oclif-config.js +90 -0
  59. package/lib/adapters/testing/mock-oclif-config.js.map +1 -0
  60. package/lib/adapters/testing/mock-rest-adapter.d.ts +26 -0
  61. package/lib/adapters/testing/mock-rest-adapter.js +243 -0
  62. package/lib/adapters/testing/mock-rest-adapter.js.map +1 -0
  63. package/lib/adapters/testing/mock-salesforce-connection.d.ts +40 -0
  64. package/lib/adapters/testing/mock-salesforce-connection.js +61 -0
  65. package/lib/adapters/testing/mock-salesforce-connection.js.map +1 -0
  66. package/lib/adapters/testing/mock-soql-adapter.d.ts +30 -0
  67. package/lib/adapters/testing/mock-soql-adapter.js +120 -0
  68. package/lib/adapters/testing/mock-soql-adapter.js.map +1 -0
  69. package/lib/adapters/testing/mock-tooling-adapter.d.ts +24 -0
  70. package/lib/adapters/testing/mock-tooling-adapter.js +163 -0
  71. package/lib/adapters/testing/mock-tooling-adapter.js.map +1 -0
  72. package/lib/adapters/testing/stub-connection.d.ts +93 -0
  73. package/lib/adapters/testing/stub-connection.js +97 -0
  74. package/lib/adapters/testing/stub-connection.js.map +1 -0
  75. package/lib/adapters/testing/stub-rest-adapter.d.ts +52 -0
  76. package/lib/adapters/testing/stub-rest-adapter.js +58 -0
  77. package/lib/adapters/testing/stub-rest-adapter.js.map +1 -0
  78. package/lib/adapters/testing/stub-soql-adapter.d.ts +56 -0
  79. package/lib/adapters/testing/stub-soql-adapter.js +50 -0
  80. package/lib/adapters/testing/stub-soql-adapter.js.map +1 -0
  81. package/lib/adapters/testing/types.d.ts +71 -0
  82. package/lib/adapters/testing/types.js +9 -0
  83. package/lib/adapters/testing/types.js.map +1 -0
  84. package/lib/adapters/tooling/index.d.ts +10 -0
  85. package/lib/adapters/tooling/index.js +17 -0
  86. package/lib/adapters/tooling/index.js.map +1 -0
  87. package/lib/adapters/tooling/tooling-api-adapter.d.ts +157 -0
  88. package/lib/adapters/tooling/tooling-api-adapter.js +339 -0
  89. package/lib/adapters/tooling/tooling-api-adapter.js.map +1 -0
  90. package/lib/adapters/tooling/types.d.ts +81 -0
  91. package/lib/adapters/tooling/types.js +9 -0
  92. package/lib/adapters/tooling/types.js.map +1 -0
  93. package/lib/adapters/types.d.ts +112 -0
  94. package/lib/adapters/types.js +169 -0
  95. package/lib/adapters/types.js.map +1 -0
  96. package/lib/base/cuneiform-command.d.ts +152 -0
  97. package/lib/base/cuneiform-command.js +243 -0
  98. package/lib/base/cuneiform-command.js.map +1 -0
  99. package/lib/commands/cuneiform/compatibility/check.d.ts +43 -0
  100. package/lib/commands/cuneiform/compatibility/check.js +114 -0
  101. package/lib/commands/cuneiform/compatibility/check.js.map +1 -0
  102. package/lib/commands/cuneiform/definition/create.d.ts +119 -0
  103. package/lib/commands/cuneiform/definition/create.js +693 -0
  104. package/lib/commands/cuneiform/definition/create.js.map +1 -0
  105. package/lib/commands/cuneiform/definition/export.d.ts +57 -0
  106. package/lib/commands/cuneiform/definition/export.js +133 -0
  107. package/lib/commands/cuneiform/definition/export.js.map +1 -0
  108. package/lib/commands/cuneiform/definition/get.d.ts +86 -0
  109. package/lib/commands/cuneiform/definition/get.js +270 -0
  110. package/lib/commands/cuneiform/definition/get.js.map +1 -0
  111. package/lib/commands/cuneiform/definition/import.d.ts +54 -0
  112. package/lib/commands/cuneiform/definition/import.js +118 -0
  113. package/lib/commands/cuneiform/definition/import.js.map +1 -0
  114. package/lib/commands/cuneiform/definition/list.d.ts +110 -0
  115. package/lib/commands/cuneiform/definition/list.js +344 -0
  116. package/lib/commands/cuneiform/definition/list.js.map +1 -0
  117. package/lib/commands/cuneiform/definition/purge.d.ts +105 -0
  118. package/lib/commands/cuneiform/definition/purge.js +533 -0
  119. package/lib/commands/cuneiform/definition/purge.js.map +1 -0
  120. package/lib/commands/cuneiform/definition/update.d.ts +58 -0
  121. package/lib/commands/cuneiform/definition/update.js +206 -0
  122. package/lib/commands/cuneiform/definition/update.js.map +1 -0
  123. package/lib/commands/cuneiform/mcp/serve.d.ts +56 -0
  124. package/lib/commands/cuneiform/mcp/serve.js +109 -0
  125. package/lib/commands/cuneiform/mcp/serve.js.map +1 -0
  126. package/lib/commands/cuneiform/object/describe.d.ts +61 -0
  127. package/lib/commands/cuneiform/object/describe.js +461 -0
  128. package/lib/commands/cuneiform/object/describe.js.map +1 -0
  129. package/lib/commands/cuneiform/object/list.d.ts +111 -0
  130. package/lib/commands/cuneiform/object/list.js +239 -0
  131. package/lib/commands/cuneiform/object/list.js.map +1 -0
  132. package/lib/commands/cuneiform/org/details.d.ts +99 -0
  133. package/lib/commands/cuneiform/org/details.js +521 -0
  134. package/lib/commands/cuneiform/org/details.js.map +1 -0
  135. package/lib/commands/cuneiform/org/reset.d.ts +46 -0
  136. package/lib/commands/cuneiform/org/reset.js +135 -0
  137. package/lib/commands/cuneiform/org/reset.js.map +1 -0
  138. package/lib/commands/cuneiform/profile/request/cancel.d.ts +59 -0
  139. package/lib/commands/cuneiform/profile/request/cancel.js +202 -0
  140. package/lib/commands/cuneiform/profile/request/cancel.js.map +1 -0
  141. package/lib/commands/cuneiform/profile/request/delete.d.ts +59 -0
  142. package/lib/commands/cuneiform/profile/request/delete.js +223 -0
  143. package/lib/commands/cuneiform/profile/request/delete.js.map +1 -0
  144. package/lib/commands/cuneiform/profile/request/list.d.ts +35 -0
  145. package/lib/commands/cuneiform/profile/request/list.js +102 -0
  146. package/lib/commands/cuneiform/profile/request/list.js.map +1 -0
  147. package/lib/commands/cuneiform/profile.d.ts +90 -0
  148. package/lib/commands/cuneiform/profile.js +322 -0
  149. package/lib/commands/cuneiform/profile.js.map +1 -0
  150. package/lib/commands/cuneiform/summary/purge.d.ts +77 -0
  151. package/lib/commands/cuneiform/summary/purge.js +429 -0
  152. package/lib/commands/cuneiform/summary/purge.js.map +1 -0
  153. package/lib/commands/cuneiform/summary/reprofile.d.ts +60 -0
  154. package/lib/commands/cuneiform/summary/reprofile.js +236 -0
  155. package/lib/commands/cuneiform/summary/reprofile.js.map +1 -0
  156. package/lib/commands/cuneiform/summary/stop.d.ts +59 -0
  157. package/lib/commands/cuneiform/summary/stop.js +234 -0
  158. package/lib/commands/cuneiform/summary/stop.js.map +1 -0
  159. package/lib/commands/cuneiform/user/details.d.ts +73 -0
  160. package/lib/commands/cuneiform/user/details.js +391 -0
  161. package/lib/commands/cuneiform/user/details.js.map +1 -0
  162. package/lib/constants/index.d.ts +8 -0
  163. package/lib/constants/index.js +16 -0
  164. package/lib/constants/index.js.map +1 -0
  165. package/lib/constants/namespace-constants.d.ts +91 -0
  166. package/lib/constants/namespace-constants.js +211 -0
  167. package/lib/constants/namespace-constants.js.map +1 -0
  168. package/lib/debug/command-debug-proxy.d.ts +101 -0
  169. package/lib/debug/command-debug-proxy.js +171 -0
  170. package/lib/debug/command-debug-proxy.js.map +1 -0
  171. package/lib/debug/debug-logger.d.ts +85 -0
  172. package/lib/debug/debug-logger.js +133 -0
  173. package/lib/debug/debug-logger.js.map +1 -0
  174. package/lib/debug/index.d.ts +12 -0
  175. package/lib/debug/index.js +20 -0
  176. package/lib/debug/index.js.map +1 -0
  177. package/lib/debug/service-debug-proxy.d.ts +30 -0
  178. package/lib/debug/service-debug-proxy.js +102 -0
  179. package/lib/debug/service-debug-proxy.js.map +1 -0
  180. package/lib/hooks/prerun.d.ts +25 -0
  181. package/lib/hooks/prerun.js +47 -0
  182. package/lib/hooks/prerun.js.map +1 -0
  183. package/lib/mcp/config/mcp-config.d.ts +55 -0
  184. package/lib/mcp/config/mcp-config.js +51 -0
  185. package/lib/mcp/config/mcp-config.js.map +1 -0
  186. package/lib/mcp/config/pagination.d.ts +96 -0
  187. package/lib/mcp/config/pagination.js +108 -0
  188. package/lib/mcp/config/pagination.js.map +1 -0
  189. package/lib/mcp/config/system-prompts.d.ts +18 -0
  190. package/lib/mcp/config/system-prompts.js +92 -0
  191. package/lib/mcp/config/system-prompts.js.map +1 -0
  192. package/lib/mcp/errors.d.ts +23 -0
  193. package/lib/mcp/errors.js +27 -0
  194. package/lib/mcp/errors.js.map +1 -0
  195. package/lib/mcp/schemas/input-schemas.d.ts +327 -0
  196. package/lib/mcp/schemas/input-schemas.js +302 -0
  197. package/lib/mcp/schemas/input-schemas.js.map +1 -0
  198. package/lib/mcp/server.d.ts +40 -0
  199. package/lib/mcp/server.js +316 -0
  200. package/lib/mcp/server.js.map +1 -0
  201. package/lib/mcp/tools/contactpoint-tools.d.ts +14 -0
  202. package/lib/mcp/tools/contactpoint-tools.js +34 -0
  203. package/lib/mcp/tools/contactpoint-tools.js.map +1 -0
  204. package/lib/mcp/tools/definition-io-tools.d.ts +19 -0
  205. package/lib/mcp/tools/definition-io-tools.js +152 -0
  206. package/lib/mcp/tools/definition-io-tools.js.map +1 -0
  207. package/lib/mcp/tools/definition-tools.d.ts +51 -0
  208. package/lib/mcp/tools/definition-tools.js +199 -0
  209. package/lib/mcp/tools/definition-tools.js.map +1 -0
  210. package/lib/mcp/tools/index.d.ts +37 -0
  211. package/lib/mcp/tools/index.js +88 -0
  212. package/lib/mcp/tools/index.js.map +1 -0
  213. package/lib/mcp/tools/object-tools.d.ts +22 -0
  214. package/lib/mcp/tools/object-tools.js +306 -0
  215. package/lib/mcp/tools/object-tools.js.map +1 -0
  216. package/lib/mcp/tools/org-tools.d.ts +14 -0
  217. package/lib/mcp/tools/org-tools.js +177 -0
  218. package/lib/mcp/tools/org-tools.js.map +1 -0
  219. package/lib/mcp/tools/profile-tools.d.ts +59 -0
  220. package/lib/mcp/tools/profile-tools.js +213 -0
  221. package/lib/mcp/tools/profile-tools.js.map +1 -0
  222. package/lib/mcp/tools/summary-tools.d.ts +14 -0
  223. package/lib/mcp/tools/summary-tools.js +38 -0
  224. package/lib/mcp/tools/summary-tools.js.map +1 -0
  225. package/lib/mcp/tools/tool-factory.d.ts +63 -0
  226. package/lib/mcp/tools/tool-factory.js +146 -0
  227. package/lib/mcp/tools/tool-factory.js.map +1 -0
  228. package/lib/mcp/tools/user-tools.d.ts +25 -0
  229. package/lib/mcp/tools/user-tools.js +167 -0
  230. package/lib/mcp/tools/user-tools.js.map +1 -0
  231. package/lib/models/date-literal.d.ts +211 -0
  232. package/lib/models/date-literal.js +615 -0
  233. package/lib/models/date-literal.js.map +1 -0
  234. package/lib/models/object-describe-types.d.ts +173 -0
  235. package/lib/models/object-describe-types.js +9 -0
  236. package/lib/models/object-describe-types.js.map +1 -0
  237. package/lib/models/profile-request-types.d.ts +118 -0
  238. package/lib/models/profile-request-types.js +23 -0
  239. package/lib/models/profile-request-types.js.map +1 -0
  240. package/lib/models/profiling-execution-types.d.ts +154 -0
  241. package/lib/models/profiling-execution-types.js +14 -0
  242. package/lib/models/profiling-execution-types.js.map +1 -0
  243. package/lib/models/service-result.d.ts +114 -0
  244. package/lib/models/service-result.js +81 -0
  245. package/lib/models/service-result.js.map +1 -0
  246. package/lib/models/sfdmu-types.d.ts +53 -0
  247. package/lib/models/sfdmu-types.js +23 -0
  248. package/lib/models/sfdmu-types.js.map +1 -0
  249. package/lib/models/status-types.d.ts +38 -0
  250. package/lib/models/status-types.js +12 -0
  251. package/lib/models/status-types.js.map +1 -0
  252. package/lib/models/summary-bulk-types.d.ts +61 -0
  253. package/lib/models/summary-bulk-types.js +23 -0
  254. package/lib/models/summary-bulk-types.js.map +1 -0
  255. package/lib/models/user-details-types.d.ts +163 -0
  256. package/lib/models/user-details-types.js +9 -0
  257. package/lib/models/user-details-types.js.map +1 -0
  258. package/lib/models/year-range.d.ts +78 -0
  259. package/lib/models/year-range.js +153 -0
  260. package/lib/models/year-range.js.map +1 -0
  261. package/lib/operations/CompatibilityCheckOperation.d.ts +62 -0
  262. package/lib/operations/CompatibilityCheckOperation.js +102 -0
  263. package/lib/operations/CompatibilityCheckOperation.js.map +1 -0
  264. package/lib/operations/DefinitionCreateOperation.d.ts +411 -0
  265. package/lib/operations/DefinitionCreateOperation.js +1121 -0
  266. package/lib/operations/DefinitionCreateOperation.js.map +1 -0
  267. package/lib/operations/DefinitionExportOperation.d.ts +155 -0
  268. package/lib/operations/DefinitionExportOperation.js +281 -0
  269. package/lib/operations/DefinitionExportOperation.js.map +1 -0
  270. package/lib/operations/DefinitionImportOperation.d.ts +144 -0
  271. package/lib/operations/DefinitionImportOperation.js +357 -0
  272. package/lib/operations/DefinitionImportOperation.js.map +1 -0
  273. package/lib/operations/DefinitionListOperation.d.ts +66 -0
  274. package/lib/operations/DefinitionListOperation.js +108 -0
  275. package/lib/operations/DefinitionListOperation.js.map +1 -0
  276. package/lib/operations/DefinitionPurgeOperation.d.ts +199 -0
  277. package/lib/operations/DefinitionPurgeOperation.js +465 -0
  278. package/lib/operations/DefinitionPurgeOperation.js.map +1 -0
  279. package/lib/operations/DefinitionUpdateOperation.d.ts +78 -0
  280. package/lib/operations/DefinitionUpdateOperation.js +142 -0
  281. package/lib/operations/DefinitionUpdateOperation.js.map +1 -0
  282. package/lib/operations/OrgDetailsOperation.d.ts +253 -0
  283. package/lib/operations/OrgDetailsOperation.js +456 -0
  284. package/lib/operations/OrgDetailsOperation.js.map +1 -0
  285. package/lib/operations/OrgResetOperation.d.ts +114 -0
  286. package/lib/operations/OrgResetOperation.js +209 -0
  287. package/lib/operations/OrgResetOperation.js.map +1 -0
  288. package/lib/operations/ProfileOperation.d.ts +187 -0
  289. package/lib/operations/ProfileOperation.js +373 -0
  290. package/lib/operations/ProfileOperation.js.map +1 -0
  291. package/lib/operations/ProfileRequestCancelOperation.d.ts +59 -0
  292. package/lib/operations/ProfileRequestCancelOperation.js +137 -0
  293. package/lib/operations/ProfileRequestCancelOperation.js.map +1 -0
  294. package/lib/operations/ProfileRequestDeleteOperation.d.ts +64 -0
  295. package/lib/operations/ProfileRequestDeleteOperation.js +134 -0
  296. package/lib/operations/ProfileRequestDeleteOperation.js.map +1 -0
  297. package/lib/operations/ProfileRequestListOperation.d.ts +39 -0
  298. package/lib/operations/ProfileRequestListOperation.js +61 -0
  299. package/lib/operations/ProfileRequestListOperation.js.map +1 -0
  300. package/lib/operations/SummaryPurgeOperation.d.ts +134 -0
  301. package/lib/operations/SummaryPurgeOperation.js +257 -0
  302. package/lib/operations/SummaryPurgeOperation.js.map +1 -0
  303. package/lib/operations/SummaryReprofileOperation.d.ts +88 -0
  304. package/lib/operations/SummaryReprofileOperation.js +174 -0
  305. package/lib/operations/SummaryReprofileOperation.js.map +1 -0
  306. package/lib/operations/SummaryStopOperation.d.ts +87 -0
  307. package/lib/operations/SummaryStopOperation.js +175 -0
  308. package/lib/operations/SummaryStopOperation.js.map +1 -0
  309. package/lib/services/BulkExecutionService.d.ts +120 -0
  310. package/lib/services/BulkExecutionService.js +535 -0
  311. package/lib/services/BulkExecutionService.js.map +1 -0
  312. package/lib/services/CompatibilityService.d.ts +81 -0
  313. package/lib/services/CompatibilityService.js +118 -0
  314. package/lib/services/CompatibilityService.js.map +1 -0
  315. package/lib/services/ConfigureMode.d.ts +85 -0
  316. package/lib/services/ConfigureMode.js +390 -0
  317. package/lib/services/ConfigureMode.js.map +1 -0
  318. package/lib/services/ContactPointService.d.ts +111 -0
  319. package/lib/services/ContactPointService.js +286 -0
  320. package/lib/services/ContactPointService.js.map +1 -0
  321. package/lib/services/DataAvailabilityService.d.ts +81 -0
  322. package/lib/services/DataAvailabilityService.js +128 -0
  323. package/lib/services/DataAvailabilityService.js.map +1 -0
  324. package/lib/services/DefinitionFieldGenerationService.d.ts +309 -0
  325. package/lib/services/DefinitionFieldGenerationService.js +795 -0
  326. package/lib/services/DefinitionFieldGenerationService.js.map +1 -0
  327. package/lib/services/DefinitionQueryBuilder.d.ts +59 -0
  328. package/lib/services/DefinitionQueryBuilder.js +234 -0
  329. package/lib/services/DefinitionQueryBuilder.js.map +1 -0
  330. package/lib/services/ObjectDescribeService.d.ts +436 -0
  331. package/lib/services/ObjectDescribeService.js +869 -0
  332. package/lib/services/ObjectDescribeService.js.map +1 -0
  333. package/lib/services/ObjectFilteringService.d.ts +400 -0
  334. package/lib/services/ObjectFilteringService.js +878 -0
  335. package/lib/services/ObjectFilteringService.js.map +1 -0
  336. package/lib/services/ObjectListCommandService.d.ts +429 -0
  337. package/lib/services/ObjectListCommandService.js +873 -0
  338. package/lib/services/ObjectListCommandService.js.map +1 -0
  339. package/lib/services/ObjectListService.d.ts +201 -0
  340. package/lib/services/ObjectListService.js +345 -0
  341. package/lib/services/ObjectListService.js.map +1 -0
  342. package/lib/services/OrgInfoService.d.ts +485 -0
  343. package/lib/services/OrgInfoService.js +1122 -0
  344. package/lib/services/OrgInfoService.js.map +1 -0
  345. package/lib/services/PollingService.d.ts +105 -0
  346. package/lib/services/PollingService.js +117 -0
  347. package/lib/services/PollingService.js.map +1 -0
  348. package/lib/services/ProfileRequestService.d.ts +186 -0
  349. package/lib/services/ProfileRequestService.js +555 -0
  350. package/lib/services/ProfileRequestService.js.map +1 -0
  351. package/lib/services/ProfilingDefinitionService.d.ts +535 -0
  352. package/lib/services/ProfilingDefinitionService.js +981 -0
  353. package/lib/services/ProfilingDefinitionService.js.map +1 -0
  354. package/lib/services/ProfilingExecutionService.d.ts +122 -0
  355. package/lib/services/ProfilingExecutionService.js +320 -0
  356. package/lib/services/ProfilingExecutionService.js.map +1 -0
  357. package/lib/services/ProfilingSummaryService.d.ts +292 -0
  358. package/lib/services/ProfilingSummaryService.js +685 -0
  359. package/lib/services/ProfilingSummaryService.js.map +1 -0
  360. package/lib/services/RecordTypeService.d.ts +129 -0
  361. package/lib/services/RecordTypeService.js +284 -0
  362. package/lib/services/RecordTypeService.js.map +1 -0
  363. package/lib/services/SFDMUService.d.ts +133 -0
  364. package/lib/services/SFDMUService.js +295 -0
  365. package/lib/services/SFDMUService.js.map +1 -0
  366. package/lib/services/TabDetectionService.d.ts +105 -0
  367. package/lib/services/TabDetectionService.js +206 -0
  368. package/lib/services/TabDetectionService.js.map +1 -0
  369. package/lib/services/UnconfigureMode.d.ts +74 -0
  370. package/lib/services/UnconfigureMode.js +378 -0
  371. package/lib/services/UnconfigureMode.js.map +1 -0
  372. package/lib/services/UserConfigurationService.d.ts +155 -0
  373. package/lib/services/UserConfigurationService.js +573 -0
  374. package/lib/services/UserConfigurationService.js.map +1 -0
  375. package/lib/services/UserConfigurationTypes.d.ts +181 -0
  376. package/lib/services/UserConfigurationTypes.js +14 -0
  377. package/lib/services/UserConfigurationTypes.js.map +1 -0
  378. package/lib/services/UserReadinessService.d.ts +330 -0
  379. package/lib/services/UserReadinessService.js +831 -0
  380. package/lib/services/UserReadinessService.js.map +1 -0
  381. package/lib/services/constants.d.ts +53 -0
  382. package/lib/services/constants.js +71 -0
  383. package/lib/services/constants.js.map +1 -0
  384. package/lib/services/namespace-constants.d.ts +1 -0
  385. package/lib/services/namespace-constants.js +11 -0
  386. package/lib/services/namespace-constants.js.map +1 -0
  387. package/lib/services/validation.d.ts +47 -0
  388. package/lib/services/validation.js +119 -0
  389. package/lib/services/validation.js.map +1 -0
  390. package/lib/utils/batch-processor.d.ts +13 -0
  391. package/lib/utils/batch-processor.js +39 -0
  392. package/lib/utils/batch-processor.js.map +1 -0
  393. package/lib/utils/formatting/availability-grid.d.ts +81 -0
  394. package/lib/utils/formatting/availability-grid.js +94 -0
  395. package/lib/utils/formatting/availability-grid.js.map +1 -0
  396. package/lib/utils/formatting/business-process-grid.d.ts +51 -0
  397. package/lib/utils/formatting/business-process-grid.js +58 -0
  398. package/lib/utils/formatting/business-process-grid.js.map +1 -0
  399. package/lib/utils/formatting/command-display.d.ts +154 -0
  400. package/lib/utils/formatting/command-display.js +154 -0
  401. package/lib/utils/formatting/command-display.js.map +1 -0
  402. package/lib/utils/formatting/definition-create-display.d.ts +118 -0
  403. package/lib/utils/formatting/definition-create-display.js +231 -0
  404. package/lib/utils/formatting/definition-create-display.js.map +1 -0
  405. package/lib/utils/formatting/empty-states.d.ts +35 -0
  406. package/lib/utils/formatting/empty-states.js +70 -0
  407. package/lib/utils/formatting/empty-states.js.map +1 -0
  408. package/lib/utils/formatting/errors.d.ts +33 -0
  409. package/lib/utils/formatting/errors.js +72 -0
  410. package/lib/utils/formatting/errors.js.map +1 -0
  411. package/lib/utils/formatting/field-types.d.ts +32 -0
  412. package/lib/utils/formatting/field-types.js +88 -0
  413. package/lib/utils/formatting/field-types.js.map +1 -0
  414. package/lib/utils/formatting/index.d.ts +29 -0
  415. package/lib/utils/formatting/index.js +28 -0
  416. package/lib/utils/formatting/index.js.map +1 -0
  417. package/lib/utils/formatting/indicators.d.ts +113 -0
  418. package/lib/utils/formatting/indicators.js +161 -0
  419. package/lib/utils/formatting/indicators.js.map +1 -0
  420. package/lib/utils/formatting/loading-messages.d.ts +37 -0
  421. package/lib/utils/formatting/loading-messages.js +50 -0
  422. package/lib/utils/formatting/loading-messages.js.map +1 -0
  423. package/lib/utils/formatting/namespace-display.d.ts +31 -0
  424. package/lib/utils/formatting/namespace-display.js +64 -0
  425. package/lib/utils/formatting/namespace-display.js.map +1 -0
  426. package/lib/utils/formatting/numbers.d.ts +73 -0
  427. package/lib/utils/formatting/numbers.js +187 -0
  428. package/lib/utils/formatting/numbers.js.map +1 -0
  429. package/lib/utils/formatting/object-describe-display.d.ts +114 -0
  430. package/lib/utils/formatting/object-describe-display.js +440 -0
  431. package/lib/utils/formatting/object-describe-display.js.map +1 -0
  432. package/lib/utils/formatting/object-list-display.d.ts +213 -0
  433. package/lib/utils/formatting/object-list-display.js +672 -0
  434. package/lib/utils/formatting/object-list-display.js.map +1 -0
  435. package/lib/utils/formatting/org-identity.d.ts +15 -0
  436. package/lib/utils/formatting/org-identity.js +28 -0
  437. package/lib/utils/formatting/org-identity.js.map +1 -0
  438. package/lib/utils/formatting/record-age-grid.d.ts +41 -0
  439. package/lib/utils/formatting/record-age-grid.js +56 -0
  440. package/lib/utils/formatting/record-age-grid.js.map +1 -0
  441. package/lib/utils/formatting/sections.d.ts +108 -0
  442. package/lib/utils/formatting/sections.js +150 -0
  443. package/lib/utils/formatting/sections.js.map +1 -0
  444. package/lib/utils/formatting/tables.d.ts +90 -0
  445. package/lib/utils/formatting/tables.js +113 -0
  446. package/lib/utils/formatting/tables.js.map +1 -0
  447. package/lib/utils/formatting/user-details-display.d.ts +101 -0
  448. package/lib/utils/formatting/user-details-display.js +425 -0
  449. package/lib/utils/formatting/user-details-display.js.map +1 -0
  450. package/lib/utils/pagination/index.d.ts +11 -0
  451. package/lib/utils/pagination/index.js +18 -0
  452. package/lib/utils/pagination/index.js.map +1 -0
  453. package/lib/utils/pagination/keypress-reader.d.ts +20 -0
  454. package/lib/utils/pagination/keypress-reader.js +63 -0
  455. package/lib/utils/pagination/keypress-reader.js.map +1 -0
  456. package/lib/utils/pagination/paginate-output.d.ts +48 -0
  457. package/lib/utils/pagination/paginate-output.js +136 -0
  458. package/lib/utils/pagination/paginate-output.js.map +1 -0
  459. package/messages/compatibility.check.md +71 -0
  460. package/messages/cuneiform.access.md +138 -0
  461. package/messages/definition.create.md +511 -0
  462. package/messages/definition.export.md +84 -0
  463. package/messages/definition.get.md +147 -0
  464. package/messages/definition.import.md +65 -0
  465. package/messages/definition.list.md +264 -0
  466. package/messages/definition.purge.md +318 -0
  467. package/messages/definition.update.md +118 -0
  468. package/messages/mcp.serve.md +66 -0
  469. package/messages/object.describe.md +201 -0
  470. package/messages/object.list.md +443 -0
  471. package/messages/org.details.md +386 -0
  472. package/messages/org.reset.md +71 -0
  473. package/messages/profile.md +231 -0
  474. package/messages/profile.request.cancel.md +143 -0
  475. package/messages/profile.request.delete.md +139 -0
  476. package/messages/profile.request.list.md +89 -0
  477. package/messages/summary.purge.md +218 -0
  478. package/messages/summary.reprofile.md +150 -0
  479. package/messages/summary.stop.md +157 -0
  480. package/messages/user.details.md +501 -0
  481. package/oclif.lock +2887 -2149
  482. package/oclif.manifest.json +2813 -31
  483. package/package.json +94 -19
  484. package/lib/commands/cuneiform/about.d.ts +0 -13
  485. package/lib/commands/cuneiform/about.js +0 -26
  486. package/lib/commands/cuneiform/about.js.map +0 -1
  487. package/lib/commands/hello/world.d.ts +0 -14
  488. package/lib/commands/hello/world.js +0 -27
  489. package/lib/commands/hello/world.js.map +0 -1
  490. package/lib/index.d.ts +0 -2
  491. package/lib/index.js +0 -2
  492. package/lib/index.js.map +0 -1
  493. package/messages/cuneiform.about.md +0 -19
  494. package/messages/hello.world.md +0 -29
@@ -0,0 +1,458 @@
1
+ import type { Connection } from '@salesforce/core';
2
+ /**
3
+ * Query result structure from Salesforce.
4
+ *
5
+ * @template T The type of records in the result
6
+ */
7
+ export type QueryResult<T> = {
8
+ /** Whether the query is complete (no more records) */
9
+ done: boolean;
10
+ /** Total number of records matching the query */
11
+ totalSize: number;
12
+ /** Array of records returned */
13
+ records: T[];
14
+ /** Locator for next batch if done is false */
15
+ nextRecordsUrl?: string;
16
+ };
17
+ /**
18
+ * Picklist entry for picklist fields.
19
+ */
20
+ export type PicklistEntry = {
21
+ /** API value */
22
+ value: string;
23
+ /** Display label */
24
+ label: string;
25
+ /** Whether this is the default value */
26
+ defaultValue: boolean;
27
+ /** Whether this value is active */
28
+ active: boolean;
29
+ };
30
+ /**
31
+ * Child relationship for describe results.
32
+ */
33
+ export type ChildRelationship = {
34
+ /** Relationship name */
35
+ relationshipName: string;
36
+ /** Child object API name */
37
+ childSObject: string;
38
+ /** Field on child that references this object */
39
+ field: string;
40
+ /** Whether cascade delete is enabled */
41
+ cascadeDelete: boolean;
42
+ };
43
+ /**
44
+ * Record type info for describe results.
45
+ */
46
+ export type RecordTypeInfo = {
47
+ /** Record type ID */
48
+ recordTypeId: string;
49
+ /** Record type name */
50
+ name: string;
51
+ /** Developer name (may not be present in all versions) */
52
+ developerName?: string;
53
+ /** Whether this is the default record type */
54
+ defaultRecordTypeMapping: boolean;
55
+ /** Whether this is available */
56
+ available: boolean;
57
+ /** Whether this is the master record type */
58
+ master: boolean;
59
+ };
60
+ /**
61
+ * Describe result for a field.
62
+ */
63
+ export type DescribeFieldResult = {
64
+ /** API name of the field */
65
+ name: string;
66
+ /** User-friendly label */
67
+ label: string;
68
+ /** Field data type */
69
+ type: string;
70
+ /** Maximum length for text fields */
71
+ length?: number;
72
+ /** Precision for numeric fields */
73
+ precision?: number;
74
+ /** Scale for decimal fields */
75
+ scale?: number;
76
+ /** Whether this is a custom field */
77
+ custom: boolean;
78
+ /** Whether the field can be null */
79
+ nillable: boolean;
80
+ /** Whether the field is unique */
81
+ unique: boolean;
82
+ /** Whether this is an external ID field */
83
+ externalId: boolean;
84
+ /** Whether the field is a formula */
85
+ calculated: boolean;
86
+ /** Whether the field can be created */
87
+ createable: boolean;
88
+ /** Whether the field can be updated */
89
+ updateable: boolean;
90
+ /** Whether the field can be used in filters */
91
+ filterable: boolean;
92
+ /** Whether the field can be used in sorts */
93
+ sortable: boolean;
94
+ /** Default value if any */
95
+ defaultValue?: unknown;
96
+ /** Picklist values if picklist type */
97
+ picklistValues?: PicklistEntry[];
98
+ /** Reference to object(s) for lookup fields */
99
+ referenceTo?: string[];
100
+ /** Relationship name for lookup fields */
101
+ relationshipName?: string;
102
+ };
103
+ /**
104
+ * Describe result for a Salesforce object.
105
+ */
106
+ export type DescribeSObjectResult = {
107
+ /** API name of the object */
108
+ name: string;
109
+ /** User-friendly label */
110
+ label: string;
111
+ /** Plural label */
112
+ labelPlural: string;
113
+ /** Whether this is a custom object */
114
+ custom: boolean;
115
+ /** Whether records can be created */
116
+ createable: boolean;
117
+ /** Whether records can be updated */
118
+ updateable: boolean;
119
+ /** Whether records can be deleted */
120
+ deletable: boolean;
121
+ /** Whether the object can be queried */
122
+ queryable: boolean;
123
+ /** Whether the object is searchable */
124
+ searchable: boolean;
125
+ /** Field metadata */
126
+ fields: DescribeFieldResult[];
127
+ /** Child relationships */
128
+ childRelationships?: ChildRelationship[];
129
+ /** Record type infos */
130
+ recordTypeInfos?: RecordTypeInfo[];
131
+ };
132
+ /**
133
+ * Summary object info from global describe.
134
+ */
135
+ export type DescribeGlobalSObjectResult = {
136
+ /** API name of the object */
137
+ name: string;
138
+ /** User-friendly label */
139
+ label: string;
140
+ /** Plural label */
141
+ labelPlural: string;
142
+ /** Key prefix (3 character ID prefix) */
143
+ keyPrefix: string | null;
144
+ /** Whether this is a custom object */
145
+ custom: boolean;
146
+ /** Whether records can be created */
147
+ createable: boolean;
148
+ /** Whether records can be updated */
149
+ updateable: boolean;
150
+ /** Whether records can be deleted */
151
+ deletable: boolean;
152
+ /** Whether the object can be queried */
153
+ queryable: boolean;
154
+ /** Whether the object is searchable */
155
+ searchable: boolean;
156
+ /** Whether this is a Custom Setting (hierarchy or list type) */
157
+ customSetting?: boolean;
158
+ };
159
+ /**
160
+ * Global describe result containing all accessible objects.
161
+ */
162
+ export type DescribeGlobalResult = {
163
+ /** Maximum batch size for queries */
164
+ maxBatchSize: number;
165
+ /** Array of object metadata summaries */
166
+ sobjects: DescribeGlobalSObjectResult[];
167
+ };
168
+ /**
169
+ * Result of executing anonymous Apex.
170
+ */
171
+ export type ExecuteAnonymousResult = {
172
+ /** Whether execution was successful */
173
+ success: boolean;
174
+ /** Whether code was compiled successfully */
175
+ compiled: boolean;
176
+ /** Compilation problem description if compilation failed */
177
+ compileProblem?: string;
178
+ /** Line number of compilation error */
179
+ line?: number;
180
+ /** Column number of compilation error */
181
+ column?: number;
182
+ /** Exception message if runtime exception occurred */
183
+ exceptionMessage?: string;
184
+ /** Exception stack trace */
185
+ exceptionStackTrace?: string;
186
+ };
187
+ /**
188
+ * HTTP request configuration for custom API calls.
189
+ */
190
+ export type HttpRequest = {
191
+ /** Request URL (relative to instance URL) */
192
+ url: string;
193
+ /** HTTP method */
194
+ method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
195
+ /** Request body for POST/PUT/PATCH */
196
+ body?: unknown;
197
+ /** Custom headers */
198
+ headers?: Record<string, string>;
199
+ };
200
+ /**
201
+ * Query builder for SObject find operations.
202
+ *
203
+ * Provides a fluent interface for building and executing queries.
204
+ * Use the `limit()` method to constrain results, then `execute()` to run.
205
+ *
206
+ * @template T The SObject record type being queried
207
+ *
208
+ * @example
209
+ * ```typescript
210
+ * const accounts = await facade
211
+ * .sobject<Account>('Account')
212
+ * .find({ Type: 'Customer' }, ['Id', 'Name'])
213
+ * .limit(100)
214
+ * .execute();
215
+ * ```
216
+ */
217
+ export type ISObjectQueryBuilder<T> = {
218
+ /**
219
+ * Limits the number of records returned.
220
+ *
221
+ * @param count - Maximum number of records to return
222
+ * @returns The query builder for method chaining
223
+ */
224
+ limit(count: number): ISObjectQueryBuilder<T>;
225
+ /**
226
+ * Executes the query and returns matching records.
227
+ *
228
+ * @returns Promise resolving to an array of matching records
229
+ */
230
+ execute(): Promise<T[]>;
231
+ };
232
+ /**
233
+ * SObject API for record operations on a specific Salesforce object.
234
+ *
235
+ * Provides methods to describe object metadata and query records.
236
+ *
237
+ * @template T The SObject record type
238
+ *
239
+ * @example
240
+ * ```typescript
241
+ * const accountApi = facade.sobject<Account>('Account');
242
+ * const metadata = await accountApi.describe();
243
+ * const records = await accountApi.find({ Type: 'Customer' }).execute();
244
+ * ```
245
+ */
246
+ export type ISObjectApi<T> = {
247
+ /**
248
+ * Retrieves describe metadata for this SObject.
249
+ *
250
+ * @returns Promise resolving to the object's describe result
251
+ */
252
+ describe(): Promise<DescribeSObjectResult>;
253
+ /**
254
+ * Finds records matching the specified conditions.
255
+ *
256
+ * @param conditions - Field conditions to match (field name to value)
257
+ * @param fields - Optional list of fields to retrieve (defaults to all)
258
+ * @returns Query builder for further refinement and execution
259
+ */
260
+ find(conditions: Record<string, unknown>, fields?: string[]): ISObjectQueryBuilder<T>;
261
+ };
262
+ /**
263
+ * Tooling API interface for metadata and development operations.
264
+ *
265
+ * Provides access to Salesforce Tooling API for querying metadata objects,
266
+ * executing anonymous Apex, and CRUD operations on Tooling API entities.
267
+ *
268
+ * @example
269
+ * ```typescript
270
+ * // Query ApexClass metadata
271
+ * const result = await facade.tooling.query<ApexClass>(
272
+ * "SELECT Id, Name FROM ApexClass WHERE Name LIKE 'Test%'"
273
+ * );
274
+ *
275
+ * // Execute anonymous Apex
276
+ * const execResult = await facade.tooling.executeAnonymous(
277
+ * 'System.debug("Hello");'
278
+ * );
279
+ * ```
280
+ */
281
+ export type IToolingApi = {
282
+ /**
283
+ * Executes a Tooling API SOQL query.
284
+ *
285
+ * @template T The expected record type in results
286
+ * @param soql - The SOQL query string
287
+ * @returns Promise resolving to query results with records
288
+ */
289
+ query<T>(soql: string): Promise<QueryResult<T>>;
290
+ /**
291
+ * Retrieves additional results for a paginated query.
292
+ *
293
+ * @template T The expected record type in results
294
+ * @param locator - The nextRecordsUrl from a previous query result
295
+ * @returns Promise resolving to the next batch of results
296
+ */
297
+ queryMore<T>(locator: string): Promise<QueryResult<T>>;
298
+ /**
299
+ * Executes anonymous Apex code.
300
+ *
301
+ * @param apex - The Apex code to execute
302
+ * @returns Promise resolving to execution result with success/failure info
303
+ */
304
+ executeAnonymous(apex: string): Promise<ExecuteAnonymousResult>;
305
+ /**
306
+ * Creates a Tooling API record (e.g., TraceFlag, DebugLevel).
307
+ *
308
+ * @param type - The Tooling API object type name
309
+ * @param record - The record data to create
310
+ * @returns Promise resolving to creation result with id and success flag
311
+ */
312
+ create(type: string, record: Record<string, unknown>): Promise<{
313
+ id: string;
314
+ success: boolean;
315
+ }>;
316
+ /**
317
+ * Deletes a Tooling API record.
318
+ *
319
+ * @param type - The Tooling API object type name
320
+ * @param id - The record ID to delete
321
+ * @returns Promise resolving to deletion result with id and success flag
322
+ */
323
+ destroy(type: string, id: string): Promise<{
324
+ id: string;
325
+ success: boolean;
326
+ }>;
327
+ };
328
+ /**
329
+ * Facade type for Salesforce Connection.
330
+ *
331
+ * This type wraps the @salesforce/core Connection class to provide
332
+ * a testable, minimal surface for adapter implementations. The Connection
333
+ * class has 400+ methods; this facade exposes only what adapters need.
334
+ *
335
+ * @example
336
+ * ```typescript
337
+ * // In production, wrap the actual connection
338
+ * const facade = createConnectionFacade(connection);
339
+ *
340
+ * // In tests, use a mock
341
+ * const mockFacade = createMockConnectionFacade();
342
+ * ```
343
+ */
344
+ export type IConnectionFacade = {
345
+ /** Access Tooling API methods */
346
+ tooling: IToolingApi;
347
+ /** Get the API version being used */
348
+ version: string;
349
+ /** Get the access token for authentication */
350
+ accessToken?: string;
351
+ /** Get the instance URL for the Salesforce org */
352
+ instanceUrl?: string;
353
+ /** Execute a SOQL query */
354
+ query<T>(soql: string): Promise<QueryResult<T>>;
355
+ /** Query for additional results using nextRecordsUrl locator */
356
+ queryMore<T>(locator: string): Promise<QueryResult<T>>;
357
+ /** Get SObject API for a specific object */
358
+ sobject<T>(name: string): ISObjectApi<T>;
359
+ /** Make a custom HTTP request to the Salesforce API */
360
+ request<T>(request: HttpRequest | string): Promise<T>;
361
+ /** Get the current user's identity information */
362
+ identity(): Promise<{
363
+ user_id: string;
364
+ organization_id: string;
365
+ username: string;
366
+ }>;
367
+ };
368
+ /**
369
+ * Validation result for connection state.
370
+ */
371
+ export type ConnectionValidationResult = {
372
+ /** Whether the connection is valid */
373
+ valid: boolean;
374
+ /** Error code if invalid */
375
+ errorCode?: string;
376
+ /** Error message if invalid */
377
+ errorMessage?: string;
378
+ };
379
+ /**
380
+ * Validates that a connection has required properties for API calls.
381
+ *
382
+ * This checks that the connection has:
383
+ * - An access token (authentication)
384
+ * - An instance URL (target org)
385
+ * - A version (API version)
386
+ *
387
+ * @param connection - The connection to validate
388
+ * @returns Validation result indicating if connection is ready for use
389
+ *
390
+ * @example
391
+ * ```typescript
392
+ * const result = validateConnection(connection);
393
+ * if (!result.valid) {
394
+ * throw new Error(`${result.errorCode}: ${result.errorMessage}`);
395
+ * }
396
+ * ```
397
+ */
398
+ export declare function validateConnection(connection: Connection): ConnectionValidationResult;
399
+ /**
400
+ * Creates a connection facade wrapper around a Salesforce Connection.
401
+ *
402
+ * @param connection - The @salesforce/core Connection instance
403
+ * @param options - Optional configuration
404
+ * @param options.skipValidation Skip connection validation (default: false)
405
+ * @returns An IConnectionFacade wrapping the connection
406
+ * @throws Error if connection validation fails and skipValidation is false
407
+ *
408
+ * @example
409
+ * ```typescript
410
+ * import { Connection } from '@salesforce/core';
411
+ *
412
+ * const org = await Org.create({ aliasOrUsername: 'myOrg' });
413
+ * const connection = org.getConnection();
414
+ * const facade = createConnectionFacade(connection);
415
+ *
416
+ * const result = await facade.query<Account>('SELECT Id, Name FROM Account LIMIT 10');
417
+ * ```
418
+ */
419
+ export declare function createConnectionFacade(connection: Connection, options?: {
420
+ skipValidation?: boolean;
421
+ }): IConnectionFacade;
422
+ /**
423
+ * Configuration options for debug connection facade.
424
+ */
425
+ export type DebugConnectionFacadeOptions = {
426
+ /** Enable debug logging for all API calls (default: false) */
427
+ debug?: boolean;
428
+ };
429
+ /**
430
+ * Creates a debug-wrapped connection facade that logs all API calls.
431
+ *
432
+ * When debug is enabled, wraps the facade to log:
433
+ * - SOQL queries (truncated to 100 chars)
434
+ * - Query results (record counts, timing)
435
+ * - REST API calls (describe, request, identity)
436
+ * - Tooling API calls (query, executeAnonymous)
437
+ * - Errors when operations fail
438
+ *
439
+ * When debug is disabled (default), returns the original facade unchanged
440
+ * with zero overhead.
441
+ *
442
+ * @param facade - The connection facade to wrap
443
+ * @param options - Configuration options
444
+ * @returns The facade, wrapped with logging if debug=true
445
+ *
446
+ * @example
447
+ * ```typescript
448
+ * // Without logging (production)
449
+ * const facade = createDebugConnectionFacade(baseFacade);
450
+ *
451
+ * // With logging (debug mode)
452
+ * const facade = createDebugConnectionFacade(baseFacade, { debug: true });
453
+ * // Calls will log:
454
+ * // [DEBUG] [ADAPTER] SOQL: query → SELECT Id FROM Account...
455
+ * // [DEBUG] [ADAPTER] SOQL: complete → 100 records, 150ms
456
+ * ```
457
+ */
458
+ export declare function createDebugConnectionFacade(facade: IConnectionFacade, options?: DebugConnectionFacadeOptions): IConnectionFacade;