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
553
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-cec7ff0 to 0.0.0-d7f836e

336

build/api.d.ts
import { AxiosInstance, AxiosRequestConfig } from "axios";
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 { ContentFontResources, Pick_SerializedContentFontResource_resourceGroupIds_or_family_or_files_, Partial_SerializedContentFontResource_, Contents, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, AnyValue, Readable, WithoutReadonly, WithoutWriteonly } from "./definitions";
export default class {
axios: AxiosInstance;
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
private listContentFontResource;
private createContentFontResource;
private getContentFontResource;
private updateContentFontResource;
private listContent;

@@ -14,8 +18,143 @@ private createContent;

private renderContent;
get ContentResource(): {
listContentFontResource: (params: {
ids?: string[];
resourceGroupIds?: string[];
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";
};
readonly createdAt: Date & {
readonly?: "__readonly";
};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
family: string;
files: {
[x: string]: string;
};
readonly companyId: string & {
readonly?: "__readonly";
};
type: "font";
}[];
}>>;
createContentFontResource: (data: {
resourceGroupIds: string[];
family: string;
files: {
[x: string]: string;
};
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";
};
readonly createdAt: Date & {
readonly?: "__readonly";
};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
family: string;
files: {
[x: string]: string;
};
readonly companyId: string & {
readonly?: "__readonly";
};
type: "font";
};
}>>;
getContentFontResource: (params: {
id: string;
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";
};
readonly createdAt: Date & {
readonly?: "__readonly";
};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
family: string;
files: {
[x: string]: string;
};
readonly companyId: string & {
readonly?: "__readonly";
};
type: "font";
};
}>>;
updateContentFontResource: (params: {
id: string;
}, data: {
resourceGroupIds?: string[];
family?: string;
files?: {
[x: string]: string;
};
type?: "font";
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
status: "success";
program: string;
version: string;
datetime: string;
code?: number;
message: string;
data: {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";
};
readonly createdAt: Date & {
readonly?: "__readonly";
};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
family: string;
files: {
[x: string]: string;
};
readonly companyId: string & {
readonly?: "__readonly";
};
type: "font";
};
}>>;
};
get Content(): {
list: (params: {
ids?: string[];
name?: string;
resourceGroupIds?: string[];
status?: ContentStatus[];
sortBy?: "updatedAt" | "createdAt";
sortBy?: "createdAt" | "updatedAt";
sortOrder?: "desc" | "asc";

@@ -36,3 +175,4 @@ page?: number;

description?: string;
readonly updatedAt: Date & {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";

@@ -43,4 +183,6 @@ };

};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
name: string;
resourceGroupIds: string[];
readonly status: (ContentStatus.DRAFT & {

@@ -55,5 +197,2 @@ readonly?: "__readonly";

});
readonly id: string & {
readonly?: "__readonly";
};
readonly companyId: string & {

@@ -121,2 +260,9 @@ readonly?: "__readonly";

};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -131,17 +277,17 @@ };

rules: {
field: {
value: {
type: "dependency";
value: string;
} | {
type: "static";
value: string | number;
} | {
};
field: {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
} | {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];

@@ -166,4 +312,4 @@ } | {

description?: string;
resourceGroupIds: string[];
name: string;
resourceGroupIds: string[];
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{

@@ -178,3 +324,4 @@ status: "success";

description?: string;
readonly updatedAt: Date & {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";

@@ -185,4 +332,6 @@ };

};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
name: string;
resourceGroupIds: string[];
readonly status: (ContentStatus.DRAFT & {

@@ -197,5 +346,2 @@ readonly?: "__readonly";

});
readonly id: string & {
readonly?: "__readonly";
};
readonly companyId: string & {

@@ -263,2 +409,9 @@ readonly?: "__readonly";

};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -273,17 +426,17 @@ };

rules: {
field: {
value: {
type: "dependency";
value: string;
} | {
type: "static";
value: string | number;
} | {
};
field: {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
} | {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];

@@ -317,3 +470,4 @@ } | {

description?: string;
readonly updatedAt: Date & {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";

@@ -324,4 +478,6 @@ };

};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
name: string;
resourceGroupIds: string[];
readonly status: (ContentStatus.DRAFT & {

@@ -336,5 +492,2 @@ readonly?: "__readonly";

});
readonly id: string & {
readonly?: "__readonly";
};
readonly companyId: string & {

@@ -402,2 +555,9 @@ readonly?: "__readonly";

};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -412,17 +572,17 @@ };

rules: {
field: {
value: {
type: "dependency";
value: string;
} | {
type: "static";
value: string | number;
} | {
};
field: {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
} | {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];

@@ -449,4 +609,4 @@ } | {

description?: string;
resourceGroupIds?: string[];
name?: string;
resourceGroupIds?: string[];
} & {

@@ -504,2 +664,9 @@ previewUrl?: string;

};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -514,17 +681,17 @@ };

rules: {
field: {
value: {
type: "dependency";
value: string;
} | {
type: "static";
value: string | number;
} | {
};
field: {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
} | {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];

@@ -553,3 +720,4 @@ } | {

description?: string;
readonly updatedAt: Date & {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";

@@ -560,4 +728,6 @@ };

};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
name: string;
resourceGroupIds: string[];
readonly status: (ContentStatus.DRAFT & {

@@ -572,5 +742,2 @@ readonly?: "__readonly";

});
readonly id: string & {
readonly?: "__readonly";
};
readonly companyId: string & {

@@ -638,2 +805,9 @@ readonly?: "__readonly";

};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -648,17 +822,17 @@ };

rules: {
field: {
value: {
type: "dependency";
value: string;
} | {
type: "static";
value: string | number;
} | {
};
field: {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
} | {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];

@@ -683,2 +857,3 @@ } | {

id: string;
'dry-run'?: boolean;
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{

@@ -704,3 +879,4 @@ status: "success";

description?: string;
readonly updatedAt: Date & {
resourceGroupIds: string[];
readonly id: string & {
readonly?: "__readonly";

@@ -711,4 +887,6 @@ };

};
readonly updatedAt: Date & {
readonly?: "__readonly";
};
name: string;
resourceGroupIds: string[];
readonly status: (ContentStatus.DRAFT & {

@@ -723,5 +901,2 @@ readonly?: "__readonly";

});
readonly id: string & {
readonly?: "__readonly";
};
readonly companyId: string & {

@@ -789,2 +964,9 @@ readonly?: "__readonly";

};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -799,17 +981,17 @@ };

rules: {
field: {
value: {
type: "dependency";
value: string;
} | {
type: "static";
value: string | number;
} | {
};
field: {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
} | {
type: "static";
value: string | number;
} | {
type: "dependency";
value: string;
};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];

@@ -816,0 +998,0 @@ } | {

@@ -18,5 +18,19 @@ "use strict";

}
listContentFontResource(params, options) {
return this.axios.get("/contents/fonts", Object.assign({}, {
params: pick(params, "ids", "resourceGroupIds"),
}, options));
}
createContentFontResource(data, options) {
return this.axios.post("/contents/fonts", data, options);
}
getContentFontResource(params, options) {
return this.axios.get("/contents/fonts/{id}".replace(/{id}/, String(params["id"])), options);
}
updateContentFontResource(params, data, options) {
return this.axios.patch("/contents/fonts/{id}".replace(/{id}/, String(params["id"])), data, options);
}
listContent(params, options) {
return this.axios.get("/contents", Object.assign({}, {
params: pick(params, "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
params: pick(params, "ids", "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
}, options));

@@ -34,3 +48,5 @@ }

deleteContent(params, options) {
return this.axios.delete("/contents/{id}".replace(/{id}/, String(params["id"])), options);
return this.axios.delete("/contents/{id}".replace(/{id}/, String(params["id"])), Object.assign({}, {
params: pick(params, "dry-run"),
}, options));
}

@@ -45,2 +61,10 @@ publishContent(params, options) {

}
get ContentResource() {
return {
listContentFontResource: this.listContentFontResource.bind(this),
createContentFontResource: this.createContentFontResource.bind(this),
getContentFontResource: this.getContentFontResource.bind(this),
updateContentFontResource: this.updateContentFontResource.bind(this)
};
}
get Content() {

@@ -67,2 +91,2 @@ return {

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

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

} : never;
export declare type SerializedContentResource = {
readonly id: (string) & readonlyP;
readonly companyId: (string) & readonlyP;
resourceGroupIds: string[];
readonly createdAt: (Date) & readonlyP;
readonly updatedAt: (Date) & readonlyP;
};
export declare type Pick_ContentFontResources_type_or_family_or_files_ = {
type: "font";
family: string;
files: {
[key: string]: string;
};
};
export declare type ContentFontResources = SerializedContentResource & Pick_ContentFontResources_type_or_family_or_files_;
export declare type Pick_SerializedContentFontResource_resourceGroupIds_or_family_or_files_ = {
resourceGroupIds: string[];
family: string;
files: {
[key: string]: string;
};
};
export declare type Partial_SerializedContentFontResource_ = {
readonly id?: (string) & readonlyP;
readonly companyId?: (string) & readonlyP;
resourceGroupIds?: string[];
readonly createdAt?: (Date) & readonlyP;
readonly updatedAt?: (Date) & readonlyP;
type?: "font";
family?: string;
files?: {
[key: string]: string;
};
};
export declare enum ContentVersionState {

@@ -27,3 +61,3 @@ DRAFT = "draft",

export declare type AnyValue = any | null;
export declare type PageComponent = {
export declare type _id_string_x_number_y_number_width_number_height_number_rotation_number__ = {
id: string;

@@ -36,57 +70,76 @@ x: number;

};
export declare type OrderTree = {
export declare type _type_conditionGroup__ = {
type: "conditionGroup";
};
export declare type _type_condition_children_string_Array__ = {
type: "condition";
children: string[];
};
export declare type _type_component__ = {
type: "component";
};
export declare type _type_componentGroup_children_string_Array__ = {
type: "componentGroup";
children: string[];
};
export declare type __x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array____ = {
[key: string]: _type_conditionGroup__ | _type_condition_children_string_Array__ | _type_component__ | _type_componentGroup_children_string_Array__;
};
export declare type _root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array______ = {
root: string[];
elements: {
[key: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
elements: __x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array____;
};
export declare type Page = {
export declare type _width_number_height_number_components__id_string_x_number_y_number_width_number_height_number_rotation_number___Array_orderTree__root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array________ = {
width: number;
height: number;
components: PageComponent[];
orderTree: OrderTree;
components: _id_string_x_number_y_number_width_number_height_number_rotation_number__[];
orderTree: _root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array______;
};
export declare type Condition = {
export declare type _type_static_value_string__ = {
type: "static";
value: string;
};
export declare type _type_dependency_value_string__ = {
type: "dependency";
value: string;
};
export declare type _url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined__ = {
url?: (_type_static_value_string__ | _type_dependency_value_string__)[];
};
export declare type __x_string___width_number_height_number_components__id_string_x_number_y_number_width_number_height_number_rotation_number___Array_orderTree__root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array_________and__url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined____ = {
[key: string]: _width_number_height_number_components__id_string_x_number_y_number_width_number_height_number_rotation_number___Array_orderTree__root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array________ & _url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined__;
};
export declare type _name_string_or_undefined__ = {
name?: string;
};
export declare type _type_static_value_string_or_number__ = {
type: "static";
value: string | number;
};
export declare type _field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string____ = {
field: _type_static_value_string_or_number__ | _type_dependency_value_string__;
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: _type_static_value_string_or_number__ | _type_dependency_value_string__;
};
export declare type _id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array__ = {
id: 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;
};
}[];
rules: _field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string____[];
};
export declare type ElseCondition = {
export declare type _id_string_isElse_true__ = {
id: string;
isElse: true;
};
export declare type ConditionGroup = {
name?: string;
conditions: (Condition | Condition | ElseCondition)[];
export declare type _conditions____id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array___Array__id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array____id_string_isElse_true_____ = {
conditions: (_id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array__ | _id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array__ | _id_string_isElse_true__)[];
};
export declare type ComponentGroup = {
name?: string;
export declare type __x_string___name_string_or_undefined___and__conditions____id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array___Array__id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array____id_string_isElse_true_______ = {
[key: string]: _name_string_or_undefined__ & _conditions____id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array___Array__id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array____id_string_isElse_true_____;
};
export declare type _rendered_boolean__ = {
rendered: boolean;
};
export declare type __x_string___name_string_or_undefined___and__rendered_boolean____ = {
[key: string]: _name_string_or_undefined__ & _rendered_boolean__;
};
export declare type BaseTemplate = {

@@ -111,11 +164,5 @@ components: {

};
pages: {
[key: string]: Page;
};
conditionGroups: {
[key: string]: ConditionGroup;
};
componentGroups: {
[key: string]: ComponentGroup;
};
pages: __x_string___width_number_height_number_components__id_string_x_number_y_number_width_number_height_number_rotation_number___Array_orderTree__root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array_________and__url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined____;
conditionGroups: __x_string___name_string_or_undefined___and__conditions____id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array___Array__id_string_type_and_or_or_rules__field__type_static_value_string_or_number___or__type_dependency_value_string___operator_24gte_or_24gt_or_24lt_or_24lte_or_24eq_or_24ne_value__type_static_value_string_or_number___or__type_dependency_value_string_____Array____id_string_isElse_true_______;
componentGroups: __x_string___name_string_or_undefined___and__rendered_boolean____;
};

@@ -122,0 +169,0 @@ export declare type SerializedContentVersions = {

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

})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBZ0NwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUF5R0QsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBa0VwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUFzSEQsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
{
"name": "@rlvt/contents-openapi-client",
"version": "0.0.0-cec7ff0",
"version": "0.0.0-d7f836e",
"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