lemma-sdk 0.2.44 → 0.2.45

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 (273) hide show
  1. package/README.md +1 -1
  2. package/dist/assistant-events.d.ts +1 -0
  3. package/dist/assistant-events.js +25 -0
  4. package/dist/browser/lemma-client.js +264 -152
  5. package/dist/config.d.ts +2 -2
  6. package/dist/config.js +2 -2
  7. package/dist/hey_client/client/client.gen.d.ts +2 -0
  8. package/dist/hey_client/client/client.gen.js +216 -0
  9. package/dist/hey_client/client/index.d.ts +10 -0
  10. package/dist/hey_client/client/index.js +6 -0
  11. package/dist/hey_client/client/types.gen.d.ts +120 -0
  12. package/dist/hey_client/client/types.gen.js +2 -0
  13. package/dist/hey_client/client/utils.gen.d.ts +37 -0
  14. package/dist/hey_client/client/utils.gen.js +228 -0
  15. package/dist/hey_client/client.gen.d.ts +12 -0
  16. package/dist/hey_client/client.gen.js +3 -0
  17. package/dist/hey_client/core/auth.gen.d.ts +25 -0
  18. package/dist/hey_client/core/auth.gen.js +14 -0
  19. package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
  20. package/dist/hey_client/core/bodySerializer.gen.js +57 -0
  21. package/dist/hey_client/core/params.gen.d.ts +43 -0
  22. package/dist/hey_client/core/params.gen.js +100 -0
  23. package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
  24. package/dist/hey_client/core/pathSerializer.gen.js +106 -0
  25. package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
  26. package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
  27. package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
  28. package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
  29. package/dist/hey_client/core/types.gen.d.ts +83 -0
  30. package/dist/hey_client/core/types.gen.js +2 -0
  31. package/dist/hey_client/core/utils.gen.d.ts +19 -0
  32. package/dist/hey_client/core/utils.gen.js +87 -0
  33. package/dist/hey_client/index.d.ts +2 -0
  34. package/dist/hey_client/index.js +2 -0
  35. package/dist/hey_client/sdk.gen.d.ts +1005 -0
  36. package/dist/hey_client/sdk.gen.js +1438 -0
  37. package/dist/hey_client/types.gen.d.ts +13004 -0
  38. package/dist/hey_client/types.gen.js +2 -0
  39. package/dist/namespaces/files.d.ts +6 -24
  40. package/dist/namespaces/files.js +6 -16
  41. package/dist/namespaces/integrations.js +4 -4
  42. package/dist/namespaces/pod-surfaces.d.ts +8 -3
  43. package/dist/namespaces/pod-surfaces.js +15 -6
  44. package/dist/namespaces/pods.d.ts +2 -3
  45. package/dist/namespaces/pods.js +1 -6
  46. package/dist/namespaces/records.d.ts +7 -7
  47. package/dist/namespaces/resource-access.d.ts +3 -3
  48. package/dist/namespaces/resource-access.js +6 -6
  49. package/dist/namespaces/schedules.d.ts +1 -0
  50. package/dist/namespaces/schedules.js +1 -1
  51. package/dist/namespaces/tables.d.ts +2 -2
  52. package/dist/namespaces/workflows.d.ts +12 -8
  53. package/dist/namespaces/workflows.js +9 -18
  54. package/dist/openapi_client/index.d.ts +20 -37
  55. package/dist/openapi_client/index.js +3 -11
  56. package/dist/openapi_client/models/AgentHarnessInfo.d.ts +2 -0
  57. package/dist/openapi_client/models/AgentNode.d.ts +1 -1
  58. package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
  59. package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +1 -1
  60. package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +1 -1
  61. package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +6 -0
  62. package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +6 -17
  63. package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
  64. package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
  65. package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
  66. package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
  67. package/dist/openapi_client/models/CreateFunctionRequest.d.ts +0 -1
  68. package/dist/openapi_client/models/CreateScheduleRequest.d.ts +4 -0
  69. package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +3 -10
  70. package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +2 -0
  71. package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
  72. package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
  73. package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
  74. package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
  75. package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
  76. package/dist/openapi_client/models/EndNode.d.ts +1 -1
  77. package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
  78. package/dist/openapi_client/models/FileListResponse.d.ts +1 -0
  79. package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
  80. package/dist/openapi_client/models/FlowRunStatus.d.ts +4 -1
  81. package/dist/openapi_client/models/FlowRunStatus.js +4 -1
  82. package/dist/openapi_client/models/FormNode.d.ts +2 -1
  83. package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
  84. package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
  85. package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +1 -1
  86. package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +1 -1
  87. package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
  88. package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
  89. package/dist/openapi_client/models/LoopNode.d.ts +2 -1
  90. package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
  91. package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -3
  92. package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
  93. package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
  94. package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
  95. package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +1 -1
  96. package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +1 -1
  97. package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +1 -1
  98. package/dist/openapi_client/models/ResourceAccessResponse.d.ts +1 -1
  99. package/dist/openapi_client/models/RuntimeProfileScope.d.ts +2 -1
  100. package/dist/openapi_client/models/RuntimeProfileScope.js +1 -0
  101. package/dist/openapi_client/models/ScheduleDetailResponse.d.ts +6 -0
  102. package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
  103. package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
  104. package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
  105. package/dist/openapi_client/models/StepStatus.d.ts +7 -0
  106. package/dist/openapi_client/models/StepStatus.js +12 -0
  107. package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +4 -0
  108. package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
  109. package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
  110. package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
  111. package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +4 -0
  112. package/dist/openapi_client/models/SurfaceCredentialMode.js +9 -0
  113. package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
  114. package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
  115. package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
  116. package/dist/openapi_client/models/TableListResponse.d.ts +2 -0
  117. package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
  118. package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
  119. package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
  120. package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +4 -11
  121. package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
  122. package/dist/openapi_client/models/UserProfileRequest.d.ts +1 -0
  123. package/dist/openapi_client/models/UserResponse.d.ts +1 -0
  124. package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
  125. package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +16 -0
  126. package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
  127. package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
  128. package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +2 -3
  129. package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
  130. package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
  131. package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
  132. package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
  133. package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +0 -3
  134. package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +1 -4
  135. package/dist/openapi_client/services/AgentSurfacesService.d.ts +39 -10
  136. package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
  137. package/dist/openapi_client/services/ApplicationsService.d.ts +10 -0
  138. package/dist/openapi_client/services/ApplicationsService.js +23 -0
  139. package/dist/openapi_client/services/FilesService.d.ts +2 -3
  140. package/dist/openapi_client/services/FilesService.js +1 -1
  141. package/dist/openapi_client/services/FunctionsService.d.ts +1 -1
  142. package/dist/openapi_client/services/FunctionsService.js +1 -1
  143. package/dist/openapi_client/services/IntegrationsService.d.ts +12 -4
  144. package/dist/openapi_client/services/IntegrationsService.js +22 -4
  145. package/dist/openapi_client/services/PodResourceAccessService.d.ts +6 -6
  146. package/dist/openapi_client/services/PodResourceAccessService.js +12 -12
  147. package/dist/openapi_client/services/RecordsService.d.ts +21 -22
  148. package/dist/openapi_client/services/RecordsService.js +13 -13
  149. package/dist/openapi_client/services/SchedulesService.d.ts +2 -1
  150. package/dist/openapi_client/services/SchedulesService.js +3 -1
  151. package/dist/openapi_client/services/TablesService.d.ts +4 -5
  152. package/dist/openapi_client/services/TablesService.js +2 -2
  153. package/dist/openapi_client/services/WorkflowsService.d.ts +35 -26
  154. package/dist/openapi_client/services/WorkflowsService.js +57 -39
  155. package/dist/react/useAddPodMember.js +1 -1
  156. package/dist/react/useAssistantController.d.ts +1 -0
  157. package/dist/react/useAssistantController.js +5 -1
  158. package/dist/react/useAssistantSession.d.ts +1 -0
  159. package/dist/react/useAssistantSession.js +41 -0
  160. package/dist/react/useBulkRecords.d.ts +5 -5
  161. package/dist/react/useBulkRecords.js +5 -5
  162. package/dist/react/useCreateFolder.d.ts +2 -4
  163. package/dist/react/useCreateFolder.js +2 -3
  164. package/dist/react/useCreateRecord.d.ts +2 -2
  165. package/dist/react/useCreateRecord.js +1 -1
  166. package/dist/react/useDeleteFile.d.ts +1 -4
  167. package/dist/react/useDeleteFile.js +3 -3
  168. package/dist/react/useDeleteRecord.d.ts +1 -2
  169. package/dist/react/useDeleteRecord.js +3 -3
  170. package/dist/react/useFile.d.ts +2 -4
  171. package/dist/react/useFile.js +3 -3
  172. package/dist/react/useFilePreview.d.ts +1 -4
  173. package/dist/react/useFilePreview.js +4 -5
  174. package/dist/react/useFileSearch.d.ts +5 -1
  175. package/dist/react/useFileSearch.js +6 -4
  176. package/dist/react/useFileTree.d.ts +2 -4
  177. package/dist/react/useFileTree.js +2 -3
  178. package/dist/react/useFiles.d.ts +2 -4
  179. package/dist/react/useFiles.js +3 -5
  180. package/dist/react/useFlowSession.d.ts +3 -1
  181. package/dist/react/useFlowSession.js +24 -17
  182. package/dist/react/useGlobalSearch.js +1 -1
  183. package/dist/react/useRecord.d.ts +2 -2
  184. package/dist/react/useRecord.js +1 -1
  185. package/dist/react/useRecordForm.d.ts +2 -2
  186. package/dist/react/useRecordForm.js +2 -2
  187. package/dist/react/useReverseRelatedRecords.js +1 -1
  188. package/dist/react/useUpdateFile.d.ts +2 -4
  189. package/dist/react/useUpdateFile.js +2 -3
  190. package/dist/react/useUpdateRecord.d.ts +2 -2
  191. package/dist/react/useUpdateRecord.js +1 -1
  192. package/dist/react/useUploadFile.d.ts +2 -4
  193. package/dist/react/useUploadFile.js +2 -3
  194. package/dist/react/useWorkflowResume.d.ts +1 -0
  195. package/dist/react/useWorkflowResume.js +10 -1
  196. package/dist/react/useWorkflowRun.js +1 -3
  197. package/dist/react/useWorkflowStart.js +11 -26
  198. package/dist/react/utils.js +2 -0
  199. package/dist/types.d.ts +3 -3
  200. package/package.json +7 -2
  201. package/dist/openapi_client/models/BillingHistoryResponse.d.ts +0 -8
  202. package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
  203. package/dist/openapi_client/models/BillingInterval.js +0 -12
  204. package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -27
  205. package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
  206. package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
  207. package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
  208. package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
  209. package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
  210. package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
  211. package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +0 -11
  212. package/dist/openapi_client/models/DeskServingConfigResponse.js +0 -8
  213. package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
  214. package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
  215. package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
  216. package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
  217. package/dist/openapi_client/models/PlanResponse.d.ts +0 -18
  218. package/dist/openapi_client/models/PlanType.d.ts +0 -7
  219. package/dist/openapi_client/models/PlanType.js +0 -12
  220. package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
  221. package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
  222. package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -7
  223. package/dist/openapi_client/models/StackFrame.d.ts +0 -11
  224. package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
  225. package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
  226. package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
  227. package/dist/openapi_client/models/StartTeamBillingRequest.js +0 -1
  228. package/dist/openapi_client/models/StepExecution.d.ts +0 -13
  229. package/dist/openapi_client/models/StepExecution.js +0 -1
  230. package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
  231. package/dist/openapi_client/models/SubscriptionResponse.js +0 -1
  232. package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
  233. package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
  234. package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
  235. package/dist/openapi_client/models/SubscriptionStatusResponse.js +0 -1
  236. package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
  237. package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +0 -1
  238. package/dist/openapi_client/models/SurfaceEventMode.d.ts +0 -6
  239. package/dist/openapi_client/models/SurfaceEventMode.js +0 -11
  240. package/dist/openapi_client/models/SurfaceMode.d.ts +0 -5
  241. package/dist/openapi_client/models/SurfaceMode.js +0 -10
  242. package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
  243. package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
  244. package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -7
  245. package/dist/openapi_client/models/TeamsSurfaceConfig.js +0 -1
  246. package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -7
  247. package/dist/openapi_client/models/TelegramSurfaceConfig.js +0 -1
  248. package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -7
  249. package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +0 -1
  250. package/dist/openapi_client/models/WorkflowRunWaitEntity.js +0 -1
  251. package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -117
  252. package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
  253. package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
  254. package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
  255. package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
  256. package/dist/openapi_client/services/PublicDesksService.js +0 -15
  257. /package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js} +0 -0
  258. /package/dist/openapi_client/models/{BillingInvoiceResponse.js → ConnectedAccountSummary.js} +0 -0
  259. /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → DatastoreCountResponse.js} +0 -0
  260. /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → InstalledAppSummary.js} +0 -0
  261. /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → IntegrationStatusResponse.js} +0 -0
  262. /package/dist/openapi_client/models/{DatastoreMessageResponse.js → StepRecordResponse.js} +0 -0
  263. /package/dist/openapi_client/models/{FlowRunEntity.js → SurfaceChannelRouteInput.js} +0 -0
  264. /package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteResponse.js} +0 -0
  265. /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → SurfaceConfigResponse.js} +0 -0
  266. /package/dist/openapi_client/models/{PlanListResponse.js → SurfaceIdentityConfigInput.js} +0 -0
  267. /package/dist/openapi_client/models/{PlanResponse.js → SurfaceIdentityConfigResponse.js} +0 -0
  268. /package/dist/openapi_client/models/{RecordResponse.js → SurfaceSetupStatusResponse.js} +0 -0
  269. /package/dist/openapi_client/models/{SeatInfoResponse.js → UpdateSurfaceChannelsRequest.js} +0 -0
  270. /package/dist/openapi_client/models/{SlackSurfaceConfig.js → UpsertSurfaceRequest.js} +0 -0
  271. /package/dist/openapi_client/models/{StackFrame.js → WorkflowRunFormSubmitRequest.js} +0 -0
  272. /package/dist/openapi_client/models/{StartSubscriptionRequest.js → WorkflowRunResponse.js} +0 -0
  273. /package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js} +0 -0
@@ -0,0 +1,7 @@
1
+ export declare enum StepStatus {
2
+ RUNNING = "RUNNING",
3
+ WAITING = "WAITING",
4
+ COMPLETED = "COMPLETED",
5
+ FAILED = "FAILED",
6
+ CANCELLED = "CANCELLED"
7
+ }
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var StepStatus;
6
+ (function (StepStatus) {
7
+ StepStatus["RUNNING"] = "RUNNING";
8
+ StepStatus["WAITING"] = "WAITING";
9
+ StepStatus["COMPLETED"] = "COMPLETED";
10
+ StepStatus["FAILED"] = "FAILED";
11
+ StepStatus["CANCELLED"] = "CANCELLED";
12
+ })(StepStatus || (StepStatus = {}));
@@ -1,3 +1,7 @@
1
+ import type { SurfaceChannelRouteInput } from './SurfaceChannelRouteInput.js';
2
+ import type { SurfaceIdentityConfigInput } from './SurfaceIdentityConfigInput.js';
1
3
  export type SurfaceBehaviorConfigInput = {
4
+ channels?: Array<SurfaceChannelRouteInput>;
2
5
  dm_conversation_reset_after_hours?: number;
6
+ identity?: SurfaceIdentityConfigInput;
3
7
  };
@@ -0,0 +1,6 @@
1
+ export type SurfaceChannelRouteInput = {
2
+ agent_name?: (string | null);
3
+ channel_id?: (string | null);
4
+ channel_name?: (string | null);
5
+ requires_mention?: boolean;
6
+ };
@@ -0,0 +1,6 @@
1
+ export type SurfaceChannelRouteResponse = {
2
+ agent_name?: (string | null);
3
+ channel_id?: (string | null);
4
+ channel_name?: (string | null);
5
+ requires_mention?: boolean;
6
+ };
@@ -0,0 +1,10 @@
1
+ import type { SurfaceChannelRouteResponse } from './SurfaceChannelRouteResponse.js';
2
+ import type { SurfaceIdentityConfigResponse } from './SurfaceIdentityConfigResponse.js';
3
+ /**
4
+ * Mirrors SurfaceBehaviorConfigInput: what you send is what you get back.
5
+ */
6
+ export type SurfaceConfigResponse = {
7
+ channels?: Array<SurfaceChannelRouteResponse>;
8
+ dm_conversation_reset_after_hours?: number;
9
+ identity?: SurfaceIdentityConfigResponse;
10
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum SurfaceCredentialMode {
2
+ SYSTEM = "SYSTEM",
3
+ CUSTOM = "CUSTOM"
4
+ }
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var SurfaceCredentialMode;
6
+ (function (SurfaceCredentialMode) {
7
+ SurfaceCredentialMode["SYSTEM"] = "SYSTEM";
8
+ SurfaceCredentialMode["CUSTOM"] = "CUSTOM";
9
+ })(SurfaceCredentialMode || (SurfaceCredentialMode = {}));
@@ -0,0 +1,4 @@
1
+ export type SurfaceIdentityConfigInput = {
2
+ allowed_domains?: Array<string>;
3
+ allowed_email_addresses?: Array<string>;
4
+ };
@@ -0,0 +1,4 @@
1
+ export type SurfaceIdentityConfigResponse = {
2
+ allowed_domains?: Array<string>;
3
+ allowed_email_addresses?: Array<string>;
4
+ };
@@ -0,0 +1,10 @@
1
+ import type { AgentSurfaceStatus } from './AgentSurfaceStatus.js';
2
+ import type { SurfacePlatform } from './SurfacePlatform.js';
3
+ export type SurfaceSetupStatusResponse = {
4
+ automatic_setup_supported?: boolean;
5
+ manual_steps?: Array<Record<string, string>>;
6
+ platform: SurfacePlatform;
7
+ status: AgentSurfaceStatus;
8
+ webhook_configured?: boolean;
9
+ webhook_url?: (string | null);
10
+ };
@@ -4,5 +4,7 @@ import type { TableDetailResponse } from './TableDetailResponse.js';
4
4
  */
5
5
  export type TableListResponse = {
6
6
  items: Array<TableDetailResponse>;
7
+ limit: number;
7
8
  next_page_token?: (string | null);
9
+ total?: (number | null);
8
10
  };
@@ -1,3 +1,3 @@
1
1
  export type ToggleSurfaceRequest = {
2
- is_active: boolean;
2
+ is_enabled: boolean;
3
3
  };
@@ -7,6 +7,7 @@ export type UpdateScheduleRequest = {
7
7
  filter_instruction?: (string | null);
8
8
  filter_output_schema?: (Record<string, any> | null);
9
9
  is_active?: (boolean | null);
10
+ name?: (string | null);
10
11
  visibility?: (string | null);
11
12
  workflow_name?: (string | null);
12
13
  };
@@ -0,0 +1,4 @@
1
+ import type { SurfaceChannelRouteInput } from './SurfaceChannelRouteInput.js';
2
+ export type UpdateSurfaceChannelsRequest = {
3
+ channels?: Array<SurfaceChannelRouteInput>;
4
+ };
@@ -1,16 +1,9 @@
1
1
  import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
2
- import type { SurfaceEventMode } from './SurfaceEventMode.js';
3
- import type { SurfaceMode } from './SurfaceMode.js';
4
- import type { SurfaceRoutingScope } from './SurfaceRoutingScope.js';
2
+ import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
5
3
  export type UpdateSurfaceRequest = {
6
4
  account_id?: (string | null);
7
- agent_name?: (string | null);
8
5
  config?: (SurfaceBehaviorConfigInput | null);
9
- event_mode?: (SurfaceEventMode | null);
10
- external_channel_id?: (string | null);
11
- external_tenant_id?: (string | null);
12
- external_workspace_id?: (string | null);
13
- is_active?: (boolean | null);
14
- mode?: (SurfaceMode | null);
15
- routing_scope?: (SurfaceRoutingScope | null);
6
+ credential_mode?: (SurfaceCredentialMode | null);
7
+ default_agent_name?: (string | null);
8
+ is_enabled?: (boolean | null);
16
9
  };
@@ -0,0 +1,9 @@
1
+ import type { SurfaceBehaviorConfigInput } from './SurfaceBehaviorConfigInput.js';
2
+ import type { SurfaceCredentialMode } from './SurfaceCredentialMode.js';
3
+ export type UpsertSurfaceRequest = {
4
+ account_id?: (string | null);
5
+ config?: SurfaceBehaviorConfigInput;
6
+ credential_mode?: SurfaceCredentialMode;
7
+ default_agent_name?: (string | null);
8
+ is_enabled?: boolean;
9
+ };
@@ -7,5 +7,6 @@ export type UserProfileRequest = {
7
7
  first_name?: (string | null);
8
8
  last_name?: (string | null);
9
9
  mobile_number?: (string | null);
10
+ telegram_username?: (string | null);
10
11
  timezone?: (string | null);
11
12
  };
@@ -13,6 +13,7 @@ export type UserResponse = {
13
13
  is_verified: boolean;
14
14
  last_name?: (string | null);
15
15
  mobile_number?: (string | null);
16
+ telegram_username?: (string | null);
16
17
  timezone?: (string | null);
17
18
  updated_at: string;
18
19
  };
@@ -1,6 +1,6 @@
1
1
  import type { WaitUntilNodeConfig } from './WaitUntilNodeConfig.js';
2
2
  /**
3
- * Wait Until node.
3
+ * Wait node. Suspends the run until the scheduler wakes it.
4
4
  */
5
5
  export type WaitUntilNode = {
6
6
  config: WaitUntilNodeConfig;
@@ -1,14 +1,26 @@
1
+ import type { AgentNode } from './AgentNode.js';
1
2
  import type { DataStoreWorkflowStartInput } from './DataStoreWorkflowStartInput.js';
3
+ import type { DecisionNode } from './DecisionNode.js';
4
+ import type { EndNode } from './EndNode.js';
2
5
  import type { EventWorkflowStartInput } from './EventWorkflowStartInput.js';
6
+ import type { FormNode } from './FormNode.js';
7
+ import type { FunctionNode } from './FunctionNode.js';
8
+ import type { LoopNode } from './LoopNode.js';
3
9
  import type { ManualWorkflowStartInput } from './ManualWorkflowStartInput.js';
4
10
  import type { ResourceVisibility } from './ResourceVisibility.js';
5
11
  import type { ScheduledWorkflowStartInput } from './ScheduledWorkflowStartInput.js';
12
+ import type { WaitUntilNode } from './WaitUntilNode.js';
13
+ import type { WorkflowEdge } from './WorkflowEdge.js';
6
14
  import type { WorkflowMode } from './WorkflowMode.js';
7
15
  export type WorkflowCreateRequest = {
8
16
  /**
9
17
  * Optional workflow description.
10
18
  */
11
19
  description?: (string | null);
20
+ /**
21
+ * Optional initial graph edges connecting the provided nodes.
22
+ */
23
+ edges?: Array<WorkflowEdge>;
12
24
  /**
13
25
  * Optional public icon URL for the workflow.
14
26
  */
@@ -21,6 +33,10 @@ export type WorkflowCreateRequest = {
21
33
  * Workflow name.
22
34
  */
23
35
  name: string;
36
+ /**
37
+ * Optional initial graph nodes. When provided, the graph is stored at creation time so a separate `workflow.graph.update` call is not required. Omit (or pass an empty list) to create a shell and upload the graph later. Node `input_mapping` entries must use explicit typed bindings like `{"type": "expression", "value": "start.payload.x"}`.
38
+ */
39
+ nodes?: Array<(FormNode | AgentNode | FunctionNode | DecisionNode | LoopNode | WaitUntilNode | EndNode)>;
24
40
  /**
25
41
  * Start configuration. If omitted, the workflow can be started manually via `workflow.start`.
26
42
  */
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Canonical form submission payload — identical across web, SDKs, CLI.
3
+ */
4
+ export type WorkflowRunFormSubmitRequest = {
5
+ /**
6
+ * Form field values keyed by field name.
7
+ */
8
+ inputs?: Record<string, any>;
9
+ /**
10
+ * Id of the FORM node being submitted. Must match the run's active wait; mismatches return 422.
11
+ */
12
+ node_id: string;
13
+ };
@@ -0,0 +1,28 @@
1
+ import type { FlowRunStatus } from './FlowRunStatus.js';
2
+ import type { StepRecordResponse } from './StepRecordResponse.js';
3
+ import type { WorkflowRunWaitResponse } from './WorkflowRunWaitResponse.js';
4
+ /**
5
+ * Full run state. `execution_context` is the same flat view that
6
+ * workflow expressions resolve against (`<node_id>.<field>`, `start.*`,
7
+ * `loop.*`). `active_wait` is set whenever the run is WAITING — including
8
+ * form waits, so UIs can render the form straight from this response.
9
+ */
10
+ export type WorkflowRunResponse = {
11
+ active_wait?: (WorkflowRunWaitResponse | null);
12
+ completed_at?: (string | null);
13
+ created_at?: (string | null);
14
+ current_node_id?: (string | null);
15
+ error?: (string | null);
16
+ execution_context?: Record<string, any>;
17
+ failed_node_id?: (string | null);
18
+ flow_id: string;
19
+ id: string;
20
+ pod_id: string;
21
+ schedule_event_id?: (string | null);
22
+ start_type?: string;
23
+ started_at?: (string | null);
24
+ status?: FlowRunStatus;
25
+ step_history?: Array<StepRecordResponse>;
26
+ updated_at?: (string | null);
27
+ user_id: string;
28
+ };
@@ -3,6 +3,8 @@ export type WorkflowRunSummaryResponse = {
3
3
  completed_at?: (string | null);
4
4
  created_at?: (string | null);
5
5
  current_node_id?: (string | null);
6
+ error?: (string | null);
7
+ failed_node_id?: (string | null);
6
8
  flow_id: string;
7
9
  id: string;
8
10
  pod_id: string;
@@ -12,7 +14,4 @@ export type WorkflowRunSummaryResponse = {
12
14
  status?: FlowRunStatus;
13
15
  updated_at?: (string | null);
14
16
  user_id: string;
15
- waiting_agent_conversation_id?: (string | null);
16
- waiting_function_run_id?: (string | null);
17
- waiting_timer_id?: (string | null);
18
17
  };
@@ -1,6 +1,6 @@
1
- import type { FlowRunEntity } from './FlowRunEntity.js';
2
- import type { WorkflowRunWaitEntity } from './WorkflowRunWaitEntity.js';
1
+ import type { WorkflowRunSummaryResponse } from './WorkflowRunSummaryResponse.js';
2
+ import type { WorkflowRunWaitResponse } from './WorkflowRunWaitResponse.js';
3
3
  export type WorkflowRunWaitAssignment = {
4
- run: FlowRunEntity;
5
- wait: WorkflowRunWaitEntity;
4
+ run: WorkflowRunSummaryResponse;
5
+ wait: WorkflowRunWaitResponse;
6
6
  };
@@ -1,20 +1,16 @@
1
1
  import type { WorkflowRunWaitStatus } from './WorkflowRunWaitStatus.js';
2
2
  import type { WorkflowRunWaitType } from './WorkflowRunWaitType.js';
3
- /**
4
- * A queryable wait owned by a workflow run.
5
- */
6
- export type WorkflowRunWaitEntity = {
3
+ export type WorkflowRunWaitResponse = {
7
4
  assigned_pod_member_id?: (string | null);
8
5
  completed_at?: (string | null);
9
- created_at?: string;
6
+ created_at?: (string | null);
10
7
  external_ref?: (string | null);
11
8
  flow_id: string;
12
- id?: string;
9
+ id: string;
13
10
  node_id: string;
14
11
  payload?: Record<string, any>;
15
12
  pod_id: string;
16
13
  run_id: string;
17
- status?: WorkflowRunWaitStatus;
18
- updated_at?: string;
14
+ status: WorkflowRunWaitStatus;
19
15
  wait_type: WorkflowRunWaitType;
20
16
  };
@@ -2,6 +2,5 @@ export declare enum WorkflowRunWaitType {
2
2
  HUMAN = "HUMAN",
3
3
  AGENT = "AGENT",
4
4
  FUNCTION = "FUNCTION",
5
- TIME = "TIME",
6
- SCHEDULE = "SCHEDULE"
5
+ TIME = "TIME"
7
6
  }
@@ -8,5 +8,4 @@ export var WorkflowRunWaitType;
8
8
  WorkflowRunWaitType["AGENT"] = "AGENT";
9
9
  WorkflowRunWaitType["FUNCTION"] = "FUNCTION";
10
10
  WorkflowRunWaitType["TIME"] = "TIME";
11
- WorkflowRunWaitType["SCHEDULE"] = "SCHEDULE";
12
11
  })(WorkflowRunWaitType || (WorkflowRunWaitType = {}));
@@ -1,6 +1,3 @@
1
1
  export type WorkspaceAppAccessRequest = {
2
- pod_id?: (string | null);
3
2
  ttl_seconds?: number;
4
- workload_id?: (string | null);
5
- workload_type?: (string | null);
6
3
  };
@@ -1,10 +1,7 @@
1
1
  export type WorkspaceMeSandbox = {
2
- namespace?: (string | null);
3
- phase?: (string | null);
4
- pod_name?: (string | null);
2
+ id: string;
5
3
  ready: boolean;
6
4
  runtime: string;
7
- sandbox_id: string;
8
5
  status: string;
9
6
  updated_at?: (string | null);
10
7
  };
@@ -2,8 +2,11 @@ import type { AdminConsentInfoResponse } from '../models/AdminConsentInfoRespons
2
2
  import type { AgentSurfaceListResponse } from '../models/AgentSurfaceListResponse.js';
3
3
  import type { CreateSurfaceRequest } from '../models/CreateSurfaceRequest.js';
4
4
  import type { SurfacePlatformSetupGuideResponse } from '../models/SurfacePlatformSetupGuideResponse.js';
5
+ import type { SurfaceSetupStatusResponse } from '../models/SurfaceSetupStatusResponse.js';
5
6
  import type { ToggleSurfaceRequest } from '../models/ToggleSurfaceRequest.js';
7
+ import type { UpdateSurfaceChannelsRequest } from '../models/UpdateSurfaceChannelsRequest.js';
6
8
  import type { UpdateSurfaceRequest } from '../models/UpdateSurfaceRequest.js';
9
+ import type { UpsertSurfaceRequest } from '../models/UpsertSurfaceRequest.js';
7
10
  import type { CancelablePromise } from '../core/CancelablePromise.js';
8
11
  export declare class AgentSurfacesService {
9
12
  /**
@@ -31,46 +34,72 @@ export declare class AgentSurfacesService {
31
34
  * @throws ApiError
32
35
  */
33
36
  static agentSurfacePlatformChecklist(podId: string, platform: string): CancelablePromise<SurfacePlatformSetupGuideResponse>;
37
+ /**
38
+ * Upsert Surface By Platform
39
+ * @param podId
40
+ * @param platform
41
+ * @param requestBody
42
+ * @returns any Successful Response
43
+ * @throws ApiError
44
+ */
45
+ static agentSurfaceUpsertByPlatform(podId: string, platform: string, requestBody: UpsertSurfaceRequest): CancelablePromise<any>;
34
46
  /**
35
47
  * Delete Surface
36
48
  * @param podId
37
- * @param surfaceId
49
+ * @param surfaceRef
38
50
  * @returns void
39
51
  * @throws ApiError
40
52
  */
41
- static agentSurfaceDelete(podId: string, surfaceId: string): CancelablePromise<void>;
53
+ static agentSurfaceDelete(podId: string, surfaceRef: string): CancelablePromise<void>;
42
54
  /**
43
55
  * Get Surface
44
56
  * @param podId
45
- * @param surfaceId
57
+ * @param surfaceRef
46
58
  * @returns any Successful Response
47
59
  * @throws ApiError
48
60
  */
49
- static agentSurfaceGet(podId: string, surfaceId: string): CancelablePromise<any>;
61
+ static agentSurfaceGet(podId: string, surfaceRef: string): CancelablePromise<any>;
50
62
  /**
51
63
  * Update Surface
52
64
  * @param podId
53
- * @param surfaceId
65
+ * @param surfaceRef
54
66
  * @param requestBody
55
67
  * @returns any Successful Response
56
68
  * @throws ApiError
57
69
  */
58
- static agentSurfaceUpdate(podId: string, surfaceId: string, requestBody: UpdateSurfaceRequest): CancelablePromise<any>;
70
+ static agentSurfaceUpdate(podId: string, surfaceRef: string, requestBody: UpdateSurfaceRequest): CancelablePromise<any>;
59
71
  /**
60
72
  * Get Admin Consent Info
61
73
  * @param podId
62
- * @param surfaceId
74
+ * @param surfaceRef
63
75
  * @returns AdminConsentInfoResponse Successful Response
64
76
  * @throws ApiError
65
77
  */
66
- static agentSurfaceAdminConsentInfo(podId: string, surfaceId: string): CancelablePromise<AdminConsentInfoResponse>;
78
+ static agentSurfaceAdminConsentInfo(podId: string, surfaceRef: string): CancelablePromise<AdminConsentInfoResponse>;
79
+ /**
80
+ * Update Surface Channels
81
+ * @param podId
82
+ * @param surfaceRef
83
+ * @param requestBody
84
+ * @returns any Successful Response
85
+ * @throws ApiError
86
+ */
87
+ static agentSurfaceUpdateChannels(podId: string, surfaceRef: string, requestBody: UpdateSurfaceChannelsRequest): CancelablePromise<any>;
88
+ /**
89
+ * Get Surface Setup Status
90
+ * @param podId
91
+ * @param surfaceRef
92
+ * @returns SurfaceSetupStatusResponse Successful Response
93
+ * @throws ApiError
94
+ */
95
+ static agentSurfaceSetupStatus(podId: string, surfaceRef: string): CancelablePromise<SurfaceSetupStatusResponse>;
67
96
  /**
68
97
  * Toggle Surface
69
98
  * @param podId
70
- * @param surfaceId
99
+ * @param surfaceRef
71
100
  * @param requestBody
72
101
  * @returns any Successful Response
73
102
  * @throws ApiError
74
103
  */
75
- static agentSurfaceToggle(podId: string, surfaceId: string, requestBody: ToggleSurfaceRequest): CancelablePromise<any>;
104
+ static agentSurfaceToggle(podId: string, surfaceRef: string, requestBody: ToggleSurfaceRequest): CancelablePromise<any>;
76
105
  }
@@ -66,20 +66,43 @@ export class AgentSurfacesService {
66
66
  },
67
67
  });
68
68
  }
69
+ /**
70
+ * Upsert Surface By Platform
71
+ * @param podId
72
+ * @param platform
73
+ * @param requestBody
74
+ * @returns any Successful Response
75
+ * @throws ApiError
76
+ */
77
+ static agentSurfaceUpsertByPlatform(podId, platform, requestBody) {
78
+ return __request(OpenAPI, {
79
+ method: 'PUT',
80
+ url: '/pods/{pod_id}/surfaces/{platform}',
81
+ path: {
82
+ 'pod_id': podId,
83
+ 'platform': platform,
84
+ },
85
+ body: requestBody,
86
+ mediaType: 'application/json',
87
+ errors: {
88
+ 422: `Validation Error`,
89
+ },
90
+ });
91
+ }
69
92
  /**
70
93
  * Delete Surface
71
94
  * @param podId
72
- * @param surfaceId
95
+ * @param surfaceRef
73
96
  * @returns void
74
97
  * @throws ApiError
75
98
  */
76
- static agentSurfaceDelete(podId, surfaceId) {
99
+ static agentSurfaceDelete(podId, surfaceRef) {
77
100
  return __request(OpenAPI, {
78
101
  method: 'DELETE',
79
- url: '/pods/{pod_id}/surfaces/{surface_id}',
102
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
80
103
  path: {
81
104
  'pod_id': podId,
82
- 'surface_id': surfaceId,
105
+ 'surface_ref': surfaceRef,
83
106
  },
84
107
  errors: {
85
108
  422: `Validation Error`,
@@ -89,17 +112,17 @@ export class AgentSurfacesService {
89
112
  /**
90
113
  * Get Surface
91
114
  * @param podId
92
- * @param surfaceId
115
+ * @param surfaceRef
93
116
  * @returns any Successful Response
94
117
  * @throws ApiError
95
118
  */
96
- static agentSurfaceGet(podId, surfaceId) {
119
+ static agentSurfaceGet(podId, surfaceRef) {
97
120
  return __request(OpenAPI, {
98
121
  method: 'GET',
99
- url: '/pods/{pod_id}/surfaces/{surface_id}',
122
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
100
123
  path: {
101
124
  'pod_id': podId,
102
- 'surface_id': surfaceId,
125
+ 'surface_ref': surfaceRef,
103
126
  },
104
127
  errors: {
105
128
  422: `Validation Error`,
@@ -109,18 +132,18 @@ export class AgentSurfacesService {
109
132
  /**
110
133
  * Update Surface
111
134
  * @param podId
112
- * @param surfaceId
135
+ * @param surfaceRef
113
136
  * @param requestBody
114
137
  * @returns any Successful Response
115
138
  * @throws ApiError
116
139
  */
117
- static agentSurfaceUpdate(podId, surfaceId, requestBody) {
140
+ static agentSurfaceUpdate(podId, surfaceRef, requestBody) {
118
141
  return __request(OpenAPI, {
119
142
  method: 'PATCH',
120
- url: '/pods/{pod_id}/surfaces/{surface_id}',
143
+ url: '/pods/{pod_id}/surfaces/{surface_ref}',
121
144
  path: {
122
145
  'pod_id': podId,
123
- 'surface_id': surfaceId,
146
+ 'surface_ref': surfaceRef,
124
147
  },
125
148
  body: requestBody,
126
149
  mediaType: 'application/json',
@@ -132,17 +155,60 @@ export class AgentSurfacesService {
132
155
  /**
133
156
  * Get Admin Consent Info
134
157
  * @param podId
135
- * @param surfaceId
158
+ * @param surfaceRef
136
159
  * @returns AdminConsentInfoResponse Successful Response
137
160
  * @throws ApiError
138
161
  */
139
- static agentSurfaceAdminConsentInfo(podId, surfaceId) {
162
+ static agentSurfaceAdminConsentInfo(podId, surfaceRef) {
163
+ return __request(OpenAPI, {
164
+ method: 'GET',
165
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/admin-consent',
166
+ path: {
167
+ 'pod_id': podId,
168
+ 'surface_ref': surfaceRef,
169
+ },
170
+ errors: {
171
+ 422: `Validation Error`,
172
+ },
173
+ });
174
+ }
175
+ /**
176
+ * Update Surface Channels
177
+ * @param podId
178
+ * @param surfaceRef
179
+ * @param requestBody
180
+ * @returns any Successful Response
181
+ * @throws ApiError
182
+ */
183
+ static agentSurfaceUpdateChannels(podId, surfaceRef, requestBody) {
184
+ return __request(OpenAPI, {
185
+ method: 'PUT',
186
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/channels',
187
+ path: {
188
+ 'pod_id': podId,
189
+ 'surface_ref': surfaceRef,
190
+ },
191
+ body: requestBody,
192
+ mediaType: 'application/json',
193
+ errors: {
194
+ 422: `Validation Error`,
195
+ },
196
+ });
197
+ }
198
+ /**
199
+ * Get Surface Setup Status
200
+ * @param podId
201
+ * @param surfaceRef
202
+ * @returns SurfaceSetupStatusResponse Successful Response
203
+ * @throws ApiError
204
+ */
205
+ static agentSurfaceSetupStatus(podId, surfaceRef) {
140
206
  return __request(OpenAPI, {
141
207
  method: 'GET',
142
- url: '/pods/{pod_id}/surfaces/{surface_id}/admin-consent',
208
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/setup',
143
209
  path: {
144
210
  'pod_id': podId,
145
- 'surface_id': surfaceId,
211
+ 'surface_ref': surfaceRef,
146
212
  },
147
213
  errors: {
148
214
  422: `Validation Error`,
@@ -152,18 +218,18 @@ export class AgentSurfacesService {
152
218
  /**
153
219
  * Toggle Surface
154
220
  * @param podId
155
- * @param surfaceId
221
+ * @param surfaceRef
156
222
  * @param requestBody
157
223
  * @returns any Successful Response
158
224
  * @throws ApiError
159
225
  */
160
- static agentSurfaceToggle(podId, surfaceId, requestBody) {
226
+ static agentSurfaceToggle(podId, surfaceRef, requestBody) {
161
227
  return __request(OpenAPI, {
162
228
  method: 'PATCH',
163
- url: '/pods/{pod_id}/surfaces/{surface_id}/toggle',
229
+ url: '/pods/{pod_id}/surfaces/{surface_ref}/toggle',
164
230
  path: {
165
231
  'pod_id': podId,
166
- 'surface_id': surfaceId,
232
+ 'surface_ref': surfaceRef,
167
233
  },
168
234
  body: requestBody,
169
235
  mediaType: 'application/json',