@rlvt/contents-openapi-client
Advanced tools
Comparing version 0.0.0-92b0fac to 0.0.0-95c4662
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,2 +18,136 @@ 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(): { | ||
@@ -21,3 +159,3 @@ list: (params: { | ||
status?: ContentStatus[]; | ||
sortBy?: "updatedAt" | "createdAt"; | ||
sortBy?: "createdAt" | "updatedAt"; | ||
sortOrder?: "desc" | "asc"; | ||
@@ -38,3 +176,4 @@ page?: number; | ||
description?: string; | ||
readonly updatedAt: Date & { | ||
resourceGroupIds: string[]; | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
@@ -45,4 +184,6 @@ }; | ||
}; | ||
readonly updatedAt: Date & { | ||
readonly?: "__readonly"; | ||
}; | ||
name: string; | ||
resourceGroupIds: string[]; | ||
readonly status: (ContentStatus.DRAFT & { | ||
@@ -57,5 +198,2 @@ readonly?: "__readonly"; | ||
}); | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
}; | ||
readonly companyId: string & { | ||
@@ -140,14 +278,14 @@ readonly?: "__readonly"; | ||
value: { | ||
type: "dependency"; | ||
value: string; | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
}; | ||
field: { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
field: { | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
@@ -174,4 +312,4 @@ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne"; | ||
description?: string; | ||
resourceGroupIds: string[]; | ||
name: string; | ||
resourceGroupIds: string[]; | ||
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{ | ||
@@ -186,3 +324,4 @@ status: "success"; | ||
description?: string; | ||
readonly updatedAt: Date & { | ||
resourceGroupIds: string[]; | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
@@ -193,4 +332,6 @@ }; | ||
}; | ||
readonly updatedAt: Date & { | ||
readonly?: "__readonly"; | ||
}; | ||
name: string; | ||
resourceGroupIds: string[]; | ||
readonly status: (ContentStatus.DRAFT & { | ||
@@ -205,5 +346,2 @@ readonly?: "__readonly"; | ||
}); | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
}; | ||
readonly companyId: string & { | ||
@@ -288,14 +426,14 @@ readonly?: "__readonly"; | ||
value: { | ||
type: "dependency"; | ||
value: string; | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
}; | ||
field: { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
field: { | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
@@ -331,3 +469,4 @@ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne"; | ||
description?: string; | ||
readonly updatedAt: Date & { | ||
resourceGroupIds: string[]; | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
@@ -338,4 +477,6 @@ }; | ||
}; | ||
readonly updatedAt: Date & { | ||
readonly?: "__readonly"; | ||
}; | ||
name: string; | ||
resourceGroupIds: string[]; | ||
readonly status: (ContentStatus.DRAFT & { | ||
@@ -350,5 +491,2 @@ readonly?: "__readonly"; | ||
}); | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
}; | ||
readonly companyId: string & { | ||
@@ -433,14 +571,14 @@ readonly?: "__readonly"; | ||
value: { | ||
type: "dependency"; | ||
value: string; | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
}; | ||
field: { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
field: { | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
@@ -469,4 +607,4 @@ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne"; | ||
description?: string; | ||
resourceGroupIds?: string[]; | ||
name?: string; | ||
resourceGroupIds?: string[]; | ||
} & { | ||
@@ -541,14 +679,14 @@ previewUrl?: string; | ||
value: { | ||
type: "dependency"; | ||
value: string; | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
}; | ||
field: { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
field: { | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
@@ -579,3 +717,4 @@ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne"; | ||
description?: string; | ||
readonly updatedAt: Date & { | ||
resourceGroupIds: string[]; | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
@@ -586,4 +725,6 @@ }; | ||
}; | ||
readonly updatedAt: Date & { | ||
readonly?: "__readonly"; | ||
}; | ||
name: string; | ||
resourceGroupIds: string[]; | ||
readonly status: (ContentStatus.DRAFT & { | ||
@@ -598,5 +739,2 @@ readonly?: "__readonly"; | ||
}); | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
}; | ||
readonly companyId: string & { | ||
@@ -681,14 +819,14 @@ readonly?: "__readonly"; | ||
value: { | ||
type: "dependency"; | ||
value: string; | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
}; | ||
field: { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
field: { | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
@@ -736,3 +874,4 @@ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne"; | ||
description?: string; | ||
readonly updatedAt: Date & { | ||
resourceGroupIds: string[]; | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
@@ -743,4 +882,6 @@ }; | ||
}; | ||
readonly updatedAt: Date & { | ||
readonly?: "__readonly"; | ||
}; | ||
name: string; | ||
resourceGroupIds: string[]; | ||
readonly status: (ContentStatus.DRAFT & { | ||
@@ -755,5 +896,2 @@ readonly?: "__readonly"; | ||
}); | ||
readonly id: string & { | ||
readonly?: "__readonly"; | ||
}; | ||
readonly companyId: string & { | ||
@@ -838,14 +976,14 @@ readonly?: "__readonly"; | ||
value: { | ||
type: "dependency"; | ||
value: string; | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
}; | ||
field: { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
field: { | ||
} | { | ||
type: "static"; | ||
value: string | number; | ||
} | { | ||
type: "dependency"; | ||
value: string; | ||
}; | ||
@@ -852,0 +990,0 @@ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne"; |
@@ -18,2 +18,16 @@ "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) { | ||
@@ -46,2 +60,10 @@ return this.axios.get("/contents", Object.assign({}, { | ||
} | ||
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() { | ||
@@ -68,2 +90,2 @@ return { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLDZDQUFnUDtBQUE3Tiw0R0FBQSxhQUFhLE9BQUE7QUFFaEM7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSy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DQUFDLElBQUksQ0FBQztZQUNyQyxNQUFNLEVBQUUsSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQ3JDLE9BQU8sRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDdkMsTUFBTSxFQUFFLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztTQUN4QyxDQUFDO0lBQ04sQ0FBQztDQUNKO0FBOU9ELDRCQThPQztBQUVELFNBQVMsSUFBSSxDQUF1QixHQUFNLEVBQUUsR0FBRyxJQUFTO0lBQ3BELE1BQU0sR0FBRyxHQUFlLEVBQWdCLENBQUM7SUFDekMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNmLElBQUksR0FBRyxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEdBQWEsQ0FBQztZQUMvQyxHQUFHLENBQUMsR0FBRyxDQUFDLEdBQUcsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzVCLENBQUMsQ0FBQyxDQUFDO0lBQ0gsT0FBTyxHQUFHLENBQUM7QUFDZixDQUFDIn0= |
@@ -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 { | ||
@@ -56,2 +90,8 @@ DRAFT = "draft", | ||
}; | ||
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: _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 _type_static_value_string__ = { | ||
@@ -65,42 +105,41 @@ type: "static"; | ||
}; | ||
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: _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 _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 Condition = { | ||
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 = { | ||
@@ -125,11 +164,5 @@ components: { | ||
}; | ||
pages: { | ||
[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__; | ||
}; | ||
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____; | ||
}; | ||
@@ -136,0 +169,0 @@ export declare type SerializedContentVersions = { |
@@ -19,2 +19,2 @@ "use strict"; | ||
})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {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GdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9 |
{ | ||
"name": "@rlvt/contents-openapi-client", | ||
"version": "0.0.0-92b0fac", | ||
"version": "0.0.0-95c4662", | ||
"description": "Openapi client for reelevant service", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
68871
1412