@ember-home/unbound-ts-client 0.0.27 → 0.0.28
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 +250 -47
- package/dist/index.d.ts +250 -47
- package/dist/index.js +201 -79
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +129 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -99,7 +99,9 @@ var MessageStatus = {
|
|
|
99
99
|
Sent: "SENT",
|
|
100
100
|
Delivered: "DELIVERED",
|
|
101
101
|
Read: "READ",
|
|
102
|
-
Failed: "FAILED"
|
|
102
|
+
Failed: "FAILED",
|
|
103
|
+
Scheduled: "SCHEDULED",
|
|
104
|
+
Canceled: "CANCELED"
|
|
103
105
|
};
|
|
104
106
|
var PaginationDirection = {
|
|
105
107
|
Forward: "forward",
|
|
@@ -115,16 +117,16 @@ var SortOrder = {
|
|
|
115
117
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
116
118
|
UpdatedAt: "updated_at"
|
|
117
119
|
};
|
|
118
|
-
var
|
|
120
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
|
|
119
121
|
Twilio: "TWILIO"
|
|
120
122
|
};
|
|
121
|
-
var
|
|
123
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = {
|
|
122
124
|
Email: "EMAIL"
|
|
123
125
|
};
|
|
124
|
-
var
|
|
126
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = {
|
|
125
127
|
Twilio: "TWILIO"
|
|
126
128
|
};
|
|
127
|
-
var
|
|
129
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = {
|
|
128
130
|
Email: "EMAIL"
|
|
129
131
|
};
|
|
130
132
|
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
@@ -3480,6 +3482,32 @@ var ProvidersApi = class extends BaseAPI {
|
|
|
3480
3482
|
};
|
|
3481
3483
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
3482
3484
|
return {
|
|
3485
|
+
/**
|
|
3486
|
+
*
|
|
3487
|
+
* @summary Reservations Get
|
|
3488
|
+
* @param {string} reservationId
|
|
3489
|
+
* @param {*} [options] Override http request option.
|
|
3490
|
+
* @throws {RequiredError}
|
|
3491
|
+
*/
|
|
3492
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
3493
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
3494
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
3495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3496
|
+
let baseOptions;
|
|
3497
|
+
if (configuration) {
|
|
3498
|
+
baseOptions = configuration.baseOptions;
|
|
3499
|
+
}
|
|
3500
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3501
|
+
const localVarHeaderParameter = {};
|
|
3502
|
+
const localVarQueryParameter = {};
|
|
3503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3504
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3505
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3506
|
+
return {
|
|
3507
|
+
url: toPathString(localVarUrlObj),
|
|
3508
|
+
options: localVarRequestOptions
|
|
3509
|
+
};
|
|
3510
|
+
},
|
|
3483
3511
|
/**
|
|
3484
3512
|
*
|
|
3485
3513
|
* @summary Reservations List
|
|
@@ -3537,6 +3565,19 @@ var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
|
3537
3565
|
var ReservationsApiFp = function(configuration) {
|
|
3538
3566
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
3539
3567
|
return {
|
|
3568
|
+
/**
|
|
3569
|
+
*
|
|
3570
|
+
* @summary Reservations Get
|
|
3571
|
+
* @param {string} reservationId
|
|
3572
|
+
* @param {*} [options] Override http request option.
|
|
3573
|
+
* @throws {RequiredError}
|
|
3574
|
+
*/
|
|
3575
|
+
async reservationsGet(reservationId, options) {
|
|
3576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
3577
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3578
|
+
const localVarOperationServerBasePath = operationServerMap["ReservationsApi.reservationsGet"]?.[localVarOperationServerIndex]?.url;
|
|
3579
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3580
|
+
},
|
|
3540
3581
|
/**
|
|
3541
3582
|
*
|
|
3542
3583
|
* @summary Reservations List
|
|
@@ -3561,6 +3602,16 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3561
3602
|
var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
3562
3603
|
const localVarFp = ReservationsApiFp(configuration);
|
|
3563
3604
|
return {
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @summary Reservations Get
|
|
3608
|
+
* @param {string} reservationId
|
|
3609
|
+
* @param {*} [options] Override http request option.
|
|
3610
|
+
* @throws {RequiredError}
|
|
3611
|
+
*/
|
|
3612
|
+
reservationsGet(reservationId, options) {
|
|
3613
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
3614
|
+
},
|
|
3564
3615
|
/**
|
|
3565
3616
|
*
|
|
3566
3617
|
* @summary Reservations List
|
|
@@ -3580,6 +3631,17 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
3580
3631
|
};
|
|
3581
3632
|
};
|
|
3582
3633
|
var ReservationsApi = class extends BaseAPI {
|
|
3634
|
+
/**
|
|
3635
|
+
*
|
|
3636
|
+
* @summary Reservations Get
|
|
3637
|
+
* @param {string} reservationId
|
|
3638
|
+
* @param {*} [options] Override http request option.
|
|
3639
|
+
* @throws {RequiredError}
|
|
3640
|
+
* @memberof ReservationsApi
|
|
3641
|
+
*/
|
|
3642
|
+
reservationsGet(reservationId, options) {
|
|
3643
|
+
return ReservationsApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
3644
|
+
}
|
|
3583
3645
|
/**
|
|
3584
3646
|
*
|
|
3585
3647
|
* @summary Reservations List
|
|
@@ -4622,6 +4684,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4622
4684
|
options: localVarRequestOptions
|
|
4623
4685
|
};
|
|
4624
4686
|
},
|
|
4687
|
+
/**
|
|
4688
|
+
*
|
|
4689
|
+
* @summary Reservations Get
|
|
4690
|
+
* @param {string} reservationId
|
|
4691
|
+
* @param {*} [options] Override http request option.
|
|
4692
|
+
* @throws {RequiredError}
|
|
4693
|
+
*/
|
|
4694
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
4695
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
4696
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
4697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4698
|
+
let baseOptions;
|
|
4699
|
+
if (configuration) {
|
|
4700
|
+
baseOptions = configuration.baseOptions;
|
|
4701
|
+
}
|
|
4702
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4703
|
+
const localVarHeaderParameter = {};
|
|
4704
|
+
const localVarQueryParameter = {};
|
|
4705
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4706
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4707
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4708
|
+
return {
|
|
4709
|
+
url: toPathString(localVarUrlObj),
|
|
4710
|
+
options: localVarRequestOptions
|
|
4711
|
+
};
|
|
4712
|
+
},
|
|
4625
4713
|
/**
|
|
4626
4714
|
*
|
|
4627
4715
|
* @summary Reservations List
|
|
@@ -5174,6 +5262,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
5174
5262
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.providersUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
5175
5263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5176
5264
|
},
|
|
5265
|
+
/**
|
|
5266
|
+
*
|
|
5267
|
+
* @summary Reservations Get
|
|
5268
|
+
* @param {string} reservationId
|
|
5269
|
+
* @param {*} [options] Override http request option.
|
|
5270
|
+
* @throws {RequiredError}
|
|
5271
|
+
*/
|
|
5272
|
+
async reservationsGet(reservationId, options) {
|
|
5273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5274
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5275
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.reservationsGet"]?.[localVarOperationServerIndex]?.url;
|
|
5276
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5277
|
+
},
|
|
5177
5278
|
/**
|
|
5178
5279
|
*
|
|
5179
5280
|
* @summary Reservations List
|
|
@@ -5578,6 +5679,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5578
5679
|
providersUpdate(providerId, providerUpdate, options) {
|
|
5579
5680
|
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
5580
5681
|
},
|
|
5682
|
+
/**
|
|
5683
|
+
*
|
|
5684
|
+
* @summary Reservations Get
|
|
5685
|
+
* @param {string} reservationId
|
|
5686
|
+
* @param {*} [options] Override http request option.
|
|
5687
|
+
* @throws {RequiredError}
|
|
5688
|
+
*/
|
|
5689
|
+
reservationsGet(reservationId, options) {
|
|
5690
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
5691
|
+
},
|
|
5581
5692
|
/**
|
|
5582
5693
|
*
|
|
5583
5694
|
* @summary Reservations List
|
|
@@ -6007,6 +6118,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6007
6118
|
providersUpdate(providerId, providerUpdate, options) {
|
|
6008
6119
|
return UnboundApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
6009
6120
|
}
|
|
6121
|
+
/**
|
|
6122
|
+
*
|
|
6123
|
+
* @summary Reservations Get
|
|
6124
|
+
* @param {string} reservationId
|
|
6125
|
+
* @param {*} [options] Override http request option.
|
|
6126
|
+
* @throws {RequiredError}
|
|
6127
|
+
* @memberof UnboundApi
|
|
6128
|
+
*/
|
|
6129
|
+
reservationsGet(reservationId, options) {
|
|
6130
|
+
return UnboundApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
6131
|
+
}
|
|
6010
6132
|
/**
|
|
6011
6133
|
*
|
|
6012
6134
|
* @summary Reservations List
|
|
@@ -6189,10 +6311,10 @@ export {
|
|
|
6189
6311
|
ReservationsApiFp,
|
|
6190
6312
|
SortOrder,
|
|
6191
6313
|
SrcResourceModelsConversationsModelConversationsModelConversationSortBy,
|
|
6192
|
-
SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum,
|
|
6193
|
-
SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum,
|
|
6194
6314
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum,
|
|
6195
6315
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum,
|
|
6316
|
+
SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum,
|
|
6317
|
+
SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum,
|
|
6196
6318
|
SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum,
|
|
6197
6319
|
SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum,
|
|
6198
6320
|
SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy,
|