@shapediver/api.platform-api-dto-v1
Advanced tools
Comparing version 2.6.5 to 2.6.12
@@ -176,3 +176,6 @@ /** | ||
create = "create", | ||
delete = "delete" | ||
delete = "delete", | ||
queryModelSessions = "query_model_sessions", | ||
embedUsedCredits = "embed_used_credits", | ||
embedBackendSystem = "embed_backend_system" | ||
} | ||
@@ -179,0 +182,0 @@ /** |
@@ -190,2 +190,5 @@ "use strict"; | ||
SdPlatformPolicyPermissionsOrganization["delete"] = "delete"; | ||
SdPlatformPolicyPermissionsOrganization["queryModelSessions"] = "query_model_sessions"; | ||
SdPlatformPolicyPermissionsOrganization["embedUsedCredits"] = "embed_used_credits"; | ||
SdPlatformPolicyPermissionsOrganization["embedBackendSystem"] = "embed_backend_system"; | ||
})(SdPlatformPolicyPermissionsOrganization = exports.SdPlatformPolicyPermissionsOrganization || (exports.SdPlatformPolicyPermissionsOrganization = {})); | ||
@@ -192,0 +195,0 @@ /** |
@@ -32,5 +32,7 @@ /** | ||
Private = "private", | ||
Organization = "organization", | ||
Public = "public", | ||
/** "shared" can be used for querying saved states only */ | ||
Shared = "shared" | ||
} | ||
//# sourceMappingURL=SdPlatformVisibility.d.ts.map |
@@ -39,6 +39,7 @@ "use strict"; | ||
SdPlatformSavedStateVisibility["Private"] = "private"; | ||
SdPlatformSavedStateVisibility["Organization"] = "organization"; | ||
SdPlatformSavedStateVisibility["Public"] = "public"; | ||
/** "shared" can be used for querying saved states only */ | ||
SdPlatformSavedStateVisibility["Shared"] = "shared"; | ||
})(SdPlatformSavedStateVisibility = exports.SdPlatformSavedStateVisibility || (exports.SdPlatformSavedStateVisibility = {})); | ||
; | ||
//# sourceMappingURL=SdPlatformVisibility.js.map |
@@ -20,3 +20,4 @@ /** | ||
code?: string | null; | ||
state?: string | null; | ||
} | ||
//# sourceMappingURL=SdPlatformAuthRequest.d.ts.map |
@@ -17,4 +17,2 @@ /** | ||
model_mgmt_pass?: string; | ||
/** obsolete, will be phased out */ | ||
use_token_authentication?: boolean; | ||
/** Shall this backend system be used by default? */ | ||
@@ -28,2 +26,6 @@ use_by_default?: boolean; | ||
max_num_loaded_max?: number; | ||
/** Unique alias of backend system */ | ||
alias: string; | ||
/** Description of backend system */ | ||
description?: string; | ||
} | ||
@@ -46,4 +48,2 @@ /** | ||
model_mgmt_pass?: string; | ||
/** obsolete, will be phased out */ | ||
use_token_authentication?: boolean; | ||
/** Shall this backend system be used by default? */ | ||
@@ -57,2 +57,6 @@ use_by_default?: boolean; | ||
max_num_loaded_max?: number; | ||
/** Unique alias of backend system */ | ||
alias?: string; | ||
/** Description of backend system */ | ||
description?: string; | ||
} | ||
@@ -67,3 +71,5 @@ /** | ||
scopes: Array<string>; | ||
/** The lifetime of a token in seconds, which is only set if lifetime is less then minimum lifetime for a client. */ | ||
lifetime?: number; | ||
} | ||
//# sourceMappingURL=SdPlatformRequestBackendSystem.d.ts.map |
@@ -23,2 +23,3 @@ import { SdPlatformModelFileType } from "../commons/SdPlatformModelCommons"; | ||
slug?: string; | ||
require_token?: boolean; | ||
} | ||
@@ -47,3 +48,4 @@ /** | ||
visibility?: SdPlatformModelVisibility; | ||
require_token?: boolean; | ||
} | ||
//# sourceMappingURL=SdPlatformRequestModel.d.ts.map |
@@ -9,3 +9,5 @@ import { SdPlatformModelTokenScopes } from "../commons/SdPlatformModelTokenScopes"; | ||
scope: Array<SdPlatformModelTokenScopes>; | ||
/** The lifetime of a token in seconds, which is only set if lifetime is less then minimum lifetime for a client. */ | ||
lifetime?: number; | ||
} | ||
//# sourceMappingURL=SdPlatformRequestModelToken.d.ts.map |
@@ -29,2 +29,3 @@ import { SdPlatformOrganizationVisibility } from "../commons/SdPlatformVisibility"; | ||
accessdomains?: Array<string>; | ||
force_require_token?: boolean; | ||
} | ||
@@ -31,0 +32,0 @@ /** |
@@ -59,2 +59,8 @@ import { SdPlatformOrganizationMemberRole } from "../commons/SdPlatformOrganizationCommons"; | ||
backend_system_id?: string; | ||
/** | ||
* updates the default backend system for the user based on the given backend system alias, | ||
* requires that the user has access to the backend system | ||
*/ | ||
backend_system_alias?: string; | ||
force_require_token?: boolean; | ||
} | ||
@@ -61,0 +67,0 @@ /** |
@@ -159,2 +159,17 @@ /** | ||
} | ||
/** | ||
* Analytics on session duration and on actions, for all models of a organization, for a given timestamp. | ||
*/ | ||
export interface SdPlatformResponseOrganizationModelSessionAnalyticsPerTimestamp { | ||
/** id of organization */ | ||
organization_id: string; | ||
/** type of timestamp */ | ||
timestamp_type: SdPlatformResponseAnalyticsTimestampType; | ||
/** timestamp in epoch format */ | ||
timestamp_date: number; | ||
/** timestamp in format YYYY or YYYYMM or YYYYMMDD or YYYYMMDDHH */ | ||
timestamp: string; | ||
/** aggregated analytics data */ | ||
data: SdPlatformResponseModelSessionAnalytics; | ||
} | ||
//# sourceMappingURL=SdPlatformResponseAnalytics.d.ts.map |
@@ -11,2 +11,6 @@ /** | ||
readonly model_mgmt_url: string; | ||
/** Unique alias of a backend system */ | ||
readonly alias?: string; | ||
/** The description of a backend system */ | ||
readonly description?: string; | ||
} | ||
@@ -25,4 +29,2 @@ /** | ||
readonly model_mgmt_pass?: string; | ||
/** obsolete, will be phased out */ | ||
readonly use_token_authentication: boolean; | ||
/** Shall this backend system be used by default? */ | ||
@@ -29,0 +31,0 @@ readonly use_by_default: boolean; |
@@ -17,3 +17,3 @@ import { SdPlatformResponseModelBase } from "./SdPlatformResponseModel"; | ||
readonly models_count?: number; | ||
/** uuids of models the domain attisached to */ | ||
/** uuids of models the domain attached to */ | ||
readonly models?: Array<SdPlatformResponseModelBase>; | ||
@@ -20,0 +20,0 @@ /** epoch timestamp */ |
@@ -77,7 +77,15 @@ import { SdPlatformModelFileType } from "../commons/SdPlatformModelCommons"; | ||
interface ModelBackendSettingsCompute { | ||
readonly deny_script?: boolean; | ||
readonly ftype: SdPlatformModelFileType; | ||
readonly initial_warmup?: boolean; | ||
readonly max_comp_time?: number; | ||
readonly max_export_size?: number; | ||
readonly max_idle_minutes?: number; | ||
readonly max_model_size?: number; | ||
readonly max_output_size?: number; | ||
readonly max_wait_time?: number; | ||
readonly num_loaded_min?: number; | ||
readonly num_loaded_max?: number; | ||
readonly num_preloaded_min?: number; | ||
readonly session_rate_limit?: number; | ||
readonly trust?: SdPlatformModelTrustlevel; | ||
@@ -97,2 +105,11 @@ } | ||
/** | ||
* Authentication related settings of the model on the geometry backend. | ||
*/ | ||
interface ModelBackendSetttingsToken { | ||
/** authorization groups of a token */ | ||
readonly auth_group: Array<string>; | ||
readonly require_iframe: boolean; | ||
readonly require_token: boolean; | ||
} | ||
/** | ||
* Settings of the model on the geometry backend. | ||
@@ -103,2 +120,3 @@ */ | ||
readonly ticket?: ModelBackendSettingsTicket; | ||
readonly token?: ModelBackendSetttingsToken; | ||
} | ||
@@ -187,2 +205,4 @@ /** | ||
readonly link_sharing_slug?: string; | ||
readonly backend_access: string; | ||
readonly require_token: boolean; | ||
} | ||
@@ -189,0 +209,0 @@ /** |
@@ -32,2 +32,3 @@ import { SdPlatformChargebeeAddon, SdPlatformChargebeeCustomer, SdPlatformChargebeePlan, SdPlatformChargebeeSubscription } from "../commons/SdPlatformChargebee"; | ||
readonly backend_system?: SdPlatformResponseBackendSystem; | ||
readonly force_require_token: boolean; | ||
} | ||
@@ -34,0 +35,0 @@ /** |
@@ -7,2 +7,3 @@ import { SdPlatformPolicyCommonAliasesSavedState, SdPlatformPolicyPermissionsSavedStateType } from "../commons/SdPlatformPolicyCommons"; | ||
import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser"; | ||
import { SdPlatformResponseImagePublic } from './SdPlatformResponseImage'; | ||
/** | ||
@@ -22,2 +23,3 @@ * Saved state - minimal information | ||
readonly description: string; | ||
readonly image?: SdPlatformResponseImagePublic; | ||
readonly image_id?: string; | ||
@@ -30,2 +32,4 @@ readonly owner_id: string; | ||
readonly organization?: SdPlatformResponseOrganizationPublic; | ||
readonly created_at: number; | ||
readonly updated_at: number; | ||
} | ||
@@ -36,4 +40,2 @@ /** | ||
export interface SdPlatformResponseSavedStateOwner extends SdPlatformResponseSavedStatePublic { | ||
readonly created_at: number; | ||
readonly updated_at: number; | ||
readonly visibility: SdPlatformSavedStateVisibility; | ||
@@ -40,0 +42,0 @@ readonly visibility_nominal: SdPlatformSavedStateVisibility; |
@@ -73,2 +73,3 @@ import { SdPlatformChargebeeAddon, SdPlatformChargebeeCustomer, SdPlatformChargebeeSubscription, SdPlatformChargebeePlan } from "../commons/SdPlatformChargebee"; | ||
readonly roles: Array<string>; | ||
readonly force_require_token: boolean; | ||
} | ||
@@ -75,0 +76,0 @@ /** |
{ | ||
"name": "@shapediver/api.platform-api-dto-v1", | ||
"version": "2.6.5", | ||
"version": "2.6.12", | ||
"description": "Data Transfer Object Definitions of the Platform API v1", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
212894
3098