@shotstack/schemas 1.3.0 → 1.3.1

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.
@@ -1425,20 +1425,6 @@
1425
1425
  "example": "Hello World",
1426
1426
  "maxLength": 5000
1427
1427
  },
1428
- "width": {
1429
- "description": "Set the width of the rich text asset bounding box in pixels. Text will wrap to fill the bounding box. Minimum 1px, maximum 4096px.",
1430
- "type": "integer",
1431
- "minimum": 1,
1432
- "maximum": 4096,
1433
- "example": 800
1434
- },
1435
- "height": {
1436
- "description": "Set the height of the rich text asset bounding box in pixels. Text and elements will be masked if they exceed the height of the bounding box. Minimum 1px, maximum 4096px.",
1437
- "type": "integer",
1438
- "minimum": 1,
1439
- "maximum": 4096,
1440
- "example": 600
1441
- },
1442
1428
  "font": {
1443
1429
  "description": "Font styling properties.",
1444
1430
  "$ref": "#/components/schemas/RichTextFont"
package/dist/schema.d.ts CHANGED
@@ -737,16 +737,6 @@ export interface components {
737
737
  * @example Hello World
738
738
  */
739
739
  text: string;
740
- /**
741
- * @description Set the width of the rich text asset bounding box in pixels. Text will wrap to fill the bounding box. Minimum 1px, maximum 4096px.
742
- * @example 800
743
- */
744
- width?: number;
745
- /**
746
- * @description Set the height of the rich text asset bounding box in pixels. Text and elements will be masked if they exceed the height of the bounding box. Minimum 1px, maximum 4096px.
747
- * @example 600
748
- */
749
- height?: number;
750
740
  /** @description Font styling properties. */
751
741
  font?: components["schemas"]["RichTextFont"];
752
742
  /** @description Text style properties including spacing, line height, and transformations. */
@@ -1250,8 +1250,6 @@ exports.richTextStyleSchema = exports.richtextpropertiesRichTextStyleSchema;
1250
1250
  exports.richtextassetRichTextAssetSchema = zod_1.z.object({
1251
1251
  type: zod_1.z.string().default("rich-text"),
1252
1252
  text: zod_1.z.string().max(5000),
1253
- width: zod_1.z.optional(zod_1.z.int().gte(1).lte(4096)),
1254
- height: zod_1.z.optional(zod_1.z.int().gte(1).lte(4096)),
1255
1253
  font: zod_1.z.optional(exports.richtextpropertiesRichTextFontSchema),
1256
1254
  style: zod_1.z.optional(exports.richtextpropertiesRichTextStyleSchema),
1257
1255
  stroke: zod_1.z.optional(exports.richtextpropertiesRichTextStrokeSchema),
@@ -4819,8 +4819,6 @@ export declare const richTextStyleSchema: z.ZodObject<{
4819
4819
  export declare const richtextassetRichTextAssetSchema: z.ZodObject<{
4820
4820
  type: z.ZodDefault<z.ZodString>;
4821
4821
  text: z.ZodString;
4822
- width: z.ZodOptional<z.ZodInt>;
4823
- height: z.ZodOptional<z.ZodInt>;
4824
4822
  font: z.ZodOptional<z.ZodObject<{
4825
4823
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4826
4824
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -4926,8 +4924,6 @@ export declare const richtextassetRichTextAssetSchema: z.ZodObject<{
4926
4924
  export declare const richTextAssetSchema: z.ZodObject<{
4927
4925
  type: z.ZodDefault<z.ZodString>;
4928
4926
  text: z.ZodString;
4929
- width: z.ZodOptional<z.ZodInt>;
4930
- height: z.ZodOptional<z.ZodInt>;
4931
4927
  font: z.ZodOptional<z.ZodObject<{
4932
4928
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4933
4929
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -9423,8 +9419,6 @@ export declare const assetAssetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.
9423
9419
  }, z.core.$strip>, z.ZodObject<{
9424
9420
  type: z.ZodDefault<z.ZodString>;
9425
9421
  text: z.ZodString;
9426
- width: z.ZodOptional<z.ZodInt>;
9427
- height: z.ZodOptional<z.ZodInt>;
9428
9422
  font: z.ZodOptional<z.ZodObject<{
9429
9423
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9430
9424
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -9953,8 +9947,6 @@ export declare const assetSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodOb
9953
9947
  }, z.core.$strip>, z.ZodObject<{
9954
9948
  type: z.ZodDefault<z.ZodString>;
9955
9949
  text: z.ZodString;
9956
- width: z.ZodOptional<z.ZodInt>;
9957
- height: z.ZodOptional<z.ZodInt>;
9958
9950
  font: z.ZodOptional<z.ZodObject<{
9959
9951
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9960
9952
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -10487,8 +10479,6 @@ export declare const clipClipSchema: z.ZodObject<{
10487
10479
  }, z.core.$strip>, z.ZodObject<{
10488
10480
  type: z.ZodDefault<z.ZodString>;
10489
10481
  text: z.ZodString;
10490
- width: z.ZodOptional<z.ZodInt>;
10491
- height: z.ZodOptional<z.ZodInt>;
10492
10482
  font: z.ZodOptional<z.ZodObject<{
10493
10483
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10494
10484
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -11462,8 +11452,6 @@ export declare const clipSchema: z.ZodObject<{
11462
11452
  }, z.core.$strip>, z.ZodObject<{
11463
11453
  type: z.ZodDefault<z.ZodString>;
11464
11454
  text: z.ZodString;
11465
- width: z.ZodOptional<z.ZodInt>;
11466
- height: z.ZodOptional<z.ZodInt>;
11467
11455
  font: z.ZodOptional<z.ZodObject<{
11468
11456
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11469
11457
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -12441,8 +12429,6 @@ export declare const trackTrackSchema: z.ZodObject<{
12441
12429
  }, z.core.$strip>, z.ZodObject<{
12442
12430
  type: z.ZodDefault<z.ZodString>;
12443
12431
  text: z.ZodString;
12444
- width: z.ZodOptional<z.ZodInt>;
12445
- height: z.ZodOptional<z.ZodInt>;
12446
12432
  font: z.ZodOptional<z.ZodObject<{
12447
12433
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12448
12434
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -13418,8 +13404,6 @@ export declare const trackSchema: z.ZodObject<{
13418
13404
  }, z.core.$strip>, z.ZodObject<{
13419
13405
  type: z.ZodDefault<z.ZodString>;
13420
13406
  text: z.ZodString;
13421
- width: z.ZodOptional<z.ZodInt>;
13422
- height: z.ZodOptional<z.ZodInt>;
13423
13407
  font: z.ZodOptional<z.ZodObject<{
13424
13408
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13425
13409
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -14412,8 +14396,6 @@ export declare const timelineTimelineSchema: z.ZodObject<{
14412
14396
  }, z.core.$strip>, z.ZodObject<{
14413
14397
  type: z.ZodDefault<z.ZodString>;
14414
14398
  text: z.ZodString;
14415
- width: z.ZodOptional<z.ZodInt>;
14416
- height: z.ZodOptional<z.ZodInt>;
14417
14399
  font: z.ZodOptional<z.ZodObject<{
14418
14400
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14419
14401
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -15405,8 +15387,6 @@ export declare const timelineSchema: z.ZodObject<{
15405
15387
  }, z.core.$strip>, z.ZodObject<{
15406
15388
  type: z.ZodDefault<z.ZodString>;
15407
15389
  text: z.ZodString;
15408
- width: z.ZodOptional<z.ZodInt>;
15409
- height: z.ZodOptional<z.ZodInt>;
15410
15390
  font: z.ZodOptional<z.ZodObject<{
15411
15391
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15412
15392
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -16402,8 +16382,6 @@ export declare const editEditSchema: z.ZodObject<{
16402
16382
  }, z.core.$strip>, z.ZodObject<{
16403
16383
  type: z.ZodDefault<z.ZodString>;
16404
16384
  text: z.ZodString;
16405
- width: z.ZodOptional<z.ZodInt>;
16406
- height: z.ZodOptional<z.ZodInt>;
16407
16385
  font: z.ZodOptional<z.ZodObject<{
16408
16386
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16409
16387
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -17552,8 +17530,6 @@ export declare const editSchema: z.ZodObject<{
17552
17530
  }, z.core.$strip>, z.ZodObject<{
17553
17531
  type: z.ZodDefault<z.ZodString>;
17554
17532
  text: z.ZodString;
17555
- width: z.ZodOptional<z.ZodInt>;
17556
- height: z.ZodOptional<z.ZodInt>;
17557
17533
  font: z.ZodOptional<z.ZodObject<{
17558
17534
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
17559
17535
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -18724,8 +18700,6 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
18724
18700
  }, z.core.$strip>, z.ZodObject<{
18725
18701
  type: z.ZodDefault<z.ZodString>;
18726
18702
  text: z.ZodString;
18727
- width: z.ZodOptional<z.ZodInt>;
18728
- height: z.ZodOptional<z.ZodInt>;
18729
18703
  font: z.ZodOptional<z.ZodObject<{
18730
18704
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18731
18705
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -19896,8 +19870,6 @@ export declare const renderResponseDataSchema: z.ZodObject<{
19896
19870
  }, z.core.$strip>, z.ZodObject<{
19897
19871
  type: z.ZodDefault<z.ZodString>;
19898
19872
  text: z.ZodString;
19899
- width: z.ZodOptional<z.ZodInt>;
19900
- height: z.ZodOptional<z.ZodInt>;
19901
19873
  font: z.ZodOptional<z.ZodObject<{
19902
19874
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19903
19875
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -21074,8 +21046,6 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
21074
21046
  }, z.core.$strip>, z.ZodObject<{
21075
21047
  type: z.ZodDefault<z.ZodString>;
21076
21048
  text: z.ZodString;
21077
- width: z.ZodOptional<z.ZodInt>;
21078
- height: z.ZodOptional<z.ZodInt>;
21079
21049
  font: z.ZodOptional<z.ZodObject<{
21080
21050
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
21081
21051
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -22250,8 +22220,6 @@ export declare const renderResponseSchema: z.ZodObject<{
22250
22220
  }, z.core.$strip>, z.ZodObject<{
22251
22221
  type: z.ZodDefault<z.ZodString>;
22252
22222
  text: z.ZodString;
22253
- width: z.ZodOptional<z.ZodInt>;
22254
- height: z.ZodOptional<z.ZodInt>;
22255
22223
  font: z.ZodOptional<z.ZodObject<{
22256
22224
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
22257
22225
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -23411,8 +23379,6 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
23411
23379
  }, z.core.$strip>, z.ZodObject<{
23412
23380
  type: z.ZodDefault<z.ZodString>;
23413
23381
  text: z.ZodString;
23414
- width: z.ZodOptional<z.ZodInt>;
23415
- height: z.ZodOptional<z.ZodInt>;
23416
23382
  font: z.ZodOptional<z.ZodObject<{
23417
23383
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
23418
23384
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -24566,8 +24532,6 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
24566
24532
  }, z.core.$strip>, z.ZodObject<{
24567
24533
  type: z.ZodDefault<z.ZodString>;
24568
24534
  text: z.ZodString;
24569
- width: z.ZodOptional<z.ZodInt>;
24570
- height: z.ZodOptional<z.ZodInt>;
24571
24535
  font: z.ZodOptional<z.ZodObject<{
24572
24536
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
24573
24537
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -25727,8 +25691,6 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
25727
25691
  }, z.core.$strip>, z.ZodObject<{
25728
25692
  type: z.ZodDefault<z.ZodString>;
25729
25693
  text: z.ZodString;
25730
- width: z.ZodOptional<z.ZodInt>;
25731
- height: z.ZodOptional<z.ZodInt>;
25732
25694
  font: z.ZodOptional<z.ZodObject<{
25733
25695
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25734
25696
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -26886,8 +26848,6 @@ export declare const templateDataResponseSchema: z.ZodObject<{
26886
26848
  }, z.core.$strip>, z.ZodObject<{
26887
26849
  type: z.ZodDefault<z.ZodString>;
26888
26850
  text: z.ZodString;
26889
- width: z.ZodOptional<z.ZodInt>;
26890
- height: z.ZodOptional<z.ZodInt>;
26891
26851
  font: z.ZodOptional<z.ZodObject<{
26892
26852
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26893
26853
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -28043,8 +28003,6 @@ export declare const templateTemplateSchema: z.ZodObject<{
28043
28003
  }, z.core.$strip>, z.ZodObject<{
28044
28004
  type: z.ZodDefault<z.ZodString>;
28045
28005
  text: z.ZodString;
28046
- width: z.ZodOptional<z.ZodInt>;
28047
- height: z.ZodOptional<z.ZodInt>;
28048
28006
  font: z.ZodOptional<z.ZodObject<{
28049
28007
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
28050
28008
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -29196,8 +29154,6 @@ export declare const templateSchema: z.ZodObject<{
29196
29154
  }, z.core.$strip>, z.ZodObject<{
29197
29155
  type: z.ZodDefault<z.ZodString>;
29198
29156
  text: z.ZodString;
29199
- width: z.ZodOptional<z.ZodInt>;
29200
- height: z.ZodOptional<z.ZodInt>;
29201
29157
  font: z.ZodOptional<z.ZodObject<{
29202
29158
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
29203
29159
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -30348,8 +30304,6 @@ export declare const postRenderRequest: z.ZodObject<{
30348
30304
  }, z.core.$strip>, z.ZodObject<{
30349
30305
  type: z.ZodDefault<z.ZodString>;
30350
30306
  text: z.ZodString;
30351
- width: z.ZodOptional<z.ZodInt>;
30352
- height: z.ZodOptional<z.ZodInt>;
30353
30307
  font: z.ZodOptional<z.ZodObject<{
30354
30308
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
30355
30309
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -31547,8 +31501,6 @@ export declare const getRenderResponse: z.ZodObject<{
31547
31501
  }, z.core.$strip>, z.ZodObject<{
31548
31502
  type: z.ZodDefault<z.ZodString>;
31549
31503
  text: z.ZodString;
31550
- width: z.ZodOptional<z.ZodInt>;
31551
- height: z.ZodOptional<z.ZodInt>;
31552
31504
  font: z.ZodOptional<z.ZodObject<{
31553
31505
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
31554
31506
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -32725,8 +32677,6 @@ export declare const postTemplateRequest: z.ZodObject<{
32725
32677
  }, z.core.$strip>, z.ZodObject<{
32726
32678
  type: z.ZodDefault<z.ZodString>;
32727
32679
  text: z.ZodString;
32728
- width: z.ZodOptional<z.ZodInt>;
32729
- height: z.ZodOptional<z.ZodInt>;
32730
32680
  font: z.ZodOptional<z.ZodObject<{
32731
32681
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
32732
32682
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -33918,8 +33868,6 @@ export declare const getTemplateResponse: z.ZodObject<{
33918
33868
  }, z.core.$strip>, z.ZodObject<{
33919
33869
  type: z.ZodDefault<z.ZodString>;
33920
33870
  text: z.ZodString;
33921
- width: z.ZodOptional<z.ZodInt>;
33922
- height: z.ZodOptional<z.ZodInt>;
33923
33871
  font: z.ZodOptional<z.ZodObject<{
33924
33872
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
33925
33873
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -35073,8 +35021,6 @@ export declare const putTemplateRequest: z.ZodObject<{
35073
35021
  }, z.core.$strip>, z.ZodObject<{
35074
35022
  type: z.ZodDefault<z.ZodString>;
35075
35023
  text: z.ZodString;
35076
- width: z.ZodOptional<z.ZodInt>;
35077
- height: z.ZodOptional<z.ZodInt>;
35078
35024
  font: z.ZodOptional<z.ZodObject<{
35079
35025
  family: z.ZodDefault<z.ZodOptional<z.ZodString>>;
35080
35026
  size: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -1241,8 +1241,6 @@ export const richTextStyleSchema = richtextpropertiesRichTextStyleSchema;
1241
1241
  export const richtextassetRichTextAssetSchema = z.object({
1242
1242
  type: z.string().default("rich-text"),
1243
1243
  text: z.string().max(5000),
1244
- width: z.optional(z.int().gte(1).lte(4096)),
1245
- height: z.optional(z.int().gte(1).lte(4096)),
1246
1244
  font: z.optional(richtextpropertiesRichTextFontSchema),
1247
1245
  style: z.optional(richtextpropertiesRichTextStyleSchema),
1248
1246
  stroke: z.optional(richtextpropertiesRichTextStrokeSchema),
@@ -1557,8 +1557,6 @@ export const richTextStyleSchema = richtextpropertiesRichTextStyleSchema;
1557
1557
  export const richtextassetRichTextAssetSchema = z.object({
1558
1558
  type: z.string().default("rich-text"),
1559
1559
  text: z.string().max(5000),
1560
- width: z.optional(z.int().gte(1).lte(4096)),
1561
- height: z.optional(z.int().gte(1).lte(4096)),
1562
1560
  font: z.optional(richtextpropertiesRichTextFontSchema),
1563
1561
  style: z.optional(richtextpropertiesRichTextStyleSchema),
1564
1562
  stroke: z.optional(richtextpropertiesRichTextStrokeSchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/schemas",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",