@ember-home/unbound-ts-client 0.0.23 → 0.0.25

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.mjs CHANGED
@@ -101,6 +101,12 @@ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum =
101
101
  var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = {
102
102
  Email: "EMAIL"
103
103
  };
104
+ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = {
105
+ Twilio: "TWILIO"
106
+ };
107
+ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
108
+ Email: "EMAIL"
109
+ };
104
110
  var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
105
111
  Twilio: "TWILIO"
106
112
  };
@@ -591,7 +597,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
591
597
  /**
592
598
  *
593
599
  * @summary Contacts List
594
- * @param {string} [searchString]
600
+ * @param {string | null} [searchString]
595
601
  * @param {string | null} [cursor] Cursor for keyset paging
596
602
  * @param {number} [limit]
597
603
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -945,7 +951,7 @@ var ContactsApiFp = function(configuration) {
945
951
  /**
946
952
  *
947
953
  * @summary Contacts List
948
- * @param {string} [searchString]
954
+ * @param {string | null} [searchString]
949
955
  * @param {string | null} [cursor] Cursor for keyset paging
950
956
  * @param {number} [limit]
951
957
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -1140,7 +1146,7 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
1140
1146
  /**
1141
1147
  *
1142
1148
  * @summary Contacts List
1143
- * @param {string} [searchString]
1149
+ * @param {string | null} [searchString]
1144
1150
  * @param {string | null} [cursor] Cursor for keyset paging
1145
1151
  * @param {number} [limit]
1146
1152
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -1316,7 +1322,7 @@ var ContactsApi = class extends BaseAPI {
1316
1322
  /**
1317
1323
  *
1318
1324
  * @summary Contacts List
1319
- * @param {string} [searchString]
1325
+ * @param {string | null} [searchString]
1320
1326
  * @param {string | null} [cursor] Cursor for keyset paging
1321
1327
  * @param {number} [limit]
1322
1328
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -2130,6 +2136,206 @@ var ManagedPhoneNumbersApi = class extends BaseAPI {
2130
2136
  return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
2131
2137
  }
2132
2138
  };
2139
+ var MessagesApiAxiosParamCreator = function(configuration) {
2140
+ return {
2141
+ /**
2142
+ *
2143
+ * @summary Messages Create
2144
+ * @param {MessageCreate} messageCreate
2145
+ * @param {*} [options] Override http request option.
2146
+ * @throws {RequiredError}
2147
+ */
2148
+ messagesCreate: async (messageCreate, options = {}) => {
2149
+ assertParamExists("messagesCreate", "messageCreate", messageCreate);
2150
+ const localVarPath = `/messages`;
2151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2152
+ let baseOptions;
2153
+ if (configuration) {
2154
+ baseOptions = configuration.baseOptions;
2155
+ }
2156
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2157
+ const localVarHeaderParameter = {};
2158
+ const localVarQueryParameter = {};
2159
+ localVarHeaderParameter["Content-Type"] = "application/json";
2160
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2161
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2162
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2163
+ localVarRequestOptions.data = serializeDataIfNeeded(messageCreate, localVarRequestOptions, configuration);
2164
+ return {
2165
+ url: toPathString(localVarUrlObj),
2166
+ options: localVarRequestOptions
2167
+ };
2168
+ },
2169
+ /**
2170
+ *
2171
+ * @summary Messages Get
2172
+ * @param {string} messageId
2173
+ * @param {*} [options] Override http request option.
2174
+ * @throws {RequiredError}
2175
+ */
2176
+ messagesGet: async (messageId, options = {}) => {
2177
+ assertParamExists("messagesGet", "messageId", messageId);
2178
+ const localVarPath = `/messages/{messageId}`.replace(`{${"messageId"}}`, encodeURIComponent(String(messageId)));
2179
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2180
+ let baseOptions;
2181
+ if (configuration) {
2182
+ baseOptions = configuration.baseOptions;
2183
+ }
2184
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2185
+ const localVarHeaderParameter = {};
2186
+ const localVarQueryParameter = {};
2187
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2188
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2189
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2190
+ return {
2191
+ url: toPathString(localVarUrlObj),
2192
+ options: localVarRequestOptions
2193
+ };
2194
+ },
2195
+ /**
2196
+ *
2197
+ * @summary Messages List
2198
+ * @param {string} [conversationId]
2199
+ * @param {*} [options] Override http request option.
2200
+ * @throws {RequiredError}
2201
+ */
2202
+ messagesList: async (conversationId, options = {}) => {
2203
+ const localVarPath = `/messages`;
2204
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2205
+ let baseOptions;
2206
+ if (configuration) {
2207
+ baseOptions = configuration.baseOptions;
2208
+ }
2209
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2210
+ const localVarHeaderParameter = {};
2211
+ const localVarQueryParameter = {};
2212
+ if (conversationId !== void 0) {
2213
+ localVarQueryParameter["conversationId"] = conversationId;
2214
+ }
2215
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2216
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2217
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2218
+ return {
2219
+ url: toPathString(localVarUrlObj),
2220
+ options: localVarRequestOptions
2221
+ };
2222
+ }
2223
+ };
2224
+ };
2225
+ var MessagesApiFp = function(configuration) {
2226
+ const localVarAxiosParamCreator = MessagesApiAxiosParamCreator(configuration);
2227
+ return {
2228
+ /**
2229
+ *
2230
+ * @summary Messages Create
2231
+ * @param {MessageCreate} messageCreate
2232
+ * @param {*} [options] Override http request option.
2233
+ * @throws {RequiredError}
2234
+ */
2235
+ async messagesCreate(messageCreate, options) {
2236
+ const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(messageCreate, options);
2237
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2238
+ const localVarOperationServerBasePath = operationServerMap["MessagesApi.messagesCreate"]?.[localVarOperationServerIndex]?.url;
2239
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2240
+ },
2241
+ /**
2242
+ *
2243
+ * @summary Messages Get
2244
+ * @param {string} messageId
2245
+ * @param {*} [options] Override http request option.
2246
+ * @throws {RequiredError}
2247
+ */
2248
+ async messagesGet(messageId, options) {
2249
+ const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
2250
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2251
+ const localVarOperationServerBasePath = operationServerMap["MessagesApi.messagesGet"]?.[localVarOperationServerIndex]?.url;
2252
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2253
+ },
2254
+ /**
2255
+ *
2256
+ * @summary Messages List
2257
+ * @param {string} [conversationId]
2258
+ * @param {*} [options] Override http request option.
2259
+ * @throws {RequiredError}
2260
+ */
2261
+ async messagesList(conversationId, options) {
2262
+ const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, options);
2263
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2264
+ const localVarOperationServerBasePath = operationServerMap["MessagesApi.messagesList"]?.[localVarOperationServerIndex]?.url;
2265
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2266
+ }
2267
+ };
2268
+ };
2269
+ var MessagesApiFactory = function(configuration, basePath, axios) {
2270
+ const localVarFp = MessagesApiFp(configuration);
2271
+ return {
2272
+ /**
2273
+ *
2274
+ * @summary Messages Create
2275
+ * @param {MessageCreate} messageCreate
2276
+ * @param {*} [options] Override http request option.
2277
+ * @throws {RequiredError}
2278
+ */
2279
+ messagesCreate(messageCreate, options) {
2280
+ return localVarFp.messagesCreate(messageCreate, options).then((request) => request(axios, basePath));
2281
+ },
2282
+ /**
2283
+ *
2284
+ * @summary Messages Get
2285
+ * @param {string} messageId
2286
+ * @param {*} [options] Override http request option.
2287
+ * @throws {RequiredError}
2288
+ */
2289
+ messagesGet(messageId, options) {
2290
+ return localVarFp.messagesGet(messageId, options).then((request) => request(axios, basePath));
2291
+ },
2292
+ /**
2293
+ *
2294
+ * @summary Messages List
2295
+ * @param {string} [conversationId]
2296
+ * @param {*} [options] Override http request option.
2297
+ * @throws {RequiredError}
2298
+ */
2299
+ messagesList(conversationId, options) {
2300
+ return localVarFp.messagesList(conversationId, options).then((request) => request(axios, basePath));
2301
+ }
2302
+ };
2303
+ };
2304
+ var MessagesApi = class extends BaseAPI {
2305
+ /**
2306
+ *
2307
+ * @summary Messages Create
2308
+ * @param {MessageCreate} messageCreate
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ * @memberof MessagesApi
2312
+ */
2313
+ messagesCreate(messageCreate, options) {
2314
+ return MessagesApiFp(this.configuration).messagesCreate(messageCreate, options).then((request) => request(this.axios, this.basePath));
2315
+ }
2316
+ /**
2317
+ *
2318
+ * @summary Messages Get
2319
+ * @param {string} messageId
2320
+ * @param {*} [options] Override http request option.
2321
+ * @throws {RequiredError}
2322
+ * @memberof MessagesApi
2323
+ */
2324
+ messagesGet(messageId, options) {
2325
+ return MessagesApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
2326
+ }
2327
+ /**
2328
+ *
2329
+ * @summary Messages List
2330
+ * @param {string} [conversationId]
2331
+ * @param {*} [options] Override http request option.
2332
+ * @throws {RequiredError}
2333
+ * @memberof MessagesApi
2334
+ */
2335
+ messagesList(conversationId, options) {
2336
+ return MessagesApiFp(this.configuration).messagesList(conversationId, options).then((request) => request(this.axios, this.basePath));
2337
+ }
2338
+ };
2133
2339
  var PhoneNumbersApiAxiosParamCreator = function(configuration) {
2134
2340
  return {
2135
2341
  /**
@@ -2578,7 +2784,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
2578
2784
  /**
2579
2785
  *
2580
2786
  * @summary Contacts List
2581
- * @param {string} [searchString]
2787
+ * @param {string | null} [searchString]
2582
2788
  * @param {string | null} [cursor] Cursor for keyset paging
2583
2789
  * @param {number} [limit]
2584
2790
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -2965,6 +3171,88 @@ var UnboundApiAxiosParamCreator = function(configuration) {
2965
3171
  options: localVarRequestOptions
2966
3172
  };
2967
3173
  },
3174
+ /**
3175
+ *
3176
+ * @summary Messages Create
3177
+ * @param {MessageCreate} messageCreate
3178
+ * @param {*} [options] Override http request option.
3179
+ * @throws {RequiredError}
3180
+ */
3181
+ messagesCreate: async (messageCreate, options = {}) => {
3182
+ assertParamExists("messagesCreate", "messageCreate", messageCreate);
3183
+ const localVarPath = `/messages`;
3184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3185
+ let baseOptions;
3186
+ if (configuration) {
3187
+ baseOptions = configuration.baseOptions;
3188
+ }
3189
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
3190
+ const localVarHeaderParameter = {};
3191
+ const localVarQueryParameter = {};
3192
+ localVarHeaderParameter["Content-Type"] = "application/json";
3193
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3194
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3195
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3196
+ localVarRequestOptions.data = serializeDataIfNeeded(messageCreate, localVarRequestOptions, configuration);
3197
+ return {
3198
+ url: toPathString(localVarUrlObj),
3199
+ options: localVarRequestOptions
3200
+ };
3201
+ },
3202
+ /**
3203
+ *
3204
+ * @summary Messages Get
3205
+ * @param {string} messageId
3206
+ * @param {*} [options] Override http request option.
3207
+ * @throws {RequiredError}
3208
+ */
3209
+ messagesGet: async (messageId, options = {}) => {
3210
+ assertParamExists("messagesGet", "messageId", messageId);
3211
+ const localVarPath = `/messages/{messageId}`.replace(`{${"messageId"}}`, encodeURIComponent(String(messageId)));
3212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3213
+ let baseOptions;
3214
+ if (configuration) {
3215
+ baseOptions = configuration.baseOptions;
3216
+ }
3217
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3218
+ const localVarHeaderParameter = {};
3219
+ const localVarQueryParameter = {};
3220
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3222
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3223
+ return {
3224
+ url: toPathString(localVarUrlObj),
3225
+ options: localVarRequestOptions
3226
+ };
3227
+ },
3228
+ /**
3229
+ *
3230
+ * @summary Messages List
3231
+ * @param {string} [conversationId]
3232
+ * @param {*} [options] Override http request option.
3233
+ * @throws {RequiredError}
3234
+ */
3235
+ messagesList: async (conversationId, options = {}) => {
3236
+ const localVarPath = `/messages`;
3237
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3238
+ let baseOptions;
3239
+ if (configuration) {
3240
+ baseOptions = configuration.baseOptions;
3241
+ }
3242
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3243
+ const localVarHeaderParameter = {};
3244
+ const localVarQueryParameter = {};
3245
+ if (conversationId !== void 0) {
3246
+ localVarQueryParameter["conversationId"] = conversationId;
3247
+ }
3248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3250
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3251
+ return {
3252
+ url: toPathString(localVarUrlObj),
3253
+ options: localVarRequestOptions
3254
+ };
3255
+ },
2968
3256
  /**
2969
3257
  *
2970
3258
  * @summary Phone_numbers Create
@@ -3193,7 +3481,7 @@ var UnboundApiFp = function(configuration) {
3193
3481
  /**
3194
3482
  *
3195
3483
  * @summary Contacts List
3196
- * @param {string} [searchString]
3484
+ * @param {string | null} [searchString]
3197
3485
  * @param {string | null} [cursor] Cursor for keyset paging
3198
3486
  * @param {number} [limit]
3199
3487
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -3370,6 +3658,45 @@ var UnboundApiFp = function(configuration) {
3370
3658
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.managedPhoneNumbersList"]?.[localVarOperationServerIndex]?.url;
3371
3659
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3372
3660
  },
3661
+ /**
3662
+ *
3663
+ * @summary Messages Create
3664
+ * @param {MessageCreate} messageCreate
3665
+ * @param {*} [options] Override http request option.
3666
+ * @throws {RequiredError}
3667
+ */
3668
+ async messagesCreate(messageCreate, options) {
3669
+ const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(messageCreate, options);
3670
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3671
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.messagesCreate"]?.[localVarOperationServerIndex]?.url;
3672
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3673
+ },
3674
+ /**
3675
+ *
3676
+ * @summary Messages Get
3677
+ * @param {string} messageId
3678
+ * @param {*} [options] Override http request option.
3679
+ * @throws {RequiredError}
3680
+ */
3681
+ async messagesGet(messageId, options) {
3682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
3683
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3684
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.messagesGet"]?.[localVarOperationServerIndex]?.url;
3685
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3686
+ },
3687
+ /**
3688
+ *
3689
+ * @summary Messages List
3690
+ * @param {string} [conversationId]
3691
+ * @param {*} [options] Override http request option.
3692
+ * @throws {RequiredError}
3693
+ */
3694
+ async messagesList(conversationId, options) {
3695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, options);
3696
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3697
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.messagesList"]?.[localVarOperationServerIndex]?.url;
3698
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3699
+ },
3373
3700
  /**
3374
3701
  *
3375
3702
  * @summary Phone_numbers Create
@@ -3514,7 +3841,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
3514
3841
  /**
3515
3842
  *
3516
3843
  * @summary Contacts List
3517
- * @param {string} [searchString]
3844
+ * @param {string | null} [searchString]
3518
3845
  * @param {string | null} [cursor] Cursor for keyset paging
3519
3846
  * @param {number} [limit]
3520
3847
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -3652,6 +3979,36 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
3652
3979
  managedPhoneNumbersList(options) {
3653
3980
  return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
3654
3981
  },
3982
+ /**
3983
+ *
3984
+ * @summary Messages Create
3985
+ * @param {MessageCreate} messageCreate
3986
+ * @param {*} [options] Override http request option.
3987
+ * @throws {RequiredError}
3988
+ */
3989
+ messagesCreate(messageCreate, options) {
3990
+ return localVarFp.messagesCreate(messageCreate, options).then((request) => request(axios, basePath));
3991
+ },
3992
+ /**
3993
+ *
3994
+ * @summary Messages Get
3995
+ * @param {string} messageId
3996
+ * @param {*} [options] Override http request option.
3997
+ * @throws {RequiredError}
3998
+ */
3999
+ messagesGet(messageId, options) {
4000
+ return localVarFp.messagesGet(messageId, options).then((request) => request(axios, basePath));
4001
+ },
4002
+ /**
4003
+ *
4004
+ * @summary Messages List
4005
+ * @param {string} [conversationId]
4006
+ * @param {*} [options] Override http request option.
4007
+ * @throws {RequiredError}
4008
+ */
4009
+ messagesList(conversationId, options) {
4010
+ return localVarFp.messagesList(conversationId, options).then((request) => request(axios, basePath));
4011
+ },
3655
4012
  /**
3656
4013
  *
3657
4014
  * @summary Phone_numbers Create
@@ -3790,7 +4147,7 @@ var UnboundApi = class extends BaseAPI {
3790
4147
  /**
3791
4148
  *
3792
4149
  * @summary Contacts List
3793
- * @param {string} [searchString]
4150
+ * @param {string | null} [searchString]
3794
4151
  * @param {string | null} [cursor] Cursor for keyset paging
3795
4152
  * @param {number} [limit]
3796
4153
  * @param {PaginationDirection} [pageDir] Direction of paging
@@ -3941,6 +4298,39 @@ var UnboundApi = class extends BaseAPI {
3941
4298
  managedPhoneNumbersList(options) {
3942
4299
  return UnboundApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
3943
4300
  }
4301
+ /**
4302
+ *
4303
+ * @summary Messages Create
4304
+ * @param {MessageCreate} messageCreate
4305
+ * @param {*} [options] Override http request option.
4306
+ * @throws {RequiredError}
4307
+ * @memberof UnboundApi
4308
+ */
4309
+ messagesCreate(messageCreate, options) {
4310
+ return UnboundApiFp(this.configuration).messagesCreate(messageCreate, options).then((request) => request(this.axios, this.basePath));
4311
+ }
4312
+ /**
4313
+ *
4314
+ * @summary Messages Get
4315
+ * @param {string} messageId
4316
+ * @param {*} [options] Override http request option.
4317
+ * @throws {RequiredError}
4318
+ * @memberof UnboundApi
4319
+ */
4320
+ messagesGet(messageId, options) {
4321
+ return UnboundApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
4322
+ }
4323
+ /**
4324
+ *
4325
+ * @summary Messages List
4326
+ * @param {string} [conversationId]
4327
+ * @param {*} [options] Override http request option.
4328
+ * @throws {RequiredError}
4329
+ * @memberof UnboundApi
4330
+ */
4331
+ messagesList(conversationId, options) {
4332
+ return UnboundApiFp(this.configuration).messagesList(conversationId, options).then((request) => request(this.axios, this.basePath));
4333
+ }
3944
4334
  /**
3945
4335
  *
3946
4336
  * @summary Phone_numbers Create
@@ -4117,6 +4507,10 @@ export {
4117
4507
  ManagedPhoneNumbersApiAxiosParamCreator,
4118
4508
  ManagedPhoneNumbersApiFactory,
4119
4509
  ManagedPhoneNumbersApiFp,
4510
+ MessagesApi,
4511
+ MessagesApiAxiosParamCreator,
4512
+ MessagesApiFactory,
4513
+ MessagesApiFp,
4120
4514
  PaginationDirection,
4121
4515
  PhoneNumbersApi,
4122
4516
  PhoneNumbersApiAxiosParamCreator,
@@ -4129,6 +4523,8 @@ export {
4129
4523
  SortOrder,
4130
4524
  SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum,
4131
4525
  SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum,
4526
+ SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum,
4527
+ SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum,
4132
4528
  SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum,
4133
4529
  SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum,
4134
4530
  UnboundApi,