shred-api-client 2.13.0 → 2.13.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.
package/dist/index.d.ts CHANGED
@@ -5072,10 +5072,50 @@ declare const ScoreProgressMetricSchema: z.ZodObject<{
5072
5072
  target: number;
5073
5073
  available: boolean;
5074
5074
  }>;
5075
+ declare const ScoreProjectionSchema: z.ZodObject<{
5076
+ value: z.ZodNumber;
5077
+ band: z.ZodOptional<z.ZodObject<{
5078
+ key: z.ZodString;
5079
+ label: z.ZodString;
5080
+ min: z.ZodNumber;
5081
+ max: z.ZodNumber;
5082
+ }, "strip", z.ZodTypeAny, {
5083
+ label: string;
5084
+ min: number;
5085
+ max: number;
5086
+ key: string;
5087
+ }, {
5088
+ label: string;
5089
+ min: number;
5090
+ max: number;
5091
+ key: string;
5092
+ }>>;
5093
+ }, "strip", z.ZodTypeAny, {
5094
+ value: number;
5095
+ band?: {
5096
+ label: string;
5097
+ min: number;
5098
+ max: number;
5099
+ key: string;
5100
+ } | undefined;
5101
+ }, {
5102
+ value: number;
5103
+ band?: {
5104
+ label: string;
5105
+ min: number;
5106
+ max: number;
5107
+ key: string;
5108
+ } | undefined;
5109
+ }>;
5075
5110
  declare const ScoreProgressSchema: z.ZodObject<{
5076
5111
  period: z.ZodString;
5077
5112
  periodLabel: z.ZodString;
5078
5113
  computedAt: z.ZodNumber;
5114
+ /** The day of the month in the customer's timezone. */
5115
+ day: z.ZodNumber;
5116
+ daysInMonth: z.ZodNumber;
5117
+ /** No closed month in `history` yet. */
5118
+ isFirstMonth: z.ZodBoolean;
5079
5119
  value: z.ZodNumber;
5080
5120
  hasData: z.ZodBoolean;
5081
5121
  band: z.ZodOptional<z.ZodObject<{
@@ -5094,6 +5134,42 @@ declare const ScoreProgressSchema: z.ZodObject<{
5094
5134
  max: number;
5095
5135
  key: string;
5096
5136
  }>>;
5137
+ /** Where the month closes at the pace so far. Absent early in the month, in the first month, or with nothing to measure. */
5138
+ projection: z.ZodOptional<z.ZodObject<{
5139
+ value: z.ZodNumber;
5140
+ band: z.ZodOptional<z.ZodObject<{
5141
+ key: z.ZodString;
5142
+ label: z.ZodString;
5143
+ min: z.ZodNumber;
5144
+ max: z.ZodNumber;
5145
+ }, "strip", z.ZodTypeAny, {
5146
+ label: string;
5147
+ min: number;
5148
+ max: number;
5149
+ key: string;
5150
+ }, {
5151
+ label: string;
5152
+ min: number;
5153
+ max: number;
5154
+ key: string;
5155
+ }>>;
5156
+ }, "strip", z.ZodTypeAny, {
5157
+ value: number;
5158
+ band?: {
5159
+ label: string;
5160
+ min: number;
5161
+ max: number;
5162
+ key: string;
5163
+ } | undefined;
5164
+ }, {
5165
+ value: number;
5166
+ band?: {
5167
+ label: string;
5168
+ min: number;
5169
+ max: number;
5170
+ key: string;
5171
+ } | undefined;
5172
+ }>>;
5097
5173
  metrics: z.ZodArray<z.ZodObject<{
5098
5174
  key: z.ZodString;
5099
5175
  value: z.ZodNumber;
@@ -5174,12 +5250,24 @@ declare const ScoreProgressSchema: z.ZodObject<{
5174
5250
  target: number;
5175
5251
  available: boolean;
5176
5252
  }[];
5253
+ day: number;
5254
+ daysInMonth: number;
5255
+ isFirstMonth: boolean;
5177
5256
  band?: {
5178
5257
  label: string;
5179
5258
  min: number;
5180
5259
  max: number;
5181
5260
  key: string;
5182
5261
  } | undefined;
5262
+ projection?: {
5263
+ value: number;
5264
+ band?: {
5265
+ label: string;
5266
+ min: number;
5267
+ max: number;
5268
+ key: string;
5269
+ } | undefined;
5270
+ } | undefined;
5183
5271
  }, {
5184
5272
  value: number;
5185
5273
  history: {
@@ -5203,12 +5291,24 @@ declare const ScoreProgressSchema: z.ZodObject<{
5203
5291
  target: number;
5204
5292
  available: boolean;
5205
5293
  }[];
5294
+ day: number;
5295
+ daysInMonth: number;
5296
+ isFirstMonth: boolean;
5206
5297
  band?: {
5207
5298
  label: string;
5208
5299
  min: number;
5209
5300
  max: number;
5210
5301
  key: string;
5211
5302
  } | undefined;
5303
+ projection?: {
5304
+ value: number;
5305
+ band?: {
5306
+ label: string;
5307
+ min: number;
5308
+ max: number;
5309
+ key: string;
5310
+ } | undefined;
5311
+ } | undefined;
5212
5312
  }>;
5213
5313
  type ScoreMetricKey = z.infer<typeof ScoreMetricKeySchema>;
5214
5314
  type ScoreBand = z.infer<typeof ScoreBandSchema>;
@@ -5217,6 +5317,7 @@ type Score = z.infer<typeof ScoreSchema>;
5217
5317
  type ScoreHistoryEntry = z.infer<typeof ScoreHistoryEntrySchema>;
5218
5318
  type ScoreRecap = z.infer<typeof ScoreRecapSchema>;
5219
5319
  type ScoreProgressMetric = z.infer<typeof ScoreProgressMetricSchema>;
5320
+ type ScoreProjection = z.infer<typeof ScoreProjectionSchema>;
5220
5321
  type ScoreProgress = z.infer<typeof ScoreProgressSchema>;
5221
5322
  type ScoreGoalOption = z.infer<typeof ScoreGoalOptionSchema>;
5222
5323
  type ScoreGoal = z.infer<typeof ScoreGoalSchema>;
@@ -5273,10 +5374,12 @@ type index$3_ScoreProgress = ScoreProgress;
5273
5374
  type index$3_ScoreProgressMetric = ScoreProgressMetric;
5274
5375
  declare const index$3_ScoreProgressMetricSchema: typeof ScoreProgressMetricSchema;
5275
5376
  declare const index$3_ScoreProgressSchema: typeof ScoreProgressSchema;
5377
+ type index$3_ScoreProjection = ScoreProjection;
5378
+ declare const index$3_ScoreProjectionSchema: typeof ScoreProjectionSchema;
5276
5379
  declare const index$3_ScoreRecapSchema: typeof ScoreRecapSchema;
5277
5380
  declare const index$3_ScoreSchema: typeof ScoreSchema;
5278
5381
  declare namespace index$3 {
5279
- export { Endpoints$1 as Endpoints, type ScoreRecap as Entity, type IAPI$1 as IAPI, type index$3_Score as Score, type index$3_ScoreBand as ScoreBand, index$3_ScoreBandSchema as ScoreBandSchema, type index$3_ScoreGoal as ScoreGoal, type index$3_ScoreGoalOption as ScoreGoalOption, index$3_ScoreGoalOptionSchema as ScoreGoalOptionSchema, index$3_ScoreGoalSchema as ScoreGoalSchema, type index$3_ScoreHistoryEntry as ScoreHistoryEntry, index$3_ScoreHistoryEntrySchema as ScoreHistoryEntrySchema, type index$3_ScoreMetric as ScoreMetric, type index$3_ScoreMetricKey as ScoreMetricKey, index$3_ScoreMetricKeySchema as ScoreMetricKeySchema, index$3_ScoreMetricSchema as ScoreMetricSchema, type index$3_ScoreProgress as ScoreProgress, type index$3_ScoreProgressMetric as ScoreProgressMetric, index$3_ScoreProgressMetricSchema as ScoreProgressMetricSchema, index$3_ScoreProgressSchema as ScoreProgressSchema, index$3_ScoreRecapSchema as ScoreRecapSchema, index$3_ScoreSchema as ScoreSchema };
5382
+ export { Endpoints$1 as Endpoints, type ScoreRecap as Entity, type IAPI$1 as IAPI, type index$3_Score as Score, type index$3_ScoreBand as ScoreBand, index$3_ScoreBandSchema as ScoreBandSchema, type index$3_ScoreGoal as ScoreGoal, type index$3_ScoreGoalOption as ScoreGoalOption, index$3_ScoreGoalOptionSchema as ScoreGoalOptionSchema, index$3_ScoreGoalSchema as ScoreGoalSchema, type index$3_ScoreHistoryEntry as ScoreHistoryEntry, index$3_ScoreHistoryEntrySchema as ScoreHistoryEntrySchema, type index$3_ScoreMetric as ScoreMetric, type index$3_ScoreMetricKey as ScoreMetricKey, index$3_ScoreMetricKeySchema as ScoreMetricKeySchema, index$3_ScoreMetricSchema as ScoreMetricSchema, type index$3_ScoreProgress as ScoreProgress, type index$3_ScoreProgressMetric as ScoreProgressMetric, index$3_ScoreProgressMetricSchema as ScoreProgressMetricSchema, index$3_ScoreProgressSchema as ScoreProgressSchema, type index$3_ScoreProjection as ScoreProjection, index$3_ScoreProjectionSchema as ScoreProjectionSchema, index$3_ScoreRecapSchema as ScoreRecapSchema, index$3_ScoreSchema as ScoreSchema };
5280
5383
  }
5281
5384
 
5282
5385
  /**
package/dist/index.js CHANGED
@@ -6382,13 +6382,24 @@ var ScoreProgressMetricSchema = external_exports.object({
6382
6382
  target: external_exports.number(),
6383
6383
  available: external_exports.boolean()
6384
6384
  });
6385
+ var ScoreProjectionSchema = external_exports.object({
6386
+ value: external_exports.number(),
6387
+ band: ScoreBandSchema.optional()
6388
+ });
6385
6389
  var ScoreProgressSchema = external_exports.object({
6386
6390
  period: external_exports.string(),
6387
6391
  periodLabel: external_exports.string(),
6388
6392
  computedAt: external_exports.number(),
6393
+ /** The day of the month in the customer's timezone. */
6394
+ day: external_exports.number(),
6395
+ daysInMonth: external_exports.number(),
6396
+ /** No closed month in `history` yet. */
6397
+ isFirstMonth: external_exports.boolean(),
6389
6398
  value: external_exports.number(),
6390
6399
  hasData: external_exports.boolean(),
6391
6400
  band: ScoreBandSchema.optional(),
6401
+ /** Where the month closes at the pace so far. Absent early in the month, in the first month, or with nothing to measure. */
6402
+ projection: ScoreProjectionSchema.optional(),
6392
6403
  metrics: external_exports.array(ScoreProgressMetricSchema),
6393
6404
  history: external_exports.array(ScoreHistoryEntrySchema)
6394
6405
  });
@@ -7243,6 +7254,7 @@ __export(score_exports, {
7243
7254
  ScoreMetricSchema: () => ScoreMetricSchema,
7244
7255
  ScoreProgressMetricSchema: () => ScoreProgressMetricSchema,
7245
7256
  ScoreProgressSchema: () => ScoreProgressSchema,
7257
+ ScoreProjectionSchema: () => ScoreProjectionSchema,
7246
7258
  ScoreRecapSchema: () => ScoreRecapSchema,
7247
7259
  ScoreSchema: () => ScoreSchema
7248
7260
  });