@topolo/sdk 0.9.8 → 0.9.9

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.cjs CHANGED
@@ -170,6 +170,7 @@ var APP_API_URLS = {
170
170
  agent: "https://agent.topolo.app",
171
171
  auth: "https://auth.topolo.app",
172
172
  backup: "https://backup.topolo.app",
173
+ blog: "https://blog.topolo.app",
173
174
  books: "https://books.topolo.app",
174
175
  brand: "https://brand.topolo.app",
175
176
  bugfix: "https://bugfix.topolo.app",
@@ -182,6 +183,7 @@ var APP_API_URLS = {
182
183
  compose: "https://compose.topolo.app",
183
184
  consent: "https://consent.topolo.app",
184
185
  crm: "https://crm.topolo.app",
186
+ design: "https://design.topolo.app",
185
187
  developers: "https://developers.topolo.app",
186
188
  director: "https://director.topolo.app",
187
189
  feed: "https://feed.topolo.app",
@@ -267,7 +269,9 @@ var APPLICATIONS = {
267
269
  "domains": [
268
270
  "agent.topolo.app"
269
271
  ],
270
- "routes": [],
272
+ "routes": [
273
+ "agent.topolo.app"
274
+ ],
271
275
  "appId": "agent"
272
276
  },
273
277
  {
@@ -328,6 +332,38 @@ var APPLICATIONS = {
328
332
  }
329
333
  ]
330
334
  },
335
+ "blog": {
336
+ "id": "blog",
337
+ "appDir": "TopoloBlog",
338
+ "name": "topolo-blog",
339
+ "packageName": "topolo-blog",
340
+ "productionUrl": "https://blog.topolo.app",
341
+ "services": [
342
+ "blog"
343
+ ],
344
+ "deployTargets": [
345
+ {
346
+ "name": "topolo-blog",
347
+ "kind": "worker",
348
+ "apiUrl": "https://blog.topolo.app",
349
+ "domains": [
350
+ "blog.topolo.app"
351
+ ],
352
+ "routes": [
353
+ "blog.topolo.app"
354
+ ],
355
+ "appId": "blog"
356
+ },
357
+ {
358
+ "name": "topolo-blog-api",
359
+ "kind": "worker",
360
+ "apiUrl": null,
361
+ "domains": [],
362
+ "routes": [],
363
+ "appId": null
364
+ }
365
+ ]
366
+ },
331
367
  "books": {
332
368
  "id": "books",
333
369
  "appDir": "TopoloBooks",
@@ -345,7 +381,9 @@ var APPLICATIONS = {
345
381
  "domains": [
346
382
  "books.topolo.app"
347
383
  ],
348
- "routes": [],
384
+ "routes": [
385
+ "books.topolo.app"
386
+ ],
349
387
  "appId": "books"
350
388
  },
351
389
  {
@@ -495,7 +533,9 @@ var APPLICATIONS = {
495
533
  "domains": [
496
534
  "campaigns.topolo.app"
497
535
  ],
498
- "routes": [],
536
+ "routes": [
537
+ "campaigns.topolo.app"
538
+ ],
499
539
  "appId": "campaigns"
500
540
  },
501
541
  {
@@ -637,7 +677,9 @@ var APPLICATIONS = {
637
677
  "domains": [
638
678
  "compose.topolo.app"
639
679
  ],
640
- "routes": [],
680
+ "routes": [
681
+ "compose.topolo.app"
682
+ ],
641
683
  "appId": "compose"
642
684
  },
643
685
  {
@@ -667,7 +709,9 @@ var APPLICATIONS = {
667
709
  "domains": [
668
710
  "consent.topolo.app"
669
711
  ],
670
- "routes": [],
712
+ "routes": [
713
+ "consent.topolo.app"
714
+ ],
671
715
  "appId": "consent"
672
716
  },
673
717
  {
@@ -705,11 +749,45 @@ var APPLICATIONS = {
705
749
  "domains": [
706
750
  "crm.topolo.app"
707
751
  ],
708
- "routes": [],
752
+ "routes": [
753
+ "crm.topolo.app"
754
+ ],
709
755
  "appId": "crm"
710
756
  }
711
757
  ]
712
758
  },
759
+ "design": {
760
+ "id": "design",
761
+ "appDir": "TopoloDesign",
762
+ "name": "topolo-design",
763
+ "packageName": "@topolo-io/design",
764
+ "productionUrl": "https://design.topolo.app",
765
+ "services": [
766
+ "design"
767
+ ],
768
+ "deployTargets": [
769
+ {
770
+ "name": "topolo-design",
771
+ "kind": "worker",
772
+ "apiUrl": "https://design.topolo.app",
773
+ "domains": [
774
+ "design.topolo.app"
775
+ ],
776
+ "routes": [
777
+ "design.topolo.app"
778
+ ],
779
+ "appId": "design"
780
+ },
781
+ {
782
+ "name": "topolo-design-api",
783
+ "kind": "worker",
784
+ "apiUrl": null,
785
+ "domains": [],
786
+ "routes": [],
787
+ "appId": null
788
+ }
789
+ ]
790
+ },
713
791
  "developers": {
714
792
  "id": "developers",
715
793
  "appDir": "TopoloDevelopers",
@@ -735,7 +813,9 @@ var APPLICATIONS = {
735
813
  "domains": [
736
814
  "developers.topolo.app"
737
815
  ],
738
- "routes": [],
816
+ "routes": [
817
+ "developers.topolo.app"
818
+ ],
739
819
  "appId": "developers"
740
820
  },
741
821
  {
@@ -765,7 +845,9 @@ var APPLICATIONS = {
765
845
  "domains": [
766
846
  "director.topolo.app"
767
847
  ],
768
- "routes": [],
848
+ "routes": [
849
+ "director.topolo.app"
850
+ ],
769
851
  "appId": "director"
770
852
  },
771
853
  {
@@ -873,7 +955,9 @@ var APPLICATIONS = {
873
955
  "domains": [
874
956
  "flow.topolo.app"
875
957
  ],
876
- "routes": [],
958
+ "routes": [
959
+ "flow.topolo.app"
960
+ ],
877
961
  "appId": "flow"
878
962
  },
879
963
  {
@@ -903,7 +987,9 @@ var APPLICATIONS = {
903
987
  "domains": [
904
988
  "forecast.topolo.app"
905
989
  ],
906
- "routes": [],
990
+ "routes": [
991
+ "forecast.topolo.app"
992
+ ],
907
993
  "appId": "forecast"
908
994
  },
909
995
  {
@@ -933,7 +1019,9 @@ var APPLICATIONS = {
933
1019
  "domains": [
934
1020
  "forms.topolo.app"
935
1021
  ],
936
- "routes": [],
1022
+ "routes": [
1023
+ "forms.topolo.app"
1024
+ ],
937
1025
  "appId": "forms"
938
1026
  },
939
1027
  {
@@ -995,7 +1083,9 @@ var APPLICATIONS = {
995
1083
  "domains": [
996
1084
  "insights.topolo.app"
997
1085
  ],
998
- "routes": [],
1086
+ "routes": [
1087
+ "insights.topolo.app"
1088
+ ],
999
1089
  "appId": "insights"
1000
1090
  },
1001
1091
  {
@@ -1025,7 +1115,9 @@ var APPLICATIONS = {
1025
1115
  "domains": [
1026
1116
  "inventory.topolo.app"
1027
1117
  ],
1028
- "routes": [],
1118
+ "routes": [
1119
+ "inventory.topolo.app"
1120
+ ],
1029
1121
  "appId": "inventory"
1030
1122
  },
1031
1123
  {
@@ -1379,7 +1471,9 @@ var APPLICATIONS = {
1379
1471
  "domains": [
1380
1472
  "pay.topolo.app"
1381
1473
  ],
1382
- "routes": [],
1474
+ "routes": [
1475
+ "pay.topolo.app"
1476
+ ],
1383
1477
  "appId": "pay"
1384
1478
  },
1385
1479
  {
@@ -1409,7 +1503,9 @@ var APPLICATIONS = {
1409
1503
  "domains": [
1410
1504
  "people.topolo.app"
1411
1505
  ],
1412
- "routes": [],
1506
+ "routes": [
1507
+ "people.topolo.app"
1508
+ ],
1413
1509
  "appId": "people"
1414
1510
  },
1415
1511
  {
@@ -1488,7 +1584,9 @@ var APPLICATIONS = {
1488
1584
  "domains": [
1489
1585
  "roadmapper.topolo.app"
1490
1586
  ],
1491
- "routes": [],
1587
+ "routes": [
1588
+ "roadmapper.topolo.app"
1589
+ ],
1492
1590
  "appId": "roadmapper"
1493
1591
  },
1494
1592
  {
@@ -1518,7 +1616,9 @@ var APPLICATIONS = {
1518
1616
  "domains": [
1519
1617
  "sign.topolo.app"
1520
1618
  ],
1521
- "routes": [],
1619
+ "routes": [
1620
+ "sign.topolo.app"
1621
+ ],
1522
1622
  "appId": "sign"
1523
1623
  },
1524
1624
  {
@@ -1632,7 +1732,9 @@ var APPLICATIONS = {
1632
1732
  "domains": [
1633
1733
  "spaces.topolo.app"
1634
1734
  ],
1635
- "routes": [],
1735
+ "routes": [
1736
+ "spaces.topolo.app"
1737
+ ],
1636
1738
  "appId": "spaces"
1637
1739
  },
1638
1740
  {
@@ -1750,7 +1852,9 @@ var APPLICATIONS = {
1750
1852
  "domains": [
1751
1853
  "survey.topolo.app"
1752
1854
  ],
1753
- "routes": [],
1855
+ "routes": [
1856
+ "survey.topolo.app"
1857
+ ],
1754
1858
  "appId": "survey"
1755
1859
  },
1756
1860
  {
@@ -3700,10 +3804,19 @@ function mapActionInput(action, input) {
3700
3804
  delete remaining[key];
3701
3805
  return encodeURIComponent(String(value));
3702
3806
  });
3703
- const explicitQuery = plainObject(remaining.query);
3704
- delete remaining.query;
3705
- const explicitBody = Object.prototype.hasOwnProperty.call(remaining, "body") ? remaining.body : void 0;
3706
- delete remaining.body;
3807
+ const schemaProperties = plainObject(plainObject(action.inputSchema).properties);
3808
+ const schemaOwnsQuery = Object.prototype.hasOwnProperty.call(schemaProperties, "query");
3809
+ const schemaOwnsBody = Object.prototype.hasOwnProperty.call(schemaProperties, "body");
3810
+ let explicitQuery = {};
3811
+ if (!schemaOwnsQuery) {
3812
+ explicitQuery = plainObject(remaining.query);
3813
+ delete remaining.query;
3814
+ }
3815
+ let explicitBody;
3816
+ if (!schemaOwnsBody) {
3817
+ explicitBody = Object.prototype.hasOwnProperty.call(remaining, "body") ? remaining.body : void 0;
3818
+ delete remaining.body;
3819
+ }
3707
3820
  if (action.method === "GET") {
3708
3821
  return {
3709
3822
  path,
package/dist/index.d.cts CHANGED
@@ -528,6 +528,7 @@ declare const APP_API_URLS: {
528
528
  readonly agent: "https://agent.topolo.app";
529
529
  readonly auth: "https://auth.topolo.app";
530
530
  readonly backup: "https://backup.topolo.app";
531
+ readonly blog: "https://blog.topolo.app";
531
532
  readonly books: "https://books.topolo.app";
532
533
  readonly brand: "https://brand.topolo.app";
533
534
  readonly bugfix: "https://bugfix.topolo.app";
@@ -540,6 +541,7 @@ declare const APP_API_URLS: {
540
541
  readonly compose: "https://compose.topolo.app";
541
542
  readonly consent: "https://consent.topolo.app";
542
543
  readonly crm: "https://crm.topolo.app";
544
+ readonly design: "https://design.topolo.app";
543
545
  readonly developers: "https://developers.topolo.app";
544
546
  readonly director: "https://director.topolo.app";
545
547
  readonly feed: "https://feed.topolo.app";
@@ -613,7 +615,7 @@ declare const APPLICATIONS: {
613
615
  readonly kind: "worker";
614
616
  readonly apiUrl: "https://agent.topolo.app";
615
617
  readonly domains: readonly ["agent.topolo.app"];
616
- readonly routes: readonly [];
618
+ readonly routes: readonly ["agent.topolo.app"];
617
619
  readonly appId: "agent";
618
620
  }, {
619
621
  readonly name: "topolo-agent-api";
@@ -656,6 +658,29 @@ declare const APPLICATIONS: {
656
658
  readonly appId: "backup";
657
659
  }];
658
660
  };
661
+ readonly blog: {
662
+ readonly id: "blog";
663
+ readonly appDir: "TopoloBlog";
664
+ readonly name: "topolo-blog";
665
+ readonly packageName: "topolo-blog";
666
+ readonly productionUrl: "https://blog.topolo.app";
667
+ readonly services: readonly ["blog"];
668
+ readonly deployTargets: readonly [{
669
+ readonly name: "topolo-blog";
670
+ readonly kind: "worker";
671
+ readonly apiUrl: "https://blog.topolo.app";
672
+ readonly domains: readonly ["blog.topolo.app"];
673
+ readonly routes: readonly ["blog.topolo.app"];
674
+ readonly appId: "blog";
675
+ }, {
676
+ readonly name: "topolo-blog-api";
677
+ readonly kind: "worker";
678
+ readonly apiUrl: null;
679
+ readonly domains: readonly [];
680
+ readonly routes: readonly [];
681
+ readonly appId: null;
682
+ }];
683
+ };
659
684
  readonly books: {
660
685
  readonly id: "books";
661
686
  readonly appDir: "TopoloBooks";
@@ -668,7 +693,7 @@ declare const APPLICATIONS: {
668
693
  readonly kind: "worker";
669
694
  readonly apiUrl: "https://books.topolo.app";
670
695
  readonly domains: readonly ["books.topolo.app"];
671
- readonly routes: readonly [];
696
+ readonly routes: readonly ["books.topolo.app"];
672
697
  readonly appId: "books";
673
698
  }, {
674
699
  readonly name: "topolo-books-api";
@@ -776,7 +801,7 @@ declare const APPLICATIONS: {
776
801
  readonly kind: "worker";
777
802
  readonly apiUrl: "https://campaigns.topolo.app";
778
803
  readonly domains: readonly ["campaigns.topolo.app"];
779
- readonly routes: readonly [];
804
+ readonly routes: readonly ["campaigns.topolo.app"];
780
805
  readonly appId: "campaigns";
781
806
  }, {
782
807
  readonly name: "topolo-campaigns-api";
@@ -875,7 +900,7 @@ declare const APPLICATIONS: {
875
900
  readonly kind: "worker";
876
901
  readonly apiUrl: "https://compose.topolo.app";
877
902
  readonly domains: readonly ["compose.topolo.app"];
878
- readonly routes: readonly [];
903
+ readonly routes: readonly ["compose.topolo.app"];
879
904
  readonly appId: "compose";
880
905
  }, {
881
906
  readonly name: "topolo-compose-api";
@@ -898,7 +923,7 @@ declare const APPLICATIONS: {
898
923
  readonly kind: "worker";
899
924
  readonly apiUrl: "https://consent.topolo.app";
900
925
  readonly domains: readonly ["consent.topolo.app"];
901
- readonly routes: readonly [];
926
+ readonly routes: readonly ["consent.topolo.app"];
902
927
  readonly appId: "consent";
903
928
  }, {
904
929
  readonly name: "topolo-consent-api";
@@ -928,10 +953,33 @@ declare const APPLICATIONS: {
928
953
  readonly kind: "worker";
929
954
  readonly apiUrl: "https://crm.topolo.app";
930
955
  readonly domains: readonly ["crm.topolo.app"];
931
- readonly routes: readonly [];
956
+ readonly routes: readonly ["crm.topolo.app"];
932
957
  readonly appId: "crm";
933
958
  }];
934
959
  };
960
+ readonly design: {
961
+ readonly id: "design";
962
+ readonly appDir: "TopoloDesign";
963
+ readonly name: "topolo-design";
964
+ readonly packageName: "@topolo-io/design";
965
+ readonly productionUrl: "https://design.topolo.app";
966
+ readonly services: readonly ["design"];
967
+ readonly deployTargets: readonly [{
968
+ readonly name: "topolo-design";
969
+ readonly kind: "worker";
970
+ readonly apiUrl: "https://design.topolo.app";
971
+ readonly domains: readonly ["design.topolo.app"];
972
+ readonly routes: readonly ["design.topolo.app"];
973
+ readonly appId: "design";
974
+ }, {
975
+ readonly name: "topolo-design-api";
976
+ readonly kind: "worker";
977
+ readonly apiUrl: null;
978
+ readonly domains: readonly [];
979
+ readonly routes: readonly [];
980
+ readonly appId: null;
981
+ }];
982
+ };
935
983
  readonly developers: {
936
984
  readonly id: "developers";
937
985
  readonly appDir: "TopoloDevelopers";
@@ -951,7 +999,7 @@ declare const APPLICATIONS: {
951
999
  readonly kind: "worker";
952
1000
  readonly apiUrl: "https://developers.topolo.app";
953
1001
  readonly domains: readonly ["developers.topolo.app"];
954
- readonly routes: readonly [];
1002
+ readonly routes: readonly ["developers.topolo.app"];
955
1003
  readonly appId: "developers";
956
1004
  }, {
957
1005
  readonly name: "topolo-developers-api";
@@ -974,7 +1022,7 @@ declare const APPLICATIONS: {
974
1022
  readonly kind: "worker";
975
1023
  readonly apiUrl: "https://director.topolo.app";
976
1024
  readonly domains: readonly ["director.topolo.app"];
977
- readonly routes: readonly [];
1025
+ readonly routes: readonly ["director.topolo.app"];
978
1026
  readonly appId: "director";
979
1027
  }, {
980
1028
  readonly name: "topolo-director-api";
@@ -1050,7 +1098,7 @@ declare const APPLICATIONS: {
1050
1098
  readonly kind: "worker";
1051
1099
  readonly apiUrl: "https://flow.topolo.app";
1052
1100
  readonly domains: readonly ["flow.topolo.app"];
1053
- readonly routes: readonly [];
1101
+ readonly routes: readonly ["flow.topolo.app"];
1054
1102
  readonly appId: "flow";
1055
1103
  }, {
1056
1104
  readonly name: "topolo-flow-api";
@@ -1073,7 +1121,7 @@ declare const APPLICATIONS: {
1073
1121
  readonly kind: "worker";
1074
1122
  readonly apiUrl: "https://forecast.topolo.app";
1075
1123
  readonly domains: readonly ["forecast.topolo.app"];
1076
- readonly routes: readonly [];
1124
+ readonly routes: readonly ["forecast.topolo.app"];
1077
1125
  readonly appId: "forecast";
1078
1126
  }, {
1079
1127
  readonly name: "topolo-forecast-api";
@@ -1096,7 +1144,7 @@ declare const APPLICATIONS: {
1096
1144
  readonly kind: "worker";
1097
1145
  readonly apiUrl: "https://forms.topolo.app";
1098
1146
  readonly domains: readonly ["forms.topolo.app"];
1099
- readonly routes: readonly [];
1147
+ readonly routes: readonly ["forms.topolo.app"];
1100
1148
  readonly appId: "forms";
1101
1149
  }, {
1102
1150
  readonly name: "topolo-forms-api";
@@ -1142,7 +1190,7 @@ declare const APPLICATIONS: {
1142
1190
  readonly kind: "worker";
1143
1191
  readonly apiUrl: "https://insights.topolo.app";
1144
1192
  readonly domains: readonly ["insights.topolo.app"];
1145
- readonly routes: readonly [];
1193
+ readonly routes: readonly ["insights.topolo.app"];
1146
1194
  readonly appId: "insights";
1147
1195
  }, {
1148
1196
  readonly name: "topolo-insights-api";
@@ -1165,7 +1213,7 @@ declare const APPLICATIONS: {
1165
1213
  readonly kind: "worker";
1166
1214
  readonly apiUrl: "https://inventory.topolo.app";
1167
1215
  readonly domains: readonly ["inventory.topolo.app"];
1168
- readonly routes: readonly [];
1216
+ readonly routes: readonly ["inventory.topolo.app"];
1169
1217
  readonly appId: "inventory";
1170
1218
  }, {
1171
1219
  readonly name: "topolo-inventory-api";
@@ -1411,7 +1459,7 @@ declare const APPLICATIONS: {
1411
1459
  readonly kind: "worker";
1412
1460
  readonly apiUrl: "https://pay.topolo.app";
1413
1461
  readonly domains: readonly ["pay.topolo.app"];
1414
- readonly routes: readonly [];
1462
+ readonly routes: readonly ["pay.topolo.app"];
1415
1463
  readonly appId: "pay";
1416
1464
  }, {
1417
1465
  readonly name: "topolo-pay-api";
@@ -1434,7 +1482,7 @@ declare const APPLICATIONS: {
1434
1482
  readonly kind: "worker";
1435
1483
  readonly apiUrl: "https://people.topolo.app";
1436
1484
  readonly domains: readonly ["people.topolo.app"];
1437
- readonly routes: readonly [];
1485
+ readonly routes: readonly ["people.topolo.app"];
1438
1486
  readonly appId: "people";
1439
1487
  }, {
1440
1488
  readonly name: "topolo-people-api";
@@ -1487,7 +1535,7 @@ declare const APPLICATIONS: {
1487
1535
  readonly kind: "worker";
1488
1536
  readonly apiUrl: "https://roadmapper.topolo.app";
1489
1537
  readonly domains: readonly ["roadmapper.topolo.app"];
1490
- readonly routes: readonly [];
1538
+ readonly routes: readonly ["roadmapper.topolo.app"];
1491
1539
  readonly appId: "roadmapper";
1492
1540
  }, {
1493
1541
  readonly name: "topolo-roadmapper-api";
@@ -1510,7 +1558,7 @@ declare const APPLICATIONS: {
1510
1558
  readonly kind: "worker";
1511
1559
  readonly apiUrl: "https://sign.topolo.app";
1512
1560
  readonly domains: readonly ["sign.topolo.app"];
1513
- readonly routes: readonly [];
1561
+ readonly routes: readonly ["sign.topolo.app"];
1514
1562
  readonly appId: "sign";
1515
1563
  }, {
1516
1564
  readonly name: "topolo-sign-api";
@@ -1593,7 +1641,7 @@ declare const APPLICATIONS: {
1593
1641
  readonly kind: "worker";
1594
1642
  readonly apiUrl: "https://spaces.topolo.app";
1595
1643
  readonly domains: readonly ["spaces.topolo.app"];
1596
- readonly routes: readonly [];
1644
+ readonly routes: readonly ["spaces.topolo.app"];
1597
1645
  readonly appId: "spaces";
1598
1646
  }, {
1599
1647
  readonly name: "topolo-spaces-api";
@@ -1678,7 +1726,7 @@ declare const APPLICATIONS: {
1678
1726
  readonly kind: "worker";
1679
1727
  readonly apiUrl: "https://survey.topolo.app";
1680
1728
  readonly domains: readonly ["survey.topolo.app"];
1681
- readonly routes: readonly [];
1729
+ readonly routes: readonly ["survey.topolo.app"];
1682
1730
  readonly appId: "survey";
1683
1731
  }, {
1684
1732
  readonly name: "topolo-survey-api";
package/dist/index.d.ts CHANGED
@@ -528,6 +528,7 @@ declare const APP_API_URLS: {
528
528
  readonly agent: "https://agent.topolo.app";
529
529
  readonly auth: "https://auth.topolo.app";
530
530
  readonly backup: "https://backup.topolo.app";
531
+ readonly blog: "https://blog.topolo.app";
531
532
  readonly books: "https://books.topolo.app";
532
533
  readonly brand: "https://brand.topolo.app";
533
534
  readonly bugfix: "https://bugfix.topolo.app";
@@ -540,6 +541,7 @@ declare const APP_API_URLS: {
540
541
  readonly compose: "https://compose.topolo.app";
541
542
  readonly consent: "https://consent.topolo.app";
542
543
  readonly crm: "https://crm.topolo.app";
544
+ readonly design: "https://design.topolo.app";
543
545
  readonly developers: "https://developers.topolo.app";
544
546
  readonly director: "https://director.topolo.app";
545
547
  readonly feed: "https://feed.topolo.app";
@@ -613,7 +615,7 @@ declare const APPLICATIONS: {
613
615
  readonly kind: "worker";
614
616
  readonly apiUrl: "https://agent.topolo.app";
615
617
  readonly domains: readonly ["agent.topolo.app"];
616
- readonly routes: readonly [];
618
+ readonly routes: readonly ["agent.topolo.app"];
617
619
  readonly appId: "agent";
618
620
  }, {
619
621
  readonly name: "topolo-agent-api";
@@ -656,6 +658,29 @@ declare const APPLICATIONS: {
656
658
  readonly appId: "backup";
657
659
  }];
658
660
  };
661
+ readonly blog: {
662
+ readonly id: "blog";
663
+ readonly appDir: "TopoloBlog";
664
+ readonly name: "topolo-blog";
665
+ readonly packageName: "topolo-blog";
666
+ readonly productionUrl: "https://blog.topolo.app";
667
+ readonly services: readonly ["blog"];
668
+ readonly deployTargets: readonly [{
669
+ readonly name: "topolo-blog";
670
+ readonly kind: "worker";
671
+ readonly apiUrl: "https://blog.topolo.app";
672
+ readonly domains: readonly ["blog.topolo.app"];
673
+ readonly routes: readonly ["blog.topolo.app"];
674
+ readonly appId: "blog";
675
+ }, {
676
+ readonly name: "topolo-blog-api";
677
+ readonly kind: "worker";
678
+ readonly apiUrl: null;
679
+ readonly domains: readonly [];
680
+ readonly routes: readonly [];
681
+ readonly appId: null;
682
+ }];
683
+ };
659
684
  readonly books: {
660
685
  readonly id: "books";
661
686
  readonly appDir: "TopoloBooks";
@@ -668,7 +693,7 @@ declare const APPLICATIONS: {
668
693
  readonly kind: "worker";
669
694
  readonly apiUrl: "https://books.topolo.app";
670
695
  readonly domains: readonly ["books.topolo.app"];
671
- readonly routes: readonly [];
696
+ readonly routes: readonly ["books.topolo.app"];
672
697
  readonly appId: "books";
673
698
  }, {
674
699
  readonly name: "topolo-books-api";
@@ -776,7 +801,7 @@ declare const APPLICATIONS: {
776
801
  readonly kind: "worker";
777
802
  readonly apiUrl: "https://campaigns.topolo.app";
778
803
  readonly domains: readonly ["campaigns.topolo.app"];
779
- readonly routes: readonly [];
804
+ readonly routes: readonly ["campaigns.topolo.app"];
780
805
  readonly appId: "campaigns";
781
806
  }, {
782
807
  readonly name: "topolo-campaigns-api";
@@ -875,7 +900,7 @@ declare const APPLICATIONS: {
875
900
  readonly kind: "worker";
876
901
  readonly apiUrl: "https://compose.topolo.app";
877
902
  readonly domains: readonly ["compose.topolo.app"];
878
- readonly routes: readonly [];
903
+ readonly routes: readonly ["compose.topolo.app"];
879
904
  readonly appId: "compose";
880
905
  }, {
881
906
  readonly name: "topolo-compose-api";
@@ -898,7 +923,7 @@ declare const APPLICATIONS: {
898
923
  readonly kind: "worker";
899
924
  readonly apiUrl: "https://consent.topolo.app";
900
925
  readonly domains: readonly ["consent.topolo.app"];
901
- readonly routes: readonly [];
926
+ readonly routes: readonly ["consent.topolo.app"];
902
927
  readonly appId: "consent";
903
928
  }, {
904
929
  readonly name: "topolo-consent-api";
@@ -928,10 +953,33 @@ declare const APPLICATIONS: {
928
953
  readonly kind: "worker";
929
954
  readonly apiUrl: "https://crm.topolo.app";
930
955
  readonly domains: readonly ["crm.topolo.app"];
931
- readonly routes: readonly [];
956
+ readonly routes: readonly ["crm.topolo.app"];
932
957
  readonly appId: "crm";
933
958
  }];
934
959
  };
960
+ readonly design: {
961
+ readonly id: "design";
962
+ readonly appDir: "TopoloDesign";
963
+ readonly name: "topolo-design";
964
+ readonly packageName: "@topolo-io/design";
965
+ readonly productionUrl: "https://design.topolo.app";
966
+ readonly services: readonly ["design"];
967
+ readonly deployTargets: readonly [{
968
+ readonly name: "topolo-design";
969
+ readonly kind: "worker";
970
+ readonly apiUrl: "https://design.topolo.app";
971
+ readonly domains: readonly ["design.topolo.app"];
972
+ readonly routes: readonly ["design.topolo.app"];
973
+ readonly appId: "design";
974
+ }, {
975
+ readonly name: "topolo-design-api";
976
+ readonly kind: "worker";
977
+ readonly apiUrl: null;
978
+ readonly domains: readonly [];
979
+ readonly routes: readonly [];
980
+ readonly appId: null;
981
+ }];
982
+ };
935
983
  readonly developers: {
936
984
  readonly id: "developers";
937
985
  readonly appDir: "TopoloDevelopers";
@@ -951,7 +999,7 @@ declare const APPLICATIONS: {
951
999
  readonly kind: "worker";
952
1000
  readonly apiUrl: "https://developers.topolo.app";
953
1001
  readonly domains: readonly ["developers.topolo.app"];
954
- readonly routes: readonly [];
1002
+ readonly routes: readonly ["developers.topolo.app"];
955
1003
  readonly appId: "developers";
956
1004
  }, {
957
1005
  readonly name: "topolo-developers-api";
@@ -974,7 +1022,7 @@ declare const APPLICATIONS: {
974
1022
  readonly kind: "worker";
975
1023
  readonly apiUrl: "https://director.topolo.app";
976
1024
  readonly domains: readonly ["director.topolo.app"];
977
- readonly routes: readonly [];
1025
+ readonly routes: readonly ["director.topolo.app"];
978
1026
  readonly appId: "director";
979
1027
  }, {
980
1028
  readonly name: "topolo-director-api";
@@ -1050,7 +1098,7 @@ declare const APPLICATIONS: {
1050
1098
  readonly kind: "worker";
1051
1099
  readonly apiUrl: "https://flow.topolo.app";
1052
1100
  readonly domains: readonly ["flow.topolo.app"];
1053
- readonly routes: readonly [];
1101
+ readonly routes: readonly ["flow.topolo.app"];
1054
1102
  readonly appId: "flow";
1055
1103
  }, {
1056
1104
  readonly name: "topolo-flow-api";
@@ -1073,7 +1121,7 @@ declare const APPLICATIONS: {
1073
1121
  readonly kind: "worker";
1074
1122
  readonly apiUrl: "https://forecast.topolo.app";
1075
1123
  readonly domains: readonly ["forecast.topolo.app"];
1076
- readonly routes: readonly [];
1124
+ readonly routes: readonly ["forecast.topolo.app"];
1077
1125
  readonly appId: "forecast";
1078
1126
  }, {
1079
1127
  readonly name: "topolo-forecast-api";
@@ -1096,7 +1144,7 @@ declare const APPLICATIONS: {
1096
1144
  readonly kind: "worker";
1097
1145
  readonly apiUrl: "https://forms.topolo.app";
1098
1146
  readonly domains: readonly ["forms.topolo.app"];
1099
- readonly routes: readonly [];
1147
+ readonly routes: readonly ["forms.topolo.app"];
1100
1148
  readonly appId: "forms";
1101
1149
  }, {
1102
1150
  readonly name: "topolo-forms-api";
@@ -1142,7 +1190,7 @@ declare const APPLICATIONS: {
1142
1190
  readonly kind: "worker";
1143
1191
  readonly apiUrl: "https://insights.topolo.app";
1144
1192
  readonly domains: readonly ["insights.topolo.app"];
1145
- readonly routes: readonly [];
1193
+ readonly routes: readonly ["insights.topolo.app"];
1146
1194
  readonly appId: "insights";
1147
1195
  }, {
1148
1196
  readonly name: "topolo-insights-api";
@@ -1165,7 +1213,7 @@ declare const APPLICATIONS: {
1165
1213
  readonly kind: "worker";
1166
1214
  readonly apiUrl: "https://inventory.topolo.app";
1167
1215
  readonly domains: readonly ["inventory.topolo.app"];
1168
- readonly routes: readonly [];
1216
+ readonly routes: readonly ["inventory.topolo.app"];
1169
1217
  readonly appId: "inventory";
1170
1218
  }, {
1171
1219
  readonly name: "topolo-inventory-api";
@@ -1411,7 +1459,7 @@ declare const APPLICATIONS: {
1411
1459
  readonly kind: "worker";
1412
1460
  readonly apiUrl: "https://pay.topolo.app";
1413
1461
  readonly domains: readonly ["pay.topolo.app"];
1414
- readonly routes: readonly [];
1462
+ readonly routes: readonly ["pay.topolo.app"];
1415
1463
  readonly appId: "pay";
1416
1464
  }, {
1417
1465
  readonly name: "topolo-pay-api";
@@ -1434,7 +1482,7 @@ declare const APPLICATIONS: {
1434
1482
  readonly kind: "worker";
1435
1483
  readonly apiUrl: "https://people.topolo.app";
1436
1484
  readonly domains: readonly ["people.topolo.app"];
1437
- readonly routes: readonly [];
1485
+ readonly routes: readonly ["people.topolo.app"];
1438
1486
  readonly appId: "people";
1439
1487
  }, {
1440
1488
  readonly name: "topolo-people-api";
@@ -1487,7 +1535,7 @@ declare const APPLICATIONS: {
1487
1535
  readonly kind: "worker";
1488
1536
  readonly apiUrl: "https://roadmapper.topolo.app";
1489
1537
  readonly domains: readonly ["roadmapper.topolo.app"];
1490
- readonly routes: readonly [];
1538
+ readonly routes: readonly ["roadmapper.topolo.app"];
1491
1539
  readonly appId: "roadmapper";
1492
1540
  }, {
1493
1541
  readonly name: "topolo-roadmapper-api";
@@ -1510,7 +1558,7 @@ declare const APPLICATIONS: {
1510
1558
  readonly kind: "worker";
1511
1559
  readonly apiUrl: "https://sign.topolo.app";
1512
1560
  readonly domains: readonly ["sign.topolo.app"];
1513
- readonly routes: readonly [];
1561
+ readonly routes: readonly ["sign.topolo.app"];
1514
1562
  readonly appId: "sign";
1515
1563
  }, {
1516
1564
  readonly name: "topolo-sign-api";
@@ -1593,7 +1641,7 @@ declare const APPLICATIONS: {
1593
1641
  readonly kind: "worker";
1594
1642
  readonly apiUrl: "https://spaces.topolo.app";
1595
1643
  readonly domains: readonly ["spaces.topolo.app"];
1596
- readonly routes: readonly [];
1644
+ readonly routes: readonly ["spaces.topolo.app"];
1597
1645
  readonly appId: "spaces";
1598
1646
  }, {
1599
1647
  readonly name: "topolo-spaces-api";
@@ -1678,7 +1726,7 @@ declare const APPLICATIONS: {
1678
1726
  readonly kind: "worker";
1679
1727
  readonly apiUrl: "https://survey.topolo.app";
1680
1728
  readonly domains: readonly ["survey.topolo.app"];
1681
- readonly routes: readonly [];
1729
+ readonly routes: readonly ["survey.topolo.app"];
1682
1730
  readonly appId: "survey";
1683
1731
  }, {
1684
1732
  readonly name: "topolo-survey-api";
package/dist/index.js CHANGED
@@ -106,6 +106,7 @@ var APP_API_URLS = {
106
106
  agent: "https://agent.topolo.app",
107
107
  auth: "https://auth.topolo.app",
108
108
  backup: "https://backup.topolo.app",
109
+ blog: "https://blog.topolo.app",
109
110
  books: "https://books.topolo.app",
110
111
  brand: "https://brand.topolo.app",
111
112
  bugfix: "https://bugfix.topolo.app",
@@ -118,6 +119,7 @@ var APP_API_URLS = {
118
119
  compose: "https://compose.topolo.app",
119
120
  consent: "https://consent.topolo.app",
120
121
  crm: "https://crm.topolo.app",
122
+ design: "https://design.topolo.app",
121
123
  developers: "https://developers.topolo.app",
122
124
  director: "https://director.topolo.app",
123
125
  feed: "https://feed.topolo.app",
@@ -203,7 +205,9 @@ var APPLICATIONS = {
203
205
  "domains": [
204
206
  "agent.topolo.app"
205
207
  ],
206
- "routes": [],
208
+ "routes": [
209
+ "agent.topolo.app"
210
+ ],
207
211
  "appId": "agent"
208
212
  },
209
213
  {
@@ -264,6 +268,38 @@ var APPLICATIONS = {
264
268
  }
265
269
  ]
266
270
  },
271
+ "blog": {
272
+ "id": "blog",
273
+ "appDir": "TopoloBlog",
274
+ "name": "topolo-blog",
275
+ "packageName": "topolo-blog",
276
+ "productionUrl": "https://blog.topolo.app",
277
+ "services": [
278
+ "blog"
279
+ ],
280
+ "deployTargets": [
281
+ {
282
+ "name": "topolo-blog",
283
+ "kind": "worker",
284
+ "apiUrl": "https://blog.topolo.app",
285
+ "domains": [
286
+ "blog.topolo.app"
287
+ ],
288
+ "routes": [
289
+ "blog.topolo.app"
290
+ ],
291
+ "appId": "blog"
292
+ },
293
+ {
294
+ "name": "topolo-blog-api",
295
+ "kind": "worker",
296
+ "apiUrl": null,
297
+ "domains": [],
298
+ "routes": [],
299
+ "appId": null
300
+ }
301
+ ]
302
+ },
267
303
  "books": {
268
304
  "id": "books",
269
305
  "appDir": "TopoloBooks",
@@ -281,7 +317,9 @@ var APPLICATIONS = {
281
317
  "domains": [
282
318
  "books.topolo.app"
283
319
  ],
284
- "routes": [],
320
+ "routes": [
321
+ "books.topolo.app"
322
+ ],
285
323
  "appId": "books"
286
324
  },
287
325
  {
@@ -431,7 +469,9 @@ var APPLICATIONS = {
431
469
  "domains": [
432
470
  "campaigns.topolo.app"
433
471
  ],
434
- "routes": [],
472
+ "routes": [
473
+ "campaigns.topolo.app"
474
+ ],
435
475
  "appId": "campaigns"
436
476
  },
437
477
  {
@@ -573,7 +613,9 @@ var APPLICATIONS = {
573
613
  "domains": [
574
614
  "compose.topolo.app"
575
615
  ],
576
- "routes": [],
616
+ "routes": [
617
+ "compose.topolo.app"
618
+ ],
577
619
  "appId": "compose"
578
620
  },
579
621
  {
@@ -603,7 +645,9 @@ var APPLICATIONS = {
603
645
  "domains": [
604
646
  "consent.topolo.app"
605
647
  ],
606
- "routes": [],
648
+ "routes": [
649
+ "consent.topolo.app"
650
+ ],
607
651
  "appId": "consent"
608
652
  },
609
653
  {
@@ -641,11 +685,45 @@ var APPLICATIONS = {
641
685
  "domains": [
642
686
  "crm.topolo.app"
643
687
  ],
644
- "routes": [],
688
+ "routes": [
689
+ "crm.topolo.app"
690
+ ],
645
691
  "appId": "crm"
646
692
  }
647
693
  ]
648
694
  },
695
+ "design": {
696
+ "id": "design",
697
+ "appDir": "TopoloDesign",
698
+ "name": "topolo-design",
699
+ "packageName": "@topolo-io/design",
700
+ "productionUrl": "https://design.topolo.app",
701
+ "services": [
702
+ "design"
703
+ ],
704
+ "deployTargets": [
705
+ {
706
+ "name": "topolo-design",
707
+ "kind": "worker",
708
+ "apiUrl": "https://design.topolo.app",
709
+ "domains": [
710
+ "design.topolo.app"
711
+ ],
712
+ "routes": [
713
+ "design.topolo.app"
714
+ ],
715
+ "appId": "design"
716
+ },
717
+ {
718
+ "name": "topolo-design-api",
719
+ "kind": "worker",
720
+ "apiUrl": null,
721
+ "domains": [],
722
+ "routes": [],
723
+ "appId": null
724
+ }
725
+ ]
726
+ },
649
727
  "developers": {
650
728
  "id": "developers",
651
729
  "appDir": "TopoloDevelopers",
@@ -671,7 +749,9 @@ var APPLICATIONS = {
671
749
  "domains": [
672
750
  "developers.topolo.app"
673
751
  ],
674
- "routes": [],
752
+ "routes": [
753
+ "developers.topolo.app"
754
+ ],
675
755
  "appId": "developers"
676
756
  },
677
757
  {
@@ -701,7 +781,9 @@ var APPLICATIONS = {
701
781
  "domains": [
702
782
  "director.topolo.app"
703
783
  ],
704
- "routes": [],
784
+ "routes": [
785
+ "director.topolo.app"
786
+ ],
705
787
  "appId": "director"
706
788
  },
707
789
  {
@@ -809,7 +891,9 @@ var APPLICATIONS = {
809
891
  "domains": [
810
892
  "flow.topolo.app"
811
893
  ],
812
- "routes": [],
894
+ "routes": [
895
+ "flow.topolo.app"
896
+ ],
813
897
  "appId": "flow"
814
898
  },
815
899
  {
@@ -839,7 +923,9 @@ var APPLICATIONS = {
839
923
  "domains": [
840
924
  "forecast.topolo.app"
841
925
  ],
842
- "routes": [],
926
+ "routes": [
927
+ "forecast.topolo.app"
928
+ ],
843
929
  "appId": "forecast"
844
930
  },
845
931
  {
@@ -869,7 +955,9 @@ var APPLICATIONS = {
869
955
  "domains": [
870
956
  "forms.topolo.app"
871
957
  ],
872
- "routes": [],
958
+ "routes": [
959
+ "forms.topolo.app"
960
+ ],
873
961
  "appId": "forms"
874
962
  },
875
963
  {
@@ -931,7 +1019,9 @@ var APPLICATIONS = {
931
1019
  "domains": [
932
1020
  "insights.topolo.app"
933
1021
  ],
934
- "routes": [],
1022
+ "routes": [
1023
+ "insights.topolo.app"
1024
+ ],
935
1025
  "appId": "insights"
936
1026
  },
937
1027
  {
@@ -961,7 +1051,9 @@ var APPLICATIONS = {
961
1051
  "domains": [
962
1052
  "inventory.topolo.app"
963
1053
  ],
964
- "routes": [],
1054
+ "routes": [
1055
+ "inventory.topolo.app"
1056
+ ],
965
1057
  "appId": "inventory"
966
1058
  },
967
1059
  {
@@ -1315,7 +1407,9 @@ var APPLICATIONS = {
1315
1407
  "domains": [
1316
1408
  "pay.topolo.app"
1317
1409
  ],
1318
- "routes": [],
1410
+ "routes": [
1411
+ "pay.topolo.app"
1412
+ ],
1319
1413
  "appId": "pay"
1320
1414
  },
1321
1415
  {
@@ -1345,7 +1439,9 @@ var APPLICATIONS = {
1345
1439
  "domains": [
1346
1440
  "people.topolo.app"
1347
1441
  ],
1348
- "routes": [],
1442
+ "routes": [
1443
+ "people.topolo.app"
1444
+ ],
1349
1445
  "appId": "people"
1350
1446
  },
1351
1447
  {
@@ -1424,7 +1520,9 @@ var APPLICATIONS = {
1424
1520
  "domains": [
1425
1521
  "roadmapper.topolo.app"
1426
1522
  ],
1427
- "routes": [],
1523
+ "routes": [
1524
+ "roadmapper.topolo.app"
1525
+ ],
1428
1526
  "appId": "roadmapper"
1429
1527
  },
1430
1528
  {
@@ -1454,7 +1552,9 @@ var APPLICATIONS = {
1454
1552
  "domains": [
1455
1553
  "sign.topolo.app"
1456
1554
  ],
1457
- "routes": [],
1555
+ "routes": [
1556
+ "sign.topolo.app"
1557
+ ],
1458
1558
  "appId": "sign"
1459
1559
  },
1460
1560
  {
@@ -1568,7 +1668,9 @@ var APPLICATIONS = {
1568
1668
  "domains": [
1569
1669
  "spaces.topolo.app"
1570
1670
  ],
1571
- "routes": [],
1671
+ "routes": [
1672
+ "spaces.topolo.app"
1673
+ ],
1572
1674
  "appId": "spaces"
1573
1675
  },
1574
1676
  {
@@ -1686,7 +1788,9 @@ var APPLICATIONS = {
1686
1788
  "domains": [
1687
1789
  "survey.topolo.app"
1688
1790
  ],
1689
- "routes": [],
1791
+ "routes": [
1792
+ "survey.topolo.app"
1793
+ ],
1690
1794
  "appId": "survey"
1691
1795
  },
1692
1796
  {
@@ -3636,10 +3740,19 @@ function mapActionInput(action, input) {
3636
3740
  delete remaining[key];
3637
3741
  return encodeURIComponent(String(value));
3638
3742
  });
3639
- const explicitQuery = plainObject(remaining.query);
3640
- delete remaining.query;
3641
- const explicitBody = Object.prototype.hasOwnProperty.call(remaining, "body") ? remaining.body : void 0;
3642
- delete remaining.body;
3743
+ const schemaProperties = plainObject(plainObject(action.inputSchema).properties);
3744
+ const schemaOwnsQuery = Object.prototype.hasOwnProperty.call(schemaProperties, "query");
3745
+ const schemaOwnsBody = Object.prototype.hasOwnProperty.call(schemaProperties, "body");
3746
+ let explicitQuery = {};
3747
+ if (!schemaOwnsQuery) {
3748
+ explicitQuery = plainObject(remaining.query);
3749
+ delete remaining.query;
3750
+ }
3751
+ let explicitBody;
3752
+ if (!schemaOwnsBody) {
3753
+ explicitBody = Object.prototype.hasOwnProperty.call(remaining, "body") ? remaining.body : void 0;
3754
+ delete remaining.body;
3755
+ }
3643
3756
  if (action.method === "GET") {
3644
3757
  return {
3645
3758
  path,
@@ -110,6 +110,7 @@ var APP_API_URLS = {
110
110
  agent: "https://agent.topolo.app",
111
111
  auth: "https://auth.topolo.app",
112
112
  backup: "https://backup.topolo.app",
113
+ blog: "https://blog.topolo.app",
113
114
  books: "https://books.topolo.app",
114
115
  brand: "https://brand.topolo.app",
115
116
  bugfix: "https://bugfix.topolo.app",
@@ -122,6 +123,7 @@ var APP_API_URLS = {
122
123
  compose: "https://compose.topolo.app",
123
124
  consent: "https://consent.topolo.app",
124
125
  crm: "https://crm.topolo.app",
126
+ design: "https://design.topolo.app",
125
127
  developers: "https://developers.topolo.app",
126
128
  director: "https://director.topolo.app",
127
129
  feed: "https://feed.topolo.app",
@@ -66,6 +66,7 @@ var APP_API_URLS = {
66
66
  agent: "https://agent.topolo.app",
67
67
  auth: "https://auth.topolo.app",
68
68
  backup: "https://backup.topolo.app",
69
+ blog: "https://blog.topolo.app",
69
70
  books: "https://books.topolo.app",
70
71
  brand: "https://brand.topolo.app",
71
72
  bugfix: "https://bugfix.topolo.app",
@@ -78,6 +79,7 @@ var APP_API_URLS = {
78
79
  compose: "https://compose.topolo.app",
79
80
  consent: "https://consent.topolo.app",
80
81
  crm: "https://crm.topolo.app",
82
+ design: "https://design.topolo.app",
81
83
  developers: "https://developers.topolo.app",
82
84
  director: "https://director.topolo.app",
83
85
  feed: "https://feed.topolo.app",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@topolo/sdk",
3
- "version": "0.9.8",
4
- "topoloPublishedVersion": "0.9.8",
3
+ "version": "0.9.9",
4
+ "topoloPublishedVersion": "0.9.9",
5
5
  "description": "Typed client SDK for the Topolo platform. Used by TopoloCli, TopoloMCP, and third-party agents.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",