@ember-home/unbound-ts-client 0.0.41 → 0.0.42
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 +485 -177
- package/dist/index.d.ts +485 -177
- package/dist/index.js +61 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +65 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
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}
|
|
@@ -704,18 +716,6 @@ interface APIConversation {
|
|
|
704
716
|
* @memberof APIConversation
|
|
705
717
|
*/
|
|
706
718
|
'conversationId': string;
|
|
707
|
-
/**
|
|
708
|
-
*
|
|
709
|
-
* @type {string}
|
|
710
|
-
* @memberof APIConversation
|
|
711
|
-
*/
|
|
712
|
-
'createdAt': string;
|
|
713
|
-
/**
|
|
714
|
-
*
|
|
715
|
-
* @type {string}
|
|
716
|
-
* @memberof APIConversation
|
|
717
|
-
*/
|
|
718
|
-
'updatedAt': string;
|
|
719
719
|
/**
|
|
720
720
|
*
|
|
721
721
|
* @type {string}
|
|
@@ -736,16 +736,10 @@ interface APIConversation {
|
|
|
736
736
|
'unreadCount': number;
|
|
737
737
|
/**
|
|
738
738
|
*
|
|
739
|
-
* @type {
|
|
740
|
-
* @memberof APIConversation
|
|
741
|
-
*/
|
|
742
|
-
'providerType': string;
|
|
743
|
-
/**
|
|
744
|
-
*
|
|
745
|
-
* @type {string}
|
|
739
|
+
* @type {Conversationtypedata}
|
|
746
740
|
* @memberof APIConversation
|
|
747
741
|
*/
|
|
748
|
-
'
|
|
742
|
+
'conversationTypeData': Conversationtypedata;
|
|
749
743
|
}
|
|
750
744
|
/**
|
|
751
745
|
*
|
|
@@ -753,12 +747,6 @@ interface APIConversation {
|
|
|
753
747
|
* @interface APIConversationCreate
|
|
754
748
|
*/
|
|
755
749
|
interface APIConversationCreate {
|
|
756
|
-
/**
|
|
757
|
-
*
|
|
758
|
-
* @type {string}
|
|
759
|
-
* @memberof APIConversationCreate
|
|
760
|
-
*/
|
|
761
|
-
'providerUpdatedAt': string;
|
|
762
750
|
/**
|
|
763
751
|
*
|
|
764
752
|
* @type {ConversationStatus}
|
|
@@ -767,10 +755,10 @@ interface APIConversationCreate {
|
|
|
767
755
|
'status': ConversationStatus;
|
|
768
756
|
/**
|
|
769
757
|
*
|
|
770
|
-
* @type {
|
|
758
|
+
* @type {Conversationtypedata1}
|
|
771
759
|
* @memberof APIConversationCreate
|
|
772
760
|
*/
|
|
773
|
-
'conversationTypeData':
|
|
761
|
+
'conversationTypeData': Conversationtypedata1;
|
|
774
762
|
/**
|
|
775
763
|
*
|
|
776
764
|
* @type {string}
|
|
@@ -784,12 +772,6 @@ interface APIConversationCreate {
|
|
|
784
772
|
* @interface APIConversationUpdate
|
|
785
773
|
*/
|
|
786
774
|
interface APIConversationUpdate {
|
|
787
|
-
/**
|
|
788
|
-
*
|
|
789
|
-
* @type {string}
|
|
790
|
-
* @memberof APIConversationUpdate
|
|
791
|
-
*/
|
|
792
|
-
'providerUpdatedAt': string;
|
|
793
775
|
/**
|
|
794
776
|
*
|
|
795
777
|
* @type {ConversationStatus}
|
|
@@ -798,10 +780,10 @@ interface APIConversationUpdate {
|
|
|
798
780
|
'status': ConversationStatus;
|
|
799
781
|
/**
|
|
800
782
|
*
|
|
801
|
-
* @type {
|
|
783
|
+
* @type {Conversationtypedata2}
|
|
802
784
|
* @memberof APIConversationUpdate
|
|
803
785
|
*/
|
|
804
|
-
'conversationTypeData':
|
|
786
|
+
'conversationTypeData': Conversationtypedata2;
|
|
805
787
|
/**
|
|
806
788
|
*
|
|
807
789
|
* @type {string}
|
|
@@ -1027,10 +1009,10 @@ interface APIManagedPhoneNumber {
|
|
|
1027
1009
|
interface APIMessage {
|
|
1028
1010
|
/**
|
|
1029
1011
|
*
|
|
1030
|
-
* @type {
|
|
1012
|
+
* @type {string}
|
|
1031
1013
|
* @memberof APIMessage
|
|
1032
1014
|
*/
|
|
1033
|
-
'
|
|
1015
|
+
'body': string;
|
|
1034
1016
|
/**
|
|
1035
1017
|
*
|
|
1036
1018
|
* @type {string}
|
|
@@ -1063,34 +1045,16 @@ interface APIMessage {
|
|
|
1063
1045
|
'scheduledAt'?: string | null;
|
|
1064
1046
|
/**
|
|
1065
1047
|
*
|
|
1066
|
-
* @type {
|
|
1067
|
-
* @memberof APIMessage
|
|
1068
|
-
*/
|
|
1069
|
-
'status'?: MessageStatus;
|
|
1070
|
-
/**
|
|
1071
|
-
*
|
|
1072
|
-
* @type {string}
|
|
1073
|
-
* @memberof APIMessage
|
|
1074
|
-
*/
|
|
1075
|
-
'body': string;
|
|
1076
|
-
/**
|
|
1077
|
-
*
|
|
1078
|
-
* @type {string}
|
|
1048
|
+
* @type {Participanttypedata}
|
|
1079
1049
|
* @memberof APIMessage
|
|
1080
1050
|
*/
|
|
1081
|
-
'
|
|
1051
|
+
'participantTypeData': Participanttypedata;
|
|
1082
1052
|
/**
|
|
1083
1053
|
*
|
|
1084
1054
|
* @type {string}
|
|
1085
1055
|
* @memberof APIMessage
|
|
1086
1056
|
*/
|
|
1087
1057
|
'messageId': string;
|
|
1088
|
-
/**
|
|
1089
|
-
*
|
|
1090
|
-
* @type {Messagetypedata}
|
|
1091
|
-
* @memberof APIMessage
|
|
1092
|
-
*/
|
|
1093
|
-
'messageTypeData': Messagetypedata;
|
|
1094
1058
|
/**
|
|
1095
1059
|
*
|
|
1096
1060
|
* @type {string}
|
|
@@ -1099,40 +1063,34 @@ interface APIMessage {
|
|
|
1099
1063
|
'conversationId': string;
|
|
1100
1064
|
/**
|
|
1101
1065
|
*
|
|
1102
|
-
* @type {
|
|
1103
|
-
* @memberof APIMessage
|
|
1104
|
-
*/
|
|
1105
|
-
'createdAt': string;
|
|
1106
|
-
/**
|
|
1107
|
-
*
|
|
1108
|
-
* @type {string}
|
|
1066
|
+
* @type {MessageDirection}
|
|
1109
1067
|
* @memberof APIMessage
|
|
1110
1068
|
*/
|
|
1111
|
-
'
|
|
1069
|
+
'direction': MessageDirection;
|
|
1112
1070
|
/**
|
|
1113
1071
|
*
|
|
1114
1072
|
* @type {string}
|
|
1115
1073
|
* @memberof APIMessage
|
|
1116
1074
|
*/
|
|
1117
|
-
'
|
|
1075
|
+
'createdAt': string;
|
|
1118
1076
|
/**
|
|
1119
1077
|
*
|
|
1120
1078
|
* @type {string}
|
|
1121
1079
|
* @memberof APIMessage
|
|
1122
1080
|
*/
|
|
1123
|
-
'
|
|
1081
|
+
'updatedAt': string;
|
|
1124
1082
|
/**
|
|
1125
1083
|
*
|
|
1126
|
-
* @type {
|
|
1084
|
+
* @type {MessageStatus}
|
|
1127
1085
|
* @memberof APIMessage
|
|
1128
1086
|
*/
|
|
1129
|
-
'
|
|
1087
|
+
'status'?: MessageStatus;
|
|
1130
1088
|
/**
|
|
1131
1089
|
*
|
|
1132
|
-
* @type {
|
|
1090
|
+
* @type {Messagetypedata}
|
|
1133
1091
|
* @memberof APIMessage
|
|
1134
1092
|
*/
|
|
1135
|
-
'
|
|
1093
|
+
'messageTypeData': Messagetypedata;
|
|
1136
1094
|
}
|
|
1137
1095
|
/**
|
|
1138
1096
|
*
|
|
@@ -1145,19 +1103,7 @@ interface APIMessageCreate {
|
|
|
1145
1103
|
* @type {string}
|
|
1146
1104
|
* @memberof APIMessageCreate
|
|
1147
1105
|
*/
|
|
1148
|
-
'
|
|
1149
|
-
/**
|
|
1150
|
-
*
|
|
1151
|
-
* @type {string}
|
|
1152
|
-
* @memberof APIMessageCreate
|
|
1153
|
-
*/
|
|
1154
|
-
'providerUpdatedAt'?: string;
|
|
1155
|
-
/**
|
|
1156
|
-
*
|
|
1157
|
-
* @type {MessageDirection}
|
|
1158
|
-
* @memberof APIMessageCreate
|
|
1159
|
-
*/
|
|
1160
|
-
'direction': MessageDirection;
|
|
1106
|
+
'body': string;
|
|
1161
1107
|
/**
|
|
1162
1108
|
*
|
|
1163
1109
|
* @type {string}
|
|
@@ -1190,22 +1136,10 @@ interface APIMessageCreate {
|
|
|
1190
1136
|
'scheduledAt'?: string | null;
|
|
1191
1137
|
/**
|
|
1192
1138
|
*
|
|
1193
|
-
* @type {
|
|
1139
|
+
* @type {Participanttypedata}
|
|
1194
1140
|
* @memberof APIMessageCreate
|
|
1195
1141
|
*/
|
|
1196
|
-
'
|
|
1197
|
-
/**
|
|
1198
|
-
*
|
|
1199
|
-
* @type {string}
|
|
1200
|
-
* @memberof APIMessageCreate
|
|
1201
|
-
*/
|
|
1202
|
-
'body': string;
|
|
1203
|
-
/**
|
|
1204
|
-
*
|
|
1205
|
-
* @type {string}
|
|
1206
|
-
* @memberof APIMessageCreate
|
|
1207
|
-
*/
|
|
1208
|
-
'channelName': string;
|
|
1142
|
+
'participantTypeData': Participanttypedata;
|
|
1209
1143
|
/**
|
|
1210
1144
|
*
|
|
1211
1145
|
* @type {string}
|
|
@@ -1686,6 +1620,29 @@ interface BaseAddressApi {
|
|
|
1686
1620
|
*/
|
|
1687
1621
|
'region'?: string | null;
|
|
1688
1622
|
}
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @export
|
|
1626
|
+
* @interface BotApi
|
|
1627
|
+
*/
|
|
1628
|
+
interface BotApi {
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @type {string}
|
|
1632
|
+
* @memberof BotApi
|
|
1633
|
+
*/
|
|
1634
|
+
'participantType': BotApiParticipantTypeEnum;
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @type {Participantname}
|
|
1638
|
+
* @memberof BotApi
|
|
1639
|
+
*/
|
|
1640
|
+
'participantName': Participantname;
|
|
1641
|
+
}
|
|
1642
|
+
declare const BotApiParticipantTypeEnum: {
|
|
1643
|
+
readonly Bot: "BOT";
|
|
1644
|
+
};
|
|
1645
|
+
type BotApiParticipantTypeEnum = typeof BotApiParticipantTypeEnum[keyof typeof BotApiParticipantTypeEnum];
|
|
1689
1646
|
/**
|
|
1690
1647
|
*
|
|
1691
1648
|
* @export
|
|
@@ -1752,12 +1709,17 @@ type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationSta
|
|
|
1752
1709
|
* @type Conversationtypedata
|
|
1753
1710
|
* @export
|
|
1754
1711
|
*/
|
|
1755
|
-
type Conversationtypedata =
|
|
1712
|
+
type Conversationtypedata = ProviderConversationDataApi | TwilioConversationDataApi | object;
|
|
1756
1713
|
/**
|
|
1757
1714
|
* @type Conversationtypedata1
|
|
1758
1715
|
* @export
|
|
1759
1716
|
*/
|
|
1760
|
-
type Conversationtypedata1 =
|
|
1717
|
+
type Conversationtypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2;
|
|
1718
|
+
/**
|
|
1719
|
+
* @type Conversationtypedata2
|
|
1720
|
+
* @export
|
|
1721
|
+
*/
|
|
1722
|
+
type Conversationtypedata2 = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1 | SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2;
|
|
1761
1723
|
/**
|
|
1762
1724
|
*
|
|
1763
1725
|
* @export
|
|
@@ -1815,6 +1777,58 @@ interface EmailApi {
|
|
|
1815
1777
|
*/
|
|
1816
1778
|
'email': string;
|
|
1817
1779
|
}
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @export
|
|
1783
|
+
* @interface ExternalStaffApi
|
|
1784
|
+
*/
|
|
1785
|
+
interface ExternalStaffApi {
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {string}
|
|
1789
|
+
* @memberof ExternalStaffApi
|
|
1790
|
+
*/
|
|
1791
|
+
'staffType': ExternalStaffApiStaffTypeEnum;
|
|
1792
|
+
/**
|
|
1793
|
+
*
|
|
1794
|
+
* @type {string}
|
|
1795
|
+
* @memberof ExternalStaffApi
|
|
1796
|
+
*/
|
|
1797
|
+
'contactId': string;
|
|
1798
|
+
}
|
|
1799
|
+
declare const ExternalStaffApiStaffTypeEnum: {
|
|
1800
|
+
readonly ExternalStaff: "EXTERNAL_STAFF";
|
|
1801
|
+
};
|
|
1802
|
+
type ExternalStaffApiStaffTypeEnum = typeof ExternalStaffApiStaffTypeEnum[keyof typeof ExternalStaffApiStaffTypeEnum];
|
|
1803
|
+
/**
|
|
1804
|
+
*
|
|
1805
|
+
* @export
|
|
1806
|
+
* @interface GuestApi
|
|
1807
|
+
*/
|
|
1808
|
+
interface GuestApi {
|
|
1809
|
+
/**
|
|
1810
|
+
*
|
|
1811
|
+
* @type {string}
|
|
1812
|
+
* @memberof GuestApi
|
|
1813
|
+
*/
|
|
1814
|
+
'participantType': GuestApiParticipantTypeEnum;
|
|
1815
|
+
/**
|
|
1816
|
+
*
|
|
1817
|
+
* @type {Participantname}
|
|
1818
|
+
* @memberof GuestApi
|
|
1819
|
+
*/
|
|
1820
|
+
'participantName': Participantname;
|
|
1821
|
+
/**
|
|
1822
|
+
*
|
|
1823
|
+
* @type {string}
|
|
1824
|
+
* @memberof GuestApi
|
|
1825
|
+
*/
|
|
1826
|
+
'contactId'?: string | null;
|
|
1827
|
+
}
|
|
1828
|
+
declare const GuestApiParticipantTypeEnum: {
|
|
1829
|
+
readonly Guest: "GUEST";
|
|
1830
|
+
};
|
|
1831
|
+
type GuestApiParticipantTypeEnum = typeof GuestApiParticipantTypeEnum[keyof typeof GuestApiParticipantTypeEnum];
|
|
1818
1832
|
/**
|
|
1819
1833
|
*
|
|
1820
1834
|
* @export
|
|
@@ -1896,6 +1910,29 @@ interface HostawayWebhook {
|
|
|
1896
1910
|
*/
|
|
1897
1911
|
'data': object;
|
|
1898
1912
|
}
|
|
1913
|
+
/**
|
|
1914
|
+
*
|
|
1915
|
+
* @export
|
|
1916
|
+
* @interface InternalStaffApi
|
|
1917
|
+
*/
|
|
1918
|
+
interface InternalStaffApi {
|
|
1919
|
+
/**
|
|
1920
|
+
*
|
|
1921
|
+
* @type {string}
|
|
1922
|
+
* @memberof InternalStaffApi
|
|
1923
|
+
*/
|
|
1924
|
+
'staffType': InternalStaffApiStaffTypeEnum;
|
|
1925
|
+
/**
|
|
1926
|
+
*
|
|
1927
|
+
* @type {string}
|
|
1928
|
+
* @memberof InternalStaffApi
|
|
1929
|
+
*/
|
|
1930
|
+
'userId': string;
|
|
1931
|
+
}
|
|
1932
|
+
declare const InternalStaffApiStaffTypeEnum: {
|
|
1933
|
+
readonly InternalStaff: "INTERNAL_STAFF";
|
|
1934
|
+
};
|
|
1935
|
+
type InternalStaffApiStaffTypeEnum = typeof InternalStaffApiStaffTypeEnum[keyof typeof InternalStaffApiStaffTypeEnum];
|
|
1899
1936
|
/**
|
|
1900
1937
|
*
|
|
1901
1938
|
* @export
|
|
@@ -1990,12 +2027,12 @@ type MessageStatus = typeof MessageStatus[keyof typeof MessageStatus];
|
|
|
1990
2027
|
* @type Messagetypedata
|
|
1991
2028
|
* @export
|
|
1992
2029
|
*/
|
|
1993
|
-
type Messagetypedata =
|
|
2030
|
+
type Messagetypedata = RentalProviderMessageApi | TwilioProviderMessageApi | object;
|
|
1994
2031
|
/**
|
|
1995
2032
|
* @type Messagetypedata1
|
|
1996
2033
|
* @export
|
|
1997
2034
|
*/
|
|
1998
|
-
type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
|
|
2035
|
+
type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi5;
|
|
1999
2036
|
/**
|
|
2000
2037
|
*
|
|
2001
2038
|
* @export
|
|
@@ -2192,6 +2229,16 @@ declare const PaginationDirection: {
|
|
|
2192
2229
|
readonly Backward: "backward";
|
|
2193
2230
|
};
|
|
2194
2231
|
type PaginationDirection = typeof PaginationDirection[keyof typeof PaginationDirection];
|
|
2232
|
+
/**
|
|
2233
|
+
* @type Participantname
|
|
2234
|
+
* @export
|
|
2235
|
+
*/
|
|
2236
|
+
type Participantname = string;
|
|
2237
|
+
/**
|
|
2238
|
+
* @type Participanttypedata
|
|
2239
|
+
* @export
|
|
2240
|
+
*/
|
|
2241
|
+
type Participanttypedata = BotApi | GuestApi | StaffApi;
|
|
2195
2242
|
/**
|
|
2196
2243
|
*
|
|
2197
2244
|
* @export
|
|
@@ -2211,6 +2258,25 @@ interface PhoneApi {
|
|
|
2211
2258
|
*/
|
|
2212
2259
|
'phone': string;
|
|
2213
2260
|
}
|
|
2261
|
+
/**
|
|
2262
|
+
*
|
|
2263
|
+
* @export
|
|
2264
|
+
* @interface PhonesApi
|
|
2265
|
+
*/
|
|
2266
|
+
interface PhonesApi {
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {string}
|
|
2270
|
+
* @memberof PhonesApi
|
|
2271
|
+
*/
|
|
2272
|
+
'phone': string;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {string}
|
|
2276
|
+
* @memberof PhonesApi
|
|
2277
|
+
*/
|
|
2278
|
+
'contactId'?: string | null;
|
|
2279
|
+
}
|
|
2214
2280
|
/**
|
|
2215
2281
|
*
|
|
2216
2282
|
* @export
|
|
@@ -2249,6 +2315,78 @@ interface ProviderAttributionApi {
|
|
|
2249
2315
|
*/
|
|
2250
2316
|
'channels': Array<ReservationChannelTypes>;
|
|
2251
2317
|
}
|
|
2318
|
+
/**
|
|
2319
|
+
*
|
|
2320
|
+
* @export
|
|
2321
|
+
* @enum {string}
|
|
2322
|
+
*/
|
|
2323
|
+
declare const ProviderCommunicationType: {
|
|
2324
|
+
readonly Sms: "SMS";
|
|
2325
|
+
readonly Email: "EMAIL";
|
|
2326
|
+
readonly Channel: "CHANNEL";
|
|
2327
|
+
readonly Whatsapp: "WHATSAPP";
|
|
2328
|
+
readonly Note: "NOTE";
|
|
2329
|
+
};
|
|
2330
|
+
type ProviderCommunicationType = typeof ProviderCommunicationType[keyof typeof ProviderCommunicationType];
|
|
2331
|
+
/**
|
|
2332
|
+
*
|
|
2333
|
+
* @export
|
|
2334
|
+
* @interface ProviderConversationDataApi
|
|
2335
|
+
*/
|
|
2336
|
+
interface ProviderConversationDataApi {
|
|
2337
|
+
/**
|
|
2338
|
+
*
|
|
2339
|
+
* @type {string}
|
|
2340
|
+
* @memberof ProviderConversationDataApi
|
|
2341
|
+
*/
|
|
2342
|
+
'conversationType': ProviderConversationDataApiConversationTypeEnum;
|
|
2343
|
+
/**
|
|
2344
|
+
*
|
|
2345
|
+
* @type {string}
|
|
2346
|
+
* @memberof ProviderConversationDataApi
|
|
2347
|
+
*/
|
|
2348
|
+
'providerReservationId': string;
|
|
2349
|
+
/**
|
|
2350
|
+
*
|
|
2351
|
+
* @type {string}
|
|
2352
|
+
* @memberof ProviderConversationDataApi
|
|
2353
|
+
*/
|
|
2354
|
+
'providerListingId': string;
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @type {string}
|
|
2358
|
+
* @memberof ProviderConversationDataApi
|
|
2359
|
+
*/
|
|
2360
|
+
'providerCreatedAt': string;
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {string}
|
|
2364
|
+
* @memberof ProviderConversationDataApi
|
|
2365
|
+
*/
|
|
2366
|
+
'listingId': string;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {string}
|
|
2370
|
+
* @memberof ProviderConversationDataApi
|
|
2371
|
+
*/
|
|
2372
|
+
'reservationId': string;
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {string}
|
|
2376
|
+
* @memberof ProviderConversationDataApi
|
|
2377
|
+
*/
|
|
2378
|
+
'contactId'?: string | null;
|
|
2379
|
+
/**
|
|
2380
|
+
*
|
|
2381
|
+
* @type {SubjectApi}
|
|
2382
|
+
* @memberof ProviderConversationDataApi
|
|
2383
|
+
*/
|
|
2384
|
+
'subject': SubjectApi;
|
|
2385
|
+
}
|
|
2386
|
+
declare const ProviderConversationDataApiConversationTypeEnum: {
|
|
2387
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
2388
|
+
};
|
|
2389
|
+
type ProviderConversationDataApiConversationTypeEnum = typeof ProviderConversationDataApiConversationTypeEnum[keyof typeof ProviderConversationDataApiConversationTypeEnum];
|
|
2252
2390
|
/**
|
|
2253
2391
|
*
|
|
2254
2392
|
* @export
|
|
@@ -2302,39 +2440,80 @@ interface ProviderInfoApi {
|
|
|
2302
2440
|
/**
|
|
2303
2441
|
*
|
|
2304
2442
|
* @export
|
|
2305
|
-
* @interface
|
|
2443
|
+
* @interface ProviderPhonesApi
|
|
2444
|
+
*/
|
|
2445
|
+
interface ProviderPhonesApi {
|
|
2446
|
+
/**
|
|
2447
|
+
*
|
|
2448
|
+
* @type {string}
|
|
2449
|
+
* @memberof ProviderPhonesApi
|
|
2450
|
+
*/
|
|
2451
|
+
'phone': string;
|
|
2452
|
+
/**
|
|
2453
|
+
*
|
|
2454
|
+
* @type {Array<ProviderAttributionApi>}
|
|
2455
|
+
* @memberof ProviderPhonesApi
|
|
2456
|
+
*/
|
|
2457
|
+
'providers': Array<ProviderAttributionApi>;
|
|
2458
|
+
}
|
|
2459
|
+
/**
|
|
2460
|
+
*
|
|
2461
|
+
* @export
|
|
2462
|
+
* @interface ProviderStaffApi
|
|
2306
2463
|
*/
|
|
2307
|
-
interface
|
|
2464
|
+
interface ProviderStaffApi {
|
|
2308
2465
|
/**
|
|
2309
2466
|
*
|
|
2310
2467
|
* @type {string}
|
|
2311
|
-
* @memberof
|
|
2468
|
+
* @memberof ProviderStaffApi
|
|
2312
2469
|
*/
|
|
2313
|
-
'
|
|
2470
|
+
'staffType': ProviderStaffApiStaffTypeEnum;
|
|
2471
|
+
/**
|
|
2472
|
+
*
|
|
2473
|
+
* @type {string}
|
|
2474
|
+
* @memberof ProviderStaffApi
|
|
2475
|
+
*/
|
|
2476
|
+
'providerUserId': string;
|
|
2314
2477
|
}
|
|
2315
|
-
declare const
|
|
2316
|
-
readonly
|
|
2478
|
+
declare const ProviderStaffApiStaffTypeEnum: {
|
|
2479
|
+
readonly ProviderStaff: "PROVIDER_STAFF";
|
|
2317
2480
|
};
|
|
2318
|
-
type
|
|
2481
|
+
type ProviderStaffApiStaffTypeEnum = typeof ProviderStaffApiStaffTypeEnum[keyof typeof ProviderStaffApiStaffTypeEnum];
|
|
2319
2482
|
/**
|
|
2320
2483
|
*
|
|
2321
2484
|
* @export
|
|
2322
|
-
* @interface
|
|
2485
|
+
* @interface RentalProviderMessageApi
|
|
2323
2486
|
*/
|
|
2324
|
-
interface
|
|
2487
|
+
interface RentalProviderMessageApi {
|
|
2325
2488
|
/**
|
|
2326
2489
|
*
|
|
2327
2490
|
* @type {string}
|
|
2328
|
-
* @memberof
|
|
2491
|
+
* @memberof RentalProviderMessageApi
|
|
2329
2492
|
*/
|
|
2330
|
-
'
|
|
2493
|
+
'messageType': RentalProviderMessageApiMessageTypeEnum;
|
|
2331
2494
|
/**
|
|
2332
2495
|
*
|
|
2333
|
-
* @type {
|
|
2334
|
-
* @memberof
|
|
2496
|
+
* @type {string}
|
|
2497
|
+
* @memberof RentalProviderMessageApi
|
|
2335
2498
|
*/
|
|
2336
|
-
'
|
|
2499
|
+
'providerChannelName': string;
|
|
2500
|
+
/**
|
|
2501
|
+
*
|
|
2502
|
+
* @type {ProviderCommunicationType}
|
|
2503
|
+
* @memberof RentalProviderMessageApi
|
|
2504
|
+
*/
|
|
2505
|
+
'providerCommunicationType': ProviderCommunicationType;
|
|
2506
|
+
/**
|
|
2507
|
+
*
|
|
2508
|
+
* @type {string}
|
|
2509
|
+
* @memberof RentalProviderMessageApi
|
|
2510
|
+
*/
|
|
2511
|
+
'providerId': string;
|
|
2337
2512
|
}
|
|
2513
|
+
declare const RentalProviderMessageApiMessageTypeEnum: {
|
|
2514
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
2515
|
+
};
|
|
2516
|
+
type RentalProviderMessageApiMessageTypeEnum = typeof RentalProviderMessageApiMessageTypeEnum[keyof typeof RentalProviderMessageApiMessageTypeEnum];
|
|
2338
2517
|
/**
|
|
2339
2518
|
*
|
|
2340
2519
|
* @export
|
|
@@ -2472,18 +2651,24 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
|
|
|
2472
2651
|
* @type {string}
|
|
2473
2652
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
2474
2653
|
*/
|
|
2475
|
-
'
|
|
2654
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum;
|
|
2476
2655
|
/**
|
|
2477
2656
|
*
|
|
2478
2657
|
* @type {string}
|
|
2479
2658
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
2480
2659
|
*/
|
|
2481
|
-
'
|
|
2660
|
+
'providerChannelName': string;
|
|
2661
|
+
/**
|
|
2662
|
+
*
|
|
2663
|
+
* @type {ProviderCommunicationType}
|
|
2664
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
2665
|
+
*/
|
|
2666
|
+
'providerCommunicationType': ProviderCommunicationType;
|
|
2482
2667
|
}
|
|
2483
|
-
declare const
|
|
2484
|
-
readonly
|
|
2668
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
|
|
2669
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
2485
2670
|
};
|
|
2486
|
-
type
|
|
2671
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
|
|
2487
2672
|
/**
|
|
2488
2673
|
*
|
|
2489
2674
|
* @export
|
|
@@ -2495,36 +2680,59 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
|
|
|
2495
2680
|
* @type {string}
|
|
2496
2681
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
2497
2682
|
*/
|
|
2498
|
-
'
|
|
2683
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum;
|
|
2499
2684
|
/**
|
|
2500
2685
|
*
|
|
2501
2686
|
* @type {string}
|
|
2502
2687
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
2503
2688
|
*/
|
|
2689
|
+
'body': string;
|
|
2690
|
+
}
|
|
2691
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum: {
|
|
2692
|
+
readonly Twilio: "TWILIO";
|
|
2693
|
+
};
|
|
2694
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum];
|
|
2695
|
+
/**
|
|
2696
|
+
*
|
|
2697
|
+
* @export
|
|
2698
|
+
* @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2699
|
+
*/
|
|
2700
|
+
interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi5 {
|
|
2701
|
+
/**
|
|
2702
|
+
*
|
|
2703
|
+
* @type {string}
|
|
2704
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2705
|
+
*/
|
|
2706
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum;
|
|
2707
|
+
/**
|
|
2708
|
+
*
|
|
2709
|
+
* @type {string}
|
|
2710
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2711
|
+
*/
|
|
2504
2712
|
'outboundFromManagedEmailId'?: string | null;
|
|
2505
2713
|
/**
|
|
2506
2714
|
*
|
|
2507
2715
|
* @type {string}
|
|
2508
|
-
* @memberof
|
|
2716
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2509
2717
|
*/
|
|
2510
2718
|
'subject': string;
|
|
2511
2719
|
/**
|
|
2512
2720
|
*
|
|
2513
2721
|
* @type {string}
|
|
2514
|
-
* @memberof
|
|
2722
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2515
2723
|
*/
|
|
2516
2724
|
'htmlBody': string | null;
|
|
2517
2725
|
/**
|
|
2518
2726
|
*
|
|
2519
2727
|
* @type {string}
|
|
2520
|
-
* @memberof
|
|
2728
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2521
2729
|
*/
|
|
2522
2730
|
'plainBody': string | null;
|
|
2523
2731
|
}
|
|
2524
|
-
declare const
|
|
2732
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum: {
|
|
2525
2733
|
readonly Email: "EMAIL";
|
|
2526
2734
|
};
|
|
2527
|
-
type
|
|
2735
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum];
|
|
2528
2736
|
/**
|
|
2529
2737
|
*
|
|
2530
2738
|
* @export
|
|
@@ -2585,10 +2793,10 @@ type SrcResourceModelsListingsModelListingBaseSortBy = typeof SrcResourceModelsL
|
|
|
2585
2793
|
* @export
|
|
2586
2794
|
* @enum {string}
|
|
2587
2795
|
*/
|
|
2588
|
-
declare const
|
|
2796
|
+
declare const SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy: {
|
|
2589
2797
|
readonly CreatedAt: "created_at";
|
|
2590
2798
|
};
|
|
2591
|
-
type
|
|
2799
|
+
type SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy[keyof typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy];
|
|
2592
2800
|
/**
|
|
2593
2801
|
*
|
|
2594
2802
|
* @export
|
|
@@ -2601,61 +2809,132 @@ type SrcResourceModelsReservationsModelReservationBaseModelSortBy = typeof SrcRe
|
|
|
2601
2809
|
/**
|
|
2602
2810
|
*
|
|
2603
2811
|
* @export
|
|
2604
|
-
* @interface
|
|
2812
|
+
* @interface StaffApi
|
|
2605
2813
|
*/
|
|
2606
|
-
interface
|
|
2814
|
+
interface StaffApi {
|
|
2607
2815
|
/**
|
|
2608
2816
|
*
|
|
2609
2817
|
* @type {string}
|
|
2610
|
-
* @memberof
|
|
2818
|
+
* @memberof StaffApi
|
|
2611
2819
|
*/
|
|
2612
|
-
'
|
|
2820
|
+
'participantType': StaffApiParticipantTypeEnum;
|
|
2613
2821
|
/**
|
|
2614
2822
|
*
|
|
2615
|
-
* @type {
|
|
2616
|
-
* @memberof
|
|
2823
|
+
* @type {Participantname}
|
|
2824
|
+
* @memberof StaffApi
|
|
2617
2825
|
*/
|
|
2618
|
-
'
|
|
2826
|
+
'participantName': Participantname;
|
|
2827
|
+
/**
|
|
2828
|
+
*
|
|
2829
|
+
* @type {Stafftypedata}
|
|
2830
|
+
* @memberof StaffApi
|
|
2831
|
+
*/
|
|
2832
|
+
'staffTypeData': Stafftypedata;
|
|
2619
2833
|
}
|
|
2620
|
-
declare const
|
|
2621
|
-
readonly
|
|
2834
|
+
declare const StaffApiParticipantTypeEnum: {
|
|
2835
|
+
readonly Staff: "STAFF";
|
|
2622
2836
|
};
|
|
2623
|
-
type
|
|
2837
|
+
type StaffApiParticipantTypeEnum = typeof StaffApiParticipantTypeEnum[keyof typeof StaffApiParticipantTypeEnum];
|
|
2838
|
+
/**
|
|
2839
|
+
* @type Stafftypedata
|
|
2840
|
+
* @export
|
|
2841
|
+
*/
|
|
2842
|
+
type Stafftypedata = ExternalStaffApi | InternalStaffApi | ProviderStaffApi;
|
|
2624
2843
|
/**
|
|
2625
2844
|
*
|
|
2626
2845
|
* @export
|
|
2627
|
-
* @interface
|
|
2846
|
+
* @interface SubjectApi
|
|
2628
2847
|
*/
|
|
2629
|
-
interface
|
|
2848
|
+
interface SubjectApi {
|
|
2630
2849
|
/**
|
|
2631
2850
|
*
|
|
2632
2851
|
* @type {string}
|
|
2633
|
-
* @memberof
|
|
2852
|
+
* @memberof SubjectApi
|
|
2634
2853
|
*/
|
|
2635
|
-
'
|
|
2854
|
+
'guestName': string;
|
|
2636
2855
|
/**
|
|
2637
2856
|
*
|
|
2638
2857
|
* @type {string}
|
|
2639
|
-
* @memberof
|
|
2858
|
+
* @memberof SubjectApi
|
|
2640
2859
|
*/
|
|
2641
|
-
'
|
|
2860
|
+
'channelName': string;
|
|
2642
2861
|
/**
|
|
2643
2862
|
*
|
|
2644
|
-
* @type {
|
|
2645
|
-
* @memberof
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof SubjectApi
|
|
2646
2865
|
*/
|
|
2647
|
-
'
|
|
2866
|
+
'arrival': string;
|
|
2648
2867
|
/**
|
|
2649
2868
|
*
|
|
2650
|
-
* @type {
|
|
2651
|
-
* @memberof
|
|
2869
|
+
* @type {string}
|
|
2870
|
+
* @memberof SubjectApi
|
|
2652
2871
|
*/
|
|
2653
|
-
'
|
|
2872
|
+
'departure': string;
|
|
2873
|
+
/**
|
|
2874
|
+
*
|
|
2875
|
+
* @type {string}
|
|
2876
|
+
* @memberof SubjectApi
|
|
2877
|
+
*/
|
|
2878
|
+
'listingName': string;
|
|
2654
2879
|
}
|
|
2655
|
-
|
|
2880
|
+
/**
|
|
2881
|
+
*
|
|
2882
|
+
* @export
|
|
2883
|
+
* @interface TwilioConversationDataApi
|
|
2884
|
+
*/
|
|
2885
|
+
interface TwilioConversationDataApi {
|
|
2886
|
+
/**
|
|
2887
|
+
*
|
|
2888
|
+
* @type {string}
|
|
2889
|
+
* @memberof TwilioConversationDataApi
|
|
2890
|
+
*/
|
|
2891
|
+
'conversationType': TwilioConversationDataApiConversationTypeEnum;
|
|
2892
|
+
/**
|
|
2893
|
+
*
|
|
2894
|
+
* @type {string}
|
|
2895
|
+
* @memberof TwilioConversationDataApi
|
|
2896
|
+
*/
|
|
2897
|
+
'fromManagedPhoneId': string;
|
|
2898
|
+
/**
|
|
2899
|
+
*
|
|
2900
|
+
* @type {Array<PhonesApi>}
|
|
2901
|
+
* @memberof TwilioConversationDataApi
|
|
2902
|
+
*/
|
|
2903
|
+
'toPhones': Array<PhonesApi>;
|
|
2904
|
+
/**
|
|
2905
|
+
*
|
|
2906
|
+
* @type {string}
|
|
2907
|
+
* @memberof TwilioConversationDataApi
|
|
2908
|
+
*/
|
|
2909
|
+
'twilioGroupId'?: string | null;
|
|
2910
|
+
}
|
|
2911
|
+
declare const TwilioConversationDataApiConversationTypeEnum: {
|
|
2656
2912
|
readonly Twilio: "TWILIO";
|
|
2657
2913
|
};
|
|
2658
|
-
type
|
|
2914
|
+
type TwilioConversationDataApiConversationTypeEnum = typeof TwilioConversationDataApiConversationTypeEnum[keyof typeof TwilioConversationDataApiConversationTypeEnum];
|
|
2915
|
+
/**
|
|
2916
|
+
*
|
|
2917
|
+
* @export
|
|
2918
|
+
* @interface TwilioInboundSenderTypeDataApi
|
|
2919
|
+
*/
|
|
2920
|
+
interface TwilioInboundSenderTypeDataApi {
|
|
2921
|
+
/**
|
|
2922
|
+
*
|
|
2923
|
+
* @type {string}
|
|
2924
|
+
* @memberof TwilioInboundSenderTypeDataApi
|
|
2925
|
+
*/
|
|
2926
|
+
'direction': TwilioInboundSenderTypeDataApiDirectionEnum;
|
|
2927
|
+
/**
|
|
2928
|
+
*
|
|
2929
|
+
* @type {string}
|
|
2930
|
+
* @memberof TwilioInboundSenderTypeDataApi
|
|
2931
|
+
*/
|
|
2932
|
+
'fromPhoneId'?: string | null;
|
|
2933
|
+
}
|
|
2934
|
+
declare const TwilioInboundSenderTypeDataApiDirectionEnum: {
|
|
2935
|
+
readonly Inbound: "INBOUND";
|
|
2936
|
+
};
|
|
2937
|
+
type TwilioInboundSenderTypeDataApiDirectionEnum = typeof TwilioInboundSenderTypeDataApiDirectionEnum[keyof typeof TwilioInboundSenderTypeDataApiDirectionEnum];
|
|
2659
2938
|
/**
|
|
2660
2939
|
*
|
|
2661
2940
|
* @export
|
|
@@ -2679,6 +2958,35 @@ declare const TwilioOutboundSenderTypeDataApiDirectionEnum: {
|
|
|
2679
2958
|
readonly Outbound: "OUTBOUND";
|
|
2680
2959
|
};
|
|
2681
2960
|
type TwilioOutboundSenderTypeDataApiDirectionEnum = typeof TwilioOutboundSenderTypeDataApiDirectionEnum[keyof typeof TwilioOutboundSenderTypeDataApiDirectionEnum];
|
|
2961
|
+
/**
|
|
2962
|
+
*
|
|
2963
|
+
* @export
|
|
2964
|
+
* @interface TwilioProviderMessageApi
|
|
2965
|
+
*/
|
|
2966
|
+
interface TwilioProviderMessageApi {
|
|
2967
|
+
/**
|
|
2968
|
+
*
|
|
2969
|
+
* @type {string}
|
|
2970
|
+
* @memberof TwilioProviderMessageApi
|
|
2971
|
+
*/
|
|
2972
|
+
'messageType': TwilioProviderMessageApiMessageTypeEnum;
|
|
2973
|
+
/**
|
|
2974
|
+
*
|
|
2975
|
+
* @type {Array<string>}
|
|
2976
|
+
* @memberof TwilioProviderMessageApi
|
|
2977
|
+
*/
|
|
2978
|
+
'mediaUrl'?: Array<string> | null;
|
|
2979
|
+
/**
|
|
2980
|
+
*
|
|
2981
|
+
* @type {Sendertypedata}
|
|
2982
|
+
* @memberof TwilioProviderMessageApi
|
|
2983
|
+
*/
|
|
2984
|
+
'senderTypeData': Sendertypedata;
|
|
2985
|
+
}
|
|
2986
|
+
declare const TwilioProviderMessageApiMessageTypeEnum: {
|
|
2987
|
+
readonly Twilio: "TWILIO";
|
|
2988
|
+
};
|
|
2989
|
+
type TwilioProviderMessageApiMessageTypeEnum = typeof TwilioProviderMessageApiMessageTypeEnum[keyof typeof TwilioProviderMessageApiMessageTypeEnum];
|
|
2682
2990
|
/**
|
|
2683
2991
|
*
|
|
2684
2992
|
* @export
|
|
@@ -3587,12 +3895,12 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3587
3895
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3588
3896
|
* @param {number} [limit]
|
|
3589
3897
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3590
|
-
* @param {
|
|
3898
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3591
3899
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3592
3900
|
* @param {*} [options] Override http request option.
|
|
3593
3901
|
* @throws {RequiredError}
|
|
3594
3902
|
*/
|
|
3595
|
-
messagesList: (searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
3903
|
+
messagesList: (searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3596
3904
|
};
|
|
3597
3905
|
/**
|
|
3598
3906
|
* ConversationsApi - functional programming interface
|
|
@@ -3664,12 +3972,12 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
3664
3972
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3665
3973
|
* @param {number} [limit]
|
|
3666
3974
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3667
|
-
* @param {
|
|
3975
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3668
3976
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3669
3977
|
* @param {*} [options] Override http request option.
|
|
3670
3978
|
* @throws {RequiredError}
|
|
3671
3979
|
*/
|
|
3672
|
-
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
3980
|
+
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
|
|
3673
3981
|
};
|
|
3674
3982
|
/**
|
|
3675
3983
|
* ConversationsApi - factory interface
|
|
@@ -3741,12 +4049,12 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
|
|
|
3741
4049
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3742
4050
|
* @param {number} [limit]
|
|
3743
4051
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3744
|
-
* @param {
|
|
4052
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3745
4053
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3746
4054
|
* @param {*} [options] Override http request option.
|
|
3747
4055
|
* @throws {RequiredError}
|
|
3748
4056
|
*/
|
|
3749
|
-
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
4057
|
+
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
|
|
3750
4058
|
};
|
|
3751
4059
|
/**
|
|
3752
4060
|
* ConversationsApi - object-oriented interface
|
|
@@ -3826,13 +4134,13 @@ declare class ConversationsApi extends BaseAPI {
|
|
|
3826
4134
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3827
4135
|
* @param {number} [limit]
|
|
3828
4136
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3829
|
-
* @param {
|
|
4137
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3830
4138
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3831
4139
|
* @param {*} [options] Override http request option.
|
|
3832
4140
|
* @throws {RequiredError}
|
|
3833
4141
|
* @memberof ConversationsApi
|
|
3834
4142
|
*/
|
|
3835
|
-
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
4143
|
+
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
|
|
3836
4144
|
}
|
|
3837
4145
|
/**
|
|
3838
4146
|
* HostawayApi - axios parameter creator
|
|
@@ -4655,12 +4963,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
4655
4963
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4656
4964
|
* @param {number} [limit]
|
|
4657
4965
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4658
|
-
* @param {
|
|
4966
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
4659
4967
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4660
4968
|
* @param {*} [options] Override http request option.
|
|
4661
4969
|
* @throws {RequiredError}
|
|
4662
4970
|
*/
|
|
4663
|
-
messagesList: (searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
4971
|
+
messagesList: (searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4664
4972
|
/**
|
|
4665
4973
|
* Phones Create
|
|
4666
4974
|
* @summary Phones Create
|
|
@@ -5016,12 +5324,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5016
5324
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5017
5325
|
* @param {number} [limit]
|
|
5018
5326
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5019
|
-
* @param {
|
|
5327
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
5020
5328
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5021
5329
|
* @param {*} [options] Override http request option.
|
|
5022
5330
|
* @throws {RequiredError}
|
|
5023
5331
|
*/
|
|
5024
|
-
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
5332
|
+
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
|
|
5025
5333
|
/**
|
|
5026
5334
|
* Phones Create
|
|
5027
5335
|
* @summary Phones Create
|
|
@@ -5377,12 +5685,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
5377
5685
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5378
5686
|
* @param {number} [limit]
|
|
5379
5687
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5380
|
-
* @param {
|
|
5688
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
5381
5689
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5382
5690
|
* @param {*} [options] Override http request option.
|
|
5383
5691
|
* @throws {RequiredError}
|
|
5384
5692
|
*/
|
|
5385
|
-
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
5693
|
+
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
|
|
5386
5694
|
/**
|
|
5387
5695
|
* Phones Create
|
|
5388
5696
|
* @summary Phones Create
|
|
@@ -5767,13 +6075,13 @@ declare class UnboundApi extends BaseAPI {
|
|
|
5767
6075
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5768
6076
|
* @param {number} [limit]
|
|
5769
6077
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5770
|
-
* @param {
|
|
6078
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
5771
6079
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5772
6080
|
* @param {*} [options] Override http request option.
|
|
5773
6081
|
* @throws {RequiredError}
|
|
5774
6082
|
* @memberof UnboundApi
|
|
5775
6083
|
*/
|
|
5776
|
-
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?:
|
|
6084
|
+
messagesList(searchString?: string | null, contactId?: string | null, conversationId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
|
|
5777
6085
|
/**
|
|
5778
6086
|
* Phones Create
|
|
5779
6087
|
* @summary Phones Create
|
|
@@ -5883,4 +6191,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
5883
6191
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
5884
6192
|
}
|
|
5885
6193
|
|
|
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
|
|
6194
|
+
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 BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type Conversationtypedata1, type Conversationtypedata2, 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, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4, SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi5, SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum, 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 };
|