@inneropen/marvin-sdk 3.2.0-next.10 → 3.2.0-next.11

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/platform.cjs CHANGED
@@ -1674,6 +1674,17 @@ var ScheduledTasksModule = class {
1674
1674
  `/api/platform/scheduled-tasks/${idOrSlug}/history${query}`
1675
1675
  );
1676
1676
  }
1677
+ /**
1678
+ * Get execution log for all tasks in the current workspace
1679
+ */
1680
+ async log(options) {
1681
+ const params = new URLSearchParams();
1682
+ if (options?.limit) {
1683
+ params.set("limit", options.limit.toString());
1684
+ }
1685
+ const query = params.toString() ? `?${params.toString()}` : "";
1686
+ return this.http.get(`/api/platform/scheduled-tasks/log${query}`);
1687
+ }
1677
1688
  /**
1678
1689
  * Get available task types
1679
1690
  */
@@ -1091,6 +1091,12 @@ declare class ScheduledTasksModule {
1091
1091
  history(idOrSlug: string, options?: {
1092
1092
  limit?: number;
1093
1093
  }): Promise<ScheduledTaskExecutionLog[]>;
1094
+ /**
1095
+ * Get execution log for all tasks in the current workspace
1096
+ */
1097
+ log(options?: {
1098
+ limit?: number;
1099
+ }): Promise<ScheduledTaskExecutionLog[]>;
1094
1100
  /**
1095
1101
  * Get available task types
1096
1102
  */
@@ -1091,6 +1091,12 @@ declare class ScheduledTasksModule {
1091
1091
  history(idOrSlug: string, options?: {
1092
1092
  limit?: number;
1093
1093
  }): Promise<ScheduledTaskExecutionLog[]>;
1094
+ /**
1095
+ * Get execution log for all tasks in the current workspace
1096
+ */
1097
+ log(options?: {
1098
+ limit?: number;
1099
+ }): Promise<ScheduledTaskExecutionLog[]>;
1094
1100
  /**
1095
1101
  * Get available task types
1096
1102
  */
package/dist/platform.js CHANGED
@@ -1230,6 +1230,17 @@ var ScheduledTasksModule = class {
1230
1230
  `/api/platform/scheduled-tasks/${idOrSlug}/history${query}`
1231
1231
  );
1232
1232
  }
1233
+ /**
1234
+ * Get execution log for all tasks in the current workspace
1235
+ */
1236
+ async log(options) {
1237
+ const params = new URLSearchParams();
1238
+ if (options?.limit) {
1239
+ params.set("limit", options.limit.toString());
1240
+ }
1241
+ const query = params.toString() ? `?${params.toString()}` : "";
1242
+ return this.http.get(`/api/platform/scheduled-tasks/log${query}`);
1243
+ }
1233
1244
  /**
1234
1245
  * Get available task types
1235
1246
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inneropen/marvin-sdk",
3
- "version": "3.2.0-next.10",
3
+ "version": "3.2.0-next.11",
4
4
  "description": "Official TypeScript SDK for Marvin CMS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",