@ember-home/unbound-ts-client 0.0.40 → 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 +500 -179
- package/dist/index.d.ts +500 -179
- 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.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}
|
|
@@ -651,10 +657,10 @@ interface APIContactUpdate {
|
|
|
651
657
|
'primaryPhone'?: string | null;
|
|
652
658
|
/**
|
|
653
659
|
*
|
|
654
|
-
* @type {
|
|
660
|
+
* @type {BaseAddressApi}
|
|
655
661
|
* @memberof APIContactUpdate
|
|
656
662
|
*/
|
|
657
|
-
'
|
|
663
|
+
'primaryAddress'?: BaseAddressApi | null;
|
|
658
664
|
/**
|
|
659
665
|
*
|
|
660
666
|
* @type {string}
|
|
@@ -710,18 +716,6 @@ interface APIConversation {
|
|
|
710
716
|
* @memberof APIConversation
|
|
711
717
|
*/
|
|
712
718
|
'conversationId': string;
|
|
713
|
-
/**
|
|
714
|
-
*
|
|
715
|
-
* @type {string}
|
|
716
|
-
* @memberof APIConversation
|
|
717
|
-
*/
|
|
718
|
-
'createdAt': string;
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @type {string}
|
|
722
|
-
* @memberof APIConversation
|
|
723
|
-
*/
|
|
724
|
-
'updatedAt': string;
|
|
725
719
|
/**
|
|
726
720
|
*
|
|
727
721
|
* @type {string}
|
|
@@ -742,16 +736,10 @@ interface APIConversation {
|
|
|
742
736
|
'unreadCount': number;
|
|
743
737
|
/**
|
|
744
738
|
*
|
|
745
|
-
* @type {
|
|
746
|
-
* @memberof APIConversation
|
|
747
|
-
*/
|
|
748
|
-
'providerType': string;
|
|
749
|
-
/**
|
|
750
|
-
*
|
|
751
|
-
* @type {string}
|
|
739
|
+
* @type {Conversationtypedata}
|
|
752
740
|
* @memberof APIConversation
|
|
753
741
|
*/
|
|
754
|
-
'
|
|
742
|
+
'conversationTypeData': Conversationtypedata;
|
|
755
743
|
}
|
|
756
744
|
/**
|
|
757
745
|
*
|
|
@@ -759,12 +747,6 @@ interface APIConversation {
|
|
|
759
747
|
* @interface APIConversationCreate
|
|
760
748
|
*/
|
|
761
749
|
interface APIConversationCreate {
|
|
762
|
-
/**
|
|
763
|
-
*
|
|
764
|
-
* @type {string}
|
|
765
|
-
* @memberof APIConversationCreate
|
|
766
|
-
*/
|
|
767
|
-
'providerUpdatedAt': string;
|
|
768
750
|
/**
|
|
769
751
|
*
|
|
770
752
|
* @type {ConversationStatus}
|
|
@@ -773,10 +755,10 @@ interface APIConversationCreate {
|
|
|
773
755
|
'status': ConversationStatus;
|
|
774
756
|
/**
|
|
775
757
|
*
|
|
776
|
-
* @type {
|
|
758
|
+
* @type {Conversationtypedata1}
|
|
777
759
|
* @memberof APIConversationCreate
|
|
778
760
|
*/
|
|
779
|
-
'conversationTypeData':
|
|
761
|
+
'conversationTypeData': Conversationtypedata1;
|
|
780
762
|
/**
|
|
781
763
|
*
|
|
782
764
|
* @type {string}
|
|
@@ -790,12 +772,6 @@ interface APIConversationCreate {
|
|
|
790
772
|
* @interface APIConversationUpdate
|
|
791
773
|
*/
|
|
792
774
|
interface APIConversationUpdate {
|
|
793
|
-
/**
|
|
794
|
-
*
|
|
795
|
-
* @type {string}
|
|
796
|
-
* @memberof APIConversationUpdate
|
|
797
|
-
*/
|
|
798
|
-
'providerUpdatedAt': string;
|
|
799
775
|
/**
|
|
800
776
|
*
|
|
801
777
|
* @type {ConversationStatus}
|
|
@@ -804,10 +780,10 @@ interface APIConversationUpdate {
|
|
|
804
780
|
'status': ConversationStatus;
|
|
805
781
|
/**
|
|
806
782
|
*
|
|
807
|
-
* @type {
|
|
783
|
+
* @type {Conversationtypedata2}
|
|
808
784
|
* @memberof APIConversationUpdate
|
|
809
785
|
*/
|
|
810
|
-
'conversationTypeData':
|
|
786
|
+
'conversationTypeData': Conversationtypedata2;
|
|
811
787
|
/**
|
|
812
788
|
*
|
|
813
789
|
* @type {string}
|
|
@@ -1033,10 +1009,10 @@ interface APIManagedPhoneNumber {
|
|
|
1033
1009
|
interface APIMessage {
|
|
1034
1010
|
/**
|
|
1035
1011
|
*
|
|
1036
|
-
* @type {
|
|
1012
|
+
* @type {string}
|
|
1037
1013
|
* @memberof APIMessage
|
|
1038
1014
|
*/
|
|
1039
|
-
'
|
|
1015
|
+
'body': string;
|
|
1040
1016
|
/**
|
|
1041
1017
|
*
|
|
1042
1018
|
* @type {string}
|
|
@@ -1069,34 +1045,16 @@ interface APIMessage {
|
|
|
1069
1045
|
'scheduledAt'?: string | null;
|
|
1070
1046
|
/**
|
|
1071
1047
|
*
|
|
1072
|
-
* @type {
|
|
1048
|
+
* @type {Participanttypedata}
|
|
1073
1049
|
* @memberof APIMessage
|
|
1074
1050
|
*/
|
|
1075
|
-
'
|
|
1076
|
-
/**
|
|
1077
|
-
*
|
|
1078
|
-
* @type {string}
|
|
1079
|
-
* @memberof APIMessage
|
|
1080
|
-
*/
|
|
1081
|
-
'body': string;
|
|
1082
|
-
/**
|
|
1083
|
-
*
|
|
1084
|
-
* @type {string}
|
|
1085
|
-
* @memberof APIMessage
|
|
1086
|
-
*/
|
|
1087
|
-
'channelName': string;
|
|
1051
|
+
'participantTypeData': Participanttypedata;
|
|
1088
1052
|
/**
|
|
1089
1053
|
*
|
|
1090
1054
|
* @type {string}
|
|
1091
1055
|
* @memberof APIMessage
|
|
1092
1056
|
*/
|
|
1093
1057
|
'messageId': string;
|
|
1094
|
-
/**
|
|
1095
|
-
*
|
|
1096
|
-
* @type {Messagetypedata}
|
|
1097
|
-
* @memberof APIMessage
|
|
1098
|
-
*/
|
|
1099
|
-
'messageTypeData': Messagetypedata;
|
|
1100
1058
|
/**
|
|
1101
1059
|
*
|
|
1102
1060
|
* @type {string}
|
|
@@ -1105,40 +1063,34 @@ interface APIMessage {
|
|
|
1105
1063
|
'conversationId': string;
|
|
1106
1064
|
/**
|
|
1107
1065
|
*
|
|
1108
|
-
* @type {
|
|
1109
|
-
* @memberof APIMessage
|
|
1110
|
-
*/
|
|
1111
|
-
'createdAt': string;
|
|
1112
|
-
/**
|
|
1113
|
-
*
|
|
1114
|
-
* @type {string}
|
|
1066
|
+
* @type {MessageDirection}
|
|
1115
1067
|
* @memberof APIMessage
|
|
1116
1068
|
*/
|
|
1117
|
-
'
|
|
1069
|
+
'direction': MessageDirection;
|
|
1118
1070
|
/**
|
|
1119
1071
|
*
|
|
1120
1072
|
* @type {string}
|
|
1121
1073
|
* @memberof APIMessage
|
|
1122
1074
|
*/
|
|
1123
|
-
'
|
|
1075
|
+
'createdAt': string;
|
|
1124
1076
|
/**
|
|
1125
1077
|
*
|
|
1126
1078
|
* @type {string}
|
|
1127
1079
|
* @memberof APIMessage
|
|
1128
1080
|
*/
|
|
1129
|
-
'
|
|
1081
|
+
'updatedAt': string;
|
|
1130
1082
|
/**
|
|
1131
1083
|
*
|
|
1132
|
-
* @type {
|
|
1084
|
+
* @type {MessageStatus}
|
|
1133
1085
|
* @memberof APIMessage
|
|
1134
1086
|
*/
|
|
1135
|
-
'
|
|
1087
|
+
'status'?: MessageStatus;
|
|
1136
1088
|
/**
|
|
1137
1089
|
*
|
|
1138
|
-
* @type {
|
|
1090
|
+
* @type {Messagetypedata}
|
|
1139
1091
|
* @memberof APIMessage
|
|
1140
1092
|
*/
|
|
1141
|
-
'
|
|
1093
|
+
'messageTypeData': Messagetypedata;
|
|
1142
1094
|
}
|
|
1143
1095
|
/**
|
|
1144
1096
|
*
|
|
@@ -1151,19 +1103,7 @@ interface APIMessageCreate {
|
|
|
1151
1103
|
* @type {string}
|
|
1152
1104
|
* @memberof APIMessageCreate
|
|
1153
1105
|
*/
|
|
1154
|
-
'
|
|
1155
|
-
/**
|
|
1156
|
-
*
|
|
1157
|
-
* @type {string}
|
|
1158
|
-
* @memberof APIMessageCreate
|
|
1159
|
-
*/
|
|
1160
|
-
'providerUpdatedAt'?: string;
|
|
1161
|
-
/**
|
|
1162
|
-
*
|
|
1163
|
-
* @type {MessageDirection}
|
|
1164
|
-
* @memberof APIMessageCreate
|
|
1165
|
-
*/
|
|
1166
|
-
'direction': MessageDirection;
|
|
1106
|
+
'body': string;
|
|
1167
1107
|
/**
|
|
1168
1108
|
*
|
|
1169
1109
|
* @type {string}
|
|
@@ -1196,22 +1136,10 @@ interface APIMessageCreate {
|
|
|
1196
1136
|
'scheduledAt'?: string | null;
|
|
1197
1137
|
/**
|
|
1198
1138
|
*
|
|
1199
|
-
* @type {
|
|
1139
|
+
* @type {Participanttypedata}
|
|
1200
1140
|
* @memberof APIMessageCreate
|
|
1201
1141
|
*/
|
|
1202
|
-
'
|
|
1203
|
-
/**
|
|
1204
|
-
*
|
|
1205
|
-
* @type {string}
|
|
1206
|
-
* @memberof APIMessageCreate
|
|
1207
|
-
*/
|
|
1208
|
-
'body': string;
|
|
1209
|
-
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @type {string}
|
|
1212
|
-
* @memberof APIMessageCreate
|
|
1213
|
-
*/
|
|
1214
|
-
'channelName': string;
|
|
1142
|
+
'participantTypeData': Participanttypedata;
|
|
1215
1143
|
/**
|
|
1216
1144
|
*
|
|
1217
1145
|
* @type {string}
|
|
@@ -1441,6 +1369,12 @@ interface APIReservation {
|
|
|
1441
1369
|
* @memberof APIReservation
|
|
1442
1370
|
*/
|
|
1443
1371
|
'totalPrice': number;
|
|
1372
|
+
/**
|
|
1373
|
+
*
|
|
1374
|
+
* @type {ChannelInfoApi}
|
|
1375
|
+
* @memberof APIReservation
|
|
1376
|
+
*/
|
|
1377
|
+
'channelInfo': ChannelInfoApi;
|
|
1444
1378
|
/**
|
|
1445
1379
|
*
|
|
1446
1380
|
* @type {number}
|
|
@@ -1686,6 +1620,42 @@ 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];
|
|
1646
|
+
/**
|
|
1647
|
+
*
|
|
1648
|
+
* @export
|
|
1649
|
+
* @interface ChannelInfoApi
|
|
1650
|
+
*/
|
|
1651
|
+
interface ChannelInfoApi {
|
|
1652
|
+
/**
|
|
1653
|
+
*
|
|
1654
|
+
* @type {ReservationChannelTypes}
|
|
1655
|
+
* @memberof ChannelInfoApi
|
|
1656
|
+
*/
|
|
1657
|
+
'channelName': ReservationChannelTypes;
|
|
1658
|
+
}
|
|
1689
1659
|
/**
|
|
1690
1660
|
*
|
|
1691
1661
|
* @export
|
|
@@ -1739,12 +1709,17 @@ type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationSta
|
|
|
1739
1709
|
* @type Conversationtypedata
|
|
1740
1710
|
* @export
|
|
1741
1711
|
*/
|
|
1742
|
-
type Conversationtypedata =
|
|
1712
|
+
type Conversationtypedata = ProviderConversationDataApi | TwilioConversationDataApi | object;
|
|
1743
1713
|
/**
|
|
1744
1714
|
* @type Conversationtypedata1
|
|
1745
1715
|
* @export
|
|
1746
1716
|
*/
|
|
1747
|
-
type Conversationtypedata1 =
|
|
1717
|
+
type Conversationtypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2;
|
|
1718
|
+
/**
|
|
1719
|
+
* @type Conversationtypedata2
|
|
1720
|
+
* @export
|
|
1721
|
+
*/
|
|
1722
|
+
type Conversationtypedata2 = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1 | SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2;
|
|
1748
1723
|
/**
|
|
1749
1724
|
*
|
|
1750
1725
|
* @export
|
|
@@ -1802,6 +1777,58 @@ interface EmailApi {
|
|
|
1802
1777
|
*/
|
|
1803
1778
|
'email': string;
|
|
1804
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];
|
|
1805
1832
|
/**
|
|
1806
1833
|
*
|
|
1807
1834
|
* @export
|
|
@@ -1883,6 +1910,29 @@ interface HostawayWebhook {
|
|
|
1883
1910
|
*/
|
|
1884
1911
|
'data': object;
|
|
1885
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];
|
|
1886
1936
|
/**
|
|
1887
1937
|
*
|
|
1888
1938
|
* @export
|
|
@@ -1977,12 +2027,12 @@ type MessageStatus = typeof MessageStatus[keyof typeof MessageStatus];
|
|
|
1977
2027
|
* @type Messagetypedata
|
|
1978
2028
|
* @export
|
|
1979
2029
|
*/
|
|
1980
|
-
type Messagetypedata =
|
|
2030
|
+
type Messagetypedata = RentalProviderMessageApi | TwilioProviderMessageApi | object;
|
|
1981
2031
|
/**
|
|
1982
2032
|
* @type Messagetypedata1
|
|
1983
2033
|
* @export
|
|
1984
2034
|
*/
|
|
1985
|
-
type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
|
|
2035
|
+
type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi5;
|
|
1986
2036
|
/**
|
|
1987
2037
|
*
|
|
1988
2038
|
* @export
|
|
@@ -2179,6 +2229,16 @@ declare const PaginationDirection: {
|
|
|
2179
2229
|
readonly Backward: "backward";
|
|
2180
2230
|
};
|
|
2181
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;
|
|
2182
2242
|
/**
|
|
2183
2243
|
*
|
|
2184
2244
|
* @export
|
|
@@ -2198,6 +2258,25 @@ interface PhoneApi {
|
|
|
2198
2258
|
*/
|
|
2199
2259
|
'phone': string;
|
|
2200
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
|
+
}
|
|
2201
2280
|
/**
|
|
2202
2281
|
*
|
|
2203
2282
|
* @export
|
|
@@ -2236,6 +2315,78 @@ interface ProviderAttributionApi {
|
|
|
2236
2315
|
*/
|
|
2237
2316
|
'channels': Array<ReservationChannelTypes>;
|
|
2238
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];
|
|
2239
2390
|
/**
|
|
2240
2391
|
*
|
|
2241
2392
|
* @export
|
|
@@ -2289,39 +2440,80 @@ interface ProviderInfoApi {
|
|
|
2289
2440
|
/**
|
|
2290
2441
|
*
|
|
2291
2442
|
* @export
|
|
2292
|
-
* @interface
|
|
2443
|
+
* @interface ProviderPhonesApi
|
|
2293
2444
|
*/
|
|
2294
|
-
interface
|
|
2445
|
+
interface ProviderPhonesApi {
|
|
2295
2446
|
/**
|
|
2296
2447
|
*
|
|
2297
2448
|
* @type {string}
|
|
2298
|
-
* @memberof
|
|
2449
|
+
* @memberof ProviderPhonesApi
|
|
2450
|
+
*/
|
|
2451
|
+
'phone': string;
|
|
2452
|
+
/**
|
|
2453
|
+
*
|
|
2454
|
+
* @type {Array<ProviderAttributionApi>}
|
|
2455
|
+
* @memberof ProviderPhonesApi
|
|
2299
2456
|
*/
|
|
2300
|
-
'
|
|
2457
|
+
'providers': Array<ProviderAttributionApi>;
|
|
2301
2458
|
}
|
|
2302
|
-
|
|
2303
|
-
|
|
2459
|
+
/**
|
|
2460
|
+
*
|
|
2461
|
+
* @export
|
|
2462
|
+
* @interface ProviderStaffApi
|
|
2463
|
+
*/
|
|
2464
|
+
interface ProviderStaffApi {
|
|
2465
|
+
/**
|
|
2466
|
+
*
|
|
2467
|
+
* @type {string}
|
|
2468
|
+
* @memberof ProviderStaffApi
|
|
2469
|
+
*/
|
|
2470
|
+
'staffType': ProviderStaffApiStaffTypeEnum;
|
|
2471
|
+
/**
|
|
2472
|
+
*
|
|
2473
|
+
* @type {string}
|
|
2474
|
+
* @memberof ProviderStaffApi
|
|
2475
|
+
*/
|
|
2476
|
+
'providerUserId': string;
|
|
2477
|
+
}
|
|
2478
|
+
declare const ProviderStaffApiStaffTypeEnum: {
|
|
2479
|
+
readonly ProviderStaff: "PROVIDER_STAFF";
|
|
2304
2480
|
};
|
|
2305
|
-
type
|
|
2481
|
+
type ProviderStaffApiStaffTypeEnum = typeof ProviderStaffApiStaffTypeEnum[keyof typeof ProviderStaffApiStaffTypeEnum];
|
|
2306
2482
|
/**
|
|
2307
2483
|
*
|
|
2308
2484
|
* @export
|
|
2309
|
-
* @interface
|
|
2485
|
+
* @interface RentalProviderMessageApi
|
|
2310
2486
|
*/
|
|
2311
|
-
interface
|
|
2487
|
+
interface RentalProviderMessageApi {
|
|
2312
2488
|
/**
|
|
2313
2489
|
*
|
|
2314
2490
|
* @type {string}
|
|
2315
|
-
* @memberof
|
|
2491
|
+
* @memberof RentalProviderMessageApi
|
|
2316
2492
|
*/
|
|
2317
|
-
'
|
|
2493
|
+
'messageType': RentalProviderMessageApiMessageTypeEnum;
|
|
2318
2494
|
/**
|
|
2319
2495
|
*
|
|
2320
|
-
* @type {
|
|
2321
|
-
* @memberof
|
|
2496
|
+
* @type {string}
|
|
2497
|
+
* @memberof RentalProviderMessageApi
|
|
2322
2498
|
*/
|
|
2323
|
-
'
|
|
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;
|
|
2324
2512
|
}
|
|
2513
|
+
declare const RentalProviderMessageApiMessageTypeEnum: {
|
|
2514
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
2515
|
+
};
|
|
2516
|
+
type RentalProviderMessageApiMessageTypeEnum = typeof RentalProviderMessageApiMessageTypeEnum[keyof typeof RentalProviderMessageApiMessageTypeEnum];
|
|
2325
2517
|
/**
|
|
2326
2518
|
*
|
|
2327
2519
|
* @export
|
|
@@ -2459,18 +2651,24 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
|
|
|
2459
2651
|
* @type {string}
|
|
2460
2652
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
2461
2653
|
*/
|
|
2462
|
-
'
|
|
2654
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum;
|
|
2463
2655
|
/**
|
|
2464
2656
|
*
|
|
2465
2657
|
* @type {string}
|
|
2466
2658
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
2467
2659
|
*/
|
|
2468
|
-
'
|
|
2660
|
+
'providerChannelName': string;
|
|
2661
|
+
/**
|
|
2662
|
+
*
|
|
2663
|
+
* @type {ProviderCommunicationType}
|
|
2664
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
2665
|
+
*/
|
|
2666
|
+
'providerCommunicationType': ProviderCommunicationType;
|
|
2469
2667
|
}
|
|
2470
|
-
declare const
|
|
2471
|
-
readonly
|
|
2668
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
|
|
2669
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
2472
2670
|
};
|
|
2473
|
-
type
|
|
2671
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
|
|
2474
2672
|
/**
|
|
2475
2673
|
*
|
|
2476
2674
|
* @export
|
|
@@ -2482,36 +2680,59 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
|
|
|
2482
2680
|
* @type {string}
|
|
2483
2681
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
2484
2682
|
*/
|
|
2485
|
-
'
|
|
2683
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum;
|
|
2486
2684
|
/**
|
|
2487
2685
|
*
|
|
2488
2686
|
* @type {string}
|
|
2489
2687
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
2490
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
|
+
*/
|
|
2491
2712
|
'outboundFromManagedEmailId'?: string | null;
|
|
2492
2713
|
/**
|
|
2493
2714
|
*
|
|
2494
2715
|
* @type {string}
|
|
2495
|
-
* @memberof
|
|
2716
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2496
2717
|
*/
|
|
2497
2718
|
'subject': string;
|
|
2498
2719
|
/**
|
|
2499
2720
|
*
|
|
2500
2721
|
* @type {string}
|
|
2501
|
-
* @memberof
|
|
2722
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2502
2723
|
*/
|
|
2503
2724
|
'htmlBody': string | null;
|
|
2504
2725
|
/**
|
|
2505
2726
|
*
|
|
2506
2727
|
* @type {string}
|
|
2507
|
-
* @memberof
|
|
2728
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
|
|
2508
2729
|
*/
|
|
2509
2730
|
'plainBody': string | null;
|
|
2510
2731
|
}
|
|
2511
|
-
declare const
|
|
2732
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum: {
|
|
2512
2733
|
readonly Email: "EMAIL";
|
|
2513
2734
|
};
|
|
2514
|
-
type
|
|
2735
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum];
|
|
2515
2736
|
/**
|
|
2516
2737
|
*
|
|
2517
2738
|
* @export
|
|
@@ -2572,10 +2793,10 @@ type SrcResourceModelsListingsModelListingBaseSortBy = typeof SrcResourceModelsL
|
|
|
2572
2793
|
* @export
|
|
2573
2794
|
* @enum {string}
|
|
2574
2795
|
*/
|
|
2575
|
-
declare const
|
|
2796
|
+
declare const SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy: {
|
|
2576
2797
|
readonly CreatedAt: "created_at";
|
|
2577
2798
|
};
|
|
2578
|
-
type
|
|
2799
|
+
type SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy[keyof typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy];
|
|
2579
2800
|
/**
|
|
2580
2801
|
*
|
|
2581
2802
|
* @export
|
|
@@ -2588,61 +2809,132 @@ type SrcResourceModelsReservationsModelReservationBaseModelSortBy = typeof SrcRe
|
|
|
2588
2809
|
/**
|
|
2589
2810
|
*
|
|
2590
2811
|
* @export
|
|
2591
|
-
* @interface
|
|
2812
|
+
* @interface StaffApi
|
|
2592
2813
|
*/
|
|
2593
|
-
interface
|
|
2814
|
+
interface StaffApi {
|
|
2594
2815
|
/**
|
|
2595
2816
|
*
|
|
2596
2817
|
* @type {string}
|
|
2597
|
-
* @memberof
|
|
2818
|
+
* @memberof StaffApi
|
|
2598
2819
|
*/
|
|
2599
|
-
'
|
|
2820
|
+
'participantType': StaffApiParticipantTypeEnum;
|
|
2600
2821
|
/**
|
|
2601
2822
|
*
|
|
2602
|
-
* @type {
|
|
2603
|
-
* @memberof
|
|
2823
|
+
* @type {Participantname}
|
|
2824
|
+
* @memberof StaffApi
|
|
2604
2825
|
*/
|
|
2605
|
-
'
|
|
2826
|
+
'participantName': Participantname;
|
|
2827
|
+
/**
|
|
2828
|
+
*
|
|
2829
|
+
* @type {Stafftypedata}
|
|
2830
|
+
* @memberof StaffApi
|
|
2831
|
+
*/
|
|
2832
|
+
'staffTypeData': Stafftypedata;
|
|
2606
2833
|
}
|
|
2607
|
-
declare const
|
|
2608
|
-
readonly
|
|
2834
|
+
declare const StaffApiParticipantTypeEnum: {
|
|
2835
|
+
readonly Staff: "STAFF";
|
|
2609
2836
|
};
|
|
2610
|
-
type
|
|
2837
|
+
type StaffApiParticipantTypeEnum = typeof StaffApiParticipantTypeEnum[keyof typeof StaffApiParticipantTypeEnum];
|
|
2838
|
+
/**
|
|
2839
|
+
* @type Stafftypedata
|
|
2840
|
+
* @export
|
|
2841
|
+
*/
|
|
2842
|
+
type Stafftypedata = ExternalStaffApi | InternalStaffApi | ProviderStaffApi;
|
|
2611
2843
|
/**
|
|
2612
2844
|
*
|
|
2613
2845
|
* @export
|
|
2614
|
-
* @interface
|
|
2846
|
+
* @interface SubjectApi
|
|
2615
2847
|
*/
|
|
2616
|
-
interface
|
|
2848
|
+
interface SubjectApi {
|
|
2617
2849
|
/**
|
|
2618
2850
|
*
|
|
2619
2851
|
* @type {string}
|
|
2620
|
-
* @memberof
|
|
2852
|
+
* @memberof SubjectApi
|
|
2621
2853
|
*/
|
|
2622
|
-
'
|
|
2854
|
+
'guestName': string;
|
|
2623
2855
|
/**
|
|
2624
2856
|
*
|
|
2625
2857
|
* @type {string}
|
|
2626
|
-
* @memberof
|
|
2858
|
+
* @memberof SubjectApi
|
|
2627
2859
|
*/
|
|
2628
|
-
'
|
|
2860
|
+
'channelName': string;
|
|
2629
2861
|
/**
|
|
2630
2862
|
*
|
|
2631
|
-
* @type {
|
|
2632
|
-
* @memberof
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof SubjectApi
|
|
2633
2865
|
*/
|
|
2634
|
-
'
|
|
2866
|
+
'arrival': string;
|
|
2635
2867
|
/**
|
|
2636
2868
|
*
|
|
2637
|
-
* @type {
|
|
2638
|
-
* @memberof
|
|
2869
|
+
* @type {string}
|
|
2870
|
+
* @memberof SubjectApi
|
|
2639
2871
|
*/
|
|
2640
|
-
'
|
|
2872
|
+
'departure': string;
|
|
2873
|
+
/**
|
|
2874
|
+
*
|
|
2875
|
+
* @type {string}
|
|
2876
|
+
* @memberof SubjectApi
|
|
2877
|
+
*/
|
|
2878
|
+
'listingName': string;
|
|
2641
2879
|
}
|
|
2642
|
-
|
|
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: {
|
|
2643
2912
|
readonly Twilio: "TWILIO";
|
|
2644
2913
|
};
|
|
2645
|
-
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];
|
|
2646
2938
|
/**
|
|
2647
2939
|
*
|
|
2648
2940
|
* @export
|
|
@@ -2666,6 +2958,35 @@ declare const TwilioOutboundSenderTypeDataApiDirectionEnum: {
|
|
|
2666
2958
|
readonly Outbound: "OUTBOUND";
|
|
2667
2959
|
};
|
|
2668
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];
|
|
2669
2990
|
/**
|
|
2670
2991
|
*
|
|
2671
2992
|
* @export
|
|
@@ -3574,12 +3895,12 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3574
3895
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3575
3896
|
* @param {number} [limit]
|
|
3576
3897
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3577
|
-
* @param {
|
|
3898
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3578
3899
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3579
3900
|
* @param {*} [options] Override http request option.
|
|
3580
3901
|
* @throws {RequiredError}
|
|
3581
3902
|
*/
|
|
3582
|
-
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>;
|
|
3583
3904
|
};
|
|
3584
3905
|
/**
|
|
3585
3906
|
* ConversationsApi - functional programming interface
|
|
@@ -3651,12 +3972,12 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
3651
3972
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3652
3973
|
* @param {number} [limit]
|
|
3653
3974
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3654
|
-
* @param {
|
|
3975
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3655
3976
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3656
3977
|
* @param {*} [options] Override http request option.
|
|
3657
3978
|
* @throws {RequiredError}
|
|
3658
3979
|
*/
|
|
3659
|
-
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>>;
|
|
3660
3981
|
};
|
|
3661
3982
|
/**
|
|
3662
3983
|
* ConversationsApi - factory interface
|
|
@@ -3728,12 +4049,12 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
|
|
|
3728
4049
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3729
4050
|
* @param {number} [limit]
|
|
3730
4051
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3731
|
-
* @param {
|
|
4052
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3732
4053
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3733
4054
|
* @param {*} [options] Override http request option.
|
|
3734
4055
|
* @throws {RequiredError}
|
|
3735
4056
|
*/
|
|
3736
|
-
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>;
|
|
3737
4058
|
};
|
|
3738
4059
|
/**
|
|
3739
4060
|
* ConversationsApi - object-oriented interface
|
|
@@ -3813,13 +4134,13 @@ declare class ConversationsApi extends BaseAPI {
|
|
|
3813
4134
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3814
4135
|
* @param {number} [limit]
|
|
3815
4136
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3816
|
-
* @param {
|
|
4137
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
3817
4138
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3818
4139
|
* @param {*} [options] Override http request option.
|
|
3819
4140
|
* @throws {RequiredError}
|
|
3820
4141
|
* @memberof ConversationsApi
|
|
3821
4142
|
*/
|
|
3822
|
-
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>>;
|
|
3823
4144
|
}
|
|
3824
4145
|
/**
|
|
3825
4146
|
* HostawayApi - axios parameter creator
|
|
@@ -4642,12 +4963,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
4642
4963
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4643
4964
|
* @param {number} [limit]
|
|
4644
4965
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4645
|
-
* @param {
|
|
4966
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
4646
4967
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4647
4968
|
* @param {*} [options] Override http request option.
|
|
4648
4969
|
* @throws {RequiredError}
|
|
4649
4970
|
*/
|
|
4650
|
-
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>;
|
|
4651
4972
|
/**
|
|
4652
4973
|
* Phones Create
|
|
4653
4974
|
* @summary Phones Create
|
|
@@ -5003,12 +5324,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5003
5324
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5004
5325
|
* @param {number} [limit]
|
|
5005
5326
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5006
|
-
* @param {
|
|
5327
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
5007
5328
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5008
5329
|
* @param {*} [options] Override http request option.
|
|
5009
5330
|
* @throws {RequiredError}
|
|
5010
5331
|
*/
|
|
5011
|
-
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>>;
|
|
5012
5333
|
/**
|
|
5013
5334
|
* Phones Create
|
|
5014
5335
|
* @summary Phones Create
|
|
@@ -5364,12 +5685,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
5364
5685
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5365
5686
|
* @param {number} [limit]
|
|
5366
5687
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5367
|
-
* @param {
|
|
5688
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
5368
5689
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5369
5690
|
* @param {*} [options] Override http request option.
|
|
5370
5691
|
* @throws {RequiredError}
|
|
5371
5692
|
*/
|
|
5372
|
-
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>;
|
|
5373
5694
|
/**
|
|
5374
5695
|
* Phones Create
|
|
5375
5696
|
* @summary Phones Create
|
|
@@ -5754,13 +6075,13 @@ declare class UnboundApi extends BaseAPI {
|
|
|
5754
6075
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5755
6076
|
* @param {number} [limit]
|
|
5756
6077
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
5757
|
-
* @param {
|
|
6078
|
+
* @param {SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy} [sortBy] Sort key
|
|
5758
6079
|
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
5759
6080
|
* @param {*} [options] Override http request option.
|
|
5760
6081
|
* @throws {RequiredError}
|
|
5761
6082
|
* @memberof UnboundApi
|
|
5762
6083
|
*/
|
|
5763
|
-
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>>;
|
|
5764
6085
|
/**
|
|
5765
6086
|
* Phones Create
|
|
5766
6087
|
* @summary Phones Create
|
|
@@ -5870,4 +6191,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
5870
6191
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
5871
6192
|
}
|
|
5872
6193
|
|
|
5873
|
-
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, 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 };
|