@cueframe/api-contract 2.0.0 → 2.0.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.
@@ -1,23 +1,20 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "kernelVersion": "0.4.0",
4
- "privateCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
3
+ "kernelVersion": "0.4.2",
4
+ "privateCommit": "b6550763c9009c7e7ea868f73653a468be2fb118",
5
5
  "privateSource": {
6
- "kind": "working-tree",
7
- "baseCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
8
- "lockfileSha256": "fa885e7493e3e94c44ca6e249413805603d81a408e2bc08f7ea0fff25e58c5d0",
9
- "sha256": "a3ba620b019961a9fef548815607cd2c0c01ad6b303967efbb64943eb5c4fd97",
10
- "patchSha256": "2eee2fb411482d3a3ca82663adb95edcf17949abd7cea09a68ac55dfb368cdbd",
11
- "untrackedSha256": "92a2babd1d35721267055f15e7e499addc0016fad775c90aeae5410f500b32e8"
6
+ "kind": "commit",
7
+ "baseCommit": "b6550763c9009c7e7ea868f73653a468be2fb118",
8
+ "lockfileSha256": "e56b99181bc49d24b57a92ec49c0e81ae8221fa9a93c7e37cc2657c18e271038"
12
9
  },
13
10
  "kernelArtifact": {
14
- "version": "0.4.0",
15
- "sha256": "d48b212dfac5df95eaf4f331405fb6485b81b5e059a9cd84674e4eaf470685fe"
11
+ "version": "0.4.2",
12
+ "sha256": "44eee357997362b61491934dc8be16fc56493f436907da160225e7e87d7cba45"
16
13
  },
17
14
  "files": {
18
- "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
15
+ "openapi.json": "47aa512d38d24a655ac27646b98f73bc120cdd0b4543183ecf4cb76e87f03acb",
19
16
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
20
17
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
21
18
  },
22
- "contractVersion": "2.0.0"
19
+ "contractVersion": "2.0.1"
23
20
  }
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export declare const contractVersion: "2.0.0";
2
- export declare const openApiSha256: "b1c857d2eeeda0350eda124409970dde099db9b8c4c31f3a0783c260c78ad45b";
1
+ export declare const contractVersion: "2.0.1";
2
+ export declare const openApiSha256: "e1d048fd8a881c19e9874e66d7dffe30362766f3294927bafd781b796dbaa47d";
3
3
  export declare const operationCount: 135;
4
4
  export declare const pathCount: 108;
5
5
  export declare const componentCount: 214;
6
- export declare const kernelVersion: "0.4.0";
7
- export declare const privateCommit: "5242046b205b5b1bf8d04423594852e9ffd25e78";
6
+ export declare const kernelVersion: "0.4.2";
7
+ export declare const privateCommit: "b6550763c9009c7e7ea868f73653a468be2fb118";
8
8
  export declare const syncedFiles: {
9
- "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
9
+ "openapi.json": "47aa512d38d24a655ac27646b98f73bc120cdd0b4543183ecf4cb76e87f03acb",
10
10
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
11
11
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
12
12
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- export const contractVersion = "2.0.0";
2
- export const openApiSha256 = "b1c857d2eeeda0350eda124409970dde099db9b8c4c31f3a0783c260c78ad45b";
1
+ export const contractVersion = "2.0.1";
2
+ export const openApiSha256 = "e1d048fd8a881c19e9874e66d7dffe30362766f3294927bafd781b796dbaa47d";
3
3
  export const operationCount = 135;
4
4
  export const pathCount = 108;
5
5
  export const componentCount = 214;
6
- export const kernelVersion = "0.4.0";
7
- export const privateCommit = "5242046b205b5b1bf8d04423594852e9ffd25e78";
6
+ export const kernelVersion = "0.4.2";
7
+ export const privateCommit = "b6550763c9009c7e7ea868f73653a468be2fb118";
8
8
  export const syncedFiles = {
9
- "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
9
+ "openapi.json": "47aa512d38d24a655ac27646b98f73bc120cdd0b4543183ecf4cb76e87f03acb",
10
10
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
11
11
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
12
12
  };
@@ -1,26 +1,23 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "contractVersion": "2.0.0",
4
- "sha256": "b1c857d2eeeda0350eda124409970dde099db9b8c4c31f3a0783c260c78ad45b",
3
+ "contractVersion": "2.0.1",
4
+ "sha256": "e1d048fd8a881c19e9874e66d7dffe30362766f3294927bafd781b796dbaa47d",
5
5
  "operationCount": 135,
6
6
  "pathCount": 108,
7
7
  "componentCount": 214,
8
- "kernelVersion": "0.4.0",
9
- "privateCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
8
+ "kernelVersion": "0.4.2",
9
+ "privateCommit": "b6550763c9009c7e7ea868f73653a468be2fb118",
10
10
  "privateSource": {
11
- "kind": "working-tree",
12
- "baseCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
13
- "lockfileSha256": "fa885e7493e3e94c44ca6e249413805603d81a408e2bc08f7ea0fff25e58c5d0",
14
- "sha256": "a3ba620b019961a9fef548815607cd2c0c01ad6b303967efbb64943eb5c4fd97",
15
- "patchSha256": "2eee2fb411482d3a3ca82663adb95edcf17949abd7cea09a68ac55dfb368cdbd",
16
- "untrackedSha256": "92a2babd1d35721267055f15e7e499addc0016fad775c90aeae5410f500b32e8"
11
+ "kind": "commit",
12
+ "baseCommit": "b6550763c9009c7e7ea868f73653a468be2fb118",
13
+ "lockfileSha256": "e56b99181bc49d24b57a92ec49c0e81ae8221fa9a93c7e37cc2657c18e271038"
17
14
  },
18
15
  "kernelArtifact": {
19
- "version": "0.4.0",
20
- "sha256": "d48b212dfac5df95eaf4f331405fb6485b81b5e059a9cd84674e4eaf470685fe"
16
+ "version": "0.4.2",
17
+ "sha256": "44eee357997362b61491934dc8be16fc56493f436907da160225e7e87d7cba45"
21
18
  },
22
19
  "syncedFiles": {
23
- "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
20
+ "openapi.json": "47aa512d38d24a655ac27646b98f73bc120cdd0b4543183ecf4cb76e87f03acb",
24
21
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
25
22
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
26
23
  }
package/dist/openapi.json CHANGED
@@ -2873,7 +2873,17 @@
2873
2873
  "tracks"
2874
2874
  ],
2875
2875
  "additionalProperties": {},
2876
- "description": "Canonical composition wire shape (multi-track; carries reframe, captions, markers)."
2876
+ "description": "Canonical composition wire shape (multi-track; carries reframe, captions, markers).",
2877
+ "examples": [
2878
+ {
2879
+ "v": 1,
2880
+ "format": {
2881
+ "aspectRatio": "16:9",
2882
+ "fps": 30
2883
+ },
2884
+ "tracks": []
2885
+ }
2886
+ ]
2877
2887
  },
2878
2888
  "CompositionReplaceRequest": {
2879
2889
  "anyOf": [
@@ -2955,6 +2965,22 @@
2955
2965
  {
2956
2966
  "$ref": "#/components/schemas/Composition"
2957
2967
  }
2968
+ ],
2969
+ "examples": [
2970
+ {
2971
+ "composition": {
2972
+ "v": 1,
2973
+ "format": {
2974
+ "aspectRatio": "16:9",
2975
+ "fps": 30
2976
+ },
2977
+ "tracks": []
2978
+ },
2979
+ "componentExecutionVersions": [
2980
+ 3
2981
+ ],
2982
+ "expectedBrandIdentity": "0000000000000000000000000000000000000000000000000000000000000000"
2983
+ }
2958
2984
  ]
2959
2985
  },
2960
2986
  "CompositionOp": {
@@ -8924,7 +8950,17 @@
8924
8950
  "ops"
8925
8951
  ],
8926
8952
  "additionalProperties": false,
8927
- "description": "POST /projects/:id/composition/apply body — a batch of CompositionOps."
8953
+ "description": "POST /projects/:id/composition/apply body — a batch of CompositionOps.",
8954
+ "examples": [
8955
+ {
8956
+ "ops": [
8957
+ {
8958
+ "type": "clip.remove",
8959
+ "clipId": "observed-clip"
8960
+ }
8961
+ ]
8962
+ }
8963
+ ]
8928
8964
  },
8929
8965
  "CompositionCreateRequest": {
8930
8966
  "type": "object",
@@ -16677,7 +16713,12 @@
16677
16713
  }
16678
16714
  },
16679
16715
  "additionalProperties": false,
16680
- "description": "PUT /components/:id body: every writable field, all optional; an omitted field is carried forward. Org/user are server-resolved; never accepted from the body."
16716
+ "description": "PUT /components/:id body: every writable field, all optional; an omitted field is carried forward. Org/user are server-resolved; never accepted from the body.",
16717
+ "examples": [
16718
+ {
16719
+ "name": "Renamed title"
16720
+ }
16721
+ ]
16681
16722
  },
16682
16723
  "ComponentPatchRequest": {
16683
16724
  "type": "object",
@@ -17896,7 +17937,12 @@
17896
17937
  }
17897
17938
  },
17898
17939
  "additionalProperties": false,
17899
- "description": "PATCH /components/:id body, RFC 7396 merge: a field you omit is left exactly as it was. Org/user are server-resolved; never accepted from the body."
17940
+ "description": "PATCH /components/:id body, RFC 7396 merge: a field you omit is left exactly as it was. Org/user are server-resolved; never accepted from the body.",
17941
+ "examples": [
17942
+ {
17943
+ "name": "Renamed title"
17944
+ }
17945
+ ]
17900
17946
  },
17901
17947
  "BrandKitResponse": {
17902
17948
  "type": "object",
@@ -29867,7 +29913,14 @@
29867
29913
  "values",
29868
29914
  "media"
29869
29915
  ],
29870
- "additionalProperties": false
29916
+ "additionalProperties": false,
29917
+ "examples": [
29918
+ {
29919
+ "projectId": "observed-project",
29920
+ "values": {},
29921
+ "media": {}
29922
+ }
29923
+ ]
29871
29924
  },
29872
29925
  "TemplateMediaValue": {
29873
29926
  "anyOf": [
@@ -51388,6 +51441,24 @@
51388
51441
  }
51389
51442
  }
51390
51443
  },
51444
+ "402": {
51445
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
51446
+ "headers": {
51447
+ "Payment-Required": {
51448
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
51449
+ "schema": {
51450
+ "type": "string"
51451
+ }
51452
+ }
51453
+ },
51454
+ "content": {
51455
+ "application/json": {
51456
+ "schema": {
51457
+ "$ref": "#/components/schemas/X402PaymentRequired"
51458
+ }
51459
+ }
51460
+ }
51461
+ },
51391
51462
  "403": {
51392
51463
  "description": "Forbidden — permission insufficient.",
51393
51464
  "content": {
@@ -51468,7 +51539,19 @@
51468
51539
  "name": "id",
51469
51540
  "required": true
51470
51541
  }
51471
- ]
51542
+ ],
51543
+ "x-payment-info": {
51544
+ "price": {
51545
+ "mode": "fixed",
51546
+ "currency": "USDC",
51547
+ "amount": "10000"
51548
+ },
51549
+ "protocols": [
51550
+ {
51551
+ "x402": {}
51552
+ }
51553
+ ]
51554
+ }
51472
51555
  }
51473
51556
  },
51474
51557
  "/v1/template-jobs/{jobId}": {
@@ -51513,6 +51596,24 @@
51513
51596
  }
51514
51597
  }
51515
51598
  },
51599
+ "402": {
51600
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
51601
+ "headers": {
51602
+ "Payment-Required": {
51603
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
51604
+ "schema": {
51605
+ "type": "string"
51606
+ }
51607
+ }
51608
+ },
51609
+ "content": {
51610
+ "application/json": {
51611
+ "schema": {
51612
+ "$ref": "#/components/schemas/X402PaymentRequired"
51613
+ }
51614
+ }
51615
+ }
51616
+ },
51516
51617
  "403": {
51517
51618
  "description": "Forbidden — permission insufficient.",
51518
51619
  "content": {
@@ -51543,7 +51644,19 @@
51543
51644
  "name": "jobId",
51544
51645
  "required": true
51545
51646
  }
51546
- ]
51647
+ ],
51648
+ "x-payment-info": {
51649
+ "price": {
51650
+ "mode": "fixed",
51651
+ "currency": "USDC",
51652
+ "amount": "10000"
51653
+ },
51654
+ "protocols": [
51655
+ {
51656
+ "x402": {}
51657
+ }
51658
+ ]
51659
+ }
51547
51660
  }
51548
51661
  },
51549
51662
  "/v1/template-jobs/{jobId}/retry": {
@@ -51589,6 +51702,24 @@
51589
51702
  }
51590
51703
  }
51591
51704
  },
51705
+ "402": {
51706
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
51707
+ "headers": {
51708
+ "Payment-Required": {
51709
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
51710
+ "schema": {
51711
+ "type": "string"
51712
+ }
51713
+ }
51714
+ },
51715
+ "content": {
51716
+ "application/json": {
51717
+ "schema": {
51718
+ "$ref": "#/components/schemas/X402PaymentRequired"
51719
+ }
51720
+ }
51721
+ }
51722
+ },
51592
51723
  "403": {
51593
51724
  "description": "Forbidden — permission insufficient.",
51594
51725
  "content": {
@@ -51619,7 +51750,19 @@
51619
51750
  "name": "jobId",
51620
51751
  "required": true
51621
51752
  }
51622
- ]
51753
+ ],
51754
+ "x-payment-info": {
51755
+ "price": {
51756
+ "mode": "fixed",
51757
+ "currency": "USDC",
51758
+ "amount": "10000"
51759
+ },
51760
+ "protocols": [
51761
+ {
51762
+ "x402": {}
51763
+ }
51764
+ ]
51765
+ }
51623
51766
  }
51624
51767
  },
51625
51768
  "/v1/template-jobs/{jobId}/cancel": {
@@ -51664,6 +51807,24 @@
51664
51807
  }
51665
51808
  }
51666
51809
  },
51810
+ "402": {
51811
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
51812
+ "headers": {
51813
+ "Payment-Required": {
51814
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
51815
+ "schema": {
51816
+ "type": "string"
51817
+ }
51818
+ }
51819
+ },
51820
+ "content": {
51821
+ "application/json": {
51822
+ "schema": {
51823
+ "$ref": "#/components/schemas/X402PaymentRequired"
51824
+ }
51825
+ }
51826
+ }
51827
+ },
51667
51828
  "403": {
51668
51829
  "description": "Forbidden — permission insufficient.",
51669
51830
  "content": {
@@ -51694,7 +51855,19 @@
51694
51855
  "name": "jobId",
51695
51856
  "required": true
51696
51857
  }
51697
- ]
51858
+ ],
51859
+ "x-payment-info": {
51860
+ "price": {
51861
+ "mode": "fixed",
51862
+ "currency": "USDC",
51863
+ "amount": "10000"
51864
+ },
51865
+ "protocols": [
51866
+ {
51867
+ "x402": {}
51868
+ }
51869
+ ]
51870
+ }
51698
51871
  }
51699
51872
  },
51700
51873
  "/v1/templates/{id}/apply": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueframe/api-contract",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Sanitized, versioned OpenAPI contract for the public CueFrame API.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",