@ember-home/unbound-ts-client 0.0.48 → 0.0.49
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 +40 -8
- package/dist/index.d.ts +40 -8
- package/dist/index.js +70 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1747,6 +1747,10 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1747
1747
|
* @summary Messages List
|
|
1748
1748
|
* @param {string} [conversationId]
|
|
1749
1749
|
* @param {string | null} [searchString]
|
|
1750
|
+
* @param {string | null} [sentAtAfter]
|
|
1751
|
+
* @param {string | null} [sentAtBefore]
|
|
1752
|
+
* @param {string | null} [scheduledAtAfter]
|
|
1753
|
+
* @param {string | null} [scheduledAtBefore]
|
|
1750
1754
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1751
1755
|
* @param {number} [limit]
|
|
1752
1756
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1755,7 +1759,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1755
1759
|
* @param {*} [options] Override http request option.
|
|
1756
1760
|
* @throws {RequiredError}
|
|
1757
1761
|
*/
|
|
1758
|
-
messagesList: async (conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
1762
|
+
messagesList: async (conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
1759
1763
|
const localVarPath = `/messages`;
|
|
1760
1764
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1761
1765
|
let baseOptions;
|
|
@@ -1771,6 +1775,18 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1771
1775
|
if (searchString !== void 0) {
|
|
1772
1776
|
localVarQueryParameter["searchString"] = searchString;
|
|
1773
1777
|
}
|
|
1778
|
+
if (sentAtAfter !== void 0) {
|
|
1779
|
+
localVarQueryParameter["sentAtAfter"] = sentAtAfter instanceof Date ? sentAtAfter.toISOString() : sentAtAfter;
|
|
1780
|
+
}
|
|
1781
|
+
if (sentAtBefore !== void 0) {
|
|
1782
|
+
localVarQueryParameter["sentAtBefore"] = sentAtBefore instanceof Date ? sentAtBefore.toISOString() : sentAtBefore;
|
|
1783
|
+
}
|
|
1784
|
+
if (scheduledAtAfter !== void 0) {
|
|
1785
|
+
localVarQueryParameter["scheduledAtAfter"] = scheduledAtAfter instanceof Date ? scheduledAtAfter.toISOString() : scheduledAtAfter;
|
|
1786
|
+
}
|
|
1787
|
+
if (scheduledAtBefore !== void 0) {
|
|
1788
|
+
localVarQueryParameter["scheduledAtBefore"] = scheduledAtBefore instanceof Date ? scheduledAtBefore.toISOString() : scheduledAtBefore;
|
|
1789
|
+
}
|
|
1774
1790
|
if (cursor !== void 0) {
|
|
1775
1791
|
localVarQueryParameter["cursor"] = cursor;
|
|
1776
1792
|
}
|
|
@@ -1862,6 +1878,10 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1862
1878
|
* @summary Messages List
|
|
1863
1879
|
* @param {string} [conversationId]
|
|
1864
1880
|
* @param {string | null} [searchString]
|
|
1881
|
+
* @param {string | null} [sentAtAfter]
|
|
1882
|
+
* @param {string | null} [sentAtBefore]
|
|
1883
|
+
* @param {string | null} [scheduledAtAfter]
|
|
1884
|
+
* @param {string | null} [scheduledAtBefore]
|
|
1865
1885
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1866
1886
|
* @param {number} [limit]
|
|
1867
1887
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1870,8 +1890,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1870
1890
|
* @param {*} [options] Override http request option.
|
|
1871
1891
|
* @throws {RequiredError}
|
|
1872
1892
|
*/
|
|
1873
|
-
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1874
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1893
|
+
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1894
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1875
1895
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1876
1896
|
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.messagesList"]?.[localVarOperationServerIndex]?.url;
|
|
1877
1897
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1932,6 +1952,10 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1932
1952
|
* @summary Messages List
|
|
1933
1953
|
* @param {string} [conversationId]
|
|
1934
1954
|
* @param {string | null} [searchString]
|
|
1955
|
+
* @param {string | null} [sentAtAfter]
|
|
1956
|
+
* @param {string | null} [sentAtBefore]
|
|
1957
|
+
* @param {string | null} [scheduledAtAfter]
|
|
1958
|
+
* @param {string | null} [scheduledAtBefore]
|
|
1935
1959
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1936
1960
|
* @param {number} [limit]
|
|
1937
1961
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -1940,8 +1964,8 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1940
1964
|
* @param {*} [options] Override http request option.
|
|
1941
1965
|
* @throws {RequiredError}
|
|
1942
1966
|
*/
|
|
1943
|
-
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1944
|
-
return localVarFp.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
1967
|
+
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1968
|
+
return localVarFp.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
1945
1969
|
}
|
|
1946
1970
|
};
|
|
1947
1971
|
};
|
|
@@ -2001,6 +2025,10 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2001
2025
|
* @summary Messages List
|
|
2002
2026
|
* @param {string} [conversationId]
|
|
2003
2027
|
* @param {string | null} [searchString]
|
|
2028
|
+
* @param {string | null} [sentAtAfter]
|
|
2029
|
+
* @param {string | null} [sentAtBefore]
|
|
2030
|
+
* @param {string | null} [scheduledAtAfter]
|
|
2031
|
+
* @param {string | null} [scheduledAtBefore]
|
|
2004
2032
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2005
2033
|
* @param {number} [limit]
|
|
2006
2034
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -2010,8 +2038,8 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2010
2038
|
* @throws {RequiredError}
|
|
2011
2039
|
* @memberof ConversationsApi
|
|
2012
2040
|
*/
|
|
2013
|
-
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2014
|
-
return ConversationsApiFp(this.configuration).messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2041
|
+
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2042
|
+
return ConversationsApiFp(this.configuration).messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2015
2043
|
}
|
|
2016
2044
|
};
|
|
2017
2045
|
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
@@ -3771,6 +3799,10 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3771
3799
|
* @summary Messages List
|
|
3772
3800
|
* @param {string} [conversationId]
|
|
3773
3801
|
* @param {string | null} [searchString]
|
|
3802
|
+
* @param {string | null} [sentAtAfter]
|
|
3803
|
+
* @param {string | null} [sentAtBefore]
|
|
3804
|
+
* @param {string | null} [scheduledAtAfter]
|
|
3805
|
+
* @param {string | null} [scheduledAtBefore]
|
|
3774
3806
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3775
3807
|
* @param {number} [limit]
|
|
3776
3808
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -3779,7 +3811,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3779
3811
|
* @param {*} [options] Override http request option.
|
|
3780
3812
|
* @throws {RequiredError}
|
|
3781
3813
|
*/
|
|
3782
|
-
messagesList: async (conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
3814
|
+
messagesList: async (conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
3783
3815
|
const localVarPath = `/messages`;
|
|
3784
3816
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3785
3817
|
let baseOptions;
|
|
@@ -3795,6 +3827,18 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3795
3827
|
if (searchString !== void 0) {
|
|
3796
3828
|
localVarQueryParameter["searchString"] = searchString;
|
|
3797
3829
|
}
|
|
3830
|
+
if (sentAtAfter !== void 0) {
|
|
3831
|
+
localVarQueryParameter["sentAtAfter"] = sentAtAfter instanceof Date ? sentAtAfter.toISOString() : sentAtAfter;
|
|
3832
|
+
}
|
|
3833
|
+
if (sentAtBefore !== void 0) {
|
|
3834
|
+
localVarQueryParameter["sentAtBefore"] = sentAtBefore instanceof Date ? sentAtBefore.toISOString() : sentAtBefore;
|
|
3835
|
+
}
|
|
3836
|
+
if (scheduledAtAfter !== void 0) {
|
|
3837
|
+
localVarQueryParameter["scheduledAtAfter"] = scheduledAtAfter instanceof Date ? scheduledAtAfter.toISOString() : scheduledAtAfter;
|
|
3838
|
+
}
|
|
3839
|
+
if (scheduledAtBefore !== void 0) {
|
|
3840
|
+
localVarQueryParameter["scheduledAtBefore"] = scheduledAtBefore instanceof Date ? scheduledAtBefore.toISOString() : scheduledAtBefore;
|
|
3841
|
+
}
|
|
3798
3842
|
if (cursor !== void 0) {
|
|
3799
3843
|
localVarQueryParameter["cursor"] = cursor;
|
|
3800
3844
|
}
|
|
@@ -4562,6 +4606,10 @@ var UnboundApiFp = function(configuration) {
|
|
|
4562
4606
|
* @summary Messages List
|
|
4563
4607
|
* @param {string} [conversationId]
|
|
4564
4608
|
* @param {string | null} [searchString]
|
|
4609
|
+
* @param {string | null} [sentAtAfter]
|
|
4610
|
+
* @param {string | null} [sentAtBefore]
|
|
4611
|
+
* @param {string | null} [scheduledAtAfter]
|
|
4612
|
+
* @param {string | null} [scheduledAtBefore]
|
|
4565
4613
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
4566
4614
|
* @param {number} [limit]
|
|
4567
4615
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -4570,8 +4618,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4570
4618
|
* @param {*} [options] Override http request option.
|
|
4571
4619
|
* @throws {RequiredError}
|
|
4572
4620
|
*/
|
|
4573
|
-
async messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4574
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4621
|
+
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4575
4623
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4576
4624
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.messagesList"]?.[localVarOperationServerIndex]?.url;
|
|
4577
4625
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5039,6 +5087,10 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5039
5087
|
* @summary Messages List
|
|
5040
5088
|
* @param {string} [conversationId]
|
|
5041
5089
|
* @param {string | null} [searchString]
|
|
5090
|
+
* @param {string | null} [sentAtAfter]
|
|
5091
|
+
* @param {string | null} [sentAtBefore]
|
|
5092
|
+
* @param {string | null} [scheduledAtAfter]
|
|
5093
|
+
* @param {string | null} [scheduledAtBefore]
|
|
5042
5094
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5043
5095
|
* @param {number} [limit]
|
|
5044
5096
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -5047,8 +5099,8 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5047
5099
|
* @param {*} [options] Override http request option.
|
|
5048
5100
|
* @throws {RequiredError}
|
|
5049
5101
|
*/
|
|
5050
|
-
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5051
|
-
return localVarFp.messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5102
|
+
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5103
|
+
return localVarFp.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
5052
5104
|
},
|
|
5053
5105
|
/**
|
|
5054
5106
|
* Phones Create
|
|
@@ -5497,6 +5549,10 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5497
5549
|
* @summary Messages List
|
|
5498
5550
|
* @param {string} [conversationId]
|
|
5499
5551
|
* @param {string | null} [searchString]
|
|
5552
|
+
* @param {string | null} [sentAtAfter]
|
|
5553
|
+
* @param {string | null} [sentAtBefore]
|
|
5554
|
+
* @param {string | null} [scheduledAtAfter]
|
|
5555
|
+
* @param {string | null} [scheduledAtBefore]
|
|
5500
5556
|
* @param {string | null} [cursor] Cursor for keyset paging
|
|
5501
5557
|
* @param {number} [limit]
|
|
5502
5558
|
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
@@ -5506,8 +5562,8 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5506
5562
|
* @throws {RequiredError}
|
|
5507
5563
|
* @memberof UnboundApi
|
|
5508
5564
|
*/
|
|
5509
|
-
messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5510
|
-
return UnboundApiFp(this.configuration).messagesList(conversationId, searchString, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5565
|
+
messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5566
|
+
return UnboundApiFp(this.configuration).messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5511
5567
|
}
|
|
5512
5568
|
/**
|
|
5513
5569
|
* Phones Create
|