@atlanai/sdk 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/README.md +32 -0
  2. package/dist/client.js +3 -1
  3. package/dist/evals.d.ts +46 -0
  4. package/dist/evals.js +230 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +8 -1
  7. package/dist/manifest.json +299 -3
  8. package/dist/raw/eval/apis/DatasetsApi.d.ts +304 -0
  9. package/dist/raw/eval/apis/DatasetsApi.js +706 -0
  10. package/dist/raw/eval/apis/ExperimentsApi.d.ts +371 -0
  11. package/dist/raw/eval/apis/ExperimentsApi.js +869 -0
  12. package/dist/raw/eval/apis/ScorersApi.d.ts +129 -0
  13. package/dist/raw/eval/apis/ScorersApi.js +308 -0
  14. package/dist/raw/eval/apis/index.d.ts +3 -0
  15. package/dist/raw/eval/apis/index.js +21 -0
  16. package/dist/raw/eval/index.d.ts +3 -0
  17. package/dist/raw/eval/index.js +21 -0
  18. package/dist/raw/eval/models/AccessView.d.ts +57 -0
  19. package/dist/raw/eval/models/AccessView.js +64 -0
  20. package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +69 -0
  21. package/dist/raw/eval/models/ArtifactConflictProblem.js +66 -0
  22. package/dist/raw/eval/models/CostView.d.ts +50 -0
  23. package/dist/raw/eval/models/CostView.js +60 -0
  24. package/dist/raw/eval/models/CursorPage.d.ts +38 -0
  25. package/dist/raw/eval/models/CursorPage.js +52 -0
  26. package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +144 -0
  27. package/dist/raw/eval/models/EvalArtifactEnvelope.js +84 -0
  28. package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +71 -0
  29. package/dist/raw/eval/models/EvalArtifactSearchRequest.js +60 -0
  30. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +33 -0
  31. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +51 -0
  32. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +52 -0
  33. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +60 -0
  34. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +33 -0
  35. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +51 -0
  36. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +53 -0
  37. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +60 -0
  38. package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +65 -0
  39. package/dist/raw/eval/models/EvalCreateDataset400Response.js +75 -0
  40. package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +63 -0
  41. package/dist/raw/eval/models/EvalCreateDataset409Response.js +75 -0
  42. package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +64 -0
  43. package/dist/raw/eval/models/EvalCreateDataset413Response.js +74 -0
  44. package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +64 -0
  45. package/dist/raw/eval/models/EvalCreateDataset415Response.js +74 -0
  46. package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +63 -0
  47. package/dist/raw/eval/models/EvalCreateDataset422Response.js +75 -0
  48. package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +277 -0
  49. package/dist/raw/eval/models/EvalDatasetArtifactView.js +146 -0
  50. package/dist/raw/eval/models/EvalDatasetCreate.d.ts +150 -0
  51. package/dist/raw/eval/models/EvalDatasetCreate.js +86 -0
  52. package/dist/raw/eval/models/EvalDatasetMeta.d.ts +46 -0
  53. package/dist/raw/eval/models/EvalDatasetMeta.js +48 -0
  54. package/dist/raw/eval/models/EvalDatasetPatch.d.ts +52 -0
  55. package/dist/raw/eval/models/EvalDatasetPatch.js +54 -0
  56. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +330 -0
  57. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +161 -0
  58. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +33 -0
  59. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +51 -0
  60. package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +195 -0
  61. package/dist/raw/eval/models/EvalDatasetRecordCreate.js +101 -0
  62. package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +96 -0
  63. package/dist/raw/eval/models/EvalDatasetRecordMeta.js +67 -0
  64. package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +81 -0
  65. package/dist/raw/eval/models/EvalDatasetRecordPatch.js +62 -0
  66. package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +320 -0
  67. package/dist/raw/eval/models/EvalExperimentArtifactView.js +160 -0
  68. package/dist/raw/eval/models/EvalExperimentCreate.d.ts +193 -0
  69. package/dist/raw/eval/models/EvalExperimentCreate.js +100 -0
  70. package/dist/raw/eval/models/EvalExperimentMeta.d.ts +91 -0
  71. package/dist/raw/eval/models/EvalExperimentMeta.js +62 -0
  72. package/dist/raw/eval/models/EvalExperimentPatch.d.ts +63 -0
  73. package/dist/raw/eval/models/EvalExperimentPatch.js +57 -0
  74. package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +330 -0
  75. package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +162 -0
  76. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +33 -0
  77. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +51 -0
  78. package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +197 -0
  79. package/dist/raw/eval/models/EvalExperimentResultCreate.js +100 -0
  80. package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +102 -0
  81. package/dist/raw/eval/models/EvalExperimentResultMeta.js +66 -0
  82. package/dist/raw/eval/models/EvalExperimentStatus.d.ts +31 -0
  83. package/dist/raw/eval/models/EvalExperimentStatus.js +59 -0
  84. package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +63 -0
  85. package/dist/raw/eval/models/EvalGetDataset404Response.js +75 -0
  86. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +63 -0
  87. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +75 -0
  88. package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +63 -0
  89. package/dist/raw/eval/models/EvalListDatasets400Response.js +75 -0
  90. package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +79 -0
  91. package/dist/raw/eval/models/EvalListDatasets401Response.js +89 -0
  92. package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +64 -0
  93. package/dist/raw/eval/models/EvalListDatasets403Response.js +74 -0
  94. package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +63 -0
  95. package/dist/raw/eval/models/EvalListDatasets500Response.js +75 -0
  96. package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +64 -0
  97. package/dist/raw/eval/models/EvalListDatasets503Response.js +74 -0
  98. package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +63 -0
  99. package/dist/raw/eval/models/EvalListDatasets504Response.js +75 -0
  100. package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +44 -0
  101. package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +56 -0
  102. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +44 -0
  103. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +56 -0
  104. package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +44 -0
  105. package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +56 -0
  106. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +44 -0
  107. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +56 -0
  108. package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +44 -0
  109. package/dist/raw/eval/models/EvalPageScorerArtifactView.js +56 -0
  110. package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +63 -0
  111. package/dist/raw/eval/models/EvalPatchDataset412Response.js +75 -0
  112. package/dist/raw/eval/models/EvalRecordSource.d.ts +27 -0
  113. package/dist/raw/eval/models/EvalRecordSource.js +55 -0
  114. package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +301 -0
  115. package/dist/raw/eval/models/EvalScorerArtifactView.js +154 -0
  116. package/dist/raw/eval/models/EvalScorerCreate.d.ts +172 -0
  117. package/dist/raw/eval/models/EvalScorerCreate.js +98 -0
  118. package/dist/raw/eval/models/EvalScorerKind.d.ts +32 -0
  119. package/dist/raw/eval/models/EvalScorerKind.js +60 -0
  120. package/dist/raw/eval/models/EvalScorerMeta.d.ts +67 -0
  121. package/dist/raw/eval/models/EvalScorerMeta.js +60 -0
  122. package/dist/raw/eval/models/EvalScorerPatch.d.ts +75 -0
  123. package/dist/raw/eval/models/EvalScorerPatch.js +56 -0
  124. package/dist/raw/eval/models/EvalScorerScope.d.ts +32 -0
  125. package/dist/raw/eval/models/EvalScorerScope.js +60 -0
  126. package/dist/raw/eval/models/EvalSubjectKind.d.ts +33 -0
  127. package/dist/raw/eval/models/EvalSubjectKind.js +61 -0
  128. package/dist/raw/eval/models/GatewayArtifactBase.d.ts +250 -0
  129. package/dist/raw/eval/models/GatewayArtifactBase.js +139 -0
  130. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +60 -0
  131. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +58 -0
  132. package/dist/raw/eval/models/GatewayPageMeta.d.ts +46 -0
  133. package/dist/raw/eval/models/GatewayPageMeta.js +58 -0
  134. package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +106 -0
  135. package/dist/raw/eval/models/GatewaySourceEnvelope.js +66 -0
  136. package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +25 -0
  137. package/dist/raw/eval/models/GatewayTraceStatsBucket.js +53 -0
  138. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +25 -0
  139. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +53 -0
  140. package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +45 -0
  141. package/dist/raw/eval/models/GatewayTraceStatsComparison.js +59 -0
  142. package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +24 -0
  143. package/dist/raw/eval/models/GatewayTraceStatsData.js +64 -0
  144. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +46 -0
  145. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +66 -0
  146. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +53 -0
  147. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +71 -0
  148. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +46 -0
  149. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +66 -0
  150. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +50 -0
  151. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +59 -0
  152. package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +47 -0
  153. package/dist/raw/eval/models/GatewayTraceStatsFilter.js +59 -0
  154. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +28 -0
  155. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +56 -0
  156. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +21 -0
  157. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +85 -0
  158. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +35 -0
  159. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +63 -0
  160. package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +39 -0
  161. package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +67 -0
  162. package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +49 -0
  163. package/dist/raw/eval/models/GatewayTraceStatsMeta.js +53 -0
  164. package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +40 -0
  165. package/dist/raw/eval/models/GatewayTraceStatsOrder.js +56 -0
  166. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +25 -0
  167. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +53 -0
  168. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +25 -0
  169. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +53 -0
  170. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +69 -0
  171. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +66 -0
  172. package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +80 -0
  173. package/dist/raw/eval/models/GatewayTraceStatsRequest.js +72 -0
  174. package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +26 -0
  175. package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +54 -0
  176. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +52 -0
  177. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +59 -0
  178. package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +52 -0
  179. package/dist/raw/eval/models/GatewayTraceStatsSeries.js +62 -0
  180. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +38 -0
  181. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +52 -0
  182. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +45 -0
  183. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +57 -0
  184. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +25 -0
  185. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +53 -0
  186. package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +38 -0
  187. package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +54 -0
  188. package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +38 -0
  189. package/dist/raw/eval/models/GatewayTraceStatsWindow.js +54 -0
  190. package/dist/raw/eval/models/ProblemDetails.d.ts +76 -0
  191. package/dist/raw/eval/models/ProblemDetails.js +64 -0
  192. package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +38 -0
  193. package/dist/raw/eval/models/RegistryEdgeTarget.js +54 -0
  194. package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +96 -0
  195. package/dist/raw/eval/models/RegistryRelationshipEdge.js +77 -0
  196. package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +45 -0
  197. package/dist/raw/eval/models/RegistryRelationshipsView.js +59 -0
  198. package/dist/raw/eval/models/SpanListEnvelope.d.ts +40 -0
  199. package/dist/raw/eval/models/SpanListEnvelope.js +56 -0
  200. package/dist/raw/eval/models/SpanViewDto.d.ts +192 -0
  201. package/dist/raw/eval/models/SpanViewDto.js +117 -0
  202. package/dist/raw/eval/models/TraceDetailView.d.ts +177 -0
  203. package/dist/raw/eval/models/TraceDetailView.js +108 -0
  204. package/dist/raw/eval/models/TraceLinks.d.ts +45 -0
  205. package/dist/raw/eval/models/TraceLinks.js +58 -0
  206. package/dist/raw/eval/models/TraceListEnvelope.d.ts +47 -0
  207. package/dist/raw/eval/models/TraceListEnvelope.js +61 -0
  208. package/dist/raw/eval/models/TraceParentView.d.ts +68 -0
  209. package/dist/raw/eval/models/TraceParentView.js +64 -0
  210. package/dist/raw/eval/models/TraceStatus.d.ts +26 -0
  211. package/dist/raw/eval/models/TraceStatus.js +54 -0
  212. package/dist/raw/eval/models/TraceSummaryStats.d.ts +62 -0
  213. package/dist/raw/eval/models/TraceSummaryStats.js +62 -0
  214. package/dist/raw/eval/models/TraceSummaryView.d.ts +150 -0
  215. package/dist/raw/eval/models/TraceSummaryView.js +96 -0
  216. package/dist/raw/eval/models/UsageView.d.ts +56 -0
  217. package/dist/raw/eval/models/UsageView.js +66 -0
  218. package/dist/raw/eval/models/index.d.ts +100 -0
  219. package/dist/raw/eval/models/index.js +118 -0
  220. package/dist/raw/eval/runtime.d.ts +185 -0
  221. package/dist/raw/eval/runtime.js +369 -0
  222. package/dist/resources.json +307 -0
  223. package/dist/tracing/client.js +6 -4
  224. package/dist/tracing/propagation.d.ts +1 -0
  225. package/dist/tracing/propagation.js +7 -0
  226. package/dist/tracing/semconv.d.ts +8 -1
  227. package/dist/tracing/semconv.js +27 -13
  228. package/dist/tracing/spans.d.ts +8 -4
  229. package/dist/tracing/spans.js +28 -13
  230. package/dist/tracing/version.d.ts +1 -1
  231. package/dist/tracing/version.js +1 -1
  232. package/package.json +1 -1
@@ -0,0 +1,250 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { GatewayArtifactIdentityRevealView } from './GatewayArtifactIdentityRevealView';
13
+ /**
14
+ * Published representation of ArtifactBase.
15
+ * @export
16
+ * @interface GatewayArtifactBase
17
+ */
18
+ export interface GatewayArtifactBase {
19
+ /**
20
+ * Value of the `artifact_status` field.
21
+ * @type {string}
22
+ * @memberof GatewayArtifactBase
23
+ */
24
+ artifactStatus: string;
25
+ /**
26
+ * RFC 3339 commit timestamp (the cross-table monotonic cursor).
27
+ * @type {string}
28
+ * @memberof GatewayArtifactBase
29
+ */
30
+ commitTs: string;
31
+ /**
32
+ * Value of the `content_hash_hex` field.
33
+ * @type {string}
34
+ * @memberof GatewayArtifactBase
35
+ */
36
+ contentHashHex?: string | null;
37
+ /**
38
+ * Value of the `created_at` field.
39
+ * @type {string}
40
+ * @memberof GatewayArtifactBase
41
+ */
42
+ createdAt: string;
43
+ /**
44
+ * Value of the `created_by` field.
45
+ * @type {string}
46
+ * @memberof GatewayArtifactBase
47
+ */
48
+ createdBy: string;
49
+ /**
50
+ * Human-readable description.
51
+ * @type {string}
52
+ * @memberof GatewayArtifactBase
53
+ */
54
+ description?: string | null;
55
+ /**
56
+ * Human-readable name.
57
+ * @type {string}
58
+ * @memberof GatewayArtifactBase
59
+ */
60
+ displayName?: string;
61
+ /**
62
+ * Value of the `extension` field.
63
+ * @type {string}
64
+ * @memberof GatewayArtifactBase
65
+ */
66
+ extension?: string;
67
+ /**
68
+ * Kind-prefixed Crockford-base32 handle (`<kind>_<base32>`).
69
+ * @type {string}
70
+ * @memberof GatewayArtifactBase
71
+ */
72
+ id: string;
73
+ /**
74
+ * Value of the `identity` field.
75
+ * @type {GatewayArtifactIdentityRevealView}
76
+ * @memberof GatewayArtifactBase
77
+ */
78
+ identity?: GatewayArtifactIdentityRevealView | null;
79
+ /**
80
+ * Whether this is the head (latest) version of its line.
81
+ * @type {boolean}
82
+ * @memberof GatewayArtifactBase
83
+ */
84
+ isLatest: boolean;
85
+ /**
86
+ * Domain discriminator for this resource.
87
+ * @type {string}
88
+ * @memberof GatewayArtifactBase
89
+ */
90
+ kind: string;
91
+ /**
92
+ * Stable machine handle ([AIP-122](https://google.aip.dev/122)): a short,
93
+ * identifier-shaped label (kebab-case by convention) meant for references,
94
+ * paths and code. **Not unique**, and not the artifact's identity — `id` is
95
+ * the only stable handle. Not format-validated today, so existing rows may
96
+ * hold prose.
97
+ * @type {string}
98
+ * @memberof GatewayArtifactBase
99
+ */
100
+ name: string;
101
+ /**
102
+ * The Control-Plane OIDC client id this artifact authenticates as
103
+ * (`x-gateway-identity` kinds); absent for every other kind.
104
+ *
105
+ * **Derived, not stored.** The registry resolves it from the artifact's
106
+ * `service_principals` row rather than keeping a second copy on the artifact,
107
+ * so it appears on the create response and on the single-artifact read — the
108
+ * two paths that make that lookup — and **not** on list, search, or a `PATCH`
109
+ * response, none of which do a per-row identity read. It is the public half of
110
+ * the credential pair and is not secret.
111
+ * @type {string}
112
+ * @memberof GatewayArtifactBase
113
+ */
114
+ oidcClientId?: string | null;
115
+ /**
116
+ * Canonical owner: the `users.user_id` this artifact belongs to, FK-backed.
117
+ * Absent when unset (legacy rows / system-plane creates).
118
+ * @type {string}
119
+ * @memberof GatewayArtifactBase
120
+ */
121
+ ownerId?: string | null;
122
+ /**
123
+ * `project_`-prefixed handle of the project grouping this artifact, when it has
124
+ * one. Absent for an artifact that lives directly in its workspace — which also
125
+ * means it is not packaged into any Claude Code plugin, since packaging is
126
+ * per-project (project-2026-07-30-first-class-project-table).
127
+ * @type {string}
128
+ * @memberof GatewayArtifactBase
129
+ */
130
+ projectId?: string | null;
131
+ /**
132
+ * The source repository this artifact came from, as a `repo_`-prefixed
133
+ * handle. Absent when the artifact has no repo.
134
+ * @type {string}
135
+ * @memberof GatewayArtifactBase
136
+ */
137
+ repoId?: string | null;
138
+ /**
139
+ * Advisory origin timestamp for imported artifacts (RFC 3339); absent for
140
+ * natively-created artifacts. Distinct from `created_at` (the commit time).
141
+ * @type {string}
142
+ * @memberof GatewayArtifactBase
143
+ */
144
+ sourceCreatedAt?: string | null;
145
+ /**
146
+ * Advisory upstream author (git `Name <email>`) of the first version
147
+ * upstream; absent when unset.
148
+ * @type {string}
149
+ * @memberof GatewayArtifactBase
150
+ */
151
+ sourceCreatedBy?: string | null;
152
+ /**
153
+ * sha256 of the materialized content; absent when unset.
154
+ * @type {string}
155
+ * @memberof GatewayArtifactBase
156
+ */
157
+ sourceDigest?: string | null;
158
+ /**
159
+ * The artifact's identifier in the system it came from — what the upstream
160
+ * calls it, as opposed to `source_uri`'s where-it-lives. Filterable and
161
+ * sortable, so a re-sync reconciles on this rather than on `name`; absent
162
+ * when unset.
163
+ * @type {string}
164
+ * @memberof GatewayArtifactBase
165
+ */
166
+ sourceId?: string | null;
167
+ /**
168
+ * Advisory upstream last-modified timestamp (RFC 3339); absent when unset.
169
+ * @type {string}
170
+ * @memberof GatewayArtifactBase
171
+ */
172
+ sourceLastModifiedAt?: string | null;
173
+ /**
174
+ * Advisory upstream author (git `Name <email>`) of the last change; absent
175
+ * when unset.
176
+ * @type {string}
177
+ * @memberof GatewayArtifactBase
178
+ */
179
+ sourceLastModifiedBy?: string | null;
180
+ /**
181
+ *
182
+ * @type {any}
183
+ * @memberof GatewayArtifactBase
184
+ */
185
+ sourceMetadata?: any | null;
186
+ /**
187
+ * Advisory timestamp (RFC 3339) of the last sync that produced a version.
188
+ * @type {string}
189
+ * @memberof GatewayArtifactBase
190
+ */
191
+ sourceSyncedAt?: string | null;
192
+ /**
193
+ * Content authority for the line: `git`, `atlan`, `local`, or `external`
194
+ * for a system the gateway does not know (a customer's own runner or catalog).
195
+ * @type {string}
196
+ * @memberof GatewayArtifactBase
197
+ */
198
+ sourceType: string;
199
+ /**
200
+ * Scheme-tagged origin; absent for a service-managed (`atlan`) line.
201
+ * @type {string}
202
+ * @memberof GatewayArtifactBase
203
+ */
204
+ sourceUri?: string | null;
205
+ /**
206
+ * Advisory upstream version id (git commit hash / tag); distinct from
207
+ * `version_label`. Absent when unset.
208
+ * @type {string}
209
+ * @memberof GatewayArtifactBase
210
+ */
211
+ sourceVersion?: string | null;
212
+ /**
213
+ * Value of the `updated_at` field.
214
+ * @type {string}
215
+ * @memberof GatewayArtifactBase
216
+ */
217
+ updatedAt: string;
218
+ /**
219
+ * Value of the `updated_by` field.
220
+ * @type {string}
221
+ * @memberof GatewayArtifactBase
222
+ */
223
+ updatedBy: string;
224
+ /**
225
+ * Optional human version selector (semver); absent when unset.
226
+ * @type {string}
227
+ * @memberof GatewayArtifactBase
228
+ */
229
+ versionLabel?: string | null;
230
+ /**
231
+ * Monotonic version coordinate within the artifact line.
232
+ * @type {number}
233
+ * @memberof GatewayArtifactBase
234
+ */
235
+ versionOrdinal: number;
236
+ /**
237
+ * `workspace_`-prefixed handle.
238
+ * @type {string}
239
+ * @memberof GatewayArtifactBase
240
+ */
241
+ workspaceId: string;
242
+ }
243
+ /**
244
+ * Check if a given object implements the GatewayArtifactBase interface.
245
+ */
246
+ export declare function instanceOfGatewayArtifactBase(value: object): value is GatewayArtifactBase;
247
+ export declare function GatewayArtifactBaseFromJSON(json: any): GatewayArtifactBase;
248
+ export declare function GatewayArtifactBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayArtifactBase;
249
+ export declare function GatewayArtifactBaseToJSON(json: any): GatewayArtifactBase;
250
+ export declare function GatewayArtifactBaseToJSONTyped(value?: GatewayArtifactBase | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGatewayArtifactBase = instanceOfGatewayArtifactBase;
17
+ exports.GatewayArtifactBaseFromJSON = GatewayArtifactBaseFromJSON;
18
+ exports.GatewayArtifactBaseFromJSONTyped = GatewayArtifactBaseFromJSONTyped;
19
+ exports.GatewayArtifactBaseToJSON = GatewayArtifactBaseToJSON;
20
+ exports.GatewayArtifactBaseToJSONTyped = GatewayArtifactBaseToJSONTyped;
21
+ const GatewayArtifactIdentityRevealView_1 = require("./GatewayArtifactIdentityRevealView");
22
+ /**
23
+ * Check if a given object implements the GatewayArtifactBase interface.
24
+ */
25
+ function instanceOfGatewayArtifactBase(value) {
26
+ if ((!('artifactStatus' in value) && !('artifact_status' in value)) || (value['artifactStatus'] === undefined && value['artifact_status'] === undefined))
27
+ return false;
28
+ if ((!('commitTs' in value) && !('commit_ts' in value)) || (value['commitTs'] === undefined && value['commit_ts'] === undefined))
29
+ return false;
30
+ if ((!('createdAt' in value) && !('created_at' in value)) || (value['createdAt'] === undefined && value['created_at'] === undefined))
31
+ return false;
32
+ if ((!('createdBy' in value) && !('created_by' in value)) || (value['createdBy'] === undefined && value['created_by'] === undefined))
33
+ return false;
34
+ if (!('id' in value) || value['id'] === undefined)
35
+ return false;
36
+ if ((!('isLatest' in value) && !('is_latest' in value)) || (value['isLatest'] === undefined && value['is_latest'] === undefined))
37
+ return false;
38
+ if (!('kind' in value) || value['kind'] === undefined)
39
+ return false;
40
+ if (!('name' in value) || value['name'] === undefined)
41
+ return false;
42
+ if ((!('sourceType' in value) && !('source_type' in value)) || (value['sourceType'] === undefined && value['source_type'] === undefined))
43
+ return false;
44
+ if ((!('updatedAt' in value) && !('updated_at' in value)) || (value['updatedAt'] === undefined && value['updated_at'] === undefined))
45
+ return false;
46
+ if ((!('updatedBy' in value) && !('updated_by' in value)) || (value['updatedBy'] === undefined && value['updated_by'] === undefined))
47
+ return false;
48
+ if ((!('versionOrdinal' in value) && !('version_ordinal' in value)) || (value['versionOrdinal'] === undefined && value['version_ordinal'] === undefined))
49
+ return false;
50
+ if ((!('workspaceId' in value) && !('workspace_id' in value)) || (value['workspaceId'] === undefined && value['workspace_id'] === undefined))
51
+ return false;
52
+ return true;
53
+ }
54
+ function GatewayArtifactBaseFromJSON(json) {
55
+ return GatewayArtifactBaseFromJSONTyped(json, false);
56
+ }
57
+ function GatewayArtifactBaseFromJSONTyped(json, ignoreDiscriminator) {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+ 'artifactStatus': json['artifact_status'],
63
+ 'commitTs': json['commit_ts'],
64
+ 'contentHashHex': json['content_hash_hex'] === undefined ? undefined : json['content_hash_hex'] === null ? null : json['content_hash_hex'],
65
+ 'createdAt': json['created_at'],
66
+ 'createdBy': json['created_by'],
67
+ 'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
68
+ 'displayName': json['display_name'] == null ? undefined : json['display_name'],
69
+ 'extension': json['extension'] == null ? undefined : json['extension'],
70
+ 'id': json['id'],
71
+ 'identity': json['identity'] === undefined ? undefined : json['identity'] === null ? null : (0, GatewayArtifactIdentityRevealView_1.GatewayArtifactIdentityRevealViewFromJSON)(json['identity']),
72
+ 'isLatest': json['is_latest'],
73
+ 'kind': json['kind'],
74
+ 'name': json['name'],
75
+ 'oidcClientId': json['oidc_client_id'] === undefined ? undefined : json['oidc_client_id'] === null ? null : json['oidc_client_id'],
76
+ 'ownerId': json['owner_id'] === undefined ? undefined : json['owner_id'] === null ? null : json['owner_id'],
77
+ 'projectId': json['project_id'] === undefined ? undefined : json['project_id'] === null ? null : json['project_id'],
78
+ 'repoId': json['repo_id'] === undefined ? undefined : json['repo_id'] === null ? null : json['repo_id'],
79
+ 'sourceCreatedAt': json['source_created_at'] === undefined ? undefined : json['source_created_at'] === null ? null : json['source_created_at'],
80
+ 'sourceCreatedBy': json['source_created_by'] === undefined ? undefined : json['source_created_by'] === null ? null : json['source_created_by'],
81
+ 'sourceDigest': json['source_digest'] === undefined ? undefined : json['source_digest'] === null ? null : json['source_digest'],
82
+ 'sourceId': json['source_id'] === undefined ? undefined : json['source_id'] === null ? null : json['source_id'],
83
+ 'sourceLastModifiedAt': json['source_last_modified_at'] === undefined ? undefined : json['source_last_modified_at'] === null ? null : json['source_last_modified_at'],
84
+ 'sourceLastModifiedBy': json['source_last_modified_by'] === undefined ? undefined : json['source_last_modified_by'] === null ? null : json['source_last_modified_by'],
85
+ 'sourceMetadata': json['source_metadata'] === undefined ? undefined : json['source_metadata'] === null ? null : json['source_metadata'],
86
+ 'sourceSyncedAt': json['source_synced_at'] === undefined ? undefined : json['source_synced_at'] === null ? null : json['source_synced_at'],
87
+ 'sourceType': json['source_type'],
88
+ 'sourceUri': json['source_uri'] === undefined ? undefined : json['source_uri'] === null ? null : json['source_uri'],
89
+ 'sourceVersion': json['source_version'] === undefined ? undefined : json['source_version'] === null ? null : json['source_version'],
90
+ 'updatedAt': json['updated_at'],
91
+ 'updatedBy': json['updated_by'],
92
+ 'versionLabel': json['version_label'] === undefined ? undefined : json['version_label'] === null ? null : json['version_label'],
93
+ 'versionOrdinal': json['version_ordinal'],
94
+ 'workspaceId': json['workspace_id'],
95
+ };
96
+ }
97
+ function GatewayArtifactBaseToJSON(json) {
98
+ return GatewayArtifactBaseToJSONTyped(json, false);
99
+ }
100
+ function GatewayArtifactBaseToJSONTyped(value, ignoreDiscriminator = false) {
101
+ if (value == null) {
102
+ return value;
103
+ }
104
+ return {
105
+ 'artifact_status': value['artifactStatus'],
106
+ 'commit_ts': value['commitTs'],
107
+ 'content_hash_hex': value['contentHashHex'],
108
+ 'created_at': value['createdAt'],
109
+ 'created_by': value['createdBy'],
110
+ 'description': value['description'],
111
+ 'display_name': value['displayName'],
112
+ 'extension': value['extension'],
113
+ 'id': value['id'],
114
+ 'identity': (0, GatewayArtifactIdentityRevealView_1.GatewayArtifactIdentityRevealViewToJSON)(value['identity']),
115
+ 'is_latest': value['isLatest'],
116
+ 'kind': value['kind'],
117
+ 'name': value['name'],
118
+ 'oidc_client_id': value['oidcClientId'],
119
+ 'owner_id': value['ownerId'],
120
+ 'project_id': value['projectId'],
121
+ 'repo_id': value['repoId'],
122
+ 'source_created_at': value['sourceCreatedAt'],
123
+ 'source_created_by': value['sourceCreatedBy'],
124
+ 'source_digest': value['sourceDigest'],
125
+ 'source_id': value['sourceId'],
126
+ 'source_last_modified_at': value['sourceLastModifiedAt'],
127
+ 'source_last_modified_by': value['sourceLastModifiedBy'],
128
+ 'source_metadata': value['sourceMetadata'],
129
+ 'source_synced_at': value['sourceSyncedAt'],
130
+ 'source_type': value['sourceType'],
131
+ 'source_uri': value['sourceUri'],
132
+ 'source_version': value['sourceVersion'],
133
+ 'updated_at': value['updatedAt'],
134
+ 'updated_by': value['updatedBy'],
135
+ 'version_label': value['versionLabel'],
136
+ 'version_ordinal': value['versionOrdinal'],
137
+ 'workspace_id': value['workspaceId'],
138
+ };
139
+ }
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Reveal-once credential material for an artifact's machine identity.
14
+ *
15
+ * Mirrors the service-account create reveal: the material surfaces **exactly once,
16
+ * on the create response** — never stored by the registry, never returned by any
17
+ * read, and (see the hand-written [`std::fmt::Debug`] below) never printed.
18
+ *
19
+ * Lives in the SDK rather than the registry because the SDK's typed client is what
20
+ * decodes it: a second definition would be a second thing to keep in step, and the
21
+ * one that drifted would be the one clients actually use. The registry re-exports
22
+ * it. Same reasoning as the relationship DTOs beside it.
23
+ * @export
24
+ * @interface GatewayArtifactIdentityRevealView
25
+ */
26
+ export interface GatewayArtifactIdentityRevealView {
27
+ /**
28
+ * The opaque API key. Capture it now; it is never returned again.
29
+ * @type {string}
30
+ * @memberof GatewayArtifactIdentityRevealView
31
+ */
32
+ apiKey?: string | null;
33
+ /**
34
+ * The Control-Plane OIDC client id backing this identity. Not secret.
35
+ * @type {string}
36
+ * @memberof GatewayArtifactIdentityRevealView
37
+ */
38
+ clientId: string;
39
+ /**
40
+ * The credential kind. Always `api_key` for an artifact identity — the
41
+ * stored-secret posture is deleted for artifacts.
42
+ * @type {string}
43
+ * @memberof GatewayArtifactIdentityRevealView
44
+ */
45
+ credentialKind: string;
46
+ /**
47
+ * The credential's expiry (RFC 3339), when the Control Plane TTLs it.
48
+ * @type {string}
49
+ * @memberof GatewayArtifactIdentityRevealView
50
+ */
51
+ expiresAt?: string | null;
52
+ }
53
+ /**
54
+ * Check if a given object implements the GatewayArtifactIdentityRevealView interface.
55
+ */
56
+ export declare function instanceOfGatewayArtifactIdentityRevealView(value: object): value is GatewayArtifactIdentityRevealView;
57
+ export declare function GatewayArtifactIdentityRevealViewFromJSON(json: any): GatewayArtifactIdentityRevealView;
58
+ export declare function GatewayArtifactIdentityRevealViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayArtifactIdentityRevealView;
59
+ export declare function GatewayArtifactIdentityRevealViewToJSON(json: any): GatewayArtifactIdentityRevealView;
60
+ export declare function GatewayArtifactIdentityRevealViewToJSONTyped(value?: GatewayArtifactIdentityRevealView | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGatewayArtifactIdentityRevealView = instanceOfGatewayArtifactIdentityRevealView;
17
+ exports.GatewayArtifactIdentityRevealViewFromJSON = GatewayArtifactIdentityRevealViewFromJSON;
18
+ exports.GatewayArtifactIdentityRevealViewFromJSONTyped = GatewayArtifactIdentityRevealViewFromJSONTyped;
19
+ exports.GatewayArtifactIdentityRevealViewToJSON = GatewayArtifactIdentityRevealViewToJSON;
20
+ exports.GatewayArtifactIdentityRevealViewToJSONTyped = GatewayArtifactIdentityRevealViewToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GatewayArtifactIdentityRevealView interface.
23
+ */
24
+ function instanceOfGatewayArtifactIdentityRevealView(value) {
25
+ if ((!('clientId' in value) && !('client_id' in value)) || (value['clientId'] === undefined && value['client_id'] === undefined))
26
+ return false;
27
+ if ((!('credentialKind' in value) && !('credential_kind' in value)) || (value['credentialKind'] === undefined && value['credential_kind'] === undefined))
28
+ return false;
29
+ return true;
30
+ }
31
+ function GatewayArtifactIdentityRevealViewFromJSON(json) {
32
+ return GatewayArtifactIdentityRevealViewFromJSONTyped(json, false);
33
+ }
34
+ function GatewayArtifactIdentityRevealViewFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'apiKey': json['api_key'] === undefined ? undefined : json['api_key'] === null ? null : json['api_key'],
40
+ 'clientId': json['client_id'],
41
+ 'credentialKind': json['credential_kind'],
42
+ 'expiresAt': json['expires_at'] === undefined ? undefined : json['expires_at'] === null ? null : json['expires_at'],
43
+ };
44
+ }
45
+ function GatewayArtifactIdentityRevealViewToJSON(json) {
46
+ return GatewayArtifactIdentityRevealViewToJSONTyped(json, false);
47
+ }
48
+ function GatewayArtifactIdentityRevealViewToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'api_key': value['apiKey'],
54
+ 'client_id': value['clientId'],
55
+ 'credential_kind': value['credentialKind'],
56
+ 'expires_at': value['expiresAt'],
57
+ };
58
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The window a list response was served under. `total` is the full count of
14
+ * matching rows, independent of `limit`/`offset`; a client has more rows to
15
+ * fetch when `offset + items.len() < total`.
16
+ * @export
17
+ * @interface GatewayPageMeta
18
+ */
19
+ export interface GatewayPageMeta {
20
+ /**
21
+ * Maximum number of items to return.
22
+ * @type {number}
23
+ * @memberof GatewayPageMeta
24
+ */
25
+ limit: number;
26
+ /**
27
+ * Number of items to skip before this page.
28
+ * @type {number}
29
+ * @memberof GatewayPageMeta
30
+ */
31
+ offset: number;
32
+ /**
33
+ * Value of the `total` field.
34
+ * @type {number}
35
+ * @memberof GatewayPageMeta
36
+ */
37
+ total: number;
38
+ }
39
+ /**
40
+ * Check if a given object implements the GatewayPageMeta interface.
41
+ */
42
+ export declare function instanceOfGatewayPageMeta(value: object): value is GatewayPageMeta;
43
+ export declare function GatewayPageMetaFromJSON(json: any): GatewayPageMeta;
44
+ export declare function GatewayPageMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayPageMeta;
45
+ export declare function GatewayPageMetaToJSON(json: any): GatewayPageMeta;
46
+ export declare function GatewayPageMetaToJSONTyped(value?: GatewayPageMeta | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGatewayPageMeta = instanceOfGatewayPageMeta;
17
+ exports.GatewayPageMetaFromJSON = GatewayPageMetaFromJSON;
18
+ exports.GatewayPageMetaFromJSONTyped = GatewayPageMetaFromJSONTyped;
19
+ exports.GatewayPageMetaToJSON = GatewayPageMetaToJSON;
20
+ exports.GatewayPageMetaToJSONTyped = GatewayPageMetaToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GatewayPageMeta interface.
23
+ */
24
+ function instanceOfGatewayPageMeta(value) {
25
+ if (!('limit' in value) || value['limit'] === undefined)
26
+ return false;
27
+ if (!('offset' in value) || value['offset'] === undefined)
28
+ return false;
29
+ if (!('total' in value) || value['total'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GatewayPageMetaFromJSON(json) {
34
+ return GatewayPageMetaFromJSONTyped(json, false);
35
+ }
36
+ function GatewayPageMetaFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'limit': json['limit'],
42
+ 'offset': json['offset'],
43
+ 'total': json['total'],
44
+ };
45
+ }
46
+ function GatewayPageMetaToJSON(json) {
47
+ return GatewayPageMetaToJSONTyped(json, false);
48
+ }
49
+ function GatewayPageMetaToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'limit': value['limit'],
55
+ 'offset': value['offset'],
56
+ 'total': value['total'],
57
+ };
58
+ }