@closerplatform/spinner-openapi 0.12.108 → 0.12.109
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/api.d.ts +8 -4
- package/dist/api.js +14 -7
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -8550,10 +8550,11 @@ export declare const ConversationsApiFetchParamCreator: (configuration?: Configu
|
|
|
8550
8550
|
* @param {number} [anyThreadClosedBefore]
|
|
8551
8551
|
* @param {string} [sorting]
|
|
8552
8552
|
* @param {Array<string>} [tagGroupId]
|
|
8553
|
+
* @param {boolean} [closed]
|
|
8553
8554
|
* @param {*} [options] Override http request option.
|
|
8554
8555
|
* @throws {RequiredError}
|
|
8555
8556
|
*/
|
|
8556
|
-
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, options?: any): FetchArgs;
|
|
8557
|
+
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, closed?: boolean, options?: any): FetchArgs;
|
|
8557
8558
|
/**
|
|
8558
8559
|
*
|
|
8559
8560
|
* @summary Get custom conversations
|
|
@@ -8582,10 +8583,11 @@ export declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
8582
8583
|
* @param {number} [anyThreadClosedBefore]
|
|
8583
8584
|
* @param {string} [sorting]
|
|
8584
8585
|
* @param {Array<string>} [tagGroupId]
|
|
8586
|
+
* @param {boolean} [closed]
|
|
8585
8587
|
* @param {*} [options] Override http request option.
|
|
8586
8588
|
* @throws {RequiredError}
|
|
8587
8589
|
*/
|
|
8588
|
-
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InboxState>;
|
|
8590
|
+
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, closed?: boolean, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InboxState>;
|
|
8589
8591
|
/**
|
|
8590
8592
|
*
|
|
8591
8593
|
* @summary Get custom conversations
|
|
@@ -8614,10 +8616,11 @@ export declare const ConversationsApiFactory: (configuration?: Configuration, fe
|
|
|
8614
8616
|
* @param {number} [anyThreadClosedBefore]
|
|
8615
8617
|
* @param {string} [sorting]
|
|
8616
8618
|
* @param {Array<string>} [tagGroupId]
|
|
8619
|
+
* @param {boolean} [closed]
|
|
8617
8620
|
* @param {*} [options] Override http request option.
|
|
8618
8621
|
* @throws {RequiredError}
|
|
8619
8622
|
*/
|
|
8620
|
-
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, options?: any): Promise<InboxState>;
|
|
8623
|
+
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, closed?: boolean, options?: any): Promise<InboxState>;
|
|
8621
8624
|
/**
|
|
8622
8625
|
*
|
|
8623
8626
|
* @summary Get custom conversations
|
|
@@ -8648,11 +8651,12 @@ export declare class ConversationsApi extends BaseAPI {
|
|
|
8648
8651
|
* @param {number} [anyThreadClosedBefore]
|
|
8649
8652
|
* @param {string} [sorting]
|
|
8650
8653
|
* @param {Array<string>} [tagGroupId]
|
|
8654
|
+
* @param {boolean} [closed]
|
|
8651
8655
|
* @param {*} [options] Override http request option.
|
|
8652
8656
|
* @throws {RequiredError}
|
|
8653
8657
|
* @memberof ConversationsApi
|
|
8654
8658
|
*/
|
|
8655
|
-
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, options?: any): Promise<InboxState>;
|
|
8659
|
+
getConversations(tab?: string, limit?: number, offset?: number, tag?: Array<string>, onlySnoozed?: boolean, assigneeId?: string, anyThreadClosedAfter?: number, anyThreadClosedBefore?: number, sorting?: string, tagGroupId?: Array<string>, closed?: boolean, options?: any): Promise<InboxState>;
|
|
8656
8660
|
/**
|
|
8657
8661
|
*
|
|
8658
8662
|
* @summary Get custom conversations
|
package/dist/api.js
CHANGED
|
@@ -3598,10 +3598,11 @@ exports.ConversationsApiFetchParamCreator = function (configuration) {
|
|
|
3598
3598
|
* @param {number} [anyThreadClosedBefore]
|
|
3599
3599
|
* @param {string} [sorting]
|
|
3600
3600
|
* @param {Array<string>} [tagGroupId]
|
|
3601
|
+
* @param {boolean} [closed]
|
|
3601
3602
|
* @param {*} [options] Override http request option.
|
|
3602
3603
|
* @throws {RequiredError}
|
|
3603
3604
|
*/
|
|
3604
|
-
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options = {}) {
|
|
3605
|
+
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options = {}) {
|
|
3605
3606
|
const localVarPath = `/conversations`;
|
|
3606
3607
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
3607
3608
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
@@ -3644,6 +3645,9 @@ exports.ConversationsApiFetchParamCreator = function (configuration) {
|
|
|
3644
3645
|
if (tagGroupId) {
|
|
3645
3646
|
localVarQueryParameter['tagGroupId'] = tagGroupId;
|
|
3646
3647
|
}
|
|
3648
|
+
if (closed !== undefined) {
|
|
3649
|
+
localVarQueryParameter['closed'] = closed;
|
|
3650
|
+
}
|
|
3647
3651
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
3648
3652
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
3649
3653
|
delete localVarUrlObj.search;
|
|
@@ -3710,11 +3714,12 @@ exports.ConversationsApiFp = function (configuration) {
|
|
|
3710
3714
|
* @param {number} [anyThreadClosedBefore]
|
|
3711
3715
|
* @param {string} [sorting]
|
|
3712
3716
|
* @param {Array<string>} [tagGroupId]
|
|
3717
|
+
* @param {boolean} [closed]
|
|
3713
3718
|
* @param {*} [options] Override http request option.
|
|
3714
3719
|
* @throws {RequiredError}
|
|
3715
3720
|
*/
|
|
3716
|
-
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options) {
|
|
3717
|
-
const localVarFetchArgs = exports.ConversationsApiFetchParamCreator(configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options);
|
|
3721
|
+
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options) {
|
|
3722
|
+
const localVarFetchArgs = exports.ConversationsApiFetchParamCreator(configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options);
|
|
3718
3723
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
3719
3724
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
3720
3725
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -3768,11 +3773,12 @@ exports.ConversationsApiFactory = function (configuration, fetch, basePath) {
|
|
|
3768
3773
|
* @param {number} [anyThreadClosedBefore]
|
|
3769
3774
|
* @param {string} [sorting]
|
|
3770
3775
|
* @param {Array<string>} [tagGroupId]
|
|
3776
|
+
* @param {boolean} [closed]
|
|
3771
3777
|
* @param {*} [options] Override http request option.
|
|
3772
3778
|
* @throws {RequiredError}
|
|
3773
3779
|
*/
|
|
3774
|
-
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options) {
|
|
3775
|
-
return exports.ConversationsApiFp(configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options)(fetch, basePath);
|
|
3780
|
+
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options) {
|
|
3781
|
+
return exports.ConversationsApiFp(configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options)(fetch, basePath);
|
|
3776
3782
|
},
|
|
3777
3783
|
/**
|
|
3778
3784
|
*
|
|
@@ -3807,12 +3813,13 @@ class ConversationsApi extends BaseAPI {
|
|
|
3807
3813
|
* @param {number} [anyThreadClosedBefore]
|
|
3808
3814
|
* @param {string} [sorting]
|
|
3809
3815
|
* @param {Array<string>} [tagGroupId]
|
|
3816
|
+
* @param {boolean} [closed]
|
|
3810
3817
|
* @param {*} [options] Override http request option.
|
|
3811
3818
|
* @throws {RequiredError}
|
|
3812
3819
|
* @memberof ConversationsApi
|
|
3813
3820
|
*/
|
|
3814
|
-
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options) {
|
|
3815
|
-
return exports.ConversationsApiFp(this.configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, options)(this.fetch, this.basePath);
|
|
3821
|
+
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options) {
|
|
3822
|
+
return exports.ConversationsApiFp(this.configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options)(this.fetch, this.basePath);
|
|
3816
3823
|
}
|
|
3817
3824
|
/**
|
|
3818
3825
|
*
|