@topolo/sdk 0.2.4 → 0.2.6

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.cts CHANGED
@@ -34,14 +34,20 @@ interface AgentIdentity {
34
34
  declare const SERVICES: {
35
35
  readonly agent: "https://topolo-agent-worker.topolo.workers.dev";
36
36
  readonly auth: "https://auth.topolo.app";
37
+ readonly books: "https://books.topolo.app";
37
38
  readonly bugfix: "https://bugfix.topolo.app";
38
39
  readonly bytes: "https://r2-media-manager-worker.topolo.workers.dev";
39
40
  readonly calendar: "https://calendar.topolo.app";
40
41
  readonly chat: "https://chat.topolo.app";
41
42
  readonly commerce: "https://topolo-commerce-api.topolo.workers.dev";
42
43
  readonly crm: "https://crm-api.topolo.app";
44
+ readonly customer_success: "https://customer-success.topolo.app";
43
45
  readonly feed: "https://topolo-feed-api.topolo.app";
46
+ readonly flow: "https://flow.topolo.app";
44
47
  readonly forecast: "https://forecast-worker-production.topolo.workers.dev";
48
+ readonly forms: "https://forms.topolo.app";
49
+ readonly insights: "https://insights.topolo.app";
50
+ readonly inventory: "https://inventory.topolo.app";
45
51
  readonly learn: "https://topololearn-api.topolo.workers.dev";
46
52
  readonly mail: "https://mail.topolo.app";
47
53
  readonly mdm: "https://topolo-mdm-api.topolo.app";
@@ -49,12 +55,16 @@ declare const SERVICES: {
49
55
  readonly nexus: "https://topolo-nexus-gateway.topolo.workers.dev";
50
56
  readonly one: "https://one.topolo.app";
51
57
  readonly pay: "https://topolo-pay.topolo.workers.dev";
58
+ readonly people: "https://people.topolo.app";
52
59
  readonly "quro.api": "https://api.ol0.me";
53
60
  readonly "quro.redirect": "https://ol0.me";
54
61
  readonly roadmapper: "https://roadmapper-api.topolo.app";
62
+ readonly sign: "https://sign.topolo.app";
55
63
  readonly social_studio: "https://topolo-social-studio-api.topolo.workers.dev";
56
64
  readonly socialize: "https://socialize-prod-api.topolo.workers.dev";
57
65
  readonly support: "https://support.topolo.app";
66
+ readonly survey: "https://survey.topolo.app";
67
+ readonly voice: "https://voice.topolo.app";
58
68
  readonly web: "https://web-api.topolo.app";
59
69
  };
60
70
  type ServiceId = keyof typeof SERVICES;
@@ -71,10 +81,10 @@ declare const APPLICATIONS: {
71
81
  readonly deployTargets: readonly [{
72
82
  readonly name: "topoloadmin";
73
83
  readonly kind: "pages";
74
- readonly apiUrl: any;
84
+ readonly apiUrl: null;
75
85
  readonly domains: readonly [];
76
86
  readonly routes: readonly [];
77
- readonly serviceId: any;
87
+ readonly serviceId: null;
78
88
  }];
79
89
  };
80
90
  readonly agent: {
@@ -87,10 +97,10 @@ declare const APPLICATIONS: {
87
97
  readonly deployTargets: readonly [{
88
98
  readonly name: "topolo-agent";
89
99
  readonly kind: "pages";
90
- readonly apiUrl: any;
100
+ readonly apiUrl: null;
91
101
  readonly domains: readonly [];
92
102
  readonly routes: readonly [];
93
- readonly serviceId: any;
103
+ readonly serviceId: null;
94
104
  }, {
95
105
  readonly name: "topolo-agent-worker";
96
106
  readonly kind: "worker";
@@ -116,6 +126,22 @@ declare const APPLICATIONS: {
116
126
  readonly serviceId: "auth";
117
127
  }];
118
128
  };
129
+ readonly books: {
130
+ readonly id: "books";
131
+ readonly appDir: "TopoloBooks";
132
+ readonly name: "topolo-books";
133
+ readonly packageName: "topolo-books";
134
+ readonly productionUrl: "https://books.topolo.app";
135
+ readonly services: readonly ["books"];
136
+ readonly deployTargets: readonly [{
137
+ readonly name: "topolo-books";
138
+ readonly kind: "worker";
139
+ readonly apiUrl: "https://books.topolo.app";
140
+ readonly domains: readonly ["books.topolo.app"];
141
+ readonly routes: readonly ["books.topolo.app"];
142
+ readonly serviceId: "books";
143
+ }];
144
+ };
119
145
  readonly bugfix: {
120
146
  readonly id: "bugfix";
121
147
  readonly appDir: "TopoloBugFix";
@@ -142,10 +168,10 @@ declare const APPLICATIONS: {
142
168
  readonly deployTargets: readonly [{
143
169
  readonly name: "bytes";
144
170
  readonly kind: "pages";
145
- readonly apiUrl: any;
171
+ readonly apiUrl: null;
146
172
  readonly domains: readonly [];
147
173
  readonly routes: readonly [];
148
- readonly serviceId: any;
174
+ readonly serviceId: null;
149
175
  }, {
150
176
  readonly name: "r2-media-manager-worker";
151
177
  readonly kind: "worker";
@@ -192,7 +218,7 @@ declare const APPLICATIONS: {
192
218
  readonly appDir: "TopoloCli";
193
219
  readonly name: "@topolo/cli";
194
220
  readonly packageName: "@topolo/cli";
195
- readonly productionUrl: any;
221
+ readonly productionUrl: null;
196
222
  readonly services: readonly [];
197
223
  readonly deployTargets: readonly [];
198
224
  };
@@ -201,7 +227,7 @@ declare const APPLICATIONS: {
201
227
  readonly appDir: "TopoloCloudControl";
202
228
  readonly name: "topolo-cloudcontrol";
203
229
  readonly packageName: "topolo-cloudcontrol";
204
- readonly productionUrl: any;
230
+ readonly productionUrl: null;
205
231
  readonly services: readonly [];
206
232
  readonly deployTargets: readonly [];
207
233
  };
@@ -222,24 +248,24 @@ declare const APPLICATIONS: {
222
248
  }, {
223
249
  readonly name: "topolo-commerce-guest-web";
224
250
  readonly kind: "pages";
225
- readonly apiUrl: any;
251
+ readonly apiUrl: null;
226
252
  readonly domains: readonly ["guest.topolo.app", "topolo-commerce-guest-web.pages.dev"];
227
253
  readonly routes: readonly [];
228
- readonly serviceId: any;
254
+ readonly serviceId: null;
229
255
  }, {
230
256
  readonly name: "topolo-commerce-ops-web";
231
257
  readonly kind: "pages";
232
- readonly apiUrl: any;
258
+ readonly apiUrl: null;
233
259
  readonly domains: readonly ["commerce.topolo.app", "topolo-commerce-ops-web.pages.dev"];
234
260
  readonly routes: readonly [];
235
- readonly serviceId: any;
261
+ readonly serviceId: null;
236
262
  }, {
237
263
  readonly name: "topolo-commerce-station-web";
238
264
  readonly kind: "pages";
239
- readonly apiUrl: any;
265
+ readonly apiUrl: null;
240
266
  readonly domains: readonly ["station-commerce.topolo.app", "topolo-commerce-station-web.pages.dev"];
241
267
  readonly routes: readonly [];
242
- readonly serviceId: any;
268
+ readonly serviceId: null;
243
269
  }];
244
270
  };
245
271
  readonly crm: {
@@ -252,10 +278,10 @@ declare const APPLICATIONS: {
252
278
  readonly deployTargets: readonly [{
253
279
  readonly name: "topolo-crm-frontend";
254
280
  readonly kind: "pages";
255
- readonly apiUrl: any;
281
+ readonly apiUrl: null;
256
282
  readonly domains: readonly [];
257
283
  readonly routes: readonly [];
258
- readonly serviceId: any;
284
+ readonly serviceId: null;
259
285
  }, {
260
286
  readonly name: "topolo-crm-worker";
261
287
  readonly kind: "worker";
@@ -265,6 +291,22 @@ declare const APPLICATIONS: {
265
291
  readonly serviceId: "crm";
266
292
  }];
267
293
  };
294
+ readonly customer_success: {
295
+ readonly id: "customer_success";
296
+ readonly appDir: "TopoloCustomerSuccess";
297
+ readonly name: "topolo-customer-success";
298
+ readonly packageName: "topolo-customer-success";
299
+ readonly productionUrl: "https://customer-success.topolo.app";
300
+ readonly services: readonly ["customer_success"];
301
+ readonly deployTargets: readonly [{
302
+ readonly name: "topolo-customer-success";
303
+ readonly kind: "worker";
304
+ readonly apiUrl: "https://customer-success.topolo.app";
305
+ readonly domains: readonly ["customer-success.topolo.app"];
306
+ readonly routes: readonly ["customer-success.topolo.app"];
307
+ readonly serviceId: "customer_success";
308
+ }];
309
+ };
268
310
  readonly developers: {
269
311
  readonly id: "developers";
270
312
  readonly appDir: "TopoloDevelopers";
@@ -275,10 +317,10 @@ declare const APPLICATIONS: {
275
317
  readonly deployTargets: readonly [{
276
318
  readonly name: "topolo-developers";
277
319
  readonly kind: "pages";
278
- readonly apiUrl: any;
320
+ readonly apiUrl: null;
279
321
  readonly domains: readonly ["developers.topolo.app"];
280
322
  readonly routes: readonly [];
281
- readonly serviceId: any;
323
+ readonly serviceId: null;
282
324
  }];
283
325
  };
284
326
  readonly docs: {
@@ -291,17 +333,17 @@ declare const APPLICATIONS: {
291
333
  readonly deployTargets: readonly [{
292
334
  readonly name: "topolo-docs";
293
335
  readonly kind: "pages";
294
- readonly apiUrl: any;
336
+ readonly apiUrl: null;
295
337
  readonly domains: readonly ["docs.topolo.app"];
296
338
  readonly routes: readonly [];
297
- readonly serviceId: any;
339
+ readonly serviceId: null;
298
340
  }];
299
341
  };
300
342
  readonly feed: {
301
343
  readonly id: "feed";
302
344
  readonly appDir: "TopoloFeed";
303
345
  readonly name: "TopoloFeed";
304
- readonly packageName: any;
346
+ readonly packageName: null;
305
347
  readonly productionUrl: "https://topolo-feed-api.topolo.app";
306
348
  readonly services: readonly ["feed"];
307
349
  readonly deployTargets: readonly [{
@@ -310,7 +352,7 @@ declare const APPLICATIONS: {
310
352
  readonly apiUrl: "https://topolo-feed-analytics-api.topolo.app";
311
353
  readonly domains: readonly ["topolo-feed-analytics-api.topolo.app"];
312
354
  readonly routes: readonly ["topolo-feed-analytics-api.topolo.app"];
313
- readonly serviceId: any;
355
+ readonly serviceId: null;
314
356
  }, {
315
357
  readonly name: "topolo-feed-api";
316
358
  readonly kind: "worker";
@@ -320,6 +362,22 @@ declare const APPLICATIONS: {
320
362
  readonly serviceId: "feed";
321
363
  }];
322
364
  };
365
+ readonly flow: {
366
+ readonly id: "flow";
367
+ readonly appDir: "TopoloFlow";
368
+ readonly name: "topolo-flow";
369
+ readonly packageName: "topolo-flow";
370
+ readonly productionUrl: "https://flow.topolo.app";
371
+ readonly services: readonly ["flow"];
372
+ readonly deployTargets: readonly [{
373
+ readonly name: "topolo-flow";
374
+ readonly kind: "worker";
375
+ readonly apiUrl: "https://flow.topolo.app";
376
+ readonly domains: readonly ["flow.topolo.app"];
377
+ readonly routes: readonly ["flow.topolo.app"];
378
+ readonly serviceId: "flow";
379
+ }];
380
+ };
323
381
  readonly forecast: {
324
382
  readonly id: "forecast";
325
383
  readonly appDir: "TopoloForecast";
@@ -330,10 +388,10 @@ declare const APPLICATIONS: {
330
388
  readonly deployTargets: readonly [{
331
389
  readonly name: "forecast";
332
390
  readonly kind: "pages";
333
- readonly apiUrl: any;
391
+ readonly apiUrl: null;
334
392
  readonly domains: readonly [];
335
393
  readonly routes: readonly [];
336
- readonly serviceId: any;
394
+ readonly serviceId: null;
337
395
  }, {
338
396
  readonly name: "forecast-worker-production";
339
397
  readonly kind: "worker";
@@ -343,6 +401,54 @@ declare const APPLICATIONS: {
343
401
  readonly serviceId: "forecast";
344
402
  }];
345
403
  };
404
+ readonly forms: {
405
+ readonly id: "forms";
406
+ readonly appDir: "TopoloForms";
407
+ readonly name: "topolo-forms";
408
+ readonly packageName: "topolo-forms";
409
+ readonly productionUrl: "https://forms.topolo.app";
410
+ readonly services: readonly ["forms"];
411
+ readonly deployTargets: readonly [{
412
+ readonly name: "topolo-forms";
413
+ readonly kind: "worker";
414
+ readonly apiUrl: "https://forms.topolo.app";
415
+ readonly domains: readonly ["forms.topolo.app"];
416
+ readonly routes: readonly ["forms.topolo.app"];
417
+ readonly serviceId: "forms";
418
+ }];
419
+ };
420
+ readonly insights: {
421
+ readonly id: "insights";
422
+ readonly appDir: "TopoloInsights";
423
+ readonly name: "topolo-insights";
424
+ readonly packageName: "topolo-insights";
425
+ readonly productionUrl: "https://insights.topolo.app";
426
+ readonly services: readonly ["insights"];
427
+ readonly deployTargets: readonly [{
428
+ readonly name: "topolo-insights";
429
+ readonly kind: "worker";
430
+ readonly apiUrl: "https://insights.topolo.app";
431
+ readonly domains: readonly ["insights.topolo.app"];
432
+ readonly routes: readonly ["insights.topolo.app"];
433
+ readonly serviceId: "insights";
434
+ }];
435
+ };
436
+ readonly inventory: {
437
+ readonly id: "inventory";
438
+ readonly appDir: "TopoloInventory";
439
+ readonly name: "topolo-inventory";
440
+ readonly packageName: "topolo-inventory";
441
+ readonly productionUrl: "https://inventory.topolo.app";
442
+ readonly services: readonly ["inventory"];
443
+ readonly deployTargets: readonly [{
444
+ readonly name: "topolo-inventory";
445
+ readonly kind: "worker";
446
+ readonly apiUrl: "https://inventory.topolo.app";
447
+ readonly domains: readonly ["inventory.topolo.app"];
448
+ readonly routes: readonly ["inventory.topolo.app"];
449
+ readonly serviceId: "inventory";
450
+ }];
451
+ };
346
452
  readonly learn: {
347
453
  readonly id: "learn";
348
454
  readonly appDir: "TopoloLearn";
@@ -353,10 +459,10 @@ declare const APPLICATIONS: {
353
459
  readonly deployTargets: readonly [{
354
460
  readonly name: "topololearn";
355
461
  readonly kind: "pages";
356
- readonly apiUrl: any;
462
+ readonly apiUrl: null;
357
463
  readonly domains: readonly ["learn.topolo.app"];
358
464
  readonly routes: readonly [];
359
- readonly serviceId: any;
465
+ readonly serviceId: null;
360
466
  }, {
361
467
  readonly name: "topololearn-api";
362
468
  readonly kind: "worker";
@@ -387,7 +493,7 @@ declare const APPLICATIONS: {
387
493
  readonly appDir: "TopoloMCP";
388
494
  readonly name: "@topolo/mcp";
389
495
  readonly packageName: "@topolo/mcp";
390
- readonly productionUrl: any;
496
+ readonly productionUrl: null;
391
497
  readonly services: readonly [];
392
498
  readonly deployTargets: readonly [];
393
499
  };
@@ -395,7 +501,7 @@ declare const APPLICATIONS: {
395
501
  readonly id: "mdm";
396
502
  readonly appDir: "TopoloMDM";
397
503
  readonly name: "TopoloMDM";
398
- readonly packageName: any;
504
+ readonly packageName: null;
399
505
  readonly productionUrl: "https://mdm.topolo.app";
400
506
  readonly services: readonly ["mdm"];
401
507
  readonly deployTargets: readonly [{
@@ -408,10 +514,10 @@ declare const APPLICATIONS: {
408
514
  }, {
409
515
  readonly name: "topolo-mdm-console";
410
516
  readonly kind: "pages";
411
- readonly apiUrl: any;
517
+ readonly apiUrl: null;
412
518
  readonly domains: readonly ["mdm.topolo.app", "topolo-mdm-console.pages.dev"];
413
519
  readonly routes: readonly ["mdm.topolo.app"];
414
- readonly serviceId: any;
520
+ readonly serviceId: null;
415
521
  }];
416
522
  };
417
523
  readonly messaging: {
@@ -431,10 +537,10 @@ declare const APPLICATIONS: {
431
537
  }, {
432
538
  readonly name: "topolo-messaging-dispatch";
433
539
  readonly kind: "workers";
434
- readonly apiUrl: any;
540
+ readonly apiUrl: null;
435
541
  readonly domains: readonly [];
436
542
  readonly routes: readonly [];
437
- readonly serviceId: any;
543
+ readonly serviceId: null;
438
544
  }];
439
545
  };
440
546
  readonly nexus: {
@@ -447,10 +553,10 @@ declare const APPLICATIONS: {
447
553
  readonly deployTargets: readonly [{
448
554
  readonly name: "topolo-nexus-dashboard";
449
555
  readonly kind: "pages";
450
- readonly apiUrl: any;
556
+ readonly apiUrl: null;
451
557
  readonly domains: readonly ["nexus.topolo.app", "topolo-nexus-dashboard.pages.dev"];
452
558
  readonly routes: readonly [];
453
- readonly serviceId: any;
559
+ readonly serviceId: null;
454
560
  }, {
455
561
  readonly name: "topolo-nexus-gateway";
456
562
  readonly kind: "worker";
@@ -470,24 +576,24 @@ declare const APPLICATIONS: {
470
576
  readonly deployTargets: readonly [{
471
577
  readonly name: "ai-chat-rag";
472
578
  readonly kind: "worker";
473
- readonly apiUrl: any;
579
+ readonly apiUrl: null;
474
580
  readonly domains: readonly ["ai-chat-rag.topolo.workers.dev"];
475
581
  readonly routes: readonly [];
476
- readonly serviceId: any;
582
+ readonly serviceId: null;
477
583
  }, {
478
584
  readonly name: "topoloone";
479
585
  readonly kind: "pages";
480
- readonly apiUrl: any;
586
+ readonly apiUrl: null;
481
587
  readonly domains: readonly ["oneclick-dashboard.pages.dev"];
482
588
  readonly routes: readonly [];
483
- readonly serviceId: any;
589
+ readonly serviceId: null;
484
590
  }, {
485
591
  readonly name: "topoloone-website";
486
592
  readonly kind: "worker";
487
- readonly apiUrl: any;
488
- readonly domains: readonly ["one.topolo.io"];
593
+ readonly apiUrl: null;
594
+ readonly domains: readonly ["one.topolo.io", "topolo.io", "www.topolo.io"];
489
595
  readonly routes: readonly [];
490
- readonly serviceId: any;
596
+ readonly serviceId: null;
491
597
  }, {
492
598
  readonly name: "topoloone-worker";
493
599
  readonly kind: "worker";
@@ -513,11 +619,27 @@ declare const APPLICATIONS: {
513
619
  readonly serviceId: "pay";
514
620
  }];
515
621
  };
622
+ readonly people: {
623
+ readonly id: "people";
624
+ readonly appDir: "TopoloPeople";
625
+ readonly name: "topolo-people";
626
+ readonly packageName: "topolo-people";
627
+ readonly productionUrl: "https://people.topolo.app";
628
+ readonly services: readonly ["people"];
629
+ readonly deployTargets: readonly [{
630
+ readonly name: "topolo-people";
631
+ readonly kind: "worker";
632
+ readonly apiUrl: "https://people.topolo.app";
633
+ readonly domains: readonly ["people.topolo.app"];
634
+ readonly routes: readonly ["people.topolo.app"];
635
+ readonly serviceId: "people";
636
+ }];
637
+ };
516
638
  readonly quro: {
517
639
  readonly id: "quro";
518
640
  readonly appDir: "TopoloQuro";
519
641
  readonly name: "TopoloQuro";
520
- readonly packageName: any;
642
+ readonly packageName: null;
521
643
  readonly productionUrl: "https://quro.topolo.app";
522
644
  readonly services: readonly ["quro.api", "quro.redirect"];
523
645
  readonly deployTargets: readonly [{
@@ -537,10 +659,10 @@ declare const APPLICATIONS: {
537
659
  }, {
538
660
  readonly name: "quro-ui";
539
661
  readonly kind: "pages";
540
- readonly apiUrl: any;
662
+ readonly apiUrl: null;
541
663
  readonly domains: readonly [];
542
664
  readonly routes: readonly [];
543
- readonly serviceId: any;
665
+ readonly serviceId: null;
544
666
  }];
545
667
  };
546
668
  readonly roadmapper: {
@@ -553,10 +675,10 @@ declare const APPLICATIONS: {
553
675
  readonly deployTargets: readonly [{
554
676
  readonly name: "roadmapper";
555
677
  readonly kind: "pages";
556
- readonly apiUrl: any;
678
+ readonly apiUrl: null;
557
679
  readonly domains: readonly ["roadmapper.topolo.app"];
558
680
  readonly routes: readonly [];
559
- readonly serviceId: any;
681
+ readonly serviceId: null;
560
682
  }, {
561
683
  readonly name: "topolo-production-roadmapper";
562
684
  readonly kind: "worker";
@@ -566,6 +688,22 @@ declare const APPLICATIONS: {
566
688
  readonly serviceId: "roadmapper";
567
689
  }];
568
690
  };
691
+ readonly sign: {
692
+ readonly id: "sign";
693
+ readonly appDir: "TopoloSign";
694
+ readonly name: "topolo-sign";
695
+ readonly packageName: "topolo-sign";
696
+ readonly productionUrl: "https://sign.topolo.app";
697
+ readonly services: readonly ["sign"];
698
+ readonly deployTargets: readonly [{
699
+ readonly name: "topolo-sign";
700
+ readonly kind: "worker";
701
+ readonly apiUrl: "https://sign.topolo.app";
702
+ readonly domains: readonly ["sign.topolo.app"];
703
+ readonly routes: readonly ["sign.topolo.app"];
704
+ readonly serviceId: "sign";
705
+ }];
706
+ };
569
707
  readonly social_studio: {
570
708
  readonly id: "social_studio";
571
709
  readonly appDir: "TopoloSocialStudio";
@@ -576,10 +714,10 @@ declare const APPLICATIONS: {
576
714
  readonly deployTargets: readonly [{
577
715
  readonly name: "topolo-social-studio";
578
716
  readonly kind: "pages";
579
- readonly apiUrl: any;
717
+ readonly apiUrl: null;
580
718
  readonly domains: readonly [];
581
719
  readonly routes: readonly [];
582
- readonly serviceId: any;
720
+ readonly serviceId: null;
583
721
  }, {
584
722
  readonly name: "topolo-social-studio-api";
585
723
  readonly kind: "worker";
@@ -590,10 +728,10 @@ declare const APPLICATIONS: {
590
728
  }, {
591
729
  readonly name: "topolo-social-studio-queue";
592
730
  readonly kind: "worker";
593
- readonly apiUrl: any;
731
+ readonly apiUrl: null;
594
732
  readonly domains: readonly [];
595
733
  readonly routes: readonly [];
596
- readonly serviceId: any;
734
+ readonly serviceId: null;
597
735
  }];
598
736
  };
599
737
  readonly socialize: {
@@ -606,10 +744,10 @@ declare const APPLICATIONS: {
606
744
  readonly deployTargets: readonly [{
607
745
  readonly name: "socialize";
608
746
  readonly kind: "pages";
609
- readonly apiUrl: any;
747
+ readonly apiUrl: null;
610
748
  readonly domains: readonly [];
611
749
  readonly routes: readonly [];
612
- readonly serviceId: any;
750
+ readonly serviceId: null;
613
751
  }, {
614
752
  readonly name: "socialize-prod-api";
615
753
  readonly kind: "worker";
@@ -620,10 +758,10 @@ declare const APPLICATIONS: {
620
758
  }, {
621
759
  readonly name: "socialize-prod-scheduler";
622
760
  readonly kind: "worker";
623
- readonly apiUrl: any;
761
+ readonly apiUrl: null;
624
762
  readonly domains: readonly [];
625
763
  readonly routes: readonly [];
626
- readonly serviceId: any;
764
+ readonly serviceId: null;
627
765
  }];
628
766
  };
629
767
  readonly support: {
@@ -642,6 +780,38 @@ declare const APPLICATIONS: {
642
780
  readonly serviceId: "support";
643
781
  }];
644
782
  };
783
+ readonly survey: {
784
+ readonly id: "survey";
785
+ readonly appDir: "TopoloSurvey";
786
+ readonly name: "topolo-survey";
787
+ readonly packageName: "topolo-survey";
788
+ readonly productionUrl: "https://survey.topolo.app";
789
+ readonly services: readonly ["survey"];
790
+ readonly deployTargets: readonly [{
791
+ readonly name: "topolo-survey";
792
+ readonly kind: "worker";
793
+ readonly apiUrl: "https://survey.topolo.app";
794
+ readonly domains: readonly ["survey.topolo.app"];
795
+ readonly routes: readonly ["survey.topolo.app"];
796
+ readonly serviceId: "survey";
797
+ }];
798
+ };
799
+ readonly voice: {
800
+ readonly id: "voice";
801
+ readonly appDir: "TopoloVoice";
802
+ readonly name: "topolo-voice";
803
+ readonly packageName: "topolo-voice";
804
+ readonly productionUrl: "https://voice.topolo.app";
805
+ readonly services: readonly ["voice"];
806
+ readonly deployTargets: readonly [{
807
+ readonly name: "topolo-voice";
808
+ readonly kind: "worker";
809
+ readonly apiUrl: "https://voice.topolo.app";
810
+ readonly domains: readonly ["voice.topolo.app"];
811
+ readonly routes: readonly ["voice.topolo.app"];
812
+ readonly serviceId: "voice";
813
+ }];
814
+ };
645
815
  readonly web: {
646
816
  readonly id: "web";
647
817
  readonly appDir: "TopoloWeb";
@@ -662,14 +832,14 @@ declare const APPLICATIONS: {
662
832
  readonly apiUrl: "https://sites.topolo.app";
663
833
  readonly domains: readonly ["sites.topolo.app"];
664
834
  readonly routes: readonly [];
665
- readonly serviceId: any;
835
+ readonly serviceId: null;
666
836
  }, {
667
837
  readonly name: "topoloweb-studio";
668
838
  readonly kind: "pages";
669
- readonly apiUrl: any;
839
+ readonly apiUrl: null;
670
840
  readonly domains: readonly ["web.topolo.app"];
671
841
  readonly routes: readonly [];
672
- readonly serviceId: any;
842
+ readonly serviceId: null;
673
843
  }];
674
844
  };
675
845
  };
@@ -677,7 +847,7 @@ type ApplicationId = keyof typeof APPLICATIONS;
677
847
  type ApplicationCatalogEntry = (typeof APPLICATIONS)[ApplicationId];
678
848
  type ApplicationDeployTarget = ApplicationCatalogEntry['deployTargets'][number];
679
849
 
680
- declare const APPLICATION_REQUIREMENTS_VERSION = "2026-04-22.1";
850
+ declare const APPLICATION_REQUIREMENTS_VERSION = "2026-04-25.1";
681
851
  type ApplicationRequirementScope = 'all' | 'browser' | 'api' | 'tooling' | 'agent_surface';
682
852
  interface ApplicationRequirement {
683
853
  id: string;
@@ -781,6 +951,13 @@ declare const APPLICATION_REQUIREMENTS: readonly [{
781
951
  readonly appliesTo: readonly ["api", "tooling", "agent_surface"];
782
952
  readonly evidence: readonly ["Read operations have typed SDK/CLI/MCP surfaces once their contract stabilizes", "Mutating generic calls require --confirm or confirm:true", "MCP tools never accept orgId and advertise only appropriate scope-gated tools"];
783
953
  readonly implementation: readonly ["Add SDK types first, then CLI commands and MCP tools for durable workflows", "Use generic API passthrough only as a temporary escape hatch", "Keep command output JSON-stable for agents and human-readable with --no-json"];
954
+ }, {
955
+ readonly id: "native-dashboard-widget";
956
+ readonly title: "Expose a native dashboard widget contract";
957
+ readonly summary: "Launchable first-party applications must populate TopoloOne live workspace through an app-owned /api/widget endpoint using the SDK widget response contract.";
958
+ readonly appliesTo: readonly ["api"];
959
+ readonly evidence: readonly ["The app-owned API exposes GET /api/widget", "The endpoint returns TopoloWidgetApiResponse from @topolo/sdk", "The endpoint derives organization/user context from the app auth boundary"];
960
+ readonly implementation: readonly ["Import createTopoloWidgetResponse from @topolo/sdk in the app backend", "Return native app metrics or action widgets instead of generic launch-card fallbacks", "Add a route-level test that validates the response with validateTopoloWidgetResponse"];
784
961
  }, {
785
962
  readonly id: "observability-and-audit";
786
963
  readonly title: "Emit platform audit and debugging signals";
@@ -1065,6 +1242,108 @@ declare class TopoloOAuth {
1065
1242
  }): Promise<TokenResponse>;
1066
1243
  }
1067
1244
 
1245
+ declare const TOPOLO_WIDGET_ENDPOINT = "/api/widget";
1246
+ declare const TOPOLO_WIDGET_REFRESH_INTERVAL_MS = 60000;
1247
+ type TopoloWidgetType = 'stats' | 'recent-activity' | 'quick-actions' | 'notifications' | 'chart';
1248
+ interface TopoloWidgetBase {
1249
+ serviceId: string;
1250
+ serviceName: string;
1251
+ serviceIcon?: string;
1252
+ type: TopoloWidgetType;
1253
+ lastUpdated: string;
1254
+ }
1255
+ interface TopoloWidgetMetric {
1256
+ label: string;
1257
+ value: string | number;
1258
+ change?: number;
1259
+ changeLabel?: string;
1260
+ icon?: string;
1261
+ }
1262
+ interface TopoloStatsWidget extends TopoloWidgetBase {
1263
+ type: 'stats';
1264
+ stats: TopoloWidgetMetric[];
1265
+ }
1266
+ interface TopoloWidgetActivityItem {
1267
+ id: string;
1268
+ title: string;
1269
+ description?: string;
1270
+ timestamp: string;
1271
+ icon?: string;
1272
+ link?: string;
1273
+ }
1274
+ interface TopoloRecentActivityWidget extends TopoloWidgetBase {
1275
+ type: 'recent-activity';
1276
+ activities: TopoloWidgetActivityItem[];
1277
+ }
1278
+ interface TopoloWidgetActionItem {
1279
+ id: string;
1280
+ label: string;
1281
+ icon?: string;
1282
+ link: string;
1283
+ primary?: boolean;
1284
+ }
1285
+ interface TopoloQuickActionsWidget extends TopoloWidgetBase {
1286
+ type: 'quick-actions';
1287
+ actions: TopoloWidgetActionItem[];
1288
+ }
1289
+ interface TopoloWidgetNotificationItem {
1290
+ id: string;
1291
+ title: string;
1292
+ message: string;
1293
+ type: 'info' | 'warning' | 'error' | 'success';
1294
+ timestamp: string;
1295
+ read: boolean;
1296
+ link?: string;
1297
+ }
1298
+ interface TopoloNotificationsWidget extends TopoloWidgetBase {
1299
+ type: 'notifications';
1300
+ notifications: TopoloWidgetNotificationItem[];
1301
+ unreadCount: number;
1302
+ }
1303
+ interface TopoloChartWidget extends TopoloWidgetBase {
1304
+ type: 'chart';
1305
+ chartType: 'line' | 'bar' | 'pie' | 'donut';
1306
+ title: string;
1307
+ data: {
1308
+ labels: string[];
1309
+ values: number[];
1310
+ };
1311
+ }
1312
+ type TopoloWidget = TopoloStatsWidget | TopoloRecentActivityWidget | TopoloQuickActionsWidget | TopoloNotificationsWidget | TopoloChartWidget;
1313
+ type TopoloWidgetWithOptionalMetadata<T extends TopoloWidget> = Omit<T, 'serviceId' | 'serviceName' | 'lastUpdated'> & Partial<Pick<TopoloWidgetBase, 'serviceId' | 'serviceName' | 'lastUpdated'>>;
1314
+ type TopoloWidgetDraft = TopoloWidget extends infer Widget ? Widget extends TopoloWidget ? TopoloWidgetWithOptionalMetadata<Widget> : never : never;
1315
+ interface TopoloWidgetApiResponse {
1316
+ success: boolean;
1317
+ widgets: TopoloWidget[];
1318
+ error?: string;
1319
+ }
1320
+ interface TopoloWidgetResponseOptions {
1321
+ serviceId: string;
1322
+ serviceName: string;
1323
+ widgets: TopoloWidgetDraft[];
1324
+ now?: Date | string;
1325
+ }
1326
+ interface TopoloWidgetValidationResult {
1327
+ ok: boolean;
1328
+ errors: string[];
1329
+ }
1330
+ interface TopoloWidgetConfig {
1331
+ serviceId: string;
1332
+ serviceName: string;
1333
+ baseUrl: string;
1334
+ widgetEndpoint: string;
1335
+ enabled: boolean;
1336
+ refreshInterval: number;
1337
+ }
1338
+ declare function defineTopoloStatsWidget(widget: Omit<TopoloStatsWidget, 'type'>): TopoloStatsWidget;
1339
+ declare function defineTopoloRecentActivityWidget(widget: Omit<TopoloRecentActivityWidget, 'type'>): TopoloRecentActivityWidget;
1340
+ declare function defineTopoloQuickActionsWidget(widget: Omit<TopoloQuickActionsWidget, 'type'>): TopoloQuickActionsWidget;
1341
+ declare function defineTopoloNotificationsWidget(widget: Omit<TopoloNotificationsWidget, 'type'>): TopoloNotificationsWidget;
1342
+ declare function defineTopoloChartWidget(widget: Omit<TopoloChartWidget, 'type'>): TopoloChartWidget;
1343
+ declare function createTopoloWidgetResponse({ serviceId, serviceName, widgets, now, }: TopoloWidgetResponseOptions): TopoloWidgetApiResponse;
1344
+ declare function createTopoloWidgetError(error: string): TopoloWidgetApiResponse;
1345
+ declare function validateTopoloWidgetResponse(response: unknown): TopoloWidgetValidationResult;
1346
+
1068
1347
  /**
1069
1348
  * Convenience factory that returns a ready-to-use typed Topolo client plus
1070
1349
  * domain module surfaces (identity, crm, ...).
@@ -1079,4 +1358,4 @@ declare function createTopolo(options: TopoloClientOptions): {
1079
1358
  };
1080
1359
  type Topolo = ReturnType<typeof createTopolo>;
1081
1360
 
1082
- export { APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type AgentIdentity, type ApplicationCatalogEntry, type ApplicationDeployTarget, type ApplicationId, type ApplicationRequirement, type ApplicationRequirementAudit, type ApplicationRequirementFinding, type ApplicationRequirementMigrationItem, type ApplicationRequirementScope, type ApplicationRequirementScore, type ApplicationRequirementStatus, type ApplicationRequirementsAuditReport, type CredentialIntrospection, type CrmContactSummary, CrmModule, DEFAULT_SERVICE_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, PLATFORM_SERVICE_IDS, type RequestOptions, type ServiceId, type TokenResponse, type Topolo, TopoloAuthError, TopoloClient, type TopoloClientOptions, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, TopoloOAuth, TopoloPermissionError, TopoloSdkError, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, requirementsForApplication, resolveServiceUrl };
1361
+ export { APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type AgentIdentity, type ApplicationCatalogEntry, type ApplicationDeployTarget, type ApplicationId, type ApplicationRequirement, type ApplicationRequirementAudit, type ApplicationRequirementFinding, type ApplicationRequirementMigrationItem, type ApplicationRequirementScope, type ApplicationRequirementScore, type ApplicationRequirementStatus, type ApplicationRequirementsAuditReport, type CredentialIntrospection, type CrmContactSummary, CrmModule, DEFAULT_SERVICE_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, PLATFORM_SERVICE_IDS, type RequestOptions, type ServiceId, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, TopoloAuthError, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetType, type TopoloWidgetValidationResult, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, requirementsForApplication, resolveServiceUrl, validateTopoloWidgetResponse };