@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.
@@ -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",
@@ -939,13 +945,27 @@
939
945
  "example": 60
940
946
  },
941
947
  "eventTypeId": {
942
- "type": "number",
943
- "example": 50,
944
- "deprecated": true,
945
- "description": "Deprecated - rely on 'eventType' object containing the id instead."
948
+ "anyOf": [
949
+ {
950
+ "type": "number",
951
+ "example": 50,
952
+ "deprecated": true,
953
+ "description": "Deprecated - rely on 'eventType' object containing the id instead."
954
+ },
955
+ {
956
+ "type": "null"
957
+ }
958
+ ]
946
959
  },
947
960
  "eventType": {
948
- "$ref": "#/$defs/EventType"
961
+ "anyOf": [
962
+ {
963
+ "$ref": "#/$defs/EventType"
964
+ },
965
+ {
966
+ "type": "null"
967
+ }
968
+ ]
949
969
  },
950
970
  "meetingUrl": {
951
971
  "type": "string",
@@ -989,8 +1009,15 @@
989
1009
  }
990
1010
  },
991
1011
  "rating": {
992
- "type": "number",
993
- "example": 4
1012
+ "anyOf": [
1013
+ {
1014
+ "type": "number",
1015
+ "example": 4
1016
+ },
1017
+ {
1018
+ "type": "null"
1019
+ }
1020
+ ]
994
1021
  },
995
1022
  "icsUid": {
996
1023
  "type": "string",
@@ -4924,8 +4951,8 @@
4924
4951
  }
4925
4952
  },
4926
4953
  {
4927
- "title": "Disabled",
4928
- "$ref": "#/$defs/Disabled_2024_06_14"
4954
+ "$ref": "#/$defs/Disabled_2024_06_14",
4955
+ "title": "Disabled"
4929
4956
  }
4930
4957
  ]
4931
4958
  },
@@ -4982,8 +5009,8 @@
4982
5009
  "$ref": "#/$defs/Seats_2024_06_14"
4983
5010
  },
4984
5011
  {
4985
- "title": "Disabled",
4986
- "$ref": "#/$defs/Disabled_2024_06_14"
5012
+ "$ref": "#/$defs/Disabled_2024_06_14",
5013
+ "title": "Disabled"
4987
5014
  }
4988
5015
  ]
4989
5016
  },
@@ -5610,7 +5637,6 @@
5610
5637
  },
5611
5638
  "cancelledByEmail": {
5612
5639
  "type": "string",
5613
- "format": "email",
5614
5640
  "example": "canceller@example.com"
5615
5641
  },
5616
5642
  "reschedulingReason": {
@@ -5618,9 +5644,16 @@
5618
5644
  "example": "User rescheduled the event"
5619
5645
  },
5620
5646
  "rescheduledByEmail": {
5621
- "type": "string",
5622
- "format": "email",
5623
- "example": "rescheduler@example.com"
5647
+ "anyOf": [
5648
+ {
5649
+ "type": "string",
5650
+ "format": "email",
5651
+ "example": "rescheduler@example.com"
5652
+ },
5653
+ {
5654
+ "type": "null"
5655
+ }
5656
+ ]
5624
5657
  },
5625
5658
  "rescheduledFromUid": {
5626
5659
  "type": "string",
@@ -5647,13 +5680,27 @@
5647
5680
  "example": 60
5648
5681
  },
5649
5682
  "eventTypeId": {
5650
- "type": "number",
5651
- "example": 50,
5652
- "deprecated": true,
5653
- "description": "Deprecated - rely on 'eventType' object containing the id instead."
5683
+ "anyOf": [
5684
+ {
5685
+ "type": "number",
5686
+ "example": 50,
5687
+ "deprecated": true,
5688
+ "description": "Deprecated - rely on 'eventType' object containing the id instead."
5689
+ },
5690
+ {
5691
+ "type": "null"
5692
+ }
5693
+ ]
5654
5694
  },
5655
5695
  "eventType": {
5656
- "$ref": "#/$defs/EventType"
5696
+ "anyOf": [
5697
+ {
5698
+ "$ref": "#/$defs/EventType"
5699
+ },
5700
+ {
5701
+ "type": "null"
5702
+ }
5703
+ ]
5657
5704
  },
5658
5705
  "meetingUrl": {
5659
5706
  "type": "string",
@@ -5697,8 +5744,15 @@
5697
5744
  }
5698
5745
  },
5699
5746
  "rating": {
5700
- "type": "number",
5701
- "example": 4
5747
+ "anyOf": [
5748
+ {
5749
+ "type": "number",
5750
+ "example": 4
5751
+ },
5752
+ {
5753
+ "type": "null"
5754
+ }
5755
+ ]
5702
5756
  },
5703
5757
  "icsUid": {
5704
5758
  "type": "string",
@@ -5829,7 +5883,6 @@
5829
5883
  },
5830
5884
  "cancelledByEmail": {
5831
5885
  "type": "string",
5832
- "format": "email",
5833
5886
  "example": "canceller@example.com"
5834
5887
  },
5835
5888
  "reschedulingReason": {
@@ -5837,9 +5890,16 @@
5837
5890
  "example": "User rescheduled the event"
5838
5891
  },
5839
5892
  "rescheduledByEmail": {
5840
- "type": "string",
5841
- "format": "email",
5842
- "example": "rescheduler@example.com"
5893
+ "anyOf": [
5894
+ {
5895
+ "type": "string",
5896
+ "format": "email",
5897
+ "example": "rescheduler@example.com"
5898
+ },
5899
+ {
5900
+ "type": "null"
5901
+ }
5902
+ ]
5843
5903
  },
5844
5904
  "rescheduledFromUid": {
5845
5905
  "type": "string",
@@ -5866,13 +5926,27 @@
5866
5926
  "example": 60
5867
5927
  },
5868
5928
  "eventTypeId": {
5869
- "type": "number",
5870
- "example": 50,
5871
- "deprecated": true,
5872
- "description": "Deprecated - rely on 'eventType' object containing the id instead."
5929
+ "anyOf": [
5930
+ {
5931
+ "type": "number",
5932
+ "example": 50,
5933
+ "deprecated": true,
5934
+ "description": "Deprecated - rely on 'eventType' object containing the id instead."
5935
+ },
5936
+ {
5937
+ "type": "null"
5938
+ }
5939
+ ]
5873
5940
  },
5874
5941
  "eventType": {
5875
- "$ref": "#/$defs/EventType"
5942
+ "anyOf": [
5943
+ {
5944
+ "$ref": "#/$defs/EventType"
5945
+ },
5946
+ {
5947
+ "type": "null"
5948
+ }
5949
+ ]
5876
5950
  },
5877
5951
  "meetingUrl": {
5878
5952
  "type": "string",
@@ -5916,8 +5990,15 @@
5916
5990
  }
5917
5991
  },
5918
5992
  "rating": {
5919
- "type": "number",
5920
- "example": 4
5993
+ "anyOf": [
5994
+ {
5995
+ "type": "number",
5996
+ "example": 4
5997
+ },
5998
+ {
5999
+ "type": "null"
6000
+ }
6001
+ ]
5921
6002
  },
5922
6003
  "icsUid": {
5923
6004
  "type": "string",
@@ -7741,7 +7822,6 @@
7741
7822
  },
7742
7823
  "cancelledByEmail": {
7743
7824
  "type": "string",
7744
- "format": "email",
7745
7825
  "example": "canceller@example.com"
7746
7826
  },
7747
7827
  "reschedulingReason": {
@@ -7749,9 +7829,16 @@
7749
7829
  "example": "User rescheduled the event"
7750
7830
  },
7751
7831
  "rescheduledByEmail": {
7752
- "type": "string",
7753
- "format": "email",
7754
- "example": "rescheduler@example.com"
7832
+ "anyOf": [
7833
+ {
7834
+ "type": "string",
7835
+ "format": "email",
7836
+ "example": "rescheduler@example.com"
7837
+ },
7838
+ {
7839
+ "type": "null"
7840
+ }
7841
+ ]
7755
7842
  },
7756
7843
  "rescheduledFromUid": {
7757
7844
  "type": "string",
@@ -7778,13 +7865,27 @@
7778
7865
  "example": 60
7779
7866
  },
7780
7867
  "eventTypeId": {
7781
- "type": "number",
7782
- "example": 50,
7783
- "deprecated": true,
7784
- "description": "Deprecated - rely on 'eventType' object containing the id instead."
7868
+ "anyOf": [
7869
+ {
7870
+ "type": "number",
7871
+ "example": 50,
7872
+ "deprecated": true,
7873
+ "description": "Deprecated - rely on 'eventType' object containing the id instead."
7874
+ },
7875
+ {
7876
+ "type": "null"
7877
+ }
7878
+ ]
7785
7879
  },
7786
7880
  "eventType": {
7787
- "$ref": "#/$defs/EventType"
7881
+ "anyOf": [
7882
+ {
7883
+ "$ref": "#/$defs/EventType"
7884
+ },
7885
+ {
7886
+ "type": "null"
7887
+ }
7888
+ ]
7788
7889
  },
7789
7890
  "meetingUrl": {
7790
7891
  "type": "string",
@@ -7828,8 +7929,15 @@
7828
7929
  }
7829
7930
  },
7830
7931
  "rating": {
7831
- "type": "number",
7832
- "example": 4
7932
+ "anyOf": [
7933
+ {
7934
+ "type": "number",
7935
+ "example": 4
7936
+ },
7937
+ {
7938
+ "type": "null"
7939
+ }
7940
+ ]
7833
7941
  },
7834
7942
  "icsUid": {
7835
7943
  "type": "string",
@@ -9265,8 +9373,8 @@
9265
9373
  }
9266
9374
  },
9267
9375
  {
9268
- "title": "Disabled",
9269
- "$ref": "#/$defs/Disabled_2024_06_14"
9376
+ "$ref": "#/$defs/Disabled_2024_06_14",
9377
+ "title": "Disabled"
9270
9378
  }
9271
9379
  ]
9272
9380
  },
@@ -9323,8 +9431,8 @@
9323
9431
  "$ref": "#/$defs/Seats_2024_06_14"
9324
9432
  },
9325
9433
  {
9326
- "title": "Disabled",
9327
- "$ref": "#/$defs/Disabled_2024_06_14"
9434
+ "$ref": "#/$defs/Disabled_2024_06_14",
9435
+ "title": "Disabled"
9328
9436
  }
9329
9437
  ]
9330
9438
  },
@@ -9587,7 +9695,14 @@
9587
9695
  "type": "number"
9588
9696
  },
9589
9697
  "parentId": {
9590
- "type": "number"
9698
+ "anyOf": [
9699
+ {
9700
+ "type": "number"
9701
+ },
9702
+ {
9703
+ "type": "null"
9704
+ }
9705
+ ]
9591
9706
  },
9592
9707
  "name": {
9593
9708
  "type": "string",
@@ -9597,23 +9712,58 @@
9597
9712
  "type": "string"
9598
9713
  },
9599
9714
  "logoUrl": {
9600
- "type": "string",
9601
- "format": "uri"
9715
+ "anyOf": [
9716
+ {
9717
+ "type": "string",
9718
+ "format": "uri"
9719
+ },
9720
+ {
9721
+ "type": "null"
9722
+ }
9723
+ ]
9602
9724
  },
9603
9725
  "calVideoLogo": {
9604
- "type": "string",
9605
- "format": "uri"
9726
+ "anyOf": [
9727
+ {
9728
+ "type": "string",
9729
+ "format": "uri"
9730
+ },
9731
+ {
9732
+ "type": "null"
9733
+ }
9734
+ ]
9606
9735
  },
9607
9736
  "appLogo": {
9608
- "type": "string",
9609
- "format": "uri"
9737
+ "anyOf": [
9738
+ {
9739
+ "type": "string",
9740
+ "format": "uri"
9741
+ },
9742
+ {
9743
+ "type": "null"
9744
+ }
9745
+ ]
9610
9746
  },
9611
9747
  "appIconLogo": {
9612
- "type": "string",
9613
- "format": "uri"
9748
+ "anyOf": [
9749
+ {
9750
+ "type": "string",
9751
+ "format": "uri"
9752
+ },
9753
+ {
9754
+ "type": "null"
9755
+ }
9756
+ ]
9614
9757
  },
9615
9758
  "bio": {
9616
- "type": "string"
9759
+ "anyOf": [
9760
+ {
9761
+ "type": "string"
9762
+ },
9763
+ {
9764
+ "type": "null"
9765
+ }
9766
+ ]
9617
9767
  },
9618
9768
  "hideBranding": {
9619
9769
  "type": "boolean"
@@ -9636,20 +9786,55 @@
9636
9786
  }
9637
9787
  },
9638
9788
  "theme": {
9639
- "type": "string"
9789
+ "anyOf": [
9790
+ {
9791
+ "type": "string"
9792
+ },
9793
+ {
9794
+ "type": "null"
9795
+ }
9796
+ ]
9640
9797
  },
9641
9798
  "brandColor": {
9642
- "type": "string"
9799
+ "anyOf": [
9800
+ {
9801
+ "type": "string"
9802
+ },
9803
+ {
9804
+ "type": "null"
9805
+ }
9806
+ ]
9643
9807
  },
9644
9808
  "darkBrandColor": {
9645
- "type": "string"
9809
+ "anyOf": [
9810
+ {
9811
+ "type": "string"
9812
+ },
9813
+ {
9814
+ "type": "null"
9815
+ }
9816
+ ]
9646
9817
  },
9647
9818
  "bannerUrl": {
9648
- "type": "string",
9649
- "format": "uri"
9819
+ "anyOf": [
9820
+ {
9821
+ "type": "string",
9822
+ "format": "uri"
9823
+ },
9824
+ {
9825
+ "type": "null"
9826
+ }
9827
+ ]
9650
9828
  },
9651
9829
  "timeFormat": {
9652
- "type": "number"
9830
+ "anyOf": [
9831
+ {
9832
+ "type": "number"
9833
+ },
9834
+ {
9835
+ "type": "null"
9836
+ }
9837
+ ]
9653
9838
  },
9654
9839
  "timeZone": {
9655
9840
  "type": "string",
@@ -11690,9 +11875,16 @@
11690
11875
  "example": 2
11691
11876
  },
11692
11877
  "toUserId": {
11693
- "type": "number",
11694
- "description": "The ID of the user covering for the out of office period, if applicable.",
11695
- "example": 2
11878
+ "anyOf": [
11879
+ {
11880
+ "type": "number",
11881
+ "description": "The ID of the user covering for the out of office period, if applicable.",
11882
+ "example": 2
11883
+ },
11884
+ {
11885
+ "type": "null"
11886
+ }
11887
+ ]
11696
11888
  },
11697
11889
  "id": {
11698
11890
  "type": "number",
@@ -11771,9 +11963,16 @@
11771
11963
  "type": "object",
11772
11964
  "properties": {
11773
11965
  "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}}\"}"
11966
+ "anyOf": [
11967
+ {
11968
+ "type": "string",
11969
+ "description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
11970
+ "example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
11971
+ },
11972
+ {
11973
+ "type": "null"
11974
+ }
11975
+ ]
11777
11976
  },
11778
11977
  "triggers": {
11779
11978
  "type": "array",
@@ -11812,15 +12011,29 @@
11812
12011
  }
11813
12012
  },
11814
12013
  "time": {
11815
- "type": "number",
11816
- "description": "How long after the booking start time the no-show triggers are evaluated",
11817
- "example": 5
12014
+ "anyOf": [
12015
+ {
12016
+ "type": "number",
12017
+ "description": "How long after the booking start time the no-show triggers are evaluated",
12018
+ "example": 5
12019
+ },
12020
+ {
12021
+ "type": "null"
12022
+ }
12023
+ ]
11818
12024
  },
11819
12025
  "timeUnit": {
11820
- "enum": ["DAY", "HOUR", "MINUTE"],
11821
- "type": "string",
11822
- "description": "The unit of the no-show time value",
11823
- "example": "MINUTE"
12026
+ "anyOf": [
12027
+ {
12028
+ "enum": ["DAY", "HOUR", "MINUTE"],
12029
+ "type": "string",
12030
+ "description": "The unit of the no-show time value",
12031
+ "example": "MINUTE"
12032
+ },
12033
+ {
12034
+ "type": "null"
12035
+ }
12036
+ ]
11824
12037
  },
11825
12038
  "version": {
11826
12039
  "enum": ["2021-10-20", "2026-07-27"],
@@ -11832,7 +12045,8 @@
11832
12045
  "type": "number"
11833
12046
  },
11834
12047
  "id": {
11835
- "type": "number"
12048
+ "type": "string",
12049
+ "format": "uuid"
11836
12050
  },
11837
12051
  "subscriberUrl": {
11838
12052
  "type": "string"
@@ -11965,7 +12179,7 @@
11965
12179
  }
11966
12180
  },
11967
12181
  "source": {
11968
- "sha256": "9f7429da3949e89a21738b7ffdf754f0b896f1701042161ae1b88c22e5efc753",
12182
+ "sha256": "d2eb88f3737d5944e84f0205dab67e95296c57a9773d500ff2b9f4748f9cd43c",
11969
12183
  "url": "https://cal.com/docs/api-reference/v2/openapi.json"
11970
12184
  }
11971
12185
  }