@blazeo.com/calendar-client 1.0.20 → 1.0.21
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.js +18 -3
- package/dist/index.mjs +18 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -337,6 +337,9 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
337
337
|
createdOn: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
338
338
|
modifiedOn: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
339
339
|
externalEventId: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
340
|
+
meetingLinkId: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
341
|
+
flowId: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
342
|
+
flowPath: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
340
343
|
attendeeStatus: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.number, AttendeeStatus.Tentative),
|
|
341
344
|
rescheduleLink: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
342
345
|
cancelLink: import_mobx_state_tree4.types.optional(import_mobx_state_tree4.types.maybeNull(import_mobx_state_tree4.types.string), null),
|
|
@@ -380,7 +383,10 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
380
383
|
timeZone: self.timeZone,
|
|
381
384
|
visitorName: self.visitorName ?? void 0,
|
|
382
385
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
383
|
-
visitorPhone: self.visitorPhone ?? void 0
|
|
386
|
+
visitorPhone: self.visitorPhone ?? void 0,
|
|
387
|
+
meetingLinkId: self.meetingLinkId ?? void 0,
|
|
388
|
+
flowId: self.flowId ?? void 0,
|
|
389
|
+
flowPath: self.flowPath ?? void 0
|
|
384
390
|
};
|
|
385
391
|
const res = await reqPost("/event/create", payload, null, { headers: { offset: String(offset) } });
|
|
386
392
|
if (res.status === "success" && res.data) (0, import_mobx_state_tree4.applySnapshot)(self, { ...res.data, eventId: self.eventId });
|
|
@@ -402,7 +408,10 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
402
408
|
endMinute: self.endMinute,
|
|
403
409
|
visitorName: self.visitorName ?? void 0,
|
|
404
410
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
405
|
-
visitorPhone: self.visitorPhone ?? void 0
|
|
411
|
+
visitorPhone: self.visitorPhone ?? void 0,
|
|
412
|
+
meetingLinkId: self.meetingLinkId ?? void 0,
|
|
413
|
+
flowId: self.flowId ?? void 0,
|
|
414
|
+
flowPath: self.flowPath ?? void 0
|
|
406
415
|
};
|
|
407
416
|
return reqPost("/event/update", payload);
|
|
408
417
|
},
|
|
@@ -423,7 +432,10 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
423
432
|
endMinute: self.endMinute,
|
|
424
433
|
visitorName: self.visitorName ?? void 0,
|
|
425
434
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
426
|
-
visitorPhone: self.visitorPhone ?? void 0
|
|
435
|
+
visitorPhone: self.visitorPhone ?? void 0,
|
|
436
|
+
meetingLinkId: self.meetingLinkId ?? void 0,
|
|
437
|
+
flowId: self.flowId ?? void 0,
|
|
438
|
+
flowPath: self.flowPath ?? void 0
|
|
427
439
|
};
|
|
428
440
|
const res = await reqPost("/event/reschedule", payload, null, { headers: { offset: String(offset) } });
|
|
429
441
|
if (res.status === "success" && res.data) (0, import_mobx_state_tree4.applySnapshot)(self, { ...res.data, eventId: self.eventId });
|
|
@@ -481,6 +493,9 @@ function mapEventFromApi(d) {
|
|
|
481
493
|
visitorEmail: pick("visitorEmail", "VisitorEmail", "visitor_email"),
|
|
482
494
|
visitorPhone: pick("visitorPhone", "VisitorPhone", "visitor_phone"),
|
|
483
495
|
externalEventId: pick("externalEventId", "ExternalEventId", "external_event_id"),
|
|
496
|
+
meetingLinkId: pick("meetingLinkId", "MeetingLinkId", "meeting_link_id"),
|
|
497
|
+
flowId: pick("flowId", "FlowId", "flow_id"),
|
|
498
|
+
flowPath: pick("flowPath", "FlowPath", "flow_path"),
|
|
484
499
|
attendeeStatus: n(pick("attendeeStatus", "AttendeeStatus", "attendee_status")),
|
|
485
500
|
rescheduleLink: pick("rescheduleLink", "RescheduleLink", "reschedule_link"),
|
|
486
501
|
cancelLink: pick("cancelLink", "CancelLink", "cancel_link"),
|
package/dist/index.mjs
CHANGED
|
@@ -282,6 +282,9 @@ var EventModel = types4.model("Event", {
|
|
|
282
282
|
createdOn: types4.optional(types4.maybeNull(types4.string), null),
|
|
283
283
|
modifiedOn: types4.optional(types4.maybeNull(types4.string), null),
|
|
284
284
|
externalEventId: types4.optional(types4.maybeNull(types4.string), null),
|
|
285
|
+
meetingLinkId: types4.optional(types4.maybeNull(types4.string), null),
|
|
286
|
+
flowId: types4.optional(types4.maybeNull(types4.string), null),
|
|
287
|
+
flowPath: types4.optional(types4.maybeNull(types4.string), null),
|
|
285
288
|
attendeeStatus: types4.optional(types4.number, AttendeeStatus.Tentative),
|
|
286
289
|
rescheduleLink: types4.optional(types4.maybeNull(types4.string), null),
|
|
287
290
|
cancelLink: types4.optional(types4.maybeNull(types4.string), null),
|
|
@@ -325,7 +328,10 @@ var EventModel = types4.model("Event", {
|
|
|
325
328
|
timeZone: self.timeZone,
|
|
326
329
|
visitorName: self.visitorName ?? void 0,
|
|
327
330
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
328
|
-
visitorPhone: self.visitorPhone ?? void 0
|
|
331
|
+
visitorPhone: self.visitorPhone ?? void 0,
|
|
332
|
+
meetingLinkId: self.meetingLinkId ?? void 0,
|
|
333
|
+
flowId: self.flowId ?? void 0,
|
|
334
|
+
flowPath: self.flowPath ?? void 0
|
|
329
335
|
};
|
|
330
336
|
const res = await reqPost("/event/create", payload, null, { headers: { offset: String(offset) } });
|
|
331
337
|
if (res.status === "success" && res.data) applySnapshot(self, { ...res.data, eventId: self.eventId });
|
|
@@ -347,7 +353,10 @@ var EventModel = types4.model("Event", {
|
|
|
347
353
|
endMinute: self.endMinute,
|
|
348
354
|
visitorName: self.visitorName ?? void 0,
|
|
349
355
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
350
|
-
visitorPhone: self.visitorPhone ?? void 0
|
|
356
|
+
visitorPhone: self.visitorPhone ?? void 0,
|
|
357
|
+
meetingLinkId: self.meetingLinkId ?? void 0,
|
|
358
|
+
flowId: self.flowId ?? void 0,
|
|
359
|
+
flowPath: self.flowPath ?? void 0
|
|
351
360
|
};
|
|
352
361
|
return reqPost("/event/update", payload);
|
|
353
362
|
},
|
|
@@ -368,7 +377,10 @@ var EventModel = types4.model("Event", {
|
|
|
368
377
|
endMinute: self.endMinute,
|
|
369
378
|
visitorName: self.visitorName ?? void 0,
|
|
370
379
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
371
|
-
visitorPhone: self.visitorPhone ?? void 0
|
|
380
|
+
visitorPhone: self.visitorPhone ?? void 0,
|
|
381
|
+
meetingLinkId: self.meetingLinkId ?? void 0,
|
|
382
|
+
flowId: self.flowId ?? void 0,
|
|
383
|
+
flowPath: self.flowPath ?? void 0
|
|
372
384
|
};
|
|
373
385
|
const res = await reqPost("/event/reschedule", payload, null, { headers: { offset: String(offset) } });
|
|
374
386
|
if (res.status === "success" && res.data) applySnapshot(self, { ...res.data, eventId: self.eventId });
|
|
@@ -426,6 +438,9 @@ function mapEventFromApi(d) {
|
|
|
426
438
|
visitorEmail: pick("visitorEmail", "VisitorEmail", "visitor_email"),
|
|
427
439
|
visitorPhone: pick("visitorPhone", "VisitorPhone", "visitor_phone"),
|
|
428
440
|
externalEventId: pick("externalEventId", "ExternalEventId", "external_event_id"),
|
|
441
|
+
meetingLinkId: pick("meetingLinkId", "MeetingLinkId", "meeting_link_id"),
|
|
442
|
+
flowId: pick("flowId", "FlowId", "flow_id"),
|
|
443
|
+
flowPath: pick("flowPath", "FlowPath", "flow_path"),
|
|
429
444
|
attendeeStatus: n(pick("attendeeStatus", "AttendeeStatus", "attendee_status")),
|
|
430
445
|
rescheduleLink: pick("rescheduleLink", "RescheduleLink", "reschedule_link"),
|
|
431
446
|
cancelLink: pick("cancelLink", "CancelLink", "cancel_link"),
|