Skip to content

Commit d86bc5c

Browse files
committed
chore: generate
1 parent 3fb00c0 commit d86bc5c

File tree

27 files changed

+83
-81
lines changed

27 files changed

+83
-81
lines changed

.speakeasy/workflow.lock

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
1-
speakeasyVersion: 1.593.0
1+
speakeasyVersion: 1.596.0
22
sources:
33
api:
44
sourceNamespace: api
55
sourceRevisionDigest: sha256:c46c7b5cfcced8b2a663d7029883cd791b7fa066753481947e69f61708f2d372
66
sourceBlobDigest: sha256:4374fac9888384537a315ae3e9d9f87be1323215dd67a5a78988dd24ccf86e4b
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753970121
109
- 2.0.0
1110
targets:
1211
api-go:
1312
source: api
1413
sourceNamespace: api
15-
sourceRevisionDigest: sha256:4d5e3d9962e2dd54f50c72022e2105eea5e45c8b126a880593d14bea9ec2c245
16-
sourceBlobDigest: sha256:6d16864099e145a7fb731b2d46a9ae642dd46485b5522d81ea7681feb8ff48ec
14+
sourceRevisionDigest: sha256:c46c7b5cfcced8b2a663d7029883cd791b7fa066753481947e69f61708f2d372
15+
sourceBlobDigest: sha256:4374fac9888384537a315ae3e9d9f87be1323215dd67a5a78988dd24ccf86e4b
1716
codeSamplesNamespace: api-go-code-samples
18-
codeSamplesRevisionDigest: sha256:ec2833eb0f42b4f0218a054ba776c8a0c0da8ca6964b289eb0c9e487e9501fe1
17+
codeSamplesRevisionDigest: sha256:fb109468b2d1fa5ab06d027ddf19750e97d463f7da475e8ceef4b11cd7cb3f9f
1918
api-py:
2019
source: api
2120
sourceNamespace: api
22-
sourceRevisionDigest: sha256:e97dd711ce1c293625651e24a98c36834efd13fed0229a94071b78981d296fcc
23-
sourceBlobDigest: sha256:4c172c8ad7a09aac2d61f896decd51ced672868f9051c226a1615657ade37d98
21+
sourceRevisionDigest: sha256:c46c7b5cfcced8b2a663d7029883cd791b7fa066753481947e69f61708f2d372
22+
sourceBlobDigest: sha256:4374fac9888384537a315ae3e9d9f87be1323215dd67a5a78988dd24ccf86e4b
2423
codeSamplesNamespace: api-python-code-samples
25-
codeSamplesRevisionDigest: sha256:4e7cad14258199122da9308738238d013694b637e4e3a8629488ba175f6d37bd
24+
codeSamplesRevisionDigest: sha256:f0f3a2d06f650b0786a6e7ec63f95342ecb75659ad5595f2d00f967e65278e43
2625
api-ts:
2726
source: api
2827
sourceNamespace: api
2928
sourceRevisionDigest: sha256:c46c7b5cfcced8b2a663d7029883cd791b7fa066753481947e69f61708f2d372
3029
sourceBlobDigest: sha256:4374fac9888384537a315ae3e9d9f87be1323215dd67a5a78988dd24ccf86e4b
3130
codeSamplesNamespace: api-typescript-code-samples
32-
codeSamplesRevisionDigest: sha256:f8cb33fb5ab1a267f40b7915f6c0d16d3917007ed09457303ff6f8146022e7d4
31+
codeSamplesRevisionDigest: sha256:45db0b45091c2b12374f5742ceb3227e4e1a467f97621c9d3f74dbab3ec961ee
3332
workflow:
3433
workflowVersion: 1.0.0
3534
speakeasyVersion: latest

api/go/.speakeasy/gen.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 1e71104d-54d7-4d66-ad20-a43a13855261
33
management:
4-
docChecksum: d4a691ba1ccf3f0b1987e15169372d52
4+
docChecksum: 57456096efbf3ef53c293a0eeaecc28d
55
docVersion: 2.0.0
6-
speakeasyVersion: 1.592.2
7-
generationVersion: 2.668.4
8-
releaseVersion: 2.0.8
9-
configChecksum: a7fb54c9ae91feea53fbae86a1d486bf
6+
speakeasyVersion: 1.596.0
7+
generationVersion: 2.672.0
8+
releaseVersion: 2.0.0
9+
configChecksum: 96f228cae131ece57a91ceb609567b34
1010
repoURL: https://github.com/unkeyed/sdks.git
1111
repoSubDirectory: api/go
1212
installationURL: https://github.com/unkeyed/sdks/api/go/v2
1313
features:
1414
go:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.12
17-
core: 3.9.1
17+
core: 3.9.3
1818
defaultEnabledRetries: 0.2.0
1919
envVarSecurityUsage: 0.3.2
2020
globalSecurity: 2.82.11
@@ -27,7 +27,7 @@ features:
2727
nullables: 0.1.1
2828
pagination: 2.82.4
2929
responseFormat: 0.1.2
30-
retries: 2.83.3
30+
retries: 2.84.0
3131
sdkHooks: 0.2.0
3232
generatedFiles:
3333
- .gitattributes
@@ -634,7 +634,7 @@ examples:
634634
application/json: {"limit": 50, "cursor": "cursor_eyJrZXkiOiJrZXlfMTIzNCJ9"}
635635
responses:
636636
"200":
637-
application/json: {"meta": {"requestId": "req_01H9TQPP77V5E48E9SH0BG0ZQX"}, "data": [{"externalId": "<id>", "ratelimits": [{"id": "rl_1234567890abcdef", "name": "api_requests", "limit": 1000, "duration": 3600000, "autoApply": true}]}], "pagination": {"cursor": "eyJrZXkiOiJrZXlfMTIzNCIsInRzIjoxNjk5Mzc4ODAwfQ==", "hasMore": true}}
637+
application/json: {"meta": {"requestId": "req_01H9TQPP77V5E48E9SH0BG0ZQX"}, "data": [{"externalId": "<id>"}], "pagination": {"cursor": "eyJrZXkiOiJrZXlfMTIzNCIsInRzIjoxNjk5Mzc4ODAwfQ==", "hasMore": true}}
638638
missingPermission:
639639
requestBody:
640640
application/json: {"limit": 50, "cursor": "cursor_eyJrZXkiOiJrZXlfMTIzNCJ9"}

api/go/docs/models/components/identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
88
| `ExternalID` | *string* | :heavy_check_mark: | External identity ID |
99
| `Meta` | [*components.IdentityMeta](../../models/components/identitymeta.md) | :heavy_minus_sign: | Identity metadata |
10-
| `Ratelimits` | [][components.RatelimitResponse](../../models/components/ratelimitresponse.md) | :heavy_check_mark: | N/A |
10+
| `Ratelimits` | [][components.RatelimitResponse](../../models/components/ratelimitresponse.md) | :heavy_minus_sign: | N/A |
1111
| `Description` | *any* | :heavy_minus_sign: | N/A |

api/go/docs/models/components/role.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `ID` | *string* | :heavy_check_mark: | The unique identifier for this role within Unkey's system.<br/>Generated automatically when the role is created and used to reference this role in API operations.<br/>Always begins with 'role_' followed by alphanumeric characters and underscores.<br/> | role_1234567890abcdef |
99
| `Name` | *string* | :heavy_check_mark: | The human-readable name for this role that describes its function.<br/>Should be descriptive enough for administrators to understand what access this role provides.<br/>Use clear, semantic names that reflect the job function or responsibility level.<br/>Names must be unique within your workspace to avoid confusion during role assignment.<br/> | support.readonly |
1010
| `Description` | **string* | :heavy_minus_sign: | Optional detailed explanation of what this role encompasses and what access it provides.<br/>Helps team members understand the role's scope, intended use cases, and security implications.<br/>Include information about what types of users should receive this role and what they can accomplish.<br/>Not visible to end users - this is for internal documentation and access control audits.<br/> | Provides read-only access for customer support representatives to view user accounts and support tickets |
11-
| `Permissions` | [][components.Permission](../../models/components/permission.md) | :heavy_check_mark: | Complete list of permissions currently assigned to this role.<br/>Each permission grants specific access rights that will be inherited by any keys or users assigned this role.<br/>Use this list to understand the full scope of access provided by this role.<br/>Permissions can be added or removed from roles without affecting the role's identity or other properties.<br/>Empty array indicates a role with no permissions currently assigned.<br/> | |
11+
| `Permissions` | [][components.Permission](../../models/components/permission.md) | :heavy_minus_sign: | Complete list of permissions currently assigned to this role.<br/>Each permission grants specific access rights that will be inherited by any keys or users assigned this role.<br/>Use this list to understand the full scope of access provided by this role.<br/>Permissions can be added or removed from roles without affecting the role's identity or other properties.<br/>Empty array indicates a role with no permissions currently assigned.<br/> | |

api/go/models/components/identity.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type Identity struct {
1111
ExternalID string `json:"externalId"`
1212
// Identity metadata
1313
Meta *IdentityMeta `json:"meta,omitempty"`
14-
Ratelimits []RatelimitResponse `json:"ratelimits"`
14+
Ratelimits []RatelimitResponse `json:"ratelimits,omitempty"`
1515
Description any `json:"description,omitempty"`
1616
}
1717

@@ -31,7 +31,7 @@ func (o *Identity) GetMeta() *IdentityMeta {
3131

3232
func (o *Identity) GetRatelimits() []RatelimitResponse {
3333
if o == nil {
34-
return []RatelimitResponse{}
34+
return nil
3535
}
3636
return o.Ratelimits
3737
}

api/go/models/components/role.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Role struct {
2626
// Permissions can be added or removed from roles without affecting the role's identity or other properties.
2727
// Empty array indicates a role with no permissions currently assigned.
2828
//
29-
Permissions []Permission `json:"permissions"`
29+
Permissions []Permission `json:"permissions,omitempty"`
3030
}
3131

3232
func (o *Role) GetID() string {
@@ -52,7 +52,7 @@ func (o *Role) GetDescription() *string {
5252

5353
func (o *Role) GetPermissions() []Permission {
5454
if o == nil {
55-
return []Permission{}
55+
return nil
5656
}
5757
return o.Permissions
5858
}

api/go/unkey.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
package v2
44

5-
// Generated from OpenAPI doc version 2.0.0 and generator version 2.668.4
5+
// Generated from OpenAPI doc version 2.0.0 and generator version 2.672.0
66

77
import (
88
"context"
@@ -218,7 +218,7 @@ func New(opts ...SDKOption) *Unkey {
218218
sdk := &Unkey{
219219
SDKVersion: "2.0.0",
220220
sdkConfiguration: config.SDKConfiguration{
221-
UserAgent: "speakeasy-sdk/go 2.0.0 2.668.4 2.0.0 github.com/unkeyed/sdks/api/go/v2",
221+
UserAgent: "speakeasy-sdk/go 2.0.0 2.672.0 2.0.0 github.com/unkeyed/sdks/api/go/v2",
222222
ServerList: ServerList,
223223
},
224224
hooks: hooks.New(),

0 commit comments

Comments
 (0)