@amigo-ai/platform-sdk 0.5.7 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/types/generated/api.d.ts +6 -0
  2. package/dist/types/generated/api.d.ts.map +1 -1
  3. package/dist/types/resources/actions.d.ts +126 -22
  4. package/dist/types/resources/actions.d.ts.map +1 -1
  5. package/dist/types/resources/agents.d.ts +102 -16
  6. package/dist/types/resources/agents.d.ts.map +1 -1
  7. package/dist/types/resources/analytics.d.ts +74 -22
  8. package/dist/types/resources/analytics.d.ts.map +1 -1
  9. package/dist/types/resources/api-keys.d.ts +16 -3
  10. package/dist/types/resources/api-keys.d.ts.map +1 -1
  11. package/dist/types/resources/audit.d.ts +87 -31
  12. package/dist/types/resources/audit.d.ts.map +1 -1
  13. package/dist/types/resources/billing.d.ts +42 -9
  14. package/dist/types/resources/billing.d.ts.map +1 -1
  15. package/dist/types/resources/calls.d.ts +169 -65
  16. package/dist/types/resources/calls.d.ts.map +1 -1
  17. package/dist/types/resources/compliance.d.ts +6 -6
  18. package/dist/types/resources/context-graphs.d.ts +974 -17
  19. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  20. package/dist/types/resources/data-sources.d.ts +50 -13
  21. package/dist/types/resources/data-sources.d.ts.map +1 -1
  22. package/dist/types/resources/functions.d.ts +49 -22
  23. package/dist/types/resources/functions.d.ts.map +1 -1
  24. package/dist/types/resources/integrations.d.ts +379 -49
  25. package/dist/types/resources/integrations.d.ts.map +1 -1
  26. package/dist/types/resources/memory.d.ts +48 -4
  27. package/dist/types/resources/memory.d.ts.map +1 -1
  28. package/dist/types/resources/operators.d.ts +189 -64
  29. package/dist/types/resources/operators.d.ts.map +1 -1
  30. package/dist/types/resources/personas.d.ts +20 -7
  31. package/dist/types/resources/personas.d.ts.map +1 -1
  32. package/dist/types/resources/phone-numbers.d.ts +46 -8
  33. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  34. package/dist/types/resources/recordings.d.ts +4 -4
  35. package/dist/types/resources/review-queue.d.ts +350 -49
  36. package/dist/types/resources/review-queue.d.ts.map +1 -1
  37. package/dist/types/resources/safety.d.ts +32 -6
  38. package/dist/types/resources/safety.d.ts.map +1 -1
  39. package/dist/types/resources/services.d.ts +242 -47
  40. package/dist/types/resources/services.d.ts.map +1 -1
  41. package/dist/types/resources/settings.d.ts +404 -36
  42. package/dist/types/resources/settings.d.ts.map +1 -1
  43. package/dist/types/resources/simulations.d.ts +148 -20
  44. package/dist/types/resources/simulations.d.ts.map +1 -1
  45. package/dist/types/resources/skills.d.ts +117 -21
  46. package/dist/types/resources/skills.d.ts.map +1 -1
  47. package/dist/types/resources/triggers.d.ts +92 -64
  48. package/dist/types/resources/triggers.d.ts.map +1 -1
  49. package/dist/types/resources/webhook-destinations.d.ts +44 -20
  50. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  51. package/dist/types/resources/workspaces.d.ts +26 -4
  52. package/dist/types/resources/workspaces.d.ts.map +1 -1
  53. package/dist/types/resources/world.d.ts +322 -121
  54. package/dist/types/resources/world.d.ts.map +1 -1
  55. package/package.json +1 -1
@@ -14,29 +14,95 @@ export declare class SimulationsResource extends WorkspaceScopedResource {
14
14
  greeting: string;
15
15
  is_terminal: boolean;
16
16
  session_id: string;
17
- snapshot: components["schemas"]["SimulationSnapshotResponse"];
17
+ snapshot: {
18
+ [x: string]: unknown;
19
+ context_graph_topology?: {
20
+ [x: string]: string;
21
+ }[] | undefined;
22
+ conversation_history?: {
23
+ [x: string]: unknown;
24
+ }[] | undefined;
25
+ current_state: {
26
+ [x: string]: unknown;
27
+ action_guidelines?: string[] | undefined;
28
+ actions?: {
29
+ [x: string]: unknown;
30
+ }[] | undefined;
31
+ boundary_constraints?: string[] | undefined;
32
+ exit_conditions?: {
33
+ [x: string]: unknown;
34
+ }[] | undefined;
35
+ guardrails?: {
36
+ [x: string]: unknown;
37
+ }[] | undefined;
38
+ name: string;
39
+ objective?: string | undefined;
40
+ tools?: string[] | undefined;
41
+ type: string;
42
+ };
43
+ reachable_states?: {
44
+ [x: string]: unknown;
45
+ }[] | undefined;
46
+ state_transitions?: string[][] | undefined;
47
+ states_visited?: string[] | undefined;
48
+ terminal_reached?: boolean | undefined;
49
+ terminal_state?: string | null | undefined;
50
+ tools_called?: string[] | undefined;
51
+ total_turns?: number | undefined;
52
+ turn_policy?: {
53
+ barge_in_enabled?: boolean | undefined;
54
+ block_forward_call?: boolean | undefined;
55
+ block_forward_call_after_turns?: number | undefined;
56
+ context_strategy?: string | undefined;
57
+ greeting_shield_s?: number | undefined;
58
+ safety_response?: string | undefined;
59
+ } | undefined;
60
+ };
18
61
  } & import("../index.js").ResponseMetadata>;
19
62
  /** Get the current snapshot of a session */
20
63
  getSession(sessionId: SimulationSessionId | string): Promise<{
64
+ [x: string]: unknown;
21
65
  context_graph_topology?: {
22
- [key: string]: string;
23
- }[];
66
+ [x: string]: string;
67
+ }[] | undefined;
24
68
  conversation_history?: {
25
- [key: string]: unknown;
26
- }[];
27
- current_state: components["schemas"]["SimulationStateResponse"];
69
+ [x: string]: unknown;
70
+ }[] | undefined;
71
+ current_state: {
72
+ [x: string]: unknown;
73
+ action_guidelines?: string[] | undefined;
74
+ actions?: {
75
+ [x: string]: unknown;
76
+ }[] | undefined;
77
+ boundary_constraints?: string[] | undefined;
78
+ exit_conditions?: {
79
+ [x: string]: unknown;
80
+ }[] | undefined;
81
+ guardrails?: {
82
+ [x: string]: unknown;
83
+ }[] | undefined;
84
+ name: string;
85
+ objective?: string | undefined;
86
+ tools?: string[] | undefined;
87
+ type: string;
88
+ };
28
89
  reachable_states?: {
29
- [key: string]: unknown;
30
- }[];
31
- state_transitions?: string[][];
32
- states_visited?: string[];
33
- terminal_reached?: boolean;
34
- terminal_state?: string | null;
35
- tools_called?: string[];
36
- total_turns?: number;
37
- turn_policy?: components["schemas"]["SimulationTurnPolicyResponse"];
38
- } & {
39
- [key: string]: unknown;
90
+ [x: string]: unknown;
91
+ }[] | undefined;
92
+ state_transitions?: string[][] | undefined;
93
+ states_visited?: string[] | undefined;
94
+ terminal_reached?: boolean | undefined;
95
+ terminal_state?: string | null | undefined;
96
+ tools_called?: string[] | undefined;
97
+ total_turns?: number | undefined;
98
+ turn_policy?: {
99
+ barge_in_enabled?: boolean | undefined;
100
+ block_forward_call?: boolean | undefined;
101
+ block_forward_call_after_turns?: number | undefined;
102
+ context_strategy?: string | undefined;
103
+ greeting_shield_s?: number | undefined;
104
+ safety_response?: string | undefined;
105
+ } | undefined;
40
106
  } & import("../index.js").ResponseMetadata>;
41
107
  /** Delete a simulation session */
42
108
  deleteSession(sessionId: SimulationSessionId | string): Promise<{
@@ -47,8 +113,70 @@ export declare class SimulationsResource extends WorkspaceScopedResource {
47
113
  * Returns the agent's response observation and updated snapshot.
48
114
  */
49
115
  step(body: components['schemas']['StepRequest']): Promise<{
50
- observation: components["schemas"]["SimulationObservation"];
51
- snapshot: components["schemas"]["SimulationSnapshotResponse"];
116
+ observation: {
117
+ agent_text: string;
118
+ empathy_tier?: number | undefined;
119
+ engine_ms?: number | null | undefined;
120
+ has_pause?: boolean | undefined;
121
+ is_terminal: boolean;
122
+ nav_ms?: number | null | undefined;
123
+ selected_action?: string | null | undefined;
124
+ state_after: string;
125
+ state_before: string;
126
+ state_changed: boolean;
127
+ tool_call_details?: {
128
+ call_id?: string | undefined;
129
+ input?: string | undefined;
130
+ result?: string | undefined;
131
+ succeeded?: boolean | undefined;
132
+ tool_name: string;
133
+ }[] | undefined;
134
+ tools_called?: string[] | undefined;
135
+ };
136
+ snapshot: {
137
+ [x: string]: unknown;
138
+ context_graph_topology?: {
139
+ [x: string]: string;
140
+ }[] | undefined;
141
+ conversation_history?: {
142
+ [x: string]: unknown;
143
+ }[] | undefined;
144
+ current_state: {
145
+ [x: string]: unknown;
146
+ action_guidelines?: string[] | undefined;
147
+ actions?: {
148
+ [x: string]: unknown;
149
+ }[] | undefined;
150
+ boundary_constraints?: string[] | undefined;
151
+ exit_conditions?: {
152
+ [x: string]: unknown;
153
+ }[] | undefined;
154
+ guardrails?: {
155
+ [x: string]: unknown;
156
+ }[] | undefined;
157
+ name: string;
158
+ objective?: string | undefined;
159
+ tools?: string[] | undefined;
160
+ type: string;
161
+ };
162
+ reachable_states?: {
163
+ [x: string]: unknown;
164
+ }[] | undefined;
165
+ state_transitions?: string[][] | undefined;
166
+ states_visited?: string[] | undefined;
167
+ terminal_reached?: boolean | undefined;
168
+ terminal_state?: string | null | undefined;
169
+ tools_called?: string[] | undefined;
170
+ total_turns?: number | undefined;
171
+ turn_policy?: {
172
+ barge_in_enabled?: boolean | undefined;
173
+ block_forward_call?: boolean | undefined;
174
+ block_forward_call_after_turns?: number | undefined;
175
+ context_strategy?: string | undefined;
176
+ greeting_shield_s?: number | undefined;
177
+ safety_response?: string | undefined;
178
+ } | undefined;
179
+ };
52
180
  } & import("../index.js").ResponseMetadata>;
53
181
  /**
54
182
  * Get LLM-generated caller message suggestions for the current session state.
@@ -60,7 +188,7 @@ export declare class SimulationsResource extends WorkspaceScopedResource {
60
188
  /** Get AI-generated call intelligence for a completed session */
61
189
  getIntelligence(sessionId: SimulationSessionId | string): Promise<{
62
190
  intelligence: {
63
- [key: string]: unknown;
191
+ [x: string]: unknown;
64
192
  };
65
193
  session_id: string;
66
194
  } & import("../index.js").ResponseMetadata>;
@@ -1 +1 @@
1
- {"version":3,"file":"simulations.d.ts","sourceRoot":"","sources":["../../../src/resources/simulations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,uBAAuB;IAC9D,qFAAqF;IAC/E,aAAa,CACjB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,gDA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AC,SAAS,CAAC,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASrD;;;OAGG;IACG,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;IAS/D,iEAAiE;IAC3D,eAAe,CAAC,SAAS,EAAE,mBAAmB,GAAG,MAAM;;;;;;CAO9D"}
@@ -28,9 +28,12 @@ export declare class SkillsResource extends WorkspaceScopedResource {
28
28
  execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
29
29
  id: string;
30
30
  input_schema: {
31
- [key: string]: unknown;
31
+ [x: string]: unknown;
32
32
  };
33
- integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
33
+ integration_tools: {
34
+ endpoint: string;
35
+ integration: string;
36
+ }[];
34
37
  max_agent_turns: number;
35
38
  max_input_tokens: number | null;
36
39
  max_result_chars: number;
@@ -38,10 +41,17 @@ export declare class SkillsResource extends WorkspaceScopedResource {
38
41
  model: string;
39
42
  name: string;
40
43
  result_schema: {
41
- [key: string]: unknown;
44
+ [x: string]: unknown;
42
45
  } | null;
43
46
  slug: string;
44
- static_tools: components["schemas"]["src__models__StaticToolDef"][];
47
+ static_tools: {
48
+ description: string;
49
+ handler: string;
50
+ input_schema: {
51
+ [x: string]: unknown;
52
+ };
53
+ name: string;
54
+ }[];
45
55
  system_prompt: string;
46
56
  thinking_effort: ("low" | "medium" | "high") | null;
47
57
  timeout_s: number;
@@ -53,10 +63,57 @@ export declare class SkillsResource extends WorkspaceScopedResource {
53
63
  } & import("../index.js").ResponseMetadata>;
54
64
  /** List skills in the workspace */
55
65
  list(params?: ListSkillsParams): Promise<{
56
- continuation_token?: number | null;
66
+ continuation_token?: number | null | undefined;
57
67
  has_more: boolean;
58
- items: components["schemas"]["SkillResponse"][];
59
- total?: number | null;
68
+ items: {
69
+ approval_required: boolean;
70
+ browser_allowed_domains: string[];
71
+ browser_auth_integration: string | null;
72
+ browser_start_url: string | null;
73
+ checkpoint_enabled: boolean;
74
+ created_at: string;
75
+ delivery: "interrupt" | "queue";
76
+ description: string;
77
+ enable_caching: boolean;
78
+ enable_citations: boolean;
79
+ enabled: boolean;
80
+ execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
81
+ id: string;
82
+ input_schema: {
83
+ [x: string]: unknown;
84
+ };
85
+ integration_tools: {
86
+ endpoint: string;
87
+ integration: string;
88
+ }[];
89
+ max_agent_turns: number;
90
+ max_input_tokens: number | null;
91
+ max_result_chars: number;
92
+ max_tokens: number;
93
+ model: string;
94
+ name: string;
95
+ result_schema: {
96
+ [x: string]: unknown;
97
+ } | null;
98
+ slug: string;
99
+ static_tools: {
100
+ description: string;
101
+ handler: string;
102
+ input_schema: {
103
+ [x: string]: unknown;
104
+ };
105
+ name: string;
106
+ }[];
107
+ system_prompt: string;
108
+ thinking_effort: ("low" | "medium" | "high") | null;
109
+ timeout_s: number;
110
+ updated_at: string;
111
+ urgency_keywords: string[];
112
+ use_structured_output: boolean;
113
+ version: number;
114
+ workspace_id: string;
115
+ }[];
116
+ total?: number | null | undefined;
60
117
  } & import("../index.js").ResponseMetadata>;
61
118
  listAutoPaging(params?: ListSkillsParams): AsyncGenerator<{
62
119
  approval_required: boolean;
@@ -73,9 +130,12 @@ export declare class SkillsResource extends WorkspaceScopedResource {
73
130
  execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
74
131
  id: string;
75
132
  input_schema: {
76
- [key: string]: unknown;
133
+ [x: string]: unknown;
77
134
  };
78
- integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
135
+ integration_tools: {
136
+ endpoint: string;
137
+ integration: string;
138
+ }[];
79
139
  max_agent_turns: number;
80
140
  max_input_tokens: number | null;
81
141
  max_result_chars: number;
@@ -83,10 +143,17 @@ export declare class SkillsResource extends WorkspaceScopedResource {
83
143
  model: string;
84
144
  name: string;
85
145
  result_schema: {
86
- [key: string]: unknown;
146
+ [x: string]: unknown;
87
147
  } | null;
88
148
  slug: string;
89
- static_tools: components["schemas"]["src__models__StaticToolDef"][];
149
+ static_tools: {
150
+ description: string;
151
+ handler: string;
152
+ input_schema: {
153
+ [x: string]: unknown;
154
+ };
155
+ name: string;
156
+ }[];
90
157
  system_prompt: string;
91
158
  thinking_effort: ("low" | "medium" | "high") | null;
92
159
  timeout_s: number;
@@ -112,9 +179,12 @@ export declare class SkillsResource extends WorkspaceScopedResource {
112
179
  execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
113
180
  id: string;
114
181
  input_schema: {
115
- [key: string]: unknown;
182
+ [x: string]: unknown;
116
183
  };
117
- integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
184
+ integration_tools: {
185
+ endpoint: string;
186
+ integration: string;
187
+ }[];
118
188
  max_agent_turns: number;
119
189
  max_input_tokens: number | null;
120
190
  max_result_chars: number;
@@ -122,10 +192,17 @@ export declare class SkillsResource extends WorkspaceScopedResource {
122
192
  model: string;
123
193
  name: string;
124
194
  result_schema: {
125
- [key: string]: unknown;
195
+ [x: string]: unknown;
126
196
  } | null;
127
197
  slug: string;
128
- static_tools: components["schemas"]["src__models__StaticToolDef"][];
198
+ static_tools: {
199
+ description: string;
200
+ handler: string;
201
+ input_schema: {
202
+ [x: string]: unknown;
203
+ };
204
+ name: string;
205
+ }[];
129
206
  system_prompt: string;
130
207
  thinking_effort: ("low" | "medium" | "high") | null;
131
208
  timeout_s: number;
@@ -151,9 +228,12 @@ export declare class SkillsResource extends WorkspaceScopedResource {
151
228
  execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
152
229
  id: string;
153
230
  input_schema: {
154
- [key: string]: unknown;
231
+ [x: string]: unknown;
155
232
  };
156
- integration_tools: components["schemas"]["src__models__IntegrationToolRef"][];
233
+ integration_tools: {
234
+ endpoint: string;
235
+ integration: string;
236
+ }[];
157
237
  max_agent_turns: number;
158
238
  max_input_tokens: number | null;
159
239
  max_result_chars: number;
@@ -161,10 +241,17 @@ export declare class SkillsResource extends WorkspaceScopedResource {
161
241
  model: string;
162
242
  name: string;
163
243
  result_schema: {
164
- [key: string]: unknown;
244
+ [x: string]: unknown;
165
245
  } | null;
166
246
  slug: string;
167
- static_tools: components["schemas"]["src__models__StaticToolDef"][];
247
+ static_tools: {
248
+ description: string;
249
+ handler: string;
250
+ input_schema: {
251
+ [x: string]: unknown;
252
+ };
253
+ name: string;
254
+ }[];
168
255
  system_prompt: string;
169
256
  thinking_effort: ("low" | "medium" | "high") | null;
170
257
  timeout_s: number;
@@ -183,12 +270,21 @@ export declare class SkillsResource extends WorkspaceScopedResource {
183
270
  test(skillId: SkillId | string, body: components['schemas']['TestSkillRequest']): Promise<{
184
271
  cached_tokens: number;
185
272
  duration_ms: number;
186
- error?: string | null;
273
+ error?: string | null | undefined;
187
274
  input_tokens: number;
188
275
  output_tokens: number;
189
276
  result: string;
190
277
  rounds: number;
191
- sub_tool_logs: components["schemas"]["SubToolLog"][];
278
+ sub_tool_logs: {
279
+ duration_ms: number;
280
+ input: {
281
+ [x: string]: unknown;
282
+ };
283
+ output: string;
284
+ round: number;
285
+ succeeded: boolean;
286
+ tool_name: string;
287
+ }[];
192
288
  } & import("../index.js").ResponseMetadata>;
193
289
  }
194
290
  //# sourceMappingURL=skills.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/resources/skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC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AAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;CAQtF"}
@@ -3,155 +3,183 @@ import { WorkspaceScopedResource } from './base.js';
3
3
  import type { ListParams } from '../core/utils.js';
4
4
  export declare class TriggersResource extends WorkspaceScopedResource {
5
5
  list(params?: ListParams): Promise<{
6
- continuation_token?: number | null;
6
+ continuation_token?: number | null | undefined;
7
7
  has_more: boolean;
8
- items: components["schemas"]["TriggerResponse"][];
9
- total?: number | null;
8
+ items: {
9
+ action_id: string;
10
+ created_at?: string | null | undefined;
11
+ created_by?: string | null | undefined;
12
+ description?: string | null | undefined;
13
+ event_filter?: {
14
+ [x: string]: unknown;
15
+ } | null | undefined;
16
+ event_type: string;
17
+ id: string;
18
+ input_template: {
19
+ [x: string]: unknown;
20
+ };
21
+ is_active: boolean;
22
+ name: string;
23
+ next_fire_at?: string | null | undefined;
24
+ schedule?: string | null | undefined;
25
+ timezone: string;
26
+ updated_at?: string | null | undefined;
27
+ workspace_id: string;
28
+ }[];
29
+ total?: number | null | undefined;
10
30
  } & import("../index.js").ResponseMetadata>;
11
31
  listAutoPaging(params?: ListParams): AsyncGenerator<{
12
32
  action_id: string;
13
- created_at?: string | null;
14
- created_by?: string | null;
15
- description?: string | null;
33
+ created_at?: string | null | undefined;
34
+ created_by?: string | null | undefined;
35
+ description?: string | null | undefined;
16
36
  event_filter?: {
17
- [key: string]: unknown;
18
- } | null;
37
+ [x: string]: unknown;
38
+ } | null | undefined;
19
39
  event_type: string;
20
40
  id: string;
21
41
  input_template: {
22
- [key: string]: unknown;
42
+ [x: string]: unknown;
23
43
  };
24
44
  is_active: boolean;
25
45
  name: string;
26
- next_fire_at?: string | null;
27
- schedule?: string | null;
46
+ next_fire_at?: string | null | undefined;
47
+ schedule?: string | null | undefined;
28
48
  timezone: string;
29
- updated_at?: string | null;
49
+ updated_at?: string | null | undefined;
30
50
  workspace_id: string;
31
51
  }, any, any>;
32
52
  create(body: components['schemas']['CreateTriggerRequest']): Promise<{
33
53
  action_id: string;
34
- created_at?: string | null;
35
- created_by?: string | null;
36
- description?: string | null;
54
+ created_at?: string | null | undefined;
55
+ created_by?: string | null | undefined;
56
+ description?: string | null | undefined;
37
57
  event_filter?: {
38
- [key: string]: unknown;
39
- } | null;
58
+ [x: string]: unknown;
59
+ } | null | undefined;
40
60
  event_type: string;
41
61
  id: string;
42
62
  input_template: {
43
- [key: string]: unknown;
63
+ [x: string]: unknown;
44
64
  };
45
65
  is_active: boolean;
46
66
  name: string;
47
- next_fire_at?: string | null;
48
- schedule?: string | null;
67
+ next_fire_at?: string | null | undefined;
68
+ schedule?: string | null | undefined;
49
69
  timezone: string;
50
- updated_at?: string | null;
70
+ updated_at?: string | null | undefined;
51
71
  workspace_id: string;
52
72
  } & import("../index.js").ResponseMetadata>;
53
73
  get(triggerId: string): Promise<{
54
74
  action_id: string;
55
- created_at?: string | null;
56
- created_by?: string | null;
57
- description?: string | null;
75
+ created_at?: string | null | undefined;
76
+ created_by?: string | null | undefined;
77
+ description?: string | null | undefined;
58
78
  event_filter?: {
59
- [key: string]: unknown;
60
- } | null;
79
+ [x: string]: unknown;
80
+ } | null | undefined;
61
81
  event_type: string;
62
82
  id: string;
63
83
  input_template: {
64
- [key: string]: unknown;
84
+ [x: string]: unknown;
65
85
  };
66
86
  is_active: boolean;
67
87
  name: string;
68
- next_fire_at?: string | null;
69
- schedule?: string | null;
88
+ next_fire_at?: string | null | undefined;
89
+ schedule?: string | null | undefined;
70
90
  timezone: string;
71
- updated_at?: string | null;
91
+ updated_at?: string | null | undefined;
72
92
  workspace_id: string;
73
93
  } & import("../index.js").ResponseMetadata>;
74
94
  update(triggerId: string, body: components['schemas']['UpdateTriggerRequest']): Promise<{
75
95
  action_id: string;
76
- created_at?: string | null;
77
- created_by?: string | null;
78
- description?: string | null;
96
+ created_at?: string | null | undefined;
97
+ created_by?: string | null | undefined;
98
+ description?: string | null | undefined;
79
99
  event_filter?: {
80
- [key: string]: unknown;
81
- } | null;
100
+ [x: string]: unknown;
101
+ } | null | undefined;
82
102
  event_type: string;
83
103
  id: string;
84
104
  input_template: {
85
- [key: string]: unknown;
105
+ [x: string]: unknown;
86
106
  };
87
107
  is_active: boolean;
88
108
  name: string;
89
- next_fire_at?: string | null;
90
- schedule?: string | null;
109
+ next_fire_at?: string | null | undefined;
110
+ schedule?: string | null | undefined;
91
111
  timezone: string;
92
- updated_at?: string | null;
112
+ updated_at?: string | null | undefined;
93
113
  workspace_id: string;
94
114
  } & import("../index.js").ResponseMetadata>;
95
115
  delete(triggerId: string): Promise<void>;
96
116
  fire(triggerId: string): Promise<{
97
117
  fired_event_id: string;
98
- status?: "fired";
118
+ status?: "fired" | undefined;
99
119
  trigger_id: string;
100
120
  } & import("../index.js").ResponseMetadata>;
101
121
  pause(triggerId: string): Promise<{
102
122
  action_id: string;
103
- created_at?: string | null;
104
- created_by?: string | null;
105
- description?: string | null;
123
+ created_at?: string | null | undefined;
124
+ created_by?: string | null | undefined;
125
+ description?: string | null | undefined;
106
126
  event_filter?: {
107
- [key: string]: unknown;
108
- } | null;
127
+ [x: string]: unknown;
128
+ } | null | undefined;
109
129
  event_type: string;
110
130
  id: string;
111
131
  input_template: {
112
- [key: string]: unknown;
132
+ [x: string]: unknown;
113
133
  };
114
134
  is_active: boolean;
115
135
  name: string;
116
- next_fire_at?: string | null;
117
- schedule?: string | null;
136
+ next_fire_at?: string | null | undefined;
137
+ schedule?: string | null | undefined;
118
138
  timezone: string;
119
- updated_at?: string | null;
139
+ updated_at?: string | null | undefined;
120
140
  workspace_id: string;
121
141
  } & import("../index.js").ResponseMetadata>;
122
142
  resume(triggerId: string): Promise<{
123
143
  action_id: string;
124
- created_at?: string | null;
125
- created_by?: string | null;
126
- description?: string | null;
144
+ created_at?: string | null | undefined;
145
+ created_by?: string | null | undefined;
146
+ description?: string | null | undefined;
127
147
  event_filter?: {
128
- [key: string]: unknown;
129
- } | null;
148
+ [x: string]: unknown;
149
+ } | null | undefined;
130
150
  event_type: string;
131
151
  id: string;
132
152
  input_template: {
133
- [key: string]: unknown;
153
+ [x: string]: unknown;
134
154
  };
135
155
  is_active: boolean;
136
156
  name: string;
137
- next_fire_at?: string | null;
138
- schedule?: string | null;
157
+ next_fire_at?: string | null | undefined;
158
+ schedule?: string | null | undefined;
139
159
  timezone: string;
140
- updated_at?: string | null;
160
+ updated_at?: string | null | undefined;
141
161
  workspace_id: string;
142
162
  } & import("../index.js").ResponseMetadata>;
143
163
  listRuns(triggerId: string, params?: ListParams): Promise<{
144
- continuation_token?: number | null;
164
+ continuation_token?: number | null | undefined;
145
165
  has_more: boolean;
146
- items: components["schemas"]["TriggerRunResponse"][];
147
- total?: number | null;
166
+ items: {
167
+ created_at?: string | null | undefined;
168
+ data: {
169
+ [x: string]: unknown;
170
+ };
171
+ effective_at?: string | null | undefined;
172
+ event_id: string;
173
+ event_type: string;
174
+ }[];
175
+ total?: number | null | undefined;
148
176
  } & import("../index.js").ResponseMetadata>;
149
177
  listRunsAutoPaging(triggerId: string, params?: ListParams): AsyncGenerator<{
150
- created_at?: string | null;
178
+ created_at?: string | null | undefined;
151
179
  data: {
152
- [key: string]: unknown;
180
+ [x: string]: unknown;
153
181
  };
154
- effective_at?: string | null;
182
+ effective_at?: string | null | undefined;
155
183
  event_id: string;
156
184
  event_type: string;
157
185
  }, any, any>;