@cueframe/api-contract 6.0.2 → 6.1.0

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,20 +1,20 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "kernelVersion": "0.7.14",
4
- "privateCommit": "302da8adcbe918d7abfe9b84b5f4fa89c538f4d3",
4
+ "privateCommit": "e9cb1a6914c24890b6117eed3af9672f91c2e261",
5
5
  "privateSource": {
6
6
  "kind": "commit",
7
- "baseCommit": "302da8adcbe918d7abfe9b84b5f4fa89c538f4d3",
8
- "lockfileSha256": "6d604779be186f8f13f7652615d83121895ebf479fa5351ab936e198792bafda"
7
+ "baseCommit": "e9cb1a6914c24890b6117eed3af9672f91c2e261",
8
+ "lockfileSha256": "94f7b6ea6021bdcc621ef54b69a05712fb3d82336162cc6f7039f8ed9e73cb93"
9
9
  },
10
10
  "kernelArtifact": {
11
11
  "version": "0.7.14",
12
12
  "sha256": "9b47d98114f2024b4a2c8fd11491a379848e7bef36c69d9eaf4771c4f87dbd52"
13
13
  },
14
14
  "files": {
15
- "openapi.json": "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede",
15
+ "openapi.json": "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000",
16
16
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
17
17
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
18
18
  },
19
- "contractVersion": "6.0.2"
19
+ "contractVersion": "6.1.0"
20
20
  }
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export declare const contractVersion: "6.0.2";
2
- export declare const openApiSha256: "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede";
3
- export declare const operationCount: 171;
4
- export declare const pathCount: 138;
5
- export declare const componentCount: 245;
1
+ export declare const contractVersion: "6.1.0";
2
+ export declare const openApiSha256: "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000";
3
+ export declare const operationCount: 172;
4
+ export declare const pathCount: 139;
5
+ export declare const componentCount: 247;
6
6
  export declare const kernelVersion: "0.7.14";
7
- export declare const privateCommit: "302da8adcbe918d7abfe9b84b5f4fa89c538f4d3";
7
+ export declare const privateCommit: "e9cb1a6914c24890b6117eed3af9672f91c2e261";
8
8
  export declare const syncedFiles: {
9
- "openapi.json": "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede",
9
+ "openapi.json": "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000",
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 = "6.0.2";
2
- export const openApiSha256 = "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede";
3
- export const operationCount = 171;
4
- export const pathCount = 138;
5
- export const componentCount = 245;
1
+ export const contractVersion = "6.1.0";
2
+ export const openApiSha256 = "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000";
3
+ export const operationCount = 172;
4
+ export const pathCount = 139;
5
+ export const componentCount = 247;
6
6
  export const kernelVersion = "0.7.14";
7
- export const privateCommit = "302da8adcbe918d7abfe9b84b5f4fa89c538f4d3";
7
+ export const privateCommit = "e9cb1a6914c24890b6117eed3af9672f91c2e261";
8
8
  export const syncedFiles = {
9
- "openapi.json": "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede",
9
+ "openapi.json": "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000",
10
10
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
11
11
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
12
12
  };
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "contractVersion": "6.0.2",
4
- "sha256": "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede",
5
- "operationCount": 171,
6
- "pathCount": 138,
7
- "componentCount": 245,
3
+ "contractVersion": "6.1.0",
4
+ "sha256": "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000",
5
+ "operationCount": 172,
6
+ "pathCount": 139,
7
+ "componentCount": 247,
8
8
  "kernelVersion": "0.7.14",
9
- "privateCommit": "302da8adcbe918d7abfe9b84b5f4fa89c538f4d3",
9
+ "privateCommit": "e9cb1a6914c24890b6117eed3af9672f91c2e261",
10
10
  "privateSource": {
11
11
  "kind": "commit",
12
- "baseCommit": "302da8adcbe918d7abfe9b84b5f4fa89c538f4d3",
13
- "lockfileSha256": "6d604779be186f8f13f7652615d83121895ebf479fa5351ab936e198792bafda"
12
+ "baseCommit": "e9cb1a6914c24890b6117eed3af9672f91c2e261",
13
+ "lockfileSha256": "94f7b6ea6021bdcc621ef54b69a05712fb3d82336162cc6f7039f8ed9e73cb93"
14
14
  },
15
15
  "kernelArtifact": {
16
16
  "version": "0.7.14",
17
17
  "sha256": "9b47d98114f2024b4a2c8fd11491a379848e7bef36c69d9eaf4771c4f87dbd52"
18
18
  },
19
19
  "syncedFiles": {
20
- "openapi.json": "5f2c5a3060c4cd9232507face3060d8bc851145969a0e4fedad8755dab4a8ede",
20
+ "openapi.json": "ae0133d18235511034b1ea6c858c0f6f800567fc7d71921d725cea630a4d0000",
21
21
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
22
22
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
23
23
  }
package/dist/openapi.json CHANGED
@@ -230510,6 +230510,33 @@
230510
230510
  "items": {
230511
230511
  "type": "object",
230512
230512
  "properties": {
230513
+ "compositionFrame": {
230514
+ "type": "integer",
230515
+ "minimum": 0,
230516
+ "maximum": 9007199254740991
230517
+ },
230518
+ "renderFrame": {
230519
+ "type": "integer",
230520
+ "minimum": 0,
230521
+ "maximum": 9007199254740991
230522
+ },
230523
+ "introFrames": {
230524
+ "type": "integer",
230525
+ "minimum": 0,
230526
+ "maximum": 9007199254740991
230527
+ },
230528
+ "fps": {
230529
+ "type": "number",
230530
+ "exclusiveMinimum": 0
230531
+ },
230532
+ "actualTimeSec": {
230533
+ "type": "number",
230534
+ "minimum": 0
230535
+ },
230536
+ "artifactSha256": {
230537
+ "type": "string",
230538
+ "pattern": "^sha256:[0-9a-f]{64}$"
230539
+ },
230513
230540
  "id": {
230514
230541
  "type": "string"
230515
230542
  },
@@ -230779,74 +230806,559 @@
230779
230806
  }
230780
230807
  },
230781
230808
  "required": [
230782
- "code",
230783
- "message"
230809
+ "code",
230810
+ "message"
230811
+ ],
230812
+ "additionalProperties": false
230813
+ },
230814
+ {
230815
+ "type": "null"
230816
+ }
230817
+ ],
230818
+ "description": "Stable failure code + human message when status is `failed`; null otherwise. `job_timeout` = the executor died mid-run and the stall sweep reaped the job — re-enqueue to retry."
230819
+ },
230820
+ "createdAt": {
230821
+ "type": "string"
230822
+ },
230823
+ "updatedAt": {
230824
+ "type": "string"
230825
+ },
230826
+ "completedAt": {
230827
+ "type": [
230828
+ "string",
230829
+ "null"
230830
+ ]
230831
+ }
230832
+ },
230833
+ "required": [
230834
+ "id",
230835
+ "jobKey",
230836
+ "kind",
230837
+ "status",
230838
+ "progress",
230839
+ "result",
230840
+ "error",
230841
+ "createdAt",
230842
+ "updatedAt",
230843
+ "completedAt"
230844
+ ],
230845
+ "additionalProperties": false
230846
+ },
230847
+ "JobEnqueueResponse": {
230848
+ "type": "object",
230849
+ "properties": {
230850
+ "jobId": {
230851
+ "type": "string",
230852
+ "description": "Poll GET /v1/jobs/{jobId} / wait_job until terminal."
230853
+ },
230854
+ "jobKey": {
230855
+ "type": "string",
230856
+ "description": "Deterministic identity of the work (content hash of every input the result depends on). Re-enqueueing the same key returns the same job while it runs; a failed key revives as a fresh attempt."
230857
+ },
230858
+ "kind": {
230859
+ "type": "string",
230860
+ "description": "Job family, e.g. `verify` | `preview` | `brand_kit_extract`."
230861
+ },
230862
+ "status": {
230863
+ "type": "string",
230864
+ "enum": [
230865
+ "running",
230866
+ "succeeded",
230867
+ "cancelled"
230868
+ ],
230869
+ "description": "running on a fresh/deduped enqueue; succeeded when an identical request already completed. Cancelled is part of the shared status vocabulary; identical cancelled work revives to running."
230870
+ }
230871
+ },
230872
+ "required": [
230873
+ "jobId",
230874
+ "jobKey",
230875
+ "kind",
230876
+ "status"
230877
+ ],
230878
+ "additionalProperties": false
230879
+ },
230880
+ "CompareFramesRequest": {
230881
+ "type": "object",
230882
+ "properties": {
230883
+ "reference": {
230884
+ "type": "object",
230885
+ "properties": {
230886
+ "mediaItemId": {
230887
+ "type": "string",
230888
+ "minLength": 1,
230889
+ "maxLength": 128
230890
+ },
230891
+ "representationIdentity": {
230892
+ "type": "string",
230893
+ "pattern": "^sha256:[0-9a-f]{64}$"
230894
+ },
230895
+ "frame": {
230896
+ "type": "integer",
230897
+ "minimum": 0,
230898
+ "maximum": 9007199254740991
230899
+ }
230900
+ },
230901
+ "required": [
230902
+ "mediaItemId",
230903
+ "representationIdentity",
230904
+ "frame"
230905
+ ],
230906
+ "additionalProperties": false
230907
+ },
230908
+ "candidate": {
230909
+ "type": "object",
230910
+ "properties": {
230911
+ "jobId": {
230912
+ "type": "string",
230913
+ "minLength": 1,
230914
+ "maxLength": 128
230915
+ },
230916
+ "artifactId": {
230917
+ "type": "string",
230918
+ "minLength": 1,
230919
+ "maxLength": 128
230920
+ }
230921
+ },
230922
+ "required": [
230923
+ "jobId",
230924
+ "artifactId"
230925
+ ],
230926
+ "additionalProperties": false
230927
+ },
230928
+ "views": {
230929
+ "minItems": 1,
230930
+ "maxItems": 3,
230931
+ "type": "array",
230932
+ "items": {
230933
+ "type": "string",
230934
+ "enum": [
230935
+ "side_by_side",
230936
+ "overlay",
230937
+ "difference"
230938
+ ]
230939
+ }
230940
+ },
230941
+ "crop": {
230942
+ "type": "object",
230943
+ "properties": {
230944
+ "x": {
230945
+ "type": "integer",
230946
+ "minimum": 0,
230947
+ "maximum": 9007199254740991
230948
+ },
230949
+ "y": {
230950
+ "type": "integer",
230951
+ "minimum": 0,
230952
+ "maximum": 9007199254740991
230953
+ },
230954
+ "width": {
230955
+ "type": "integer",
230956
+ "exclusiveMinimum": 0,
230957
+ "maximum": 9007199254740991
230958
+ },
230959
+ "height": {
230960
+ "type": "integer",
230961
+ "exclusiveMinimum": 0,
230962
+ "maximum": 9007199254740991
230963
+ }
230964
+ },
230965
+ "required": [
230966
+ "x",
230967
+ "y",
230968
+ "width",
230969
+ "height"
230970
+ ],
230971
+ "additionalProperties": false
230972
+ }
230973
+ },
230974
+ "required": [
230975
+ "reference",
230976
+ "candidate"
230977
+ ],
230978
+ "additionalProperties": false
230979
+ },
230980
+ "CompareFramesResponse": {
230981
+ "type": "object",
230982
+ "properties": {
230983
+ "reference": {
230984
+ "type": "object",
230985
+ "properties": {
230986
+ "frame": {
230987
+ "type": "integer",
230988
+ "minimum": 0,
230989
+ "maximum": 9007199254740991
230990
+ },
230991
+ "width": {
230992
+ "type": "integer",
230993
+ "exclusiveMinimum": 0,
230994
+ "maximum": 9007199254740991
230995
+ },
230996
+ "height": {
230997
+ "type": "integer",
230998
+ "exclusiveMinimum": 0,
230999
+ "maximum": 9007199254740991
231000
+ },
231001
+ "artifactSha256": {
231002
+ "type": "string",
231003
+ "pattern": "^sha256:[0-9a-f]{64}$"
231004
+ },
231005
+ "byteLength": {
231006
+ "type": "integer",
231007
+ "exclusiveMinimum": 0,
231008
+ "maximum": 16777216
231009
+ },
231010
+ "normalization": {
231011
+ "type": "object",
231012
+ "properties": {
231013
+ "pixelFormat": {
231014
+ "type": "string",
231015
+ "const": "rgb24"
231016
+ },
231017
+ "sampleAspectRatio": {
231018
+ "type": "string",
231019
+ "const": "1:1"
231020
+ },
231021
+ "colorConversion": {
231022
+ "type": "string",
231023
+ "const": "ffmpeg_source_metadata"
231024
+ },
231025
+ "rotation": {
231026
+ "type": "string",
231027
+ "const": "ffmpeg_autorotate"
231028
+ },
231029
+ "sourceColorSpace": {
231030
+ "type": [
231031
+ "string",
231032
+ "null"
231033
+ ]
231034
+ },
231035
+ "sourceColorTransfer": {
231036
+ "type": [
231037
+ "string",
231038
+ "null"
231039
+ ]
231040
+ },
231041
+ "sourceColorPrimaries": {
231042
+ "type": [
231043
+ "string",
231044
+ "null"
231045
+ ]
231046
+ }
231047
+ },
231048
+ "required": [
231049
+ "pixelFormat",
231050
+ "sampleAspectRatio",
231051
+ "colorConversion",
231052
+ "rotation",
231053
+ "sourceColorSpace",
231054
+ "sourceColorTransfer",
231055
+ "sourceColorPrimaries"
231056
+ ],
231057
+ "additionalProperties": false
231058
+ },
231059
+ "mediaItemId": {
231060
+ "type": "string"
231061
+ },
231062
+ "sourceIdentity": {
231063
+ "type": "string",
231064
+ "pattern": "^sha256:[0-9a-f]{64}$"
231065
+ },
231066
+ "representationIdentity": {
231067
+ "type": "string",
231068
+ "pattern": "^sha256:[0-9a-f]{64}$"
231069
+ },
231070
+ "representationRevision": {
231071
+ "type": "string"
231072
+ },
231073
+ "frameCount": {
231074
+ "type": "integer",
231075
+ "exclusiveMinimum": 0,
231076
+ "maximum": 9007199254740991
231077
+ },
231078
+ "fpsNum": {
231079
+ "type": "integer",
231080
+ "exclusiveMinimum": 0,
231081
+ "maximum": 9007199254740991
231082
+ },
231083
+ "fpsDen": {
231084
+ "type": "integer",
231085
+ "exclusiveMinimum": 0,
231086
+ "maximum": 9007199254740991
231087
+ },
231088
+ "actualTimeSec": {
231089
+ "type": "number",
231090
+ "minimum": 0
231091
+ },
231092
+ "coordinateSystem": {
231093
+ "type": "string",
231094
+ "const": "certified_representation"
231095
+ }
231096
+ },
231097
+ "required": [
231098
+ "frame",
231099
+ "width",
231100
+ "height",
231101
+ "artifactSha256",
231102
+ "byteLength",
231103
+ "normalization",
231104
+ "mediaItemId",
231105
+ "sourceIdentity",
231106
+ "representationIdentity",
231107
+ "representationRevision",
231108
+ "frameCount",
231109
+ "fpsNum",
231110
+ "fpsDen",
231111
+ "actualTimeSec",
231112
+ "coordinateSystem"
231113
+ ],
231114
+ "additionalProperties": false
231115
+ },
231116
+ "candidate": {
231117
+ "type": "object",
231118
+ "properties": {
231119
+ "compositionFrame": {
231120
+ "type": "integer",
231121
+ "minimum": 0,
231122
+ "maximum": 9007199254740991
231123
+ },
231124
+ "renderFrame": {
231125
+ "type": "integer",
231126
+ "minimum": 0,
231127
+ "maximum": 9007199254740991
231128
+ },
231129
+ "introFrames": {
231130
+ "type": "integer",
231131
+ "minimum": 0,
231132
+ "maximum": 9007199254740991
231133
+ },
231134
+ "fps": {
231135
+ "type": "number",
231136
+ "exclusiveMinimum": 0
231137
+ },
231138
+ "actualTimeSec": {
231139
+ "type": "number",
231140
+ "minimum": 0
231141
+ },
231142
+ "artifactSha256": {
231143
+ "type": "string",
231144
+ "pattern": "^sha256:[0-9a-f]{64}$"
231145
+ },
231146
+ "jobId": {
231147
+ "type": "string"
231148
+ },
231149
+ "artifactId": {
231150
+ "type": "string"
231151
+ },
231152
+ "requestedTimeSec": {
231153
+ "type": "number",
231154
+ "minimum": 0
231155
+ },
231156
+ "previewed": {
231157
+ "type": "object",
231158
+ "properties": {
231159
+ "source": {
231160
+ "type": "string",
231161
+ "enum": [
231162
+ "inline",
231163
+ "scratch",
231164
+ "persisted"
231165
+ ]
231166
+ },
231167
+ "compositionId": {
231168
+ "type": "string"
231169
+ },
231170
+ "etag": {
231171
+ "type": "string"
231172
+ }
231173
+ },
231174
+ "required": [
231175
+ "source"
231176
+ ],
231177
+ "additionalProperties": false
231178
+ }
231179
+ },
231180
+ "required": [
231181
+ "compositionFrame",
231182
+ "renderFrame",
231183
+ "introFrames",
231184
+ "fps",
231185
+ "actualTimeSec",
231186
+ "artifactSha256",
231187
+ "jobId",
231188
+ "artifactId",
231189
+ "requestedTimeSec",
231190
+ "previewed"
231191
+ ],
231192
+ "additionalProperties": false
231193
+ },
231194
+ "comparison": {
231195
+ "type": "object",
231196
+ "properties": {
231197
+ "sourceWidth": {
231198
+ "type": "integer",
231199
+ "exclusiveMinimum": 0,
231200
+ "maximum": 9007199254740991
231201
+ },
231202
+ "sourceHeight": {
231203
+ "type": "integer",
231204
+ "exclusiveMinimum": 0,
231205
+ "maximum": 9007199254740991
231206
+ },
231207
+ "width": {
231208
+ "type": "integer",
231209
+ "exclusiveMinimum": 0,
231210
+ "maximum": 9007199254740991
231211
+ },
231212
+ "height": {
231213
+ "type": "integer",
231214
+ "exclusiveMinimum": 0,
231215
+ "maximum": 9007199254740991
231216
+ },
231217
+ "referenceSha256": {
231218
+ "type": "string",
231219
+ "pattern": "^sha256:[0-9a-f]{64}$"
231220
+ },
231221
+ "candidateSha256": {
231222
+ "type": "string",
231223
+ "pattern": "^sha256:[0-9a-f]{64}$"
231224
+ },
231225
+ "crop": {
231226
+ "anyOf": [
231227
+ {
231228
+ "type": "object",
231229
+ "properties": {
231230
+ "x": {
231231
+ "type": "integer",
231232
+ "minimum": 0,
231233
+ "maximum": 9007199254740991
231234
+ },
231235
+ "y": {
231236
+ "type": "integer",
231237
+ "minimum": 0,
231238
+ "maximum": 9007199254740991
231239
+ },
231240
+ "width": {
231241
+ "type": "integer",
231242
+ "exclusiveMinimum": 0,
231243
+ "maximum": 9007199254740991
231244
+ },
231245
+ "height": {
231246
+ "type": "integer",
231247
+ "exclusiveMinimum": 0,
231248
+ "maximum": 9007199254740991
231249
+ }
231250
+ },
231251
+ "required": [
231252
+ "x",
231253
+ "y",
231254
+ "width",
231255
+ "height"
231256
+ ],
231257
+ "additionalProperties": false
231258
+ },
231259
+ {
231260
+ "type": "null"
231261
+ }
231262
+ ]
231263
+ },
231264
+ "alignment": {
231265
+ "type": "string",
231266
+ "const": "none"
231267
+ },
231268
+ "normalization": {
231269
+ "type": "object",
231270
+ "properties": {
231271
+ "pixelFormat": {
231272
+ "type": "string",
231273
+ "const": "rgb24"
231274
+ },
231275
+ "alpha": {
231276
+ "type": "string",
231277
+ "const": "opaque_only"
231278
+ },
231279
+ "colorConversion": {
231280
+ "type": "string",
231281
+ "const": "none_rgb_samples"
231282
+ }
231283
+ },
231284
+ "required": [
231285
+ "pixelFormat",
231286
+ "alpha",
231287
+ "colorConversion"
230784
231288
  ],
230785
231289
  "additionalProperties": false
230786
231290
  },
230787
- {
230788
- "type": "null"
231291
+ "images": {
231292
+ "minItems": 1,
231293
+ "maxItems": 3,
231294
+ "type": "array",
231295
+ "items": {
231296
+ "type": "object",
231297
+ "properties": {
231298
+ "view": {
231299
+ "type": "string",
231300
+ "enum": [
231301
+ "side_by_side",
231302
+ "overlay",
231303
+ "difference"
231304
+ ]
231305
+ },
231306
+ "width": {
231307
+ "type": "integer",
231308
+ "exclusiveMinimum": 0,
231309
+ "maximum": 9007199254740991
231310
+ },
231311
+ "height": {
231312
+ "type": "integer",
231313
+ "exclusiveMinimum": 0,
231314
+ "maximum": 9007199254740991
231315
+ },
231316
+ "artifactSha256": {
231317
+ "type": "string",
231318
+ "pattern": "^sha256:[0-9a-f]{64}$"
231319
+ },
231320
+ "pngBase64": {
231321
+ "type": "string",
231322
+ "minLength": 1,
231323
+ "maxLength": 8388608
231324
+ },
231325
+ "byteLength": {
231326
+ "type": "integer",
231327
+ "exclusiveMinimum": 0,
231328
+ "maximum": 6291456
231329
+ }
231330
+ },
231331
+ "required": [
231332
+ "view",
231333
+ "width",
231334
+ "height",
231335
+ "artifactSha256",
231336
+ "pngBase64",
231337
+ "byteLength"
231338
+ ],
231339
+ "additionalProperties": false
231340
+ }
230789
231341
  }
231342
+ },
231343
+ "required": [
231344
+ "sourceWidth",
231345
+ "sourceHeight",
231346
+ "width",
231347
+ "height",
231348
+ "referenceSha256",
231349
+ "candidateSha256",
231350
+ "crop",
231351
+ "alignment",
231352
+ "normalization",
231353
+ "images"
230790
231354
  ],
230791
- "description": "Stable failure code + human message when status is `failed`; null otherwise. `job_timeout` = the executor died mid-run and the stall sweep reaped the job — re-enqueue to retry."
230792
- },
230793
- "createdAt": {
230794
- "type": "string"
230795
- },
230796
- "updatedAt": {
230797
- "type": "string"
230798
- },
230799
- "completedAt": {
230800
- "type": [
230801
- "string",
230802
- "null"
230803
- ]
230804
- }
230805
- },
230806
- "required": [
230807
- "id",
230808
- "jobKey",
230809
- "kind",
230810
- "status",
230811
- "progress",
230812
- "result",
230813
- "error",
230814
- "createdAt",
230815
- "updatedAt",
230816
- "completedAt"
230817
- ],
230818
- "additionalProperties": false
230819
- },
230820
- "JobEnqueueResponse": {
230821
- "type": "object",
230822
- "properties": {
230823
- "jobId": {
230824
- "type": "string",
230825
- "description": "Poll GET /v1/jobs/{jobId} / wait_job until terminal."
230826
- },
230827
- "jobKey": {
230828
- "type": "string",
230829
- "description": "Deterministic identity of the work (content hash of every input the result depends on). Re-enqueueing the same key returns the same job while it runs; a failed key revives as a fresh attempt."
230830
- },
230831
- "kind": {
230832
- "type": "string",
230833
- "description": "Job family, e.g. `verify` | `preview` | `brand_kit_extract`."
230834
- },
230835
- "status": {
230836
- "type": "string",
230837
- "enum": [
230838
- "running",
230839
- "succeeded",
230840
- "cancelled"
230841
- ],
230842
- "description": "running on a fresh/deduped enqueue; succeeded when an identical request already completed. Cancelled is part of the shared status vocabulary; identical cancelled work revives to running."
231355
+ "additionalProperties": false
230843
231356
  }
230844
231357
  },
230845
231358
  "required": [
230846
- "jobId",
230847
- "jobKey",
230848
- "kind",
230849
- "status"
231359
+ "reference",
231360
+ "candidate",
231361
+ "comparison"
230850
231362
  ],
230851
231363
  "additionalProperties": false
230852
231364
  },
@@ -245082,6 +245594,11 @@
245082
245594
  "write"
245083
245595
  ]
245084
245596
  },
245597
+ "x-x402": {
245598
+ "amount": "10000",
245599
+ "deliverable": true,
245600
+ "maxTimeoutSeconds": 900
245601
+ },
245085
245602
  "requestBody": {
245086
245603
  "required": true,
245087
245604
  "content": {
@@ -245252,6 +245769,11 @@
245252
245769
  "write"
245253
245770
  ]
245254
245771
  },
245772
+ "x-x402": {
245773
+ "amount": "10000",
245774
+ "deliverable": true,
245775
+ "maxTimeoutSeconds": 900
245776
+ },
245255
245777
  "requestBody": {
245256
245778
  "required": true,
245257
245779
  "content": {
@@ -245422,6 +245944,7 @@
245422
245944
  "write"
245423
245945
  ]
245424
245946
  },
245947
+ "x-x402": "render",
245425
245948
  "requestBody": {
245426
245949
  "required": true,
245427
245950
  "content": {
@@ -245556,7 +246079,7 @@
245556
246079
  "price": {
245557
246080
  "mode": "fixed",
245558
246081
  "currency": "USDC",
245559
- "amount": "10000"
246082
+ "amount": "500000"
245560
246083
  },
245561
246084
  "protocols": [
245562
246085
  {
@@ -245573,7 +246096,7 @@
245573
246096
  "exports"
245574
246097
  ],
245575
246098
  "summary": "Retry an export's admitted specification",
245576
- "description": "Create a new keyed export from the original immutable snapshot in its admitted project. Use Idempotency-Key to safely replay the HTTP request.",
246099
+ "description": "Create a new keyed export from the original immutable snapshot in its admitted project. Use Idempotency-Key to safely replay the HTTP request. Priced like the export it repeats and charged when the retry completes.",
245577
246100
  "security": [
245578
246101
  {
245579
246102
  "bearerAuth": []
@@ -245592,6 +246115,7 @@
245592
246115
  "write"
245593
246116
  ]
245594
246117
  },
246118
+ "x-x402": "render",
245595
246119
  "responses": {
245596
246120
  "202": {
245597
246121
  "description": "Export retry queued.",
@@ -245732,9 +246256,8 @@
245732
246256
  ],
245733
246257
  "x-payment-info": {
245734
246258
  "price": {
245735
- "mode": "fixed",
245736
- "currency": "USDC",
245737
- "amount": "10000"
246259
+ "mode": "dynamic",
246260
+ "currency": "USDC"
245738
246261
  },
245739
246262
  "protocols": [
245740
246263
  {
@@ -253136,6 +253659,156 @@
253136
253659
  }
253137
253660
  }
253138
253661
  },
253662
+ "/v1/projects/{id}/compare-frames": {
253663
+ "post": {
253664
+ "operationId": "compareFrames",
253665
+ "tags": [
253666
+ "evidence"
253667
+ ],
253668
+ "summary": "Compare a certified source frame with an existing composition preview",
253669
+ "description": "Returns unaligned PNG evidence at original coordinates. Resolves an existing preview; never renders the composition. Source frame numbers refer to its certified representation, not an inferred original-file timestamp.",
253670
+ "security": [
253671
+ {
253672
+ "bearerAuth": []
253673
+ },
253674
+ {
253675
+ "oauth2": [
253676
+ "projects:read"
253677
+ ]
253678
+ },
253679
+ {
253680
+ "x402": []
253681
+ }
253682
+ ],
253683
+ "x-permissions": {
253684
+ "projects": [
253685
+ "read"
253686
+ ]
253687
+ },
253688
+ "requestBody": {
253689
+ "required": true,
253690
+ "content": {
253691
+ "application/json": {
253692
+ "schema": {
253693
+ "$ref": "#/components/schemas/CompareFramesRequest"
253694
+ }
253695
+ }
253696
+ }
253697
+ },
253698
+ "responses": {
253699
+ "200": {
253700
+ "description": "Paired image evidence and exact source identities.",
253701
+ "content": {
253702
+ "application/json": {
253703
+ "schema": {
253704
+ "$ref": "#/components/schemas/CompareFramesResponse"
253705
+ }
253706
+ }
253707
+ }
253708
+ },
253709
+ "400": {
253710
+ "description": "Bad request — validation_error / invalid_cursor / invalid_query.",
253711
+ "content": {
253712
+ "application/json": {
253713
+ "schema": {
253714
+ "$ref": "#/components/schemas/ErrorEnvelope"
253715
+ }
253716
+ }
253717
+ }
253718
+ },
253719
+ "401": {
253720
+ "description": "Missing or invalid Authorization header.",
253721
+ "content": {
253722
+ "application/json": {
253723
+ "schema": {
253724
+ "$ref": "#/components/schemas/ErrorEnvelope"
253725
+ }
253726
+ }
253727
+ }
253728
+ },
253729
+ "403": {
253730
+ "description": "Forbidden — permission insufficient.",
253731
+ "content": {
253732
+ "application/json": {
253733
+ "schema": {
253734
+ "$ref": "#/components/schemas/ErrorEnvelope"
253735
+ }
253736
+ }
253737
+ }
253738
+ },
253739
+ "404": {
253740
+ "description": "Resource not found.",
253741
+ "content": {
253742
+ "application/json": {
253743
+ "schema": {
253744
+ "$ref": "#/components/schemas/ErrorEnvelope"
253745
+ }
253746
+ }
253747
+ }
253748
+ },
253749
+ "409": {
253750
+ "description": "Conflict — stale_etag / idempotency_conflict / suggestions_already_complete.",
253751
+ "content": {
253752
+ "application/json": {
253753
+ "schema": {
253754
+ "$ref": "#/components/schemas/ErrorEnvelope"
253755
+ }
253756
+ }
253757
+ }
253758
+ },
253759
+ "422": {
253760
+ "description": "Unprocessable — invalid_composition / media_in_use / session_in_use / render_not_cancellable.",
253761
+ "content": {
253762
+ "application/json": {
253763
+ "schema": {
253764
+ "$ref": "#/components/schemas/ErrorEnvelope"
253765
+ }
253766
+ }
253767
+ }
253768
+ },
253769
+ "429": {
253770
+ "description": "Rate limited. Retry-After header present.",
253771
+ "content": {
253772
+ "application/json": {
253773
+ "schema": {
253774
+ "$ref": "#/components/schemas/ErrorEnvelope"
253775
+ }
253776
+ }
253777
+ }
253778
+ },
253779
+ "500": {
253780
+ "description": "Internal error.",
253781
+ "content": {
253782
+ "application/json": {
253783
+ "schema": {
253784
+ "$ref": "#/components/schemas/ErrorEnvelope"
253785
+ }
253786
+ }
253787
+ }
253788
+ },
253789
+ "503": {
253790
+ "description": "Service unavailable — billing_unavailable / honest-503 for runtime deps.",
253791
+ "content": {
253792
+ "application/json": {
253793
+ "schema": {
253794
+ "$ref": "#/components/schemas/ErrorEnvelope"
253795
+ }
253796
+ }
253797
+ }
253798
+ }
253799
+ },
253800
+ "parameters": [
253801
+ {
253802
+ "schema": {
253803
+ "type": "string"
253804
+ },
253805
+ "in": "path",
253806
+ "name": "id",
253807
+ "required": true
253808
+ }
253809
+ ]
253810
+ }
253811
+ },
253139
253812
  "/v1/projects/{id}/score-composition": {
253140
253813
  "post": {
253141
253814
  "operationId": "scoreComposition",
@@ -120,6 +120,7 @@
120
120
  "POST /v1/media/{id}/transcript/analyze analyzeTranscript",
121
121
  "POST /v1/profile/taste createTasteEntry",
122
122
  "POST /v1/projects createProject",
123
+ "POST /v1/projects/{id}/compare-frames compareFrames",
123
124
  "POST /v1/projects/{id}/component-preview previewComponent",
124
125
  "POST /v1/projects/{id}/components/native-upgrade repinComponent",
125
126
  "POST /v1/projects/{id}/compose compose",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueframe/api-contract",
3
- "version": "6.0.2",
3
+ "version": "6.1.0",
4
4
  "description": "Versioned OpenAPI contract and composition schemas for the CueFrame video editing and rendering API.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",