@asaidimu/hestia 1.4.0 → 1.4.2

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/index.d.mts CHANGED
@@ -261,6 +261,366 @@ interface ChangePasswordRequest {
261
261
  new: string;
262
262
  }
263
263
  //#endregion
264
+ //#region core/routes.gen.d.ts
265
+ declare const ROUTE_TABLE: {
266
+ readonly "system:apikeys:key:create": {
267
+ readonly method: "POST";
268
+ readonly route: "/system/apikeys/key/create";
269
+ readonly arguments: readonly [];
270
+ };
271
+ readonly "system:apikeys:key:delete": {
272
+ readonly method: "DELETE";
273
+ readonly route: "/system/apikeys/key/delete/{key_id}";
274
+ readonly arguments: readonly ["key_id"];
275
+ };
276
+ readonly "system:apikeys:key:get": {
277
+ readonly method: "GET";
278
+ readonly route: "/system/apikeys/key/get/{key_id}";
279
+ readonly arguments: readonly ["key_id"];
280
+ };
281
+ readonly "system:apikeys:key:list": {
282
+ readonly method: "GET";
283
+ readonly route: "/system/apikeys/key/list";
284
+ readonly arguments: readonly [];
285
+ };
286
+ readonly "system:apikeys:key:rotate": {
287
+ readonly method: "POST";
288
+ readonly route: "/system/apikeys/key/rotate/{key_id}";
289
+ readonly arguments: readonly ["key_id"];
290
+ };
291
+ readonly "system:apikeys:key:update": {
292
+ readonly method: "PATCH";
293
+ readonly route: "/system/apikeys/key/update/{key_id}";
294
+ readonly arguments: readonly ["key_id"];
295
+ };
296
+ readonly "system:audit:log:export": {
297
+ readonly method: "PATCH";
298
+ readonly route: "/system/audit/log/export";
299
+ readonly arguments: readonly [];
300
+ };
301
+ readonly "system:audit:log:query": {
302
+ readonly method: "POST";
303
+ readonly route: "/system/audit/log/query";
304
+ readonly arguments: readonly [];
305
+ };
306
+ readonly "system:audit:log:stream": {
307
+ readonly method: "GET";
308
+ readonly route: "/system/audit/log/stream";
309
+ readonly arguments: readonly [];
310
+ };
311
+ readonly "system:auth:bootstrap:password:set": {
312
+ readonly method: "PATCH";
313
+ readonly route: "/system/auth/bootstrap/password/set";
314
+ readonly arguments: readonly [];
315
+ };
316
+ readonly "system:auth:password:confirm": {
317
+ readonly method: "PATCH";
318
+ readonly route: "/system/auth/password/confirm";
319
+ readonly arguments: readonly [];
320
+ };
321
+ readonly "system:auth:password:reset": {
322
+ readonly method: "POST";
323
+ readonly route: "/system/auth/password/reset";
324
+ readonly arguments: readonly [];
325
+ };
326
+ readonly "system:auth:session:create": {
327
+ readonly method: "POST";
328
+ readonly route: "/system/auth/session/create";
329
+ readonly arguments: readonly [];
330
+ };
331
+ readonly "system:auth:session:delete": {
332
+ readonly method: "DELETE";
333
+ readonly route: "/system/auth/session/delete";
334
+ readonly arguments: readonly [];
335
+ };
336
+ readonly "system:auth:token:elevate": {
337
+ readonly method: "POST";
338
+ readonly route: "/system/auth/token/elevate";
339
+ readonly arguments: readonly [];
340
+ };
341
+ readonly "system:blobs:blob:delete": {
342
+ readonly method: "DELETE";
343
+ readonly route: "/system/blobs/blob/delete/{ns}/{key}";
344
+ readonly arguments: readonly ["ns", "key"];
345
+ };
346
+ readonly "system:blobs:blob:download": {
347
+ readonly method: "GET";
348
+ readonly route: "/system/blobs/blob/download/{ns}/{key}";
349
+ readonly arguments: readonly ["ns", "key"];
350
+ };
351
+ readonly "system:blobs:blob:head": {
352
+ readonly method: "POST";
353
+ readonly route: "/system/blobs/blob/head/{ns}/{key}";
354
+ readonly arguments: readonly ["ns", "key"];
355
+ };
356
+ readonly "system:blobs:blob:list": {
357
+ readonly method: "POST";
358
+ readonly route: "/system/blobs/blob/list/{ns}";
359
+ readonly arguments: readonly ["ns"];
360
+ };
361
+ readonly "system:blobs:blob:update": {
362
+ readonly method: "PATCH";
363
+ readonly route: "/system/blobs/blob/update/{ns}/{key}";
364
+ readonly arguments: readonly ["ns", "key"];
365
+ };
366
+ readonly "system:blobs:blob:upload": {
367
+ readonly method: "POST";
368
+ readonly route: "/system/blobs/blob/upload/{ns}/{key}";
369
+ readonly arguments: readonly ["ns", "key"];
370
+ };
371
+ readonly "system:blobs:namespace:create": {
372
+ readonly method: "POST";
373
+ readonly route: "/system/blobs/namespace/create";
374
+ readonly arguments: readonly [];
375
+ };
376
+ readonly "system:blobs:namespace:delete": {
377
+ readonly method: "DELETE";
378
+ readonly route: "/system/blobs/namespace/delete/{ns}";
379
+ readonly arguments: readonly ["ns"];
380
+ };
381
+ readonly "system:blobs:namespace:list": {
382
+ readonly method: "POST";
383
+ readonly route: "/system/blobs/namespace/list";
384
+ readonly arguments: readonly [];
385
+ };
386
+ readonly "system:collections:collection:create": {
387
+ readonly method: "POST";
388
+ readonly route: "/system/collections/collection/create";
389
+ readonly arguments: readonly [];
390
+ };
391
+ readonly "system:collections:collection:delete": {
392
+ readonly method: "DELETE";
393
+ readonly route: "/system/collections/collection/delete/{name}";
394
+ readonly arguments: readonly ["name"];
395
+ };
396
+ readonly "system:collections:collection:get": {
397
+ readonly method: "GET";
398
+ readonly route: "/system/collections/collection/get/{name}";
399
+ readonly arguments: readonly ["name"];
400
+ };
401
+ readonly "system:collections:collection:list": {
402
+ readonly method: "GET";
403
+ readonly route: "/system/collections/collection/list";
404
+ readonly arguments: readonly [];
405
+ };
406
+ readonly "system:collections:document:create": {
407
+ readonly method: "POST";
408
+ readonly route: "/system/collections/document/create/{name}";
409
+ readonly arguments: readonly ["name"];
410
+ };
411
+ readonly "system:collections:document:delete": {
412
+ readonly method: "DELETE";
413
+ readonly route: "/system/collections/document/delete/{name}/{doc_id}";
414
+ readonly arguments: readonly ["name", "doc_id"];
415
+ };
416
+ readonly "system:collections:document:get": {
417
+ readonly method: "GET";
418
+ readonly route: "/system/collections/document/get/{name}/{doc_id}";
419
+ readonly arguments: readonly ["name", "doc_id"];
420
+ };
421
+ readonly "system:collections:document:query": {
422
+ readonly method: "POST";
423
+ readonly route: "/system/collections/document/query/{name}";
424
+ readonly arguments: readonly ["name"];
425
+ };
426
+ readonly "system:collections:document:update": {
427
+ readonly method: "PATCH";
428
+ readonly route: "/system/collections/document/update/{name}/{doc_id}";
429
+ readonly arguments: readonly ["name", "doc_id"];
430
+ };
431
+ readonly "system:core:capability:list": {
432
+ readonly method: "GET";
433
+ readonly route: "/system/core/capability/list";
434
+ readonly arguments: readonly [];
435
+ };
436
+ readonly "system:core:capability:set": {
437
+ readonly method: "PATCH";
438
+ readonly route: "/system/core/capability/set";
439
+ readonly arguments: readonly [];
440
+ };
441
+ readonly "system:core:docs:list": {
442
+ readonly method: "GET";
443
+ readonly route: "/system/core/docs/list";
444
+ readonly arguments: readonly [];
445
+ };
446
+ readonly "system:core:health:check": {
447
+ readonly method: "GET";
448
+ readonly route: "/system/core/health/check";
449
+ readonly arguments: readonly [];
450
+ };
451
+ readonly "system:core:heartbeat": {
452
+ readonly method: "GET";
453
+ readonly route: "/system/core/heartbeat";
454
+ readonly arguments: readonly [];
455
+ };
456
+ readonly "system:core:reset": {
457
+ readonly method: "GET";
458
+ readonly route: "/system/core/reset";
459
+ readonly arguments: readonly [];
460
+ };
461
+ readonly "system:notifications:notification:list": {
462
+ readonly method: "GET";
463
+ readonly route: "/system/notifications/notification/list";
464
+ readonly arguments: readonly [];
465
+ };
466
+ readonly "system:notifications:notification:read": {
467
+ readonly method: "PATCH";
468
+ readonly route: "/system/notifications/notification/read/{notification_id}";
469
+ readonly arguments: readonly ["notification_id"];
470
+ };
471
+ readonly "system:notifications:read:all": {
472
+ readonly method: "PATCH";
473
+ readonly route: "/system/notifications/read/all";
474
+ readonly arguments: readonly [];
475
+ };
476
+ readonly "system:notifications:unread:count": {
477
+ readonly method: "GET";
478
+ readonly route: "/system/notifications/unread/count";
479
+ readonly arguments: readonly [];
480
+ };
481
+ readonly "system:policies:binding:get": {
482
+ readonly method: "GET";
483
+ readonly route: "/system/policies/binding/get/{name}";
484
+ readonly arguments: readonly ["name"];
485
+ };
486
+ readonly "system:policies:binding:list": {
487
+ readonly method: "GET";
488
+ readonly route: "/system/policies/binding/list";
489
+ readonly arguments: readonly [];
490
+ };
491
+ readonly "system:policies:policy:create": {
492
+ readonly method: "POST";
493
+ readonly route: "/system/policies/policy/create/{name}";
494
+ readonly arguments: readonly ["name"];
495
+ };
496
+ readonly "system:policies:policy:list": {
497
+ readonly method: "GET";
498
+ readonly route: "/system/policies/policy/list";
499
+ readonly arguments: readonly [];
500
+ };
501
+ readonly "system:policies:policy:update": {
502
+ readonly method: "PATCH";
503
+ readonly route: "/system/policies/policy/update/{name}";
504
+ readonly arguments: readonly ["name"];
505
+ };
506
+ readonly "system:policies:reload": {
507
+ readonly method: "GET";
508
+ readonly route: "/system/policies/reload";
509
+ readonly arguments: readonly [];
510
+ };
511
+ readonly "system:policies:rule:create": {
512
+ readonly method: "POST";
513
+ readonly route: "/system/policies/rule/create/{name}";
514
+ readonly arguments: readonly ["name"];
515
+ };
516
+ readonly "system:policies:rule:delete": {
517
+ readonly method: "DELETE";
518
+ readonly route: "/system/policies/rule/delete/{name}";
519
+ readonly arguments: readonly ["name"];
520
+ };
521
+ readonly "system:policies:rule:get": {
522
+ readonly method: "GET";
523
+ readonly route: "/system/policies/rule/get/{name}";
524
+ readonly arguments: readonly ["name"];
525
+ };
526
+ readonly "system:policies:rule:list": {
527
+ readonly method: "GET";
528
+ readonly route: "/system/policies/rule/list";
529
+ readonly arguments: readonly [];
530
+ };
531
+ readonly "system:policies:rule:update": {
532
+ readonly method: "PATCH";
533
+ readonly route: "/system/policies/rule/update/{name}";
534
+ readonly arguments: readonly ["name"];
535
+ };
536
+ readonly "system:policies:rule:validate": {
537
+ readonly method: "POST";
538
+ readonly route: "/system/policies/rule/validate";
539
+ readonly arguments: readonly [];
540
+ };
541
+ readonly "system:scheduler:job:list": {
542
+ readonly method: "GET";
543
+ readonly route: "/system/scheduler/job/list";
544
+ readonly arguments: readonly [];
545
+ };
546
+ readonly "system:schedules:schedule:create": {
547
+ readonly method: "POST";
548
+ readonly route: "/system/schedules/schedule/create";
549
+ readonly arguments: readonly [];
550
+ };
551
+ readonly "system:schedules:schedule:delete": {
552
+ readonly method: "DELETE";
553
+ readonly route: "/system/schedules/schedule/delete/{id}";
554
+ readonly arguments: readonly ["id"];
555
+ };
556
+ readonly "system:schedules:schedule:get": {
557
+ readonly method: "GET";
558
+ readonly route: "/system/schedules/schedule/get/{id}";
559
+ readonly arguments: readonly ["id"];
560
+ };
561
+ readonly "system:schedules:schedule:list": {
562
+ readonly method: "GET";
563
+ readonly route: "/system/schedules/schedule/list";
564
+ readonly arguments: readonly [];
565
+ };
566
+ readonly "system:schedules:schedule:update": {
567
+ readonly method: "PATCH";
568
+ readonly route: "/system/schedules/schedule/update";
569
+ readonly arguments: readonly [];
570
+ };
571
+ readonly "system:settings:delete": {
572
+ readonly method: "DELETE";
573
+ readonly route: "/system/settings/delete/{key}";
574
+ readonly arguments: readonly ["key"];
575
+ };
576
+ readonly "system:settings:get": {
577
+ readonly method: "GET";
578
+ readonly route: "/system/settings/get/{key}";
579
+ readonly arguments: readonly ["key"];
580
+ };
581
+ readonly "system:settings:list": {
582
+ readonly method: "GET";
583
+ readonly route: "/system/settings/list";
584
+ readonly arguments: readonly [];
585
+ };
586
+ readonly "system:settings:set": {
587
+ readonly method: "POST";
588
+ readonly route: "/system/settings/set/{key}";
589
+ readonly arguments: readonly ["key"];
590
+ };
591
+ readonly "system:users:password:change": {
592
+ readonly method: "PATCH";
593
+ readonly route: "/system/users/password/change/{user_id}";
594
+ readonly arguments: readonly ["user_id"];
595
+ };
596
+ readonly "system:users:user:create": {
597
+ readonly method: "POST";
598
+ readonly route: "/system/users/user/create";
599
+ readonly arguments: readonly [];
600
+ };
601
+ readonly "system:users:user:delete": {
602
+ readonly method: "DELETE";
603
+ readonly route: "/system/users/user/delete/{user_id}";
604
+ readonly arguments: readonly ["user_id"];
605
+ };
606
+ readonly "system:users:user:get": {
607
+ readonly method: "GET";
608
+ readonly route: "/system/users/user/get/{user_id}";
609
+ readonly arguments: readonly ["user_id"];
610
+ };
611
+ readonly "system:users:user:query": {
612
+ readonly method: "POST";
613
+ readonly route: "/system/users/user/query";
614
+ readonly arguments: readonly [];
615
+ };
616
+ readonly "system:users:user:update": {
617
+ readonly method: "PATCH";
618
+ readonly route: "/system/users/user/update/{user_id}";
619
+ readonly arguments: readonly ["user_id"];
620
+ };
621
+ };
622
+ type RouteName = keyof typeof ROUTE_TABLE;
623
+ //#endregion
264
624
  //#region core/client.d.ts
265
625
  interface IdentityProvider {
266
626
  identity(): UserIdentity | null;
@@ -300,11 +660,12 @@ interface DispatchInput {
300
660
  signal?: AbortSignal;
301
661
  notifyAuthStateChange?: boolean;
302
662
  }
303
- interface Transport {
663
+ interface Transport<R extends string = RouteName> {
304
664
  base(): string;
305
665
  prefix(): string;
666
+ routeUrl(name: R, args?: Record<string, string>): string;
306
667
  ready(): Promise<void>;
307
- dispatch<T>(name: string, input?: DispatchInput): Promise<HestiaResponse<T>>;
668
+ dispatch<T>(name: R, input?: DispatchInput): Promise<HestiaResponse<T>>;
308
669
  get<T>(path: string, options?: RequestOptions): Promise<HestiaResponse<T>>;
309
670
  post<T>(path: string, body?: unknown, options?: RequestOptions): Promise<HestiaResponse<T>>;
310
671
  patch<T>(path: string, body?: unknown, options?: RequestOptions): Promise<HestiaResponse<T>>;
@@ -313,14 +674,15 @@ interface Transport {
313
674
  check<T>(path: string, body?: unknown, options?: RequestOptions): Promise<HestiaResponse<T>>;
314
675
  openStream(path: string, handlers: StreamHandlers, options?: StreamOptions): Promise<void>;
315
676
  }
316
- declare class HttpTransport implements Transport {
677
+ declare class HttpTransport<R extends string = RouteName> implements Transport<R> {
317
678
  private baseUrl;
318
679
  private apiPrefix;
319
680
  private onAuthStateChanged?;
320
681
  private raw;
321
682
  constructor(baseUrl: string, apiPrefix: string, onAuthStateChanged?: (() => void) | undefined);
322
683
  private substituteArgs;
323
- dispatch<T>(name: string, input?: DispatchInput): Promise<HestiaResponse<T>>;
684
+ dispatch<T>(name: R, input?: DispatchInput): Promise<HestiaResponse<T>>;
685
+ routeUrl(name: R, args?: Record<string, string>): string;
324
686
  base(): string;
325
687
  prefix(): string;
326
688
  ready(): Promise<void>;
@@ -356,7 +718,7 @@ interface WailsTransportConfig {
356
718
  identityProvider?: IdentityProvider;
357
719
  onUnauthorized?: () => void;
358
720
  }
359
- declare class WailsTransport implements Transport {
721
+ declare class WailsTransport implements Transport<RouteName> {
360
722
  private baseUrl;
361
723
  private apiPrefix;
362
724
  private init;
@@ -369,12 +731,13 @@ declare class WailsTransport implements Transport {
369
731
  private resolveService;
370
732
  base(): string;
371
733
  prefix(): string;
734
+ routeUrl(name: RouteName, args?: Record<string, string>): string;
372
735
  /**
373
736
  * Polls window.go until Wails bindings are available.
374
737
  * Concurrent callers share the single initialization attempt.
375
738
  */
376
739
  ready(timeoutMs?: number): Promise<void>;
377
- dispatch<T>(name: string, input?: DispatchInput): Promise<HestiaResponse<T>>;
740
+ dispatch<T>(name: RouteName, input?: DispatchInput): Promise<HestiaResponse<T>>;
378
741
  check<T>(path: string, body?: unknown, options?: RequestOptions): Promise<HestiaResponse<T>>;
379
742
  get<T>(path: string, options?: RequestOptions): Promise<HestiaResponse<T>>;
380
743
  post<T>(path: string, body?: unknown, options?: RequestOptions): Promise<HestiaResponse<T>>;
@@ -573,30 +936,49 @@ declare class HestiaKeyStore implements DocumentStore<APIKey, QueryDSL<APIKey>,
573
936
  }
574
937
  //#endregion
575
938
  //#region system/operations/types.d.ts
576
- interface Operation {
939
+ interface Binding {
577
940
  name: string;
578
941
  description?: string;
579
- intentType?: string;
580
942
  }
581
943
  //#endregion
582
944
  //#region system/operations/store.d.ts
583
945
  declare class HestiaOperations {
584
946
  private client;
585
947
  constructor(client: Transport);
586
- list(): Promise<Page<Operation>>;
587
- read(name: string): Promise<Document<Operation> | undefined>;
948
+ list(): Promise<Page<Binding>>;
949
+ read(name: string): Promise<Document<Binding> | undefined>;
588
950
  }
589
951
  //#endregion
590
952
  //#region system/policies/types.d.ts
953
+ interface RateLimitConfig {
954
+ enabled: boolean;
955
+ identity: string;
956
+ capacity: number;
957
+ refill: number;
958
+ period: number;
959
+ }
960
+ interface ThrottleAction {
961
+ message?: string;
962
+ input?: Record<string, unknown>;
963
+ }
964
+ interface ThrottleConfig {
965
+ limit: number;
966
+ window: number;
967
+ action?: ThrottleAction;
968
+ }
591
969
  interface Policy {
592
970
  id: string;
593
971
  operationName: string;
594
972
  ruleName: string;
595
973
  enabled: boolean;
596
974
  protected: boolean;
975
+ rateLimit?: RateLimitConfig;
976
+ throttle?: ThrottleConfig;
597
977
  }
598
978
  interface CreatePolicyRequest {
599
979
  ruleName: string;
980
+ rateLimit?: RateLimitConfig;
981
+ throttle?: ThrottleConfig;
600
982
  }
601
983
  interface UpdatePolicyRuleRequest {
602
984
  ruleName: string;
@@ -604,6 +986,12 @@ interface UpdatePolicyRuleRequest {
604
986
  interface SetPolicyEnabledRequest {
605
987
  enabled: boolean;
606
988
  }
989
+ interface UpdatePolicyRequest {
990
+ ruleName?: string;
991
+ enabled?: boolean;
992
+ rateLimit?: RateLimitConfig | null;
993
+ throttle?: ThrottleConfig | null;
994
+ }
607
995
  //#endregion
608
996
  //#region system/policies/store.d.ts
609
997
  declare class HestiaPolicies implements DocumentStore<Policy, QueryDSL<Policy>, string, QueryDSL<Policy>, Record<string, unknown>, string, string, Record<string, unknown>> {
@@ -619,7 +1007,7 @@ declare class HestiaPolicies implements DocumentStore<Policy, QueryDSL<Policy>,
619
1007
  options?: string;
620
1008
  }): Promise<Document<Policy> | undefined>;
621
1009
  update(props: {
622
- data: UpdatePolicyRuleRequest;
1010
+ data: UpdatePolicyRequest;
623
1011
  options?: string;
624
1012
  }): Promise<Document<Policy> | undefined>;
625
1013
  setEnabled(name: string, enabled: boolean): Promise<Document<Policy>>;
@@ -935,6 +1323,62 @@ declare class HestiaNotificationStore {
935
1323
  countUnread(): Promise<number>;
936
1324
  }
937
1325
  //#endregion
1326
+ //#region system/schedules/types.d.ts
1327
+ /** A schedule document stored in the system. */
1328
+ interface Schedule {
1329
+ _id_: string;
1330
+ /** Owner of this schedule. */
1331
+ user_id: string;
1332
+ /** System message name to dispatch when the cron fires. */
1333
+ message: string;
1334
+ /** Input payload passed to the message handler. String values may contain Go templates (`{{ .schedule._id }}`, `{{ .now }}`). */
1335
+ input?: Record<string, unknown>;
1336
+ /** Cron expression (e.g. `@every 5m`, `0 * * * *`). */
1337
+ cron: string;
1338
+ /** When true the schedule is paused and will not fire. */
1339
+ disabled?: boolean;
1340
+ tenant_id?: string;
1341
+ created_at: number;
1342
+ _metadata_: Record<string, unknown>;
1343
+ }
1344
+ /** Payload for `schedule:create`. */
1345
+ interface CreateSchedulePayload {
1346
+ /** Override the owner (defaults to the authenticated user). */
1347
+ user_id?: string;
1348
+ /** System message name to dispatch on each tick. */
1349
+ message: string;
1350
+ /** Input payload. String values are resolved as Go templates against `{ .schedule, .now }`. */
1351
+ input?: Record<string, unknown>;
1352
+ /** Cron expression. */
1353
+ cron: string;
1354
+ /** Start the schedule in a disabled state. */
1355
+ disabled?: boolean;
1356
+ }
1357
+ /** Payload for `schedule:update`. All fields optional — only provided fields are patched. */
1358
+ interface UpdateSchedulePayload {
1359
+ message?: string;
1360
+ input?: Record<string, unknown>;
1361
+ cron?: string;
1362
+ disabled?: boolean;
1363
+ }
1364
+ //#endregion
1365
+ //#region system/schedules/store.d.ts
1366
+ /** CRUD store for cron-triggered schedules. */
1367
+ declare class HestiaScheduleStore {
1368
+ private client;
1369
+ constructor(client: Transport);
1370
+ /** Create a new schedule and register the cron job. Returns the new schedule ID. */
1371
+ create(payload: CreateSchedulePayload): Promise<string>;
1372
+ /** List all schedules visible to the current tenant. */
1373
+ list(): Promise<Document<Schedule>[]>;
1374
+ /** Get a single schedule by ID. Returns null if not found. */
1375
+ get(id: string): Promise<Document<Schedule> | null>;
1376
+ /** Update fields on a schedule. The cron job is re-registered with the new values. */
1377
+ update(id: string, payload: UpdateSchedulePayload): Promise<void>;
1378
+ /** Delete a schedule and unregister its cron job. */
1379
+ delete(id: string): Promise<void>;
1380
+ }
1381
+ //#endregion
938
1382
  //#region system/settings/types.d.ts
939
1383
  interface SettingDocument {
940
1384
  _id_: string;
@@ -1005,6 +1449,7 @@ declare class HestiaClient {
1005
1449
  readonly blobs: HestiaBlobClient;
1006
1450
  readonly capabilities: HestiaCapabilities;
1007
1451
  readonly notifications: HestiaNotificationStore;
1452
+ readonly schedules: HestiaScheduleStore;
1008
1453
  readonly settings: HestiaSettingStore;
1009
1454
  private tokenProvider;
1010
1455
  private onAuthStateChanged?;
@@ -1036,4 +1481,4 @@ interface ArrayPagerOptions<T extends Record<string, any>, F = any> {
1036
1481
  }
1037
1482
  declare function createArrayPager<T extends Record<string, any>, F = any>(options: ArrayPagerOptions<T, F>): PagedData<T>;
1038
1483
  //#endregion
1039
- export { APIKey, APIKeyWithSecret, ArrayPagerOptions, AuditEntry, BlobDocument, BlobMeta, BlobNamespace, BootstrapPasswordRequest, ChangePasswordRequest, CollectionDocument, CollectionMeta, CreateKeyRequest, CreateNamespaceRequest, CreatePolicyRequest, CreateRuleRequest, CreateUserRequest, DispatchInput, Document, DocumentStore, FetchResult, HestiaAuth, HestiaBlobClient, HestiaClient, HestiaCollection, HestiaCollections, HestiaKeyStore, HestiaLogs, HestiaNetworkClient, HestiaNotificationStore, HestiaOperations, HestiaPolicies, HestiaResponse, HestiaRules, HestiaSettingStore, HestiaUsers, HttpTransport, IdentityProvider, ListBlobsRequest, LogFilter, LoginRequest, LoginResult, NamespaceInfo, Notification, Operation, Page, PagedData, PagerRefreshOptions, PaginationInfo, Policy, PolicyRule, RegisterRequest, ReloadResult, RequestLogEntry, RequestOptions, RuleNode, ServerHealth, SetPolicyEnabledRequest, SettingDocument, StoreEvent, StreamHandlers, StreamOptions, Transport, UnreadCount, UpdateKeyRequest, UpdatePolicyRuleRequest, UpdateRuleRequest, UpdateUserRequest, UserData, UserIdentity, ValidateRuleRequest, ValidateRuleResult, WailsTransport, createArrayPager, createPagedController, internalError, notFound, parseErrorBody, permissionDenied, toSystemError };
1484
+ export { APIKey, APIKeyWithSecret, ArrayPagerOptions, AuditEntry, Binding, BlobDocument, BlobMeta, BlobNamespace, BootstrapPasswordRequest, ChangePasswordRequest, CollectionDocument, CollectionMeta, CreateKeyRequest, CreateNamespaceRequest, CreatePolicyRequest, CreateRuleRequest, CreateSchedulePayload, CreateUserRequest, DispatchInput, Document, DocumentStore, FetchResult, HestiaAuth, HestiaBlobClient, HestiaClient, HestiaCollection, HestiaCollections, HestiaKeyStore, HestiaLogs, HestiaNetworkClient, HestiaNotificationStore, HestiaOperations, HestiaPolicies, HestiaResponse, HestiaRules, HestiaScheduleStore, HestiaSettingStore, HestiaUsers, HttpTransport, IdentityProvider, ListBlobsRequest, LogFilter, LoginRequest, LoginResult, NamespaceInfo, Notification, Page, PagedData, PagerRefreshOptions, PaginationInfo, Policy, PolicyRule, RateLimitConfig, RegisterRequest, ReloadResult, RequestLogEntry, RequestOptions, RuleNode, Schedule, ServerHealth, SetPolicyEnabledRequest, SettingDocument, StoreEvent, StreamHandlers, StreamOptions, ThrottleAction, ThrottleConfig, Transport, UnreadCount, UpdateKeyRequest, UpdatePolicyRequest, UpdatePolicyRuleRequest, UpdateRuleRequest, UpdateSchedulePayload, UpdateUserRequest, UserData, UserIdentity, ValidateRuleRequest, ValidateRuleResult, WailsTransport, createArrayPager, createPagedController, internalError, notFound, parseErrorBody, permissionDenied, toSystemError };