@amigo-ai/platform-sdk 0.5.3 → 0.5.5
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 +14655 -13144
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +166 -166
- package/dist/types/resources/agents.d.ts +88 -88
- package/dist/types/resources/analytics.d.ts +39 -39
- package/dist/types/resources/api-keys.d.ts +29 -29
- package/dist/types/resources/audit.d.ts +73 -73
- package/dist/types/resources/billing.d.ts +36 -36
- package/dist/types/resources/calls.d.ts +106 -106
- package/dist/types/resources/compliance.d.ts +17 -17
- package/dist/types/resources/context-graphs.d.ts +633 -633
- package/dist/types/resources/data-sources.d.ts +81 -81
- package/dist/types/resources/functions.d.ts +22 -22
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +257 -257
- package/dist/types/resources/memory.d.ts +35 -35
- package/dist/types/resources/operators.d.ts +147 -147
- package/dist/types/resources/personas.d.ts +37 -37
- package/dist/types/resources/phone-numbers.d.ts +62 -62
- package/dist/types/resources/recordings.d.ts +9 -9
- package/dist/types/resources/review-queue.d.ts +331 -331
- package/dist/types/resources/safety.d.ts +33 -33
- package/dist/types/resources/services.d.ts +142 -142
- package/dist/types/resources/settings.d.ts +254 -254
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/simulations.d.ts +73 -73
- package/dist/types/resources/skills.d.ts +163 -163
- package/dist/types/resources/triggers.d.ts +74 -74
- package/dist/types/resources/webhook-destinations.d.ts +57 -57
- package/dist/types/resources/workspaces.d.ts +50 -50
- package/dist/types/resources/world.d.ts +216 -216
- package/package.json +1 -1
|
@@ -3,185 +3,185 @@ 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 | undefined;
|
|
7
|
+
has_more: boolean;
|
|
6
8
|
items: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
action_id: string;
|
|
10
|
+
created_at?: string | null | undefined;
|
|
11
|
+
created_by?: string | null | undefined;
|
|
10
12
|
description?: string | null | undefined;
|
|
11
|
-
event_type: string;
|
|
12
13
|
event_filter?: {
|
|
13
14
|
[x: string]: unknown;
|
|
14
15
|
} | null | undefined;
|
|
15
|
-
|
|
16
|
+
event_type: string;
|
|
17
|
+
id: string;
|
|
16
18
|
input_template: {
|
|
17
19
|
[x: string]: unknown;
|
|
18
20
|
};
|
|
21
|
+
is_active: boolean;
|
|
22
|
+
name: string;
|
|
23
|
+
next_fire_at?: string | null | undefined;
|
|
19
24
|
schedule?: string | null | undefined;
|
|
20
25
|
timezone: string;
|
|
21
|
-
next_fire_at?: string | null | undefined;
|
|
22
|
-
is_active: boolean;
|
|
23
|
-
created_by?: string | null | undefined;
|
|
24
|
-
created_at?: string | null | undefined;
|
|
25
26
|
updated_at?: string | null | undefined;
|
|
27
|
+
workspace_id: string;
|
|
26
28
|
}[];
|
|
27
|
-
has_more: boolean;
|
|
28
|
-
continuation_token?: number | null | undefined;
|
|
29
29
|
total?: number | null | undefined;
|
|
30
30
|
} & import("../index.js").ResponseMetadata>;
|
|
31
31
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
action_id: string;
|
|
33
|
+
created_at?: string | null | undefined;
|
|
34
|
+
created_by?: string | null | undefined;
|
|
35
35
|
description?: string | null | undefined;
|
|
36
|
-
event_type: string;
|
|
37
36
|
event_filter?: {
|
|
38
37
|
[x: string]: unknown;
|
|
39
38
|
} | null | undefined;
|
|
40
|
-
|
|
39
|
+
event_type: string;
|
|
40
|
+
id: string;
|
|
41
41
|
input_template: {
|
|
42
42
|
[x: string]: unknown;
|
|
43
43
|
};
|
|
44
|
+
is_active: boolean;
|
|
45
|
+
name: string;
|
|
46
|
+
next_fire_at?: string | null | undefined;
|
|
44
47
|
schedule?: string | null | undefined;
|
|
45
48
|
timezone: string;
|
|
46
|
-
next_fire_at?: string | null | undefined;
|
|
47
|
-
is_active: boolean;
|
|
48
|
-
created_by?: string | null | undefined;
|
|
49
|
-
created_at?: string | null | undefined;
|
|
50
49
|
updated_at?: string | null | undefined;
|
|
50
|
+
workspace_id: string;
|
|
51
51
|
}, any, any>;
|
|
52
52
|
create(body: components['schemas']['CreateTriggerRequest']): Promise<{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
action_id: string;
|
|
54
|
+
created_at?: string | null | undefined;
|
|
55
|
+
created_by?: string | null | undefined;
|
|
56
56
|
description?: string | null | undefined;
|
|
57
|
-
event_type: string;
|
|
58
57
|
event_filter?: {
|
|
59
58
|
[x: string]: unknown;
|
|
60
59
|
} | null | undefined;
|
|
61
|
-
|
|
60
|
+
event_type: string;
|
|
61
|
+
id: string;
|
|
62
62
|
input_template: {
|
|
63
63
|
[x: string]: unknown;
|
|
64
64
|
};
|
|
65
|
+
is_active: boolean;
|
|
66
|
+
name: string;
|
|
67
|
+
next_fire_at?: string | null | undefined;
|
|
65
68
|
schedule?: string | null | undefined;
|
|
66
69
|
timezone: string;
|
|
67
|
-
next_fire_at?: string | null | undefined;
|
|
68
|
-
is_active: boolean;
|
|
69
|
-
created_by?: string | null | undefined;
|
|
70
|
-
created_at?: string | null | undefined;
|
|
71
70
|
updated_at?: string | null | undefined;
|
|
71
|
+
workspace_id: string;
|
|
72
72
|
} & import("../index.js").ResponseMetadata>;
|
|
73
73
|
get(triggerId: string): Promise<{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
action_id: string;
|
|
75
|
+
created_at?: string | null | undefined;
|
|
76
|
+
created_by?: string | null | undefined;
|
|
77
77
|
description?: string | null | undefined;
|
|
78
|
-
event_type: string;
|
|
79
78
|
event_filter?: {
|
|
80
79
|
[x: string]: unknown;
|
|
81
80
|
} | null | undefined;
|
|
82
|
-
|
|
81
|
+
event_type: string;
|
|
82
|
+
id: string;
|
|
83
83
|
input_template: {
|
|
84
84
|
[x: string]: unknown;
|
|
85
85
|
};
|
|
86
|
+
is_active: boolean;
|
|
87
|
+
name: string;
|
|
88
|
+
next_fire_at?: string | null | undefined;
|
|
86
89
|
schedule?: string | null | undefined;
|
|
87
90
|
timezone: string;
|
|
88
|
-
next_fire_at?: string | null | undefined;
|
|
89
|
-
is_active: boolean;
|
|
90
|
-
created_by?: string | null | undefined;
|
|
91
|
-
created_at?: string | null | undefined;
|
|
92
91
|
updated_at?: string | null | undefined;
|
|
92
|
+
workspace_id: string;
|
|
93
93
|
} & import("../index.js").ResponseMetadata>;
|
|
94
94
|
update(triggerId: string, body: components['schemas']['UpdateTriggerRequest']): Promise<{
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
action_id: string;
|
|
96
|
+
created_at?: string | null | undefined;
|
|
97
|
+
created_by?: string | null | undefined;
|
|
98
98
|
description?: string | null | undefined;
|
|
99
|
-
event_type: string;
|
|
100
99
|
event_filter?: {
|
|
101
100
|
[x: string]: unknown;
|
|
102
101
|
} | null | undefined;
|
|
103
|
-
|
|
102
|
+
event_type: string;
|
|
103
|
+
id: string;
|
|
104
104
|
input_template: {
|
|
105
105
|
[x: string]: unknown;
|
|
106
106
|
};
|
|
107
|
+
is_active: boolean;
|
|
108
|
+
name: string;
|
|
109
|
+
next_fire_at?: string | null | undefined;
|
|
107
110
|
schedule?: string | null | undefined;
|
|
108
111
|
timezone: string;
|
|
109
|
-
next_fire_at?: string | null | undefined;
|
|
110
|
-
is_active: boolean;
|
|
111
|
-
created_by?: string | null | undefined;
|
|
112
|
-
created_at?: string | null | undefined;
|
|
113
112
|
updated_at?: string | null | undefined;
|
|
113
|
+
workspace_id: string;
|
|
114
114
|
} & import("../index.js").ResponseMetadata>;
|
|
115
115
|
delete(triggerId: string): Promise<void>;
|
|
116
116
|
fire(triggerId: string): Promise<{
|
|
117
117
|
fired_event_id: string;
|
|
118
|
-
trigger_id: string;
|
|
119
118
|
status?: "fired" | undefined;
|
|
119
|
+
trigger_id: string;
|
|
120
120
|
} & import("../index.js").ResponseMetadata>;
|
|
121
121
|
pause(triggerId: string): Promise<{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
action_id: string;
|
|
123
|
+
created_at?: string | null | undefined;
|
|
124
|
+
created_by?: string | null | undefined;
|
|
125
125
|
description?: string | null | undefined;
|
|
126
|
-
event_type: string;
|
|
127
126
|
event_filter?: {
|
|
128
127
|
[x: string]: unknown;
|
|
129
128
|
} | null | undefined;
|
|
130
|
-
|
|
129
|
+
event_type: string;
|
|
130
|
+
id: string;
|
|
131
131
|
input_template: {
|
|
132
132
|
[x: string]: unknown;
|
|
133
133
|
};
|
|
134
|
+
is_active: boolean;
|
|
135
|
+
name: string;
|
|
136
|
+
next_fire_at?: string | null | undefined;
|
|
134
137
|
schedule?: string | null | undefined;
|
|
135
138
|
timezone: string;
|
|
136
|
-
next_fire_at?: string | null | undefined;
|
|
137
|
-
is_active: boolean;
|
|
138
|
-
created_by?: string | null | undefined;
|
|
139
|
-
created_at?: string | null | undefined;
|
|
140
139
|
updated_at?: string | null | undefined;
|
|
140
|
+
workspace_id: string;
|
|
141
141
|
} & import("../index.js").ResponseMetadata>;
|
|
142
142
|
resume(triggerId: string): Promise<{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
action_id: string;
|
|
144
|
+
created_at?: string | null | undefined;
|
|
145
|
+
created_by?: string | null | undefined;
|
|
146
146
|
description?: string | null | undefined;
|
|
147
|
-
event_type: string;
|
|
148
147
|
event_filter?: {
|
|
149
148
|
[x: string]: unknown;
|
|
150
149
|
} | null | undefined;
|
|
151
|
-
|
|
150
|
+
event_type: string;
|
|
151
|
+
id: string;
|
|
152
152
|
input_template: {
|
|
153
153
|
[x: string]: unknown;
|
|
154
154
|
};
|
|
155
|
+
is_active: boolean;
|
|
156
|
+
name: string;
|
|
157
|
+
next_fire_at?: string | null | undefined;
|
|
155
158
|
schedule?: string | null | undefined;
|
|
156
159
|
timezone: string;
|
|
157
|
-
next_fire_at?: string | null | undefined;
|
|
158
|
-
is_active: boolean;
|
|
159
|
-
created_by?: string | null | undefined;
|
|
160
|
-
created_at?: string | null | undefined;
|
|
161
160
|
updated_at?: string | null | undefined;
|
|
161
|
+
workspace_id: string;
|
|
162
162
|
} & import("../index.js").ResponseMetadata>;
|
|
163
163
|
listRuns(triggerId: string, params?: ListParams): Promise<{
|
|
164
|
+
continuation_token?: number | null | undefined;
|
|
165
|
+
has_more: boolean;
|
|
164
166
|
items: {
|
|
165
|
-
|
|
166
|
-
event_type: string;
|
|
167
|
+
created_at?: string | null | undefined;
|
|
167
168
|
data: {
|
|
168
169
|
[x: string]: unknown;
|
|
169
170
|
};
|
|
170
171
|
effective_at?: string | null | undefined;
|
|
171
|
-
|
|
172
|
+
event_id: string;
|
|
173
|
+
event_type: string;
|
|
172
174
|
}[];
|
|
173
|
-
has_more: boolean;
|
|
174
|
-
continuation_token?: number | null | undefined;
|
|
175
175
|
total?: number | null | undefined;
|
|
176
176
|
} & import("../index.js").ResponseMetadata>;
|
|
177
177
|
listRunsAutoPaging(triggerId: string, params?: ListParams): AsyncGenerator<{
|
|
178
|
-
|
|
179
|
-
event_type: string;
|
|
178
|
+
created_at?: string | null | undefined;
|
|
180
179
|
data: {
|
|
181
180
|
[x: string]: unknown;
|
|
182
181
|
};
|
|
183
182
|
effective_at?: string | null | undefined;
|
|
184
|
-
|
|
183
|
+
event_id: string;
|
|
184
|
+
event_type: string;
|
|
185
185
|
}, any, any>;
|
|
186
186
|
}
|
|
187
187
|
//# sourceMappingURL=triggers.d.ts.map
|
|
@@ -3,123 +3,123 @@ 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 | undefined;
|
|
7
|
+
has_more: boolean;
|
|
6
8
|
items: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
accepted_event_types: string[];
|
|
10
|
+
created_at?: string | null | undefined;
|
|
11
|
+
created_by: string | null;
|
|
10
12
|
description: string | null;
|
|
11
|
-
trigger_id: string;
|
|
12
|
-
url: string;
|
|
13
13
|
field_mapping: {
|
|
14
14
|
[x: string]: unknown;
|
|
15
15
|
} | null;
|
|
16
|
-
|
|
17
|
-
retry_attempts: number;
|
|
16
|
+
id: string;
|
|
18
17
|
is_active: boolean;
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
name: string;
|
|
19
|
+
retry_attempts: number;
|
|
20
|
+
trigger_id: string;
|
|
21
21
|
updated_at?: string | null | undefined;
|
|
22
|
+
url: string;
|
|
23
|
+
workspace_id: string;
|
|
22
24
|
}[];
|
|
23
|
-
has_more: boolean;
|
|
24
|
-
continuation_token?: number | null | undefined;
|
|
25
25
|
total?: number | null | undefined;
|
|
26
26
|
} & import("../index.js").ResponseMetadata>;
|
|
27
27
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
accepted_event_types: string[];
|
|
29
|
+
created_at?: string | null | undefined;
|
|
30
|
+
created_by: string | null;
|
|
31
31
|
description: string | null;
|
|
32
|
-
trigger_id: string;
|
|
33
|
-
url: string;
|
|
34
32
|
field_mapping: {
|
|
35
33
|
[x: string]: unknown;
|
|
36
34
|
} | null;
|
|
37
|
-
|
|
38
|
-
retry_attempts: number;
|
|
35
|
+
id: string;
|
|
39
36
|
is_active: boolean;
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
name: string;
|
|
38
|
+
retry_attempts: number;
|
|
39
|
+
trigger_id: string;
|
|
42
40
|
updated_at?: string | null | undefined;
|
|
41
|
+
url: string;
|
|
42
|
+
workspace_id: string;
|
|
43
43
|
}, any, any>;
|
|
44
44
|
create(body: components['schemas']['CreateWebhookDestinationRequest']): Promise<{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
accepted_event_types: string[];
|
|
46
|
+
created_at?: string | null | undefined;
|
|
47
|
+
created_by: string | null;
|
|
48
48
|
description: string | null;
|
|
49
|
-
trigger_id: string;
|
|
50
|
-
url: string;
|
|
51
49
|
field_mapping: {
|
|
52
50
|
[x: string]: unknown;
|
|
53
51
|
} | null;
|
|
54
|
-
|
|
55
|
-
retry_attempts: number;
|
|
52
|
+
id: string;
|
|
56
53
|
is_active: boolean;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
updated_at?: string | null | undefined;
|
|
54
|
+
name: string;
|
|
55
|
+
retry_attempts: number;
|
|
60
56
|
secret: string;
|
|
57
|
+
trigger_id: string;
|
|
58
|
+
updated_at?: string | null | undefined;
|
|
59
|
+
url: string;
|
|
60
|
+
workspace_id: string;
|
|
61
61
|
} & import("../index.js").ResponseMetadata>;
|
|
62
62
|
get(destinationId: string): Promise<{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
accepted_event_types: string[];
|
|
64
|
+
created_at?: string | null | undefined;
|
|
65
|
+
created_by: string | null;
|
|
66
66
|
description: string | null;
|
|
67
|
-
trigger_id: string;
|
|
68
|
-
url: string;
|
|
69
67
|
field_mapping: {
|
|
70
68
|
[x: string]: unknown;
|
|
71
69
|
} | null;
|
|
72
|
-
|
|
73
|
-
retry_attempts: number;
|
|
70
|
+
id: string;
|
|
74
71
|
is_active: boolean;
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
name: string;
|
|
73
|
+
retry_attempts: number;
|
|
74
|
+
trigger_id: string;
|
|
77
75
|
updated_at?: string | null | undefined;
|
|
76
|
+
url: string;
|
|
77
|
+
workspace_id: string;
|
|
78
78
|
} & import("../index.js").ResponseMetadata>;
|
|
79
79
|
update(destinationId: string, body: components['schemas']['UpdateWebhookDestinationRequest']): Promise<{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
accepted_event_types: string[];
|
|
81
|
+
created_at?: string | null | undefined;
|
|
82
|
+
created_by: string | null;
|
|
83
83
|
description: string | null;
|
|
84
|
-
trigger_id: string;
|
|
85
|
-
url: string;
|
|
86
84
|
field_mapping: {
|
|
87
85
|
[x: string]: unknown;
|
|
88
86
|
} | null;
|
|
89
|
-
|
|
90
|
-
retry_attempts: number;
|
|
87
|
+
id: string;
|
|
91
88
|
is_active: boolean;
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
name: string;
|
|
90
|
+
retry_attempts: number;
|
|
91
|
+
trigger_id: string;
|
|
94
92
|
updated_at?: string | null | undefined;
|
|
93
|
+
url: string;
|
|
94
|
+
workspace_id: string;
|
|
95
95
|
} & import("../index.js").ResponseMetadata>;
|
|
96
96
|
delete(destinationId: string): Promise<void>;
|
|
97
97
|
listDeliveries(destinationId: string, params?: ListParams): Promise<{
|
|
98
|
+
continuation_token?: number | null | undefined;
|
|
99
|
+
has_more: boolean;
|
|
98
100
|
items: {
|
|
99
|
-
|
|
100
|
-
event_type: string;
|
|
101
|
+
created_at?: string | null | undefined;
|
|
101
102
|
data: {
|
|
102
103
|
[x: string]: unknown;
|
|
103
104
|
};
|
|
104
105
|
effective_at: string | null;
|
|
105
|
-
|
|
106
|
+
event_id: string;
|
|
107
|
+
event_type: string;
|
|
106
108
|
}[];
|
|
107
|
-
has_more: boolean;
|
|
108
|
-
continuation_token?: number | null | undefined;
|
|
109
109
|
total?: number | null | undefined;
|
|
110
110
|
} & import("../index.js").ResponseMetadata>;
|
|
111
111
|
listDeliveriesAutoPaging(destinationId: string, params?: ListParams): AsyncGenerator<{
|
|
112
|
-
|
|
113
|
-
event_type: string;
|
|
112
|
+
created_at?: string | null | undefined;
|
|
114
113
|
data: {
|
|
115
114
|
[x: string]: unknown;
|
|
116
115
|
};
|
|
117
116
|
effective_at: string | null;
|
|
118
|
-
|
|
117
|
+
event_id: string;
|
|
118
|
+
event_type: string;
|
|
119
119
|
}, any, any>;
|
|
120
120
|
rotateSecret(destinationId: string): Promise<{
|
|
121
|
-
secret: string;
|
|
122
121
|
rotation_expires_at: string;
|
|
122
|
+
secret: string;
|
|
123
123
|
} & import("../index.js").ResponseMetadata>;
|
|
124
124
|
}
|
|
125
125
|
//# sourceMappingURL=webhook-destinations.d.ts.map
|
|
@@ -12,98 +12,98 @@ import type { ListParams } from '../core/utils.js';
|
|
|
12
12
|
export declare class WorkspacesResource extends WorkspaceScopedResource {
|
|
13
13
|
/** Create a new workspace */
|
|
14
14
|
create(body: components['schemas']['CreateWorkspaceRequest']): Promise<{
|
|
15
|
-
id: string;
|
|
16
|
-
slug: string;
|
|
17
|
-
name: string;
|
|
18
|
-
environment: string;
|
|
19
15
|
backend_org_id: string | null;
|
|
20
|
-
region: string;
|
|
21
16
|
connector_type: string | null;
|
|
22
|
-
provisioned_at: string | null;
|
|
23
17
|
created_at: string;
|
|
18
|
+
environment: string;
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
provisioned_at: string | null;
|
|
22
|
+
region: string;
|
|
23
|
+
slug: string;
|
|
24
24
|
updated_at: string;
|
|
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 | undefined;
|
|
29
|
+
has_more: boolean;
|
|
28
30
|
items: {
|
|
29
|
-
id: string;
|
|
30
|
-
slug: string;
|
|
31
|
-
name: string;
|
|
32
|
-
environment: string;
|
|
33
31
|
backend_org_id: string | null;
|
|
34
|
-
region: string;
|
|
35
32
|
connector_type: string | null;
|
|
36
|
-
provisioned_at: string | null;
|
|
37
33
|
created_at: string;
|
|
34
|
+
environment: string;
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
provisioned_at: string | null;
|
|
38
|
+
region: string;
|
|
39
|
+
slug: string;
|
|
38
40
|
updated_at: string;
|
|
39
41
|
}[];
|
|
40
|
-
has_more: boolean;
|
|
41
|
-
continuation_token?: number | null | undefined;
|
|
42
42
|
total?: number | null | undefined;
|
|
43
43
|
} & import("../index.js").ResponseMetadata>;
|
|
44
44
|
listAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
45
|
-
id: string;
|
|
46
|
-
slug: string;
|
|
47
|
-
name: string;
|
|
48
|
-
environment: string;
|
|
49
45
|
backend_org_id: string | null;
|
|
50
|
-
region: string;
|
|
51
46
|
connector_type: string | null;
|
|
52
|
-
provisioned_at: string | null;
|
|
53
47
|
created_at: string;
|
|
48
|
+
environment: string;
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
provisioned_at: string | null;
|
|
52
|
+
region: string;
|
|
53
|
+
slug: string;
|
|
54
54
|
updated_at: string;
|
|
55
55
|
}, any, any>;
|
|
56
56
|
/** Get a single workspace by ID */
|
|
57
57
|
get(id?: WorkspaceId | string): Promise<{
|
|
58
|
-
id: string;
|
|
59
|
-
slug: string;
|
|
60
|
-
name: string;
|
|
61
|
-
environment: string;
|
|
62
58
|
backend_org_id: string | null;
|
|
63
|
-
region: string;
|
|
64
59
|
connector_type: string | null;
|
|
65
|
-
provisioned_at: string | null;
|
|
66
60
|
created_at: string;
|
|
61
|
+
environment: string;
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
provisioned_at: string | null;
|
|
65
|
+
region: string;
|
|
66
|
+
slug: string;
|
|
67
67
|
updated_at: string;
|
|
68
68
|
} & import("../index.js").ResponseMetadata>;
|
|
69
69
|
/** Update workspace metadata */
|
|
70
70
|
update(body: components['schemas']['UpdateWorkspaceRequest'], id?: WorkspaceId | string): Promise<{
|
|
71
|
-
id: string;
|
|
72
|
-
slug: string;
|
|
73
|
-
name: string;
|
|
74
|
-
environment: string;
|
|
75
71
|
backend_org_id: string | null;
|
|
76
|
-
region: string;
|
|
77
72
|
connector_type: string | null;
|
|
78
|
-
provisioned_at: string | null;
|
|
79
73
|
created_at: string;
|
|
74
|
+
environment: string;
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
provisioned_at: string | null;
|
|
78
|
+
region: string;
|
|
79
|
+
slug: string;
|
|
80
80
|
updated_at: string;
|
|
81
81
|
} & import("../index.js").ResponseMetadata>;
|
|
82
82
|
/** Archive (soft-delete) a workspace */
|
|
83
83
|
archive(body: components['schemas']['ArchiveWorkspaceRequest'], id?: WorkspaceId | string): Promise<{
|
|
84
|
-
id: string;
|
|
85
|
-
slug: string;
|
|
86
|
-
name: string;
|
|
87
|
-
environment: string;
|
|
88
84
|
backend_org_id: string | null;
|
|
89
|
-
region: string;
|
|
90
85
|
connector_type: string | null;
|
|
91
|
-
provisioned_at: string | null;
|
|
92
86
|
created_at: string;
|
|
87
|
+
environment: string;
|
|
88
|
+
id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
provisioned_at: string | null;
|
|
91
|
+
region: string;
|
|
92
|
+
slug: string;
|
|
93
93
|
updated_at: string;
|
|
94
94
|
} & import("../index.js").ResponseMetadata>;
|
|
95
95
|
/** Provision a workspace (seed integrations, mark as provisioned) */
|
|
96
96
|
provision(id?: WorkspaceId | string): Promise<{
|
|
97
97
|
workspace: {
|
|
98
|
-
id: string;
|
|
99
|
-
slug: string;
|
|
100
|
-
name: string;
|
|
101
|
-
environment: string;
|
|
102
98
|
backend_org_id: string | null;
|
|
103
|
-
region: string;
|
|
104
99
|
connector_type: string | null;
|
|
105
|
-
provisioned_at: string | null;
|
|
106
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
107
|
updated_at: string;
|
|
108
108
|
};
|
|
109
109
|
} & import("../index.js").ResponseMetadata>;
|
|
@@ -115,15 +115,15 @@ export declare class WorkspacesResource extends WorkspaceScopedResource {
|
|
|
115
115
|
} & import("../index.js").ResponseMetadata>;
|
|
116
116
|
/** Convert workspace between staging and production */
|
|
117
117
|
convertEnvironment(body: components['schemas']['ConvertEnvironmentRequest'], id?: WorkspaceId | string): Promise<{
|
|
118
|
-
id: string;
|
|
119
|
-
slug: string;
|
|
120
|
-
name: string;
|
|
121
|
-
environment: string;
|
|
122
118
|
backend_org_id: string | null;
|
|
123
|
-
region: string;
|
|
124
119
|
connector_type: string | null;
|
|
125
|
-
provisioned_at: string | null;
|
|
126
120
|
created_at: string;
|
|
121
|
+
environment: string;
|
|
122
|
+
id: string;
|
|
123
|
+
name: string;
|
|
124
|
+
provisioned_at: string | null;
|
|
125
|
+
region: string;
|
|
126
|
+
slug: string;
|
|
127
127
|
updated_at: string;
|
|
128
128
|
} & import("../index.js").ResponseMetadata>;
|
|
129
129
|
}
|