@oxy.so/contracts 4.0.0 → 4.2.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/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/email/messages.js +273 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/recommendations.js +2 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/email/messages.js +270 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/recommendations.js +2 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/civic.d.ts +1 -1
- package/dist/types/email/messages.d.ts +2064 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/recommendations.d.ts +12 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -191,6 +191,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
191
191
|
username: z.ZodOptional<z.ZodString>;
|
|
192
192
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
193
193
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
/** The account's accent colour, as on every profile; absent when unset. */
|
|
195
|
+
color: z.ZodOptional<z.ZodString>;
|
|
194
196
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
197
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
196
198
|
trustTier: z.ZodOptional<z.ZodString>;
|
|
@@ -216,6 +218,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
216
218
|
username: z.ZodOptional<z.ZodString>;
|
|
217
219
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
218
220
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
/** The account's accent colour, as on every profile; absent when unset. */
|
|
222
|
+
color: z.ZodOptional<z.ZodString>;
|
|
219
223
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
224
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
221
225
|
trustTier: z.ZodOptional<z.ZodString>;
|
|
@@ -241,6 +245,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
241
245
|
username: z.ZodOptional<z.ZodString>;
|
|
242
246
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
243
247
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
/** The account's accent colour, as on every profile; absent when unset. */
|
|
249
|
+
color: z.ZodOptional<z.ZodString>;
|
|
244
250
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
251
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
246
252
|
trustTier: z.ZodOptional<z.ZodString>;
|
|
@@ -269,6 +275,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
269
275
|
username: z.ZodOptional<z.ZodString>;
|
|
270
276
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
271
277
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
+
/** The account's accent colour, as on every profile; absent when unset. */
|
|
279
|
+
color: z.ZodOptional<z.ZodString>;
|
|
272
280
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
281
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
274
282
|
trustTier: z.ZodOptional<z.ZodString>;
|
|
@@ -294,6 +302,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
294
302
|
username: z.ZodOptional<z.ZodString>;
|
|
295
303
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
296
304
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
|
+
/** The account's accent colour, as on every profile; absent when unset. */
|
|
306
|
+
color: z.ZodOptional<z.ZodString>;
|
|
297
307
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
308
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
299
309
|
trustTier: z.ZodOptional<z.ZodString>;
|
|
@@ -319,6 +329,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
319
329
|
username: z.ZodOptional<z.ZodString>;
|
|
320
330
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
321
331
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
+
/** The account's accent colour, as on every profile; absent when unset. */
|
|
333
|
+
color: z.ZodOptional<z.ZodString>;
|
|
322
334
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
335
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
324
336
|
trustTier: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/contracts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "OxyHQ API contracts — single source of truth for request/response Zod schemas and inferred types, shared by the backend and the client SDKs",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|