@ember-home/unbound-ts-client 0.0.35 → 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.d.mts +476 -194
- package/dist/index.d.ts +476 -194
- package/dist/index.js +252 -122
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +136 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -119,6 +119,15 @@ var ReservationChannelTypes = {
|
|
|
119
119
|
Gds: "GDS",
|
|
120
120
|
Google: "GOOGLE"
|
|
121
121
|
};
|
|
122
|
+
var ReservationStatus = {
|
|
123
|
+
Cancelled: "CANCELLED",
|
|
124
|
+
Inquiry: "INQUIRY",
|
|
125
|
+
Expired: "EXPIRED",
|
|
126
|
+
AwaitingPayment: "AWAITING_PAYMENT",
|
|
127
|
+
Declined: "DECLINED",
|
|
128
|
+
Pending: "PENDING",
|
|
129
|
+
Confirmed: "CONFIRMED"
|
|
130
|
+
};
|
|
122
131
|
var SortOrder = {
|
|
123
132
|
Asc: "asc",
|
|
124
133
|
Desc: "desc"
|
|
@@ -131,16 +140,16 @@ var SrcResourceModelsContactsModelContactsModelContactSortBy = {
|
|
|
131
140
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
132
141
|
UpdatedAt: "updated_at"
|
|
133
142
|
};
|
|
134
|
-
var
|
|
143
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = {
|
|
135
144
|
Twilio: "TWILIO"
|
|
136
145
|
};
|
|
137
|
-
var
|
|
146
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = {
|
|
138
147
|
Email: "EMAIL"
|
|
139
148
|
};
|
|
140
|
-
var
|
|
149
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum = {
|
|
141
150
|
Twilio: "TWILIO"
|
|
142
151
|
};
|
|
143
|
-
var
|
|
152
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
|
|
144
153
|
Email: "EMAIL"
|
|
145
154
|
};
|
|
146
155
|
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
@@ -636,6 +645,32 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
636
645
|
options: localVarRequestOptions
|
|
637
646
|
};
|
|
638
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
|
+
},
|
|
639
674
|
/**
|
|
640
675
|
* Emails Update
|
|
641
676
|
* @summary Emails Update
|
|
@@ -941,6 +976,19 @@ var ContactsApiFp = function(configuration) {
|
|
|
941
976
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
942
977
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
943
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
|
+
},
|
|
944
992
|
/**
|
|
945
993
|
* Emails Update
|
|
946
994
|
* @summary Emails Update
|
|
@@ -1146,6 +1194,16 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1146
1194
|
emailsDelete(emailId, options) {
|
|
1147
1195
|
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
1148
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
|
+
},
|
|
1149
1207
|
/**
|
|
1150
1208
|
* Emails Update
|
|
1151
1209
|
* @summary Emails Update
|
|
@@ -1350,6 +1408,17 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1350
1408
|
emailsDelete(emailId, options) {
|
|
1351
1409
|
return ContactsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
1352
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
|
+
}
|
|
1353
1422
|
/**
|
|
1354
1423
|
* Emails Update
|
|
1355
1424
|
* @summary Emails Update
|
|
@@ -3351,6 +3420,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3351
3420
|
options: localVarRequestOptions
|
|
3352
3421
|
};
|
|
3353
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
|
+
},
|
|
3354
3449
|
/**
|
|
3355
3450
|
* Emails Update
|
|
3356
3451
|
* @summary Emails Update
|
|
@@ -4184,6 +4279,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4184
4279
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
4185
4280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4186
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
|
+
},
|
|
4187
4295
|
/**
|
|
4188
4296
|
* Emails Update
|
|
4189
4297
|
* @summary Emails Update
|
|
@@ -4646,6 +4754,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4646
4754
|
emailsDelete(emailId, options) {
|
|
4647
4755
|
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
4648
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
|
+
},
|
|
4649
4767
|
/**
|
|
4650
4768
|
* Emails Update
|
|
4651
4769
|
* @summary Emails Update
|
|
@@ -5070,6 +5188,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5070
5188
|
emailsDelete(emailId, options) {
|
|
5071
5189
|
return UnboundApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
5072
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
|
+
}
|
|
5073
5202
|
/**
|
|
5074
5203
|
* Emails Update
|
|
5075
5204
|
* @summary Emails Update
|
|
@@ -5421,6 +5550,7 @@ export {
|
|
|
5421
5550
|
ProvidersApiFactory,
|
|
5422
5551
|
ProvidersApiFp,
|
|
5423
5552
|
ReservationChannelTypes,
|
|
5553
|
+
ReservationStatus,
|
|
5424
5554
|
ReservationsApi,
|
|
5425
5555
|
ReservationsApiAxiosParamCreator,
|
|
5426
5556
|
ReservationsApiFactory,
|
|
@@ -5428,10 +5558,10 @@ export {
|
|
|
5428
5558
|
SortOrder,
|
|
5429
5559
|
SrcResourceModelsContactsModelContactsModelContactSortBy,
|
|
5430
5560
|
SrcResourceModelsConversationsModelConversationsModelConversationSortBy,
|
|
5561
|
+
SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum,
|
|
5562
|
+
SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum,
|
|
5431
5563
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum,
|
|
5432
5564
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum,
|
|
5433
|
-
SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum,
|
|
5434
|
-
SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum,
|
|
5435
5565
|
SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum,
|
|
5436
5566
|
SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum,
|
|
5437
5567
|
SrcResourceModelsListingsModelListingBaseSortBy,
|