@amigo-ai/platform-sdk 0.4.6 → 0.5.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/LICENSE +1 -1
- package/README.md +2 -2
- package/api.md +1 -0
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +17 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/data-sources.js +15 -0
- package/dist/resources/data-sources.js.map +1 -1
- package/dist/types/generated/api.d.ts +3232 -403
- 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 +814 -17
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +83 -31
- 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 +150 -22
- 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 +14 -3
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +323 -122
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -3,155 +3,183 @@ import { WorkspaceScopedResource } from './base.js';
|
|
|
3
3
|
import type { ListParams } from '../core/utils.js';
|
|
4
4
|
export declare class TriggersResource 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
|
+
action_id: string;
|
|
10
|
+
created_at?: string | null | undefined;
|
|
11
|
+
created_by?: string | null | undefined;
|
|
12
|
+
description?: string | null | undefined;
|
|
13
|
+
event_filter?: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
} | null | undefined;
|
|
16
|
+
event_type: string;
|
|
17
|
+
id: string;
|
|
18
|
+
input_template: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
is_active: boolean;
|
|
22
|
+
name: string;
|
|
23
|
+
next_fire_at?: string | null | undefined;
|
|
24
|
+
schedule?: string | null | undefined;
|
|
25
|
+
timezone: string;
|
|
26
|
+
updated_at?: string | null | undefined;
|
|
27
|
+
workspace_id: string;
|
|
28
|
+
}[];
|
|
29
|
+
total?: number | null | undefined;
|
|
10
30
|
} & import("../index.js").ResponseMetadata>;
|
|
11
31
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
12
32
|
action_id: string;
|
|
13
|
-
created_at?: string | null;
|
|
14
|
-
created_by?: string | null;
|
|
15
|
-
description?: string | null;
|
|
33
|
+
created_at?: string | null | undefined;
|
|
34
|
+
created_by?: string | null | undefined;
|
|
35
|
+
description?: string | null | undefined;
|
|
16
36
|
event_filter?: {
|
|
17
|
-
[
|
|
18
|
-
} | null;
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
} | null | undefined;
|
|
19
39
|
event_type: string;
|
|
20
40
|
id: string;
|
|
21
41
|
input_template: {
|
|
22
|
-
[
|
|
42
|
+
[x: string]: unknown;
|
|
23
43
|
};
|
|
24
44
|
is_active: boolean;
|
|
25
45
|
name: string;
|
|
26
|
-
next_fire_at?: string | null;
|
|
27
|
-
schedule?: string | null;
|
|
46
|
+
next_fire_at?: string | null | undefined;
|
|
47
|
+
schedule?: string | null | undefined;
|
|
28
48
|
timezone: string;
|
|
29
|
-
updated_at?: string | null;
|
|
49
|
+
updated_at?: string | null | undefined;
|
|
30
50
|
workspace_id: string;
|
|
31
51
|
}, any, any>;
|
|
32
52
|
create(body: components['schemas']['CreateTriggerRequest']): Promise<{
|
|
33
53
|
action_id: string;
|
|
34
|
-
created_at?: string | null;
|
|
35
|
-
created_by?: string | null;
|
|
36
|
-
description?: string | null;
|
|
54
|
+
created_at?: string | null | undefined;
|
|
55
|
+
created_by?: string | null | undefined;
|
|
56
|
+
description?: string | null | undefined;
|
|
37
57
|
event_filter?: {
|
|
38
|
-
[
|
|
39
|
-
} | null;
|
|
58
|
+
[x: string]: unknown;
|
|
59
|
+
} | null | undefined;
|
|
40
60
|
event_type: string;
|
|
41
61
|
id: string;
|
|
42
62
|
input_template: {
|
|
43
|
-
[
|
|
63
|
+
[x: string]: unknown;
|
|
44
64
|
};
|
|
45
65
|
is_active: boolean;
|
|
46
66
|
name: string;
|
|
47
|
-
next_fire_at?: string | null;
|
|
48
|
-
schedule?: string | null;
|
|
67
|
+
next_fire_at?: string | null | undefined;
|
|
68
|
+
schedule?: string | null | undefined;
|
|
49
69
|
timezone: string;
|
|
50
|
-
updated_at?: string | null;
|
|
70
|
+
updated_at?: string | null | undefined;
|
|
51
71
|
workspace_id: string;
|
|
52
72
|
} & import("../index.js").ResponseMetadata>;
|
|
53
73
|
get(triggerId: string): Promise<{
|
|
54
74
|
action_id: string;
|
|
55
|
-
created_at?: string | null;
|
|
56
|
-
created_by?: string | null;
|
|
57
|
-
description?: string | null;
|
|
75
|
+
created_at?: string | null | undefined;
|
|
76
|
+
created_by?: string | null | undefined;
|
|
77
|
+
description?: string | null | undefined;
|
|
58
78
|
event_filter?: {
|
|
59
|
-
[
|
|
60
|
-
} | null;
|
|
79
|
+
[x: string]: unknown;
|
|
80
|
+
} | null | undefined;
|
|
61
81
|
event_type: string;
|
|
62
82
|
id: string;
|
|
63
83
|
input_template: {
|
|
64
|
-
[
|
|
84
|
+
[x: string]: unknown;
|
|
65
85
|
};
|
|
66
86
|
is_active: boolean;
|
|
67
87
|
name: string;
|
|
68
|
-
next_fire_at?: string | null;
|
|
69
|
-
schedule?: string | null;
|
|
88
|
+
next_fire_at?: string | null | undefined;
|
|
89
|
+
schedule?: string | null | undefined;
|
|
70
90
|
timezone: string;
|
|
71
|
-
updated_at?: string | null;
|
|
91
|
+
updated_at?: string | null | undefined;
|
|
72
92
|
workspace_id: string;
|
|
73
93
|
} & import("../index.js").ResponseMetadata>;
|
|
74
94
|
update(triggerId: string, body: components['schemas']['UpdateTriggerRequest']): Promise<{
|
|
75
95
|
action_id: string;
|
|
76
|
-
created_at?: string | null;
|
|
77
|
-
created_by?: string | null;
|
|
78
|
-
description?: string | null;
|
|
96
|
+
created_at?: string | null | undefined;
|
|
97
|
+
created_by?: string | null | undefined;
|
|
98
|
+
description?: string | null | undefined;
|
|
79
99
|
event_filter?: {
|
|
80
|
-
[
|
|
81
|
-
} | null;
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
} | null | undefined;
|
|
82
102
|
event_type: string;
|
|
83
103
|
id: string;
|
|
84
104
|
input_template: {
|
|
85
|
-
[
|
|
105
|
+
[x: string]: unknown;
|
|
86
106
|
};
|
|
87
107
|
is_active: boolean;
|
|
88
108
|
name: string;
|
|
89
|
-
next_fire_at?: string | null;
|
|
90
|
-
schedule?: string | null;
|
|
109
|
+
next_fire_at?: string | null | undefined;
|
|
110
|
+
schedule?: string | null | undefined;
|
|
91
111
|
timezone: string;
|
|
92
|
-
updated_at?: string | null;
|
|
112
|
+
updated_at?: string | null | undefined;
|
|
93
113
|
workspace_id: string;
|
|
94
114
|
} & import("../index.js").ResponseMetadata>;
|
|
95
115
|
delete(triggerId: string): Promise<void>;
|
|
96
116
|
fire(triggerId: string): Promise<{
|
|
97
117
|
fired_event_id: string;
|
|
98
|
-
status?: "fired";
|
|
118
|
+
status?: "fired" | undefined;
|
|
99
119
|
trigger_id: string;
|
|
100
120
|
} & import("../index.js").ResponseMetadata>;
|
|
101
121
|
pause(triggerId: string): Promise<{
|
|
102
122
|
action_id: string;
|
|
103
|
-
created_at?: string | null;
|
|
104
|
-
created_by?: string | null;
|
|
105
|
-
description?: string | null;
|
|
123
|
+
created_at?: string | null | undefined;
|
|
124
|
+
created_by?: string | null | undefined;
|
|
125
|
+
description?: string | null | undefined;
|
|
106
126
|
event_filter?: {
|
|
107
|
-
[
|
|
108
|
-
} | null;
|
|
127
|
+
[x: string]: unknown;
|
|
128
|
+
} | null | undefined;
|
|
109
129
|
event_type: string;
|
|
110
130
|
id: string;
|
|
111
131
|
input_template: {
|
|
112
|
-
[
|
|
132
|
+
[x: string]: unknown;
|
|
113
133
|
};
|
|
114
134
|
is_active: boolean;
|
|
115
135
|
name: string;
|
|
116
|
-
next_fire_at?: string | null;
|
|
117
|
-
schedule?: string | null;
|
|
136
|
+
next_fire_at?: string | null | undefined;
|
|
137
|
+
schedule?: string | null | undefined;
|
|
118
138
|
timezone: string;
|
|
119
|
-
updated_at?: string | null;
|
|
139
|
+
updated_at?: string | null | undefined;
|
|
120
140
|
workspace_id: string;
|
|
121
141
|
} & import("../index.js").ResponseMetadata>;
|
|
122
142
|
resume(triggerId: string): Promise<{
|
|
123
143
|
action_id: string;
|
|
124
|
-
created_at?: string | null;
|
|
125
|
-
created_by?: string | null;
|
|
126
|
-
description?: string | null;
|
|
144
|
+
created_at?: string | null | undefined;
|
|
145
|
+
created_by?: string | null | undefined;
|
|
146
|
+
description?: string | null | undefined;
|
|
127
147
|
event_filter?: {
|
|
128
|
-
[
|
|
129
|
-
} | null;
|
|
148
|
+
[x: string]: unknown;
|
|
149
|
+
} | null | undefined;
|
|
130
150
|
event_type: string;
|
|
131
151
|
id: string;
|
|
132
152
|
input_template: {
|
|
133
|
-
[
|
|
153
|
+
[x: string]: unknown;
|
|
134
154
|
};
|
|
135
155
|
is_active: boolean;
|
|
136
156
|
name: string;
|
|
137
|
-
next_fire_at?: string | null;
|
|
138
|
-
schedule?: string | null;
|
|
157
|
+
next_fire_at?: string | null | undefined;
|
|
158
|
+
schedule?: string | null | undefined;
|
|
139
159
|
timezone: string;
|
|
140
|
-
updated_at?: string | null;
|
|
160
|
+
updated_at?: string | null | undefined;
|
|
141
161
|
workspace_id: string;
|
|
142
162
|
} & import("../index.js").ResponseMetadata>;
|
|
143
163
|
listRuns(triggerId: string, params?: ListParams): Promise<{
|
|
144
|
-
continuation_token?: number | null;
|
|
164
|
+
continuation_token?: number | null | undefined;
|
|
145
165
|
has_more: boolean;
|
|
146
|
-
items:
|
|
147
|
-
|
|
166
|
+
items: {
|
|
167
|
+
created_at?: string | null | undefined;
|
|
168
|
+
data: {
|
|
169
|
+
[x: string]: unknown;
|
|
170
|
+
};
|
|
171
|
+
effective_at?: string | null | undefined;
|
|
172
|
+
event_id: string;
|
|
173
|
+
event_type: string;
|
|
174
|
+
}[];
|
|
175
|
+
total?: number | null | undefined;
|
|
148
176
|
} & import("../index.js").ResponseMetadata>;
|
|
149
177
|
listRunsAutoPaging(triggerId: string, params?: ListParams): AsyncGenerator<{
|
|
150
|
-
created_at?: string | null;
|
|
178
|
+
created_at?: string | null | undefined;
|
|
151
179
|
data: {
|
|
152
|
-
[
|
|
180
|
+
[x: string]: unknown;
|
|
153
181
|
};
|
|
154
|
-
effective_at?: string | null;
|
|
182
|
+
effective_at?: string | null | undefined;
|
|
155
183
|
event_id: string;
|
|
156
184
|
event_type: string;
|
|
157
185
|
}, any, any>;
|
|
@@ -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;;;;;;;;;;;;;;IAc/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;
|
|
@@ -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,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;;;;;;;;;;;;;;;;;IAQ9B,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;;;;;;;;IAIlC,mCAAmC;IAC7B,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM;;;;;;;;;;;;IAQnC,gCAAgC;IAC1B,MAAM,CACV,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,wBAAwB,CAAC,EACrD,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM;;;;;;;;;;;;IAU3B,wCAAwC;IAClC,OAAO,CACX,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,EACtD,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM;;;;;;;;;;;;CAS5B"}
|