@closerplatform/spinner-openapi 0.12.421 → 0.12.422
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 +0 -37
- package/dist/api.js +0 -80
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -8651,15 +8651,6 @@ export declare const ConversationsApiFetchParamCreator: (configuration?: Configu
|
|
|
8651
8651
|
* @throws {RequiredError}
|
|
8652
8652
|
*/
|
|
8653
8653
|
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;
|
|
8654
|
-
/**
|
|
8655
|
-
*
|
|
8656
|
-
* @summary Get custom conversations
|
|
8657
|
-
* @param {Array<string>} [status]
|
|
8658
|
-
* @param {string} [assignee]
|
|
8659
|
-
* @param {*} [options] Override http request option.
|
|
8660
|
-
* @throws {RequiredError}
|
|
8661
|
-
*/
|
|
8662
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): FetchArgs;
|
|
8663
8654
|
};
|
|
8664
8655
|
/**
|
|
8665
8656
|
* ConversationsApi - functional programming interface
|
|
@@ -8684,15 +8675,6 @@ export declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
8684
8675
|
* @throws {RequiredError}
|
|
8685
8676
|
*/
|
|
8686
8677
|
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>;
|
|
8687
|
-
/**
|
|
8688
|
-
*
|
|
8689
|
-
* @summary Get custom conversations
|
|
8690
|
-
* @param {Array<string>} [status]
|
|
8691
|
-
* @param {string} [assignee]
|
|
8692
|
-
* @param {*} [options] Override http request option.
|
|
8693
|
-
* @throws {RequiredError}
|
|
8694
|
-
*/
|
|
8695
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InboxState>;
|
|
8696
8678
|
};
|
|
8697
8679
|
/**
|
|
8698
8680
|
* ConversationsApi - factory interface
|
|
@@ -8717,15 +8699,6 @@ export declare const ConversationsApiFactory: (configuration?: Configuration, fe
|
|
|
8717
8699
|
* @throws {RequiredError}
|
|
8718
8700
|
*/
|
|
8719
8701
|
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>;
|
|
8720
|
-
/**
|
|
8721
|
-
*
|
|
8722
|
-
* @summary Get custom conversations
|
|
8723
|
-
* @param {Array<string>} [status]
|
|
8724
|
-
* @param {string} [assignee]
|
|
8725
|
-
* @param {*} [options] Override http request option.
|
|
8726
|
-
* @throws {RequiredError}
|
|
8727
|
-
*/
|
|
8728
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): Promise<InboxState>;
|
|
8729
8702
|
};
|
|
8730
8703
|
/**
|
|
8731
8704
|
* ConversationsApi - object-oriented interface
|
|
@@ -8753,16 +8726,6 @@ export declare class ConversationsApi extends BaseAPI {
|
|
|
8753
8726
|
* @memberof ConversationsApi
|
|
8754
8727
|
*/
|
|
8755
8728
|
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>;
|
|
8756
|
-
/**
|
|
8757
|
-
*
|
|
8758
|
-
* @summary Get custom conversations
|
|
8759
|
-
* @param {Array<string>} [status]
|
|
8760
|
-
* @param {string} [assignee]
|
|
8761
|
-
* @param {*} [options] Override http request option.
|
|
8762
|
-
* @throws {RequiredError}
|
|
8763
|
-
* @memberof ConversationsApi
|
|
8764
|
-
*/
|
|
8765
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): Promise<InboxState>;
|
|
8766
8729
|
}
|
|
8767
8730
|
/**
|
|
8768
8731
|
* EventActionsApi - fetch parameter creator
|
package/dist/api.js
CHANGED
|
@@ -3694,42 +3694,6 @@ const ConversationsApiFetchParamCreator = function (configuration) {
|
|
|
3694
3694
|
options: localVarRequestOptions,
|
|
3695
3695
|
};
|
|
3696
3696
|
},
|
|
3697
|
-
/**
|
|
3698
|
-
*
|
|
3699
|
-
* @summary Get custom conversations
|
|
3700
|
-
* @param {Array<string>} [status]
|
|
3701
|
-
* @param {string} [assignee]
|
|
3702
|
-
* @param {*} [options] Override http request option.
|
|
3703
|
-
* @throws {RequiredError}
|
|
3704
|
-
*/
|
|
3705
|
-
getCustomConversations(status, assignee, options = {}) {
|
|
3706
|
-
const localVarPath = `/conversations/filter`;
|
|
3707
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
3708
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
3709
|
-
const localVarHeaderParameter = {};
|
|
3710
|
-
const localVarQueryParameter = {};
|
|
3711
|
-
// authentication apiKey required
|
|
3712
|
-
if (configuration && configuration.apiKey) {
|
|
3713
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
3714
|
-
? configuration.apiKey("X-Api-Key")
|
|
3715
|
-
: configuration.apiKey;
|
|
3716
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
3717
|
-
}
|
|
3718
|
-
if (status) {
|
|
3719
|
-
localVarQueryParameter['status'] = status;
|
|
3720
|
-
}
|
|
3721
|
-
if (assignee !== undefined) {
|
|
3722
|
-
localVarQueryParameter['assignee'] = assignee;
|
|
3723
|
-
}
|
|
3724
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
3725
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
3726
|
-
delete localVarUrlObj.search;
|
|
3727
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
3728
|
-
return {
|
|
3729
|
-
url: url.format(localVarUrlObj),
|
|
3730
|
-
options: localVarRequestOptions,
|
|
3731
|
-
};
|
|
3732
|
-
},
|
|
3733
3697
|
};
|
|
3734
3698
|
};
|
|
3735
3699
|
exports.ConversationsApiFetchParamCreator = ConversationsApiFetchParamCreator;
|
|
@@ -3769,27 +3733,6 @@ const ConversationsApiFp = function (configuration) {
|
|
|
3769
3733
|
});
|
|
3770
3734
|
};
|
|
3771
3735
|
},
|
|
3772
|
-
/**
|
|
3773
|
-
*
|
|
3774
|
-
* @summary Get custom conversations
|
|
3775
|
-
* @param {Array<string>} [status]
|
|
3776
|
-
* @param {string} [assignee]
|
|
3777
|
-
* @param {*} [options] Override http request option.
|
|
3778
|
-
* @throws {RequiredError}
|
|
3779
|
-
*/
|
|
3780
|
-
getCustomConversations(status, assignee, options) {
|
|
3781
|
-
const localVarFetchArgs = (0, exports.ConversationsApiFetchParamCreator)(configuration).getCustomConversations(status, assignee, options);
|
|
3782
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
3783
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
3784
|
-
if (response.status >= 200 && response.status < 300) {
|
|
3785
|
-
return response.json();
|
|
3786
|
-
}
|
|
3787
|
-
else {
|
|
3788
|
-
throw response;
|
|
3789
|
-
}
|
|
3790
|
-
});
|
|
3791
|
-
};
|
|
3792
|
-
},
|
|
3793
3736
|
};
|
|
3794
3737
|
};
|
|
3795
3738
|
exports.ConversationsApiFp = ConversationsApiFp;
|
|
@@ -3819,17 +3762,6 @@ const ConversationsApiFactory = function (configuration, fetch, basePath) {
|
|
|
3819
3762
|
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options) {
|
|
3820
3763
|
return (0, exports.ConversationsApiFp)(configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options)(fetch, basePath);
|
|
3821
3764
|
},
|
|
3822
|
-
/**
|
|
3823
|
-
*
|
|
3824
|
-
* @summary Get custom conversations
|
|
3825
|
-
* @param {Array<string>} [status]
|
|
3826
|
-
* @param {string} [assignee]
|
|
3827
|
-
* @param {*} [options] Override http request option.
|
|
3828
|
-
* @throws {RequiredError}
|
|
3829
|
-
*/
|
|
3830
|
-
getCustomConversations(status, assignee, options) {
|
|
3831
|
-
return (0, exports.ConversationsApiFp)(configuration).getCustomConversations(status, assignee, options)(fetch, basePath);
|
|
3832
|
-
},
|
|
3833
3765
|
};
|
|
3834
3766
|
};
|
|
3835
3767
|
exports.ConversationsApiFactory = ConversationsApiFactory;
|
|
@@ -3861,18 +3793,6 @@ class ConversationsApi extends BaseAPI {
|
|
|
3861
3793
|
getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options) {
|
|
3862
3794
|
return (0, exports.ConversationsApiFp)(this.configuration).getConversations(tab, limit, offset, tag, onlySnoozed, assigneeId, anyThreadClosedAfter, anyThreadClosedBefore, sorting, tagGroupId, closed, options)(this.fetch, this.basePath);
|
|
3863
3795
|
}
|
|
3864
|
-
/**
|
|
3865
|
-
*
|
|
3866
|
-
* @summary Get custom conversations
|
|
3867
|
-
* @param {Array<string>} [status]
|
|
3868
|
-
* @param {string} [assignee]
|
|
3869
|
-
* @param {*} [options] Override http request option.
|
|
3870
|
-
* @throws {RequiredError}
|
|
3871
|
-
* @memberof ConversationsApi
|
|
3872
|
-
*/
|
|
3873
|
-
getCustomConversations(status, assignee, options) {
|
|
3874
|
-
return (0, exports.ConversationsApiFp)(this.configuration).getCustomConversations(status, assignee, options)(this.fetch, this.basePath);
|
|
3875
|
-
}
|
|
3876
3796
|
}
|
|
3877
3797
|
exports.ConversationsApi = ConversationsApi;
|
|
3878
3798
|
/**
|