@dataworks-technology/cli 1.6.1 → 2.0.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.
Files changed (98) hide show
  1. package/README.md +5 -5
  2. package/dist/commands/data/{story/capture.d.ts → asset-upload-target/create.d.ts} +1 -1
  3. package/dist/commands/data/asset-upload-target/create.d.ts.map +1 -0
  4. package/dist/commands/data/asset-upload-target/create.js +4 -0
  5. package/dist/commands/data/asset-upload-target/create.js.map +1 -0
  6. package/dist/commands/data/athlete-by-external-id/get.d.ts +3 -0
  7. package/dist/commands/data/athlete-by-external-id/get.d.ts.map +1 -0
  8. package/dist/commands/data/athlete-by-external-id/get.js +4 -0
  9. package/dist/commands/data/athlete-by-external-id/get.js.map +1 -0
  10. package/dist/commands/data/athlete-by-service-mapping/get.d.ts +3 -0
  11. package/dist/commands/data/athlete-by-service-mapping/get.d.ts.map +1 -0
  12. package/dist/commands/data/athlete-by-service-mapping/get.js +4 -0
  13. package/dist/commands/data/athlete-by-service-mapping/get.js.map +1 -0
  14. package/dist/commands/data/athlete-service-mapping/create.d.ts +3 -0
  15. package/dist/commands/data/athlete-service-mapping/create.d.ts.map +1 -0
  16. package/dist/commands/data/athlete-service-mapping/create.js +4 -0
  17. package/dist/commands/data/athlete-service-mapping/create.js.map +1 -0
  18. package/dist/commands/data/athlete-service-mapping/delete.d.ts +3 -0
  19. package/dist/commands/data/athlete-service-mapping/delete.d.ts.map +1 -0
  20. package/dist/commands/data/athlete-service-mapping/delete.js +4 -0
  21. package/dist/commands/data/athlete-service-mapping/delete.js.map +1 -0
  22. package/dist/commands/data/athlete-service-mapping-service/list.d.ts +3 -0
  23. package/dist/commands/data/athlete-service-mapping-service/list.d.ts.map +1 -0
  24. package/dist/commands/data/athlete-service-mapping-service/list.js +4 -0
  25. package/dist/commands/data/athlete-service-mapping-service/list.js.map +1 -0
  26. package/dist/commands/data/athlete-team-membership/create.d.ts +3 -0
  27. package/dist/commands/data/athlete-team-membership/create.d.ts.map +1 -0
  28. package/dist/commands/data/athlete-team-membership/create.js +4 -0
  29. package/dist/commands/data/athlete-team-membership/create.js.map +1 -0
  30. package/dist/commands/data/athlete-team-membership/delete.d.ts +3 -0
  31. package/dist/commands/data/athlete-team-membership/delete.d.ts.map +1 -0
  32. package/dist/commands/data/athlete-team-membership/delete.js +4 -0
  33. package/dist/commands/data/athlete-team-membership/delete.js.map +1 -0
  34. package/dist/commands/data/athlete-team-membership/watch-create.d.ts +3 -0
  35. package/dist/commands/data/athlete-team-membership/watch-create.d.ts.map +1 -0
  36. package/dist/commands/data/athlete-team-membership/watch-create.js +4 -0
  37. package/dist/commands/data/athlete-team-membership/watch-create.js.map +1 -0
  38. package/dist/commands/data/athlete-team-membership/watch-delete.d.ts +3 -0
  39. package/dist/commands/data/athlete-team-membership/watch-delete.d.ts.map +1 -0
  40. package/dist/commands/data/athlete-team-membership/watch-delete.js +4 -0
  41. package/dist/commands/data/athlete-team-membership/watch-delete.js.map +1 -0
  42. package/dist/commands/data/client-athlete/create.d.ts +3 -0
  43. package/dist/commands/data/client-athlete/create.d.ts.map +1 -0
  44. package/dist/commands/data/client-athlete/create.js +4 -0
  45. package/dist/commands/data/client-athlete/create.js.map +1 -0
  46. package/dist/commands/data/client-athlete/delete.d.ts +3 -0
  47. package/dist/commands/data/client-athlete/delete.d.ts.map +1 -0
  48. package/dist/commands/data/client-athlete/delete.js +4 -0
  49. package/dist/commands/data/client-athlete/delete.js.map +1 -0
  50. package/dist/commands/data/global-athlete-service-mapping/create.d.ts +3 -0
  51. package/dist/commands/data/global-athlete-service-mapping/create.d.ts.map +1 -0
  52. package/dist/commands/data/global-athlete-service-mapping/create.js +4 -0
  53. package/dist/commands/data/global-athlete-service-mapping/create.js.map +1 -0
  54. package/dist/commands/data/global-athlete-service-mapping/delete.d.ts +3 -0
  55. package/dist/commands/data/global-athlete-service-mapping/delete.d.ts.map +1 -0
  56. package/dist/commands/data/global-athlete-service-mapping/delete.js +4 -0
  57. package/dist/commands/data/global-athlete-service-mapping/delete.js.map +1 -0
  58. package/dist/commands/data/meta-data/list.d.ts +3 -0
  59. package/dist/commands/data/meta-data/list.d.ts.map +1 -0
  60. package/dist/commands/data/{story/capture.js → meta-data/list.js} +2 -2
  61. package/dist/commands/data/meta-data/list.js.map +1 -0
  62. package/dist/commands/data/operation/dataset-screen-snapshot.d.ts +3 -0
  63. package/dist/commands/data/operation/dataset-screen-snapshot.d.ts.map +1 -0
  64. package/dist/commands/data/operation/dataset-screen-snapshot.js +4 -0
  65. package/dist/commands/data/operation/dataset-screen-snapshot.js.map +1 -0
  66. package/dist/commands/data/operation/import-asset-from-source.d.ts +3 -0
  67. package/dist/commands/data/operation/import-asset-from-source.d.ts.map +1 -0
  68. package/dist/commands/data/operation/import-asset-from-source.js +4 -0
  69. package/dist/commands/data/operation/import-asset-from-source.js.map +1 -0
  70. package/dist/commands/data/operation/increment-meta-data-aggregate.d.ts +3 -0
  71. package/dist/commands/data/operation/increment-meta-data-aggregate.d.ts.map +1 -0
  72. package/dist/commands/data/operation/increment-meta-data-aggregate.js +4 -0
  73. package/dist/commands/data/operation/increment-meta-data-aggregate.js.map +1 -0
  74. package/dist/commands/data/operation/ingest-meta-data.d.ts +3 -0
  75. package/dist/commands/data/operation/ingest-meta-data.d.ts.map +1 -0
  76. package/dist/commands/data/operation/ingest-meta-data.js +4 -0
  77. package/dist/commands/data/operation/ingest-meta-data.js.map +1 -0
  78. package/dist/commands/data/operation/latest-meta-data.d.ts +3 -0
  79. package/dist/commands/data/operation/latest-meta-data.d.ts.map +1 -0
  80. package/dist/commands/data/operation/latest-meta-data.js +4 -0
  81. package/dist/commands/data/operation/latest-meta-data.js.map +1 -0
  82. package/dist/generated/metrics.d.ts.map +1 -1
  83. package/dist/generated/metrics.js +20 -2
  84. package/dist/generated/metrics.js.map +1 -1
  85. package/dist/generated/operations.d.ts +252 -0
  86. package/dist/generated/operations.d.ts.map +1 -1
  87. package/dist/generated/operations.js +1474 -281
  88. package/dist/generated/operations.js.map +1 -1
  89. package/oclif.manifest.json +3236 -1517
  90. package/package.json +3 -3
  91. package/plugins/dataworks/.claude-plugin/plugin.json +1 -1
  92. package/plugins/dataworks/.codex-plugin/plugin.json +1 -1
  93. package/plugins/dataworks/skills/query-dataworks-metrics/SKILL.md +1 -1
  94. package/schema/graphql-contract.json +5 -5
  95. package/schema/graphql-schema.json +5938 -2479
  96. package/schema/operation-overrides.json +49 -1
  97. package/dist/commands/data/story/capture.d.ts.map +0 -1
  98. package/dist/commands/data/story/capture.js.map +0 -1
@@ -220,6 +220,93 @@ export const operations = [
220
220
  "selection": "datasetDatasourcePublicId logStreamerStatus runners sessionId status",
221
221
  "risk": null
222
222
  },
223
+ {
224
+ "name": "createAssetUploadTarget",
225
+ "command": "data asset-upload-target create",
226
+ "kind": "mutation",
227
+ "description": "Mints a short-lived, single-use S3 upload slot for one asset. PUT the bytes\nto `uploadUrl`, then write the returned `key` to the owning record with\n`updateAthlete` / `updateAthleteTeam` / `updateParticipant` — those already\ntenant-check the write, so there is no separate attach step.\n\nThe slot grants nothing on its own: the key holds a fresh UUID, not an entity\nid, so holding one lets you write one object into your own tenant's prefix\nand nothing more. Deliberately not callable via API key or IAM, which would\nmake this an unauthenticated write funnel into the bucket.",
228
+ "arguments": [
229
+ {
230
+ "name": "input",
231
+ "flag": "input",
232
+ "type": "CreateAssetUploadTargetInput!",
233
+ "required": true,
234
+ "description": null,
235
+ "example": "@input.json",
236
+ "input": true,
237
+ "variable": true
238
+ },
239
+ {
240
+ "name": "contentLength",
241
+ "flag": "content-length",
242
+ "type": "Int!",
243
+ "required": true,
244
+ "description": "Exact byte length of the file. Rejected above the engine's configured\nmaximum, and signed into the URL — so S3 refuses a body of any other length.\nThis is what caps upload size; without it the slot would be unbounded.",
245
+ "example": "10",
246
+ "input": true,
247
+ "variable": false,
248
+ "path": [
249
+ "input",
250
+ "contentLength"
251
+ ]
252
+ },
253
+ {
254
+ "name": "contentType",
255
+ "flag": "content-type",
256
+ "type": "String!",
257
+ "required": true,
258
+ "description": "One of image/jpeg, image/png, image/webp, image/avif. Signed into the URL, so\na mismatched upload is refused by S3 rather than by us.",
259
+ "example": "example-content-type",
260
+ "input": true,
261
+ "variable": false,
262
+ "path": [
263
+ "input",
264
+ "contentType"
265
+ ]
266
+ },
267
+ {
268
+ "name": "entity",
269
+ "flag": "entity",
270
+ "type": "AssetOwnerType!",
271
+ "required": true,
272
+ "description": null,
273
+ "example": "ATHLETE",
274
+ "input": true,
275
+ "variable": false,
276
+ "path": [
277
+ "input",
278
+ "entity"
279
+ ]
280
+ },
281
+ {
282
+ "name": "kind",
283
+ "flag": "kind",
284
+ "type": "AssetKind!",
285
+ "required": true,
286
+ "description": null,
287
+ "example": "IMAGE",
288
+ "input": true,
289
+ "variable": false,
290
+ "path": [
291
+ "input",
292
+ "kind"
293
+ ]
294
+ },
295
+ {
296
+ "name": "tenant",
297
+ "flag": "tenant",
298
+ "type": "String!",
299
+ "required": true,
300
+ "description": null,
301
+ "example": "tenant-123",
302
+ "input": false,
303
+ "variable": true
304
+ }
305
+ ],
306
+ "returnType": "AssetUploadTarget",
307
+ "selection": "expiresAt key uploadUrl",
308
+ "risk": "standard"
309
+ },
223
310
  {
224
311
  "name": "createAthlete",
225
312
  "command": "data athlete create",
@@ -278,6 +365,20 @@ export const operations = [
278
365
  "forename"
279
366
  ]
280
367
  },
368
+ {
369
+ "name": "image",
370
+ "flag": "image",
371
+ "type": "String",
372
+ "required": false,
373
+ "description": null,
374
+ "example": "example-image",
375
+ "input": true,
376
+ "variable": false,
377
+ "path": [
378
+ "input",
379
+ "image"
380
+ ]
381
+ },
281
382
  {
282
383
  "name": "name",
283
384
  "flag": "name",
@@ -339,7 +440,7 @@ export const operations = [
339
440
  "flag": "team-public-id",
340
441
  "type": "ID",
341
442
  "required": false,
342
- "description": null,
443
+ "description": "Optional. Sets the (deprecated) single team AND creates the matching team\nmembership.",
343
444
  "example": "team-123",
344
445
  "input": true,
345
446
  "variable": false,
@@ -360,7 +461,7 @@ export const operations = [
360
461
  }
361
462
  ],
362
463
  "returnType": "Athlete",
363
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
464
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
364
465
  "risk": "standard"
365
466
  },
366
467
  {
@@ -391,7 +492,7 @@ export const operations = [
391
492
  }
392
493
  ],
393
494
  "returnType": "Athlete",
394
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
495
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
395
496
  "risk": "destructive"
396
497
  },
397
498
  {
@@ -422,7 +523,7 @@ export const operations = [
422
523
  }
423
524
  ],
424
525
  "returnType": "Athlete",
425
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
526
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
426
527
  "risk": null
427
528
  },
428
529
  {
@@ -483,7 +584,7 @@ export const operations = [
483
584
  }
484
585
  ],
485
586
  "returnType": "AthleteConnection",
486
- "selection": "items { createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt } activeCount itemCount nextToken totalCount",
587
+ "selection": "items { createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname } activeCount itemCount nextToken totalCount",
487
588
  "risk": null
488
589
  },
489
590
  {
@@ -568,6 +669,20 @@ export const operations = [
568
669
  "forename"
569
670
  ]
570
671
  },
672
+ {
673
+ "name": "image",
674
+ "flag": "image",
675
+ "type": "String",
676
+ "required": false,
677
+ "description": null,
678
+ "example": "example-image",
679
+ "input": true,
680
+ "variable": false,
681
+ "path": [
682
+ "input",
683
+ "image"
684
+ ]
685
+ },
571
686
  {
572
687
  "name": "name",
573
688
  "flag": "name",
@@ -643,7 +758,7 @@ export const operations = [
643
758
  "flag": "team-public-id",
644
759
  "type": "ID",
645
760
  "required": false,
646
- "description": null,
761
+ "description": "Deprecated -- use createAthleteTeamMembership. When set, also ensures a\nmatching membership exists.",
647
762
  "example": "team-123",
648
763
  "input": true,
649
764
  "variable": false,
@@ -678,7 +793,7 @@ export const operations = [
678
793
  }
679
794
  ],
680
795
  "returnType": "Athlete",
681
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
796
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
682
797
  "risk": "standard"
683
798
  },
684
799
  {
@@ -719,7 +834,7 @@ export const operations = [
719
834
  }
720
835
  ],
721
836
  "returnType": "Athlete",
722
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
837
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
723
838
  "risk": null
724
839
  },
725
840
  {
@@ -760,7 +875,7 @@ export const operations = [
760
875
  }
761
876
  ],
762
877
  "returnType": "Athlete",
763
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
878
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
764
879
  "risk": null
765
880
  },
766
881
  {
@@ -801,19 +916,81 @@ export const operations = [
801
916
  }
802
917
  ],
803
918
  "returnType": "Athlete",
804
- "selection": "createdAt dateOfBirth externalId forename name nameShort nationality publicId surname updatedAt",
919
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
805
920
  "risk": null
806
921
  },
807
922
  {
808
- "name": "createAthleteTeam",
809
- "command": "data athlete-team create",
923
+ "name": "getAthleteByExternalId",
924
+ "command": "data athlete-by-external-id get",
925
+ "kind": "query",
926
+ "description": "Deliberately NOT tenant-scoped -- athletes are a global registry, and sync\ntooling needs to find an athlete that exists globally (perhaps already\nassigned to a different client) by their source-provided externalId,\nbefore deciding whether to createAthlete (new) or just assign an existing\none via createClientAthlete. Restricted to tooling/automation identities,\nnot general client-facing read access.",
927
+ "arguments": [
928
+ {
929
+ "name": "externalId",
930
+ "flag": "external-id",
931
+ "type": "String!",
932
+ "required": true,
933
+ "description": null,
934
+ "example": "external-123",
935
+ "input": false,
936
+ "variable": true
937
+ }
938
+ ],
939
+ "returnType": "Athlete",
940
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
941
+ "risk": null
942
+ },
943
+ {
944
+ "name": "getAthleteByServiceMapping",
945
+ "command": "data athlete-by-service-mapping get",
946
+ "kind": "query",
947
+ "description": "Stage 2 successor to getAthleteByExternalId -- looks up an athlete by\n(service, externalId) instead of the single legacy externalId column, so\nan athlete fed by more than one adaptor can be found regardless of which\nservice's id was given. Unlike getAthleteByExternalId, this IS scoped to\nthe calling client (clientPublicId is required): a scoped mapping owned by\nthat client matches, and a global mapping matches only if the calling\nclient already has this athlete assigned via client_athletes -- \"global\"\nmeans \"visible to any client this athlete is assigned to\", not \"visible to\nevery client unconditionally\". See\n.docs/plans/athlete-refactor-stage2.md for the full reasoning. Restricted\nto tooling/automation identities, not general client-facing read access.",
948
+ "arguments": [
949
+ {
950
+ "name": "clientPublicId",
951
+ "flag": "client-public-id",
952
+ "type": "ID!",
953
+ "required": true,
954
+ "description": null,
955
+ "example": "client-123",
956
+ "input": false,
957
+ "variable": true
958
+ },
959
+ {
960
+ "name": "externalId",
961
+ "flag": "external-id",
962
+ "type": "String!",
963
+ "required": true,
964
+ "description": null,
965
+ "example": "external-123",
966
+ "input": false,
967
+ "variable": true
968
+ },
969
+ {
970
+ "name": "service",
971
+ "flag": "service",
972
+ "type": "String!",
973
+ "required": true,
974
+ "description": null,
975
+ "example": "example-service",
976
+ "input": false,
977
+ "variable": true
978
+ }
979
+ ],
980
+ "returnType": "Athlete",
981
+ "selection": "createdAt dateOfBirth externalId forename image name nameShort nationality publicId surname updatedAt",
982
+ "risk": null
983
+ },
984
+ {
985
+ "name": "createAthleteServiceMapping",
986
+ "command": "data athlete-service-mapping create",
810
987
  "kind": "mutation",
811
988
  "description": null,
812
989
  "arguments": [
813
990
  {
814
991
  "name": "input",
815
992
  "flag": "input",
816
- "type": "CreateAthleteTeamInput!",
993
+ "type": "CreateAthleteServiceMappingInput!",
817
994
  "required": true,
818
995
  "description": null,
819
996
  "example": "@input.json",
@@ -821,17 +998,45 @@ export const operations = [
821
998
  "variable": true
822
999
  },
823
1000
  {
824
- "name": "name",
825
- "flag": "name",
1001
+ "name": "athletePublicId",
1002
+ "flag": "athlete-public-id",
1003
+ "type": "ID!",
1004
+ "required": true,
1005
+ "description": null,
1006
+ "example": "athlete-123",
1007
+ "input": true,
1008
+ "variable": false,
1009
+ "path": [
1010
+ "input",
1011
+ "athletePublicId"
1012
+ ]
1013
+ },
1014
+ {
1015
+ "name": "externalId",
1016
+ "flag": "external-id",
826
1017
  "type": "String!",
827
1018
  "required": true,
828
1019
  "description": null,
829
- "example": "Example athlete team",
1020
+ "example": "external-123",
830
1021
  "input": true,
831
1022
  "variable": false,
832
1023
  "path": [
833
1024
  "input",
834
- "name"
1025
+ "externalId"
1026
+ ]
1027
+ },
1028
+ {
1029
+ "name": "service",
1030
+ "flag": "service",
1031
+ "type": "String!",
1032
+ "required": true,
1033
+ "description": null,
1034
+ "example": "example-service",
1035
+ "input": true,
1036
+ "variable": false,
1037
+ "path": [
1038
+ "input",
1039
+ "service"
835
1040
  ]
836
1041
  },
837
1042
  {
@@ -845,23 +1050,33 @@ export const operations = [
845
1050
  "variable": true
846
1051
  }
847
1052
  ],
848
- "returnType": "AthleteTeam",
849
- "selection": "createdAt name publicId updatedAt",
1053
+ "returnType": "AthleteServiceMapping",
1054
+ "selection": "athletePublicId clientPublicId createdAt externalId publicId service updatedAt",
850
1055
  "risk": "standard"
851
1056
  },
852
1057
  {
853
- "name": "deleteAthleteTeam",
854
- "command": "data athlete-team delete",
1058
+ "name": "deleteAthleteServiceMapping",
1059
+ "command": "data athlete-service-mapping delete",
855
1060
  "kind": "mutation",
856
1061
  "description": null,
857
1062
  "arguments": [
858
1063
  {
859
- "name": "publicId",
860
- "flag": "public-id",
1064
+ "name": "athletePublicId",
1065
+ "flag": "athlete-public-id",
861
1066
  "type": "ID!",
862
1067
  "required": true,
863
1068
  "description": null,
864
- "example": "athlete-team-123",
1069
+ "example": "athlete-123",
1070
+ "input": false,
1071
+ "variable": true
1072
+ },
1073
+ {
1074
+ "name": "service",
1075
+ "flag": "service",
1076
+ "type": "String!",
1077
+ "required": true,
1078
+ "description": null,
1079
+ "example": "example-service",
865
1080
  "input": false,
866
1081
  "variable": true
867
1082
  },
@@ -876,26 +1091,16 @@ export const operations = [
876
1091
  "variable": true
877
1092
  }
878
1093
  ],
879
- "returnType": "AthleteTeam",
880
- "selection": "createdAt name publicId updatedAt",
1094
+ "returnType": "AthleteServiceMapping",
1095
+ "selection": "athletePublicId clientPublicId createdAt externalId publicId service updatedAt",
881
1096
  "risk": "destructive"
882
1097
  },
883
1098
  {
884
- "name": "getAthleteTeam",
885
- "command": "data athlete-team get",
1099
+ "name": "listAthleteServiceMappingServices",
1100
+ "command": "data athlete-service-mapping-service list",
886
1101
  "kind": "query",
887
- "description": null,
1102
+ "description": "Distinct, non-null `service` values across every athlete_service_mappings\nrow visible to the calling tenant -- same visibility rule as\nAthlete.serviceMappings(tenant:): rows this client owns, plus global rows\nfor athletes already assigned to this client via client_athletes.\nAggregated across all athletes rather than scoped to one. Sorted\nalphabetically, never null -- `[]` when the tenant has no visible\nmappings. Exists to populate a service picker (e.g. Console's \"add a\nservice mapping\" autocomplete) from what's actually in use.",
888
1103
  "arguments": [
889
- {
890
- "name": "publicId",
891
- "flag": "public-id",
892
- "type": "ID!",
893
- "required": true,
894
- "description": null,
895
- "example": "athlete-team-123",
896
- "input": false,
897
- "variable": true
898
- },
899
1104
  {
900
1105
  "name": "tenant",
901
1106
  "flag": "tenant",
@@ -907,58 +1112,235 @@ export const operations = [
907
1112
  "variable": true
908
1113
  }
909
1114
  ],
910
- "returnType": "AthleteTeam",
911
- "selection": "createdAt name publicId updatedAt",
1115
+ "returnType": "[String!]!",
1116
+ "selection": "",
912
1117
  "risk": null
913
1118
  },
914
1119
  {
915
- "name": "listAthleteTeams",
916
- "command": "data athlete-team list",
917
- "kind": "query",
1120
+ "name": "createAthleteTeam",
1121
+ "command": "data athlete-team create",
1122
+ "kind": "mutation",
918
1123
  "description": null,
919
1124
  "arguments": [
920
1125
  {
921
- "name": "filter",
922
- "flag": "filter",
923
- "type": "AthleteTeamFilterInput",
924
- "required": false,
1126
+ "name": "input",
1127
+ "flag": "input",
1128
+ "type": "CreateAthleteTeamInput!",
1129
+ "required": true,
925
1130
  "description": null,
926
- "example": "@filter.json",
1131
+ "example": "@input.json",
927
1132
  "input": true,
928
1133
  "variable": true
929
1134
  },
930
1135
  {
931
- "name": "limit",
932
- "flag": "limit",
933
- "type": "Int",
1136
+ "name": "colorPrimary",
1137
+ "flag": "color-primary",
1138
+ "type": "String",
934
1139
  "required": false,
935
1140
  "description": null,
936
- "example": "10",
937
- "input": false,
938
- "variable": true
1141
+ "example": "example-color-primary",
1142
+ "input": true,
1143
+ "variable": false,
1144
+ "path": [
1145
+ "input",
1146
+ "colorPrimary"
1147
+ ]
939
1148
  },
940
1149
  {
941
- "name": "nextToken",
942
- "flag": "next-token",
1150
+ "name": "colorSecondary",
1151
+ "flag": "color-secondary",
943
1152
  "type": "String",
944
1153
  "required": false,
945
1154
  "description": null,
946
- "example": "example-next-token",
947
- "input": false,
948
- "variable": true
1155
+ "example": "example-color-secondary",
1156
+ "input": true,
1157
+ "variable": false,
1158
+ "path": [
1159
+ "input",
1160
+ "colorSecondary"
1161
+ ]
949
1162
  },
950
1163
  {
951
- "name": "orderBy",
952
- "flag": "order-by",
953
- "type": "[OrderByAthleteTeamInput]",
1164
+ "name": "externalId",
1165
+ "flag": "external-id",
1166
+ "type": "String",
954
1167
  "required": false,
955
1168
  "description": null,
956
- "example": "[]",
1169
+ "example": "external-123",
957
1170
  "input": true,
958
- "variable": true
1171
+ "variable": false,
1172
+ "path": [
1173
+ "input",
1174
+ "externalId"
1175
+ ]
959
1176
  },
960
1177
  {
961
- "name": "tenant",
1178
+ "name": "image",
1179
+ "flag": "image",
1180
+ "type": "String",
1181
+ "required": false,
1182
+ "description": null,
1183
+ "example": "example-image",
1184
+ "input": true,
1185
+ "variable": false,
1186
+ "path": [
1187
+ "input",
1188
+ "image"
1189
+ ]
1190
+ },
1191
+ {
1192
+ "name": "name",
1193
+ "flag": "name",
1194
+ "type": "String!",
1195
+ "required": true,
1196
+ "description": null,
1197
+ "example": "Example athlete team",
1198
+ "input": true,
1199
+ "variable": false,
1200
+ "path": [
1201
+ "input",
1202
+ "name"
1203
+ ]
1204
+ },
1205
+ {
1206
+ "name": "nickname",
1207
+ "flag": "nickname",
1208
+ "type": "String",
1209
+ "required": false,
1210
+ "description": null,
1211
+ "example": "example-nickname",
1212
+ "input": true,
1213
+ "variable": false,
1214
+ "path": [
1215
+ "input",
1216
+ "nickname"
1217
+ ]
1218
+ },
1219
+ {
1220
+ "name": "tenant",
1221
+ "flag": "tenant",
1222
+ "type": "String!",
1223
+ "required": true,
1224
+ "description": null,
1225
+ "example": "tenant-123",
1226
+ "input": false,
1227
+ "variable": true
1228
+ }
1229
+ ],
1230
+ "returnType": "AthleteTeam",
1231
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1232
+ "risk": "standard"
1233
+ },
1234
+ {
1235
+ "name": "deleteAthleteTeam",
1236
+ "command": "data athlete-team delete",
1237
+ "kind": "mutation",
1238
+ "description": "Refuses with a Conflict error while any participant or athlete still\nreferences the team -- reassign or remove them before deleting it.",
1239
+ "arguments": [
1240
+ {
1241
+ "name": "publicId",
1242
+ "flag": "public-id",
1243
+ "type": "ID!",
1244
+ "required": true,
1245
+ "description": null,
1246
+ "example": "athlete-team-123",
1247
+ "input": false,
1248
+ "variable": true
1249
+ },
1250
+ {
1251
+ "name": "tenant",
1252
+ "flag": "tenant",
1253
+ "type": "String!",
1254
+ "required": true,
1255
+ "description": null,
1256
+ "example": "tenant-123",
1257
+ "input": false,
1258
+ "variable": true
1259
+ }
1260
+ ],
1261
+ "returnType": "AthleteTeam",
1262
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1263
+ "risk": "destructive"
1264
+ },
1265
+ {
1266
+ "name": "getAthleteTeam",
1267
+ "command": "data athlete-team get",
1268
+ "kind": "query",
1269
+ "description": null,
1270
+ "arguments": [
1271
+ {
1272
+ "name": "publicId",
1273
+ "flag": "public-id",
1274
+ "type": "ID!",
1275
+ "required": true,
1276
+ "description": null,
1277
+ "example": "athlete-team-123",
1278
+ "input": false,
1279
+ "variable": true
1280
+ },
1281
+ {
1282
+ "name": "tenant",
1283
+ "flag": "tenant",
1284
+ "type": "String!",
1285
+ "required": true,
1286
+ "description": null,
1287
+ "example": "tenant-123",
1288
+ "input": false,
1289
+ "variable": true
1290
+ }
1291
+ ],
1292
+ "returnType": "AthleteTeam",
1293
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1294
+ "risk": null
1295
+ },
1296
+ {
1297
+ "name": "listAthleteTeams",
1298
+ "command": "data athlete-team list",
1299
+ "kind": "query",
1300
+ "description": null,
1301
+ "arguments": [
1302
+ {
1303
+ "name": "filter",
1304
+ "flag": "filter",
1305
+ "type": "AthleteTeamFilterInput",
1306
+ "required": false,
1307
+ "description": null,
1308
+ "example": "@filter.json",
1309
+ "input": true,
1310
+ "variable": true
1311
+ },
1312
+ {
1313
+ "name": "limit",
1314
+ "flag": "limit",
1315
+ "type": "Int",
1316
+ "required": false,
1317
+ "description": null,
1318
+ "example": "10",
1319
+ "input": false,
1320
+ "variable": true
1321
+ },
1322
+ {
1323
+ "name": "nextToken",
1324
+ "flag": "next-token",
1325
+ "type": "String",
1326
+ "required": false,
1327
+ "description": null,
1328
+ "example": "example-next-token",
1329
+ "input": false,
1330
+ "variable": true
1331
+ },
1332
+ {
1333
+ "name": "orderBy",
1334
+ "flag": "order-by",
1335
+ "type": "[OrderByAthleteTeamInput]",
1336
+ "required": false,
1337
+ "description": null,
1338
+ "example": "[]",
1339
+ "input": true,
1340
+ "variable": true
1341
+ },
1342
+ {
1343
+ "name": "tenant",
962
1344
  "flag": "tenant",
963
1345
  "type": "String!",
964
1346
  "required": true,
@@ -969,7 +1351,7 @@ export const operations = [
969
1351
  }
970
1352
  ],
971
1353
  "returnType": "AthleteTeamConnection",
972
- "selection": "items { createdAt name publicId updatedAt } activeCount itemCount nextToken totalCount",
1354
+ "selection": "items { colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt } activeCount itemCount nextToken totalCount",
973
1355
  "risk": null
974
1356
  },
975
1357
  {
@@ -998,6 +1380,34 @@ export const operations = [
998
1380
  "input": true,
999
1381
  "variable": true
1000
1382
  },
1383
+ {
1384
+ "name": "colorPrimary",
1385
+ "flag": "color-primary",
1386
+ "type": "String",
1387
+ "required": false,
1388
+ "description": null,
1389
+ "example": "example-color-primary",
1390
+ "input": true,
1391
+ "variable": false,
1392
+ "path": [
1393
+ "input",
1394
+ "colorPrimary"
1395
+ ]
1396
+ },
1397
+ {
1398
+ "name": "colorSecondary",
1399
+ "flag": "color-secondary",
1400
+ "type": "String",
1401
+ "required": false,
1402
+ "description": null,
1403
+ "example": "example-color-secondary",
1404
+ "input": true,
1405
+ "variable": false,
1406
+ "path": [
1407
+ "input",
1408
+ "colorSecondary"
1409
+ ]
1410
+ },
1001
1411
  {
1002
1412
  "name": "createdAt",
1003
1413
  "flag": "created-at",
@@ -1012,6 +1422,34 @@ export const operations = [
1012
1422
  "createdAt"
1013
1423
  ]
1014
1424
  },
1425
+ {
1426
+ "name": "externalId",
1427
+ "flag": "external-id",
1428
+ "type": "String",
1429
+ "required": false,
1430
+ "description": null,
1431
+ "example": "external-123",
1432
+ "input": true,
1433
+ "variable": false,
1434
+ "path": [
1435
+ "input",
1436
+ "externalId"
1437
+ ]
1438
+ },
1439
+ {
1440
+ "name": "image",
1441
+ "flag": "image",
1442
+ "type": "String",
1443
+ "required": false,
1444
+ "description": null,
1445
+ "example": "example-image",
1446
+ "input": true,
1447
+ "variable": false,
1448
+ "path": [
1449
+ "input",
1450
+ "image"
1451
+ ]
1452
+ },
1015
1453
  {
1016
1454
  "name": "name",
1017
1455
  "flag": "name",
@@ -1026,6 +1464,20 @@ export const operations = [
1026
1464
  "name"
1027
1465
  ]
1028
1466
  },
1467
+ {
1468
+ "name": "nickname",
1469
+ "flag": "nickname",
1470
+ "type": "String",
1471
+ "required": false,
1472
+ "description": null,
1473
+ "example": "example-nickname",
1474
+ "input": true,
1475
+ "variable": false,
1476
+ "path": [
1477
+ "input",
1478
+ "nickname"
1479
+ ]
1480
+ },
1029
1481
  {
1030
1482
  "name": "publicId",
1031
1483
  "flag": "public-id",
@@ -1066,7 +1518,7 @@ export const operations = [
1066
1518
  }
1067
1519
  ],
1068
1520
  "returnType": "AthleteTeam",
1069
- "selection": "createdAt name publicId updatedAt",
1521
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1070
1522
  "risk": "standard"
1071
1523
  },
1072
1524
  {
@@ -1097,7 +1549,7 @@ export const operations = [
1097
1549
  }
1098
1550
  ],
1099
1551
  "returnType": "AthleteTeam",
1100
- "selection": "createdAt name publicId updatedAt",
1552
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1101
1553
  "risk": null
1102
1554
  },
1103
1555
  {
@@ -1138,7 +1590,7 @@ export const operations = [
1138
1590
  }
1139
1591
  ],
1140
1592
  "returnType": "AthleteTeam",
1141
- "selection": "createdAt name publicId updatedAt",
1593
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1142
1594
  "risk": null
1143
1595
  },
1144
1596
  {
@@ -1169,19 +1621,19 @@ export const operations = [
1169
1621
  }
1170
1622
  ],
1171
1623
  "returnType": "AthleteTeam",
1172
- "selection": "createdAt name publicId updatedAt",
1624
+ "selection": "colorPrimary colorSecondary createdAt externalId image name nickname publicId updatedAt",
1173
1625
  "risk": null
1174
1626
  },
1175
1627
  {
1176
- "name": "createClient",
1177
- "command": "data client create",
1628
+ "name": "createAthleteTeamMembership",
1629
+ "command": "data athlete-team-membership create",
1178
1630
  "kind": "mutation",
1179
1631
  "description": null,
1180
1632
  "arguments": [
1181
1633
  {
1182
1634
  "name": "input",
1183
1635
  "flag": "input",
1184
- "type": "CreateClientInput!",
1636
+ "type": "CreateAthleteTeamMembershipInput!",
1185
1637
  "required": true,
1186
1638
  "description": null,
1187
1639
  "example": "@input.json",
@@ -1189,39 +1641,32 @@ export const operations = [
1189
1641
  "variable": true
1190
1642
  },
1191
1643
  {
1192
- "name": "name",
1193
- "flag": "name",
1194
- "type": "String!",
1644
+ "name": "athletePublicId",
1645
+ "flag": "athlete-public-id",
1646
+ "type": "ID!",
1195
1647
  "required": true,
1196
1648
  "description": null,
1197
- "example": "Example client",
1649
+ "example": "athlete-123",
1198
1650
  "input": true,
1199
1651
  "variable": false,
1200
1652
  "path": [
1201
1653
  "input",
1202
- "name"
1654
+ "athletePublicId"
1203
1655
  ]
1204
- }
1205
- ],
1206
- "returnType": "Client",
1207
- "selection": "createdAt name publicId updatedAt",
1208
- "risk": "standard"
1209
- },
1210
- {
1211
- "name": "deleteClient",
1212
- "command": "data client delete",
1213
- "kind": "mutation",
1214
- "description": null,
1215
- "arguments": [
1656
+ },
1216
1657
  {
1217
- "name": "publicId",
1218
- "flag": "public-id",
1658
+ "name": "teamPublicId",
1659
+ "flag": "team-public-id",
1219
1660
  "type": "ID!",
1220
1661
  "required": true,
1221
1662
  "description": null,
1222
- "example": "client-123",
1223
- "input": false,
1224
- "variable": true
1663
+ "example": "team-123",
1664
+ "input": true,
1665
+ "variable": false,
1666
+ "path": [
1667
+ "input",
1668
+ "teamPublicId"
1669
+ ]
1225
1670
  },
1226
1671
  {
1227
1672
  "name": "tenant",
@@ -1234,9 +1679,198 @@ export const operations = [
1234
1679
  "variable": true
1235
1680
  }
1236
1681
  ],
1237
- "returnType": "Client",
1238
- "selection": "createdAt name publicId updatedAt",
1239
- "risk": "destructive"
1682
+ "returnType": "AthleteTeamMembership",
1683
+ "selection": "athletePublicId createdAt publicId teamPublicId updatedAt",
1684
+ "risk": "standard"
1685
+ },
1686
+ {
1687
+ "name": "deleteAthleteTeamMembership",
1688
+ "command": "data athlete-team-membership delete",
1689
+ "kind": "mutation",
1690
+ "description": null,
1691
+ "arguments": [
1692
+ {
1693
+ "name": "athletePublicId",
1694
+ "flag": "athlete-public-id",
1695
+ "type": "ID!",
1696
+ "required": true,
1697
+ "description": null,
1698
+ "example": "athlete-123",
1699
+ "input": false,
1700
+ "variable": true
1701
+ },
1702
+ {
1703
+ "name": "teamPublicId",
1704
+ "flag": "team-public-id",
1705
+ "type": "ID!",
1706
+ "required": true,
1707
+ "description": null,
1708
+ "example": "team-123",
1709
+ "input": false,
1710
+ "variable": true
1711
+ },
1712
+ {
1713
+ "name": "tenant",
1714
+ "flag": "tenant",
1715
+ "type": "String!",
1716
+ "required": true,
1717
+ "description": null,
1718
+ "example": "tenant-123",
1719
+ "input": false,
1720
+ "variable": true
1721
+ }
1722
+ ],
1723
+ "returnType": "AthleteTeamMembership",
1724
+ "selection": "athletePublicId createdAt publicId teamPublicId updatedAt",
1725
+ "risk": "destructive"
1726
+ },
1727
+ {
1728
+ "name": "onCreateAthleteTeamMembership",
1729
+ "command": "data athlete-team-membership watch-create",
1730
+ "kind": "subscription",
1731
+ "description": "Fires when an athlete is added to a team. Athlete.teams(tenant:) is a nested\nfield, so it never changes through updateAthlete -- listen here to know a\nroster changed.",
1732
+ "arguments": [
1733
+ {
1734
+ "name": "athletePublicId",
1735
+ "flag": "athlete-public-id",
1736
+ "type": "ID",
1737
+ "required": false,
1738
+ "description": null,
1739
+ "example": "athlete-123",
1740
+ "input": false,
1741
+ "variable": true
1742
+ },
1743
+ {
1744
+ "name": "publicId",
1745
+ "flag": "public-id",
1746
+ "type": "ID",
1747
+ "required": false,
1748
+ "description": null,
1749
+ "example": "athlete-team-membership-123",
1750
+ "input": false,
1751
+ "variable": true
1752
+ },
1753
+ {
1754
+ "name": "teamPublicId",
1755
+ "flag": "team-public-id",
1756
+ "type": "ID",
1757
+ "required": false,
1758
+ "description": null,
1759
+ "example": "team-123",
1760
+ "input": false,
1761
+ "variable": true
1762
+ }
1763
+ ],
1764
+ "returnType": "AthleteTeamMembership",
1765
+ "selection": "athletePublicId createdAt publicId teamPublicId updatedAt",
1766
+ "risk": null
1767
+ },
1768
+ {
1769
+ "name": "onDeleteAthleteTeamMembership",
1770
+ "command": "data athlete-team-membership watch-delete",
1771
+ "kind": "subscription",
1772
+ "description": null,
1773
+ "arguments": [
1774
+ {
1775
+ "name": "athletePublicId",
1776
+ "flag": "athlete-public-id",
1777
+ "type": "ID",
1778
+ "required": false,
1779
+ "description": null,
1780
+ "example": "athlete-123",
1781
+ "input": false,
1782
+ "variable": true
1783
+ },
1784
+ {
1785
+ "name": "publicId",
1786
+ "flag": "public-id",
1787
+ "type": "ID",
1788
+ "required": false,
1789
+ "description": null,
1790
+ "example": "athlete-team-membership-123",
1791
+ "input": false,
1792
+ "variable": true
1793
+ },
1794
+ {
1795
+ "name": "teamPublicId",
1796
+ "flag": "team-public-id",
1797
+ "type": "ID",
1798
+ "required": false,
1799
+ "description": null,
1800
+ "example": "team-123",
1801
+ "input": false,
1802
+ "variable": true
1803
+ }
1804
+ ],
1805
+ "returnType": "AthleteTeamMembership",
1806
+ "selection": "athletePublicId createdAt publicId teamPublicId updatedAt",
1807
+ "risk": null
1808
+ },
1809
+ {
1810
+ "name": "createClient",
1811
+ "command": "data client create",
1812
+ "kind": "mutation",
1813
+ "description": null,
1814
+ "arguments": [
1815
+ {
1816
+ "name": "input",
1817
+ "flag": "input",
1818
+ "type": "CreateClientInput!",
1819
+ "required": true,
1820
+ "description": null,
1821
+ "example": "@input.json",
1822
+ "input": true,
1823
+ "variable": true
1824
+ },
1825
+ {
1826
+ "name": "name",
1827
+ "flag": "name",
1828
+ "type": "String!",
1829
+ "required": true,
1830
+ "description": null,
1831
+ "example": "Example client",
1832
+ "input": true,
1833
+ "variable": false,
1834
+ "path": [
1835
+ "input",
1836
+ "name"
1837
+ ]
1838
+ }
1839
+ ],
1840
+ "returnType": "Client",
1841
+ "selection": "createdAt name publicId updatedAt",
1842
+ "risk": "standard"
1843
+ },
1844
+ {
1845
+ "name": "deleteClient",
1846
+ "command": "data client delete",
1847
+ "kind": "mutation",
1848
+ "description": null,
1849
+ "arguments": [
1850
+ {
1851
+ "name": "publicId",
1852
+ "flag": "public-id",
1853
+ "type": "ID!",
1854
+ "required": true,
1855
+ "description": null,
1856
+ "example": "client-123",
1857
+ "input": false,
1858
+ "variable": true
1859
+ },
1860
+ {
1861
+ "name": "tenant",
1862
+ "flag": "tenant",
1863
+ "type": "String!",
1864
+ "required": true,
1865
+ "description": null,
1866
+ "example": "tenant-123",
1867
+ "input": false,
1868
+ "variable": true
1869
+ }
1870
+ ],
1871
+ "returnType": "Client",
1872
+ "selection": "createdAt name publicId updatedAt",
1873
+ "risk": "destructive"
1240
1874
  },
1241
1875
  {
1242
1876
  "name": "getClient",
@@ -1500,6 +2134,82 @@ export const operations = [
1500
2134
  "selection": "createdAt name publicId updatedAt",
1501
2135
  "risk": null
1502
2136
  },
2137
+ {
2138
+ "name": "createClientAthlete",
2139
+ "command": "data client-athlete create",
2140
+ "kind": "mutation",
2141
+ "description": null,
2142
+ "arguments": [
2143
+ {
2144
+ "name": "input",
2145
+ "flag": "input",
2146
+ "type": "CreateClientAthleteInput!",
2147
+ "required": true,
2148
+ "description": null,
2149
+ "example": "@input.json",
2150
+ "input": true,
2151
+ "variable": true
2152
+ },
2153
+ {
2154
+ "name": "athletePublicId",
2155
+ "flag": "athlete-public-id",
2156
+ "type": "ID!",
2157
+ "required": true,
2158
+ "description": null,
2159
+ "example": "athlete-123",
2160
+ "input": true,
2161
+ "variable": false,
2162
+ "path": [
2163
+ "input",
2164
+ "athletePublicId"
2165
+ ]
2166
+ },
2167
+ {
2168
+ "name": "tenant",
2169
+ "flag": "tenant",
2170
+ "type": "String!",
2171
+ "required": true,
2172
+ "description": null,
2173
+ "example": "tenant-123",
2174
+ "input": false,
2175
+ "variable": true
2176
+ }
2177
+ ],
2178
+ "returnType": "ClientAthlete",
2179
+ "selection": "athletePublicId clientPublicId createdAt publicId updatedAt",
2180
+ "risk": "standard"
2181
+ },
2182
+ {
2183
+ "name": "deleteClientAthlete",
2184
+ "command": "data client-athlete delete",
2185
+ "kind": "mutation",
2186
+ "description": null,
2187
+ "arguments": [
2188
+ {
2189
+ "name": "athletePublicId",
2190
+ "flag": "athlete-public-id",
2191
+ "type": "ID!",
2192
+ "required": true,
2193
+ "description": null,
2194
+ "example": "athlete-123",
2195
+ "input": false,
2196
+ "variable": true
2197
+ },
2198
+ {
2199
+ "name": "tenant",
2200
+ "flag": "tenant",
2201
+ "type": "String!",
2202
+ "required": true,
2203
+ "description": null,
2204
+ "example": "tenant-123",
2205
+ "input": false,
2206
+ "variable": true
2207
+ }
2208
+ ],
2209
+ "returnType": "ClientAthlete",
2210
+ "selection": "athletePublicId clientPublicId createdAt publicId updatedAt",
2211
+ "risk": "destructive"
2212
+ },
1503
2213
  {
1504
2214
  "name": "createComposableEngineInstance",
1505
2215
  "command": "data composable-engine-instance create",
@@ -2122,6 +2832,20 @@ export const operations = [
2122
2832
  "eventType"
2123
2833
  ]
2124
2834
  },
2835
+ {
2836
+ "name": "externalId",
2837
+ "flag": "external-id",
2838
+ "type": "String",
2839
+ "required": false,
2840
+ "description": "Optional source-provided id stored on the dataset (not the event); the\ndataset's name is derived from eventName. See Dataset.externalId.",
2841
+ "example": "external-123",
2842
+ "input": true,
2843
+ "variable": false,
2844
+ "path": [
2845
+ "input",
2846
+ "externalId"
2847
+ ]
2848
+ },
2125
2849
  {
2126
2850
  "name": "tenant",
2127
2851
  "flag": "tenant",
@@ -2134,7 +2858,7 @@ export const operations = [
2134
2858
  }
2135
2859
  ],
2136
2860
  "returnType": "Dataset",
2137
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
2861
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2138
2862
  "risk": "standard"
2139
2863
  },
2140
2864
  {
@@ -2165,7 +2889,7 @@ export const operations = [
2165
2889
  }
2166
2890
  ],
2167
2891
  "returnType": "Dataset",
2168
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
2892
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2169
2893
  "risk": "destructive"
2170
2894
  },
2171
2895
  {
@@ -2196,7 +2920,7 @@ export const operations = [
2196
2920
  }
2197
2921
  ],
2198
2922
  "returnType": "Dataset",
2199
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
2923
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2200
2924
  "risk": null
2201
2925
  },
2202
2926
  {
@@ -2257,7 +2981,7 @@ export const operations = [
2257
2981
  }
2258
2982
  ],
2259
2983
  "returnType": "DatasetConnection",
2260
- "selection": "items { createdAt description firstMetricAt lastMetricAt name publicId updatedAt } activeCount itemCount nextToken totalCount",
2984
+ "selection": "items { createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt } activeCount itemCount nextToken totalCount",
2261
2985
  "risk": null
2262
2986
  },
2263
2987
  {
@@ -2357,7 +3081,21 @@ export const operations = [
2357
3081
  ]
2358
3082
  },
2359
3083
  {
2360
- "name": "name",
3084
+ "name": "externalId",
3085
+ "flag": "external-id",
3086
+ "type": "String",
3087
+ "required": false,
3088
+ "description": null,
3089
+ "example": "external-123",
3090
+ "input": true,
3091
+ "variable": false,
3092
+ "path": [
3093
+ "input",
3094
+ "externalId"
3095
+ ]
3096
+ },
3097
+ {
3098
+ "name": "name",
2361
3099
  "flag": "name",
2362
3100
  "type": "String",
2363
3101
  "required": false,
@@ -2396,7 +3134,7 @@ export const operations = [
2396
3134
  }
2397
3135
  ],
2398
3136
  "returnType": "Dataset",
2399
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
3137
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2400
3138
  "risk": "standard"
2401
3139
  },
2402
3140
  {
@@ -2427,7 +3165,7 @@ export const operations = [
2427
3165
  }
2428
3166
  ],
2429
3167
  "returnType": "Dataset",
2430
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
3168
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2431
3169
  "risk": null
2432
3170
  },
2433
3171
  {
@@ -2458,7 +3196,7 @@ export const operations = [
2458
3196
  }
2459
3197
  ],
2460
3198
  "returnType": "Dataset",
2461
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
3199
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2462
3200
  "risk": null
2463
3201
  },
2464
3202
  {
@@ -2489,7 +3227,7 @@ export const operations = [
2489
3227
  }
2490
3228
  ],
2491
3229
  "returnType": "Dataset",
2492
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
3230
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
2493
3231
  "risk": null
2494
3232
  },
2495
3233
  {
@@ -3008,7 +3746,7 @@ export const operations = [
3008
3746
  }
3009
3747
  ],
3010
3748
  "returnType": "Dataset",
3011
- "selection": "createdAt description firstMetricAt lastMetricAt name publicId updatedAt",
3749
+ "selection": "createdAt description externalId firstMetricAt lastMetricAt name publicId updatedAt",
3012
3750
  "risk": "destructive"
3013
3751
  },
3014
3752
  {
@@ -4594,7 +5332,481 @@ export const operations = [
4594
5332
  "variable": false,
4595
5333
  "path": [
4596
5334
  "input",
4597
- "updatedAt"
5335
+ "updatedAt"
5336
+ ]
5337
+ },
5338
+ {
5339
+ "name": "tenant",
5340
+ "flag": "tenant",
5341
+ "type": "String!",
5342
+ "required": true,
5343
+ "description": null,
5344
+ "example": "tenant-123",
5345
+ "input": false,
5346
+ "variable": true
5347
+ }
5348
+ ],
5349
+ "returnType": "EventScreen",
5350
+ "selection": "createdAt publicId updatedAt",
5351
+ "risk": "standard"
5352
+ },
5353
+ {
5354
+ "name": "onCreateEventScreen",
5355
+ "command": "data event-screen watch-create",
5356
+ "kind": "subscription",
5357
+ "description": null,
5358
+ "arguments": [
5359
+ {
5360
+ "name": "publicId",
5361
+ "flag": "public-id",
5362
+ "type": "ID",
5363
+ "required": false,
5364
+ "description": null,
5365
+ "example": "event-screen-123",
5366
+ "input": false,
5367
+ "variable": true
5368
+ }
5369
+ ],
5370
+ "returnType": "EventScreen",
5371
+ "selection": "createdAt publicId updatedAt",
5372
+ "risk": null
5373
+ },
5374
+ {
5375
+ "name": "onDeleteEventScreen",
5376
+ "command": "data event-screen watch-delete",
5377
+ "kind": "subscription",
5378
+ "description": null,
5379
+ "arguments": [
5380
+ {
5381
+ "name": "publicId",
5382
+ "flag": "public-id",
5383
+ "type": "ID",
5384
+ "required": false,
5385
+ "description": null,
5386
+ "example": "event-screen-123",
5387
+ "input": false,
5388
+ "variable": true
5389
+ }
5390
+ ],
5391
+ "returnType": "EventScreen",
5392
+ "selection": "createdAt publicId updatedAt",
5393
+ "risk": null
5394
+ },
5395
+ {
5396
+ "name": "onUpdateEventScreen",
5397
+ "command": "data event-screen watch-update",
5398
+ "kind": "subscription",
5399
+ "description": null,
5400
+ "arguments": [
5401
+ {
5402
+ "name": "publicId",
5403
+ "flag": "public-id",
5404
+ "type": "ID",
5405
+ "required": false,
5406
+ "description": null,
5407
+ "example": "event-screen-123",
5408
+ "input": false,
5409
+ "variable": true
5410
+ }
5411
+ ],
5412
+ "returnType": "EventScreen",
5413
+ "selection": "createdAt publicId updatedAt",
5414
+ "risk": null
5415
+ },
5416
+ {
5417
+ "name": "createGlobalAthleteServiceMapping",
5418
+ "command": "data global-athlete-service-mapping create",
5419
+ "kind": "mutation",
5420
+ "description": "Creates a global (client_id IS NULL) mapping -- visible to any client the\nathlete is assigned to via client_athletes, not scoped to the caller's own\nclient. No `tenant` arg: unlike createAthleteServiceMapping, this isn't\n\"assign to my own client\", it's a cross-client-visible identifier (e.g. a\nsocial-media handle), so it's restricted to internal tooling/automation\nidentities rather than general client-facing write access -- see\n.docs/plans/athlete-refactor-stage2.md's write-permission discussion.",
5421
+ "arguments": [
5422
+ {
5423
+ "name": "input",
5424
+ "flag": "input",
5425
+ "type": "CreateAthleteServiceMappingInput!",
5426
+ "required": true,
5427
+ "description": null,
5428
+ "example": "@input.json",
5429
+ "input": true,
5430
+ "variable": true
5431
+ },
5432
+ {
5433
+ "name": "athletePublicId",
5434
+ "flag": "athlete-public-id",
5435
+ "type": "ID!",
5436
+ "required": true,
5437
+ "description": null,
5438
+ "example": "athlete-123",
5439
+ "input": true,
5440
+ "variable": false,
5441
+ "path": [
5442
+ "input",
5443
+ "athletePublicId"
5444
+ ]
5445
+ },
5446
+ {
5447
+ "name": "externalId",
5448
+ "flag": "external-id",
5449
+ "type": "String!",
5450
+ "required": true,
5451
+ "description": null,
5452
+ "example": "external-123",
5453
+ "input": true,
5454
+ "variable": false,
5455
+ "path": [
5456
+ "input",
5457
+ "externalId"
5458
+ ]
5459
+ },
5460
+ {
5461
+ "name": "service",
5462
+ "flag": "service",
5463
+ "type": "String!",
5464
+ "required": true,
5465
+ "description": null,
5466
+ "example": "example-service",
5467
+ "input": true,
5468
+ "variable": false,
5469
+ "path": [
5470
+ "input",
5471
+ "service"
5472
+ ]
5473
+ }
5474
+ ],
5475
+ "returnType": "AthleteServiceMapping",
5476
+ "selection": "athletePublicId clientPublicId createdAt externalId publicId service updatedAt",
5477
+ "risk": "standard"
5478
+ },
5479
+ {
5480
+ "name": "deleteGlobalAthleteServiceMapping",
5481
+ "command": "data global-athlete-service-mapping delete",
5482
+ "kind": "mutation",
5483
+ "description": "Deletes a global (client_id IS NULL) mapping. No `tenant` arg, same\nreasoning as createGlobalAthleteServiceMapping -- restricted to internal\ntooling/automation identities.",
5484
+ "arguments": [
5485
+ {
5486
+ "name": "athletePublicId",
5487
+ "flag": "athlete-public-id",
5488
+ "type": "ID!",
5489
+ "required": true,
5490
+ "description": null,
5491
+ "example": "athlete-123",
5492
+ "input": false,
5493
+ "variable": true
5494
+ },
5495
+ {
5496
+ "name": "service",
5497
+ "flag": "service",
5498
+ "type": "String!",
5499
+ "required": true,
5500
+ "description": null,
5501
+ "example": "example-service",
5502
+ "input": false,
5503
+ "variable": true
5504
+ }
5505
+ ],
5506
+ "returnType": "AthleteServiceMapping",
5507
+ "selection": "athletePublicId clientPublicId createdAt externalId publicId service updatedAt",
5508
+ "risk": "destructive"
5509
+ },
5510
+ {
5511
+ "name": "getLatestUpdate",
5512
+ "command": "data latest-update get",
5513
+ "kind": "query",
5514
+ "description": null,
5515
+ "arguments": [
5516
+ {
5517
+ "name": "athleteId",
5518
+ "flag": "athlete-id",
5519
+ "type": "String!",
5520
+ "required": true,
5521
+ "description": null,
5522
+ "example": "athlete-123",
5523
+ "input": false,
5524
+ "variable": true
5525
+ },
5526
+ {
5527
+ "name": "datasetDatasourceId",
5528
+ "flag": "dataset-datasource-id",
5529
+ "type": "String!",
5530
+ "required": true,
5531
+ "description": null,
5532
+ "example": "dataset-datasource-123",
5533
+ "input": false,
5534
+ "variable": true
5535
+ },
5536
+ {
5537
+ "name": "eventId",
5538
+ "flag": "event-id",
5539
+ "type": "String!",
5540
+ "required": true,
5541
+ "description": null,
5542
+ "example": "event-123",
5543
+ "input": false,
5544
+ "variable": true
5545
+ },
5546
+ {
5547
+ "name": "metric",
5548
+ "flag": "metric",
5549
+ "type": "String!",
5550
+ "required": true,
5551
+ "description": null,
5552
+ "example": "example-metric",
5553
+ "input": false,
5554
+ "variable": true
5555
+ },
5556
+ {
5557
+ "name": "tenant",
5558
+ "flag": "tenant",
5559
+ "type": "String!",
5560
+ "required": true,
5561
+ "description": null,
5562
+ "example": "tenant-123",
5563
+ "input": false,
5564
+ "variable": true
5565
+ }
5566
+ ],
5567
+ "returnType": "LastUpdate",
5568
+ "selection": "aggregated athleteId eventId metric timestamp value",
5569
+ "risk": null
5570
+ },
5571
+ {
5572
+ "name": "getLastUpdates",
5573
+ "command": "data latest-update list",
5574
+ "kind": "query",
5575
+ "description": null,
5576
+ "arguments": [
5577
+ {
5578
+ "name": "athleteId",
5579
+ "flag": "athlete-id",
5580
+ "type": "String!",
5581
+ "required": true,
5582
+ "description": null,
5583
+ "example": "athlete-123",
5584
+ "input": false,
5585
+ "variable": true
5586
+ },
5587
+ {
5588
+ "name": "datasetDatasourceId",
5589
+ "flag": "dataset-datasource-id",
5590
+ "type": "String!",
5591
+ "required": true,
5592
+ "description": null,
5593
+ "example": "dataset-datasource-123",
5594
+ "input": false,
5595
+ "variable": true
5596
+ },
5597
+ {
5598
+ "name": "eventId",
5599
+ "flag": "event-id",
5600
+ "type": "String!",
5601
+ "required": true,
5602
+ "description": null,
5603
+ "example": "event-123",
5604
+ "input": false,
5605
+ "variable": true
5606
+ },
5607
+ {
5608
+ "name": "metric",
5609
+ "flag": "metric",
5610
+ "type": "String!",
5611
+ "required": true,
5612
+ "description": null,
5613
+ "example": "example-metric",
5614
+ "input": false,
5615
+ "variable": true
5616
+ },
5617
+ {
5618
+ "name": "numberOfSeconds",
5619
+ "flag": "number-of-seconds",
5620
+ "type": "Int!",
5621
+ "required": true,
5622
+ "description": null,
5623
+ "example": "10",
5624
+ "input": false,
5625
+ "variable": true
5626
+ },
5627
+ {
5628
+ "name": "tenant",
5629
+ "flag": "tenant",
5630
+ "type": "String!",
5631
+ "required": true,
5632
+ "description": null,
5633
+ "example": "tenant-123",
5634
+ "input": false,
5635
+ "variable": true
5636
+ }
5637
+ ],
5638
+ "returnType": "LastUpdateConnection",
5639
+ "selection": "items { aggregated athleteId eventId metric timestamp value } activeCount itemCount nextToken totalCount",
5640
+ "risk": null
5641
+ },
5642
+ {
5643
+ "name": "getManifest",
5644
+ "command": "data manifest get",
5645
+ "kind": "query",
5646
+ "description": null,
5647
+ "arguments": [],
5648
+ "returnType": "PlatformManifest",
5649
+ "selection": "",
5650
+ "risk": null
5651
+ },
5652
+ {
5653
+ "name": "listMetaData",
5654
+ "command": "data meta-data list",
5655
+ "kind": "query",
5656
+ "description": "List metaData (\"race facts\") for one dataset-datasource within an event,\nnewest first. Every shape is a keyed DynamoDB query, never a scan:\n- no filters: every fact in the partition, strictly newest-first;\n- `scope` + `entityId`: facts for one entity (grouped by typeTree, newest\n first within each typeTree);\n- `typeTreePrefix`: `begins_with` on the typeTree — pass `card/` for a\n subtree or `card/yellow#` for one exact typeTree.\n`scope` without `entityId` is rejected. `limit` defaults to 50 (max 200).",
5657
+ "arguments": [
5658
+ {
5659
+ "name": "datasetDatasourcePublicId",
5660
+ "flag": "dataset-datasource-public-id",
5661
+ "type": "String!",
5662
+ "required": true,
5663
+ "description": null,
5664
+ "example": "dataset-datasource-123",
5665
+ "input": false,
5666
+ "variable": true
5667
+ },
5668
+ {
5669
+ "name": "entityId",
5670
+ "flag": "entity-id",
5671
+ "type": "String",
5672
+ "required": false,
5673
+ "description": null,
5674
+ "example": "entity-123",
5675
+ "input": false,
5676
+ "variable": true
5677
+ },
5678
+ {
5679
+ "name": "eventPublicId",
5680
+ "flag": "event-public-id",
5681
+ "type": "String!",
5682
+ "required": true,
5683
+ "description": null,
5684
+ "example": "event-123",
5685
+ "input": false,
5686
+ "variable": true
5687
+ },
5688
+ {
5689
+ "name": "limit",
5690
+ "flag": "limit",
5691
+ "type": "Int",
5692
+ "required": false,
5693
+ "description": null,
5694
+ "example": "10",
5695
+ "input": false,
5696
+ "variable": true
5697
+ },
5698
+ {
5699
+ "name": "nextToken",
5700
+ "flag": "next-token",
5701
+ "type": "String",
5702
+ "required": false,
5703
+ "description": null,
5704
+ "example": "example-next-token",
5705
+ "input": false,
5706
+ "variable": true
5707
+ },
5708
+ {
5709
+ "name": "scope",
5710
+ "flag": "scope",
5711
+ "type": "MetaDataScope",
5712
+ "required": false,
5713
+ "description": null,
5714
+ "example": "athlete",
5715
+ "input": false,
5716
+ "variable": true
5717
+ },
5718
+ {
5719
+ "name": "typeTreePrefix",
5720
+ "flag": "type-tree-prefix",
5721
+ "type": "String",
5722
+ "required": false,
5723
+ "description": null,
5724
+ "example": "example-type-tree-prefix",
5725
+ "input": false,
5726
+ "variable": true
5727
+ }
5728
+ ],
5729
+ "returnType": "MetaDataRecordConnection",
5730
+ "selection": "items { datasetDatasourcePublicId entityId eventPublicId scope timestamp typeTree value } itemCount nextToken",
5731
+ "risk": null
5732
+ },
5733
+ {
5734
+ "name": "datasetScreenSnapshot",
5735
+ "command": "data operation dataset-screen-snapshot",
5736
+ "kind": "query",
5737
+ "description": "Api-key (no login) for live broadcast graphics (Visual/OBS) to resolve a\ndataset's roster (name/nationality/service-mapping bridge) and datasource\nids without any Dataworks credentials. Tenant scoping is by unguessable\ndatasetPublicId, not verified caller identity -- the same trust model as\nlatestMetaData. Returns null for an unknown or wrong-tenant datasetPublicId;\nnever a distinguishing not-found-vs-forbidden error, or this becomes an\nid-enumeration oracle. See .docs/plans/challenge-samarkand-pylon-clock.md\n(Dataworks-Visual) for the full design history.\n\nAlso @aws_iam, for ECS adaptors: a runner queries this with its own task role\nto resolve its participants and teams from the real `participants` table\nrather than the hand-copied `dataset_datasources.participants` JSON column.\nAn adaptor queries for this rather than being passed it because a container\noverride is capped at 8192 characters across every variable in it, which a\nparticipant list of any size does not reliably fit within. IAM widens nothing\nin practice -- every caller that already holds the api key can read this, and\nthe ECS task role's appsync:GraphQL is Resource:\"*\" regardless. Tenant still\nresolves from the dataset row itself (resolveScreenDataset), never from the\ncaller, so the auth mode does not change what any caller can see.",
5738
+ "arguments": [
5739
+ {
5740
+ "name": "datasetPublicId",
5741
+ "flag": "dataset-public-id",
5742
+ "type": "String!",
5743
+ "required": true,
5744
+ "description": null,
5745
+ "example": "dataset-123",
5746
+ "input": false,
5747
+ "variable": true
5748
+ }
5749
+ ],
5750
+ "returnType": "DatasetScreenSnapshot",
5751
+ "selection": "datasetDatasourcePublicIds",
5752
+ "risk": null
5753
+ },
5754
+ {
5755
+ "name": "importAssetFromSource",
5756
+ "command": "data operation import-asset-from-source",
5757
+ "kind": "mutation",
5758
+ "description": "Copies one object from the engine's supplier bucket into this tenant's asset\nstore, and returns the storage key to write to the owning record with\n`updateAthlete` / `updateAthleteTeam` / `updateParticipant` — the same second\nstep as an upload, and for the same reason: those already tenant-check the\nwrite.\n\nThis is the bulk-import counterpart to `createAssetUploadTarget`. The bytes\nare copied server-side within S3, so nothing is downloaded or re-encoded by\nthe caller, and the size limit that applies to a browser upload does not\napply here. Display sizes are still generated on demand from the stored\noriginal, so an oversized original costs a little storage and nothing else.\n\nReads only from the one bucket the stack is configured with, which is why\nthere is no bucket argument. Deliberately not callable via API key or IAM.",
5759
+ "arguments": [
5760
+ {
5761
+ "name": "input",
5762
+ "flag": "input",
5763
+ "type": "ImportAssetFromSourceInput!",
5764
+ "required": true,
5765
+ "description": null,
5766
+ "example": "@input.json",
5767
+ "input": true,
5768
+ "variable": true
5769
+ },
5770
+ {
5771
+ "name": "entity",
5772
+ "flag": "entity",
5773
+ "type": "AssetOwnerType!",
5774
+ "required": true,
5775
+ "description": null,
5776
+ "example": "ATHLETE",
5777
+ "input": true,
5778
+ "variable": false,
5779
+ "path": [
5780
+ "input",
5781
+ "entity"
5782
+ ]
5783
+ },
5784
+ {
5785
+ "name": "kind",
5786
+ "flag": "kind",
5787
+ "type": "AssetKind!",
5788
+ "required": true,
5789
+ "description": null,
5790
+ "example": "IMAGE",
5791
+ "input": true,
5792
+ "variable": false,
5793
+ "path": [
5794
+ "input",
5795
+ "kind"
5796
+ ]
5797
+ },
5798
+ {
5799
+ "name": "sourceKey",
5800
+ "flag": "source-key",
5801
+ "type": "String!",
5802
+ "required": true,
5803
+ "description": "Key of the object to copy, inside the engine's configured supplier bucket.\nThe bucket itself is not an argument: it is stack configuration, so this can\nonly ever read from that one place. The extension decides the stored content\ntype and must be one of jpg, jpeg, png, webp, avif.",
5804
+ "example": "example-source-key",
5805
+ "input": true,
5806
+ "variable": false,
5807
+ "path": [
5808
+ "input",
5809
+ "sourceKey"
4598
5810
  ]
4599
5811
  },
4600
5812
  {
@@ -4608,163 +5820,149 @@ export const operations = [
4608
5820
  "variable": true
4609
5821
  }
4610
5822
  ],
4611
- "returnType": "EventScreen",
4612
- "selection": "createdAt publicId updatedAt",
5823
+ "returnType": "ImportedAsset",
5824
+ "selection": "bytes contentType key",
4613
5825
  "risk": "standard"
4614
5826
  },
4615
5827
  {
4616
- "name": "onCreateEventScreen",
4617
- "command": "data event-screen watch-create",
4618
- "kind": "subscription",
5828
+ "name": "incrementMetaDataAggregate",
5829
+ "command": "data operation increment-meta-data-aggregate",
5830
+ "kind": "mutation",
4619
5831
  "description": null,
4620
5832
  "arguments": [
4621
5833
  {
4622
- "name": "publicId",
4623
- "flag": "public-id",
4624
- "type": "ID",
4625
- "required": false,
5834
+ "name": "delta",
5835
+ "flag": "delta",
5836
+ "type": "Float!",
5837
+ "required": true,
4626
5838
  "description": null,
4627
- "example": "event-screen-123",
5839
+ "example": "1.5",
4628
5840
  "input": false,
4629
5841
  "variable": true
4630
- }
4631
- ],
4632
- "returnType": "EventScreen",
4633
- "selection": "createdAt publicId updatedAt",
4634
- "risk": null
4635
- },
4636
- {
4637
- "name": "onDeleteEventScreen",
4638
- "command": "data event-screen watch-delete",
4639
- "kind": "subscription",
4640
- "description": null,
4641
- "arguments": [
5842
+ },
4642
5843
  {
4643
- "name": "publicId",
4644
- "flag": "public-id",
4645
- "type": "ID",
4646
- "required": false,
5844
+ "name": "entityId",
5845
+ "flag": "entity-id",
5846
+ "type": "String!",
5847
+ "required": true,
4647
5848
  "description": null,
4648
- "example": "event-screen-123",
5849
+ "example": "entity-123",
4649
5850
  "input": false,
4650
5851
  "variable": true
4651
- }
4652
- ],
4653
- "returnType": "EventScreen",
4654
- "selection": "createdAt publicId updatedAt",
4655
- "risk": null
4656
- },
4657
- {
4658
- "name": "onUpdateEventScreen",
4659
- "command": "data event-screen watch-update",
4660
- "kind": "subscription",
4661
- "description": null,
4662
- "arguments": [
5852
+ },
4663
5853
  {
4664
- "name": "publicId",
4665
- "flag": "public-id",
4666
- "type": "ID",
4667
- "required": false,
5854
+ "name": "eventPublicId",
5855
+ "flag": "event-public-id",
5856
+ "type": "String!",
5857
+ "required": true,
4668
5858
  "description": null,
4669
- "example": "event-screen-123",
5859
+ "example": "event-123",
4670
5860
  "input": false,
4671
5861
  "variable": true
4672
- }
4673
- ],
4674
- "returnType": "EventScreen",
4675
- "selection": "createdAt publicId updatedAt",
4676
- "risk": null
4677
- },
4678
- {
4679
- "name": "getLatestUpdate",
4680
- "command": "data latest-update get",
4681
- "kind": "query",
4682
- "description": null,
4683
- "arguments": [
5862
+ },
4684
5863
  {
4685
- "name": "athleteId",
4686
- "flag": "athlete-id",
5864
+ "name": "scope",
5865
+ "flag": "scope",
4687
5866
  "type": "String!",
4688
5867
  "required": true,
4689
5868
  "description": null,
4690
- "example": "athlete-123",
5869
+ "example": "example-scope",
4691
5870
  "input": false,
4692
5871
  "variable": true
4693
5872
  },
4694
5873
  {
4695
- "name": "datasetDatasourceId",
4696
- "flag": "dataset-datasource-id",
5874
+ "name": "type",
5875
+ "flag": "type",
4697
5876
  "type": "String!",
4698
5877
  "required": true,
4699
5878
  "description": null,
4700
- "example": "dataset-datasource-123",
5879
+ "example": "example-type",
4701
5880
  "input": false,
4702
5881
  "variable": true
4703
- },
5882
+ }
5883
+ ],
5884
+ "returnType": "MetaDataAggregate",
5885
+ "selection": "entityId eventPublicId scope type updatedAt value",
5886
+ "risk": "standard"
5887
+ },
5888
+ {
5889
+ "name": "ingestMetaData",
5890
+ "command": "data operation ingest-meta-data",
5891
+ "kind": "mutation",
5892
+ "description": "Ingest metaData (\"race facts\") through the same processor state machine the\n`/metadata` endpoint uses. The resolver is a pure passthrough — no shaping or\nvalidation happens here, so every ingest door behaves identically.",
5893
+ "arguments": [
4704
5894
  {
4705
- "name": "eventId",
4706
- "flag": "event-id",
4707
- "type": "String!",
5895
+ "name": "input",
5896
+ "flag": "input",
5897
+ "type": "IngestMetaDataInput!",
4708
5898
  "required": true,
4709
5899
  "description": null,
4710
- "example": "event-123",
4711
- "input": false,
5900
+ "example": "@input.json",
5901
+ "input": true,
4712
5902
  "variable": true
4713
5903
  },
4714
5904
  {
4715
- "name": "metric",
4716
- "flag": "metric",
4717
- "type": "String!",
5905
+ "name": "datasetDatasourcePublicId",
5906
+ "flag": "dataset-datasource-public-id",
5907
+ "type": "ID!",
4718
5908
  "required": true,
4719
5909
  "description": null,
4720
- "example": "example-metric",
4721
- "input": false,
4722
- "variable": true
5910
+ "example": "dataset-datasource-123",
5911
+ "input": true,
5912
+ "variable": false,
5913
+ "path": [
5914
+ "input",
5915
+ "datasetDatasourcePublicId"
5916
+ ]
4723
5917
  },
4724
5918
  {
4725
- "name": "tenant",
4726
- "flag": "tenant",
4727
- "type": "String!",
5919
+ "name": "eventPublicId",
5920
+ "flag": "event-public-id",
5921
+ "type": "ID!",
4728
5922
  "required": true,
4729
5923
  "description": null,
4730
- "example": "tenant-123",
4731
- "input": false,
4732
- "variable": true
5924
+ "example": "event-123",
5925
+ "input": true,
5926
+ "variable": false,
5927
+ "path": [
5928
+ "input",
5929
+ "eventPublicId"
5930
+ ]
4733
5931
  }
4734
5932
  ],
4735
- "returnType": "LastUpdate",
4736
- "selection": "athleteId eventId metric timestamp value",
4737
- "risk": null
5933
+ "returnType": "IngestMetaDataResult",
5934
+ "selection": "accepted executionArn",
5935
+ "risk": "standard"
4738
5936
  },
4739
5937
  {
4740
- "name": "getLastUpdates",
4741
- "command": "data latest-update list",
5938
+ "name": "latestMetaData",
5939
+ "command": "data operation latest-meta-data",
4742
5940
  "kind": "query",
4743
5941
  "description": null,
4744
5942
  "arguments": [
4745
5943
  {
4746
- "name": "athleteId",
4747
- "flag": "athlete-id",
5944
+ "name": "datasetDatasourcePublicId",
5945
+ "flag": "dataset-datasource-public-id",
4748
5946
  "type": "String!",
4749
5947
  "required": true,
4750
5948
  "description": null,
4751
- "example": "athlete-123",
5949
+ "example": "dataset-datasource-123",
4752
5950
  "input": false,
4753
5951
  "variable": true
4754
5952
  },
4755
5953
  {
4756
- "name": "datasetDatasourceId",
4757
- "flag": "dataset-datasource-id",
5954
+ "name": "entityId",
5955
+ "flag": "entity-id",
4758
5956
  "type": "String!",
4759
5957
  "required": true,
4760
5958
  "description": null,
4761
- "example": "dataset-datasource-123",
5959
+ "example": "entity-123",
4762
5960
  "input": false,
4763
5961
  "variable": true
4764
5962
  },
4765
5963
  {
4766
- "name": "eventId",
4767
- "flag": "event-id",
5964
+ "name": "eventPublicId",
5965
+ "flag": "event-public-id",
4768
5966
  "type": "String!",
4769
5967
  "required": true,
4770
5968
  "description": null,
@@ -4773,48 +5971,28 @@ export const operations = [
4773
5971
  "variable": true
4774
5972
  },
4775
5973
  {
4776
- "name": "metric",
4777
- "flag": "metric",
5974
+ "name": "scope",
5975
+ "flag": "scope",
4778
5976
  "type": "String!",
4779
5977
  "required": true,
4780
5978
  "description": null,
4781
- "example": "example-metric",
4782
- "input": false,
4783
- "variable": true
4784
- },
4785
- {
4786
- "name": "numberOfSeconds",
4787
- "flag": "number-of-seconds",
4788
- "type": "Int!",
4789
- "required": true,
4790
- "description": null,
4791
- "example": "10",
5979
+ "example": "example-scope",
4792
5980
  "input": false,
4793
5981
  "variable": true
4794
5982
  },
4795
5983
  {
4796
- "name": "tenant",
4797
- "flag": "tenant",
5984
+ "name": "typeTree",
5985
+ "flag": "type-tree",
4798
5986
  "type": "String!",
4799
5987
  "required": true,
4800
5988
  "description": null,
4801
- "example": "tenant-123",
5989
+ "example": "example-type-tree",
4802
5990
  "input": false,
4803
5991
  "variable": true
4804
5992
  }
4805
5993
  ],
4806
- "returnType": "LastUpdateConnection",
4807
- "selection": "items { athleteId eventId metric timestamp value } activeCount itemCount nextToken totalCount",
4808
- "risk": null
4809
- },
4810
- {
4811
- "name": "getManifest",
4812
- "command": "data manifest get",
4813
- "kind": "query",
4814
- "description": null,
4815
- "arguments": [],
4816
- "returnType": "PlatformManifest",
4817
- "selection": "",
5994
+ "returnType": "MetaDataRecord",
5995
+ "selection": "datasetDatasourcePublicId entityId eventPublicId scope timestamp typeTree value",
4818
5996
  "risk": null
4819
5997
  },
4820
5998
  {
@@ -4875,6 +6053,34 @@ export const operations = [
4875
6053
  "deviceId"
4876
6054
  ]
4877
6055
  },
6056
+ {
6057
+ "name": "image",
6058
+ "flag": "image",
6059
+ "type": "String",
6060
+ "required": false,
6061
+ "description": "Optional event-specific override of the athlete's own image. See\n`Participant.image`.",
6062
+ "example": "example-image",
6063
+ "input": true,
6064
+ "variable": false,
6065
+ "path": [
6066
+ "input",
6067
+ "image"
6068
+ ]
6069
+ },
6070
+ {
6071
+ "name": "teamPublicId",
6072
+ "flag": "team-public-id",
6073
+ "type": "ID",
6074
+ "required": false,
6075
+ "description": "Optional. When set, must be one of the athlete's teams and belong to the\ndataset's client; omit or pass null for an individual-sport participant.",
6076
+ "example": "team-123",
6077
+ "input": true,
6078
+ "variable": false,
6079
+ "path": [
6080
+ "input",
6081
+ "teamPublicId"
6082
+ ]
6083
+ },
4878
6084
  {
4879
6085
  "name": "tenant",
4880
6086
  "flag": "tenant",
@@ -4887,7 +6093,7 @@ export const operations = [
4887
6093
  }
4888
6094
  ],
4889
6095
  "returnType": "Participant",
4890
- "selection": "createdAt deviceId publicId updatedAt",
6096
+ "selection": "createdAt deviceId image publicId updatedAt",
4891
6097
  "risk": "standard"
4892
6098
  },
4893
6099
  {
@@ -4918,7 +6124,7 @@ export const operations = [
4918
6124
  }
4919
6125
  ],
4920
6126
  "returnType": "Participant",
4921
- "selection": "createdAt deviceId publicId updatedAt",
6127
+ "selection": "createdAt deviceId image publicId updatedAt",
4922
6128
  "risk": "destructive"
4923
6129
  },
4924
6130
  {
@@ -4949,7 +6155,7 @@ export const operations = [
4949
6155
  }
4950
6156
  ],
4951
6157
  "returnType": "Participant",
4952
- "selection": "createdAt deviceId publicId updatedAt",
6158
+ "selection": "createdAt deviceId image publicId updatedAt",
4953
6159
  "risk": null
4954
6160
  },
4955
6161
  {
@@ -5010,7 +6216,7 @@ export const operations = [
5010
6216
  }
5011
6217
  ],
5012
6218
  "returnType": "ParticipantConnection",
5013
- "selection": "items { createdAt deviceId publicId updatedAt } activeCount itemCount nextToken totalCount",
6219
+ "selection": "items { createdAt deviceId image publicId updatedAt } activeCount itemCount nextToken totalCount",
5014
6220
  "risk": null
5015
6221
  },
5016
6222
  {
@@ -5067,6 +6273,20 @@ export const operations = [
5067
6273
  "deviceId"
5068
6274
  ]
5069
6275
  },
6276
+ {
6277
+ "name": "image",
6278
+ "flag": "image",
6279
+ "type": "String",
6280
+ "required": false,
6281
+ "description": "Omit to leave the image unchanged; pass null to clear it and fall back to\nthe athlete's own image; pass the key from `createAssetUploadTarget` to set\nit. An absolute URL is also accepted and passed through. Never pass back the\nURL you read from `Participant.image`. See `Athlete.image`.",
6282
+ "example": "example-image",
6283
+ "input": true,
6284
+ "variable": false,
6285
+ "path": [
6286
+ "input",
6287
+ "image"
6288
+ ]
6289
+ },
5070
6290
  {
5071
6291
  "name": "publicId",
5072
6292
  "flag": "public-id",
@@ -5081,6 +6301,20 @@ export const operations = [
5081
6301
  "publicId"
5082
6302
  ]
5083
6303
  },
6304
+ {
6305
+ "name": "teamPublicId",
6306
+ "flag": "team-public-id",
6307
+ "type": "ID",
6308
+ "required": false,
6309
+ "description": "Omit to leave the team unchanged; pass null to clear it; pass a team publicId to set it.",
6310
+ "example": "team-123",
6311
+ "input": true,
6312
+ "variable": false,
6313
+ "path": [
6314
+ "input",
6315
+ "teamPublicId"
6316
+ ]
6317
+ },
5084
6318
  {
5085
6319
  "name": "updatedAt",
5086
6320
  "flag": "updated-at",
@@ -5107,7 +6341,7 @@ export const operations = [
5107
6341
  }
5108
6342
  ],
5109
6343
  "returnType": "Participant",
5110
- "selection": "createdAt deviceId publicId updatedAt",
6344
+ "selection": "createdAt deviceId image publicId updatedAt",
5111
6345
  "risk": "standard"
5112
6346
  },
5113
6347
  {
@@ -5128,7 +6362,7 @@ export const operations = [
5128
6362
  }
5129
6363
  ],
5130
6364
  "returnType": "Participant",
5131
- "selection": "createdAt deviceId publicId updatedAt",
6365
+ "selection": "createdAt deviceId image publicId updatedAt",
5132
6366
  "risk": null
5133
6367
  },
5134
6368
  {
@@ -5149,7 +6383,7 @@ export const operations = [
5149
6383
  }
5150
6384
  ],
5151
6385
  "returnType": "Participant",
5152
- "selection": "createdAt deviceId publicId updatedAt",
6386
+ "selection": "createdAt deviceId image publicId updatedAt",
5153
6387
  "risk": null
5154
6388
  },
5155
6389
  {
@@ -5170,7 +6404,7 @@ export const operations = [
5170
6404
  }
5171
6405
  ],
5172
6406
  "returnType": "Participant",
5173
- "selection": "createdAt deviceId publicId updatedAt",
6407
+ "selection": "createdAt deviceId image publicId updatedAt",
5174
6408
  "risk": null
5175
6409
  },
5176
6410
  {
@@ -5201,7 +6435,7 @@ export const operations = [
5201
6435
  }
5202
6436
  ],
5203
6437
  "returnType": "Participant",
5204
- "selection": "createdAt deviceId publicId updatedAt",
6438
+ "selection": "createdAt deviceId image publicId updatedAt",
5205
6439
  "risk": "destructive"
5206
6440
  },
5207
6441
  {
@@ -6027,47 +7261,6 @@ export const operations = [
6027
7261
  "selection": "createdAt name publicId type updatedAt",
6028
7262
  "risk": null
6029
7263
  },
6030
- {
6031
- "name": "captureStory",
6032
- "command": "data story capture",
6033
- "kind": "mutation",
6034
- "description": null,
6035
- "arguments": [
6036
- {
6037
- "name": "datasetDatasourcePublicId",
6038
- "flag": "dataset-datasource-public-id",
6039
- "type": "ID!",
6040
- "required": true,
6041
- "description": null,
6042
- "example": "dataset-datasource-123",
6043
- "input": false,
6044
- "variable": true
6045
- },
6046
- {
6047
- "name": "eventPublicId",
6048
- "flag": "event-public-id",
6049
- "type": "ID!",
6050
- "required": true,
6051
- "description": null,
6052
- "example": "event-123",
6053
- "input": false,
6054
- "variable": true
6055
- },
6056
- {
6057
- "name": "text",
6058
- "flag": "text",
6059
- "type": "String!",
6060
- "required": true,
6061
- "description": null,
6062
- "example": "Example text",
6063
- "input": false,
6064
- "variable": true
6065
- }
6066
- ],
6067
- "returnType": "CaptureStoryResult",
6068
- "selection": "invoked message",
6069
- "risk": "standard"
6070
- },
6071
7264
  {
6072
7265
  "name": "createTheme",
6073
7266
  "command": "data theme create",