diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c66c4e4e..806af6c7 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 664aaca5-a41f-4434-8f2a-642dba92fe68 management: - docChecksum: 37d6cc2da3d557fea3dcc4a18c4e2372 + docChecksum: 2b2ce854d657d789a98d46023428c81a docVersion: 0.9.0 speakeasyVersion: 1.796.4 generationVersion: 2.935.1 - releaseVersion: 0.20.4 - configChecksum: 0710853e2fb25f353d91bbe4a5bfb5d4 + releaseVersion: 0.20.5 + configChecksum: 6b303cc78ceb65b7a88722ef5edf8ce7 repoURL: https://github.com/gleanwork/api-client-typescript.git installationURL: https://github.com/gleanwork/api-client-typescript published: true persistentEdits: - generation_id: 58bf7cc5-9666-4ce0-877f-b632a464bee5 - pristine_commit_hash: 67070bfdfa2080226d3584e79a900c7f66151b95 - pristine_tree_hash: c9e0198ee8b28e051018edc2d497925102195bd3 + generation_id: d7f95137-fa05-4bc4-a0ec-ce40d9096fbc + pristine_commit_hash: beddd4b0a7768b963ba25ea04e8aba92dd95351f + pristine_tree_hash: af5f01cf8db2557693d8bd800737863a5f66b03b features: typescript: acceptHeaders: 2.81.2 @@ -1263,8 +1263,8 @@ trackedFiles: pristine_git_object: 2d773c43730426ba979a2509498cc8367493d9e6 docs/models/components/feedrequestcategory.md: id: 801f1c3c64d4 - last_write_checksum: sha1:4fa0bff6f5d967c40c166633c33a2d7dc338f2af - pristine_git_object: 0e5868c3f1be1faa1a32b417ed0aa0bf21aecd01 + last_write_checksum: sha1:435563627d226193c8e7c35d3c3f0045c1c1553b + pristine_git_object: 8a1b6c41192820dc2fe5f7ff6be0c59b1d0d85ed docs/models/components/feedrequestoptions.md: id: 76c5e4412304 last_write_checksum: sha1:9d026d140bef548159ac576066007ccc73ab5cee @@ -1275,12 +1275,12 @@ trackedFiles: pristine_git_object: e0d78966cfc548106d853e46efd75b329ca6f816 docs/models/components/feedresult.md: id: c3084f56c0cc - last_write_checksum: sha1:78aea2c459f0551175c566377c4438383514c69c - pristine_git_object: 4da653e1325f99e0ed768020251f2c46eca83a07 + last_write_checksum: sha1:fadbba7354dc192a612876484129d14a5142aae1 + pristine_git_object: 4a9883c0c4b0792b5184d5984909c26555df1571 docs/models/components/feedresultcategory.md: id: 94c0249352b4 - last_write_checksum: sha1:61965b4b2aa72cf50a2a27d9718d907a6afdf1c3 - pristine_git_object: 97ddee52426f77d0d2622c685279ff14887631ac + last_write_checksum: sha1:f353c9951df001c04010c1aa0920af0bab6105dc + pristine_git_object: 5bd7140183333d2be04eea970767c890847fa9de docs/models/components/fieldscope.md: id: 23caffb85bb7 last_write_checksum: sha1:b90b2a0fba0f78b414366202e56a1637a8a8793f @@ -1611,8 +1611,8 @@ trackedFiles: pristine_git_object: 796fa0574cd02b5ca3a7046196a7cc4a214eeda0 docs/models/components/justificationtype.md: id: 5a15880767a5 - last_write_checksum: sha1:b79288cafd50f789e078958dcb4d64d1b5ce46ae - pristine_git_object: 76ee464408a701c68d9fc9a548fda70fb018a719 + last_write_checksum: sha1:e57b18695353c7ea587b8892bac856bba40ba350 + pristine_git_object: 310f4d73a84ce24b1e6dc1384ac6bf98fc6ffe95 docs/models/components/knowledgetype.md: id: cf27a7cefa69 last_write_checksum: sha1:6e94f203bb1d3a0d12f0bdb0119bf36301536e8d @@ -3843,12 +3843,12 @@ trackedFiles: pristine_git_object: 5a2797590d4be351d62915017d5b2a0f853537c8 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:fc789fc9d9c8e1076952404ee5f9f396ec7b1fc3 - pristine_git_object: 862f640d92e998657fb92d59f09b334aee585974 + last_write_checksum: sha1:a84eb0970c22756f492068e70b2555e65b3e4c69 + pristine_git_object: 106fcd50aeaedef3774446f731cdd887ed02955e package.json: id: 7030d0b2f71b - last_write_checksum: sha1:85e96c118430dbbb526275c790b7028ee2a645fb - pristine_git_object: 4dffb4d7cfa344264daec671c5aff0f2073004f2 + last_write_checksum: sha1:9dad6df53c817c33b72e06ea6c77a91d2f0031b6 + pristine_git_object: a0736ace812db47a9790ba37cb2de9fe3c09a245 src/__tests__/activities.test.ts: id: 65fa859b8f59 last_write_checksum: sha1:756bc40095f4495bbf62739b8218bb4a559a24f2 @@ -3963,8 +3963,8 @@ trackedFiles: pristine_git_object: d252821b825c62856886e3ab9287181d7ef7f9de src/__tests__/messages.test.ts: id: 39e293f09219 - last_write_checksum: sha1:c78b09c09e64da0655a3e0ecbadabe82980ef7d1 - pristine_git_object: f390543460d7bd3c678c17579e755b9e06faac16 + last_write_checksum: sha1:d71d67d8ed6743e623401b4101f70705c2eb5172 + pristine_git_object: a4785e3180745bef1ba299e2191e9c49bec1da88 src/__tests__/mockserver/.gitignore: id: 4a7fc421b6b6 last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4 @@ -5531,12 +5531,12 @@ trackedFiles: pristine_git_object: eaa87413391e44f74a2647a75d861904a051a1af src/__tests__/mockserver/internal/sdk/models/components/feedentry.go: id: 809547cb5c68 - last_write_checksum: sha1:bc05257a03dda3a9e5fb0f3c51cfba35fedd813e - pristine_git_object: 5ba58b58abbd6091be1d3c079c419c085c8a103d + last_write_checksum: sha1:699cb5b92f03e359ff37720496def304f8a3c0f2 + pristine_git_object: f1c2530f995b95bd00a68e7a0a01cc96d792b21c src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go: id: f7bd2c505cff - last_write_checksum: sha1:dfd4fd5a07e68897cfa85e270a812a7f568598be - pristine_git_object: acde1050a01f74f33b0b7d8fdfb3cbd4a302a1e7 + last_write_checksum: sha1:b3bad8291ce6c2d6fc6306536b5529be70d366f6 + pristine_git_object: 286da0e2e9c1e2d4a1680ee6995002d7a979413d src/__tests__/mockserver/internal/sdk/models/components/feedrequestoptions.go: id: d6a1872334df last_write_checksum: sha1:1ab14ce889dc4f6a8cd018f5ef731ee05e3c4f3a @@ -5547,8 +5547,8 @@ trackedFiles: pristine_git_object: c92a344643e978700da31b2f24afaf9d14fd8d69 src/__tests__/mockserver/internal/sdk/models/components/feedresult.go: id: 90772ce61c8a - last_write_checksum: sha1:0659dbf2267cbeca1453317818e9c9a80b8b0058 - pristine_git_object: c601f9cf114899c7e3e6793be9d737e748d5799a + last_write_checksum: sha1:17305a3f57eed5ea9741f4a9a78f3b406b61a24e + pristine_git_object: f02d060e3ba1787a2050eaa1a1e2b685f1bf6954 src/__tests__/mockserver/internal/sdk/models/components/followupaction.go: id: b87db474fc6a last_write_checksum: sha1:94c11e6ccb0d238213354241dff0baa101808b64 @@ -7811,8 +7811,8 @@ trackedFiles: pristine_git_object: 80853fce6d86d20766336fb2fd27c8669cd12ca8 src/__tests__/summarize.test.ts: id: 3105d6ebc7eb - last_write_checksum: sha1:72788f0f163afcaf378f4afbadde00d12cad0762 - pristine_git_object: bf346ec7de9244c68c1de49739e077c6fa86dd08 + last_write_checksum: sha1:56378f2a53fd53a8dd89700e017fadc88986998c + pristine_git_object: 682a1852ffb44b6785f3eff152b8b7e754ad29d4 src/__tests__/testclient.ts: id: f142c080bff8 last_write_checksum: sha1:3a38647391f52221c009a9273eebf90793b3d430 @@ -8527,8 +8527,8 @@ trackedFiles: pristine_git_object: 42d9739ab67c2fec0689f83777ffa5e1f875e5d5 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:6665143ee0f938e929f023c995c1ff09a3b2de6b - pristine_git_object: 3b6d400bcdf2e52c542ca8670f7020710f5b78fe + last_write_checksum: sha1:7ccc4fb78ed864890f4c77121cae750339e88896 + pristine_git_object: c862631978042821dd82fcc0d14bf51ae8d76252 src/lib/encodings.ts: id: 3bd8ead98afd last_write_checksum: sha1:d1917169abb226ccb0d2e93fd211a1d2987822b4 @@ -9507,12 +9507,12 @@ trackedFiles: pristine_git_object: 3fb6f14548eb0f546d0fdfcbac4ea9af834b9687 src/models/components/feedentry.ts: id: 47faae0fec45 - last_write_checksum: sha1:21f9f65e563c51169daefa2d1df848fef4d296fe - pristine_git_object: 99da9f2881c114d44b2425e09bd5d91e5b059f58 + last_write_checksum: sha1:a8dedf9593dbf1e790594d6ef7bb7f4212d2f0cc + pristine_git_object: af6e27ee2c810cf270c697ce59ec7a26fd4d529d src/models/components/feedrequest.ts: id: e18410d4ffd4 - last_write_checksum: sha1:e3a52c30c1f7039e53e9b84af3331c30ae12e6af - pristine_git_object: cc53fa60935335492041bb48bd562976fd7f1898 + last_write_checksum: sha1:5d214d5aeaed1cbe07bb98576a01e8db324bc6ba + pristine_git_object: 5b583f30e1b2d892c722353754ef3f1f9c3275fd src/models/components/feedrequestoptions.ts: id: 684c93eb4ff3 last_write_checksum: sha1:339180c553629e9c992c1f5819612effd7d692e7 @@ -9523,8 +9523,8 @@ trackedFiles: pristine_git_object: ec512af99670430c927b57b2fcb360c620f56cf7 src/models/components/feedresult.ts: id: 94d90ce484f6 - last_write_checksum: sha1:3c4e61dd9917ec60e8b0184958475d00de444580 - pristine_git_object: 64b17bacf0fbf5c27b80b768fc3638bfe4f76950 + last_write_checksum: sha1:28f2e2f7b9660caa4ae4c119f45970f65e8d429e + pristine_git_object: 06bd295f826e6213c98cfa00eb76063dffd84de3 src/models/components/followupaction.ts: id: 0b8a71fb6ea2 last_write_checksum: sha1:ea9d1e5a53384164dc8d63d3ff831a332a5f2fed @@ -14094,6 +14094,7 @@ generatedTests: platform-trigger-presets-get: "2026-08-21T02:36:10Z" platform-trigger-presets-input-values-list: "2026-08-21T02:36:10Z" platform-trigger-presets-events-search: "2026-08-21T02:36:10Z" +releaseNotes: "## Typescript SDK Changes:\n* `glean.client.search.retrieveFeed()`: \n * `request.feedRequest.categories[]` **Changed**\n * `response.results[]` **Changed**\n" generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 5a66ee74..7cf44f94 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -35,7 +35,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true typescript: - version: 0.20.4 + version: 0.20.5 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 046df9bd..f16f7c65 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,8 +2,8 @@ openapi: 3.1.0 info: version: "0.9.0" title: Glean API - x-source-commit-sha: ae68c59fa1e1a61dfd7c494be7d2e118303de0f2 - x-open-api-commit-sha: 26c5b4d7b8bb3519275c7b2353b0d3da933032f7 + x-source-commit-sha: 59fa118cd743cd6bc9ea3c8d2816148f10c9855d + x-open-api-commit-sha: 83ff3b39389051c6fb840d76dc1d2072c3f50c3d description: | # Introduction In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean. @@ -15940,10 +15940,12 @@ components: - PROJECT_NEXT_STEP - DEMO_CARD - RESOLVE_MEETING_CONFLICT + - FINDING_MEETING_ROOM - OOO_PLANNER - OOO_CATCH_UP - ADMIN_HEALTH_CENTER - KNOWLEDGE_GAP + - ARTIFACT_CREATION description: Categories of content requested. An allowlist gives flexibility to request content separately or together. requestOptions: $ref: '#/components/schemas/FeedRequestOptions' @@ -16410,10 +16412,12 @@ components: - PROJECT_NEXT_STEP - DEMO_CARD - RESOLVE_MEETING_CONFLICT + - FINDING_MEETING_ROOM - OOO_PLANNER - OOO_CATCH_UP - ADMIN_HEALTH_CENTER - KNOWLEDGE_GAP + - ARTIFACT_CREATION description: Type of the justification. justification: type: string @@ -16503,10 +16507,12 @@ components: - PROJECT_NEXT_STEP - DEMO_CARD - RESOLVE_MEETING_CONFLICT + - FINDING_MEETING_ROOM - OOO_PLANNER - OOO_CATCH_UP - ADMIN_HEALTH_CENTER - KNOWLEDGE_GAP + - ARTIFACT_CREATION description: Category of the result, one of the requested categories in incoming request. primaryEntry: $ref: '#/components/schemas/FeedEntry' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index f91ee780..6405373f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.796.4 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:69565c16183739561291ea3ae128815c87b004e0f61e184b099efb1fe245b662 - sourceBlobDigest: sha256:fea7a26be8ee1df4f4df9e877a2173a5f51a4bf90490fb3a9b8b28f4e604dbbb + sourceRevisionDigest: sha256:78dfba4260d1facfd0c329fcca6f01010494a2f86d72c08488aacd686788c869 + sourceBlobDigest: sha256:9536ecb3bc115c9844e6f5533b9566b19520b8824a174dd07feffd041acd9d5d tags: - latest Glean Client API: @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:69565c16183739561291ea3ae128815c87b004e0f61e184b099efb1fe245b662 - sourceBlobDigest: sha256:fea7a26be8ee1df4f4df9e877a2173a5f51a4bf90490fb3a9b8b28f4e604dbbb + sourceRevisionDigest: sha256:78dfba4260d1facfd0c329fcca6f01010494a2f86d72c08488aacd686788c869 + sourceBlobDigest: sha256:9536ecb3bc115c9844e6f5533b9566b19520b8824a174dd07feffd041acd9d5d codeSamplesNamespace: glean-api-specs-typescript-code-samples - codeSamplesRevisionDigest: sha256:a2a336ce7a5e624a9adbbdc19c07697741c3bbbe9ae1e26ad3ea826d0b069a52 + codeSamplesRevisionDigest: sha256:bd5a666b74620e17b0c59825590cdf6022971d7368a1126bb9bc58f5e0dd059e workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 53b8a2f3..789085ce 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -928,4 +928,14 @@ Based on: ### Generated - [typescript v0.20.4] . ### Releases -- [NPM v0.20.4] https://www.npmjs.com/package/@gleanwork/api-client/v/0.20.4 - . \ No newline at end of file +- [NPM v0.20.4] https://www.npmjs.com/package/@gleanwork/api-client/v/0.20.4 - . + +## 2026-09-06 02:40:21 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.20.5] . +### Releases +- [NPM v0.20.5] https://www.npmjs.com/package/@gleanwork/api-client/v/0.20.5 - . \ No newline at end of file diff --git a/docs/models/components/feedrequestcategory.md b/docs/models/components/feedrequestcategory.md index 0e5868c3..8a1b6c41 100644 --- a/docs/models/components/feedrequestcategory.md +++ b/docs/models/components/feedrequestcategory.md @@ -5,11 +5,11 @@ ```typescript import { FeedRequestCategory } from "@gleanwork/api-client/models/components"; -let value: FeedRequestCategory = "END_MY_DAY"; +let value: FeedRequestCategory = "STARTER_KIT"; ``` ## Values ```typescript -"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "DISPLAYABLE_LIST" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "WORKFLOW_COLLECTIONS" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "PODCAST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MEETING_PREP_AUTOMATION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "CARD_STACK_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "RESOLVE_MEETING_CONFLICT" | "OOO_PLANNER" | "OOO_CATCH_UP" | "ADMIN_HEALTH_CENTER" | "KNOWLEDGE_GAP" +"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "DISPLAYABLE_LIST" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "WORKFLOW_COLLECTIONS" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "PODCAST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MEETING_PREP_AUTOMATION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "CARD_STACK_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "RESOLVE_MEETING_CONFLICT" | "FINDING_MEETING_ROOM" | "OOO_PLANNER" | "OOO_CATCH_UP" | "ADMIN_HEALTH_CENTER" | "KNOWLEDGE_GAP" | "ARTIFACT_CREATION" ``` \ No newline at end of file diff --git a/docs/models/components/feedresult.md b/docs/models/components/feedresult.md index 4da653e1..4a9883c0 100644 --- a/docs/models/components/feedresult.md +++ b/docs/models/components/feedresult.md @@ -6,7 +6,7 @@ import { FeedResult } from "@gleanwork/api-client/models/components"; let value: FeedResult = { - category: "FOLLOW_UP", + category: "MILESTONE_TIMELINE_CHECK", primaryEntry: { title: "", createdBy: { diff --git a/docs/models/components/feedresultcategory.md b/docs/models/components/feedresultcategory.md index 97ddee52..5bd71401 100644 --- a/docs/models/components/feedresultcategory.md +++ b/docs/models/components/feedresultcategory.md @@ -7,7 +7,7 @@ Category of the result, one of the requested categories in incoming request. ```typescript import { FeedResultCategory } from "@gleanwork/api-client/models/components"; -let value: FeedResultCategory = "MID_DAY_CATCH_UP"; +let value: FeedResultCategory = "QUERY_SUGGESTION"; // Open enum: unrecognized values are captured as Unrecognized ``` @@ -15,5 +15,5 @@ let value: FeedResultCategory = "MID_DAY_CATCH_UP"; ## Values ```typescript -"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "USE_CASE" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "DISPLAYABLE_LIST" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "PODCAST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MEETING_PREP_AUTOMATION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "CARD_STACK_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "RESOLVE_MEETING_CONFLICT" | "OOO_PLANNER" | "OOO_CATCH_UP" | "ADMIN_HEALTH_CENTER" | "KNOWLEDGE_GAP" | Unrecognized +"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "USE_CASE" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "DISPLAYABLE_LIST" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "PODCAST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MEETING_PREP_AUTOMATION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "CARD_STACK_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "RESOLVE_MEETING_CONFLICT" | "FINDING_MEETING_ROOM" | "OOO_PLANNER" | "OOO_CATCH_UP" | "ADMIN_HEALTH_CENTER" | "KNOWLEDGE_GAP" | "ARTIFACT_CREATION" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/justificationtype.md b/docs/models/components/justificationtype.md index 76ee4644..310f4d73 100644 --- a/docs/models/components/justificationtype.md +++ b/docs/models/components/justificationtype.md @@ -7,7 +7,7 @@ Type of the justification. ```typescript import { JustificationType } from "@gleanwork/api-client/models/components"; -let value: JustificationType = "PERSONALIZED_CHAT_SUGGESTION"; +let value: JustificationType = "DAILY_DIGEST"; // Open enum: unrecognized values are captured as Unrecognized ``` @@ -15,5 +15,5 @@ let value: JustificationType = "PERSONALIZED_CHAT_SUGGESTION"; ## Values ```typescript -"FREQUENTLY_ACCESSED" | "RECENTLY_ACCESSED" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "SUGGESTED_DOCUMENT" | "EMPTY_STATE_SUGGESTION" | "FRECENCY_SCORED" | "SERVER_GENERATED" | "USE_CASE" | "UPDATE_SINCE_LAST_VIEW" | "RECENTLY_STARTED" | "EVENT" | "USER_MENTION" | "ANNOUNCEMENT" | "EXTERNAL_ANNOUNCEMENT" | "POPULARITY_BASED_TRENDING" | "COMPANY_RESOURCE" | "EVENT_DOCUMENT_FROM_CONTENT" | "EVENT_DOCUMENT_FROM_SEARCH" | "VISIT_AFFINITY_SCORED" | "SUGGESTED_APP" | "SUGGESTED_PERSON" | "ACTIVITY_HIGHLIGHT" | "SAVED_SEARCH" | "SUGGESTED_CHANNEL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION" | "ZERO_STATE_STATIC_WORKFLOW_SUGGESTION" | "ZERO_STATE_AGENT_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "PODCAST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT_EXTENSION" | "STARTER_KIT_ORG_CHART" | "STARTER_KIT_ADD_DOC" | "MEETING_RECAP" | "MEETING_ROOM" | "MEETING_PREP_AUTOMATION" | "ACTIVE_DISCUSSION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "CARD_STACK_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "RESOLVE_MEETING_CONFLICT" | "OOO_PLANNER" | "OOO_CATCH_UP" | "ADMIN_HEALTH_CENTER" | "KNOWLEDGE_GAP" | Unrecognized +"FREQUENTLY_ACCESSED" | "RECENTLY_ACCESSED" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "SUGGESTED_DOCUMENT" | "EMPTY_STATE_SUGGESTION" | "FRECENCY_SCORED" | "SERVER_GENERATED" | "USE_CASE" | "UPDATE_SINCE_LAST_VIEW" | "RECENTLY_STARTED" | "EVENT" | "USER_MENTION" | "ANNOUNCEMENT" | "EXTERNAL_ANNOUNCEMENT" | "POPULARITY_BASED_TRENDING" | "COMPANY_RESOURCE" | "EVENT_DOCUMENT_FROM_CONTENT" | "EVENT_DOCUMENT_FROM_SEARCH" | "VISIT_AFFINITY_SCORED" | "SUGGESTED_APP" | "SUGGESTED_PERSON" | "ACTIVITY_HIGHLIGHT" | "SAVED_SEARCH" | "SUGGESTED_CHANNEL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION" | "ZERO_STATE_STATIC_WORKFLOW_SUGGESTION" | "ZERO_STATE_AGENT_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "PODCAST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT_EXTENSION" | "STARTER_KIT_ORG_CHART" | "STARTER_KIT_ADD_DOC" | "MEETING_RECAP" | "MEETING_ROOM" | "MEETING_PREP_AUTOMATION" | "ACTIVE_DISCUSSION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "CARD_STACK_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "RESOLVE_MEETING_CONFLICT" | "FINDING_MEETING_ROOM" | "OOO_PLANNER" | "OOO_CATCH_UP" | "ADMIN_HEALTH_CENTER" | "KNOWLEDGE_GAP" | "ARTIFACT_CREATION" | Unrecognized ``` \ No newline at end of file diff --git a/examples/package-lock.json b/examples/package-lock.json index 7d1058b4..0b9b131f 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@gleanwork/api-client", - "version": "0.20.4", + "version": "0.20.5", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index 862f640d..106fcd50 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@gleanwork/api-client", - "version": "0.20.4", + "version": "0.20.5", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 18e07b48..7e81f652 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gleanwork/api-client", - "version": "0.20.4", + "version": "0.20.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gleanwork/api-client", - "version": "0.20.4", + "version": "0.20.5", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/package.json b/package.json index 4dffb4d7..a0736ace 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gleanwork/api-client", - "version": "0.20.4", + "version": "0.20.5", "author": "Speakeasy", "tshy": { "sourceDialects": [ diff --git a/src/__tests__/messages.test.ts b/src/__tests__/messages.test.ts index f3905434..a4785e31 100644 --- a/src/__tests__/messages.test.ts +++ b/src/__tests__/messages.test.ts @@ -20,7 +20,7 @@ test("Messages Messages", async () => { idType: "CONVERSATION_ID", id: "", timestampMillis: 558834, - datasource: "FACEBOOKWORKPLACE", + datasource: "SLACK", }); expect(result).toBeDefined(); }); diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go b/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go index 5ba58b58..f1c2530f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go @@ -114,10 +114,12 @@ const ( JustificationTypeProjectNextStep JustificationType = "PROJECT_NEXT_STEP" JustificationTypeDemoCard JustificationType = "DEMO_CARD" JustificationTypeResolveMeetingConflict JustificationType = "RESOLVE_MEETING_CONFLICT" + JustificationTypeFindingMeetingRoom JustificationType = "FINDING_MEETING_ROOM" JustificationTypeOooPlanner JustificationType = "OOO_PLANNER" JustificationTypeOooCatchUp JustificationType = "OOO_CATCH_UP" JustificationTypeAdminHealthCenter JustificationType = "ADMIN_HEALTH_CENTER" JustificationTypeKnowledgeGap JustificationType = "KNOWLEDGE_GAP" + JustificationTypeArtifactCreation JustificationType = "ARTIFACT_CREATION" ) func (e JustificationType) ToPointer() *JustificationType { @@ -243,6 +245,8 @@ func (e *JustificationType) UnmarshalJSON(data []byte) error { fallthrough case "RESOLVE_MEETING_CONFLICT": fallthrough + case "FINDING_MEETING_ROOM": + fallthrough case "OOO_PLANNER": fallthrough case "OOO_CATCH_UP": @@ -250,6 +254,8 @@ func (e *JustificationType) UnmarshalJSON(data []byte) error { case "ADMIN_HEALTH_CENTER": fallthrough case "KNOWLEDGE_GAP": + fallthrough + case "ARTIFACT_CREATION": *e = JustificationType(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go index acde1050..286da0e2 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go @@ -54,10 +54,12 @@ const ( FeedRequestCategoryProjectNextStep FeedRequestCategory = "PROJECT_NEXT_STEP" FeedRequestCategoryDemoCard FeedRequestCategory = "DEMO_CARD" FeedRequestCategoryResolveMeetingConflict FeedRequestCategory = "RESOLVE_MEETING_CONFLICT" + FeedRequestCategoryFindingMeetingRoom FeedRequestCategory = "FINDING_MEETING_ROOM" FeedRequestCategoryOooPlanner FeedRequestCategory = "OOO_PLANNER" FeedRequestCategoryOooCatchUp FeedRequestCategory = "OOO_CATCH_UP" FeedRequestCategoryAdminHealthCenter FeedRequestCategory = "ADMIN_HEALTH_CENTER" FeedRequestCategoryKnowledgeGap FeedRequestCategory = "KNOWLEDGE_GAP" + FeedRequestCategoryArtifactCreation FeedRequestCategory = "ARTIFACT_CREATION" ) func (e FeedRequestCategory) ToPointer() *FeedRequestCategory { @@ -155,6 +157,8 @@ func (e *FeedRequestCategory) UnmarshalJSON(data []byte) error { fallthrough case "RESOLVE_MEETING_CONFLICT": fallthrough + case "FINDING_MEETING_ROOM": + fallthrough case "OOO_PLANNER": fallthrough case "OOO_CATCH_UP": @@ -162,6 +166,8 @@ func (e *FeedRequestCategory) UnmarshalJSON(data []byte) error { case "ADMIN_HEALTH_CENTER": fallthrough case "KNOWLEDGE_GAP": + fallthrough + case "ARTIFACT_CREATION": *e = FeedRequestCategory(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go b/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go index c601f9cf..f02d060e 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go @@ -55,10 +55,12 @@ const ( FeedResultCategoryProjectNextStep FeedResultCategory = "PROJECT_NEXT_STEP" FeedResultCategoryDemoCard FeedResultCategory = "DEMO_CARD" FeedResultCategoryResolveMeetingConflict FeedResultCategory = "RESOLVE_MEETING_CONFLICT" + FeedResultCategoryFindingMeetingRoom FeedResultCategory = "FINDING_MEETING_ROOM" FeedResultCategoryOooPlanner FeedResultCategory = "OOO_PLANNER" FeedResultCategoryOooCatchUp FeedResultCategory = "OOO_CATCH_UP" FeedResultCategoryAdminHealthCenter FeedResultCategory = "ADMIN_HEALTH_CENTER" FeedResultCategoryKnowledgeGap FeedResultCategory = "KNOWLEDGE_GAP" + FeedResultCategoryArtifactCreation FeedResultCategory = "ARTIFACT_CREATION" ) func (e FeedResultCategory) ToPointer() *FeedResultCategory { @@ -156,6 +158,8 @@ func (e *FeedResultCategory) UnmarshalJSON(data []byte) error { fallthrough case "RESOLVE_MEETING_CONFLICT": fallthrough + case "FINDING_MEETING_ROOM": + fallthrough case "OOO_PLANNER": fallthrough case "OOO_CATCH_UP": @@ -163,6 +167,8 @@ func (e *FeedResultCategory) UnmarshalJSON(data []byte) error { case "ADMIN_HEALTH_CENTER": fallthrough case "KNOWLEDGE_GAP": + fallthrough + case "ARTIFACT_CREATION": *e = FeedResultCategory(v) return nil default: diff --git a/src/__tests__/summarize.test.ts b/src/__tests__/summarize.test.ts index bf346ec7..682a1852 100644 --- a/src/__tests__/summarize.test.ts +++ b/src/__tests__/summarize.test.ts @@ -19,12 +19,10 @@ test("Summarize Summarize", async () => { const result = await glean.client.documents.summarize({ documentSpecs: [ { - ugcType: "ANSWERS", - contentId: 748256, + url: "https://crafty-gloom.org", }, { - ugcType: "CHATS", - ugcId: "", + url: "https://crafty-gloom.org", }, ], }); diff --git a/src/lib/config.ts b/src/lib/config.ts index 81c20a3c..62866466 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.9.0", - sdkVersion: "0.20.4", + sdkVersion: "0.20.5", genVersion: "2.935.1", userAgent: - "speakeasy-sdk/typescript 0.20.4 2.935.1 0.9.0 @gleanwork/api-client", + "speakeasy-sdk/typescript 0.20.5 2.935.1 0.9.0 @gleanwork/api-client", } as const; diff --git a/src/models/components/feedentry.ts b/src/models/components/feedentry.ts index 99da9f28..af6e27ee 100644 --- a/src/models/components/feedentry.ts +++ b/src/models/components/feedentry.ts @@ -123,10 +123,12 @@ export const JustificationType = { ProjectNextStep: "PROJECT_NEXT_STEP", DemoCard: "DEMO_CARD", ResolveMeetingConflict: "RESOLVE_MEETING_CONFLICT", + FindingMeetingRoom: "FINDING_MEETING_ROOM", OooPlanner: "OOO_PLANNER", OooCatchUp: "OOO_CATCH_UP", AdminHealthCenter: "ADMIN_HEALTH_CENTER", KnowledgeGap: "KNOWLEDGE_GAP", + ArtifactCreation: "ARTIFACT_CREATION", } as const; /** * Type of the justification. diff --git a/src/models/components/feedrequest.ts b/src/models/components/feedrequest.ts index cc53fa60..5b583f30 100644 --- a/src/models/components/feedrequest.ts +++ b/src/models/components/feedrequest.ts @@ -60,10 +60,12 @@ export const FeedRequestCategory = { ProjectNextStep: "PROJECT_NEXT_STEP", DemoCard: "DEMO_CARD", ResolveMeetingConflict: "RESOLVE_MEETING_CONFLICT", + FindingMeetingRoom: "FINDING_MEETING_ROOM", OooPlanner: "OOO_PLANNER", OooCatchUp: "OOO_CATCH_UP", AdminHealthCenter: "ADMIN_HEALTH_CENTER", KnowledgeGap: "KNOWLEDGE_GAP", + ArtifactCreation: "ARTIFACT_CREATION", } as const; export type FeedRequestCategory = ClosedEnum; diff --git a/src/models/components/feedresult.ts b/src/models/components/feedresult.ts index 64b17bac..06bd295f 100644 --- a/src/models/components/feedresult.ts +++ b/src/models/components/feedresult.ts @@ -58,10 +58,12 @@ export const FeedResultCategory = { ProjectNextStep: "PROJECT_NEXT_STEP", DemoCard: "DEMO_CARD", ResolveMeetingConflict: "RESOLVE_MEETING_CONFLICT", + FindingMeetingRoom: "FINDING_MEETING_ROOM", OooPlanner: "OOO_PLANNER", OooCatchUp: "OOO_CATCH_UP", AdminHealthCenter: "ADMIN_HEALTH_CENTER", KnowledgeGap: "KNOWLEDGE_GAP", + ArtifactCreation: "ARTIFACT_CREATION", } as const; /** * Category of the result, one of the requested categories in incoming request.