@withgateway/sdk 0.2.0 → 0.2.1

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 (1188) hide show
  1. package/README.md +30 -6
  2. package/dist/cli.js +7815 -2406
  3. package/dist/cli.js.map +1 -1
  4. package/dist/cli.mjs +7807 -2398
  5. package/dist/cli.mjs.map +1 -1
  6. package/dist/files/index.d.mts +2 -0
  7. package/dist/files/index.d.ts +2 -0
  8. package/dist/files/index.js +446 -0
  9. package/dist/files/index.js.map +1 -0
  10. package/dist/files/index.mjs +395 -0
  11. package/dist/files/index.mjs.map +1 -0
  12. package/dist/index-BgvvQ3BC.d.ts +170 -0
  13. package/dist/index-CLkMr6VG.d.ts +171 -0
  14. package/dist/index-CdbmO4aX.d.mts +171 -0
  15. package/dist/index-CiKWoroJ.d.mts +170 -0
  16. package/dist/index.d.mts +3 -1
  17. package/dist/index.d.ts +3 -1
  18. package/dist/index.js +2283 -116
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +2255 -116
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/traces/index.d.mts +2 -0
  23. package/dist/traces/index.d.ts +2 -0
  24. package/dist/traces/index.js +320 -0
  25. package/dist/traces/index.js.map +1 -0
  26. package/dist/traces/index.mjs +278 -0
  27. package/dist/traces/index.mjs.map +1 -0
  28. package/dist/tracing/index.js +16 -1
  29. package/dist/tracing/index.js.map +1 -1
  30. package/dist/tracing/index.mjs +16 -1
  31. package/dist/tracing/index.mjs.map +1 -1
  32. package/dist/worlds/index.d.mts +685 -1
  33. package/dist/worlds/index.d.ts +685 -1
  34. package/dist/worlds/index.js +1876 -32
  35. package/dist/worlds/index.js.map +1 -1
  36. package/dist/worlds/index.mjs +1875 -32
  37. package/dist/worlds/index.mjs.map +1 -1
  38. package/package.json +16 -1
  39. package/runtime/gatewaysdk/environment/_world.py +14 -1
  40. package/runtime/gatewaysdk/environment/schema/__init__.py +8 -0
  41. package/runtime/gatewaysdk/environment/schema/__main__.py +154 -19
  42. package/runtime/gatewaysdk/environment/schema/api.py +233 -37
  43. package/runtime/gatewaysdk/environment/schema/batch.py +38 -8
  44. package/runtime/gatewaysdk/environment/schema/compiler.py +89 -11
  45. package/runtime/gatewaysdk/environment/schema/conform.py +105 -13
  46. package/runtime/gatewaysdk/environment/schema/connector.py +442 -103
  47. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/api/handlers.py +778 -0
  48. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/connector.toml +671 -0
  49. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/handlers.py +3 -2
  50. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/parity.json +11 -5
  51. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/provenance.json +1635 -100
  52. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/instruction.md +7 -0
  53. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/scenario.toml +2 -0
  54. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_activities.json +24 -0
  55. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_activity_devices.json +12 -0
  56. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_applecare_coverages.json +52 -0
  57. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_apps.json +35 -0
  58. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_audit_events.json +139 -0
  59. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprint_apps.json +12 -0
  60. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprint_configurations.json +20 -0
  61. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprint_devices.json +16 -0
  62. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprint_packages.json +8 -0
  63. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprint_user_groups.json +12 -0
  64. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprint_users.json +12 -0
  65. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_blueprints.json +39 -0
  66. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_configurations.json +64 -0
  67. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_device_assignments.json +20 -0
  68. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_mdm_device_details.json +55 -0
  69. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_mdm_devices.json +33 -0
  70. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_mdm_servers.json +56 -0
  71. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_org_devices.json +178 -0
  72. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_organizational_unit_memberships.json +16 -0
  73. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_organizational_units.json +24 -0
  74. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_packages.json +20 -0
  75. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_user_group_memberships.json +16 -0
  76. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_user_groups.json +30 -0
  77. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scenarios/default/seed/abm_users.json +115 -0
  78. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/scope.toml +49 -22
  79. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/tests/tools.json +48 -0
  80. package/runtime/gatewaysdk/environment/schema/connectors/apple-business-manager/world.json +1180 -194
  81. package/runtime/gatewaysdk/environment/schema/connectors/asana/api/handlers.py +1026 -0
  82. package/runtime/gatewaysdk/environment/schema/connectors/asana/connector.toml +511 -0
  83. package/runtime/gatewaysdk/environment/schema/connectors/asana/fidelity.json +89 -0
  84. package/runtime/gatewaysdk/environment/schema/connectors/asana/handlers.py +40 -0
  85. package/runtime/gatewaysdk/environment/schema/connectors/asana/provenance.json +101 -0
  86. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/scenario.toml +2 -0
  87. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/account_settings.json +12 -0
  88. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/custom_field_settings.json +60 -0
  89. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/custom_fields.json +43 -0
  90. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/enum_options.json +52 -0
  91. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/notifications.json +103 -0
  92. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/project_favorites.json +12 -0
  93. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/project_memberships.json +144 -0
  94. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/projects.json +120 -0
  95. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/recent_projects.json +19 -0
  96. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/sections.json +102 -0
  97. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/stories.json +852 -0
  98. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/task_custom_fields.json +508 -0
  99. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/task_followers.json +368 -0
  100. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/task_memberships.json +184 -0
  101. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/tasks.json +1921 -0
  102. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/teams.json +22 -0
  103. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/user_task_list_sections.json +32 -0
  104. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/user_task_lists.json +11 -0
  105. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/users.json +60 -0
  106. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/workspace_memberships.json +76 -0
  107. package/runtime/gatewaysdk/environment/schema/connectors/asana/scenarios/default/seed/workspaces.json +13 -0
  108. package/runtime/gatewaysdk/environment/schema/connectors/asana/scope.toml +156 -0
  109. package/runtime/gatewaysdk/environment/schema/connectors/asana/tests/routes.json +298 -0
  110. package/runtime/gatewaysdk/environment/schema/connectors/asana/tests/tools.json +152 -0
  111. package/runtime/gatewaysdk/environment/schema/connectors/asana/ui/static/assets/index-DTTTJ6a4.css +1 -0
  112. package/runtime/gatewaysdk/environment/schema/connectors/asana/ui/static/assets/index-WS8dLEjv.js +67 -0
  113. package/runtime/gatewaysdk/environment/schema/connectors/asana/ui/static/index.html +40 -0
  114. package/runtime/gatewaysdk/environment/schema/connectors/asana/world.json +1911 -0
  115. package/runtime/gatewaysdk/environment/schema/connectors/confluence/api/handlers.py +847 -0
  116. package/runtime/gatewaysdk/environment/schema/connectors/confluence/connector.toml +457 -0
  117. package/runtime/gatewaysdk/environment/schema/connectors/confluence/handlers.py +176 -0
  118. package/runtime/gatewaysdk/environment/schema/connectors/confluence/provenance.json +187 -0
  119. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/instruction.md +39 -0
  120. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/scenario.toml +3 -0
  121. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_favourites.json +29 -0
  122. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_footer_comments.json +984 -0
  123. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_inline_comments.json +355 -0
  124. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_labels.json +99 -0
  125. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_notifications.json +40 -0
  126. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_page_labels.json +209 -0
  127. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_page_versions.json +828 -0
  128. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_pages.json +949 -0
  129. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_recently_viewed_pages.json +59 -0
  130. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_sites.json +12 -0
  131. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_spaces.json +128 -0
  132. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_users.json +100 -0
  133. package/runtime/gatewaysdk/environment/schema/connectors/confluence/scenarios/default/seed/confluence_watches.json +96 -0
  134. package/runtime/gatewaysdk/environment/schema/connectors/confluence/tests/routes.json +212 -0
  135. package/runtime/gatewaysdk/environment/schema/connectors/confluence/tests/tools.json +140 -0
  136. package/runtime/gatewaysdk/environment/schema/connectors/confluence/tests/writes.json +201 -0
  137. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/assets/index-BWaOVdpn.js +70 -0
  138. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/assets/index-CKyfi3i5.css +1 -0
  139. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/acct-01.svg +1 -0
  140. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/acct-02.svg +1 -0
  141. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/acct-03.svg +1 -0
  142. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/acct-04.svg +1 -0
  143. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/acct-05.svg +1 -0
  144. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/acct-06.svg +1 -0
  145. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/space-DES.svg +1 -0
  146. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/space-ENG.svg +1 -0
  147. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/space-OPS.svg +1 -0
  148. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/space-ORB.svg +1 -0
  149. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/avatars/space-PN.svg +1 -0
  150. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/fonts/AtlassianMono-latin.woff2 +0 -0
  151. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/fonts/AtlassianSans-latin.woff2 +0 -0
  152. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/fonts/AtlassianSansItalic-latin.woff2 +0 -0
  153. package/runtime/gatewaysdk/environment/schema/connectors/confluence/ui/static/index.html +47 -0
  154. package/runtime/gatewaysdk/environment/schema/connectors/confluence/world.json +1346 -0
  155. package/runtime/gatewaysdk/environment/schema/connectors/custom/provenance.json +35 -0
  156. package/runtime/gatewaysdk/environment/schema/connectors/custom/tests/tools.json +123 -0
  157. package/runtime/gatewaysdk/environment/schema/connectors/custom/world.json +112 -24
  158. package/runtime/gatewaysdk/environment/schema/connectors/github/api/handlers.py +2923 -0
  159. package/runtime/gatewaysdk/environment/schema/connectors/github/connector.toml +2091 -0
  160. package/runtime/gatewaysdk/environment/schema/connectors/github/provenance.json +109 -81
  161. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/instruction.md +18 -0
  162. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/scenario.toml +2 -0
  163. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_apps.json +49 -0
  164. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_artifacts.json +26 -0
  165. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_branches.json +443 -0
  166. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_check_runs.json +220 -0
  167. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_check_suites.json +404 -0
  168. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_code_scanning_alerts.json +126 -0
  169. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_collaborators.json +100 -0
  170. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_commit_comments.json +43 -0
  171. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_commit_statuses.json +80 -0
  172. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_commits.json +461 -0
  173. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_dependabot_alerts.json +168 -0
  174. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_deployment_statuses.json +86 -0
  175. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_deployments.json +94 -0
  176. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_environments.json +31 -0
  177. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_gist_comments.json +38 -0
  178. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_gists.json +118 -0
  179. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_git_refs.json +59 -0
  180. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_installations.json +54 -0
  181. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_issue_comments.json +151 -0
  182. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_issue_events.json +606 -0
  183. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_issue_types.json +26 -0
  184. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_issues.json +758 -0
  185. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_labels.json +64 -0
  186. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_licenses.json +54 -0
  187. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_milestones.json +130 -0
  188. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_organization_memberships.json +139 -0
  189. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_organizations.json +38 -0
  190. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_pull_requests.json +874 -0
  191. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_release_assets.json +45 -0
  192. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_releases.json +92 -0
  193. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_repositories.json +797 -0
  194. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_repository_invitations.json +184 -0
  195. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_review_comments.json +66 -0
  196. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_reviews.json +138 -0
  197. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_secret_scanning_alerts.json +50 -0
  198. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_stargazers.json +88 -0
  199. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_tags.json +28 -0
  200. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_team_memberships.json +25 -0
  201. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_team_repositories.json +258 -0
  202. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_teams.json +130 -0
  203. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_users.json +174 -0
  204. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_webhooks.json +31 -0
  205. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_workflow_jobs.json +115 -0
  206. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_workflow_runs.json +1021 -0
  207. package/runtime/gatewaysdk/environment/schema/connectors/github/scenarios/default/seed/github_workflows.json +30 -0
  208. package/runtime/gatewaysdk/environment/schema/connectors/github/scope.toml +501 -62
  209. package/runtime/gatewaysdk/environment/schema/connectors/github/tests/tools.json +79 -0
  210. package/runtime/gatewaysdk/environment/schema/connectors/github/vendor-openapi.json +1 -0
  211. package/runtime/gatewaysdk/environment/schema/connectors/github/world.json +14340 -4447
  212. package/runtime/gatewaysdk/environment/schema/connectors/gmail/api/handlers.py +1413 -0
  213. package/runtime/gatewaysdk/environment/schema/connectors/gmail/connector.toml +630 -0
  214. package/runtime/gatewaysdk/environment/schema/connectors/gmail/handlers.py +136 -0
  215. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/scenario.toml +1 -0
  216. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/10-gmail_profiles.json +10 -0
  217. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/20-gmail_labels.json +205 -0
  218. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/30-gmail_contacts.json +234 -0
  219. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/40-gmail_threads.json +374 -0
  220. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/50-gmail_messages.json +1015 -0
  221. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/60-gmail_message_parts.json +3039 -0
  222. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/70-gmail_attachments.json +28 -0
  223. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/80-gmail_drafts.json +39 -0
  224. package/runtime/gatewaysdk/environment/schema/connectors/gmail/scenarios/default/seed/90-gmail_client_settings.json +103 -0
  225. package/runtime/gatewaysdk/environment/schema/connectors/gmail/world.json +784 -0
  226. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/api/handlers.py +454 -0
  227. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/connector.toml +519 -0
  228. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/provenance.json +229 -0
  229. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/instruction.md +25 -0
  230. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/scenario.toml +1 -0
  231. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/10-calendar_calendars.json +75 -0
  232. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/20-calendar_calendar_list_entries.json +115 -0
  233. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/30-calendar_acl_rules.json +124 -0
  234. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/40-calendar_events.json +810 -0
  235. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/50-calendar_settings.json +76 -0
  236. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/60-calendar_channels.json +26 -0
  237. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scenarios/default/seed/70-calendar_colors.json +48 -0
  238. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/scope.toml +105 -0
  239. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/tests/tools.json +53 -0
  240. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/vendor-openapi.json +4185 -0
  241. package/runtime/gatewaysdk/environment/schema/connectors/google-calendar/world.json +1255 -80
  242. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/api/handlers.py +782 -0
  243. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/connector.toml +373 -0
  244. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/google-docs-types.json +4939 -0
  245. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/handlers.py +197 -0
  246. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/provenance.json +191 -0
  247. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/instruction.md +29 -0
  248. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/scenario.toml +2 -0
  249. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_comments.json +50 -0
  250. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_documents.json +8096 -0
  251. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_files.json +1187 -0
  252. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_permissions.json +543 -0
  253. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_replies.json +22 -0
  254. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_revisions.json +643 -0
  255. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scenarios/default/seed/gdocs_users.json +32 -0
  256. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/scope.toml +148 -0
  257. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/tests/api.json +319 -0
  258. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/tests/tools.json +262 -0
  259. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/assets/index-BH9fmZSS.css +1 -0
  260. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/assets/index-CU4Fk9dX.js +67 -0
  261. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/fonts/README.md +20 -0
  262. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/fonts/google-sans-variable.woff2 +0 -0
  263. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/fonts/roboto-italic-variable-latin.woff2 +0 -0
  264. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/fonts/roboto-variable-latin-ext.woff2 +0 -0
  265. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/fonts/roboto-variable-latin.woff2 +0 -0
  266. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/icons/material_common_sprite1038_gm3_grey_medium.svg +1 -0
  267. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/ui/static/index.html +13 -0
  268. package/runtime/gatewaysdk/environment/schema/connectors/google-docs/world.json +4489 -0
  269. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/api/handlers.py +466 -0
  270. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/connector.toml +626 -0
  271. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/handlers.py +42 -5
  272. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/provenance.json +342 -0
  273. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/instruction.md +11 -0
  274. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/scenario.toml +2 -0
  275. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_access_proposals.json +31 -0
  276. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_approvals.json +145 -0
  277. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_apps.json +81 -0
  278. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_comments.json +70 -0
  279. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_drives.json +71 -0
  280. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_files.json +700 -0
  281. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_labels.json +75 -0
  282. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_permissions.json +93 -0
  283. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_replies.json +66 -0
  284. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scenarios/default/seed/drive_revisions.json +82 -0
  285. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/scope.toml +126 -0
  286. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/tests/tools.json +101 -0
  287. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/vendor-openapi.json +6193 -0
  288. package/runtime/gatewaysdk/environment/schema/connectors/google-drive/world.json +1972 -108
  289. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/api/handlers.py +1645 -0
  290. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/connector.toml +414 -0
  291. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/handlers.py +200 -0
  292. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/scenario.toml +2 -0
  293. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_cells.json +10252 -0
  294. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_charts.json +103 -0
  295. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_conditional_formats.json +138 -0
  296. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_dimensions.json +256 -0
  297. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_named_ranges.json +16 -0
  298. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_permissions.json +31 -0
  299. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_sheets.json +95 -0
  300. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_spreadsheets.json +14 -0
  301. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/scenarios/default/seed/gsheets_view_states.json +26 -0
  302. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/tests/page.json +311 -0
  303. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/tests/vendor.json +843 -0
  304. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/assets/index-CUpfKgm_.js +40 -0
  305. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/assets/index-D3VhwBIC.css +1 -0
  306. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/GoogleSans-400.woff2 +0 -0
  307. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/GoogleSans-500.woff2 +0 -0
  308. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/GoogleSans-700.woff2 +0 -0
  309. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/GoogleSansText-400.woff2 +0 -0
  310. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/GoogleSansText-500.woff2 +0 -0
  311. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/GoogleSansText-700.woff2 +0 -0
  312. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/Roboto-400.woff2 +0 -0
  313. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/Roboto-500.woff2 +0 -0
  314. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/fonts/Roboto-700.woff2 +0 -0
  315. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/ui/static/index.html +26 -0
  316. package/runtime/gatewaysdk/environment/schema/connectors/google-sheets/world.json +4029 -0
  317. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/api/handlers.py +800 -0
  318. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/connector.toml +776 -0
  319. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/handlers.py +226 -0
  320. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/instruction.md +11 -0
  321. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/scenario.toml +2 -0
  322. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_accounts.json +17 -0
  323. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_associations.json +1478 -0
  324. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_calls.json +147 -0
  325. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_companies.json +144 -0
  326. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_contacts.json +284 -0
  327. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_deals.json +204 -0
  328. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_emails.json +160 -0
  329. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_meetings.json +147 -0
  330. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_nav_items.json +204 -0
  331. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_notes.json +160 -0
  332. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_notifications.json +25 -0
  333. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_object_views.json +334 -0
  334. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_owners.json +76 -0
  335. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_pipeline_stages.json +109 -0
  336. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_pipelines.json +13 -0
  337. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_properties.json +1220 -0
  338. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_tasks.json +394 -0
  339. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/scenarios/default/seed/hubspot_tickets.json +34 -0
  340. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/assets/index-hdb5vB78.css +1 -0
  341. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/assets/index-xhg5ASqE.js +68 -0
  342. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/fonts/lexend-deca-300.ttf +0 -0
  343. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/fonts/lexend-deca-400.ttf +0 -0
  344. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/fonts/lexend-deca-500.ttf +0 -0
  345. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/fonts/lexend-deca-600.ttf +0 -0
  346. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/fonts/lexend-deca-700.ttf +0 -0
  347. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/fonts/lexend-deca-latin.woff2 +0 -0
  348. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/add.svg +1 -0
  349. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/avatar.svg +1 -0
  350. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/bell.svg +3 -0
  351. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/breeze.svg +4 -0
  352. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/call.svg +1 -0
  353. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/chevron-up.svg +3 -0
  354. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/companies.svg +1 -0
  355. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/contact.svg +1 -0
  356. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/contacts.svg +1 -0
  357. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/date.svg +1 -0
  358. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/deals.svg +1 -0
  359. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/duplicate.svg +1 -0
  360. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/export.svg +3 -0
  361. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/external-link.svg +1 -0
  362. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/filter-lines.svg +3 -0
  363. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/frame-expand.svg +3 -0
  364. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/funnel.svg +3 -0
  365. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/help.svg +1 -0
  366. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/hierarchy.svg +4 -0
  367. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/home.svg +1 -0
  368. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/hubspot-logo.svg +1 -0
  369. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/info.svg +1 -0
  370. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/kanban.svg +1 -0
  371. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/marketing-email.svg +1 -0
  372. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/marketplace.svg +1 -0
  373. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/meetings.svg +1 -0
  374. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/more.svg +1 -0
  375. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/pencil.svg +3 -0
  376. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/pin.svg +3 -0
  377. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/prospecting.svg +1 -0
  378. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/refresh.svg +1 -0
  379. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/search.svg +1 -0
  380. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/settings.svg +1 -0
  381. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/sidebar-collapse.svg +3 -0
  382. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/sort.svg +3 -0
  383. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/table.svg +1 -0
  384. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/tasks.svg +1 -0
  385. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/thumbs-down.svg +1 -0
  386. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/thumbs-up.svg +1 -0
  387. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/undo.svg +3 -0
  388. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/upgrade-arrow.svg +1 -0
  389. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/vertical-dots.svg +5 -0
  390. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/icons/workflows.svg +1 -0
  391. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/ui/static/index.html +37 -0
  392. package/runtime/gatewaysdk/environment/schema/connectors/hubspot/world.json +1347 -0
  393. package/runtime/gatewaysdk/environment/schema/connectors/jamf/api/handlers.py +987 -0
  394. package/runtime/gatewaysdk/environment/schema/connectors/jamf/connector.toml +3057 -0
  395. package/runtime/gatewaysdk/environment/schema/connectors/jamf/provenance.json +9443 -129
  396. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/scenario.toml +4 -0
  397. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_account_groups.json +64 -0
  398. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_accounts.json +58 -0
  399. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_advanced_computer_searches.json +139 -0
  400. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_advanced_mobile_device_searches.json +61 -0
  401. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_advanced_user_content_searches.json +61 -0
  402. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_advanced_user_searches.json +124 -0
  403. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_api_integrations.json +37 -0
  404. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_api_roles.json +25 -0
  405. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_app_request_form_input_fields.json +22 -0
  406. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_buildings.json +34 -0
  407. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_byo_profiles.json +46 -0
  408. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_categories.json +19 -0
  409. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_classes.json +217 -0
  410. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_cloud_idps.json +19 -0
  411. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_computer_group_members.json +16 -0
  412. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_computer_groups.json +38 -0
  413. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_computer_invitations.json +82 -0
  414. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_computer_prestages.json +274 -0
  415. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_computers.json +1537 -0
  416. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_configuration_profiles.json +649 -0
  417. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_departments.json +16 -0
  418. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_device_enrollment_devices.json +70 -0
  419. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_device_enrollments.json +46 -0
  420. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_directory_bindings.json +34 -0
  421. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_disk_encryption_configurations.json +22 -0
  422. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_distribution_points.json +91 -0
  423. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_dock_items.json +25 -0
  424. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_ebooks.json +43 -0
  425. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_enrollment_customizations.json +43 -0
  426. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_extension_attributes.json +52 -0
  427. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_ibeacons.json +25 -0
  428. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_inventory_preload_records.json +100 -0
  429. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_ios_branding_configurations.json +31 -0
  430. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_ldap_servers.json +16 -0
  431. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_licensed_software_records.json +244 -0
  432. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mac_applications.json +610 -0
  433. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_macos_branding_configurations.json +34 -0
  434. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_managed_software_update_plans.json +67 -0
  435. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mdm_commands.json +58 -0
  436. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_applications.json +700 -0
  437. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_configuration_profiles.json +652 -0
  438. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_enrollment_profiles.json +160 -0
  439. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_extension_attributes.json +43 -0
  440. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_group_members.json +16 -0
  441. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_groups.json +38 -0
  442. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_prestages.json +280 -0
  443. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_device_provisioning_profiles.json +31 -0
  444. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_mobile_devices.json +1558 -0
  445. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_network_segments.json +46 -0
  446. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_packages.json +118 -0
  447. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_patch_software_title_configurations.json +88 -0
  448. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_policies.json +1054 -0
  449. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_printers.json +52 -0
  450. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_removable_mac_addresses.json +16 -0
  451. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_restricted_software_titles.json +289 -0
  452. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_return_to_service_configurations.json +19 -0
  453. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_scripts.json +61 -0
  454. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_sites.json +19 -0
  455. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_software_update_servers.json +25 -0
  456. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_supervision_identities.json +22 -0
  457. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_user_extension_attributes.json +31 -0
  458. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_user_groups.json +112 -0
  459. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_users.json +37 -0
  460. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_volume_purchasing_locations.json +106 -0
  461. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_volume_purchasing_subscriptions.json +76 -0
  462. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scenarios/default/seed/jamf_webhooks.json +70 -0
  463. package/runtime/gatewaysdk/environment/schema/connectors/jamf/scope.toml +839 -67
  464. package/runtime/gatewaysdk/environment/schema/connectors/jamf/tests/tools.json +95 -0
  465. package/runtime/gatewaysdk/environment/schema/connectors/jamf/vendor-openapi.json +1 -0
  466. package/runtime/gatewaysdk/environment/schema/connectors/jamf/world.json +10835 -1494
  467. package/runtime/gatewaysdk/environment/schema/connectors/jira/api/handlers.py +1056 -0
  468. package/runtime/gatewaysdk/environment/schema/connectors/jira/connector.toml +955 -0
  469. package/runtime/gatewaysdk/environment/schema/connectors/jira/handlers.py +73 -14
  470. package/runtime/gatewaysdk/environment/schema/connectors/jira/parity.json +27 -0
  471. package/runtime/gatewaysdk/environment/schema/connectors/jira/provenance.json +166 -0
  472. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/instruction.md +22 -0
  473. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/scenario.toml +3 -0
  474. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_boards.json +61 -0
  475. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_changelogs.json +136 -0
  476. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_comments.json +205 -0
  477. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_components.json +78 -0
  478. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_fields.json +498 -0
  479. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_issue_link_types.json +25 -0
  480. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_issue_links.json +190 -0
  481. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_issue_types.json +44 -0
  482. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_issues.json +1448 -0
  483. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_priorities.json +40 -0
  484. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_project_categories.json +16 -0
  485. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_projects.json +111 -0
  486. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_resolutions.json +22 -0
  487. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_sprint_issues.json +20 -0
  488. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_sprints.json +39 -0
  489. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_status_categories.json +25 -0
  490. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_statuses.json +60 -0
  491. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_transitions.json +179 -0
  492. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_users.json +83 -0
  493. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_versions.json +30 -0
  494. package/runtime/gatewaysdk/environment/schema/connectors/jira/scenarios/default/seed/jira_worklogs.json +96 -0
  495. package/runtime/gatewaysdk/environment/schema/connectors/jira/scope.toml +255 -0
  496. package/runtime/gatewaysdk/environment/schema/connectors/jira/tests/tools.json +151 -0
  497. package/runtime/gatewaysdk/environment/schema/connectors/jira/vendor-openapi.json +13562 -0
  498. package/runtime/gatewaysdk/environment/schema/connectors/jira/world.json +3381 -183
  499. package/runtime/gatewaysdk/environment/schema/connectors/kandji/api/handlers.py +406 -0
  500. package/runtime/gatewaysdk/environment/schema/connectors/kandji/connector.toml +531 -0
  501. package/runtime/gatewaysdk/environment/schema/connectors/kandji/provenance.json +229 -46
  502. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/scenario.toml +2 -0
  503. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_blueprint_items.json +22 -0
  504. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_blueprint_template_categories.json +14 -0
  505. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_blueprint_templates.json +38 -0
  506. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_blueprints.json +52 -0
  507. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_custom_apps.json +45 -0
  508. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_custom_profiles.json +32 -0
  509. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_custom_scripts.json +27 -0
  510. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_device_activities.json +43 -0
  511. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_device_apps.json +52 -0
  512. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_device_commands.json +41 -0
  513. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_device_notes.json +20 -0
  514. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_device_parameters.json +28 -0
  515. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_device_tags.json +16 -0
  516. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_devices.json +122 -0
  517. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_in_house_apps.json +33 -0
  518. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_library_item_activities.json +33 -0
  519. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_library_item_statuses.json +98 -0
  520. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_library_items.json +24 -0
  521. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_self_service_categories.json +12 -0
  522. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_tags.json +16 -0
  523. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scenarios/default/seed/kandji_users.json +61 -0
  524. package/runtime/gatewaysdk/environment/schema/connectors/kandji/scope.toml +118 -39
  525. package/runtime/gatewaysdk/environment/schema/connectors/kandji/tests/tools.json +64 -0
  526. package/runtime/gatewaysdk/environment/schema/connectors/kandji/vendor-openapi.json +5463 -0
  527. package/runtime/gatewaysdk/environment/schema/connectors/kandji/world.json +1257 -205
  528. package/runtime/gatewaysdk/environment/schema/connectors/linear/api/handlers.py +139 -0
  529. package/runtime/gatewaysdk/environment/schema/connectors/linear/connector.toml +1574 -0
  530. package/runtime/gatewaysdk/environment/schema/connectors/linear/handlers.py +8 -5
  531. package/runtime/gatewaysdk/environment/schema/connectors/linear/provenance.json +142 -0
  532. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/scenario.toml +2 -0
  533. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/attachments.json +21 -0
  534. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/comments.json +79 -0
  535. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/customer_needs.json +21 -0
  536. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/customer_statuses.json +26 -0
  537. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/customer_tiers.json +26 -0
  538. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/customers.json +48 -0
  539. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/cycles.json +86 -0
  540. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/documents.json +27 -0
  541. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/initiative_projects.json +13 -0
  542. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/initiative_updates.json +23 -0
  543. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/initiatives.json +41 -0
  544. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/issue_labels.json +16 -0
  545. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/issue_relations.json +13 -0
  546. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/issues.json +264 -0
  547. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/labels.json +52 -0
  548. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/organizations.json +53 -0
  549. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/project_labels.json +34 -0
  550. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/project_members.json +16 -0
  551. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/project_milestones.json +30 -0
  552. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/project_relations.json +18 -0
  553. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/project_statuses.json +76 -0
  554. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/project_updates.json +42 -0
  555. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/projects.json +110 -0
  556. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/reactions.json +28 -0
  557. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/roadmap_projects.json +13 -0
  558. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/roadmaps.json +19 -0
  559. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/team_memberships.json +34 -0
  560. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/teams.json +114 -0
  561. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/templates.json +27 -0
  562. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/users.json +106 -0
  563. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/webhooks.json +21 -0
  564. package/runtime/gatewaysdk/environment/schema/connectors/linear/scenarios/default/seed/workflow_states.json +108 -0
  565. package/runtime/gatewaysdk/environment/schema/connectors/linear/scope.toml +87 -0
  566. package/runtime/gatewaysdk/environment/schema/connectors/linear/tests/tools.json +52 -0
  567. package/runtime/gatewaysdk/environment/schema/connectors/linear/world.json +5957 -172
  568. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/api/handlers.py +1218 -0
  569. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/connector.toml +1246 -0
  570. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/fidelity.json +49 -19
  571. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/provenance.json +785 -4
  572. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/instruction.md +12 -0
  573. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/scenario.toml +2 -0
  574. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_async_operations.json +47 -0
  575. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_channel_hosted_contents.json +12 -0
  576. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_channel_members.json +88 -0
  577. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_channel_messages.json +313 -0
  578. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_channel_replies.json +128 -0
  579. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_channels.json +319 -0
  580. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_chat_hosted_contents.json +18 -0
  581. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_chat_members.json +155 -0
  582. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_chat_messages.json +265 -0
  583. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_chat_views.json +37 -0
  584. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_chats.json +167 -0
  585. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_incoming_channels.json +25 -0
  586. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_pinned_messages.json +9 -0
  587. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_reply_hosted_contents.json +13 -0
  588. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_shared_channel_teams.json +32 -0
  589. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_tag_members.json +31 -0
  590. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_tags.json +32 -0
  591. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_team_members.json +117 -0
  592. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scenarios/default/seed/teams_teams.json +193 -0
  593. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/scope.md +76 -4
  594. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/teams-types.json +29 -0
  595. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/tests/routes.json +101 -0
  596. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/vendor-openapi.json +11280 -0
  597. package/runtime/gatewaysdk/environment/schema/connectors/microsoft-teams/world.json +74 -6
  598. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/api/handlers.py +571 -0
  599. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/connector.toml +1484 -0
  600. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/parity.json +28 -1
  601. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/provenance.json +215 -49
  602. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/instruction.md +11 -0
  603. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/scenario.toml +2 -0
  604. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_accounting_periods.json +107 -0
  605. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_accounts.json +514 -0
  606. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_classifications.json +64 -0
  607. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_contacts.json +90 -0
  608. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_credit_memos.json +112 -0
  609. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_currencies.json +37 -0
  610. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_customer_payments.json +108 -0
  611. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_customers.json +232 -0
  612. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_departments.json +80 -0
  613. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_employees.json +124 -0
  614. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_invoices.json +229 -0
  615. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_item_fulfillments.json +85 -0
  616. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_items.json +237 -0
  617. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_journal_entries.json +217 -0
  618. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_locations.json +62 -0
  619. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_price_levels.json +28 -0
  620. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_purchase_orders.json +152 -0
  621. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_sales_order_lines.json +235 -0
  622. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_sales_orders.json +219 -0
  623. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_subsidiaries.json +85 -0
  624. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_terms.json +48 -0
  625. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_vendor_bills.json +170 -0
  626. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scenarios/default/seed/netsuite_vendors.json +140 -0
  627. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/scope.toml +251 -33
  628. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/tests/tools.json +82 -0
  629. package/runtime/gatewaysdk/environment/schema/connectors/netsuite/world.json +31065 -8232
  630. package/runtime/gatewaysdk/environment/schema/connectors/notion/api/handlers.py +1330 -0
  631. package/runtime/gatewaysdk/environment/schema/connectors/notion/connector.toml +386 -0
  632. package/runtime/gatewaysdk/environment/schema/connectors/notion/handlers.py +54 -0
  633. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/scenario.toml +2 -0
  634. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/blocks.json +4197 -0
  635. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/calendar_events.json +18 -0
  636. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/collection_views.json +175 -0
  637. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/comments.json +109 -0
  638. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/databases.json +417 -0
  639. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/favorites.json +3 -0
  640. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/notifications.json +49 -0
  641. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/pages.json +3758 -0
  642. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/spaces.json +28 -0
  643. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/teamspaces.json +3 -0
  644. package/runtime/gatewaysdk/environment/schema/connectors/notion/scenarios/default/seed/users.json +92 -0
  645. package/runtime/gatewaysdk/environment/schema/connectors/notion/tests/01-reads.json +165 -0
  646. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/assets/index-DQ36W7RG.css +1 -0
  647. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/assets/index-DythuuUy.js +67 -0
  648. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000002.svg +1 -0
  649. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000003.svg +1 -0
  650. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000004.svg +1 -0
  651. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000005.svg +1 -0
  652. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000006.svg +1 -0
  653. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000007.svg +1 -0
  654. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/avatars/eeee0000000000000000000000000008.svg +1 -0
  655. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/covers/dusk-harbor.png +0 -0
  656. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/covers/ember-coast.png +0 -0
  657. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/covers/green-ridge.png +0 -0
  658. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f30a.svg +1 -0
  659. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f331.svg +1 -0
  660. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f373.svg +1 -0
  661. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3a7.svg +1 -0
  662. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3a8.svg +1 -0
  663. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3ac.svg +1 -0
  664. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3af.svg +1 -0
  665. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3c4.svg +1 -0
  666. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3d6.svg +1 -0
  667. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f3e0.svg +1 -0
  668. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f44b.svg +1 -0
  669. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4a1.svg +1 -0
  670. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4b0.svg +1 -0
  671. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4bc.svg +1 -0
  672. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4c5.svg +1 -0
  673. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4c8.svg +1 -0
  674. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4cb.svg +1 -0
  675. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4ce.svg +1 -0
  676. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4d1.svg +1 -0
  677. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4d3.svg +1 -0
  678. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4d6.svg +1 -0
  679. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4da.svg +1 -0
  680. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4dd.svg +1 -0
  681. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4ec.svg +1 -0
  682. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f4f7.svg +1 -0
  683. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f527.svg +1 -0
  684. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f55b.svg +1 -0
  685. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f5c2.svg +1 -0
  686. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f5d3.svg +1 -0
  687. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f680.svg +1 -0
  688. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f6a2.svg +1 -0
  689. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f9ca.svg +1 -0
  690. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f9e0.svg +1 -0
  691. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f9ea.svg +1 -0
  692. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f9ed.svg +1 -0
  693. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1f9f0.svg +1 -0
  694. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/1fab6.svg +1 -0
  695. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/2600.svg +1 -0
  696. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/2693.svg +1 -0
  697. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/2705.svg +1 -0
  698. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/2708.svg +1 -0
  699. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/270f.svg +1 -0
  700. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/emoji/2b50.svg +1 -0
  701. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/favicon.svg +1 -0
  702. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/fonts/SourceSerif4-latin.woff2 +0 -0
  703. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/index.html +31 -0
  704. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/learn/content-blocks.png +0 -0
  705. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/learn/databases.png +0 -0
  706. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/learn/sharing.png +0 -0
  707. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/learn/style-content.png +0 -0
  708. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/photos/home-icon.png +0 -0
  709. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/photos/viewer.png +0 -0
  710. package/runtime/gatewaysdk/environment/schema/connectors/notion/ui/static/photos/workspace.png +0 -0
  711. package/runtime/gatewaysdk/environment/schema/connectors/notion/world.json +2796 -0
  712. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_admin_role_assignments.json +44 -0
  713. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_app_assignments.json +40 -0
  714. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_app_group_assignments.json +59 -0
  715. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_applications.json +265 -0
  716. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_console_dashboards.json +91 -0
  717. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_device_users.json +32 -0
  718. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_devices.json +89 -0
  719. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_group_memberships.json +156 -0
  720. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_groups.json +100 -0
  721. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_orgs.json +20 -0
  722. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_policies.json +84 -0
  723. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_system_log_events.json +9656 -0
  724. package/runtime/gatewaysdk/environment/schema/connectors/okta/scenarios/default/seed/okta_users.json +744 -0
  725. package/runtime/gatewaysdk/environment/schema/connectors/outlook/api/handlers.py +624 -0
  726. package/runtime/gatewaysdk/environment/schema/connectors/outlook/connector.toml +381 -0
  727. package/runtime/gatewaysdk/environment/schema/connectors/outlook/handlers.py +54 -0
  728. package/runtime/gatewaysdk/environment/schema/connectors/outlook/provenance.json +408 -0
  729. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/instruction.md +22 -0
  730. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/scenario.toml +2 -0
  731. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_attachments.json +44 -0
  732. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_calendars.json +52 -0
  733. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_contacts.json +326 -0
  734. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_events.json +3050 -0
  735. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_mail_folders.json +84 -0
  736. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_mailbox_settings.json +35 -0
  737. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_mailboxes.json +14 -0
  738. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_messages.json +1400 -0
  739. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_system_senders.json +44 -0
  740. package/runtime/gatewaysdk/environment/schema/connectors/outlook/scenarios/default/seed/outlook_users.json +256 -0
  741. package/runtime/gatewaysdk/environment/schema/connectors/outlook/tests/routes.json +333 -0
  742. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/assets/index-DRVA5ahH.js +67 -0
  743. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/assets/index-kOnvVBhA.css +1 -0
  744. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/FluentSystemIcons-Filled.woff2 +0 -0
  745. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/FluentSystemIcons-Regular.woff2 +0 -0
  746. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/FluentSystemIcons-Resizable.woff2 +0 -0
  747. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/controlIcons.woff +0 -0
  748. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/segoeui-bold.woff2 +0 -0
  749. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/segoeui-light.woff2 +0 -0
  750. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/segoeui-regular.woff2 +0 -0
  751. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/segoeui-semibold.woff2 +0 -0
  752. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/fonts/segoeui-semilight.woff2 +0 -0
  753. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/bookings.svg +1 -0
  754. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/calendar.svg +35 -0
  755. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/copilot.png +0 -0
  756. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/excel.svg +1 -0
  757. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/mail.svg +32 -0
  758. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/my-day.svg +1 -0
  759. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/newsletters.svg +37 -0
  760. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/no-mail-selected-dark.svg +1 -0
  761. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/no-mail-selected.svg +1 -0
  762. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/onedrive.svg +1 -0
  763. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/onenote.svg +1 -0
  764. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/org-explorer.png +0 -0
  765. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/outlook.svg +1 -0
  766. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/people.svg +34 -0
  767. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/powerpoint.svg +1 -0
  768. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/ribbon-layout.svg +1 -0
  769. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/sharepoint.svg +1 -0
  770. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/teams-chat.svg +1 -0
  771. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/teams.svg +1 -0
  772. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/to-do.png +0 -0
  773. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/viva.svg +1 -0
  774. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/img/word.svg +1 -0
  775. package/runtime/gatewaysdk/environment/schema/connectors/outlook/ui/static/index.html +34 -0
  776. package/runtime/gatewaysdk/environment/schema/connectors/outlook/world.json +686 -0
  777. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/api/handlers.py +447 -0
  778. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/connector.toml +3478 -0
  779. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/handlers.py +695 -616
  780. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/provenance.json +4254 -111
  781. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/instruction.md +8 -0
  782. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/scenario.toml +2 -0
  783. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_account_contact_relations.json +20 -0
  784. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_account_contact_roles.json +16 -0
  785. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_account_partners.json +18 -0
  786. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_account_team_members.json +16 -0
  787. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_accounts.json +38 -0
  788. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_assets.json +35 -0
  789. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_attachments.json +16 -0
  790. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_business_hours.json +16 -0
  791. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_campaign_member_statuses.json +16 -0
  792. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_campaign_members.json +38 -0
  793. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_campaigns.json +35 -0
  794. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_case_comments.json +14 -0
  795. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_case_histories.json +18 -0
  796. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_case_milestones.json +18 -0
  797. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_case_statuses.json +16 -0
  798. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_case_team_members.json +14 -0
  799. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_case_team_roles.json +12 -0
  800. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_cases.json +42 -0
  801. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_collaboration_group_members.json +16 -0
  802. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_collaboration_groups.json +16 -0
  803. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contact_point_addresses.json +14 -0
  804. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contact_point_emails.json +14 -0
  805. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contact_point_phones.json +14 -0
  806. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contacts.json +34 -0
  807. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_content_document_links.json +14 -0
  808. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_content_documents.json +18 -0
  809. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_content_folders.json +13 -0
  810. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_content_notes.json +12 -0
  811. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_content_versions.json +24 -0
  812. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_content_workspaces.json +16 -0
  813. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contract_contact_roles.json +16 -0
  814. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contract_line_items.json +32 -0
  815. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_contracts.json +40 -0
  816. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_dashboards.json +20 -0
  817. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_documents.json +22 -0
  818. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_email_message_relations.json +14 -0
  819. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_email_messages.json +21 -0
  820. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_email_templates.json +24 -0
  821. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_entitlements.json +32 -0
  822. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_events.json +26 -0
  823. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_feed_comments.json +19 -0
  824. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_feed_items.json +24 -0
  825. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_fiscal_year_settings.json +20 -0
  826. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_folders.json +18 -0
  827. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_group_members.json +12 -0
  828. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_groups.json +20 -0
  829. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_holidays.json +16 -0
  830. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_individuals.json +21 -0
  831. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_lead_statuses.json +14 -0
  832. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_leads.json +45 -0
  833. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_list_views.json +16 -0
  834. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_login_histories.json +18 -0
  835. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_milestone_types.json +14 -0
  836. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_notes.json +16 -0
  837. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_object_territory_associations.json +14 -0
  838. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunities.json +48 -0
  839. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_competitors.json +12 -0
  840. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_contact_roles.json +16 -0
  841. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_field_histories.json +18 -0
  842. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_histories.json +20 -0
  843. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_line_items.json +32 -0
  844. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_partners.json +16 -0
  845. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_stages.json +22 -0
  846. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_opportunity_team_members.json +18 -0
  847. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_order_items.json +33 -0
  848. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_orders.json +44 -0
  849. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_organizations.json +18 -0
  850. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_partners.json +18 -0
  851. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_periods.json +18 -0
  852. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_permission_set_assignments.json +16 -0
  853. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_permission_sets.json +18 -0
  854. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_pricebook_entries.json +22 -0
  855. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_pricebooks.json +16 -0
  856. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_products.json +20 -0
  857. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_profiles.json +14 -0
  858. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_queue_sobjects.json +12 -0
  859. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_quote_line_items.json +43 -0
  860. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_quotes.json +40 -0
  861. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_record_actions.json +16 -0
  862. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_record_types.json +18 -0
  863. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_reports.json +18 -0
  864. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_service_contracts.json +32 -0
  865. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_sla_processes.json +18 -0
  866. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_solutions.json +18 -0
  867. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_task_priorities.json +14 -0
  868. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_task_relations.json +14 -0
  869. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_task_statuses.json +16 -0
  870. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_tasks.json +26 -0
  871. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_territories.json +20 -0
  872. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_territory_models.json +16 -0
  873. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_territory_types.json +18 -0
  874. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_topic_assignments.json +12 -0
  875. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_topics.json +14 -0
  876. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_user_roles.json +16 -0
  877. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_user_territory_associations.json +16 -0
  878. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_users.json +57 -0
  879. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_web_links.json +26 -0
  880. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_work_order_line_items.json +42 -0
  881. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scenarios/default/seed/sf_work_orders.json +46 -0
  882. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/scope.toml +624 -104
  883. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/tests/tools.json +69 -0
  884. package/runtime/gatewaysdk/environment/schema/connectors/salesforce/world.json +19222 -2654
  885. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/api/handlers.py +630 -0
  886. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/connector.toml +266 -0
  887. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/handlers.py +3 -0
  888. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/provenance.json +245 -0
  889. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/instruction.md +15 -0
  890. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/scenario.toml +1 -0
  891. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/10-snow_users.json +268 -0
  892. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/11-snow_user_groups.json +40 -0
  893. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/20-snow_configuration_items.json +684 -0
  894. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/30-snow_catalog_categories.json +52 -0
  895. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/31-snow_catalog_items.json +334 -0
  896. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/40-snow_incidents.json +3086 -0
  897. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/41-snow_incident_tasks.json +54 -0
  898. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/42-snow_task_slas.json +64 -0
  899. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/43-snow_problems.json +148 -0
  900. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/44-snow_change_requests.json +364 -0
  901. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/45-snow_knowledge_articles.json +214 -0
  902. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/46-snow_journal_entries.json +1612 -0
  903. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/60-snow_ui_current_users.json +19 -0
  904. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/61-snow_ui_navigation_applications.json +187 -0
  905. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/62-snow_ui_home_widgets.json +91 -0
  906. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/63-snow_ui_notifications.json +3 -0
  907. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/64-snow_ui_employee_center_pages.json +74 -0
  908. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/65-snow_ui_list_layouts.json +54 -0
  909. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/66-snow_ui_search_facets.json +29 -0
  910. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/67-snow_ui_activity_entries.json +1076 -0
  911. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scenarios/default/seed/68-snow_ui_instances.json +9 -0
  912. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/scope.toml +166 -0
  913. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/tests/routes.json +272 -0
  914. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/assets/index-5QHcQLCI.css +1 -0
  915. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/assets/index-BzeVnzFt.js +67 -0
  916. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/cabin-400-700-italic.woff2 +0 -0
  917. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/cabin-400-700.woff2 +0 -0
  918. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-0-lato-v17-latin-ext_latin-100.woff2 +0 -0
  919. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-1-lato-v17-latin-ext_latin-100.woff +0 -0
  920. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-10-lato-v17-latin-ext_latin-italic.woff2 +0 -0
  921. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-11-lato-v17-latin-ext_latin-italic.woff +0 -0
  922. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-12-lato-v17-latin-ext_latin-700.woff2 +0 -0
  923. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-13-lato-v17-latin-ext_latin-700.woff +0 -0
  924. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-14-lato-v17-latin-ext_latin-700italic.woff2 +0 -0
  925. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-15-lato-v17-latin-ext_latin-700italic.woff +0 -0
  926. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-16-source-sans-pro-v11-latin-300.woff2 +0 -0
  927. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-17-source-sans-pro-v11-latin-300.woff +0 -0
  928. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-18-source-sans-pro-v11-latin-regular.woff2 +0 -0
  929. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-19-source-sans-pro-v11-latin-regular.woff +0 -0
  930. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-2-lato-v17-latin-ext_latin-100italic.woff2 +0 -0
  931. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-20-source-sans-pro-v11-latin-600.woff2 +0 -0
  932. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-21-source-sans-pro-v11-latin-600.woff +0 -0
  933. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-22-source-sans-pro-v11-latin-700.woff2 +0 -0
  934. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-23-source-sans-pro-v11-latin-700.woff +0 -0
  935. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-3-lato-v17-latin-ext_latin-100italic.woff +0 -0
  936. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-4-lato-v17-latin-ext_latin-300.woff2 +0 -0
  937. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-5-lato-v17-latin-ext_latin-300.woff +0 -0
  938. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-6-lato-v17-latin-ext_latin-300italic.woff2 +0 -0
  939. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-7-lato-v17-latin-ext_latin-300italic.woff +0 -0
  940. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-8-lato-v17-latin-ext_latin-regular.woff2 +0 -0
  941. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/font-9-lato-v17-latin-ext_latin-regular.woff +0 -0
  942. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/index.json +122 -0
  943. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-300.woff2 +0 -0
  944. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-600-italic.woff2 +0 -0
  945. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-600.woff2 +0 -0
  946. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-bold-italic.woff2 +0 -0
  947. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-bold.woff2 +0 -0
  948. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-normal-italic.woff2 +0 -0
  949. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/fonts/lato-normal.woff2 +0 -0
  950. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/appsee-outline.svg +1 -0
  951. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/arrow-up-outline.svg +1 -0
  952. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/available.svg +1 -0
  953. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/bell-outline.svg +1 -0
  954. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/caret-down-fill.svg +1 -0
  955. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/check-fill.svg +1 -0
  956. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/chevron-right-outline.svg +1 -0
  957. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/circle-close-outline.svg +1 -0
  958. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/circle-info-outline.svg +1 -0
  959. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/circle-question-outline.svg +1 -0
  960. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/circleinfooutline.svg +1 -0
  961. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/ellipsis-v-outline.svg +1 -0
  962. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/eye-outline.svg +1 -0
  963. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-bell-fill.svg +1 -0
  964. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-caret-down-fill.svg +1 -0
  965. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-check-square.svg +1 -0
  966. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-chevron-right.svg +1 -0
  967. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-clock-outline.svg +1 -0
  968. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-comment-chat.svg +1 -0
  969. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-external-link.svg +1 -0
  970. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-facebook.svg +1 -0
  971. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-heart-fill.svg +1 -0
  972. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-heart-outline.svg +1 -0
  973. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-home-fill-teal.svg +1 -0
  974. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-home-fill.svg +1 -0
  975. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-linkedin.svg +1 -0
  976. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-list-alt-fill.svg +1 -0
  977. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-pencil-square.svg +1 -0
  978. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-question-circle-fill.svg +1 -0
  979. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-times.svg +1 -0
  980. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/fa-twitter.svg +1 -0
  981. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/filter-outline.svg +1 -0
  982. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/gear-outline.svg +1 -0
  983. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/globe-outline.svg +1 -0
  984. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/home-outline.svg +1 -0
  985. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/icon-2.svg +17 -0
  986. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/icon-3.svg +1 -0
  987. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/icon-4.svg +1 -0
  988. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/icon.svg +45 -0
  989. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/keyboard-outline.svg +1 -0
  990. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/link-icon-associated-to-view-all-adoption-blueprints.svg +1 -0
  991. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/link-icon-associated-to-view-all-applications.svg +1 -0
  992. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/list-fill.svg +1 -0
  993. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/loading-2.svg +1 -0
  994. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/loading.svg +1 -0
  995. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/magnifying-glass-outline.svg +1 -0
  996. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/ongoing-outline.svg +1 -0
  997. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/open-link-right-fill.svg +1 -0
  998. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/open-link-right-outline.svg +1 -0
  999. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/pencil-page-outline.svg +1 -0
  1000. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/plus-fill.svg +1 -0
  1001. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/serverbox-outline.svg +1 -0
  1002. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/servicenow-wordmark.svg +20 -0
  1003. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/signal-live-outline.svg +1 -0
  1004. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/square-arrow-left-outline.svg +1 -0
  1005. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/star-outline.svg +1 -0
  1006. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/sync-outline.svg +1 -0
  1007. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/task-slas-related-list.svg +24 -0
  1008. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/thumbtack-outline.svg +1 -0
  1009. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/trending-downward.svg +1 -0
  1010. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/trending-neutral.svg +1 -0
  1011. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/unpinned-all-menu.svg +1 -0
  1012. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/unpinned-favorites-menu.svg +1 -0
  1013. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/unpinned-history-menu.svg +1 -0
  1014. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/icons/user-outline.svg +1 -0
  1015. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/adoption-blueprints.svg +40 -0
  1016. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/avatar-admin.jpg +0 -0
  1017. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/now-assist-admin.svg +17 -0
  1018. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/quick-link-desk.jpg +0 -0
  1019. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/quick-link-password.jpg +0 -0
  1020. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/quick-link-status.jpg +0 -0
  1021. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-accessories.svg +1 -0
  1022. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-computers.svg +1 -0
  1023. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-developer.svg +1 -0
  1024. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-email.svg +1 -0
  1025. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-phone.svg +1 -0
  1026. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-software-catalog.svg +1 -0
  1027. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-software.svg +1 -0
  1028. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/img/topic-technology.svg +1 -0
  1029. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/ui/static/index.html +36 -0
  1030. package/runtime/gatewaysdk/environment/schema/connectors/servicenow/world.json +2004 -0
  1031. package/runtime/gatewaysdk/environment/schema/connectors/slack/MODEL.md +28 -0
  1032. package/runtime/gatewaysdk/environment/schema/connectors/slack/api/handlers.py +1880 -0
  1033. package/runtime/gatewaysdk/environment/schema/connectors/slack/capabilities.json +19 -2
  1034. package/runtime/gatewaysdk/environment/schema/connectors/slack/connector.toml +892 -0
  1035. package/runtime/gatewaysdk/environment/schema/connectors/slack/provenance.json +65 -10
  1036. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/scenario.toml +1 -0
  1037. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_apps.json +22 -0
  1038. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_bookmarks.json +22 -0
  1039. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_bots.json +19 -0
  1040. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_channels.json +206 -0
  1041. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_conversation_states.json +50 -0
  1042. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_emojis.json +19 -0
  1043. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_ephemeral_message_files.json +12 -0
  1044. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_ephemeral_message_threads.json +11 -0
  1045. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_ephemeral_messages.json +16 -0
  1046. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_file_channel_observations.json +16 -0
  1047. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_file_reaction_summaries.json +10 -0
  1048. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_file_reaction_users.json +10 -0
  1049. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_file_shares.json +29 -0
  1050. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_file_user_states.json +10 -0
  1051. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_files.json +64 -0
  1052. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_memberships.json +79 -0
  1053. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_message_files.json +18 -0
  1054. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_message_threads.json +10 -0
  1055. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_message_user_states.json +14 -0
  1056. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_messages.json +127 -0
  1057. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_pins.json +11 -0
  1058. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_presence.json +35 -0
  1059. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_reaction_summaries.json +25 -0
  1060. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_reaction_users.json +32 -0
  1061. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_scheduled_message_threads.json +10 -0
  1062. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_scheduled_messages.json +15 -0
  1063. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_unavailable_message_files.json +14 -0
  1064. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_user_profile_fields.json +28 -0
  1065. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_usergroup_channels.json +10 -0
  1066. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_usergroup_memberships.json +14 -0
  1067. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_usergroups.json +33 -0
  1068. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_users.json +228 -0
  1069. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_view_state_entries.json +22 -0
  1070. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_views.json +53 -0
  1071. package/runtime/gatewaysdk/environment/schema/connectors/slack/scenarios/default/seed/slack_workspaces.json +37 -0
  1072. package/runtime/gatewaysdk/environment/schema/connectors/slack/scope.toml +6 -2
  1073. package/runtime/gatewaysdk/environment/schema/connectors/slack/tests/api.json +177 -0
  1074. package/runtime/gatewaysdk/environment/schema/connectors/slack/tests/test_threads.py +49 -0
  1075. package/runtime/gatewaysdk/environment/schema/connectors/slack/tests/tools.json +92 -0
  1076. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/assets/index-BSqGskph.css +1 -0
  1077. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/assets/index-CKQh1igo.js +81 -0
  1078. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/README.md +15 -0
  1079. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-black.woff2 +0 -0
  1080. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-bold.woff2 +0 -0
  1081. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-italic-black.woff2 +0 -0
  1082. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-italic-bold.woff2 +0 -0
  1083. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-italic-light.woff2 +0 -0
  1084. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-italic.woff2 +0 -0
  1085. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-light.woff2 +0 -0
  1086. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/lato-regular.woff2 +0 -0
  1087. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/fonts/slack-icons-v2.woff2 +0 -0
  1088. package/runtime/gatewaysdk/environment/schema/connectors/slack/ui/static/index.html +35 -0
  1089. package/runtime/gatewaysdk/environment/schema/connectors/slack/vendor-openapi.json +12515 -0
  1090. package/runtime/gatewaysdk/environment/schema/connectors/slack/world.json +396 -8
  1091. package/runtime/gatewaysdk/environment/schema/connectors/workday/api/handlers.py +175 -0
  1092. package/runtime/gatewaysdk/environment/schema/connectors/workday/connector.toml +610 -0
  1093. package/runtime/gatewaysdk/environment/schema/connectors/workday/parity.json +39 -6
  1094. package/runtime/gatewaysdk/environment/schema/connectors/workday/provenance.json +253 -25
  1095. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/instruction.md +10 -0
  1096. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/scenario.toml +2 -0
  1097. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_compensations.json +219 -0
  1098. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_job_profiles.json +76 -0
  1099. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_locations.json +142 -0
  1100. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_organizations.json +124 -0
  1101. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_positions.json +280 -0
  1102. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_absence_leaves.json +66 -0
  1103. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_business_title_changes.json +44 -0
  1104. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_check_in_topics.json +48 -0
  1105. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_check_ins.json +46 -0
  1106. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_countries.json +28 -0
  1107. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_currencies.json +25 -0
  1108. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_job_change_reasons.json +28 -0
  1109. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_job_families.json +40 -0
  1110. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_job_profiles.json +202 -0
  1111. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_jobs.json +120 -0
  1112. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_organization_types.json +19 -0
  1113. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_organizations.json +24 -0
  1114. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_persons.json +100 -0
  1115. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_scorecard_results.json +57 -0
  1116. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_scorecards.json +68 -0
  1117. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_supervisory_organizations.json +64 -0
  1118. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_time_off_details.json +112 -0
  1119. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_time_off_entries.json +91 -0
  1120. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_worker_history_events.json +58 -0
  1121. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_rest_workers.json +90 -0
  1122. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_time_off_requests.json +181 -0
  1123. package/runtime/gatewaysdk/environment/schema/connectors/workday/scenarios/default/seed/workday_workers.json +492 -0
  1124. package/runtime/gatewaysdk/environment/schema/connectors/workday/scope.toml +178 -14
  1125. package/runtime/gatewaysdk/environment/schema/connectors/workday/tests/tools.json +81 -0
  1126. package/runtime/gatewaysdk/environment/schema/connectors/workday/vendor-openapi.json +10646 -0
  1127. package/runtime/gatewaysdk/environment/schema/connectors/workday/world.json +3787 -407
  1128. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/api/handlers.py +1183 -0
  1129. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/connector.toml +645 -0
  1130. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/handlers.py +377 -0
  1131. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/instruction.md +22 -0
  1132. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/scenario.toml +3 -0
  1133. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_brands.json +25 -0
  1134. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_group_memberships.json +49 -0
  1135. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_groups.json +37 -0
  1136. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_macros.json +154 -0
  1137. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_organizations.json +65 -0
  1138. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_ticket_audits.json +3328 -0
  1139. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_ticket_comments.json +2642 -0
  1140. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_tickets.json +1439 -0
  1141. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_users.json +624 -0
  1142. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_views.json +510 -0
  1143. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/scenarios/default/seed/zendesk_workspace_tabs.json +10 -0
  1144. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/ui/static/assets/index-JWq7XNO5.css +1 -0
  1145. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/ui/static/assets/index-bn8ezNTi.js +67 -0
  1146. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/ui/static/index.html +22 -0
  1147. package/runtime/gatewaysdk/environment/schema/connectors/zendesk/world.json +1707 -0
  1148. package/runtime/gatewaysdk/environment/schema/data.py +349 -35
  1149. package/runtime/gatewaysdk/environment/schema/dependencies.py +235 -0
  1150. package/runtime/gatewaysdk/environment/schema/extract.py +6 -6
  1151. package/runtime/gatewaysdk/environment/schema/host.py +226 -62
  1152. package/runtime/gatewaysdk/environment/schema/host_surfaces.py +62 -17
  1153. package/runtime/gatewaysdk/environment/schema/ingest.py +528 -0
  1154. package/runtime/gatewaysdk/environment/schema/local.py +536 -0
  1155. package/runtime/gatewaysdk/environment/schema/mapping.py +944 -0
  1156. package/runtime/gatewaysdk/environment/schema/platform.py +678 -202
  1157. package/runtime/gatewaysdk/environment/schema/reconcile.py +202 -0
  1158. package/runtime/gatewaysdk/environment/schema/redaction.py +378 -0
  1159. package/runtime/gatewaysdk/environment/schema/scaffold.py +68 -7
  1160. package/runtime/gatewaysdk/environment/schema/skill.py +1 -0
  1161. package/runtime/gatewaysdk/environment/schema/skills/benchmarks-getting-started/SKILL.md +391 -0
  1162. package/runtime/gatewaysdk/environment/schema/skills/connector-schema-authoring/CONNECTORS.md +64 -31
  1163. package/runtime/gatewaysdk/environment/schema/skills/connector-schema-authoring/SKILL.md +86 -36
  1164. package/runtime/gatewaysdk/environment/schema/skills/world-data-ingestion/ROWS.md +20 -0
  1165. package/runtime/gatewaysdk/environment/schema/skills/world-data-ingestion/SKILL.md +178 -11
  1166. package/runtime/gatewaysdk/environment/schema/skills/worlds-getting-started/SKILL.md +184 -74
  1167. package/runtime/gatewaysdk/environment/schema/skills/worlds-getting-started/references/cli-mcp-map.md +49 -0
  1168. package/runtime/gatewaysdk/environment/schema/skills/worlds-getting-started/references/ui-map.md +18 -0
  1169. package/runtime/gatewaysdk/environment/schema/store.py +103 -3
  1170. package/runtime/gatewaysdk/environment/schema/tasks.py +8 -3
  1171. package/runtime/gatewaysdk/environment/schema/tools_world.py +424 -57
  1172. package/runtime/gatewaysdk/environment/schema/transform.py +200 -0
  1173. package/runtime/gatewaysdk/environment/schema/transforms.py +103 -0
  1174. package/runtime/gatewaysdk/environment/schema/ui.py +455 -0
  1175. package/runtime/gatewaysdk/environment/schema/ui_static/app.js +581 -0
  1176. package/runtime/gatewaysdk/environment/schema/ui_static/index.html +72 -0
  1177. package/runtime/gatewaysdk/environment/schema/validation.py +59 -12
  1178. package/runtime/gatewaysdk/environment/schema/world_tests.py +245 -51
  1179. package/skills/benchmarks-getting-started/SKILL.md +391 -0
  1180. package/skills/connector-schema-authoring/CONNECTORS.md +64 -31
  1181. package/skills/connector-schema-authoring/SKILL.md +86 -36
  1182. package/skills/connector-schema-authoring/connector-worlds.md +355 -0
  1183. package/skills/connector-schema-authoring/world-schema.md +620 -0
  1184. package/skills/world-data-ingestion/ROWS.md +20 -0
  1185. package/skills/world-data-ingestion/SKILL.md +178 -11
  1186. package/skills/worlds-getting-started/SKILL.md +184 -74
  1187. package/skills/worlds-getting-started/references/cli-mcp-map.md +49 -0
  1188. package/skills/worlds-getting-started/references/ui-map.md +18 -0
@@ -13,16 +13,19 @@ import binascii
13
13
  import gzip
14
14
  import io
15
15
  import json
16
+ import os
16
17
  import shutil
17
18
  import sys
18
19
  import tarfile
19
20
  import tempfile
20
21
  from pathlib import Path, PurePosixPath
21
- from typing import Any
22
+ from typing import TYPE_CHECKING, Any
22
23
 
23
24
  from .._materialize import materialize_template
24
25
  from . import ContractError, SQLiteStore, bundle_mode, check_bundle, compile_bundle
25
26
  from . import snapshot as snapshots
27
+ from .compiler import retarget_empty_journals
28
+ from .redaction import check_world_redaction
26
29
  from .validation import (
27
30
  digest,
28
31
  encoded,
@@ -33,6 +36,12 @@ from .validation import (
33
36
  read_json,
34
37
  )
35
38
 
39
+ if TYPE_CHECKING:
40
+ from .compiler import Contract
41
+ from .connector import Spec
42
+ from .dependencies import FieldMap
43
+ from .redaction import RedactPolicy
44
+
36
45
  MAX_BYTES = 64 * 1024 * 1024
37
46
  MAX_FILES = 2000
38
47
  COMMANDS = (
@@ -49,14 +58,19 @@ COMMANDS = (
49
58
  "capture",
50
59
  "import-data",
51
60
  "ingest",
61
+ "ingest-calls",
52
62
  "conform",
63
+ "reconcile",
53
64
  "counts",
65
+ "query",
54
66
  "api-bundle",
55
67
  "templates",
56
68
  "validate-rows",
57
69
  "snapshot-build",
58
70
  "snapshot-default",
59
71
  "run-tests",
72
+ "call",
73
+ "dry-run",
60
74
  )
61
75
  PLATFORM_MAPPING = {"id": "platform-agent", "version": "1"}
62
76
 
@@ -67,11 +81,11 @@ def compile_world(root: Path) -> dict:
67
81
  The platform stores compiled trees, so a world whose authored inputs changed
68
82
  (``schema/world.json``, ``gateway-env.toml``, handlers) is recompiled here
69
83
  rather than rejected with ``lock_mismatch``. Only a journal that holds no
70
- state (``mutations == []``) of the same domain ``$id`` follows the contract to
71
- its new identity; a journal with rows is refused, never migrated silently —
72
- state migration stays manual (re-import the rows against the new schema).
73
- Journals from a different domain are refused outright. The snapshots are then
74
- rebuilt loudly: data the contract refuses is a rejection, not a dropped snapshot.
84
+ state (``mutations == []``) follows the contract to its new identity, even
85
+ across a changed ``$id`` (``retarget_empty_journals``); a journal with rows is
86
+ refused, never migrated silently — state migration stays manual (re-import
87
+ the rows against the new schema). The snapshots are then rebuilt loudly:
88
+ data the contract refuses is a rejection, not a dropped snapshot.
75
89
  """
76
90
  from .snapshot import build_all
77
91
 
@@ -104,31 +118,7 @@ def compile_world(root: Path) -> dict:
104
118
  )
105
119
  )
106
120
  added.append("data/initial.json")
107
- retargeted = []
108
- for path in journal_paths(root):
109
- journal = read_json(path)
110
- location = str(path.relative_to(root))
111
- if not isinstance(journal, dict) or not isinstance(journal.get("target"), dict):
112
- fail("batch", "Journal must be a batch object with a target", location)
113
- if journal["target"] == contract.target:
114
- continue
115
- if journal["target"].get("id") != contract.target["id"]:
116
- fail(
117
- "batch_target",
118
- "Journal belongs to a different domain; remove it or restore the schema's $id",
119
- location,
120
- )
121
- if journal.get("mutations") != []:
122
- fail(
123
- "batch_target",
124
- "Batch targets a different domain identity/version/hash; a journal that holds "
125
- "state is not migrated to an edited schema — re-import its rows against the new "
126
- "contract (or restore the schema it was written against)",
127
- location,
128
- )
129
- journal["target"] = contract.target
130
- path.write_bytes(encoded(journal))
131
- retargeted.append(location)
121
+ retargeted = retarget_empty_journals(root, contract)
132
122
  build_all(root, contract)
133
123
  return {"added": added, "retargeted": retargeted}
134
124
 
@@ -162,9 +152,7 @@ def append_batch(root: Path, batch: dict, *, source: str | None = None) -> dict:
162
152
  mutations = []
163
153
  for index, mutation in enumerate(batch["mutations"]):
164
154
  if not isinstance(mutation, dict):
165
- fail(
166
- "batch", "Each mutation must be an object", f"/batch/mutations/{index}"
167
- )
155
+ fail("batch", "Each mutation must be an object", f"/batch/mutations/{index}")
168
156
  if "source" not in mutation:
169
157
  if source is None:
170
158
  fail(
@@ -229,8 +217,7 @@ def _pinned_state(bundle: Path, contract) -> dict[str, int] | None:
229
217
  )
230
218
  counts = pin.get("entityCounts")
231
219
  if not isinstance(counts, dict) or any(
232
- not isinstance(value, int) or isinstance(value, bool)
233
- for value in counts.values()
220
+ not isinstance(value, int) or isinstance(value, bool) for value in counts.values()
234
221
  ):
235
222
  fail(
236
223
  "snapshot_pin",
@@ -240,7 +227,11 @@ def _pinned_state(bundle: Path, contract) -> dict[str, int] | None:
240
227
  return {entity: int(counts.get(entity, 0)) for entity in contract.entities}
241
228
 
242
229
 
243
- def validate_bundle(bundle: str | Path) -> dict:
230
+ def validate_bundle(bundle: str | Path, *, execute: bool = False) -> dict:
231
+ """Check a schema world: the contract, the handlers by syntax and by name, the
232
+ initial state, every verifier over it, the tasks and the links. ``execute``
233
+ also opens one session — importing the handlers and the dependencies — where
234
+ this runtime may run authored code (:func:`may_execute`)."""
244
235
  bundle = Path(bundle)
245
236
  if bundle_mode(bundle) is None:
246
237
  fail("mode", "Expected a schema-backed mock-tools world")
@@ -259,9 +250,7 @@ def validate_bundle(bundle: str | Path) -> dict:
259
250
  continue
260
251
  names = []
261
252
  for decorator in node.decorator_list:
262
- target = (
263
- decorator.func if isinstance(decorator, ast.Call) else decorator
264
- )
253
+ target = decorator.func if isinstance(decorator, ast.Call) else decorator
265
254
  is_tool = (isinstance(target, ast.Name) and target.id == "tool") or (
266
255
  isinstance(target, ast.Attribute) and target.attr == "tool"
267
256
  )
@@ -271,12 +260,8 @@ def validate_bundle(bundle: str | Path) -> dict:
271
260
  if isinstance(decorator, ast.Call):
272
261
  for keyword in decorator.keywords:
273
262
  if keyword.arg == "name":
274
- if not isinstance(
275
- keyword.value, ast.Constant
276
- ) or not isinstance(keyword.value.value, str):
277
- fail(
278
- "handler", "Publication requires literal tool names"
279
- )
263
+ if not isinstance(keyword.value, ast.Constant) or not isinstance(keyword.value.value, str):
264
+ fail("handler", "Publication requires literal tool names")
280
265
  name = keyword.value.value
281
266
  names.append(name)
282
267
  if not names and node.name in declared:
@@ -289,9 +274,18 @@ def validate_bundle(bundle: str | Path) -> dict:
289
274
  found[name] = path.name
290
275
  if set(found) != declared:
291
276
  fail("handler", "Declared tools and Python handlers must match exactly")
277
+ _check_mappings(bundle, contract)
278
+ check_world_redaction(bundle)
292
279
  pinned = _pinned_state(bundle, contract)
280
+ verifiers: dict[str, Any] = {}
293
281
  if pinned is not None:
294
282
  counts, initial_state = pinned, "pinned"
283
+ # The pinned snapshot is not in the tree, so the verifiers run over the
284
+ # bare schema: an error still surfaces; a score means nothing here.
285
+ with tempfile.TemporaryDirectory(prefix="gateway-state-check-") as staging:
286
+ with SQLiteStore.create(Path(staging) / "world.db", contract) as store:
287
+ unattached = _attach_dependencies(bundle, store, Path(staging))
288
+ verifiers = _check_verifiers(bundle, store, unattached, scored=False)
295
289
  else:
296
290
  initial_state = "validated"
297
291
  with tempfile.TemporaryDirectory(prefix="gateway-state-check-") as staging:
@@ -299,18 +293,235 @@ def validate_bundle(bundle: str | Path) -> dict:
299
293
  materialize_template(bundle, database)
300
294
  with SQLiteStore.open(database, contract) as store:
301
295
  store.audit()
302
- counts = {
303
- entity: len(store.list(entity)) for entity in contract.entities
304
- }
305
- return {
296
+ counts = {entity: len(store.list(entity)) for entity in contract.entities}
297
+ unattached = _attach_dependencies(bundle, store, Path(staging))
298
+ verifiers = _check_verifiers(bundle, store, unattached, scored=True)
299
+ report = {
306
300
  "status": "ok",
307
301
  "domain": contract.target,
308
302
  "package": contract.metadata["package"],
309
303
  "initial_state": initial_state,
310
- "handler_execution": "skipped",
304
+ "handler_execution": _handler_execution(bundle, execute),
311
305
  "entity_counts": counts,
312
306
  "tools": sorted(declared),
307
+ "verifiers": verifiers,
308
+ "tasks": _check_tasks(bundle, sorted(verifiers)),
309
+ "dependencies": describe_dependencies(bundle),
313
310
  }
311
+ return report
312
+
313
+
314
+ def _check_mappings(bundle: Path, contract: Contract) -> None:
315
+ """Each ``[dependencies.<alias>.entities]`` mapping against this contract
316
+ and, for a dependency whose ``path`` is here, against that contract too."""
317
+ from .. import _bundle
318
+ from .dependencies import FieldMap, check_mappings, parse_dependencies
319
+
320
+ dependencies = parse_dependencies(_bundle.parse_manifest(bundle).raw)
321
+ deps: dict[str, FieldMap] = {}
322
+ for alias, dep in dependencies.items():
323
+ if dep.path is None or not dep.entities:
324
+ continue
325
+ tree = (bundle / dep.path).resolve()
326
+ if (tree / "gateway-env.toml").is_file():
327
+ deps[alias] = _field_map(check_bundle(tree))
328
+ check_mappings(dependencies, _field_map(contract), deps)
329
+
330
+
331
+ def _field_map(contract: Contract) -> FieldMap:
332
+ return {name: set(entity["schema"].get("properties", {})) for name, entity in contract.entities.items()}
333
+
334
+
335
+ def _attach_dependencies(bundle: Path, store: SQLiteStore, staging: Path) -> dict[str, str]:
336
+ """Each ``[dependencies]`` entry whose local ``path`` is on this machine,
337
+ materialized beside the root's store and attached as ``<alias>.<table>``,
338
+ so a cross-world verifier runs here the way it runs in a session. Returns
339
+ the aliases left unattached, each with why: a pin without a path is the
340
+ platform's to resolve; a path that is not here (the platform checking a
341
+ pushed tree) resolves there too."""
342
+ from .. import _bundle
343
+ from .dependencies import parse_dependencies
344
+
345
+ manifest = _bundle.parse_manifest(bundle)
346
+ unattached: dict[str, str] = {}
347
+ for alias, dep in parse_dependencies(manifest.raw).items():
348
+ if dep.path is None:
349
+ unattached[alias] = (
350
+ f"'{alias}' has a pin but no path, so it runs where the platform opens the link "
351
+ '(add path = "../<dir>" to run it here)'
352
+ )
353
+ continue
354
+ tree = (bundle / dep.path).resolve()
355
+ if not (tree / "gateway-env.toml").is_file():
356
+ unattached[alias] = (
357
+ f"'{alias}'.path {dep.path!r} is not a schema world here ({tree}); it runs where that tree is"
358
+ )
359
+ continue
360
+ contract = check_bundle(tree)
361
+ database = staging / f"{alias}.db"
362
+ materialize_template(tree, database)
363
+ store.attach(alias, database, contract.entities)
364
+ return unattached
365
+
366
+
367
+ def _check_verifiers(bundle: Path, store: SQLiteStore, unattached: dict[str, str], *, scored: bool) -> dict[str, Any]:
368
+ """Every ``verifiers/*.sql`` run over the template through the store's
369
+ read-only authorizer, the way a session grades. A verifier that names a
370
+ table or column the contract lacks is refused here — at check — not at
371
+ the first grade. ``scored`` reports the score over the initial state. A
372
+ verifier that reads a dependency the check could not attach (a pin
373
+ without a local path) is reported, not refused: it runs where the
374
+ platform opens the link."""
375
+ from .._world import split_sql_statements
376
+
377
+ verifiers_dir = bundle / "verifiers"
378
+ if not verifiers_dir.is_dir():
379
+ return {}
380
+ out: dict[str, Any] = {}
381
+ for path in sorted(verifiers_dir.glob("*.sql")):
382
+ if path.is_symlink():
383
+ fail("path", "Verifiers must be regular files", f"/verifiers/{path.name}")
384
+ score: Any = None
385
+ needs: str | None = None
386
+ for statement in split_sql_statements(path.read_text(encoding="utf-8")):
387
+ try:
388
+ rows = store.query(statement, private=True)
389
+ except ContractError as error:
390
+ reason = error.__cause__ if error.__cause__ is not None else error.detail["message"]
391
+ alias = _missing_dependency_alias(str(reason), unattached)
392
+ if alias is not None:
393
+ needs = alias
394
+ break
395
+ hint = ""
396
+ if "no such table" in str(reason):
397
+ tables = sorted(store.contract.entities)
398
+ tables += [f"{a}.{t}" for a, ts in sorted(store.attached.items()) for t in sorted(ts)]
399
+ hint = f"; the world's entities are {', '.join(tables) or '(none)'}"
400
+ fail(
401
+ "verifier",
402
+ f"verifiers/{path.name} does not run against this schema: {reason}{hint}",
403
+ f"/verifiers/{path.name}",
404
+ )
405
+ if rows:
406
+ score = rows[0][0]
407
+ if needs is not None:
408
+ out[path.stem] = {
409
+ "status": "needs_dependency",
410
+ "dependency": needs,
411
+ "reason": f"reads {needs}.<table>; {unattached[needs]}",
412
+ }
413
+ elif scored:
414
+ out[path.stem] = {"status": "ok", "initial_score": score}
415
+ else:
416
+ out[path.stem] = {"status": "ok"}
417
+ return out
418
+
419
+
420
+ def _missing_dependency_alias(reason: str, unattached: dict[str, str]) -> str | None:
421
+ """The alias of an unattached dependency a ``no such table: alias.table``
422
+ failure names, else ``None``."""
423
+ marker = "no such table: "
424
+ if marker not in reason:
425
+ return None
426
+ table = reason.split(marker, 1)[1].strip()
427
+ alias, dot, _ = table.partition(".")
428
+ if dot and alias in unattached:
429
+ return alias
430
+ return None
431
+
432
+
433
+ def _check_tasks(bundle: Path, verifiers: list[str]) -> list[dict[str, Any]]:
434
+ """The tasks the world declares (``[[tasks]]``, ``tasks.jsonl``/``.json``,
435
+ else one per verifier), each checked to name verifiers the world has."""
436
+ from .. import _bundle
437
+ from .tools_world import load_tasks
438
+
439
+ manifest = _bundle.parse_manifest(bundle)
440
+ tasks = load_tasks(bundle, manifest, verifiers, required=False)
441
+ out = []
442
+ for task in tasks.values():
443
+ unknown = sorted(set(task.selected(verifiers)) - set(verifiers))
444
+ if unknown:
445
+ fail(
446
+ "task",
447
+ f"task '{task.id}' names verifiers the world lacks: {', '.join(unknown)} "
448
+ f"(it has: {', '.join(verifiers) or 'none'})",
449
+ "/gateway-env.toml",
450
+ )
451
+ out.append(
452
+ {
453
+ "id": task.id,
454
+ "verifiers": task.selected(verifiers),
455
+ "dependency_verifiers": {alias: list(names) for alias, names in (task.worlds or {}).items()},
456
+ }
457
+ )
458
+ return out
459
+
460
+
461
+ def describe_dependencies(bundle: Path) -> list[dict[str, Any]]:
462
+ """``[dependencies]`` as the manifest declares them — alias, pin, local
463
+ path, tools, entity mappings — so an offline describe or check shows the
464
+ links a push will commit."""
465
+ from .. import _bundle
466
+ from .dependencies import parse_dependencies
467
+
468
+ manifest = _bundle.parse_manifest(bundle)
469
+ out = []
470
+ for dep in parse_dependencies(manifest.raw).values():
471
+ out.append(
472
+ {
473
+ "alias": dep.alias,
474
+ "pin": dep.pin,
475
+ "slug": dep.slug,
476
+ "ref": dep.ref,
477
+ "path": dep.path,
478
+ "task": dep.task,
479
+ "tools": list(dep.tools),
480
+ "entities": [
481
+ {
482
+ "localEntity": m.local_entity,
483
+ "localField": m.local_field,
484
+ "depEntity": m.dep_entity,
485
+ "depField": m.dep_field,
486
+ "transform": list(m.transform),
487
+ }
488
+ for m in dep.entities
489
+ ],
490
+ }
491
+ )
492
+ return out
493
+
494
+
495
+ #: Set by a runtime that may run the world's own Python — the CLI's bundled
496
+ #: runtime on the author's machine. The platform's bridge never sets it, so a
497
+ #: request that asks for execution there gets ``not_run`` and the reason.
498
+ EXECUTE_ENV = "GATEWAY_RUNTIME_EXECUTE"
499
+
500
+
501
+ def may_execute() -> bool:
502
+ return os.environ.get(EXECUTE_ENV) == "1"
503
+
504
+
505
+ def _handler_execution(bundle: Path, execute: bool) -> dict[str, Any]:
506
+ """Whether the handlers were run: imported, every declared tool bound, the
507
+ ``[dependencies]`` opened from their paths — one session of the world,
508
+ opened and closed. Only where authored code may run."""
509
+ if not execute:
510
+ return {
511
+ "status": "not_run",
512
+ "reason": "handlers run where the world runs; `gateway worlds check` "
513
+ "with the bundled runtime imports them, `gateway worlds call` runs one",
514
+ }
515
+ if not may_execute():
516
+ return {
517
+ "status": "not_run",
518
+ "reason": "this runtime does not run a world's Python (the platform's "
519
+ "bridge); check with the CLI's bundled runtime on your machine",
520
+ }
521
+ from .local import open_world
522
+
523
+ with open_world(bundle, http=False) as session:
524
+ return {"status": "ok", "tools": session.tools}
314
525
 
315
526
 
316
527
  API_BUNDLE = "gateway-api-world.toml"
@@ -324,8 +535,7 @@ def world_root(root: Path) -> Path:
324
535
  world is what data commands operate on. A plain tree is its own root."""
325
536
  nested = root / BUNDLED_WORLD
326
537
  if (root / API_BUNDLE).is_file() and (
327
- (nested / "connector.toml").is_file()
328
- or (nested / "schema/world.json").is_file()
538
+ (nested / "connector.toml").is_file() or (nested / "schema/world.json").is_file()
329
539
  ):
330
540
  return nested
331
541
  return root
@@ -343,11 +553,7 @@ def _write_files(root: Path, entries: list) -> None:
343
553
  if not isinstance(name, str) or not name or "\\" in name or "\x00" in name:
344
554
  fail("path", "Invalid bundle path")
345
555
  path = PurePosixPath(name)
346
- if (
347
- path.is_absolute()
348
- or any(p in ("", ".", "..") for p in name.split("/"))
349
- or name in seen
350
- ):
556
+ if path.is_absolute() or any(p in ("", ".", "..") for p in name.split("/")) or name in seen:
351
557
  fail("path", "Bundle paths must be unique relative file paths")
352
558
  seen.add(name)
353
559
  try:
@@ -378,11 +584,7 @@ def _archive_files(encoded: str) -> list:
378
584
  for member in tar:
379
585
  if len(files) > MAX_FILES:
380
586
  fail("size", "Too many archive files")
381
- if (
382
- member.issym()
383
- or member.islnk()
384
- or not (member.isfile() or member.isdir())
385
- ):
587
+ if member.issym() or member.islnk() or not (member.isfile() or member.isdir()):
386
588
  fail(
387
589
  "archive",
388
590
  "Archive may contain only ordinary files and directories",
@@ -406,12 +608,7 @@ def _archive_files(encoded: str) -> list:
406
608
  while name.startswith("./"):
407
609
  name = name[2:]
408
610
  path = PurePosixPath(name)
409
- if (
410
- path.is_absolute()
411
- or ".." in path.parts
412
- or not name
413
- or chr(92) in name
414
- ):
611
+ if path.is_absolute() or ".." in path.parts or not name or chr(92) in name:
415
612
  fail("path", "Archive path escapes the bundle")
416
613
  if member.isdir():
417
614
  continue
@@ -432,34 +629,35 @@ def _capture(request: dict) -> dict:
432
629
  egress the vendor allow-listed. The spec arrives as text, the credential as the
433
630
  environment variable it names (set by the caller, never in the request), and every
434
631
  recorded page comes back redacted the way the CLI would have written it."""
435
- from .connector import CAPTURES, MANIFEST, capture, parse_spec
632
+ from .connector import CAPTURES, MANIFEST, capture, pairs_of, parse_spec
436
633
 
437
634
  spec_text = request.get("spec")
438
635
  op = request.get("op")
439
636
  args = request.get("args") or {}
440
- params = request.get("params") or {}
441
637
  max_pages = request.get("max_pages")
442
638
  if not isinstance(spec_text, str) or not isinstance(op, str):
443
639
  fail("input", "Expected the connector.toml text and an operation name")
444
- if not all(
445
- isinstance(m, dict)
446
- and all(isinstance(k, str) and isinstance(v, str) for k, v in m.items())
447
- for m in (args, params)
448
- ):
449
- fail("input", "args and params map names to strings")
450
- if max_pages is not None and (
451
- isinstance(max_pages, bool) or not isinstance(max_pages, int) or max_pages < 1
452
- ):
640
+ if not isinstance(args, dict) or not all(isinstance(k, str) and isinstance(v, str) for k, v in args.items()):
641
+ fail("input", "args map names to strings")
642
+ # params arrive as [[name, value], ...] so a repeated key survives the wire; the
643
+ # {name: value} form older callers send is accepted too.
644
+ try:
645
+ params = pairs_of(request.get("params"))
646
+ except ContractError:
647
+ fail("input", "params are [name, value] pairs or a {name: value} mapping")
648
+ if max_pages is not None and (isinstance(max_pages, bool) or not isinstance(max_pages, int) or max_pages < 1):
453
649
  fail("input", "max_pages must be a positive integer")
454
650
  parse_spec(spec_text)
455
651
  with tempfile.TemporaryDirectory(prefix="gateway-capture-") as directory:
456
652
  root = Path(directory) / "world"
457
653
  root.mkdir()
458
654
  (root / "connector.toml").write_text(spec_text, encoding="utf-8")
459
- written = capture(root, op, args, params, max_pages=max_pages)
655
+ notes: list[str] = []
656
+ written = capture(root, op, args, params, max_pages=max_pages, note=notes.append)
460
657
  manifest = json.loads((root / CAPTURES / MANIFEST).read_text(encoding="utf-8"))
461
658
  return {
462
659
  "status": "ok",
660
+ "notes": notes,
463
661
  "files": [
464
662
  {
465
663
  "path": path.relative_to(root).as_posix(),
@@ -490,17 +688,43 @@ def _template_files(request: dict) -> dict[str, bytes]:
490
688
  return files
491
689
 
492
690
 
691
+ def _redact_summary(spec: "Spec | RedactPolicy") -> dict:
692
+ """The ``[redact]`` table as describe reports it, so a caller can compute a
693
+ stored form from these lists without running Python. ``slug`` is the SALT —
694
+ the connector's slug from connector.toml (``[environment].name`` for a tools-only
695
+ world's gateway-env.toml), which is what ``_digest`` hashes under — and not the
696
+ platform world slug, which may differ (``spycloud`` vs ``spycloud-world``); a caller
697
+ that salts with the wrong one never matches a row."""
698
+ return {
699
+ "slug": spec.slug,
700
+ "hash": sorted(spec.hash_fields),
701
+ "drop": sorted(spec.drop_fields),
702
+ "preserve": sorted(spec.preserve_fields),
703
+ "round": dict(spec.round_fields),
704
+ }
705
+
706
+
707
+ def _annotate_redaction(entities: list[dict], spec: "Spec | RedactPolicy | None") -> None:
708
+ """Stamp every field with the policy it is stored under (``hash``, ``drop``,
709
+ ``preserve``, ``round:<n>`` or None), so a reader knows whether it can be looked
710
+ up by plaintext, by digest, or not at all."""
711
+ from .connector import redaction_of
712
+
713
+ for entity in entities:
714
+ for field in entity["fields"]:
715
+ field["redaction"] = redaction_of(spec, field["name"]) if spec else None
716
+
717
+
493
718
  def _template_summary(files: dict[str, bytes]) -> dict:
494
719
  """What a workspace connector is, read from its files: the vendor connection
495
720
  (connector.toml) and the data model (world.json), plus the digest the platform
496
721
  pins worlds to. Never runs the template's Python."""
497
722
  from .connector import parse_spec
723
+ from .redaction import parse_env_policy
498
724
  from .scaffold import template_digest
499
725
 
500
726
  # A template keeps world.json at its root; an initialized world keeps it under schema/.
501
- world_path = next(
502
- (path for path in ("world.json", "schema/world.json") if path in files), None
503
- )
727
+ world_path = next((path for path in ("world.json", "schema/world.json") if path in files), None)
504
728
  if world_path is None:
505
729
  fail(
506
730
  "template",
@@ -513,6 +737,10 @@ def _template_summary(files: dict[str, bytes]) -> dict:
513
737
  gateway = world.get("x-gateway") if isinstance(world, dict) else None
514
738
  if not isinstance(gateway, dict):
515
739
  fail("template", f"{world_path} is not a gateway-world document")
740
+ spec = parse_spec(files["connector.toml"].decode("utf-8")) if "connector.toml" in files else None
741
+ policy = spec
742
+ if policy is None and "gateway-env.toml" in files:
743
+ policy = parse_env_policy(files["gateway-env.toml"].decode("utf-8"))
516
744
  entities = []
517
745
  for name, entity in sorted((gateway.get("entities") or {}).items()):
518
746
  fields: list = []
@@ -521,53 +749,38 @@ def _template_summary(files: dict[str, bytes]) -> dict:
521
749
  definition = None
522
750
  if isinstance(ref, str) and ref.startswith("#/$defs/"):
523
751
  definition = (world.get("$defs") or {}).get(ref[len("#/$defs/") :])
524
- properties = (
525
- (definition or {}).get("properties") or {}
526
- if isinstance(definition, dict)
527
- else {}
528
- )
529
- required = (
530
- set((definition or {}).get("required") or [])
531
- if isinstance(definition, dict)
532
- else set()
533
- )
752
+ elif isinstance(schema, dict) and isinstance(schema.get("properties"), dict):
753
+ # An inline payload (`schema entity add --schema '{…}'`) declares its
754
+ # fields right here; it is as much a field list as a $defs entry.
755
+ definition = schema
756
+ properties = (definition or {}).get("properties") or {} if isinstance(definition, dict) else {}
757
+ required = set((definition or {}).get("required") or []) if isinstance(definition, dict) else set()
534
758
  for field_name, field_schema in properties.items():
535
759
  kind = field_schema.get("type") if isinstance(field_schema, dict) else None
536
760
  if isinstance(kind, list):
537
761
  # A nullable field is `["string", "null"]` in JSON Schema; the page
538
762
  # shows it as one readable type, not the list's concatenation.
539
763
  kind = " | ".join(str(part) for part in kind)
540
- if (
541
- kind is None
542
- and isinstance(field_schema, dict)
543
- and isinstance(field_schema.get("$ref"), str)
544
- ):
764
+ if kind is None and isinstance(field_schema, dict) and isinstance(field_schema.get("$ref"), str):
545
765
  kind = field_schema["$ref"].rsplit("/", 1)[-1]
546
- fields.append(
547
- {"name": field_name, "type": kind, "required": field_name in required}
548
- )
766
+ fields.append({"name": field_name, "type": kind, "required": field_name in required})
549
767
  entities.append(
550
768
  {
551
769
  "name": name,
552
- "primaryKey": list(entity.get("primary_key") or [])
553
- if isinstance(entity, dict)
554
- else [],
555
- "unique": list(entity.get("unique") or [])
556
- if isinstance(entity, dict)
557
- else [],
558
- "relationships": list(entity.get("relationships") or [])
559
- if isinstance(entity, dict)
560
- else [],
770
+ "primaryKey": list(entity.get("primary_key") or []) if isinstance(entity, dict) else [],
771
+ "unique": list(entity.get("unique") or []) if isinstance(entity, dict) else [],
772
+ "relationships": list(entity.get("relationships") or []) if isinstance(entity, dict) else [],
561
773
  "fields": fields,
562
774
  }
563
775
  )
776
+ _annotate_redaction(entities, policy)
564
777
  connection = None
565
- if "connector.toml" in files:
566
- spec = parse_spec(files["connector.toml"].decode("utf-8"))
778
+ if spec is not None:
567
779
  connection = {
568
780
  "slug": spec.slug,
569
781
  "baseUrl": spec.base_url,
570
782
  "auth": spec.scheme,
783
+ "redact": _redact_summary(spec),
571
784
  "operations": [
572
785
  {
573
786
  "name": op.name,
@@ -590,6 +803,7 @@ def _template_summary(files: dict[str, bytes]) -> dict:
590
803
  "digest": template_digest(files),
591
804
  "entities": entities,
592
805
  "connection": connection,
806
+ "redact": _redact_summary(policy) if policy is not None else None,
593
807
  "tools": sorted((gateway.get("tools") or {}).keys()),
594
808
  "files": sorted(files),
595
809
  },
@@ -603,6 +817,7 @@ DESCRIBE_PATHS = (
603
817
  "schema/world.json",
604
818
  "tool-schemas.json",
605
819
  "connector.toml",
820
+ "gateway-env.toml",
606
821
  "api/handlers.py",
607
822
  )
608
823
 
@@ -617,6 +832,7 @@ def _describe(request: dict) -> dict:
617
832
  a compiled world's own files (``schema/world.json`` + ``tool-schemas.json``) pass
618
833
  straight through. Never runs the connector's Python."""
619
834
  from .connector import parse_spec
835
+ from .redaction import env_policy
620
836
  from .scaffold import (
621
837
  TEMPLATES,
622
838
  init_bundle,
@@ -647,27 +863,16 @@ def _describe(request: dict) -> dict:
647
863
  target.parent.mkdir(parents=True, exist_ok=True)
648
864
  target.write_bytes(data)
649
865
  else:
650
- slug = (
651
- request.get("slug")
652
- if isinstance(request.get("slug"), str)
653
- else None
654
- )
866
+ slug = request.get("slug") if isinstance(request.get("slug"), str) else None
655
867
  if slug is None and "connector.toml" in authored:
656
868
  slug = parse_spec(authored["connector.toml"].decode("utf-8")).slug
657
869
  init_bundle_from_files(root, authored, connector=slug or "custom")
658
- summary = _template_summary(
659
- {"world.json": (root / "schema/world.json").read_bytes()}
660
- )["summary"]
870
+ summary = _template_summary({"world.json": (root / "schema/world.json").read_bytes()})["summary"]
661
871
  summary["digest"] = template_digest(authored)
662
872
  summary["files"] = sorted(authored)
663
873
  tool_schemas = {}
664
874
  if (root / "tool-schemas.json").is_file():
665
- tool_schemas = (
666
- json.loads(
667
- (root / "tool-schemas.json").read_text(encoding="utf-8")
668
- ).get("tools")
669
- or {}
670
- )
875
+ tool_schemas = json.loads((root / "tool-schemas.json").read_text(encoding="utf-8")).get("tools") or {}
671
876
  summary["tools"] = [
672
877
  {
673
878
  "name": name,
@@ -689,10 +894,12 @@ def _describe(request: dict) -> dict:
689
894
  # A template without its handlers still has a shape worth showing;
690
895
  # the routes render with the default action and status.
691
896
  settings = None
897
+ _annotate_redaction(summary["entities"], spec)
692
898
  summary["connection"] = {
693
899
  "slug": spec.slug,
694
900
  "baseUrl": spec.base_url,
695
901
  "auth": spec.scheme,
902
+ "redact": _redact_summary(spec),
696
903
  "operations": [
697
904
  {
698
905
  "name": op.name,
@@ -701,19 +908,19 @@ def _describe(request: dict) -> dict:
701
908
  "params": list(op.params),
702
909
  "entity": op.entity,
703
910
  "results": op.results,
704
- "action": settings.for_operation(op.name).action
705
- if settings
706
- else None,
707
- "status": settings.for_operation(op.name).status
708
- if settings
709
- else None,
911
+ "action": settings.for_operation(op.name).action if settings else None,
912
+ "status": settings.for_operation(op.name).status if settings else None,
710
913
  }
711
914
  for op in spec.operations.values()
712
915
  ],
713
916
  }
714
- summary["openapi"] = openapi_document(
715
- spec, summary.get("domainId") or spec.slug, settings
716
- )
917
+ summary["openapi"] = openapi_document(spec, summary.get("domainId") or spec.slug, settings)
918
+ summary["redact"] = summary["connection"]["redact"]
919
+ else:
920
+ policy = env_policy(root / "gateway-env.toml")
921
+ _annotate_redaction(summary["entities"], policy)
922
+ summary["redact"] = _redact_summary(policy) if policy else None
923
+ summary["dependencies"] = describe_dependencies(root) if (root / "gateway-env.toml").is_file() else []
717
924
  return {"status": "ok", "description": summary}
718
925
 
719
926
 
@@ -725,21 +932,21 @@ def _import_data(request: dict) -> dict:
725
932
  tree comes back the way ``init-template`` returns one, so the platform commits a
726
933
  version from it without knowing which file changed."""
727
934
  from .data import KIND_SCHEMA, MODES, import_rows
935
+ from .redaction import parse_mode
728
936
 
729
937
  rows = request.get("rows")
730
938
  mode = request.get("mode", "append")
731
- if not isinstance(rows, dict) or not all(
732
- isinstance(v, list) for v in rows.values()
733
- ):
939
+ if not isinstance(rows, dict) or not all(isinstance(v, list) for v in rows.values()):
734
940
  fail("input", "Expected rows as {entity: [row, …]}")
735
941
  if mode not in MODES:
736
942
  fail("input", f"mode must be one of {', '.join(MODES)}")
943
+ redact = parse_mode(request.get("redact"))
737
944
  with tempfile.TemporaryDirectory(prefix="gateway-import-") as directory:
738
945
  root = Path(directory) / "bundle"
739
946
  root.mkdir()
740
947
  _write_files(root, request.get("files"))
741
948
  world = world_root(root)
742
- result = import_rows(world, rows, mode=mode)
949
+ result = import_rows(world, rows, mode=mode, redact=redact)
743
950
  if result["kind"] == KIND_SCHEMA and snapshots.default_snapshot(world).is_file():
744
951
  # The journals grew; a snapshot built before this import would be
745
952
  # served over them. Rebuild so the tree that travels back is one thing.
@@ -761,18 +968,67 @@ def _import_data(request: dict) -> dict:
761
968
  }
762
969
 
763
970
 
971
+ def _ingest_calls(request: dict) -> dict:
972
+ """``ingest-calls``: records into a world the platform holds as files — the twin
973
+ of ``import-data`` for the record contract of :mod:`.ingest`. The tree arrives
974
+ as ``[{path, content}]``, the records as a list, with ``redact`` (off by
975
+ default), ``dry_run``, ``mode`` and optionally ``map`` — an ``ingest.toml``
976
+ text or its parsed table (:mod:`.mapping`). Without ``map`` the world's own
977
+ ``ingest.toml`` applies when it has one, else each record's tool resolves to
978
+ an operation of ``connector.toml`` and its result is projected the way a
979
+ capture is (:func:`ingest.ingest_records`). Transforms never run here: they
980
+ are the agent's code and run where the agent is. The answer is the report
981
+ plus the projected ``rows`` (``{entity: [row, …]}``, so a caller can push
982
+ them through the batch lane itself) and, when the tree changed, every file
983
+ of the updated tree the way ``import-data`` returns one."""
984
+ from .data import KIND_SCHEMA, MODES
985
+ from .ingest import ingest_records
986
+ from .redaction import parse_mode
987
+
988
+ records = request.get("records")
989
+ if not isinstance(records, list):
990
+ fail("input", "Expected records as a list of tool-call records")
991
+ mode = request.get("mode", "append")
992
+ if mode not in MODES:
993
+ fail("input", f"mode must be one of {', '.join(MODES)}")
994
+ dry_run = request.get("dry_run", False)
995
+ if not isinstance(dry_run, bool):
996
+ fail("input", "dry_run must be a boolean")
997
+ redact = parse_mode(request.get("redact"))
998
+ mapping = request.get("map")
999
+ if mapping is not None and not isinstance(mapping, (str, dict)):
1000
+ fail("input", "map is an ingest.toml text or its parsed table")
1001
+ with tempfile.TemporaryDirectory(prefix="gateway-ingest-calls-") as directory:
1002
+ root = Path(directory) / "bundle"
1003
+ root.mkdir()
1004
+ _write_files(root, request.get("files"))
1005
+ world = world_root(root)
1006
+ report = ingest_records(
1007
+ world, records, mapping=mapping, redact=redact, dry_run=dry_run, mode=mode, keep_rows=True
1008
+ )
1009
+ answer: dict = {"status": "ok", **report}
1010
+ if report["changed"] and report.get("kind") == KIND_SCHEMA:
1011
+ if snapshots.default_snapshot(world).is_file():
1012
+ from .compiler import build
1013
+ from .snapshot import build_all
1014
+
1015
+ build_all(world, build(world))
1016
+ if world != root:
1017
+ from .api import write_base_seed
1018
+
1019
+ write_base_seed(world, root)
1020
+ if report["changed"]:
1021
+ answer["files"] = _tree(root)
1022
+ return answer
1023
+
1024
+
764
1025
  # ---------------------------------------------------------------- batches
765
1026
 
766
1027
 
767
1028
  def _workdir(request: dict) -> Path:
768
1029
  """The absolute directory the caller prepared; every path in the request is under it."""
769
1030
  workdir = request.get("workdir")
770
- if (
771
- not isinstance(workdir, str)
772
- or not workdir
773
- or not Path(workdir).is_absolute()
774
- or not Path(workdir).is_dir()
775
- ):
1031
+ if not isinstance(workdir, str) or not workdir or not Path(workdir).is_absolute() or not Path(workdir).is_dir():
776
1032
  fail(
777
1033
  "input",
778
1034
  "Expected workdir: an absolute path to a directory the caller prepared",
@@ -783,11 +1039,7 @@ def _workdir(request: dict) -> Path:
783
1039
  def _under(workdir: Path, name: Any, what: str) -> Path:
784
1040
  if not isinstance(name, str) or not name or "\x00" in name:
785
1041
  fail("path", f"{what} must be a path under workdir")
786
- candidate = (
787
- (workdir / name).resolve()
788
- if not Path(name).is_absolute()
789
- else Path(name).resolve()
790
- )
1042
+ candidate = (workdir / name).resolve() if not Path(name).is_absolute() else Path(name).resolve()
791
1043
  if not candidate.is_relative_to(workdir):
792
1044
  fail("path", f"{what} must stay under workdir")
793
1045
  return candidate
@@ -867,10 +1119,18 @@ def _validate_rows(request: dict) -> dict:
867
1119
  if request.get("mode", "append") not in MODES:
868
1120
  fail("input", f"mode must be one of {', '.join(MODES)}")
869
1121
  root = _write_tree(workdir, request)
870
- report = validate_chunks(check_bundle(root), _chunk_specs(workdir, request))
1122
+ report = validate_chunks(check_bundle(root), _chunk_specs(workdir, request), redactor=_redactor(root, request))
871
1123
  return {"status": "ok", **report}
872
1124
 
873
1125
 
1126
+ def _redactor(root: Path, request: dict):
1127
+ """The batch's redaction hook from ``request.redact`` (off | apply | refuse)."""
1128
+ from .redaction import parse_mode, require_policy, row_redactor
1129
+
1130
+ redact = parse_mode(request.get("redact"))
1131
+ return row_redactor(require_policy(root, redact), redact)
1132
+
1133
+
874
1134
  def _snapshot_build(request: dict) -> dict:
875
1135
  """``snapshot-build``: the parent snapshot (or the tree's default) with the chunks
876
1136
  applied in dependency order, one transaction (atomic) or one per chunk; the new
@@ -890,12 +1150,7 @@ def _snapshot_build(request: dict) -> dict:
890
1150
  fail("input", f"merge must be one of {', '.join(MERGES)}")
891
1151
  batch_id = request.get("batchId")
892
1152
  parent_digest = request.get("parentBatchDigest", EMPTY_DIGEST)
893
- if (
894
- not isinstance(batch_id, str)
895
- or not batch_id
896
- or "/" in batch_id
897
- or batch_id in (".", "..")
898
- ):
1153
+ if not isinstance(batch_id, str) or not batch_id or "/" in batch_id or batch_id in (".", ".."):
899
1154
  fail("input", "batchId must be a non-empty string without slashes")
900
1155
  if not isinstance(parent_digest, str) or len(parent_digest) != 64:
901
1156
  fail("input", "parentBatchDigest must be a 64-hex batch digest")
@@ -903,6 +1158,7 @@ def _snapshot_build(request: dict) -> dict:
903
1158
  dry_run = _flag(request, "dryRun", False)
904
1159
  root = _write_tree(workdir, request)
905
1160
  contract = check_bundle(root)
1161
+ redactor = _redactor(root, request)
906
1162
  chunks = _chunk_specs(workdir, request)
907
1163
  # One directory per batch, so a parent built by an earlier call in the same
908
1164
  # workdir is never the file being written.
@@ -929,6 +1185,7 @@ def _snapshot_build(request: dict) -> dict:
929
1185
  batch_id=batch_id,
930
1186
  parent_digest=parent_digest,
931
1187
  dry_run=dry_run,
1188
+ redactor=redactor,
932
1189
  )
933
1190
  if "snapshot" in result:
934
1191
  # Absolute, under workdir: the caller opens it as it is.
@@ -981,19 +1238,49 @@ def _ingest(request: dict) -> dict:
981
1238
  """``ingest``: the world's authored tree, its ``captures/`` and manifest included,
982
1239
  seeded from those captures through the contract exactly as the CLI does, and the
983
1240
  whole updated tree handed back. Runs no Python of the world's own."""
984
- from .connector import ingest
1241
+ from .connector import check, ingest
985
1242
 
986
1243
  batch_id = request.get("batch_id")
987
1244
  if batch_id is not None and not isinstance(batch_id, str):
988
1245
  fail("input", "batch_id must be a string")
1246
+ dry_run = request.get("dry_run", False)
1247
+ if not isinstance(dry_run, bool):
1248
+ fail("input", "dry_run must be true or false")
989
1249
  with tempfile.TemporaryDirectory(prefix="gateway-ingest-") as directory:
990
1250
  root = Path(directory) / "world"
991
1251
  root.mkdir()
992
1252
  _write_files(root, request.get("files"))
1253
+ if dry_run:
1254
+ # Every violation of every capture, grouped; no files come back since none changed.
1255
+ return {"status": "ok", "result": check(world_root(root))}
993
1256
  result = ingest(world_root(root), batch_id=batch_id)
994
1257
  return {"status": "ok", "result": result, "files": _tree(root)}
995
1258
 
996
1259
 
1260
+ def _reconcile(request: dict) -> dict:
1261
+ """``reconcile``: the world's contract against its captured rows (see
1262
+ :mod:`reconcile`); the report of every change, and with ``write`` the updated
1263
+ tree (``schema/world.json`` rewritten and recompiled)."""
1264
+ from .reconcile import SOURCES, reconcile
1265
+
1266
+ source = request.get("from", "captures")
1267
+ if source not in SOURCES:
1268
+ fail("input", f"from must be one of {', '.join(SOURCES)}")
1269
+ write = request.get("write", False)
1270
+ if not isinstance(write, bool):
1271
+ fail("input", "write must be true or false")
1272
+ with tempfile.TemporaryDirectory(prefix="gateway-reconcile-") as directory:
1273
+ root = Path(directory) / "world"
1274
+ root.mkdir()
1275
+ _write_files(root, request.get("files"))
1276
+ report = reconcile(world_root(root), source=source, write=write).to_json()
1277
+ report["world"] = root.name
1278
+ out = {"status": "ok", "report": report}
1279
+ if report["written"]:
1280
+ out["files"] = _tree(root)
1281
+ return out
1282
+
1283
+
997
1284
  def _conform(request: dict) -> dict:
998
1285
  """``conform``: serve the world in the bridge and check every operation's answer
999
1286
  against the vendor's OpenAPI documents. The report is the one ``connector conform
@@ -1005,9 +1292,7 @@ def _conform(request: dict) -> dict:
1005
1292
  fail("input", "Expected one or more OpenAPI documents as [{path, content}]")
1006
1293
  max_operations = request.get("max_operations")
1007
1294
  if max_operations is not None and (
1008
- isinstance(max_operations, bool)
1009
- or not isinstance(max_operations, int)
1010
- or max_operations < 1
1295
+ isinstance(max_operations, bool) or not isinstance(max_operations, int) or max_operations < 1
1011
1296
  ):
1012
1297
  fail("input", "max_operations must be a positive integer")
1013
1298
  with tempfile.TemporaryDirectory(prefix="gateway-conform-") as directory:
@@ -1017,12 +1302,8 @@ def _conform(request: dict) -> dict:
1017
1302
  openapi = Path(directory) / "openapi"
1018
1303
  openapi.mkdir()
1019
1304
  _write_files(openapi, documents)
1020
- paths = [
1021
- openapi.joinpath(*PurePosixPath(entry["path"]).parts) for entry in documents
1022
- ]
1023
- report = conform(
1024
- world_root(root), paths, max_operations=max_operations
1025
- ).to_json()
1305
+ paths = [openapi.joinpath(*PurePosixPath(entry["path"]).parts) for entry in documents]
1306
+ report = conform(world_root(root), paths, max_operations=max_operations).to_json()
1026
1307
  report["world"] = root.name
1027
1308
  return {"status": "ok", "report": report}
1028
1309
 
@@ -1044,10 +1325,7 @@ def _run_tests(request: dict) -> dict:
1044
1325
  ):
1045
1326
  fail("input", "snapshot must be {url, sha256, digest}")
1046
1327
  with tempfile.TemporaryDirectory(prefix="gateway-tests-") as directory:
1047
- root = Path(directory) / "world"
1048
- root.mkdir()
1049
- _write_files(root, request.get("files"))
1050
- root = world_root(root)
1328
+ root = _world_for(request, Path(directory))
1051
1329
  if snapshot is not None:
1052
1330
  fetch_snapshot(root, check_bundle(root), snapshot["url"], snapshot["sha256"], snapshot["digest"])
1053
1331
  report = run(root, scenario=scenario).to_json()
@@ -1055,6 +1333,134 @@ def _run_tests(request: dict) -> dict:
1055
1333
  return {"status": "ok", "report": report}
1056
1334
 
1057
1335
 
1336
+ def _world_for(request: dict, staging: Path) -> Path:
1337
+ """The world a run-style command works on: ``files`` laid into ``staging``
1338
+ (what the platform sends), or — where this runtime may run authored code —
1339
+ ``world``, an absolute directory on this machine, opened in place so its
1340
+ ``[dependencies]`` paths resolve and nothing is copied."""
1341
+ world = request.get("world")
1342
+ if world is None:
1343
+ root = staging / "world"
1344
+ root.mkdir()
1345
+ _write_files(root, request.get("files"))
1346
+ return world_root(root)
1347
+ if not may_execute():
1348
+ fail("input", "world is a local-runtime field; this runtime takes files")
1349
+ if not isinstance(world, str) or not Path(world).is_absolute() or not Path(world).is_dir():
1350
+ fail("input", "world must be an absolute path to a directory on this machine")
1351
+ return world_root(Path(world).resolve())
1352
+
1353
+
1354
+ def _call(request: dict) -> dict:
1355
+ """``call``: open the world at ``world`` (a local directory; ``files`` for a
1356
+ tree without dependencies) as one session and call ``tool`` with ``args``,
1357
+ the way the host would — root tools by name, a dependency's as
1358
+ ``alias.tool``. The answer is the tool's ``{status, body}``, the state
1359
+ afterwards when ``state`` is asked for, and the grade when ``grade`` is.
1360
+ Only where this runtime may run a world's Python (:func:`may_execute`)."""
1361
+ from .local import open_world
1362
+
1363
+ if not may_execute():
1364
+ fail(
1365
+ "input",
1366
+ "call runs a world's own Python; it runs on your machine through the CLI's "
1367
+ "bundled runtime (`gateway worlds call`), never through the platform",
1368
+ )
1369
+ tool = request.get("tool")
1370
+ if not isinstance(tool, str) or not tool:
1371
+ fail("input", "tool must be a tool name (root) or alias.tool (a dependency's)")
1372
+ args = request.get("args", {})
1373
+ if not isinstance(args, dict):
1374
+ fail("input", "args must be an object of the tool's arguments")
1375
+ task = request.get("task")
1376
+ if task is not None and not isinstance(task, str):
1377
+ fail("input", "task must be a task name")
1378
+ scenario = request.get("scenario")
1379
+ if scenario is not None and not isinstance(scenario, str):
1380
+ fail("input", "scenario must be a scenario name")
1381
+ seed = request.get("seed")
1382
+ if seed is not None and not isinstance(seed, dict):
1383
+ fail("input", "seed must be an object: {entity: [rows]} or {mode, rows}")
1384
+ with tempfile.TemporaryDirectory(prefix="gateway-call-") as directory:
1385
+ root = _world_for(request, Path(directory))
1386
+ with open_world(root, task=task, scenario=scenario, http=False) as session:
1387
+ answer: dict[str, Any] = {"status": "ok", "tools": session.tools}
1388
+ if seed is not None:
1389
+ answer["seed"] = session.seed(seed)
1390
+ answer["result"] = session.call(tool, args)
1391
+ if _flag(request, "state", False):
1392
+ answer["state"] = session.state()
1393
+ if _flag(request, "grade", False):
1394
+ answer["grade"] = session.grade()
1395
+ return answer
1396
+
1397
+
1398
+ def _dry_run(request: dict) -> dict:
1399
+ """``dry-run``: open the world at ``world`` under ``task`` exactly as a
1400
+ hosted session would (the task's seed laid, its tools served), grade the
1401
+ UNTOUCHED state with the task's verifiers, and close. The answer is the
1402
+ task card (prompt, tools, verifiers), the state's rows per entity, and
1403
+ ``grade`` — or, when a verifier cannot run (bad SQL, a missing entity),
1404
+ ``grade: null`` and ``verifier_errors`` naming each verifier that failed
1405
+ with SQLite's own words. That is the point of the dry run: a benchmark
1406
+ whose grader dies is found here, not on the runner. Only where this
1407
+ runtime may run a world's Python (:func:`may_execute`)."""
1408
+ from ..errors import VerifierError
1409
+ from .local import open_world
1410
+
1411
+ if not may_execute():
1412
+ fail(
1413
+ "input",
1414
+ "dry-run opens a world's own Python; it runs on your machine through the CLI's "
1415
+ "bundled runtime (`gateway benchmarks dry-run`), never through the platform",
1416
+ )
1417
+ task = request.get("task")
1418
+ if not isinstance(task, str) or not task:
1419
+ fail("input", "task must be the id of one of the world's [[tasks]]")
1420
+
1421
+ def message(error: Exception) -> str:
1422
+ if isinstance(error, ContractError):
1423
+ text = str(error.detail.get("message") or error)
1424
+ sql = error.detail.get("sql")
1425
+ return f"{text}\n SQL: {sql}" if sql else text
1426
+ return str(error)
1427
+
1428
+ with tempfile.TemporaryDirectory(prefix="gateway-dry-run-") as directory:
1429
+ root = _world_for(request, Path(directory))
1430
+ with open_world(root, task=task, http=False) as session:
1431
+ card = session.task()
1432
+ answer: dict[str, Any] = {
1433
+ "status": "ok",
1434
+ "task": card["task"],
1435
+ "prompt": card["prompt"],
1436
+ "tools": session.tools,
1437
+ "verifiers": card["verifiers"],
1438
+ "worlds": card["worlds"],
1439
+ "state": session.state(),
1440
+ }
1441
+ try:
1442
+ answer["grade"] = session.grade()
1443
+ return answer
1444
+ except (ContractError, VerifierError):
1445
+ pass
1446
+ # Name the verifier: the grade runs them together, so run each alone.
1447
+ errors: dict[str, str] = {}
1448
+ for name in card["verifiers"]:
1449
+ try:
1450
+ session.world.world.verify(name)
1451
+ except (ContractError, VerifierError) as error:
1452
+ errors[name] = message(error)
1453
+ for alias, names in card["worlds"].items():
1454
+ for name in names:
1455
+ try:
1456
+ session.world.worlds[alias].verify(name)
1457
+ except (ContractError, VerifierError) as error:
1458
+ errors[f"{alias}/{name}"] = message(error)
1459
+ answer["grade"] = None
1460
+ answer["verifier_errors"] = errors
1461
+ return answer
1462
+
1463
+
1058
1464
  def _counts(request: dict) -> dict:
1059
1465
  """``counts``: what the world at these files seeds with. A kind whose seed lives
1060
1466
  elsewhere (a harbor tree, an unknown layout) answers with the reason instead of
@@ -1087,6 +1493,72 @@ def _counts(request: dict) -> dict:
1087
1493
  return report
1088
1494
 
1089
1495
 
1496
+ def _query(request: dict) -> dict:
1497
+ """``query``: the rows of one entity of the world at these files that match
1498
+ ``where`` (a field to a value or a list of values), a page at a time (``limit``,
1499
+ ``offset``). With ``resolve``, each value is plaintext and is looked up in the
1500
+ forms the world's ``[redact]`` policy stores (:func:`data.entity_query`). A tree
1501
+ that carries its compiled ``db/state.sqlite`` (a checked-out snapshot) answers
1502
+ from the snapshot, as ``counts`` does; otherwise from its data files. With
1503
+ ``across`` (local runtime only: ``world`` is a directory here, so its
1504
+ ``[dependencies]`` paths resolve) the answer is :func:`data.entity_query_across`'s
1505
+ groups, one per linked world a mapping carries a ``where`` field into."""
1506
+ from .data import entity_query, entity_query_across, world_kind
1507
+
1508
+ entity = request.get("entity")
1509
+ if not isinstance(entity, str) or not entity:
1510
+ fail("input", "entity must be a non-empty string")
1511
+ where = request.get("where", {})
1512
+ if not isinstance(where, dict):
1513
+ fail("input", "where must be an object mapping a field to a value or a list of values")
1514
+ resolve = request.get("resolve", False)
1515
+ if not isinstance(resolve, bool):
1516
+ fail("input", "resolve must be a boolean")
1517
+ # The platform's cross-world query sends the mapping's transform chain per field
1518
+ # under this key (worldDataQueryService.ts BRIDGE_WHERE_TRANSFORM_KEY).
1519
+ where_transform = request.get("where_transform")
1520
+ if where_transform is not None and not isinstance(where_transform, dict):
1521
+ fail("input", "where_transform must be an object mapping a field to a list of transform names")
1522
+ across = request.get("across", False)
1523
+ compare = request.get("compare", False)
1524
+ if not isinstance(across, bool) or not isinstance(compare, bool):
1525
+ fail("input", "across and compare must be booleans")
1526
+ if compare and not across:
1527
+ fail("input", "compare needs across")
1528
+ scenario = request.get("scenario")
1529
+ if scenario is not None and (not isinstance(scenario, str) or not scenario):
1530
+ fail("input", "scenario must be a non-empty string", "/scenario")
1531
+ with tempfile.TemporaryDirectory(prefix="gateway-query-") as directory:
1532
+ root = _world_for(request, Path(directory))
1533
+ if across:
1534
+ if request.get("world") is None:
1535
+ fail(
1536
+ "input", "across reads the linked worlds at their paths, so it takes world (a directory), not files"
1537
+ )
1538
+ report = entity_query_across(
1539
+ root,
1540
+ entity,
1541
+ where,
1542
+ limit=request.get("limit", 100),
1543
+ offset=request.get("offset", 0),
1544
+ resolve=resolve,
1545
+ compare=compare,
1546
+ scenario=scenario,
1547
+ )
1548
+ return {"status": "ok", "kind": world_kind(root), **report}
1549
+ report = entity_query(
1550
+ root,
1551
+ entity,
1552
+ where,
1553
+ limit=request.get("limit", 100),
1554
+ offset=request.get("offset", 0),
1555
+ resolve=resolve,
1556
+ where_transform=where_transform,
1557
+ scenario=scenario,
1558
+ )
1559
+ return {"status": "ok", "kind": world_kind(root), **report}
1560
+
1561
+
1090
1562
  def _templates(request: dict) -> dict:
1091
1563
  """``templates``: every installed connector template, read from its ``world.json``
1092
1564
  (name and description when the document carries them) and whether it declares a
@@ -1095,21 +1567,15 @@ def _templates(request: dict) -> dict:
1095
1567
 
1096
1568
  templates = []
1097
1569
  for slug in list_templates():
1098
- world = json.loads(
1099
- (TEMPLATES / slug / "world.json").read_text(encoding="utf-8")
1100
- )
1570
+ world = json.loads((TEMPLATES / slug / "world.json").read_text(encoding="utf-8"))
1101
1571
  gateway = world.get("x-gateway") if isinstance(world, dict) else None
1102
1572
  if not isinstance(gateway, dict):
1103
1573
  fail("template", f"{slug}/world.json is not a gateway-world document")
1104
1574
  templates.append(
1105
1575
  {
1106
1576
  "slug": slug,
1107
- "name": world.get("title")
1108
- if isinstance(world.get("title"), str)
1109
- else None,
1110
- "description": world.get("description")
1111
- if isinstance(world.get("description"), str)
1112
- else None,
1577
+ "name": world.get("title") if isinstance(world.get("title"), str) else None,
1578
+ "description": world.get("description") if isinstance(world.get("description"), str) else None,
1113
1579
  "entities": sorted(gateway.get("entities") or {}),
1114
1580
  "tools": sorted(gateway.get("tools") or {}),
1115
1581
  "hasConnection": (TEMPLATES / slug / "connector.toml").is_file(),
@@ -1136,12 +1602,22 @@ def execute(request: dict) -> dict:
1136
1602
  return _import_data(request)
1137
1603
  if request["command"] == "ingest":
1138
1604
  return _ingest(request)
1605
+ if request["command"] == "ingest-calls":
1606
+ return _ingest_calls(request)
1139
1607
  if request["command"] == "conform":
1140
1608
  return _conform(request)
1609
+ if request["command"] == "reconcile":
1610
+ return _reconcile(request)
1141
1611
  if request["command"] == "run-tests":
1142
1612
  return _run_tests(request)
1613
+ if request["command"] == "call":
1614
+ return _call(request)
1615
+ if request["command"] == "dry-run":
1616
+ return _dry_run(request)
1143
1617
  if request["command"] == "counts":
1144
1618
  return _counts(request)
1619
+ if request["command"] == "query":
1620
+ return _query(request)
1145
1621
  if request["command"] == "templates":
1146
1622
  return _templates(request)
1147
1623
  if request["command"] == "api-bundle":
@@ -1161,7 +1637,11 @@ def execute(request: dict) -> dict:
1161
1637
  root = world_root(root)
1162
1638
  if bundle_mode(root) is None:
1163
1639
  return {"status": "ok", "mode": "legacy"}
1164
- if request["command"] in (
1640
+ if request["command"] == "validate" and request.get("world") is not None:
1641
+ # The CLI's bundled runtime checks a directory in place, so the
1642
+ # ``[dependencies]`` paths beside it resolve and its handlers may run.
1643
+ root = _world_for(request, Path(directory))
1644
+ elif request["command"] in (
1165
1645
  "validate",
1166
1646
  "compile",
1167
1647
  "apply-batch",
@@ -1182,9 +1662,7 @@ def execute(request: dict) -> dict:
1182
1662
  write_base_seed(world, root)
1183
1663
  if request["command"] == "apply-batch":
1184
1664
  batch, source = request.get("batch"), request.get("source")
1185
- if not isinstance(batch, dict) or (
1186
- source is not None and not isinstance(source, str)
1187
- ):
1665
+ if not isinstance(batch, dict) or (source is not None and not isinstance(source, str)):
1188
1666
  fail(
1189
1667
  "input",
1190
1668
  "Expected a batch object and an optional source prefix string",
@@ -1197,11 +1675,14 @@ def execute(request: dict) -> dict:
1197
1675
 
1198
1676
  connector = request.get("connector")
1199
1677
  name = request.get("name")
1200
- if not isinstance(connector, str) or (
1201
- name is not None and not isinstance(name, str)
1202
- ):
1678
+ if not isinstance(connector, str) or (name is not None and not isinstance(name, str)):
1203
1679
  fail("input", "Expected a connector template slug and an optional name")
1204
- init_bundle(root, connector=connector, name=name)
1680
+ init_bundle(
1681
+ root,
1682
+ connector=connector,
1683
+ name=name,
1684
+ with_example_tool=request.get("with_example_tool") is True,
1685
+ )
1205
1686
  if request["command"] == "init-template-files":
1206
1687
  # A workspace connector: the template arrives as files, never as a path
1207
1688
  # the request chose, and the world is built exactly as from an installed one.
@@ -1209,26 +1690,21 @@ def execute(request: dict) -> dict:
1209
1690
 
1210
1691
  connector = request.get("connector")
1211
1692
  name = request.get("name")
1212
- if not isinstance(connector, str) or (
1213
- name is not None and not isinstance(name, str)
1214
- ):
1693
+ if not isinstance(connector, str) or (name is not None and not isinstance(name, str)):
1215
1694
  fail("input", "Expected the connector slug and an optional name")
1216
- init_bundle_from_files(
1217
- root, _template_files(request), connector=connector, name=name
1218
- )
1695
+ init_bundle_from_files(root, _template_files(request), connector=connector, name=name)
1219
1696
  if request["command"] == "build-slack":
1220
1697
  from .slack import build_slack_bundle
1221
1698
 
1222
- build_slack_bundle(
1223
- root, evidence=request.get("evidence"), name=request.get("name")
1224
- )
1699
+ build_slack_bundle(root, evidence=request.get("evidence"), name=request.get("name"))
1225
1700
  if request["command"] == "refresh-slack":
1226
1701
  from .slack import refresh_slack_bundle
1227
1702
 
1228
- refresh_slack_bundle(
1229
- root, request.get("evidence"), batch_id=request.get("batch_id")
1230
- )
1231
- report = {**validate_bundle(world_root(root)), **extra}
1703
+ refresh_slack_bundle(root, request.get("evidence"), batch_id=request.get("batch_id"))
1704
+ report = {
1705
+ **validate_bundle(world_root(root), execute=_flag(request, "execute", False)),
1706
+ **extra,
1707
+ }
1232
1708
  if request["command"] not in ("validate", "validate-archive"):
1233
1709
  report["files"] = [
1234
1710
  {