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

@rlvt/contents-openapi-client

Package Overview
Dependencies
Maintainers
7
Versions
525
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rlvt/contents-openapi-client - npm Package Compare versions

Comparing version 0.0.0-548e775 to 0.0.0-5b24dcc

638

build/api.d.ts
import { AxiosInstance, AxiosRequestConfig } from "axios";
import type { Pick__LeanDocument_this__Exclude_keyofthis_24getAllSubdocs_or_24ignore_or_24isDefault_or_24isDeleted_or_24getPopulatedDocs_or_24isEmpty_or_24isValid_or_24locals_or_24markValid_or_24op_or_24session_or_24set_or_24where_or_baseModelName_or_collection_or_db_or_delete_or_deleteOne_or_depopulate_or_directModifiedPaths_or_equals_or_errors_or_execPopulate_or_get_or_getChanges_or_increment_or_init_or_invalidate_or_isDirectModified_or_isDirectSelected_or_isInit_or_isModified_or_isNew_or_isSelected_or_markModified_or_modifiedPaths_or_model_or_modelName_or_overwrite_or_24parent_or_populate_or_populated_or_remove_or_replaceOne_or_save_or_schema_or_set_or_toJSON_or_toObject_or_unmarkModified_or_update_or_updateOne_or_validate_or_validateSync_or_24isSingleNested__, Contents, IObjectWithTypegooseFunction, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, WithoutReadonly, WithoutWriteonly } from "./definitions";
export type { Pick__LeanDocument_this__Exclude_keyofthis_24getAllSubdocs_or_24ignore_or_24isDefault_or_24isDeleted_or_24getPopulatedDocs_or_24isEmpty_or_24isValid_or_24locals_or_24markValid_or_24op_or_24session_or_24set_or_24where_or_baseModelName_or_collection_or_db_or_delete_or_deleteOne_or_depopulate_or_directModifiedPaths_or_equals_or_errors_or_execPopulate_or_get_or_getChanges_or_increment_or_init_or_invalidate_or_isDirectModified_or_isDirectSelected_or_isInit_or_isModified_or_isNew_or_isSelected_or_markModified_or_modifiedPaths_or_model_or_modelName_or_overwrite_or_24parent_or_populate_or_populated_or_remove_or_replaceOne_or_save_or_schema_or_set_or_toJSON_or_toObject_or_unmarkModified_or_update_or_updateOne_or_validate_or_validateSync_or_24isSingleNested__, Contents, IObjectWithTypegooseFunction, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, WithoutReadonly, WithoutWriteonly };
import type { ContentStatus } from "./definitions";
export { Contents, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, AnyValue, Readable, WithoutReadonly, WithoutWriteonly } from "./definitions";
export default class {

@@ -13,2 +13,3 @@ axios: AxiosInstance;

private publishContent;
private renderContent;
get Content(): {

@@ -33,7 +34,3 @@ list: (params: {

message: string;
data: ({
id?: any;
_id?: any;
__v?: any;
} & {
data: {
description?: string;

@@ -71,11 +68,96 @@ readonly updatedAt: Date & {

});
metadata?: {};
previewUrl?: string;
metadata?: {
[x: string]: any;
};
template: {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[x: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[x: string]: any;
};
};
};
dependencies: {
[x: string]: {
type: string;
options: {
[x: string]: any;
};
};
};
pages: {
[x: string]: {
components: {
id: string;
width: number;
height: number;
x: number;
y: number;
z: number;
rotation: number;
}[];
width: number;
height: number;
};
};
conditionGroups: {
[x: string]: {
name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
}[];
} | {
id: "else";
components: string[];
})[];
};
};
componentGroups: {
[x: string]: {
name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};
};
};
}[];
} & {})[];
}[];
}>>;

@@ -126,8 +208,93 @@ create: (data: {

});
metadata?: {};
previewUrl?: string;
metadata?: {
[x: string]: any;
};
template: {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[x: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[x: string]: any;
};
};
};
dependencies: {
[x: string]: {
type: string;
options: {
[x: string]: any;
};
};
};
pages: {
[x: string]: {
components: {
id: string;
width: number;
height: number;
x: number;
y: number;
z: number;
rotation: number;
}[];
width: number;
height: number;
};
};
conditionGroups: {
[x: string]: {
name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
}[];
} | {
id: "else";
components: string[];
})[];
};
};
componentGroups: {
[x: string]: {
name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};
};
};

@@ -179,8 +346,93 @@ }[];

});
metadata?: {};
previewUrl?: string;
metadata?: {
[x: string]: any;
};
template: {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[x: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[x: string]: any;
};
};
};
dependencies: {
[x: string]: {
type: string;
options: {
[x: string]: any;
};
};
};
pages: {
[x: string]: {
components: {
id: string;
width: number;
height: number;
x: number;
y: number;
z: number;
rotation: number;
}[];
width: number;
height: number;
};
};
conditionGroups: {
[x: string]: {
name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
}[];
} | {
id: "else";
components: string[];
})[];
};
};
componentGroups: {
[x: string]: {
name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};
};
};

@@ -197,8 +449,93 @@ }[];

} & {
metadata?: {};
previewUrl?: string;
metadata?: {
[x: string]: any;
};
template?: {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[x: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[x: string]: any;
};
};
};
dependencies: {
[x: string]: {
type: string;
options: {
[x: string]: any;
};
};
};
pages: {
[x: string]: {
components: {
id: string;
width: number;
height: number;
x: number;
y: number;
z: number;
rotation: number;
}[];
width: number;
height: number;
};
};
conditionGroups: {
[x: string]: {
name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
}[];
} | {
id: "else";
components: string[];
})[];
};
};
componentGroups: {
[x: string]: {
name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};
};
};

@@ -245,8 +582,93 @@ }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{

});
metadata?: {};
previewUrl?: string;
metadata?: {
[x: string]: any;
};
template: {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[x: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[x: string]: any;
};
};
};
dependencies: {
[x: string]: {
type: string;
options: {
[x: string]: any;
};
};
};
pages: {
[x: string]: {
components: {
id: string;
width: number;
height: number;
x: number;
y: number;
z: number;
rotation: number;
}[];
width: number;
height: number;
};
};
conditionGroups: {
[x: string]: {
name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
}[];
} | {
id: "else";
components: string[];
})[];
};
};
componentGroups: {
[x: string]: {
name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};
};
};

@@ -309,8 +731,93 @@ }[];

});
metadata?: {};
previewUrl?: string;
metadata?: {
[x: string]: any;
};
template: {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[x: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[x: string]: any;
};
};
};
dependencies: {
[x: string]: {
type: string;
options: {
[x: string]: any;
};
};
};
pages: {
[x: string]: {
components: {
id: string;
width: number;
height: number;
x: number;
y: number;
z: number;
rotation: number;
}[];
width: number;
height: number;
};
};
conditionGroups: {
[x: string]: {
name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
}[];
} | {
id: "else";
components: string[];
})[];
};
};
componentGroups: {
[x: string]: {
name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};
};
};

@@ -320,3 +827,58 @@ }[];

}>>;
render: (params: {
id: string;
'x-rlvt-no-cache'?: boolean;
}, data: {
dependenciesData: {
[key: string]: any;
};
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
readable: boolean;
readonly readableEncoding: ("ascii" & {
readonly?: "__readonly";
}) | ("utf8" & {
readonly?: "__readonly";
}) | ("utf-8" & {
readonly?: "__readonly";
}) | ("utf16le" & {
readonly?: "__readonly";
}) | ("ucs2" & {
readonly?: "__readonly";
}) | ("ucs-2" & {
readonly?: "__readonly";
}) | ("base64" & {
readonly?: "__readonly";
}) | ("base64url" & {
readonly?: "__readonly";
}) | ("latin1" & {
readonly?: "__readonly";
}) | ("binary" & {
readonly?: "__readonly";
}) | ("hex" & {
readonly?: "__readonly";
});
readonly readableEnded: (false & {
readonly?: "__readonly";
}) | (true & {
readonly?: "__readonly";
});
readonly readableFlowing: (false & {
readonly?: "__readonly";
}) | (true & {
readonly?: "__readonly";
});
readonly readableHighWaterMark: number & {
readonly?: "__readonly";
};
readonly readableLength: number & {
readonly?: "__readonly";
};
readonly readableObjectMode: (false & {
readonly?: "__readonly";
}) | (true & {
readonly?: "__readonly";
});
destroyed: boolean;
}>>;
};
}

@@ -8,3 +8,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentStatus = void 0;
const axios_1 = __importDefault(require("axios"));
var definitions_1 = require("./definitions");
Object.defineProperty(exports, "ContentStatus", { enumerable: true, get: function () { return definitions_1.ContentStatus; } });
class default_1 {

@@ -36,2 +39,7 @@ constructor(configOrInstance) {

}
renderContent(params, data, options) {
return this.axios.post("/contents/render/{id}".replace(/{id}/, String(params["id"])), data, Object.assign({}, {
headers: pick(params, "x-rlvt-no-cache"),
}, options));
}
get Content() {

@@ -44,3 +52,4 @@ return {

delete: this.deleteContent.bind(this),
publish: this.publishContent.bind(this)
publish: this.publishContent.bind(this),
render: this.renderContent.bind(this)
};

@@ -58,2 +67,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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TUFBTSxFQUFFLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUNyQyxHQUFHLEVBQUUsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQy9CLE1BQU0sRUFBRSxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDckMsTUFBTSxFQUFFLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUNyQyxPQUFPLEVBQUUsSUFBSSxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQ3ZDLE1BQU0sRUFBRSxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDeEMsQ0FBQztJQUNOLENBQUM7Q0FDSjtBQXRKRCw0QkFzSkM7QUFFRCxTQUFTLElBQUksQ0FBdUIsR0FBTSxFQUFFLEdBQUcsSUFBUztJQUNwRCxNQUFNLEdBQUcsR0FBZSxFQUFnQixDQUFDO0lBQ3pDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9

@@ -20,7 +20,2 @@ declare type readonlyP = {

} : never;
export declare type Pick__LeanDocument_this__Exclude_keyofthis_24getAllSubdocs_or_24ignore_or_24isDefault_or_24isDeleted_or_24getPopulatedDocs_or_24isEmpty_or_24isValid_or_24locals_or_24markValid_or_24op_or_24session_or_24set_or_24where_or_baseModelName_or_collection_or_db_or_delete_or_deleteOne_or_depopulate_or_directModifiedPaths_or_equals_or_errors_or_execPopulate_or_get_or_getChanges_or_increment_or_init_or_invalidate_or_isDirectModified_or_isDirectSelected_or_isInit_or_isModified_or_isNew_or_isSelected_or_markModified_or_modifiedPaths_or_model_or_modelName_or_overwrite_or_24parent_or_populate_or_populated_or_remove_or_replaceOne_or_save_or_schema_or_set_or_toJSON_or_toObject_or_unmarkModified_or_update_or_updateOne_or_validate_or_validateSync_or_24isSingleNested__ = {
_id?: any;
__v?: any;
id?: any;
};
export declare enum ContentVersionState {

@@ -57,3 +52,3 @@ DRAFT = "draft",

};
operator: ">=" | ">" | "<" | "<=" | "==" | "=" | "!=" | "!==";
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {

@@ -75,17 +70,60 @@ type: "static";

parent?: {
type: "conditionGroup";
id: string;
conditionId: string;
} | {
type: "componentGroup";
id: string;
};
name: string;
conditions: (Condition | ElseCondition)[];
name?: string;
conditions: (Condition | Condition | ElseCondition)[];
};
export declare type ComponentGroup = {
name?: string;
parent?: {
type: "conditionGroup";
id: string;
conditionId: string;
} | {
type: "componentGroup";
id: string;
};
components: string[];
rendered: boolean;
};
export declare type BaseTemplate = {
components: {};
dependencies: {};
pages: {};
conditionGroups: {};
components: {
[key: string]: {
name?: string;
type: string;
rendered: boolean;
options: {
[key: string]: AnyValue;
};
};
};
dependencies: {
[key: string]: {
type: string;
options: {
[key: string]: AnyValue;
};
};
};
pages: {
[key: string]: Page;
};
conditionGroups: {
[key: string]: ConditionGroup;
};
componentGroups: {
[key: string]: ComponentGroup;
};
};
export declare type SerializedContentVersions = {
readonly state: (ContentVersionState) & readonlyP;
metadata?: {};
previewUrl?: string;
metadata?: {
[key: string]: AnyValue;
};
template: BaseTemplate;

@@ -112,3 +150,2 @@ };

export declare type Contents = SerializedContent;
export declare type IObjectWithTypegooseFunction = {};
export declare type Pick_SerializedContent_resourceGroupIds_or_name_or_description_ = {

@@ -132,5 +169,18 @@ resourceGroupIds: string[];

readonly state?: (ContentVersionState) & readonlyP;
metadata?: {};
previewUrl?: string;
metadata?: {
[key: string]: AnyValue;
};
template?: BaseTemplate;
};
export declare type Readable = {
readable: boolean;
readonly readableEncoding: ("ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex") & readonlyP;
readonly readableEnded: (boolean) & readonlyP;
readonly readableFlowing: (boolean | null) & readonlyP;
readonly readableHighWaterMark: (number) & readonlyP;
readonly readableLength: (number) & readonlyP;
readonly readableObjectMode: (boolean) & readonlyP;
destroyed: boolean;
};
export {};

2

build/definitions.js

@@ -19,2 +19,2 @@ "use strict";

})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBcUNwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUFnRUQsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBZ0NwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUEyR0QsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
{
"name": "@rlvt/contents-openapi-client",
"version": "0.0.0-548e775",
"version": "0.0.0-5b24dcc",
"description": "Openapi client for reelevant service",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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