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-647c7e5 to 0.0.0-64cdb61

510

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 & {

@@ -101,3 +240,2 @@ readonly?: "__readonly";

y: number;
z: number;
rotation: number;

@@ -107,2 +245,25 @@ }[];

height: number;
orderTree: {
root: string[];
elements: {
[x: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -113,16 +274,7 @@ };

name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
value: {
type: "static";

@@ -134,4 +286,3 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
field: {
type: "static";

@@ -143,6 +294,7 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];
} | {
id: "else";
components: string[];
id: string;
isElse: true;
})[];

@@ -154,12 +306,3 @@ };

name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};

@@ -173,4 +316,4 @@ };

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

@@ -185,3 +328,4 @@ status: "success";

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

@@ -192,4 +336,6 @@ };

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

@@ -204,5 +350,2 @@ readonly?: "__readonly";

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

@@ -250,3 +393,2 @@ readonly?: "__readonly";

y: number;
z: number;
rotation: number;

@@ -256,2 +398,25 @@ }[];

height: number;
orderTree: {
root: string[];
elements: {
[x: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -262,16 +427,7 @@ };

name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
value: {
type: "static";

@@ -283,4 +439,3 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
field: {
type: "static";

@@ -292,6 +447,7 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];
} | {
id: "else";
components: string[];
id: string;
isElse: true;
})[];

@@ -303,12 +459,3 @@ };

name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};

@@ -331,3 +478,4 @@ };

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

@@ -338,4 +486,6 @@ };

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

@@ -350,5 +500,2 @@ readonly?: "__readonly";

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

@@ -396,3 +543,2 @@ readonly?: "__readonly";

y: number;
z: number;
rotation: number;

@@ -402,2 +548,25 @@ }[];

height: number;
orderTree: {
root: string[];
elements: {
[x: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -408,16 +577,7 @@ };

name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
value: {
type: "static";

@@ -429,4 +589,3 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
field: {
type: "static";

@@ -438,6 +597,7 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];
} | {
id: "else";
components: string[];
id: string;
isElse: true;
})[];

@@ -449,12 +609,3 @@ };

name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};

@@ -470,4 +621,4 @@ };

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

@@ -505,3 +656,2 @@ previewUrl?: string;

y: number;
z: number;
rotation: number;

@@ -511,2 +661,25 @@ }[];

height: number;
orderTree: {
root: string[];
elements: {
[x: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -517,16 +690,7 @@ };

name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
value: {
type: "static";

@@ -538,4 +702,3 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
field: {
type: "static";

@@ -547,6 +710,7 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];
} | {
id: "else";
components: string[];
id: string;
isElse: true;
})[];

@@ -558,12 +722,3 @@ };

name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};

@@ -581,3 +736,4 @@ };

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

@@ -588,4 +744,6 @@ };

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

@@ -600,5 +758,2 @@ readonly?: "__readonly";

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

@@ -646,3 +801,2 @@ readonly?: "__readonly";

y: number;
z: number;
rotation: number;

@@ -652,2 +806,25 @@ }[];

height: number;
orderTree: {
root: string[];
elements: {
[x: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -658,16 +835,7 @@ };

name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
value: {
type: "static";

@@ -679,4 +847,3 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
field: {
type: "static";

@@ -688,6 +855,7 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];
} | {
id: "else";
components: string[];
id: string;
isElse: true;
})[];

@@ -699,12 +867,3 @@ };

name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};

@@ -718,2 +877,3 @@ };

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

@@ -739,3 +899,4 @@ status: "success";

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

@@ -746,4 +907,6 @@ };

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

@@ -758,5 +921,2 @@ readonly?: "__readonly";

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

@@ -804,3 +964,2 @@ readonly?: "__readonly";

y: number;
z: number;
rotation: number;

@@ -810,2 +969,25 @@ }[];

height: number;
orderTree: {
root: string[];
elements: {
[x: string]: {
type: "conditionGroup";
} | {
type: "condition";
children: string[];
} | {
type: "component";
} | {
type: "componentGroup";
children: string[];
};
};
};
url?: ({
type: "static";
value: string;
} | {
type: "dependency";
value: string;
})[];
};

@@ -816,16 +998,7 @@ };

name?: string;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
conditions: ({
id: string;
components: string[];
type: "and" | "or";
rules: {
field: {
value: {
type: "static";

@@ -837,4 +1010,3 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
value: {
field: {
type: "static";

@@ -846,6 +1018,7 @@ value: string | number;

};
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
}[];
} | {
id: "else";
components: string[];
id: string;
isElse: true;
})[];

@@ -857,12 +1030,3 @@ };

name?: string;
components: string[];
rendered: boolean;
parent?: {
id: string;
type: "conditionGroup";
conditionId: string;
} | {
id: string;
type: "componentGroup";
};
};

@@ -869,0 +1033,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLDZDQUFnUDtBQUE3Tiw0R0FBQSxhQUFhLE9BQUE7QUFFaEM7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQWMsSUFBSSxnQkFBZ0I7WUFDM0MsQ0FBQyxDQUFDLGdCQUFnQjtZQUNsQixDQUFDLENBQUMsZUFBSyxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFBO0lBQ3hDLENBQUM7SUFFTyxXQUFXLENBQUMsTUFRbkIsRUFBRSxPQUE0QjtRQUMzQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxDQVlqQixXQUFXLEVBQ1gsTUFBTSxDQUFDLE1BQU0sQ0FDVCxFQUFFLEVBQ0Y7WUFDSSxNQUFNLEVBQUUsSUFBSSxDQUFDLE1BQU0sRUFBRSxNQUFNLEVBQUUsa0JBQWtCLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLFNBQVMsQ0FBQztTQU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DO0lBQzVCLENBQUMsQ0FBQyxDQUFDO0lBQ0gsT0FBTyxHQUFHLENBQUM7QUFDZixDQUFDIn0=

@@ -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,7 +61,6 @@ 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;
x: number;
y: number;
z: number;
width: number;

@@ -37,6 +70,37 @@ height: number;

};
export declare type Page = {
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: __x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array____;
};
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 _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__ = {
width: number;
height: number;
components: PageComponent[];
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______;
url?: (_type_static_value_string__ | _type_dependency_value_string__)[];
};

@@ -63,17 +127,8 @@ export declare type Condition = {

}[];
components: string[];
};
export declare type ElseCondition = {
id: "else";
components: string[];
id: string;
isElse: true;
};
export declare type ConditionGroup = {
parent?: {
type: "conditionGroup";
id: string;
conditionId: string;
} | {
type: "componentGroup";
id: string;
};
name?: string;

@@ -84,11 +139,2 @@ conditions: (Condition | Condition | ElseCondition)[];

name?: string;
parent?: {
type: "conditionGroup";
id: string;
conditionId: string;
} | {
type: "componentGroup";
id: string;
};
components: string[];
rendered: boolean;

@@ -116,3 +162,3 @@ };

pages: {
[key: string]: Page;
[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__;
};

@@ -119,0 +165,0 @@ conditionGroups: {

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

})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic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sRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
{
"name": "@rlvt/contents-openapi-client",
"version": "0.0.0-647c7e5",
"version": "0.0.0-64cdb61",
"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