@shotstack/schemas 1.5.8 → 1.5.9

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.
@@ -910,6 +910,16 @@
910
910
  "mount"
911
911
  ],
912
912
  "deprecated": true
913
+ },
914
+ "instance": {
915
+ "description": "The render instance type to use for processing the edit. <ul>\n <li>`s1` - standard instance (default)</li>\n <li>`s2` - standard instance with more resources</li>\n <li>`a1` - accelerated instance for faster rendering</li>\n</ul>",
916
+ "type": "string",
917
+ "enum": [
918
+ "s1",
919
+ "s2",
920
+ "a1"
921
+ ],
922
+ "default": "s1"
913
923
  }
914
924
  },
915
925
  "additionalProperties": false,
package/dist/schema.d.ts CHANGED
@@ -448,6 +448,16 @@ export interface components {
448
448
  * @enum {string}
449
449
  */
450
450
  disk?: "local" | "mount";
451
+ /**
452
+ * @description The render instance type to use for processing the edit. <ul>
453
+ * <li>`s1` - standard instance (default)</li>
454
+ * <li>`s2` - standard instance with more resources</li>
455
+ * <li>`a1` - accelerated instance for faster rendering</li>
456
+ * </ul>
457
+ * @default s1
458
+ * @enum {string}
459
+ */
460
+ instance: "s1" | "s2" | "a1";
451
461
  };
452
462
  /** @description A timeline represents the contents of a video edit over time, an audio edit over time, in seconds, or an image layout. A timeline consists of layers called tracks. Tracks are composed of titles, images, audio, html or video segments referred to as clips which are placed along the track at specific starting point and lasting for a specific amount of time. */
453
463
  Timeline: {
@@ -3464,6 +3464,7 @@ exports.editEditSchema = zod_1.z.object({
3464
3464
  merge: zod_1.z.optional(zod_1.z.array(exports.mergefieldMergeFieldSchema)),
3465
3465
  callback: zod_1.z.optional(zod_1.z.string()),
3466
3466
  disk: zod_1.z.optional(zod_1.z.enum(["local", "mount"])),
3467
+ instance: zod_1.z.optional(zod_1.z.enum(["s1", "s2", "a1"])),
3467
3468
  }).strict();
3468
3469
  exports.editSchema = exports.editEditSchema;
3469
3470
  /**
@@ -27245,6 +27245,11 @@ export declare const editEditSchema: z.ZodObject<{
27245
27245
  local: "local";
27246
27246
  mount: "mount";
27247
27247
  }>>;
27248
+ instance: z.ZodOptional<z.ZodEnum<{
27249
+ s1: "s1";
27250
+ s2: "s2";
27251
+ a1: "a1";
27252
+ }>>;
27248
27253
  }, z.core.$strict>;
27249
27254
  export declare const editSchema: z.ZodObject<{
27250
27255
  timeline: z.ZodObject<{
@@ -29821,6 +29826,11 @@ export declare const editSchema: z.ZodObject<{
29821
29826
  local: "local";
29822
29827
  mount: "mount";
29823
29828
  }>>;
29829
+ instance: z.ZodOptional<z.ZodEnum<{
29830
+ s1: "s1";
29831
+ s2: "s2";
29832
+ a1: "a1";
29833
+ }>>;
29824
29834
  }, z.core.$strict>;
29825
29835
  /**
29826
29836
  * The response data returned with the [RenderResponse](#tocs_renderresponse) including status and URL.
@@ -32419,6 +32429,11 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
32419
32429
  local: "local";
32420
32430
  mount: "mount";
32421
32431
  }>>;
32432
+ instance: z.ZodOptional<z.ZodEnum<{
32433
+ s1: "s1";
32434
+ s2: "s2";
32435
+ a1: "a1";
32436
+ }>>;
32422
32437
  }, z.core.$strict>>;
32423
32438
  created: z.ZodOptional<z.ZodString>;
32424
32439
  updated: z.ZodOptional<z.ZodString>;
@@ -35017,6 +35032,11 @@ export declare const renderResponseDataSchema: z.ZodObject<{
35017
35032
  local: "local";
35018
35033
  mount: "mount";
35019
35034
  }>>;
35035
+ instance: z.ZodOptional<z.ZodEnum<{
35036
+ s1: "s1";
35037
+ s2: "s2";
35038
+ a1: "a1";
35039
+ }>>;
35020
35040
  }, z.core.$strict>>;
35021
35041
  created: z.ZodOptional<z.ZodString>;
35022
35042
  updated: z.ZodOptional<z.ZodString>;
@@ -37621,6 +37641,11 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
37621
37641
  local: "local";
37622
37642
  mount: "mount";
37623
37643
  }>>;
37644
+ instance: z.ZodOptional<z.ZodEnum<{
37645
+ s1: "s1";
37646
+ s2: "s2";
37647
+ a1: "a1";
37648
+ }>>;
37624
37649
  }, z.core.$strict>>;
37625
37650
  created: z.ZodOptional<z.ZodString>;
37626
37651
  updated: z.ZodOptional<z.ZodString>;
@@ -40223,6 +40248,11 @@ export declare const renderResponseSchema: z.ZodObject<{
40223
40248
  local: "local";
40224
40249
  mount: "mount";
40225
40250
  }>>;
40251
+ instance: z.ZodOptional<z.ZodEnum<{
40252
+ s1: "s1";
40253
+ s2: "s2";
40254
+ a1: "a1";
40255
+ }>>;
40226
40256
  }, z.core.$strict>>;
40227
40257
  created: z.ZodOptional<z.ZodString>;
40228
40258
  updated: z.ZodOptional<z.ZodString>;
@@ -42810,6 +42840,11 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
42810
42840
  local: "local";
42811
42841
  mount: "mount";
42812
42842
  }>>;
42843
+ instance: z.ZodOptional<z.ZodEnum<{
42844
+ s1: "s1";
42845
+ s2: "s2";
42846
+ a1: "a1";
42847
+ }>>;
42813
42848
  }, z.core.$strict>;
42814
42849
  }, z.core.$strict>;
42815
42850
  export declare const templateDataResponseDataSchema: z.ZodObject<{
@@ -45391,6 +45426,11 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
45391
45426
  local: "local";
45392
45427
  mount: "mount";
45393
45428
  }>>;
45429
+ instance: z.ZodOptional<z.ZodEnum<{
45430
+ s1: "s1";
45431
+ s2: "s2";
45432
+ a1: "a1";
45433
+ }>>;
45394
45434
  }, z.core.$strict>;
45395
45435
  }, z.core.$strict>;
45396
45436
  /**
@@ -47978,6 +48018,11 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
47978
48018
  local: "local";
47979
48019
  mount: "mount";
47980
48020
  }>>;
48021
+ instance: z.ZodOptional<z.ZodEnum<{
48022
+ s1: "s1";
48023
+ s2: "s2";
48024
+ a1: "a1";
48025
+ }>>;
47981
48026
  }, z.core.$strict>;
47982
48027
  }, z.core.$strict>;
47983
48028
  }, z.core.$strict>;
@@ -50563,6 +50608,11 @@ export declare const templateDataResponseSchema: z.ZodObject<{
50563
50608
  local: "local";
50564
50609
  mount: "mount";
50565
50610
  }>>;
50611
+ instance: z.ZodOptional<z.ZodEnum<{
50612
+ s1: "s1";
50613
+ s2: "s2";
50614
+ a1: "a1";
50615
+ }>>;
50566
50616
  }, z.core.$strict>;
50567
50617
  }, z.core.$strict>;
50568
50618
  }, z.core.$strict>;
@@ -53146,6 +53196,11 @@ export declare const templateTemplateSchema: z.ZodObject<{
53146
53196
  local: "local";
53147
53197
  mount: "mount";
53148
53198
  }>>;
53199
+ instance: z.ZodOptional<z.ZodEnum<{
53200
+ s1: "s1";
53201
+ s2: "s2";
53202
+ a1: "a1";
53203
+ }>>;
53149
53204
  }, z.core.$strict>>;
53150
53205
  }, z.core.$strict>;
53151
53206
  export declare const templateSchema: z.ZodObject<{
@@ -55725,6 +55780,11 @@ export declare const templateSchema: z.ZodObject<{
55725
55780
  local: "local";
55726
55781
  mount: "mount";
55727
55782
  }>>;
55783
+ instance: z.ZodOptional<z.ZodEnum<{
55784
+ s1: "s1";
55785
+ s2: "s2";
55786
+ a1: "a1";
55787
+ }>>;
55728
55788
  }, z.core.$strict>>;
55729
55789
  }, z.core.$strict>;
55730
55790
  export declare const postRenderRequest: z.ZodObject<{
@@ -58303,6 +58363,11 @@ export declare const postRenderRequest: z.ZodObject<{
58303
58363
  local: "local";
58304
58364
  mount: "mount";
58305
58365
  }>>;
58366
+ instance: z.ZodOptional<z.ZodEnum<{
58367
+ s1: "s1";
58368
+ s2: "s2";
58369
+ a1: "a1";
58370
+ }>>;
58306
58371
  }, z.core.$strict>;
58307
58372
  path: z.ZodOptional<z.ZodNever>;
58308
58373
  query: z.ZodOptional<z.ZodNever>;
@@ -60928,6 +60993,11 @@ export declare const getRenderResponse: z.ZodObject<{
60928
60993
  local: "local";
60929
60994
  mount: "mount";
60930
60995
  }>>;
60996
+ instance: z.ZodOptional<z.ZodEnum<{
60997
+ s1: "s1";
60998
+ s2: "s2";
60999
+ a1: "a1";
61000
+ }>>;
60931
61001
  }, z.core.$strict>>;
60932
61002
  created: z.ZodOptional<z.ZodString>;
60933
61003
  updated: z.ZodOptional<z.ZodString>;
@@ -63532,6 +63602,11 @@ export declare const postTemplateRequest: z.ZodObject<{
63532
63602
  local: "local";
63533
63603
  mount: "mount";
63534
63604
  }>>;
63605
+ instance: z.ZodOptional<z.ZodEnum<{
63606
+ s1: "s1";
63607
+ s2: "s2";
63608
+ a1: "a1";
63609
+ }>>;
63535
63610
  }, z.core.$strict>>;
63536
63611
  }, z.core.$strict>;
63537
63612
  path: z.ZodOptional<z.ZodNever>;
@@ -66151,6 +66226,11 @@ export declare const getTemplateResponse: z.ZodObject<{
66151
66226
  local: "local";
66152
66227
  mount: "mount";
66153
66228
  }>>;
66229
+ instance: z.ZodOptional<z.ZodEnum<{
66230
+ s1: "s1";
66231
+ s2: "s2";
66232
+ a1: "a1";
66233
+ }>>;
66154
66234
  }, z.core.$strict>;
66155
66235
  }, z.core.$strict>;
66156
66236
  }, z.core.$strict>;
@@ -68732,6 +68812,11 @@ export declare const putTemplateRequest: z.ZodObject<{
68732
68812
  local: "local";
68733
68813
  mount: "mount";
68734
68814
  }>>;
68815
+ instance: z.ZodOptional<z.ZodEnum<{
68816
+ s1: "s1";
68817
+ s2: "s2";
68818
+ a1: "a1";
68819
+ }>>;
68735
68820
  }, z.core.$strict>>;
68736
68821
  }, z.core.$strict>;
68737
68822
  path: z.ZodObject<{
@@ -3454,6 +3454,7 @@ export const editEditSchema = z.object({
3454
3454
  merge: z.optional(z.array(mergefieldMergeFieldSchema)),
3455
3455
  callback: z.optional(z.string()),
3456
3456
  disk: z.optional(z.enum(["local", "mount"])),
3457
+ instance: z.optional(z.enum(["s1", "s2", "a1"])),
3457
3458
  }).strict();
3458
3459
  export const editSchema = editEditSchema;
3459
3460
  /**
@@ -2937,6 +2937,7 @@ export const editEditSchema = z.object({
2937
2937
  merge: z.optional(z.array(mergefieldMergeFieldSchema)),
2938
2938
  callback: z.optional(z.string()),
2939
2939
  disk: z.optional(z.enum(["local", "mount"])),
2940
+ instance: z.optional(z.enum(["s1", "s2", "a1"])),
2940
2941
  }).strict();
2941
2942
 
2942
2943
  export const editSchema = editEditSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/schemas",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",