@automate.ax/integration-contracts 0.145.0 → 0.145.1

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.
@@ -902,7 +902,6 @@
902
902
  },
903
903
  "cancelledByEmail": {
904
904
  "type": "string",
905
- "format": "email",
906
905
  "example": "canceller@example.com"
907
906
  },
908
907
  "reschedulingReason": {
@@ -910,9 +909,16 @@
910
909
  "example": "User rescheduled the event"
911
910
  },
912
911
  "rescheduledByEmail": {
913
- "type": "string",
914
- "format": "email",
915
- "example": "rescheduler@example.com"
912
+ "anyOf": [
913
+ {
914
+ "type": "string",
915
+ "format": "email",
916
+ "example": "rescheduler@example.com"
917
+ },
918
+ {
919
+ "type": "null"
920
+ }
921
+ ]
916
922
  },
917
923
  "rescheduledFromUid": {
918
924
  "type": "string",
@@ -989,8 +995,15 @@
989
995
  }
990
996
  },
991
997
  "rating": {
992
- "type": "number",
993
- "example": 4
998
+ "anyOf": [
999
+ {
1000
+ "type": "number",
1001
+ "example": 4
1002
+ },
1003
+ {
1004
+ "type": "null"
1005
+ }
1006
+ ]
994
1007
  },
995
1008
  "icsUid": {
996
1009
  "type": "string",
@@ -4924,8 +4937,8 @@
4924
4937
  }
4925
4938
  },
4926
4939
  {
4927
- "title": "Disabled",
4928
- "$ref": "#/$defs/Disabled_2024_06_14"
4940
+ "$ref": "#/$defs/Disabled_2024_06_14",
4941
+ "title": "Disabled"
4929
4942
  }
4930
4943
  ]
4931
4944
  },
@@ -4982,8 +4995,8 @@
4982
4995
  "$ref": "#/$defs/Seats_2024_06_14"
4983
4996
  },
4984
4997
  {
4985
- "title": "Disabled",
4986
- "$ref": "#/$defs/Disabled_2024_06_14"
4998
+ "$ref": "#/$defs/Disabled_2024_06_14",
4999
+ "title": "Disabled"
4987
5000
  }
4988
5001
  ]
4989
5002
  },
@@ -5610,7 +5623,6 @@
5610
5623
  },
5611
5624
  "cancelledByEmail": {
5612
5625
  "type": "string",
5613
- "format": "email",
5614
5626
  "example": "canceller@example.com"
5615
5627
  },
5616
5628
  "reschedulingReason": {
@@ -5618,9 +5630,16 @@
5618
5630
  "example": "User rescheduled the event"
5619
5631
  },
5620
5632
  "rescheduledByEmail": {
5621
- "type": "string",
5622
- "format": "email",
5623
- "example": "rescheduler@example.com"
5633
+ "anyOf": [
5634
+ {
5635
+ "type": "string",
5636
+ "format": "email",
5637
+ "example": "rescheduler@example.com"
5638
+ },
5639
+ {
5640
+ "type": "null"
5641
+ }
5642
+ ]
5624
5643
  },
5625
5644
  "rescheduledFromUid": {
5626
5645
  "type": "string",
@@ -5697,8 +5716,15 @@
5697
5716
  }
5698
5717
  },
5699
5718
  "rating": {
5700
- "type": "number",
5701
- "example": 4
5719
+ "anyOf": [
5720
+ {
5721
+ "type": "number",
5722
+ "example": 4
5723
+ },
5724
+ {
5725
+ "type": "null"
5726
+ }
5727
+ ]
5702
5728
  },
5703
5729
  "icsUid": {
5704
5730
  "type": "string",
@@ -5829,7 +5855,6 @@
5829
5855
  },
5830
5856
  "cancelledByEmail": {
5831
5857
  "type": "string",
5832
- "format": "email",
5833
5858
  "example": "canceller@example.com"
5834
5859
  },
5835
5860
  "reschedulingReason": {
@@ -5837,9 +5862,16 @@
5837
5862
  "example": "User rescheduled the event"
5838
5863
  },
5839
5864
  "rescheduledByEmail": {
5840
- "type": "string",
5841
- "format": "email",
5842
- "example": "rescheduler@example.com"
5865
+ "anyOf": [
5866
+ {
5867
+ "type": "string",
5868
+ "format": "email",
5869
+ "example": "rescheduler@example.com"
5870
+ },
5871
+ {
5872
+ "type": "null"
5873
+ }
5874
+ ]
5843
5875
  },
5844
5876
  "rescheduledFromUid": {
5845
5877
  "type": "string",
@@ -5916,8 +5948,15 @@
5916
5948
  }
5917
5949
  },
5918
5950
  "rating": {
5919
- "type": "number",
5920
- "example": 4
5951
+ "anyOf": [
5952
+ {
5953
+ "type": "number",
5954
+ "example": 4
5955
+ },
5956
+ {
5957
+ "type": "null"
5958
+ }
5959
+ ]
5921
5960
  },
5922
5961
  "icsUid": {
5923
5962
  "type": "string",
@@ -7741,7 +7780,6 @@
7741
7780
  },
7742
7781
  "cancelledByEmail": {
7743
7782
  "type": "string",
7744
- "format": "email",
7745
7783
  "example": "canceller@example.com"
7746
7784
  },
7747
7785
  "reschedulingReason": {
@@ -7749,9 +7787,16 @@
7749
7787
  "example": "User rescheduled the event"
7750
7788
  },
7751
7789
  "rescheduledByEmail": {
7752
- "type": "string",
7753
- "format": "email",
7754
- "example": "rescheduler@example.com"
7790
+ "anyOf": [
7791
+ {
7792
+ "type": "string",
7793
+ "format": "email",
7794
+ "example": "rescheduler@example.com"
7795
+ },
7796
+ {
7797
+ "type": "null"
7798
+ }
7799
+ ]
7755
7800
  },
7756
7801
  "rescheduledFromUid": {
7757
7802
  "type": "string",
@@ -7828,8 +7873,15 @@
7828
7873
  }
7829
7874
  },
7830
7875
  "rating": {
7831
- "type": "number",
7832
- "example": 4
7876
+ "anyOf": [
7877
+ {
7878
+ "type": "number",
7879
+ "example": 4
7880
+ },
7881
+ {
7882
+ "type": "null"
7883
+ }
7884
+ ]
7833
7885
  },
7834
7886
  "icsUid": {
7835
7887
  "type": "string",
@@ -9265,8 +9317,8 @@
9265
9317
  }
9266
9318
  },
9267
9319
  {
9268
- "title": "Disabled",
9269
- "$ref": "#/$defs/Disabled_2024_06_14"
9320
+ "$ref": "#/$defs/Disabled_2024_06_14",
9321
+ "title": "Disabled"
9270
9322
  }
9271
9323
  ]
9272
9324
  },
@@ -9323,8 +9375,8 @@
9323
9375
  "$ref": "#/$defs/Seats_2024_06_14"
9324
9376
  },
9325
9377
  {
9326
- "title": "Disabled",
9327
- "$ref": "#/$defs/Disabled_2024_06_14"
9378
+ "$ref": "#/$defs/Disabled_2024_06_14",
9379
+ "title": "Disabled"
9328
9380
  }
9329
9381
  ]
9330
9382
  },
@@ -9587,7 +9639,14 @@
9587
9639
  "type": "number"
9588
9640
  },
9589
9641
  "parentId": {
9590
- "type": "number"
9642
+ "anyOf": [
9643
+ {
9644
+ "type": "number"
9645
+ },
9646
+ {
9647
+ "type": "null"
9648
+ }
9649
+ ]
9591
9650
  },
9592
9651
  "name": {
9593
9652
  "type": "string",
@@ -9597,23 +9656,58 @@
9597
9656
  "type": "string"
9598
9657
  },
9599
9658
  "logoUrl": {
9600
- "type": "string",
9601
- "format": "uri"
9659
+ "anyOf": [
9660
+ {
9661
+ "type": "string",
9662
+ "format": "uri"
9663
+ },
9664
+ {
9665
+ "type": "null"
9666
+ }
9667
+ ]
9602
9668
  },
9603
9669
  "calVideoLogo": {
9604
- "type": "string",
9605
- "format": "uri"
9670
+ "anyOf": [
9671
+ {
9672
+ "type": "string",
9673
+ "format": "uri"
9674
+ },
9675
+ {
9676
+ "type": "null"
9677
+ }
9678
+ ]
9606
9679
  },
9607
9680
  "appLogo": {
9608
- "type": "string",
9609
- "format": "uri"
9681
+ "anyOf": [
9682
+ {
9683
+ "type": "string",
9684
+ "format": "uri"
9685
+ },
9686
+ {
9687
+ "type": "null"
9688
+ }
9689
+ ]
9610
9690
  },
9611
9691
  "appIconLogo": {
9612
- "type": "string",
9613
- "format": "uri"
9692
+ "anyOf": [
9693
+ {
9694
+ "type": "string",
9695
+ "format": "uri"
9696
+ },
9697
+ {
9698
+ "type": "null"
9699
+ }
9700
+ ]
9614
9701
  },
9615
9702
  "bio": {
9616
- "type": "string"
9703
+ "anyOf": [
9704
+ {
9705
+ "type": "string"
9706
+ },
9707
+ {
9708
+ "type": "null"
9709
+ }
9710
+ ]
9617
9711
  },
9618
9712
  "hideBranding": {
9619
9713
  "type": "boolean"
@@ -9636,20 +9730,55 @@
9636
9730
  }
9637
9731
  },
9638
9732
  "theme": {
9639
- "type": "string"
9733
+ "anyOf": [
9734
+ {
9735
+ "type": "string"
9736
+ },
9737
+ {
9738
+ "type": "null"
9739
+ }
9740
+ ]
9640
9741
  },
9641
9742
  "brandColor": {
9642
- "type": "string"
9743
+ "anyOf": [
9744
+ {
9745
+ "type": "string"
9746
+ },
9747
+ {
9748
+ "type": "null"
9749
+ }
9750
+ ]
9643
9751
  },
9644
9752
  "darkBrandColor": {
9645
- "type": "string"
9753
+ "anyOf": [
9754
+ {
9755
+ "type": "string"
9756
+ },
9757
+ {
9758
+ "type": "null"
9759
+ }
9760
+ ]
9646
9761
  },
9647
9762
  "bannerUrl": {
9648
- "type": "string",
9649
- "format": "uri"
9763
+ "anyOf": [
9764
+ {
9765
+ "type": "string",
9766
+ "format": "uri"
9767
+ },
9768
+ {
9769
+ "type": "null"
9770
+ }
9771
+ ]
9650
9772
  },
9651
9773
  "timeFormat": {
9652
- "type": "number"
9774
+ "anyOf": [
9775
+ {
9776
+ "type": "number"
9777
+ },
9778
+ {
9779
+ "type": "null"
9780
+ }
9781
+ ]
9653
9782
  },
9654
9783
  "timeZone": {
9655
9784
  "type": "string",
@@ -11690,9 +11819,16 @@
11690
11819
  "example": 2
11691
11820
  },
11692
11821
  "toUserId": {
11693
- "type": "number",
11694
- "description": "The ID of the user covering for the out of office period, if applicable.",
11695
- "example": 2
11822
+ "anyOf": [
11823
+ {
11824
+ "type": "number",
11825
+ "description": "The ID of the user covering for the out of office period, if applicable.",
11826
+ "example": 2
11827
+ },
11828
+ {
11829
+ "type": "null"
11830
+ }
11831
+ ]
11696
11832
  },
11697
11833
  "id": {
11698
11834
  "type": "number",
@@ -11771,9 +11907,16 @@
11771
11907
  "type": "object",
11772
11908
  "properties": {
11773
11909
  "payloadTemplate": {
11774
- "type": "string",
11775
- "description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
11776
- "example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
11910
+ "anyOf": [
11911
+ {
11912
+ "type": "string",
11913
+ "description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
11914
+ "example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
11915
+ },
11916
+ {
11917
+ "type": "null"
11918
+ }
11919
+ ]
11777
11920
  },
11778
11921
  "triggers": {
11779
11922
  "type": "array",
@@ -11812,15 +11955,29 @@
11812
11955
  }
11813
11956
  },
11814
11957
  "time": {
11815
- "type": "number",
11816
- "description": "How long after the booking start time the no-show triggers are evaluated",
11817
- "example": 5
11958
+ "anyOf": [
11959
+ {
11960
+ "type": "number",
11961
+ "description": "How long after the booking start time the no-show triggers are evaluated",
11962
+ "example": 5
11963
+ },
11964
+ {
11965
+ "type": "null"
11966
+ }
11967
+ ]
11818
11968
  },
11819
11969
  "timeUnit": {
11820
- "enum": ["DAY", "HOUR", "MINUTE"],
11821
- "type": "string",
11822
- "description": "The unit of the no-show time value",
11823
- "example": "MINUTE"
11970
+ "anyOf": [
11971
+ {
11972
+ "enum": ["DAY", "HOUR", "MINUTE"],
11973
+ "type": "string",
11974
+ "description": "The unit of the no-show time value",
11975
+ "example": "MINUTE"
11976
+ },
11977
+ {
11978
+ "type": "null"
11979
+ }
11980
+ ]
11824
11981
  },
11825
11982
  "version": {
11826
11983
  "enum": ["2021-10-20", "2026-07-27"],
@@ -11832,7 +11989,8 @@
11832
11989
  "type": "number"
11833
11990
  },
11834
11991
  "id": {
11835
- "type": "number"
11992
+ "type": "string",
11993
+ "format": "uuid"
11836
11994
  },
11837
11995
  "subscriberUrl": {
11838
11996
  "type": "string"
@@ -11965,7 +12123,7 @@
11965
12123
  }
11966
12124
  },
11967
12125
  "source": {
11968
- "sha256": "9f7429da3949e89a21738b7ffdf754f0b896f1701042161ae1b88c22e5efc753",
12126
+ "sha256": "d2eb88f3737d5944e84f0205dab67e95296c57a9773d500ff2b9f4748f9cd43c",
11969
12127
  "url": "https://cal.com/docs/api-reference/v2/openapi.json"
11970
12128
  }
11971
12129
  }
@@ -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
  *
@@ -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
  *
@@ -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
  *
@@ -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
  *
@@ -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.1",
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.1",
71
71
  "@cfworker/json-schema": "^4.1.1",
72
72
  "@googleapis/calendar": "^16.0.0",
73
73
  "@googleapis/forms": "^6.0.1",
@@ -902,7 +902,6 @@
902
902
  },
903
903
  "cancelledByEmail": {
904
904
  "type": "string",
905
- "format": "email",
906
905
  "example": "canceller@example.com"
907
906
  },
908
907
  "reschedulingReason": {
@@ -910,9 +909,16 @@
910
909
  "example": "User rescheduled the event"
911
910
  },
912
911
  "rescheduledByEmail": {
913
- "type": "string",
914
- "format": "email",
915
- "example": "rescheduler@example.com"
912
+ "anyOf": [
913
+ {
914
+ "type": "string",
915
+ "format": "email",
916
+ "example": "rescheduler@example.com"
917
+ },
918
+ {
919
+ "type": "null"
920
+ }
921
+ ]
916
922
  },
917
923
  "rescheduledFromUid": {
918
924
  "type": "string",
@@ -989,8 +995,15 @@
989
995
  }
990
996
  },
991
997
  "rating": {
992
- "type": "number",
993
- "example": 4
998
+ "anyOf": [
999
+ {
1000
+ "type": "number",
1001
+ "example": 4
1002
+ },
1003
+ {
1004
+ "type": "null"
1005
+ }
1006
+ ]
994
1007
  },
995
1008
  "icsUid": {
996
1009
  "type": "string",
@@ -4924,8 +4937,8 @@
4924
4937
  }
4925
4938
  },
4926
4939
  {
4927
- "title": "Disabled",
4928
- "$ref": "#/$defs/Disabled_2024_06_14"
4940
+ "$ref": "#/$defs/Disabled_2024_06_14",
4941
+ "title": "Disabled"
4929
4942
  }
4930
4943
  ]
4931
4944
  },
@@ -4982,8 +4995,8 @@
4982
4995
  "$ref": "#/$defs/Seats_2024_06_14"
4983
4996
  },
4984
4997
  {
4985
- "title": "Disabled",
4986
- "$ref": "#/$defs/Disabled_2024_06_14"
4998
+ "$ref": "#/$defs/Disabled_2024_06_14",
4999
+ "title": "Disabled"
4987
5000
  }
4988
5001
  ]
4989
5002
  },
@@ -5610,7 +5623,6 @@
5610
5623
  },
5611
5624
  "cancelledByEmail": {
5612
5625
  "type": "string",
5613
- "format": "email",
5614
5626
  "example": "canceller@example.com"
5615
5627
  },
5616
5628
  "reschedulingReason": {
@@ -5618,9 +5630,16 @@
5618
5630
  "example": "User rescheduled the event"
5619
5631
  },
5620
5632
  "rescheduledByEmail": {
5621
- "type": "string",
5622
- "format": "email",
5623
- "example": "rescheduler@example.com"
5633
+ "anyOf": [
5634
+ {
5635
+ "type": "string",
5636
+ "format": "email",
5637
+ "example": "rescheduler@example.com"
5638
+ },
5639
+ {
5640
+ "type": "null"
5641
+ }
5642
+ ]
5624
5643
  },
5625
5644
  "rescheduledFromUid": {
5626
5645
  "type": "string",
@@ -5697,8 +5716,15 @@
5697
5716
  }
5698
5717
  },
5699
5718
  "rating": {
5700
- "type": "number",
5701
- "example": 4
5719
+ "anyOf": [
5720
+ {
5721
+ "type": "number",
5722
+ "example": 4
5723
+ },
5724
+ {
5725
+ "type": "null"
5726
+ }
5727
+ ]
5702
5728
  },
5703
5729
  "icsUid": {
5704
5730
  "type": "string",
@@ -5829,7 +5855,6 @@
5829
5855
  },
5830
5856
  "cancelledByEmail": {
5831
5857
  "type": "string",
5832
- "format": "email",
5833
5858
  "example": "canceller@example.com"
5834
5859
  },
5835
5860
  "reschedulingReason": {
@@ -5837,9 +5862,16 @@
5837
5862
  "example": "User rescheduled the event"
5838
5863
  },
5839
5864
  "rescheduledByEmail": {
5840
- "type": "string",
5841
- "format": "email",
5842
- "example": "rescheduler@example.com"
5865
+ "anyOf": [
5866
+ {
5867
+ "type": "string",
5868
+ "format": "email",
5869
+ "example": "rescheduler@example.com"
5870
+ },
5871
+ {
5872
+ "type": "null"
5873
+ }
5874
+ ]
5843
5875
  },
5844
5876
  "rescheduledFromUid": {
5845
5877
  "type": "string",
@@ -5916,8 +5948,15 @@
5916
5948
  }
5917
5949
  },
5918
5950
  "rating": {
5919
- "type": "number",
5920
- "example": 4
5951
+ "anyOf": [
5952
+ {
5953
+ "type": "number",
5954
+ "example": 4
5955
+ },
5956
+ {
5957
+ "type": "null"
5958
+ }
5959
+ ]
5921
5960
  },
5922
5961
  "icsUid": {
5923
5962
  "type": "string",
@@ -7741,7 +7780,6 @@
7741
7780
  },
7742
7781
  "cancelledByEmail": {
7743
7782
  "type": "string",
7744
- "format": "email",
7745
7783
  "example": "canceller@example.com"
7746
7784
  },
7747
7785
  "reschedulingReason": {
@@ -7749,9 +7787,16 @@
7749
7787
  "example": "User rescheduled the event"
7750
7788
  },
7751
7789
  "rescheduledByEmail": {
7752
- "type": "string",
7753
- "format": "email",
7754
- "example": "rescheduler@example.com"
7790
+ "anyOf": [
7791
+ {
7792
+ "type": "string",
7793
+ "format": "email",
7794
+ "example": "rescheduler@example.com"
7795
+ },
7796
+ {
7797
+ "type": "null"
7798
+ }
7799
+ ]
7755
7800
  },
7756
7801
  "rescheduledFromUid": {
7757
7802
  "type": "string",
@@ -7828,8 +7873,15 @@
7828
7873
  }
7829
7874
  },
7830
7875
  "rating": {
7831
- "type": "number",
7832
- "example": 4
7876
+ "anyOf": [
7877
+ {
7878
+ "type": "number",
7879
+ "example": 4
7880
+ },
7881
+ {
7882
+ "type": "null"
7883
+ }
7884
+ ]
7833
7885
  },
7834
7886
  "icsUid": {
7835
7887
  "type": "string",
@@ -9265,8 +9317,8 @@
9265
9317
  }
9266
9318
  },
9267
9319
  {
9268
- "title": "Disabled",
9269
- "$ref": "#/$defs/Disabled_2024_06_14"
9320
+ "$ref": "#/$defs/Disabled_2024_06_14",
9321
+ "title": "Disabled"
9270
9322
  }
9271
9323
  ]
9272
9324
  },
@@ -9323,8 +9375,8 @@
9323
9375
  "$ref": "#/$defs/Seats_2024_06_14"
9324
9376
  },
9325
9377
  {
9326
- "title": "Disabled",
9327
- "$ref": "#/$defs/Disabled_2024_06_14"
9378
+ "$ref": "#/$defs/Disabled_2024_06_14",
9379
+ "title": "Disabled"
9328
9380
  }
9329
9381
  ]
9330
9382
  },
@@ -9587,7 +9639,14 @@
9587
9639
  "type": "number"
9588
9640
  },
9589
9641
  "parentId": {
9590
- "type": "number"
9642
+ "anyOf": [
9643
+ {
9644
+ "type": "number"
9645
+ },
9646
+ {
9647
+ "type": "null"
9648
+ }
9649
+ ]
9591
9650
  },
9592
9651
  "name": {
9593
9652
  "type": "string",
@@ -9597,23 +9656,58 @@
9597
9656
  "type": "string"
9598
9657
  },
9599
9658
  "logoUrl": {
9600
- "type": "string",
9601
- "format": "uri"
9659
+ "anyOf": [
9660
+ {
9661
+ "type": "string",
9662
+ "format": "uri"
9663
+ },
9664
+ {
9665
+ "type": "null"
9666
+ }
9667
+ ]
9602
9668
  },
9603
9669
  "calVideoLogo": {
9604
- "type": "string",
9605
- "format": "uri"
9670
+ "anyOf": [
9671
+ {
9672
+ "type": "string",
9673
+ "format": "uri"
9674
+ },
9675
+ {
9676
+ "type": "null"
9677
+ }
9678
+ ]
9606
9679
  },
9607
9680
  "appLogo": {
9608
- "type": "string",
9609
- "format": "uri"
9681
+ "anyOf": [
9682
+ {
9683
+ "type": "string",
9684
+ "format": "uri"
9685
+ },
9686
+ {
9687
+ "type": "null"
9688
+ }
9689
+ ]
9610
9690
  },
9611
9691
  "appIconLogo": {
9612
- "type": "string",
9613
- "format": "uri"
9692
+ "anyOf": [
9693
+ {
9694
+ "type": "string",
9695
+ "format": "uri"
9696
+ },
9697
+ {
9698
+ "type": "null"
9699
+ }
9700
+ ]
9614
9701
  },
9615
9702
  "bio": {
9616
- "type": "string"
9703
+ "anyOf": [
9704
+ {
9705
+ "type": "string"
9706
+ },
9707
+ {
9708
+ "type": "null"
9709
+ }
9710
+ ]
9617
9711
  },
9618
9712
  "hideBranding": {
9619
9713
  "type": "boolean"
@@ -9636,20 +9730,55 @@
9636
9730
  }
9637
9731
  },
9638
9732
  "theme": {
9639
- "type": "string"
9733
+ "anyOf": [
9734
+ {
9735
+ "type": "string"
9736
+ },
9737
+ {
9738
+ "type": "null"
9739
+ }
9740
+ ]
9640
9741
  },
9641
9742
  "brandColor": {
9642
- "type": "string"
9743
+ "anyOf": [
9744
+ {
9745
+ "type": "string"
9746
+ },
9747
+ {
9748
+ "type": "null"
9749
+ }
9750
+ ]
9643
9751
  },
9644
9752
  "darkBrandColor": {
9645
- "type": "string"
9753
+ "anyOf": [
9754
+ {
9755
+ "type": "string"
9756
+ },
9757
+ {
9758
+ "type": "null"
9759
+ }
9760
+ ]
9646
9761
  },
9647
9762
  "bannerUrl": {
9648
- "type": "string",
9649
- "format": "uri"
9763
+ "anyOf": [
9764
+ {
9765
+ "type": "string",
9766
+ "format": "uri"
9767
+ },
9768
+ {
9769
+ "type": "null"
9770
+ }
9771
+ ]
9650
9772
  },
9651
9773
  "timeFormat": {
9652
- "type": "number"
9774
+ "anyOf": [
9775
+ {
9776
+ "type": "number"
9777
+ },
9778
+ {
9779
+ "type": "null"
9780
+ }
9781
+ ]
9653
9782
  },
9654
9783
  "timeZone": {
9655
9784
  "type": "string",
@@ -11690,9 +11819,16 @@
11690
11819
  "example": 2
11691
11820
  },
11692
11821
  "toUserId": {
11693
- "type": "number",
11694
- "description": "The ID of the user covering for the out of office period, if applicable.",
11695
- "example": 2
11822
+ "anyOf": [
11823
+ {
11824
+ "type": "number",
11825
+ "description": "The ID of the user covering for the out of office period, if applicable.",
11826
+ "example": 2
11827
+ },
11828
+ {
11829
+ "type": "null"
11830
+ }
11831
+ ]
11696
11832
  },
11697
11833
  "id": {
11698
11834
  "type": "number",
@@ -11771,9 +11907,16 @@
11771
11907
  "type": "object",
11772
11908
  "properties": {
11773
11909
  "payloadTemplate": {
11774
- "type": "string",
11775
- "description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
11776
- "example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
11910
+ "anyOf": [
11911
+ {
11912
+ "type": "string",
11913
+ "description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
11914
+ "example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
11915
+ },
11916
+ {
11917
+ "type": "null"
11918
+ }
11919
+ ]
11777
11920
  },
11778
11921
  "triggers": {
11779
11922
  "type": "array",
@@ -11812,15 +11955,29 @@
11812
11955
  }
11813
11956
  },
11814
11957
  "time": {
11815
- "type": "number",
11816
- "description": "How long after the booking start time the no-show triggers are evaluated",
11817
- "example": 5
11958
+ "anyOf": [
11959
+ {
11960
+ "type": "number",
11961
+ "description": "How long after the booking start time the no-show triggers are evaluated",
11962
+ "example": 5
11963
+ },
11964
+ {
11965
+ "type": "null"
11966
+ }
11967
+ ]
11818
11968
  },
11819
11969
  "timeUnit": {
11820
- "enum": ["DAY", "HOUR", "MINUTE"],
11821
- "type": "string",
11822
- "description": "The unit of the no-show time value",
11823
- "example": "MINUTE"
11970
+ "anyOf": [
11971
+ {
11972
+ "enum": ["DAY", "HOUR", "MINUTE"],
11973
+ "type": "string",
11974
+ "description": "The unit of the no-show time value",
11975
+ "example": "MINUTE"
11976
+ },
11977
+ {
11978
+ "type": "null"
11979
+ }
11980
+ ]
11824
11981
  },
11825
11982
  "version": {
11826
11983
  "enum": ["2021-10-20", "2026-07-27"],
@@ -11832,7 +11989,8 @@
11832
11989
  "type": "number"
11833
11990
  },
11834
11991
  "id": {
11835
- "type": "number"
11992
+ "type": "string",
11993
+ "format": "uuid"
11836
11994
  },
11837
11995
  "subscriberUrl": {
11838
11996
  "type": "string"
@@ -11965,7 +12123,7 @@
11965
12123
  }
11966
12124
  },
11967
12125
  "source": {
11968
- "sha256": "9f7429da3949e89a21738b7ffdf754f0b896f1701042161ae1b88c22e5efc753",
12126
+ "sha256": "d2eb88f3737d5944e84f0205dab67e95296c57a9773d500ff2b9f4748f9cd43c",
11969
12127
  "url": "https://cal.com/docs/api-reference/v2/openapi.json"
11970
12128
  }
11971
12129
  }
@@ -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: {
@@ -830,8 +830,6 @@ export interface components {
830
830
  */
831
831
  cancellationReason?: string
832
832
  /**
833
- * Format: email
834
- *
835
833
  * @example
836
834
  * canceller@example.com
837
835
  */
@@ -847,7 +845,7 @@ export interface components {
847
845
  * @example
848
846
  * rescheduler@example.com
849
847
  */
850
- rescheduledByEmail?: string
848
+ rescheduledByEmail?: string | null
851
849
  /**
852
850
  * UID of the previous booking from which this booking was rescheduled.
853
851
  *
@@ -935,7 +933,7 @@ export interface components {
935
933
  * @example
936
934
  * 4
937
935
  */
938
- rating?: number
936
+ rating?: number | null
939
937
  /**
940
938
  * UID of ICS event.
941
939
  *
@@ -3978,7 +3976,6 @@ export interface components {
3978
3976
  bookingLimitsDuration?:
3979
3977
  | components["schemas"]["BaseBookingLimitsDuration_2024_06_14"]
3980
3978
  | components["schemas"]["Disabled_2024_06_14"]
3981
- /** Limit how far in the future this event can be booked */
3982
3979
  bookingWindow?:
3983
3980
  | (
3984
3981
  | components["schemas"]["BusinessDaysWindow_2024_06_14"]
@@ -4345,8 +4342,6 @@ export interface components {
4345
4342
  */
4346
4343
  cancellationReason?: string
4347
4344
  /**
4348
- * Format: email
4349
- *
4350
4345
  * @example
4351
4346
  * canceller@example.com
4352
4347
  */
@@ -4362,7 +4357,7 @@ export interface components {
4362
4357
  * @example
4363
4358
  * rescheduler@example.com
4364
4359
  */
4365
- rescheduledByEmail?: string
4360
+ rescheduledByEmail?: string | null
4366
4361
  /**
4367
4362
  * UID of the previous booking from which this booking was rescheduled.
4368
4363
  *
@@ -4450,7 +4445,7 @@ export interface components {
4450
4445
  * @example
4451
4446
  * 4
4452
4447
  */
4453
- rating?: number
4448
+ rating?: number | null
4454
4449
  /**
4455
4450
  * UID of ICS event.
4456
4451
  *
@@ -4530,8 +4525,6 @@ export interface components {
4530
4525
  */
4531
4526
  cancellationReason?: string
4532
4527
  /**
4533
- * Format: email
4534
- *
4535
4528
  * @example
4536
4529
  * canceller@example.com
4537
4530
  */
@@ -4547,7 +4540,7 @@ export interface components {
4547
4540
  * @example
4548
4541
  * rescheduler@example.com
4549
4542
  */
4550
- rescheduledByEmail?: string
4543
+ rescheduledByEmail?: string | null
4551
4544
  /**
4552
4545
  * UID of the previous booking from which this booking was rescheduled.
4553
4546
  *
@@ -4635,7 +4628,7 @@ export interface components {
4635
4628
  * @example
4636
4629
  * 4
4637
4630
  */
4638
- rating?: number
4631
+ rating?: number | null
4639
4632
  /**
4640
4633
  * UID of ICS event.
4641
4634
  *
@@ -6135,8 +6128,6 @@ export interface components {
6135
6128
  */
6136
6129
  cancellationReason?: string
6137
6130
  /**
6138
- * Format: email
6139
- *
6140
6131
  * @example
6141
6132
  * canceller@example.com
6142
6133
  */
@@ -6152,7 +6143,7 @@ export interface components {
6152
6143
  * @example
6153
6144
  * rescheduler@example.com
6154
6145
  */
6155
- rescheduledByEmail?: string
6146
+ rescheduledByEmail?: string | null
6156
6147
  /**
6157
6148
  * UID of the previous booking from which this booking was rescheduled.
6158
6149
  *
@@ -6240,7 +6231,7 @@ export interface components {
6240
6231
  * @example
6241
6232
  * 4
6242
6233
  */
6243
- rating?: number
6234
+ rating?: number | null
6244
6235
  /**
6245
6236
  * UID of ICS event.
6246
6237
  *
@@ -7367,7 +7358,6 @@ export interface components {
7367
7358
  bookingLimitsDuration?:
7368
7359
  | components["schemas"]["BaseBookingLimitsDuration_2024_06_14"]
7369
7360
  | components["schemas"]["Disabled_2024_06_14"]
7370
- /** Limit how far in the future this event can be booked */
7371
7361
  bookingWindow?:
7372
7362
  | (
7373
7363
  | components["schemas"]["BusinessDaysWindow_2024_06_14"]
@@ -7526,18 +7516,18 @@ export interface components {
7526
7516
  }
7527
7517
  TeamOutputDto: {
7528
7518
  id: number
7529
- parentId?: number
7519
+ parentId?: number | null
7530
7520
  name: string
7531
7521
  slug?: string
7532
7522
  /** Format: uri */
7533
- logoUrl?: string
7523
+ logoUrl?: string | null
7534
7524
  /** Format: uri */
7535
- calVideoLogo?: string
7525
+ calVideoLogo?: string | null
7536
7526
  /** Format: uri */
7537
- appLogo?: string
7527
+ appLogo?: string | null
7538
7528
  /** Format: uri */
7539
- appIconLogo?: string
7540
- bio?: string
7529
+ appIconLogo?: string | null
7530
+ bio?: string | null
7541
7531
  hideBranding?: boolean
7542
7532
  isOrganization: boolean
7543
7533
  isPrivate?: boolean
@@ -7550,12 +7540,12 @@ export interface components {
7550
7540
  metadata?: {
7551
7541
  [key: string]: unknown
7552
7542
  }
7553
- theme?: string
7554
- brandColor?: string
7555
- darkBrandColor?: string
7543
+ theme?: string | null
7544
+ brandColor?: string | null
7545
+ darkBrandColor?: string | null
7556
7546
  /** Format: uri */
7557
- bannerUrl?: string
7558
- timeFormat?: number
7547
+ bannerUrl?: string | null
7548
+ timeFormat?: number | null
7559
7549
  /** @default Europe/London */
7560
7550
  timeZone: string
7561
7551
  /** @default Sunday */
@@ -9240,7 +9230,7 @@ export interface components {
9240
9230
  * @example
9241
9231
  * 2
9242
9232
  */
9243
- toUserId?: number
9233
+ toUserId?: number | null
9244
9234
  /**
9245
9235
  * The ID of the ooo entry.
9246
9236
  *
@@ -9326,7 +9316,7 @@ export interface components {
9326
9316
  * "booker": "{{attendees.0.name}}"
9327
9317
  * }
9328
9318
  */
9329
- payloadTemplate: string
9319
+ payloadTemplate: string | null
9330
9320
  triggers: (
9331
9321
  | "BOOKING_CREATED"
9332
9322
  | "BOOKING_PAYMENT_INITIATED"
@@ -9364,16 +9354,16 @@ export interface components {
9364
9354
  * @example
9365
9355
  * 5
9366
9356
  */
9367
- time?: number
9357
+ time?: number | null
9368
9358
  /**
9369
9359
  * The unit of the no-show time value
9370
9360
  *
9371
9361
  * @example
9372
9362
  * MINUTE
9373
9363
  *
9374
- * @enum {string}
9364
+ * @enum {string | null}
9375
9365
  */
9376
- timeUnit?: "DAY" | "HOUR" | "MINUTE"
9366
+ timeUnit?: "DAY" | "HOUR" | "MINUTE" | null
9377
9367
  /**
9378
9368
  * The payload format version of the webhook. Version 2026-07-27 adds
9379
9369
  * generated ICS calendar content (`attendeeIcsContent`,
@@ -9388,7 +9378,8 @@ export interface components {
9388
9378
  */
9389
9379
  version: "2021-10-20" | "2026-07-27"
9390
9380
  userId: number
9391
- id: number
9381
+ /** Format: uuid */
9382
+ id: string
9392
9383
  subscriberUrl: string
9393
9384
  active: boolean
9394
9385
  secret?: string