@archastro/sdk 0.5.0 → 0.5.2
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/package.json +2 -2
- package/dist/types/chat.d.ts +0 -272
- package/dist/types/chat.d.ts.map +0 -1
- package/dist/types/chat.js +0 -14
- package/dist/types/chat.js.map +0 -1
- package/dist/types/members.d.ts +0 -99
- package/dist/types/members.d.ts.map +0 -1
- package/dist/types/members.js +0 -36
- package/dist/types/members.js.map +0 -1
- package/dist/types/orgs.d.ts +0 -193
- package/dist/types/orgs.d.ts.map +0 -1
- package/dist/types/orgs.js +0 -69
- package/dist/types/orgs.js.map +0 -1
- package/dist/types/reactions.d.ts +0 -29
- package/dist/types/reactions.d.ts.map +0 -1
- package/dist/types/reactions.js +0 -15
- package/dist/types/reactions.js.map +0 -1
- package/dist/types/schedules.d.ts +0 -32
- package/dist/types/schedules.d.ts.map +0 -1
- package/dist/types/schedules.js +0 -16
- package/dist/types/schedules.js.map +0 -1
- package/dist/types/system.d.ts +0 -23
- package/dist/types/system.d.ts.map +0 -1
- package/dist/types/system.js +0 -13
- package/dist/types/system.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archastro/sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "TypeScript SDK for the ArchAstro Platform API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/
|
|
22
|
+
"url": "https://github.com/ArchAstro/archastro-js.git",
|
|
23
23
|
"directory": "packages/sdk"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
package/dist/types/chat.d.ts
DELETED
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** API schema for a chat member (user or agent). */
|
|
3
|
-
export declare const chatMemberSchema: z.ZodObject<{
|
|
4
|
-
agent: z.ZodOptional<z.ZodObject<{
|
|
5
|
-
acl: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
-
actions: z.ZodArray<z.ZodString, "many">;
|
|
8
|
-
principal: z.ZodOptional<z.ZodString>;
|
|
9
|
-
principal_type: z.ZodString;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
actions: string[];
|
|
12
|
-
principal_type: string;
|
|
13
|
-
principal?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
actions: string[];
|
|
16
|
-
principal_type: string;
|
|
17
|
-
principal?: string | undefined;
|
|
18
|
-
}>, "many">>;
|
|
19
|
-
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
|
-
actions: z.ZodArray<z.ZodString, "many">;
|
|
21
|
-
principal: z.ZodOptional<z.ZodString>;
|
|
22
|
-
principal_type: z.ZodString;
|
|
23
|
-
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
actions: string[];
|
|
25
|
-
principal_type: string;
|
|
26
|
-
principal?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
actions: string[];
|
|
29
|
-
principal_type: string;
|
|
30
|
-
principal?: string | undefined;
|
|
31
|
-
}>, "many">>;
|
|
32
|
-
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
-
principal: z.ZodOptional<z.ZodString>;
|
|
34
|
-
principal_type: z.ZodString;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
principal_type: string;
|
|
37
|
-
principal?: string | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
principal_type: string;
|
|
40
|
-
principal?: string | undefined;
|
|
41
|
-
}>, "many">>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
add?: {
|
|
44
|
-
actions: string[];
|
|
45
|
-
principal_type: string;
|
|
46
|
-
principal?: string | undefined;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
grants?: {
|
|
49
|
-
actions: string[];
|
|
50
|
-
principal_type: string;
|
|
51
|
-
principal?: string | undefined;
|
|
52
|
-
}[] | undefined;
|
|
53
|
-
remove?: {
|
|
54
|
-
principal_type: string;
|
|
55
|
-
principal?: string | undefined;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
add?: {
|
|
59
|
-
actions: string[];
|
|
60
|
-
principal_type: string;
|
|
61
|
-
principal?: string | undefined;
|
|
62
|
-
}[] | undefined;
|
|
63
|
-
grants?: {
|
|
64
|
-
actions: string[];
|
|
65
|
-
principal_type: string;
|
|
66
|
-
principal?: string | undefined;
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
remove?: {
|
|
69
|
-
principal_type: string;
|
|
70
|
-
principal?: string | undefined;
|
|
71
|
-
}[] | undefined;
|
|
72
|
-
}>>;
|
|
73
|
-
app: z.ZodOptional<z.ZodString>;
|
|
74
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
75
|
-
default_model: z.ZodOptional<z.ZodString>;
|
|
76
|
-
email: z.ZodOptional<z.ZodString>;
|
|
77
|
-
id: z.ZodString;
|
|
78
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
79
|
-
lookup_key: z.ZodOptional<z.ZodString>;
|
|
80
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
81
|
-
name: z.ZodOptional<z.ZodString>;
|
|
82
|
-
org: z.ZodOptional<z.ZodString>;
|
|
83
|
-
phone_number: z.ZodOptional<z.ZodString>;
|
|
84
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
85
|
-
team: z.ZodOptional<z.ZodString>;
|
|
86
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
87
|
-
user: z.ZodOptional<z.ZodString>;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
id: string;
|
|
90
|
-
email?: string | undefined;
|
|
91
|
-
metadata?: Record<string, unknown> | undefined;
|
|
92
|
-
name?: string | undefined;
|
|
93
|
-
org?: string | undefined;
|
|
94
|
-
sandbox?: string | undefined;
|
|
95
|
-
created_at?: string | undefined;
|
|
96
|
-
updated_at?: string | undefined;
|
|
97
|
-
user?: string | undefined;
|
|
98
|
-
acl?: {
|
|
99
|
-
add?: {
|
|
100
|
-
actions: string[];
|
|
101
|
-
principal_type: string;
|
|
102
|
-
principal?: string | undefined;
|
|
103
|
-
}[] | undefined;
|
|
104
|
-
grants?: {
|
|
105
|
-
actions: string[];
|
|
106
|
-
principal_type: string;
|
|
107
|
-
principal?: string | undefined;
|
|
108
|
-
}[] | undefined;
|
|
109
|
-
remove?: {
|
|
110
|
-
principal_type: string;
|
|
111
|
-
principal?: string | undefined;
|
|
112
|
-
}[] | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
app?: string | undefined;
|
|
115
|
-
default_model?: string | undefined;
|
|
116
|
-
identity?: string | undefined;
|
|
117
|
-
lookup_key?: string | undefined;
|
|
118
|
-
phone_number?: string | undefined;
|
|
119
|
-
team?: string | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
id: string;
|
|
122
|
-
email?: string | undefined;
|
|
123
|
-
metadata?: Record<string, unknown> | undefined;
|
|
124
|
-
name?: string | undefined;
|
|
125
|
-
org?: string | undefined;
|
|
126
|
-
sandbox?: string | undefined;
|
|
127
|
-
created_at?: string | undefined;
|
|
128
|
-
updated_at?: string | undefined;
|
|
129
|
-
user?: string | undefined;
|
|
130
|
-
acl?: {
|
|
131
|
-
add?: {
|
|
132
|
-
actions: string[];
|
|
133
|
-
principal_type: string;
|
|
134
|
-
principal?: string | undefined;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
grants?: {
|
|
137
|
-
actions: string[];
|
|
138
|
-
principal_type: string;
|
|
139
|
-
principal?: string | undefined;
|
|
140
|
-
}[] | undefined;
|
|
141
|
-
remove?: {
|
|
142
|
-
principal_type: string;
|
|
143
|
-
principal?: string | undefined;
|
|
144
|
-
}[] | undefined;
|
|
145
|
-
} | undefined;
|
|
146
|
-
app?: string | undefined;
|
|
147
|
-
default_model?: string | undefined;
|
|
148
|
-
identity?: string | undefined;
|
|
149
|
-
lookup_key?: string | undefined;
|
|
150
|
-
phone_number?: string | undefined;
|
|
151
|
-
team?: string | undefined;
|
|
152
|
-
}>>;
|
|
153
|
-
membership_type: z.ZodOptional<z.ZodString>;
|
|
154
|
-
type: z.ZodString;
|
|
155
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
156
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
157
|
-
email: z.ZodOptional<z.ZodString>;
|
|
158
|
-
id: z.ZodString;
|
|
159
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
160
|
-
name: z.ZodOptional<z.ZodString>;
|
|
161
|
-
org: z.ZodOptional<z.ZodString>;
|
|
162
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
163
|
-
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
id: string;
|
|
165
|
-
email?: string | undefined;
|
|
166
|
-
alias?: string | undefined;
|
|
167
|
-
metadata?: Record<string, unknown> | undefined;
|
|
168
|
-
name?: string | undefined;
|
|
169
|
-
org?: string | undefined;
|
|
170
|
-
sandbox?: string | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
id: string;
|
|
173
|
-
email?: string | undefined;
|
|
174
|
-
alias?: string | undefined;
|
|
175
|
-
metadata?: Record<string, unknown> | undefined;
|
|
176
|
-
name?: string | undefined;
|
|
177
|
-
org?: string | undefined;
|
|
178
|
-
sandbox?: string | undefined;
|
|
179
|
-
}>>;
|
|
180
|
-
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
type: string;
|
|
182
|
-
user?: {
|
|
183
|
-
id: string;
|
|
184
|
-
email?: string | undefined;
|
|
185
|
-
alias?: string | undefined;
|
|
186
|
-
metadata?: Record<string, unknown> | undefined;
|
|
187
|
-
name?: string | undefined;
|
|
188
|
-
org?: string | undefined;
|
|
189
|
-
sandbox?: string | undefined;
|
|
190
|
-
} | undefined;
|
|
191
|
-
agent?: {
|
|
192
|
-
id: string;
|
|
193
|
-
email?: string | undefined;
|
|
194
|
-
metadata?: Record<string, unknown> | undefined;
|
|
195
|
-
name?: string | undefined;
|
|
196
|
-
org?: string | undefined;
|
|
197
|
-
sandbox?: string | undefined;
|
|
198
|
-
created_at?: string | undefined;
|
|
199
|
-
updated_at?: string | undefined;
|
|
200
|
-
user?: string | undefined;
|
|
201
|
-
acl?: {
|
|
202
|
-
add?: {
|
|
203
|
-
actions: string[];
|
|
204
|
-
principal_type: string;
|
|
205
|
-
principal?: string | undefined;
|
|
206
|
-
}[] | undefined;
|
|
207
|
-
grants?: {
|
|
208
|
-
actions: string[];
|
|
209
|
-
principal_type: string;
|
|
210
|
-
principal?: string | undefined;
|
|
211
|
-
}[] | undefined;
|
|
212
|
-
remove?: {
|
|
213
|
-
principal_type: string;
|
|
214
|
-
principal?: string | undefined;
|
|
215
|
-
}[] | undefined;
|
|
216
|
-
} | undefined;
|
|
217
|
-
app?: string | undefined;
|
|
218
|
-
default_model?: string | undefined;
|
|
219
|
-
identity?: string | undefined;
|
|
220
|
-
lookup_key?: string | undefined;
|
|
221
|
-
phone_number?: string | undefined;
|
|
222
|
-
team?: string | undefined;
|
|
223
|
-
} | undefined;
|
|
224
|
-
membership_type?: string | undefined;
|
|
225
|
-
}, {
|
|
226
|
-
type: string;
|
|
227
|
-
user?: {
|
|
228
|
-
id: string;
|
|
229
|
-
email?: string | undefined;
|
|
230
|
-
alias?: string | undefined;
|
|
231
|
-
metadata?: Record<string, unknown> | undefined;
|
|
232
|
-
name?: string | undefined;
|
|
233
|
-
org?: string | undefined;
|
|
234
|
-
sandbox?: string | undefined;
|
|
235
|
-
} | undefined;
|
|
236
|
-
agent?: {
|
|
237
|
-
id: string;
|
|
238
|
-
email?: string | undefined;
|
|
239
|
-
metadata?: Record<string, unknown> | undefined;
|
|
240
|
-
name?: string | undefined;
|
|
241
|
-
org?: string | undefined;
|
|
242
|
-
sandbox?: string | undefined;
|
|
243
|
-
created_at?: string | undefined;
|
|
244
|
-
updated_at?: string | undefined;
|
|
245
|
-
user?: string | undefined;
|
|
246
|
-
acl?: {
|
|
247
|
-
add?: {
|
|
248
|
-
actions: string[];
|
|
249
|
-
principal_type: string;
|
|
250
|
-
principal?: string | undefined;
|
|
251
|
-
}[] | undefined;
|
|
252
|
-
grants?: {
|
|
253
|
-
actions: string[];
|
|
254
|
-
principal_type: string;
|
|
255
|
-
principal?: string | undefined;
|
|
256
|
-
}[] | undefined;
|
|
257
|
-
remove?: {
|
|
258
|
-
principal_type: string;
|
|
259
|
-
principal?: string | undefined;
|
|
260
|
-
}[] | undefined;
|
|
261
|
-
} | undefined;
|
|
262
|
-
app?: string | undefined;
|
|
263
|
-
default_model?: string | undefined;
|
|
264
|
-
identity?: string | undefined;
|
|
265
|
-
lookup_key?: string | undefined;
|
|
266
|
-
phone_number?: string | undefined;
|
|
267
|
-
team?: string | undefined;
|
|
268
|
-
} | undefined;
|
|
269
|
-
membership_type?: string | undefined;
|
|
270
|
-
}>;
|
|
271
|
-
export type ChatMember = z.infer<typeof chatMemberSchema>;
|
|
272
|
-
//# sourceMappingURL=chat.d.ts.map
|
package/dist/types/chat.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/types/chat.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,oDAAoD;AACpD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/types/chat.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
|
|
2
|
-
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash: 0f1c95d2855c
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
import { agentSchema } from "./agents.js";
|
|
6
|
-
import { userSchema } from "./users.js";
|
|
7
|
-
/** API schema for a chat member (user or agent). */
|
|
8
|
-
export const chatMemberSchema = z.object({
|
|
9
|
-
agent: agentSchema.optional(), // Agent object (for agent members)
|
|
10
|
-
membership_type: z.string().optional(), // Membership type
|
|
11
|
-
type: z.string(), // Member type (user or agent)
|
|
12
|
-
user: userSchema.optional(), // User object (for user members)
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=chat.js.map
|
package/dist/types/chat.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/types/chat.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,oDAAoD;AACpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,WAAW,CAAC,QAAQ,EAAE,EAAE,mCAAmC;IAClE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,kBAAkB;IAC1D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8BAA8B;IAChD,IAAI,EAAE,UAAU,CAAC,QAAQ,EAAE,EAAE,iCAAiC;CAC/D,CAAC,CAAC"}
|
package/dist/types/members.d.ts
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** Associated account */
|
|
3
|
-
export declare const memberAccountSchema: z.ZodObject<{
|
|
4
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
5
|
-
email: z.ZodString;
|
|
6
|
-
full_name: z.ZodOptional<z.ZodString>;
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
email: string;
|
|
10
|
-
id: string;
|
|
11
|
-
alias?: string | undefined;
|
|
12
|
-
full_name?: string | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
email: string;
|
|
15
|
-
id: string;
|
|
16
|
-
alias?: string | undefined;
|
|
17
|
-
full_name?: string | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
export type MemberAccount = z.infer<typeof memberAccountSchema>;
|
|
20
|
-
/** Schema for an app member (account with role on an app).
|
|
21
|
-
|
|
22
|
-
Maps to serialized membership output from developer portal API.
|
|
23
|
-
*/
|
|
24
|
-
export declare const memberSchema: z.ZodObject<{
|
|
25
|
-
account: z.ZodObject<{
|
|
26
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
27
|
-
email: z.ZodString;
|
|
28
|
-
full_name: z.ZodOptional<z.ZodString>;
|
|
29
|
-
id: z.ZodString;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
email: string;
|
|
32
|
-
id: string;
|
|
33
|
-
alias?: string | undefined;
|
|
34
|
-
full_name?: string | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
email: string;
|
|
37
|
-
id: string;
|
|
38
|
-
alias?: string | undefined;
|
|
39
|
-
full_name?: string | undefined;
|
|
40
|
-
}>;
|
|
41
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
42
|
-
id: z.ZodString;
|
|
43
|
-
role: z.ZodString;
|
|
44
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
id: string;
|
|
47
|
-
role: string;
|
|
48
|
-
account: {
|
|
49
|
-
email: string;
|
|
50
|
-
id: string;
|
|
51
|
-
alias?: string | undefined;
|
|
52
|
-
full_name?: string | undefined;
|
|
53
|
-
};
|
|
54
|
-
created_at?: string | undefined;
|
|
55
|
-
updated_at?: string | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
id: string;
|
|
58
|
-
role: string;
|
|
59
|
-
account: {
|
|
60
|
-
email: string;
|
|
61
|
-
id: string;
|
|
62
|
-
alias?: string | undefined;
|
|
63
|
-
full_name?: string | undefined;
|
|
64
|
-
};
|
|
65
|
-
created_at?: string | undefined;
|
|
66
|
-
updated_at?: string | undefined;
|
|
67
|
-
}>;
|
|
68
|
-
export type Member = z.infer<typeof memberSchema>;
|
|
69
|
-
/** Schema for a pending member invite.
|
|
70
|
-
|
|
71
|
-
Maps to serialized invite output from developer portal API.
|
|
72
|
-
*/
|
|
73
|
-
export declare const memberInviteSchema: z.ZodObject<{
|
|
74
|
-
email: z.ZodString;
|
|
75
|
-
expires_at: z.ZodString;
|
|
76
|
-
id: z.ZodString;
|
|
77
|
-
invited_at: z.ZodString;
|
|
78
|
-
inviter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
79
|
-
role: z.ZodString;
|
|
80
|
-
status: z.ZodString;
|
|
81
|
-
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
email: string;
|
|
83
|
-
status: string;
|
|
84
|
-
id: string;
|
|
85
|
-
expires_at: string;
|
|
86
|
-
role: string;
|
|
87
|
-
invited_at: string;
|
|
88
|
-
inviter?: Record<string, unknown> | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
email: string;
|
|
91
|
-
status: string;
|
|
92
|
-
id: string;
|
|
93
|
-
expires_at: string;
|
|
94
|
-
role: string;
|
|
95
|
-
invited_at: string;
|
|
96
|
-
inviter?: Record<string, unknown> | undefined;
|
|
97
|
-
}>;
|
|
98
|
-
export type MemberInvite = z.infer<typeof memberInviteSchema>;
|
|
99
|
-
//# sourceMappingURL=members.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"members.d.ts","sourceRoot":"","sources":["../../src/types/members.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAyB;AACzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/types/members.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
|
|
2
|
-
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash: c765510dbc8b
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
/** Associated account */
|
|
6
|
-
export const memberAccountSchema = z.object({
|
|
7
|
-
alias: z.string().optional(), // Account alias
|
|
8
|
-
email: z.string(), // Account email
|
|
9
|
-
full_name: z.string().optional(), // Full name
|
|
10
|
-
id: z.string(), // Account public ID (dva_...)
|
|
11
|
-
});
|
|
12
|
-
/** Schema for an app member (account with role on an app).
|
|
13
|
-
|
|
14
|
-
Maps to serialized membership output from developer portal API.
|
|
15
|
-
*/
|
|
16
|
-
export const memberSchema = z.object({
|
|
17
|
-
account: memberAccountSchema, // Associated account
|
|
18
|
-
created_at: z.string().optional(), // Created timestamp
|
|
19
|
-
id: z.string(), // Public ID (dar_...)
|
|
20
|
-
role: z.string(), // Role (admin, developer)
|
|
21
|
-
updated_at: z.string().optional(), // Updated timestamp
|
|
22
|
-
});
|
|
23
|
-
/** Schema for a pending member invite.
|
|
24
|
-
|
|
25
|
-
Maps to serialized invite output from developer portal API.
|
|
26
|
-
*/
|
|
27
|
-
export const memberInviteSchema = z.object({
|
|
28
|
-
email: z.string(), // Invitee's email address
|
|
29
|
-
expires_at: z.string(), // When the invite expires
|
|
30
|
-
id: z.string(), // Public ID (ami_...)
|
|
31
|
-
invited_at: z.string(), // When the invite was created
|
|
32
|
-
inviter: z.record(z.unknown()).optional(), // Account that sent the invite
|
|
33
|
-
role: z.string(), // Role (admin, developer)
|
|
34
|
-
status: z.string(), // Invite status (pending or expired)
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=members.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"members.js","sourceRoot":"","sources":["../../src/types/members.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAyB;AACzB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,gBAAgB;IAC9C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,gBAAgB;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,YAAY;IAC9C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8BAA8B;CAC/C,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,OAAO,EAAE,mBAAmB,EAAE,qBAAqB;IACnD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,oBAAoB;IACvD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,sBAAsB;IACtC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,0BAA0B;IAC5C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,oBAAoB;CACxD,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,0BAA0B;IAC7C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,0BAA0B;IAClD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,sBAAsB;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8BAA8B;IACtD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,+BAA+B;IAC1E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,0BAA0B;IAC5C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,qCAAqC;CAC1D,CAAC,CAAC"}
|
package/dist/types/orgs.d.ts
DELETED
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** API schema for an organization. */
|
|
3
|
-
export declare const orgSchema: z.ZodObject<{
|
|
4
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
5
|
-
description: z.ZodOptional<z.ZodString>;
|
|
6
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
9
|
-
name: z.ZodOptional<z.ZodString>;
|
|
10
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
11
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
12
|
-
status: z.ZodOptional<z.ZodString>;
|
|
13
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
14
|
-
website: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
id: string;
|
|
17
|
-
status?: string | undefined;
|
|
18
|
-
name?: string | undefined;
|
|
19
|
-
sandbox?: string | undefined;
|
|
20
|
-
created_at?: string | undefined;
|
|
21
|
-
updated_at?: string | undefined;
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
slug?: string | undefined;
|
|
24
|
-
domain?: string | undefined;
|
|
25
|
-
industry?: string | undefined;
|
|
26
|
-
website?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
id: string;
|
|
29
|
-
status?: string | undefined;
|
|
30
|
-
name?: string | undefined;
|
|
31
|
-
sandbox?: string | undefined;
|
|
32
|
-
created_at?: string | undefined;
|
|
33
|
-
updated_at?: string | undefined;
|
|
34
|
-
description?: string | undefined;
|
|
35
|
-
slug?: string | undefined;
|
|
36
|
-
domain?: string | undefined;
|
|
37
|
-
industry?: string | undefined;
|
|
38
|
-
website?: string | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
export type Org = z.infer<typeof orgSchema>;
|
|
41
|
-
/** Schema for org auth policy response.
|
|
42
|
-
*/
|
|
43
|
-
export declare const orgAuthPolicySchema: z.ZodObject<{
|
|
44
|
-
allowed_email_domains: z.ZodArray<z.ZodString, "many">;
|
|
45
|
-
auth_method: z.ZodString;
|
|
46
|
-
require_2fa: z.ZodBoolean;
|
|
47
|
-
sso_providers: z.ZodArray<z.ZodString, "many">;
|
|
48
|
-
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
allowed_email_domains: string[];
|
|
50
|
-
auth_method: string;
|
|
51
|
-
require_2fa: boolean;
|
|
52
|
-
sso_providers: string[];
|
|
53
|
-
}, {
|
|
54
|
-
allowed_email_domains: string[];
|
|
55
|
-
auth_method: string;
|
|
56
|
-
require_2fa: boolean;
|
|
57
|
-
sso_providers: string[];
|
|
58
|
-
}>;
|
|
59
|
-
export type OrgAuthPolicy = z.infer<typeof orgAuthPolicySchema>;
|
|
60
|
-
/** Schema for an organization environment variable response that includes the
|
|
61
|
-
plaintext value.
|
|
62
|
-
*/
|
|
63
|
-
export declare const orgEnvVarSchema: z.ZodObject<{
|
|
64
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
65
|
-
description: z.ZodOptional<z.ZodString>;
|
|
66
|
-
id: z.ZodString;
|
|
67
|
-
key: z.ZodString;
|
|
68
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
69
|
-
value: z.ZodString;
|
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
key: string;
|
|
72
|
-
value: string;
|
|
73
|
-
id: string;
|
|
74
|
-
created_at?: string | undefined;
|
|
75
|
-
updated_at?: string | undefined;
|
|
76
|
-
description?: string | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
key: string;
|
|
79
|
-
value: string;
|
|
80
|
-
id: string;
|
|
81
|
-
created_at?: string | undefined;
|
|
82
|
-
updated_at?: string | undefined;
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
}>;
|
|
85
|
-
export type OrgEnvVar = z.infer<typeof orgEnvVarSchema>;
|
|
86
|
-
/** Schema for an organization environment variable response that masks the
|
|
87
|
-
secret value.
|
|
88
|
-
*/
|
|
89
|
-
export declare const orgEnvVarMaskedSchema: z.ZodObject<{
|
|
90
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
91
|
-
description: z.ZodOptional<z.ZodString>;
|
|
92
|
-
id: z.ZodString;
|
|
93
|
-
key: z.ZodString;
|
|
94
|
-
masked_value: z.ZodString;
|
|
95
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
96
|
-
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
key: string;
|
|
98
|
-
id: string;
|
|
99
|
-
masked_value: string;
|
|
100
|
-
created_at?: string | undefined;
|
|
101
|
-
updated_at?: string | undefined;
|
|
102
|
-
description?: string | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
key: string;
|
|
105
|
-
id: string;
|
|
106
|
-
masked_value: string;
|
|
107
|
-
created_at?: string | undefined;
|
|
108
|
-
updated_at?: string | undefined;
|
|
109
|
-
description?: string | undefined;
|
|
110
|
-
}>;
|
|
111
|
-
export type OrgEnvVarMasked = z.infer<typeof orgEnvVarMaskedSchema>;
|
|
112
|
-
/** Schema for organization environment variable list responses. */
|
|
113
|
-
export declare const orgEnvVarMaskedListSchema: z.ZodObject<{
|
|
114
|
-
data: z.ZodArray<z.ZodObject<{
|
|
115
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
116
|
-
description: z.ZodOptional<z.ZodString>;
|
|
117
|
-
id: z.ZodString;
|
|
118
|
-
key: z.ZodString;
|
|
119
|
-
masked_value: z.ZodString;
|
|
120
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
key: string;
|
|
123
|
-
id: string;
|
|
124
|
-
masked_value: string;
|
|
125
|
-
created_at?: string | undefined;
|
|
126
|
-
updated_at?: string | undefined;
|
|
127
|
-
description?: string | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
key: string;
|
|
130
|
-
id: string;
|
|
131
|
-
masked_value: string;
|
|
132
|
-
created_at?: string | undefined;
|
|
133
|
-
updated_at?: string | undefined;
|
|
134
|
-
description?: string | undefined;
|
|
135
|
-
}>, "many">;
|
|
136
|
-
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
data: {
|
|
138
|
-
key: string;
|
|
139
|
-
id: string;
|
|
140
|
-
masked_value: string;
|
|
141
|
-
created_at?: string | undefined;
|
|
142
|
-
updated_at?: string | undefined;
|
|
143
|
-
description?: string | undefined;
|
|
144
|
-
}[];
|
|
145
|
-
}, {
|
|
146
|
-
data: {
|
|
147
|
-
key: string;
|
|
148
|
-
id: string;
|
|
149
|
-
masked_value: string;
|
|
150
|
-
created_at?: string | undefined;
|
|
151
|
-
updated_at?: string | undefined;
|
|
152
|
-
description?: string | undefined;
|
|
153
|
-
}[];
|
|
154
|
-
}>;
|
|
155
|
-
export type OrgEnvVarMaskedList = z.infer<typeof orgEnvVarMaskedListSchema>;
|
|
156
|
-
/** Schema for SAML provider settings response.
|
|
157
|
-
|
|
158
|
-
Masks certificate contents — exposes only boolean flags indicating whether
|
|
159
|
-
a primary/secondary certificate is configured.
|
|
160
|
-
*/
|
|
161
|
-
export declare const orgSamlSettingsSchema: z.ZodObject<{
|
|
162
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
163
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
-
entity_id: z.ZodString;
|
|
165
|
-
has_certificate: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
-
has_certificate_secondary: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
id: z.ZodString;
|
|
168
|
-
label: z.ZodOptional<z.ZodString>;
|
|
169
|
-
sso_url: z.ZodString;
|
|
170
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
171
|
-
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
id: string;
|
|
173
|
-
entity_id: string;
|
|
174
|
-
sso_url: string;
|
|
175
|
-
created_at?: string | undefined;
|
|
176
|
-
updated_at?: string | undefined;
|
|
177
|
-
label?: string | undefined;
|
|
178
|
-
enabled?: boolean | undefined;
|
|
179
|
-
has_certificate?: boolean | undefined;
|
|
180
|
-
has_certificate_secondary?: boolean | undefined;
|
|
181
|
-
}, {
|
|
182
|
-
id: string;
|
|
183
|
-
entity_id: string;
|
|
184
|
-
sso_url: string;
|
|
185
|
-
created_at?: string | undefined;
|
|
186
|
-
updated_at?: string | undefined;
|
|
187
|
-
label?: string | undefined;
|
|
188
|
-
enabled?: boolean | undefined;
|
|
189
|
-
has_certificate?: boolean | undefined;
|
|
190
|
-
has_certificate_secondary?: boolean | undefined;
|
|
191
|
-
}>;
|
|
192
|
-
export type OrgSamlSettings = z.infer<typeof orgSamlSettingsSchema>;
|
|
193
|
-
//# sourceMappingURL=orgs.d.ts.map
|
package/dist/types/orgs.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"orgs.d.ts","sourceRoot":"","sources":["../../src/types/orgs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,sCAAsC;AACtC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYpB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5C;GACG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,mEAAmE;AACnE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/types/orgs.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
|
|
2
|
-
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash: cd1aadcc3d8e
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
/** API schema for an organization. */
|
|
6
|
-
export const orgSchema = z.object({
|
|
7
|
-
created_at: z.string().optional(), // Creation timestamp
|
|
8
|
-
description: z.string().optional(), // Description
|
|
9
|
-
domain: z.string().optional(), // Domain
|
|
10
|
-
id: z.string(), // Organization ID (org_...)
|
|
11
|
-
industry: z.string().optional(), // Industry
|
|
12
|
-
name: z.string().optional(), // Organization name
|
|
13
|
-
sandbox: z.string().optional(), // Sandbox
|
|
14
|
-
slug: z.string().optional(), // URL slug
|
|
15
|
-
status: z.string().optional(), // Status
|
|
16
|
-
updated_at: z.string().optional(), // Last update timestamp
|
|
17
|
-
website: z.string().optional(), // Website URL
|
|
18
|
-
});
|
|
19
|
-
/** Schema for org auth policy response.
|
|
20
|
-
*/
|
|
21
|
-
export const orgAuthPolicySchema = z.object({
|
|
22
|
-
allowed_email_domains: z.array(z.string()), // Allowed email domains
|
|
23
|
-
auth_method: z.string(), // Auth method (default, sso)
|
|
24
|
-
require_2fa: z.boolean(), // Whether 2FA is required
|
|
25
|
-
sso_providers: z.array(z.string()), // Enabled SSO providers
|
|
26
|
-
});
|
|
27
|
-
/** Schema for an organization environment variable response that includes the
|
|
28
|
-
plaintext value.
|
|
29
|
-
*/
|
|
30
|
-
export const orgEnvVarSchema = z.object({
|
|
31
|
-
created_at: z.string().optional(), // Created timestamp
|
|
32
|
-
description: z.string().optional(), // Optional description
|
|
33
|
-
id: z.string(), // Organization env var ID (oev_...)
|
|
34
|
-
key: z.string(), // Environment variable key
|
|
35
|
-
updated_at: z.string().optional(), // Updated timestamp
|
|
36
|
-
value: z.string(), // Environment variable value
|
|
37
|
-
});
|
|
38
|
-
/** Schema for an organization environment variable response that masks the
|
|
39
|
-
secret value.
|
|
40
|
-
*/
|
|
41
|
-
export const orgEnvVarMaskedSchema = z.object({
|
|
42
|
-
created_at: z.string().optional(), // Created timestamp
|
|
43
|
-
description: z.string().optional(), // Optional description
|
|
44
|
-
id: z.string(), // Organization env var ID (oev_...)
|
|
45
|
-
key: z.string(), // Environment variable key
|
|
46
|
-
masked_value: z.string(), // Masked environment variable value
|
|
47
|
-
updated_at: z.string().optional(), // Updated timestamp
|
|
48
|
-
});
|
|
49
|
-
/** Schema for organization environment variable list responses. */
|
|
50
|
-
export const orgEnvVarMaskedListSchema = z.object({
|
|
51
|
-
data: z.array(orgEnvVarMaskedSchema), // Organization environment variables
|
|
52
|
-
});
|
|
53
|
-
/** Schema for SAML provider settings response.
|
|
54
|
-
|
|
55
|
-
Masks certificate contents — exposes only boolean flags indicating whether
|
|
56
|
-
a primary/secondary certificate is configured.
|
|
57
|
-
*/
|
|
58
|
-
export const orgSamlSettingsSchema = z.object({
|
|
59
|
-
created_at: z.string().optional(), // Created timestamp
|
|
60
|
-
enabled: z.boolean().optional(), // Whether the provider is active
|
|
61
|
-
entity_id: z.string(), // IdP entity ID
|
|
62
|
-
has_certificate: z.boolean().optional(), // Whether a primary certificate is configured
|
|
63
|
-
has_certificate_secondary: z.boolean().optional(), // Whether a secondary certificate is configured
|
|
64
|
-
id: z.string(), // SAML provider ID (saml_...)
|
|
65
|
-
label: z.string().optional(), // Display label for the SSO button
|
|
66
|
-
sso_url: z.string(), // IdP SSO URL
|
|
67
|
-
updated_at: z.string().optional(), // Updated timestamp
|
|
68
|
-
});
|
|
69
|
-
//# sourceMappingURL=orgs.js.map
|
package/dist/types/orgs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"orgs.js","sourceRoot":"","sources":["../../src/types/orgs.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** API schema for a message reaction. */
|
|
3
|
-
export declare const reactionSchema: z.ZodObject<{
|
|
4
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
5
|
-
feedback_type: z.ZodOptional<z.ZodString>;
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
message: z.ZodOptional<z.ZodString>;
|
|
8
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
10
|
-
user: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
id: string;
|
|
13
|
-
message?: string | undefined;
|
|
14
|
-
created_at?: string | undefined;
|
|
15
|
-
updated_at?: string | undefined;
|
|
16
|
-
user?: string | undefined;
|
|
17
|
-
payload?: Record<string, unknown> | undefined;
|
|
18
|
-
feedback_type?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
id: string;
|
|
21
|
-
message?: string | undefined;
|
|
22
|
-
created_at?: string | undefined;
|
|
23
|
-
updated_at?: string | undefined;
|
|
24
|
-
user?: string | undefined;
|
|
25
|
-
payload?: Record<string, unknown> | undefined;
|
|
26
|
-
feedback_type?: string | undefined;
|
|
27
|
-
}>;
|
|
28
|
-
export type Reaction = z.infer<typeof reactionSchema>;
|
|
29
|
-
//# sourceMappingURL=reactions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reactions.d.ts","sourceRoot":"","sources":["../../src/types/reactions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yCAAyC;AACzC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/types/reactions.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
|
|
2
|
-
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash: 83b8657d09cc
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
/** API schema for a message reaction. */
|
|
6
|
-
export const reactionSchema = z.object({
|
|
7
|
-
created_at: z.string().optional(), // Creation timestamp
|
|
8
|
-
feedback_type: z.string().optional(), // Type of feedback (e.g., emoji_reaction)
|
|
9
|
-
id: z.string(), // Reaction ID (umf_...)
|
|
10
|
-
message: z.string().optional(), // Message the reaction is on
|
|
11
|
-
payload: z.record(z.unknown()).optional(), // Reaction payload (e.g., {emoji: ...})
|
|
12
|
-
updated_at: z.string().optional(), // Last update timestamp
|
|
13
|
-
user: z.string().optional(), // User who added the reaction
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=reactions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reactions.js","sourceRoot":"","sources":["../../src/types/reactions.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yCAAyC;AACzC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,qBAAqB;IACxD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,0CAA0C;IAChF,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,wBAAwB;IACxC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,6BAA6B;IAC7D,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,wCAAwC;IACnF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,wBAAwB;IAC3D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,8BAA8B;CAC5D,CAAC,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** API schema for a scheduled job. */
|
|
3
|
-
export declare const scheduledJobSchema: z.ZodObject<{
|
|
4
|
-
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5
|
-
description: z.ZodOptional<z.ZodString>;
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
recurring: z.ZodOptional<z.ZodString>;
|
|
8
|
-
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
9
|
-
thread: z.ZodOptional<z.ZodString>;
|
|
10
|
-
title: z.ZodOptional<z.ZodString>;
|
|
11
|
-
worker: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
id: string;
|
|
14
|
-
thread?: string | undefined;
|
|
15
|
-
title?: string | undefined;
|
|
16
|
-
description?: string | undefined;
|
|
17
|
-
worker?: string | undefined;
|
|
18
|
-
scheduled_at?: string | undefined;
|
|
19
|
-
args?: Record<string, unknown> | undefined;
|
|
20
|
-
recurring?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
id: string;
|
|
23
|
-
thread?: string | undefined;
|
|
24
|
-
title?: string | undefined;
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
worker?: string | undefined;
|
|
27
|
-
scheduled_at?: string | undefined;
|
|
28
|
-
args?: Record<string, unknown> | undefined;
|
|
29
|
-
recurring?: string | undefined;
|
|
30
|
-
}>;
|
|
31
|
-
export type ScheduledJob = z.infer<typeof scheduledJobSchema>;
|
|
32
|
-
//# sourceMappingURL=schedules.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schedules.d.ts","sourceRoot":"","sources":["../../src/types/schedules.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,sCAAsC;AACtC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/types/schedules.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
|
|
2
|
-
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash: 1e8e9e4dca8f
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
/** API schema for a scheduled job. */
|
|
6
|
-
export const scheduledJobSchema = z.object({
|
|
7
|
-
args: z.record(z.unknown()).optional(), // Job arguments
|
|
8
|
-
description: z.string().optional(), // Job description
|
|
9
|
-
id: z.string(), // Job ID
|
|
10
|
-
recurring: z.string().optional(), // Recurrence pattern
|
|
11
|
-
scheduled_at: z.string().optional(), // Scheduled execution time
|
|
12
|
-
thread: z.string().optional(), // Thread
|
|
13
|
-
title: z.string().optional(), // Job title
|
|
14
|
-
worker: z.string().optional(), // Worker module name
|
|
15
|
-
});
|
|
16
|
-
//# sourceMappingURL=schedules.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schedules.js","sourceRoot":"","sources":["../../src/types/schedules.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,sCAAsC;AACtC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,gBAAgB;IACxD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,kBAAkB;IACtD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,SAAS;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,qBAAqB;IACvD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,2BAA2B;IAChE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,SAAS;IACxC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,YAAY;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,qBAAqB;CACrD,CAAC,CAAC"}
|
package/dist/types/system.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/** API schema for a system access token. */
|
|
3
|
-
export declare const systemAccessTokenSchema: z.ZodObject<{
|
|
4
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
last_used_at: z.ZodOptional<z.ZodString>;
|
|
7
|
-
name: z.ZodOptional<z.ZodString>;
|
|
8
|
-
revoked_at: z.ZodOptional<z.ZodString>;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
id: string;
|
|
11
|
-
name?: string | undefined;
|
|
12
|
-
created_at?: string | undefined;
|
|
13
|
-
last_used_at?: string | undefined;
|
|
14
|
-
revoked_at?: string | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
id: string;
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
created_at?: string | undefined;
|
|
19
|
-
last_used_at?: string | undefined;
|
|
20
|
-
revoked_at?: string | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
export type SystemAccessToken = z.infer<typeof systemAccessTokenSchema>;
|
|
23
|
-
//# sourceMappingURL=system.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,4CAA4C;AAC5C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
package/dist/types/system.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
|
|
2
|
-
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash: 4708e086112a
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
/** API schema for a system access token. */
|
|
6
|
-
export const systemAccessTokenSchema = z.object({
|
|
7
|
-
created_at: z.string().optional(), // Creation timestamp
|
|
8
|
-
id: z.string(), // Token ID (sat_...)
|
|
9
|
-
last_used_at: z.string().optional(), // Last used timestamp
|
|
10
|
-
name: z.string().optional(), // Token name
|
|
11
|
-
revoked_at: z.string().optional(), // Revocation timestamp
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=system.js.map
|
package/dist/types/system.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,4CAA4C;AAC5C,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,qBAAqB;IACxD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,qBAAqB;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,sBAAsB;IAC3D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,aAAa;IAC1C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,uBAAuB;CAC3D,CAAC,CAAC"}
|