@automate.ax/integration-contracts 0.152.1 → 0.152.3

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.
@@ -1379,8 +1379,15 @@
1379
1379
  "example": "C2QujeCh8ZnC7al2InWR"
1380
1380
  },
1381
1381
  "email": {
1382
- "type": "string",
1383
- "example": "JohnDeo@gmail.com"
1382
+ "anyOf": [
1383
+ {
1384
+ "type": "string",
1385
+ "example": "JohnDeo@gmail.com"
1386
+ },
1387
+ {
1388
+ "type": "null"
1389
+ }
1390
+ ]
1384
1391
  },
1385
1392
  "timezone": {
1386
1393
  "anyOf": [
@@ -1398,8 +1405,15 @@
1398
1405
  "example": "DE"
1399
1406
  },
1400
1407
  "source": {
1401
- "type": "string",
1402
- "example": "xyz form"
1408
+ "anyOf": [
1409
+ {
1410
+ "type": "string",
1411
+ "example": "xyz form"
1412
+ },
1413
+ {
1414
+ "type": "null"
1415
+ }
1416
+ ]
1403
1417
  },
1404
1418
  "dateAdded": {
1405
1419
  "type": "string",
@@ -1419,8 +1433,15 @@
1419
1433
  }
1420
1434
  },
1421
1435
  "businessId": {
1422
- "type": "string",
1423
- "example": "641c094001436dbc2081e642"
1436
+ "anyOf": [
1437
+ {
1438
+ "type": "string",
1439
+ "example": "641c094001436dbc2081e642"
1440
+ },
1441
+ {
1442
+ "type": "null"
1443
+ }
1444
+ ]
1424
1445
  },
1425
1446
  "attributions": {
1426
1447
  "type": "array",
@@ -2499,14 +2520,28 @@
2499
2520
  "example": "John Doe Company"
2500
2521
  },
2501
2522
  "email": {
2502
- "type": "string",
2503
- "description": "Primary email address of the contact",
2504
- "example": "johndoe@mailingdomain.com"
2523
+ "anyOf": [
2524
+ {
2525
+ "type": "string",
2526
+ "description": "Primary email address of the contact",
2527
+ "example": "johndoe@mailingdomain.com"
2528
+ },
2529
+ {
2530
+ "type": "null"
2531
+ }
2532
+ ]
2505
2533
  },
2506
2534
  "phone": {
2507
- "type": "string",
2508
- "description": "Primary phone number of the contact",
2509
- "example": "+15550001234"
2535
+ "anyOf": [
2536
+ {
2537
+ "type": "string",
2538
+ "description": "Primary phone number of the contact",
2539
+ "example": "+15550001234"
2540
+ },
2541
+ {
2542
+ "type": "null"
2543
+ }
2544
+ ]
2510
2545
  }
2511
2546
  },
2512
2547
  "required": [
@@ -2517,9 +2552,7 @@
2517
2552
  "type",
2518
2553
  "unreadCount",
2519
2554
  "fullName",
2520
- "contactName",
2521
- "email",
2522
- "phone"
2555
+ "contactName"
2523
2556
  ]
2524
2557
  },
2525
2558
  "conversations.CreateConversationSuccessResponse": {
@@ -3041,9 +3074,13 @@
3041
3074
  "description": "Message status",
3042
3075
  "example": "delivered",
3043
3076
  "enum": ["delivered", "failed", "pending", "read"]
3077
+ },
3078
+ "threadId": {
3079
+ "description": "Email conversation thread ID.",
3080
+ "type": "string"
3044
3081
  }
3045
3082
  },
3046
- "required": ["conversationId", "messageId", "status"]
3083
+ "required": ["conversationId", "messageId"]
3047
3084
  },
3048
3085
  "forms.ContactSessionIds": {
3049
3086
  "type": "object",
@@ -3808,8 +3845,15 @@
3808
3845
  ]
3809
3846
  },
3810
3847
  "email": {
3811
- "type": "string",
3812
- "example": "john@deo.com"
3848
+ "anyOf": [
3849
+ {
3850
+ "type": "string",
3851
+ "example": "john@deo.com"
3852
+ },
3853
+ {
3854
+ "type": "null"
3855
+ }
3856
+ ]
3813
3857
  },
3814
3858
  "phone": {
3815
3859
  "anyOf": [
@@ -3117,7 +3117,7 @@ export declare namespace HighLevelContacts {
3117
3117
  * @example
3118
3118
  * JohnDeo@gmail.com
3119
3119
  */
3120
- email?: string;
3120
+ email?: string | null;
3121
3121
  /**
3122
3122
  * @example
3123
3123
  * Asia / Calcutta
@@ -3132,7 +3132,7 @@ export declare namespace HighLevelContacts {
3132
3132
  * @example
3133
3133
  * xyz form
3134
3134
  */
3135
- source?: string;
3135
+ source?: string | null;
3136
3136
  /**
3137
3137
  * @example
3138
3138
  * 2020-10-29T09:31:30.255Z
@@ -3144,7 +3144,7 @@ export declare namespace HighLevelContacts {
3144
3144
  * @example
3145
3145
  * 641c094001436dbc2081e642
3146
3146
  */
3147
- businessId?: string;
3147
+ businessId?: string | null;
3148
3148
  attributions?: components["schemas"]["AttributionSource"][];
3149
3149
  /**
3150
3150
  * @example
@@ -5443,14 +5443,14 @@ export declare namespace HighLevelConversations {
5443
5443
  * @example
5444
5444
  * johndoe@mailingdomain.com
5445
5445
  */
5446
- email: string;
5446
+ email?: string | null;
5447
5447
  /**
5448
5448
  * Primary phone number of the contact
5449
5449
  *
5450
5450
  * @example
5451
5451
  * ;+15550001234
5452
5452
  */
5453
- phone: string;
5453
+ phone?: string | null;
5454
5454
  };
5455
5455
  CreateConversationDto: {
5456
5456
  /**
@@ -6127,7 +6127,9 @@ export declare namespace HighLevelConversations {
6127
6127
  *
6128
6128
  * @enum {string}
6129
6129
  */
6130
- status: "delivered" | "failed" | "pending" | "read";
6130
+ status?: "delivered" | "failed" | "pending" | "read";
6131
+ /** Email conversation thread ID. */
6132
+ threadId?: string;
6131
6133
  };
6132
6134
  StartAfterArrayNumberSchema: {
6133
6135
  /**
@@ -7599,7 +7601,7 @@ export declare namespace HighLevelOpportunities {
7599
7601
  * @example
7600
7602
  * john@deo.com
7601
7603
  */
7602
- email?: string;
7604
+ email?: string | null;
7603
7605
  /**
7604
7606
  * @example
7605
7607
  * +1202-555-0107
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/integration-contracts",
3
- "version": "0.152.1",
3
+ "version": "0.152.3",
4
4
  "description": "Shared integration payload contracts and provider primitives for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@anthropic-ai/sdk": "0.123.0",
75
- "@automate.ax/codec": "0.152.1",
75
+ "@automate.ax/codec": "0.152.3",
76
76
  "@cfworker/json-schema": "^4.1.1",
77
77
  "@googleapis/calendar": "^16.0.0",
78
78
  "@googleapis/forms": "^6.0.1",
@@ -1379,8 +1379,15 @@
1379
1379
  "example": "C2QujeCh8ZnC7al2InWR"
1380
1380
  },
1381
1381
  "email": {
1382
- "type": "string",
1383
- "example": "JohnDeo@gmail.com"
1382
+ "anyOf": [
1383
+ {
1384
+ "type": "string",
1385
+ "example": "JohnDeo@gmail.com"
1386
+ },
1387
+ {
1388
+ "type": "null"
1389
+ }
1390
+ ]
1384
1391
  },
1385
1392
  "timezone": {
1386
1393
  "anyOf": [
@@ -1398,8 +1405,15 @@
1398
1405
  "example": "DE"
1399
1406
  },
1400
1407
  "source": {
1401
- "type": "string",
1402
- "example": "xyz form"
1408
+ "anyOf": [
1409
+ {
1410
+ "type": "string",
1411
+ "example": "xyz form"
1412
+ },
1413
+ {
1414
+ "type": "null"
1415
+ }
1416
+ ]
1403
1417
  },
1404
1418
  "dateAdded": {
1405
1419
  "type": "string",
@@ -1419,8 +1433,15 @@
1419
1433
  }
1420
1434
  },
1421
1435
  "businessId": {
1422
- "type": "string",
1423
- "example": "641c094001436dbc2081e642"
1436
+ "anyOf": [
1437
+ {
1438
+ "type": "string",
1439
+ "example": "641c094001436dbc2081e642"
1440
+ },
1441
+ {
1442
+ "type": "null"
1443
+ }
1444
+ ]
1424
1445
  },
1425
1446
  "attributions": {
1426
1447
  "type": "array",
@@ -2499,14 +2520,28 @@
2499
2520
  "example": "John Doe Company"
2500
2521
  },
2501
2522
  "email": {
2502
- "type": "string",
2503
- "description": "Primary email address of the contact",
2504
- "example": "johndoe@mailingdomain.com"
2523
+ "anyOf": [
2524
+ {
2525
+ "type": "string",
2526
+ "description": "Primary email address of the contact",
2527
+ "example": "johndoe@mailingdomain.com"
2528
+ },
2529
+ {
2530
+ "type": "null"
2531
+ }
2532
+ ]
2505
2533
  },
2506
2534
  "phone": {
2507
- "type": "string",
2508
- "description": "Primary phone number of the contact",
2509
- "example": "+15550001234"
2535
+ "anyOf": [
2536
+ {
2537
+ "type": "string",
2538
+ "description": "Primary phone number of the contact",
2539
+ "example": "+15550001234"
2540
+ },
2541
+ {
2542
+ "type": "null"
2543
+ }
2544
+ ]
2510
2545
  }
2511
2546
  },
2512
2547
  "required": [
@@ -2517,9 +2552,7 @@
2517
2552
  "type",
2518
2553
  "unreadCount",
2519
2554
  "fullName",
2520
- "contactName",
2521
- "email",
2522
- "phone"
2555
+ "contactName"
2523
2556
  ]
2524
2557
  },
2525
2558
  "conversations.CreateConversationSuccessResponse": {
@@ -3041,9 +3074,13 @@
3041
3074
  "description": "Message status",
3042
3075
  "example": "delivered",
3043
3076
  "enum": ["delivered", "failed", "pending", "read"]
3077
+ },
3078
+ "threadId": {
3079
+ "description": "Email conversation thread ID.",
3080
+ "type": "string"
3044
3081
  }
3045
3082
  },
3046
- "required": ["conversationId", "messageId", "status"]
3083
+ "required": ["conversationId", "messageId"]
3047
3084
  },
3048
3085
  "forms.ContactSessionIds": {
3049
3086
  "type": "object",
@@ -3808,8 +3845,15 @@
3808
3845
  ]
3809
3846
  },
3810
3847
  "email": {
3811
- "type": "string",
3812
- "example": "john@deo.com"
3848
+ "anyOf": [
3849
+ {
3850
+ "type": "string",
3851
+ "example": "john@deo.com"
3852
+ },
3853
+ {
3854
+ "type": "null"
3855
+ }
3856
+ ]
3813
3857
  },
3814
3858
  "phone": {
3815
3859
  "anyOf": [
@@ -3210,7 +3210,7 @@ export namespace HighLevelContacts {
3210
3210
  * @example
3211
3211
  * JohnDeo@gmail.com
3212
3212
  */
3213
- email?: string
3213
+ email?: string | null
3214
3214
  /**
3215
3215
  * @example
3216
3216
  * Asia / Calcutta
@@ -3225,7 +3225,7 @@ export namespace HighLevelContacts {
3225
3225
  * @example
3226
3226
  * xyz form
3227
3227
  */
3228
- source?: string
3228
+ source?: string | null
3229
3229
  /**
3230
3230
  * @example
3231
3231
  * 2020-10-29T09:31:30.255Z
@@ -3237,7 +3237,7 @@ export namespace HighLevelContacts {
3237
3237
  * @example
3238
3238
  * 641c094001436dbc2081e642
3239
3239
  */
3240
- businessId?: string
3240
+ businessId?: string | null
3241
3241
  attributions?: components["schemas"]["AttributionSource"][]
3242
3242
  /**
3243
3243
  * @example
@@ -5657,14 +5657,14 @@ export namespace HighLevelConversations {
5657
5657
  * @example
5658
5658
  * johndoe@mailingdomain.com
5659
5659
  */
5660
- email: string
5660
+ email?: string | null
5661
5661
  /**
5662
5662
  * Primary phone number of the contact
5663
5663
  *
5664
5664
  * @example
5665
5665
  * ;+15550001234
5666
5666
  */
5667
- phone: string
5667
+ phone?: string | null
5668
5668
  }
5669
5669
  CreateConversationDto: {
5670
5670
  /**
@@ -6411,7 +6411,9 @@ export namespace HighLevelConversations {
6411
6411
  *
6412
6412
  * @enum {string}
6413
6413
  */
6414
- status: "delivered" | "failed" | "pending" | "read"
6414
+ status?: "delivered" | "failed" | "pending" | "read"
6415
+ /** Email conversation thread ID. */
6416
+ threadId?: string
6415
6417
  }
6416
6418
  StartAfterArrayNumberSchema: {
6417
6419
  /**
@@ -7960,7 +7962,7 @@ export namespace HighLevelOpportunities {
7960
7962
  * @example
7961
7963
  * john@deo.com
7962
7964
  */
7963
- email?: string
7965
+ email?: string | null
7964
7966
  /**
7965
7967
  * @example
7966
7968
  * +1202-555-0107