@inneropen/marvin-sdk 4.5.0 → 5.1.0

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.
@@ -270,6 +270,112 @@ interface components {
270
270
  */
271
271
  source: string;
272
272
  };
273
+ /** AIPriceBackfill */
274
+ AIPriceBackfill: {
275
+ /** Provider */
276
+ provider: string;
277
+ /** Model */
278
+ model: string;
279
+ };
280
+ /** AIPriceBackfillResult */
281
+ AIPriceBackfillResult: {
282
+ /** Provider */
283
+ provider: string;
284
+ /** Model */
285
+ model: string;
286
+ /** Updated */
287
+ updated: number;
288
+ };
289
+ /** AIPriceFeedStatus */
290
+ AIPriceFeedStatus: {
291
+ /** Url */
292
+ url: string;
293
+ /** Customurl */
294
+ customUrl?: string | null;
295
+ /** Defaulturl */
296
+ defaultUrl: string;
297
+ /** Fetchedfrom */
298
+ fetchedFrom?: string | null;
299
+ /** Fetchedat */
300
+ fetchedAt?: string | null;
301
+ /**
302
+ * Models
303
+ * @default 0
304
+ */
305
+ models: number;
306
+ /** Error */
307
+ error?: string | null;
308
+ /** Errorat */
309
+ errorAt?: string | null;
310
+ };
311
+ /** AIPriceFeedUpdate */
312
+ AIPriceFeedUpdate: {
313
+ /** Url */
314
+ url?: string | null;
315
+ };
316
+ /** AIPriceList */
317
+ AIPriceList: {
318
+ /**
319
+ * Prices
320
+ * @default []
321
+ */
322
+ prices: components["schemas"]["AIPriceRow"][];
323
+ /**
324
+ * Overrides
325
+ * @default []
326
+ */
327
+ overrides: components["schemas"]["AIPriceOverride"][];
328
+ feed?: components["schemas"]["AIPriceFeedStatus"] | null;
329
+ };
330
+ /** AIPriceOverride */
331
+ AIPriceOverride: {
332
+ /** Provider */
333
+ provider: string;
334
+ /** Model */
335
+ model: string;
336
+ /** Inputper1M */
337
+ inputPer1m: number;
338
+ /** Outputper1M */
339
+ outputPer1m: number;
340
+ /** Updatedat */
341
+ updatedAt?: string | null;
342
+ };
343
+ /** AIPriceOverridesUpdate */
344
+ AIPriceOverridesUpdate: {
345
+ /**
346
+ * Prices
347
+ * @default []
348
+ */
349
+ prices: components["schemas"]["AIPriceOverride"][];
350
+ };
351
+ /** AIPriceRow */
352
+ AIPriceRow: {
353
+ /** Provider */
354
+ provider: string;
355
+ /** Model */
356
+ model: string;
357
+ /** Source */
358
+ source: string;
359
+ /** Inputper1M */
360
+ inputPer1m?: number | null;
361
+ /** Outputper1M */
362
+ outputPer1m?: number | null;
363
+ /**
364
+ * Overridden
365
+ * @default false
366
+ */
367
+ overridden: boolean;
368
+ /**
369
+ * Runs
370
+ * @default 0
371
+ */
372
+ runs: number;
373
+ /**
374
+ * Unpricedruns
375
+ * @default 0
376
+ */
377
+ unpricedRuns: number;
378
+ };
273
379
  /** AIProviderCreate */
274
380
  AIProviderCreate: {
275
381
  /** Name */
@@ -611,6 +717,20 @@ interface components {
611
717
  */
612
718
  source: string;
613
719
  };
720
+ /**
721
+ * AIUnpricedModel
722
+ * @description A provider/model this month's runs used with no price: their cost counts as unknown, not $0.
723
+ */
724
+ AIUnpricedModel: {
725
+ /** Provider */
726
+ provider: string;
727
+ /** Model */
728
+ model: string;
729
+ /** Runs */
730
+ runs: number;
731
+ /** Tokens */
732
+ tokens: number;
733
+ };
614
734
  /** AIUsageLimits */
615
735
  AIUsageLimits: {
616
736
  /** Maxcostpermonthusd */
@@ -4141,6 +4261,8 @@ interface components {
4141
4261
  name: string;
4142
4262
  /** Enabled */
4143
4263
  enabled: boolean;
4264
+ /** Switchedon */
4265
+ switchedOn?: boolean | null;
4144
4266
  /** Detail */
4145
4267
  detail?: string | null;
4146
4268
  /** Triggertype */
@@ -8814,6 +8936,7 @@ interface components {
8814
8936
  * @default []
8815
8937
  */
8816
8938
  missing: string[];
8939
+ source?: components["schemas"]["WorkflowRecipeSource"] | null;
8817
8940
  };
8818
8941
  /**
8819
8942
  * WorkflowRecipeDependency
@@ -8838,6 +8961,20 @@ interface components {
8838
8961
  */
8839
8962
  description: string;
8840
8963
  };
8964
+ /**
8965
+ * WorkflowRecipeSource
8966
+ * @description Where a recipe came from when an installed integration ships it (absent for Marvin's own).
8967
+ */
8968
+ WorkflowRecipeSource: {
8969
+ /** Provider */
8970
+ provider: string;
8971
+ /** Name */
8972
+ name: string;
8973
+ /** Package */
8974
+ package?: string | null;
8975
+ /** Version */
8976
+ version?: string | null;
8977
+ };
8841
8978
  /**
8842
8979
  * WorkflowRecipeSupportingObject
8843
8980
  * @description Something set up alongside the recipe — for a configuration recipe, the whole of it.
@@ -9098,6 +9235,16 @@ interface components {
9098
9235
  * @default []
9099
9236
  */
9100
9237
  byOperation: components["schemas"]["AIUsageOperation"][];
9238
+ /**
9239
+ * Unpricedruns
9240
+ * @default 0
9241
+ */
9242
+ unpricedRuns: number;
9243
+ /**
9244
+ * Unpricedmodels
9245
+ * @default []
9246
+ */
9247
+ unpricedModels: components["schemas"]["AIUnpricedModel"][];
9101
9248
  };
9102
9249
  /**
9103
9250
  * WorkspaceActivationRequest
@@ -270,6 +270,112 @@ interface components {
270
270
  */
271
271
  source: string;
272
272
  };
273
+ /** AIPriceBackfill */
274
+ AIPriceBackfill: {
275
+ /** Provider */
276
+ provider: string;
277
+ /** Model */
278
+ model: string;
279
+ };
280
+ /** AIPriceBackfillResult */
281
+ AIPriceBackfillResult: {
282
+ /** Provider */
283
+ provider: string;
284
+ /** Model */
285
+ model: string;
286
+ /** Updated */
287
+ updated: number;
288
+ };
289
+ /** AIPriceFeedStatus */
290
+ AIPriceFeedStatus: {
291
+ /** Url */
292
+ url: string;
293
+ /** Customurl */
294
+ customUrl?: string | null;
295
+ /** Defaulturl */
296
+ defaultUrl: string;
297
+ /** Fetchedfrom */
298
+ fetchedFrom?: string | null;
299
+ /** Fetchedat */
300
+ fetchedAt?: string | null;
301
+ /**
302
+ * Models
303
+ * @default 0
304
+ */
305
+ models: number;
306
+ /** Error */
307
+ error?: string | null;
308
+ /** Errorat */
309
+ errorAt?: string | null;
310
+ };
311
+ /** AIPriceFeedUpdate */
312
+ AIPriceFeedUpdate: {
313
+ /** Url */
314
+ url?: string | null;
315
+ };
316
+ /** AIPriceList */
317
+ AIPriceList: {
318
+ /**
319
+ * Prices
320
+ * @default []
321
+ */
322
+ prices: components["schemas"]["AIPriceRow"][];
323
+ /**
324
+ * Overrides
325
+ * @default []
326
+ */
327
+ overrides: components["schemas"]["AIPriceOverride"][];
328
+ feed?: components["schemas"]["AIPriceFeedStatus"] | null;
329
+ };
330
+ /** AIPriceOverride */
331
+ AIPriceOverride: {
332
+ /** Provider */
333
+ provider: string;
334
+ /** Model */
335
+ model: string;
336
+ /** Inputper1M */
337
+ inputPer1m: number;
338
+ /** Outputper1M */
339
+ outputPer1m: number;
340
+ /** Updatedat */
341
+ updatedAt?: string | null;
342
+ };
343
+ /** AIPriceOverridesUpdate */
344
+ AIPriceOverridesUpdate: {
345
+ /**
346
+ * Prices
347
+ * @default []
348
+ */
349
+ prices: components["schemas"]["AIPriceOverride"][];
350
+ };
351
+ /** AIPriceRow */
352
+ AIPriceRow: {
353
+ /** Provider */
354
+ provider: string;
355
+ /** Model */
356
+ model: string;
357
+ /** Source */
358
+ source: string;
359
+ /** Inputper1M */
360
+ inputPer1m?: number | null;
361
+ /** Outputper1M */
362
+ outputPer1m?: number | null;
363
+ /**
364
+ * Overridden
365
+ * @default false
366
+ */
367
+ overridden: boolean;
368
+ /**
369
+ * Runs
370
+ * @default 0
371
+ */
372
+ runs: number;
373
+ /**
374
+ * Unpricedruns
375
+ * @default 0
376
+ */
377
+ unpricedRuns: number;
378
+ };
273
379
  /** AIProviderCreate */
274
380
  AIProviderCreate: {
275
381
  /** Name */
@@ -611,6 +717,20 @@ interface components {
611
717
  */
612
718
  source: string;
613
719
  };
720
+ /**
721
+ * AIUnpricedModel
722
+ * @description A provider/model this month's runs used with no price: their cost counts as unknown, not $0.
723
+ */
724
+ AIUnpricedModel: {
725
+ /** Provider */
726
+ provider: string;
727
+ /** Model */
728
+ model: string;
729
+ /** Runs */
730
+ runs: number;
731
+ /** Tokens */
732
+ tokens: number;
733
+ };
614
734
  /** AIUsageLimits */
615
735
  AIUsageLimits: {
616
736
  /** Maxcostpermonthusd */
@@ -4141,6 +4261,8 @@ interface components {
4141
4261
  name: string;
4142
4262
  /** Enabled */
4143
4263
  enabled: boolean;
4264
+ /** Switchedon */
4265
+ switchedOn?: boolean | null;
4144
4266
  /** Detail */
4145
4267
  detail?: string | null;
4146
4268
  /** Triggertype */
@@ -8814,6 +8936,7 @@ interface components {
8814
8936
  * @default []
8815
8937
  */
8816
8938
  missing: string[];
8939
+ source?: components["schemas"]["WorkflowRecipeSource"] | null;
8817
8940
  };
8818
8941
  /**
8819
8942
  * WorkflowRecipeDependency
@@ -8838,6 +8961,20 @@ interface components {
8838
8961
  */
8839
8962
  description: string;
8840
8963
  };
8964
+ /**
8965
+ * WorkflowRecipeSource
8966
+ * @description Where a recipe came from when an installed integration ships it (absent for Marvin's own).
8967
+ */
8968
+ WorkflowRecipeSource: {
8969
+ /** Provider */
8970
+ provider: string;
8971
+ /** Name */
8972
+ name: string;
8973
+ /** Package */
8974
+ package?: string | null;
8975
+ /** Version */
8976
+ version?: string | null;
8977
+ };
8841
8978
  /**
8842
8979
  * WorkflowRecipeSupportingObject
8843
8980
  * @description Something set up alongside the recipe — for a configuration recipe, the whole of it.
@@ -9098,6 +9235,16 @@ interface components {
9098
9235
  * @default []
9099
9236
  */
9100
9237
  byOperation: components["schemas"]["AIUsageOperation"][];
9238
+ /**
9239
+ * Unpricedruns
9240
+ * @default 0
9241
+ */
9242
+ unpricedRuns: number;
9243
+ /**
9244
+ * Unpricedmodels
9245
+ * @default []
9246
+ */
9247
+ unpricedModels: components["schemas"]["AIUnpricedModel"][];
9101
9248
  };
9102
9249
  /**
9103
9250
  * WorkspaceActivationRequest
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
- import { M as MarvinConfig, a as MarvinClient } from './marvin-BsyFOFoD.cjs';
2
- export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-BsyFOFoD.cjs';
1
+ import { M as MarvinConfig, a as MarvinClient } from './marvin-Cnbs4SXK.cjs';
2
+ export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-Cnbs4SXK.cjs';
3
3
  import { H as HttpClient } from './HttpClient-DXMNOPqu.cjs';
4
4
  export { A as AuthStrategy, B as BearerTokenAuth, a as BinaryResponse, b as HttpClientConfig, N as NoAuth, S as SessionAuth } from './HttpClient-DXMNOPqu.cjs';
5
- import { A as AuthToken$1 } from './index-C9hYqowK.cjs';
6
- export { C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, s as PublishedEntryType, S as SiteConfiguration, W as WorkspaceInfo } from './index-C9hYqowK.cjs';
5
+ import { A as AuthToken$1 } from './index-CHd2au8P.cjs';
6
+ export { C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, s as PublishedEntryType, S as SiteConfiguration, W as WorkspaceInfo } from './index-CHd2au8P.cjs';
7
7
 
8
8
  /**
9
9
  * Authentication & User Registration
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { M as MarvinConfig, a as MarvinClient } from './marvin-D_YOu4b5.js';
2
- export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-D_YOu4b5.js';
1
+ import { M as MarvinConfig, a as MarvinClient } from './marvin-DxfJ1mS_.js';
2
+ export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-DxfJ1mS_.js';
3
3
  import { H as HttpClient } from './HttpClient-DXMNOPqu.js';
4
4
  export { A as AuthStrategy, B as BearerTokenAuth, a as BinaryResponse, b as HttpClientConfig, N as NoAuth, S as SessionAuth } from './HttpClient-DXMNOPqu.js';
5
- import { A as AuthToken$1 } from './index-C9hYqowK.js';
6
- export { C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, s as PublishedEntryType, S as SiteConfiguration, W as WorkspaceInfo } from './index-C9hYqowK.js';
5
+ import { A as AuthToken$1 } from './index-CHd2au8P.js';
6
+ export { C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, s as PublishedEntryType, S as SiteConfiguration, W as WorkspaceInfo } from './index-CHd2au8P.js';
7
7
 
8
8
  /**
9
9
  * Authentication & User Registration
@@ -1,4 +1,4 @@
1
- import { s as PublishedEntryType, n as MarvinResource, M as MarvinAsset, h as MarvinCollection, a as CollectionEntry, j as MarvinEntry, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, p as PublishedCollectionSummary, e as ExpandOptions, L as ListEntry, o as MarvinSite, g as GetResourcesOptions$1 } from './index-C9hYqowK.cjs';
1
+ import { s as PublishedEntryType, n as MarvinResource, M as MarvinAsset, h as MarvinCollection, a as CollectionEntry, j as MarvinEntry, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, p as PublishedCollectionSummary, e as ExpandOptions, L as ListEntry, o as MarvinSite, g as GetResourcesOptions$1 } from './index-CHd2au8P.cjs';
2
2
  import { H as HttpClient, a as BinaryResponse } from './HttpClient-DXMNOPqu.cjs';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { s as PublishedEntryType, n as MarvinResource, M as MarvinAsset, h as MarvinCollection, a as CollectionEntry, j as MarvinEntry, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, p as PublishedCollectionSummary, e as ExpandOptions, L as ListEntry, o as MarvinSite, g as GetResourcesOptions$1 } from './index-C9hYqowK.js';
1
+ import { s as PublishedEntryType, n as MarvinResource, M as MarvinAsset, h as MarvinCollection, a as CollectionEntry, j as MarvinEntry, E as EntryAsset, c as EntryCollectionContext, d as EntryResource, p as PublishedCollectionSummary, e as ExpandOptions, L as ListEntry, o as MarvinSite, g as GetResourcesOptions$1 } from './index-CHd2au8P.js';
2
2
  import { H as HttpClient, a as BinaryResponse } from './HttpClient-DXMNOPqu.js';
3
3
 
4
4
  /**
package/dist/platform.cjs CHANGED
@@ -1647,36 +1647,6 @@ var AdminMaintenanceModule = class {
1647
1647
  async getSummary() {
1648
1648
  return this.http.get("/api/admin/maintenance");
1649
1649
  }
1650
- /**
1651
- * Clean temporary files
1652
- */
1653
- async cleanTemp() {
1654
- return this.http.post("/api/admin/maintenance/clean/temp", {});
1655
- }
1656
- /**
1657
- * Clean up old events
1658
- */
1659
- async cleanupEvents() {
1660
- return this.http.post("/api/admin/maintenance/cleanup-events", {});
1661
- }
1662
- /**
1663
- * Clean up expired tokens
1664
- */
1665
- async cleanupTokens() {
1666
- return this.http.post("/api/admin/maintenance/cleanup-tokens", {});
1667
- }
1668
- /**
1669
- * Clear application cache
1670
- */
1671
- async clearCache() {
1672
- return this.http.post("/api/admin/maintenance/clear-cache", {});
1673
- }
1674
- /**
1675
- * Optimize database
1676
- */
1677
- async optimizeDatabase() {
1678
- return this.http.post("/api/admin/maintenance/optimize-db", {});
1679
- }
1680
1650
  /**
1681
1651
  * Get maintenance statistics
1682
1652
  */
@@ -1,5 +1,5 @@
1
1
  import { H as HttpClient, a as BinaryResponse } from './HttpClient-DXMNOPqu.cjs';
2
- import { t as components, A as AuthToken } from './index-C9hYqowK.cjs';
2
+ import { t as components, A as AuthToken } from './index-CHd2au8P.cjs';
3
3
 
4
4
  /**
5
5
  * Platform API Types
@@ -1023,7 +1023,8 @@ declare class AdminSystemModule {
1023
1023
  /**
1024
1024
  * Admin Maintenance Module - Platform API
1025
1025
  *
1026
- * System maintenance operations for administrators
1026
+ * System maintenance information for administrators. Cleanup actions (temp files, revoked tokens,
1027
+ * VACUUM) are system scheduled tasks: run one with `adminScheduledTasks.execute(id)`.
1027
1028
  */
1028
1029
 
1029
1030
  type MaintenanceSummary = components['schemas']['MaintenanceSummary'];
@@ -1035,38 +1036,6 @@ declare class AdminMaintenanceModule {
1035
1036
  * Get the maintenance summary (system overview)
1036
1037
  */
1037
1038
  getSummary(): Promise<MaintenanceSummary>;
1038
- /**
1039
- * Clean temporary files
1040
- */
1041
- cleanTemp(): Promise<{
1042
- message: string;
1043
- }>;
1044
- /**
1045
- * Clean up old events
1046
- */
1047
- cleanupEvents(): Promise<{
1048
- message: string;
1049
- deleted: number;
1050
- }>;
1051
- /**
1052
- * Clean up expired tokens
1053
- */
1054
- cleanupTokens(): Promise<{
1055
- message: string;
1056
- deleted: number;
1057
- }>;
1058
- /**
1059
- * Clear application cache
1060
- */
1061
- clearCache(): Promise<{
1062
- message: string;
1063
- }>;
1064
- /**
1065
- * Optimize database
1066
- */
1067
- optimizeDatabase(): Promise<{
1068
- message: string;
1069
- }>;
1070
1039
  /**
1071
1040
  * Get maintenance statistics
1072
1041
  */
@@ -1,5 +1,5 @@
1
1
  import { H as HttpClient, a as BinaryResponse } from './HttpClient-DXMNOPqu.js';
2
- import { t as components, A as AuthToken } from './index-C9hYqowK.js';
2
+ import { t as components, A as AuthToken } from './index-CHd2au8P.js';
3
3
 
4
4
  /**
5
5
  * Platform API Types
@@ -1023,7 +1023,8 @@ declare class AdminSystemModule {
1023
1023
  /**
1024
1024
  * Admin Maintenance Module - Platform API
1025
1025
  *
1026
- * System maintenance operations for administrators
1026
+ * System maintenance information for administrators. Cleanup actions (temp files, revoked tokens,
1027
+ * VACUUM) are system scheduled tasks: run one with `adminScheduledTasks.execute(id)`.
1027
1028
  */
1028
1029
 
1029
1030
  type MaintenanceSummary = components['schemas']['MaintenanceSummary'];
@@ -1035,38 +1036,6 @@ declare class AdminMaintenanceModule {
1035
1036
  * Get the maintenance summary (system overview)
1036
1037
  */
1037
1038
  getSummary(): Promise<MaintenanceSummary>;
1038
- /**
1039
- * Clean temporary files
1040
- */
1041
- cleanTemp(): Promise<{
1042
- message: string;
1043
- }>;
1044
- /**
1045
- * Clean up old events
1046
- */
1047
- cleanupEvents(): Promise<{
1048
- message: string;
1049
- deleted: number;
1050
- }>;
1051
- /**
1052
- * Clean up expired tokens
1053
- */
1054
- cleanupTokens(): Promise<{
1055
- message: string;
1056
- deleted: number;
1057
- }>;
1058
- /**
1059
- * Clear application cache
1060
- */
1061
- clearCache(): Promise<{
1062
- message: string;
1063
- }>;
1064
- /**
1065
- * Optimize database
1066
- */
1067
- optimizeDatabase(): Promise<{
1068
- message: string;
1069
- }>;
1070
1039
  /**
1071
1040
  * Get maintenance statistics
1072
1041
  */
package/dist/platform.js CHANGED
@@ -1108,36 +1108,6 @@ var AdminMaintenanceModule = class {
1108
1108
  async getSummary() {
1109
1109
  return this.http.get("/api/admin/maintenance");
1110
1110
  }
1111
- /**
1112
- * Clean temporary files
1113
- */
1114
- async cleanTemp() {
1115
- return this.http.post("/api/admin/maintenance/clean/temp", {});
1116
- }
1117
- /**
1118
- * Clean up old events
1119
- */
1120
- async cleanupEvents() {
1121
- return this.http.post("/api/admin/maintenance/cleanup-events", {});
1122
- }
1123
- /**
1124
- * Clean up expired tokens
1125
- */
1126
- async cleanupTokens() {
1127
- return this.http.post("/api/admin/maintenance/cleanup-tokens", {});
1128
- }
1129
- /**
1130
- * Clear application cache
1131
- */
1132
- async clearCache() {
1133
- return this.http.post("/api/admin/maintenance/clear-cache", {});
1134
- }
1135
- /**
1136
- * Optimize database
1137
- */
1138
- async optimizeDatabase() {
1139
- return this.http.post("/api/admin/maintenance/optimize-db", {});
1140
- }
1141
1111
  /**
1142
1112
  * Get maintenance statistics
1143
1113
  */
@@ -1,6 +1,6 @@
1
- import { M as MarvinConfig, a as MarvinClient } from './marvin-BsyFOFoD.cjs';
2
- export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-BsyFOFoD.cjs';
3
- export { e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, S as SiteConfiguration, W as WorkspaceInfo } from './index-C9hYqowK.cjs';
1
+ import { M as MarvinConfig, a as MarvinClient } from './marvin-Cnbs4SXK.cjs';
2
+ export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-Cnbs4SXK.cjs';
3
+ export { e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, S as SiteConfiguration, W as WorkspaceInfo } from './index-CHd2au8P.cjs';
4
4
  export { A as AuthStrategy, B as BearerTokenAuth, H as HttpClient, b as HttpClientConfig } from './HttpClient-DXMNOPqu.cjs';
5
5
 
6
6
  /**
package/dist/publish.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { M as MarvinConfig, a as MarvinClient } from './marvin-D_YOu4b5.js';
2
- export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-D_YOu4b5.js';
3
- export { e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, S as SiteConfiguration, W as WorkspaceInfo } from './index-C9hYqowK.js';
1
+ import { M as MarvinConfig, a as MarvinClient } from './marvin-DxfJ1mS_.js';
2
+ export { C as Collection, E as Entry, b as MarvinApiError, c as MarvinAuthError, d as MarvinCache, e as MarvinConfigError, f as MarvinError, g as MarvinNetworkError, h as MarvinNotFoundError, i as MarvinServerError, j as MarvinValidationError, P as PaginatedResponse, k as PaginationMeta, l as PaginationParams, R as Resource, W as Workspace, m as createConfigFromEnv, n as createPaginatedResponse, o as extractData, p as isFullEntryData, q as isPaginatedResponse, r as offsetToPage, s as pageToOffset } from './marvin-DxfJ1mS_.js';
3
+ export { e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, M as MarvinAsset, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, r as PublishedEntryResource, S as SiteConfiguration, W as WorkspaceInfo } from './index-CHd2au8P.js';
4
4
  export { A as AuthStrategy, B as BearerTokenAuth, H as HttpClient, b as HttpClientConfig } from './HttpClient-DXMNOPqu.js';
5
5
 
6
6
  /**
@@ -1 +1 @@
1
- export { u as AssetAttachment, v as AssetUploadRequest, A as AuthToken, w as CollectionAttachment, C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, x as EntryCollectionRead, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, y as MarvinClientConfig, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, z as PublishedEntryCollection, r as PublishedEntryResource, s as PublishedEntryType, B as PublishedResourceSummary, R as ResourceAttachment, S as SiteConfiguration, D as SiteSeo, F as SiteSeoVerification, W as WorkspaceInfo } from '../index-C9hYqowK.cjs';
1
+ export { u as AssetAttachment, v as AssetUploadRequest, A as AuthToken, w as CollectionAttachment, C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, x as EntryCollectionRead, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, y as MarvinClientConfig, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, z as PublishedEntryCollection, r as PublishedEntryResource, s as PublishedEntryType, B as PublishedResourceSummary, R as ResourceAttachment, S as SiteConfiguration, D as SiteSeo, F as SiteSeoVerification, W as WorkspaceInfo } from '../index-CHd2au8P.cjs';
@@ -1 +1 @@
1
- export { u as AssetAttachment, v as AssetUploadRequest, A as AuthToken, w as CollectionAttachment, C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, x as EntryCollectionRead, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, y as MarvinClientConfig, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, z as PublishedEntryCollection, r as PublishedEntryResource, s as PublishedEntryType, B as PublishedResourceSummary, R as ResourceAttachment, S as SiteConfiguration, D as SiteSeo, F as SiteSeoVerification, W as WorkspaceInfo } from '../index-C9hYqowK.js';
1
+ export { u as AssetAttachment, v as AssetUploadRequest, A as AuthToken, w as CollectionAttachment, C as CollectionContext, a as CollectionEntry, b as CollectionEntryMetadata, E as EntryAsset, c as EntryCollectionContext, x as EntryCollectionRead, d as EntryResource, e as ExpandOptions, G as GetAssetsOptions, f as GetEntriesOptions, g as GetResourcesOptions, L as ListEntry, M as MarvinAsset, y as MarvinClientConfig, h as MarvinCollection, i as MarvinCollectionExpanded, j as MarvinEntry, k as MarvinEntryListItem, l as MarvinEntryType, m as MarvinPublishResponse, n as MarvinResource, o as MarvinSite, P as PublishedAssetRead, p as PublishedCollectionSummary, q as PublishedEntryAsset, z as PublishedEntryCollection, r as PublishedEntryResource, s as PublishedEntryType, B as PublishedResourceSummary, R as ResourceAttachment, S as SiteConfiguration, D as SiteSeo, F as SiteSeoVerification, W as WorkspaceInfo } from '../index-CHd2au8P.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inneropen/marvin-sdk",
3
- "version": "4.5.0",
3
+ "version": "5.1.0",
4
4
  "description": "Official TypeScript SDK for Marvin CMS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",