@ember-home/unbound-ts-client 0.0.93 → 0.0.95
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 +383 -225
- package/dist/index.d.ts +383 -225
- package/dist/index.js +593 -374
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +475 -256
- 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
|
|
@@ -1115,18 +1128,6 @@ interface APIMessage {
|
|
|
1115
1128
|
* @memberof APIMessage
|
|
1116
1129
|
*/
|
|
1117
1130
|
'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
1131
|
/**
|
|
1131
1132
|
*
|
|
1132
1133
|
* @type {string}
|
|
@@ -1221,10 +1222,10 @@ interface APIMessageCreate2 {
|
|
|
1221
1222
|
'suggestionId': string;
|
|
1222
1223
|
/**
|
|
1223
1224
|
*
|
|
1224
|
-
* @type {
|
|
1225
|
+
* @type {SuggestionRejectionReasonType}
|
|
1225
1226
|
* @memberof APIMessageCreate2
|
|
1226
1227
|
*/
|
|
1227
|
-
'suggestionReason'?:
|
|
1228
|
+
'suggestionReason'?: SuggestionRejectionReasonType | null;
|
|
1228
1229
|
}
|
|
1229
1230
|
/**
|
|
1230
1231
|
*
|
|
@@ -2341,7 +2342,7 @@ type Messagetypedata = EmailProviderMessageApi | RentalProviderMessageApi | SMSM
|
|
|
2341
2342
|
* @type Messagetypedata1
|
|
2342
2343
|
* @export
|
|
2343
2344
|
*/
|
|
2344
|
-
type Messagetypedata1 =
|
|
2345
|
+
type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
|
|
2345
2346
|
/**
|
|
2346
2347
|
*
|
|
2347
2348
|
* @export
|
|
@@ -2596,25 +2597,6 @@ declare const PhoneInboxApiInboxTypeEnum: {
|
|
|
2596
2597
|
readonly Text: "TEXT";
|
|
2597
2598
|
};
|
|
2598
2599
|
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
2600
|
/**
|
|
2619
2601
|
*
|
|
2620
2602
|
* @export
|
|
@@ -2864,18 +2846,6 @@ declare const ProviderStaffApiStaffTypeEnum: {
|
|
|
2864
2846
|
readonly ProviderStaff: "PROVIDER_STAFF";
|
|
2865
2847
|
};
|
|
2866
2848
|
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
2849
|
/**
|
|
2880
2850
|
*
|
|
2881
2851
|
* @export
|
|
@@ -2980,24 +2950,6 @@ interface SMSConversationDataApi {
|
|
|
2980
2950
|
* @memberof SMSConversationDataApi
|
|
2981
2951
|
*/
|
|
2982
2952
|
'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
2953
|
}
|
|
3002
2954
|
declare const SMSConversationDataApiConversationTypeEnum: {
|
|
3003
2955
|
readonly Text: "TEXT";
|
|
@@ -3020,7 +2972,7 @@ interface SMSInboundSenderTypeDataApi {
|
|
|
3020
2972
|
* @type {string}
|
|
3021
2973
|
* @memberof SMSInboundSenderTypeDataApi
|
|
3022
2974
|
*/
|
|
3023
|
-
'
|
|
2975
|
+
'fromPhone': string;
|
|
3024
2976
|
}
|
|
3025
2977
|
declare const SMSInboundSenderTypeDataApiDirectionEnum: {
|
|
3026
2978
|
readonly Inbound: "INBOUND";
|
|
@@ -3043,7 +2995,7 @@ interface SMSMessageApi {
|
|
|
3043
2995
|
* @type {Array<string>}
|
|
3044
2996
|
* @memberof SMSMessageApi
|
|
3045
2997
|
*/
|
|
3046
|
-
'
|
|
2998
|
+
'mediaUrls'?: Array<string> | null;
|
|
3047
2999
|
/**
|
|
3048
3000
|
*
|
|
3049
3001
|
* @type {Sendertypedata}
|
|
@@ -3067,12 +3019,6 @@ interface SMSOutboundSenderTypeDataApi {
|
|
|
3067
3019
|
* @memberof SMSOutboundSenderTypeDataApi
|
|
3068
3020
|
*/
|
|
3069
3021
|
'direction': SMSOutboundSenderTypeDataApiDirectionEnum;
|
|
3070
|
-
/**
|
|
3071
|
-
*
|
|
3072
|
-
* @type {string}
|
|
3073
|
-
* @memberof SMSOutboundSenderTypeDataApi
|
|
3074
|
-
*/
|
|
3075
|
-
'fromManagedPhoneId': string;
|
|
3076
3022
|
}
|
|
3077
3023
|
declare const SMSOutboundSenderTypeDataApiDirectionEnum: {
|
|
3078
3024
|
readonly Outbound: "OUTBOUND";
|
|
@@ -3127,18 +3073,30 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 {
|
|
|
3127
3073
|
* @type {string}
|
|
3128
3074
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3129
3075
|
*/
|
|
3130
|
-
'
|
|
3076
|
+
'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum;
|
|
3131
3077
|
/**
|
|
3132
3078
|
*
|
|
3133
|
-
* @type {
|
|
3079
|
+
* @type {Array<ToPhoneApi>}
|
|
3134
3080
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3135
3081
|
*/
|
|
3136
|
-
'
|
|
3082
|
+
'toPhones': Array<ToPhoneApi>;
|
|
3083
|
+
/**
|
|
3084
|
+
*
|
|
3085
|
+
* @type {string}
|
|
3086
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3087
|
+
*/
|
|
3088
|
+
'managedPhoneId'?: string | null;
|
|
3089
|
+
/**
|
|
3090
|
+
*
|
|
3091
|
+
* @type {string}
|
|
3092
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
|
|
3093
|
+
*/
|
|
3094
|
+
'providerGroupId'?: string | null;
|
|
3137
3095
|
}
|
|
3138
|
-
declare const
|
|
3139
|
-
readonly
|
|
3096
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum: {
|
|
3097
|
+
readonly Text: "TEXT";
|
|
3140
3098
|
};
|
|
3141
|
-
type
|
|
3099
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum];
|
|
3142
3100
|
/**
|
|
3143
3101
|
*
|
|
3144
3102
|
* @export
|
|
@@ -3151,9 +3109,15 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 {
|
|
|
3151
3109
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
|
|
3152
3110
|
*/
|
|
3153
3111
|
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum;
|
|
3112
|
+
/**
|
|
3113
|
+
*
|
|
3114
|
+
* @type {ProviderCommunicationTypeInput}
|
|
3115
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
|
|
3116
|
+
*/
|
|
3117
|
+
'communicationType': ProviderCommunicationTypeInput;
|
|
3154
3118
|
}
|
|
3155
3119
|
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum: {
|
|
3156
|
-
readonly
|
|
3120
|
+
readonly RentalProvider: "RENTAL_PROVIDER";
|
|
3157
3121
|
};
|
|
3158
3122
|
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum];
|
|
3159
3123
|
/**
|
|
@@ -3170,33 +3134,56 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
|
|
|
3170
3134
|
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum;
|
|
3171
3135
|
/**
|
|
3172
3136
|
*
|
|
3173
|
-
* @type {string}
|
|
3137
|
+
* @type {Array<string>}
|
|
3174
3138
|
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
|
|
3175
3139
|
*/
|
|
3140
|
+
'mediaUrls'?: Array<string> | null;
|
|
3141
|
+
}
|
|
3142
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum: {
|
|
3143
|
+
readonly Text: "TEXT";
|
|
3144
|
+
};
|
|
3145
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum];
|
|
3146
|
+
/**
|
|
3147
|
+
*
|
|
3148
|
+
* @export
|
|
3149
|
+
* @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3150
|
+
*/
|
|
3151
|
+
interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
|
|
3152
|
+
/**
|
|
3153
|
+
*
|
|
3154
|
+
* @type {string}
|
|
3155
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3156
|
+
*/
|
|
3157
|
+
'messageType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum;
|
|
3158
|
+
/**
|
|
3159
|
+
*
|
|
3160
|
+
* @type {string}
|
|
3161
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3162
|
+
*/
|
|
3176
3163
|
'outboundFromManagedEmailId'?: string | null;
|
|
3177
3164
|
/**
|
|
3178
3165
|
*
|
|
3179
3166
|
* @type {string}
|
|
3180
|
-
* @memberof
|
|
3167
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3181
3168
|
*/
|
|
3182
3169
|
'subject': string;
|
|
3183
3170
|
/**
|
|
3184
3171
|
*
|
|
3185
3172
|
* @type {string}
|
|
3186
|
-
* @memberof
|
|
3173
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3187
3174
|
*/
|
|
3188
3175
|
'htmlBody': string | null;
|
|
3189
3176
|
/**
|
|
3190
3177
|
*
|
|
3191
3178
|
* @type {string}
|
|
3192
|
-
* @memberof
|
|
3179
|
+
* @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
|
|
3193
3180
|
*/
|
|
3194
3181
|
'plainBody': string | null;
|
|
3195
3182
|
}
|
|
3196
|
-
declare const
|
|
3183
|
+
declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum: {
|
|
3197
3184
|
readonly Email: "EMAIL";
|
|
3198
3185
|
};
|
|
3199
|
-
type
|
|
3186
|
+
type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum];
|
|
3200
3187
|
/**
|
|
3201
3188
|
*
|
|
3202
3189
|
* @export
|
|
@@ -3319,32 +3306,44 @@ interface SuggestionApi {
|
|
|
3319
3306
|
* @type {string}
|
|
3320
3307
|
* @memberof SuggestionApi
|
|
3321
3308
|
*/
|
|
3322
|
-
'
|
|
3309
|
+
'suggestionId': string;
|
|
3323
3310
|
/**
|
|
3324
3311
|
*
|
|
3325
3312
|
* @type {string}
|
|
3326
3313
|
* @memberof SuggestionApi
|
|
3327
3314
|
*/
|
|
3328
|
-
'
|
|
3315
|
+
'textSuggestedReply': string;
|
|
3329
3316
|
/**
|
|
3330
3317
|
*
|
|
3331
3318
|
* @type {string}
|
|
3332
3319
|
* @memberof SuggestionApi
|
|
3333
3320
|
*/
|
|
3334
|
-
'
|
|
3321
|
+
'chatSuggestedReply': string;
|
|
3335
3322
|
/**
|
|
3336
3323
|
*
|
|
3337
3324
|
* @type {string}
|
|
3338
3325
|
* @memberof SuggestionApi
|
|
3339
3326
|
*/
|
|
3340
|
-
'
|
|
3327
|
+
'emailSuggestedReply': string;
|
|
3341
3328
|
/**
|
|
3342
3329
|
*
|
|
3343
3330
|
* @type {string}
|
|
3344
3331
|
* @memberof SuggestionApi
|
|
3345
3332
|
*/
|
|
3346
|
-
'
|
|
3333
|
+
'tone': string;
|
|
3347
3334
|
}
|
|
3335
|
+
/**
|
|
3336
|
+
*
|
|
3337
|
+
* @export
|
|
3338
|
+
* @enum {string}
|
|
3339
|
+
*/
|
|
3340
|
+
declare const SuggestionRejectionReasonType: {
|
|
3341
|
+
readonly Irrelevant: "IRRELEVANT";
|
|
3342
|
+
readonly Inaccurate: "INACCURATE";
|
|
3343
|
+
readonly InappropriateTone: "INAPPROPRIATE_TONE";
|
|
3344
|
+
readonly TooVerboseOrTerse: "TOO_VERBOSE_OR_TERSE";
|
|
3345
|
+
};
|
|
3346
|
+
type SuggestionRejectionReasonType = typeof SuggestionRejectionReasonType[keyof typeof SuggestionRejectionReasonType];
|
|
3348
3347
|
/**
|
|
3349
3348
|
*
|
|
3350
3349
|
* @export
|
|
@@ -3352,10 +3351,8 @@ interface SuggestionApi {
|
|
|
3352
3351
|
*/
|
|
3353
3352
|
declare const SuggestionStatus: {
|
|
3354
3353
|
readonly Generating: "GENERATING";
|
|
3355
|
-
readonly SkippedOutdated: "SKIPPED_OUTDATED";
|
|
3356
|
-
readonly SkippedNoEligibleMessages: "SKIPPED_NO_ELIGIBLE_MESSAGES";
|
|
3357
|
-
readonly AnsweredByStaff: "ANSWERED_BY_STAFF";
|
|
3358
3354
|
readonly ReplyGenerated: "REPLY_GENERATED";
|
|
3355
|
+
readonly NoAvailableReply: "NO_AVAILABLE_REPLY";
|
|
3359
3356
|
};
|
|
3360
3357
|
type SuggestionStatus = typeof SuggestionStatus[keyof typeof SuggestionStatus];
|
|
3361
3358
|
/**
|
|
@@ -3413,6 +3410,25 @@ interface ToItemApi {
|
|
|
3413
3410
|
*/
|
|
3414
3411
|
'relatedListings'?: Array<RelatedListingApi>;
|
|
3415
3412
|
}
|
|
3413
|
+
/**
|
|
3414
|
+
*
|
|
3415
|
+
* @export
|
|
3416
|
+
* @interface ToPhoneApi
|
|
3417
|
+
*/
|
|
3418
|
+
interface ToPhoneApi {
|
|
3419
|
+
/**
|
|
3420
|
+
*
|
|
3421
|
+
* @type {string}
|
|
3422
|
+
* @memberof ToPhoneApi
|
|
3423
|
+
*/
|
|
3424
|
+
'phone': string;
|
|
3425
|
+
/**
|
|
3426
|
+
*
|
|
3427
|
+
* @type {string}
|
|
3428
|
+
* @memberof ToPhoneApi
|
|
3429
|
+
*/
|
|
3430
|
+
'contactId'?: string | null;
|
|
3431
|
+
}
|
|
3416
3432
|
/**
|
|
3417
3433
|
*
|
|
3418
3434
|
* @export
|
|
@@ -3526,6 +3542,7 @@ declare const UserDeviceOs: {
|
|
|
3526
3542
|
readonly Android: "ANDROID";
|
|
3527
3543
|
readonly Ios: "IOS";
|
|
3528
3544
|
readonly Macos: "MACOS";
|
|
3545
|
+
readonly Web: "WEB";
|
|
3529
3546
|
};
|
|
3530
3547
|
type UserDeviceOs = typeof UserDeviceOs[keyof typeof UserDeviceOs];
|
|
3531
3548
|
/**
|
|
@@ -4401,38 +4418,6 @@ declare class ContactsApi extends BaseAPI {
|
|
|
4401
4418
|
* @export
|
|
4402
4419
|
*/
|
|
4403
4420
|
declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4404
|
-
/**
|
|
4405
|
-
* Conversations Get
|
|
4406
|
-
* @summary Conversations Get
|
|
4407
|
-
* @param {string} conversationId
|
|
4408
|
-
* @param {*} [options] Override http request option.
|
|
4409
|
-
* @throws {RequiredError}
|
|
4410
|
-
*/
|
|
4411
|
-
conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4412
|
-
/**
|
|
4413
|
-
* List all conversations, must filter by contact_id
|
|
4414
|
-
* @summary Conversations List
|
|
4415
|
-
* @param {string | null} [searchString]
|
|
4416
|
-
* @param {string | null} [contactId]
|
|
4417
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4418
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4419
|
-
* @param {number} [limit]
|
|
4420
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4421
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4422
|
-
* @param {string | null} [inboxId]
|
|
4423
|
-
* @param {*} [options] Override http request option.
|
|
4424
|
-
* @throws {RequiredError}
|
|
4425
|
-
*/
|
|
4426
|
-
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>;
|
|
4427
|
-
/**
|
|
4428
|
-
* Conversations Update
|
|
4429
|
-
* @summary Conversations Update
|
|
4430
|
-
* @param {string} conversationId
|
|
4431
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4432
|
-
* @param {*} [options] Override http request option.
|
|
4433
|
-
* @throws {RequiredError}
|
|
4434
|
-
*/
|
|
4435
|
-
conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4436
4421
|
/**
|
|
4437
4422
|
* Messages Create
|
|
4438
4423
|
* @summary Messages Create
|
|
@@ -4474,38 +4459,6 @@ declare const ConversationsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4474
4459
|
* @export
|
|
4475
4460
|
*/
|
|
4476
4461
|
declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
4477
|
-
/**
|
|
4478
|
-
* Conversations Get
|
|
4479
|
-
* @summary Conversations Get
|
|
4480
|
-
* @param {string} conversationId
|
|
4481
|
-
* @param {*} [options] Override http request option.
|
|
4482
|
-
* @throws {RequiredError}
|
|
4483
|
-
*/
|
|
4484
|
-
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4485
|
-
/**
|
|
4486
|
-
* List all conversations, must filter by contact_id
|
|
4487
|
-
* @summary Conversations List
|
|
4488
|
-
* @param {string | null} [searchString]
|
|
4489
|
-
* @param {string | null} [contactId]
|
|
4490
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4491
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4492
|
-
* @param {number} [limit]
|
|
4493
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4494
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4495
|
-
* @param {string | null} [inboxId]
|
|
4496
|
-
* @param {*} [options] Override http request option.
|
|
4497
|
-
* @throws {RequiredError}
|
|
4498
|
-
*/
|
|
4499
|
-
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>>;
|
|
4500
|
-
/**
|
|
4501
|
-
* Conversations Update
|
|
4502
|
-
* @summary Conversations Update
|
|
4503
|
-
* @param {string} conversationId
|
|
4504
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4505
|
-
* @param {*} [options] Override http request option.
|
|
4506
|
-
* @throws {RequiredError}
|
|
4507
|
-
*/
|
|
4508
|
-
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4509
4462
|
/**
|
|
4510
4463
|
* Messages Create
|
|
4511
4464
|
* @summary Messages Create
|
|
@@ -4547,38 +4500,6 @@ declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
4547
4500
|
* @export
|
|
4548
4501
|
*/
|
|
4549
4502
|
declare const ConversationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4550
|
-
/**
|
|
4551
|
-
* Conversations Get
|
|
4552
|
-
* @summary Conversations Get
|
|
4553
|
-
* @param {string} conversationId
|
|
4554
|
-
* @param {*} [options] Override http request option.
|
|
4555
|
-
* @throws {RequiredError}
|
|
4556
|
-
*/
|
|
4557
|
-
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4558
|
-
/**
|
|
4559
|
-
* List all conversations, must filter by contact_id
|
|
4560
|
-
* @summary Conversations List
|
|
4561
|
-
* @param {string | null} [searchString]
|
|
4562
|
-
* @param {string | null} [contactId]
|
|
4563
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4564
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4565
|
-
* @param {number} [limit]
|
|
4566
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4567
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4568
|
-
* @param {string | null} [inboxId]
|
|
4569
|
-
* @param {*} [options] Override http request option.
|
|
4570
|
-
* @throws {RequiredError}
|
|
4571
|
-
*/
|
|
4572
|
-
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>;
|
|
4573
|
-
/**
|
|
4574
|
-
* Conversations Update
|
|
4575
|
-
* @summary Conversations Update
|
|
4576
|
-
* @param {string} conversationId
|
|
4577
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4578
|
-
* @param {*} [options] Override http request option.
|
|
4579
|
-
* @throws {RequiredError}
|
|
4580
|
-
*/
|
|
4581
|
-
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4582
4503
|
/**
|
|
4583
4504
|
* Messages Create
|
|
4584
4505
|
* @summary Messages Create
|
|
@@ -4622,41 +4543,6 @@ declare const ConversationsApiFactory: (configuration?: Configuration, basePath?
|
|
|
4622
4543
|
* @extends {BaseAPI}
|
|
4623
4544
|
*/
|
|
4624
4545
|
declare class ConversationsApi extends BaseAPI {
|
|
4625
|
-
/**
|
|
4626
|
-
* Conversations Get
|
|
4627
|
-
* @summary Conversations Get
|
|
4628
|
-
* @param {string} conversationId
|
|
4629
|
-
* @param {*} [options] Override http request option.
|
|
4630
|
-
* @throws {RequiredError}
|
|
4631
|
-
* @memberof ConversationsApi
|
|
4632
|
-
*/
|
|
4633
|
-
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4634
|
-
/**
|
|
4635
|
-
* List all conversations, must filter by contact_id
|
|
4636
|
-
* @summary Conversations List
|
|
4637
|
-
* @param {string | null} [searchString]
|
|
4638
|
-
* @param {string | null} [contactId]
|
|
4639
|
-
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4640
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4641
|
-
* @param {number} [limit]
|
|
4642
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4643
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4644
|
-
* @param {string | null} [inboxId]
|
|
4645
|
-
* @param {*} [options] Override http request option.
|
|
4646
|
-
* @throws {RequiredError}
|
|
4647
|
-
* @memberof ConversationsApi
|
|
4648
|
-
*/
|
|
4649
|
-
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>>;
|
|
4650
|
-
/**
|
|
4651
|
-
* Conversations Update
|
|
4652
|
-
* @summary Conversations Update
|
|
4653
|
-
* @param {string} conversationId
|
|
4654
|
-
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4655
|
-
* @param {*} [options] Override http request option.
|
|
4656
|
-
* @throws {RequiredError}
|
|
4657
|
-
* @memberof ConversationsApi
|
|
4658
|
-
*/
|
|
4659
|
-
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4660
4546
|
/**
|
|
4661
4547
|
* Messages Create
|
|
4662
4548
|
* @summary Messages Create
|
|
@@ -4760,6 +4646,47 @@ declare class HostawayApi extends BaseAPI {
|
|
|
4760
4646
|
* @export
|
|
4761
4647
|
*/
|
|
4762
4648
|
declare const InboxesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4649
|
+
/**
|
|
4650
|
+
* Conversations Create
|
|
4651
|
+
* @summary Conversations Create
|
|
4652
|
+
* @param {string} inboxId
|
|
4653
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4654
|
+
* @param {*} [options] Override http request option.
|
|
4655
|
+
* @throws {RequiredError}
|
|
4656
|
+
*/
|
|
4657
|
+
conversationsCreate: (inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4658
|
+
/**
|
|
4659
|
+
* Conversations Get
|
|
4660
|
+
* @summary Conversations Get
|
|
4661
|
+
* @param {string} conversationId
|
|
4662
|
+
* @param {*} [options] Override http request option.
|
|
4663
|
+
* @throws {RequiredError}
|
|
4664
|
+
*/
|
|
4665
|
+
conversationsGet: (conversationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4666
|
+
/**
|
|
4667
|
+
* List all conversations, must filter by contact_id
|
|
4668
|
+
* @summary Conversations List
|
|
4669
|
+
* @param {string | null} [searchString]
|
|
4670
|
+
* @param {string | null} [contactId]
|
|
4671
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4672
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4673
|
+
* @param {number} [limit]
|
|
4674
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4675
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4676
|
+
* @param {string | null} [inboxId]
|
|
4677
|
+
* @param {*} [options] Override http request option.
|
|
4678
|
+
* @throws {RequiredError}
|
|
4679
|
+
*/
|
|
4680
|
+
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>;
|
|
4681
|
+
/**
|
|
4682
|
+
* Conversations Update
|
|
4683
|
+
* @summary Conversations Update
|
|
4684
|
+
* @param {string} conversationId
|
|
4685
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4686
|
+
* @param {*} [options] Override http request option.
|
|
4687
|
+
* @throws {RequiredError}
|
|
4688
|
+
*/
|
|
4689
|
+
conversationsUpdate: (conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4763
4690
|
/**
|
|
4764
4691
|
* Inboxes List
|
|
4765
4692
|
* @summary Inboxes List
|
|
@@ -4773,6 +4700,47 @@ declare const InboxesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
4773
4700
|
* @export
|
|
4774
4701
|
*/
|
|
4775
4702
|
declare const InboxesApiFp: (configuration?: Configuration) => {
|
|
4703
|
+
/**
|
|
4704
|
+
* Conversations Create
|
|
4705
|
+
* @summary Conversations Create
|
|
4706
|
+
* @param {string} inboxId
|
|
4707
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4708
|
+
* @param {*} [options] Override http request option.
|
|
4709
|
+
* @throws {RequiredError}
|
|
4710
|
+
*/
|
|
4711
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4712
|
+
/**
|
|
4713
|
+
* Conversations Get
|
|
4714
|
+
* @summary Conversations Get
|
|
4715
|
+
* @param {string} conversationId
|
|
4716
|
+
* @param {*} [options] Override http request option.
|
|
4717
|
+
* @throws {RequiredError}
|
|
4718
|
+
*/
|
|
4719
|
+
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4720
|
+
/**
|
|
4721
|
+
* List all conversations, must filter by contact_id
|
|
4722
|
+
* @summary Conversations List
|
|
4723
|
+
* @param {string | null} [searchString]
|
|
4724
|
+
* @param {string | null} [contactId]
|
|
4725
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4726
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4727
|
+
* @param {number} [limit]
|
|
4728
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4729
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4730
|
+
* @param {string | null} [inboxId]
|
|
4731
|
+
* @param {*} [options] Override http request option.
|
|
4732
|
+
* @throws {RequiredError}
|
|
4733
|
+
*/
|
|
4734
|
+
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>>;
|
|
4735
|
+
/**
|
|
4736
|
+
* Conversations Update
|
|
4737
|
+
* @summary Conversations Update
|
|
4738
|
+
* @param {string} conversationId
|
|
4739
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4740
|
+
* @param {*} [options] Override http request option.
|
|
4741
|
+
* @throws {RequiredError}
|
|
4742
|
+
*/
|
|
4743
|
+
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
4776
4744
|
/**
|
|
4777
4745
|
* Inboxes List
|
|
4778
4746
|
* @summary Inboxes List
|
|
@@ -4786,6 +4754,47 @@ declare const InboxesApiFp: (configuration?: Configuration) => {
|
|
|
4786
4754
|
* @export
|
|
4787
4755
|
*/
|
|
4788
4756
|
declare const InboxesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4757
|
+
/**
|
|
4758
|
+
* Conversations Create
|
|
4759
|
+
* @summary Conversations Create
|
|
4760
|
+
* @param {string} inboxId
|
|
4761
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4762
|
+
* @param {*} [options] Override http request option.
|
|
4763
|
+
* @throws {RequiredError}
|
|
4764
|
+
*/
|
|
4765
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4766
|
+
/**
|
|
4767
|
+
* Conversations Get
|
|
4768
|
+
* @summary Conversations Get
|
|
4769
|
+
* @param {string} conversationId
|
|
4770
|
+
* @param {*} [options] Override http request option.
|
|
4771
|
+
* @throws {RequiredError}
|
|
4772
|
+
*/
|
|
4773
|
+
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4774
|
+
/**
|
|
4775
|
+
* List all conversations, must filter by contact_id
|
|
4776
|
+
* @summary Conversations List
|
|
4777
|
+
* @param {string | null} [searchString]
|
|
4778
|
+
* @param {string | null} [contactId]
|
|
4779
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4780
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4781
|
+
* @param {number} [limit]
|
|
4782
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4783
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4784
|
+
* @param {string | null} [inboxId]
|
|
4785
|
+
* @param {*} [options] Override http request option.
|
|
4786
|
+
* @throws {RequiredError}
|
|
4787
|
+
*/
|
|
4788
|
+
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>;
|
|
4789
|
+
/**
|
|
4790
|
+
* Conversations Update
|
|
4791
|
+
* @summary Conversations Update
|
|
4792
|
+
* @param {string} conversationId
|
|
4793
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4794
|
+
* @param {*} [options] Override http request option.
|
|
4795
|
+
* @throws {RequiredError}
|
|
4796
|
+
*/
|
|
4797
|
+
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
4789
4798
|
/**
|
|
4790
4799
|
* Inboxes List
|
|
4791
4800
|
* @summary Inboxes List
|
|
@@ -4801,6 +4810,51 @@ declare const InboxesApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
4801
4810
|
* @extends {BaseAPI}
|
|
4802
4811
|
*/
|
|
4803
4812
|
declare class InboxesApi extends BaseAPI {
|
|
4813
|
+
/**
|
|
4814
|
+
* Conversations Create
|
|
4815
|
+
* @summary Conversations Create
|
|
4816
|
+
* @param {string} inboxId
|
|
4817
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4818
|
+
* @param {*} [options] Override http request option.
|
|
4819
|
+
* @throws {RequiredError}
|
|
4820
|
+
* @memberof InboxesApi
|
|
4821
|
+
*/
|
|
4822
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4823
|
+
/**
|
|
4824
|
+
* Conversations Get
|
|
4825
|
+
* @summary Conversations Get
|
|
4826
|
+
* @param {string} conversationId
|
|
4827
|
+
* @param {*} [options] Override http request option.
|
|
4828
|
+
* @throws {RequiredError}
|
|
4829
|
+
* @memberof InboxesApi
|
|
4830
|
+
*/
|
|
4831
|
+
conversationsGet(conversationId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4832
|
+
/**
|
|
4833
|
+
* List all conversations, must filter by contact_id
|
|
4834
|
+
* @summary Conversations List
|
|
4835
|
+
* @param {string | null} [searchString]
|
|
4836
|
+
* @param {string | null} [contactId]
|
|
4837
|
+
* @param {Array<ConversationStatus> | null} [status] Filter conversations by status
|
|
4838
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4839
|
+
* @param {number} [limit]
|
|
4840
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
4841
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
4842
|
+
* @param {string | null} [inboxId]
|
|
4843
|
+
* @param {*} [options] Override http request option.
|
|
4844
|
+
* @throws {RequiredError}
|
|
4845
|
+
* @memberof InboxesApi
|
|
4846
|
+
*/
|
|
4847
|
+
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>>;
|
|
4848
|
+
/**
|
|
4849
|
+
* Conversations Update
|
|
4850
|
+
* @summary Conversations Update
|
|
4851
|
+
* @param {string} conversationId
|
|
4852
|
+
* @param {APIConversationUpdate} aPIConversationUpdate
|
|
4853
|
+
* @param {*} [options] Override http request option.
|
|
4854
|
+
* @throws {RequiredError}
|
|
4855
|
+
* @memberof InboxesApi
|
|
4856
|
+
*/
|
|
4857
|
+
conversationsUpdate(conversationId: string, aPIConversationUpdate: APIConversationUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
4804
4858
|
/**
|
|
4805
4859
|
* Inboxes List
|
|
4806
4860
|
* @summary Inboxes List
|
|
@@ -5314,6 +5368,73 @@ declare class ReservationsApi extends BaseAPI {
|
|
|
5314
5368
|
*/
|
|
5315
5369
|
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>>;
|
|
5316
5370
|
}
|
|
5371
|
+
/**
|
|
5372
|
+
* TelnyxApi - axios parameter creator
|
|
5373
|
+
* @export
|
|
5374
|
+
*/
|
|
5375
|
+
declare const TelnyxApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5376
|
+
/**
|
|
5377
|
+
*
|
|
5378
|
+
* @summary Telnyx Webhook
|
|
5379
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5380
|
+
* @param {*} [options] Override http request option.
|
|
5381
|
+
* @throws {RequiredError}
|
|
5382
|
+
*/
|
|
5383
|
+
telnyxWebhookTelnyxWebhooksPost: (requestBody: {
|
|
5384
|
+
[key: string]: any;
|
|
5385
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5386
|
+
};
|
|
5387
|
+
/**
|
|
5388
|
+
* TelnyxApi - functional programming interface
|
|
5389
|
+
* @export
|
|
5390
|
+
*/
|
|
5391
|
+
declare const TelnyxApiFp: (configuration?: Configuration) => {
|
|
5392
|
+
/**
|
|
5393
|
+
*
|
|
5394
|
+
* @summary Telnyx Webhook
|
|
5395
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5396
|
+
* @param {*} [options] Override http request option.
|
|
5397
|
+
* @throws {RequiredError}
|
|
5398
|
+
*/
|
|
5399
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody: {
|
|
5400
|
+
[key: string]: any;
|
|
5401
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
5402
|
+
};
|
|
5403
|
+
/**
|
|
5404
|
+
* TelnyxApi - factory interface
|
|
5405
|
+
* @export
|
|
5406
|
+
*/
|
|
5407
|
+
declare const TelnyxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5408
|
+
/**
|
|
5409
|
+
*
|
|
5410
|
+
* @summary Telnyx Webhook
|
|
5411
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5412
|
+
* @param {*} [options] Override http request option.
|
|
5413
|
+
* @throws {RequiredError}
|
|
5414
|
+
*/
|
|
5415
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody: {
|
|
5416
|
+
[key: string]: any;
|
|
5417
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
5418
|
+
};
|
|
5419
|
+
/**
|
|
5420
|
+
* TelnyxApi - object-oriented interface
|
|
5421
|
+
* @export
|
|
5422
|
+
* @class TelnyxApi
|
|
5423
|
+
* @extends {BaseAPI}
|
|
5424
|
+
*/
|
|
5425
|
+
declare class TelnyxApi extends BaseAPI {
|
|
5426
|
+
/**
|
|
5427
|
+
*
|
|
5428
|
+
* @summary Telnyx Webhook
|
|
5429
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
5430
|
+
* @param {*} [options] Override http request option.
|
|
5431
|
+
* @throws {RequiredError}
|
|
5432
|
+
* @memberof TelnyxApi
|
|
5433
|
+
*/
|
|
5434
|
+
telnyxWebhookTelnyxWebhooksPost(requestBody: {
|
|
5435
|
+
[key: string]: any;
|
|
5436
|
+
}, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
5437
|
+
}
|
|
5317
5438
|
/**
|
|
5318
5439
|
* UnboundApi - axios parameter creator
|
|
5319
5440
|
* @export
|
|
@@ -5436,6 +5557,15 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
5436
5557
|
* @throws {RequiredError}
|
|
5437
5558
|
*/
|
|
5438
5559
|
contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5560
|
+
/**
|
|
5561
|
+
* Conversations Create
|
|
5562
|
+
* @summary Conversations Create
|
|
5563
|
+
* @param {string} inboxId
|
|
5564
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
5565
|
+
* @param {*} [options] Override http request option.
|
|
5566
|
+
* @throws {RequiredError}
|
|
5567
|
+
*/
|
|
5568
|
+
conversationsCreate: (inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5439
5569
|
/**
|
|
5440
5570
|
* Conversations Get
|
|
5441
5571
|
* @summary Conversations Get
|
|
@@ -5823,6 +5953,15 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
5823
5953
|
* @throws {RequiredError}
|
|
5824
5954
|
*/
|
|
5825
5955
|
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5956
|
+
/**
|
|
5957
|
+
* Conversations Create
|
|
5958
|
+
* @summary Conversations Create
|
|
5959
|
+
* @param {string} inboxId
|
|
5960
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
5961
|
+
* @param {*} [options] Override http request option.
|
|
5962
|
+
* @throws {RequiredError}
|
|
5963
|
+
*/
|
|
5964
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConversation>>;
|
|
5826
5965
|
/**
|
|
5827
5966
|
* Conversations Get
|
|
5828
5967
|
* @summary Conversations Get
|
|
@@ -6210,6 +6349,15 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
6210
6349
|
* @throws {RequiredError}
|
|
6211
6350
|
*/
|
|
6212
6351
|
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6352
|
+
/**
|
|
6353
|
+
* Conversations Create
|
|
6354
|
+
* @summary Conversations Create
|
|
6355
|
+
* @param {string} inboxId
|
|
6356
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
6357
|
+
* @param {*} [options] Override http request option.
|
|
6358
|
+
* @throws {RequiredError}
|
|
6359
|
+
*/
|
|
6360
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): AxiosPromise<APIConversation>;
|
|
6213
6361
|
/**
|
|
6214
6362
|
* Conversations Get
|
|
6215
6363
|
* @summary Conversations Get
|
|
@@ -6612,6 +6760,16 @@ declare class UnboundApi extends BaseAPI {
|
|
|
6612
6760
|
* @memberof UnboundApi
|
|
6613
6761
|
*/
|
|
6614
6762
|
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
6763
|
+
/**
|
|
6764
|
+
* Conversations Create
|
|
6765
|
+
* @summary Conversations Create
|
|
6766
|
+
* @param {string} inboxId
|
|
6767
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
6768
|
+
* @param {*} [options] Override http request option.
|
|
6769
|
+
* @throws {RequiredError}
|
|
6770
|
+
* @memberof UnboundApi
|
|
6771
|
+
*/
|
|
6772
|
+
conversationsCreate(inboxId: string, aPIConversationCreate: APIConversationCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIConversation, any>>;
|
|
6615
6773
|
/**
|
|
6616
6774
|
* Conversations Get
|
|
6617
6775
|
* @summary Conversations Get
|
|
@@ -6999,4 +7157,4 @@ declare class UserDevicesApi extends BaseAPI {
|
|
|
6999
7157
|
userDevicesDelete(userDeviceId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
7000
7158
|
}
|
|
7001
7159
|
|
|
7002
|
-
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
|
|
7160
|
+
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 SMSMessageApi, SMSMessageApiMessageTypeEnum, 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 };
|