@amigo-ai/platform-sdk 0.5.5 → 0.5.7
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 +182 -0
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +22 -126
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +16 -102
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/analytics.d.ts +22 -74
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/api-keys.d.ts +3 -16
- package/dist/types/resources/api-keys.d.ts.map +1 -1
- package/dist/types/resources/audit.d.ts +31 -87
- package/dist/types/resources/audit.d.ts.map +1 -1
- package/dist/types/resources/billing.d.ts +9 -42
- package/dist/types/resources/billing.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +65 -169
- 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 +17 -958
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +13 -50
- package/dist/types/resources/data-sources.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +22 -49
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +49 -379
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/memory.d.ts +4 -48
- package/dist/types/resources/memory.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts +64 -189
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/personas.d.ts +7 -20
- package/dist/types/resources/personas.d.ts.map +1 -1
- package/dist/types/resources/phone-numbers.d.ts +8 -46
- 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 +49 -350
- package/dist/types/resources/review-queue.d.ts.map +1 -1
- package/dist/types/resources/safety.d.ts +6 -32
- package/dist/types/resources/safety.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +47 -242
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +36 -404
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +20 -148
- package/dist/types/resources/simulations.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +21 -117
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +64 -92
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/webhook-destinations.d.ts +20 -44
- package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +4 -26
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +121 -322
- 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;;;eAgFk16gB,qBAAsB;;;IAxEt46gB,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;;;eAYit7gB,qBAAsB;;;IAJ5x7gB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU;;;;;;;;;CAG1D"}
|
|
@@ -3,51 +3,35 @@ 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;
|
|
7
7
|
has_more: boolean;
|
|
8
|
-
items:
|
|
9
|
-
|
|
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;
|
|
8
|
+
items: components["schemas"]["WebhookDestinationResponse"][];
|
|
9
|
+
total?: number | null;
|
|
26
10
|
} & import("../index.js").ResponseMetadata>;
|
|
27
11
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
28
12
|
accepted_event_types: string[];
|
|
29
|
-
created_at?: string | null
|
|
13
|
+
created_at?: string | null;
|
|
30
14
|
created_by: string | null;
|
|
31
15
|
description: string | null;
|
|
32
16
|
field_mapping: {
|
|
33
|
-
[
|
|
17
|
+
[key: string]: unknown;
|
|
34
18
|
} | null;
|
|
35
19
|
id: string;
|
|
36
20
|
is_active: boolean;
|
|
37
21
|
name: string;
|
|
38
22
|
retry_attempts: number;
|
|
39
23
|
trigger_id: string;
|
|
40
|
-
updated_at?: string | null
|
|
24
|
+
updated_at?: string | null;
|
|
41
25
|
url: string;
|
|
42
26
|
workspace_id: string;
|
|
43
27
|
}, any, any>;
|
|
44
28
|
create(body: components['schemas']['CreateWebhookDestinationRequest']): Promise<{
|
|
45
29
|
accepted_event_types: string[];
|
|
46
|
-
created_at?: string | null
|
|
30
|
+
created_at?: string | null;
|
|
47
31
|
created_by: string | null;
|
|
48
32
|
description: string | null;
|
|
49
33
|
field_mapping: {
|
|
50
|
-
[
|
|
34
|
+
[key: string]: unknown;
|
|
51
35
|
} | null;
|
|
52
36
|
id: string;
|
|
53
37
|
is_active: boolean;
|
|
@@ -55,63 +39,55 @@ export declare class WebhookDestinationsResource extends WorkspaceScopedResource
|
|
|
55
39
|
retry_attempts: number;
|
|
56
40
|
secret: string;
|
|
57
41
|
trigger_id: string;
|
|
58
|
-
updated_at?: string | null
|
|
42
|
+
updated_at?: string | null;
|
|
59
43
|
url: string;
|
|
60
44
|
workspace_id: string;
|
|
61
45
|
} & import("../index.js").ResponseMetadata>;
|
|
62
46
|
get(destinationId: string): Promise<{
|
|
63
47
|
accepted_event_types: string[];
|
|
64
|
-
created_at?: string | null
|
|
48
|
+
created_at?: string | null;
|
|
65
49
|
created_by: string | null;
|
|
66
50
|
description: string | null;
|
|
67
51
|
field_mapping: {
|
|
68
|
-
[
|
|
52
|
+
[key: string]: unknown;
|
|
69
53
|
} | null;
|
|
70
54
|
id: string;
|
|
71
55
|
is_active: boolean;
|
|
72
56
|
name: string;
|
|
73
57
|
retry_attempts: number;
|
|
74
58
|
trigger_id: string;
|
|
75
|
-
updated_at?: string | null
|
|
59
|
+
updated_at?: string | null;
|
|
76
60
|
url: string;
|
|
77
61
|
workspace_id: string;
|
|
78
62
|
} & import("../index.js").ResponseMetadata>;
|
|
79
63
|
update(destinationId: string, body: components['schemas']['UpdateWebhookDestinationRequest']): Promise<{
|
|
80
64
|
accepted_event_types: string[];
|
|
81
|
-
created_at?: string | null
|
|
65
|
+
created_at?: string | null;
|
|
82
66
|
created_by: string | null;
|
|
83
67
|
description: string | null;
|
|
84
68
|
field_mapping: {
|
|
85
|
-
[
|
|
69
|
+
[key: string]: unknown;
|
|
86
70
|
} | null;
|
|
87
71
|
id: string;
|
|
88
72
|
is_active: boolean;
|
|
89
73
|
name: string;
|
|
90
74
|
retry_attempts: number;
|
|
91
75
|
trigger_id: string;
|
|
92
|
-
updated_at?: string | null
|
|
76
|
+
updated_at?: string | null;
|
|
93
77
|
url: string;
|
|
94
78
|
workspace_id: string;
|
|
95
79
|
} & import("../index.js").ResponseMetadata>;
|
|
96
80
|
delete(destinationId: string): Promise<void>;
|
|
97
81
|
listDeliveries(destinationId: string, params?: ListParams): Promise<{
|
|
98
|
-
continuation_token?: number | null
|
|
82
|
+
continuation_token?: number | null;
|
|
99
83
|
has_more: boolean;
|
|
100
|
-
items:
|
|
101
|
-
|
|
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;
|
|
84
|
+
items: components["schemas"]["DeliveryResponse"][];
|
|
85
|
+
total?: number | null;
|
|
110
86
|
} & import("../index.js").ResponseMetadata>;
|
|
111
87
|
listDeliveriesAutoPaging(destinationId: string, params?: ListParams): AsyncGenerator<{
|
|
112
|
-
created_at?: string | null
|
|
88
|
+
created_at?: string | null;
|
|
113
89
|
data: {
|
|
114
|
-
[
|
|
90
|
+
[key: string]: unknown;
|
|
115
91
|
};
|
|
116
92
|
effective_at: string | null;
|
|
117
93
|
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;;;eA4Eut9gB,qBAAsB;;;IApE3w9gB,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;;;eA6BkivgB,qBAAsB;;;IAlBvnvgB,wBAAwB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU;;;;;;;;;IAO7D,YAAY,CAAC,aAAa,EAAE,MAAM;;;;CAUzC"}
|
|
@@ -25,21 +25,10 @@ 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;
|
|
29
29
|
has_more: boolean;
|
|
30
|
-
items:
|
|
31
|
-
|
|
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;
|
|
30
|
+
items: components["schemas"]["WorkspaceResponse"][];
|
|
31
|
+
total?: number | null;
|
|
43
32
|
} & import("../index.js").ResponseMetadata>;
|
|
44
33
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
45
34
|
backend_org_id: string | null;
|
|
@@ -94,18 +83,7 @@ export declare class WorkspacesResource extends WorkspaceScopedResource {
|
|
|
94
83
|
} & import("../index.js").ResponseMetadata>;
|
|
95
84
|
/** Provision a workspace (seed integrations, mark as provisioned) */
|
|
96
85
|
provision(id?: WorkspaceId | string): Promise<{
|
|
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
|
-
};
|
|
86
|
+
workspace: components["schemas"]["WorkspaceResponse"];
|
|
109
87
|
} & import("../index.js").ResponseMetadata>;
|
|
110
88
|
/** Pre-check environment conversion warnings */
|
|
111
89
|
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,KA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