Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,609 changes: 3,003 additions & 606 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ generation:
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 1.15.0
version: 1.15.1
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.666.2
speakeasyVersion: 1.676.1
sources:
local:
sourceNamespace: local
Expand All @@ -9,20 +9,20 @@ sources:
- 1.0.0
ragie.ai_spec:
sourceNamespace: ragie-ai-spec
sourceRevisionDigest: sha256:39cce74edc22101544a07a499981a152e21956f0137918a46f476588a1cdf6cd
sourceBlobDigest: sha256:a22c999509cdd6474b98285d7817a37144395e18b30f5aafb607c1aae334a4f1
sourceRevisionDigest: sha256:f23830e85f76f22307f37a12ad0c16e88db1e1d720071bba6bf7d39b7899885b
sourceBlobDigest: sha256:683e0038a7b0cb6904f13ad50bc77206011020234bd1dfd34563211a9a3108ec
tags:
- latest
- speakeasy-sdk-regen-1764721446
- speakeasy-sdk-regen-1765153541
- 1.0.0
targets:
ragie:
source: ragie.ai_spec
sourceNamespace: ragie-ai-spec
sourceRevisionDigest: sha256:39cce74edc22101544a07a499981a152e21956f0137918a46f476588a1cdf6cd
sourceBlobDigest: sha256:a22c999509cdd6474b98285d7817a37144395e18b30f5aafb607c1aae334a4f1
sourceRevisionDigest: sha256:f23830e85f76f22307f37a12ad0c16e88db1e1d720071bba6bf7d39b7899885b
sourceBlobDigest: sha256:683e0038a7b0cb6904f13ad50bc77206011020234bd1dfd34563211a9a3108ec
codeSamplesNamespace: ragie-ai-spec-typescript-code-samples
codeSamplesRevisionDigest: sha256:55ad1148c5b1921b6a41b8f0a07c2b68f0458ca42e0a3f593d83759bd953973b
codeSamplesRevisionDigest: sha256:1f63818e23c2c02ebe0a65b5b12c352ab2ebead9e64288586ed5fb295bf4860d
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,14 +286,14 @@ run();
<details open>
<summary>Available methods</summary>

### [authenticators](docs/sdks/authenticators/README.md)
### [Authenticators](docs/sdks/authenticators/README.md)

* [create](docs/sdks/authenticators/README.md#create) - Create Authenticator
* [list](docs/sdks/authenticators/README.md#list) - List Authenticators
* [createAuthenticatorConnection](docs/sdks/authenticators/README.md#createauthenticatorconnection) - Create Authenticator Connection
* [deleteAuthenticatorConnection](docs/sdks/authenticators/README.md#deleteauthenticatorconnection) - Delete Authenticator

### [connections](docs/sdks/connections/README.md)
### [Connections](docs/sdks/connections/README.md)

* [createConnection](docs/sdks/connections/README.md#createconnection) - Create Connection
* [list](docs/sdks/connections/README.md#list) - List Connections
Expand All @@ -307,7 +307,7 @@ run();
* [delete](docs/sdks/connections/README.md#delete) - Delete Connection
* [sync](docs/sdks/connections/README.md#sync) - Sync Connection

### [documents](docs/sdks/documents/README.md)
### [Documents](docs/sdks/documents/README.md)

* [create](docs/sdks/documents/README.md#create) - Create Document
* [list](docs/sdks/documents/README.md#list) - List Documents
Expand All @@ -326,7 +326,7 @@ run();
* [getSource](docs/sdks/documents/README.md#getsource) - Get Document Source
* [getSummary](docs/sdks/documents/README.md#getsummary) - Get Document Summary

### [entities](docs/sdks/entities/README.md)
### [Entities](docs/sdks/entities/README.md)

* [listInstructions](docs/sdks/entities/README.md#listinstructions) - List Instructions
* [createInstruction](docs/sdks/entities/README.md#createinstruction) - Create Instruction
Expand All @@ -335,7 +335,7 @@ run();
* [listByInstruction](docs/sdks/entities/README.md#listbyinstruction) - Get Instruction Extracted Entities
* [listByDocument](docs/sdks/entities/README.md#listbydocument) - Get Document Extracted Entities

### [partitions](docs/sdks/partitions/README.md)
### [Partitions](docs/sdks/partitions/README.md)

* [list](docs/sdks/partitions/README.md#list) - List Partitions
* [create](docs/sdks/partitions/README.md#create) - Create Partition
Expand All @@ -344,12 +344,12 @@ run();
* [delete](docs/sdks/partitions/README.md#delete) - Delete Partition
* [setLimits](docs/sdks/partitions/README.md#setlimits) - Set Partition Limits

### [responses](docs/sdks/responses/README.md)
### [Responses](docs/sdks/responses/README.md)

* [create](docs/sdks/responses/README.md#create) - Create Response
* [get](docs/sdks/responses/README.md#get) - Get Response

### [retrievals](docs/sdks/retrievals/README.md)
### [Retrievals](docs/sdks/retrievals/README.md)

* [retrieve](docs/sdks/retrievals/README.md#retrieve) - Retrieve

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,14 @@ Based on:
### Generated
- [typescript v1.15.0] .
### Releases
- [NPM v1.15.0] https://www.npmjs.com/package/ragie/v/1.15.0 - .
- [NPM v1.15.0] https://www.npmjs.com/package/ragie/v/1.15.0 - .

## 2025-12-15 00:26:49
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.676.1 (2.781.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.15.1] .
### Releases
- [NPM v1.15.1] https://www.npmjs.com/package/ragie/v/1.15.1 - .
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ let value: AuthenticatorSharepointConnection = {
site: {
id: "<id>",
name: "<value>",
displayName: "Boris78",
},
drive: {
id: "<id>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ const value: components.AuthenticatorSharepointConnection = {
site: {
id: "<id>",
name: "<value>",
displayName: "Boris78",
},
drive: {
id: "<id>",
Expand Down
4 changes: 3 additions & 1 deletion docs/models/components/sharepointdata.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let value: SharepointData = {
site: {
id: "<id>",
name: "<value>",
displayName: "Boris78",
},
drive: {
id: "<id>",
Expand All @@ -18,7 +19,8 @@ let value: SharepointData = {
{
id: "<id>",
name: "<value>",
type: "folder",
path: "/System",
type: "file",
driveId: "<id>",
},
],
Expand Down
4 changes: 3 additions & 1 deletion docs/models/components/sharepointfiledata.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { SharepointFileData } from "ragie/models/components";
let value: SharepointFileData = {
id: "<id>",
name: "<value>",
type: "folder",
path: "/rescue",
type: "file",
driveId: "<id>",
};
```
Expand All @@ -19,5 +20,6 @@ let value: SharepointFileData = {
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `id` | *string* | :heavy_check_mark: | N/A |
| `name` | *string* | :heavy_check_mark: | N/A |
| `path` | *string* | :heavy_check_mark: | N/A |
| `type` | [components.Type](../../models/components/type.md) | :heavy_check_mark: | N/A |
| `driveId` | *string* | :heavy_check_mark: | N/A |
4 changes: 3 additions & 1 deletion docs/models/components/sharepointsitedata.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { SharepointSiteData } from "ragie/models/components";
let value: SharepointSiteData = {
id: "<id>",
name: "<value>",
displayName: "Veronica.Grant90",
};
```

Expand All @@ -16,4 +17,5 @@ let value: SharepointSiteData = {
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `id` | *string* | :heavy_check_mark: | N/A |
| `name` | *string* | :heavy_check_mark: | N/A |
| `name` | *string* | :heavy_check_mark: | N/A |
| `displayName` | *string* | :heavy_check_mark: | N/A |
1 change: 0 additions & 1 deletion docs/sdks/authenticators/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Authenticators
(*authenticators*)

## Overview

Expand Down
1 change: 0 additions & 1 deletion docs/sdks/connections/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Connections
(*connections*)

## Overview

Expand Down
1 change: 0 additions & 1 deletion docs/sdks/documents/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Documents
(*documents*)

## Overview

Expand Down
1 change: 0 additions & 1 deletion docs/sdks/entities/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Entities
(*entities*)

## Overview

Expand Down
1 change: 0 additions & 1 deletion docs/sdks/partitions/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Partitions
(*partitions*)

## Overview

Expand Down
1 change: 0 additions & 1 deletion docs/sdks/responses/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Responses
(*responses*)

## Overview

Expand Down
1 change: 0 additions & 1 deletion docs/sdks/retrievals/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Retrievals
(*retrievals*)

## Overview

Expand Down
2 changes: 1 addition & 1 deletion examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "ragie",
"version": "1.15.0",
"version": "1.15.1",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ragie",
"version": "1.15.0",
"version": "1.15.1",
"author": "Speakeasy",
"license": "MIT",
"bin": {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.0.0",
sdkVersion: "1.15.0",
genVersion: "2.768.1",
userAgent: "speakeasy-sdk/typescript 1.15.0 2.768.1 1.0.0 ragie",
sdkVersion: "1.15.1",
genVersion: "2.781.2",
userAgent: "speakeasy-sdk/typescript 1.15.1 2.781.2 1.0.0 ragie",
} as const;
2 changes: 1 addition & 1 deletion src/mcp-server/mcp-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const routes = buildRouteMap({
export const app = buildApplication(routes, {
name: "mcp",
versionInfo: {
currentVersion: "1.15.0",
currentVersion: "1.15.1",
},
});

Expand Down
2 changes: 1 addition & 1 deletion src/mcp-server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function createMCPServer(deps: {
}) {
const server = new McpServer({
name: "Ragie",
version: "1.15.0",
version: "1.15.1",
});

const client = new RagieCore({
Expand Down
4 changes: 4 additions & 0 deletions src/models/components/sharepointfiledata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type Type = ClosedEnum<typeof Type>;
export type SharepointFileData = {
id: string;
name: string;
path: string;
type: Type;
driveId: string | null;
};
Expand All @@ -38,6 +39,7 @@ export const SharepointFileData$inboundSchema: z.ZodType<
> = z.object({
id: z.string(),
name: z.string(),
path: z.string(),
type: Type$inboundSchema,
drive_id: z.nullable(z.string()),
}).transform((v) => {
Expand All @@ -49,6 +51,7 @@ export const SharepointFileData$inboundSchema: z.ZodType<
export type SharepointFileData$Outbound = {
id: string;
name: string;
path: string;
type: string;
drive_id: string | null;
};
Expand All @@ -61,6 +64,7 @@ export const SharepointFileData$outboundSchema: z.ZodType<
> = z.object({
id: z.string(),
name: z.string(),
path: z.string(),
type: Type$outboundSchema,
driveId: z.nullable(z.string()),
}).transform((v) => {
Expand Down
13 changes: 13 additions & 0 deletions src/models/components/sharepointsitedata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
*/

import * as z from "zod/v3";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";

export type SharepointSiteData = {
id: string;
name: string;
displayName: string;
};

/** @internal */
Expand All @@ -20,11 +22,17 @@ export const SharepointSiteData$inboundSchema: z.ZodType<
> = z.object({
id: z.string(),
name: z.string(),
display_name: z.string(),
}).transform((v) => {
return remap$(v, {
"display_name": "displayName",
});
});
/** @internal */
export type SharepointSiteData$Outbound = {
id: string;
name: string;
display_name: string;
};

/** @internal */
Expand All @@ -35,6 +43,11 @@ export const SharepointSiteData$outboundSchema: z.ZodType<
> = z.object({
id: z.string(),
name: z.string(),
displayName: z.string(),
}).transform((v) => {
return remap$(v, {
displayName: "display_name",
});
});

export function sharepointSiteDataToJSON(
Expand Down