@ember-home/unbound-ts-client 0.0.82 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -772,10 +772,10 @@ interface APIConversation {
772
772
  'lastMessageSentAt'?: string | null;
773
773
  /**
774
774
  *
775
- * @type {SuggestionStatus}
775
+ * @type {ConversationSuggestionApi}
776
776
  * @memberof APIConversation
777
777
  */
778
- 'suggestionStatus': SuggestionStatus;
778
+ 'latestSuggestion': ConversationSuggestionApi;
779
779
  }
780
780
  /**
781
781
  *
@@ -1772,6 +1772,25 @@ declare const ConversationStatus: {
1772
1772
  readonly Closed: "CLOSED";
1773
1773
  };
1774
1774
  type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
1775
+ /**
1776
+ *
1777
+ * @export
1778
+ * @interface ConversationSuggestionApi
1779
+ */
1780
+ interface ConversationSuggestionApi {
1781
+ /**
1782
+ *
1783
+ * @type {SuggestionStatus}
1784
+ * @memberof ConversationSuggestionApi
1785
+ */
1786
+ 'suggestionStatus': SuggestionStatus;
1787
+ /**
1788
+ *
1789
+ * @type {SuggestionApi}
1790
+ * @memberof ConversationSuggestionApi
1791
+ */
1792
+ 'suggestion'?: SuggestionApi | null;
1793
+ }
1775
1794
  /**
1776
1795
  * @type Conversationtypedata
1777
1796
  * @export
@@ -3023,52 +3042,39 @@ interface SubjectApi {
3023
3042
  /**
3024
3043
  *
3025
3044
  * @export
3026
- * @interface Suggestion
3045
+ * @interface SuggestionApi
3027
3046
  */
3028
- interface Suggestion {
3047
+ interface SuggestionApi {
3029
3048
  /**
3030
3049
  *
3031
3050
  * @type {string}
3032
- * @memberof Suggestion
3051
+ * @memberof SuggestionApi
3033
3052
  */
3034
3053
  'textSuggestedReply': string;
3035
3054
  /**
3036
3055
  *
3037
3056
  * @type {string}
3038
- * @memberof Suggestion
3057
+ * @memberof SuggestionApi
3039
3058
  */
3040
3059
  'chatSuggestedReply': string;
3041
3060
  /**
3042
3061
  *
3043
3062
  * @type {string}
3044
- * @memberof Suggestion
3063
+ * @memberof SuggestionApi
3045
3064
  */
3046
3065
  'emailSuggestedReply': string;
3047
3066
  /**
3048
3067
  *
3049
3068
  * @type {string}
3050
- * @memberof Suggestion
3051
- */
3052
- 'suggestionId': string;
3053
- }
3054
- /**
3055
- *
3056
- * @export
3057
- * @interface SuggestionResponse
3058
- */
3059
- interface SuggestionResponse {
3060
- /**
3061
- *
3062
- * @type {SuggestionStatus}
3063
- * @memberof SuggestionResponse
3069
+ * @memberof SuggestionApi
3064
3070
  */
3065
- 'suggestionStatus': SuggestionStatus;
3071
+ 'tone': string;
3066
3072
  /**
3067
3073
  *
3068
- * @type {Array<Suggestion>}
3069
- * @memberof SuggestionResponse
3074
+ * @type {string}
3075
+ * @memberof SuggestionApi
3070
3076
  */
3071
- 'data': Array<Suggestion> | null;
3077
+ 'suggestionId': string;
3072
3078
  }
3073
3079
  /**
3074
3080
  *
@@ -3084,17 +3090,6 @@ declare const SuggestionStatus: {
3084
3090
  readonly ReplyGenerated: "REPLY_GENERATED";
3085
3091
  };
3086
3092
  type SuggestionStatus = typeof SuggestionStatus[keyof typeof SuggestionStatus];
3087
- /**
3088
- *
3089
- * @export
3090
- * @enum {string}
3091
- */
3092
- declare const SuggestionUsedType: {
3093
- readonly Accepted: "ACCEPTED";
3094
- readonly Modified: "MODIFIED";
3095
- readonly Rejected: "REJECTED";
3096
- };
3097
- type SuggestionUsedType = typeof SuggestionUsedType[keyof typeof SuggestionUsedType];
3098
3093
  /**
3099
3094
  *
3100
3095
  * @export
@@ -4260,14 +4255,6 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
4260
4255
  * @throws {RequiredError}
4261
4256
  */
4262
4257
  conversationsList: (searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4263
- /**
4264
- *
4265
- * @summary Conversations List Suggestions
4266
- * @param {string} conversationId
4267
- * @param {*} [options] Override http request option.
4268
- * @throws {RequiredError}
4269
- */
4270
- conversationsListSuggestions: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4271
4258
  /**
4272
4259
  * Conversations Update
4273
4260
  * @summary Conversations Update
@@ -4341,14 +4328,6 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
4341
4328
  * @throws {RequiredError}
4342
4329
  */
4343
4330
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
4344
- /**
4345
- *
4346
- * @summary Conversations List Suggestions
4347
- * @param {string} conversationId
4348
- * @param {*} [options] Override http request option.
4349
- * @throws {RequiredError}
4350
- */
4351
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionResponse>>;
4352
4331
  /**
4353
4332
  * Conversations Update
4354
4333
  * @summary Conversations Update
@@ -4422,14 +4401,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4422
4401
  * @throws {RequiredError}
4423
4402
  */
4424
4403
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
4425
- /**
4426
- *
4427
- * @summary Conversations List Suggestions
4428
- * @param {string} conversationId
4429
- * @param {*} [options] Override http request option.
4430
- * @throws {RequiredError}
4431
- */
4432
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<SuggestionResponse>;
4433
4404
  /**
4434
4405
  * Conversations Update
4435
4406
  * @summary Conversations Update
@@ -4507,15 +4478,6 @@ declare class ConversationsApi extends BaseAPI {
4507
4478
  * @memberof ConversationsApi
4508
4479
  */
4509
4480
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
4510
- /**
4511
- *
4512
- * @summary Conversations List Suggestions
4513
- * @param {string} conversationId
4514
- * @param {*} [options] Override http request option.
4515
- * @throws {RequiredError}
4516
- * @memberof ConversationsApi
4517
- */
4518
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<SuggestionResponse, any>>;
4519
4481
  /**
4520
4482
  * Conversations Update
4521
4483
  * @summary Conversations Update
@@ -5328,14 +5290,6 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
5328
5290
  * @throws {RequiredError}
5329
5291
  */
5330
5292
  conversationsList: (searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5331
- /**
5332
- *
5333
- * @summary Conversations List Suggestions
5334
- * @param {string} conversationId
5335
- * @param {*} [options] Override http request option.
5336
- * @throws {RequiredError}
5337
- */
5338
- conversationsListSuggestions: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5339
5293
  /**
5340
5294
  * Conversations Update
5341
5295
  * @summary Conversations Update
@@ -5707,14 +5661,6 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5707
5661
  * @throws {RequiredError}
5708
5662
  */
5709
5663
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
5710
- /**
5711
- *
5712
- * @summary Conversations List Suggestions
5713
- * @param {string} conversationId
5714
- * @param {*} [options] Override http request option.
5715
- * @throws {RequiredError}
5716
- */
5717
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionResponse>>;
5718
5664
  /**
5719
5665
  * Conversations Update
5720
5666
  * @summary Conversations Update
@@ -6086,14 +6032,6 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
6086
6032
  * @throws {RequiredError}
6087
6033
  */
6088
6034
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
6089
- /**
6090
- *
6091
- * @summary Conversations List Suggestions
6092
- * @param {string} conversationId
6093
- * @param {*} [options] Override http request option.
6094
- * @throws {RequiredError}
6095
- */
6096
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<SuggestionResponse>;
6097
6035
  /**
6098
6036
  * Conversations Update
6099
6037
  * @summary Conversations Update
@@ -6482,15 +6420,6 @@ declare class UnboundApi extends BaseAPI {
6482
6420
  * @memberof UnboundApi
6483
6421
  */
6484
6422
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
6485
- /**
6486
- *
6487
- * @summary Conversations List Suggestions
6488
- * @param {string} conversationId
6489
- * @param {*} [options] Override http request option.
6490
- * @throws {RequiredError}
6491
- * @memberof UnboundApi
6492
- */
6493
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<SuggestionResponse, any>>;
6494
6423
  /**
6495
6424
  * Conversations Update
6496
6425
  * @summary Conversations Update
@@ -6743,4 +6672,4 @@ declare class UnboundApi extends BaseAPI {
6743
6672
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
6744
6673
  }
6745
6674
 
6746
- 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 Suggestion, type SuggestionResponse, SuggestionStatus, SuggestionUsedType, type ToItemApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing, type UserApi };
6675
+ 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, type ConversationSuggestionApi, 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 SuggestionApi, SuggestionStatus, 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
@@ -772,10 +772,10 @@ interface APIConversation {
772
772
  'lastMessageSentAt'?: string | null;
773
773
  /**
774
774
  *
775
- * @type {SuggestionStatus}
775
+ * @type {ConversationSuggestionApi}
776
776
  * @memberof APIConversation
777
777
  */
778
- 'suggestionStatus': SuggestionStatus;
778
+ 'latestSuggestion': ConversationSuggestionApi;
779
779
  }
780
780
  /**
781
781
  *
@@ -1772,6 +1772,25 @@ declare const ConversationStatus: {
1772
1772
  readonly Closed: "CLOSED";
1773
1773
  };
1774
1774
  type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
1775
+ /**
1776
+ *
1777
+ * @export
1778
+ * @interface ConversationSuggestionApi
1779
+ */
1780
+ interface ConversationSuggestionApi {
1781
+ /**
1782
+ *
1783
+ * @type {SuggestionStatus}
1784
+ * @memberof ConversationSuggestionApi
1785
+ */
1786
+ 'suggestionStatus': SuggestionStatus;
1787
+ /**
1788
+ *
1789
+ * @type {SuggestionApi}
1790
+ * @memberof ConversationSuggestionApi
1791
+ */
1792
+ 'suggestion'?: SuggestionApi | null;
1793
+ }
1775
1794
  /**
1776
1795
  * @type Conversationtypedata
1777
1796
  * @export
@@ -3023,52 +3042,39 @@ interface SubjectApi {
3023
3042
  /**
3024
3043
  *
3025
3044
  * @export
3026
- * @interface Suggestion
3045
+ * @interface SuggestionApi
3027
3046
  */
3028
- interface Suggestion {
3047
+ interface SuggestionApi {
3029
3048
  /**
3030
3049
  *
3031
3050
  * @type {string}
3032
- * @memberof Suggestion
3051
+ * @memberof SuggestionApi
3033
3052
  */
3034
3053
  'textSuggestedReply': string;
3035
3054
  /**
3036
3055
  *
3037
3056
  * @type {string}
3038
- * @memberof Suggestion
3057
+ * @memberof SuggestionApi
3039
3058
  */
3040
3059
  'chatSuggestedReply': string;
3041
3060
  /**
3042
3061
  *
3043
3062
  * @type {string}
3044
- * @memberof Suggestion
3063
+ * @memberof SuggestionApi
3045
3064
  */
3046
3065
  'emailSuggestedReply': string;
3047
3066
  /**
3048
3067
  *
3049
3068
  * @type {string}
3050
- * @memberof Suggestion
3051
- */
3052
- 'suggestionId': string;
3053
- }
3054
- /**
3055
- *
3056
- * @export
3057
- * @interface SuggestionResponse
3058
- */
3059
- interface SuggestionResponse {
3060
- /**
3061
- *
3062
- * @type {SuggestionStatus}
3063
- * @memberof SuggestionResponse
3069
+ * @memberof SuggestionApi
3064
3070
  */
3065
- 'suggestionStatus': SuggestionStatus;
3071
+ 'tone': string;
3066
3072
  /**
3067
3073
  *
3068
- * @type {Array<Suggestion>}
3069
- * @memberof SuggestionResponse
3074
+ * @type {string}
3075
+ * @memberof SuggestionApi
3070
3076
  */
3071
- 'data': Array<Suggestion> | null;
3077
+ 'suggestionId': string;
3072
3078
  }
3073
3079
  /**
3074
3080
  *
@@ -3084,17 +3090,6 @@ declare const SuggestionStatus: {
3084
3090
  readonly ReplyGenerated: "REPLY_GENERATED";
3085
3091
  };
3086
3092
  type SuggestionStatus = typeof SuggestionStatus[keyof typeof SuggestionStatus];
3087
- /**
3088
- *
3089
- * @export
3090
- * @enum {string}
3091
- */
3092
- declare const SuggestionUsedType: {
3093
- readonly Accepted: "ACCEPTED";
3094
- readonly Modified: "MODIFIED";
3095
- readonly Rejected: "REJECTED";
3096
- };
3097
- type SuggestionUsedType = typeof SuggestionUsedType[keyof typeof SuggestionUsedType];
3098
3093
  /**
3099
3094
  *
3100
3095
  * @export
@@ -4260,14 +4255,6 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
4260
4255
  * @throws {RequiredError}
4261
4256
  */
4262
4257
  conversationsList: (searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4263
- /**
4264
- *
4265
- * @summary Conversations List Suggestions
4266
- * @param {string} conversationId
4267
- * @param {*} [options] Override http request option.
4268
- * @throws {RequiredError}
4269
- */
4270
- conversationsListSuggestions: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4271
4258
  /**
4272
4259
  * Conversations Update
4273
4260
  * @summary Conversations Update
@@ -4341,14 +4328,6 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
4341
4328
  * @throws {RequiredError}
4342
4329
  */
4343
4330
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
4344
- /**
4345
- *
4346
- * @summary Conversations List Suggestions
4347
- * @param {string} conversationId
4348
- * @param {*} [options] Override http request option.
4349
- * @throws {RequiredError}
4350
- */
4351
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionResponse>>;
4352
4331
  /**
4353
4332
  * Conversations Update
4354
4333
  * @summary Conversations Update
@@ -4422,14 +4401,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4422
4401
  * @throws {RequiredError}
4423
4402
  */
4424
4403
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
4425
- /**
4426
- *
4427
- * @summary Conversations List Suggestions
4428
- * @param {string} conversationId
4429
- * @param {*} [options] Override http request option.
4430
- * @throws {RequiredError}
4431
- */
4432
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<SuggestionResponse>;
4433
4404
  /**
4434
4405
  * Conversations Update
4435
4406
  * @summary Conversations Update
@@ -4507,15 +4478,6 @@ declare class ConversationsApi extends BaseAPI {
4507
4478
  * @memberof ConversationsApi
4508
4479
  */
4509
4480
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
4510
- /**
4511
- *
4512
- * @summary Conversations List Suggestions
4513
- * @param {string} conversationId
4514
- * @param {*} [options] Override http request option.
4515
- * @throws {RequiredError}
4516
- * @memberof ConversationsApi
4517
- */
4518
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<SuggestionResponse, any>>;
4519
4481
  /**
4520
4482
  * Conversations Update
4521
4483
  * @summary Conversations Update
@@ -5328,14 +5290,6 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
5328
5290
  * @throws {RequiredError}
5329
5291
  */
5330
5292
  conversationsList: (searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5331
- /**
5332
- *
5333
- * @summary Conversations List Suggestions
5334
- * @param {string} conversationId
5335
- * @param {*} [options] Override http request option.
5336
- * @throws {RequiredError}
5337
- */
5338
- conversationsListSuggestions: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5339
5293
  /**
5340
5294
  * Conversations Update
5341
5295
  * @summary Conversations Update
@@ -5707,14 +5661,6 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5707
5661
  * @throws {RequiredError}
5708
5662
  */
5709
5663
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
5710
- /**
5711
- *
5712
- * @summary Conversations List Suggestions
5713
- * @param {string} conversationId
5714
- * @param {*} [options] Override http request option.
5715
- * @throws {RequiredError}
5716
- */
5717
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionResponse>>;
5718
5664
  /**
5719
5665
  * Conversations Update
5720
5666
  * @summary Conversations Update
@@ -6086,14 +6032,6 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
6086
6032
  * @throws {RequiredError}
6087
6033
  */
6088
6034
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
6089
- /**
6090
- *
6091
- * @summary Conversations List Suggestions
6092
- * @param {string} conversationId
6093
- * @param {*} [options] Override http request option.
6094
- * @throws {RequiredError}
6095
- */
6096
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<SuggestionResponse>;
6097
6035
  /**
6098
6036
  * Conversations Update
6099
6037
  * @summary Conversations Update
@@ -6482,15 +6420,6 @@ declare class UnboundApi extends BaseAPI {
6482
6420
  * @memberof UnboundApi
6483
6421
  */
6484
6422
  conversationsList(searchString?: string | null, contactId?: string | null, status?: Array<ConversationStatus> | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortOrder?: SortOrder, inboxId?: string | null, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
6485
- /**
6486
- *
6487
- * @summary Conversations List Suggestions
6488
- * @param {string} conversationId
6489
- * @param {*} [options] Override http request option.
6490
- * @throws {RequiredError}
6491
- * @memberof UnboundApi
6492
- */
6493
- conversationsListSuggestions(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<SuggestionResponse, any>>;
6494
6423
  /**
6495
6424
  * Conversations Update
6496
6425
  * @summary Conversations Update
@@ -6743,4 +6672,4 @@ declare class UnboundApi extends BaseAPI {
6743
6672
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
6744
6673
  }
6745
6674
 
6746
- 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 Suggestion, type SuggestionResponse, SuggestionStatus, SuggestionUsedType, type ToItemApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing, type UserApi };
6675
+ 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, type ConversationSuggestionApi, 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 SuggestionApi, SuggestionStatus, type ToItemApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing, type UserApi };