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
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions src/resources/organization/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@ export namespace OrganizationRetrieveResponse {
export interface Models {
/**
* The maximum number of generations that can be run concurrently for this model.
* null means no limit.
*/
maxConcurrentGenerations: number;
maxConcurrentGenerations: number | null;

/**
* The maximum number of generations that can be created each day for this model.
* null means no limit.
*/
maxDailyGenerations: number;
maxDailyGenerations: number | null;
}
}

Expand Down Expand Up @@ -116,6 +118,8 @@ export interface OrganizationRetrieveUsageResponse {
| 'gen4_image'
| 'gen4_image_turbo'
| 'gpt_image_2'
| 'gpt_image_2_5_flare'
| 'gpt_image_2_5_sunburst'
| 'act_two'
| 'gen4_aleph'
| 'veo3'
Expand Down Expand Up @@ -154,6 +158,7 @@ export interface OrganizationRetrieveUsageResponse {
| 'magnific_precision_upscaler_v2'
| 'magnific_video_upscaler_creative'
| 'ruby'
| 'enhance_frame_rate'
| 'kling2.5_turbo_pro'
| 'kling3.0_pro'
| 'kling3.0_4k'
Expand Down Expand Up @@ -217,6 +222,8 @@ export namespace OrganizationRetrieveUsageResponse {
| 'gen4_image'
| 'gen4_image_turbo'
| 'gpt_image_2'
| 'gpt_image_2_5_flare'
| 'gpt_image_2_5_sunburst'
| 'act_two'
| 'gen4_aleph'
| 'veo3'
Expand Down Expand Up @@ -255,6 +262,7 @@ export namespace OrganizationRetrieveUsageResponse {
| 'magnific_precision_upscaler_v2'
| 'magnific_video_upscaler_creative'
| 'ruby'
| 'enhance_frame_rate'
| 'kling2.5_turbo_pro'
| 'kling3.0_pro'
| 'kling3.0_4k'
Expand Down
33 changes: 30 additions & 3 deletions src/resources/organization/webapp/audit-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export interface AuditLogRetrieveResponse {
| 'MeteredBillingConfigUpdated'
| 'MeteredBillingRefillTriggered'
| 'MeteredBillingRetryTriggered'
| 'EnterpriseSpendCapEnforcementUpdated';
| 'EnterpriseSpendCapEnforcementUpdated'
| 'AwsMarketplaceEnterpriseSubscriptionLinked';

/**
* Whether the acting user has since been deleted.
Expand Down Expand Up @@ -221,14 +222,22 @@ export namespace AuditLogRetrieveResponse {

'Asset name'?: unknown;

'AWS license'?: unknown;

'Brand kit ID'?: unknown;

'Comment ID'?: unknown;

'Comment target ID'?: unknown;

'Comment target type'?: unknown;

'Comment text'?: unknown;

'Default task name template'?: unknown;

'Destination category ID'?: unknown;

Direction?: unknown;

'Error code'?: unknown;
Expand All @@ -241,6 +250,8 @@ export namespace AuditLogRetrieveResponse {

'Login method'?: unknown;

'Media included'?: unknown;

'Member email'?: unknown;

Mentions?: unknown;
Expand All @@ -249,12 +260,16 @@ export namespace AuditLogRetrieveResponse {

'New role'?: unknown;

'New text'?: unknown;

'New User'?: unknown;

'New value'?: unknown;

Operation?: unknown;

Organization?: unknown;

Outcome?: unknown;

Plan?: unknown;
Expand All @@ -263,6 +278,8 @@ export namespace AuditLogRetrieveResponse {

'Previous role'?: unknown;

'Previous text'?: unknown;

'Previous value'?: unknown;

Reason?: unknown;
Expand All @@ -271,20 +288,28 @@ export namespace AuditLogRetrieveResponse {

Role?: unknown;

'Root asset ID'?: unknown;

Setting?: unknown;

'Shared with projects'?: unknown;

'Shared with workspace'?: unknown;

'Source category ID'?: unknown;

'Spend cap'?: unknown;

'Spend cap change'?: unknown;

'Tag color'?: unknown;

'Tag name'?: unknown;

'Target member'?: unknown;

'Via public API'?: unknown;

Workspace?: unknown;

'Workspace description'?: unknown;
Expand Down Expand Up @@ -386,7 +411,8 @@ export interface AuditLogListResponse {
| 'MeteredBillingConfigUpdated'
| 'MeteredBillingRefillTriggered'
| 'MeteredBillingRetryTriggered'
| 'EnterpriseSpendCapEnforcementUpdated';
| 'EnterpriseSpendCapEnforcementUpdated'
| 'AwsMarketplaceEnterpriseSubscriptionLinked';

/**
* Whether the acting user has since been deleted.
Expand Down Expand Up @@ -466,7 +492,8 @@ export interface AuditLogListParams extends CursorPageParams {
* `WorkspaceTagCreated`, `WorkspaceTagUpdated`, `WorkspaceTagDeleted`,
* `WorkspaceTagAssigned`, `WorkspaceTagUnassigned`, `MeteredBillingConfigUpdated`,
* `MeteredBillingRefillTriggered`, `MeteredBillingRetryTriggered`,
* `EnterpriseSpendCapEnforcementUpdated`.
* `EnterpriseSpendCapEnforcementUpdated`,
* `AwsMarketplaceEnterpriseSubscriptionLinked`.
*/
actions?: string;

Expand Down
Loading
Loading