@amigo-ai/platform-sdk 0.53.0 → 0.54.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 +2 -4
- package/api.md +3 -50
- package/dist/index.cjs +11 -356
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +0 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -356
- package/dist/index.mjs.map +4 -4
- package/dist/resources/analytics.js +0 -6
- package/dist/resources/analytics.js.map +1 -1
- package/dist/resources/functions.js +10 -118
- package/dist/resources/functions.js.map +1 -1
- package/dist/types/generated/api.d.ts +121 -3538
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +0 -10
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +0 -10
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/analytics.d.ts +0 -25
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +21 -186
- package/dist/types/resources/functions.d.ts.map +1 -1
- 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/package.json +1 -1
- package/dist/resources/monitor-concepts.js +0 -47
- package/dist/resources/monitor-concepts.js.map +0 -1
- package/dist/resources/phone-numbers.js +0 -56
- package/dist/resources/phone-numbers.js.map +0 -1
- package/dist/resources/safety.js +0 -31
- package/dist/resources/safety.js.map +0 -1
- package/dist/resources/unification-rules.js +0 -46
- package/dist/resources/unification-rules.js.map +0 -1
- package/dist/types/resources/monitor-concepts.d.ts +0 -115
- package/dist/types/resources/monitor-concepts.d.ts.map +0 -1
- package/dist/types/resources/phone-numbers.d.ts +0 -145
- package/dist/types/resources/phone-numbers.d.ts.map +0 -1
- package/dist/types/resources/safety.d.ts +0 -83
- package/dist/types/resources/safety.d.ts.map +0 -1
- package/dist/types/resources/unification-rules.d.ts +0 -129
- package/dist/types/resources/unification-rules.d.ts.map +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
-
/**
|
|
3
|
-
* Manage workspace monitor concepts — semantic patterns the platform watches
|
|
4
|
-
* across calls to surface emerging behavior. Each concept holds a name,
|
|
5
|
-
* description, and detection rules; the platform indexes them and lights
|
|
6
|
-
* them up against live and historical traffic.
|
|
7
|
-
*
|
|
8
|
-
* @beta New in this release; surface may evolve.
|
|
9
|
-
*/
|
|
10
|
-
export class MonitorConceptsResource extends WorkspaceScopedResource {
|
|
11
|
-
/** Create a new monitor concept */
|
|
12
|
-
async create(body) {
|
|
13
|
-
return extractData(await this.client.POST('/v1/{workspace_id}/monitor-concepts', {
|
|
14
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
15
|
-
body,
|
|
16
|
-
}));
|
|
17
|
-
}
|
|
18
|
-
/** List monitor concepts in the workspace */
|
|
19
|
-
async list(params) {
|
|
20
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/monitor-concepts', {
|
|
21
|
-
params: { path: { workspace_id: this.workspaceId }, query: params },
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
listAutoPaging(params) {
|
|
25
|
-
return this.iteratePaginatedList((pageParams) => this.list(pageParams), params);
|
|
26
|
-
}
|
|
27
|
-
/** Get a single monitor concept */
|
|
28
|
-
async get(conceptId) {
|
|
29
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/monitor-concepts/{concept_id}', {
|
|
30
|
-
params: { path: { workspace_id: this.workspaceId, concept_id: conceptId } },
|
|
31
|
-
}));
|
|
32
|
-
}
|
|
33
|
-
/** Update a monitor concept */
|
|
34
|
-
async update(conceptId, body) {
|
|
35
|
-
return extractData(await this.client.PATCH('/v1/{workspace_id}/monitor-concepts/{concept_id}', {
|
|
36
|
-
params: { path: { workspace_id: this.workspaceId, concept_id: conceptId } },
|
|
37
|
-
body,
|
|
38
|
-
}));
|
|
39
|
-
}
|
|
40
|
-
/** Delete a monitor concept */
|
|
41
|
-
async delete(conceptId) {
|
|
42
|
-
return extractData(await this.client.DELETE('/v1/{workspace_id}/monitor-concepts/{concept_id}', {
|
|
43
|
-
params: { path: { workspace_id: this.workspaceId, concept_id: conceptId } },
|
|
44
|
-
}));
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=monitor-concepts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitor-concepts.js","sourceRoot":"","sources":["../../src/resources/monitor-concepts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAMhE;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAwB,SAAQ,uBAAuB;IAClE,mCAAmC;IACnC,KAAK,CAAC,MAAM,CAAC,IAA0D;QACrE,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,qCAAqC,EAAE;YAC5D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,6CAA6C;IAC7C,KAAK,CAAC,IAAI,CAAC,MAAkC;QAC3C,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,qCAAqC,EAAE;YAC3D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAkC;QAC/C,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAAA;IACjF,CAAC;IAED,mCAAmC;IACnC,KAAK,CAAC,GAAG,CAAC,SAAiB;QACzB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,kDAAkD,EAAE;YACxE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE;SAC5E,CAAC,CACH,CAAA;IACH,CAAC;IAED,+BAA+B;IAC/B,KAAK,CAAC,MAAM,CAAC,SAAiB,EAAE,IAA0D;QACxF,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,kDAAkD,EAAE;YAC1E,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE;YAC3E,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,+BAA+B;IAC/B,KAAK,CAAC,MAAM,CAAC,SAAiB;QAC5B,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,kDAAkD,EAAE;YAC3E,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE;SAC5E,CAAC,CACH,CAAA;IACH,CAAC;CACF"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
-
/**
|
|
3
|
-
* Manage phone numbers — provision, configure, and release Twilio numbers
|
|
4
|
-
* that are attached to agents for inbound/outbound calling.
|
|
5
|
-
*/
|
|
6
|
-
export class PhoneNumbersResource extends WorkspaceScopedResource {
|
|
7
|
-
/** Create a new phone number */
|
|
8
|
-
async provision(body) {
|
|
9
|
-
return extractData(await this.client.POST('/v1/{workspace_id}/phone-numbers', {
|
|
10
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
11
|
-
body,
|
|
12
|
-
}));
|
|
13
|
-
}
|
|
14
|
-
/** List phone numbers in the workspace */
|
|
15
|
-
async list(params) {
|
|
16
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/phone-numbers', {
|
|
17
|
-
params: { path: { workspace_id: this.workspaceId }, query: params },
|
|
18
|
-
}));
|
|
19
|
-
}
|
|
20
|
-
listAutoPaging(params) {
|
|
21
|
-
return this.iteratePaginatedList((pageParams) => this.list(pageParams), params);
|
|
22
|
-
}
|
|
23
|
-
/** Get a phone number */
|
|
24
|
-
async get(phoneNumberId) {
|
|
25
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/phone-numbers/{phone_number_id}', {
|
|
26
|
-
params: { path: { workspace_id: this.workspaceId, phone_number_id: phoneNumberId } },
|
|
27
|
-
}));
|
|
28
|
-
}
|
|
29
|
-
/** Update a phone number (assign to agent, rename) */
|
|
30
|
-
async update(phoneNumberId, body) {
|
|
31
|
-
return extractData(await this.client.PUT('/v1/{workspace_id}/phone-numbers/{phone_number_id}', {
|
|
32
|
-
params: { path: { workspace_id: this.workspaceId, phone_number_id: phoneNumberId } },
|
|
33
|
-
body,
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
/** Release a phone number back to the carrier */
|
|
37
|
-
async release(phoneNumberId) {
|
|
38
|
-
await this.client.DELETE('/v1/{workspace_id}/phone-numbers/{phone_number_id}', {
|
|
39
|
-
params: { path: { workspace_id: this.workspaceId, phone_number_id: phoneNumberId } },
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
/** Set call forwarding for a phone number */
|
|
43
|
-
async setForwarding(phoneNumberId, body) {
|
|
44
|
-
return extractData(await this.client.PUT('/v1/{workspace_id}/phone-numbers/{phone_number_id}/forwarding', {
|
|
45
|
-
params: { path: { workspace_id: this.workspaceId, phone_number_id: phoneNumberId } },
|
|
46
|
-
body,
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
/** Clear call forwarding for a phone number */
|
|
50
|
-
async clearForwarding(phoneNumberId) {
|
|
51
|
-
await this.client.DELETE('/v1/{workspace_id}/phone-numbers/{phone_number_id}/forwarding', {
|
|
52
|
-
params: { path: { workspace_id: this.workspaceId, phone_number_id: phoneNumberId } },
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=phone-numbers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../src/resources/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAGhE;;;GAGG;AACH,MAAM,OAAO,oBAAqB,SAAQ,uBAAuB;IAC/D,gCAAgC;IAChC,KAAK,CAAC,SAAS,CAAC,IAAuD;QACrE,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kCAAkC,EAAE;YACzD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,0CAA0C;IAC1C,KAAK,CAAC,IAAI,CAAC,MAAmB;QAC5B,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,kCAAkC,EAAE;YACxD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAmB;QAChC,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAAA;IACjF,CAAC;IAED,yBAAyB;IACzB,KAAK,CAAC,GAAG,CAAC,aAAqC;QAC7C,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,oDAAoD,EAAE;YAC1E,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE;SACrF,CAAC,CACH,CAAA;IACH,CAAC;IAED,sDAAsD;IACtD,KAAK,CAAC,MAAM,CACV,aAAqC,EACrC,IAAuD;QAEvD,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,oDAAoD,EAAE;YAC1E,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE;YACpF,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,iDAAiD;IACjD,KAAK,CAAC,OAAO,CAAC,aAAqC;QACjD,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,oDAAoD,EAAE;YAC7E,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE;SACrF,CAAC,CAAA;IACJ,CAAC;IAED,6CAA6C;IAC7C,KAAK,CAAC,aAAa,CACjB,aAAqC,EACrC,IAAsD;QAEtD,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,+DAA+D,EAAE;YACrF,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE;YACpF,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,+CAA+C;IAC/C,KAAK,CAAC,eAAe,CAAC,aAAqC;QACzD,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,+DAA+D,EAAE;YACxF,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE;SACrF,CAAC,CAAA;IACJ,CAAC;CACF"}
|
package/dist/resources/safety.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
-
export class SafetyResource extends WorkspaceScopedResource {
|
|
3
|
-
async getConfig() {
|
|
4
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/safety/config', {
|
|
5
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
6
|
-
}));
|
|
7
|
-
}
|
|
8
|
-
async updateConfig(body) {
|
|
9
|
-
return extractData(await this.client.PUT('/v1/{workspace_id}/safety/config', {
|
|
10
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
11
|
-
body,
|
|
12
|
-
}));
|
|
13
|
-
}
|
|
14
|
-
async listTemplates() {
|
|
15
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/safety/templates', {
|
|
16
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
17
|
-
}));
|
|
18
|
-
}
|
|
19
|
-
async getTemplate(templateId) {
|
|
20
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/safety/templates/{template_id}', {
|
|
21
|
-
params: { path: { workspace_id: this.workspaceId, template_id: templateId } },
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
async applyTemplate(templateId, body) {
|
|
25
|
-
return extractData(await this.client.POST('/v1/{workspace_id}/safety/templates/{template_id}/apply', {
|
|
26
|
-
params: { path: { workspace_id: this.workspaceId, template_id: templateId } },
|
|
27
|
-
body,
|
|
28
|
-
}));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=safety.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safety.js","sourceRoot":"","sources":["../../src/resources/safety.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEhE,MAAM,OAAO,cAAe,SAAQ,uBAAuB;IACzD,KAAK,CAAC,SAAS;QACb,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,kCAAkC,EAAE;YACxD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;SACrD,CAAC,CACH,CAAA;IACH,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,IAAwD;QACzE,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,kCAAkC,EAAE;YACxD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,KAAK,CAAC,aAAa;QACjB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,qCAAqC,EAAE;YAC3D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;SACrD,CAAC,CACH,CAAA;IACH,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,UAAkB;QAClC,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,mDAAmD,EAAE;YACzE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;SAC9E,CAAC,CACH,CAAA;IACH,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,UAAkB,EAAE,IAAmD;QACzF,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,yDAAyD,EAAE;YAChF,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;YAC7E,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;CACF"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
-
/**
|
|
3
|
-
* Manage entity unification rules — declarative joins that fold duplicate
|
|
4
|
-
* world-model entities into a single canonical record. Rules are evaluated
|
|
5
|
-
* on ingest; the surviving entity inherits properties from its merge sources.
|
|
6
|
-
*
|
|
7
|
-
* @beta New in this release; surface may evolve.
|
|
8
|
-
*/
|
|
9
|
-
export class UnificationRulesResource extends WorkspaceScopedResource {
|
|
10
|
-
/** Create a new unification rule */
|
|
11
|
-
async create(body) {
|
|
12
|
-
return extractData(await this.client.POST('/v1/{workspace_id}/unification-rules', {
|
|
13
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
14
|
-
body,
|
|
15
|
-
}));
|
|
16
|
-
}
|
|
17
|
-
/** List unification rules in the workspace */
|
|
18
|
-
async list(params) {
|
|
19
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/unification-rules', {
|
|
20
|
-
params: { path: { workspace_id: this.workspaceId }, query: params },
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
listAutoPaging(params) {
|
|
24
|
-
return this.iteratePaginatedList((pageParams) => this.list(pageParams), params);
|
|
25
|
-
}
|
|
26
|
-
/** Get a single unification rule */
|
|
27
|
-
async get(ruleId) {
|
|
28
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/unification-rules/{rule_id}', {
|
|
29
|
-
params: { path: { workspace_id: this.workspaceId, rule_id: ruleId } },
|
|
30
|
-
}));
|
|
31
|
-
}
|
|
32
|
-
/** Update a unification rule */
|
|
33
|
-
async update(ruleId, body) {
|
|
34
|
-
return extractData(await this.client.PATCH('/v1/{workspace_id}/unification-rules/{rule_id}', {
|
|
35
|
-
params: { path: { workspace_id: this.workspaceId, rule_id: ruleId } },
|
|
36
|
-
body,
|
|
37
|
-
}));
|
|
38
|
-
}
|
|
39
|
-
/** Delete a unification rule */
|
|
40
|
-
async delete(ruleId) {
|
|
41
|
-
return extractData(await this.client.DELETE('/v1/{workspace_id}/unification-rules/{rule_id}', {
|
|
42
|
-
params: { path: { workspace_id: this.workspaceId, rule_id: ruleId } },
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=unification-rules.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unification-rules.js","sourceRoot":"","sources":["../../src/resources/unification-rules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAMhE;;;;;;GAMG;AACH,MAAM,OAAO,wBAAyB,SAAQ,uBAAuB;IACnE,oCAAoC;IACpC,KAAK,CAAC,MAAM,CAAC,IAA2D;QACtE,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sCAAsC,EAAE;YAC7D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,8CAA8C;IAC9C,KAAK,CAAC,IAAI,CAAC,MAAmC;QAC5C,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,sCAAsC,EAAE;YAC5D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAmC;QAChD,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAAA;IACjF,CAAC;IAED,oCAAoC;IACpC,KAAK,CAAC,GAAG,CAAC,MAAc;QACtB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,gDAAgD,EAAE;YACtE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;SACtE,CAAC,CACH,CAAA;IACH,CAAC;IAED,gCAAgC;IAChC,KAAK,CAAC,MAAM,CAAC,MAAc,EAAE,IAA2D;QACtF,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gDAAgD,EAAE;YACxE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;YACrE,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,gCAAgC;IAChC,KAAK,CAAC,MAAM,CAAC,MAAc;QACzB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,gDAAgD,EAAE;YACzE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;SACtE,CAAC,CACH,CAAA;IACH,CAAC;CACF"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import type { components, paths } from '../generated/api.js';
|
|
2
|
-
import { WorkspaceScopedResource } from './base.js';
|
|
3
|
-
export type ListMonitorConceptsParams = NonNullable<paths['/v1/{workspace_id}/monitor-concepts']['get']['parameters']['query']>;
|
|
4
|
-
/**
|
|
5
|
-
* Manage workspace monitor concepts — semantic patterns the platform watches
|
|
6
|
-
* across calls to surface emerging behavior. Each concept holds a name,
|
|
7
|
-
* description, and detection rules; the platform indexes them and lights
|
|
8
|
-
* them up against live and historical traffic.
|
|
9
|
-
*
|
|
10
|
-
* @beta New in this release; surface may evolve.
|
|
11
|
-
*/
|
|
12
|
-
export declare class MonitorConceptsResource extends WorkspaceScopedResource {
|
|
13
|
-
/** Create a new monitor concept */
|
|
14
|
-
create(body: components['schemas']['CreateMonitorConceptRequest']): Promise<{
|
|
15
|
-
agent_config: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
};
|
|
18
|
-
created_at: string;
|
|
19
|
-
description: string;
|
|
20
|
-
escalation: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
};
|
|
23
|
-
has_embedding: boolean;
|
|
24
|
-
id: string;
|
|
25
|
-
name: string;
|
|
26
|
-
standalone_threshold: number;
|
|
27
|
-
tags: string[];
|
|
28
|
-
threshold: number;
|
|
29
|
-
updated_at: string;
|
|
30
|
-
workspace_id: string;
|
|
31
|
-
} & import("../index.js").ResponseMetadata>;
|
|
32
|
-
/** List monitor concepts in the workspace */
|
|
33
|
-
list(params?: ListMonitorConceptsParams): Promise<{
|
|
34
|
-
continuation_token?: number | null | undefined;
|
|
35
|
-
has_more: boolean;
|
|
36
|
-
items: {
|
|
37
|
-
agent_config: {
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
40
|
-
created_at: string;
|
|
41
|
-
description: string;
|
|
42
|
-
escalation: {
|
|
43
|
-
[x: string]: unknown;
|
|
44
|
-
};
|
|
45
|
-
has_embedding: boolean;
|
|
46
|
-
id: string;
|
|
47
|
-
name: string;
|
|
48
|
-
standalone_threshold: number;
|
|
49
|
-
tags: string[];
|
|
50
|
-
threshold: number;
|
|
51
|
-
updated_at: string;
|
|
52
|
-
workspace_id: string;
|
|
53
|
-
}[];
|
|
54
|
-
total?: number | null | undefined;
|
|
55
|
-
} & import("../index.js").ResponseMetadata>;
|
|
56
|
-
listAutoPaging(params?: ListMonitorConceptsParams): AsyncGenerator<{
|
|
57
|
-
agent_config: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
};
|
|
60
|
-
created_at: string;
|
|
61
|
-
description: string;
|
|
62
|
-
escalation: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
has_embedding: boolean;
|
|
66
|
-
id: string;
|
|
67
|
-
name: string;
|
|
68
|
-
standalone_threshold: number;
|
|
69
|
-
tags: string[];
|
|
70
|
-
threshold: number;
|
|
71
|
-
updated_at: string;
|
|
72
|
-
workspace_id: string;
|
|
73
|
-
}, any, any>;
|
|
74
|
-
/** Get a single monitor concept */
|
|
75
|
-
get(conceptId: string): Promise<{
|
|
76
|
-
agent_config: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
};
|
|
79
|
-
created_at: string;
|
|
80
|
-
description: string;
|
|
81
|
-
escalation: {
|
|
82
|
-
[x: string]: unknown;
|
|
83
|
-
};
|
|
84
|
-
has_embedding: boolean;
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
|
-
standalone_threshold: number;
|
|
88
|
-
tags: string[];
|
|
89
|
-
threshold: number;
|
|
90
|
-
updated_at: string;
|
|
91
|
-
workspace_id: string;
|
|
92
|
-
} & import("../index.js").ResponseMetadata>;
|
|
93
|
-
/** Update a monitor concept */
|
|
94
|
-
update(conceptId: string, body: components['schemas']['UpdateMonitorConceptRequest']): Promise<{
|
|
95
|
-
agent_config: {
|
|
96
|
-
[x: string]: unknown;
|
|
97
|
-
};
|
|
98
|
-
created_at: string;
|
|
99
|
-
description: string;
|
|
100
|
-
escalation: {
|
|
101
|
-
[x: string]: unknown;
|
|
102
|
-
};
|
|
103
|
-
has_embedding: boolean;
|
|
104
|
-
id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
standalone_threshold: number;
|
|
107
|
-
tags: string[];
|
|
108
|
-
threshold: number;
|
|
109
|
-
updated_at: string;
|
|
110
|
-
workspace_id: string;
|
|
111
|
-
} & import("../index.js").ResponseMetadata>;
|
|
112
|
-
/** Delete a monitor concept */
|
|
113
|
-
delete(conceptId: string): Promise<undefined>;
|
|
114
|
-
}
|
|
115
|
-
//# sourceMappingURL=monitor-concepts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitor-concepts.d.ts","sourceRoot":"","sources":["../../../src/resources/monitor-concepts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,KAAK,CAAC,qCAAqC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAC3E,CAAA;AAED;;;;;;;GAOG;AACH,qBAAa,uBAAwB,SAAQ,uBAAuB;IAClE,mCAAmC;IAC7B,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;IASvE,6CAA6C;IACvC,IAAI,CAAC,MAAM,CAAC,EAAE,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;IAQ7C,cAAc,CAAC,MAAM,CAAC,EAAE,yBAAyB;;;;;;;;;;;;;;;;;;IAIjD,mCAAmC;IAC7B,GAAG,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;IAQ3B,+BAA+B;IACzB,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;IAS1F,+BAA+B;IACzB,MAAM,CAAC,SAAS,EAAE,MAAM;CAO/B"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import type { components } from '../generated/api.js';
|
|
2
|
-
import type { PhoneNumberId } from '../core/branded-types.js';
|
|
3
|
-
import { WorkspaceScopedResource } from './base.js';
|
|
4
|
-
import type { ListParams } from '../core/utils.js';
|
|
5
|
-
/**
|
|
6
|
-
* Manage phone numbers — provision, configure, and release Twilio numbers
|
|
7
|
-
* that are attached to agents for inbound/outbound calling.
|
|
8
|
-
*/
|
|
9
|
-
export declare class PhoneNumbersResource extends WorkspaceScopedResource {
|
|
10
|
-
/** Create a new phone number */
|
|
11
|
-
provision(body: components['schemas']['CreatePhoneNumberRequest']): Promise<{
|
|
12
|
-
capabilities: string[];
|
|
13
|
-
channel_phone_id?: string | null | undefined;
|
|
14
|
-
created_at: string;
|
|
15
|
-
display_name: string;
|
|
16
|
-
forwarding: {
|
|
17
|
-
enabled: boolean;
|
|
18
|
-
forward_to: string;
|
|
19
|
-
should_disconnect: boolean;
|
|
20
|
-
} | null;
|
|
21
|
-
id: string;
|
|
22
|
-
inbound_service_id: string | null;
|
|
23
|
-
notes: string;
|
|
24
|
-
phone_number: string;
|
|
25
|
-
provider: string;
|
|
26
|
-
provider_phone_sid: string | null;
|
|
27
|
-
status: string;
|
|
28
|
-
updated_at: string;
|
|
29
|
-
workspace_id: string;
|
|
30
|
-
} & import("../index.js").ResponseMetadata>;
|
|
31
|
-
/** List phone numbers in the workspace */
|
|
32
|
-
list(params?: ListParams): Promise<{
|
|
33
|
-
continuation_token?: number | null | undefined;
|
|
34
|
-
has_more: boolean;
|
|
35
|
-
items: {
|
|
36
|
-
capabilities: string[];
|
|
37
|
-
channel_phone_id?: string | null | undefined;
|
|
38
|
-
created_at: string;
|
|
39
|
-
display_name: string;
|
|
40
|
-
forwarding: {
|
|
41
|
-
enabled: boolean;
|
|
42
|
-
forward_to: string;
|
|
43
|
-
should_disconnect: boolean;
|
|
44
|
-
} | null;
|
|
45
|
-
id: string;
|
|
46
|
-
inbound_service_id: string | null;
|
|
47
|
-
notes: string;
|
|
48
|
-
phone_number: string;
|
|
49
|
-
provider: string;
|
|
50
|
-
provider_phone_sid: string | null;
|
|
51
|
-
status: string;
|
|
52
|
-
updated_at: string;
|
|
53
|
-
workspace_id: string;
|
|
54
|
-
}[];
|
|
55
|
-
total?: number | null | undefined;
|
|
56
|
-
} & import("../index.js").ResponseMetadata>;
|
|
57
|
-
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
58
|
-
capabilities: string[];
|
|
59
|
-
channel_phone_id?: string | null | undefined;
|
|
60
|
-
created_at: string;
|
|
61
|
-
display_name: string;
|
|
62
|
-
forwarding: {
|
|
63
|
-
enabled: boolean;
|
|
64
|
-
forward_to: string;
|
|
65
|
-
should_disconnect: boolean;
|
|
66
|
-
} | null;
|
|
67
|
-
id: string;
|
|
68
|
-
inbound_service_id: string | null;
|
|
69
|
-
notes: string;
|
|
70
|
-
phone_number: string;
|
|
71
|
-
provider: string;
|
|
72
|
-
provider_phone_sid: string | null;
|
|
73
|
-
status: string;
|
|
74
|
-
updated_at: string;
|
|
75
|
-
workspace_id: string;
|
|
76
|
-
}, any, any>;
|
|
77
|
-
/** Get a phone number */
|
|
78
|
-
get(phoneNumberId: PhoneNumberId | string): Promise<{
|
|
79
|
-
capabilities: string[];
|
|
80
|
-
channel_phone_id?: string | null | undefined;
|
|
81
|
-
created_at: string;
|
|
82
|
-
display_name: string;
|
|
83
|
-
forwarding: {
|
|
84
|
-
enabled: boolean;
|
|
85
|
-
forward_to: string;
|
|
86
|
-
should_disconnect: boolean;
|
|
87
|
-
} | null;
|
|
88
|
-
id: string;
|
|
89
|
-
inbound_service_id: string | null;
|
|
90
|
-
notes: string;
|
|
91
|
-
phone_number: string;
|
|
92
|
-
provider: string;
|
|
93
|
-
provider_phone_sid: string | null;
|
|
94
|
-
status: string;
|
|
95
|
-
updated_at: string;
|
|
96
|
-
workspace_id: string;
|
|
97
|
-
} & import("../index.js").ResponseMetadata>;
|
|
98
|
-
/** Update a phone number (assign to agent, rename) */
|
|
99
|
-
update(phoneNumberId: PhoneNumberId | string, body: components['schemas']['UpdatePhoneNumberRequest']): Promise<{
|
|
100
|
-
capabilities: string[];
|
|
101
|
-
channel_phone_id?: string | null | undefined;
|
|
102
|
-
created_at: string;
|
|
103
|
-
display_name: string;
|
|
104
|
-
forwarding: {
|
|
105
|
-
enabled: boolean;
|
|
106
|
-
forward_to: string;
|
|
107
|
-
should_disconnect: boolean;
|
|
108
|
-
} | null;
|
|
109
|
-
id: string;
|
|
110
|
-
inbound_service_id: string | null;
|
|
111
|
-
notes: string;
|
|
112
|
-
phone_number: string;
|
|
113
|
-
provider: string;
|
|
114
|
-
provider_phone_sid: string | null;
|
|
115
|
-
status: string;
|
|
116
|
-
updated_at: string;
|
|
117
|
-
workspace_id: string;
|
|
118
|
-
} & import("../index.js").ResponseMetadata>;
|
|
119
|
-
/** Release a phone number back to the carrier */
|
|
120
|
-
release(phoneNumberId: PhoneNumberId | string): Promise<void>;
|
|
121
|
-
/** Set call forwarding for a phone number */
|
|
122
|
-
setForwarding(phoneNumberId: PhoneNumberId | string, body: components['schemas']['ForwardingConfigRequest']): Promise<{
|
|
123
|
-
capabilities: string[];
|
|
124
|
-
channel_phone_id?: string | null | undefined;
|
|
125
|
-
created_at: string;
|
|
126
|
-
display_name: string;
|
|
127
|
-
forwarding: {
|
|
128
|
-
enabled: boolean;
|
|
129
|
-
forward_to: string;
|
|
130
|
-
should_disconnect: boolean;
|
|
131
|
-
} | null;
|
|
132
|
-
id: string;
|
|
133
|
-
inbound_service_id: string | null;
|
|
134
|
-
notes: string;
|
|
135
|
-
phone_number: string;
|
|
136
|
-
provider: string;
|
|
137
|
-
provider_phone_sid: string | null;
|
|
138
|
-
status: string;
|
|
139
|
-
updated_at: string;
|
|
140
|
-
workspace_id: string;
|
|
141
|
-
} & import("../index.js").ResponseMetadata>;
|
|
142
|
-
/** Clear call forwarding for a phone number */
|
|
143
|
-
clearForwarding(phoneNumberId: PhoneNumberId | string): Promise<void>;
|
|
144
|
-
}
|
|
145
|
-
//# sourceMappingURL=phone-numbers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../../src/resources/phone-numbers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,uBAAuB;IAC/D,gCAAgC;IAC1B,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;IASvE,0CAA0C;IACpC,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;IAQ9B,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;IAIlC,yBAAyB;IACnB,GAAG,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;IAQ/C,sDAAsD;IAChD,MAAM,CACV,aAAa,EAAE,aAAa,GAAG,MAAM,EACrC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;IAUzD,iDAAiD;IAC3C,OAAO,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnE,6CAA6C;IACvC,aAAa,CACjB,aAAa,EAAE,aAAa,GAAG,MAAM,EACrC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;IAUxD,+CAA+C;IACzC,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK5E"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import type { components } from '../generated/api.js';
|
|
2
|
-
import { WorkspaceScopedResource } from './base.js';
|
|
3
|
-
export declare class SafetyResource extends WorkspaceScopedResource {
|
|
4
|
-
getConfig(): Promise<{
|
|
5
|
-
accumulation_cumulative_count: number;
|
|
6
|
-
accumulation_enabled: boolean;
|
|
7
|
-
accumulation_fast_track_level: number;
|
|
8
|
-
accumulation_mild_threshold: number;
|
|
9
|
-
accumulation_single_turn_threshold: number;
|
|
10
|
-
accumulation_window_size: number;
|
|
11
|
-
applied_template_ids: string[];
|
|
12
|
-
triage_enabled: boolean;
|
|
13
|
-
triage_max_history_turns: number;
|
|
14
|
-
triage_model: string;
|
|
15
|
-
triage_timeout_s: number;
|
|
16
|
-
} & import("../index.js").ResponseMetadata>;
|
|
17
|
-
updateConfig(body: components['schemas']['UpdateSafetyConfigRequest']): Promise<{
|
|
18
|
-
accumulation_cumulative_count: number;
|
|
19
|
-
accumulation_enabled: boolean;
|
|
20
|
-
accumulation_fast_track_level: number;
|
|
21
|
-
accumulation_mild_threshold: number;
|
|
22
|
-
accumulation_single_turn_threshold: number;
|
|
23
|
-
accumulation_window_size: number;
|
|
24
|
-
applied_template_ids: string[];
|
|
25
|
-
triage_enabled: boolean;
|
|
26
|
-
triage_max_history_turns: number;
|
|
27
|
-
triage_model: string;
|
|
28
|
-
triage_timeout_s: number;
|
|
29
|
-
} & import("../index.js").ResponseMetadata>;
|
|
30
|
-
listTemplates(): Promise<{
|
|
31
|
-
category: string;
|
|
32
|
-
description: string;
|
|
33
|
-
id: string;
|
|
34
|
-
is_composite?: boolean | undefined;
|
|
35
|
-
name: string;
|
|
36
|
-
regulation: string;
|
|
37
|
-
rules: {
|
|
38
|
-
agent_config: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
41
|
-
description: string;
|
|
42
|
-
escalation: {
|
|
43
|
-
[x: string]: unknown;
|
|
44
|
-
};
|
|
45
|
-
name: string;
|
|
46
|
-
standalone_threshold: number;
|
|
47
|
-
tags: string[];
|
|
48
|
-
threshold: number;
|
|
49
|
-
triage_hints: string[];
|
|
50
|
-
}[];
|
|
51
|
-
template_ids?: string[] | undefined;
|
|
52
|
-
version: string;
|
|
53
|
-
}[] & import("../index.js").ResponseMetadata>;
|
|
54
|
-
getTemplate(templateId: string): Promise<{
|
|
55
|
-
category: string;
|
|
56
|
-
description: string;
|
|
57
|
-
id: string;
|
|
58
|
-
is_composite?: boolean | undefined;
|
|
59
|
-
name: string;
|
|
60
|
-
regulation: string;
|
|
61
|
-
rules: {
|
|
62
|
-
agent_config: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
escalation: {
|
|
67
|
-
[x: string]: unknown;
|
|
68
|
-
};
|
|
69
|
-
name: string;
|
|
70
|
-
standalone_threshold: number;
|
|
71
|
-
tags: string[];
|
|
72
|
-
threshold: number;
|
|
73
|
-
triage_hints: string[];
|
|
74
|
-
}[];
|
|
75
|
-
template_ids?: string[] | undefined;
|
|
76
|
-
version: string;
|
|
77
|
-
} & import("../index.js").ResponseMetadata>;
|
|
78
|
-
applyTemplate(templateId: string, body: components['schemas']['ApplyTemplateRequest']): Promise<{
|
|
79
|
-
created_concepts: string[];
|
|
80
|
-
skipped: string[];
|
|
81
|
-
} & import("../index.js").ResponseMetadata>;
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=safety.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safety.d.ts","sourceRoot":"","sources":["../../../src/resources/safety.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,qBAAa,cAAe,SAAQ,uBAAuB;IACnD,SAAS;;;;;;;;;;;;;IAQT,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,2BAA2B,CAAC;;;;;;;;;;;;;IASrE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;IAQb,WAAW,CAAC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;IAQ9B,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;CAQ5F"}
|