@gleanwork/api-client 0.14.13 → 0.14.14
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/README.md +9 -9
- package/dist/commonjs/__tests__/messages.test.js +1 -1
- package/dist/commonjs/__tests__/messages.test.js.map +1 -1
- package/dist/commonjs/__tests__/summarize.test.js +2 -3
- package/dist/commonjs/__tests__/summarize.test.js.map +1 -1
- package/dist/commonjs/funcs/clientChatDeleteFiles.d.ts +1 -1
- package/dist/commonjs/funcs/clientChatDeleteFiles.js +1 -1
- package/dist/commonjs/funcs/clientChatRetrieveFiles.d.ts +1 -1
- package/dist/commonjs/funcs/clientChatRetrieveFiles.js +1 -1
- package/dist/commonjs/funcs/clientChatUploadFiles.d.ts +1 -1
- package/dist/commonjs/funcs/clientChatUploadFiles.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/chatfilestatus.d.ts +1 -0
- package/dist/commonjs/models/components/chatfilestatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/chatfilestatus.js +1 -0
- package/dist/commonjs/models/components/chatfilestatus.js.map +1 -1
- package/dist/commonjs/models/components/documentdefinition.d.ts +5 -0
- package/dist/commonjs/models/components/documentdefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/documentdefinition.js +1 -0
- package/dist/commonjs/models/components/documentdefinition.js.map +1 -1
- package/dist/commonjs/react-query/clientChatDeleteFiles.d.ts +1 -1
- package/dist/commonjs/react-query/clientChatDeleteFiles.js +1 -1
- package/dist/commonjs/react-query/clientChatRetrieveFiles.d.ts +1 -1
- package/dist/commonjs/react-query/clientChatRetrieveFiles.js +1 -1
- package/dist/commonjs/react-query/clientChatUploadFiles.d.ts +1 -1
- package/dist/commonjs/react-query/clientChatUploadFiles.js +1 -1
- package/dist/commonjs/sdk/chat.d.ts +3 -3
- package/dist/commonjs/sdk/chat.js +3 -3
- package/dist/esm/__tests__/messages.test.js +1 -1
- package/dist/esm/__tests__/messages.test.js.map +1 -1
- package/dist/esm/__tests__/summarize.test.js +2 -3
- package/dist/esm/__tests__/summarize.test.js.map +1 -1
- package/dist/esm/funcs/clientChatDeleteFiles.d.ts +1 -1
- package/dist/esm/funcs/clientChatDeleteFiles.js +1 -1
- package/dist/esm/funcs/clientChatRetrieveFiles.d.ts +1 -1
- package/dist/esm/funcs/clientChatRetrieveFiles.js +1 -1
- package/dist/esm/funcs/clientChatUploadFiles.d.ts +1 -1
- package/dist/esm/funcs/clientChatUploadFiles.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/chatfilestatus.d.ts +1 -0
- package/dist/esm/models/components/chatfilestatus.d.ts.map +1 -1
- package/dist/esm/models/components/chatfilestatus.js +1 -0
- package/dist/esm/models/components/chatfilestatus.js.map +1 -1
- package/dist/esm/models/components/documentdefinition.d.ts +5 -0
- package/dist/esm/models/components/documentdefinition.d.ts.map +1 -1
- package/dist/esm/models/components/documentdefinition.js +1 -0
- package/dist/esm/models/components/documentdefinition.js.map +1 -1
- package/dist/esm/react-query/clientChatDeleteFiles.d.ts +1 -1
- package/dist/esm/react-query/clientChatDeleteFiles.js +1 -1
- package/dist/esm/react-query/clientChatRetrieveFiles.d.ts +1 -1
- package/dist/esm/react-query/clientChatRetrieveFiles.js +1 -1
- package/dist/esm/react-query/clientChatUploadFiles.d.ts +1 -1
- package/dist/esm/react-query/clientChatUploadFiles.js +1 -1
- package/dist/esm/sdk/chat.d.ts +3 -3
- package/dist/esm/sdk/chat.js +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/messages.test.ts +1 -1
- package/src/__tests__/summarize.test.ts +2 -3
- package/src/funcs/clientChatDeleteFiles.ts +1 -1
- package/src/funcs/clientChatRetrieveFiles.ts +1 -1
- package/src/funcs/clientChatUploadFiles.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/chatfilestatus.ts +1 -0
- package/src/models/components/documentdefinition.ts +6 -0
- package/src/react-query/clientChatDeleteFiles.ts +1 -1
- package/src/react-query/clientChatRetrieveFiles.ts +1 -1
- package/src/react-query/clientChatUploadFiles.ts +1 -1
- package/src/sdk/chat.ts +3 -3
package/README.md
CHANGED
|
@@ -323,9 +323,9 @@ For more information on obtaining the appropriate token type, please contact you
|
|
|
323
323
|
* [retrieve](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat
|
|
324
324
|
* [list](docs/sdks/chat/README.md#list) - Retrieves all saved Chats
|
|
325
325
|
* [retrieveApplication](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application
|
|
326
|
-
* [uploadFiles](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
|
|
327
|
-
* [retrieveFiles](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
|
|
328
|
-
* [deleteFiles](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
|
|
326
|
+
* [uploadFiles](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
|
|
327
|
+
* [retrieveFiles](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
|
|
328
|
+
* [deleteFiles](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
|
|
329
329
|
* [createStream](docs/sdks/chat/README.md#createstream) - Chat
|
|
330
330
|
|
|
331
331
|
### [Client.Collections](docs/sdks/collections/README.md)
|
|
@@ -525,12 +525,12 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
525
525
|
- [`clientChatCreateStream`](docs/sdks/chat/README.md#createstream) - Chat
|
|
526
526
|
- [`clientChatDelete`](docs/sdks/chat/README.md#delete) - Deletes saved Chats
|
|
527
527
|
- [`clientChatDeleteAll`](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user
|
|
528
|
-
- [`clientChatDeleteFiles`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
|
|
528
|
+
- [`clientChatDeleteFiles`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
|
|
529
529
|
- [`clientChatList`](docs/sdks/chat/README.md#list) - Retrieves all saved Chats
|
|
530
530
|
- [`clientChatRetrieve`](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat
|
|
531
531
|
- [`clientChatRetrieveApplication`](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application
|
|
532
|
-
- [`clientChatRetrieveFiles`](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
|
|
533
|
-
- [`clientChatUploadFiles`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
|
|
532
|
+
- [`clientChatRetrieveFiles`](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
|
|
533
|
+
- [`clientChatUploadFiles`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
|
|
534
534
|
- [`clientCollectionsAddItems`](docs/sdks/collections/README.md#additems) - Add Collection item
|
|
535
535
|
- [`clientCollectionsCreate`](docs/sdks/collections/README.md#create) - Create Collection
|
|
536
536
|
- [`clientCollectionsDelete`](docs/sdks/collections/README.md#delete) - Delete Collection
|
|
@@ -670,13 +670,13 @@ To learn about this feature and how to get started, check
|
|
|
670
670
|
- [`useClientChatCreateMutation`](docs/sdks/chat/README.md#create) - Chat
|
|
671
671
|
- [`useClientChatCreateStreamMutation`](docs/sdks/chat/README.md#createstream) - Chat
|
|
672
672
|
- [`useClientChatDeleteAllMutation`](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user
|
|
673
|
-
- [`useClientChatDeleteFilesMutation`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
|
|
673
|
+
- [`useClientChatDeleteFilesMutation`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
|
|
674
674
|
- [`useClientChatDeleteMutation`](docs/sdks/chat/README.md#delete) - Deletes saved Chats
|
|
675
675
|
- [`useClientChatListMutation`](docs/sdks/chat/README.md#list) - Retrieves all saved Chats
|
|
676
676
|
- [`useClientChatRetrieveApplicationMutation`](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application
|
|
677
|
-
- [`useClientChatRetrieveFilesMutation`](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
|
|
677
|
+
- [`useClientChatRetrieveFilesMutation`](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
|
|
678
678
|
- [`useClientChatRetrieveMutation`](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat
|
|
679
|
-
- [`useClientChatUploadFilesMutation`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
|
|
679
|
+
- [`useClientChatUploadFilesMutation`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
|
|
680
680
|
- [`useClientCollectionsAddItemsMutation`](docs/sdks/collections/README.md#additems) - Add Collection item
|
|
681
681
|
- [`useClientCollectionsCreateMutation`](docs/sdks/collections/README.md#create) - Create Collection
|
|
682
682
|
- [`useClientCollectionsDeleteItemMutation`](docs/sdks/collections/README.md#deleteitem) - Delete Collection item
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH,mCAAsC;AACtC,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH,mCAAsC;AACtC,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,mBAAmB;KAChC,CAAC,CAAC;IACH,IAAA,eAAM,EAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -17,12 +17,11 @@ const testclient_js_1 = require("./testclient.js");
|
|
|
17
17
|
const result = await glean.client.documents.summarize({
|
|
18
18
|
documentSpecs: [
|
|
19
19
|
{
|
|
20
|
-
ugcType: "
|
|
20
|
+
ugcType: "ANNOUNCEMENTS",
|
|
21
21
|
ugcId: "<id>",
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
|
|
25
|
-
contentId: 823890,
|
|
24
|
+
id: "<id>",
|
|
26
25
|
},
|
|
27
26
|
],
|
|
28
27
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summarize.test.js","sourceRoot":"","sources":["../../../src/__tests__/summarize.test.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH,mCAAsC;AACtC,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;IACrC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,WAAW,CAAC,CAAC;IAEzD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC;QACpD,aAAa,EAAE;YACb;gBACE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"summarize.test.js","sourceRoot":"","sources":["../../../src/__tests__/summarize.test.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH,mCAAsC;AACtC,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;IACrC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,WAAW,CAAC,CAAC;IAEzD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC;QACpD,aAAa,EAAE;YACb;gBACE,OAAO,EAAE,eAAe;gBACxB,KAAK,EAAE,MAAM;aACd;YACD;gBACE,EAAE,EAAE,MAAM;aACX;SACF;KACF,CAAC,CAAC;IACH,IAAA,eAAM,EAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
* Delete files uploaded by a user for chat
|
|
11
|
+
* Delete files uploaded by a user for chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Delete files uploaded by a user for Chat.
|
|
@@ -48,7 +48,7 @@ const url_js_1 = require("../lib/url.js");
|
|
|
48
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
51
|
-
* Delete files uploaded by a user for chat
|
|
51
|
+
* Delete files uploaded by a user for chat
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
54
|
* Delete files uploaded by a user for Chat.
|
|
@@ -8,7 +8,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
* Get files uploaded by a user for Chat
|
|
11
|
+
* Get files uploaded by a user for Chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Get files uploaded by a user for Chat.
|
|
@@ -48,7 +48,7 @@ const components = __importStar(require("../models/components/index.js"));
|
|
|
48
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
51
|
-
* Get files uploaded by a user for Chat
|
|
51
|
+
* Get files uploaded by a user for Chat
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
54
|
* Get files uploaded by a user for Chat.
|
|
@@ -8,7 +8,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
* Upload files for Chat
|
|
11
|
+
* Upload files for Chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Upload files for Chat.
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
const blobs_js_1 = require("../types/blobs.js");
|
|
52
52
|
const streams_js_1 = require("../types/streams.js");
|
|
53
53
|
/**
|
|
54
|
-
* Upload files for Chat
|
|
54
|
+
* Upload files for Chat
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
57
|
* Upload files for Chat.
|
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "0.9.0";
|
|
38
|
-
readonly sdkVersion: "0.14.
|
|
39
|
-
readonly genVersion: "2.869.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.14.
|
|
38
|
+
readonly sdkVersion: "0.14.14";
|
|
39
|
+
readonly genVersion: "2.869.25";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.14.14 2.869.25 0.9.0 @gleanwork/api-client";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -39,8 +39,8 @@ function serverURLFromOptions(options) {
|
|
|
39
39
|
exports.SDK_METADATA = {
|
|
40
40
|
language: "typescript",
|
|
41
41
|
openapiDocVersion: "0.9.0",
|
|
42
|
-
sdkVersion: "0.14.
|
|
43
|
-
genVersion: "2.869.
|
|
44
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
42
|
+
sdkVersion: "0.14.14",
|
|
43
|
+
genVersion: "2.869.25",
|
|
44
|
+
userAgent: "speakeasy-sdk/typescript 0.14.14 2.869.25 0.9.0 @gleanwork/api-client",
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,6 +6,7 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
6
6
|
export declare const ChatFileStatus: {
|
|
7
7
|
readonly Processing: "PROCESSING";
|
|
8
8
|
readonly Processed: "PROCESSED";
|
|
9
|
+
readonly PartiallyProcessed: "PARTIALLY_PROCESSED";
|
|
9
10
|
readonly Failed: "FAILED";
|
|
10
11
|
readonly Deleted: "DELETED";
|
|
11
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatfilestatus.d.ts","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"chatfilestatus.d.ts","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CACkC,CAAC;AAC5C,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,cAAc,CAC4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatfilestatus.js","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGlD;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,SAAS,CAAC,aAAa,CAAC,sBAAc,CAAC,CAAC;AAC5C,gBAAgB;AACH,QAAA,6BAA6B,GAItC,SAAS,CAAC,cAAc,CAAC,sBAAc,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"chatfilestatus.js","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGlD;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,qBAAqB;IACzC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,SAAS,CAAC,aAAa,CAAC,sBAAc,CAAC,CAAC;AAC5C,gBAAgB;AACH,QAAA,6BAA6B,GAItC,SAAS,CAAC,cAAc,CAAC,sBAAc,CAAC,CAAC"}
|
|
@@ -91,6 +91,10 @@ export type DocumentDefinition = {
|
|
|
91
91
|
* Additional variations of the URL that this document points to.
|
|
92
92
|
*/
|
|
93
93
|
additionalUrls?: Array<string> | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://channel/message).
|
|
96
|
+
*/
|
|
97
|
+
nativeAppUrl?: string | undefined;
|
|
94
98
|
/**
|
|
95
99
|
* Comments associated with the document.
|
|
96
100
|
*/
|
|
@@ -123,6 +127,7 @@ export type DocumentDefinition$Outbound = {
|
|
|
123
127
|
interactions?: DocumentInteractionsDefinition$Outbound | undefined;
|
|
124
128
|
status?: string | undefined;
|
|
125
129
|
additionalUrls?: Array<string> | undefined;
|
|
130
|
+
nativeAppUrl?: string | undefined;
|
|
126
131
|
comments?: Array<CommentDefinition$Outbound> | undefined;
|
|
127
132
|
customProperties?: Array<CustomProperty$Outbound> | undefined;
|
|
128
133
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentdefinition.d.ts","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAA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S,CAAC;IACzD,gBAAgB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,
|
|
1
|
+
{"version":3,"file":"documentdefinition.d.ts","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,OAAO,CA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AAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CA0BlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -69,6 +69,7 @@ exports.DocumentDefinition$outboundSchema = z.object({
|
|
|
69
69
|
interactions: documentinteractionsdefinition_js_1.DocumentInteractionsDefinition$outboundSchema.optional(),
|
|
70
70
|
status: z.string().optional(),
|
|
71
71
|
additionalUrls: z.array(z.string()).optional(),
|
|
72
|
+
nativeAppUrl: z.string().optional(),
|
|
72
73
|
comments: z.array(commentdefinition_js_1.CommentDefinition$outboundSchema).optional(),
|
|
73
74
|
customProperties: z.array(customproperty_js_1.CustomProperty$outboundSchema).optional(),
|
|
74
75
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentdefinition.js","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"documentdefinition.js","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkMH,4DAMC;AAtMD,0CAA4B;AAC5B,iEAIgC;AAChC,iEAIgC;AAChC,2DAI6B;AAC7B,2FAI6C;AAC7C,yFAI4C;AAC5C,6EAIsC;AAkItC,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,qBAAqB,EAAE,CAAC,CAAC,MAAM,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AA6B,CAAC,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type ClientChatDeleteFilesMutationVariables = {
|
|
|
16
16
|
export type ClientChatDeleteFilesMutationData = void;
|
|
17
17
|
export type ClientChatDeleteFilesMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
18
18
|
/**
|
|
19
|
-
* Delete files uploaded by a user for chat
|
|
19
|
+
* Delete files uploaded by a user for chat
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Delete files uploaded by a user for Chat.
|
|
@@ -13,7 +13,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
13
13
|
const fp_js_1 = require("../types/fp.js");
|
|
14
14
|
const _context_js_1 = require("./_context.js");
|
|
15
15
|
/**
|
|
16
|
-
* Delete files uploaded by a user for chat
|
|
16
|
+
* Delete files uploaded by a user for chat
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
* Delete files uploaded by a user for Chat.
|
|
@@ -16,7 +16,7 @@ export type ClientChatRetrieveFilesMutationVariables = {
|
|
|
16
16
|
export type ClientChatRetrieveFilesMutationData = components.GetChatFilesResponse;
|
|
17
17
|
export type ClientChatRetrieveFilesMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
18
18
|
/**
|
|
19
|
-
* Get files uploaded by a user for Chat
|
|
19
|
+
* Get files uploaded by a user for Chat
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Get files uploaded by a user for Chat.
|
|
@@ -13,7 +13,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
13
13
|
const fp_js_1 = require("../types/fp.js");
|
|
14
14
|
const _context_js_1 = require("./_context.js");
|
|
15
15
|
/**
|
|
16
|
-
* Get files uploaded by a user for Chat
|
|
16
|
+
* Get files uploaded by a user for Chat
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
* Get files uploaded by a user for Chat.
|
|
@@ -16,7 +16,7 @@ export type ClientChatUploadFilesMutationVariables = {
|
|
|
16
16
|
export type ClientChatUploadFilesMutationData = components.UploadChatFilesResponse;
|
|
17
17
|
export type ClientChatUploadFilesMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
18
18
|
/**
|
|
19
|
-
* Upload files for Chat
|
|
19
|
+
* Upload files for Chat
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Upload files for Chat.
|
|
@@ -13,7 +13,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
13
13
|
const fp_js_1 = require("../types/fp.js");
|
|
14
14
|
const _context_js_1 = require("./_context.js");
|
|
15
15
|
/**
|
|
16
|
-
* Upload files for Chat
|
|
16
|
+
* Upload files for Chat
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
* Upload files for Chat.
|
|
@@ -44,21 +44,21 @@ export declare class Chat extends ClientSDK {
|
|
|
44
44
|
*/
|
|
45
45
|
retrieveApplication(getChatApplicationRequest: components.GetChatApplicationRequest, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.GetChatApplicationResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* Upload files for Chat
|
|
47
|
+
* Upload files for Chat
|
|
48
48
|
*
|
|
49
49
|
* @remarks
|
|
50
50
|
* Upload files for Chat.
|
|
51
51
|
*/
|
|
52
52
|
uploadFiles(uploadChatFilesRequest: components.UploadChatFilesRequest, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.UploadChatFilesResponse>;
|
|
53
53
|
/**
|
|
54
|
-
* Get files uploaded by a user for Chat
|
|
54
|
+
* Get files uploaded by a user for Chat
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
57
|
* Get files uploaded by a user for Chat.
|
|
58
58
|
*/
|
|
59
59
|
retrieveFiles(getChatFilesRequest: components.GetChatFilesRequest, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.GetChatFilesResponse>;
|
|
60
60
|
/**
|
|
61
|
-
* Delete files uploaded by a user for chat
|
|
61
|
+
* Delete files uploaded by a user for chat
|
|
62
62
|
*
|
|
63
63
|
* @remarks
|
|
64
64
|
* Delete files uploaded by a user for Chat.
|
|
@@ -73,7 +73,7 @@ class Chat extends sdks_js_1.ClientSDK {
|
|
|
73
73
|
return (0, fp_js_1.unwrapAsync)((0, clientChatRetrieveApplication_js_1.clientChatRetrieveApplication)(this, getChatApplicationRequest, locale, timezoneOffset, options));
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
|
-
* Upload files for Chat
|
|
76
|
+
* Upload files for Chat
|
|
77
77
|
*
|
|
78
78
|
* @remarks
|
|
79
79
|
* Upload files for Chat.
|
|
@@ -82,7 +82,7 @@ class Chat extends sdks_js_1.ClientSDK {
|
|
|
82
82
|
return (0, fp_js_1.unwrapAsync)((0, clientChatUploadFiles_js_1.clientChatUploadFiles)(this, uploadChatFilesRequest, locale, timezoneOffset, options));
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
* Get files uploaded by a user for Chat
|
|
85
|
+
* Get files uploaded by a user for Chat
|
|
86
86
|
*
|
|
87
87
|
* @remarks
|
|
88
88
|
* Get files uploaded by a user for Chat.
|
|
@@ -91,7 +91,7 @@ class Chat extends sdks_js_1.ClientSDK {
|
|
|
91
91
|
return (0, fp_js_1.unwrapAsync)((0, clientChatRetrieveFiles_js_1.clientChatRetrieveFiles)(this, getChatFilesRequest, locale, timezoneOffset, options));
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
* Delete files uploaded by a user for chat
|
|
94
|
+
* Delete files uploaded by a user for chat
|
|
95
95
|
*
|
|
96
96
|
* @remarks
|
|
97
97
|
* Delete files uploaded by a user for Chat.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,IAAI,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,cAAc,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,IAAI,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,cAAc,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,mBAAmB;KAChC,CAAC,CAAC;IACH,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -15,12 +15,11 @@ test("Summarize Summarize", async () => {
|
|
|
15
15
|
const result = await glean.client.documents.summarize({
|
|
16
16
|
documentSpecs: [
|
|
17
17
|
{
|
|
18
|
-
ugcType: "
|
|
18
|
+
ugcType: "ANNOUNCEMENTS",
|
|
19
19
|
ugcId: "<id>",
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
|
|
23
|
-
contentId: 823890,
|
|
22
|
+
id: "<id>",
|
|
24
23
|
},
|
|
25
24
|
],
|
|
26
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summarize.test.js","sourceRoot":"","sources":["../../../src/__tests__/summarize.test.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,IAAI,CAAC,qBAAqB,EAAE,KAA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,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
* Delete files uploaded by a user for chat
|
|
11
|
+
* Delete files uploaded by a user for chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Delete files uploaded by a user for Chat.
|
|
@@ -12,7 +12,7 @@ import { pathToFunc } from "../lib/url.js";
|
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { APIPromise } from "../types/async.js";
|
|
14
14
|
/**
|
|
15
|
-
* Delete files uploaded by a user for chat
|
|
15
|
+
* Delete files uploaded by a user for chat
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Delete files uploaded by a user for Chat.
|
|
@@ -8,7 +8,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
* Get files uploaded by a user for Chat
|
|
11
|
+
* Get files uploaded by a user for Chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Get files uploaded by a user for Chat.
|
|
@@ -12,7 +12,7 @@ import * as components from "../models/components/index.js";
|
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { APIPromise } from "../types/async.js";
|
|
14
14
|
/**
|
|
15
|
-
* Get files uploaded by a user for Chat
|
|
15
|
+
* Get files uploaded by a user for Chat
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Get files uploaded by a user for Chat.
|
|
@@ -8,7 +8,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
* Upload files for Chat
|
|
11
|
+
* Upload files for Chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Upload files for Chat.
|
|
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
import { isBlobLike } from "../types/blobs.js";
|
|
16
16
|
import { isReadableStream } from "../types/streams.js";
|
|
17
17
|
/**
|
|
18
|
-
* Upload files for Chat
|
|
18
|
+
* Upload files for Chat
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
21
|
* Upload files for Chat.
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "0.9.0";
|
|
38
|
-
readonly sdkVersion: "0.14.
|
|
39
|
-
readonly genVersion: "2.869.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.14.
|
|
38
|
+
readonly sdkVersion: "0.14.14";
|
|
39
|
+
readonly genVersion: "2.869.25";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.14.14 2.869.25 0.9.0 @gleanwork/api-client";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -35,8 +35,8 @@ export function serverURLFromOptions(options) {
|
|
|
35
35
|
export const SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "0.9.0",
|
|
38
|
-
sdkVersion: "0.14.
|
|
39
|
-
genVersion: "2.869.
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
38
|
+
sdkVersion: "0.14.14",
|
|
39
|
+
genVersion: "2.869.25",
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.14.14 2.869.25 0.9.0 @gleanwork/api-client",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,6 +6,7 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
6
6
|
export declare const ChatFileStatus: {
|
|
7
7
|
readonly Processing: "PROCESSING";
|
|
8
8
|
readonly Processed: "PROCESSED";
|
|
9
|
+
readonly PartiallyProcessed: "PARTIALLY_PROCESSED";
|
|
9
10
|
readonly Failed: "FAILED";
|
|
10
11
|
readonly Deleted: "DELETED";
|
|
11
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatfilestatus.d.ts","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"chatfilestatus.d.ts","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CACkC,CAAC;AAC5C,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,cAAc,CAC4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatfilestatus.js","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAC5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,SAAS,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"chatfilestatus.js","sourceRoot":"","sources":["../../../../src/models/components/chatfilestatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,qBAAqB;IACzC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAC5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,SAAS,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -91,6 +91,10 @@ export type DocumentDefinition = {
|
|
|
91
91
|
* Additional variations of the URL that this document points to.
|
|
92
92
|
*/
|
|
93
93
|
additionalUrls?: Array<string> | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://channel/message).
|
|
96
|
+
*/
|
|
97
|
+
nativeAppUrl?: string | undefined;
|
|
94
98
|
/**
|
|
95
99
|
* Comments associated with the document.
|
|
96
100
|
*/
|
|
@@ -123,6 +127,7 @@ export type DocumentDefinition$Outbound = {
|
|
|
123
127
|
interactions?: DocumentInteractionsDefinition$Outbound | undefined;
|
|
124
128
|
status?: string | undefined;
|
|
125
129
|
additionalUrls?: Array<string> | undefined;
|
|
130
|
+
nativeAppUrl?: string | undefined;
|
|
126
131
|
comments?: Array<CommentDefinition$Outbound> | undefined;
|
|
127
132
|
customProperties?: Array<CustomProperty$Outbound> | undefined;
|
|
128
133
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentdefinition.d.ts","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;OAE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;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,
|
|
1
|
+
{"version":3,"file":"documentdefinition.d.ts","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM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,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -32,6 +32,7 @@ export const DocumentDefinition$outboundSchema = z.object({
|
|
|
32
32
|
interactions: DocumentInteractionsDefinition$outboundSchema.optional(),
|
|
33
33
|
status: z.string().optional(),
|
|
34
34
|
additionalUrls: z.array(z.string()).optional(),
|
|
35
|
+
nativeAppUrl: z.string().optional(),
|
|
35
36
|
comments: z.array(CommentDefinition$outboundSchema).optional(),
|
|
36
37
|
customProperties: z.array(CustomProperty$outboundSchema).optional(),
|
|
37
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentdefinition.js","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAGL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,6CAA6C,GAC9C,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,4CAA4C,GAC7C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAGL,sCAAsC,GACvC,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"documentdefinition.js","sourceRoot":"","sources":["../../../../src/models/components/documentdefinition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAGL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,6CAA6C,GAC9C,MAAM,qCAA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AAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,6CAA6C,CAAC,QAAQ,EAAE;IACtE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC,QAAQ,EAAE;IAC9D,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type ClientChatDeleteFilesMutationVariables = {
|
|
|
16
16
|
export type ClientChatDeleteFilesMutationData = void;
|
|
17
17
|
export type ClientChatDeleteFilesMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
18
18
|
/**
|
|
19
|
-
* Delete files uploaded by a user for chat
|
|
19
|
+
* Delete files uploaded by a user for chat
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Delete files uploaded by a user for Chat.
|
|
@@ -8,7 +8,7 @@ import { combineSignals } from "../lib/primitives.js";
|
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
import { useGleanContext } from "./_context.js";
|
|
10
10
|
/**
|
|
11
|
-
* Delete files uploaded by a user for chat
|
|
11
|
+
* Delete files uploaded by a user for chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Delete files uploaded by a user for Chat.
|
|
@@ -16,7 +16,7 @@ export type ClientChatRetrieveFilesMutationVariables = {
|
|
|
16
16
|
export type ClientChatRetrieveFilesMutationData = components.GetChatFilesResponse;
|
|
17
17
|
export type ClientChatRetrieveFilesMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
18
18
|
/**
|
|
19
|
-
* Get files uploaded by a user for Chat
|
|
19
|
+
* Get files uploaded by a user for Chat
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Get files uploaded by a user for Chat.
|
|
@@ -8,7 +8,7 @@ import { combineSignals } from "../lib/primitives.js";
|
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
import { useGleanContext } from "./_context.js";
|
|
10
10
|
/**
|
|
11
|
-
* Get files uploaded by a user for Chat
|
|
11
|
+
* Get files uploaded by a user for Chat
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* Get files uploaded by a user for Chat.
|
|
@@ -16,7 +16,7 @@ export type ClientChatUploadFilesMutationVariables = {
|
|
|
16
16
|
export type ClientChatUploadFilesMutationData = components.UploadChatFilesResponse;
|
|
17
17
|
export type ClientChatUploadFilesMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
18
18
|
/**
|
|
19
|
-
* Upload files for Chat
|
|
19
|
+
* Upload files for Chat
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Upload files for Chat.
|
package/dist/esm/sdk/chat.d.ts
CHANGED
|
@@ -44,21 +44,21 @@ export declare class Chat extends ClientSDK {
|
|
|
44
44
|
*/
|
|
45
45
|
retrieveApplication(getChatApplicationRequest: components.GetChatApplicationRequest, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.GetChatApplicationResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* Upload files for Chat
|
|
47
|
+
* Upload files for Chat
|
|
48
48
|
*
|
|
49
49
|
* @remarks
|
|
50
50
|
* Upload files for Chat.
|
|
51
51
|
*/
|
|
52
52
|
uploadFiles(uploadChatFilesRequest: components.UploadChatFilesRequest, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.UploadChatFilesResponse>;
|
|
53
53
|
/**
|
|
54
|
-
* Get files uploaded by a user for Chat
|
|
54
|
+
* Get files uploaded by a user for Chat
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
57
|
* Get files uploaded by a user for Chat.
|
|
58
58
|
*/
|
|
59
59
|
retrieveFiles(getChatFilesRequest: components.GetChatFilesRequest, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.GetChatFilesResponse>;
|
|
60
60
|
/**
|
|
61
|
-
* Delete files uploaded by a user for chat
|
|
61
|
+
* Delete files uploaded by a user for chat
|
|
62
62
|
*
|
|
63
63
|
* @remarks
|
|
64
64
|
* Delete files uploaded by a user for Chat.
|
package/dist/esm/sdk/chat.js
CHANGED
|
@@ -70,7 +70,7 @@ export class Chat extends ClientSDK {
|
|
|
70
70
|
return unwrapAsync(clientChatRetrieveApplication(this, getChatApplicationRequest, locale, timezoneOffset, options));
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
* Upload files for Chat
|
|
73
|
+
* Upload files for Chat
|
|
74
74
|
*
|
|
75
75
|
* @remarks
|
|
76
76
|
* Upload files for Chat.
|
|
@@ -79,7 +79,7 @@ export class Chat extends ClientSDK {
|
|
|
79
79
|
return unwrapAsync(clientChatUploadFiles(this, uploadChatFilesRequest, locale, timezoneOffset, options));
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Get files uploaded by a user for Chat
|
|
82
|
+
* Get files uploaded by a user for Chat
|
|
83
83
|
*
|
|
84
84
|
* @remarks
|
|
85
85
|
* Get files uploaded by a user for Chat.
|
|
@@ -88,7 +88,7 @@ export class Chat extends ClientSDK {
|
|
|
88
88
|
return unwrapAsync(clientChatRetrieveFiles(this, getChatFilesRequest, locale, timezoneOffset, options));
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* Delete files uploaded by a user for chat
|
|
91
|
+
* Delete files uploaded by a user for chat
|
|
92
92
|
*
|
|
93
93
|
* @remarks
|
|
94
94
|
* Delete files uploaded by a user for Chat.
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -19,12 +19,11 @@ test("Summarize Summarize", async () => {
|
|
|
19
19
|
const result = await glean.client.documents.summarize({
|
|
20
20
|
documentSpecs: [
|
|
21
21
|
{
|
|
22
|
-
ugcType: "
|
|
22
|
+
ugcType: "ANNOUNCEMENTS",
|
|
23
23
|
ugcId: "<id>",
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
|
|
27
|
-
contentId: 823890,
|
|
26
|
+
id: "<id>",
|
|
28
27
|
},
|
|
29
28
|
],
|
|
30
29
|
});
|
|
@@ -28,7 +28,7 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
28
28
|
import { Result } from "../types/fp.js";
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Delete files uploaded by a user for chat
|
|
31
|
+
* Delete files uploaded by a user for chat
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Delete files uploaded by a user for Chat.
|
|
@@ -27,7 +27,7 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
27
27
|
import { Result } from "../types/fp.js";
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Get files uploaded by a user for Chat
|
|
30
|
+
* Get files uploaded by a user for Chat
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
33
|
* Get files uploaded by a user for Chat.
|
package/src/lib/config.ts
CHANGED
|
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "0.9.0",
|
|
76
|
-
sdkVersion: "0.14.
|
|
77
|
-
genVersion: "2.869.
|
|
76
|
+
sdkVersion: "0.14.14",
|
|
77
|
+
genVersion: "2.869.25",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 0.14.
|
|
79
|
+
"speakeasy-sdk/typescript 0.14.14 2.869.25 0.9.0 @gleanwork/api-client",
|
|
80
80
|
} as const;
|
|
@@ -121,6 +121,10 @@ export type DocumentDefinition = {
|
|
|
121
121
|
* Additional variations of the URL that this document points to.
|
|
122
122
|
*/
|
|
123
123
|
additionalUrls?: Array<string> | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://channel/message).
|
|
126
|
+
*/
|
|
127
|
+
nativeAppUrl?: string | undefined;
|
|
124
128
|
/**
|
|
125
129
|
* Comments associated with the document.
|
|
126
130
|
*/
|
|
@@ -154,6 +158,7 @@ export type DocumentDefinition$Outbound = {
|
|
|
154
158
|
interactions?: DocumentInteractionsDefinition$Outbound | undefined;
|
|
155
159
|
status?: string | undefined;
|
|
156
160
|
additionalUrls?: Array<string> | undefined;
|
|
161
|
+
nativeAppUrl?: string | undefined;
|
|
157
162
|
comments?: Array<CommentDefinition$Outbound> | undefined;
|
|
158
163
|
customProperties?: Array<CustomProperty$Outbound> | undefined;
|
|
159
164
|
};
|
|
@@ -185,6 +190,7 @@ export const DocumentDefinition$outboundSchema: z.ZodType<
|
|
|
185
190
|
interactions: DocumentInteractionsDefinition$outboundSchema.optional(),
|
|
186
191
|
status: z.string().optional(),
|
|
187
192
|
additionalUrls: z.array(z.string()).optional(),
|
|
193
|
+
nativeAppUrl: z.string().optional(),
|
|
188
194
|
comments: z.array(CommentDefinition$outboundSchema).optional(),
|
|
189
195
|
customProperties: z.array(CustomProperty$outboundSchema).optional(),
|
|
190
196
|
});
|
package/src/sdk/chat.ts
CHANGED
|
@@ -141,7 +141,7 @@ export class Chat extends ClientSDK {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* Upload files for Chat
|
|
144
|
+
* Upload files for Chat
|
|
145
145
|
*
|
|
146
146
|
* @remarks
|
|
147
147
|
* Upload files for Chat.
|
|
@@ -162,7 +162,7 @@ export class Chat extends ClientSDK {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* Get files uploaded by a user for Chat
|
|
165
|
+
* Get files uploaded by a user for Chat
|
|
166
166
|
*
|
|
167
167
|
* @remarks
|
|
168
168
|
* Get files uploaded by a user for Chat.
|
|
@@ -183,7 +183,7 @@ export class Chat extends ClientSDK {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Delete files uploaded by a user for chat
|
|
186
|
+
* Delete files uploaded by a user for chat
|
|
187
187
|
*
|
|
188
188
|
* @remarks
|
|
189
189
|
* Delete files uploaded by a user for Chat.
|