@topolo/sdk 0.9.7 → 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/README.md +12 -0
- package/dist/index.cjs +491 -66
- package/dist/index.d.cts +149 -27
- package/dist/index.d.ts +149 -27
- package/dist/index.js +488 -66
- package/dist/node/credential-store.cjs +32 -3
- package/dist/node/credential-store.js +32 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -42,6 +42,39 @@ interface TopoloActionValidationResult {
|
|
|
42
42
|
}
|
|
43
43
|
declare function validateTopoloActionInput(schema: Record<string, unknown>, input: unknown): TopoloActionValidationResult;
|
|
44
44
|
|
|
45
|
+
interface TopoloInlineBase64UploadContract {
|
|
46
|
+
profile: 'inline-base64';
|
|
47
|
+
contentField: string;
|
|
48
|
+
contentTypeField: string;
|
|
49
|
+
fileNameField: string;
|
|
50
|
+
maxBytes: number;
|
|
51
|
+
acceptedContentTypes: string[];
|
|
52
|
+
}
|
|
53
|
+
interface TopoloUrlSessionUploadContract {
|
|
54
|
+
profile: 'url-session';
|
|
55
|
+
fileNameField: string;
|
|
56
|
+
contentTypeField: string;
|
|
57
|
+
sizeField: string;
|
|
58
|
+
maxBytes: number;
|
|
59
|
+
acceptedContentTypes: string[];
|
|
60
|
+
uploadUrlPath: string;
|
|
61
|
+
uploadMethod: 'PUT' | 'POST';
|
|
62
|
+
complete?: {
|
|
63
|
+
actionId: string;
|
|
64
|
+
inputField: string;
|
|
65
|
+
responsePath: string;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
type TopoloActionUploadContract = TopoloInlineBase64UploadContract | TopoloUrlSessionUploadContract;
|
|
69
|
+
interface TopoloActionUploadOptions {
|
|
70
|
+
fileName: string;
|
|
71
|
+
contentType: string;
|
|
72
|
+
completionInput?: Record<string, unknown>;
|
|
73
|
+
}
|
|
74
|
+
declare function parseTopoloActionUploadContract(value: unknown): TopoloActionUploadContract;
|
|
75
|
+
declare function prepareTopoloActionUploadInput(contractValue: unknown, content: Uint8Array | ArrayBuffer, input: Record<string, unknown>, options: TopoloActionUploadOptions): Record<string, unknown>;
|
|
76
|
+
declare function prepareTopoloActionBase64UploadInput(contractValue: unknown, contentBase64: string, input: Record<string, unknown>, options: TopoloActionUploadOptions): Record<string, unknown>;
|
|
77
|
+
|
|
45
78
|
interface TopoloClientOptions {
|
|
46
79
|
credential: TopoloCredential;
|
|
47
80
|
agent: AgentIdentity;
|
|
@@ -113,6 +146,8 @@ interface RequestOptions {
|
|
|
113
146
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
114
147
|
query?: Record<string, string | number | boolean | undefined>;
|
|
115
148
|
body?: unknown;
|
|
149
|
+
/** Raw body transport for upload-session URLs. Mutually exclusive with body. */
|
|
150
|
+
rawBody?: BodyInit;
|
|
116
151
|
/** Workspace-boundary resource context for resource-scoped API keys. */
|
|
117
152
|
resource?: {
|
|
118
153
|
resourceType: string;
|
|
@@ -223,6 +258,7 @@ interface TopoloActionAgentContract {
|
|
|
223
258
|
description?: string;
|
|
224
259
|
input?: Record<string, unknown>;
|
|
225
260
|
}>;
|
|
261
|
+
upload?: TopoloActionUploadContract;
|
|
226
262
|
[key: string]: unknown;
|
|
227
263
|
}
|
|
228
264
|
interface TopoloActionPlan {
|
|
@@ -356,6 +392,22 @@ declare class TopoloClient {
|
|
|
356
392
|
resourceId: string;
|
|
357
393
|
};
|
|
358
394
|
}): Promise<T>;
|
|
395
|
+
uploadAction<T = unknown>(action: string, content: Uint8Array | ArrayBuffer, input: Record<string, unknown>, options: TopoloActionUploadOptions & {
|
|
396
|
+
confirm?: boolean;
|
|
397
|
+
resource?: {
|
|
398
|
+
resourceType: string;
|
|
399
|
+
resourceId: string;
|
|
400
|
+
};
|
|
401
|
+
}): Promise<T>;
|
|
402
|
+
uploadActionBase64<T = unknown>(action: string, contentBase64: string, input: Record<string, unknown>, options: TopoloActionUploadOptions & {
|
|
403
|
+
confirm?: boolean;
|
|
404
|
+
resource?: {
|
|
405
|
+
resourceType: string;
|
|
406
|
+
resourceId: string;
|
|
407
|
+
};
|
|
408
|
+
}): Promise<T>;
|
|
409
|
+
private executeUrlSessionUpload;
|
|
410
|
+
private putUrlSessionContent;
|
|
359
411
|
validateActionInput(action: string, input?: Record<string, unknown>): Promise<{
|
|
360
412
|
action: TopoloActionCatalogEntry;
|
|
361
413
|
validation: TopoloActionValidationResult;
|
|
@@ -476,6 +528,7 @@ declare const APP_API_URLS: {
|
|
|
476
528
|
readonly agent: "https://agent.topolo.app";
|
|
477
529
|
readonly auth: "https://auth.topolo.app";
|
|
478
530
|
readonly backup: "https://backup.topolo.app";
|
|
531
|
+
readonly blog: "https://blog.topolo.app";
|
|
479
532
|
readonly books: "https://books.topolo.app";
|
|
480
533
|
readonly brand: "https://brand.topolo.app";
|
|
481
534
|
readonly bugfix: "https://bugfix.topolo.app";
|
|
@@ -488,6 +541,7 @@ declare const APP_API_URLS: {
|
|
|
488
541
|
readonly compose: "https://compose.topolo.app";
|
|
489
542
|
readonly consent: "https://consent.topolo.app";
|
|
490
543
|
readonly crm: "https://crm.topolo.app";
|
|
544
|
+
readonly design: "https://design.topolo.app";
|
|
491
545
|
readonly developers: "https://developers.topolo.app";
|
|
492
546
|
readonly director: "https://director.topolo.app";
|
|
493
547
|
readonly feed: "https://feed.topolo.app";
|
|
@@ -561,7 +615,7 @@ declare const APPLICATIONS: {
|
|
|
561
615
|
readonly kind: "worker";
|
|
562
616
|
readonly apiUrl: "https://agent.topolo.app";
|
|
563
617
|
readonly domains: readonly ["agent.topolo.app"];
|
|
564
|
-
readonly routes: readonly [];
|
|
618
|
+
readonly routes: readonly ["agent.topolo.app"];
|
|
565
619
|
readonly appId: "agent";
|
|
566
620
|
}, {
|
|
567
621
|
readonly name: "topolo-agent-api";
|
|
@@ -604,6 +658,29 @@ declare const APPLICATIONS: {
|
|
|
604
658
|
readonly appId: "backup";
|
|
605
659
|
}];
|
|
606
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
|
+
};
|
|
607
684
|
readonly books: {
|
|
608
685
|
readonly id: "books";
|
|
609
686
|
readonly appDir: "TopoloBooks";
|
|
@@ -616,7 +693,7 @@ declare const APPLICATIONS: {
|
|
|
616
693
|
readonly kind: "worker";
|
|
617
694
|
readonly apiUrl: "https://books.topolo.app";
|
|
618
695
|
readonly domains: readonly ["books.topolo.app"];
|
|
619
|
-
readonly routes: readonly [];
|
|
696
|
+
readonly routes: readonly ["books.topolo.app"];
|
|
620
697
|
readonly appId: "books";
|
|
621
698
|
}, {
|
|
622
699
|
readonly name: "topolo-books-api";
|
|
@@ -639,7 +716,7 @@ declare const APPLICATIONS: {
|
|
|
639
716
|
readonly kind: "worker";
|
|
640
717
|
readonly apiUrl: "https://brand.topolo.app";
|
|
641
718
|
readonly domains: readonly ["brand.topolo.app"];
|
|
642
|
-
readonly routes: readonly [];
|
|
719
|
+
readonly routes: readonly ["brand.topolo.app"];
|
|
643
720
|
readonly appId: "brand";
|
|
644
721
|
}, {
|
|
645
722
|
readonly name: "topolo-brand-api";
|
|
@@ -724,7 +801,7 @@ declare const APPLICATIONS: {
|
|
|
724
801
|
readonly kind: "worker";
|
|
725
802
|
readonly apiUrl: "https://campaigns.topolo.app";
|
|
726
803
|
readonly domains: readonly ["campaigns.topolo.app"];
|
|
727
|
-
readonly routes: readonly [];
|
|
804
|
+
readonly routes: readonly ["campaigns.topolo.app"];
|
|
728
805
|
readonly appId: "campaigns";
|
|
729
806
|
}, {
|
|
730
807
|
readonly name: "topolo-campaigns-api";
|
|
@@ -763,7 +840,7 @@ declare const APPLICATIONS: {
|
|
|
763
840
|
readonly kind: "worker";
|
|
764
841
|
readonly apiUrl: "https://chat.topolo.app";
|
|
765
842
|
readonly domains: readonly ["chat.topolo.app"];
|
|
766
|
-
readonly routes: readonly [];
|
|
843
|
+
readonly routes: readonly ["chat.topolo.app"];
|
|
767
844
|
readonly appId: "chat";
|
|
768
845
|
}, {
|
|
769
846
|
readonly name: "topolo-chat-api";
|
|
@@ -823,7 +900,7 @@ declare const APPLICATIONS: {
|
|
|
823
900
|
readonly kind: "worker";
|
|
824
901
|
readonly apiUrl: "https://compose.topolo.app";
|
|
825
902
|
readonly domains: readonly ["compose.topolo.app"];
|
|
826
|
-
readonly routes: readonly [];
|
|
903
|
+
readonly routes: readonly ["compose.topolo.app"];
|
|
827
904
|
readonly appId: "compose";
|
|
828
905
|
}, {
|
|
829
906
|
readonly name: "topolo-compose-api";
|
|
@@ -846,7 +923,7 @@ declare const APPLICATIONS: {
|
|
|
846
923
|
readonly kind: "worker";
|
|
847
924
|
readonly apiUrl: "https://consent.topolo.app";
|
|
848
925
|
readonly domains: readonly ["consent.topolo.app"];
|
|
849
|
-
readonly routes: readonly [];
|
|
926
|
+
readonly routes: readonly ["consent.topolo.app"];
|
|
850
927
|
readonly appId: "consent";
|
|
851
928
|
}, {
|
|
852
929
|
readonly name: "topolo-consent-api";
|
|
@@ -876,10 +953,33 @@ declare const APPLICATIONS: {
|
|
|
876
953
|
readonly kind: "worker";
|
|
877
954
|
readonly apiUrl: "https://crm.topolo.app";
|
|
878
955
|
readonly domains: readonly ["crm.topolo.app"];
|
|
879
|
-
readonly routes: readonly [];
|
|
956
|
+
readonly routes: readonly ["crm.topolo.app"];
|
|
880
957
|
readonly appId: "crm";
|
|
881
958
|
}];
|
|
882
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
|
+
};
|
|
883
983
|
readonly developers: {
|
|
884
984
|
readonly id: "developers";
|
|
885
985
|
readonly appDir: "TopoloDevelopers";
|
|
@@ -899,7 +999,7 @@ declare const APPLICATIONS: {
|
|
|
899
999
|
readonly kind: "worker";
|
|
900
1000
|
readonly apiUrl: "https://developers.topolo.app";
|
|
901
1001
|
readonly domains: readonly ["developers.topolo.app"];
|
|
902
|
-
readonly routes: readonly [];
|
|
1002
|
+
readonly routes: readonly ["developers.topolo.app"];
|
|
903
1003
|
readonly appId: "developers";
|
|
904
1004
|
}, {
|
|
905
1005
|
readonly name: "topolo-developers-api";
|
|
@@ -922,7 +1022,7 @@ declare const APPLICATIONS: {
|
|
|
922
1022
|
readonly kind: "worker";
|
|
923
1023
|
readonly apiUrl: "https://director.topolo.app";
|
|
924
1024
|
readonly domains: readonly ["director.topolo.app"];
|
|
925
|
-
readonly routes: readonly [];
|
|
1025
|
+
readonly routes: readonly ["director.topolo.app"];
|
|
926
1026
|
readonly appId: "director";
|
|
927
1027
|
}, {
|
|
928
1028
|
readonly name: "topolo-director-api";
|
|
@@ -998,7 +1098,7 @@ declare const APPLICATIONS: {
|
|
|
998
1098
|
readonly kind: "worker";
|
|
999
1099
|
readonly apiUrl: "https://flow.topolo.app";
|
|
1000
1100
|
readonly domains: readonly ["flow.topolo.app"];
|
|
1001
|
-
readonly routes: readonly [];
|
|
1101
|
+
readonly routes: readonly ["flow.topolo.app"];
|
|
1002
1102
|
readonly appId: "flow";
|
|
1003
1103
|
}, {
|
|
1004
1104
|
readonly name: "topolo-flow-api";
|
|
@@ -1021,7 +1121,7 @@ declare const APPLICATIONS: {
|
|
|
1021
1121
|
readonly kind: "worker";
|
|
1022
1122
|
readonly apiUrl: "https://forecast.topolo.app";
|
|
1023
1123
|
readonly domains: readonly ["forecast.topolo.app"];
|
|
1024
|
-
readonly routes: readonly [];
|
|
1124
|
+
readonly routes: readonly ["forecast.topolo.app"];
|
|
1025
1125
|
readonly appId: "forecast";
|
|
1026
1126
|
}, {
|
|
1027
1127
|
readonly name: "topolo-forecast-api";
|
|
@@ -1044,7 +1144,7 @@ declare const APPLICATIONS: {
|
|
|
1044
1144
|
readonly kind: "worker";
|
|
1045
1145
|
readonly apiUrl: "https://forms.topolo.app";
|
|
1046
1146
|
readonly domains: readonly ["forms.topolo.app"];
|
|
1047
|
-
readonly routes: readonly [];
|
|
1147
|
+
readonly routes: readonly ["forms.topolo.app"];
|
|
1048
1148
|
readonly appId: "forms";
|
|
1049
1149
|
}, {
|
|
1050
1150
|
readonly name: "topolo-forms-api";
|
|
@@ -1090,7 +1190,7 @@ declare const APPLICATIONS: {
|
|
|
1090
1190
|
readonly kind: "worker";
|
|
1091
1191
|
readonly apiUrl: "https://insights.topolo.app";
|
|
1092
1192
|
readonly domains: readonly ["insights.topolo.app"];
|
|
1093
|
-
readonly routes: readonly [];
|
|
1193
|
+
readonly routes: readonly ["insights.topolo.app"];
|
|
1094
1194
|
readonly appId: "insights";
|
|
1095
1195
|
}, {
|
|
1096
1196
|
readonly name: "topolo-insights-api";
|
|
@@ -1113,7 +1213,7 @@ declare const APPLICATIONS: {
|
|
|
1113
1213
|
readonly kind: "worker";
|
|
1114
1214
|
readonly apiUrl: "https://inventory.topolo.app";
|
|
1115
1215
|
readonly domains: readonly ["inventory.topolo.app"];
|
|
1116
|
-
readonly routes: readonly [];
|
|
1216
|
+
readonly routes: readonly ["inventory.topolo.app"];
|
|
1117
1217
|
readonly appId: "inventory";
|
|
1118
1218
|
}, {
|
|
1119
1219
|
readonly name: "topolo-inventory-api";
|
|
@@ -1175,7 +1275,7 @@ declare const APPLICATIONS: {
|
|
|
1175
1275
|
readonly kind: "worker";
|
|
1176
1276
|
readonly apiUrl: "https://mail.topolo.app";
|
|
1177
1277
|
readonly domains: readonly ["mail.topolo.app"];
|
|
1178
|
-
readonly routes: readonly [];
|
|
1278
|
+
readonly routes: readonly ["mail.topolo.app"];
|
|
1179
1279
|
readonly appId: "mail";
|
|
1180
1280
|
}, {
|
|
1181
1281
|
readonly name: "topolo-mail-api";
|
|
@@ -1359,7 +1459,7 @@ declare const APPLICATIONS: {
|
|
|
1359
1459
|
readonly kind: "worker";
|
|
1360
1460
|
readonly apiUrl: "https://pay.topolo.app";
|
|
1361
1461
|
readonly domains: readonly ["pay.topolo.app"];
|
|
1362
|
-
readonly routes: readonly [];
|
|
1462
|
+
readonly routes: readonly ["pay.topolo.app"];
|
|
1363
1463
|
readonly appId: "pay";
|
|
1364
1464
|
}, {
|
|
1365
1465
|
readonly name: "topolo-pay-api";
|
|
@@ -1382,7 +1482,7 @@ declare const APPLICATIONS: {
|
|
|
1382
1482
|
readonly kind: "worker";
|
|
1383
1483
|
readonly apiUrl: "https://people.topolo.app";
|
|
1384
1484
|
readonly domains: readonly ["people.topolo.app"];
|
|
1385
|
-
readonly routes: readonly [];
|
|
1485
|
+
readonly routes: readonly ["people.topolo.app"];
|
|
1386
1486
|
readonly appId: "people";
|
|
1387
1487
|
}, {
|
|
1388
1488
|
readonly name: "topolo-people-api";
|
|
@@ -1419,7 +1519,7 @@ declare const APPLICATIONS: {
|
|
|
1419
1519
|
readonly kind: "worker";
|
|
1420
1520
|
readonly apiUrl: "https://quro.topolo.app";
|
|
1421
1521
|
readonly domains: readonly ["quro.topolo.app"];
|
|
1422
|
-
readonly routes: readonly [];
|
|
1522
|
+
readonly routes: readonly ["quro.topolo.app"];
|
|
1423
1523
|
readonly appId: null;
|
|
1424
1524
|
}];
|
|
1425
1525
|
};
|
|
@@ -1435,7 +1535,7 @@ declare const APPLICATIONS: {
|
|
|
1435
1535
|
readonly kind: "worker";
|
|
1436
1536
|
readonly apiUrl: "https://roadmapper.topolo.app";
|
|
1437
1537
|
readonly domains: readonly ["roadmapper.topolo.app"];
|
|
1438
|
-
readonly routes: readonly [];
|
|
1538
|
+
readonly routes: readonly ["roadmapper.topolo.app"];
|
|
1439
1539
|
readonly appId: "roadmapper";
|
|
1440
1540
|
}, {
|
|
1441
1541
|
readonly name: "topolo-roadmapper-api";
|
|
@@ -1458,7 +1558,7 @@ declare const APPLICATIONS: {
|
|
|
1458
1558
|
readonly kind: "worker";
|
|
1459
1559
|
readonly apiUrl: "https://sign.topolo.app";
|
|
1460
1560
|
readonly domains: readonly ["sign.topolo.app"];
|
|
1461
|
-
readonly routes: readonly [];
|
|
1561
|
+
readonly routes: readonly ["sign.topolo.app"];
|
|
1462
1562
|
readonly appId: "sign";
|
|
1463
1563
|
}, {
|
|
1464
1564
|
readonly name: "topolo-sign-api";
|
|
@@ -1541,7 +1641,7 @@ declare const APPLICATIONS: {
|
|
|
1541
1641
|
readonly kind: "worker";
|
|
1542
1642
|
readonly apiUrl: "https://spaces.topolo.app";
|
|
1543
1643
|
readonly domains: readonly ["spaces.topolo.app"];
|
|
1544
|
-
readonly routes: readonly [];
|
|
1644
|
+
readonly routes: readonly ["spaces.topolo.app"];
|
|
1545
1645
|
readonly appId: "spaces";
|
|
1546
1646
|
}, {
|
|
1547
1647
|
readonly name: "topolo-spaces-api";
|
|
@@ -1626,7 +1726,7 @@ declare const APPLICATIONS: {
|
|
|
1626
1726
|
readonly kind: "worker";
|
|
1627
1727
|
readonly apiUrl: "https://survey.topolo.app";
|
|
1628
1728
|
readonly domains: readonly ["survey.topolo.app"];
|
|
1629
|
-
readonly routes: readonly [];
|
|
1729
|
+
readonly routes: readonly ["survey.topolo.app"];
|
|
1630
1730
|
readonly appId: "survey";
|
|
1631
1731
|
}, {
|
|
1632
1732
|
readonly name: "topolo-survey-api";
|
|
@@ -1863,11 +1963,31 @@ declare class TopoloSdkError extends Error {
|
|
|
1863
1963
|
constructor(code: string, message: string);
|
|
1864
1964
|
}
|
|
1865
1965
|
declare class TopoloAuthError extends TopoloSdkError {
|
|
1866
|
-
|
|
1966
|
+
readonly status: number;
|
|
1967
|
+
readonly body: unknown;
|
|
1968
|
+
readonly service?: string;
|
|
1969
|
+
readonly path?: string;
|
|
1970
|
+
readonly requestId?: string;
|
|
1971
|
+
readonly retryAfter?: string;
|
|
1972
|
+
constructor(message: string, code?: string, options?: HttpErrorContext);
|
|
1867
1973
|
}
|
|
1868
1974
|
declare class TopoloPermissionError extends TopoloSdkError {
|
|
1869
1975
|
readonly required: string[];
|
|
1870
|
-
|
|
1976
|
+
readonly status: number;
|
|
1977
|
+
readonly body: unknown;
|
|
1978
|
+
readonly service?: string;
|
|
1979
|
+
readonly path?: string;
|
|
1980
|
+
readonly requestId?: string;
|
|
1981
|
+
readonly retryAfter?: string;
|
|
1982
|
+
constructor(message: string, required: string[], options?: HttpErrorContext);
|
|
1983
|
+
}
|
|
1984
|
+
interface HttpErrorContext {
|
|
1985
|
+
status?: number;
|
|
1986
|
+
body?: unknown;
|
|
1987
|
+
service?: string;
|
|
1988
|
+
path?: string;
|
|
1989
|
+
requestId?: string;
|
|
1990
|
+
retryAfter?: string;
|
|
1871
1991
|
}
|
|
1872
1992
|
declare class TopoloConfirmationRequiredError extends TopoloSdkError {
|
|
1873
1993
|
constructor(message: string);
|
|
@@ -1877,7 +1997,9 @@ declare class TopoloHttpError extends TopoloSdkError {
|
|
|
1877
1997
|
readonly body: unknown;
|
|
1878
1998
|
readonly service: string;
|
|
1879
1999
|
readonly path: string;
|
|
1880
|
-
|
|
2000
|
+
readonly requestId?: string;
|
|
2001
|
+
readonly retryAfter?: string;
|
|
2002
|
+
constructor(service: string, path: string, status: number, body: unknown, message?: string, options?: HttpErrorContext);
|
|
1881
2003
|
}
|
|
1882
2004
|
|
|
1883
2005
|
interface CrmContactSummary {
|
|
@@ -2363,4 +2485,4 @@ declare function createTopolo(options: TopoloClientOptions): {
|
|
|
2363
2485
|
};
|
|
2364
2486
|
type Topolo = ReturnType<typeof createTopolo>;
|
|
2365
2487
|
|
|
2366
|
-
export { ACTION_CATALOG_DIGEST_ALGORITHM, APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type ActionContractManifest, type ActionContractSource, type AgentIdentity, type AppApiId, 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_APP_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, type P2PActionDetail, type P2PActionRequestInput, type P2PActionRequestResult, type P2PActionRow, type P2PActionRun, type P2PCapability, type P2PConnection, type P2PHold, type P2PLedgerEntry, P2PModule, type P2PPolicy, type P2PPricingModel, type P2PSettlementBatch, type P2PSettlementGroup, type PublishCapabilityInput, type RequestOptions, type ServiceCatalogUrlEntry, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, type TopoloActionAgentContract, type TopoloActionCatalogEntry, type TopoloActionCatalogSummary, type TopoloActionDigestInput, type TopoloActionPlan, type TopoloActionValidationIssue, type TopoloActionValidationResult, type TopoloApiKeyResourceMetadata, TopoloAuthError, type TopoloBindableResource, type TopoloBindableResourceCatalog, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, TopoloConfirmationRequiredError, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloServiceCatalogEntry, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetSnapshotMetadata, type TopoloWidgetSnapshotMetric, type TopoloWidgetType, type TopoloWidgetValidationResult, actionContractCompleteness, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, digestTopoloActionCatalog, enrichActionContract, requirementsForApplication, resolveCatalogServiceUrl, resolveServiceUrl, validateTopoloActionInput, validateTopoloWidgetResponse };
|
|
2488
|
+
export { ACTION_CATALOG_DIGEST_ALGORITHM, APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type ActionContractManifest, type ActionContractSource, type AgentIdentity, type AppApiId, 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_APP_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, type P2PActionDetail, type P2PActionRequestInput, type P2PActionRequestResult, type P2PActionRow, type P2PActionRun, type P2PCapability, type P2PConnection, type P2PHold, type P2PLedgerEntry, P2PModule, type P2PPolicy, type P2PPricingModel, type P2PSettlementBatch, type P2PSettlementGroup, type PublishCapabilityInput, type RequestOptions, type ServiceCatalogUrlEntry, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, type TopoloActionAgentContract, type TopoloActionCatalogEntry, type TopoloActionCatalogSummary, type TopoloActionDigestInput, type TopoloActionPlan, type TopoloActionUploadOptions, type TopoloActionValidationIssue, type TopoloActionValidationResult, type TopoloApiKeyResourceMetadata, TopoloAuthError, type TopoloBindableResource, type TopoloBindableResourceCatalog, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, TopoloConfirmationRequiredError, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloInlineBase64UploadContract, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloServiceCatalogEntry, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetSnapshotMetadata, type TopoloWidgetSnapshotMetric, type TopoloWidgetType, type TopoloWidgetValidationResult, actionContractCompleteness, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, digestTopoloActionCatalog, enrichActionContract, parseTopoloActionUploadContract, prepareTopoloActionBase64UploadInput, prepareTopoloActionUploadInput, requirementsForApplication, resolveCatalogServiceUrl, resolveServiceUrl, validateTopoloActionInput, validateTopoloWidgetResponse };
|