@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.
@@ -138,7 +138,7 @@ export const APPLICATIONS = {
138
138
  ],
139
139
  "deployTargets": [
140
140
  {
141
- "name": "bytes",
141
+ "name": "topolo-bytes",
142
142
  "kind": "pages",
143
143
  "apiUrl": null,
144
144
  "domains": [
@@ -148,7 +148,7 @@ export const APPLICATIONS = {
148
148
  "serviceId": null
149
149
  },
150
150
  {
151
- "name": "r2-media-manager-worker",
151
+ "name": "topolo-bytes-api",
152
152
  "kind": "worker",
153
153
  "apiUrl": "https://bytes-api.topolo.app",
154
154
  "domains": [
@@ -241,7 +241,7 @@ export const APPLICATIONS = {
241
241
  "cloudcontrol": {
242
242
  "id": "cloudcontrol",
243
243
  "appDir": "TopoloCloudControl",
244
- "name": "topolo-cloudcontrol",
244
+ "name": "cloudcontrol",
245
245
  "packageName": "topolo-cloudcontrol",
246
246
  "productionUrl": null,
247
247
  "services": [],
@@ -323,6 +323,30 @@ export const APPLICATIONS = {
323
323
  }
324
324
  ]
325
325
  },
326
+ "consent": {
327
+ "id": "consent",
328
+ "appDir": "TopoloConsent",
329
+ "name": "topolo-consent",
330
+ "packageName": "topolo-consent",
331
+ "productionUrl": "https://consent.topolo.app",
332
+ "services": [
333
+ "consent"
334
+ ],
335
+ "deployTargets": [
336
+ {
337
+ "name": "topolo-consent",
338
+ "kind": "worker",
339
+ "apiUrl": "https://consent.topolo.app",
340
+ "domains": [
341
+ "consent.topolo.app"
342
+ ],
343
+ "routes": [
344
+ "consent.topolo.app"
345
+ ],
346
+ "serviceId": "consent"
347
+ }
348
+ ]
349
+ },
326
350
  "crm": {
327
351
  "id": "crm",
328
352
  "appDir": "TopoloCRM",
@@ -334,68 +358,120 @@ export const APPLICATIONS = {
334
358
  ],
335
359
  "deployTargets": [
336
360
  {
337
- "name": "topolo-crm-frontend",
338
- "kind": "pages",
339
- "apiUrl": null,
361
+ "name": "topolo-crm-api",
362
+ "kind": "worker",
363
+ "apiUrl": "https://crm-api.topolo.app",
340
364
  "domains": [
341
- "crm.topolo.app"
365
+ "crm-api.topolo.app"
342
366
  ],
343
367
  "routes": [],
344
- "serviceId": null
368
+ "serviceId": "crm"
345
369
  },
346
370
  {
347
- "name": "topolo-crm-worker",
348
- "kind": "worker",
349
- "apiUrl": "https://crm-api.topolo.app",
371
+ "name": "topolo-crm-app",
372
+ "kind": "pages",
373
+ "apiUrl": null,
350
374
  "domains": [
351
- "crm-api.topolo.app"
375
+ "crm.topolo.app"
352
376
  ],
353
377
  "routes": [],
354
- "serviceId": "crm"
378
+ "serviceId": null
355
379
  }
356
380
  ]
357
381
  },
358
382
  "customer_success": {
359
383
  "id": "customer_success",
360
- "appDir": "TopoloCustomerSuccess",
361
- "name": "topolo-customer-success",
362
- "packageName": "topolo-customer-success",
363
- "productionUrl": "https://customer-success.topolo.app",
384
+ "appDir": "TopoloSuccess",
385
+ "name": "topolo-success",
386
+ "packageName": "topolo-success",
387
+ "productionUrl": "https://success.topolo.app",
364
388
  "services": [
365
389
  "customer_success"
366
390
  ],
367
391
  "deployTargets": [
368
392
  {
369
- "name": "topolo-customer-success",
393
+ "name": "topolo-success",
370
394
  "kind": "worker",
371
- "apiUrl": "https://customer-success.topolo.app",
395
+ "apiUrl": "https://success.topolo.app",
372
396
  "domains": [
373
- "customer-success.topolo.app"
397
+ "success.topolo.app"
374
398
  ],
375
399
  "routes": [
376
- "customer-success.topolo.app"
400
+ "success.topolo.app"
377
401
  ],
378
402
  "serviceId": "customer_success"
379
403
  }
380
404
  ]
381
405
  },
406
+ "d1_backup": {
407
+ "id": "d1_backup",
408
+ "appDir": "TopoloD1Backup",
409
+ "name": "topolo-d1-backup",
410
+ "packageName": "topolo-d1-backup",
411
+ "productionUrl": null,
412
+ "services": [],
413
+ "deployTargets": [
414
+ {
415
+ "name": "topolo-d1-backup",
416
+ "kind": "worker",
417
+ "apiUrl": null,
418
+ "domains": [],
419
+ "routes": [],
420
+ "serviceId": null
421
+ }
422
+ ]
423
+ },
382
424
  "developers": {
383
425
  "id": "developers",
384
426
  "appDir": "TopoloDevelopers",
385
427
  "name": "topolo-developers",
386
428
  "packageName": "topolo-developers",
387
429
  "productionUrl": "https://developers.topolo.app",
388
- "services": [],
430
+ "services": [
431
+ "developers"
432
+ ],
389
433
  "deployTargets": [
390
434
  {
391
- "name": "topolo-developers",
392
- "kind": "pages",
435
+ "name": "topolo-catalog-cron",
436
+ "kind": "worker",
393
437
  "apiUrl": null,
438
+ "domains": [],
439
+ "routes": [],
440
+ "serviceId": null
441
+ },
442
+ {
443
+ "name": "topolo-developers",
444
+ "kind": "worker",
445
+ "apiUrl": "https://developers.topolo.app",
394
446
  "domains": [
395
447
  "developers.topolo.app"
396
448
  ],
397
449
  "routes": [],
398
- "serviceId": null
450
+ "serviceId": "developers"
451
+ }
452
+ ]
453
+ },
454
+ "director": {
455
+ "id": "director",
456
+ "appDir": "TopoloDirector",
457
+ "name": "topolo-director",
458
+ "packageName": "topolo-director",
459
+ "productionUrl": "https://director.topolo.app",
460
+ "services": [
461
+ "director"
462
+ ],
463
+ "deployTargets": [
464
+ {
465
+ "name": "topolo-director",
466
+ "kind": "worker",
467
+ "apiUrl": "https://director.topolo.app",
468
+ "domains": [
469
+ "director.topolo.app"
470
+ ],
471
+ "routes": [
472
+ "director.topolo.app"
473
+ ],
474
+ "serviceId": "director"
399
475
  }
400
476
  ]
401
477
  },
@@ -490,7 +566,7 @@ export const APPLICATIONS = {
490
566
  ],
491
567
  "deployTargets": [
492
568
  {
493
- "name": "forecast",
569
+ "name": "topolo-forecast",
494
570
  "kind": "pages",
495
571
  "apiUrl": null,
496
572
  "domains": [
@@ -500,7 +576,7 @@ export const APPLICATIONS = {
500
576
  "serviceId": null
501
577
  },
502
578
  {
503
- "name": "forecast-worker-production",
579
+ "name": "topolo-forecast-api",
504
580
  "kind": "worker",
505
581
  "apiUrl": "https://forecast-api.topolo.app",
506
582
  "domains": [
@@ -535,6 +611,30 @@ export const APPLICATIONS = {
535
611
  }
536
612
  ]
537
613
  },
614
+ "home": {
615
+ "id": "home",
616
+ "appDir": "TopoloHome",
617
+ "name": "topolo-home",
618
+ "packageName": "topolo-home",
619
+ "productionUrl": "https://home.topolo.app",
620
+ "services": [
621
+ "home"
622
+ ],
623
+ "deployTargets": [
624
+ {
625
+ "name": "topolo-home",
626
+ "kind": "worker",
627
+ "apiUrl": "https://home.topolo.app",
628
+ "domains": [
629
+ "home.topolo.app"
630
+ ],
631
+ "routes": [
632
+ "home.topolo.app"
633
+ ],
634
+ "serviceId": "home"
635
+ }
636
+ ]
637
+ },
538
638
  "insights": {
539
639
  "id": "insights",
540
640
  "appDir": "TopoloInsights",
@@ -594,7 +694,7 @@ export const APPLICATIONS = {
594
694
  ],
595
695
  "deployTargets": [
596
696
  {
597
- "name": "topololearn",
697
+ "name": "topolo-learn",
598
698
  "kind": "pages",
599
699
  "apiUrl": null,
600
700
  "domains": [
@@ -604,7 +704,7 @@ export const APPLICATIONS = {
604
704
  "serviceId": null
605
705
  },
606
706
  {
607
- "name": "topololearn-api",
707
+ "name": "topolo-learn-api",
608
708
  "kind": "worker",
609
709
  "apiUrl": "https://learn-api.topolo.app",
610
710
  "domains": [
@@ -615,6 +715,30 @@ export const APPLICATIONS = {
615
715
  }
616
716
  ]
617
717
  },
718
+ "localize": {
719
+ "id": "localize",
720
+ "appDir": "TopoloLocalize",
721
+ "name": "topolo-localize",
722
+ "packageName": "topolo-localize",
723
+ "productionUrl": "https://localize.topolo.app",
724
+ "services": [
725
+ "localize"
726
+ ],
727
+ "deployTargets": [
728
+ {
729
+ "name": "topolo-localize",
730
+ "kind": "worker",
731
+ "apiUrl": "https://localize.topolo.app",
732
+ "domains": [
733
+ "localize.topolo.app"
734
+ ],
735
+ "routes": [
736
+ "localize.topolo.app"
737
+ ],
738
+ "serviceId": "localize"
739
+ }
740
+ ]
741
+ },
618
742
  "mail": {
619
743
  "id": "mail",
620
744
  "appDir": "TopoloMail",
@@ -652,7 +776,7 @@ export const APPLICATIONS = {
652
776
  "id": "mdm",
653
777
  "appDir": "TopoloMDM",
654
778
  "name": "TopoloMDM",
655
- "packageName": null,
779
+ "packageName": "topolo-mdm",
656
780
  "productionUrl": "https://mdm.topolo.app",
657
781
  "services": [
658
782
  "mdm"
@@ -770,6 +894,15 @@ export const APPLICATIONS = {
770
894
  }
771
895
  ]
772
896
  },
897
+ "observability_watch": {
898
+ "id": "observability_watch",
899
+ "appDir": "TopoloObservabilityWatch",
900
+ "name": "topolo-observability-watch",
901
+ "packageName": "topolo-observability-watch",
902
+ "productionUrl": null,
903
+ "services": [],
904
+ "deployTargets": []
905
+ },
773
906
  "one": {
774
907
  "id": "one",
775
908
  "appDir": "TopoloOne",
@@ -792,7 +925,7 @@ export const APPLICATIONS = {
792
925
  "serviceId": "one.ai"
793
926
  },
794
927
  {
795
- "name": "topoloone",
928
+ "name": "topolo-one",
796
929
  "kind": "pages",
797
930
  "apiUrl": null,
798
931
  "domains": [
@@ -802,11 +935,10 @@ export const APPLICATIONS = {
802
935
  "serviceId": null
803
936
  },
804
937
  {
805
- "name": "topoloone-website",
938
+ "name": "topolo-one-website",
806
939
  "kind": "worker",
807
940
  "apiUrl": null,
808
941
  "domains": [
809
- "one.topolo.io",
810
942
  "topolo.io",
811
943
  "www.topolo.io"
812
944
  ],
@@ -814,14 +946,18 @@ export const APPLICATIONS = {
814
946
  "serviceId": null
815
947
  },
816
948
  {
817
- "name": "topoloone-worker",
949
+ "name": "topolo-one-worker",
818
950
  "kind": "worker",
819
951
  "apiUrl": "https://one.topolo.app",
820
952
  "domains": [
821
- "one.topolo.app"
953
+ "one.topolo.app",
954
+ "topolo.app",
955
+ "www.topolo.app"
822
956
  ],
823
957
  "routes": [
824
- "one.topolo.app/*"
958
+ "one.topolo.app/*",
959
+ "topolo.app",
960
+ "www.topolo.app/*"
825
961
  ],
826
962
  "serviceId": "one"
827
963
  }
@@ -897,11 +1033,20 @@ export const APPLICATIONS = {
897
1033
  }
898
1034
  ]
899
1035
  },
1036
+ "pulse": {
1037
+ "id": "pulse",
1038
+ "appDir": "TopoloPulse",
1039
+ "name": "topolo-pulse",
1040
+ "packageName": "topolo-pulse",
1041
+ "productionUrl": null,
1042
+ "services": [],
1043
+ "deployTargets": []
1044
+ },
900
1045
  "quro": {
901
1046
  "id": "quro",
902
1047
  "appDir": "TopoloQuro",
903
1048
  "name": "TopoloQuro",
904
- "packageName": null,
1049
+ "packageName": "topolo-quro",
905
1050
  "productionUrl": "https://quro.topolo.app",
906
1051
  "services": [
907
1052
  "quro.api",
@@ -953,7 +1098,7 @@ export const APPLICATIONS = {
953
1098
  ],
954
1099
  "deployTargets": [
955
1100
  {
956
- "name": "roadmapper",
1101
+ "name": "topolo-roadmapper",
957
1102
  "kind": "pages",
958
1103
  "apiUrl": null,
959
1104
  "domains": [
@@ -963,7 +1108,7 @@ export const APPLICATIONS = {
963
1108
  "serviceId": null
964
1109
  },
965
1110
  {
966
- "name": "topolo-production-roadmapper",
1111
+ "name": "topolo-roadmapper-api",
967
1112
  "kind": "worker",
968
1113
  "apiUrl": "https://roadmapper-api.topolo.app",
969
1114
  "domains": [
@@ -1049,7 +1194,7 @@ export const APPLICATIONS = {
1049
1194
  ],
1050
1195
  "deployTargets": [
1051
1196
  {
1052
- "name": "socialize",
1197
+ "name": "topolo-socialize",
1053
1198
  "kind": "pages",
1054
1199
  "apiUrl": null,
1055
1200
  "domains": [
@@ -1059,7 +1204,7 @@ export const APPLICATIONS = {
1059
1204
  "serviceId": null
1060
1205
  },
1061
1206
  {
1062
- "name": "socialize-prod-api",
1207
+ "name": "topolo-socialize-api",
1063
1208
  "kind": "worker",
1064
1209
  "apiUrl": "https://socialize-api.topolo.app",
1065
1210
  "domains": [
@@ -1069,7 +1214,7 @@ export const APPLICATIONS = {
1069
1214
  "serviceId": "socialize"
1070
1215
  },
1071
1216
  {
1072
- "name": "socialize-prod-scheduler",
1217
+ "name": "topolo-socialize-scheduler",
1073
1218
  "kind": "worker",
1074
1219
  "apiUrl": null,
1075
1220
  "domains": [],
@@ -1078,6 +1223,30 @@ export const APPLICATIONS = {
1078
1223
  }
1079
1224
  ]
1080
1225
  },
1226
+ "status": {
1227
+ "id": "status",
1228
+ "appDir": "TopoloStatus",
1229
+ "name": "topolo-status",
1230
+ "packageName": "topolo-status",
1231
+ "productionUrl": "https://status.topolo.app",
1232
+ "services": [
1233
+ "status"
1234
+ ],
1235
+ "deployTargets": [
1236
+ {
1237
+ "name": "topolo-status",
1238
+ "kind": "worker",
1239
+ "apiUrl": "https://status.topolo.app",
1240
+ "domains": [
1241
+ "status.topolo.app"
1242
+ ],
1243
+ "routes": [
1244
+ "status.topolo.app"
1245
+ ],
1246
+ "serviceId": "status"
1247
+ }
1248
+ ]
1249
+ },
1081
1250
  "support": {
1082
1251
  "id": "support",
1083
1252
  "appDir": "TopoloSupport",
@@ -1161,7 +1330,7 @@ export const APPLICATIONS = {
1161
1330
  ],
1162
1331
  "deployTargets": [
1163
1332
  {
1164
- "name": "topoloweb-api",
1333
+ "name": "topolo-web-api",
1165
1334
  "kind": "worker",
1166
1335
  "apiUrl": "https://web-api.topolo.app",
1167
1336
  "domains": [
@@ -1171,7 +1340,7 @@ export const APPLICATIONS = {
1171
1340
  "serviceId": "web"
1172
1341
  },
1173
1342
  {
1174
- "name": "topoloweb-runtime",
1343
+ "name": "topolo-web-runtime",
1175
1344
  "kind": "worker",
1176
1345
  "apiUrl": "https://sites.topolo.app",
1177
1346
  "domains": [
@@ -1181,7 +1350,7 @@ export const APPLICATIONS = {
1181
1350
  "serviceId": null
1182
1351
  },
1183
1352
  {
1184
- "name": "topoloweb-studio",
1353
+ "name": "topolo-web-studio",
1185
1354
  "kind": "pages",
1186
1355
  "apiUrl": null,
1187
1356
  "domains": [
@@ -13,15 +13,20 @@ export const SERVICES = {
13
13
  chat: "https://chat.topolo.app",
14
14
  commerce: "https://commerce-api.topolo.app",
15
15
  compose: "https://compose.topolo.app",
16
+ consent: "https://consent.topolo.app",
16
17
  crm: "https://crm-api.topolo.app",
17
- customer_success: "https://customer-success.topolo.app",
18
+ customer_success: "https://success.topolo.app",
19
+ developers: "https://developers.topolo.app",
20
+ director: "https://director.topolo.app",
18
21
  feed: "https://feed-api.topolo.app",
19
22
  flow: "https://flow.topolo.app",
20
23
  forecast: "https://forecast-api.topolo.app",
21
24
  forms: "https://forms.topolo.app",
25
+ home: "https://home.topolo.app",
22
26
  insights: "https://insights.topolo.app",
23
27
  inventory: "https://inventory.topolo.app",
24
28
  learn: "https://learn-api.topolo.app",
29
+ localize: "https://localize.topolo.app",
25
30
  mail: "https://mail.topolo.app",
26
31
  mdm: "https://mdm-api.topolo.app",
27
32
  messaging: "https://messages.topolo.app",
@@ -38,6 +43,7 @@ export const SERVICES = {
38
43
  sign: "https://sign.topolo.app",
39
44
  social_studio: "https://studio-api.topolo.app",
40
45
  socialize: "https://socialize-api.topolo.app",
46
+ status: "https://status.topolo.app",
41
47
  support: "https://support.topolo.app",
42
48
  survey: "https://survey.topolo.app",
43
49
  voice: "https://voice.topolo.app",
@@ -48,17 +54,24 @@ export type ServiceId = keyof typeof SERVICES;
48
54
 
49
55
  export const PLATFORM_SERVICE_IDS: Partial<Record<ServiceId, string>> = {
50
56
  books: "srv_topolo_books",
57
+ bugfix: "srv_topolo_bugfix",
51
58
  compose: "srv_topolo_compose",
59
+ consent: "srv_topolo_consent",
52
60
  crm: "srv_iCwM4jGXcwlj",
53
- customer_success: "srv_topolo_customer_success",
61
+ customer_success: "srv_topolo_success",
62
+ developers: "svc_topolo_developers",
63
+ director: "srv_topolo_director",
54
64
  flow: "srv_topolo_flow",
55
65
  forms: "srv_topolo_forms",
66
+ home: "srv_topolo_home",
56
67
  insights: "srv_topolo_insights",
57
68
  inventory: "srv_topolo_inventory",
69
+ localize: "srv_topolo_localize",
58
70
  notify: "svc_topolo_notify",
59
71
  p2p: "srv_topolo_p2p",
60
72
  people: "srv_topolo_people",
61
73
  sign: "srv_topolo_sign",
74
+ status: "srv_topolo_status",
62
75
  survey: "srv_topolo_survey",
63
76
  voice: "srv_topolo_voice",
64
77
  };
@@ -24,32 +24,40 @@ const EXPECTED_APPLICATION_IDS = [
24
24
  'cloudcontrol',
25
25
  'commerce',
26
26
  'compose',
27
+ 'consent',
27
28
  'crm',
28
29
  'customer_success',
30
+ 'd1_backup',
29
31
  'developers',
32
+ 'director',
30
33
  'docs',
31
34
  'feed',
32
35
  'flow',
33
36
  'forecast',
34
37
  'forms',
38
+ 'home',
35
39
  'insights',
36
40
  'inventory',
37
41
  'learn',
42
+ 'localize',
38
43
  'mail',
39
44
  'mcp',
40
45
  'mdm',
41
46
  'messaging',
42
47
  'nexus',
43
48
  'notify',
49
+ 'observability_watch',
44
50
  'one',
45
51
  'p2p',
46
52
  'pay',
47
53
  'people',
54
+ 'pulse',
48
55
  'quro',
49
56
  'roadmapper',
50
57
  'sign',
51
58
  'social_studio',
52
59
  'socialize',
60
+ 'status',
53
61
  'support',
54
62
  'survey',
55
63
  'voice',
@@ -61,13 +69,14 @@ describe('service registry', () => {
61
69
  expect(DEFAULT_SERVICE_URLS).toMatchObject({
62
70
  calendar: 'https://calendar.topolo.app',
63
71
  books: 'https://books.topolo.app',
72
+ consent: 'https://consent.topolo.app',
64
73
  feed: 'https://feed-api.topolo.app',
65
74
  mail: 'https://mail.topolo.app',
66
75
  one: 'https://one.topolo.app',
67
76
  web: 'https://web-api.topolo.app',
68
77
  });
69
78
  expect(DEFAULT_SERVICE_URLS).toMatchObject({
70
- customer_success: 'https://customer-success.topolo.app',
79
+ customer_success: 'https://success.topolo.app',
71
80
  forms: 'https://forms.topolo.app',
72
81
  survey: 'https://survey.topolo.app',
73
82
  });
@@ -79,7 +88,7 @@ describe('service registry', () => {
79
88
  const { PLATFORM_SERVICE_IDS } = await import('./services.js');
80
89
 
81
90
  expect(PLATFORM_SERVICE_IDS.books).toBe('srv_topolo_books');
82
- expect(PLATFORM_SERVICE_IDS.customer_success).toBe('srv_topolo_customer_success');
91
+ expect(PLATFORM_SERVICE_IDS.customer_success).toBe('srv_topolo_success');
83
92
  });
84
93
 
85
94
  it('maps every callable service back to an application catalog entry', () => {
@@ -114,10 +123,10 @@ describe('application catalog', () => {
114
123
  it('treats TopoloWeb runtime as a deploy target, not an agent-callable API service', () => {
115
124
  expect(APPLICATIONS.web.services).toEqual(['web']);
116
125
  expect(
117
- APPLICATIONS.web.deployTargets.find((target) => target.name === 'topoloweb-api')?.serviceId,
126
+ APPLICATIONS.web.deployTargets.find((target) => target.name === 'topolo-web-api')?.serviceId,
118
127
  ).toBe('web');
119
128
  expect(
120
- APPLICATIONS.web.deployTargets.find((target) => target.name === 'topoloweb-runtime')?.serviceId,
129
+ APPLICATIONS.web.deployTargets.find((target) => target.name === 'topolo-web-runtime')?.serviceId,
121
130
  ).toBeNull();
122
131
  });
123
132