@ember-home/unbound-ts-client 0.0.36 → 0.0.37

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
@@ -140,16 +140,16 @@ var SrcResourceModelsContactsModelContactsModelContactSortBy = {
140
140
  var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
141
141
  UpdatedAt: "updated_at"
142
142
  };
143
- var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = {
143
+ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = {
144
144
  Twilio: "TWILIO"
145
145
  };
146
- var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
146
+ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = {
147
147
  Email: "EMAIL"
148
148
  };
149
- var SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = {
149
+ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = {
150
150
  Twilio: "TWILIO"
151
151
  };
152
- var SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = {
152
+ var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
153
153
  Email: "EMAIL"
154
154
  };
155
155
  var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
@@ -645,6 +645,32 @@ var ContactsApiAxiosParamCreator = function(configuration) {
645
645
  options: localVarRequestOptions
646
646
  };
647
647
  },
648
+ /**
649
+ * Emails Get
650
+ * @summary Emails Get
651
+ * @param {string} emailId
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ */
655
+ emailsGet: async (emailId, options = {}) => {
656
+ assertParamExists("emailsGet", "emailId", emailId);
657
+ const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
659
+ let baseOptions;
660
+ if (configuration) {
661
+ baseOptions = configuration.baseOptions;
662
+ }
663
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
664
+ const localVarHeaderParameter = {};
665
+ const localVarQueryParameter = {};
666
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
667
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
668
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
669
+ return {
670
+ url: toPathString(localVarUrlObj),
671
+ options: localVarRequestOptions
672
+ };
673
+ },
648
674
  /**
649
675
  * Emails Update
650
676
  * @summary Emails Update
@@ -950,6 +976,19 @@ var ContactsApiFp = function(configuration) {
950
976
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
951
977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
952
978
  },
979
+ /**
980
+ * Emails Get
981
+ * @summary Emails Get
982
+ * @param {string} emailId
983
+ * @param {*} [options] Override http request option.
984
+ * @throws {RequiredError}
985
+ */
986
+ async emailsGet(emailId, options) {
987
+ const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
988
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
989
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.emailsGet"]?.[localVarOperationServerIndex]?.url;
990
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
991
+ },
953
992
  /**
954
993
  * Emails Update
955
994
  * @summary Emails Update
@@ -1155,6 +1194,16 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
1155
1194
  emailsDelete(emailId, options) {
1156
1195
  return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
1157
1196
  },
1197
+ /**
1198
+ * Emails Get
1199
+ * @summary Emails Get
1200
+ * @param {string} emailId
1201
+ * @param {*} [options] Override http request option.
1202
+ * @throws {RequiredError}
1203
+ */
1204
+ emailsGet(emailId, options) {
1205
+ return localVarFp.emailsGet(emailId, options).then((request) => request(axios, basePath));
1206
+ },
1158
1207
  /**
1159
1208
  * Emails Update
1160
1209
  * @summary Emails Update
@@ -1359,6 +1408,17 @@ var ContactsApi = class extends BaseAPI {
1359
1408
  emailsDelete(emailId, options) {
1360
1409
  return ContactsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
1361
1410
  }
1411
+ /**
1412
+ * Emails Get
1413
+ * @summary Emails Get
1414
+ * @param {string} emailId
1415
+ * @param {*} [options] Override http request option.
1416
+ * @throws {RequiredError}
1417
+ * @memberof ContactsApi
1418
+ */
1419
+ emailsGet(emailId, options) {
1420
+ return ContactsApiFp(this.configuration).emailsGet(emailId, options).then((request) => request(this.axios, this.basePath));
1421
+ }
1362
1422
  /**
1363
1423
  * Emails Update
1364
1424
  * @summary Emails Update
@@ -3360,6 +3420,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
3360
3420
  options: localVarRequestOptions
3361
3421
  };
3362
3422
  },
3423
+ /**
3424
+ * Emails Get
3425
+ * @summary Emails Get
3426
+ * @param {string} emailId
3427
+ * @param {*} [options] Override http request option.
3428
+ * @throws {RequiredError}
3429
+ */
3430
+ emailsGet: async (emailId, options = {}) => {
3431
+ assertParamExists("emailsGet", "emailId", emailId);
3432
+ const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
3433
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3434
+ let baseOptions;
3435
+ if (configuration) {
3436
+ baseOptions = configuration.baseOptions;
3437
+ }
3438
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3439
+ const localVarHeaderParameter = {};
3440
+ const localVarQueryParameter = {};
3441
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3442
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3443
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3444
+ return {
3445
+ url: toPathString(localVarUrlObj),
3446
+ options: localVarRequestOptions
3447
+ };
3448
+ },
3363
3449
  /**
3364
3450
  * Emails Update
3365
3451
  * @summary Emails Update
@@ -4193,6 +4279,19 @@ var UnboundApiFp = function(configuration) {
4193
4279
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
4194
4280
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4195
4281
  },
4282
+ /**
4283
+ * Emails Get
4284
+ * @summary Emails Get
4285
+ * @param {string} emailId
4286
+ * @param {*} [options] Override http request option.
4287
+ * @throws {RequiredError}
4288
+ */
4289
+ async emailsGet(emailId, options) {
4290
+ const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
4291
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4292
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsGet"]?.[localVarOperationServerIndex]?.url;
4293
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4294
+ },
4196
4295
  /**
4197
4296
  * Emails Update
4198
4297
  * @summary Emails Update
@@ -4655,6 +4754,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
4655
4754
  emailsDelete(emailId, options) {
4656
4755
  return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
4657
4756
  },
4757
+ /**
4758
+ * Emails Get
4759
+ * @summary Emails Get
4760
+ * @param {string} emailId
4761
+ * @param {*} [options] Override http request option.
4762
+ * @throws {RequiredError}
4763
+ */
4764
+ emailsGet(emailId, options) {
4765
+ return localVarFp.emailsGet(emailId, options).then((request) => request(axios, basePath));
4766
+ },
4658
4767
  /**
4659
4768
  * Emails Update
4660
4769
  * @summary Emails Update
@@ -5079,6 +5188,17 @@ var UnboundApi = class extends BaseAPI {
5079
5188
  emailsDelete(emailId, options) {
5080
5189
  return UnboundApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
5081
5190
  }
5191
+ /**
5192
+ * Emails Get
5193
+ * @summary Emails Get
5194
+ * @param {string} emailId
5195
+ * @param {*} [options] Override http request option.
5196
+ * @throws {RequiredError}
5197
+ * @memberof UnboundApi
5198
+ */
5199
+ emailsGet(emailId, options) {
5200
+ return UnboundApiFp(this.configuration).emailsGet(emailId, options).then((request) => request(this.axios, this.basePath));
5201
+ }
5082
5202
  /**
5083
5203
  * Emails Update
5084
5204
  * @summary Emails Update
@@ -5438,10 +5558,10 @@ export {
5438
5558
  SortOrder,
5439
5559
  SrcResourceModelsContactsModelContactsModelContactSortBy,
5440
5560
  SrcResourceModelsConversationsModelConversationsModelConversationSortBy,
5561
+ SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum,
5562
+ SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum,
5441
5563
  SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum,
5442
5564
  SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum,
5443
- SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum,
5444
- SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum,
5445
5565
  SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum,
5446
5566
  SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum,
5447
5567
  SrcResourceModelsListingsModelListingBaseSortBy,