@rlvt/contents-openapi-client 1.0.415 → 1.0.417

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
@@ -26,11 +26,7 @@ export default class {
26
26
  resourceGroupIds?: string[] | undefined;
27
27
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
28
28
  status: "success";
29
- program: string;
30
- version: string;
31
- datetime: string;
32
- code?: number | undefined;
33
- message: string;
29
+ } & {
34
30
  data: {
35
31
  readonly id: string & {
36
32
  readonly?: "__readonly" | undefined;
@@ -50,7 +46,13 @@ export default class {
50
46
  files: {
51
47
  [x: string]: string;
52
48
  };
53
- }[];
49
+ };
50
+ program: string;
51
+ version: string;
52
+ datetime: string;
53
+ status: string;
54
+ code?: number | undefined;
55
+ message: string;
54
56
  }, any>>;
55
57
  createFont: (params: Record<string, never>, data: {
56
58
  resourceGroupIds: string[];
@@ -60,11 +62,7 @@ export default class {
60
62
  };
61
63
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
62
64
  status: "success";
63
- program: string;
64
- version: string;
65
- datetime: string;
66
- code?: number | undefined;
67
- message: string;
65
+ } & {
68
66
  data: {
69
67
  readonly id: string & {
70
68
  readonly?: "__readonly" | undefined;
@@ -85,16 +83,18 @@ export default class {
85
83
  [x: string]: string;
86
84
  };
87
85
  };
88
- }, any>>;
89
- getFont: (params: {
90
- id: string;
91
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
92
- status: "success";
93
86
  program: string;
94
87
  version: string;
95
88
  datetime: string;
89
+ status: string;
96
90
  code?: number | undefined;
97
91
  message: string;
92
+ }, any>>;
93
+ getFont: (params: {
94
+ id: string;
95
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
96
+ status: "success";
97
+ } & {
98
98
  data: {
99
99
  readonly id: string & {
100
100
  readonly?: "__readonly" | undefined;
@@ -115,6 +115,12 @@ export default class {
115
115
  [x: string]: string;
116
116
  };
117
117
  };
118
+ program: string;
119
+ version: string;
120
+ datetime: string;
121
+ status: string;
122
+ code?: number | undefined;
123
+ message: string;
118
124
  }, any>>;
119
125
  updateFont: (params: {
120
126
  id: string;
@@ -139,11 +145,7 @@ export default class {
139
145
  } | undefined;
140
146
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
141
147
  status: "success";
142
- program: string;
143
- version: string;
144
- datetime: string;
145
- code?: number | undefined;
146
- message: string;
148
+ } & {
147
149
  data: {
148
150
  readonly id: string & {
149
151
  readonly?: "__readonly" | undefined;
@@ -164,6 +166,12 @@ export default class {
164
166
  [x: string]: string;
165
167
  };
166
168
  };
169
+ program: string;
170
+ version: string;
171
+ datetime: string;
172
+ status: string;
173
+ code?: number | undefined;
174
+ message: string;
167
175
  }, any>>;
168
176
  getUploaded: (params: {
169
177
  namespace: string;
@@ -202,22 +210,40 @@ export default class {
202
210
  };
203
211
  readonly errored: {
204
212
  readonly?: "__readonly" | undefined;
205
- name: string;
206
213
  message: string;
214
+ name: string;
207
215
  stack?: string | undefined;
208
216
  };
209
217
  }, any>>;
210
218
  upload: (params: Record<string, never>, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
211
219
  status: "success";
220
+ } & {
221
+ data: {
222
+ readonly id: string & {
223
+ readonly?: "__readonly" | undefined;
224
+ };
225
+ readonly companyId: string & {
226
+ readonly?: "__readonly" | undefined;
227
+ };
228
+ resourceGroupIds: string[];
229
+ readonly createdAt: string & {
230
+ readonly?: "__readonly" | undefined;
231
+ };
232
+ readonly updatedAt: string & {
233
+ readonly?: "__readonly" | undefined;
234
+ };
235
+ type: "font";
236
+ family: string;
237
+ files: {
238
+ [x: string]: string;
239
+ };
240
+ };
212
241
  program: string;
213
242
  version: string;
214
243
  datetime: string;
244
+ status: string;
215
245
  code?: number | undefined;
216
246
  message: string;
217
- data: {
218
- location: string;
219
- size: number;
220
- };
221
247
  }, any>>;
222
248
  forward: (params: {
223
249
  url: string;
@@ -255,8 +281,8 @@ export default class {
255
281
  };
256
282
  readonly errored: {
257
283
  readonly?: "__readonly" | undefined;
258
- name: string;
259
284
  message: string;
285
+ name: string;
260
286
  stack?: string | undefined;
261
287
  };
262
288
  }, any>>;
@@ -278,18 +304,13 @@ export default class {
278
304
  paginationCount: number;
279
305
  paginationPage: number;
280
306
  paginationLimit: number;
307
+ } & {
281
308
  status: "success";
282
- program: string;
283
- version: string;
284
- datetime: string;
285
- code?: number | undefined;
286
- message: string;
309
+ } & {
287
310
  data: {
288
- options?: {
289
- compression: boolean;
290
- compressionThreshold: number;
291
- } | undefined;
292
- id: string;
311
+ readonly id: string & {
312
+ readonly?: "__readonly" | undefined;
313
+ };
293
314
  readonly companyId: string & {
294
315
  readonly?: "__readonly" | undefined;
295
316
  };
@@ -300,161 +321,18 @@ export default class {
300
321
  readonly updatedAt: string & {
301
322
  readonly?: "__readonly" | undefined;
302
323
  };
303
- readonly versions: {
304
- id: string;
305
- createdAt: string;
306
- updatedAt: string;
307
- readonly state: ContentVersionState & {
308
- readonly?: "__readonly" | undefined;
309
- };
310
- previewUrl?: string | undefined;
311
- metadata?: {
312
- [x: string]: unknown;
313
- } | undefined;
314
- template: {
315
- components: {
316
- [x: string]: {
317
- options: {
318
- [x: string]: unknown;
319
- };
320
- type: string;
321
- name?: string | undefined;
322
- rendered: boolean;
323
- };
324
- };
325
- dependencies: {
326
- [x: string]: {
327
- options: {
328
- [x: string]: unknown;
329
- };
330
- type: string;
331
- };
332
- };
333
- pages: {
334
- url?: ({
335
- type: "static";
336
- value: string;
337
- } | {
338
- type: "dependency";
339
- value: string;
340
- })[] | undefined;
341
- id: string;
342
- components: {
343
- id: string;
344
- width: number;
345
- height: number;
346
- x: number;
347
- y: number;
348
- skewX: number;
349
- skewY: number;
350
- rotation: number;
351
- }[];
352
- width: number;
353
- height: number;
354
- background: {
355
- r: number;
356
- g: number;
357
- b: number;
358
- a: number;
359
- };
360
- duration: number;
361
- orderTree: {
362
- root: string[];
363
- elements: {
364
- [x: string]: {
365
- type: "conditionGroup";
366
- } | {
367
- type: "condition";
368
- children: string[];
369
- } | {
370
- type: "component";
371
- } | {
372
- type: "componentGroup";
373
- children: string[];
374
- };
375
- };
376
- };
377
- title?: ({
378
- type: "static";
379
- value: string;
380
- } | {
381
- type: "dependency";
382
- value: string;
383
- })[] | undefined;
384
- }[];
385
- conditionGroups: {
386
- [x: string]: {
387
- name?: string | undefined;
388
- conditions: ({
389
- id: string;
390
- type: "and" | "or";
391
- rules: {
392
- value: ({
393
- type: "static";
394
- value: string | number | boolean;
395
- } | {
396
- type: "dependency";
397
- value: string;
398
- })[];
399
- field: {
400
- type: "static";
401
- value: string | number | boolean;
402
- } | {
403
- type: "dependency";
404
- value: string;
405
- };
406
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
407
- }[];
408
- } | {
409
- id: string;
410
- type: "and" | "or";
411
- rules: {
412
- value: ({
413
- type: "static";
414
- value: string | number | boolean;
415
- } | {
416
- type: "dependency";
417
- value: string;
418
- })[];
419
- field: {
420
- type: "static";
421
- value: string | number | boolean;
422
- } | {
423
- type: "dependency";
424
- value: string;
425
- };
426
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
427
- }[];
428
- } | {
429
- id: string;
430
- isElse: true;
431
- })[];
432
- };
433
- };
434
- componentGroups: {
435
- [x: string]: {
436
- url?: ({
437
- type: "static";
438
- value: string;
439
- } | {
440
- type: "dependency";
441
- value: string;
442
- })[] | undefined;
443
- name?: string | undefined;
444
- rendered: boolean;
445
- };
446
- };
447
- };
448
- }[];
449
- name: string;
450
- description?: string | undefined;
451
- readonly status: ContentStatus & {
452
- readonly?: "__readonly" | undefined;
453
- };
454
- readonly archivedAt: string & {
455
- readonly?: "__readonly" | undefined;
324
+ type: "font";
325
+ family: string;
326
+ files: {
327
+ [x: string]: string;
456
328
  };
457
- }[];
329
+ };
330
+ program: string;
331
+ version: string;
332
+ datetime: string;
333
+ status: string;
334
+ code?: number | undefined;
335
+ message: string;
458
336
  }, any>>;
459
337
  create: (params: Record<string, never>, data: {
460
338
  options?: {
@@ -466,17 +344,11 @@ export default class {
466
344
  description?: string | undefined;
467
345
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
468
346
  status: "success";
469
- program: string;
470
- version: string;
471
- datetime: string;
472
- code?: number | undefined;
473
- message: string;
347
+ } & {
474
348
  data: {
475
- options?: {
476
- compression: boolean;
477
- compressionThreshold: number;
478
- } | undefined;
479
- id: string;
349
+ readonly id: string & {
350
+ readonly?: "__readonly" | undefined;
351
+ };
480
352
  readonly companyId: string & {
481
353
  readonly?: "__readonly" | undefined;
482
354
  };
@@ -487,178 +359,29 @@ export default class {
487
359
  readonly updatedAt: string & {
488
360
  readonly?: "__readonly" | undefined;
489
361
  };
490
- readonly versions: {
491
- id: string;
492
- createdAt: string;
493
- updatedAt: string;
494
- readonly state: ContentVersionState & {
495
- readonly?: "__readonly" | undefined;
496
- };
497
- previewUrl?: string | undefined;
498
- metadata?: {
499
- [x: string]: unknown;
500
- } | undefined;
501
- template: {
502
- components: {
503
- [x: string]: {
504
- options: {
505
- [x: string]: unknown;
506
- };
507
- type: string;
508
- name?: string | undefined;
509
- rendered: boolean;
510
- };
511
- };
512
- dependencies: {
513
- [x: string]: {
514
- options: {
515
- [x: string]: unknown;
516
- };
517
- type: string;
518
- };
519
- };
520
- pages: {
521
- url?: ({
522
- type: "static";
523
- value: string;
524
- } | {
525
- type: "dependency";
526
- value: string;
527
- })[] | undefined;
528
- id: string;
529
- components: {
530
- id: string;
531
- width: number;
532
- height: number;
533
- x: number;
534
- y: number;
535
- skewX: number;
536
- skewY: number;
537
- rotation: number;
538
- }[];
539
- width: number;
540
- height: number;
541
- background: {
542
- r: number;
543
- g: number;
544
- b: number;
545
- a: number;
546
- };
547
- duration: number;
548
- orderTree: {
549
- root: string[];
550
- elements: {
551
- [x: string]: {
552
- type: "conditionGroup";
553
- } | {
554
- type: "condition";
555
- children: string[];
556
- } | {
557
- type: "component";
558
- } | {
559
- type: "componentGroup";
560
- children: string[];
561
- };
562
- };
563
- };
564
- title?: ({
565
- type: "static";
566
- value: string;
567
- } | {
568
- type: "dependency";
569
- value: string;
570
- })[] | undefined;
571
- }[];
572
- conditionGroups: {
573
- [x: string]: {
574
- name?: string | undefined;
575
- conditions: ({
576
- id: string;
577
- type: "and" | "or";
578
- rules: {
579
- value: ({
580
- type: "static";
581
- value: string | number | boolean;
582
- } | {
583
- type: "dependency";
584
- value: string;
585
- })[];
586
- field: {
587
- type: "static";
588
- value: string | number | boolean;
589
- } | {
590
- type: "dependency";
591
- value: string;
592
- };
593
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
594
- }[];
595
- } | {
596
- id: string;
597
- type: "and" | "or";
598
- rules: {
599
- value: ({
600
- type: "static";
601
- value: string | number | boolean;
602
- } | {
603
- type: "dependency";
604
- value: string;
605
- })[];
606
- field: {
607
- type: "static";
608
- value: string | number | boolean;
609
- } | {
610
- type: "dependency";
611
- value: string;
612
- };
613
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
614
- }[];
615
- } | {
616
- id: string;
617
- isElse: true;
618
- })[];
619
- };
620
- };
621
- componentGroups: {
622
- [x: string]: {
623
- url?: ({
624
- type: "static";
625
- value: string;
626
- } | {
627
- type: "dependency";
628
- value: string;
629
- })[] | undefined;
630
- name?: string | undefined;
631
- rendered: boolean;
632
- };
633
- };
634
- };
635
- }[];
636
- name: string;
637
- description?: string | undefined;
638
- readonly status: ContentStatus & {
639
- readonly?: "__readonly" | undefined;
640
- };
641
- readonly archivedAt: string & {
642
- readonly?: "__readonly" | undefined;
362
+ type: "font";
363
+ family: string;
364
+ files: {
365
+ [x: string]: string;
643
366
  };
644
367
  };
368
+ program: string;
369
+ version: string;
370
+ datetime: string;
371
+ status: string;
372
+ code?: number | undefined;
373
+ message: string;
645
374
  }, any>>;
646
375
  get: (params: {
647
376
  id: string;
648
377
  versions?: ContentVersionState[] | undefined;
649
378
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
650
379
  status: "success";
651
- program: string;
652
- version: string;
653
- datetime: string;
654
- code?: number | undefined;
655
- message: string;
380
+ } & {
656
381
  data: {
657
- options?: {
658
- compression: boolean;
659
- compressionThreshold: number;
660
- } | undefined;
661
- id: string;
382
+ readonly id: string & {
383
+ readonly?: "__readonly" | undefined;
384
+ };
662
385
  readonly companyId: string & {
663
386
  readonly?: "__readonly" | undefined;
664
387
  };
@@ -669,161 +392,18 @@ export default class {
669
392
  readonly updatedAt: string & {
670
393
  readonly?: "__readonly" | undefined;
671
394
  };
672
- readonly versions: {
673
- id: string;
674
- createdAt: string;
675
- updatedAt: string;
676
- readonly state: ContentVersionState & {
677
- readonly?: "__readonly" | undefined;
678
- };
679
- previewUrl?: string | undefined;
680
- metadata?: {
681
- [x: string]: unknown;
682
- } | undefined;
683
- template: {
684
- components: {
685
- [x: string]: {
686
- options: {
687
- [x: string]: unknown;
688
- };
689
- type: string;
690
- name?: string | undefined;
691
- rendered: boolean;
692
- };
693
- };
694
- dependencies: {
695
- [x: string]: {
696
- options: {
697
- [x: string]: unknown;
698
- };
699
- type: string;
700
- };
701
- };
702
- pages: {
703
- url?: ({
704
- type: "static";
705
- value: string;
706
- } | {
707
- type: "dependency";
708
- value: string;
709
- })[] | undefined;
710
- id: string;
711
- components: {
712
- id: string;
713
- width: number;
714
- height: number;
715
- x: number;
716
- y: number;
717
- skewX: number;
718
- skewY: number;
719
- rotation: number;
720
- }[];
721
- width: number;
722
- height: number;
723
- background: {
724
- r: number;
725
- g: number;
726
- b: number;
727
- a: number;
728
- };
729
- duration: number;
730
- orderTree: {
731
- root: string[];
732
- elements: {
733
- [x: string]: {
734
- type: "conditionGroup";
735
- } | {
736
- type: "condition";
737
- children: string[];
738
- } | {
739
- type: "component";
740
- } | {
741
- type: "componentGroup";
742
- children: string[];
743
- };
744
- };
745
- };
746
- title?: ({
747
- type: "static";
748
- value: string;
749
- } | {
750
- type: "dependency";
751
- value: string;
752
- })[] | undefined;
753
- }[];
754
- conditionGroups: {
755
- [x: string]: {
756
- name?: string | undefined;
757
- conditions: ({
758
- id: string;
759
- type: "and" | "or";
760
- rules: {
761
- value: ({
762
- type: "static";
763
- value: string | number | boolean;
764
- } | {
765
- type: "dependency";
766
- value: string;
767
- })[];
768
- field: {
769
- type: "static";
770
- value: string | number | boolean;
771
- } | {
772
- type: "dependency";
773
- value: string;
774
- };
775
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
776
- }[];
777
- } | {
778
- id: string;
779
- type: "and" | "or";
780
- rules: {
781
- value: ({
782
- type: "static";
783
- value: string | number | boolean;
784
- } | {
785
- type: "dependency";
786
- value: string;
787
- })[];
788
- field: {
789
- type: "static";
790
- value: string | number | boolean;
791
- } | {
792
- type: "dependency";
793
- value: string;
794
- };
795
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
796
- }[];
797
- } | {
798
- id: string;
799
- isElse: true;
800
- })[];
801
- };
802
- };
803
- componentGroups: {
804
- [x: string]: {
805
- url?: ({
806
- type: "static";
807
- value: string;
808
- } | {
809
- type: "dependency";
810
- value: string;
811
- })[] | undefined;
812
- name?: string | undefined;
813
- rendered: boolean;
814
- };
815
- };
816
- };
817
- }[];
818
- name: string;
819
- description?: string | undefined;
820
- readonly status: ContentStatus & {
821
- readonly?: "__readonly" | undefined;
822
- };
823
- readonly archivedAt: string & {
824
- readonly?: "__readonly" | undefined;
395
+ type: "font";
396
+ family: string;
397
+ files: {
398
+ [x: string]: string;
825
399
  };
826
400
  };
401
+ program: string;
402
+ version: string;
403
+ datetime: string;
404
+ status: string;
405
+ code?: number | undefined;
406
+ message: string;
827
407
  }, any>>;
828
408
  update: (params: {
829
409
  id: string;
@@ -832,6 +412,9 @@ export default class {
832
412
  compression: boolean;
833
413
  compressionThreshold: number;
834
414
  } | undefined;
415
+ readonly status?: (ContentStatus & {
416
+ readonly?: "__readonly" | undefined;
417
+ }) | undefined;
835
418
  id?: string | undefined;
836
419
  readonly companyId?: (string & {
837
420
  readonly?: "__readonly" | undefined;
@@ -843,6 +426,8 @@ export default class {
843
426
  readonly updatedAt?: (string & {
844
427
  readonly?: "__readonly" | undefined;
845
428
  }) | undefined;
429
+ name?: string | undefined;
430
+ description?: string | undefined;
846
431
  readonly versions?: {
847
432
  id: string;
848
433
  createdAt: string;
@@ -986,11 +571,6 @@ export default class {
986
571
  };
987
572
  };
988
573
  }[] | undefined;
989
- name?: string | undefined;
990
- description?: string | undefined;
991
- readonly status?: (ContentStatus & {
992
- readonly?: "__readonly" | undefined;
993
- }) | undefined;
994
574
  readonly archivedAt?: (string & {
995
575
  readonly?: "__readonly" | undefined;
996
576
  }) | undefined;
@@ -1141,17 +721,11 @@ export default class {
1141
721
  } | undefined;
1142
722
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1143
723
  status: "success";
1144
- program: string;
1145
- version: string;
1146
- datetime: string;
1147
- code?: number | undefined;
1148
- message: string;
724
+ } & {
1149
725
  data: {
1150
- options?: {
1151
- compression: boolean;
1152
- compressionThreshold: number;
1153
- } | undefined;
1154
- id: string;
726
+ readonly id: string & {
727
+ readonly?: "__readonly" | undefined;
728
+ };
1155
729
  readonly companyId: string & {
1156
730
  readonly?: "__readonly" | undefined;
1157
731
  };
@@ -1162,189 +736,61 @@ export default class {
1162
736
  readonly updatedAt: string & {
1163
737
  readonly?: "__readonly" | undefined;
1164
738
  };
1165
- readonly versions: {
1166
- id: string;
1167
- createdAt: string;
1168
- updatedAt: string;
1169
- readonly state: ContentVersionState & {
1170
- readonly?: "__readonly" | undefined;
1171
- };
1172
- previewUrl?: string | undefined;
1173
- metadata?: {
1174
- [x: string]: unknown;
1175
- } | undefined;
1176
- template: {
1177
- components: {
1178
- [x: string]: {
1179
- options: {
1180
- [x: string]: unknown;
1181
- };
1182
- type: string;
1183
- name?: string | undefined;
1184
- rendered: boolean;
1185
- };
1186
- };
1187
- dependencies: {
1188
- [x: string]: {
1189
- options: {
1190
- [x: string]: unknown;
1191
- };
1192
- type: string;
1193
- };
1194
- };
1195
- pages: {
1196
- url?: ({
1197
- type: "static";
1198
- value: string;
1199
- } | {
1200
- type: "dependency";
1201
- value: string;
1202
- })[] | undefined;
1203
- id: string;
1204
- components: {
1205
- id: string;
1206
- width: number;
1207
- height: number;
1208
- x: number;
1209
- y: number;
1210
- skewX: number;
1211
- skewY: number;
1212
- rotation: number;
1213
- }[];
1214
- width: number;
1215
- height: number;
1216
- background: {
1217
- r: number;
1218
- g: number;
1219
- b: number;
1220
- a: number;
1221
- };
1222
- duration: number;
1223
- orderTree: {
1224
- root: string[];
1225
- elements: {
1226
- [x: string]: {
1227
- type: "conditionGroup";
1228
- } | {
1229
- type: "condition";
1230
- children: string[];
1231
- } | {
1232
- type: "component";
1233
- } | {
1234
- type: "componentGroup";
1235
- children: string[];
1236
- };
1237
- };
1238
- };
1239
- title?: ({
1240
- type: "static";
1241
- value: string;
1242
- } | {
1243
- type: "dependency";
1244
- value: string;
1245
- })[] | undefined;
1246
- }[];
1247
- conditionGroups: {
1248
- [x: string]: {
1249
- name?: string | undefined;
1250
- conditions: ({
1251
- id: string;
1252
- type: "and" | "or";
1253
- rules: {
1254
- value: ({
1255
- type: "static";
1256
- value: string | number | boolean;
1257
- } | {
1258
- type: "dependency";
1259
- value: string;
1260
- })[];
1261
- field: {
1262
- type: "static";
1263
- value: string | number | boolean;
1264
- } | {
1265
- type: "dependency";
1266
- value: string;
1267
- };
1268
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
1269
- }[];
1270
- } | {
1271
- id: string;
1272
- type: "and" | "or";
1273
- rules: {
1274
- value: ({
1275
- type: "static";
1276
- value: string | number | boolean;
1277
- } | {
1278
- type: "dependency";
1279
- value: string;
1280
- })[];
1281
- field: {
1282
- type: "static";
1283
- value: string | number | boolean;
1284
- } | {
1285
- type: "dependency";
1286
- value: string;
1287
- };
1288
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
1289
- }[];
1290
- } | {
1291
- id: string;
1292
- isElse: true;
1293
- })[];
1294
- };
1295
- };
1296
- componentGroups: {
1297
- [x: string]: {
1298
- url?: ({
1299
- type: "static";
1300
- value: string;
1301
- } | {
1302
- type: "dependency";
1303
- value: string;
1304
- })[] | undefined;
1305
- name?: string | undefined;
1306
- rendered: boolean;
1307
- };
1308
- };
1309
- };
1310
- }[];
1311
- name: string;
1312
- description?: string | undefined;
1313
- readonly status: ContentStatus & {
1314
- readonly?: "__readonly" | undefined;
1315
- };
1316
- readonly archivedAt: string & {
1317
- readonly?: "__readonly" | undefined;
739
+ type: "font";
740
+ family: string;
741
+ files: {
742
+ [x: string]: string;
1318
743
  };
1319
744
  };
745
+ program: string;
746
+ version: string;
747
+ datetime: string;
748
+ status: string;
749
+ code?: number | undefined;
750
+ message: string;
1320
751
  }, any>>;
1321
752
  delete: (params: {
1322
753
  id: string;
1323
754
  'dry-run'?: boolean | undefined;
1324
755
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1325
756
  status: "success";
757
+ } & {
758
+ data: {
759
+ readonly id: string & {
760
+ readonly?: "__readonly" | undefined;
761
+ };
762
+ readonly companyId: string & {
763
+ readonly?: "__readonly" | undefined;
764
+ };
765
+ resourceGroupIds: string[];
766
+ readonly createdAt: string & {
767
+ readonly?: "__readonly" | undefined;
768
+ };
769
+ readonly updatedAt: string & {
770
+ readonly?: "__readonly" | undefined;
771
+ };
772
+ type: "font";
773
+ family: string;
774
+ files: {
775
+ [x: string]: string;
776
+ };
777
+ };
1326
778
  program: string;
1327
779
  version: string;
1328
780
  datetime: string;
781
+ status: string;
1329
782
  code?: number | undefined;
1330
783
  message: string;
1331
- data: {};
1332
784
  }, any>>;
1333
785
  duplicate: (params: Record<string, never>, data: {
1334
786
  sourceId: string;
1335
787
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1336
788
  status: "success";
1337
- program: string;
1338
- version: string;
1339
- datetime: string;
1340
- code?: number | undefined;
1341
- message: string;
789
+ } & {
1342
790
  data: {
1343
- options?: {
1344
- compression: boolean;
1345
- compressionThreshold: number;
1346
- } | undefined;
1347
- id: string;
791
+ readonly id: string & {
792
+ readonly?: "__readonly" | undefined;
793
+ };
1348
794
  readonly companyId: string & {
1349
795
  readonly?: "__readonly" | undefined;
1350
796
  };
@@ -1355,161 +801,18 @@ export default class {
1355
801
  readonly updatedAt: string & {
1356
802
  readonly?: "__readonly" | undefined;
1357
803
  };
1358
- readonly versions: {
1359
- id: string;
1360
- createdAt: string;
1361
- updatedAt: string;
1362
- readonly state: ContentVersionState & {
1363
- readonly?: "__readonly" | undefined;
1364
- };
1365
- previewUrl?: string | undefined;
1366
- metadata?: {
1367
- [x: string]: unknown;
1368
- } | undefined;
1369
- template: {
1370
- components: {
1371
- [x: string]: {
1372
- options: {
1373
- [x: string]: unknown;
1374
- };
1375
- type: string;
1376
- name?: string | undefined;
1377
- rendered: boolean;
1378
- };
1379
- };
1380
- dependencies: {
1381
- [x: string]: {
1382
- options: {
1383
- [x: string]: unknown;
1384
- };
1385
- type: string;
1386
- };
1387
- };
1388
- pages: {
1389
- url?: ({
1390
- type: "static";
1391
- value: string;
1392
- } | {
1393
- type: "dependency";
1394
- value: string;
1395
- })[] | undefined;
1396
- id: string;
1397
- components: {
1398
- id: string;
1399
- width: number;
1400
- height: number;
1401
- x: number;
1402
- y: number;
1403
- skewX: number;
1404
- skewY: number;
1405
- rotation: number;
1406
- }[];
1407
- width: number;
1408
- height: number;
1409
- background: {
1410
- r: number;
1411
- g: number;
1412
- b: number;
1413
- a: number;
1414
- };
1415
- duration: number;
1416
- orderTree: {
1417
- root: string[];
1418
- elements: {
1419
- [x: string]: {
1420
- type: "conditionGroup";
1421
- } | {
1422
- type: "condition";
1423
- children: string[];
1424
- } | {
1425
- type: "component";
1426
- } | {
1427
- type: "componentGroup";
1428
- children: string[];
1429
- };
1430
- };
1431
- };
1432
- title?: ({
1433
- type: "static";
1434
- value: string;
1435
- } | {
1436
- type: "dependency";
1437
- value: string;
1438
- })[] | undefined;
1439
- }[];
1440
- conditionGroups: {
1441
- [x: string]: {
1442
- name?: string | undefined;
1443
- conditions: ({
1444
- id: string;
1445
- type: "and" | "or";
1446
- rules: {
1447
- value: ({
1448
- type: "static";
1449
- value: string | number | boolean;
1450
- } | {
1451
- type: "dependency";
1452
- value: string;
1453
- })[];
1454
- field: {
1455
- type: "static";
1456
- value: string | number | boolean;
1457
- } | {
1458
- type: "dependency";
1459
- value: string;
1460
- };
1461
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
1462
- }[];
1463
- } | {
1464
- id: string;
1465
- type: "and" | "or";
1466
- rules: {
1467
- value: ({
1468
- type: "static";
1469
- value: string | number | boolean;
1470
- } | {
1471
- type: "dependency";
1472
- value: string;
1473
- })[];
1474
- field: {
1475
- type: "static";
1476
- value: string | number | boolean;
1477
- } | {
1478
- type: "dependency";
1479
- value: string;
1480
- };
1481
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
1482
- }[];
1483
- } | {
1484
- id: string;
1485
- isElse: true;
1486
- })[];
1487
- };
1488
- };
1489
- componentGroups: {
1490
- [x: string]: {
1491
- url?: ({
1492
- type: "static";
1493
- value: string;
1494
- } | {
1495
- type: "dependency";
1496
- value: string;
1497
- })[] | undefined;
1498
- name?: string | undefined;
1499
- rendered: boolean;
1500
- };
1501
- };
1502
- };
1503
- }[];
1504
- name: string;
1505
- description?: string | undefined;
1506
- readonly status: ContentStatus & {
1507
- readonly?: "__readonly" | undefined;
1508
- };
1509
- readonly archivedAt: string & {
1510
- readonly?: "__readonly" | undefined;
804
+ type: "font";
805
+ family: string;
806
+ files: {
807
+ [x: string]: string;
1511
808
  };
1512
809
  };
810
+ program: string;
811
+ version: string;
812
+ datetime: string;
813
+ status: string;
814
+ code?: number | undefined;
815
+ message: string;
1513
816
  }, any>>;
1514
817
  publish: (params: {
1515
818
  id: string;
@@ -1517,17 +820,11 @@ export default class {
1517
820
  previewUrl?: string | undefined;
1518
821
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1519
822
  status: "success";
1520
- program: string;
1521
- version: string;
1522
- datetime: string;
1523
- code?: number | undefined;
1524
- message: string;
823
+ } & {
1525
824
  data: {
1526
- options?: {
1527
- compression: boolean;
1528
- compressionThreshold: number;
1529
- } | undefined;
1530
- id: string;
825
+ readonly id: string & {
826
+ readonly?: "__readonly" | undefined;
827
+ };
1531
828
  readonly companyId: string & {
1532
829
  readonly?: "__readonly" | undefined;
1533
830
  };
@@ -1538,161 +835,18 @@ export default class {
1538
835
  readonly updatedAt: string & {
1539
836
  readonly?: "__readonly" | undefined;
1540
837
  };
1541
- readonly versions: {
1542
- id: string;
1543
- createdAt: string;
1544
- updatedAt: string;
1545
- readonly state: ContentVersionState & {
1546
- readonly?: "__readonly" | undefined;
1547
- };
1548
- previewUrl?: string | undefined;
1549
- metadata?: {
1550
- [x: string]: unknown;
1551
- } | undefined;
1552
- template: {
1553
- components: {
1554
- [x: string]: {
1555
- options: {
1556
- [x: string]: unknown;
1557
- };
1558
- type: string;
1559
- name?: string | undefined;
1560
- rendered: boolean;
1561
- };
1562
- };
1563
- dependencies: {
1564
- [x: string]: {
1565
- options: {
1566
- [x: string]: unknown;
1567
- };
1568
- type: string;
1569
- };
1570
- };
1571
- pages: {
1572
- url?: ({
1573
- type: "static";
1574
- value: string;
1575
- } | {
1576
- type: "dependency";
1577
- value: string;
1578
- })[] | undefined;
1579
- id: string;
1580
- components: {
1581
- id: string;
1582
- width: number;
1583
- height: number;
1584
- x: number;
1585
- y: number;
1586
- skewX: number;
1587
- skewY: number;
1588
- rotation: number;
1589
- }[];
1590
- width: number;
1591
- height: number;
1592
- background: {
1593
- r: number;
1594
- g: number;
1595
- b: number;
1596
- a: number;
1597
- };
1598
- duration: number;
1599
- orderTree: {
1600
- root: string[];
1601
- elements: {
1602
- [x: string]: {
1603
- type: "conditionGroup";
1604
- } | {
1605
- type: "condition";
1606
- children: string[];
1607
- } | {
1608
- type: "component";
1609
- } | {
1610
- type: "componentGroup";
1611
- children: string[];
1612
- };
1613
- };
1614
- };
1615
- title?: ({
1616
- type: "static";
1617
- value: string;
1618
- } | {
1619
- type: "dependency";
1620
- value: string;
1621
- })[] | undefined;
1622
- }[];
1623
- conditionGroups: {
1624
- [x: string]: {
1625
- name?: string | undefined;
1626
- conditions: ({
1627
- id: string;
1628
- type: "and" | "or";
1629
- rules: {
1630
- value: ({
1631
- type: "static";
1632
- value: string | number | boolean;
1633
- } | {
1634
- type: "dependency";
1635
- value: string;
1636
- })[];
1637
- field: {
1638
- type: "static";
1639
- value: string | number | boolean;
1640
- } | {
1641
- type: "dependency";
1642
- value: string;
1643
- };
1644
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
1645
- }[];
1646
- } | {
1647
- id: string;
1648
- type: "and" | "or";
1649
- rules: {
1650
- value: ({
1651
- type: "static";
1652
- value: string | number | boolean;
1653
- } | {
1654
- type: "dependency";
1655
- value: string;
1656
- })[];
1657
- field: {
1658
- type: "static";
1659
- value: string | number | boolean;
1660
- } | {
1661
- type: "dependency";
1662
- value: string;
1663
- };
1664
- operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
1665
- }[];
1666
- } | {
1667
- id: string;
1668
- isElse: true;
1669
- })[];
1670
- };
1671
- };
1672
- componentGroups: {
1673
- [x: string]: {
1674
- url?: ({
1675
- type: "static";
1676
- value: string;
1677
- } | {
1678
- type: "dependency";
1679
- value: string;
1680
- })[] | undefined;
1681
- name?: string | undefined;
1682
- rendered: boolean;
1683
- };
1684
- };
1685
- };
1686
- }[];
1687
- name: string;
1688
- description?: string | undefined;
1689
- readonly status: ContentStatus & {
1690
- readonly?: "__readonly" | undefined;
1691
- };
1692
- readonly archivedAt: string & {
1693
- readonly?: "__readonly" | undefined;
838
+ type: "font";
839
+ family: string;
840
+ files: {
841
+ [x: string]: string;
1694
842
  };
1695
843
  };
844
+ program: string;
845
+ version: string;
846
+ datetime: string;
847
+ status: string;
848
+ code?: number | undefined;
849
+ message: string;
1696
850
  }, any>>;
1697
851
  render: (params: {
1698
852
  id: string;
@@ -1709,15 +863,33 @@ export default class {
1709
863
  id: string;
1710
864
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1711
865
  status: "success";
866
+ } & {
867
+ data: {
868
+ readonly id: string & {
869
+ readonly?: "__readonly" | undefined;
870
+ };
871
+ readonly companyId: string & {
872
+ readonly?: "__readonly" | undefined;
873
+ };
874
+ resourceGroupIds: string[];
875
+ readonly createdAt: string & {
876
+ readonly?: "__readonly" | undefined;
877
+ };
878
+ readonly updatedAt: string & {
879
+ readonly?: "__readonly" | undefined;
880
+ };
881
+ type: "font";
882
+ family: string;
883
+ files: {
884
+ [x: string]: string;
885
+ };
886
+ };
1712
887
  program: string;
1713
888
  version: string;
1714
889
  datetime: string;
890
+ status: string;
1715
891
  code?: number | undefined;
1716
892
  message: string;
1717
- data: {
1718
- id: string;
1719
- fields: string[];
1720
- }[];
1721
893
  }, any>>;
1722
894
  };
1723
895
  }