Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shapediver/api.platform-api-dto-v1

Package Overview
Dependencies
Maintainers
4
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/api.platform-api-dto-v1 - npm Package Compare versions

Comparing version 2.9.4 to 2.9.12

5

dist/response/SdPlatformBaseResponseTypes.d.ts

@@ -6,2 +6,3 @@ /**

readonly success: boolean;
readonly version: string;
readonly data: T;

@@ -14,2 +15,3 @@ }

readonly success: boolean;
readonly version: string;
readonly data: {

@@ -28,2 +30,3 @@ result: Array<T>;

success: boolean;
readonly version: string;
message: string;

@@ -37,2 +40,3 @@ data: T;

success: boolean;
readonly version: string;
patched_properties?: Array<string>;

@@ -45,4 +49,5 @@ data: T;

export interface SdPlatformDeleteResponse {
readonly version: string;
success: boolean;
}
//# sourceMappingURL=SdPlatformBaseResponseTypes.d.ts.map

47

dist/response/SdPlatformResponseModelSharing.d.ts
import { SdPlatformResponseModelBase } from "./SdPlatformResponseModel";
import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
/**
* A model sharing relationship, which shares a policy for accessing a model with a receiving user.
*/
export interface SdPlatformResponseModelSharing {
export interface SdPlatformResposneModelSharingPolicy {
/**

@@ -12,12 +9,4 @@ * Id of the sharing relationship.

/**
* Id of the receiving user.
*/
readonly user_id: string;
/**
* Id of the model being shared.
*/
readonly model_id: string;
/**
* Alias of the policy being shared.
*/
* Alias of the policy being shared.
*/
readonly policy_alias: string;

@@ -32,3 +21,16 @@ /**

readonly receiver_has_features: boolean;
}
/**
* A model sharing relationship, which shares a policy for accessing a model with a receiving user.
*/
export interface SdPlatformResponseModelSharing extends SdPlatformResposneModelSharingPolicy {
/**
* Id of the receiving user.
*/
readonly user_id: string;
/**
* Id of the model being shared.
*/
readonly model_id: string;
/**
* Gets the shared model.

@@ -46,2 +48,19 @@ */

}
/**
* The model sharings grouped by user.
*/
export interface SdPlatformResponseModelSharingGroupedByUser {
/**
* The user id.
*/
readonly user_id: string;
/**
* The user.
*/
readonly user: SdPlatformResponseUserMinimal;
/**
* All the policies of a sharing.
*/
readonly policies: Array<SdPlatformResposneModelSharingPolicy>;
}
//# sourceMappingURL=SdPlatformResponseModelSharing.d.ts.map

@@ -27,2 +27,12 @@ import { SdPlatformPolicyPermissionsStatusType, SdPlatformPolicyPermissionsType, SdPlatformPolicyRequiredFeatures, SdPlatformPolicyType } from "../commons/SdPlatformPolicyCommons";

}
export interface SdPlatformResponsePoliciesDeniedContext {
/**
* The features that provider is missing.
*/
readonly provider_missing_features: Array<string>;
/**
* The features that receiver is missing.
*/
readonly receiver_missing_features: Array<string>;
}
/**

@@ -44,3 +54,9 @@ * Permissions and policies available to the requesting user

readonly permissions: Array<Tpermission>;
/**
* The policies denied context.
*/
readonly policies_denied_context: {
[policy_alias: string]: SdPlatformResponsePoliciesDeniedContext;
};
}
//# sourceMappingURL=SdPlatformResponsePolicy.d.ts.map
import { SdPlatformResponseSavedStateMinimal } from "./SdPlatformResponseSavedState";
import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser";
/**
* A saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
*/
export interface SdPlatformResponseSavedStateSharing {
export interface SdPlatformResponseSavedStateSharingPolicy {
/**

@@ -12,10 +9,2 @@ * Id of the sharing relationship.

/**
* Id of the receiving user.
*/
readonly user_id: string;
/**
* Id of the saved state being shared.
*/
readonly saved_state_id: string;
/**
* Alias of the policy being shared.

@@ -32,3 +21,16 @@ */

readonly receiver_has_features: boolean;
}
/**
* A saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user.
*/
export interface SdPlatformResponseSavedStateSharing extends SdPlatformResponseSavedStateSharingPolicy {
/**
* Id of the receiving user.
*/
readonly user_id: string;
/**
* Id of the saved state being shared.
*/
readonly saved_state_id: string;
/**
* Gets the shared saved state.

@@ -46,2 +48,19 @@ */

}
/**
* The saved state sharings grouped by user.
*/
export interface SdPlatformResponseSavedStateSharingGroupedByUser {
/**
* The user id.
*/
readonly user_id: string;
/**
* The user.
*/
readonly user: SdPlatformResponseUserMinimal;
/**
* All the policies of a sharing.
*/
readonly policies: Array<SdPlatformResponseSavedStateSharingPolicy>;
}
//# sourceMappingURL=SdPlatformResponseSavedStateSharing.d.ts.map
{
"name": "@shapediver/api.platform-api-dto-v1",
"version": "2.9.4",
"version": "2.9.12",
"description": "Data Transfer Object Definitions of the Platform API v1",

@@ -32,2 +32,3 @@ "keywords": [

"dependencies": {
"@types/q": "^1.5.5",
"chargebee-typescript": "^2.7.1"

@@ -38,3 +39,4 @@ },

"typescript": "^4.6.3"
}
},
"gitHead": "6f7a876b2913e0d64ad511f946418f6b94cb42cc"
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc