@topolo/sdk 0.2.10 → 0.2.12

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.
@@ -6,13 +6,13 @@ export const APPLICATIONS = {
6
6
  "admin": {
7
7
  "id": "admin",
8
8
  "appDir": "TopoloAdmin",
9
- "name": "topoloadmin",
9
+ "name": "topolo-admin",
10
10
  "packageName": "topolo-admin",
11
11
  "productionUrl": "https://admin.topolo.app",
12
12
  "services": [],
13
13
  "deployTargets": [
14
14
  {
15
- "name": "topoloadmin",
15
+ "name": "topolo-admin",
16
16
  "kind": "pages",
17
17
  "apiUrl": null,
18
18
  "domains": [
@@ -35,7 +35,7 @@ export const APPLICATIONS = {
35
35
  "deployTargets": [
36
36
  {
37
37
  "name": "topolo-agent",
38
- "kind": "pages",
38
+ "kind": "worker",
39
39
  "apiUrl": null,
40
40
  "domains": [
41
41
  "agent.topolo.app"
@@ -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",
@@ -345,7 +369,7 @@ export const APPLICATIONS = {
345
369
  },
346
370
  {
347
371
  "name": "topolo-crm-app",
348
- "kind": "pages",
372
+ "kind": "worker",
349
373
  "apiUrl": null,
350
374
  "domains": [
351
375
  "crm.topolo.app"
@@ -403,7 +427,9 @@ export const APPLICATIONS = {
403
427
  "name": "topolo-developers",
404
428
  "packageName": "topolo-developers",
405
429
  "productionUrl": "https://developers.topolo.app",
406
- "services": [],
430
+ "services": [
431
+ "developers"
432
+ ],
407
433
  "deployTargets": [
408
434
  {
409
435
  "name": "topolo-catalog-cron",
@@ -415,13 +441,13 @@ export const APPLICATIONS = {
415
441
  },
416
442
  {
417
443
  "name": "topolo-developers",
418
- "kind": "pages",
419
- "apiUrl": null,
444
+ "kind": "worker",
445
+ "apiUrl": "https://developers.topolo.app",
420
446
  "domains": [
421
447
  "developers.topolo.app"
422
448
  ],
423
449
  "routes": [],
424
- "serviceId": null
450
+ "serviceId": "developers"
425
451
  }
426
452
  ]
427
453
  },
@@ -541,7 +567,7 @@ export const APPLICATIONS = {
541
567
  "deployTargets": [
542
568
  {
543
569
  "name": "topolo-forecast",
544
- "kind": "pages",
570
+ "kind": "worker",
545
571
  "apiUrl": null,
546
572
  "domains": [
547
573
  "forecast.topolo.app"
@@ -585,6 +611,30 @@ export const APPLICATIONS = {
585
611
  }
586
612
  ]
587
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
+ },
588
638
  "insights": {
589
639
  "id": "insights",
590
640
  "appDir": "TopoloInsights",
@@ -645,7 +695,7 @@ export const APPLICATIONS = {
645
695
  "deployTargets": [
646
696
  {
647
697
  "name": "topolo-learn",
648
- "kind": "pages",
698
+ "kind": "worker",
649
699
  "apiUrl": null,
650
700
  "domains": [
651
701
  "learn.topolo.app"
@@ -701,7 +751,7 @@ export const APPLICATIONS = {
701
751
  "deployTargets": [
702
752
  {
703
753
  "name": "topolo-mail",
704
- "kind": "workers",
754
+ "kind": "worker",
705
755
  "apiUrl": "https://mail.topolo.app",
706
756
  "domains": [
707
757
  "mail.topolo.app"
@@ -746,7 +796,7 @@ export const APPLICATIONS = {
746
796
  },
747
797
  {
748
798
  "name": "topolo-mdm-console",
749
- "kind": "pages",
799
+ "kind": "worker",
750
800
  "apiUrl": null,
751
801
  "domains": [
752
802
  "mdm.topolo.app"
@@ -770,7 +820,7 @@ export const APPLICATIONS = {
770
820
  "deployTargets": [
771
821
  {
772
822
  "name": "topolo-messaging",
773
- "kind": "workers",
823
+ "kind": "worker",
774
824
  "apiUrl": "https://messages.topolo.app",
775
825
  "domains": [
776
826
  "messages.topolo.app"
@@ -780,7 +830,7 @@ export const APPLICATIONS = {
780
830
  },
781
831
  {
782
832
  "name": "topolo-messaging-dispatch",
783
- "kind": "workers",
833
+ "kind": "worker",
784
834
  "apiUrl": null,
785
835
  "domains": [],
786
836
  "routes": [],
@@ -800,7 +850,7 @@ export const APPLICATIONS = {
800
850
  "deployTargets": [
801
851
  {
802
852
  "name": "topolo-nexus-dashboard",
803
- "kind": "pages",
853
+ "kind": "worker",
804
854
  "apiUrl": null,
805
855
  "domains": [
806
856
  "nexus.topolo.app"
@@ -860,20 +910,9 @@ export const APPLICATIONS = {
860
910
  "packageName": "topolo-oneclick-sso",
861
911
  "productionUrl": "https://one.topolo.app",
862
912
  "services": [
863
- "one",
864
- "one.ai"
913
+ "one"
865
914
  ],
866
915
  "deployTargets": [
867
- {
868
- "name": "ai-chat-rag",
869
- "kind": "worker",
870
- "apiUrl": "https://ai.one.topolo.app",
871
- "domains": [
872
- "ai.one.topolo.app"
873
- ],
874
- "routes": [],
875
- "serviceId": "one.ai"
876
- },
877
916
  {
878
917
  "name": "topolo-one",
879
918
  "kind": "pages",
@@ -1027,7 +1066,7 @@ export const APPLICATIONS = {
1027
1066
  },
1028
1067
  {
1029
1068
  "name": "quro-ui",
1030
- "kind": "pages",
1069
+ "kind": "worker",
1031
1070
  "apiUrl": null,
1032
1071
  "domains": [
1033
1072
  "quro.topolo.app"
@@ -1049,7 +1088,7 @@ export const APPLICATIONS = {
1049
1088
  "deployTargets": [
1050
1089
  {
1051
1090
  "name": "topolo-roadmapper",
1052
- "kind": "pages",
1091
+ "kind": "worker",
1053
1092
  "apiUrl": null,
1054
1093
  "domains": [
1055
1094
  "roadmapper.topolo.app"
@@ -1105,7 +1144,7 @@ export const APPLICATIONS = {
1105
1144
  "deployTargets": [
1106
1145
  {
1107
1146
  "name": "topolo-social-studio",
1108
- "kind": "pages",
1147
+ "kind": "worker",
1109
1148
  "apiUrl": null,
1110
1149
  "domains": [
1111
1150
  "studio.topolo.app"
@@ -1209,7 +1248,7 @@ export const APPLICATIONS = {
1209
1248
  "deployTargets": [
1210
1249
  {
1211
1250
  "name": "topolo-support",
1212
- "kind": "workers",
1251
+ "kind": "worker",
1213
1252
  "apiUrl": "https://support.topolo.app",
1214
1253
  "domains": [
1215
1254
  "support.topolo.app"
@@ -1301,7 +1340,7 @@ export const APPLICATIONS = {
1301
1340
  },
1302
1341
  {
1303
1342
  "name": "topolo-web-studio",
1304
- "kind": "pages",
1343
+ "kind": "worker",
1305
1344
  "apiUrl": null,
1306
1345
  "domains": [
1307
1346
  "web.topolo.app"
@@ -13,13 +13,16 @@ 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
18
  customer_success: "https://success.topolo.app",
19
+ developers: "https://developers.topolo.app",
18
20
  director: "https://director.topolo.app",
19
21
  feed: "https://feed-api.topolo.app",
20
22
  flow: "https://flow.topolo.app",
21
23
  forecast: "https://forecast-api.topolo.app",
22
24
  forms: "https://forms.topolo.app",
25
+ home: "https://home.topolo.app",
23
26
  insights: "https://insights.topolo.app",
24
27
  inventory: "https://inventory.topolo.app",
25
28
  learn: "https://learn-api.topolo.app",
@@ -30,7 +33,6 @@ export const SERVICES = {
30
33
  nexus: "https://nexus-api.topolo.app",
31
34
  notify: "https://notify.topolo.app",
32
35
  one: "https://one.topolo.app",
33
- "one.ai": "https://ai.one.topolo.app",
34
36
  p2p: "https://p2p.topolo.app",
35
37
  pay: "https://pay.topolo.app",
36
38
  people: "https://people.topolo.app",
@@ -50,22 +52,25 @@ export const SERVICES = {
50
52
  export type ServiceId = keyof typeof SERVICES;
51
53
 
52
54
  export const PLATFORM_SERVICE_IDS: Partial<Record<ServiceId, string>> = {
53
- books: "srv_topolo_books",
54
- bugfix: "srv_topolo_bugfix",
55
- compose: "srv_topolo_compose",
55
+ books: "srv_0g260hbN8oqv",
56
+ bugfix: "srv_kQ1t8qUSDgNs",
57
+ compose: "srv_aR3ETYmgygmd",
58
+ consent: "srv_8FIGR7Q7zP9r",
56
59
  crm: "srv_iCwM4jGXcwlj",
57
- customer_success: "srv_topolo_success",
58
- director: "srv_topolo_director",
59
- flow: "srv_topolo_flow",
60
- forms: "srv_topolo_forms",
61
- insights: "srv_topolo_insights",
62
- inventory: "srv_topolo_inventory",
63
- localize: "srv_topolo_localize",
64
- notify: "svc_topolo_notify",
65
- p2p: "srv_topolo_p2p",
66
- people: "srv_topolo_people",
67
- sign: "srv_topolo_sign",
60
+ customer_success: "srv_RWpOxkgZdZbH",
61
+ developers: "srv_NjDq9G9qyyjr",
62
+ director: "srv_wRCnLLbtvmVT",
63
+ flow: "srv_GBCuKkHhnRXv",
64
+ forms: "srv_UE7IcGe80J5o",
65
+ home: "srv_hE6HBldVzjth",
66
+ insights: "srv_DgbBMwWSIhmC",
67
+ inventory: "srv_hmvjbv3ZxDnh",
68
+ localize: "srv_Ze1g9OmXuZjF",
69
+ notify: "srv_9pRdkIjYyKX0",
70
+ p2p: "srv_4BzeLqH0wCve",
71
+ people: "srv_VDMBAonA5fKb",
72
+ sign: "srv_Bd8pRw5ZqRBT",
68
73
  status: "srv_topolo_status",
69
- survey: "srv_topolo_survey",
70
- voice: "srv_topolo_voice",
74
+ survey: "srv_RCOi7CJkwf7R",
75
+ voice: "srv_BZANHkshGAK5",
71
76
  };
@@ -24,6 +24,7 @@ const EXPECTED_APPLICATION_IDS = [
24
24
  'cloudcontrol',
25
25
  'commerce',
26
26
  'compose',
27
+ 'consent',
27
28
  'crm',
28
29
  'customer_success',
29
30
  'd1_backup',
@@ -34,6 +35,7 @@ const EXPECTED_APPLICATION_IDS = [
34
35
  'flow',
35
36
  'forecast',
36
37
  'forms',
38
+ 'home',
37
39
  'insights',
38
40
  'inventory',
39
41
  'learn',
@@ -67,6 +69,7 @@ describe('service registry', () => {
67
69
  expect(DEFAULT_SERVICE_URLS).toMatchObject({
68
70
  calendar: 'https://calendar.topolo.app',
69
71
  books: 'https://books.topolo.app',
72
+ consent: 'https://consent.topolo.app',
70
73
  feed: 'https://feed-api.topolo.app',
71
74
  mail: 'https://mail.topolo.app',
72
75
  one: 'https://one.topolo.app',