@deepbounty/sdk 1.1.8 → 1.1.9
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.
- package/dist/events.d.ts +4 -0
- package/dist/index.d.ts +2 -2
- package/dist/types/tasks.d.ts +1 -0
- package/package.json +1 -1
package/dist/events.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -104,13 +104,13 @@ export interface ServerAPI {
|
|
|
104
104
|
unregisterTaskTemplate(templateId: number): Promise<boolean>;
|
|
105
105
|
/**
|
|
106
106
|
* Create a task instance manually (for CUSTOM scheduling type)
|
|
107
|
+
* Task instances are always one-time and automatically deleted after execution.
|
|
107
108
|
* @param templateId The ID of the task template
|
|
108
109
|
* @param targetId Optional target ID for this instance
|
|
109
110
|
* @param customData Optional custom data to attach to this instance (accessible via {{KEY}} placeholders)
|
|
110
|
-
* @param oneTime If true, delete the scheduled task after execution (default: false)
|
|
111
111
|
* @returns The scheduled task ID
|
|
112
112
|
*/
|
|
113
|
-
createTaskInstance(templateId: number, targetId?: number, customData?: Record<string, any
|
|
113
|
+
createTaskInstance(templateId: number, targetId?: number, customData?: Record<string, any>): Promise<number>;
|
|
114
114
|
/** Register a tool
|
|
115
115
|
* @param tool The tool to register
|
|
116
116
|
*/
|
package/dist/types/tasks.d.ts
CHANGED