diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 08723ce8..c54501c8 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,18 +1,18 @@ lockVersion: 2.0.0 id: 9d90eb9e-33f8-4170-8944-988f4000aad0 management: - docChecksum: 37d6cc2da3d557fea3dcc4a18c4e2372 + docChecksum: 2b2ce854d657d789a98d46023428c81a docVersion: 0.9.0 speakeasyVersion: 1.796.4 generationVersion: 2.935.1 - releaseVersion: 0.15.4 - configChecksum: a81672e62d51264f9ed765e12914a7a5 + releaseVersion: 0.15.5 + configChecksum: 20a0159a9ffb4c284a7c49c93eaf7afa repoURL: https://github.com/gleanwork/api-client-go.git installationURL: https://github.com/gleanwork/api-client-go persistentEdits: - generation_id: 2980bd3b-57e2-4482-8019-0bdc52e5aeec - pristine_commit_hash: eea9f112efed5fa82f83654c2eeb774a8bbb9255 - pristine_tree_hash: 563a2128b612c264b0448aaa48be2757ea275c31 + generation_id: 4f2b9b30-3ad5-4805-a2df-d1b704dcbd85 + pristine_commit_hash: 45747040af04b9cdb78fede4f8d896ffc2818801 + pristine_tree_hash: 2155d5946290bb6ce6f1f579d7f7899e033cf73c features: go: acceptHeaders: 2.81.2 @@ -1345,8 +1345,8 @@ trackedFiles: pristine_git_object: c8e4adbb9259788d825acac24b08c9cd9afca960 docs/models/components/feedrequestcategory.md: id: 801f1c3c64d4 - last_write_checksum: sha1:9c0081096d8bcd18ae35b3c80e1cac4348a386dc - pristine_git_object: 06610496eb80d592e6e9843de1f5adabf8b65273 + last_write_checksum: sha1:450a016c49c9f9ac3a1f78ffd338728f67b6b7db + pristine_git_object: 3d8a625deb544e5580f0ab2bd57a86a6e7b0a670 docs/models/components/feedrequestoptions.md: id: 76c5e4412304 last_write_checksum: sha1:674915ceaa3b9eec9d9543dc9f0e6a85b394174e @@ -1361,8 +1361,8 @@ trackedFiles: pristine_git_object: 86a3734a33e235d580f920fc6402a48ecfaaf1b4 docs/models/components/feedresultcategory.md: id: 94c0249352b4 - last_write_checksum: sha1:0b7d28c5fda915a392959a45ec2e6d7ff226162b - pristine_git_object: 5a7c1e2949eb22384dd3c92a56c35e85ed8e6ed1 + last_write_checksum: sha1:954872e3f9925694c801534254c5d787c971c4cd + pristine_git_object: 66b0a2fa6abb7a30e6c3acfeab5f2c4d29c832ab docs/models/components/fieldscope.md: id: 23caffb85bb7 last_write_checksum: sha1:65cdffa9b7bf28a760c906f49dc7417f37b9e56f @@ -1697,8 +1697,8 @@ trackedFiles: pristine_git_object: 229c8af1dcde17c3b4507889380258a7d2bb939d docs/models/components/justificationtype.md: id: 5a15880767a5 - last_write_checksum: sha1:d800742c60764edcc86a396cb3d1641ddff0a237 - pristine_git_object: 20d1c0583e48981b65ce1af7e11c29a2444fc2fa + last_write_checksum: sha1:0883252b2028b58d72d3c205774c9c6566a0932d + pristine_git_object: 6e9eb2d4a9078cad1954517747faa55126a2657c docs/models/components/knowledgetype.md: id: cf27a7cefa69 last_write_checksum: sha1:f7294d6350e558a0a626ac41241ccbf0facacf10 @@ -4541,8 +4541,8 @@ trackedFiles: pristine_git_object: a3cb3e5448f3fdcfad77ed2a4ba47ae848d5cd5d glean.go: id: f5ed099b8e85 - last_write_checksum: sha1:c62e3a0b41b7723e14d88abf2d9832714fdb1096 - pristine_git_object: 1583e3530cc8d4b8bf860983098868c32a4c5e84 + last_write_checksum: sha1:384fed6ae3e1dc5c292517130971f414d22d106e + pristine_git_object: ae5b3992b700d126942dd6886f3695dde2f102d0 go.mod: id: c47645c391ad last_write_checksum: sha1:cf65a2c96e303858d4cf70e07d4c44d3f1c1db38 @@ -5601,12 +5601,12 @@ trackedFiles: pristine_git_object: 220dbff76d0d3d12e6bdcb05787a6df030124ca5 models/components/feedentry.go: id: 2826af1aa01a - last_write_checksum: sha1:61073b0d5d99e56c33c4c800195289b311b0e4a7 - pristine_git_object: f5c9c31e318c20345702a23d93bace3cf83e54c6 + last_write_checksum: sha1:de01d6b7b95d63b8d157ad5c2abe9e63165b10d4 + pristine_git_object: a6fec7e10723e30ab699a59152ad2438996c55f9 models/components/feedrequest.go: id: 9f0a682fc981 - last_write_checksum: sha1:c0373accb5d4e673b49efbaf3d8f02bca7b7786b - pristine_git_object: d4c32070fc16ff43da0999620c8844ad94b9e5f1 + last_write_checksum: sha1:d3eef29097f6597782d21fec05920a3bc37e5d88 + pristine_git_object: 08967be0f157d24db29befbff5ee4fc057fe2837 models/components/feedrequestoptions.go: id: a56c104c989d last_write_checksum: sha1:7f238a9abb079c78202b1a9f65c87b82420f63ec @@ -5617,8 +5617,8 @@ trackedFiles: pristine_git_object: 60cb4b19cbb9bd29e37128e3110b2bf0a8f80d30 models/components/feedresult.go: id: f017ac6e3ac3 - last_write_checksum: sha1:4842da58a1e0745c8f24582855486816cd251964 - pristine_git_object: 2e683214b7eb0d391882b21e5b30b10baffdfe90 + last_write_checksum: sha1:92400392552d1bf53133660ac71c1c52b34432d0 + pristine_git_object: b02ce5e0c5453c54a5cf233fdb45ce228e3581e7 models/components/followupaction.go: id: aba266d23418 last_write_checksum: sha1:0a17407e6beba30680e5c38151e426a5ce7aab76 @@ -9457,12 +9457,12 @@ trackedFiles: pristine_git_object: 04cc3a93272ac70933b0485bee31b335e05ab623 tests/mockserver/internal/sdk/models/components/feedentry.go: id: d25fd66fcf7a - last_write_checksum: sha1:a8719b9673b1be33ad678b8aba6dbbf535d7e45d - pristine_git_object: 79fe6b08fbe864c3f293421c8594d27603ce35de + last_write_checksum: sha1:6bd0dce24d0f908a53a89ded54805b8a517cd4e9 + pristine_git_object: 2824141d82570d68507a8d526999871ed9235c11 tests/mockserver/internal/sdk/models/components/feedrequest.go: id: b06bc4cef0cf - last_write_checksum: sha1:d16256931c5705257894f29fd2bb083cea2c95ae - pristine_git_object: b020374ce491b9719d7a253996a23e3aadcb03e5 + last_write_checksum: sha1:5b96a8086c80278d6ab2475ec98022ccdf0cfe5e + pristine_git_object: 023f1fdef400afb3a7e2503f4dbbe2b46ae3e478 tests/mockserver/internal/sdk/models/components/feedrequestoptions.go: id: fd9245fe1bf2 last_write_checksum: sha1:fa30b7fd6ee3e45896d7bbe36e33e7c0cb9000ba @@ -9473,8 +9473,8 @@ trackedFiles: pristine_git_object: 54f9d1a8997983156c84e69f888c59a80d06c2b1 tests/mockserver/internal/sdk/models/components/feedresult.go: id: 47411573e67a - last_write_checksum: sha1:4f077b5af6ccac474f80febd79efa382d6c445dc - pristine_git_object: cdb71976f9b6e528b67fd80e9a5860144f0d1cc6 + last_write_checksum: sha1:39d548d2ce819a208597afb35a2533529633596f + pristine_git_object: f014c787e5ed4c75eff83e0f8e3ccb4d55687185 tests/mockserver/internal/sdk/models/components/followupaction.go: id: 38179fec19b1 last_write_checksum: sha1:32a31f7af77a58ce6f3284e8550d01fcf0d3bddd @@ -11737,8 +11737,8 @@ trackedFiles: pristine_git_object: f6ef683531884725f5107c32848516513f87e494 tests/summarize_test.go: id: 1b63b0a16e69 - last_write_checksum: sha1:ca6dc11ab46aab547f96cfa948c7d75dc3ef9cbc - pristine_git_object: 82e7014fe632efda0d2f05376b17812f945a5f1a + last_write_checksum: sha1:9a70ea5210112e28bc84c1eb2c2ace91c91991b0 + pristine_git_object: ac6a9089a0b7d8f27eb560c57abdb2e58b7195fd tests/testclient.go: id: 78d36c6e169c last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8 @@ -13372,6 +13372,7 @@ generatedTests: platform-trigger-presets-get: "2026-08-21T02:35:39Z" platform-trigger-presets-input-values-list: "2026-08-21T02:35:39Z" platform-trigger-presets-events-search: "2026-08-21T02:35:39Z" +releaseNotes: "## Go 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 8a087f77..6829895a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true go: - version: 0.15.4 + version: 0.15.5 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false baseErrorName: GleanError 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 19577a67..3fadaa23 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 petstore-oas: @@ -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-go-code-samples - codeSamplesRevisionDigest: sha256:6d999974f05e36f0ddc2e1963fa70d061b74b714851ccfe30aa3f3727410fde9 + codeSamplesRevisionDigest: sha256:be7e1e58afae183b9b0dd9a589a081bc08fa5888513eee1822b4364f9a156352 petstore: source: petstore-oas sourceNamespace: petstore-oas diff --git a/RELEASES.md b/RELEASES.md index a09e15d5..90981f38 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -898,4 +898,14 @@ Based on: ### Generated - [go v0.15.4] . ### Releases -- [Go v0.15.4] https://github.com/gleanwork/api-client-go/releases/tag/v0.15.4 - . \ No newline at end of file +- [Go v0.15.4] https://github.com/gleanwork/api-client-go/releases/tag/v0.15.4 - . + +## 2026-09-06 02:34:13 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v0.15.5] . +### Releases +- [Go v0.15.5] https://github.com/gleanwork/api-client-go/releases/tag/v0.15.5 - . \ No newline at end of file diff --git a/docs/models/components/feedrequestcategory.md b/docs/models/components/feedrequestcategory.md index 06610496..3d8a625d 100644 --- a/docs/models/components/feedrequestcategory.md +++ b/docs/models/components/feedrequestcategory.md @@ -58,7 +58,9 @@ value := components.FeedRequestCategoryDocumentSuggestion | `FeedRequestCategoryProjectNextStep` | PROJECT_NEXT_STEP | | `FeedRequestCategoryDemoCard` | DEMO_CARD | | `FeedRequestCategoryResolveMeetingConflict` | RESOLVE_MEETING_CONFLICT | +| `FeedRequestCategoryFindingMeetingRoom` | FINDING_MEETING_ROOM | | `FeedRequestCategoryOooPlanner` | OOO_PLANNER | | `FeedRequestCategoryOooCatchUp` | OOO_CATCH_UP | | `FeedRequestCategoryAdminHealthCenter` | ADMIN_HEALTH_CENTER | -| `FeedRequestCategoryKnowledgeGap` | KNOWLEDGE_GAP | \ No newline at end of file +| `FeedRequestCategoryKnowledgeGap` | KNOWLEDGE_GAP | +| `FeedRequestCategoryArtifactCreation` | ARTIFACT_CREATION | \ No newline at end of file diff --git a/docs/models/components/feedresultcategory.md b/docs/models/components/feedresultcategory.md index 5a7c1e29..66b0a2fa 100644 --- a/docs/models/components/feedresultcategory.md +++ b/docs/models/components/feedresultcategory.md @@ -63,7 +63,9 @@ custom := components.FeedResultCategory("custom_value") | `FeedResultCategoryProjectNextStep` | PROJECT_NEXT_STEP | | `FeedResultCategoryDemoCard` | DEMO_CARD | | `FeedResultCategoryResolveMeetingConflict` | RESOLVE_MEETING_CONFLICT | +| `FeedResultCategoryFindingMeetingRoom` | FINDING_MEETING_ROOM | | `FeedResultCategoryOooPlanner` | OOO_PLANNER | | `FeedResultCategoryOooCatchUp` | OOO_CATCH_UP | | `FeedResultCategoryAdminHealthCenter` | ADMIN_HEALTH_CENTER | -| `FeedResultCategoryKnowledgeGap` | KNOWLEDGE_GAP | \ No newline at end of file +| `FeedResultCategoryKnowledgeGap` | KNOWLEDGE_GAP | +| `FeedResultCategoryArtifactCreation` | ARTIFACT_CREATION | \ No newline at end of file diff --git a/docs/models/components/justificationtype.md b/docs/models/components/justificationtype.md index 20d1c058..6e9eb2d4 100644 --- a/docs/models/components/justificationtype.md +++ b/docs/models/components/justificationtype.md @@ -77,7 +77,9 @@ custom := components.JustificationType("custom_value") | `JustificationTypeProjectNextStep` | PROJECT_NEXT_STEP | | `JustificationTypeDemoCard` | DEMO_CARD | | `JustificationTypeResolveMeetingConflict` | RESOLVE_MEETING_CONFLICT | +| `JustificationTypeFindingMeetingRoom` | FINDING_MEETING_ROOM | | `JustificationTypeOooPlanner` | OOO_PLANNER | | `JustificationTypeOooCatchUp` | OOO_CATCH_UP | | `JustificationTypeAdminHealthCenter` | ADMIN_HEALTH_CENTER | -| `JustificationTypeKnowledgeGap` | KNOWLEDGE_GAP | \ No newline at end of file +| `JustificationTypeKnowledgeGap` | KNOWLEDGE_GAP | +| `JustificationTypeArtifactCreation` | ARTIFACT_CREATION | \ No newline at end of file diff --git a/glean.go b/glean.go index 1583e353..ae5b3992 100644 --- a/glean.go +++ b/glean.go @@ -161,10 +161,10 @@ func WithTimeout(timeout time.Duration) SDKOption { // New creates a new instance of the SDK with the provided options func New(opts ...SDKOption) *Glean { sdk := &Glean{ - SDKVersion: "0.15.4", + SDKVersion: "0.15.5", sdkConfiguration: config.SDKConfiguration{ - UserAgent: "speakeasy-sdk/go 0.15.4 2.935.1 0.9.0 github.com/gleanwork/api-client-go", - SDKVersion: "0.15.4", + UserAgent: "speakeasy-sdk/go 0.15.5 2.935.1 0.9.0 github.com/gleanwork/api-client-go", + SDKVersion: "0.15.5", GenVersion: "2.935.1", OpenAPIDocVersion: "0.9.0", ServerList: ServerList, diff --git a/models/components/feedentry.go b/models/components/feedentry.go index f5c9c31e..a6fec7e1 100644 --- a/models/components/feedentry.go +++ b/models/components/feedentry.go @@ -113,10 +113,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 { @@ -127,7 +129,7 @@ func (e JustificationType) ToPointer() *JustificationType { func (e *JustificationType) IsExact() bool { if e != nil { switch *e { - case "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": + case "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": return true } } diff --git a/models/components/feedrequest.go b/models/components/feedrequest.go index d4c32070..08967be0 100644 --- a/models/components/feedrequest.go +++ b/models/components/feedrequest.go @@ -53,10 +53,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 { @@ -154,6 +156,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": @@ -161,6 +165,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/models/components/feedresult.go b/models/components/feedresult.go index 2e683214..b02ce5e0 100644 --- a/models/components/feedresult.go +++ b/models/components/feedresult.go @@ -49,10 +49,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 { @@ -63,7 +65,7 @@ func (e FeedResultCategory) ToPointer() *FeedResultCategory { func (e *FeedResultCategory) IsExact() bool { if e != nil { switch *e { - case "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": + case "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": return true } } diff --git a/tests/mockserver/internal/sdk/models/components/feedentry.go b/tests/mockserver/internal/sdk/models/components/feedentry.go index 79fe6b08..2824141d 100644 --- a/tests/mockserver/internal/sdk/models/components/feedentry.go +++ b/tests/mockserver/internal/sdk/models/components/feedentry.go @@ -113,10 +113,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 { @@ -242,6 +244,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": @@ -249,6 +253,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/tests/mockserver/internal/sdk/models/components/feedrequest.go b/tests/mockserver/internal/sdk/models/components/feedrequest.go index b020374c..023f1fde 100644 --- a/tests/mockserver/internal/sdk/models/components/feedrequest.go +++ b/tests/mockserver/internal/sdk/models/components/feedrequest.go @@ -53,10 +53,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 { @@ -154,6 +156,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": @@ -161,6 +165,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/tests/mockserver/internal/sdk/models/components/feedresult.go b/tests/mockserver/internal/sdk/models/components/feedresult.go index cdb71976..f014c787 100644 --- a/tests/mockserver/internal/sdk/models/components/feedresult.go +++ b/tests/mockserver/internal/sdk/models/components/feedresult.go @@ -54,10 +54,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 { @@ -155,6 +157,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": @@ -162,6 +166,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/tests/summarize_test.go b/tests/summarize_test.go index 82e7014f..ac6a9089 100644 --- a/tests/summarize_test.go +++ b/tests/summarize_test.go @@ -25,14 +25,15 @@ func TestSummarize_Summarize(t *testing.T) { res, err := s.Client.Documents.Summarize(ctx, components.SummarizeRequest{ DocumentSpecs: []components.DocumentSpecUnion{ - components.CreateDocumentSpecUnionDocumentSpec2( - components.DocumentSpec2{ - ID: "", + components.CreateDocumentSpecUnionDocumentSpec1( + components.DocumentSpec1{ + URL: "https://ashamed-alert.biz/", }, ), - components.CreateDocumentSpecUnionDocumentSpec2( - components.DocumentSpec2{ - ID: "", + components.CreateDocumentSpecUnionDocumentSpec4( + components.DocumentSpec4{ + UgcType: components.DocumentSpecUgcType2Artifacts, + UgcID: "", }, ), },