me3-protocol 2.7.0 → 2.8.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/index.d.ts +4 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
- package/schema.json +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export interface Me3Post {
|
|
|
25
25
|
publishedAt?: string;
|
|
26
26
|
/** Short excerpt for archive/listing (optional) */
|
|
27
27
|
excerpt?: string;
|
|
28
|
+
/** ISO timestamp when post was sent to newsletter subscribers (optional) */
|
|
29
|
+
emailedAt?: string;
|
|
28
30
|
}
|
|
29
31
|
export interface Me3Product {
|
|
30
32
|
/** URL-friendly identifier */
|
|
@@ -148,6 +150,8 @@ export interface Me3IntentBook {
|
|
|
148
150
|
description?: string;
|
|
149
151
|
/** Meeting duration in minutes */
|
|
150
152
|
duration?: number;
|
|
153
|
+
/** Buffer time between meetings in minutes (default: 0) */
|
|
154
|
+
bufferTime?: number;
|
|
151
155
|
/** Booking provider (e.g., "cal.com", "calendly") - for external providers */
|
|
152
156
|
provider?: string;
|
|
153
157
|
/** Direct booking URL - for external booking systems */
|
package/dist/index.js
CHANGED
|
@@ -324,6 +324,13 @@ function validateProfile(data) {
|
|
|
324
324
|
message: "Post excerpt must be a string",
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
+
if (post.emailedAt !== undefined &&
|
|
328
|
+
typeof post.emailedAt !== "string") {
|
|
329
|
+
errors.push({
|
|
330
|
+
field: `posts[${index}].emailedAt`,
|
|
331
|
+
message: "Post emailedAt must be a string",
|
|
332
|
+
});
|
|
333
|
+
}
|
|
327
334
|
});
|
|
328
335
|
}
|
|
329
336
|
}
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -177,6 +177,10 @@
|
|
|
177
177
|
"$ref": "#/definitions/Me3BookingAvailability",
|
|
178
178
|
"description": "Availability windows - for native me3 booking"
|
|
179
179
|
},
|
|
180
|
+
"bufferTime": {
|
|
181
|
+
"description": "Buffer time between meetings in minutes (default: 0)",
|
|
182
|
+
"type": "number"
|
|
183
|
+
},
|
|
180
184
|
"description": {
|
|
181
185
|
"description": "What the meeting is about",
|
|
182
186
|
"type": "string"
|
|
@@ -365,6 +369,10 @@
|
|
|
365
369
|
"Me3Post": {
|
|
366
370
|
"additionalProperties": false,
|
|
367
371
|
"properties": {
|
|
372
|
+
"emailedAt": {
|
|
373
|
+
"description": "ISO timestamp when post was sent to newsletter subscribers (optional)",
|
|
374
|
+
"type": "string"
|
|
375
|
+
},
|
|
368
376
|
"excerpt": {
|
|
369
377
|
"description": "Short excerpt for archive/listing (optional)",
|
|
370
378
|
"type": "string"
|