@closerplatform/spinner-openapi 0.12.420 → 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 +6 -37
- package/dist/api.js +0 -80
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4825,6 +4825,12 @@ export interface OrgConfig {
|
|
|
4825
4825
|
* @memberof OrgConfig
|
|
4826
4826
|
*/
|
|
4827
4827
|
profanitiesCheckingEnabled?: boolean;
|
|
4828
|
+
/**
|
|
4829
|
+
*
|
|
4830
|
+
* @type {boolean}
|
|
4831
|
+
* @memberof OrgConfig
|
|
4832
|
+
*/
|
|
4833
|
+
keyboardShortcutsEnabled?: boolean;
|
|
4828
4834
|
/**
|
|
4829
4835
|
*
|
|
4830
4836
|
* @type {boolean}
|
|
@@ -8645,15 +8651,6 @@ export declare const ConversationsApiFetchParamCreator: (configuration?: Configu
|
|
|
8645
8651
|
* @throws {RequiredError}
|
|
8646
8652
|
*/
|
|
8647
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;
|
|
8648
|
-
/**
|
|
8649
|
-
*
|
|
8650
|
-
* @summary Get custom conversations
|
|
8651
|
-
* @param {Array<string>} [status]
|
|
8652
|
-
* @param {string} [assignee]
|
|
8653
|
-
* @param {*} [options] Override http request option.
|
|
8654
|
-
* @throws {RequiredError}
|
|
8655
|
-
*/
|
|
8656
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): FetchArgs;
|
|
8657
8654
|
};
|
|
8658
8655
|
/**
|
|
8659
8656
|
* ConversationsApi - functional programming interface
|
|
@@ -8678,15 +8675,6 @@ export declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
8678
8675
|
* @throws {RequiredError}
|
|
8679
8676
|
*/
|
|
8680
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>;
|
|
8681
|
-
/**
|
|
8682
|
-
*
|
|
8683
|
-
* @summary Get custom conversations
|
|
8684
|
-
* @param {Array<string>} [status]
|
|
8685
|
-
* @param {string} [assignee]
|
|
8686
|
-
* @param {*} [options] Override http request option.
|
|
8687
|
-
* @throws {RequiredError}
|
|
8688
|
-
*/
|
|
8689
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InboxState>;
|
|
8690
8678
|
};
|
|
8691
8679
|
/**
|
|
8692
8680
|
* ConversationsApi - factory interface
|
|
@@ -8711,15 +8699,6 @@ export declare const ConversationsApiFactory: (configuration?: Configuration, fe
|
|
|
8711
8699
|
* @throws {RequiredError}
|
|
8712
8700
|
*/
|
|
8713
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>;
|
|
8714
|
-
/**
|
|
8715
|
-
*
|
|
8716
|
-
* @summary Get custom conversations
|
|
8717
|
-
* @param {Array<string>} [status]
|
|
8718
|
-
* @param {string} [assignee]
|
|
8719
|
-
* @param {*} [options] Override http request option.
|
|
8720
|
-
* @throws {RequiredError}
|
|
8721
|
-
*/
|
|
8722
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): Promise<InboxState>;
|
|
8723
8702
|
};
|
|
8724
8703
|
/**
|
|
8725
8704
|
* ConversationsApi - object-oriented interface
|
|
@@ -8747,16 +8726,6 @@ export declare class ConversationsApi extends BaseAPI {
|
|
|
8747
8726
|
* @memberof ConversationsApi
|
|
8748
8727
|
*/
|
|
8749
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>;
|
|
8750
|
-
/**
|
|
8751
|
-
*
|
|
8752
|
-
* @summary Get custom conversations
|
|
8753
|
-
* @param {Array<string>} [status]
|
|
8754
|
-
* @param {string} [assignee]
|
|
8755
|
-
* @param {*} [options] Override http request option.
|
|
8756
|
-
* @throws {RequiredError}
|
|
8757
|
-
* @memberof ConversationsApi
|
|
8758
|
-
*/
|
|
8759
|
-
getCustomConversations(status?: Array<string>, assignee?: string, options?: any): Promise<InboxState>;
|
|
8760
8729
|
}
|
|
8761
8730
|
/**
|
|
8762
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
|
/**
|