shred-api-client 2.12.1 → 2.12.2

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.
package/dist/index.d.ts CHANGED
@@ -5065,6 +5065,24 @@ declare const ScoreProgressSchema: z.ZodObject<{
5065
5065
  period: z.ZodString;
5066
5066
  periodLabel: z.ZodString;
5067
5067
  computedAt: z.ZodNumber;
5068
+ value: z.ZodNumber;
5069
+ hasData: z.ZodBoolean;
5070
+ band: z.ZodOptional<z.ZodObject<{
5071
+ key: z.ZodString;
5072
+ label: z.ZodString;
5073
+ min: z.ZodNumber;
5074
+ max: z.ZodNumber;
5075
+ }, "strip", z.ZodTypeAny, {
5076
+ label: string;
5077
+ min: number;
5078
+ max: number;
5079
+ key: string;
5080
+ }, {
5081
+ label: string;
5082
+ min: number;
5083
+ max: number;
5084
+ key: string;
5085
+ }>>;
5068
5086
  metrics: z.ZodArray<z.ZodObject<{
5069
5087
  key: z.ZodString;
5070
5088
  value: z.ZodNumber;
@@ -5081,7 +5099,61 @@ declare const ScoreProgressSchema: z.ZodObject<{
5081
5099
  target: number;
5082
5100
  available: boolean;
5083
5101
  }>, "many">;
5102
+ history: z.ZodArray<z.ZodObject<{
5103
+ period: z.ZodString;
5104
+ label: z.ZodString;
5105
+ value: z.ZodNumber;
5106
+ band: z.ZodOptional<z.ZodObject<{
5107
+ key: z.ZodString;
5108
+ label: z.ZodString;
5109
+ min: z.ZodNumber;
5110
+ max: z.ZodNumber;
5111
+ }, "strip", z.ZodTypeAny, {
5112
+ label: string;
5113
+ min: number;
5114
+ max: number;
5115
+ key: string;
5116
+ }, {
5117
+ label: string;
5118
+ min: number;
5119
+ max: number;
5120
+ key: string;
5121
+ }>>;
5122
+ }, "strip", z.ZodTypeAny, {
5123
+ value: number;
5124
+ label: string;
5125
+ period: string;
5126
+ band?: {
5127
+ label: string;
5128
+ min: number;
5129
+ max: number;
5130
+ key: string;
5131
+ } | undefined;
5132
+ }, {
5133
+ value: number;
5134
+ label: string;
5135
+ period: string;
5136
+ band?: {
5137
+ label: string;
5138
+ min: number;
5139
+ max: number;
5140
+ key: string;
5141
+ } | undefined;
5142
+ }>, "many">;
5084
5143
  }, "strip", z.ZodTypeAny, {
5144
+ value: number;
5145
+ history: {
5146
+ value: number;
5147
+ label: string;
5148
+ period: string;
5149
+ band?: {
5150
+ label: string;
5151
+ min: number;
5152
+ max: number;
5153
+ key: string;
5154
+ } | undefined;
5155
+ }[];
5156
+ hasData: boolean;
5085
5157
  period: string;
5086
5158
  periodLabel: string;
5087
5159
  computedAt: number;
@@ -5091,7 +5163,26 @@ declare const ScoreProgressSchema: z.ZodObject<{
5091
5163
  target: number;
5092
5164
  available: boolean;
5093
5165
  }[];
5166
+ band?: {
5167
+ label: string;
5168
+ min: number;
5169
+ max: number;
5170
+ key: string;
5171
+ } | undefined;
5094
5172
  }, {
5173
+ value: number;
5174
+ history: {
5175
+ value: number;
5176
+ label: string;
5177
+ period: string;
5178
+ band?: {
5179
+ label: string;
5180
+ min: number;
5181
+ max: number;
5182
+ key: string;
5183
+ } | undefined;
5184
+ }[];
5185
+ hasData: boolean;
5095
5186
  period: string;
5096
5187
  periodLabel: string;
5097
5188
  computedAt: number;
@@ -5101,6 +5192,12 @@ declare const ScoreProgressSchema: z.ZodObject<{
5101
5192
  target: number;
5102
5193
  available: boolean;
5103
5194
  }[];
5195
+ band?: {
5196
+ label: string;
5197
+ min: number;
5198
+ max: number;
5199
+ key: string;
5200
+ } | undefined;
5104
5201
  }>;
5105
5202
  type ScoreMetricKey = z.infer<typeof ScoreMetricKeySchema>;
5106
5203
  type ScoreBand = z.infer<typeof ScoreBandSchema>;
package/dist/index.js CHANGED
@@ -6373,7 +6373,11 @@ var ScoreProgressSchema = external_exports.object({
6373
6373
  period: external_exports.string(),
6374
6374
  periodLabel: external_exports.string(),
6375
6375
  computedAt: external_exports.number(),
6376
- metrics: external_exports.array(ScoreProgressMetricSchema)
6376
+ value: external_exports.number(),
6377
+ hasData: external_exports.boolean(),
6378
+ band: ScoreBandSchema.optional(),
6379
+ metrics: external_exports.array(ScoreProgressMetricSchema),
6380
+ history: external_exports.array(ScoreHistoryEntrySchema)
6377
6381
  });
6378
6382
 
6379
6383
  // src/api/Score.api.ts