basecamp-client 1.0.10 → 1.0.11
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/openapi.json +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -19460,7 +19460,7 @@ declare const contract: {
|
|
|
19460
19460
|
method: "POST";
|
|
19461
19461
|
body: z.ZodObject<{
|
|
19462
19462
|
subject: z.ZodString;
|
|
19463
|
-
status: z.ZodUnion<[z.ZodEnum<["active", "
|
|
19463
|
+
status: z.ZodUnion<[z.ZodEnum<["active", "drafted"]>, z.ZodString]>;
|
|
19464
19464
|
content: z.ZodOptional<z.ZodString>;
|
|
19465
19465
|
category_id: z.ZodOptional<z.ZodNumber>;
|
|
19466
19466
|
subscriptions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -42784,7 +42784,7 @@ declare const contract: {
|
|
|
42784
42784
|
body: z.ZodObject<{
|
|
42785
42785
|
title: z.ZodString;
|
|
42786
42786
|
content: z.ZodString;
|
|
42787
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "
|
|
42787
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "drafted"]>, z.ZodString]>>;
|
|
42788
42788
|
}, "strip", z.ZodTypeAny, {
|
|
42789
42789
|
title: string;
|
|
42790
42790
|
content: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -19460,7 +19460,7 @@ declare const contract: {
|
|
|
19460
19460
|
method: "POST";
|
|
19461
19461
|
body: z.ZodObject<{
|
|
19462
19462
|
subject: z.ZodString;
|
|
19463
|
-
status: z.ZodUnion<[z.ZodEnum<["active", "
|
|
19463
|
+
status: z.ZodUnion<[z.ZodEnum<["active", "drafted"]>, z.ZodString]>;
|
|
19464
19464
|
content: z.ZodOptional<z.ZodString>;
|
|
19465
19465
|
category_id: z.ZodOptional<z.ZodNumber>;
|
|
19466
19466
|
subscriptions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -42784,7 +42784,7 @@ declare const contract: {
|
|
|
42784
42784
|
body: z.ZodObject<{
|
|
42785
42785
|
title: z.ZodString;
|
|
42786
42786
|
content: z.ZodString;
|
|
42787
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "
|
|
42787
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "drafted"]>, z.ZodString]>>;
|
|
42788
42788
|
}, "strip", z.ZodTypeAny, {
|
|
42789
42789
|
title: string;
|
|
42790
42790
|
content: string;
|
package/dist/index.js
CHANGED
|
@@ -454,7 +454,7 @@ var MessageListQuerySchema = import_zod7.z.object({
|
|
|
454
454
|
});
|
|
455
455
|
var MessageCreateBodySchema = import_zod7.z.object({
|
|
456
456
|
subject: import_zod7.z.string().min(1),
|
|
457
|
-
status: import_zod7.z.enum(["active", "
|
|
457
|
+
status: import_zod7.z.enum(["active", "drafted"]).or(import_zod7.z.string()),
|
|
458
458
|
content: HtmlStringSchema.optional(),
|
|
459
459
|
category_id: BasecampIdSchema.optional(),
|
|
460
460
|
subscriptions: import_zod7.z.array(BasecampIdSchema).optional()
|
|
@@ -1263,7 +1263,7 @@ var DocumentListQuerySchema = import_zod28.z.object({
|
|
|
1263
1263
|
var DocumentCreateBodySchema = import_zod28.z.object({
|
|
1264
1264
|
title: import_zod28.z.string().min(1),
|
|
1265
1265
|
content: HtmlStringSchema,
|
|
1266
|
-
status: import_zod28.z.enum(["active", "
|
|
1266
|
+
status: import_zod28.z.enum(["active", "drafted"]).or(import_zod28.z.string()).optional()
|
|
1267
1267
|
});
|
|
1268
1268
|
var DocumentUpdateBodySchema = import_zod28.z.object({
|
|
1269
1269
|
title: import_zod28.z.string().min(1).optional(),
|