@closerplatform/spinner-openapi 0.12.107 → 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 +26 -4
- package/dist/api.js +14 -7
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2240,6 +2240,12 @@ export interface DatasetEntryDto {
|
|
|
2240
2240
|
* @memberof DatasetEntryDto
|
|
2241
2241
|
*/
|
|
2242
2242
|
text: string;
|
|
2243
|
+
/**
|
|
2244
|
+
*
|
|
2245
|
+
* @type {Array<string>}
|
|
2246
|
+
* @memberof DatasetEntryDto
|
|
2247
|
+
*/
|
|
2248
|
+
context: Array<string>;
|
|
2243
2249
|
/**
|
|
2244
2250
|
*
|
|
2245
2251
|
* @type {string}
|
|
@@ -2271,6 +2277,12 @@ export interface DatasetEntryForm {
|
|
|
2271
2277
|
* @memberof DatasetEntryForm
|
|
2272
2278
|
*/
|
|
2273
2279
|
text: string;
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @type {Array<string>}
|
|
2283
|
+
* @memberof DatasetEntryForm
|
|
2284
|
+
*/
|
|
2285
|
+
context: Array<string>;
|
|
2274
2286
|
}
|
|
2275
2287
|
/**
|
|
2276
2288
|
*
|
|
@@ -6126,6 +6138,12 @@ export interface TestSuggestionForm {
|
|
|
6126
6138
|
* @memberof TestSuggestionForm
|
|
6127
6139
|
*/
|
|
6128
6140
|
text: string;
|
|
6141
|
+
/**
|
|
6142
|
+
*
|
|
6143
|
+
* @type {Array<string>}
|
|
6144
|
+
* @memberof TestSuggestionForm
|
|
6145
|
+
*/
|
|
6146
|
+
context: Array<string>;
|
|
6129
6147
|
}
|
|
6130
6148
|
/**
|
|
6131
6149
|
*
|
|
@@ -8532,10 +8550,11 @@ export declare const ConversationsApiFetchParamCreator: (configuration?: Configu
|
|
|
8532
8550
|
* @param {number} [anyThreadClosedBefore]
|
|
8533
8551
|
* @param {string} [sorting]
|
|
8534
8552
|
* @param {Array<string>} [tagGroupId]
|
|
8553
|
+
* @param {boolean} [closed]
|
|
8535
8554
|
* @param {*} [options] Override http request option.
|
|
8536
8555
|
* @throws {RequiredError}
|
|
8537
8556
|
*/
|
|
8538
|
-
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;
|
|
8539
8558
|
/**
|
|
8540
8559
|
*
|
|
8541
8560
|
* @summary Get custom conversations
|
|
@@ -8564,10 +8583,11 @@ export declare const ConversationsApiFp: (configuration?: Configuration) => {
|
|
|
8564
8583
|
* @param {number} [anyThreadClosedBefore]
|
|
8565
8584
|
* @param {string} [sorting]
|
|
8566
8585
|
* @param {Array<string>} [tagGroupId]
|
|
8586
|
+
* @param {boolean} [closed]
|
|
8567
8587
|
* @param {*} [options] Override http request option.
|
|
8568
8588
|
* @throws {RequiredError}
|
|
8569
8589
|
*/
|
|
8570
|
-
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>;
|
|
8571
8591
|
/**
|
|
8572
8592
|
*
|
|
8573
8593
|
* @summary Get custom conversations
|
|
@@ -8596,10 +8616,11 @@ export declare const ConversationsApiFactory: (configuration?: Configuration, fe
|
|
|
8596
8616
|
* @param {number} [anyThreadClosedBefore]
|
|
8597
8617
|
* @param {string} [sorting]
|
|
8598
8618
|
* @param {Array<string>} [tagGroupId]
|
|
8619
|
+
* @param {boolean} [closed]
|
|
8599
8620
|
* @param {*} [options] Override http request option.
|
|
8600
8621
|
* @throws {RequiredError}
|
|
8601
8622
|
*/
|
|
8602
|
-
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>;
|
|
8603
8624
|
/**
|
|
8604
8625
|
*
|
|
8605
8626
|
* @summary Get custom conversations
|
|
@@ -8630,11 +8651,12 @@ export declare class ConversationsApi extends BaseAPI {
|
|
|
8630
8651
|
* @param {number} [anyThreadClosedBefore]
|
|
8631
8652
|
* @param {string} [sorting]
|
|
8632
8653
|
* @param {Array<string>} [tagGroupId]
|
|
8654
|
+
* @param {boolean} [closed]
|
|
8633
8655
|
* @param {*} [options] Override http request option.
|
|
8634
8656
|
* @throws {RequiredError}
|
|
8635
8657
|
* @memberof ConversationsApi
|
|
8636
8658
|
*/
|
|
8637
|
-
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>;
|
|
8638
8660
|
/**
|
|
8639
8661
|
*
|
|
8640
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
|
*
|