@lucern/sdk 0.3.0-alpha.17 → 0.3.0-alpha.3
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/CHANGELOG.md +0 -12
- package/README.md +4 -110
- package/dist/adminClient.d.ts +8 -8
- package/dist/adminClient.js +40 -70
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.js +12 -49
- package/dist/answersClient.js.map +1 -1
- package/dist/audience/index.d.ts +1 -2
- package/dist/audience/index.js +3 -1
- package/dist/audience/index.js.map +1 -1
- package/dist/audiencesClient.d.ts +16 -16
- package/dist/audiencesClient.js +91 -125
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.js +14 -53
- package/dist/auditClient.js.map +1 -1
- package/dist/authContext.d.ts +2 -2
- package/dist/authContext.js +3 -4
- package/dist/authContext.js.map +1 -1
- package/dist/authDeviceClient.js +3 -16
- package/dist/authDeviceClient.js.map +1 -1
- package/dist/beliefs/index.d.ts +4 -9
- package/dist/beliefs/index.js +1305 -1943
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.d.ts +2 -2
- package/dist/beliefsClient.js +23 -54
- package/dist/beliefsClient.js.map +1 -1
- package/dist/boundaryClientSurface.js +3 -10
- package/dist/boundaryClientSurface.js.map +1 -1
- package/dist/client-EiG9nJOY.d.ts +2911 -0
- package/dist/client.d.ts +41 -3038
- package/dist/client.js +1305 -1943
- package/dist/client.js.map +1 -1
- package/dist/contextClient.d.ts +3 -4
- package/dist/contextClient.js +30 -79
- package/dist/contextClient.js.map +1 -1
- package/dist/contextFacade.js +16 -25
- package/dist/contextFacade.js.map +1 -1
- package/dist/contextPackCompiler.js +30 -19
- package/dist/contextPackCompiler.js.map +1 -1
- package/dist/contextPackPolicy.js +17 -7
- package/dist/contextPackPolicy.js.map +1 -1
- package/dist/contextTypes.d.ts +0 -2
- package/dist/contracts/api-enums.contract.d.ts +2 -2
- package/dist/contracts/api-enums.contract.js +1 -6
- package/dist/contracts/api-enums.contract.js.map +1 -1
- package/dist/contracts/auth-session.contract.d.ts +1 -1
- package/dist/contracts/auth-session.contract.js +2 -14
- package/dist/contracts/auth-session.contract.js.map +1 -1
- package/dist/contracts/index.js +6 -30
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lens-filter.contract.js +3 -4
- package/dist/contracts/lens-filter.contract.js.map +1 -1
- package/dist/contracts/lens-workflow.contract.js +3 -4
- package/dist/contracts/lens-workflow.contract.js.map +1 -1
- package/dist/contracts/lensFilter.js +3 -4
- package/dist/contracts/lensFilter.js.map +1 -1
- package/dist/contracts/lensWorkflow.js +3 -4
- package/dist/contracts/lensWorkflow.js.map +1 -1
- package/dist/contracts/mcpTools.js +0 -6
- package/dist/contracts/mcpTools.js.map +1 -1
- package/dist/contradictions/index.d.ts +3 -8
- package/dist/contradictions/index.js +1305 -1943
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.d.ts +2 -19
- package/dist/coreClient.js +15 -50
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +13 -18
- package/dist/decisions/index.js +1305 -1943
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.d.ts +12 -4
- package/dist/decisionsClient.js +35 -60
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +86 -31
- package/dist/edges/index.js +1305 -1943
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.js +18 -60
- package/dist/embeddingsClient.js.map +1 -1
- package/dist/eventingClient.js +18 -60
- package/dist/eventingClient.js.map +1 -1
- package/dist/events.js +3 -6
- package/dist/events.js.map +1 -1
- package/dist/eventsCore.d.ts +1 -1
- package/dist/eventsCore.js +15 -50
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +3 -8
- package/dist/evidence/index.js +1305 -1943
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.js +15 -50
- package/dist/evidenceClient.js.map +1 -1
- package/dist/facade/context.d.ts +1 -2
- package/dist/facade/context.js +16 -25
- package/dist/facade/context.js.map +1 -1
- package/dist/gatewayFacades.d.ts +48 -90
- package/dist/gatewayFacades.js +128 -251
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.d.ts +1 -53
- package/dist/graphAnalysisClient.js +17 -81
- package/dist/graphAnalysisClient.js.map +1 -1
- package/dist/graphClient.d.ts +13 -6
- package/dist/graphClient.js +39 -65
- package/dist/graphClient.js.map +1 -1
- package/dist/graphRecommendationsClient.js +17 -54
- package/dist/graphRecommendationsClient.js.map +1 -1
- package/dist/graphStateClassifierClient.js +19 -60
- package/dist/graphStateClassifierClient.js.map +1 -1
- package/dist/harnessClient.d.ts +24 -13
- package/dist/harnessClient.js +41 -61
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.d.ts +9 -27
- package/dist/identityClient.js +39 -203
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +6 -15
- package/dist/index.js +1171 -2256
- package/dist/index.js.map +1 -1
- package/dist/jobsClient.js +19 -60
- package/dist/jobsClient.js.map +1 -1
- package/dist/learningClient.d.ts +6 -6
- package/dist/learningClient.js +43 -78
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +37 -60
- package/dist/lenses/index.js +1305 -1943
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.js +13 -51
- package/dist/mcpClient.js.map +1 -1
- package/dist/modelRuntimeClient.js +18 -60
- package/dist/modelRuntimeClient.js.map +1 -1
- package/dist/nodes/index.d.ts +22 -49
- package/dist/nodes/index.js +1305 -1943
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +31 -37
- package/dist/ontologies/index.js +1305 -1943
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.d.ts +25 -17
- package/dist/ontologyClient.js +41 -86
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.js +19 -60
- package/dist/ontologyLinksClient.js.map +1 -1
- package/dist/orgGraphSearchClient.js +14 -53
- package/dist/orgGraphSearchClient.js.map +1 -1
- package/dist/packRuntime.d.ts +1 -2
- package/dist/packsClient.d.ts +23 -9
- package/dist/packsClient.js +47 -62
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.d.ts +10 -11
- package/dist/policyClient.js +26 -71
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +3 -8
- package/dist/questions/index.js +1305 -1943
- package/dist/questions/index.js.map +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/reportsClient.d.ts +7 -7
- package/dist/reportsClient.js +52 -107
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.d.ts +3 -3
- package/dist/schemaClient.js +30 -63
- package/dist/schemaClient.js.map +1 -1
- package/dist/sdkSurface.d.ts +3 -6
- package/dist/sdkSurface.js +6 -10
- package/dist/sdkSurface.js.map +1 -1
- package/dist/sourcesClient.js +15 -50
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.js +19 -60
- package/dist/telemetryClient.js.map +1 -1
- package/dist/toolRegistryClient.d.ts +2 -10
- package/dist/toolRegistryClient.js +20 -73
- package/dist/toolRegistryClient.js.map +1 -1
- package/dist/topics/index.d.ts +8 -19
- package/dist/topics/index.js +1305 -1945
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.d.ts +0 -2
- package/dist/topicsClient.js +20 -60
- package/dist/topicsClient.js.map +1 -1
- package/dist/types.d.ts +0 -17
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/workflowClient.d.ts +40 -58
- package/dist/workflowClient.js +54 -66
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +33 -54
- package/dist/worktrees/index.js +1305 -1943
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +3 -17
- package/dist/accessControl.d.ts +0 -79
- package/dist/accessControl.js +0 -1270
- package/dist/accessControl.js.map +0 -1
- package/dist/clientHelpers.d.ts +0 -48
- package/dist/clientHelpers.js +0 -137
- package/dist/clientHelpers.js.map +0 -1
- package/dist/control-plane.d.ts +0 -69
- package/dist/control-plane.js +0 -674
- package/dist/control-plane.js.map +0 -1
- package/dist/functionSurface.d.ts +0 -144
- package/dist/functionSurface.js +0 -1227
- package/dist/functionSurface.js.map +0 -1
- package/dist/functionSurfaceClient.d.ts +0 -8
- package/dist/functionSurfaceClient.js +0 -1227
- package/dist/functionSurfaceClient.js.map +0 -1
- package/dist/graphIntel.d.ts +0 -4
- package/dist/graphIntel.js +0 -3
- package/dist/graphIntel.js.map +0 -1
- package/dist/graphIntelligence.d.ts +0 -2
- package/dist/graphIntelligence.js +0 -47
- package/dist/graphIntelligence.js.map +0 -1
- package/dist/infisicalRuntime.d.ts +0 -43
- package/dist/infisicalRuntime.js +0 -346
- package/dist/infisicalRuntime.js.map +0 -1
- package/dist/secrets.d.ts +0 -1
- package/dist/secrets.js +0 -3
- package/dist/secrets.js.map +0 -1
package/dist/gatewayFacades.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GatewayClientConfig, PlatformGatewaySuccess
|
|
3
|
-
import { TraverseInput, AnalyzeInput, BiasInput, GapsInput } from './graphClient.js';
|
|
4
|
-
import { JsonObject, GraphNeighborhoodResponse, TopicRecord, TopicListResponse, TopicTreeResponse, TopicCoverageResponse } from './types.js';
|
|
1
|
+
import { JsonObject, GraphNeighborhoodResponse, GraphAnalyticsMetric, TopicRecord, TopicListResponse, TopicTreeResponse, TopicCoverageResponse } from './types.js';
|
|
2
|
+
import { GatewayClientConfig, PlatformGatewaySuccess } from './coreClient.js';
|
|
5
3
|
import { ModulateConfidenceInput } from './beliefsClient.js';
|
|
6
4
|
import { OntologyBindingInput } from './ontologyClient.js';
|
|
7
|
-
import './
|
|
8
|
-
import './contracts/auth-session.contract.js';
|
|
5
|
+
import { TopicCreateInput, TopicListInput, TopicUpdateInput, TopicTreeQuery, TopicCoverageQuery, TopicBulkCreateInput } from './topicsClient.js';
|
|
9
6
|
import './contracts/workflow-runtime.contract.js';
|
|
10
7
|
import './contracts/lens-workflow.contract.js';
|
|
11
8
|
import './contracts/lens-filter.contract.js';
|
|
9
|
+
import './authContext.js';
|
|
10
|
+
import './contracts/auth-session.contract.js';
|
|
12
11
|
import './opinion.js';
|
|
13
12
|
|
|
14
13
|
type GatewayRecord = Record<string, unknown>;
|
|
@@ -37,6 +36,26 @@ type GraphNeighborhoodInput = {
|
|
|
37
36
|
globalIds?: string | string[];
|
|
38
37
|
maxDepth?: number;
|
|
39
38
|
};
|
|
39
|
+
type GraphTraverseInput = {
|
|
40
|
+
startNode: string;
|
|
41
|
+
direction?: string;
|
|
42
|
+
maxDepth?: number;
|
|
43
|
+
topicId?: string;
|
|
44
|
+
};
|
|
45
|
+
type GraphAnalyzeInput = {
|
|
46
|
+
topicId?: string;
|
|
47
|
+
metric?: GraphAnalyticsMetric;
|
|
48
|
+
limit?: number;
|
|
49
|
+
};
|
|
50
|
+
type GraphBiasInput = {
|
|
51
|
+
topicId?: string;
|
|
52
|
+
threshold?: number;
|
|
53
|
+
limit?: number;
|
|
54
|
+
};
|
|
55
|
+
type GraphGapsInput = {
|
|
56
|
+
topicId?: string;
|
|
57
|
+
minConfidence?: number;
|
|
58
|
+
};
|
|
40
59
|
type GraphFalsifyInput = {
|
|
41
60
|
topicId?: string;
|
|
42
61
|
beliefId?: string;
|
|
@@ -122,7 +141,6 @@ type EdgeCreateInput = {
|
|
|
122
141
|
weight?: number;
|
|
123
142
|
context?: string;
|
|
124
143
|
reasoning?: string;
|
|
125
|
-
reasoningMethod?: string;
|
|
126
144
|
};
|
|
127
145
|
type EdgeListQuery = {
|
|
128
146
|
sourceId?: string;
|
|
@@ -229,8 +247,6 @@ type TaskUpdateInput = {
|
|
|
229
247
|
description?: string;
|
|
230
248
|
priority?: string;
|
|
231
249
|
status?: string;
|
|
232
|
-
assigneeId?: string;
|
|
233
|
-
blockedReason?: string;
|
|
234
250
|
linkedBeliefId?: string;
|
|
235
251
|
linkedQuestionId?: string;
|
|
236
252
|
linkedWorktreeId?: string;
|
|
@@ -251,39 +267,7 @@ type WorktreeCreateInput = {
|
|
|
251
267
|
topicId?: string;
|
|
252
268
|
objective?: string;
|
|
253
269
|
hypothesis?: string;
|
|
254
|
-
rationale?: string;
|
|
255
|
-
worktreeType?: string;
|
|
256
|
-
startDate?: number;
|
|
257
|
-
endDate?: number;
|
|
258
|
-
durationWeeks?: number;
|
|
259
|
-
confidenceImpact?: "high" | "medium" | "low";
|
|
260
|
-
beliefFocus?: string;
|
|
261
270
|
beliefIds?: string[];
|
|
262
|
-
targetBeliefIds?: string[];
|
|
263
|
-
targetQuestionIds?: string[];
|
|
264
|
-
keyQuestions?: Array<{
|
|
265
|
-
question: string;
|
|
266
|
-
status?: "open" | "answered" | "forked";
|
|
267
|
-
answer?: string;
|
|
268
|
-
answerConfidence?: "high" | "medium" | "low";
|
|
269
|
-
linkedQuestionId?: string;
|
|
270
|
-
}>;
|
|
271
|
-
evidenceSignals?: Array<{
|
|
272
|
-
signal: string;
|
|
273
|
-
collected?: boolean;
|
|
274
|
-
progress?: string;
|
|
275
|
-
notes?: string;
|
|
276
|
-
}>;
|
|
277
|
-
decisionGate?: {
|
|
278
|
-
goCriteria: string[];
|
|
279
|
-
noGoSignals: string[];
|
|
280
|
-
verdict?: "go" | "no_go" | "pivot" | "pending";
|
|
281
|
-
verdictRationale?: string;
|
|
282
|
-
decidedAt?: number;
|
|
283
|
-
decidedBy?: string;
|
|
284
|
-
};
|
|
285
|
-
goCriteria?: string[];
|
|
286
|
-
noGoSignals?: string[];
|
|
287
271
|
autoShape?: boolean;
|
|
288
272
|
domainPackId?: string;
|
|
289
273
|
campaign?: number;
|
|
@@ -297,7 +281,6 @@ type WorktreeCreateInput = {
|
|
|
297
281
|
staffingHint?: string;
|
|
298
282
|
lastReconciledAt?: number;
|
|
299
283
|
autoFixPolicy?: unknown;
|
|
300
|
-
lensId?: string;
|
|
301
284
|
};
|
|
302
285
|
type WorktreeListQuery = {
|
|
303
286
|
topicId?: string;
|
|
@@ -334,7 +317,7 @@ type WorktreeUpdateInput = {
|
|
|
334
317
|
type WorktreeMergeInput = {
|
|
335
318
|
id: string;
|
|
336
319
|
summary?: string;
|
|
337
|
-
outcomes: Array<
|
|
320
|
+
outcomes: Array<{
|
|
338
321
|
beliefId: string;
|
|
339
322
|
confidence: number;
|
|
340
323
|
rationale: string;
|
|
@@ -347,6 +330,11 @@ type WorktreeTargetsInput = {
|
|
|
347
330
|
removeBeliefIds?: string[];
|
|
348
331
|
removeQuestionIds?: string[];
|
|
349
332
|
};
|
|
333
|
+
type OntologyListInput = {
|
|
334
|
+
tenantId?: string;
|
|
335
|
+
tier?: string;
|
|
336
|
+
status?: string;
|
|
337
|
+
};
|
|
350
338
|
type OntologyMatchInput = GatewayRecord;
|
|
351
339
|
type WebhookCreateInput = GatewayRecord;
|
|
352
340
|
type WebhookUpdateInput = GatewayRecord;
|
|
@@ -478,62 +466,37 @@ declare function createEventsFacade(config?: GatewayClientConfig): {
|
|
|
478
466
|
};
|
|
479
467
|
declare function createGraphFacade(config?: GatewayClientConfig): {
|
|
480
468
|
neighborhood(input: GraphNeighborhoodInput): Promise<PlatformGatewaySuccess<GraphNeighborhoodResponse>>;
|
|
469
|
+
traverse(input: GraphTraverseInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
470
|
+
analyze(input?: GraphAnalyzeInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
471
|
+
bias(input?: GraphBiasInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
472
|
+
gaps(input: GraphGapsInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
481
473
|
falsify(input: GraphFalsifyInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
482
|
-
} & {
|
|
483
|
-
traverse: (query: TraverseInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
484
|
-
analyze: (query?: AnalyzeInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
485
|
-
bias: (query?: BiasInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
486
|
-
gaps: (query: GapsInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
487
474
|
};
|
|
488
475
|
declare function createIdentityFacade(config?: GatewayClientConfig): {
|
|
489
476
|
whoami(): Promise<PlatformGatewaySuccess<{
|
|
490
477
|
principalId: string;
|
|
491
|
-
principalType: "human" | "service" | "agent" | "
|
|
492
|
-
clerkId: string | undefined;
|
|
478
|
+
principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
|
|
493
479
|
tenantId: string | null;
|
|
494
480
|
workspaceId: string | null;
|
|
495
481
|
scopes: string[];
|
|
496
482
|
roles: string[];
|
|
497
|
-
groupIds: string[];
|
|
498
|
-
permittedToolNames: string[];
|
|
499
|
-
permittedPackKeys: string[];
|
|
500
|
-
principalStatus: string | undefined;
|
|
501
|
-
tenantStatus: string | undefined;
|
|
502
|
-
workspaceStatus: string | undefined;
|
|
503
483
|
isPlatformAdmin: boolean;
|
|
504
484
|
isTenantAdmin: boolean;
|
|
505
485
|
isWorkspaceAdmin: boolean;
|
|
506
|
-
permit: {
|
|
507
|
-
subject: string;
|
|
508
|
-
tenant: string;
|
|
509
|
-
workspace?: string;
|
|
510
|
-
} | undefined;
|
|
511
486
|
authMode: string | undefined;
|
|
512
487
|
sessionId: string | undefined;
|
|
513
488
|
delegatedBy: string | undefined;
|
|
514
489
|
expiresAt: number | undefined;
|
|
515
490
|
}> & {
|
|
516
491
|
principalId: string;
|
|
517
|
-
principalType: "human" | "service" | "agent" | "
|
|
518
|
-
clerkId: string | undefined;
|
|
492
|
+
principalType: "human" | "service" | "agent" | "user" | "group" | "external_viewer";
|
|
519
493
|
tenantId: string | null;
|
|
520
494
|
workspaceId: string | null;
|
|
521
495
|
scopes: string[];
|
|
522
496
|
roles: string[];
|
|
523
|
-
groupIds: string[];
|
|
524
|
-
permittedToolNames: string[];
|
|
525
|
-
permittedPackKeys: string[];
|
|
526
|
-
principalStatus: string | undefined;
|
|
527
|
-
tenantStatus: string | undefined;
|
|
528
|
-
workspaceStatus: string | undefined;
|
|
529
497
|
isPlatformAdmin: boolean;
|
|
530
498
|
isTenantAdmin: boolean;
|
|
531
499
|
isWorkspaceAdmin: boolean;
|
|
532
|
-
permit: {
|
|
533
|
-
subject: string;
|
|
534
|
-
tenant: string;
|
|
535
|
-
workspace?: string;
|
|
536
|
-
} | undefined;
|
|
537
500
|
authMode: string | undefined;
|
|
538
501
|
sessionId: string | undefined;
|
|
539
502
|
delegatedBy: string | undefined;
|
|
@@ -542,19 +505,14 @@ declare function createIdentityFacade(config?: GatewayClientConfig): {
|
|
|
542
505
|
};
|
|
543
506
|
declare function createOntologiesFacade(config?: GatewayClientConfig): {
|
|
544
507
|
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
} & {
|
|
548
|
-
list: (filters?: GatewayScope & {
|
|
549
|
-
tenantId?: string;
|
|
550
|
-
tier?: string;
|
|
551
|
-
status?: string;
|
|
552
|
-
}) => Promise<PlatformGatewaySuccess<{
|
|
553
|
-
ontologies: unknown[];
|
|
508
|
+
list(query?: OntologyListInput): Promise<PlatformGatewaySuccess<{
|
|
509
|
+
ontologies: any[];
|
|
554
510
|
total: number;
|
|
555
|
-
items:
|
|
556
|
-
definitions:
|
|
511
|
+
items: any[];
|
|
512
|
+
definitions: any[];
|
|
557
513
|
}>>;
|
|
514
|
+
bind(input: OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
515
|
+
match(input: OntologyMatchInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
558
516
|
};
|
|
559
517
|
declare function createQuestionsFacade(config?: GatewayClientConfig): {
|
|
560
518
|
create(input: QuestionCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
@@ -583,9 +541,9 @@ declare function createTasksFacade(config?: GatewayClientConfig): {
|
|
|
583
541
|
list(query: TaskListQuery): Promise<PlatformGatewaySuccess<TaskListResult>>;
|
|
584
542
|
};
|
|
585
543
|
declare function createTopicsFacade(config?: GatewayClientConfig): {
|
|
586
|
-
create
|
|
587
|
-
get
|
|
588
|
-
list
|
|
544
|
+
create(input: TopicCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
545
|
+
get(id: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
546
|
+
list(query?: TopicListInput): Promise<PlatformGatewaySuccess<TopicListResponse>>;
|
|
589
547
|
update(input: TopicUpdateInput & {
|
|
590
548
|
id: string;
|
|
591
549
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
@@ -595,8 +553,8 @@ declare function createTopicsFacade(config?: GatewayClientConfig): {
|
|
|
595
553
|
coverage(input: TopicCoverageQuery & {
|
|
596
554
|
id: string;
|
|
597
555
|
}): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
|
|
598
|
-
remove
|
|
599
|
-
bulkCreate
|
|
556
|
+
remove(id: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
557
|
+
bulkCreate(input: TopicBulkCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
600
558
|
};
|
|
601
559
|
declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
602
560
|
create(input: WebhookCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|