@ember-home/unbound-ts-client 0.0.74 → 0.0.76
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 +36 -23
- package/dist/index.d.ts +36 -23
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -709,43 +709,43 @@ interface APIConversation {
|
|
|
709
709
|
* @type {string}
|
|
710
710
|
* @memberof APIConversation
|
|
711
711
|
*/
|
|
712
|
-
'
|
|
712
|
+
'lastMessageSentId'?: string | null;
|
|
713
713
|
/**
|
|
714
714
|
*
|
|
715
715
|
* @type {string}
|
|
716
716
|
* @memberof APIConversation
|
|
717
717
|
*/
|
|
718
|
-
'
|
|
718
|
+
'lastMessageSentAt'?: string | null;
|
|
719
719
|
/**
|
|
720
720
|
*
|
|
721
|
-
* @type {
|
|
721
|
+
* @type {string}
|
|
722
722
|
* @memberof APIConversation
|
|
723
723
|
*/
|
|
724
|
-
'
|
|
724
|
+
'conversationId': string;
|
|
725
725
|
/**
|
|
726
726
|
*
|
|
727
|
-
* @type {
|
|
727
|
+
* @type {string}
|
|
728
728
|
* @memberof APIConversation
|
|
729
729
|
*/
|
|
730
|
-
'
|
|
730
|
+
'inboxId': string;
|
|
731
731
|
/**
|
|
732
732
|
*
|
|
733
|
-
* @type {
|
|
733
|
+
* @type {ConversationStatus}
|
|
734
734
|
* @memberof APIConversation
|
|
735
735
|
*/
|
|
736
|
-
'
|
|
736
|
+
'status': ConversationStatus;
|
|
737
737
|
/**
|
|
738
738
|
*
|
|
739
|
-
* @type {
|
|
739
|
+
* @type {boolean}
|
|
740
740
|
* @memberof APIConversation
|
|
741
741
|
*/
|
|
742
|
-
'
|
|
742
|
+
'isUnread': boolean;
|
|
743
743
|
/**
|
|
744
744
|
*
|
|
745
745
|
* @type {string}
|
|
746
746
|
* @memberof APIConversation
|
|
747
747
|
*/
|
|
748
|
-
'
|
|
748
|
+
'lastMessageSentPreview'?: string | null;
|
|
749
749
|
/**
|
|
750
750
|
*
|
|
751
751
|
* @type {Conversationtypedata}
|
|
@@ -765,6 +765,18 @@ interface APIConversation {
|
|
|
765
765
|
* @interface APIConversationUpdate
|
|
766
766
|
*/
|
|
767
767
|
interface APIConversationUpdate {
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @type {string}
|
|
771
|
+
* @memberof APIConversationUpdate
|
|
772
|
+
*/
|
|
773
|
+
'lastMessageSentId'?: string | null;
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {string}
|
|
777
|
+
* @memberof APIConversationUpdate
|
|
778
|
+
*/
|
|
779
|
+
'lastMessageSentAt'?: string | null;
|
|
768
780
|
/**
|
|
769
781
|
*
|
|
770
782
|
* @type {ConversationStatus}
|
|
@@ -2152,6 +2164,7 @@ type MessageDirection = typeof MessageDirection[keyof typeof MessageDirection];
|
|
|
2152
2164
|
* @enum {string}
|
|
2153
2165
|
*/
|
|
2154
2166
|
declare const MessageStatus: {
|
|
2167
|
+
readonly Pending: "PENDING";
|
|
2155
2168
|
readonly Sent: "SENT";
|
|
2156
2169
|
readonly Delivered: "DELIVERED";
|
|
2157
2170
|
readonly Read: "READ";
|
|
@@ -3010,21 +3023,21 @@ interface SubjectApi {
|
|
|
3010
3023
|
/**
|
|
3011
3024
|
*
|
|
3012
3025
|
* @export
|
|
3013
|
-
* @interface
|
|
3026
|
+
* @interface Suggestions
|
|
3014
3027
|
*/
|
|
3015
|
-
interface
|
|
3028
|
+
interface Suggestions {
|
|
3016
3029
|
/**
|
|
3017
3030
|
*
|
|
3018
3031
|
* @type {string}
|
|
3019
|
-
* @memberof
|
|
3032
|
+
* @memberof Suggestions
|
|
3020
3033
|
*/
|
|
3021
3034
|
'suggestedReply': string;
|
|
3022
3035
|
/**
|
|
3023
3036
|
*
|
|
3024
3037
|
* @type {string}
|
|
3025
|
-
* @memberof
|
|
3038
|
+
* @memberof Suggestions
|
|
3026
3039
|
*/
|
|
3027
|
-
'
|
|
3040
|
+
'suggestionId': string;
|
|
3028
3041
|
}
|
|
3029
3042
|
/**
|
|
3030
3043
|
*
|
|
@@ -4279,7 +4292,7 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
4279
4292
|
* @param {*} [options] Override http request option.
|
|
4280
4293
|
* @throws {RequiredError}
|
|
4281
4294
|
*/
|
|
4282
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
4295
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Suggestions>>>;
|
|
4283
4296
|
/**
|
|
4284
4297
|
* Conversations Update
|
|
4285
4298
|
* @summary Conversations Update
|
|
@@ -4360,7 +4373,7 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
|
|
|
4360
4373
|
* @param {*} [options] Override http request option.
|
|
4361
4374
|
* @throws {RequiredError}
|
|
4362
4375
|
*/
|
|
4363
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
4376
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Suggestions>>;
|
|
4364
4377
|
/**
|
|
4365
4378
|
* Conversations Update
|
|
4366
4379
|
* @summary Conversations Update
|
|
@@ -4446,7 +4459,7 @@ declare class ConversationsApi extends BaseAPI {
|
|
|
4446
4459
|
* @throws {RequiredError}
|
|
4447
4460
|
* @memberof ConversationsApi
|
|
4448
4461
|
*/
|
|
4449
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<
|
|
4462
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<Suggestions[], any>>;
|
|
4450
4463
|
/**
|
|
4451
4464
|
* Conversations Update
|
|
4452
4465
|
* @summary Conversations Update
|
|
@@ -5645,7 +5658,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5645
5658
|
* @param {*} [options] Override http request option.
|
|
5646
5659
|
* @throws {RequiredError}
|
|
5647
5660
|
*/
|
|
5648
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
5661
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Suggestions>>>;
|
|
5649
5662
|
/**
|
|
5650
5663
|
* Conversations Update
|
|
5651
5664
|
* @summary Conversations Update
|
|
@@ -6024,7 +6037,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
6024
6037
|
* @param {*} [options] Override http request option.
|
|
6025
6038
|
* @throws {RequiredError}
|
|
6026
6039
|
*/
|
|
6027
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
6040
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Suggestions>>;
|
|
6028
6041
|
/**
|
|
6029
6042
|
* Conversations Update
|
|
6030
6043
|
* @summary Conversations Update
|
|
@@ -6421,7 +6434,7 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6421
6434
|
* @throws {RequiredError}
|
|
6422
6435
|
* @memberof UnboundApi
|
|
6423
6436
|
*/
|
|
6424
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<
|
|
6437
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<Suggestions[], any>>;
|
|
6425
6438
|
/**
|
|
6426
6439
|
* Conversations Update
|
|
6427
6440
|
* @summary Conversations Update
|
|
@@ -6674,4 +6687,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6674
6687
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
6675
6688
|
}
|
|
6676
6689
|
|
|
6677
|
-
export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInbox, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate1, type APIMessageCreate2, 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, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type BaseAddressApi, type BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type CreateContactListing, type DeleteContactListing, type EmailApi, type EmailConversationDataApi, EmailConversationDataApiConversationTypeEnum, type EmailInboxApi, EmailInboxApiInboxTypeEnum, type EmailProviderMessageApi, EmailProviderMessageApiMessageTypeEnum, type ExternalStaffApi, ExternalStaffApiStaffTypeEnum, type GuestApi, GuestApiParticipantTypeEnum, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InboxesApi, InboxesApiAxiosParamCreator, InboxesApiFactory, InboxesApiFp, type Inboxtypedata, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type InternalStaffApi, InternalStaffApiStaffTypeEnum, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInbox, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagecreate, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type Participantname, type Participanttypedata, type PhoneApi, type PhoneInboxApi, PhoneInboxApiInboxTypeEnum, type PhonesApi, type ProviderAccountInboxApi, ProviderAccountInboxApiInboxTypeEnum, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationType, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReasonType, type RelatedListingApi, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, RentalProviderTypes, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type
|
|
6690
|
+
export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInbox, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate1, type APIMessageCreate2, 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, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type BaseAddressApi, type BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type CreateContactListing, type DeleteContactListing, type EmailApi, type EmailConversationDataApi, EmailConversationDataApiConversationTypeEnum, type EmailInboxApi, EmailInboxApiInboxTypeEnum, type EmailProviderMessageApi, EmailProviderMessageApiMessageTypeEnum, type ExternalStaffApi, ExternalStaffApiStaffTypeEnum, type GuestApi, GuestApiParticipantTypeEnum, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InboxesApi, InboxesApiAxiosParamCreator, InboxesApiFactory, InboxesApiFp, type Inboxtypedata, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type InternalStaffApi, InternalStaffApiStaffTypeEnum, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInbox, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagecreate, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type Participantname, type Participanttypedata, type PhoneApi, type PhoneInboxApi, PhoneInboxApiInboxTypeEnum, type PhonesApi, type ProviderAccountInboxApi, ProviderAccountInboxApiInboxTypeEnum, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationType, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReasonType, type RelatedListingApi, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, RentalProviderTypes, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type Suggestions, type ToItemApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing, type UserApi };
|
package/dist/index.d.ts
CHANGED
|
@@ -709,43 +709,43 @@ interface APIConversation {
|
|
|
709
709
|
* @type {string}
|
|
710
710
|
* @memberof APIConversation
|
|
711
711
|
*/
|
|
712
|
-
'
|
|
712
|
+
'lastMessageSentId'?: string | null;
|
|
713
713
|
/**
|
|
714
714
|
*
|
|
715
715
|
* @type {string}
|
|
716
716
|
* @memberof APIConversation
|
|
717
717
|
*/
|
|
718
|
-
'
|
|
718
|
+
'lastMessageSentAt'?: string | null;
|
|
719
719
|
/**
|
|
720
720
|
*
|
|
721
|
-
* @type {
|
|
721
|
+
* @type {string}
|
|
722
722
|
* @memberof APIConversation
|
|
723
723
|
*/
|
|
724
|
-
'
|
|
724
|
+
'conversationId': string;
|
|
725
725
|
/**
|
|
726
726
|
*
|
|
727
|
-
* @type {
|
|
727
|
+
* @type {string}
|
|
728
728
|
* @memberof APIConversation
|
|
729
729
|
*/
|
|
730
|
-
'
|
|
730
|
+
'inboxId': string;
|
|
731
731
|
/**
|
|
732
732
|
*
|
|
733
|
-
* @type {
|
|
733
|
+
* @type {ConversationStatus}
|
|
734
734
|
* @memberof APIConversation
|
|
735
735
|
*/
|
|
736
|
-
'
|
|
736
|
+
'status': ConversationStatus;
|
|
737
737
|
/**
|
|
738
738
|
*
|
|
739
|
-
* @type {
|
|
739
|
+
* @type {boolean}
|
|
740
740
|
* @memberof APIConversation
|
|
741
741
|
*/
|
|
742
|
-
'
|
|
742
|
+
'isUnread': boolean;
|
|
743
743
|
/**
|
|
744
744
|
*
|
|
745
745
|
* @type {string}
|
|
746
746
|
* @memberof APIConversation
|
|
747
747
|
*/
|
|
748
|
-
'
|
|
748
|
+
'lastMessageSentPreview'?: string | null;
|
|
749
749
|
/**
|
|
750
750
|
*
|
|
751
751
|
* @type {Conversationtypedata}
|
|
@@ -765,6 +765,18 @@ interface APIConversation {
|
|
|
765
765
|
* @interface APIConversationUpdate
|
|
766
766
|
*/
|
|
767
767
|
interface APIConversationUpdate {
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @type {string}
|
|
771
|
+
* @memberof APIConversationUpdate
|
|
772
|
+
*/
|
|
773
|
+
'lastMessageSentId'?: string | null;
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {string}
|
|
777
|
+
* @memberof APIConversationUpdate
|
|
778
|
+
*/
|
|
779
|
+
'lastMessageSentAt'?: string | null;
|
|
768
780
|
/**
|
|
769
781
|
*
|
|
770
782
|
* @type {ConversationStatus}
|
|
@@ -2152,6 +2164,7 @@ type MessageDirection = typeof MessageDirection[keyof typeof MessageDirection];
|
|
|
2152
2164
|
* @enum {string}
|
|
2153
2165
|
*/
|
|
2154
2166
|
declare const MessageStatus: {
|
|
2167
|
+
readonly Pending: "PENDING";
|
|
2155
2168
|
readonly Sent: "SENT";
|
|
2156
2169
|
readonly Delivered: "DELIVERED";
|
|
2157
2170
|
readonly Read: "READ";
|
|
@@ -3010,21 +3023,21 @@ interface SubjectApi {
|
|
|
3010
3023
|
/**
|
|
3011
3024
|
*
|
|
3012
3025
|
* @export
|
|
3013
|
-
* @interface
|
|
3026
|
+
* @interface Suggestions
|
|
3014
3027
|
*/
|
|
3015
|
-
interface
|
|
3028
|
+
interface Suggestions {
|
|
3016
3029
|
/**
|
|
3017
3030
|
*
|
|
3018
3031
|
* @type {string}
|
|
3019
|
-
* @memberof
|
|
3032
|
+
* @memberof Suggestions
|
|
3020
3033
|
*/
|
|
3021
3034
|
'suggestedReply': string;
|
|
3022
3035
|
/**
|
|
3023
3036
|
*
|
|
3024
3037
|
* @type {string}
|
|
3025
|
-
* @memberof
|
|
3038
|
+
* @memberof Suggestions
|
|
3026
3039
|
*/
|
|
3027
|
-
'
|
|
3040
|
+
'suggestionId': string;
|
|
3028
3041
|
}
|
|
3029
3042
|
/**
|
|
3030
3043
|
*
|
|
@@ -4279,7 +4292,7 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
4279
4292
|
* @param {*} [options] Override http request option.
|
|
4280
4293
|
* @throws {RequiredError}
|
|
4281
4294
|
*/
|
|
4282
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
4295
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Suggestions>>>;
|
|
4283
4296
|
/**
|
|
4284
4297
|
* Conversations Update
|
|
4285
4298
|
* @summary Conversations Update
|
|
@@ -4360,7 +4373,7 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
|
|
|
4360
4373
|
* @param {*} [options] Override http request option.
|
|
4361
4374
|
* @throws {RequiredError}
|
|
4362
4375
|
*/
|
|
4363
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
4376
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Suggestions>>;
|
|
4364
4377
|
/**
|
|
4365
4378
|
* Conversations Update
|
|
4366
4379
|
* @summary Conversations Update
|
|
@@ -4446,7 +4459,7 @@ declare class ConversationsApi extends BaseAPI {
|
|
|
4446
4459
|
* @throws {RequiredError}
|
|
4447
4460
|
* @memberof ConversationsApi
|
|
4448
4461
|
*/
|
|
4449
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<
|
|
4462
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<Suggestions[], any>>;
|
|
4450
4463
|
/**
|
|
4451
4464
|
* Conversations Update
|
|
4452
4465
|
* @summary Conversations Update
|
|
@@ -5645,7 +5658,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5645
5658
|
* @param {*} [options] Override http request option.
|
|
5646
5659
|
* @throws {RequiredError}
|
|
5647
5660
|
*/
|
|
5648
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
5661
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Suggestions>>>;
|
|
5649
5662
|
/**
|
|
5650
5663
|
* Conversations Update
|
|
5651
5664
|
* @summary Conversations Update
|
|
@@ -6024,7 +6037,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
6024
6037
|
* @param {*} [options] Override http request option.
|
|
6025
6038
|
* @throws {RequiredError}
|
|
6026
6039
|
*/
|
|
6027
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
6040
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Suggestions>>;
|
|
6028
6041
|
/**
|
|
6029
6042
|
* Conversations Update
|
|
6030
6043
|
* @summary Conversations Update
|
|
@@ -6421,7 +6434,7 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6421
6434
|
* @throws {RequiredError}
|
|
6422
6435
|
* @memberof UnboundApi
|
|
6423
6436
|
*/
|
|
6424
|
-
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<
|
|
6437
|
+
conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<Suggestions[], any>>;
|
|
6425
6438
|
/**
|
|
6426
6439
|
* Conversations Update
|
|
6427
6440
|
* @summary Conversations Update
|
|
@@ -6674,4 +6687,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6674
6687
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
6675
6688
|
}
|
|
6676
6689
|
|
|
6677
|
-
export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInbox, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate1, type APIMessageCreate2, 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, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type BaseAddressApi, type BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type CreateContactListing, type DeleteContactListing, type EmailApi, type EmailConversationDataApi, EmailConversationDataApiConversationTypeEnum, type EmailInboxApi, EmailInboxApiInboxTypeEnum, type EmailProviderMessageApi, EmailProviderMessageApiMessageTypeEnum, type ExternalStaffApi, ExternalStaffApiStaffTypeEnum, type GuestApi, GuestApiParticipantTypeEnum, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InboxesApi, InboxesApiAxiosParamCreator, InboxesApiFactory, InboxesApiFp, type Inboxtypedata, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type InternalStaffApi, InternalStaffApiStaffTypeEnum, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInbox, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagecreate, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type Participantname, type Participanttypedata, type PhoneApi, type PhoneInboxApi, PhoneInboxApiInboxTypeEnum, type PhonesApi, type ProviderAccountInboxApi, ProviderAccountInboxApiInboxTypeEnum, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationType, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReasonType, type RelatedListingApi, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, RentalProviderTypes, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type
|
|
6690
|
+
export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInbox, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate1, type APIMessageCreate2, 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, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type BaseAddressApi, type BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type CreateContactListing, type DeleteContactListing, type EmailApi, type EmailConversationDataApi, EmailConversationDataApiConversationTypeEnum, type EmailInboxApi, EmailInboxApiInboxTypeEnum, type EmailProviderMessageApi, EmailProviderMessageApiMessageTypeEnum, type ExternalStaffApi, ExternalStaffApiStaffTypeEnum, type GuestApi, GuestApiParticipantTypeEnum, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InboxesApi, InboxesApiAxiosParamCreator, InboxesApiFactory, InboxesApiFp, type Inboxtypedata, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type InternalStaffApi, InternalStaffApiStaffTypeEnum, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInbox, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagecreate, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type Participantname, type Participanttypedata, type PhoneApi, type PhoneInboxApi, PhoneInboxApiInboxTypeEnum, type PhonesApi, type ProviderAccountInboxApi, ProviderAccountInboxApiInboxTypeEnum, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationType, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReasonType, type RelatedListingApi, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, RentalProviderTypes, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type Suggestions, type ToItemApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing, type UserApi };
|
package/dist/index.js
CHANGED
|
@@ -108,6 +108,7 @@ var MessageDirection = {
|
|
|
108
108
|
Outbound: "OUTBOUND"
|
|
109
109
|
};
|
|
110
110
|
var MessageStatus = {
|
|
111
|
+
Pending: "PENDING",
|
|
111
112
|
Sent: "SENT",
|
|
112
113
|
Delivered: "DELIVERED",
|
|
113
114
|
Read: "READ",
|
|
@@ -1797,7 +1798,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1797
1798
|
*/
|
|
1798
1799
|
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
1799
1800
|
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
1800
|
-
const localVarPath = `/conversations/{conversationId}/
|
|
1801
|
+
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1801
1802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1802
1803
|
let baseOptions;
|
|
1803
1804
|
if (configuration) {
|
|
@@ -3679,7 +3680,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3679
3680
|
*/
|
|
3680
3681
|
conversationsListSuggestions: async (conversationId, options = {}) => {
|
|
3681
3682
|
assertParamExists("conversationsListSuggestions", "conversationId", conversationId);
|
|
3682
|
-
const localVarPath = `/conversations/{conversationId}/
|
|
3683
|
+
const localVarPath = `/conversations/{conversationId}/suggestions`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3683
3684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3684
3685
|
let baseOptions;
|
|
3685
3686
|
if (configuration) {
|