Skip to content
Merged
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
152 changes: 148 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: ""
id: ""
management:
docChecksum: 8d206f3903643266958bc525d6d06ace
docChecksum: 4f788aa6e5dc1ba741d875efae921dd0
docVersion: 1.0.0
speakeasyVersion: 1.808.1
generationVersion: 2.960.8
releaseVersion: 1.5.166
configChecksum: b4bcd841d6c70849fedd4ec720442a58
releaseVersion: 1.5.167
configChecksum: 7368315b9109499da3cb67c43ec385a8
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
published: true
Expand Down Expand Up @@ -3939,6 +3939,7 @@ trackedFiles:
docs/models/deletescimgroupmappingresponse.mdx:
id: 1c9494165922
pristine_git_object: 03bacb6268d3df8258a7f2c1f34fe1e594fab8d6
docs/models/deletescimgroupoptoutresponse.mdx: {}
docs/models/deletescimorganizationrolemappingresponse.mdx: {}
docs/models/deleteworkspacebudgetresponse.md:
id: 3f9e0c7bda7e
Expand Down Expand Up @@ -6165,6 +6166,8 @@ trackedFiles:
docs/models/listscimgroupmappingsresponse.mdx:
id: 3941744ebf1d
pristine_git_object: 28c5b08848aa42e5ac0e7905d6b1fb3b04ce0d14
docs/models/listscimgroupoptoutsresponse.mdx: {}
docs/models/listscimgrouppolicyassignmentsresponse.mdx: {}
docs/models/listscimgroupsresponse.mdx:
id: 00c0d0c56555
pristine_git_object: 6b8a94bd34042af4dd07ddb913923e0fef93a843
Expand Down Expand Up @@ -8440,6 +8443,9 @@ trackedFiles:
docs/models/operations/deletescimgroupmappingrequest.mdx:
id: fd975a641213
pristine_git_object: 16646d62dd9066fcc3381bc7b5020a484c272f1e
docs/models/operations/deletescimgrouppolicyoptoutglobals.mdx: {}
docs/models/operations/deletescimgrouppolicyoptoutpolicytype.mdx: {}
docs/models/operations/deletescimgrouppolicyoptoutrequest.mdx: {}
docs/models/operations/deletescimorganizationrolemappingglobals.mdx: {}
docs/models/operations/deletescimorganizationrolemappingrequest.mdx: {}
docs/models/operations/deletevaultsecretglobals.mdx:
Expand Down Expand Up @@ -8990,6 +8996,8 @@ trackedFiles:
docs/models/operations/getscimgroupmappingrequest.mdx:
id: 22025542670f
pristine_git_object: ad77b5efe6f7bb96a2b9bb96df05b972c68e33e9
docs/models/operations/getscimgrouppolicyassignmentglobals.mdx: {}
docs/models/operations/getscimgrouppolicyassignmentrequest.mdx: {}
docs/models/operations/getscimsyncjobglobals.mdx:
id: fef7f1ef794c
pristine_git_object: 7e958f25e1d5edcfca0e2c84f12a052217a62731
Expand Down Expand Up @@ -9568,6 +9576,10 @@ trackedFiles:
docs/models/operations/listscimgroupmappingsresponse.mdx:
id: 85554d10e6b5
pristine_git_object: 9461904660eccc592385ca892051110034fbdc39
docs/models/operations/listscimgrouppolicyassignmentsglobals.mdx: {}
docs/models/operations/listscimgrouppolicyassignmentsrequest.mdx: {}
docs/models/operations/listscimgrouppolicyoptoutsglobals.mdx: {}
docs/models/operations/listscimgrouppolicyoptoutsrequest.mdx: {}
docs/models/operations/listscimgroupsglobals.mdx:
id: 77e7f12dd4b5
pristine_git_object: 17ca3bdc1178e76f06646fc27339b295351c10c5
Expand Down Expand Up @@ -10036,6 +10048,8 @@ trackedFiles:
docs/models/operations/updatescimgroupmappingrequest.mdx:
id: 43c83b37300b
pristine_git_object: 3fd157ff251bc1c0ea914dc84b9c3b024bbcb900
docs/models/operations/updatescimgrouppolicyassignmentglobals.mdx: {}
docs/models/operations/updatescimgrouppolicyassignmentrequest.mdx: {}
docs/models/operations/updateworkspaceglobals.md:
id: c1892ff792dc
last_write_checksum: sha1:9f38c6549f864b8b76e1dcf6f06aad5523ba1189
Expand Down Expand Up @@ -12125,6 +12139,10 @@ trackedFiles:
docs/models/scimgroupmappingrole.mdx:
id: 277a61c893a8
pristine_git_object: b0e19d2967a61bc0ca4d798f80229165ef22364b
docs/models/scimgroupoptout.mdx: {}
docs/models/scimgroupoptoutpolicytype.mdx: {}
docs/models/scimgrouppolicyassignment.mdx: {}
docs/models/scimgrouppolicyassignmentresponse.mdx: {}
docs/models/scimorganizationrolemapping.mdx: {}
docs/models/scimorganizationrolemappingrole.mdx: {}
docs/models/scimsyncjob.mdx:
Expand Down Expand Up @@ -13635,6 +13653,7 @@ trackedFiles:
docs/models/updatescimgroupmappingresponse.mdx:
id: 7d08e38ab31d
pristine_git_object: ccb5cf88a4643477eb0ce2346c29ed71c04f58d1
docs/models/updatescimgrouppolicyassignmentrequest.mdx: {}
docs/models/updateworkspacerequest.md:
id: 9e53386960ad
last_write_checksum: sha1:476fb50446924122b7cb274a9a6788daf8e284a7
Expand Down Expand Up @@ -14544,6 +14563,7 @@ trackedFiles:
src/funcs/guardrailPoliciesDeleteModerationPolicy.ts:
id: 8b91fa727348
pristine_git_object: aa303b94a9d60d945bc54a54fea5f2e5d4db63f6
src/funcs/guardrailPoliciesDeleteScimGroupPolicyOptOut.ts: {}
src/funcs/guardrailPoliciesGetApiKeyPolicyAssignment.ts:
id: 99a4f66a2b11
pristine_git_object: fc1948c59dc0f986c439cd4fc081efff3c405028
Expand All @@ -14559,6 +14579,7 @@ trackedFiles:
src/funcs/guardrailPoliciesGetModerationPolicy.ts:
id: fa0abd48b8e7
pristine_git_object: f4f70b1a4f8883c845d1504250d9e8dfb21d01af
src/funcs/guardrailPoliciesGetScimGroupPolicyAssignment.ts: {}
src/funcs/guardrailPoliciesListAccountPolicies.ts:
id: 5264681a1e48
pristine_git_object: 62d0b9feb29ab7b10897245d82c8722a95b8c389
Expand All @@ -14571,6 +14592,8 @@ trackedFiles:
src/funcs/guardrailPoliciesListModerationPolicies.ts:
id: 1f36d47c3360
pristine_git_object: 60aec889533fda3c1defb409fc1334d381a384a3
src/funcs/guardrailPoliciesListScimGroupPolicyAssignments.ts: {}
src/funcs/guardrailPoliciesListScimGroupPolicyOptOuts.ts: {}
src/funcs/guardrailPoliciesUpdateAccountPolicy.ts:
id: f19dbeba8e8b
pristine_git_object: c688790fe0cafc09f1d0433a98f5099c1db7640b
Expand All @@ -14583,6 +14606,7 @@ trackedFiles:
src/funcs/guardrailPoliciesUpdateModerationPolicy.ts:
id: c7f4257e235f
pristine_git_object: d80b64798725a54391253f16fc125ffe40e09d84
src/funcs/guardrailPoliciesUpdateScimGroupPolicyAssignment.ts: {}
src/funcs/guardrailsBulkAssignKeys.ts:
id: a97261f248c8
pristine_git_object: 75984ed2ff3896f60c1e7998220e11b0b222ed3a
Expand Down Expand Up @@ -15997,6 +16021,7 @@ trackedFiles:
src/models/deletescimgroupmappingresponse.ts:
id: 6773f6e7c59d
pristine_git_object: d4c542e500cb2b05dd7a3c95e91ddb1ca8f7173b
src/models/deletescimgroupoptoutresponse.ts: {}
src/models/deletescimorganizationrolemappingresponse.ts: {}
src/models/deleteworkspacebudgetresponse.ts:
id: abfb4f8daac9
Expand Down Expand Up @@ -16594,6 +16619,8 @@ trackedFiles:
src/models/listscimgroupmappingsresponse.ts:
id: c04288fe6dbf
pristine_git_object: a503e87ce1082dbd6e58e10eef347ed439348fe8
src/models/listscimgroupoptoutsresponse.ts: {}
src/models/listscimgrouppolicyassignmentsresponse.ts: {}
src/models/listscimgroupsresponse.ts:
id: d3fac2f94e20
pristine_git_object: 5b63973a8724442c77527f11a557dfc84d5ea409
Expand Down Expand Up @@ -17130,6 +17157,7 @@ trackedFiles:
src/models/operations/deletescimgroupmapping.ts:
id: 28528c6c5f62
pristine_git_object: 45d7fdf9e103ebc9c1f0e1f955fdfa1adb80f277
src/models/operations/deletescimgrouppolicyoptout.ts: {}
src/models/operations/deletescimorganizationrolemapping.ts: {}
src/models/operations/deletevaultsecret.ts:
id: 8a4e4d594e51
Expand Down Expand Up @@ -17240,6 +17268,7 @@ trackedFiles:
src/models/operations/getscimgroupmapping.ts:
id: 770ff3da0b58
pristine_git_object: 8208ddb9588e6c4e6a85afa8638f7aa39bc80442
src/models/operations/getscimgrouppolicyassignment.ts: {}
src/models/operations/getscimsyncjob.ts:
id: 7ab3b0cef3ee
pristine_git_object: 24e3bb771f065657ed6a23f936dc8334269c3c78
Expand Down Expand Up @@ -17375,6 +17404,8 @@ trackedFiles:
src/models/operations/listscimgroupmappings.ts:
id: be5b19bb327f
pristine_git_object: 6add01a116616266282320dd471da716a35b4c2d
src/models/operations/listscimgrouppolicyassignments.ts: {}
src/models/operations/listscimgrouppolicyoptouts.ts: {}
src/models/operations/listscimgroups.ts:
id: f6a6cc9a951f
pristine_git_object: 76f7457be38af733c73dd7de01d8a24bf6305b79
Expand Down Expand Up @@ -17462,6 +17493,7 @@ trackedFiles:
src/models/operations/updatescimgroupmapping.ts:
id: 6b5a9008ec50
pristine_git_object: 01f1f1a6e40909812c77a29e96924ed3ae237088
src/models/operations/updatescimgrouppolicyassignment.ts: {}
src/models/operations/updateworkspace.ts:
id: b10c83b1ce4f
pristine_git_object: 83e9ddc2f1a627e2875fb531b43454d6275731fc
Expand Down Expand Up @@ -17955,6 +17987,9 @@ trackedFiles:
src/models/scimgroupmapping.ts:
id: 851ea3a51b22
pristine_git_object: 062b2385af8e875bd872a8dfe1377ce60e084a6b
src/models/scimgroupoptout.ts: {}
src/models/scimgrouppolicyassignment.ts: {}
src/models/scimgrouppolicyassignmentresponse.ts: {}
src/models/scimorganizationrolemapping.ts: {}
src/models/scimsyncjob.ts:
id: c04d52fe7194
Expand Down Expand Up @@ -18340,6 +18375,7 @@ trackedFiles:
src/models/updatescimgroupmappingresponse.ts:
id: 36503c874458
pristine_git_object: ee2b015d94e8ac2de50308dfd728c72a340300ad
src/models/updatescimgrouppolicyassignmentrequest.ts: {}
src/models/updateworkspacerequest.ts:
id: 84dd4f01b245
pristine_git_object: 239740764c3d1131c26598bccbf46809d98a8424
Expand Down Expand Up @@ -23924,5 +23960,113 @@ examples:
application/json: {"error": {"code": 400, "message": "custom_id is required on requests[0]."}}
"500":
application/json: {"error": {"code": 400, "message": "custom_id is required on requests[0]."}}
listScimGroupPolicyAssignments:
speakeasy-default-list-scim-group-policy-assignments:
responses:
"200":
application/json: {"data": [{"budget": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f", "model_availability": null, "moderation": null, "rate_limit": null, "scim_group_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "scim_group_mapping_id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f", "workspace_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"}]}
"400":
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
"401":
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
"403":
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
"404":
application/json: {"error": {"code": 404, "message": "Resource not found"}}
"409":
application/json: {"error": {"code": 409, "message": "Resource conflict. Please try again later."}}
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
getScimGroupPolicyAssignment:
speakeasy-default-get-scim-group-policy-assignment:
parameters:
path:
mapping_id: "af65e842-2eb2-4feb-bc51-929aca5a7147"
responses:
"200":
application/json: {"data": {"budget": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f", "model_availability": null, "moderation": null, "rate_limit": null, "scim_group_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "scim_group_mapping_id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f", "workspace_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"}}
"400":
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
"401":
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
"403":
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
"404":
application/json: {"error": {"code": 404, "message": "Resource not found"}}
"409":
application/json: {"error": {"code": 409, "message": "Resource conflict. Please try again later."}}
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
updateScimGroupPolicyAssignment:
speakeasy-default-update-scim-group-policy-assignment:
parameters:
path:
mapping_id: "10d15a71-fe5b-43e7-a9cc-284d994de944"
requestBody:
application/json: {}
responses:
"200":
application/json: {"data": {"budget": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f", "model_availability": null, "moderation": null, "rate_limit": null, "scim_group_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "scim_group_mapping_id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f", "workspace_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"}}
"400":
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
"401":
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
"403":
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
"404":
application/json: {"error": {"code": 404, "message": "Resource not found"}}
"409":
application/json: {"error": {"code": 409, "message": "Resource conflict. Please try again later."}}
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
deleteScimGroupPolicyOptOut:
speakeasy-default-delete-scim-group-policy-opt-out:
parameters:
path:
mapping_id: "104dbbf4-a30b-427e-8207-76203c3fadc5"
query:
user_id: "<id>"
policy_type: "rate_limit"
responses:
"200":
application/json: {"deleted": true}
"400":
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
"401":
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
"403":
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
"404":
application/json: {"error": {"code": 404, "message": "Resource not found"}}
"409":
application/json: {"error": {"code": 409, "message": "Resource conflict. Please try again later."}}
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
listScimGroupPolicyOptOuts:
speakeasy-default-list-scim-group-policy-opt-outs:
parameters:
path:
mapping_id: "732784db-8051-4b40-9258-0ffc259c47ec"
responses:
"200":
application/json: {"data": []}
"400":
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
"401":
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
"403":
application/json: {"error": {"code": 403, "message": "Only management keys can perform this operation"}}
"404":
application/json: {"error": {"code": 404, "message": "Resource not found"}}
"409":
application/json: {"error": {"code": 409, "message": "Resource conflict. Please try again later."}}
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: "## Typescript SDK Changes:\n* `openrouter.images.generate()`: \n * `request.imageGenerationRequest.resolution` **Changed**\n"
releaseNotes: |
## Typescript SDK Changes:
* `openrouter.guardrailPolicies.listScimGroupPolicyAssignments()`: **Added**
* `openrouter.guardrailPolicies.getScimGroupPolicyAssignment()`: **Added**
* `openrouter.guardrailPolicies.updateScimGroupPolicyAssignment()`: **Added**
* `openrouter.guardrailPolicies.deleteScimGroupPolicyOptOut()`: **Added**
* `openrouter.guardrailPolicies.listScimGroupPolicyOptOuts()`: **Added**
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
typescript:
version: 1.5.166
version: 1.5.167
acceptHeaderEnum: false
additionalDependencies:
dependencies:
Expand Down
Loading