@amigo-ai/platform-sdk 0.65.0 → 0.67.0
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 +103 -3
- package/api.md +16 -0
- package/dist/core/device-code.js +5 -1
- package/dist/core/device-code.js.map +1 -1
- package/dist/index.cjs +205 -8
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +205 -8
- package/dist/index.mjs.map +4 -4
- package/dist/resources/external-integrations.js +80 -0
- package/dist/resources/external-integrations.js.map +1 -0
- package/dist/resources/tokens.js +78 -5
- package/dist/resources/tokens.js.map +1 -1
- package/dist/types/core/device-code.d.ts.map +1 -1
- package/dist/types/generated/api.d.ts +98 -3
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +6 -1
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +6 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts +48 -0
- package/dist/types/resources/external-integrations.d.ts.map +1 -0
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/tokens.d.ts +67 -0
- package/dist/types/resources/tokens.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
+
/**
|
|
3
|
+
* Manage external integrations that can own constrained client credentials for
|
|
4
|
+
* customer backends.
|
|
5
|
+
*/
|
|
6
|
+
export class ExternalIntegrationsResource extends WorkspaceScopedResource {
|
|
7
|
+
/** List external integrations in the workspace. */
|
|
8
|
+
async list(params) {
|
|
9
|
+
return extractData(await this.client.GET('/v1/{workspace_id}/external-integrations', {
|
|
10
|
+
params: { path: { workspace_id: this.workspaceId }, query: params },
|
|
11
|
+
}));
|
|
12
|
+
}
|
|
13
|
+
listAutoPaging(params) {
|
|
14
|
+
return this.iteratePaginatedList((pageParams) => this.list(pageParams), params);
|
|
15
|
+
}
|
|
16
|
+
/** Register a customer/backend integration record. */
|
|
17
|
+
async create(body) {
|
|
18
|
+
return extractData(await this.client.POST('/v1/{workspace_id}/external-integrations', {
|
|
19
|
+
params: { path: { workspace_id: this.workspaceId } },
|
|
20
|
+
body,
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
/** Get one external integration. */
|
|
24
|
+
async get(integrationId) {
|
|
25
|
+
return extractData(await this.client.GET('/v1/{workspace_id}/external-integrations/{integration_id}', {
|
|
26
|
+
params: { path: { workspace_id: this.workspaceId, integration_id: integrationId } },
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
/** Update external integration metadata. */
|
|
30
|
+
async update(integrationId, body) {
|
|
31
|
+
return extractData(await this.client.PATCH('/v1/{workspace_id}/external-integrations/{integration_id}', {
|
|
32
|
+
params: { path: { workspace_id: this.workspaceId, integration_id: integrationId } },
|
|
33
|
+
body,
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
/** Delete an external integration and revoke its active credentials. */
|
|
37
|
+
async delete(integrationId) {
|
|
38
|
+
await this.client.DELETE('/v1/{workspace_id}/external-integrations/{integration_id}', {
|
|
39
|
+
params: { path: { workspace_id: this.workspaceId, integration_id: integrationId } },
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/** List credentials for an external integration. Plaintext secrets are never returned here. */
|
|
43
|
+
async listCredentials(integrationId) {
|
|
44
|
+
return extractData(await this.client.GET('/v1/{workspace_id}/external-integrations/{integration_id}/credentials', {
|
|
45
|
+
params: { path: { workspace_id: this.workspaceId, integration_id: integrationId } },
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
/** Create a credential and return its one-time plaintext client secret. */
|
|
49
|
+
async createCredential(integrationId, body) {
|
|
50
|
+
return extractData(await this.client.POST('/v1/{workspace_id}/external-integrations/{integration_id}/credentials', {
|
|
51
|
+
params: { path: { workspace_id: this.workspaceId, integration_id: integrationId } },
|
|
52
|
+
body,
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
/** Revoke one external integration credential. */
|
|
56
|
+
async revokeCredential(integrationId, credentialId) {
|
|
57
|
+
await this.client.DELETE('/v1/{workspace_id}/external-integrations/{integration_id}/credentials/{credential_id}', {
|
|
58
|
+
params: {
|
|
59
|
+
path: {
|
|
60
|
+
workspace_id: this.workspaceId,
|
|
61
|
+
integration_id: integrationId,
|
|
62
|
+
credential_id: credentialId,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/** Rotate a credential and return the replacement one-time plaintext client secret. */
|
|
68
|
+
async rotateCredential(integrationId, credentialId) {
|
|
69
|
+
return extractData(await this.client.POST('/v1/{workspace_id}/external-integrations/{integration_id}/credentials/{credential_id}/rotate', {
|
|
70
|
+
params: {
|
|
71
|
+
path: {
|
|
72
|
+
workspace_id: this.workspaceId,
|
|
73
|
+
integration_id: integrationId,
|
|
74
|
+
credential_id: credentialId,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=external-integrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-integrations.js","sourceRoot":"","sources":["../../src/resources/external-integrations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAiBhE;;;GAGG;AACH,MAAM,OAAO,4BAA6B,SAAQ,uBAAuB;IACvE,mDAAmD;IACnD,KAAK,CAAC,IAAI,CAAC,MAAuC;QAChD,OAAO,WAAW,CAChB,MAAM,IAAI,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E;gBACN,IAAI,EAAE;oBACJ,YAAY,EAAE,IAAI,CAAC,WAAW;oBAC9B,cAAc,EAAE,aAAa;oBAC7B,aAAa,EAAE,YAAY;iBAC5B;aACF;SACF,CACF,CACF,CAAA;IACH,CAAC;CACF"}
|
package/dist/resources/tokens.js
CHANGED
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
+
export const EXTERNAL_USER_SESSION_CREATE_SCOPE = 'external_user_sessions:create';
|
|
2
3
|
const omitAuthorizationHeader = {
|
|
3
4
|
onRequest({ request }) {
|
|
4
5
|
request.headers.delete('Authorization');
|
|
5
6
|
return request;
|
|
6
7
|
},
|
|
7
8
|
};
|
|
9
|
+
function setAuthorizationHeader(accessToken) {
|
|
10
|
+
return {
|
|
11
|
+
onRequest({ request }) {
|
|
12
|
+
request.headers.set('Authorization', `Bearer ${accessToken}`);
|
|
13
|
+
return request;
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function formBody(fields) {
|
|
18
|
+
const body = new URLSearchParams();
|
|
19
|
+
for (const [key, value] of Object.entries(fields)) {
|
|
20
|
+
if (value !== undefined)
|
|
21
|
+
body.set(key, value);
|
|
22
|
+
}
|
|
23
|
+
return body;
|
|
24
|
+
}
|
|
8
25
|
/**
|
|
9
26
|
* Identity token operations exposed through the platform API base URL.
|
|
10
27
|
*
|
|
@@ -14,13 +31,69 @@ const omitAuthorizationHeader = {
|
|
|
14
31
|
export class TokensResource extends WorkspaceScopedResource {
|
|
15
32
|
/** Exchange an API key for an identity-issued JWT access token. */
|
|
16
33
|
async exchangeApiKey(request) {
|
|
17
|
-
const body = {
|
|
34
|
+
const body = formBody({
|
|
18
35
|
grant_type: 'api_key',
|
|
19
36
|
api_key: request.apiKey,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
37
|
+
scope: request.scope,
|
|
38
|
+
});
|
|
39
|
+
return extractData(await this.client.POST('/token', {
|
|
40
|
+
body,
|
|
41
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
42
|
+
middleware: [omitAuthorizationHeader],
|
|
43
|
+
}));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Exchange OAuth client credentials for a parent JWT.
|
|
47
|
+
*
|
|
48
|
+
* External integration credentials must request only
|
|
49
|
+
* `external_user_sessions:create`; that parent token is a delegation
|
|
50
|
+
* credential for minting external-user sessions, not a general platform API
|
|
51
|
+
* token.
|
|
52
|
+
*/
|
|
53
|
+
async exchangeClientCredentials(request) {
|
|
54
|
+
const body = formBody({
|
|
55
|
+
grant_type: 'client_credentials',
|
|
56
|
+
client_id: request.clientId,
|
|
57
|
+
client_secret: request.clientSecret,
|
|
58
|
+
scope: request.scope,
|
|
59
|
+
});
|
|
60
|
+
return extractData(await this.client.POST('/token', {
|
|
61
|
+
body,
|
|
62
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
63
|
+
middleware: [omitAuthorizationHeader],
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Mint a short-lived external-user session token from a parent
|
|
68
|
+
* external-integration JWT.
|
|
69
|
+
*/
|
|
70
|
+
async createExternalUserSession(request) {
|
|
71
|
+
const body = formBody({
|
|
72
|
+
grant_type: 'external_user_session',
|
|
73
|
+
workspace_id: request.workspaceId ?? this.workspaceId,
|
|
74
|
+
external_subject_key: request.externalSubjectKey,
|
|
75
|
+
subject_type: request.subjectType,
|
|
76
|
+
service_id: request.serviceId,
|
|
77
|
+
consumer_entity_id: request.consumerEntityId,
|
|
78
|
+
ttl_seconds: request.ttlSeconds === undefined ? undefined : String(request.ttlSeconds),
|
|
79
|
+
scope: request.scope,
|
|
80
|
+
});
|
|
81
|
+
return extractData(await this.client.POST('/token', {
|
|
82
|
+
body,
|
|
83
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
84
|
+
...(request.parentAccessToken && {
|
|
85
|
+
middleware: [setAuthorizationHeader(request.parentAccessToken)],
|
|
86
|
+
}),
|
|
87
|
+
}));
|
|
88
|
+
}
|
|
89
|
+
/** Rotate a refresh token for a new access-token and refresh-token pair. */
|
|
90
|
+
async refresh(request) {
|
|
91
|
+
const body = formBody({
|
|
92
|
+
grant_type: 'refresh_token',
|
|
93
|
+
refresh_token: request.refreshToken,
|
|
94
|
+
workspace_id: request.workspaceId,
|
|
95
|
+
scope: request.scope,
|
|
96
|
+
});
|
|
24
97
|
return extractData(await this.client.POST('/token', {
|
|
25
98
|
body,
|
|
26
99
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/resources/tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/resources/tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEhE,MAAM,CAAC,MAAM,kCAAkC,GAAG,+BAA+B,CAAA;AAmEjF,MAAM,uBAAuB,GAAe;IAC1C,SAAS,CAAC,EAAE,OAAO,EAAE;QACnB,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,CAAA;QACvC,OAAO,OAAO,CAAA;IAChB,CAAC;CACF,CAAA;AAED,SAAS,sBAAsB,CAAC,WAAmB;IACjD,OAAO;QACL,SAAS,CAAC,EAAE,OAAO,EAAE;YACnB,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,UAAU,WAAW,EAAE,CAAC,CAAA;YAC7D,OAAO,OAAO,CAAA;QAChB,CAAC;KACF,CAAA;AACH,CAAC;AAED,SAAS,QAAQ,CAAC,MAA0C;IAC1D,MAAM,IAAI,GAAG,IAAI,eAAe,EA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icalIdString: string;
|
|
8980
|
+
/**
|
|
8981
|
+
* CanonicalInboundEnvelopePayload
|
|
8982
|
+
* @description HTTP wire shape for :class:`CanonicalInboundEnvelope` (channel service → platform-api).
|
|
8983
|
+
*
|
|
8984
|
+
* Frozen — it is parsed once and immediately converted to the frozen in-core
|
|
8985
|
+
* dataclass, so between-parse mutation is a bug.
|
|
8986
|
+
*/
|
|
8987
|
+
CanonicalInboundEnvelopePayload: {
|
|
8988
|
+
/**
|
|
8989
|
+
* Authenticated
|
|
8990
|
+
* @default false
|
|
8991
|
+
*/
|
|
8992
|
+
authenticated?: boolean;
|
|
8993
|
+
/**
|
|
8994
|
+
* Caller Ref
|
|
8995
|
+
* @default
|
|
8996
|
+
*/
|
|
8997
|
+
caller_ref?: string;
|
|
8998
|
+
channel_kind: components["schemas"]["ChannelKind"];
|
|
8999
|
+
/** Content Parts */
|
|
9000
|
+
content_parts: components["schemas"]["ContentPartPayload"][];
|
|
9001
|
+
/**
|
|
9002
|
+
* Idempotency Key
|
|
9003
|
+
* @default
|
|
9004
|
+
*/
|
|
9005
|
+
idempotency_key?: string;
|
|
9006
|
+
/** Inbound Message Ref */
|
|
9007
|
+
inbound_message_ref: string;
|
|
9008
|
+
/**
|
|
9009
|
+
* Occurred At
|
|
9010
|
+
* @default 0
|
|
9011
|
+
*/
|
|
9012
|
+
occurred_at?: number;
|
|
9013
|
+
/**
|
|
9014
|
+
* Parent Outbound Ref
|
|
9015
|
+
* @default
|
|
9016
|
+
*/
|
|
9017
|
+
parent_outbound_ref?: string;
|
|
9018
|
+
/** Subject */
|
|
9019
|
+
subject?: string | null;
|
|
9020
|
+
/**
|
|
9021
|
+
* Use Case Id
|
|
9022
|
+
* Format: uuid
|
|
9023
|
+
*/
|
|
9024
|
+
use_case_id: string;
|
|
9025
|
+
};
|
|
8980
9026
|
/** CatalogEntry */
|
|
8981
9027
|
CatalogEntry: {
|
|
8982
9028
|
/** Description */
|
|
@@ -9233,6 +9279,23 @@ export interface components {
|
|
|
9233
9279
|
objective?: string | null;
|
|
9234
9280
|
progress?: components["schemas"]["ProgressHint"] | null;
|
|
9235
9281
|
};
|
|
9282
|
+
/** ChannelTurnResponse */
|
|
9283
|
+
ChannelTurnResponse: {
|
|
9284
|
+
/** Event Id */
|
|
9285
|
+
event_id?: string | null;
|
|
9286
|
+
/**
|
|
9287
|
+
* Is New Session
|
|
9288
|
+
* @default false
|
|
9289
|
+
*/
|
|
9290
|
+
is_new_session?: boolean;
|
|
9291
|
+
/** Session Id */
|
|
9292
|
+
session_id?: string | null;
|
|
9293
|
+
/**
|
|
9294
|
+
* Status
|
|
9295
|
+
* @enum {string}
|
|
9296
|
+
*/
|
|
9297
|
+
status: "accepted" | "skipped" | "duplicate";
|
|
9298
|
+
};
|
|
9236
9299
|
/**
|
|
9237
9300
|
* ChannelType
|
|
9238
9301
|
* @description Delivery channels for surfaces.
|
|
@@ -22597,6 +22660,31 @@ export interface components {
|
|
|
22597
22660
|
*/
|
|
22598
22661
|
sub_tool_logs: components["schemas"]["SubToolLog"][];
|
|
22599
22662
|
};
|
|
22663
|
+
/**
|
|
22664
|
+
* TextAgentMessageEvent
|
|
22665
|
+
* @description An agent text turn pushed live over workspace SSE — the outbox of the
|
|
22666
|
+
* durable text-conversation actor (text-conversation-actor Stage A).
|
|
22667
|
+
*
|
|
22668
|
+
* Where ``TextBackgroundResultEvent`` surfaces the raw tool card,
|
|
22669
|
+
* this carries the agent's *narrated* response (the turn the actor produces after
|
|
22670
|
+
* re-entering on a background completion or other off-request signal), so a
|
|
22671
|
+
* subscribed web client renders it as a normal agent message with no polling and
|
|
22672
|
+
* no user turn. ``conversation_id`` is the durable conversation UUID (web-only).
|
|
22673
|
+
*/
|
|
22674
|
+
TextAgentMessageEvent: {
|
|
22675
|
+
/**
|
|
22676
|
+
* Conversation Id
|
|
22677
|
+
* Format: uuid
|
|
22678
|
+
*/
|
|
22679
|
+
conversation_id: string;
|
|
22680
|
+
/**
|
|
22681
|
+
* @description discriminator enum property added by openapi-typescript
|
|
22682
|
+
* @enum {string}
|
|
22683
|
+
*/
|
|
22684
|
+
event_type: "text.agent_message";
|
|
22685
|
+
/** Text */
|
|
22686
|
+
text: string;
|
|
22687
|
+
};
|
|
22600
22688
|
/**
|
|
22601
22689
|
* TextBackgroundResultEvent
|
|
22602
22690
|
* @description A background (``execution="background"``) tool finished for a web text
|
|
@@ -25104,7 +25192,7 @@ export interface components {
|
|
|
25104
25192
|
*/
|
|
25105
25193
|
updated_at: string;
|
|
25106
25194
|
};
|
|
25107
|
-
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["IntegrationApprovalGrantedEvent"] | components["schemas"]["IntegrationApprovalRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TextBackgroundResultEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceMemberRoleUpdatedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"] | components["schemas"]["ChannelEmailReceivedEvent"] | components["schemas"]["ChannelVoicemailStatusEvent"];
|
|
25195
|
+
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["IntegrationApprovalGrantedEvent"] | components["schemas"]["IntegrationApprovalRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TextBackgroundResultEvent"] | components["schemas"]["TextAgentMessageEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceMemberRoleUpdatedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"] | components["schemas"]["ChannelEmailReceivedEvent"] | components["schemas"]["ChannelVoicemailStatusEvent"];
|
|
25108
25196
|
/** WorldDashboardResponse */
|
|
25109
25197
|
WorldDashboardResponse: {
|
|
25110
25198
|
/** Avg Confidence */
|
|
@@ -25574,14 +25662,21 @@ export interface components {
|
|
|
25574
25662
|
src__routes__integrations__test_endpoint__Request: {
|
|
25575
25663
|
/**
|
|
25576
25664
|
* Auth Params
|
|
25577
|
-
* @description Caller-supplied values for auth-routed params.
|
|
25665
|
+
* @description Caller-supplied values for auth-routed params — the AUTH-ONLY channel.
|
|
25578
25666
|
*
|
|
25579
25667
|
* A ``custom_token_exchange`` integration declares ``param_headers`` /
|
|
25580
25668
|
* ``param_body_fields`` whose ``param_name`` placeholders are NOT part of the
|
|
25581
25669
|
* endpoint's ``input_schema`` (they feed the pre-flight token exchange, not the
|
|
25582
25670
|
* endpoint call). They never reach the auth renderer through ``params`` alone, so
|
|
25583
25671
|
* the renderer raised before any HTTP call. Supply them here to exercise the
|
|
25584
|
-
* exchange end-to-end.
|
|
25672
|
+
* exchange end-to-end.
|
|
25673
|
+
*
|
|
25674
|
+
* PLA-980: these values resolve the token exchange but are STRIPPED before the
|
|
25675
|
+
* downstream endpoint request is built, so a pure-auth secret put here never
|
|
25676
|
+
* echoes into the outbound body/query. A param that legitimately feeds BOTH the
|
|
25677
|
+
* exchange and the endpoint call belongs in ``params`` (which keeps its existing
|
|
25678
|
+
* dual-use behavior). ``auth_params`` is for pure-auth keys absent from ``params``;
|
|
25679
|
+
* on a key collision the ``params`` value wins (for both the exchange and the call).
|
|
25585
25680
|
*/
|
|
25586
25681
|
auth_params?: {
|
|
25587
25682
|
[key: string]: unknown;
|