@automate.ax/integration-contracts 0.145.0 → 0.145.2

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Generated from https://cal.com/docs/api-reference/v2/openapi.json. Source
3
- * SHA-256: 9f7429da3949e89a21738b7ffdf754f0b896f1701042161ae1b88c22e5efc753.
3
+ * SHA-256: d2eb88f3737d5944e84f0205dab67e95296c57a9773d500ff2b9f4748f9cd43c.
4
4
  */
5
5
  export interface components {
6
6
  schemas: {
@@ -623,8 +623,6 @@ export interface components {
623
623
  */
624
624
  cancellationReason?: string;
625
625
  /**
626
- * Format: email
627
- *
628
626
  * @example
629
627
  * canceller@example.com
630
628
  */
@@ -640,7 +638,7 @@ export interface components {
640
638
  * @example
641
639
  * rescheduler@example.com
642
640
  */
643
- rescheduledByEmail?: string;
641
+ rescheduledByEmail?: string | null;
644
642
  /**
645
643
  * UID of the previous booking from which this booking was rescheduled.
646
644
  *
@@ -681,8 +679,8 @@ export interface components {
681
679
  * @example
682
680
  * 50
683
681
  */
684
- eventTypeId: number;
685
- eventType: components["schemas"]["EventType"];
682
+ eventTypeId: number | null;
683
+ eventType: components["schemas"]["EventType"] | null;
686
684
  /**
687
685
  * Format: uri
688
686
  *
@@ -728,7 +726,7 @@ export interface components {
728
726
  * @example
729
727
  * 4
730
728
  */
731
- rating?: number;
729
+ rating?: number | null;
732
730
  /**
733
731
  * UID of ICS event.
734
732
  *
@@ -3438,7 +3436,6 @@ export interface components {
3438
3436
  bookerActiveBookingsLimit?: components["schemas"]["BookerActiveBookingsLimitOutput_2024_06_14"];
3439
3437
  onlyShowFirstAvailableSlot?: boolean;
3440
3438
  bookingLimitsDuration?: components["schemas"]["BaseBookingLimitsDuration_2024_06_14"] | components["schemas"]["Disabled_2024_06_14"];
3441
- /** Limit how far in the future this event can be booked */
3442
3439
  bookingWindow?: (components["schemas"]["BusinessDaysWindow_2024_06_14"] | components["schemas"]["CalendarDaysWindow_2024_06_14"] | components["schemas"]["RangeWindow_2024_06_14"])[] | components["schemas"]["Disabled_2024_06_14"];
3443
3440
  bookerLayouts?: components["schemas"]["BookerLayouts_2024_06_14"];
3444
3441
  confirmationPolicy?: components["schemas"]["BaseConfirmationPolicy_2024_06_14"] | components["schemas"]["Disabled_2024_06_14"];
@@ -3774,8 +3771,6 @@ export interface components {
3774
3771
  */
3775
3772
  cancellationReason?: string;
3776
3773
  /**
3777
- * Format: email
3778
- *
3779
3774
  * @example
3780
3775
  * canceller@example.com
3781
3776
  */
@@ -3791,7 +3786,7 @@ export interface components {
3791
3786
  * @example
3792
3787
  * rescheduler@example.com
3793
3788
  */
3794
- rescheduledByEmail?: string;
3789
+ rescheduledByEmail?: string | null;
3795
3790
  /**
3796
3791
  * UID of the previous booking from which this booking was rescheduled.
3797
3792
  *
@@ -3832,8 +3827,8 @@ export interface components {
3832
3827
  * @example
3833
3828
  * 50
3834
3829
  */
3835
- eventTypeId: number;
3836
- eventType: components["schemas"]["EventType"];
3830
+ eventTypeId: number | null;
3831
+ eventType: components["schemas"]["EventType"] | null;
3837
3832
  /**
3838
3833
  * Format: uri
3839
3834
  *
@@ -3879,7 +3874,7 @@ export interface components {
3879
3874
  * @example
3880
3875
  * 4
3881
3876
  */
3882
- rating?: number;
3877
+ rating?: number | null;
3883
3878
  /**
3884
3879
  * UID of ICS event.
3885
3880
  *
@@ -3959,8 +3954,6 @@ export interface components {
3959
3954
  */
3960
3955
  cancellationReason?: string;
3961
3956
  /**
3962
- * Format: email
3963
- *
3964
3957
  * @example
3965
3958
  * canceller@example.com
3966
3959
  */
@@ -3976,7 +3969,7 @@ export interface components {
3976
3969
  * @example
3977
3970
  * rescheduler@example.com
3978
3971
  */
3979
- rescheduledByEmail?: string;
3972
+ rescheduledByEmail?: string | null;
3980
3973
  /**
3981
3974
  * UID of the previous booking from which this booking was rescheduled.
3982
3975
  *
@@ -4017,8 +4010,8 @@ export interface components {
4017
4010
  * @example
4018
4011
  * 50
4019
4012
  */
4020
- eventTypeId: number;
4021
- eventType: components["schemas"]["EventType"];
4013
+ eventTypeId: number | null;
4014
+ eventType: components["schemas"]["EventType"] | null;
4022
4015
  /**
4023
4016
  * Format: uri
4024
4017
  *
@@ -4064,7 +4057,7 @@ export interface components {
4064
4057
  * @example
4065
4058
  * 4
4066
4059
  */
4067
- rating?: number;
4060
+ rating?: number | null;
4068
4061
  /**
4069
4062
  * UID of ICS event.
4070
4063
  *
@@ -5461,8 +5454,6 @@ export interface components {
5461
5454
  */
5462
5455
  cancellationReason?: string;
5463
5456
  /**
5464
- * Format: email
5465
- *
5466
5457
  * @example
5467
5458
  * canceller@example.com
5468
5459
  */
@@ -5478,7 +5469,7 @@ export interface components {
5478
5469
  * @example
5479
5470
  * rescheduler@example.com
5480
5471
  */
5481
- rescheduledByEmail?: string;
5472
+ rescheduledByEmail?: string | null;
5482
5473
  /**
5483
5474
  * UID of the previous booking from which this booking was rescheduled.
5484
5475
  *
@@ -5519,8 +5510,8 @@ export interface components {
5519
5510
  * @example
5520
5511
  * 50
5521
5512
  */
5522
- eventTypeId: number;
5523
- eventType: components["schemas"]["EventType"];
5513
+ eventTypeId: number | null;
5514
+ eventType: components["schemas"]["EventType"] | null;
5524
5515
  /**
5525
5516
  * Format: uri
5526
5517
  *
@@ -5566,7 +5557,7 @@ export interface components {
5566
5557
  * @example
5567
5558
  * 4
5568
5559
  */
5569
- rating?: number;
5560
+ rating?: number | null;
5570
5561
  /**
5571
5562
  * UID of ICS event.
5572
5563
  *
@@ -6605,7 +6596,6 @@ export interface components {
6605
6596
  bookerActiveBookingsLimit?: components["schemas"]["BookerActiveBookingsLimitOutput_2024_06_14"];
6606
6597
  onlyShowFirstAvailableSlot?: boolean;
6607
6598
  bookingLimitsDuration?: components["schemas"]["BaseBookingLimitsDuration_2024_06_14"] | components["schemas"]["Disabled_2024_06_14"];
6608
- /** Limit how far in the future this event can be booked */
6609
6599
  bookingWindow?: (components["schemas"]["BusinessDaysWindow_2024_06_14"] | components["schemas"]["CalendarDaysWindow_2024_06_14"] | components["schemas"]["RangeWindow_2024_06_14"])[] | components["schemas"]["Disabled_2024_06_14"];
6610
6600
  bookerLayouts?: components["schemas"]["BookerLayouts_2024_06_14"];
6611
6601
  confirmationPolicy?: components["schemas"]["BaseConfirmationPolicy_2024_06_14"] | components["schemas"]["Disabled_2024_06_14"];
@@ -6754,18 +6744,18 @@ export interface components {
6754
6744
  };
6755
6745
  TeamOutputDto: {
6756
6746
  id: number;
6757
- parentId?: number;
6747
+ parentId?: number | null;
6758
6748
  name: string;
6759
6749
  slug?: string;
6760
6750
  /** Format: uri */
6761
- logoUrl?: string;
6751
+ logoUrl?: string | null;
6762
6752
  /** Format: uri */
6763
- calVideoLogo?: string;
6753
+ calVideoLogo?: string | null;
6764
6754
  /** Format: uri */
6765
- appLogo?: string;
6755
+ appLogo?: string | null;
6766
6756
  /** Format: uri */
6767
- appIconLogo?: string;
6768
- bio?: string;
6757
+ appIconLogo?: string | null;
6758
+ bio?: string | null;
6769
6759
  hideBranding?: boolean;
6770
6760
  isOrganization: boolean;
6771
6761
  isPrivate?: boolean;
@@ -6778,12 +6768,12 @@ export interface components {
6778
6768
  metadata?: {
6779
6769
  [key: string]: unknown;
6780
6770
  };
6781
- theme?: string;
6782
- brandColor?: string;
6783
- darkBrandColor?: string;
6771
+ theme?: string | null;
6772
+ brandColor?: string | null;
6773
+ darkBrandColor?: string | null;
6784
6774
  /** Format: uri */
6785
- bannerUrl?: string;
6786
- timeFormat?: number;
6775
+ bannerUrl?: string | null;
6776
+ timeFormat?: number | null;
6787
6777
  /** @default Europe/London */
6788
6778
  timeZone: string;
6789
6779
  /** @default Sunday */
@@ -8207,7 +8197,7 @@ export interface components {
8207
8197
  * @example
8208
8198
  * 2
8209
8199
  */
8210
- toUserId?: number;
8200
+ toUserId?: number | null;
8211
8201
  /**
8212
8202
  * The ID of the ooo entry.
8213
8203
  *
@@ -8293,7 +8283,7 @@ export interface components {
8293
8283
  * "booker": "{{attendees.0.name}}"
8294
8284
  * }
8295
8285
  */
8296
- payloadTemplate: string;
8286
+ payloadTemplate: string | null;
8297
8287
  triggers: ("BOOKING_CREATED" | "BOOKING_PAYMENT_INITIATED" | "BOOKING_PAID" | "BOOKING_RESCHEDULED" | "BOOKING_REQUESTED" | "BOOKING_CANCELLED" | "BOOKING_REJECTED" | "BOOKING_NO_SHOW_UPDATED" | "BOOKING_LOCATION_UPDATED" | "BOOKING_REASSIGNED" | "FORM_SUBMITTED" | "MEETING_ENDED" | "MEETING_STARTED" | "RECORDING_READY" | "INSTANT_MEETING" | "INSTANT_MEETING_ACCEPTED" | "RECORDING_TRANSCRIPTION_GENERATED" | "OOO_CREATED" | "AFTER_HOSTS_CAL_VIDEO_NO_SHOW" | "AFTER_GUESTS_CAL_VIDEO_NO_SHOW" | "FORM_SUBMITTED_NO_EVENT" | "ROUTING_FORM_FALLBACK_HIT" | "DELEGATION_CREDENTIAL_ERROR" | "WRONG_ASSIGNMENT_REPORT" | "DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED" | "DELEGATION_CREDENTIAL_ROTATION_REQUIRED" | "DELEGATION_CREDENTIAL_SECRET_ROTATED" | "CALENDAR_ENTRY_REJECTED")[];
8298
8288
  /**
8299
8289
  * How long after the booking start time the no-show triggers are
@@ -8302,16 +8292,16 @@ export interface components {
8302
8292
  * @example
8303
8293
  * 5
8304
8294
  */
8305
- time?: number;
8295
+ time?: number | null;
8306
8296
  /**
8307
8297
  * The unit of the no-show time value
8308
8298
  *
8309
8299
  * @example
8310
8300
  * MINUTE
8311
8301
  *
8312
- * @enum {string}
8302
+ * @enum {string | null}
8313
8303
  */
8314
- timeUnit?: "DAY" | "HOUR" | "MINUTE";
8304
+ timeUnit?: "DAY" | "HOUR" | "MINUTE" | null;
8315
8305
  /**
8316
8306
  * The payload format version of the webhook. Version 2026-07-27 adds
8317
8307
  * generated ICS calendar content (`attendeeIcsContent`,
@@ -8326,7 +8316,8 @@ export interface components {
8326
8316
  */
8327
8317
  version: "2021-10-20" | "2026-07-27";
8328
8318
  userId: number;
8329
- id: number;
8319
+ /** Format: uuid */
8320
+ id: string;
8330
8321
  subscriberUrl: string;
8331
8322
  active: boolean;
8332
8323
  secret?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/integration-contracts",
3
- "version": "0.145.0",
3
+ "version": "0.145.2",
4
4
  "description": "Shared integration payload contracts and provider primitives for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@anthropic-ai/sdk": "0.123.0",
70
- "@automate.ax/codec": "0.145.0",
70
+ "@automate.ax/codec": "0.145.2",
71
71
  "@cfworker/json-schema": "^4.1.1",
72
72
  "@googleapis/calendar": "^16.0.0",
73
73
  "@googleapis/forms": "^6.0.1",