@topolo/sdk 0.2.9 → 0.2.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/index.d.ts CHANGED
@@ -42,15 +42,20 @@ declare const SERVICES: {
42
42
  readonly chat: "https://chat.topolo.app";
43
43
  readonly commerce: "https://commerce-api.topolo.app";
44
44
  readonly compose: "https://compose.topolo.app";
45
+ readonly consent: "https://consent.topolo.app";
45
46
  readonly crm: "https://crm-api.topolo.app";
46
- readonly customer_success: "https://customer-success.topolo.app";
47
+ readonly customer_success: "https://success.topolo.app";
48
+ readonly developers: "https://developers.topolo.app";
49
+ readonly director: "https://director.topolo.app";
47
50
  readonly feed: "https://feed-api.topolo.app";
48
51
  readonly flow: "https://flow.topolo.app";
49
52
  readonly forecast: "https://forecast-api.topolo.app";
50
53
  readonly forms: "https://forms.topolo.app";
54
+ readonly home: "https://home.topolo.app";
51
55
  readonly insights: "https://insights.topolo.app";
52
56
  readonly inventory: "https://inventory.topolo.app";
53
57
  readonly learn: "https://learn-api.topolo.app";
58
+ readonly localize: "https://localize.topolo.app";
54
59
  readonly mail: "https://mail.topolo.app";
55
60
  readonly mdm: "https://mdm-api.topolo.app";
56
61
  readonly messaging: "https://messages.topolo.app";
@@ -67,6 +72,7 @@ declare const SERVICES: {
67
72
  readonly sign: "https://sign.topolo.app";
68
73
  readonly social_studio: "https://studio-api.topolo.app";
69
74
  readonly socialize: "https://socialize-api.topolo.app";
75
+ readonly status: "https://status.topolo.app";
70
76
  readonly support: "https://support.topolo.app";
71
77
  readonly survey: "https://survey.topolo.app";
72
78
  readonly voice: "https://voice.topolo.app";
@@ -171,14 +177,14 @@ declare const APPLICATIONS: {
171
177
  readonly productionUrl: "https://bytes.topolo.app";
172
178
  readonly services: readonly ["bytes"];
173
179
  readonly deployTargets: readonly [{
174
- readonly name: "bytes";
180
+ readonly name: "topolo-bytes";
175
181
  readonly kind: "pages";
176
182
  readonly apiUrl: null;
177
183
  readonly domains: readonly ["bytes.topolo.app"];
178
184
  readonly routes: readonly [];
179
185
  readonly serviceId: null;
180
186
  }, {
181
- readonly name: "r2-media-manager-worker";
187
+ readonly name: "topolo-bytes-api";
182
188
  readonly kind: "worker";
183
189
  readonly apiUrl: "https://bytes-api.topolo.app";
184
190
  readonly domains: readonly ["bytes-api.topolo.app"];
@@ -246,7 +252,7 @@ declare const APPLICATIONS: {
246
252
  readonly cloudcontrol: {
247
253
  readonly id: "cloudcontrol";
248
254
  readonly appDir: "TopoloCloudControl";
249
- readonly name: "topolo-cloudcontrol";
255
+ readonly name: "cloudcontrol";
250
256
  readonly packageName: "topolo-cloudcontrol";
251
257
  readonly productionUrl: null;
252
258
  readonly services: readonly [];
@@ -305,6 +311,22 @@ declare const APPLICATIONS: {
305
311
  readonly serviceId: "compose";
306
312
  }];
307
313
  };
314
+ readonly consent: {
315
+ readonly id: "consent";
316
+ readonly appDir: "TopoloConsent";
317
+ readonly name: "topolo-consent";
318
+ readonly packageName: "topolo-consent";
319
+ readonly productionUrl: "https://consent.topolo.app";
320
+ readonly services: readonly ["consent"];
321
+ readonly deployTargets: readonly [{
322
+ readonly name: "topolo-consent";
323
+ readonly kind: "worker";
324
+ readonly apiUrl: "https://consent.topolo.app";
325
+ readonly domains: readonly ["consent.topolo.app"];
326
+ readonly routes: readonly ["consent.topolo.app"];
327
+ readonly serviceId: "consent";
328
+ }];
329
+ };
308
330
  readonly crm: {
309
331
  readonly id: "crm";
310
332
  readonly appDir: "TopoloCRM";
@@ -313,51 +335,90 @@ declare const APPLICATIONS: {
313
335
  readonly productionUrl: "https://crm.topolo.app";
314
336
  readonly services: readonly ["crm"];
315
337
  readonly deployTargets: readonly [{
316
- readonly name: "topolo-crm-frontend";
317
- readonly kind: "pages";
318
- readonly apiUrl: null;
319
- readonly domains: readonly ["crm.topolo.app"];
320
- readonly routes: readonly [];
321
- readonly serviceId: null;
322
- }, {
323
- readonly name: "topolo-crm-worker";
338
+ readonly name: "topolo-crm-api";
324
339
  readonly kind: "worker";
325
340
  readonly apiUrl: "https://crm-api.topolo.app";
326
341
  readonly domains: readonly ["crm-api.topolo.app"];
327
342
  readonly routes: readonly [];
328
343
  readonly serviceId: "crm";
344
+ }, {
345
+ readonly name: "topolo-crm-app";
346
+ readonly kind: "pages";
347
+ readonly apiUrl: null;
348
+ readonly domains: readonly ["crm.topolo.app"];
349
+ readonly routes: readonly [];
350
+ readonly serviceId: null;
329
351
  }];
330
352
  };
331
353
  readonly customer_success: {
332
354
  readonly id: "customer_success";
333
- readonly appDir: "TopoloCustomerSuccess";
334
- readonly name: "topolo-customer-success";
335
- readonly packageName: "topolo-customer-success";
336
- readonly productionUrl: "https://customer-success.topolo.app";
355
+ readonly appDir: "TopoloSuccess";
356
+ readonly name: "topolo-success";
357
+ readonly packageName: "topolo-success";
358
+ readonly productionUrl: "https://success.topolo.app";
337
359
  readonly services: readonly ["customer_success"];
338
360
  readonly deployTargets: readonly [{
339
- readonly name: "topolo-customer-success";
361
+ readonly name: "topolo-success";
340
362
  readonly kind: "worker";
341
- readonly apiUrl: "https://customer-success.topolo.app";
342
- readonly domains: readonly ["customer-success.topolo.app"];
343
- readonly routes: readonly ["customer-success.topolo.app"];
363
+ readonly apiUrl: "https://success.topolo.app";
364
+ readonly domains: readonly ["success.topolo.app"];
365
+ readonly routes: readonly ["success.topolo.app"];
344
366
  readonly serviceId: "customer_success";
345
367
  }];
346
368
  };
369
+ readonly d1_backup: {
370
+ readonly id: "d1_backup";
371
+ readonly appDir: "TopoloD1Backup";
372
+ readonly name: "topolo-d1-backup";
373
+ readonly packageName: "topolo-d1-backup";
374
+ readonly productionUrl: null;
375
+ readonly services: readonly [];
376
+ readonly deployTargets: readonly [{
377
+ readonly name: "topolo-d1-backup";
378
+ readonly kind: "worker";
379
+ readonly apiUrl: null;
380
+ readonly domains: readonly [];
381
+ readonly routes: readonly [];
382
+ readonly serviceId: null;
383
+ }];
384
+ };
347
385
  readonly developers: {
348
386
  readonly id: "developers";
349
387
  readonly appDir: "TopoloDevelopers";
350
388
  readonly name: "topolo-developers";
351
389
  readonly packageName: "topolo-developers";
352
390
  readonly productionUrl: "https://developers.topolo.app";
353
- readonly services: readonly [];
391
+ readonly services: readonly ["developers"];
354
392
  readonly deployTargets: readonly [{
355
- readonly name: "topolo-developers";
356
- readonly kind: "pages";
393
+ readonly name: "topolo-catalog-cron";
394
+ readonly kind: "worker";
357
395
  readonly apiUrl: null;
358
- readonly domains: readonly ["developers.topolo.app"];
396
+ readonly domains: readonly [];
359
397
  readonly routes: readonly [];
360
398
  readonly serviceId: null;
399
+ }, {
400
+ readonly name: "topolo-developers";
401
+ readonly kind: "worker";
402
+ readonly apiUrl: "https://developers.topolo.app";
403
+ readonly domains: readonly ["developers.topolo.app"];
404
+ readonly routes: readonly [];
405
+ readonly serviceId: "developers";
406
+ }];
407
+ };
408
+ readonly director: {
409
+ readonly id: "director";
410
+ readonly appDir: "TopoloDirector";
411
+ readonly name: "topolo-director";
412
+ readonly packageName: "topolo-director";
413
+ readonly productionUrl: "https://director.topolo.app";
414
+ readonly services: readonly ["director"];
415
+ readonly deployTargets: readonly [{
416
+ readonly name: "topolo-director";
417
+ readonly kind: "worker";
418
+ readonly apiUrl: "https://director.topolo.app";
419
+ readonly domains: readonly ["director.topolo.app"];
420
+ readonly routes: readonly ["director.topolo.app"];
421
+ readonly serviceId: "director";
361
422
  }];
362
423
  };
363
424
  readonly docs: {
@@ -423,14 +484,14 @@ declare const APPLICATIONS: {
423
484
  readonly productionUrl: "https://forecast.topolo.app";
424
485
  readonly services: readonly ["forecast"];
425
486
  readonly deployTargets: readonly [{
426
- readonly name: "forecast";
487
+ readonly name: "topolo-forecast";
427
488
  readonly kind: "pages";
428
489
  readonly apiUrl: null;
429
490
  readonly domains: readonly ["forecast.topolo.app"];
430
491
  readonly routes: readonly [];
431
492
  readonly serviceId: null;
432
493
  }, {
433
- readonly name: "forecast-worker-production";
494
+ readonly name: "topolo-forecast-api";
434
495
  readonly kind: "worker";
435
496
  readonly apiUrl: "https://forecast-api.topolo.app";
436
497
  readonly domains: readonly ["forecast-api.topolo.app"];
@@ -454,6 +515,22 @@ declare const APPLICATIONS: {
454
515
  readonly serviceId: "forms";
455
516
  }];
456
517
  };
518
+ readonly home: {
519
+ readonly id: "home";
520
+ readonly appDir: "TopoloHome";
521
+ readonly name: "topolo-home";
522
+ readonly packageName: "topolo-home";
523
+ readonly productionUrl: "https://home.topolo.app";
524
+ readonly services: readonly ["home"];
525
+ readonly deployTargets: readonly [{
526
+ readonly name: "topolo-home";
527
+ readonly kind: "worker";
528
+ readonly apiUrl: "https://home.topolo.app";
529
+ readonly domains: readonly ["home.topolo.app"];
530
+ readonly routes: readonly ["home.topolo.app"];
531
+ readonly serviceId: "home";
532
+ }];
533
+ };
457
534
  readonly insights: {
458
535
  readonly id: "insights";
459
536
  readonly appDir: "TopoloInsights";
@@ -494,14 +571,14 @@ declare const APPLICATIONS: {
494
571
  readonly productionUrl: "https://learn.topolo.app";
495
572
  readonly services: readonly ["learn"];
496
573
  readonly deployTargets: readonly [{
497
- readonly name: "topololearn";
574
+ readonly name: "topolo-learn";
498
575
  readonly kind: "pages";
499
576
  readonly apiUrl: null;
500
577
  readonly domains: readonly ["learn.topolo.app"];
501
578
  readonly routes: readonly [];
502
579
  readonly serviceId: null;
503
580
  }, {
504
- readonly name: "topololearn-api";
581
+ readonly name: "topolo-learn-api";
505
582
  readonly kind: "worker";
506
583
  readonly apiUrl: "https://learn-api.topolo.app";
507
584
  readonly domains: readonly ["learn-api.topolo.app"];
@@ -509,6 +586,22 @@ declare const APPLICATIONS: {
509
586
  readonly serviceId: "learn";
510
587
  }];
511
588
  };
589
+ readonly localize: {
590
+ readonly id: "localize";
591
+ readonly appDir: "TopoloLocalize";
592
+ readonly name: "topolo-localize";
593
+ readonly packageName: "topolo-localize";
594
+ readonly productionUrl: "https://localize.topolo.app";
595
+ readonly services: readonly ["localize"];
596
+ readonly deployTargets: readonly [{
597
+ readonly name: "topolo-localize";
598
+ readonly kind: "worker";
599
+ readonly apiUrl: "https://localize.topolo.app";
600
+ readonly domains: readonly ["localize.topolo.app"];
601
+ readonly routes: readonly ["localize.topolo.app"];
602
+ readonly serviceId: "localize";
603
+ }];
604
+ };
512
605
  readonly mail: {
513
606
  readonly id: "mail";
514
607
  readonly appDir: "TopoloMail";
@@ -538,7 +631,7 @@ declare const APPLICATIONS: {
538
631
  readonly id: "mdm";
539
632
  readonly appDir: "TopoloMDM";
540
633
  readonly name: "TopoloMDM";
541
- readonly packageName: null;
634
+ readonly packageName: "topolo-mdm";
542
635
  readonly productionUrl: "https://mdm.topolo.app";
543
636
  readonly services: readonly ["mdm"];
544
637
  readonly deployTargets: readonly [{
@@ -619,6 +712,15 @@ declare const APPLICATIONS: {
619
712
  readonly serviceId: "notify";
620
713
  }];
621
714
  };
715
+ readonly observability_watch: {
716
+ readonly id: "observability_watch";
717
+ readonly appDir: "TopoloObservabilityWatch";
718
+ readonly name: "topolo-observability-watch";
719
+ readonly packageName: "topolo-observability-watch";
720
+ readonly productionUrl: null;
721
+ readonly services: readonly [];
722
+ readonly deployTargets: readonly [];
723
+ };
622
724
  readonly one: {
623
725
  readonly id: "one";
624
726
  readonly appDir: "TopoloOne";
@@ -634,25 +736,25 @@ declare const APPLICATIONS: {
634
736
  readonly routes: readonly [];
635
737
  readonly serviceId: "one.ai";
636
738
  }, {
637
- readonly name: "topoloone";
739
+ readonly name: "topolo-one";
638
740
  readonly kind: "pages";
639
741
  readonly apiUrl: null;
640
742
  readonly domains: readonly ["one.topolo.app"];
641
743
  readonly routes: readonly [];
642
744
  readonly serviceId: null;
643
745
  }, {
644
- readonly name: "topoloone-website";
746
+ readonly name: "topolo-one-website";
645
747
  readonly kind: "worker";
646
748
  readonly apiUrl: null;
647
- readonly domains: readonly ["one.topolo.io", "topolo.io", "www.topolo.io"];
749
+ readonly domains: readonly ["topolo.io", "www.topolo.io"];
648
750
  readonly routes: readonly [];
649
751
  readonly serviceId: null;
650
752
  }, {
651
- readonly name: "topoloone-worker";
753
+ readonly name: "topolo-one-worker";
652
754
  readonly kind: "worker";
653
755
  readonly apiUrl: "https://one.topolo.app";
654
- readonly domains: readonly ["one.topolo.app"];
655
- readonly routes: readonly ["one.topolo.app/*"];
756
+ readonly domains: readonly ["one.topolo.app", "topolo.app", "www.topolo.app"];
757
+ readonly routes: readonly ["one.topolo.app/*", "topolo.app", "www.topolo.app/*"];
656
758
  readonly serviceId: "one";
657
759
  }];
658
760
  };
@@ -704,11 +806,20 @@ declare const APPLICATIONS: {
704
806
  readonly serviceId: "people";
705
807
  }];
706
808
  };
809
+ readonly pulse: {
810
+ readonly id: "pulse";
811
+ readonly appDir: "TopoloPulse";
812
+ readonly name: "topolo-pulse";
813
+ readonly packageName: "topolo-pulse";
814
+ readonly productionUrl: null;
815
+ readonly services: readonly [];
816
+ readonly deployTargets: readonly [];
817
+ };
707
818
  readonly quro: {
708
819
  readonly id: "quro";
709
820
  readonly appDir: "TopoloQuro";
710
821
  readonly name: "TopoloQuro";
711
- readonly packageName: null;
822
+ readonly packageName: "topolo-quro";
712
823
  readonly productionUrl: "https://quro.topolo.app";
713
824
  readonly services: readonly ["quro.api", "quro.redirect"];
714
825
  readonly deployTargets: readonly [{
@@ -742,14 +853,14 @@ declare const APPLICATIONS: {
742
853
  readonly productionUrl: "https://roadmapper.topolo.app";
743
854
  readonly services: readonly ["roadmapper"];
744
855
  readonly deployTargets: readonly [{
745
- readonly name: "roadmapper";
856
+ readonly name: "topolo-roadmapper";
746
857
  readonly kind: "pages";
747
858
  readonly apiUrl: null;
748
859
  readonly domains: readonly ["roadmapper.topolo.app"];
749
860
  readonly routes: readonly [];
750
861
  readonly serviceId: null;
751
862
  }, {
752
- readonly name: "topolo-production-roadmapper";
863
+ readonly name: "topolo-roadmapper-api";
753
864
  readonly kind: "worker";
754
865
  readonly apiUrl: "https://roadmapper-api.topolo.app";
755
866
  readonly domains: readonly ["roadmapper-api.topolo.app"];
@@ -811,21 +922,21 @@ declare const APPLICATIONS: {
811
922
  readonly productionUrl: "https://socialize.topolo.app";
812
923
  readonly services: readonly ["socialize"];
813
924
  readonly deployTargets: readonly [{
814
- readonly name: "socialize";
925
+ readonly name: "topolo-socialize";
815
926
  readonly kind: "pages";
816
927
  readonly apiUrl: null;
817
928
  readonly domains: readonly ["socialize.topolo.app"];
818
929
  readonly routes: readonly [];
819
930
  readonly serviceId: null;
820
931
  }, {
821
- readonly name: "socialize-prod-api";
932
+ readonly name: "topolo-socialize-api";
822
933
  readonly kind: "worker";
823
934
  readonly apiUrl: "https://socialize-api.topolo.app";
824
935
  readonly domains: readonly ["socialize-api.topolo.app"];
825
936
  readonly routes: readonly [];
826
937
  readonly serviceId: "socialize";
827
938
  }, {
828
- readonly name: "socialize-prod-scheduler";
939
+ readonly name: "topolo-socialize-scheduler";
829
940
  readonly kind: "worker";
830
941
  readonly apiUrl: null;
831
942
  readonly domains: readonly [];
@@ -833,6 +944,22 @@ declare const APPLICATIONS: {
833
944
  readonly serviceId: null;
834
945
  }];
835
946
  };
947
+ readonly status: {
948
+ readonly id: "status";
949
+ readonly appDir: "TopoloStatus";
950
+ readonly name: "topolo-status";
951
+ readonly packageName: "topolo-status";
952
+ readonly productionUrl: "https://status.topolo.app";
953
+ readonly services: readonly ["status"];
954
+ readonly deployTargets: readonly [{
955
+ readonly name: "topolo-status";
956
+ readonly kind: "worker";
957
+ readonly apiUrl: "https://status.topolo.app";
958
+ readonly domains: readonly ["status.topolo.app"];
959
+ readonly routes: readonly ["status.topolo.app"];
960
+ readonly serviceId: "status";
961
+ }];
962
+ };
836
963
  readonly support: {
837
964
  readonly id: "support";
838
965
  readonly appDir: "TopoloSupport";
@@ -889,21 +1016,21 @@ declare const APPLICATIONS: {
889
1016
  readonly productionUrl: "https://web.topolo.app";
890
1017
  readonly services: readonly ["web"];
891
1018
  readonly deployTargets: readonly [{
892
- readonly name: "topoloweb-api";
1019
+ readonly name: "topolo-web-api";
893
1020
  readonly kind: "worker";
894
1021
  readonly apiUrl: "https://web-api.topolo.app";
895
1022
  readonly domains: readonly ["web-api.topolo.app"];
896
1023
  readonly routes: readonly [];
897
1024
  readonly serviceId: "web";
898
1025
  }, {
899
- readonly name: "topoloweb-runtime";
1026
+ readonly name: "topolo-web-runtime";
900
1027
  readonly kind: "worker";
901
1028
  readonly apiUrl: "https://sites.topolo.app";
902
1029
  readonly domains: readonly ["sites.topolo.app"];
903
1030
  readonly routes: readonly [];
904
1031
  readonly serviceId: null;
905
1032
  }, {
906
- readonly name: "topoloweb-studio";
1033
+ readonly name: "topolo-web-studio";
907
1034
  readonly kind: "pages";
908
1035
  readonly apiUrl: null;
909
1036
  readonly domains: readonly ["web.topolo.app"];
@@ -916,7 +1043,7 @@ type ApplicationId = keyof typeof APPLICATIONS;
916
1043
  type ApplicationCatalogEntry = (typeof APPLICATIONS)[ApplicationId];
917
1044
  type ApplicationDeployTarget = ApplicationCatalogEntry['deployTargets'][number];
918
1045
 
919
- declare const APPLICATION_REQUIREMENTS_VERSION = "2026-04-25.1";
1046
+ declare const APPLICATION_REQUIREMENTS_VERSION = "2026-05-01.1";
920
1047
  type ApplicationRequirementScope = 'all' | 'browser' | 'api' | 'tooling' | 'agent_surface';
921
1048
  interface ApplicationRequirement {
922
1049
  id: string;
@@ -990,8 +1117,8 @@ declare const APPLICATION_REQUIREMENTS: readonly [{
990
1117
  readonly title: "Use the shared shell, launcher, and account menu";
991
1118
  readonly summary: "Browser applications should feel like one platform and should not create isolated navigation or account surfaces.";
992
1119
  readonly appliesTo: readonly ["browser"];
993
- readonly evidence: readonly ["@topolo/ui-kit is used for the platform shell where the app has authenticated UI", "The shared launcher/app switcher is reachable from authenticated app chrome", "Account menu and sign-out behavior use TopoloAppShell or TopoloAccountMenu"];
994
- readonly implementation: readonly ["Use TopoloAppShell for authenticated app layouts", "Use TopoloAccountMenu when a partial-shell surface still needs account chrome", "Pass app-specific account actions as additive menu items instead of forking dropdowns", "Use shared design tokens and platform UI primitives before creating local equivalents", "Keep mobile and desktop shell behavior aligned with the platform UI kit"];
1120
+ readonly evidence: readonly ["@topolo/ui-kit is used for the platform shell where the app has authenticated UI", "The shared launcher/app switcher is reachable from authenticated app chrome", "Account menu and sign-out behavior use TopoloAppShell or TopoloAccountMenu", "Authenticated app body content stays inside the viewport on mobile and desktop widths"];
1121
+ readonly implementation: readonly ["Use TopoloAppShell for authenticated app layouts", "Use TopoloAccountMenu when a partial-shell surface still needs account chrome", "Pass app-specific account actions as additive menu items instead of forking dropdowns", "Use shared design tokens and platform UI primitives before creating local equivalents", "Keep mobile and desktop shell behavior aligned with the platform UI kit", "Constrain app-owned workspace wrappers with min-width: 0, width: auto, and viewport-aware max-width so shell padding cannot create page-level horizontal overflow"];
995
1122
  }, {
996
1123
  readonly id: "service-registration-and-scopes";
997
1124
  readonly title: "Register protected APIs as platform services";