@ember-home/unbound-ts-client 0.0.94 → 0.0.96
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 +426 -222
- package/dist/index.d.ts +426 -222
- package/dist/index.js +600 -371
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +482 -253
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -777,6 +777,19 @@ interface APIConversation {
|
|
|
777
777
|
*/
|
|
778
778
|
'latestSuggestion': ConversationSuggestionApi;
|
|
779
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @export
|
|
783
|
+
* @interface APIConversationCreate
|
|
784
|
+
*/
|
|
785
|
+
interface APIConversationCreate {
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @type {SrcResourceModelsHelperModelsCustomBaseModelCreateApi1}
|
|
789
|
+
* @memberof APIConversationCreate
|
|
790
|
+
*/
|
|
791
|
+
'conversationTypeData': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1;
|
|
792
|
+
}
|
|
780
793
|
/**
|
|
781
794
|
*
|
|
782
795
|
* @export
|
|
@@ -969,6 +982,12 @@ interface APIListing {
|
|
|
969
982
|
* @memberof APIListing
|
|
970
983
|
*/
|
|
971
984
|
'nickName'?: string | null;
|
|
985
|
+
/**
|
|
986
|
+
*
|
|
987
|
+
* @type {string}
|
|
988
|
+
* @memberof APIListing
|
|
989
|
+
*/
|
|
990
|
+
'listingPicUrl': string | null;
|
|
972
991
|
/**
|
|
973
992
|
*
|
|
974
993
|
* @type {string}
|
|
@@ -1029,7 +1048,7 @@ interface APIManagedPhoneNumber {
|
|
|
1029
1048
|
* @type {string}
|
|
1030
1049
|
* @memberof APIManagedPhoneNumber
|
|
1031
1050
|
*/
|
|
1032
|
-
'
|
|
1051
|
+
'messagingProfileId': string;
|
|
1033
1052
|
/**
|
|
1034
1053
|
*
|
|
1035
1054
|
* @type {string}
|
|
@@ -1115,18 +1134,6 @@ interface APIMessage {
|
|
|
1115
1134
|
* @memberof APIMessage
|
|
1116
1135
|
*/
|
|
1117
1136
|
'attachments'?: Array<MessageAttachmentApi> | null;
|
|
1118
|
-
/**
|
|
1119
|
-
*
|
|
1120
|
-
* @type {string}
|
|
1121
|
-
* @memberof APIMessage
|
|
1122
|
-
*/
|
|
1123
|
-
'suggestionId'?: string | null;
|
|
1124
|
-
/**
|
|
1125
|
-
*
|
|
1126
|
-
* @type {ReasonType}
|
|
1127
|
-
* @memberof APIMessage
|
|
1128
|
-
*/
|
|
1129
|
-
'suggestionReason'?: ReasonType | null;
|
|
1130
1137
|
/**
|
|
1131
1138
|
*
|
|
1132
1139
|
* @type {string}
|
|
@@ -1221,10 +1228,10 @@ interface APIMessageCreate2 {
|
|
|
1221
1228
|
'suggestionId': string;
|
|
1222
1229
|
/**
|
|
1223
1230
|
*
|
|
1224
|
-
* @type {
|
|
1231
|
+
* @type {SuggestionRejectionReasonType}
|
|
1225
1232
|
* @memberof APIMessageCreate2
|
|
1226
1233
|
*/
|
|
1227
|
-
'suggestionReason'?:
|
|
1234
|
+
'suggestionReason'?: SuggestionRejectionReasonType | null;
|
|
1228
1235
|
}
|
|
1229
1236
|
/**
|
|
1230
1237
|
*
|
|
@@ -2341,7 +2348,7 @@ type Messagetypedata = EmailProviderMessageApi | RentalProviderMessageApi | SMSM
|
|
|
2341
2348
|
* @type Messagetypedata1
|
|
2342
2349
|
* @export
|
|
2343
2350
|
*/
|
|
2344
|
-
type Messagetypedata1 =
|
|
2351
|
+
type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
|
|
2345
2352
|
/**
|
|
2346
2353
|
*
|
|
2347
2354
|
* @export
|
|
@@ -2596,25 +2603,6 @@ declare const PhoneInboxApiInboxTypeEnum: {
|
|
|
2596
2603
|
readonly Text: "TEXT";
|
|
2597
2604
|
};
|
|
2598
2605
|
type PhoneInboxApiInboxTypeEnum = typeof PhoneInboxApiInboxTypeEnum[keyof typeof PhoneInboxApiInboxTypeEnum];
|
|
2599
|
-
/**
|
|
2600
|
-
*
|
|
2601
|
-
* @export
|
|
2602
|
-
* @interface PhonesApi
|
|
2603
|
-
*/
|
|
2604
|
-
interface PhonesApi {
|
|
2605
|
-
/**
|
|
2606
|
-
*
|
|
2607
|
-
* @type {string}
|
|
2608
|
-
* @memberof PhonesApi
|
|
2609
|
-
*/
|
|
2610
|
-
'phone': string;
|
|
2611
|
-
/**
|
|
2612
|
-
*
|
|
2613
|
-
* @type {string}
|
|
2614
|
-
* @memberof PhonesApi
|
|
2615
|
-
*/
|
|
2616
|
-
'contactId'?: string | null;
|
|
2617
|
-
}
|
|
2618
2606
|
/**
|
|
2619
2607
|
*
|
|
2620
2608
|
* @export
|
|
@@ -2864,18 +2852,6 @@ declare const ProviderStaffApiStaffTypeEnum: {
|
|
|
2864
2852
|
readonly ProviderStaff: "PROVIDER_STAFF";
|
|
2865
2853
|
};
|
|
2866
2854
|
type ProviderStaffApiStaffTypeEnum = typeof ProviderStaffApiStaffTypeEnum[keyof typeof ProviderStaffApiStaffTypeEnum];
|
|
2867
|
-
/**
|
|
2868
|
-
*
|
|
2869
|
-
* @export
|
|
2870
|
-
* @enum {string}
|
|
2871
|
-
*/
|
|
2872
|
-
declare const ReasonType: {
|
|
2873
|
-
readonly Irrelevant: "IRRELEVANT";
|
|
2874
|
-
readonly Inaccurate: "INACCURATE";
|
|
2875
|
-
readonly InappropriateTone: "INAPPROPRIATE_TONE";
|
|
2876
|
-
readonly TooVerboseOrTerse: "TOO_VERBOSE_OR_TERSE";
|
|
2877
|
-
};
|
|
2878
|
-
type ReasonType = typeof ReasonType[keyof typeof ReasonType];
|
|
2879
2855
|
/**
|
|
2880
2856
|
*
|
|
2881
2857
|
* @export
|
|
@@ -2980,24 +2956,6 @@ interface SMSConversationDataApi {
|
|
|
2980
2956
|
* @memberof SMSConversationDataApi
|
|
2981
2957
|
*/
|
|
2982
2958
|
'conversationType': SMSConversationDataApiConversationTypeEnum;
|
|
2983
|
-
/**
|
|
2984
|
-
*
|
|
2985
|
-
* @type {string}
|
|
2986
|
-
* @memberof SMSConversationDataApi
|
|
2987
|
-
*/
|
|
2988
|
-
'fromManagedPhoneId': string;
|
|
2989
|
-
/**
|
|
2990
|
-
*
|
|
2991
|
-
* @type {Array<PhonesApi>}
|
|
2992
|
-
* @memberof SMSConversationDataApi
|
|
2993
|
-
*/
|
|
2994
|
-
'toPhones': Array<PhonesApi>;
|
|
2995
|
-
/**
|
|
2996
|
-
*
|
|
2997
|
-
* @type {string}
|
|
2998
|
-
* @memberof SMSConversationDataApi
|
|
2999
|
-
*/
|
|
3000
|
-
'providerGroupId'?: string | null;
|
|
3001
2959
|
}
|
|
3002
2960
|
declare const SMSConversationDataApiConversationTypeEnum: {
|
|
3003
2961
|
readonly Text: "TEXT";
|
|
@@ -3020,12 +2978,31 @@ interface SMSInboundSenderTypeDataApi {
|
|
|
3020
2978
|
* @type {string}
|
|
3021
2979
|
* @memberof SMSInboundSenderTypeDataApi
|
|
3022
2980
|
*/
|
|
3023
|
-
'
|
|
2981
|
+
'fromPhone': string;
|
|
3024
2982
|
}
|
|
3025
2983
|
declare const SMSInboundSenderTypeDataApiDirectionEnum: {
|
|
3026
2984
|
readonly Inbound: "INBOUND";
|
|
3027
2985
|
};
|
|
3028
2986
|
type SMSInboundSenderTypeDataApiDirectionEnum = typeof SMSInboundSenderTypeDataApiDirectionEnum[keyof typeof SMSInboundSenderTypeDataApiDirectionEnum];
|
|
2987
|
+
/**
|
|
2988
|
+
*
|
|
2989
|
+
* @export
|
|
2990
|
+
* @interface SMSLegApi
|
|
2991
|
+
*/
|
|
2992
|
+
interface SMSLegApi {
|
|
2993
|
+
/**
|
|
2994
|
+
*
|
|
2995
|
+
* @type {string}
|
|
2996
|
+
* @memberof SMSLegApi
|
|
2997
|
+
*/
|
|
2998
|
+
'toPhone': string;
|
|
2999
|
+
/**
|
|
3000
|
+
*
|
|
3001
|
+
* @type {SMSMessageStatus}
|
|
3002
|
+
* @memberof SMSLegApi
|
|
3003
|
+
*/
|
|
3004
|
+
'status': SMSMessageStatus;
|
|
3005
|
+
}
|
|
3029
3006
|
/**
|
|
3030
3007
|
*
|
|
3031
3008
|
* @export
|
|
@@ -3043,7 +3020,7 @@ interface SMSMessageApi {
|
|
|
3043
3020
|
* @type {Array<string>}
|
|
3044
3021
|
* @memberof SMSMessageApi
|
|
3045
3022
|
*/
|
|
3046
|
-
'
|
|
3023
|
+
'mediaUrls'?: Array<string> | null;
|
|
3047
3024
|
/**
|
|
3048
3025
|
*
|
|
3049
3026
|
* @type {Sendertypedata}
|
|
@@ -3055,6 +3032,22 @@ declare const SMSMessageApiMessageTypeEnum: {
|
|
|
3055
3032
|
readonly Text: "TEXT";
|
|
3056
3033
|
};
|
|
3057
3034
|
type SMSMessageApiMessageTypeEnum = typeof SMSMessageApiMessageTypeEnum[keyof typeof SMSMessageApiMessageTypeEnum];
|
|
3035
|
+
/**
|
|
3036
|
+
* Telnyx SMS message status values. Mirrors the `status` field in Message API responses and status-callback webhooks.
|
|
3037
|
+
* @export
|
|
3038
|
+
* @enum {string}
|
|
3039
|
+
*/
|
|
3040
|
+
declare const SMSMessageStatus: {
|
|
3041
|
+
readonly Queued: "queued";
|
|
3042
|
+
readonly Sending: "sending";
|
|
3043
|
+
readonly Sent: "sent";
|
|
3044
|
+
readonly Expired: "expired";
|
|
3045
|
+
readonly SendingFailed: "sending_failed";
|
|
3046
|
+
readonly DeliveryUnconfirmed: "delivery_unconfirmed";
|
|
3047
|
+
readonly Delivered: "delivered";
|
|
3048
|
+
readonly DeliveryFailed: "delivery_failed";
|
|
3049
|
+
};
|
|
3050
|
+
type SMSMessageStatus = typeof SMSMessageStatus[keyof typeof SMSMessageStatus];
|
|
3058
3051
|
/**
|
|
3059
3052
|
*
|
|
3060
3053
|
* @export
|
|
@@ -3069,10 +3062,10 @@ interface SMSOutboundSenderTypeDataApi {
|
|
|
3069
3062
|
'direction': SMSOutboundSenderTypeDataApiDirectionEnum;
|
|
3070
3063
|
/**
|
|
3071
3064
|
*
|
|
3072
|
-
* @type {
|
|
3065
|
+
* @type {Array<SMSLegApi>}
|
|
3073
3066
|
* @memberof SMSOutboundSenderTypeDataApi
|
|
3074
3067
|
*/
|
|
3075
|
-
'
|
|
3068
|
+
'legs'?: Array<SMSLegApi>;
|
|
3076
3069
|
}
|
|
3077
3070
|
declare const SMSOutboundSenderTypeDataApiDirectionEnum: {
|
|
3078
3071
|
readonly Outbound: "OUTBOUND";
|
|
@@ -3127,18 +3120,30 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 {
|
|
|
3127
3120
|
* @type {string}
|
|
3128
3121
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3129
3122
|
*/
|
|
3130
|
-
'
|
|
3123
|
+
'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum;
|
|
3131
3124
|
/**
|
|
3132
3125
|
*
|
|
3133
|
-
* @type {
|
|
3126
|
+
* @type {Array<ToPhoneApi>}
|
|
3134
3127
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3135
3128
|
*/
|
|
3136
|
-
'
|
|
3129
|
+
'toPhones': Array<ToPhoneApi>;
|
|
3130
|
+
/**
|
|
3131
|
+
*
|
|
3132
|
+
* @type {string}
|
|
3133
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3134
|
+
*/
|
|
3135
|
+
'managedPhoneId'?: string | null;
|
|
3136
|
+
/**
|
|
3137
|
+
*
|
|
3138
|
+
* @type {string}
|
|
3139
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3140
|
+
*/
|
|
3141
|
+
'providerGroupId'?: string | null;
|
|
3137
3142
|
}
|
|
3138
|
-
declare const
|
|
3139
|
-
readonly
|
|
3143
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum: {
|
|
3144
|
+
readonly Text: "TEXT";
|
|
3140
3145
|
};
|
|
3141
|
-
type
|
|
3146
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum];
|
|
3142
3147
|
/**
|
|
3143
3148
|
*
|
|
3144
3149
|
* @export
|
|
@@ -3151,9 +3156,15 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 {
|
|
|
3151
3156
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
|
|
3152
3157
|
*/
|
|
3153
3158
|
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum;
|
|
3159
|
+
/**
|
|
3160
|
+
*
|
|
3161
|
+
* @type {ProviderCommunicationTypeInput}
|
|
3162
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
|
|
3163
|
+
*/
|
|
3164
|
+
'communicationType': ProviderCommunicationTypeInput;
|
|
3154
3165
|
}
|
|
3155
3166
|
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum: {
|
|
3156
|
-
readonly
|
|
3167
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
3157
3168
|
};
|
|
3158
3169
|
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum];
|
|
3159
3170
|
/**
|
|
@@ -3170,33 +3181,56 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
|
|
|
3170
3181
|
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum;
|
|
3171
3182
|
/**
|
|
3172
3183
|
*
|
|
3173
|
-
* @type {string}
|
|
3184
|
+
* @type {Array<string>}
|
|
3174
3185
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
3175
3186
|
*/
|
|
3187
|
+
'mediaUrls'?: Array<string> | null;
|
|
3188
|
+
}
|
|
3189
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
|
|
3190
|
+
readonly Text: "TEXT";
|
|
3191
|
+
};
|
|
3192
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
|
|
3193
|
+
/**
|
|
3194
|
+
*
|
|
3195
|
+
* @export
|
|
3196
|
+
* @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3197
|
+
*/
|
|
3198
|
+
interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
|
|
3199
|
+
/**
|
|
3200
|
+
*
|
|
3201
|
+
* @type {string}
|
|
3202
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3203
|
+
*/
|
|
3204
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum;
|
|
3205
|
+
/**
|
|
3206
|
+
*
|
|
3207
|
+
* @type {string}
|
|
3208
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3209
|
+
*/
|
|
3176
3210
|
'outboundFromManagedEmailId'?: string | null;
|
|
3177
3211
|
/**
|
|
3178
3212
|
*
|
|
3179
3213
|
* @type {string}
|
|
3180
|
-
* @memberof
|
|
3214
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3181
3215
|
*/
|
|
3182
3216
|
'subject': string;
|
|
3183
3217
|
/**
|
|
3184
3218
|
*
|
|
3185
3219
|
* @type {string}
|
|
3186
|
-
* @memberof
|
|
3220
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3187
3221
|
*/
|
|
3188
3222
|
'htmlBody': string | null;
|
|
3189
3223
|
/**
|
|
3190
3224
|
*
|
|
3191
3225
|
* @type {string}
|
|
3192
|
-
* @memberof
|
|
3226
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3193
3227
|
*/
|
|
3194
3228
|
'plainBody': string | null;
|
|
3195
3229
|
}
|
|
3196
|
-
declare const
|
|
3230
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum: {
|
|
3197
3231
|
readonly Email: "EMAIL";
|
|
3198
3232
|
};
|
|
3199
|
-
type
|
|
3233
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum];
|
|
3200
3234
|
/**
|
|
3201
3235
|
*
|
|
3202
3236
|
* @export
|
|
@@ -3319,32 +3353,44 @@ interface SuggestionApi {
|
|
|
3319
3353
|
* @type {string}
|
|
3320
3354
|
* @memberof SuggestionApi
|
|
3321
3355
|
*/
|
|
3322
|
-
'
|
|
3356
|
+
'suggestionId': string;
|
|
3323
3357
|
/**
|
|
3324
3358
|
*
|
|
3325
3359
|
* @type {string}
|
|
3326
3360
|
* @memberof SuggestionApi
|
|
3327
3361
|
*/
|
|
3328
|
-
'
|
|
3362
|
+
'textSuggestedReply': string;
|
|
3329
3363
|
/**
|
|
3330
3364
|
*
|
|
3331
3365
|
* @type {string}
|
|
3332
3366
|
* @memberof SuggestionApi
|
|
3333
3367
|
*/
|
|
3334
|
-
'
|
|
3368
|
+
'chatSuggestedReply': string;
|
|
3335
3369
|
/**
|
|
3336
3370
|
*
|
|
3337
3371
|
* @type {string}
|
|
3338
3372
|
* @memberof SuggestionApi
|
|
3339
3373
|
*/
|
|
3340
|
-
'
|
|
3374
|
+
'emailSuggestedReply': string;
|
|
3341
3375
|
/**
|
|
3342
3376
|
*
|
|
3343
3377
|
* @type {string}
|
|
3344
3378
|
* @memberof SuggestionApi
|
|
3345
3379
|
*/
|
|
3346
|
-
'
|
|
3380
|
+
'tone': string;
|
|
3347
3381
|
}
|
|
3382
|
+
/**
|
|
3383
|
+
*
|
|
3384
|
+
* @export
|
|
3385
|
+
* @enum {string}
|
|
3386
|
+
*/
|
|
3387
|
+
declare const SuggestionRejectionReasonType: {
|
|
3388
|
+
readonly Irrelevant: "IRRELEVANT";
|
|
3389
|
+
readonly Inaccurate: "INACCURATE";
|
|
3390
|
+
readonly InappropriateTone: "INAPPROPRIATE_TONE";
|
|
3391
|
+
readonly TooVerboseOrTerse: "TOO_VERBOSE_OR_TERSE";
|
|
3392
|
+
};
|
|
3393
|
+
type SuggestionRejectionReasonType = typeof SuggestionRejectionReasonType[keyof typeof SuggestionRejectionReasonType];
|
|
3348
3394
|
/**
|
|
3349
3395
|
*
|
|
3350
3396
|
* @export
|
|
@@ -3352,10 +3398,8 @@ interface SuggestionApi {
|
|
|
3352
3398
|
*/
|
|
3353
3399
|
declare const SuggestionStatus: {
|
|
3354
3400
|
readonly Generating: "GENERATING";
|
|
3355
|
-
readonly SkippedOutdated: "SKIPPED_OUTDATED";
|
|
3356
|
-
readonly SkippedNoEligibleMessages: "SKIPPED_NO_ELIGIBLE_MESSAGES";
|
|
3357
|
-
readonly AnsweredByStaff: "ANSWERED_BY_STAFF";
|
|
3358
3401
|
readonly ReplyGenerated: "REPLY_GENERATED";
|
|
3402
|
+
readonly NoAvailableReply: "NO_AVAILABLE_REPLY";
|
|
3359
3403
|
};
|
|
3360
3404
|
type SuggestionStatus = typeof SuggestionStatus[keyof typeof SuggestionStatus];
|
|
3361
3405
|
/**
|
|
@@ -3413,6 +3457,25 @@ interface ToItemApi {
|
|
|
3413
3457
|
*/
|
|
3414
3458
|
'relatedListings'?: Array<RelatedListingApi>;
|
|
3415
3459
|
}
|
|
3460
|
+
/**
|
|
3461
|
+
*
|
|
3462
|
+
* @export
|
|
3463
|
+
* @interface ToPhoneApi
|
|
3464
|
+
*/
|
|
3465
|
+
interface ToPhoneApi {
|
|
3466
|
+
/**
|
|
3467
|
+
*
|
|
3468
|
+
* @type {string}
|
|
3469
|
+
* @memberof ToPhoneApi
|
|
3470
|
+
*/
|
|
3471
|
+
'phone': string;
|
|
3472
|
+
/**
|
|
3473
|
+
*
|
|
3474
|
+
* @type {string}
|
|
3475
|
+
* @memberof ToPhoneApi
|
|
3476
|
+
*/
|
|
3477
|
+
'contactId'?: string | null;
|
|
3478
|
+
}
|
|
3416
3479
|
/**
|
|
3417
3480
|
*
|
|
3418
3481
|
* @export
|
|
@@ -4402,38 +4465,6 @@ declare class ContactsApi extends BaseAPI {
|
|
|
4402
4465
|
* @export
|
|
4403
4466
|
*/
|
|
4404
4467
|
declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4405
|
-
/**
|
|
4406
|
-
* Conversations Get
|
|
4407
|
-
* @summary Conversations Get
|
|
4408
|
-
* @param {string} conversationId
|
|
4409
|
-
* @param {*} [options] Override http request option.
|
|
4410
|
-
* @throws {RequiredError}
|
|
4411
|
-
*/
|
|
4412
|
-
conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4413
|
-
/**
|
|
4414
|
-
* List all conversations, must filter by contact_id
|
|
4415
|
-
* @summary Conversations List
|
|
4416
|
-
* @param {string | null} [searchString]
|
|
4417
|
-
* @param {string | null} [contactId]
|
|
4418
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4419
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4420
|
-
* @param {number} [limit]
|
|
4421
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4422
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4423
|
-
* @param {string | null} [inboxId]
|
|
4424
|
-
* @param {*} [options] Override http request option.
|
|
4425
|
-
* @throws {RequiredError}
|
|
4426
|
-
*/
|
|
4427
|
-
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>;
|
|
4428
|
-
/**
|
|
4429
|
-
* Conversations Update
|
|
4430
|
-
* @summary Conversations Update
|
|
4431
|
-
* @param {string} conversationId
|
|
4432
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4433
|
-
* @param {*} [options] Override http request option.
|
|
4434
|
-
* @throws {RequiredError}
|
|
4435
|
-
*/
|
|
4436
|
-
conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4437
4468
|
/**
|
|
4438
4469
|
* Messages Create
|
|
4439
4470
|
* @summary Messages Create
|
|
@@ -4475,38 +4506,6 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4475
4506
|
* @export
|
|
4476
4507
|
*/
|
|
4477
4508
|
declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
4478
|
-
/**
|
|
4479
|
-
* Conversations Get
|
|
4480
|
-
* @summary Conversations Get
|
|
4481
|
-
* @param {string} conversationId
|
|
4482
|
-
* @param {*} [options] Override http request option.
|
|
4483
|
-
* @throws {RequiredError}
|
|
4484
|
-
*/
|
|
4485
|
-
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4486
|
-
/**
|
|
4487
|
-
* List all conversations, must filter by contact_id
|
|
4488
|
-
* @summary Conversations List
|
|
4489
|
-
* @param {string | null} [searchString]
|
|
4490
|
-
* @param {string | null} [contactId]
|
|
4491
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4492
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4493
|
-
* @param {number} [limit]
|
|
4494
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4495
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4496
|
-
* @param {string | null} [inboxId]
|
|
4497
|
-
* @param {*} [options] Override http request option.
|
|
4498
|
-
* @throws {RequiredError}
|
|
4499
|
-
*/
|
|
4500
|
-
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>>;
|
|
4501
|
-
/**
|
|
4502
|
-
* Conversations Update
|
|
4503
|
-
* @summary Conversations Update
|
|
4504
|
-
* @param {string} conversationId
|
|
4505
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4506
|
-
* @param {*} [options] Override http request option.
|
|
4507
|
-
* @throws {RequiredError}
|
|
4508
|
-
*/
|
|
4509
|
-
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4510
4509
|
/**
|
|
4511
4510
|
* Messages Create
|
|
4512
4511
|
* @summary Messages Create
|
|
@@ -4548,38 +4547,6 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
4548
4547
|
* @export
|
|
4549
4548
|
*/
|
|
4550
4549
|
declare const ConversationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4551
|
-
/**
|
|
4552
|
-
* Conversations Get
|
|
4553
|
-
* @summary Conversations Get
|
|
4554
|
-
* @param {string} conversationId
|
|
4555
|
-
* @param {*} [options] Override http request option.
|
|
4556
|
-
* @throws {RequiredError}
|
|
4557
|
-
*/
|
|
4558
|
-
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4559
|
-
/**
|
|
4560
|
-
* List all conversations, must filter by contact_id
|
|
4561
|
-
* @summary Conversations List
|
|
4562
|
-
* @param {string | null} [searchString]
|
|
4563
|
-
* @param {string | null} [contactId]
|
|
4564
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4565
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4566
|
-
* @param {number} [limit]
|
|
4567
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4568
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4569
|
-
* @param {string | null} [inboxId]
|
|
4570
|
-
* @param {*} [options] Override http request option.
|
|
4571
|
-
* @throws {RequiredError}
|
|
4572
|
-
*/
|
|
4573
|
-
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>;
|
|
4574
|
-
/**
|
|
4575
|
-
* Conversations Update
|
|
4576
|
-
* @summary Conversations Update
|
|
4577
|
-
* @param {string} conversationId
|
|
4578
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4579
|
-
* @param {*} [options] Override http request option.
|
|
4580
|
-
* @throws {RequiredError}
|
|
4581
|
-
*/
|
|
4582
|
-
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4583
4550
|
/**
|
|
4584
4551
|
* Messages Create
|
|
4585
4552
|
* @summary Messages Create
|
|
@@ -4623,41 +4590,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
|
|
|
4623
4590
|
* @extends {BaseAPI}
|
|
4624
4591
|
*/
|
|
4625
4592
|
declare class ConversationsApi extends BaseAPI {
|
|
4626
|
-
/**
|
|
4627
|
-
* Conversations Get
|
|
4628
|
-
* @summary Conversations Get
|
|
4629
|
-
* @param {string} conversationId
|
|
4630
|
-
* @param {*} [options] Override http request option.
|
|
4631
|
-
* @throws {RequiredError}
|
|
4632
|
-
* @memberof ConversationsApi
|
|
4633
|
-
*/
|
|
4634
|
-
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4635
|
-
/**
|
|
4636
|
-
* List all conversations, must filter by contact_id
|
|
4637
|
-
* @summary Conversations List
|
|
4638
|
-
* @param {string | null} [searchString]
|
|
4639
|
-
* @param {string | null} [contactId]
|
|
4640
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4641
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4642
|
-
* @param {number} [limit]
|
|
4643
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4644
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4645
|
-
* @param {string | null} [inboxId]
|
|
4646
|
-
* @param {*} [options] Override http request option.
|
|
4647
|
-
* @throws {RequiredError}
|
|
4648
|
-
* @memberof ConversationsApi
|
|
4649
|
-
*/
|
|
4650
|
-
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>>;
|
|
4651
|
-
/**
|
|
4652
|
-
* Conversations Update
|
|
4653
|
-
* @summary Conversations Update
|
|
4654
|
-
* @param {string} conversationId
|
|
4655
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4656
|
-
* @param {*} [options] Override http request option.
|
|
4657
|
-
* @throws {RequiredError}
|
|
4658
|
-
* @memberof ConversationsApi
|
|
4659
|
-
*/
|
|
4660
|
-
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4661
4593
|
/**
|
|
4662
4594
|
* Messages Create
|
|
4663
4595
|
* @summary Messages Create
|
|
@@ -4761,6 +4693,47 @@ declare class HostawayApi extends BaseAPI {
|
|
|
4761
4693
|
* @export
|
|
4762
4694
|
*/
|
|
4763
4695
|
declare const InboxesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4696
|
+
/**
|
|
4697
|
+
* Conversations Create
|
|
4698
|
+
* @summary Conversations Create
|
|
4699
|
+
* @param {string} inboxId
|
|
4700
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4701
|
+
* @param {*} [options] Override http request option.
|
|
4702
|
+
* @throws {RequiredError}
|
|
4703
|
+
*/
|
|
4704
|
+
conversationsCreate: (inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4705
|
+
/**
|
|
4706
|
+
* Conversations Get
|
|
4707
|
+
* @summary Conversations Get
|
|
4708
|
+
* @param {string} conversationId
|
|
4709
|
+
* @param {*} [options] Override http request option.
|
|
4710
|
+
* @throws {RequiredError}
|
|
4711
|
+
*/
|
|
4712
|
+
conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4713
|
+
/**
|
|
4714
|
+
* List all conversations, must filter by contact_id
|
|
4715
|
+
* @summary Conversations List
|
|
4716
|
+
* @param {string | null} [searchString]
|
|
4717
|
+
* @param {string | null} [contactId]
|
|
4718
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4719
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4720
|
+
* @param {number} [limit]
|
|
4721
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4722
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4723
|
+
* @param {string | null} [inboxId]
|
|
4724
|
+
* @param {*} [options] Override http request option.
|
|
4725
|
+
* @throws {RequiredError}
|
|
4726
|
+
*/
|
|
4727
|
+
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>;
|
|
4728
|
+
/**
|
|
4729
|
+
* Conversations Update
|
|
4730
|
+
* @summary Conversations Update
|
|
4731
|
+
* @param {string} conversationId
|
|
4732
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4733
|
+
* @param {*} [options] Override http request option.
|
|
4734
|
+
* @throws {RequiredError}
|
|
4735
|
+
*/
|
|
4736
|
+
conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4764
4737
|
/**
|
|
4765
4738
|
* Inboxes List
|
|
4766
4739
|
* @summary Inboxes List
|
|
@@ -4774,6 +4747,47 @@ declare const InboxesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
4774
4747
|
* @export
|
|
4775
4748
|
*/
|
|
4776
4749
|
declare const InboxesApiFp: (configuration?: Configuration) => {
|
|
4750
|
+
/**
|
|
4751
|
+
* Conversations Create
|
|
4752
|
+
* @summary Conversations Create
|
|
4753
|
+
* @param {string} inboxId
|
|
4754
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4755
|
+
* @param {*} [options] Override http request option.
|
|
4756
|
+
* @throws {RequiredError}
|
|
4757
|
+
*/
|
|
4758
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4759
|
+
/**
|
|
4760
|
+
* Conversations Get
|
|
4761
|
+
* @summary Conversations Get
|
|
4762
|
+
* @param {string} conversationId
|
|
4763
|
+
* @param {*} [options] Override http request option.
|
|
4764
|
+
* @throws {RequiredError}
|
|
4765
|
+
*/
|
|
4766
|
+
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4767
|
+
/**
|
|
4768
|
+
* List all conversations, must filter by contact_id
|
|
4769
|
+
* @summary Conversations List
|
|
4770
|
+
* @param {string | null} [searchString]
|
|
4771
|
+
* @param {string | null} [contactId]
|
|
4772
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4773
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4774
|
+
* @param {number} [limit]
|
|
4775
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4776
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4777
|
+
* @param {string | null} [inboxId]
|
|
4778
|
+
* @param {*} [options] Override http request option.
|
|
4779
|
+
* @throws {RequiredError}
|
|
4780
|
+
*/
|
|
4781
|
+
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>>;
|
|
4782
|
+
/**
|
|
4783
|
+
* Conversations Update
|
|
4784
|
+
* @summary Conversations Update
|
|
4785
|
+
* @param {string} conversationId
|
|
4786
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4787
|
+
* @param {*} [options] Override http request option.
|
|
4788
|
+
* @throws {RequiredError}
|
|
4789
|
+
*/
|
|
4790
|
+
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4777
4791
|
/**
|
|
4778
4792
|
* Inboxes List
|
|
4779
4793
|
* @summary Inboxes List
|
|
@@ -4787,6 +4801,47 @@ declare const InboxesApiFp: (configuration?: Configuration) => {
|
|
|
4787
4801
|
* @export
|
|
4788
4802
|
*/
|
|
4789
4803
|
declare const InboxesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4804
|
+
/**
|
|
4805
|
+
* Conversations Create
|
|
4806
|
+
* @summary Conversations Create
|
|
4807
|
+
* @param {string} inboxId
|
|
4808
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4809
|
+
* @param {*} [options] Override http request option.
|
|
4810
|
+
* @throws {RequiredError}
|
|
4811
|
+
*/
|
|
4812
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4813
|
+
/**
|
|
4814
|
+
* Conversations Get
|
|
4815
|
+
* @summary Conversations Get
|
|
4816
|
+
* @param {string} conversationId
|
|
4817
|
+
* @param {*} [options] Override http request option.
|
|
4818
|
+
* @throws {RequiredError}
|
|
4819
|
+
*/
|
|
4820
|
+
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4821
|
+
/**
|
|
4822
|
+
* List all conversations, must filter by contact_id
|
|
4823
|
+
* @summary Conversations List
|
|
4824
|
+
* @param {string | null} [searchString]
|
|
4825
|
+
* @param {string | null} [contactId]
|
|
4826
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4827
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4828
|
+
* @param {number} [limit]
|
|
4829
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4830
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4831
|
+
* @param {string | null} [inboxId]
|
|
4832
|
+
* @param {*} [options] Override http request option.
|
|
4833
|
+
* @throws {RequiredError}
|
|
4834
|
+
*/
|
|
4835
|
+
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>;
|
|
4836
|
+
/**
|
|
4837
|
+
* Conversations Update
|
|
4838
|
+
* @summary Conversations Update
|
|
4839
|
+
* @param {string} conversationId
|
|
4840
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4841
|
+
* @param {*} [options] Override http request option.
|
|
4842
|
+
* @throws {RequiredError}
|
|
4843
|
+
*/
|
|
4844
|
+
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4790
4845
|
/**
|
|
4791
4846
|
* Inboxes List
|
|
4792
4847
|
* @summary Inboxes List
|
|
@@ -4802,6 +4857,51 @@ declare const InboxesApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
4802
4857
|
* @extends {BaseAPI}
|
|
4803
4858
|
*/
|
|
4804
4859
|
declare class InboxesApi extends BaseAPI {
|
|
4860
|
+
/**
|
|
4861
|
+
* Conversations Create
|
|
4862
|
+
* @summary Conversations Create
|
|
4863
|
+
* @param {string} inboxId
|
|
4864
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4865
|
+
* @param {*} [options] Override http request option.
|
|
4866
|
+
* @throws {RequiredError}
|
|
4867
|
+
* @memberof InboxesApi
|
|
4868
|
+
*/
|
|
4869
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4870
|
+
/**
|
|
4871
|
+
* Conversations Get
|
|
4872
|
+
* @summary Conversations Get
|
|
4873
|
+
* @param {string} conversationId
|
|
4874
|
+
* @param {*} [options] Override http request option.
|
|
4875
|
+
* @throws {RequiredError}
|
|
4876
|
+
* @memberof InboxesApi
|
|
4877
|
+
*/
|
|
4878
|
+
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4879
|
+
/**
|
|
4880
|
+
* List all conversations, must filter by contact_id
|
|
4881
|
+
* @summary Conversations List
|
|
4882
|
+
* @param {string | null} [searchString]
|
|
4883
|
+
* @param {string | null} [contactId]
|
|
4884
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4885
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4886
|
+
* @param {number} [limit]
|
|
4887
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4888
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4889
|
+
* @param {string | null} [inboxId]
|
|
4890
|
+
* @param {*} [options] Override http request option.
|
|
4891
|
+
* @throws {RequiredError}
|
|
4892
|
+
* @memberof InboxesApi
|
|
4893
|
+
*/
|
|
4894
|
+
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>>;
|
|
4895
|
+
/**
|
|
4896
|
+
* Conversations Update
|
|
4897
|
+
* @summary Conversations Update
|
|
4898
|
+
* @param {string} conversationId
|
|
4899
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4900
|
+
* @param {*} [options] Override http request option.
|
|
4901
|
+
* @throws {RequiredError}
|
|
4902
|
+
* @memberof InboxesApi
|
|
4903
|
+
*/
|
|
4904
|
+
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4805
4905
|
/**
|
|
4806
4906
|
* Inboxes List
|
|
4807
4907
|
* @summary Inboxes List
|
|
@@ -5315,6 +5415,73 @@ declare class ReservationsApi extends BaseAPI {
|
|
|
5315
5415
|
*/
|
|
5316
5416
|
reservationsList(searchString?: string | null, contactId?: string | null, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: SrcResourceModelsReservationsModelReservationBaseModelSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseAPIReservation, any>>;
|
|
5317
5417
|
}
|
|
5418
|
+
/**
|
|
5419
|
+
* TelnyxApi - axios parameter creator
|
|
5420
|
+
* @export
|
|
5421
|
+
*/
|
|
5422
|
+
declare const TelnyxApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5423
|
+
/**
|
|
5424
|
+
*
|
|
5425
|
+
* @summary Telnyx Webhook
|
|
5426
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5427
|
+
* @param {*} [options] Override http request option.
|
|
5428
|
+
* @throws {RequiredError}
|
|
5429
|
+
*/
|
|
5430
|
+
telnyxWebhookTelnyxWebhooksPost: (requestBody: {
|
|
5431
|
+
[key: string]: any;
|
|
5432
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5433
|
+
};
|
|
5434
|
+
/**
|
|
5435
|
+
* TelnyxApi - functional programming interface
|
|
5436
|
+
* @export
|
|
5437
|
+
*/
|
|
5438
|
+
declare const TelnyxApiFp: (configuration?: Configuration) => {
|
|
5439
|
+
/**
|
|
5440
|
+
*
|
|
5441
|
+
* @summary Telnyx Webhook
|
|
5442
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5443
|
+
* @param {*} [options] Override http request option.
|
|
5444
|
+
* @throws {RequiredError}
|
|
5445
|
+
*/
|
|
5446
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody: {
|
|
5447
|
+
[key: string]: any;
|
|
5448
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
5449
|
+
};
|
|
5450
|
+
/**
|
|
5451
|
+
* TelnyxApi - factory interface
|
|
5452
|
+
* @export
|
|
5453
|
+
*/
|
|
5454
|
+
declare const TelnyxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5455
|
+
/**
|
|
5456
|
+
*
|
|
5457
|
+
* @summary Telnyx Webhook
|
|
5458
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5459
|
+
* @param {*} [options] Override http request option.
|
|
5460
|
+
* @throws {RequiredError}
|
|
5461
|
+
*/
|
|
5462
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody: {
|
|
5463
|
+
[key: string]: any;
|
|
5464
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
5465
|
+
};
|
|
5466
|
+
/**
|
|
5467
|
+
* TelnyxApi - object-oriented interface
|
|
5468
|
+
* @export
|
|
5469
|
+
* @class TelnyxApi
|
|
5470
|
+
* @extends {BaseAPI}
|
|
5471
|
+
*/
|
|
5472
|
+
declare class TelnyxApi extends BaseAPI {
|
|
5473
|
+
/**
|
|
5474
|
+
*
|
|
5475
|
+
* @summary Telnyx Webhook
|
|
5476
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5477
|
+
* @param {*} [options] Override http request option.
|
|
5478
|
+
* @throws {RequiredError}
|
|
5479
|
+
* @memberof TelnyxApi
|
|
5480
|
+
*/
|
|
5481
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody: {
|
|
5482
|
+
[key: string]: any;
|
|
5483
|
+
}, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
5484
|
+
}
|
|
5318
5485
|
/**
|
|
5319
5486
|
* UnboundApi - axios parameter creator
|
|
5320
5487
|
* @export
|
|
@@ -5437,6 +5604,15 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
5437
5604
|
* @throws {RequiredError}
|
|
5438
5605
|
*/
|
|
5439
5606
|
contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5607
|
+
/**
|
|
5608
|
+
* Conversations Create
|
|
5609
|
+
* @summary Conversations Create
|
|
5610
|
+
* @param {string} inboxId
|
|
5611
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
5612
|
+
* @param {*} [options] Override http request option.
|
|
5613
|
+
* @throws {RequiredError}
|
|
5614
|
+
*/
|
|
5615
|
+
conversationsCreate: (inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5440
5616
|
/**
|
|
5441
5617
|
* Conversations Get
|
|
5442
5618
|
* @summary Conversations Get
|
|
@@ -5824,6 +6000,15 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5824
6000
|
* @throws {RequiredError}
|
|
5825
6001
|
*/
|
|
5826
6002
|
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6003
|
+
/**
|
|
6004
|
+
* Conversations Create
|
|
6005
|
+
* @summary Conversations Create
|
|
6006
|
+
* @param {string} inboxId
|
|
6007
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
6008
|
+
* @param {*} [options] Override http request option.
|
|
6009
|
+
* @throws {RequiredError}
|
|
6010
|
+
*/
|
|
6011
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
5827
6012
|
/**
|
|
5828
6013
|
* Conversations Get
|
|
5829
6014
|
* @summary Conversations Get
|
|
@@ -6211,6 +6396,15 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
6211
6396
|
* @throws {RequiredError}
|
|
6212
6397
|
*/
|
|
6213
6398
|
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6399
|
+
/**
|
|
6400
|
+
* Conversations Create
|
|
6401
|
+
* @summary Conversations Create
|
|
6402
|
+
* @param {string} inboxId
|
|
6403
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
6404
|
+
* @param {*} [options] Override http request option.
|
|
6405
|
+
* @throws {RequiredError}
|
|
6406
|
+
*/
|
|
6407
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
6214
6408
|
/**
|
|
6215
6409
|
* Conversations Get
|
|
6216
6410
|
* @summary Conversations Get
|
|
@@ -6613,6 +6807,16 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6613
6807
|
* @memberof UnboundApi
|
|
6614
6808
|
*/
|
|
6615
6809
|
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
6810
|
+
/**
|
|
6811
|
+
* Conversations Create
|
|
6812
|
+
* @summary Conversations Create
|
|
6813
|
+
* @param {string} inboxId
|
|
6814
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
6815
|
+
* @param {*} [options] Override http request option.
|
|
6816
|
+
* @throws {RequiredError}
|
|
6817
|
+
* @memberof UnboundApi
|
|
6818
|
+
*/
|
|
6819
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
6616
6820
|
/**
|
|
6617
6821
|
* Conversations Get
|
|
6618
6822
|
* @summary Conversations Get
|
|
@@ -7000,4 +7204,4 @@ declare class UserDevicesApi extends BaseAPI {
|
|
|
7000
7204
|
userDevicesDelete(userDeviceId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
7001
7205
|
}
|
|
7002
7206
|
|
|
7003
|
-
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 APIUserDevice, type APIUserDeviceCreate, 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, 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, type MessageAttachmentApi, 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
|
|
7207
|
+
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 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 APIUserDevice, type APIUserDeviceCreate, 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, 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, type MessageAttachmentApi, 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 ProviderAccountInboxApi, ProviderAccountInboxApiInboxTypeEnum, type ProviderAddressesApi, type ProviderAttributionApi, ProviderCommunicationTypeInput, type ProviderConversationDataApi, ProviderConversationDataApiConversationTypeEnum, type ProviderEmailsApi, type ProviderInfoApi, type ProviderPhonesApi, type ProviderStaffApi, ProviderStaffApiStaffTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, type RelatedListingApi, type RentalProviderMessageApi, RentalProviderMessageApiMessageTypeEnum, RentalProviderTypes, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type SMSConversationDataApi, SMSConversationDataApiConversationTypeEnum, type SMSInboundSenderTypeDataApi, SMSInboundSenderTypeDataApiDirectionEnum, type SMSLegApi, type SMSMessageApi, SMSMessageApiMessageTypeEnum, SMSMessageStatus, type SMSOutboundSenderTypeDataApi, SMSOutboundSenderTypeDataApiDirectionEnum, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, SrcResourceModelsConversationsModelConversationsHelperModelsProviderCommunicationType, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4, SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesHelperModelsProviderCommunicationType, SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type StaffApi, StaffApiParticipantTypeEnum, type Stafftypedata, type SubjectApi, type SuggestionApi, SuggestionRejectionReasonType, SuggestionStatus, TelnyxApi, TelnyxApiAxiosParamCreator, TelnyxApiFactory, TelnyxApiFp, type ToItemApi, type ToPhoneApi, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing, type UserApi, UserDeviceOs, UserDevicesApi, UserDevicesApiAxiosParamCreator, UserDevicesApiFactory, UserDevicesApiFp };
|