@ember-home/unbound-ts-client 0.0.41 → 0.0.43

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.
package/dist/index.d.mts CHANGED
@@ -291,12 +291,6 @@ interface APIAddressUpdate {
291
291
  * @memberof APIAddressUpdate
292
292
  */
293
293
  'region'?: string | null;
294
- /**
295
- *
296
- * @type {string}
297
- * @memberof APIAddressUpdate
298
- */
299
- 'addressId': string;
300
294
  }
301
295
  /**
302
296
  *
@@ -533,6 +527,12 @@ interface APIContactCreate1 {
533
527
  * @memberof APIContactCreate1
534
528
  */
535
529
  'primaryPhone'?: string | null;
530
+ /**
531
+ *
532
+ * @type {BaseAddressApi}
533
+ * @memberof APIContactCreate1
534
+ */
535
+ 'primaryAddress'?: BaseAddressApi | null;
536
536
  /**
537
537
  *
538
538
  * @type {string}
@@ -588,6 +588,12 @@ interface APIContactCreate2 {
588
588
  * @memberof APIContactCreate2
589
589
  */
590
590
  'primaryPhone'?: string | null;
591
+ /**
592
+ *
593
+ * @type {BaseAddressApi}
594
+ * @memberof APIContactCreate2
595
+ */
596
+ 'primaryAddress'?: BaseAddressApi | null;
591
597
  /**
592
598
  *
593
599
  * @type {string}
@@ -649,6 +655,12 @@ interface APIContactUpdate {
649
655
  * @memberof APIContactUpdate
650
656
  */
651
657
  'primaryPhone'?: string | null;
658
+ /**
659
+ *
660
+ * @type {BaseAddressApi}
661
+ * @memberof APIContactUpdate
662
+ */
663
+ 'primaryAddress'?: BaseAddressApi | null;
652
664
  /**
653
665
  *
654
666
  * @type {string}
@@ -709,19 +721,13 @@ interface APIConversation {
709
721
  * @type {string}
710
722
  * @memberof APIConversation
711
723
  */
712
- 'createdAt': string;
713
- /**
714
- *
715
- * @type {string}
716
- * @memberof APIConversation
717
- */
718
- 'updatedAt': string;
724
+ 'lastMessageAt'?: string | null;
719
725
  /**
720
726
  *
721
727
  * @type {string}
722
728
  * @memberof APIConversation
723
729
  */
724
- 'lastMessageAt'?: string | null;
730
+ 'lastMessagePreview'?: string | null;
725
731
  /**
726
732
  *
727
733
  * @type {string}
@@ -734,86 +740,12 @@ interface APIConversation {
734
740
  * @memberof APIConversation
735
741
  */
736
742
  'unreadCount': number;
737
- /**
738
- *
739
- * @type {string}
740
- * @memberof APIConversation
741
- */
742
- 'providerType': string;
743
- /**
744
- *
745
- * @type {string}
746
- * @memberof APIConversation
747
- */
748
- 'providerAccountId': string;
749
- }
750
- /**
751
- *
752
- * @export
753
- * @interface APIConversationCreate
754
- */
755
- interface APIConversationCreate {
756
- /**
757
- *
758
- * @type {string}
759
- * @memberof APIConversationCreate
760
- */
761
- 'providerUpdatedAt': string;
762
- /**
763
- *
764
- * @type {ConversationStatus}
765
- * @memberof APIConversationCreate
766
- */
767
- 'status': ConversationStatus;
768
743
  /**
769
744
  *
770
745
  * @type {Conversationtypedata}
771
- * @memberof APIConversationCreate
746
+ * @memberof APIConversation
772
747
  */
773
748
  'conversationTypeData': Conversationtypedata;
774
- /**
775
- *
776
- * @type {string}
777
- * @memberof APIConversationCreate
778
- */
779
- 'providerConversationId': string;
780
- }
781
- /**
782
- *
783
- * @export
784
- * @interface APIConversationUpdate
785
- */
786
- interface APIConversationUpdate {
787
- /**
788
- *
789
- * @type {string}
790
- * @memberof APIConversationUpdate
791
- */
792
- 'providerUpdatedAt': string;
793
- /**
794
- *
795
- * @type {ConversationStatus}
796
- * @memberof APIConversationUpdate
797
- */
798
- 'status': ConversationStatus;
799
- /**
800
- *
801
- * @type {Conversationtypedata1}
802
- * @memberof APIConversationUpdate
803
- */
804
- 'conversationTypeData': Conversationtypedata1;
805
- /**
806
- *
807
- * @type {string}
808
- * @memberof APIConversationUpdate
809
- */
810
- 'updatedBy': string;
811
- /**
812
- *
813
- * @type {string}
814
- * @memberof APIConversationUpdate
815
- */
816
- 'lastReadMessageId'?: string | null;
817
749
  }
818
750
  /**
819
751
  *
@@ -1027,10 +959,10 @@ interface APIManagedPhoneNumber {
1027
959
  interface APIMessage {
1028
960
  /**
1029
961
  *
1030
- * @type {MessageDirection}
962
+ * @type {string}
1031
963
  * @memberof APIMessage
1032
964
  */
1033
- 'direction': MessageDirection;
965
+ 'body': string;
1034
966
  /**
1035
967
  *
1036
968
  * @type {string}
@@ -1061,78 +993,72 @@ interface APIMessage {
1061
993
  * @memberof APIMessage
1062
994
  */
1063
995
  'scheduledAt'?: string | null;
1064
- /**
1065
- *
1066
- * @type {MessageStatus}
1067
- * @memberof APIMessage
1068
- */
1069
- 'status'?: MessageStatus;
1070
996
  /**
1071
997
  *
1072
998
  * @type {string}
1073
999
  * @memberof APIMessage
1074
1000
  */
1075
- 'body': string;
1001
+ 'pausedAt'?: string | null;
1076
1002
  /**
1077
1003
  *
1078
1004
  * @type {string}
1079
1005
  * @memberof APIMessage
1080
1006
  */
1081
- 'channelName': string;
1007
+ 'cancelledAt'?: string | null;
1082
1008
  /**
1083
1009
  *
1084
1010
  * @type {string}
1085
1011
  * @memberof APIMessage
1086
1012
  */
1087
- 'messageId': string;
1013
+ 'cancelledBy'?: string | null;
1088
1014
  /**
1089
1015
  *
1090
- * @type {Messagetypedata}
1016
+ * @type {Participanttypedata}
1091
1017
  * @memberof APIMessage
1092
1018
  */
1093
- 'messageTypeData': Messagetypedata;
1019
+ 'participantTypeData': Participanttypedata;
1094
1020
  /**
1095
1021
  *
1096
1022
  * @type {string}
1097
1023
  * @memberof APIMessage
1098
1024
  */
1099
- 'conversationId': string;
1025
+ 'messageId': string;
1100
1026
  /**
1101
1027
  *
1102
1028
  * @type {string}
1103
1029
  * @memberof APIMessage
1104
1030
  */
1105
- 'createdAt': string;
1031
+ 'conversationId': string;
1106
1032
  /**
1107
1033
  *
1108
- * @type {string}
1034
+ * @type {MessageDirection}
1109
1035
  * @memberof APIMessage
1110
1036
  */
1111
- 'updatedAt': string;
1037
+ 'direction': MessageDirection;
1112
1038
  /**
1113
1039
  *
1114
1040
  * @type {string}
1115
1041
  * @memberof APIMessage
1116
1042
  */
1117
- 'createdByName': string;
1043
+ 'createdAt': string;
1118
1044
  /**
1119
1045
  *
1120
1046
  * @type {string}
1121
1047
  * @memberof APIMessage
1122
1048
  */
1123
- 'updatedByName': string;
1049
+ 'updatedAt': string;
1124
1050
  /**
1125
1051
  *
1126
- * @type {string}
1052
+ * @type {MessageStatus}
1127
1053
  * @memberof APIMessage
1128
1054
  */
1129
- 'providerType'?: string;
1055
+ 'status'?: MessageStatus;
1130
1056
  /**
1131
1057
  *
1132
- * @type {string}
1058
+ * @type {Messagetypedata}
1133
1059
  * @memberof APIMessage
1134
1060
  */
1135
- 'providerAccountId'?: string;
1061
+ 'messageTypeData': Messagetypedata;
1136
1062
  }
1137
1063
  /**
1138
1064
  *
@@ -1142,82 +1068,16 @@ interface APIMessage {
1142
1068
  interface APIMessageCreate {
1143
1069
  /**
1144
1070
  *
1145
- * @type {string}
1146
- * @memberof APIMessageCreate
1147
- */
1148
- 'providerMessageId'?: string;
1149
- /**
1150
- *
1151
- * @type {string}
1152
- * @memberof APIMessageCreate
1153
- */
1154
- 'providerUpdatedAt'?: string;
1155
- /**
1156
- *
1157
- * @type {MessageDirection}
1158
- * @memberof APIMessageCreate
1159
- */
1160
- 'direction': MessageDirection;
1161
- /**
1162
- *
1163
- * @type {string}
1164
- * @memberof APIMessageCreate
1165
- */
1166
- 'sentAt'?: string | null;
1167
- /**
1168
- *
1169
- * @type {string}
1170
- * @memberof APIMessageCreate
1171
- */
1172
- 'deliveredAt'?: string | null;
1173
- /**
1174
- *
1175
- * @type {string}
1176
- * @memberof APIMessageCreate
1177
- */
1178
- 'readAt'?: string | null;
1179
- /**
1180
- *
1181
- * @type {string}
1182
- * @memberof APIMessageCreate
1183
- */
1184
- 'failedAt'?: string | null;
1185
- /**
1186
- *
1187
- * @type {string}
1188
- * @memberof APIMessageCreate
1189
- */
1190
- 'scheduledAt'?: string | null;
1191
- /**
1192
- *
1193
- * @type {MessageStatus}
1071
+ * @type {Messagetypedata1}
1194
1072
  * @memberof APIMessageCreate
1195
1073
  */
1196
- 'status'?: MessageStatus;
1074
+ 'messageTypeData': Messagetypedata1;
1197
1075
  /**
1198
1076
  *
1199
1077
  * @type {string}
1200
1078
  * @memberof APIMessageCreate
1201
1079
  */
1202
1080
  'body': string;
1203
- /**
1204
- *
1205
- * @type {string}
1206
- * @memberof APIMessageCreate
1207
- */
1208
- 'channelName': string;
1209
- /**
1210
- *
1211
- * @type {string}
1212
- * @memberof APIMessageCreate
1213
- */
1214
- 'conversationId': string;
1215
- /**
1216
- *
1217
- * @type {Messagetypedata1}
1218
- * @memberof APIMessageCreate
1219
- */
1220
- 'messageTypeData': Messagetypedata1;
1221
1081
  }
1222
1082
  /**
1223
1083
  *
@@ -1686,6 +1546,29 @@ interface BaseAddressApi {
1686
1546
  */
1687
1547
  'region'?: string | null;
1688
1548
  }
1549
+ /**
1550
+ *
1551
+ * @export
1552
+ * @interface BotApi
1553
+ */
1554
+ interface BotApi {
1555
+ /**
1556
+ *
1557
+ * @type {string}
1558
+ * @memberof BotApi
1559
+ */
1560
+ 'participantType': BotApiParticipantTypeEnum;
1561
+ /**
1562
+ *
1563
+ * @type {Participantname}
1564
+ * @memberof BotApi
1565
+ */
1566
+ 'participantName': Participantname;
1567
+ }
1568
+ declare const BotApiParticipantTypeEnum: {
1569
+ readonly Bot: "BOT";
1570
+ };
1571
+ type BotApiParticipantTypeEnum = typeof BotApiParticipantTypeEnum[keyof typeof BotApiParticipantTypeEnum];
1689
1572
  /**
1690
1573
  *
1691
1574
  * @export
@@ -1752,12 +1635,7 @@ type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationSta
1752
1635
  * @type Conversationtypedata
1753
1636
  * @export
1754
1637
  */
1755
- type Conversationtypedata = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2;
1756
- /**
1757
- * @type Conversationtypedata1
1758
- * @export
1759
- */
1760
- type Conversationtypedata1 = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1 | SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2;
1638
+ type Conversationtypedata = ProviderConversationDataApi | TwilioConversationDataApi | object;
1761
1639
  /**
1762
1640
  *
1763
1641
  * @export
@@ -1815,6 +1693,58 @@ interface EmailApi {
1815
1693
  */
1816
1694
  'email': string;
1817
1695
  }
1696
+ /**
1697
+ *
1698
+ * @export
1699
+ * @interface ExternalStaffApi
1700
+ */
1701
+ interface ExternalStaffApi {
1702
+ /**
1703
+ *
1704
+ * @type {string}
1705
+ * @memberof ExternalStaffApi
1706
+ */
1707
+ 'staffType': ExternalStaffApiStaffTypeEnum;
1708
+ /**
1709
+ *
1710
+ * @type {string}
1711
+ * @memberof ExternalStaffApi
1712
+ */
1713
+ 'contactId': string;
1714
+ }
1715
+ declare const ExternalStaffApiStaffTypeEnum: {
1716
+ readonly ExternalStaff: "EXTERNAL_STAFF";
1717
+ };
1718
+ type ExternalStaffApiStaffTypeEnum = typeof ExternalStaffApiStaffTypeEnum[keyof typeof ExternalStaffApiStaffTypeEnum];
1719
+ /**
1720
+ *
1721
+ * @export
1722
+ * @interface GuestApi
1723
+ */
1724
+ interface GuestApi {
1725
+ /**
1726
+ *
1727
+ * @type {string}
1728
+ * @memberof GuestApi
1729
+ */
1730
+ 'participantType': GuestApiParticipantTypeEnum;
1731
+ /**
1732
+ *
1733
+ * @type {Participantname}
1734
+ * @memberof GuestApi
1735
+ */
1736
+ 'participantName': Participantname;
1737
+ /**
1738
+ *
1739
+ * @type {string}
1740
+ * @memberof GuestApi
1741
+ */
1742
+ 'contactId'?: string | null;
1743
+ }
1744
+ declare const GuestApiParticipantTypeEnum: {
1745
+ readonly Guest: "GUEST";
1746
+ };
1747
+ type GuestApiParticipantTypeEnum = typeof GuestApiParticipantTypeEnum[keyof typeof GuestApiParticipantTypeEnum];
1818
1748
  /**
1819
1749
  *
1820
1750
  * @export
@@ -1896,6 +1826,29 @@ interface HostawayWebhook {
1896
1826
  */
1897
1827
  'data': object;
1898
1828
  }
1829
+ /**
1830
+ *
1831
+ * @export
1832
+ * @interface InternalStaffApi
1833
+ */
1834
+ interface InternalStaffApi {
1835
+ /**
1836
+ *
1837
+ * @type {string}
1838
+ * @memberof InternalStaffApi
1839
+ */
1840
+ 'staffType': InternalStaffApiStaffTypeEnum;
1841
+ /**
1842
+ *
1843
+ * @type {string}
1844
+ * @memberof InternalStaffApi
1845
+ */
1846
+ 'userId': string;
1847
+ }
1848
+ declare const InternalStaffApiStaffTypeEnum: {
1849
+ readonly InternalStaff: "INTERNAL_STAFF";
1850
+ };
1851
+ type InternalStaffApiStaffTypeEnum = typeof InternalStaffApiStaffTypeEnum[keyof typeof InternalStaffApiStaffTypeEnum];
1899
1852
  /**
1900
1853
  *
1901
1854
  * @export
@@ -1990,12 +1943,12 @@ type MessageStatus = typeof MessageStatus[keyof typeof MessageStatus];
1990
1943
  * @type Messagetypedata
1991
1944
  * @export
1992
1945
  */
1993
- type Messagetypedata = ProviderMessageApi | TwilioMessageApi | object;
1946
+ type Messagetypedata = RentalProviderMessageApi | TwilioProviderMessageApi | object;
1994
1947
  /**
1995
1948
  * @type Messagetypedata1
1996
1949
  * @export
1997
1950
  */
1998
- type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
1951
+ type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi3;
1999
1952
  /**
2000
1953
  *
2001
1954
  * @export
@@ -2192,6 +2145,16 @@ declare const PaginationDirection: {
2192
2145
  readonly Backward: "backward";
2193
2146
  };
2194
2147
  type PaginationDirection = typeof PaginationDirection[keyof typeof PaginationDirection];
2148
+ /**
2149
+ * @type Participantname
2150
+ * @export
2151
+ */
2152
+ type Participantname = string;
2153
+ /**
2154
+ * @type Participanttypedata
2155
+ * @export
2156
+ */
2157
+ type Participanttypedata = BotApi | GuestApi | StaffApi;
2195
2158
  /**
2196
2159
  *
2197
2160
  * @export
@@ -2211,6 +2174,25 @@ interface PhoneApi {
2211
2174
  */
2212
2175
  'phone': string;
2213
2176
  }
2177
+ /**
2178
+ *
2179
+ * @export
2180
+ * @interface PhonesApi
2181
+ */
2182
+ interface PhonesApi {
2183
+ /**
2184
+ *
2185
+ * @type {string}
2186
+ * @memberof PhonesApi
2187
+ */
2188
+ 'phone': string;
2189
+ /**
2190
+ *
2191
+ * @type {string}
2192
+ * @memberof PhonesApi
2193
+ */
2194
+ 'contactId'?: string | null;
2195
+ }
2214
2196
  /**
2215
2197
  *
2216
2198
  * @export
@@ -2249,6 +2231,78 @@ interface ProviderAttributionApi {
2249
2231
  */
2250
2232
  'channels': Array<ReservationChannelTypes>;
2251
2233
  }
2234
+ /**
2235
+ *
2236
+ * @export
2237
+ * @enum {string}
2238
+ */
2239
+ declare const ProviderCommunicationType: {
2240
+ readonly Sms: "SMS";
2241
+ readonly Email: "EMAIL";
2242
+ readonly Channel: "CHANNEL";
2243
+ readonly Whatsapp: "WHATSAPP";
2244
+ readonly Note: "NOTE";
2245
+ };
2246
+ type ProviderCommunicationType = typeof ProviderCommunicationType[keyof typeof ProviderCommunicationType];
2247
+ /**
2248
+ *
2249
+ * @export
2250
+ * @interface ProviderConversationDataApi
2251
+ */
2252
+ interface ProviderConversationDataApi {
2253
+ /**
2254
+ *
2255
+ * @type {string}
2256
+ * @memberof ProviderConversationDataApi
2257
+ */
2258
+ 'conversationType': ProviderConversationDataApiConversationTypeEnum;
2259
+ /**
2260
+ *
2261
+ * @type {string}
2262
+ * @memberof ProviderConversationDataApi
2263
+ */
2264
+ 'providerReservationId': string;
2265
+ /**
2266
+ *
2267
+ * @type {string}
2268
+ * @memberof ProviderConversationDataApi
2269
+ */
2270
+ 'providerListingId': string;
2271
+ /**
2272
+ *
2273
+ * @type {string}
2274
+ * @memberof ProviderConversationDataApi
2275
+ */
2276
+ 'providerCreatedAt': string;
2277
+ /**
2278
+ *
2279
+ * @type {string}
2280
+ * @memberof ProviderConversationDataApi
2281
+ */
2282
+ 'listingId': string;
2283
+ /**
2284
+ *
2285
+ * @type {string}
2286
+ * @memberof ProviderConversationDataApi
2287
+ */
2288
+ 'reservationId': string;
2289
+ /**
2290
+ *
2291
+ * @type {string}
2292
+ * @memberof ProviderConversationDataApi
2293
+ */
2294
+ 'contactId'?: string | null;
2295
+ /**
2296
+ *
2297
+ * @type {SubjectApi}
2298
+ * @memberof ProviderConversationDataApi
2299
+ */
2300
+ 'subject': SubjectApi;
2301
+ }
2302
+ declare const ProviderConversationDataApiConversationTypeEnum: {
2303
+ readonly RentalProvider: "RENTAL_PROVIDER";
2304
+ };
2305
+ type ProviderConversationDataApiConversationTypeEnum = typeof ProviderConversationDataApiConversationTypeEnum[keyof typeof ProviderConversationDataApiConversationTypeEnum];
2252
2306
  /**
2253
2307
  *
2254
2308
  * @export
@@ -2297,44 +2351,85 @@ interface ProviderInfoApi {
2297
2351
  * @type {string}
2298
2352
  * @memberof ProviderInfoApi
2299
2353
  */
2300
- 'providerReservationUrl': string | null;
2354
+ 'providerReservationUrl': string | null;
2355
+ }
2356
+ /**
2357
+ *
2358
+ * @export
2359
+ * @interface ProviderPhonesApi
2360
+ */
2361
+ interface ProviderPhonesApi {
2362
+ /**
2363
+ *
2364
+ * @type {string}
2365
+ * @memberof ProviderPhonesApi
2366
+ */
2367
+ 'phone': string;
2368
+ /**
2369
+ *
2370
+ * @type {Array<ProviderAttributionApi>}
2371
+ * @memberof ProviderPhonesApi
2372
+ */
2373
+ 'providers': Array<ProviderAttributionApi>;
2301
2374
  }
2302
2375
  /**
2303
2376
  *
2304
2377
  * @export
2305
- * @interface ProviderMessageApi
2378
+ * @interface ProviderStaffApi
2306
2379
  */
2307
- interface ProviderMessageApi {
2380
+ interface ProviderStaffApi {
2381
+ /**
2382
+ *
2383
+ * @type {string}
2384
+ * @memberof ProviderStaffApi
2385
+ */
2386
+ 'staffType': ProviderStaffApiStaffTypeEnum;
2308
2387
  /**
2309
2388
  *
2310
2389
  * @type {string}
2311
- * @memberof ProviderMessageApi
2390
+ * @memberof ProviderStaffApi
2312
2391
  */
2313
- 'conversationType': ProviderMessageApiConversationTypeEnum;
2392
+ 'providerUserId': string;
2314
2393
  }
2315
- declare const ProviderMessageApiConversationTypeEnum: {
2316
- readonly Provider: "PROVIDER";
2394
+ declare const ProviderStaffApiStaffTypeEnum: {
2395
+ readonly ProviderStaff: "PROVIDER_STAFF";
2317
2396
  };
2318
- type ProviderMessageApiConversationTypeEnum = typeof ProviderMessageApiConversationTypeEnum[keyof typeof ProviderMessageApiConversationTypeEnum];
2397
+ type ProviderStaffApiStaffTypeEnum = typeof ProviderStaffApiStaffTypeEnum[keyof typeof ProviderStaffApiStaffTypeEnum];
2319
2398
  /**
2320
2399
  *
2321
2400
  * @export
2322
- * @interface ProviderPhonesApi
2401
+ * @interface RentalProviderMessageApi
2323
2402
  */
2324
- interface ProviderPhonesApi {
2403
+ interface RentalProviderMessageApi {
2325
2404
  /**
2326
2405
  *
2327
2406
  * @type {string}
2328
- * @memberof ProviderPhonesApi
2407
+ * @memberof RentalProviderMessageApi
2329
2408
  */
2330
- 'phone': string;
2409
+ 'messageType': RentalProviderMessageApiMessageTypeEnum;
2331
2410
  /**
2332
2411
  *
2333
- * @type {Array<ProviderAttributionApi>}
2334
- * @memberof ProviderPhonesApi
2412
+ * @type {string}
2413
+ * @memberof RentalProviderMessageApi
2335
2414
  */
2336
- 'providers': Array<ProviderAttributionApi>;
2415
+ 'providerChannelName': string;
2416
+ /**
2417
+ *
2418
+ * @type {ProviderCommunicationType}
2419
+ * @memberof RentalProviderMessageApi
2420
+ */
2421
+ 'providerCommunicationType': ProviderCommunicationType;
2422
+ /**
2423
+ *
2424
+ * @type {string}
2425
+ * @memberof RentalProviderMessageApi
2426
+ */
2427
+ 'providerId': string;
2337
2428
  }
2429
+ declare const RentalProviderMessageApiMessageTypeEnum: {
2430
+ readonly RentalProvider: "RENTAL_PROVIDER";
2431
+ };
2432
+ type RentalProviderMessageApiMessageTypeEnum = typeof RentalProviderMessageApiMessageTypeEnum[keyof typeof RentalProviderMessageApiMessageTypeEnum];
2338
2433
  /**
2339
2434
  *
2340
2435
  * @export
@@ -2420,24 +2515,24 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 {
2420
2515
  * @type {string}
2421
2516
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2422
2517
  */
2423
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum;
2518
+ 'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum;
2424
2519
  /**
2425
2520
  *
2426
2521
  * @type {string}
2427
2522
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2428
2523
  */
2429
- 'fromManagedPhoneId': string;
2524
+ 'providerChannelName': string;
2430
2525
  /**
2431
2526
  *
2432
- * @type {Array<string>}
2527
+ * @type {ProviderCommunicationType}
2433
2528
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2434
2529
  */
2435
- 'toContactPhoneIds'?: Array<string> | null;
2530
+ 'providerCommunicationType': ProviderCommunicationType;
2436
2531
  }
2437
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum: {
2438
- readonly Twilio: "TWILIO";
2532
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum: {
2533
+ readonly RentalProvider: "RENTAL_PROVIDER";
2439
2534
  };
2440
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum];
2535
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum];
2441
2536
  /**
2442
2537
  *
2443
2538
  * @export
@@ -2449,18 +2544,18 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 {
2449
2544
  * @type {string}
2450
2545
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
2451
2546
  */
2452
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum;
2547
+ 'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum;
2453
2548
  /**
2454
2549
  *
2455
- * @type {Array<string>}
2550
+ * @type {string}
2456
2551
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
2457
2552
  */
2458
- 'emailIds'?: Array<string> | null;
2553
+ 'body': string;
2459
2554
  }
2460
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum: {
2461
- readonly Email: "EMAIL";
2555
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum: {
2556
+ readonly Twilio: "TWILIO";
2462
2557
  };
2463
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum];
2558
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum];
2464
2559
  /**
2465
2560
  *
2466
2561
  * @export
@@ -2472,105 +2567,36 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
2472
2567
  * @type {string}
2473
2568
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2474
2569
  */
2475
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum;
2570
+ 'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum;
2476
2571
  /**
2477
2572
  *
2478
2573
  * @type {string}
2479
2574
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2480
2575
  */
2481
- 'body': string;
2482
- }
2483
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum: {
2484
- readonly Twilio: "TWILIO";
2485
- };
2486
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum];
2487
- /**
2488
- *
2489
- * @export
2490
- * @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2491
- */
2492
- interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
2493
- /**
2494
- *
2495
- * @type {string}
2496
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2497
- */
2498
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum;
2499
- /**
2500
- *
2501
- * @type {string}
2502
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2503
- */
2504
2576
  'outboundFromManagedEmailId'?: string | null;
2505
2577
  /**
2506
2578
  *
2507
2579
  * @type {string}
2508
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2580
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2509
2581
  */
2510
2582
  'subject': string;
2511
2583
  /**
2512
2584
  *
2513
2585
  * @type {string}
2514
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2586
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2515
2587
  */
2516
2588
  'htmlBody': string | null;
2517
2589
  /**
2518
2590
  *
2519
2591
  * @type {string}
2520
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2592
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2521
2593
  */
2522
2594
  'plainBody': string | null;
2523
2595
  }
2524
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum: {
2525
- readonly Email: "EMAIL";
2526
- };
2527
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum];
2528
- /**
2529
- *
2530
- * @export
2531
- * @interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1
2532
- */
2533
- interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1 {
2534
- /**
2535
- *
2536
- * @type {string}
2537
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1
2538
- */
2539
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum;
2540
- /**
2541
- *
2542
- * @type {Array<string>}
2543
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1
2544
- */
2545
- 'toContactPhoneIds'?: Array<string> | null;
2546
- }
2547
- declare const SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum: {
2548
- readonly Twilio: "TWILIO";
2549
- };
2550
- type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum];
2551
- /**
2552
- *
2553
- * @export
2554
- * @interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2
2555
- */
2556
- interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2 {
2557
- /**
2558
- *
2559
- * @type {string}
2560
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2
2561
- */
2562
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum;
2563
- /**
2564
- *
2565
- * @type {Array<string>}
2566
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2
2567
- */
2568
- 'emailIds'?: Array<string> | null;
2569
- }
2570
- declare const SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum: {
2596
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
2571
2597
  readonly Email: "EMAIL";
2572
2598
  };
2573
- type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum];
2599
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
2574
2600
  /**
2575
2601
  *
2576
2602
  * @export
@@ -2585,10 +2611,10 @@ type SrcResourceModelsListingsModelListingBaseSortBy = typeof SrcResourceModelsL
2585
2611
  * @export
2586
2612
  * @enum {string}
2587
2613
  */
2588
- declare const SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy: {
2589
- readonly CreatedAt: "created_at";
2614
+ declare const SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy: {
2615
+ readonly SentAt: "sent_at";
2590
2616
  };
2591
- type SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy = typeof SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy[keyof typeof SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy];
2617
+ type SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy[keyof typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy];
2592
2618
  /**
2593
2619
  *
2594
2620
  * @export
@@ -2601,61 +2627,132 @@ type SrcResourceModelsReservationsModelReservationBaseModelSortBy = typeof SrcRe
2601
2627
  /**
2602
2628
  *
2603
2629
  * @export
2604
- * @interface TwilioInboundSenderTypeDataApi
2630
+ * @interface StaffApi
2605
2631
  */
2606
- interface TwilioInboundSenderTypeDataApi {
2632
+ interface StaffApi {
2607
2633
  /**
2608
2634
  *
2609
2635
  * @type {string}
2610
- * @memberof TwilioInboundSenderTypeDataApi
2636
+ * @memberof StaffApi
2611
2637
  */
2612
- 'direction': TwilioInboundSenderTypeDataApiDirectionEnum;
2638
+ 'participantType': StaffApiParticipantTypeEnum;
2613
2639
  /**
2614
2640
  *
2615
- * @type {string}
2616
- * @memberof TwilioInboundSenderTypeDataApi
2641
+ * @type {Participantname}
2642
+ * @memberof StaffApi
2617
2643
  */
2618
- 'fromPhoneId'?: string | null;
2644
+ 'participantName': Participantname;
2645
+ /**
2646
+ *
2647
+ * @type {Stafftypedata}
2648
+ * @memberof StaffApi
2649
+ */
2650
+ 'staffTypeData': Stafftypedata;
2619
2651
  }
2620
- declare const TwilioInboundSenderTypeDataApiDirectionEnum: {
2621
- readonly Inbound: "INBOUND";
2652
+ declare const StaffApiParticipantTypeEnum: {
2653
+ readonly Staff: "STAFF";
2622
2654
  };
2623
- type TwilioInboundSenderTypeDataApiDirectionEnum = typeof TwilioInboundSenderTypeDataApiDirectionEnum[keyof typeof TwilioInboundSenderTypeDataApiDirectionEnum];
2655
+ type StaffApiParticipantTypeEnum = typeof StaffApiParticipantTypeEnum[keyof typeof StaffApiParticipantTypeEnum];
2656
+ /**
2657
+ * @type Stafftypedata
2658
+ * @export
2659
+ */
2660
+ type Stafftypedata = ExternalStaffApi | InternalStaffApi | ProviderStaffApi;
2624
2661
  /**
2625
2662
  *
2626
2663
  * @export
2627
- * @interface TwilioMessageApi
2664
+ * @interface SubjectApi
2628
2665
  */
2629
- interface TwilioMessageApi {
2666
+ interface SubjectApi {
2630
2667
  /**
2631
2668
  *
2632
2669
  * @type {string}
2633
- * @memberof TwilioMessageApi
2670
+ * @memberof SubjectApi
2634
2671
  */
2635
- 'conversationType': TwilioMessageApiConversationTypeEnum;
2672
+ 'guestName': string;
2636
2673
  /**
2637
2674
  *
2638
2675
  * @type {string}
2639
- * @memberof TwilioMessageApi
2676
+ * @memberof SubjectApi
2640
2677
  */
2641
- 'body'?: string | null;
2678
+ 'channelName': string;
2642
2679
  /**
2643
2680
  *
2644
- * @type {Array<string>}
2645
- * @memberof TwilioMessageApi
2681
+ * @type {string}
2682
+ * @memberof SubjectApi
2646
2683
  */
2647
- 'mediaUrl'?: Array<string> | null;
2684
+ 'arrival': string;
2648
2685
  /**
2649
2686
  *
2650
- * @type {Sendertypedata}
2651
- * @memberof TwilioMessageApi
2687
+ * @type {string}
2688
+ * @memberof SubjectApi
2652
2689
  */
2653
- 'senderTypeData': Sendertypedata;
2690
+ 'departure': string;
2691
+ /**
2692
+ *
2693
+ * @type {string}
2694
+ * @memberof SubjectApi
2695
+ */
2696
+ 'listingName': string;
2697
+ }
2698
+ /**
2699
+ *
2700
+ * @export
2701
+ * @interface TwilioConversationDataApi
2702
+ */
2703
+ interface TwilioConversationDataApi {
2704
+ /**
2705
+ *
2706
+ * @type {string}
2707
+ * @memberof TwilioConversationDataApi
2708
+ */
2709
+ 'conversationType': TwilioConversationDataApiConversationTypeEnum;
2710
+ /**
2711
+ *
2712
+ * @type {string}
2713
+ * @memberof TwilioConversationDataApi
2714
+ */
2715
+ 'fromManagedPhoneId': string;
2716
+ /**
2717
+ *
2718
+ * @type {Array<PhonesApi>}
2719
+ * @memberof TwilioConversationDataApi
2720
+ */
2721
+ 'toPhones': Array<PhonesApi>;
2722
+ /**
2723
+ *
2724
+ * @type {string}
2725
+ * @memberof TwilioConversationDataApi
2726
+ */
2727
+ 'twilioGroupId'?: string | null;
2654
2728
  }
2655
- declare const TwilioMessageApiConversationTypeEnum: {
2729
+ declare const TwilioConversationDataApiConversationTypeEnum: {
2656
2730
  readonly Twilio: "TWILIO";
2657
2731
  };
2658
- type TwilioMessageApiConversationTypeEnum = typeof TwilioMessageApiConversationTypeEnum[keyof typeof TwilioMessageApiConversationTypeEnum];
2732
+ type TwilioConversationDataApiConversationTypeEnum = typeof TwilioConversationDataApiConversationTypeEnum[keyof typeof TwilioConversationDataApiConversationTypeEnum];
2733
+ /**
2734
+ *
2735
+ * @export
2736
+ * @interface TwilioInboundSenderTypeDataApi
2737
+ */
2738
+ interface TwilioInboundSenderTypeDataApi {
2739
+ /**
2740
+ *
2741
+ * @type {string}
2742
+ * @memberof TwilioInboundSenderTypeDataApi
2743
+ */
2744
+ 'direction': TwilioInboundSenderTypeDataApiDirectionEnum;
2745
+ /**
2746
+ *
2747
+ * @type {string}
2748
+ * @memberof TwilioInboundSenderTypeDataApi
2749
+ */
2750
+ 'fromPhoneId'?: string | null;
2751
+ }
2752
+ declare const TwilioInboundSenderTypeDataApiDirectionEnum: {
2753
+ readonly Inbound: "INBOUND";
2754
+ };
2755
+ type TwilioInboundSenderTypeDataApiDirectionEnum = typeof TwilioInboundSenderTypeDataApiDirectionEnum[keyof typeof TwilioInboundSenderTypeDataApiDirectionEnum];
2659
2756
  /**
2660
2757
  *
2661
2758
  * @export
@@ -2679,6 +2776,35 @@ declare const TwilioOutboundSenderTypeDataApiDirectionEnum: {
2679
2776
  readonly Outbound: "OUTBOUND";
2680
2777
  };
2681
2778
  type TwilioOutboundSenderTypeDataApiDirectionEnum = typeof TwilioOutboundSenderTypeDataApiDirectionEnum[keyof typeof TwilioOutboundSenderTypeDataApiDirectionEnum];
2779
+ /**
2780
+ *
2781
+ * @export
2782
+ * @interface TwilioProviderMessageApi
2783
+ */
2784
+ interface TwilioProviderMessageApi {
2785
+ /**
2786
+ *
2787
+ * @type {string}
2788
+ * @memberof TwilioProviderMessageApi
2789
+ */
2790
+ 'messageType': TwilioProviderMessageApiMessageTypeEnum;
2791
+ /**
2792
+ *
2793
+ * @type {Array<string>}
2794
+ * @memberof TwilioProviderMessageApi
2795
+ */
2796
+ 'mediaUrl'?: Array<string> | null;
2797
+ /**
2798
+ *
2799
+ * @type {Sendertypedata}
2800
+ * @memberof TwilioProviderMessageApi
2801
+ */
2802
+ 'senderTypeData': Sendertypedata;
2803
+ }
2804
+ declare const TwilioProviderMessageApiMessageTypeEnum: {
2805
+ readonly Twilio: "TWILIO";
2806
+ };
2807
+ type TwilioProviderMessageApiMessageTypeEnum = typeof TwilioProviderMessageApiMessageTypeEnum[keyof typeof TwilioProviderMessageApiMessageTypeEnum];
2682
2808
  /**
2683
2809
  *
2684
2810
  * @export
@@ -3522,14 +3648,6 @@ declare class ContactsApi extends BaseAPI {
3522
3648
  * @export
3523
3649
  */
3524
3650
  declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration) => {
3525
- /**
3526
- * Conversations Create
3527
- * @summary Conversations Create
3528
- * @param {APIConversationCreate} aPIConversationCreate
3529
- * @param {*} [options] Override http request option.
3530
- * @throws {RequiredError}
3531
- */
3532
- conversationsCreate: (aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3533
3651
  /**
3534
3652
  * Conversations Get
3535
3653
  * @summary Conversations Get
@@ -3539,7 +3657,7 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3539
3657
  */
3540
3658
  conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3541
3659
  /**
3542
- * List all conversations, optionally filtered by contact_id
3660
+ * List all conversations, must filter by contact_id
3543
3661
  * @summary Conversations List
3544
3662
  * @param {string | null} [searchString]
3545
3663
  * @param {string | null} [contactId]
@@ -3552,15 +3670,6 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3552
3670
  * @throws {RequiredError}
3553
3671
  */
3554
3672
  conversationsList: (searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3555
- /**
3556
- * Conversations Update
3557
- * @summary Conversations Update
3558
- * @param {string} conversationId
3559
- * @param {APIConversationUpdate} aPIConversationUpdate
3560
- * @param {*} [options] Override http request option.
3561
- * @throws {RequiredError}
3562
- */
3563
- conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3564
3673
  /**
3565
3674
  * Messages Create
3566
3675
  * @summary Messages Create
@@ -3581,32 +3690,23 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3581
3690
  /**
3582
3691
  * Messages List
3583
3692
  * @summary Messages List
3693
+ * @param {string} [conversationId]
3584
3694
  * @param {string | null} [searchString]
3585
- * @param {string | null} [contactId]
3586
- * @param {string | null} [conversationId]
3587
3695
  * @param {string | null} [cursor] Cursor for keyset paging
3588
3696
  * @param {number} [limit]
3589
3697
  * @param {PaginationDirection} [pageDir] Direction of paging
3590
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
3698
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
3591
3699
  * @param {SortOrder} [sortOrder] Sort order asc/desc
3592
3700
  * @param {*} [options] Override http request option.
3593
3701
  * @throws {RequiredError}
3594
3702
  */
3595
- messagesList: (searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3703
+ messagesList: (conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3596
3704
  };
3597
3705
  /**
3598
3706
  * ConversationsApi - functional programming interface
3599
3707
  * @export
3600
3708
  */
3601
3709
  declare const ConversationsApiFp: (configuration?: Configuration) => {
3602
- /**
3603
- * Conversations Create
3604
- * @summary Conversations Create
3605
- * @param {APIConversationCreate} aPIConversationCreate
3606
- * @param {*} [options] Override http request option.
3607
- * @throws {RequiredError}
3608
- */
3609
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
3610
3710
  /**
3611
3711
  * Conversations Get
3612
3712
  * @summary Conversations Get
@@ -3616,7 +3716,7 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3616
3716
  */
3617
3717
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
3618
3718
  /**
3619
- * List all conversations, optionally filtered by contact_id
3719
+ * List all conversations, must filter by contact_id
3620
3720
  * @summary Conversations List
3621
3721
  * @param {string | null} [searchString]
3622
3722
  * @param {string | null} [contactId]
@@ -3629,15 +3729,6 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3629
3729
  * @throws {RequiredError}
3630
3730
  */
3631
3731
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
3632
- /**
3633
- * Conversations Update
3634
- * @summary Conversations Update
3635
- * @param {string} conversationId
3636
- * @param {APIConversationUpdate} aPIConversationUpdate
3637
- * @param {*} [options] Override http request option.
3638
- * @throws {RequiredError}
3639
- */
3640
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
3641
3732
  /**
3642
3733
  * Messages Create
3643
3734
  * @summary Messages Create
@@ -3658,32 +3749,23 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3658
3749
  /**
3659
3750
  * Messages List
3660
3751
  * @summary Messages List
3752
+ * @param {string} [conversationId]
3661
3753
  * @param {string | null} [searchString]
3662
- * @param {string | null} [contactId]
3663
- * @param {string | null} [conversationId]
3664
3754
  * @param {string | null} [cursor] Cursor for keyset paging
3665
3755
  * @param {number} [limit]
3666
3756
  * @param {PaginationDirection} [pageDir] Direction of paging
3667
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
3757
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
3668
3758
  * @param {SortOrder} [sortOrder] Sort order asc/desc
3669
3759
  * @param {*} [options] Override http request option.
3670
3760
  * @throws {RequiredError}
3671
3761
  */
3672
- messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
3762
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
3673
3763
  };
3674
3764
  /**
3675
3765
  * ConversationsApi - factory interface
3676
3766
  * @export
3677
3767
  */
3678
3768
  declare const ConversationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3679
- /**
3680
- * Conversations Create
3681
- * @summary Conversations Create
3682
- * @param {APIConversationCreate} aPIConversationCreate
3683
- * @param {*} [options] Override http request option.
3684
- * @throws {RequiredError}
3685
- */
3686
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
3687
3769
  /**
3688
3770
  * Conversations Get
3689
3771
  * @summary Conversations Get
@@ -3693,7 +3775,7 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
3693
3775
  */
3694
3776
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
3695
3777
  /**
3696
- * List all conversations, optionally filtered by contact_id
3778
+ * List all conversations, must filter by contact_id
3697
3779
  * @summary Conversations List
3698
3780
  * @param {string | null} [searchString]
3699
3781
  * @param {string | null} [contactId]
@@ -3706,15 +3788,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
3706
3788
  * @throws {RequiredError}
3707
3789
  */
3708
3790
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
3709
- /**
3710
- * Conversations Update
3711
- * @summary Conversations Update
3712
- * @param {string} conversationId
3713
- * @param {APIConversationUpdate} aPIConversationUpdate
3714
- * @param {*} [options] Override http request option.
3715
- * @throws {RequiredError}
3716
- */
3717
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
3718
3791
  /**
3719
3792
  * Messages Create
3720
3793
  * @summary Messages Create
@@ -3735,18 +3808,17 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
3735
3808
  /**
3736
3809
  * Messages List
3737
3810
  * @summary Messages List
3811
+ * @param {string} [conversationId]
3738
3812
  * @param {string | null} [searchString]
3739
- * @param {string | null} [contactId]
3740
- * @param {string | null} [conversationId]
3741
3813
  * @param {string | null} [cursor] Cursor for keyset paging
3742
3814
  * @param {number} [limit]
3743
3815
  * @param {PaginationDirection} [pageDir] Direction of paging
3744
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
3816
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
3745
3817
  * @param {SortOrder} [sortOrder] Sort order asc/desc
3746
3818
  * @param {*} [options] Override http request option.
3747
3819
  * @throws {RequiredError}
3748
3820
  */
3749
- messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
3821
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
3750
3822
  };
3751
3823
  /**
3752
3824
  * ConversationsApi - object-oriented interface
@@ -3755,15 +3827,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
3755
3827
  * @extends {BaseAPI}
3756
3828
  */
3757
3829
  declare class ConversationsApi extends BaseAPI {
3758
- /**
3759
- * Conversations Create
3760
- * @summary Conversations Create
3761
- * @param {APIConversationCreate} aPIConversationCreate
3762
- * @param {*} [options] Override http request option.
3763
- * @throws {RequiredError}
3764
- * @memberof ConversationsApi
3765
- */
3766
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
3767
3830
  /**
3768
3831
  * Conversations Get
3769
3832
  * @summary Conversations Get
@@ -3774,7 +3837,7 @@ declare class ConversationsApi extends BaseAPI {
3774
3837
  */
3775
3838
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
3776
3839
  /**
3777
- * List all conversations, optionally filtered by contact_id
3840
+ * List all conversations, must filter by contact_id
3778
3841
  * @summary Conversations List
3779
3842
  * @param {string | null} [searchString]
3780
3843
  * @param {string | null} [contactId]
@@ -3788,16 +3851,6 @@ declare class ConversationsApi extends BaseAPI {
3788
3851
  * @memberof ConversationsApi
3789
3852
  */
3790
3853
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
3791
- /**
3792
- * Conversations Update
3793
- * @summary Conversations Update
3794
- * @param {string} conversationId
3795
- * @param {APIConversationUpdate} aPIConversationUpdate
3796
- * @param {*} [options] Override http request option.
3797
- * @throws {RequiredError}
3798
- * @memberof ConversationsApi
3799
- */
3800
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
3801
3854
  /**
3802
3855
  * Messages Create
3803
3856
  * @summary Messages Create
@@ -3820,19 +3873,18 @@ declare class ConversationsApi extends BaseAPI {
3820
3873
  /**
3821
3874
  * Messages List
3822
3875
  * @summary Messages List
3876
+ * @param {string} [conversationId]
3823
3877
  * @param {string | null} [searchString]
3824
- * @param {string | null} [contactId]
3825
- * @param {string | null} [conversationId]
3826
3878
  * @param {string | null} [cursor] Cursor for keyset paging
3827
3879
  * @param {number} [limit]
3828
3880
  * @param {PaginationDirection} [pageDir] Direction of paging
3829
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
3881
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
3830
3882
  * @param {SortOrder} [sortOrder] Sort order asc/desc
3831
3883
  * @param {*} [options] Override http request option.
3832
3884
  * @throws {RequiredError}
3833
3885
  * @memberof ConversationsApi
3834
3886
  */
3835
- messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
3887
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
3836
3888
  }
3837
3889
  /**
3838
3890
  * HostawayApi - axios parameter creator
@@ -4519,14 +4571,6 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4519
4571
  * @throws {RequiredError}
4520
4572
  */
4521
4573
  contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4522
- /**
4523
- * Conversations Create
4524
- * @summary Conversations Create
4525
- * @param {APIConversationCreate} aPIConversationCreate
4526
- * @param {*} [options] Override http request option.
4527
- * @throws {RequiredError}
4528
- */
4529
- conversationsCreate: (aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4530
4574
  /**
4531
4575
  * Conversations Get
4532
4576
  * @summary Conversations Get
@@ -4536,7 +4580,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4536
4580
  */
4537
4581
  conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4538
4582
  /**
4539
- * List all conversations, optionally filtered by contact_id
4583
+ * List all conversations, must filter by contact_id
4540
4584
  * @summary Conversations List
4541
4585
  * @param {string | null} [searchString]
4542
4586
  * @param {string | null} [contactId]
@@ -4549,15 +4593,6 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4549
4593
  * @throws {RequiredError}
4550
4594
  */
4551
4595
  conversationsList: (searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4552
- /**
4553
- * Conversations Update
4554
- * @summary Conversations Update
4555
- * @param {string} conversationId
4556
- * @param {APIConversationUpdate} aPIConversationUpdate
4557
- * @param {*} [options] Override http request option.
4558
- * @throws {RequiredError}
4559
- */
4560
- conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4561
4596
  /**
4562
4597
  * Emails Create
4563
4598
  * @summary Emails Create
@@ -4649,18 +4684,17 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4649
4684
  /**
4650
4685
  * Messages List
4651
4686
  * @summary Messages List
4687
+ * @param {string} [conversationId]
4652
4688
  * @param {string | null} [searchString]
4653
- * @param {string | null} [contactId]
4654
- * @param {string | null} [conversationId]
4655
4689
  * @param {string | null} [cursor] Cursor for keyset paging
4656
4690
  * @param {number} [limit]
4657
4691
  * @param {PaginationDirection} [pageDir] Direction of paging
4658
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
4692
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
4659
4693
  * @param {SortOrder} [sortOrder] Sort order asc/desc
4660
4694
  * @param {*} [options] Override http request option.
4661
4695
  * @throws {RequiredError}
4662
4696
  */
4663
- messagesList: (searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4697
+ messagesList: (conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4664
4698
  /**
4665
4699
  * Phones Create
4666
4700
  * @summary Phones Create
@@ -4880,14 +4914,6 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
4880
4914
  * @throws {RequiredError}
4881
4915
  */
4882
4916
  contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4883
- /**
4884
- * Conversations Create
4885
- * @summary Conversations Create
4886
- * @param {APIConversationCreate} aPIConversationCreate
4887
- * @param {*} [options] Override http request option.
4888
- * @throws {RequiredError}
4889
- */
4890
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
4891
4917
  /**
4892
4918
  * Conversations Get
4893
4919
  * @summary Conversations Get
@@ -4897,7 +4923,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
4897
4923
  */
4898
4924
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
4899
4925
  /**
4900
- * List all conversations, optionally filtered by contact_id
4926
+ * List all conversations, must filter by contact_id
4901
4927
  * @summary Conversations List
4902
4928
  * @param {string | null} [searchString]
4903
4929
  * @param {string | null} [contactId]
@@ -4910,15 +4936,6 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
4910
4936
  * @throws {RequiredError}
4911
4937
  */
4912
4938
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
4913
- /**
4914
- * Conversations Update
4915
- * @summary Conversations Update
4916
- * @param {string} conversationId
4917
- * @param {APIConversationUpdate} aPIConversationUpdate
4918
- * @param {*} [options] Override http request option.
4919
- * @throws {RequiredError}
4920
- */
4921
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
4922
4939
  /**
4923
4940
  * Emails Create
4924
4941
  * @summary Emails Create
@@ -5010,18 +5027,17 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5010
5027
  /**
5011
5028
  * Messages List
5012
5029
  * @summary Messages List
5030
+ * @param {string} [conversationId]
5013
5031
  * @param {string | null} [searchString]
5014
- * @param {string | null} [contactId]
5015
- * @param {string | null} [conversationId]
5016
5032
  * @param {string | null} [cursor] Cursor for keyset paging
5017
5033
  * @param {number} [limit]
5018
5034
  * @param {PaginationDirection} [pageDir] Direction of paging
5019
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
5035
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
5020
5036
  * @param {SortOrder} [sortOrder] Sort order asc/desc
5021
5037
  * @param {*} [options] Override http request option.
5022
5038
  * @throws {RequiredError}
5023
5039
  */
5024
- messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
5040
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
5025
5041
  /**
5026
5042
  * Phones Create
5027
5043
  * @summary Phones Create
@@ -5241,14 +5257,6 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5241
5257
  * @throws {RequiredError}
5242
5258
  */
5243
5259
  contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5244
- /**
5245
- * Conversations Create
5246
- * @summary Conversations Create
5247
- * @param {APIConversationCreate} aPIConversationCreate
5248
- * @param {*} [options] Override http request option.
5249
- * @throws {RequiredError}
5250
- */
5251
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
5252
5260
  /**
5253
5261
  * Conversations Get
5254
5262
  * @summary Conversations Get
@@ -5258,7 +5266,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5258
5266
  */
5259
5267
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
5260
5268
  /**
5261
- * List all conversations, optionally filtered by contact_id
5269
+ * List all conversations, must filter by contact_id
5262
5270
  * @summary Conversations List
5263
5271
  * @param {string | null} [searchString]
5264
5272
  * @param {string | null} [contactId]
@@ -5271,15 +5279,6 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5271
5279
  * @throws {RequiredError}
5272
5280
  */
5273
5281
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
5274
- /**
5275
- * Conversations Update
5276
- * @summary Conversations Update
5277
- * @param {string} conversationId
5278
- * @param {APIConversationUpdate} aPIConversationUpdate
5279
- * @param {*} [options] Override http request option.
5280
- * @throws {RequiredError}
5281
- */
5282
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
5283
5282
  /**
5284
5283
  * Emails Create
5285
5284
  * @summary Emails Create
@@ -5371,18 +5370,17 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5371
5370
  /**
5372
5371
  * Messages List
5373
5372
  * @summary Messages List
5373
+ * @param {string} [conversationId]
5374
5374
  * @param {string | null} [searchString]
5375
- * @param {string | null} [contactId]
5376
- * @param {string | null} [conversationId]
5377
5375
  * @param {string | null} [cursor] Cursor for keyset paging
5378
5376
  * @param {number} [limit]
5379
5377
  * @param {PaginationDirection} [pageDir] Direction of paging
5380
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
5378
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
5381
5379
  * @param {SortOrder} [sortOrder] Sort order asc/desc
5382
5380
  * @param {*} [options] Override http request option.
5383
5381
  * @throws {RequiredError}
5384
5382
  */
5385
- messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
5383
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
5386
5384
  /**
5387
5385
  * Phones Create
5388
5386
  * @summary Phones Create
@@ -5617,15 +5615,6 @@ declare class UnboundApi extends BaseAPI {
5617
5615
  * @memberof UnboundApi
5618
5616
  */
5619
5617
  contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
5620
- /**
5621
- * Conversations Create
5622
- * @summary Conversations Create
5623
- * @param {APIConversationCreate} aPIConversationCreate
5624
- * @param {*} [options] Override http request option.
5625
- * @throws {RequiredError}
5626
- * @memberof UnboundApi
5627
- */
5628
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
5629
5618
  /**
5630
5619
  * Conversations Get
5631
5620
  * @summary Conversations Get
@@ -5636,7 +5625,7 @@ declare class UnboundApi extends BaseAPI {
5636
5625
  */
5637
5626
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
5638
5627
  /**
5639
- * List all conversations, optionally filtered by contact_id
5628
+ * List all conversations, must filter by contact_id
5640
5629
  * @summary Conversations List
5641
5630
  * @param {string | null} [searchString]
5642
5631
  * @param {string | null} [contactId]
@@ -5650,16 +5639,6 @@ declare class UnboundApi extends BaseAPI {
5650
5639
  * @memberof UnboundApi
5651
5640
  */
5652
5641
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
5653
- /**
5654
- * Conversations Update
5655
- * @summary Conversations Update
5656
- * @param {string} conversationId
5657
- * @param {APIConversationUpdate} aPIConversationUpdate
5658
- * @param {*} [options] Override http request option.
5659
- * @throws {RequiredError}
5660
- * @memberof UnboundApi
5661
- */
5662
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
5663
5642
  /**
5664
5643
  * Emails Create
5665
5644
  * @summary Emails Create
@@ -5761,19 +5740,18 @@ declare class UnboundApi extends BaseAPI {
5761
5740
  /**
5762
5741
  * Messages List
5763
5742
  * @summary Messages List
5743
+ * @param {string} [conversationId]
5764
5744
  * @param {string | null} [searchString]
5765
- * @param {string | null} [contactId]
5766
- * @param {string | null} [conversationId]
5767
5745
  * @param {string | null} [cursor] Cursor for keyset paging
5768
5746
  * @param {number} [limit]
5769
5747
  * @param {PaginationDirection} [pageDir] Direction of paging
5770
- * @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
5748
+ * @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
5771
5749
  * @param {SortOrder} [sortOrder] Sort order asc/desc
5772
5750
  * @param {*} [options] Override http request option.
5773
5751
  * @throws {RequiredError}
5774
5752
  * @memberof UnboundApi
5775
5753
  */
5776
- messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
5754
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
5777
5755
  /**
5778
5756
  * Phones Create
5779
5757
  * @summary Phones Create
@@ -5883,4 +5861,4 @@ declare class UnboundApi extends BaseAPI {
5883
5861
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
5884
5862
  }
5885
5863
 
5886
- export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationCreate, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate, type APIPhone, type APIPhoneCreate, type APIPhoneUpdate, type APIProvider, type APIProviderCreate, type APIProviderUpdate, type APIReservation, type APIValidationError, type APIValidationErrorLocInner, AccountsApi, AccountsApiAxiosParamCreator, AccountsApiFactory, AccountsApiFp, type AddressApi, type AttributeSourceApi, type AttributionApi, type BaseAddressApi, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type Conversationtypedata1, type CreateContactListing, type DeleteContactListing, type EmailApi, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type PhoneApi, type ProviderAddressesApi, type ProviderAttributionApi, type ProviderEmailsApi, type ProviderInfoApi, type ProviderMessageApi, ProviderMessageApiConversationTypeEnum, type ProviderPhonesApi, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, SrcResourceModelsConversationsModelConversationsModelConversationSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4, SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioMessageApi, TwilioMessageApiConversationTypeEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };
5864
+ export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate, type APIPhone, type APIPhoneCreate, type APIPhoneUpdate, type APIProvider, type APIProviderCreate, type APIProviderUpdate, type APIReservation, type APIValidationError, type APIValidationErrorLocInner, AccountsApi, AccountsApiAxiosParamCreator, AccountsApiFactory, AccountsApiFp, type AddressApi, type AttributeSourceApi, type AttributionApi, type BaseAddressApi, type BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type CreateContactListing, type DeleteContactListing, type EmailApi, type ExternalStaffApi, ExternalStaffApiStaffTypeEnum, type GuestApi, GuestApiParticipantTypeEnum, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type InternalStaffApi, InternalStaffApiStaffTypeEnum, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type Participantname, type Participanttypedata, type PhoneApi, type PhonesApi, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationType, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, SrcResourceModelsConversationsModelConversationsModelConversationSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };