@automate.ax/integration-contracts 0.152.0 → 0.152.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.
@@ -58,7 +58,9 @@ export function getHighLevelApi(account) {
58
58
  pathValues.set(name, inputRecord[name]);
59
59
  }
60
60
  for (const { name } of definition.queryParameters) {
61
- queryValues.set(name, inputRecord[name]);
61
+ queryValues.set(name, inputRecord[name] === undefined
62
+ ? queryParameterDefault(definition.inputSchema, name)
63
+ : inputRecord[name]);
62
64
  }
63
65
  for (const name of definition.bodyParameters) {
64
66
  if (inputRecord[name] !== undefined)
@@ -122,6 +124,27 @@ export function getHighLevelApi(account) {
122
124
  },
123
125
  };
124
126
  }
127
+ /**
128
+ * Reads one documented top-level query default from a generated input schema.
129
+ *
130
+ * @param schema - Generated operation input schema.
131
+ * @param name - Public query parameter name.
132
+ */
133
+ function queryParameterDefault(schema, name) {
134
+ const properties = schema.properties;
135
+ if (!isRecord(properties))
136
+ return undefined;
137
+ const property = properties[name];
138
+ return isRecord(property) ? property.default : undefined;
139
+ }
140
+ /**
141
+ * Whether one unknown JSON value is an object record.
142
+ *
143
+ * @param value - Candidate value.
144
+ */
145
+ function isRecord(value) {
146
+ return typeof value === "object" && value !== null && !Array.isArray(value);
147
+ }
125
148
  /**
126
149
  * Encodes one required path parameter.
127
150
  *
@@ -330,10 +330,18 @@
330
330
  },
331
331
  "openHours": {
332
332
  "description": "This is only to set the standard availability. For custom availability, use the availabilities property",
333
- "type": "array",
334
- "items": {
335
- "$ref": "#/$defs/calendars.OpenHour"
336
- }
333
+ "anyOf": [
334
+ {
335
+ "items": {
336
+ "$ref": "#/$defs/calendars.OpenHour"
337
+ },
338
+ "type": "array"
339
+ },
340
+ {
341
+ "additionalProperties": true,
342
+ "type": "object"
343
+ }
344
+ ]
337
345
  },
338
346
  "enableRecurring": {
339
347
  "type": "boolean",
@@ -518,22 +526,22 @@
518
526
  ]
519
527
  },
520
528
  "startTime": {
521
- "type": "object",
529
+ "type": "string",
522
530
  "description": "Start Time",
523
531
  "example": "2023-09-25T16:00:00+05:30"
524
532
  },
525
533
  "endTime": {
526
- "type": "object",
534
+ "type": "string",
527
535
  "description": "End Time",
528
536
  "example": "2023-09-25T16:00:00+05:30"
529
537
  },
530
538
  "dateAdded": {
531
- "type": "object",
539
+ "type": "string",
532
540
  "description": "Date Added",
533
541
  "example": "2023-09-25T16:00:00+05:30"
534
542
  },
535
543
  "dateUpdated": {
536
- "type": "object",
544
+ "type": "string",
537
545
  "description": "Date Updated",
538
546
  "example": "2023-09-25T16:00:00+05:30"
539
547
  },
@@ -563,11 +571,6 @@
563
571
  "title",
564
572
  "calendarId",
565
573
  "locationId",
566
- "contactId",
567
- "groupId",
568
- "appointmentStatus",
569
- "assignedUserId",
570
- "users",
571
574
  "startTime",
572
575
  "endTime",
573
576
  "dateAdded",
@@ -625,15 +628,22 @@
625
628
  "type": "object",
626
629
  "properties": {
627
630
  "userId": {
628
- "type": "string",
629
- "description": "The ID of the user who created or updated the appointment"
631
+ "anyOf": [
632
+ {
633
+ "type": "string",
634
+ "description": "The ID of the user who created or updated the appointment"
635
+ },
636
+ {
637
+ "type": "null"
638
+ }
639
+ ]
630
640
  },
631
641
  "source": {
632
642
  "type": "string",
633
643
  "description": "The source of the appointment"
634
644
  }
635
645
  },
636
- "required": ["source"]
646
+ "required": []
637
647
  },
638
648
  "calendars.DeleteEventSuccessfulResponseDto": {
639
649
  "type": "object",
@@ -1373,8 +1383,15 @@
1373
1383
  "example": "JohnDeo@gmail.com"
1374
1384
  },
1375
1385
  "timezone": {
1376
- "type": "string",
1377
- "example": "Asia/Calcutta"
1386
+ "anyOf": [
1387
+ {
1388
+ "type": "string",
1389
+ "example": "Asia/Calcutta"
1390
+ },
1391
+ {
1392
+ "type": "null"
1393
+ }
1394
+ ]
1378
1395
  },
1379
1396
  "country": {
1380
1397
  "type": "string",
@@ -2450,7 +2467,8 @@
2450
2467
  "TYPE_TIKTOK_COMMENT",
2451
2468
  "TYPE_ACTIVITY_WHATSAPP",
2452
2469
  "TYPE_FORM_SUBMISSION",
2453
- "TYPE_SMS_REACTION"
2470
+ "TYPE_SMS_REACTION",
2471
+ "TYPE_NO_SHOW"
2454
2472
  ]
2455
2473
  },
2456
2474
  "type": {
@@ -2495,7 +2513,6 @@
2495
2513
  "id",
2496
2514
  "contactId",
2497
2515
  "locationId",
2498
- "lastMessageBody",
2499
2516
  "lastMessageType",
2500
2517
  "type",
2501
2518
  "unreadCount",
@@ -3674,7 +3691,29 @@
3674
3691
  "stages": {
3675
3692
  "type": "array",
3676
3693
  "items": {
3677
- "type": "array"
3694
+ "additionalProperties": true,
3695
+ "properties": {
3696
+ "id": {
3697
+ "type": "string"
3698
+ },
3699
+ "name": {
3700
+ "type": "string"
3701
+ },
3702
+ "position": {
3703
+ "type": "number"
3704
+ },
3705
+ "showInFunnel": {
3706
+ "type": "boolean"
3707
+ },
3708
+ "showInPieChart": {
3709
+ "type": "boolean"
3710
+ },
3711
+ "stageWinProbability": {
3712
+ "type": "number"
3713
+ }
3714
+ },
3715
+ "required": ["id", "name"],
3716
+ "type": "object"
3678
3717
  }
3679
3718
  },
3680
3719
  "showInFunnel": {
@@ -3720,12 +3759,29 @@
3720
3759
  "example": 2
3721
3760
  },
3722
3761
  "nextPage": {
3723
- "type": "number",
3724
- "example": 3
3762
+ "example": 3,
3763
+ "anyOf": [
3764
+ {
3765
+ "type": "number"
3766
+ },
3767
+ {
3768
+ "type": "string"
3769
+ },
3770
+ {
3771
+ "type": "null"
3772
+ }
3773
+ ]
3725
3774
  },
3726
3775
  "prevPage": {
3727
- "type": "number",
3728
- "example": 1
3776
+ "anyOf": [
3777
+ {
3778
+ "type": "number",
3779
+ "example": 1
3780
+ },
3781
+ {
3782
+ "type": "null"
3783
+ }
3784
+ ]
3729
3785
  }
3730
3786
  }
3731
3787
  },
@@ -3741,16 +3797,30 @@
3741
3797
  "example": "John Deo"
3742
3798
  },
3743
3799
  "companyName": {
3744
- "type": "string",
3745
- "example": "Tesla Inc"
3800
+ "anyOf": [
3801
+ {
3802
+ "type": "string",
3803
+ "example": "Tesla Inc"
3804
+ },
3805
+ {
3806
+ "type": "null"
3807
+ }
3808
+ ]
3746
3809
  },
3747
3810
  "email": {
3748
3811
  "type": "string",
3749
3812
  "example": "john@deo.com"
3750
3813
  },
3751
3814
  "phone": {
3752
- "type": "string",
3753
- "example": "+1202-555-0107"
3815
+ "anyOf": [
3816
+ {
3817
+ "type": "string",
3818
+ "example": "+1202-555-0107"
3819
+ },
3820
+ {
3821
+ "type": "null"
3822
+ }
3823
+ ]
3754
3824
  },
3755
3825
  "tags": {
3756
3826
  "type": "array",
@@ -3784,16 +3854,30 @@
3784
3854
  "example": "e93ba61a-53b3-45e7-985a-c7732dbcdb69"
3785
3855
  },
3786
3856
  "assignedTo": {
3787
- "type": "string",
3788
- "example": "zT46WSCPbudrq4zhWMk6"
3857
+ "anyOf": [
3858
+ {
3859
+ "type": "string",
3860
+ "example": "zT46WSCPbudrq4zhWMk6"
3861
+ },
3862
+ {
3863
+ "type": "null"
3864
+ }
3865
+ ]
3789
3866
  },
3790
3867
  "status": {
3791
3868
  "type": "string",
3792
3869
  "example": "open"
3793
3870
  },
3794
3871
  "source": {
3795
- "type": "string",
3796
- "example": ""
3872
+ "anyOf": [
3873
+ {
3874
+ "type": "string",
3875
+ "example": ""
3876
+ },
3877
+ {
3878
+ "type": "null"
3879
+ }
3880
+ ]
3797
3881
  },
3798
3882
  "lastStatusChangeAt": {
3799
3883
  "type": "string",
@@ -3849,8 +3933,15 @@
3849
3933
  }
3850
3934
  },
3851
3935
  "lostReasonId": {
3852
- "type": "string",
3853
- "example": "zT46WSCPbudrq4zhWMk6"
3936
+ "anyOf": [
3937
+ {
3938
+ "type": "string",
3939
+ "example": "zT46WSCPbudrq4zhWMk6"
3940
+ },
3941
+ {
3942
+ "type": "null"
3943
+ }
3944
+ ]
3854
3945
  },
3855
3946
  "customFields": {
3856
3947
  "type": "array",
@@ -5873,7 +5964,18 @@
5873
5964
  }
5874
5965
  },
5875
5966
  "required": ["startTime", "endTime"],
5876
- "type": "object"
5967
+ "type": "object",
5968
+ "anyOf": [
5969
+ {
5970
+ "required": ["calendarId"]
5971
+ },
5972
+ {
5973
+ "required": ["groupId"]
5974
+ },
5975
+ {
5976
+ "required": ["userId"]
5977
+ }
5978
+ ]
5877
5979
  },
5878
5980
  "locationPlacements": ["query"],
5879
5981
  "locationParameterNames": {
@@ -5974,7 +6076,18 @@
5974
6076
  }
5975
6077
  },
5976
6078
  "required": ["startTime", "endTime"],
5977
- "type": "object"
6079
+ "type": "object",
6080
+ "anyOf": [
6081
+ {
6082
+ "required": ["calendarId"]
6083
+ },
6084
+ {
6085
+ "required": ["groupId"]
6086
+ },
6087
+ {
6088
+ "required": ["userId"]
6089
+ }
6090
+ ]
5978
6091
  },
5979
6092
  "locationPlacements": ["query"],
5980
6093
  "locationParameterNames": {
@@ -8250,6 +8363,32 @@
8250
8363
  "responseMode": "json",
8251
8364
  "requiredScope": "contacts.write"
8252
8365
  },
8366
+ "conversations:cancel-scheduled-email-message": {
8367
+ "apiVersion": "2021-07-28",
8368
+ "bodyParameters": [],
8369
+ "inputSchema": {
8370
+ "additionalProperties": false,
8371
+ "properties": {
8372
+ "emailMessageId": {
8373
+ "example": "ve9EPM428h8vShlRW1KT",
8374
+ "type": "string"
8375
+ }
8376
+ },
8377
+ "required": ["emailMessageId"],
8378
+ "type": "object"
8379
+ },
8380
+ "locationPlacements": [],
8381
+ "locationParameterNames": {},
8382
+ "method": "DELETE",
8383
+ "outputSchema": {
8384
+ "$ref": "#/$defs/conversations.CancelScheduledResponseDto"
8385
+ },
8386
+ "path": "/conversations/messages/email/{emailMessageId}/schedule",
8387
+ "pathParameters": ["emailMessageId"],
8388
+ "queryParameters": [],
8389
+ "responseMode": "json",
8390
+ "requiredScope": "conversations/message.write"
8391
+ },
8253
8392
  "conversations:cancel-scheduled-message": {
8254
8393
  "apiVersion": "2021-04-15",
8255
8394
  "bodyParameters": [],
@@ -9844,7 +9983,7 @@
9844
9983
  "example": "7915dedc-8f18-44d5-8bc3-77c04e994a10"
9845
9984
  },
9846
9985
  "monetaryValue": {
9847
- "type": "object",
9986
+ "type": "number",
9848
9987
  "example": 220
9849
9988
  },
9850
9989
  "assignedTo": {
@@ -1224,7 +1224,9 @@ export declare namespace HighLevelCalendars {
1224
1224
  * This is only to set the standard availability. For custom
1225
1225
  * availability, use the availabilities property
1226
1226
  */
1227
- openHours?: components["schemas"]["OpenHour"][];
1227
+ openHours?: components["schemas"]["OpenHour"][] | {
1228
+ [key: string]: unknown;
1229
+ };
1228
1230
  /**
1229
1231
  * Enable recurring appointments for the calendars. Please note that
1230
1232
  * only one member should be added in the calendar to enable this
@@ -1341,30 +1343,30 @@ export declare namespace HighLevelCalendars {
1341
1343
  * @example
1342
1344
  * 9NkT25Vor1v4aQatFsv2
1343
1345
  */
1344
- contactId: string;
1346
+ contactId?: string;
1345
1347
  /**
1346
1348
  * Group ID
1347
1349
  *
1348
1350
  * @example
1349
1351
  * 9NkT25Vor1v4aQatFsv2
1350
1352
  */
1351
- groupId: string;
1353
+ groupId?: string;
1352
1354
  /**
1353
1355
  * Appointment Status
1354
1356
  *
1355
1357
  * @example
1356
1358
  * confirmed
1357
1359
  */
1358
- appointmentStatus: string;
1360
+ appointmentStatus?: string;
1359
1361
  /**
1360
1362
  * AssignedUser - the primary owner of an appointment
1361
1363
  *
1362
1364
  * @example
1363
1365
  * YlWd2wuCAZQzh2cH1fVZ
1364
1366
  */
1365
- assignedUserId: string;
1367
+ assignedUserId?: string;
1366
1368
  /** Users - the secondary owners of an appointment. */
1367
- users: string[];
1369
+ users?: string[];
1368
1370
  /**
1369
1371
  * Notes
1370
1372
  *
@@ -1398,28 +1400,28 @@ export declare namespace HighLevelCalendars {
1398
1400
  * @example
1399
1401
  * 2023-09-25T16:00:00+05:30
1400
1402
  */
1401
- startTime: Record<string, never>;
1403
+ startTime: string;
1402
1404
  /**
1403
1405
  * End Time
1404
1406
  *
1405
1407
  * @example
1406
1408
  * 2023-09-25T16:00:00+05:30
1407
1409
  */
1408
- endTime: Record<string, never>;
1410
+ endTime: string;
1409
1411
  /**
1410
1412
  * Date Added
1411
1413
  *
1412
1414
  * @example
1413
1415
  * 2023-09-25T16:00:00+05:30
1414
1416
  */
1415
- dateAdded: Record<string, never>;
1417
+ dateAdded: string;
1416
1418
  /**
1417
1419
  * Date Updated
1418
1420
  *
1419
1421
  * @example
1420
1422
  * 2023-09-25T16:00:00+05:30
1421
1423
  */
1422
- dateUpdated: Record<string, never>;
1424
+ dateUpdated: string;
1423
1425
  /** Ids of associated resources rooms and/or equipments */
1424
1426
  assignedResources?: string[];
1425
1427
  /** Appointment booked by metadata */
@@ -1677,9 +1679,9 @@ export declare namespace HighLevelCalendars {
1677
1679
  };
1678
1680
  CreatedOrUpdatedBy: {
1679
1681
  /** The ID of the user who created or updated the appointment */
1680
- userId?: string;
1682
+ userId?: string | null;
1681
1683
  /** The source of the appointment */
1682
- source: string;
1684
+ source?: string;
1683
1685
  };
1684
1686
  DeleteAppointmentSchema: Record<string, never>;
1685
1687
  DeleteEventSuccessfulResponseDto: {
@@ -3120,7 +3122,7 @@ export declare namespace HighLevelContacts {
3120
3122
  * @example
3121
3123
  * Asia / Calcutta
3122
3124
  */
3123
- timezone?: string;
3125
+ timezone?: string | null;
3124
3126
  /**
3125
3127
  * @example
3126
3128
  * DE
@@ -5030,6 +5032,28 @@ export declare namespace HighLevelConversations {
5030
5032
  patch?: never;
5031
5033
  trace?: never;
5032
5034
  };
5035
+ "/conversations/messages/email/{emailMessageId}/schedule": {
5036
+ parameters: {
5037
+ query?: never;
5038
+ header?: never;
5039
+ path?: never;
5040
+ cookie?: never;
5041
+ };
5042
+ get?: never;
5043
+ put?: never;
5044
+ post?: never;
5045
+ /**
5046
+ * Cancel a scheduled email message.
5047
+ *
5048
+ * Post the messageId for the API to delete a scheduled email message. <br
5049
+ * />
5050
+ */
5051
+ delete: operations["cancel-scheduled-email-message"];
5052
+ options?: never;
5053
+ head?: never;
5054
+ patch?: never;
5055
+ trace?: never;
5056
+ };
5033
5057
  "/conversations/messages/{id}": {
5034
5058
  parameters: {
5035
5059
  query?: never;
@@ -5372,7 +5396,7 @@ export declare namespace HighLevelConversations {
5372
5396
  * @example
5373
5397
  * This is a sample message body
5374
5398
  */
5375
- lastMessageBody: string;
5399
+ lastMessageBody?: string;
5376
5400
  /**
5377
5401
  * Channel/type of the most recent message (SMS, Email, Call, etc)
5378
5402
  *
@@ -5381,7 +5405,7 @@ export declare namespace HighLevelConversations {
5381
5405
  *
5382
5406
  * @enum {string}
5383
5407
  */
5384
- lastMessageType: "TYPE_CALL" | "TYPE_SMS" | "TYPE_RCS" | "TYPE_EMAIL" | "TYPE_SMS_REVIEW_REQUEST" | "TYPE_WEBCHAT" | "TYPE_SMS_NO_SHOW_REQUEST" | "TYPE_CAMPAIGN_SMS" | "TYPE_CAMPAIGN_CALL" | "TYPE_CAMPAIGN_EMAIL" | "TYPE_CAMPAIGN_VOICEMAIL" | "TYPE_FACEBOOK" | "TYPE_CAMPAIGN_FACEBOOK" | "TYPE_CAMPAIGN_MANUAL_CALL" | "TYPE_CAMPAIGN_MANUAL_SMS" | "TYPE_GMB" | "TYPE_CAMPAIGN_GMB" | "TYPE_REVIEW" | "TYPE_INSTAGRAM" | "TYPE_WHATSAPP" | "TYPE_CUSTOM_SMS" | "TYPE_CUSTOM_EMAIL" | "TYPE_CUSTOM_PROVIDER_SMS" | "TYPE_CUSTOM_PROVIDER_EMAIL" | "TYPE_IVR_CALL" | "TYPE_ACTIVITY_CONTACT" | "TYPE_ACTIVITY_INVOICE" | "TYPE_ACTIVITY_PAYMENT" | "TYPE_ACTIVITY_OPPORTUNITY" | "TYPE_LIVE_CHAT" | "TYPE_LIVE_CHAT_INFO_MESSAGE" | "TYPE_ACTIVITY_APPOINTMENT" | "TYPE_FACEBOOK_COMMENT" | "TYPE_INSTAGRAM_COMMENT" | "TYPE_CUSTOM_CALL" | "TYPE_INTERNAL_COMMENT" | "TYPE_ACTIVITY_EMPLOYEE_ACTION_LOG" | "TYPE_TIKTOK" | "TYPE_TIKTOK_COMMENT" | "TYPE_ACTIVITY_WHATSAPP" | "TYPE_FORM_SUBMISSION" | "TYPE_SMS_REACTION";
5408
+ lastMessageType: "TYPE_CALL" | "TYPE_SMS" | "TYPE_RCS" | "TYPE_EMAIL" | "TYPE_SMS_REVIEW_REQUEST" | "TYPE_WEBCHAT" | "TYPE_SMS_NO_SHOW_REQUEST" | "TYPE_CAMPAIGN_SMS" | "TYPE_CAMPAIGN_CALL" | "TYPE_CAMPAIGN_EMAIL" | "TYPE_CAMPAIGN_VOICEMAIL" | "TYPE_FACEBOOK" | "TYPE_CAMPAIGN_FACEBOOK" | "TYPE_CAMPAIGN_MANUAL_CALL" | "TYPE_CAMPAIGN_MANUAL_SMS" | "TYPE_GMB" | "TYPE_CAMPAIGN_GMB" | "TYPE_REVIEW" | "TYPE_INSTAGRAM" | "TYPE_WHATSAPP" | "TYPE_CUSTOM_SMS" | "TYPE_CUSTOM_EMAIL" | "TYPE_CUSTOM_PROVIDER_SMS" | "TYPE_CUSTOM_PROVIDER_EMAIL" | "TYPE_IVR_CALL" | "TYPE_ACTIVITY_CONTACT" | "TYPE_ACTIVITY_INVOICE" | "TYPE_ACTIVITY_PAYMENT" | "TYPE_ACTIVITY_OPPORTUNITY" | "TYPE_LIVE_CHAT" | "TYPE_LIVE_CHAT_INFO_MESSAGE" | "TYPE_ACTIVITY_APPOINTMENT" | "TYPE_FACEBOOK_COMMENT" | "TYPE_INSTAGRAM_COMMENT" | "TYPE_CUSTOM_CALL" | "TYPE_INTERNAL_COMMENT" | "TYPE_ACTIVITY_EMPLOYEE_ACTION_LOG" | "TYPE_TIKTOK" | "TYPE_TIKTOK_COMMENT" | "TYPE_ACTIVITY_WHATSAPP" | "TYPE_FORM_SUBMISSION" | "TYPE_SMS_REACTION" | "TYPE_NO_SHOW";
5385
5409
  /**
5386
5410
  * Primary channel/type of the conversation (Phone, Email, etc)
5387
5411
  *
@@ -6316,6 +6340,29 @@ export declare namespace HighLevelConversations {
6316
6340
  };
6317
6341
  };
6318
6342
  };
6343
+ "cancel-scheduled-email-message": {
6344
+ parameters: {
6345
+ query?: never;
6346
+ header?: never;
6347
+ path: {
6348
+ /** Email Message Id */
6349
+ emailMessageId: string;
6350
+ };
6351
+ cookie?: never;
6352
+ };
6353
+ requestBody?: never;
6354
+ responses: {
6355
+ /** The scheduled email message was cancelled successfully */
6356
+ 200: {
6357
+ headers: {
6358
+ [name: string]: unknown;
6359
+ };
6360
+ content: {
6361
+ "application/json": components["schemas"]["CancelScheduledResponseDto"];
6362
+ };
6363
+ };
6364
+ };
6365
+ };
6319
6366
  "get-message": {
6320
6367
  parameters: {
6321
6368
  query?: never;
@@ -7467,7 +7514,16 @@ export declare namespace HighLevelOpportunities {
7467
7514
  * new pipeline()
7468
7515
  */
7469
7516
  name?: string;
7470
- stages?: unknown[][];
7517
+ stages?: ({
7518
+ id: string;
7519
+ name: string;
7520
+ position?: number;
7521
+ showInFunnel?: boolean;
7522
+ showInPieChart?: boolean;
7523
+ stageWinProbability?: number;
7524
+ } & {
7525
+ [key: string]: unknown;
7526
+ })[];
7471
7527
  /**
7472
7528
  * @example
7473
7529
  * false
@@ -7516,12 +7572,12 @@ export declare namespace HighLevelOpportunities {
7516
7572
  * @example
7517
7573
  * 3
7518
7574
  */
7519
- nextPage?: number;
7575
+ nextPage?: number | string | null;
7520
7576
  /**
7521
7577
  * @example
7522
7578
  * 1
7523
7579
  */
7524
- prevPage?: number;
7580
+ prevPage?: number | null;
7525
7581
  };
7526
7582
  SearchOpportunitiesContactResponseSchema: {
7527
7583
  /**
@@ -7538,7 +7594,7 @@ export declare namespace HighLevelOpportunities {
7538
7594
  * @example
7539
7595
  * Tesla Inc
7540
7596
  */
7541
- companyName?: string;
7597
+ companyName?: string | null;
7542
7598
  /**
7543
7599
  * @example
7544
7600
  * john@deo.com
@@ -7548,7 +7604,7 @@ export declare namespace HighLevelOpportunities {
7548
7604
  * @example
7549
7605
  * +1202-555-0107
7550
7606
  */
7551
- phone?: string;
7607
+ phone?: string | null;
7552
7608
  tags?: string[];
7553
7609
  };
7554
7610
  SearchOpportunitiesResponseSchema: {
@@ -7581,13 +7637,13 @@ export declare namespace HighLevelOpportunities {
7581
7637
  * @example
7582
7638
  * zT46WSCPbudrq4zhWMk6
7583
7639
  */
7584
- assignedTo?: string;
7640
+ assignedTo?: string | null;
7585
7641
  /**
7586
7642
  * @example
7587
7643
  * open
7588
7644
  */
7589
7645
  status?: string;
7590
- source?: string;
7646
+ source?: string | null;
7591
7647
  /**
7592
7648
  * @example
7593
7649
  * 2021-08-03T04:55:17.355Z
@@ -7636,7 +7692,7 @@ export declare namespace HighLevelOpportunities {
7636
7692
  * @example
7637
7693
  * zT46WSCPbudrq4zhWMk6
7638
7694
  */
7639
- lostReasonId?: string;
7695
+ lostReasonId?: string | null;
7640
7696
  customFields?: components["schemas"]["CustomFieldResponseSchema"][];
7641
7697
  followers?: unknown[][];
7642
7698
  externalObjectId?: string;
@@ -7753,7 +7809,7 @@ export declare namespace HighLevelOpportunities {
7753
7809
  * @example
7754
7810
  * 220
7755
7811
  */
7756
- monetaryValue?: Record<string, never>;
7812
+ monetaryValue?: number;
7757
7813
  /**
7758
7814
  * @example
7759
7815
  * 082goXVW3lIExEQPOnd3
@@ -9136,6 +9192,7 @@ export interface HighLevelOperationMap {
9136
9192
  "conversations:get-message": HighLevelConversations.operations["get-message"];
9137
9193
  "conversations:send-a-new-message": HighLevelConversations.operations["send-a-new-message"];
9138
9194
  "conversations:cancel-scheduled-message": HighLevelConversations.operations["cancel-scheduled-message"];
9195
+ "conversations:cancel-scheduled-email-message": HighLevelConversations.operations["cancel-scheduled-email-message"];
9139
9196
  "conversations:get-message-recording": HighLevelConversations.operations["get-message-recording"];
9140
9197
  "conversations:get-message-transcription": HighLevelConversations.operations["get-message-transcription"];
9141
9198
  "forms:get-forms": HighLevelForms.operations["get-forms"];
@@ -509,6 +509,14 @@ export declare const HIGH_LEVEL_OPERATION_DEFINITIONS: readonly [{
509
509
  readonly product: "conversations";
510
510
  readonly replaySafety: HighLevelReplaySafety;
511
511
  readonly title: string;
512
+ }, {
513
+ readonly alias: "cancelScheduledEmailMessage";
514
+ readonly description: string;
515
+ readonly exportName: "cancelScheduledHighLevelEmailMessage";
516
+ readonly operationId: "cancel-scheduled-email-message";
517
+ readonly product: "conversations";
518
+ readonly replaySafety: HighLevelReplaySafety;
519
+ readonly title: string;
512
520
  }, {
513
521
  readonly alias: "getMessageRecording";
514
522
  readonly description: string;