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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -722,6 +722,12 @@ interface APIConversation {
722
722
  * @memberof APIConversation
723
723
  */
724
724
  'lastMessageAt'?: string | null;
725
+ /**
726
+ *
727
+ * @type {string}
728
+ * @memberof APIConversation
729
+ */
730
+ 'lastMessagePreview'?: string | null;
725
731
  /**
726
732
  *
727
733
  * @type {string}
@@ -741,62 +747,6 @@ interface APIConversation {
741
747
  */
742
748
  'conversationTypeData': Conversationtypedata;
743
749
  }
744
- /**
745
- *
746
- * @export
747
- * @interface APIConversationCreate
748
- */
749
- interface APIConversationCreate {
750
- /**
751
- *
752
- * @type {ConversationStatus}
753
- * @memberof APIConversationCreate
754
- */
755
- 'status': ConversationStatus;
756
- /**
757
- *
758
- * @type {Conversationtypedata1}
759
- * @memberof APIConversationCreate
760
- */
761
- 'conversationTypeData': Conversationtypedata1;
762
- /**
763
- *
764
- * @type {string}
765
- * @memberof APIConversationCreate
766
- */
767
- 'providerConversationId': string;
768
- }
769
- /**
770
- *
771
- * @export
772
- * @interface APIConversationUpdate
773
- */
774
- interface APIConversationUpdate {
775
- /**
776
- *
777
- * @type {ConversationStatus}
778
- * @memberof APIConversationUpdate
779
- */
780
- 'status': ConversationStatus;
781
- /**
782
- *
783
- * @type {Conversationtypedata2}
784
- * @memberof APIConversationUpdate
785
- */
786
- 'conversationTypeData': Conversationtypedata2;
787
- /**
788
- *
789
- * @type {string}
790
- * @memberof APIConversationUpdate
791
- */
792
- 'updatedBy': string;
793
- /**
794
- *
795
- * @type {string}
796
- * @memberof APIConversationUpdate
797
- */
798
- 'lastReadMessageId'?: string | null;
799
- }
800
750
  /**
801
751
  *
802
752
  * @export
@@ -1043,6 +993,24 @@ interface APIMessage {
1043
993
  * @memberof APIMessage
1044
994
  */
1045
995
  'scheduledAt'?: string | null;
996
+ /**
997
+ *
998
+ * @type {string}
999
+ * @memberof APIMessage
1000
+ */
1001
+ 'pausedAt'?: string | null;
1002
+ /**
1003
+ *
1004
+ * @type {string}
1005
+ * @memberof APIMessage
1006
+ */
1007
+ 'cancelledAt'?: string | null;
1008
+ /**
1009
+ *
1010
+ * @type {string}
1011
+ * @memberof APIMessage
1012
+ */
1013
+ 'cancelledBy'?: string | null;
1046
1014
  /**
1047
1015
  *
1048
1016
  * @type {Participanttypedata}
@@ -1100,58 +1068,16 @@ interface APIMessage {
1100
1068
  interface APIMessageCreate {
1101
1069
  /**
1102
1070
  *
1103
- * @type {string}
1104
- * @memberof APIMessageCreate
1105
- */
1106
- 'body': string;
1107
- /**
1108
- *
1109
- * @type {string}
1110
- * @memberof APIMessageCreate
1111
- */
1112
- 'sentAt'?: string | null;
1113
- /**
1114
- *
1115
- * @type {string}
1116
- * @memberof APIMessageCreate
1117
- */
1118
- 'deliveredAt'?: string | null;
1119
- /**
1120
- *
1121
- * @type {string}
1122
- * @memberof APIMessageCreate
1123
- */
1124
- 'readAt'?: string | null;
1125
- /**
1126
- *
1127
- * @type {string}
1128
- * @memberof APIMessageCreate
1129
- */
1130
- 'failedAt'?: string | null;
1131
- /**
1132
- *
1133
- * @type {string}
1134
- * @memberof APIMessageCreate
1135
- */
1136
- 'scheduledAt'?: string | null;
1137
- /**
1138
- *
1139
- * @type {Participanttypedata}
1071
+ * @type {Messagetypedata1}
1140
1072
  * @memberof APIMessageCreate
1141
1073
  */
1142
- 'participantTypeData': Participanttypedata;
1074
+ 'messageTypeData': Messagetypedata1;
1143
1075
  /**
1144
1076
  *
1145
1077
  * @type {string}
1146
1078
  * @memberof APIMessageCreate
1147
1079
  */
1148
- 'conversationId': string;
1149
- /**
1150
- *
1151
- * @type {Messagetypedata1}
1152
- * @memberof APIMessageCreate
1153
- */
1154
- 'messageTypeData': Messagetypedata1;
1080
+ 'body': string;
1155
1081
  }
1156
1082
  /**
1157
1083
  *
@@ -1710,16 +1636,6 @@ type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationSta
1710
1636
  * @export
1711
1637
  */
1712
1638
  type Conversationtypedata = ProviderConversationDataApi | TwilioConversationDataApi | object;
1713
- /**
1714
- * @type Conversationtypedata1
1715
- * @export
1716
- */
1717
- type Conversationtypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2;
1718
- /**
1719
- * @type Conversationtypedata2
1720
- * @export
1721
- */
1722
- type Conversationtypedata2 = SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1 | SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2;
1723
1639
  /**
1724
1640
  *
1725
1641
  * @export
@@ -2032,7 +1948,7 @@ type Messagetypedata = RentalProviderMessageApi | TwilioProviderMessageApi | obj
2032
1948
  * @type Messagetypedata1
2033
1949
  * @export
2034
1950
  */
2035
- type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi5;
1951
+ type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi3;
2036
1952
  /**
2037
1953
  *
2038
1954
  * @export
@@ -2599,24 +2515,24 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 {
2599
2515
  * @type {string}
2600
2516
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2601
2517
  */
2602
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum;
2518
+ 'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum;
2603
2519
  /**
2604
2520
  *
2605
2521
  * @type {string}
2606
2522
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2607
2523
  */
2608
- 'fromManagedPhoneId': string;
2524
+ 'providerChannelName': string;
2609
2525
  /**
2610
2526
  *
2611
- * @type {Array<string>}
2527
+ * @type {ProviderCommunicationType}
2612
2528
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2613
2529
  */
2614
- 'toContactPhoneIds'?: Array<string> | null;
2530
+ 'providerCommunicationType': ProviderCommunicationType;
2615
2531
  }
2616
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum: {
2617
- readonly Twilio: "TWILIO";
2532
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum: {
2533
+ readonly RentalProvider: "RENTAL_PROVIDER";
2618
2534
  };
2619
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum];
2535
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum];
2620
2536
  /**
2621
2537
  *
2622
2538
  * @export
@@ -2628,18 +2544,18 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 {
2628
2544
  * @type {string}
2629
2545
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
2630
2546
  */
2631
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum;
2547
+ 'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum;
2632
2548
  /**
2633
2549
  *
2634
- * @type {Array<string>}
2550
+ * @type {string}
2635
2551
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
2636
2552
  */
2637
- 'emailIds'?: Array<string> | null;
2553
+ 'body': string;
2638
2554
  }
2639
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum: {
2640
- readonly Email: "EMAIL";
2555
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum: {
2556
+ readonly Twilio: "TWILIO";
2641
2557
  };
2642
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum];
2558
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum];
2643
2559
  /**
2644
2560
  *
2645
2561
  * @export
@@ -2657,128 +2573,30 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
2657
2573
  * @type {string}
2658
2574
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2659
2575
  */
2660
- 'providerChannelName': string;
2661
- /**
2662
- *
2663
- * @type {ProviderCommunicationType}
2664
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2665
- */
2666
- 'providerCommunicationType': ProviderCommunicationType;
2667
- }
2668
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
2669
- readonly RentalProvider: "RENTAL_PROVIDER";
2670
- };
2671
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
2672
- /**
2673
- *
2674
- * @export
2675
- * @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2676
- */
2677
- interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
2678
- /**
2679
- *
2680
- * @type {string}
2681
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2682
- */
2683
- 'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum;
2684
- /**
2685
- *
2686
- * @type {string}
2687
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
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
- */
2712
2576
  'outboundFromManagedEmailId'?: string | null;
2713
2577
  /**
2714
2578
  *
2715
2579
  * @type {string}
2716
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
2580
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2717
2581
  */
2718
2582
  'subject': string;
2719
2583
  /**
2720
2584
  *
2721
2585
  * @type {string}
2722
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
2586
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2723
2587
  */
2724
2588
  'htmlBody': string | null;
2725
2589
  /**
2726
2590
  *
2727
2591
  * @type {string}
2728
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
2592
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2729
2593
  */
2730
2594
  'plainBody': string | null;
2731
2595
  }
2732
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum: {
2733
- readonly Email: "EMAIL";
2734
- };
2735
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5MessageTypeEnum];
2736
- /**
2737
- *
2738
- * @export
2739
- * @interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1
2740
- */
2741
- interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1 {
2742
- /**
2743
- *
2744
- * @type {string}
2745
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1
2746
- */
2747
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum;
2748
- /**
2749
- *
2750
- * @type {Array<string>}
2751
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1
2752
- */
2753
- 'toContactPhoneIds'?: Array<string> | null;
2754
- }
2755
- declare const SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum: {
2756
- readonly Twilio: "TWILIO";
2757
- };
2758
- type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum];
2759
- /**
2760
- *
2761
- * @export
2762
- * @interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2
2763
- */
2764
- interface SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2 {
2765
- /**
2766
- *
2767
- * @type {string}
2768
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2
2769
- */
2770
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum;
2771
- /**
2772
- *
2773
- * @type {Array<string>}
2774
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2
2775
- */
2776
- 'emailIds'?: Array<string> | null;
2777
- }
2778
- declare const SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum: {
2596
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
2779
2597
  readonly Email: "EMAIL";
2780
2598
  };
2781
- type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum];
2599
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
2782
2600
  /**
2783
2601
  *
2784
2602
  * @export
@@ -2794,7 +2612,7 @@ type SrcResourceModelsListingsModelListingBaseSortBy = typeof SrcResourceModelsL
2794
2612
  * @enum {string}
2795
2613
  */
2796
2614
  declare const SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy: {
2797
- readonly CreatedAt: "created_at";
2615
+ readonly SentAt: "sent_at";
2798
2616
  };
2799
2617
  type SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy[keyof typeof SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy];
2800
2618
  /**
@@ -3830,14 +3648,6 @@ declare class ContactsApi extends BaseAPI {
3830
3648
  * @export
3831
3649
  */
3832
3650
  declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration) => {
3833
- /**
3834
- * Conversations Create
3835
- * @summary Conversations Create
3836
- * @param {APIConversationCreate} aPIConversationCreate
3837
- * @param {*} [options] Override http request option.
3838
- * @throws {RequiredError}
3839
- */
3840
- conversationsCreate: (aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3841
3651
  /**
3842
3652
  * Conversations Get
3843
3653
  * @summary Conversations Get
@@ -3847,7 +3657,7 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3847
3657
  */
3848
3658
  conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3849
3659
  /**
3850
- * List all conversations, optionally filtered by contact_id
3660
+ * List all conversations, must filter by contact_id
3851
3661
  * @summary Conversations List
3852
3662
  * @param {string | null} [searchString]
3853
3663
  * @param {string | null} [contactId]
@@ -3860,15 +3670,6 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3860
3670
  * @throws {RequiredError}
3861
3671
  */
3862
3672
  conversationsList: (searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3863
- /**
3864
- * Conversations Update
3865
- * @summary Conversations Update
3866
- * @param {string} conversationId
3867
- * @param {APIConversationUpdate} aPIConversationUpdate
3868
- * @param {*} [options] Override http request option.
3869
- * @throws {RequiredError}
3870
- */
3871
- conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3872
3673
  /**
3873
3674
  * Messages Create
3874
3675
  * @summary Messages Create
@@ -3889,9 +3690,8 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3889
3690
  /**
3890
3691
  * Messages List
3891
3692
  * @summary Messages List
3693
+ * @param {string} [conversationId]
3892
3694
  * @param {string | null} [searchString]
3893
- * @param {string | null} [contactId]
3894
- * @param {string | null} [conversationId]
3895
3695
  * @param {string | null} [cursor] Cursor for keyset paging
3896
3696
  * @param {number} [limit]
3897
3697
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -3900,21 +3700,13 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
3900
3700
  * @param {*} [options] Override http request option.
3901
3701
  * @throws {RequiredError}
3902
3702
  */
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>;
3703
+ messagesList: (conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3904
3704
  };
3905
3705
  /**
3906
3706
  * ConversationsApi - functional programming interface
3907
3707
  * @export
3908
3708
  */
3909
3709
  declare const ConversationsApiFp: (configuration?: Configuration) => {
3910
- /**
3911
- * Conversations Create
3912
- * @summary Conversations Create
3913
- * @param {APIConversationCreate} aPIConversationCreate
3914
- * @param {*} [options] Override http request option.
3915
- * @throws {RequiredError}
3916
- */
3917
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
3918
3710
  /**
3919
3711
  * Conversations Get
3920
3712
  * @summary Conversations Get
@@ -3924,7 +3716,7 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3924
3716
  */
3925
3717
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
3926
3718
  /**
3927
- * List all conversations, optionally filtered by contact_id
3719
+ * List all conversations, must filter by contact_id
3928
3720
  * @summary Conversations List
3929
3721
  * @param {string | null} [searchString]
3930
3722
  * @param {string | null} [contactId]
@@ -3937,15 +3729,6 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3937
3729
  * @throws {RequiredError}
3938
3730
  */
3939
3731
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
3940
- /**
3941
- * Conversations Update
3942
- * @summary Conversations Update
3943
- * @param {string} conversationId
3944
- * @param {APIConversationUpdate} aPIConversationUpdate
3945
- * @param {*} [options] Override http request option.
3946
- * @throws {RequiredError}
3947
- */
3948
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
3949
3732
  /**
3950
3733
  * Messages Create
3951
3734
  * @summary Messages Create
@@ -3966,9 +3749,8 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3966
3749
  /**
3967
3750
  * Messages List
3968
3751
  * @summary Messages List
3752
+ * @param {string} [conversationId]
3969
3753
  * @param {string | null} [searchString]
3970
- * @param {string | null} [contactId]
3971
- * @param {string | null} [conversationId]
3972
3754
  * @param {string | null} [cursor] Cursor for keyset paging
3973
3755
  * @param {number} [limit]
3974
3756
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -3977,21 +3759,13 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
3977
3759
  * @param {*} [options] Override http request option.
3978
3760
  * @throws {RequiredError}
3979
3761
  */
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>>;
3762
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
3981
3763
  };
3982
3764
  /**
3983
3765
  * ConversationsApi - factory interface
3984
3766
  * @export
3985
3767
  */
3986
3768
  declare const ConversationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3987
- /**
3988
- * Conversations Create
3989
- * @summary Conversations Create
3990
- * @param {APIConversationCreate} aPIConversationCreate
3991
- * @param {*} [options] Override http request option.
3992
- * @throws {RequiredError}
3993
- */
3994
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
3995
3769
  /**
3996
3770
  * Conversations Get
3997
3771
  * @summary Conversations Get
@@ -4001,7 +3775,7 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4001
3775
  */
4002
3776
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
4003
3777
  /**
4004
- * List all conversations, optionally filtered by contact_id
3778
+ * List all conversations, must filter by contact_id
4005
3779
  * @summary Conversations List
4006
3780
  * @param {string | null} [searchString]
4007
3781
  * @param {string | null} [contactId]
@@ -4014,15 +3788,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4014
3788
  * @throws {RequiredError}
4015
3789
  */
4016
3790
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
4017
- /**
4018
- * Conversations Update
4019
- * @summary Conversations Update
4020
- * @param {string} conversationId
4021
- * @param {APIConversationUpdate} aPIConversationUpdate
4022
- * @param {*} [options] Override http request option.
4023
- * @throws {RequiredError}
4024
- */
4025
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
4026
3791
  /**
4027
3792
  * Messages Create
4028
3793
  * @summary Messages Create
@@ -4043,9 +3808,8 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4043
3808
  /**
4044
3809
  * Messages List
4045
3810
  * @summary Messages List
3811
+ * @param {string} [conversationId]
4046
3812
  * @param {string | null} [searchString]
4047
- * @param {string | null} [contactId]
4048
- * @param {string | null} [conversationId]
4049
3813
  * @param {string | null} [cursor] Cursor for keyset paging
4050
3814
  * @param {number} [limit]
4051
3815
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -4054,7 +3818,7 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4054
3818
  * @param {*} [options] Override http request option.
4055
3819
  * @throws {RequiredError}
4056
3820
  */
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>;
3821
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
4058
3822
  };
4059
3823
  /**
4060
3824
  * ConversationsApi - object-oriented interface
@@ -4063,15 +3827,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
4063
3827
  * @extends {BaseAPI}
4064
3828
  */
4065
3829
  declare class ConversationsApi extends BaseAPI {
4066
- /**
4067
- * Conversations Create
4068
- * @summary Conversations Create
4069
- * @param {APIConversationCreate} aPIConversationCreate
4070
- * @param {*} [options] Override http request option.
4071
- * @throws {RequiredError}
4072
- * @memberof ConversationsApi
4073
- */
4074
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
4075
3830
  /**
4076
3831
  * Conversations Get
4077
3832
  * @summary Conversations Get
@@ -4082,7 +3837,7 @@ declare class ConversationsApi extends BaseAPI {
4082
3837
  */
4083
3838
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
4084
3839
  /**
4085
- * List all conversations, optionally filtered by contact_id
3840
+ * List all conversations, must filter by contact_id
4086
3841
  * @summary Conversations List
4087
3842
  * @param {string | null} [searchString]
4088
3843
  * @param {string | null} [contactId]
@@ -4096,16 +3851,6 @@ declare class ConversationsApi extends BaseAPI {
4096
3851
  * @memberof ConversationsApi
4097
3852
  */
4098
3853
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
4099
- /**
4100
- * Conversations Update
4101
- * @summary Conversations Update
4102
- * @param {string} conversationId
4103
- * @param {APIConversationUpdate} aPIConversationUpdate
4104
- * @param {*} [options] Override http request option.
4105
- * @throws {RequiredError}
4106
- * @memberof ConversationsApi
4107
- */
4108
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
4109
3854
  /**
4110
3855
  * Messages Create
4111
3856
  * @summary Messages Create
@@ -4128,9 +3873,8 @@ declare class ConversationsApi extends BaseAPI {
4128
3873
  /**
4129
3874
  * Messages List
4130
3875
  * @summary Messages List
3876
+ * @param {string} [conversationId]
4131
3877
  * @param {string | null} [searchString]
4132
- * @param {string | null} [contactId]
4133
- * @param {string | null} [conversationId]
4134
3878
  * @param {string | null} [cursor] Cursor for keyset paging
4135
3879
  * @param {number} [limit]
4136
3880
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -4140,7 +3884,7 @@ declare class ConversationsApi extends BaseAPI {
4140
3884
  * @throws {RequiredError}
4141
3885
  * @memberof ConversationsApi
4142
3886
  */
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>>;
3887
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
4144
3888
  }
4145
3889
  /**
4146
3890
  * HostawayApi - axios parameter creator
@@ -4827,14 +4571,6 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4827
4571
  * @throws {RequiredError}
4828
4572
  */
4829
4573
  contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4830
- /**
4831
- * Conversations Create
4832
- * @summary Conversations Create
4833
- * @param {APIConversationCreate} aPIConversationCreate
4834
- * @param {*} [options] Override http request option.
4835
- * @throws {RequiredError}
4836
- */
4837
- conversationsCreate: (aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4838
4574
  /**
4839
4575
  * Conversations Get
4840
4576
  * @summary Conversations Get
@@ -4844,7 +4580,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4844
4580
  */
4845
4581
  conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4846
4582
  /**
4847
- * List all conversations, optionally filtered by contact_id
4583
+ * List all conversations, must filter by contact_id
4848
4584
  * @summary Conversations List
4849
4585
  * @param {string | null} [searchString]
4850
4586
  * @param {string | null} [contactId]
@@ -4857,15 +4593,6 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4857
4593
  * @throws {RequiredError}
4858
4594
  */
4859
4595
  conversationsList: (searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4860
- /**
4861
- * Conversations Update
4862
- * @summary Conversations Update
4863
- * @param {string} conversationId
4864
- * @param {APIConversationUpdate} aPIConversationUpdate
4865
- * @param {*} [options] Override http request option.
4866
- * @throws {RequiredError}
4867
- */
4868
- conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4869
4596
  /**
4870
4597
  * Emails Create
4871
4598
  * @summary Emails Create
@@ -4957,9 +4684,8 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4957
4684
  /**
4958
4685
  * Messages List
4959
4686
  * @summary Messages List
4687
+ * @param {string} [conversationId]
4960
4688
  * @param {string | null} [searchString]
4961
- * @param {string | null} [contactId]
4962
- * @param {string | null} [conversationId]
4963
4689
  * @param {string | null} [cursor] Cursor for keyset paging
4964
4690
  * @param {number} [limit]
4965
4691
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -4968,7 +4694,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4968
4694
  * @param {*} [options] Override http request option.
4969
4695
  * @throws {RequiredError}
4970
4696
  */
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>;
4697
+ messagesList: (conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4972
4698
  /**
4973
4699
  * Phones Create
4974
4700
  * @summary Phones Create
@@ -5188,14 +4914,6 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5188
4914
  * @throws {RequiredError}
5189
4915
  */
5190
4916
  contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5191
- /**
5192
- * Conversations Create
5193
- * @summary Conversations Create
5194
- * @param {APIConversationCreate} aPIConversationCreate
5195
- * @param {*} [options] Override http request option.
5196
- * @throws {RequiredError}
5197
- */
5198
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
5199
4917
  /**
5200
4918
  * Conversations Get
5201
4919
  * @summary Conversations Get
@@ -5205,7 +4923,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5205
4923
  */
5206
4924
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
5207
4925
  /**
5208
- * List all conversations, optionally filtered by contact_id
4926
+ * List all conversations, must filter by contact_id
5209
4927
  * @summary Conversations List
5210
4928
  * @param {string | null} [searchString]
5211
4929
  * @param {string | null} [contactId]
@@ -5218,15 +4936,6 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5218
4936
  * @throws {RequiredError}
5219
4937
  */
5220
4938
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIConversation>>;
5221
- /**
5222
- * Conversations Update
5223
- * @summary Conversations Update
5224
- * @param {string} conversationId
5225
- * @param {APIConversationUpdate} aPIConversationUpdate
5226
- * @param {*} [options] Override http request option.
5227
- * @throws {RequiredError}
5228
- */
5229
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
5230
4939
  /**
5231
4940
  * Emails Create
5232
4941
  * @summary Emails Create
@@ -5318,9 +5027,8 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5318
5027
  /**
5319
5028
  * Messages List
5320
5029
  * @summary Messages List
5030
+ * @param {string} [conversationId]
5321
5031
  * @param {string | null} [searchString]
5322
- * @param {string | null} [contactId]
5323
- * @param {string | null} [conversationId]
5324
5032
  * @param {string | null} [cursor] Cursor for keyset paging
5325
5033
  * @param {number} [limit]
5326
5034
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -5329,7 +5037,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
5329
5037
  * @param {*} [options] Override http request option.
5330
5038
  * @throws {RequiredError}
5331
5039
  */
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>>;
5040
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseAPIMessage>>;
5333
5041
  /**
5334
5042
  * Phones Create
5335
5043
  * @summary Phones Create
@@ -5549,14 +5257,6 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5549
5257
  * @throws {RequiredError}
5550
5258
  */
5551
5259
  contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5552
- /**
5553
- * Conversations Create
5554
- * @summary Conversations Create
5555
- * @param {APIConversationCreate} aPIConversationCreate
5556
- * @param {*} [options] Override http request option.
5557
- * @throws {RequiredError}
5558
- */
5559
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
5560
5260
  /**
5561
5261
  * Conversations Get
5562
5262
  * @summary Conversations Get
@@ -5566,7 +5266,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5566
5266
  */
5567
5267
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
5568
5268
  /**
5569
- * List all conversations, optionally filtered by contact_id
5269
+ * List all conversations, must filter by contact_id
5570
5270
  * @summary Conversations List
5571
5271
  * @param {string | null} [searchString]
5572
5272
  * @param {string | null} [contactId]
@@ -5579,15 +5279,6 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5579
5279
  * @throws {RequiredError}
5580
5280
  */
5581
5281
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIConversation>;
5582
- /**
5583
- * Conversations Update
5584
- * @summary Conversations Update
5585
- * @param {string} conversationId
5586
- * @param {APIConversationUpdate} aPIConversationUpdate
5587
- * @param {*} [options] Override http request option.
5588
- * @throws {RequiredError}
5589
- */
5590
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
5591
5282
  /**
5592
5283
  * Emails Create
5593
5284
  * @summary Emails Create
@@ -5679,9 +5370,8 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5679
5370
  /**
5680
5371
  * Messages List
5681
5372
  * @summary Messages List
5373
+ * @param {string} [conversationId]
5682
5374
  * @param {string | null} [searchString]
5683
- * @param {string | null} [contactId]
5684
- * @param {string | null} [conversationId]
5685
5375
  * @param {string | null} [cursor] Cursor for keyset paging
5686
5376
  * @param {number} [limit]
5687
5377
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -5690,7 +5380,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
5690
5380
  * @param {*} [options] Override http request option.
5691
5381
  * @throws {RequiredError}
5692
5382
  */
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>;
5383
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseAPIMessage>;
5694
5384
  /**
5695
5385
  * Phones Create
5696
5386
  * @summary Phones Create
@@ -5925,15 +5615,6 @@ declare class UnboundApi extends BaseAPI {
5925
5615
  * @memberof UnboundApi
5926
5616
  */
5927
5617
  contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
5928
- /**
5929
- * Conversations Create
5930
- * @summary Conversations Create
5931
- * @param {APIConversationCreate} aPIConversationCreate
5932
- * @param {*} [options] Override http request option.
5933
- * @throws {RequiredError}
5934
- * @memberof UnboundApi
5935
- */
5936
- conversationsCreate(aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
5937
5618
  /**
5938
5619
  * Conversations Get
5939
5620
  * @summary Conversations Get
@@ -5944,7 +5625,7 @@ declare class UnboundApi extends BaseAPI {
5944
5625
  */
5945
5626
  conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
5946
5627
  /**
5947
- * List all conversations, optionally filtered by contact_id
5628
+ * List all conversations, must filter by contact_id
5948
5629
  * @summary Conversations List
5949
5630
  * @param {string | null} [searchString]
5950
5631
  * @param {string | null} [contactId]
@@ -5958,16 +5639,6 @@ declare class UnboundApi extends BaseAPI {
5958
5639
  * @memberof UnboundApi
5959
5640
  */
5960
5641
  conversationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsConversationsModelConversationsModelConversationSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIConversation, any>>;
5961
- /**
5962
- * Conversations Update
5963
- * @summary Conversations Update
5964
- * @param {string} conversationId
5965
- * @param {APIConversationUpdate} aPIConversationUpdate
5966
- * @param {*} [options] Override http request option.
5967
- * @throws {RequiredError}
5968
- * @memberof UnboundApi
5969
- */
5970
- conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
5971
5642
  /**
5972
5643
  * Emails Create
5973
5644
  * @summary Emails Create
@@ -6069,9 +5740,8 @@ declare class UnboundApi extends BaseAPI {
6069
5740
  /**
6070
5741
  * Messages List
6071
5742
  * @summary Messages List
5743
+ * @param {string} [conversationId]
6072
5744
  * @param {string | null} [searchString]
6073
- * @param {string | null} [contactId]
6074
- * @param {string | null} [conversationId]
6075
5745
  * @param {string | null} [cursor] Cursor for keyset paging
6076
5746
  * @param {number} [limit]
6077
5747
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -6081,7 +5751,7 @@ declare class UnboundApi extends BaseAPI {
6081
5751
  * @throws {RequiredError}
6082
5752
  * @memberof UnboundApi
6083
5753
  */
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>>;
5754
+ messagesList(conversationId?: string, searchString?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIMessage, any>>;
6085
5755
  /**
6086
5756
  * Phones Create
6087
5757
  * @summary Phones Create
@@ -6191,4 +5861,4 @@ declare class UnboundApi extends BaseAPI {
6191
5861
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
6192
5862
  }
6193
5863
 
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 };
5864
+ export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate, type APIPhone, type APIPhoneCreate, type APIPhoneUpdate, type APIProvider, type APIProviderCreate, type APIProviderUpdate, type APIReservation, type APIValidationError, type APIValidationErrorLocInner, AccountsApi, AccountsApiAxiosParamCreator, AccountsApiFactory, AccountsApiFp, type AddressApi, type AttributeSourceApi, type AttributionApi, type BaseAddressApi, type BotApi, BotApiParticipantTypeEnum, type ChannelInfoApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type CreateContactListing, type DeleteContactListing, type EmailApi, type ExternalStaffApi, ExternalStaffApiStaffTypeEnum, type GuestApi, GuestApiParticipantTypeEnum, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type InternalStaffApi, InternalStaffApiStaffTypeEnum, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type Participantname, type Participanttypedata, type PhoneApi, type PhonesApi, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationType, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, SrcResourceModelsConversationsModelConversationsModelConversationSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type TwilioConversationDataApi, TwilioConversationDataApiConversationTypeEnum, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, type TwilioProviderMessageApi, TwilioProviderMessageApiMessageTypeEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };