Skip to content

Commit 57c307e

Browse files
feat(api): update OpenAPI spec or Stainless config
1 parent 9314b6c commit 57c307e

16 files changed

Lines changed: 286 additions & 137 deletions

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 249
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai/openai-0161cb2a0faadedfc17ff59c7fcad9671962dbd170f83811003c23702148cf36.yml
3-
openapi_spec_hash: 1023c7442d0e2e7e213e8b3a253921c5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai/openai-e00ba6273043ec67eab4c213e30df144731fc5ae51d7c820ea647990c552b60b.yml
3+
openapi_spec_hash: 9168743f8e60b63630e679583b29a840
44
config_hash: e02ca1082421dfe55b145c45e95d6126

‎adminorganizationadminapikey.go‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ type AdminAPIKey struct {
103103
ID string `json:"id" api:"required"`
104104
// The Unix timestamp (in seconds) of when the API key was created
105105
CreatedAt int64 `json:"created_at" api:"required" format:"unixtime"`
106+
// The Unix timestamp (in seconds) of when the API key expires
107+
ExpiresAt int64 `json:"expires_at" api:"required" format:"unixtime"`
106108
// The object type, which is always `organization.admin_api_key`
107109
Object constant.OrganizationAdminAPIKey `json:"object" default:"organization.admin_api_key"`
108110
Owner AdminAPIKeyOwner `json:"owner" api:"required"`
@@ -116,6 +118,7 @@ type AdminAPIKey struct {
116118
JSON struct {
117119
ID respjson.Field
118120
CreatedAt respjson.Field
121+
ExpiresAt respjson.Field
119122
Object respjson.Field
120123
Owner respjson.Field
121124
RedactedValue respjson.Field
@@ -205,6 +208,9 @@ func (r *AdminOrganizationAdminAPIKeyDeleteResponse) UnmarshalJSON(data []byte)
205208

206209
type AdminOrganizationAdminAPIKeyNewParams struct {
207210
Name string `json:"name" api:"required"`
211+
// The number of seconds until the API key expires. Omit this field for a key that
212+
// does not expire.
213+
ExpiresInSeconds param.Opt[int64] `json:"expires_in_seconds,omitzero"`
208214
paramObj
209215
}
210216

‎adminorganizationadminapikey_test.go‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/openai/openai-go/v3/option"
1414
)
1515

16-
func TestAdminOrganizationAdminAPIKeyNew(t *testing.T) {
16+
func TestAdminOrganizationAdminAPIKeyNewWithOptionalParams(t *testing.T) {
1717
baseURL := "http://localhost:4010"
1818
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1919
baseURL = envURL
@@ -27,7 +27,8 @@ func TestAdminOrganizationAdminAPIKeyNew(t *testing.T) {
2727
option.WithAdminAPIKey("My Admin API Key"),
2828
)
2929
_, err := client.Admin.Organization.AdminAPIKeys.New(context.TODO(), openai.AdminOrganizationAdminAPIKeyNewParams{
30-
Name: "New Admin Key",
30+
Name: "New Admin Key",
31+
ExpiresInSeconds: openai.Int(2592000),
3132
})
3233
if err != nil {
3334
var apierr *openai.Error

‎adminorganizationauditlog.go‎

Lines changed: 123 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ type AdminOrganizationAuditLogListResponse struct {
8888
// "workload_identity_provider_mapping.updated",
8989
// "workload_identity_provider_mapping.deleted", "role.created", "role.updated",
9090
// "role.deleted", "role.assignment.created", "role.assignment.deleted",
91-
// "scim.enabled", "scim.disabled", "service_account.created",
92-
// "service_account.updated", "service_account.deleted", "user.added",
93-
// "user.updated", "user.deleted".
91+
// "role.bound_to_resource", "role.unbound_from_resource", "scim.enabled",
92+
// "scim.disabled", "service_account.created", "service_account.updated",
93+
// "service_account.deleted", "user.added", "user.updated", "user.deleted".
9494
Type AdminOrganizationAuditLogListResponseType `json:"type" api:"required"`
9595
// The actor who performed the audit logged action.
9696
Actor AdminOrganizationAuditLogListResponseActor `json:"actor" api:"nullable"`
@@ -172,10 +172,14 @@ type AdminOrganizationAuditLogListResponse struct {
172172
// The details for events with this `type`.
173173
RoleAssignmentDeleted AdminOrganizationAuditLogListResponseRoleAssignmentDeleted `json:"role.assignment.deleted"`
174174
// The details for events with this `type`.
175+
RoleBoundToResource AdminOrganizationAuditLogListResponseRoleBoundToResource `json:"role.bound_to_resource"`
176+
// The details for events with this `type`.
175177
RoleCreated AdminOrganizationAuditLogListResponseRoleCreated `json:"role.created"`
176178
// The details for events with this `type`.
177179
RoleDeleted AdminOrganizationAuditLogListResponseRoleDeleted `json:"role.deleted"`
178180
// The details for events with this `type`.
181+
RoleUnboundFromResource AdminOrganizationAuditLogListResponseRoleUnboundFromResource `json:"role.unbound_from_resource"`
182+
// The details for events with this `type`.
179183
RoleUpdated AdminOrganizationAuditLogListResponseRoleUpdated `json:"role.updated"`
180184
// The details for events with this `type`.
181185
ScimDisabled AdminOrganizationAuditLogListResponseScimDisabled `json:"scim.disabled"`
@@ -248,8 +252,10 @@ type AdminOrganizationAuditLogListResponse struct {
248252
RateLimitUpdated respjson.Field
249253
RoleAssignmentCreated respjson.Field
250254
RoleAssignmentDeleted respjson.Field
255+
RoleBoundToResource respjson.Field
251256
RoleCreated respjson.Field
252257
RoleDeleted respjson.Field
258+
RoleUnboundFromResource respjson.Field
253259
RoleUpdated respjson.Field
254260
ScimDisabled respjson.Field
255261
ScimEnabled respjson.Field
@@ -329,6 +335,8 @@ const (
329335
AdminOrganizationAuditLogListResponseTypeRoleDeleted AdminOrganizationAuditLogListResponseType = "role.deleted"
330336
AdminOrganizationAuditLogListResponseTypeRoleAssignmentCreated AdminOrganizationAuditLogListResponseType = "role.assignment.created"
331337
AdminOrganizationAuditLogListResponseTypeRoleAssignmentDeleted AdminOrganizationAuditLogListResponseType = "role.assignment.deleted"
338+
AdminOrganizationAuditLogListResponseTypeRoleBoundToResource AdminOrganizationAuditLogListResponseType = "role.bound_to_resource"
339+
AdminOrganizationAuditLogListResponseTypeRoleUnboundFromResource AdminOrganizationAuditLogListResponseType = "role.unbound_from_resource"
332340
AdminOrganizationAuditLogListResponseTypeScimEnabled AdminOrganizationAuditLogListResponseType = "scim.enabled"
333341
AdminOrganizationAuditLogListResponseTypeScimDisabled AdminOrganizationAuditLogListResponseType = "scim.disabled"
334342
AdminOrganizationAuditLogListResponseTypeServiceAccountCreated AdminOrganizationAuditLogListResponseType = "service_account.created"
@@ -1546,6 +1554,56 @@ func (r *AdminOrganizationAuditLogListResponseRoleAssignmentDeleted) UnmarshalJS
15461554
return apijson.UnmarshalRoot(data, r)
15471555
}
15481556

1557+
// The details for events with this `type`.
1558+
type AdminOrganizationAuditLogListResponseRoleBoundToResource struct {
1559+
// The ID of the resource the role was bound to. ChatGPT workspace connector
1560+
// resources use `<workspace_id>__<connector_id>`.
1561+
ID string `json:"id"`
1562+
// The connector ID for a ChatGPT workspace connector resource.
1563+
ConnectorID string `json:"connector_id"`
1564+
// The connector display name for a ChatGPT workspace connector resource, or the
1565+
// connector ID when the display name could not be resolved.
1566+
ConnectorName string `json:"connector_name"`
1567+
// Whether the connector is enabled for the role.
1568+
Enabled bool `json:"enabled"`
1569+
// The permissions granted to the role for the resource.
1570+
Permissions []string `json:"permissions"`
1571+
// The ID of the resource the role was bound to.
1572+
ResourceID string `json:"resource_id"`
1573+
// The type of resource the role was bound to.
1574+
ResourceType string `json:"resource_type"`
1575+
// The ID of the role that was bound to the resource.
1576+
RoleID string `json:"role_id"`
1577+
// The connector role mutation path that produced the event.
1578+
//
1579+
// Any of "role_toggle", "role_connector_update", "role_delete",
1580+
// "workspace_permissions", "connector_publish".
1581+
Source string `json:"source"`
1582+
// The workspace ID for a ChatGPT workspace connector resource.
1583+
WorkspaceID string `json:"workspace_id"`
1584+
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
1585+
JSON struct {
1586+
ID respjson.Field
1587+
ConnectorID respjson.Field
1588+
ConnectorName respjson.Field
1589+
Enabled respjson.Field
1590+
Permissions respjson.Field
1591+
ResourceID respjson.Field
1592+
ResourceType respjson.Field
1593+
RoleID respjson.Field
1594+
Source respjson.Field
1595+
WorkspaceID respjson.Field
1596+
ExtraFields map[string]respjson.Field
1597+
raw string
1598+
} `json:"-"`
1599+
}
1600+
1601+
// Returns the unmodified JSON received from the API
1602+
func (r AdminOrganizationAuditLogListResponseRoleBoundToResource) RawJSON() string { return r.JSON.raw }
1603+
func (r *AdminOrganizationAuditLogListResponseRoleBoundToResource) UnmarshalJSON(data []byte) error {
1604+
return apijson.UnmarshalRoot(data, r)
1605+
}
1606+
15491607
// The details for events with this `type`.
15501608
type AdminOrganizationAuditLogListResponseRoleCreated struct {
15511609
// The role ID.
@@ -1594,6 +1652,58 @@ func (r *AdminOrganizationAuditLogListResponseRoleDeleted) UnmarshalJSON(data []
15941652
return apijson.UnmarshalRoot(data, r)
15951653
}
15961654

1655+
// The details for events with this `type`.
1656+
type AdminOrganizationAuditLogListResponseRoleUnboundFromResource struct {
1657+
// The ID of the resource the role was unbound from. ChatGPT workspace connector
1658+
// resources use `<workspace_id>__<connector_id>`.
1659+
ID string `json:"id"`
1660+
// The connector ID for a ChatGPT workspace connector resource.
1661+
ConnectorID string `json:"connector_id"`
1662+
// The connector display name for a ChatGPT workspace connector resource, or the
1663+
// connector ID when the display name could not be resolved.
1664+
ConnectorName string `json:"connector_name"`
1665+
// Whether the connector is enabled for the role.
1666+
Enabled bool `json:"enabled"`
1667+
// The permissions remaining for the role after the change.
1668+
Permissions []string `json:"permissions"`
1669+
// The ID of the resource the role was unbound from.
1670+
ResourceID string `json:"resource_id"`
1671+
// The type of resource the role was unbound from.
1672+
ResourceType string `json:"resource_type"`
1673+
// The ID of the role that was unbound from the resource.
1674+
RoleID string `json:"role_id"`
1675+
// The connector role mutation path that produced the event.
1676+
//
1677+
// Any of "role_toggle", "role_connector_update", "role_delete",
1678+
// "workspace_permissions", "connector_publish".
1679+
Source string `json:"source"`
1680+
// The workspace ID for a ChatGPT workspace connector resource.
1681+
WorkspaceID string `json:"workspace_id"`
1682+
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
1683+
JSON struct {
1684+
ID respjson.Field
1685+
ConnectorID respjson.Field
1686+
ConnectorName respjson.Field
1687+
Enabled respjson.Field
1688+
Permissions respjson.Field
1689+
ResourceID respjson.Field
1690+
ResourceType respjson.Field
1691+
RoleID respjson.Field
1692+
Source respjson.Field
1693+
WorkspaceID respjson.Field
1694+
ExtraFields map[string]respjson.Field
1695+
raw string
1696+
} `json:"-"`
1697+
}
1698+
1699+
// Returns the unmodified JSON received from the API
1700+
func (r AdminOrganizationAuditLogListResponseRoleUnboundFromResource) RawJSON() string {
1701+
return r.JSON.raw
1702+
}
1703+
func (r *AdminOrganizationAuditLogListResponseRoleUnboundFromResource) UnmarshalJSON(data []byte) error {
1704+
return apijson.UnmarshalRoot(data, r)
1705+
}
1706+
15971707
// The details for events with this `type`.
15981708
type AdminOrganizationAuditLogListResponseRoleUpdated struct {
15991709
// The role ID.
@@ -2057,6 +2167,11 @@ type AdminOrganizationAuditLogListParams struct {
20572167
// A limit on the number of objects to be returned. Limit can range between 1 and
20582168
// 100, and the default is 20.
20592169
Limit param.Opt[int64] `query:"limit,omitzero" json:"-"`
2170+
// Return only tenant-scoped events associated with this organization. Required for
2171+
// tenant-scoped events such as `role.bound_to_resource` and
2172+
// `role.unbound_from_resource`. When `true`, all supplied event types must be
2173+
// tenant-scoped.
2174+
TenantOnly param.Opt[bool] `query:"tenant_only,omitzero" json:"-"`
20602175
// Return only events performed by users with these emails.
20612176
ActorEmails []string `query:"actor_emails,omitzero" json:"-"`
20622177
// Return only events performed by these actors. Can be a user ID, a service
@@ -2086,14 +2201,15 @@ type AdminOrganizationAuditLogListParams struct {
20862201
// "workload_identity_provider_mapping.updated",
20872202
// "workload_identity_provider_mapping.deleted", "role.created", "role.updated",
20882203
// "role.deleted", "role.assignment.created", "role.assignment.deleted",
2089-
// "scim.enabled", "scim.disabled", "service_account.created",
2090-
// "service_account.updated", "service_account.deleted", "user.added",
2091-
// "user.updated", "user.deleted".
2204+
// "role.bound_to_resource", "role.unbound_from_resource", "scim.enabled",
2205+
// "scim.disabled", "service_account.created", "service_account.updated",
2206+
// "service_account.deleted", "user.added", "user.updated", "user.deleted".
20922207
EventTypes []string `query:"event_types,omitzero" json:"-"`
20932208
// Return only events for these projects.
20942209
ProjectIDs []string `query:"project_ids,omitzero" json:"-"`
20952210
// Return only events performed on these targets. For example, a project ID
2096-
// updated.
2211+
// updated. For ChatGPT connector role events, use the workspace connector resource
2212+
// ID shown in `details.id`, such as `<workspace_id>__<connector_id>`.
20972213
ResourceIDs []string `query:"resource_ids,omitzero" json:"-"`
20982214
paramObj
20992215
}

‎adminorganizationauditlog_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func TestAdminOrganizationAuditLogListWithOptionalParams(t *testing.T) {
4141
Limit: openai.Int(0),
4242
ProjectIDs: []string{"string"},
4343
ResourceIDs: []string{"string"},
44+
TenantOnly: openai.Bool(true),
4445
})
4546
if err != nil {
4647
var apierr *openai.Error

‎aliases.go‎

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,23 @@ const OAuthErrorCodeInvalidSubjectToken = shared.OAuthErrorCodeInvalidSubjectTok
463463
// [reasoning models](https://platform.openai.com/docs/guides/reasoning).
464464
//
465465
// This is an alias to an internal type.
466-
type Reasoning = shared.Reasoning
466+
type ReasoningParam = shared.ReasoningParam
467+
468+
// Controls which reasoning items are rendered back to the model on later turns.
469+
// When returned on a response, this is the effective reasoning context mode used
470+
// for the response.
471+
//
472+
// This is an alias to an internal type.
473+
type ReasoningContext = shared.ReasoningContext
474+
475+
// Equals "auto"
476+
const ReasoningContextAuto = shared.ReasoningContextAuto
477+
478+
// Equals "current_turn"
479+
const ReasoningContextCurrentTurn = shared.ReasoningContextCurrentTurn
480+
481+
// Equals "all_turns"
482+
const ReasoningContextAllTurns = shared.ReasoningContextAllTurns
467483

468484
// **Deprecated:** use `summary` instead.
469485
//
@@ -502,14 +518,6 @@ const ReasoningSummaryConcise = shared.ReasoningSummaryConcise
502518
// Equals "detailed"
503519
const ReasoningSummaryDetailed = shared.ReasoningSummaryDetailed
504520

505-
// **gpt-5 and o-series models only**
506-
//
507-
// Configuration options for
508-
// [reasoning models](https://platform.openai.com/docs/guides/reasoning).
509-
//
510-
// This is an alias to an internal type.
511-
type ReasoningParam = shared.ReasoningParam
512-
513521
// Constrains effort on reasoning for
514522
// [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
515523
// supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.

‎api.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#FunctionDefinition">FunctionDefinition</a>
2626
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#FunctionParameters">FunctionParameters</a>
2727
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#Metadata">Metadata</a>
28-
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#Reasoning">Reasoning</a>
2928
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#ReasoningEffort">ReasoningEffort</a>
3029
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#ResponseFormatJSONObject">ResponseFormatJSONObject</a>
3130
- <a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared">shared</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/v3/shared#ResponseFormatJSONSchema">ResponseFormatJSONSchema</a>

‎conversations/aliases.go‎

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,23 @@ const OAuthErrorCodeInvalidSubjectToken = shared.OAuthErrorCodeInvalidSubjectTok
463463
// [reasoning models](https://platform.openai.com/docs/guides/reasoning).
464464
//
465465
// This is an alias to an internal type.
466-
type Reasoning = shared.Reasoning
466+
type ReasoningParam = shared.ReasoningParam
467+
468+
// Controls which reasoning items are rendered back to the model on later turns.
469+
// When returned on a response, this is the effective reasoning context mode used
470+
// for the response.
471+
//
472+
// This is an alias to an internal type.
473+
type ReasoningContext = shared.ReasoningContext
474+
475+
// Equals "auto"
476+
const ReasoningContextAuto = shared.ReasoningContextAuto
477+
478+
// Equals "current_turn"
479+
const ReasoningContextCurrentTurn = shared.ReasoningContextCurrentTurn
480+
481+
// Equals "all_turns"
482+
const ReasoningContextAllTurns = shared.ReasoningContextAllTurns
467483

468484
// **Deprecated:** use `summary` instead.
469485
//
@@ -502,14 +518,6 @@ const ReasoningSummaryConcise = shared.ReasoningSummaryConcise
502518
// Equals "detailed"
503519
const ReasoningSummaryDetailed = shared.ReasoningSummaryDetailed
504520

505-
// **gpt-5 and o-series models only**
506-
//
507-
// Configuration options for
508-
// [reasoning models](https://platform.openai.com/docs/guides/reasoning).
509-
//
510-
// This is an alias to an internal type.
511-
type ReasoningParam = shared.ReasoningParam
512-
513521
// Constrains effort on reasoning for
514522
// [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
515523
// supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.

‎realtime/aliases.go‎

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,23 @@ const OAuthErrorCodeInvalidSubjectToken = shared.OAuthErrorCodeInvalidSubjectTok
463463
// [reasoning models](https://platform.openai.com/docs/guides/reasoning).
464464
//
465465
// This is an alias to an internal type.
466-
type Reasoning = shared.Reasoning
466+
type ReasoningParam = shared.ReasoningParam
467+
468+
// Controls which reasoning items are rendered back to the model on later turns.
469+
// When returned on a response, this is the effective reasoning context mode used
470+
// for the response.
471+
//
472+
// This is an alias to an internal type.
473+
type ReasoningContext = shared.ReasoningContext
474+
475+
// Equals "auto"
476+
const ReasoningContextAuto = shared.ReasoningContextAuto
477+
478+
// Equals "current_turn"
479+
const ReasoningContextCurrentTurn = shared.ReasoningContextCurrentTurn
480+
481+
// Equals "all_turns"
482+
const ReasoningContextAllTurns = shared.ReasoningContextAllTurns
467483

468484
// **Deprecated:** use `summary` instead.
469485
//
@@ -502,14 +518,6 @@ const ReasoningSummaryConcise = shared.ReasoningSummaryConcise
502518
// Equals "detailed"
503519
const ReasoningSummaryDetailed = shared.ReasoningSummaryDetailed
504520

505-
// **gpt-5 and o-series models only**
506-
//
507-
// Configuration options for
508-
// [reasoning models](https://platform.openai.com/docs/guides/reasoning).
509-
//
510-
// This is an alias to an internal type.
511-
type ReasoningParam = shared.ReasoningParam
512-
513521
// Constrains effort on reasoning for
514522
// [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
515523
// supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.

0 commit comments

Comments
 (0)