@rlvt/contents-openapi-client 0.0.0-c3864aa → 0.0.0-cec7ff0

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
@@ -1,13 +1,9 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from "axios";
2
2
  import type { ContentStatus } from "./definitions";
3
- 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";
3
+ export { Contents, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, AnyValue, Readable, WithoutReadonly, WithoutWriteonly } from "./definitions";
4
4
  export default class {
5
5
  axios: AxiosInstance;
6
6
  constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
7
- private listContentFontResource;
8
- private createContentFontResource;
9
- private getContentFontResource;
10
- private updateContentFontResource;
11
7
  private listContent;
12
8
  private createContent;
13
9
  private getContent;
@@ -15,147 +11,12 @@ export default class {
15
11
  private deleteContent;
16
12
  private publishContent;
17
13
  private renderContent;
18
- get ContentResource(): {
19
- listContentFontResource: (params: {
20
- ids?: string[];
21
- resourceGroupIds?: string[];
22
- }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
23
- status: "success";
24
- program: string;
25
- version: string;
26
- datetime: string;
27
- code?: number;
28
- message: string;
29
- data: {
30
- resourceGroupIds: string[];
31
- readonly id: string & {
32
- readonly?: "__readonly";
33
- };
34
- readonly createdAt: Date & {
35
- readonly?: "__readonly";
36
- };
37
- readonly updatedAt: Date & {
38
- readonly?: "__readonly";
39
- };
40
- family: string;
41
- files: {
42
- [x: string]: string;
43
- };
44
- readonly companyId: string & {
45
- readonly?: "__readonly";
46
- };
47
- type: "font";
48
- }[];
49
- }>>;
50
- createContentFontResource: (data: {
51
- resourceGroupIds: string[];
52
- family: string;
53
- files: {
54
- [x: string]: string;
55
- };
56
- }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
57
- status: "success";
58
- program: string;
59
- version: string;
60
- datetime: string;
61
- code?: number;
62
- message: string;
63
- data: {
64
- resourceGroupIds: string[];
65
- readonly id: string & {
66
- readonly?: "__readonly";
67
- };
68
- readonly createdAt: Date & {
69
- readonly?: "__readonly";
70
- };
71
- readonly updatedAt: Date & {
72
- readonly?: "__readonly";
73
- };
74
- family: string;
75
- files: {
76
- [x: string]: string;
77
- };
78
- readonly companyId: string & {
79
- readonly?: "__readonly";
80
- };
81
- type: "font";
82
- };
83
- }>>;
84
- getContentFontResource: (params: {
85
- id: string;
86
- }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
87
- status: "success";
88
- program: string;
89
- version: string;
90
- datetime: string;
91
- code?: number;
92
- message: string;
93
- data: {
94
- resourceGroupIds: string[];
95
- readonly id: string & {
96
- readonly?: "__readonly";
97
- };
98
- readonly createdAt: Date & {
99
- readonly?: "__readonly";
100
- };
101
- readonly updatedAt: Date & {
102
- readonly?: "__readonly";
103
- };
104
- family: string;
105
- files: {
106
- [x: string]: string;
107
- };
108
- readonly companyId: string & {
109
- readonly?: "__readonly";
110
- };
111
- type: "font";
112
- };
113
- }>>;
114
- updateContentFontResource: (params: {
115
- id: string;
116
- }, data: {
117
- resourceGroupIds?: string[];
118
- family?: string;
119
- files?: {
120
- [x: string]: string;
121
- };
122
- type?: "font";
123
- }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
124
- status: "success";
125
- program: string;
126
- version: string;
127
- datetime: string;
128
- code?: number;
129
- message: string;
130
- data: {
131
- resourceGroupIds: string[];
132
- readonly id: string & {
133
- readonly?: "__readonly";
134
- };
135
- readonly createdAt: Date & {
136
- readonly?: "__readonly";
137
- };
138
- readonly updatedAt: Date & {
139
- readonly?: "__readonly";
140
- };
141
- family: string;
142
- files: {
143
- [x: string]: string;
144
- };
145
- readonly companyId: string & {
146
- readonly?: "__readonly";
147
- };
148
- type: "font";
149
- };
150
- }>>;
151
- };
152
14
  get Content(): {
153
15
  list: (params: {
154
- ids?: string[];
155
16
  name?: string;
156
17
  resourceGroupIds?: string[];
157
18
  status?: ContentStatus[];
158
- sortBy?: "createdAt" | "updatedAt";
19
+ sortBy?: "updatedAt" | "createdAt";
159
20
  sortOrder?: "desc" | "asc";
160
21
  page?: number;
161
22
  perPage?: number;
@@ -171,17 +32,14 @@ export default class {
171
32
  message: string;
172
33
  data: {
173
34
  description?: string;
174
- resourceGroupIds: string[];
175
- readonly id: string & {
35
+ readonly updatedAt: Date & {
176
36
  readonly?: "__readonly";
177
37
  };
178
38
  readonly createdAt: Date & {
179
39
  readonly?: "__readonly";
180
40
  };
181
- readonly updatedAt: Date & {
182
- readonly?: "__readonly";
183
- };
184
41
  name: string;
42
+ resourceGroupIds: string[];
185
43
  readonly status: (ContentStatus.DRAFT & {
186
44
  readonly?: "__readonly";
187
45
  }) | (ContentStatus.PUBLISHING & {
@@ -191,6 +49,9 @@ export default class {
191
49
  }) | (ContentStatus.ERROR & {
192
50
  readonly?: "__readonly";
193
51
  });
52
+ readonly id: string & {
53
+ readonly?: "__readonly";
54
+ };
194
55
  readonly companyId: string & {
195
56
  readonly?: "__readonly";
196
57
  };
@@ -253,13 +114,6 @@ export default class {
253
114
  };
254
115
  };
255
116
  };
256
- url?: ({
257
- type: "static";
258
- value: string;
259
- } | {
260
- type: "dependency";
261
- value: string;
262
- })[];
263
117
  };
264
118
  };
265
119
  conditionGroups: {
@@ -269,21 +123,21 @@ export default class {
269
123
  id: string;
270
124
  type: "and" | "or";
271
125
  rules: {
272
- value: {
273
- type: "dependency";
274
- value: string;
275
- } | {
126
+ field: {
276
127
  type: "static";
277
128
  value: string | number;
278
- };
279
- field: {
129
+ } | {
280
130
  type: "dependency";
281
131
  value: string;
282
- } | {
132
+ };
133
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
134
+ value: {
283
135
  type: "static";
284
136
  value: string | number;
137
+ } | {
138
+ type: "dependency";
139
+ value: string;
285
140
  };
286
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
287
141
  }[];
288
142
  } | {
289
143
  id: string;
@@ -303,8 +157,8 @@ export default class {
303
157
  }>>;
304
158
  create: (data: {
305
159
  description?: string;
306
- resourceGroupIds: string[];
307
160
  name: string;
161
+ resourceGroupIds: string[];
308
162
  }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
309
163
  status: "success";
310
164
  program: string;
@@ -314,17 +168,14 @@ export default class {
314
168
  message: string;
315
169
  data: {
316
170
  description?: string;
317
- resourceGroupIds: string[];
318
- readonly id: string & {
171
+ readonly updatedAt: Date & {
319
172
  readonly?: "__readonly";
320
173
  };
321
174
  readonly createdAt: Date & {
322
175
  readonly?: "__readonly";
323
176
  };
324
- readonly updatedAt: Date & {
325
- readonly?: "__readonly";
326
- };
327
177
  name: string;
178
+ resourceGroupIds: string[];
328
179
  readonly status: (ContentStatus.DRAFT & {
329
180
  readonly?: "__readonly";
330
181
  }) | (ContentStatus.PUBLISHING & {
@@ -334,6 +185,9 @@ export default class {
334
185
  }) | (ContentStatus.ERROR & {
335
186
  readonly?: "__readonly";
336
187
  });
188
+ readonly id: string & {
189
+ readonly?: "__readonly";
190
+ };
337
191
  readonly companyId: string & {
338
192
  readonly?: "__readonly";
339
193
  };
@@ -396,13 +250,6 @@ export default class {
396
250
  };
397
251
  };
398
252
  };
399
- url?: ({
400
- type: "static";
401
- value: string;
402
- } | {
403
- type: "dependency";
404
- value: string;
405
- })[];
406
253
  };
407
254
  };
408
255
  conditionGroups: {
@@ -412,21 +259,21 @@ export default class {
412
259
  id: string;
413
260
  type: "and" | "or";
414
261
  rules: {
415
- value: {
416
- type: "dependency";
417
- value: string;
418
- } | {
262
+ field: {
419
263
  type: "static";
420
264
  value: string | number;
421
- };
422
- field: {
265
+ } | {
423
266
  type: "dependency";
424
267
  value: string;
425
- } | {
268
+ };
269
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
270
+ value: {
426
271
  type: "static";
427
272
  value: string | number;
273
+ } | {
274
+ type: "dependency";
275
+ value: string;
428
276
  };
429
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
430
277
  }[];
431
278
  } | {
432
279
  id: string;
@@ -455,17 +302,14 @@ export default class {
455
302
  message: string;
456
303
  data: {
457
304
  description?: string;
458
- resourceGroupIds: string[];
459
- readonly id: string & {
305
+ readonly updatedAt: Date & {
460
306
  readonly?: "__readonly";
461
307
  };
462
308
  readonly createdAt: Date & {
463
309
  readonly?: "__readonly";
464
310
  };
465
- readonly updatedAt: Date & {
466
- readonly?: "__readonly";
467
- };
468
311
  name: string;
312
+ resourceGroupIds: string[];
469
313
  readonly status: (ContentStatus.DRAFT & {
470
314
  readonly?: "__readonly";
471
315
  }) | (ContentStatus.PUBLISHING & {
@@ -475,6 +319,9 @@ export default class {
475
319
  }) | (ContentStatus.ERROR & {
476
320
  readonly?: "__readonly";
477
321
  });
322
+ readonly id: string & {
323
+ readonly?: "__readonly";
324
+ };
478
325
  readonly companyId: string & {
479
326
  readonly?: "__readonly";
480
327
  };
@@ -537,13 +384,6 @@ export default class {
537
384
  };
538
385
  };
539
386
  };
540
- url?: ({
541
- type: "static";
542
- value: string;
543
- } | {
544
- type: "dependency";
545
- value: string;
546
- })[];
547
387
  };
548
388
  };
549
389
  conditionGroups: {
@@ -553,21 +393,21 @@ export default class {
553
393
  id: string;
554
394
  type: "and" | "or";
555
395
  rules: {
556
- value: {
557
- type: "dependency";
558
- value: string;
559
- } | {
396
+ field: {
560
397
  type: "static";
561
398
  value: string | number;
562
- };
563
- field: {
399
+ } | {
564
400
  type: "dependency";
565
401
  value: string;
566
- } | {
402
+ };
403
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
404
+ value: {
567
405
  type: "static";
568
406
  value: string | number;
407
+ } | {
408
+ type: "dependency";
409
+ value: string;
569
410
  };
570
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
571
411
  }[];
572
412
  } | {
573
413
  id: string;
@@ -589,8 +429,8 @@ export default class {
589
429
  id: string;
590
430
  }, data: {
591
431
  description?: string;
592
- resourceGroupIds?: string[];
593
432
  name?: string;
433
+ resourceGroupIds?: string[];
594
434
  } & {
595
435
  previewUrl?: string;
596
436
  metadata?: {
@@ -643,13 +483,6 @@ export default class {
643
483
  };
644
484
  };
645
485
  };
646
- url?: ({
647
- type: "static";
648
- value: string;
649
- } | {
650
- type: "dependency";
651
- value: string;
652
- })[];
653
486
  };
654
487
  };
655
488
  conditionGroups: {
@@ -659,21 +492,21 @@ export default class {
659
492
  id: string;
660
493
  type: "and" | "or";
661
494
  rules: {
662
- value: {
663
- type: "dependency";
664
- value: string;
665
- } | {
495
+ field: {
666
496
  type: "static";
667
497
  value: string | number;
668
- };
669
- field: {
498
+ } | {
670
499
  type: "dependency";
671
500
  value: string;
672
- } | {
501
+ };
502
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
503
+ value: {
673
504
  type: "static";
674
505
  value: string | number;
506
+ } | {
507
+ type: "dependency";
508
+ value: string;
675
509
  };
676
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
677
510
  }[];
678
511
  } | {
679
512
  id: string;
@@ -697,17 +530,14 @@ export default class {
697
530
  message: string;
698
531
  data: {
699
532
  description?: string;
700
- resourceGroupIds: string[];
701
- readonly id: string & {
533
+ readonly updatedAt: Date & {
702
534
  readonly?: "__readonly";
703
535
  };
704
536
  readonly createdAt: Date & {
705
537
  readonly?: "__readonly";
706
538
  };
707
- readonly updatedAt: Date & {
708
- readonly?: "__readonly";
709
- };
710
539
  name: string;
540
+ resourceGroupIds: string[];
711
541
  readonly status: (ContentStatus.DRAFT & {
712
542
  readonly?: "__readonly";
713
543
  }) | (ContentStatus.PUBLISHING & {
@@ -717,6 +547,9 @@ export default class {
717
547
  }) | (ContentStatus.ERROR & {
718
548
  readonly?: "__readonly";
719
549
  });
550
+ readonly id: string & {
551
+ readonly?: "__readonly";
552
+ };
720
553
  readonly companyId: string & {
721
554
  readonly?: "__readonly";
722
555
  };
@@ -779,13 +612,6 @@ export default class {
779
612
  };
780
613
  };
781
614
  };
782
- url?: ({
783
- type: "static";
784
- value: string;
785
- } | {
786
- type: "dependency";
787
- value: string;
788
- })[];
789
615
  };
790
616
  };
791
617
  conditionGroups: {
@@ -795,21 +621,21 @@ export default class {
795
621
  id: string;
796
622
  type: "and" | "or";
797
623
  rules: {
798
- value: {
799
- type: "dependency";
800
- value: string;
801
- } | {
624
+ field: {
802
625
  type: "static";
803
626
  value: string | number;
804
- };
805
- field: {
627
+ } | {
806
628
  type: "dependency";
807
629
  value: string;
808
- } | {
630
+ };
631
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
632
+ value: {
809
633
  type: "static";
810
634
  value: string | number;
635
+ } | {
636
+ type: "dependency";
637
+ value: string;
811
638
  };
812
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
813
639
  }[];
814
640
  } | {
815
641
  id: string;
@@ -829,7 +655,6 @@ export default class {
829
655
  }>>;
830
656
  delete: (params: {
831
657
  id: string;
832
- 'dry-run'?: boolean;
833
658
  }, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
834
659
  status: "success";
835
660
  program: string;
@@ -850,17 +675,14 @@ export default class {
850
675
  message: string;
851
676
  data: {
852
677
  description?: string;
853
- resourceGroupIds: string[];
854
- readonly id: string & {
678
+ readonly updatedAt: Date & {
855
679
  readonly?: "__readonly";
856
680
  };
857
681
  readonly createdAt: Date & {
858
682
  readonly?: "__readonly";
859
683
  };
860
- readonly updatedAt: Date & {
861
- readonly?: "__readonly";
862
- };
863
684
  name: string;
685
+ resourceGroupIds: string[];
864
686
  readonly status: (ContentStatus.DRAFT & {
865
687
  readonly?: "__readonly";
866
688
  }) | (ContentStatus.PUBLISHING & {
@@ -870,6 +692,9 @@ export default class {
870
692
  }) | (ContentStatus.ERROR & {
871
693
  readonly?: "__readonly";
872
694
  });
695
+ readonly id: string & {
696
+ readonly?: "__readonly";
697
+ };
873
698
  readonly companyId: string & {
874
699
  readonly?: "__readonly";
875
700
  };
@@ -932,13 +757,6 @@ export default class {
932
757
  };
933
758
  };
934
759
  };
935
- url?: ({
936
- type: "static";
937
- value: string;
938
- } | {
939
- type: "dependency";
940
- value: string;
941
- })[];
942
760
  };
943
761
  };
944
762
  conditionGroups: {
@@ -948,21 +766,21 @@ export default class {
948
766
  id: string;
949
767
  type: "and" | "or";
950
768
  rules: {
951
- value: {
952
- type: "dependency";
953
- value: string;
954
- } | {
769
+ field: {
955
770
  type: "static";
956
771
  value: string | number;
957
- };
958
- field: {
772
+ } | {
959
773
  type: "dependency";
960
774
  value: string;
961
- } | {
775
+ };
776
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
777
+ value: {
962
778
  type: "static";
963
779
  value: string | number;
780
+ } | {
781
+ type: "dependency";
782
+ value: string;
964
783
  };
965
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
966
784
  }[];
967
785
  } | {
968
786
  id: string;
package/build/api.js CHANGED
@@ -15,23 +15,9 @@ class default_1 {
15
15
  ? configOrInstance
16
16
  : axios_1.default.create(configOrInstance);
17
17
  }
18
- listContentFontResource(params, options) {
19
- return this.axios.get("/contents/fonts", Object.assign({}, {
20
- params: pick(params, "ids", "resourceGroupIds"),
21
- }, options));
22
- }
23
- createContentFontResource(data, options) {
24
- return this.axios.post("/contents/fonts", data, options);
25
- }
26
- getContentFontResource(params, options) {
27
- return this.axios.get("/contents/fonts/{id}".replace(/{id}/, String(params["id"])), options);
28
- }
29
- updateContentFontResource(params, data, options) {
30
- return this.axios.patch("/contents/fonts/{id}".replace(/{id}/, String(params["id"])), data, options);
31
- }
32
18
  listContent(params, options) {
33
19
  return this.axios.get("/contents", Object.assign({}, {
34
- params: pick(params, "ids", "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
20
+ params: pick(params, "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
35
21
  }, options));
36
22
  }
37
23
  createContent(data, options) {
@@ -44,9 +30,7 @@ class default_1 {
44
30
  return this.axios.patch("/contents/{id}".replace(/{id}/, String(params["id"])), data, options);
45
31
  }
46
32
  deleteContent(params, options) {
47
- return this.axios.delete("/contents/{id}".replace(/{id}/, String(params["id"])), Object.assign({}, {
48
- params: pick(params, "dry-run"),
49
- }, options));
33
+ return this.axios.delete("/contents/{id}".replace(/{id}/, String(params["id"])), options);
50
34
  }
51
35
  publishContent(params, options) {
52
36
  return this.axios.post("/contents/{id}/publish".replace(/{id}/, String(params["id"])), {}, options);
@@ -56,14 +40,6 @@ class default_1 {
56
40
  headers: pick(params, "x-rlvt-no-cache"),
57
41
  }, options));
58
42
  }
59
- get ContentResource() {
60
- return {
61
- listContentFontResource: this.listContentFontResource.bind(this),
62
- createContentFontResource: this.createContentFontResource.bind(this),
63
- getContentFontResource: this.getContentFontResource.bind(this),
64
- updateContentFontResource: this.updateContentFontResource.bind(this)
65
- };
66
- }
67
43
  get Content() {
68
44
  return {
69
45
  list: this.listContent.bind(this),
@@ -85,4 +61,4 @@ function pick(obj, ...keys) {
85
61
  });
86
62
  return ret;
87
63
  }
88
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLDZDQUF1WDtBQUE3Tiw0R0FBQSxhQUFhLE9BQUE7QUFFdks7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sSUFBSSxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQ3ZDLE1BQU0sRUFBRSxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDeEMsQ0FBQztJQUNOLENBQUM7Q0FDSjtBQXRKRCw0QkFzSkM7QUFFRCxTQUFTLElBQUksQ0FBdUIsR0FBTSxFQUFFLEdBQUcsSUFBUztJQUNwRCxNQUFNLEdBQUcsR0FBZSxFQUFnQixDQUFDO0lBQ3pDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
@@ -17,47 +17,13 @@ declare type PropsWithoutWriteonly<T> = {
17
17
  export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : {
18
18
  [key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
19
19
  } : never;
20
- export declare type SerializedContentResource = {
21
- readonly id: (string) & readonlyP;
22
- readonly companyId: (string) & readonlyP;
23
- resourceGroupIds: string[];
24
- readonly createdAt: (Date) & readonlyP;
25
- readonly updatedAt: (Date) & readonlyP;
26
- };
27
- export declare type Pick_ContentFontResources_type_or_family_or_files_ = {
28
- type: "font";
29
- family: string;
30
- files: {
31
- [key: string]: string;
32
- };
33
- };
34
- export declare type ContentFontResources = SerializedContentResource & Pick_ContentFontResources_type_or_family_or_files_;
35
- export declare type Pick_SerializedContentFontResource_resourceGroupIds_or_family_or_files_ = {
36
- resourceGroupIds: string[];
37
- family: string;
38
- files: {
39
- [key: string]: string;
40
- };
41
- };
42
- export declare type Partial_SerializedContentFontResource_ = {
43
- readonly id?: (string) & readonlyP;
44
- readonly companyId?: (string) & readonlyP;
45
- resourceGroupIds?: string[];
46
- readonly createdAt?: (Date) & readonlyP;
47
- readonly updatedAt?: (Date) & readonlyP;
48
- type?: "font";
49
- family?: string;
50
- files?: {
51
- [key: string]: string;
52
- };
53
- };
54
20
  export declare enum ContentVersionState {
55
21
  DRAFT = "draft",
56
22
  LIVE = "live",
57
23
  INACTIVE = "inactive"
58
24
  }
59
25
  export declare type AnyValue = any | null;
60
- export declare type _id_string_x_number_y_number_width_number_height_number_rotation_number__ = {
26
+ export declare type PageComponent = {
61
27
  id: string;
62
28
  x: number;
63
29
  y: number;
@@ -65,80 +31,61 @@ export declare type _id_string_x_number_y_number_width_number_height_number_rota
65
31
  height: number;
66
32
  rotation: number;
67
33
  };
68
- export declare type _type_conditionGroup__ = {
69
- type: "conditionGroup";
70
- };
71
- export declare type _type_condition_children_string_Array__ = {
72
- type: "condition";
73
- children: string[];
74
- };
75
- export declare type _type_component__ = {
76
- type: "component";
77
- };
78
- export declare type _type_componentGroup_children_string_Array__ = {
79
- type: "componentGroup";
80
- children: string[];
81
- };
82
- export declare type __x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array____ = {
83
- [key: string]: _type_conditionGroup__ | _type_condition_children_string_Array__ | _type_component__ | _type_componentGroup_children_string_Array__;
84
- };
85
- 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______ = {
34
+ export declare type OrderTree = {
86
35
  root: string[];
87
- elements: __x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array____;
36
+ elements: {
37
+ [key: string]: {
38
+ type: "conditionGroup";
39
+ } | {
40
+ type: "condition";
41
+ children: string[];
42
+ } | {
43
+ type: "component";
44
+ } | {
45
+ type: "componentGroup";
46
+ children: string[];
47
+ };
48
+ };
88
49
  };
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________ = {
50
+ export declare type Page = {
90
51
  width: number;
91
52
  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
- export declare type _type_static_value_string__ = {
96
- type: "static";
97
- value: string;
98
- };
99
- export declare type _type_dependency_value_string__ = {
100
- type: "dependency";
101
- value: string;
102
- };
103
- export declare type _url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined__ = {
104
- url?: (_type_static_value_string__ | _type_dependency_value_string__)[];
105
- };
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;
53
+ components: PageComponent[];
54
+ orderTree: OrderTree;
115
55
  };
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__ = {
56
+ export declare type Condition = {
122
57
  id: string;
123
58
  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____[];
59
+ rules: {
60
+ field: {
61
+ type: "static";
62
+ value: string | number;
63
+ } | {
64
+ type: "dependency";
65
+ value: string;
66
+ };
67
+ operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
68
+ value: {
69
+ type: "static";
70
+ value: string | number;
71
+ } | {
72
+ type: "dependency";
73
+ value: string;
74
+ };
75
+ }[];
125
76
  };
126
- export declare type _id_string_isElse_true__ = {
77
+ export declare type ElseCondition = {
127
78
  id: string;
128
79
  isElse: true;
129
80
  };
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_____;
81
+ export declare type ConditionGroup = {
82
+ name?: string;
83
+ conditions: (Condition | Condition | ElseCondition)[];
135
84
  };
136
- export declare type _rendered_boolean__ = {
85
+ export declare type ComponentGroup = {
86
+ name?: string;
137
87
  rendered: boolean;
138
88
  };
139
- export declare type __x_string___name_string_or_undefined___and__rendered_boolean____ = {
140
- [key: string]: _name_string_or_undefined__ & _rendered_boolean__;
141
- };
142
89
  export declare type BaseTemplate = {
143
90
  components: {
144
91
  [key: string]: {
@@ -158,9 +105,15 @@ export declare type BaseTemplate = {
158
105
  };
159
106
  };
160
107
  };
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____;
108
+ pages: {
109
+ [key: string]: Page;
110
+ };
111
+ conditionGroups: {
112
+ [key: string]: ConditionGroup;
113
+ };
114
+ componentGroups: {
115
+ [key: string]: ComponentGroup;
116
+ };
164
117
  };
165
118
  export declare type SerializedContentVersions = {
166
119
  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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBa0VwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUFzSEQsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBZ0NwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUF5R0QsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/contents-openapi-client",
3
- "version": "0.0.0-c3864aa",
3
+ "version": "0.0.0-cec7ff0",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",