@rlvt/contents-openapi-client 0.0.0-d8c9b47 → 0.0.0-e6200d5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/api.d.ts CHANGED
@@ -270,18 +270,18 @@ export default class {
270
270
  type: "and" | "or";
271
271
  rules: {
272
272
  value: {
273
- type: "dependency";
274
- value: string;
275
- } | {
276
273
  type: "static";
277
274
  value: string | number;
278
- };
279
- field: {
275
+ } | {
280
276
  type: "dependency";
281
277
  value: string;
282
- } | {
278
+ };
279
+ field: {
283
280
  type: "static";
284
281
  value: string | number;
282
+ } | {
283
+ type: "dependency";
284
+ value: string;
285
285
  };
286
286
  operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
287
287
  }[];
@@ -413,18 +413,18 @@ export default class {
413
413
  type: "and" | "or";
414
414
  rules: {
415
415
  value: {
416
- type: "dependency";
417
- value: string;
418
- } | {
419
416
  type: "static";
420
417
  value: string | number;
421
- };
422
- field: {
418
+ } | {
423
419
  type: "dependency";
424
420
  value: string;
425
- } | {
421
+ };
422
+ field: {
426
423
  type: "static";
427
424
  value: string | number;
425
+ } | {
426
+ type: "dependency";
427
+ value: string;
428
428
  };
429
429
  operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
430
430
  }[];
@@ -554,18 +554,18 @@ export default class {
554
554
  type: "and" | "or";
555
555
  rules: {
556
556
  value: {
557
- type: "dependency";
558
- value: string;
559
- } | {
560
557
  type: "static";
561
558
  value: string | number;
562
- };
563
- field: {
559
+ } | {
564
560
  type: "dependency";
565
561
  value: string;
566
- } | {
562
+ };
563
+ field: {
567
564
  type: "static";
568
565
  value: string | number;
566
+ } | {
567
+ type: "dependency";
568
+ value: string;
569
569
  };
570
570
  operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
571
571
  }[];
@@ -660,18 +660,18 @@ export default class {
660
660
  type: "and" | "or";
661
661
  rules: {
662
662
  value: {
663
- type: "dependency";
664
- value: string;
665
- } | {
666
663
  type: "static";
667
664
  value: string | number;
668
- };
669
- field: {
665
+ } | {
670
666
  type: "dependency";
671
667
  value: string;
672
- } | {
668
+ };
669
+ field: {
673
670
  type: "static";
674
671
  value: string | number;
672
+ } | {
673
+ type: "dependency";
674
+ value: string;
675
675
  };
676
676
  operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
677
677
  }[];
@@ -796,18 +796,18 @@ export default class {
796
796
  type: "and" | "or";
797
797
  rules: {
798
798
  value: {
799
- type: "dependency";
800
- value: string;
801
- } | {
802
799
  type: "static";
803
800
  value: string | number;
804
- };
805
- field: {
801
+ } | {
806
802
  type: "dependency";
807
803
  value: string;
808
- } | {
804
+ };
805
+ field: {
809
806
  type: "static";
810
807
  value: string | number;
808
+ } | {
809
+ type: "dependency";
810
+ value: string;
811
811
  };
812
812
  operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
813
813
  }[];
@@ -949,18 +949,18 @@ export default class {
949
949
  type: "and" | "or";
950
950
  rules: {
951
951
  value: {
952
- type: "dependency";
953
- value: string;
954
- } | {
955
952
  type: "static";
956
953
  value: string | number;
957
- };
958
- field: {
954
+ } | {
959
955
  type: "dependency";
960
956
  value: string;
961
- } | {
957
+ };
958
+ field: {
962
959
  type: "static";
963
960
  value: string | number;
961
+ } | {
962
+ type: "dependency";
963
+ value: string;
964
964
  };
965
965
  operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
966
966
  }[];
@@ -86,12 +86,6 @@ export declare type _root_string_Array_elements___x_string___type_conditionGroup
86
86
  root: string[];
87
87
  elements: __x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array____;
88
88
  };
89
- 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________ = {
90
- width: number;
91
- height: number;
92
- components: _id_string_x_number_y_number_width_number_height_number_rotation_number__[];
93
- orderTree: _root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array______;
94
- };
95
89
  export declare type _type_static_value_string__ = {
96
90
  type: "static";
97
91
  value: string;
@@ -100,45 +94,46 @@ export declare type _type_dependency_value_string__ = {
100
94
  type: "dependency";
101
95
  value: string;
102
96
  };
103
- export declare type _url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined__ = {
97
+ 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__ = {
98
+ width: number;
99
+ height: number;
100
+ components: _id_string_x_number_y_number_width_number_height_number_rotation_number__[];
101
+ orderTree: _root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array______;
104
102
  url?: (_type_static_value_string__ | _type_dependency_value_string__)[];
105
103
  };
106
- 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____ = {
107
- [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__;
108
- };
109
- export declare type _name_string_or_undefined__ = {
110
- name?: string;
111
- };
112
- export declare type _type_static_value_string_or_number__ = {
113
- type: "static";
114
- value: string | number;
115
- };
116
- 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____ = {
117
- field: _type_static_value_string_or_number__ | _type_dependency_value_string__;
118
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
119
- value: _type_static_value_string_or_number__ | _type_dependency_value_string__;
120
- };
121
- 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__ = {
104
+ export declare type Condition = {
122
105
  id: string;
123
106
  type: "and" | "or";
124
- 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____[];
107
+ rules: {
108
+ field: {
109
+ type: "static";
110
+ value: string | number;
111
+ } | {
112
+ type: "dependency";
113
+ value: string;
114
+ };
115
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
116
+ value: {
117
+ type: "static";
118
+ value: string | number;
119
+ } | {
120
+ type: "dependency";
121
+ value: string;
122
+ };
123
+ }[];
125
124
  };
126
- export declare type _id_string_isElse_true__ = {
125
+ export declare type ElseCondition = {
127
126
  id: string;
128
127
  isElse: true;
129
128
  };
130
- 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_____ = {
131
- 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__)[];
132
- };
133
- 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_______ = {
134
- [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_____;
129
+ export declare type ConditionGroup = {
130
+ name?: string;
131
+ conditions: (Condition | Condition | ElseCondition)[];
135
132
  };
136
- export declare type _rendered_boolean__ = {
133
+ export declare type ComponentGroup = {
134
+ name?: string;
137
135
  rendered: boolean;
138
136
  };
139
- export declare type __x_string___name_string_or_undefined___and__rendered_boolean____ = {
140
- [key: string]: _name_string_or_undefined__ & _rendered_boolean__;
141
- };
142
137
  export declare type BaseTemplate = {
143
138
  components: {
144
139
  [key: string]: {
@@ -158,9 +153,15 @@ export declare type BaseTemplate = {
158
153
  };
159
154
  };
160
155
  };
161
- 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____;
162
- 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_______;
163
- componentGroups: __x_string___name_string_or_undefined___and__rendered_boolean____;
156
+ pages: {
157
+ [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__;
158
+ };
159
+ conditionGroups: {
160
+ [key: string]: ConditionGroup;
161
+ };
162
+ componentGroups: {
163
+ [key: string]: ComponentGroup;
164
+ };
164
165
  };
165
166
  export declare type SerializedContentVersions = {
166
167
  readonly state: (ContentVersionState) & readonlyP;
@@ -16,4 +16,4 @@ var ContentStatus;
16
16
  ContentStatus["PUBLISHED"] = "published";
17
17
  ContentStatus["ERROR"] = "error";
18
18
  })(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBa0Vw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-client",
3
- "version": "0.0.0-d8c9b47",
3
+ "version": "0.0.0-e6200d5",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",