@blazeo.com/calendar-client 1.0.19 → 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 +19 -3
- package/dist/index.mjs +19 -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),
|
|
@@ -377,9 +380,13 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
377
380
|
startMinute: self.startMinute,
|
|
378
381
|
endHour: self.endHour,
|
|
379
382
|
endMinute: self.endMinute,
|
|
383
|
+
timeZone: self.timeZone,
|
|
380
384
|
visitorName: self.visitorName ?? void 0,
|
|
381
385
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
382
|
-
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
|
|
383
390
|
};
|
|
384
391
|
const res = await reqPost("/event/create", payload, null, { headers: { offset: String(offset) } });
|
|
385
392
|
if (res.status === "success" && res.data) (0, import_mobx_state_tree4.applySnapshot)(self, { ...res.data, eventId: self.eventId });
|
|
@@ -401,7 +408,10 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
401
408
|
endMinute: self.endMinute,
|
|
402
409
|
visitorName: self.visitorName ?? void 0,
|
|
403
410
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
404
|
-
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
|
|
405
415
|
};
|
|
406
416
|
return reqPost("/event/update", payload);
|
|
407
417
|
},
|
|
@@ -422,7 +432,10 @@ var EventModel = import_mobx_state_tree4.types.model("Event", {
|
|
|
422
432
|
endMinute: self.endMinute,
|
|
423
433
|
visitorName: self.visitorName ?? void 0,
|
|
424
434
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
425
|
-
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
|
|
426
439
|
};
|
|
427
440
|
const res = await reqPost("/event/reschedule", payload, null, { headers: { offset: String(offset) } });
|
|
428
441
|
if (res.status === "success" && res.data) (0, import_mobx_state_tree4.applySnapshot)(self, { ...res.data, eventId: self.eventId });
|
|
@@ -480,6 +493,9 @@ function mapEventFromApi(d) {
|
|
|
480
493
|
visitorEmail: pick("visitorEmail", "VisitorEmail", "visitor_email"),
|
|
481
494
|
visitorPhone: pick("visitorPhone", "VisitorPhone", "visitor_phone"),
|
|
482
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"),
|
|
483
499
|
attendeeStatus: n(pick("attendeeStatus", "AttendeeStatus", "attendee_status")),
|
|
484
500
|
rescheduleLink: pick("rescheduleLink", "RescheduleLink", "reschedule_link"),
|
|
485
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),
|
|
@@ -322,9 +325,13 @@ var EventModel = types4.model("Event", {
|
|
|
322
325
|
startMinute: self.startMinute,
|
|
323
326
|
endHour: self.endHour,
|
|
324
327
|
endMinute: self.endMinute,
|
|
328
|
+
timeZone: self.timeZone,
|
|
325
329
|
visitorName: self.visitorName ?? void 0,
|
|
326
330
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
327
|
-
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
|
|
328
335
|
};
|
|
329
336
|
const res = await reqPost("/event/create", payload, null, { headers: { offset: String(offset) } });
|
|
330
337
|
if (res.status === "success" && res.data) applySnapshot(self, { ...res.data, eventId: self.eventId });
|
|
@@ -346,7 +353,10 @@ var EventModel = types4.model("Event", {
|
|
|
346
353
|
endMinute: self.endMinute,
|
|
347
354
|
visitorName: self.visitorName ?? void 0,
|
|
348
355
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
349
|
-
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
|
|
350
360
|
};
|
|
351
361
|
return reqPost("/event/update", payload);
|
|
352
362
|
},
|
|
@@ -367,7 +377,10 @@ var EventModel = types4.model("Event", {
|
|
|
367
377
|
endMinute: self.endMinute,
|
|
368
378
|
visitorName: self.visitorName ?? void 0,
|
|
369
379
|
visitorEmail: self.visitorEmail ?? void 0,
|
|
370
|
-
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
|
|
371
384
|
};
|
|
372
385
|
const res = await reqPost("/event/reschedule", payload, null, { headers: { offset: String(offset) } });
|
|
373
386
|
if (res.status === "success" && res.data) applySnapshot(self, { ...res.data, eventId: self.eventId });
|
|
@@ -425,6 +438,9 @@ function mapEventFromApi(d) {
|
|
|
425
438
|
visitorEmail: pick("visitorEmail", "VisitorEmail", "visitor_email"),
|
|
426
439
|
visitorPhone: pick("visitorPhone", "VisitorPhone", "visitor_phone"),
|
|
427
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"),
|
|
428
444
|
attendeeStatus: n(pick("attendeeStatus", "AttendeeStatus", "attendee_status")),
|
|
429
445
|
rescheduleLink: pick("rescheduleLink", "RescheduleLink", "reschedule_link"),
|
|
430
446
|
cancelLink: pick("cancelLink", "CancelLink", "cancel_link"),
|