@amigo-ai/platform-sdk 0.5.7 → 0.5.8
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/dist/types/generated/api.d.ts +6 -0
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +126 -22
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +102 -16
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/analytics.d.ts +74 -22
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/api-keys.d.ts +16 -3
- package/dist/types/resources/api-keys.d.ts.map +1 -1
- package/dist/types/resources/audit.d.ts +87 -31
- package/dist/types/resources/audit.d.ts.map +1 -1
- package/dist/types/resources/billing.d.ts +42 -9
- package/dist/types/resources/billing.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +169 -65
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/compliance.d.ts +6 -6
- package/dist/types/resources/context-graphs.d.ts +974 -17
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +50 -13
- package/dist/types/resources/data-sources.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +49 -22
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +379 -49
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/memory.d.ts +48 -4
- package/dist/types/resources/memory.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts +189 -64
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts +20 -7
- package/dist/types/resources/personas.d.ts.map +1 -1
- package/dist/types/resources/phone-numbers.d.ts +46 -8
- package/dist/types/resources/phone-numbers.d.ts.map +1 -1
- package/dist/types/resources/recordings.d.ts +4 -4
- package/dist/types/resources/review-queue.d.ts +350 -49
- package/dist/types/resources/review-queue.d.ts.map +1 -1
- package/dist/types/resources/safety.d.ts +32 -6
- package/dist/types/resources/safety.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +242 -47
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +404 -36
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +148 -20
- package/dist/types/resources/simulations.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +117 -21
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +92 -64
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/webhook-destinations.d.ts +44 -20
- package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +26 -4
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +322 -121
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../../src/resources/triggers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,qBAAa,gBAAiB,SAAQ,uBAAuB;IACrD,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU
|
|
1
|
+
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../../src/resources/triggers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,qBAAa,gBAAiB,SAAQ,uBAAuB;IACrD,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ9B,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;IAI5B,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;IAS1D,GAAG,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;IAQrB,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;IAS7E,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMxC,IAAI,CAAC,SAAS,EAAE,MAAM;;;;;IAQtB,KAAK,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;IAQvB,MAAM,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;IAQxB,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;IAQrD,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU;;;;;;;;;CAG1D"}
|
|
@@ -3,35 +3,51 @@ import { WorkspaceScopedResource } from './base.js';
|
|
|
3
3
|
import type { ListParams } from '../core/utils.js';
|
|
4
4
|
export declare class WebhookDestinationsResource extends WorkspaceScopedResource {
|
|
5
5
|
list(params?: ListParams): Promise<{
|
|
6
|
-
continuation_token?: number | null;
|
|
6
|
+
continuation_token?: number | null | undefined;
|
|
7
7
|
has_more: boolean;
|
|
8
|
-
items:
|
|
9
|
-
|
|
8
|
+
items: {
|
|
9
|
+
accepted_event_types: string[];
|
|
10
|
+
created_at?: string | null | undefined;
|
|
11
|
+
created_by: string | null;
|
|
12
|
+
description: string | null;
|
|
13
|
+
field_mapping: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
} | null;
|
|
16
|
+
id: string;
|
|
17
|
+
is_active: boolean;
|
|
18
|
+
name: string;
|
|
19
|
+
retry_attempts: number;
|
|
20
|
+
trigger_id: string;
|
|
21
|
+
updated_at?: string | null | undefined;
|
|
22
|
+
url: string;
|
|
23
|
+
workspace_id: string;
|
|
24
|
+
}[];
|
|
25
|
+
total?: number | null | undefined;
|
|
10
26
|
} & import("../index.js").ResponseMetadata>;
|
|
11
27
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
12
28
|
accepted_event_types: string[];
|
|
13
|
-
created_at?: string | null;
|
|
29
|
+
created_at?: string | null | undefined;
|
|
14
30
|
created_by: string | null;
|
|
15
31
|
description: string | null;
|
|
16
32
|
field_mapping: {
|
|
17
|
-
[
|
|
33
|
+
[x: string]: unknown;
|
|
18
34
|
} | null;
|
|
19
35
|
id: string;
|
|
20
36
|
is_active: boolean;
|
|
21
37
|
name: string;
|
|
22
38
|
retry_attempts: number;
|
|
23
39
|
trigger_id: string;
|
|
24
|
-
updated_at?: string | null;
|
|
40
|
+
updated_at?: string | null | undefined;
|
|
25
41
|
url: string;
|
|
26
42
|
workspace_id: string;
|
|
27
43
|
}, any, any>;
|
|
28
44
|
create(body: components['schemas']['CreateWebhookDestinationRequest']): Promise<{
|
|
29
45
|
accepted_event_types: string[];
|
|
30
|
-
created_at?: string | null;
|
|
46
|
+
created_at?: string | null | undefined;
|
|
31
47
|
created_by: string | null;
|
|
32
48
|
description: string | null;
|
|
33
49
|
field_mapping: {
|
|
34
|
-
[
|
|
50
|
+
[x: string]: unknown;
|
|
35
51
|
} | null;
|
|
36
52
|
id: string;
|
|
37
53
|
is_active: boolean;
|
|
@@ -39,55 +55,63 @@ export declare class WebhookDestinationsResource extends WorkspaceScopedResource
|
|
|
39
55
|
retry_attempts: number;
|
|
40
56
|
secret: string;
|
|
41
57
|
trigger_id: string;
|
|
42
|
-
updated_at?: string | null;
|
|
58
|
+
updated_at?: string | null | undefined;
|
|
43
59
|
url: string;
|
|
44
60
|
workspace_id: string;
|
|
45
61
|
} & import("../index.js").ResponseMetadata>;
|
|
46
62
|
get(destinationId: string): Promise<{
|
|
47
63
|
accepted_event_types: string[];
|
|
48
|
-
created_at?: string | null;
|
|
64
|
+
created_at?: string | null | undefined;
|
|
49
65
|
created_by: string | null;
|
|
50
66
|
description: string | null;
|
|
51
67
|
field_mapping: {
|
|
52
|
-
[
|
|
68
|
+
[x: string]: unknown;
|
|
53
69
|
} | null;
|
|
54
70
|
id: string;
|
|
55
71
|
is_active: boolean;
|
|
56
72
|
name: string;
|
|
57
73
|
retry_attempts: number;
|
|
58
74
|
trigger_id: string;
|
|
59
|
-
updated_at?: string | null;
|
|
75
|
+
updated_at?: string | null | undefined;
|
|
60
76
|
url: string;
|
|
61
77
|
workspace_id: string;
|
|
62
78
|
} & import("../index.js").ResponseMetadata>;
|
|
63
79
|
update(destinationId: string, body: components['schemas']['UpdateWebhookDestinationRequest']): Promise<{
|
|
64
80
|
accepted_event_types: string[];
|
|
65
|
-
created_at?: string | null;
|
|
81
|
+
created_at?: string | null | undefined;
|
|
66
82
|
created_by: string | null;
|
|
67
83
|
description: string | null;
|
|
68
84
|
field_mapping: {
|
|
69
|
-
[
|
|
85
|
+
[x: string]: unknown;
|
|
70
86
|
} | null;
|
|
71
87
|
id: string;
|
|
72
88
|
is_active: boolean;
|
|
73
89
|
name: string;
|
|
74
90
|
retry_attempts: number;
|
|
75
91
|
trigger_id: string;
|
|
76
|
-
updated_at?: string | null;
|
|
92
|
+
updated_at?: string | null | undefined;
|
|
77
93
|
url: string;
|
|
78
94
|
workspace_id: string;
|
|
79
95
|
} & import("../index.js").ResponseMetadata>;
|
|
80
96
|
delete(destinationId: string): Promise<void>;
|
|
81
97
|
listDeliveries(destinationId: string, params?: ListParams): Promise<{
|
|
82
|
-
continuation_token?: number | null;
|
|
98
|
+
continuation_token?: number | null | undefined;
|
|
83
99
|
has_more: boolean;
|
|
84
|
-
items:
|
|
85
|
-
|
|
100
|
+
items: {
|
|
101
|
+
created_at?: string | null | undefined;
|
|
102
|
+
data: {
|
|
103
|
+
[x: string]: unknown;
|
|
104
|
+
};
|
|
105
|
+
effective_at: string | null;
|
|
106
|
+
event_id: string;
|
|
107
|
+
event_type: string;
|
|
108
|
+
}[];
|
|
109
|
+
total?: number | null | undefined;
|
|
86
110
|
} & import("../index.js").ResponseMetadata>;
|
|
87
111
|
listDeliveriesAutoPaging(destinationId: string, params?: ListParams): AsyncGenerator<{
|
|
88
|
-
created_at?: string | null;
|
|
112
|
+
created_at?: string | null | undefined;
|
|
89
113
|
data: {
|
|
90
|
-
[
|
|
114
|
+
[x: string]: unknown;
|
|
91
115
|
};
|
|
92
116
|
effective_at: string | null;
|
|
93
117
|
event_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-destinations.d.ts","sourceRoot":"","sources":["../../../src/resources/webhook-destinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,qBAAa,2BAA4B,SAAQ,uBAAuB;IAChE,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU
|
|
1
|
+
{"version":3,"file":"webhook-destinations.d.ts","sourceRoot":"","sources":["../../../src/resources/webhook-destinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,qBAAa,2BAA4B,SAAQ,uBAAuB;IAChE,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;IAQ9B,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;;;;IAI5B,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,iCAAiC,CAAC;;;;;;;;;;;;;;;;;;IASrE,GAAG,CAAC,aAAa,EAAE,MAAM;;;;;;;;;;;;;;;;;IAQzB,MAAM,CACV,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,iCAAiC,CAAC;;;;;;;;;;;;;;;;;IAU1D,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAM5C,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;;;IAW/D,wBAAwB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU;;;;;;;;;IAO7D,YAAY,CAAC,aAAa,EAAE,MAAM;;;;CAUzC"}
|
|
@@ -25,10 +25,21 @@ export declare class WorkspacesResource extends WorkspaceScopedResource {
|
|
|
25
25
|
} & import("../index.js").ResponseMetadata>;
|
|
26
26
|
/** List workspaces accessible to the current API key */
|
|
27
27
|
list(params?: ListParams): Promise<{
|
|
28
|
-
continuation_token?: number | null;
|
|
28
|
+
continuation_token?: number | null | undefined;
|
|
29
29
|
has_more: boolean;
|
|
30
|
-
items:
|
|
31
|
-
|
|
30
|
+
items: {
|
|
31
|
+
backend_org_id: string | null;
|
|
32
|
+
connector_type: string | null;
|
|
33
|
+
created_at: string;
|
|
34
|
+
environment: string;
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
provisioned_at: string | null;
|
|
38
|
+
region: string;
|
|
39
|
+
slug: string;
|
|
40
|
+
updated_at: string;
|
|
41
|
+
}[];
|
|
42
|
+
total?: number | null | undefined;
|
|
32
43
|
} & import("../index.js").ResponseMetadata>;
|
|
33
44
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
34
45
|
backend_org_id: string | null;
|
|
@@ -83,7 +94,18 @@ export declare class WorkspacesResource extends WorkspaceScopedResource {
|
|
|
83
94
|
} & import("../index.js").ResponseMetadata>;
|
|
84
95
|
/** Provision a workspace (seed integrations, mark as provisioned) */
|
|
85
96
|
provision(id?: WorkspaceId | string): Promise<{
|
|
86
|
-
workspace:
|
|
97
|
+
workspace: {
|
|
98
|
+
backend_org_id: string | null;
|
|
99
|
+
connector_type: string | null;
|
|
100
|
+
created_at: string;
|
|
101
|
+
environment: string;
|
|
102
|
+
id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
provisioned_at: string | null;
|
|
105
|
+
region: string;
|
|
106
|
+
slug: string;
|
|
107
|
+
updated_at: string;
|
|
108
|
+
};
|
|
87
109
|
} & import("../index.js").ResponseMetadata>;
|
|
88
110
|
/** Pre-check environment conversion warnings */
|
|
89
111
|
checkEnvironment(target?: 'production' | 'staging', id?: WorkspaceId | string): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/resources/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD;;;;;;GAMG;AACH,qBAAa,kBAAmB,SAAQ,uBAAuB;IAC7D,6BAA6B;IACvB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,wBAAwB,CAAC;;;;;;;;;;;;IAQlE,wDAAwD;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/resources/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM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