shred-api-client 2.13.3 → 2.13.5

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
@@ -4669,6 +4669,25 @@ declare const ScoreHistoryEntrySchema: z.ZodObject<{
4669
4669
  key: string;
4670
4670
  } | undefined;
4671
4671
  }>;
4672
+ declare const ScoreMostSharedSchema: z.ZodObject<{
4673
+ projectId: z.ZodString;
4674
+ title: z.ZodString;
4675
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
4676
+ previewGifUrl: z.ZodOptional<z.ZodString>;
4677
+ shares: z.ZodNumber;
4678
+ }, "strip", z.ZodTypeAny, {
4679
+ title: string;
4680
+ projectId: string;
4681
+ shares: number;
4682
+ thumbnailUrl?: string | undefined;
4683
+ previewGifUrl?: string | undefined;
4684
+ }, {
4685
+ title: string;
4686
+ projectId: string;
4687
+ shares: number;
4688
+ thumbnailUrl?: string | undefined;
4689
+ previewGifUrl?: string | undefined;
4690
+ }>;
4672
4691
  declare const ScoreRecapSchema: z.ZodObject<{
4673
4692
  current: z.ZodObject<{
4674
4693
  value: z.ZodNumber;
@@ -4880,6 +4899,43 @@ declare const ScoreRecapSchema: z.ZodObject<{
4880
4899
  /** The neighbouring months that can be opened, taken from `history`. Absent at either edge. */
4881
4900
  previousPeriod: z.ZodOptional<z.ZodString>;
4882
4901
  nextPeriod: z.ZodOptional<z.ZodString>;
4902
+ /** The whole score scale, lowest first. */
4903
+ bands: z.ZodArray<z.ZodObject<{
4904
+ key: z.ZodString;
4905
+ label: z.ZodString;
4906
+ min: z.ZodNumber;
4907
+ max: z.ZodNumber;
4908
+ }, "strip", z.ZodTypeAny, {
4909
+ label: string;
4910
+ min: number;
4911
+ max: number;
4912
+ key: string;
4913
+ }, {
4914
+ label: string;
4915
+ min: number;
4916
+ max: number;
4917
+ key: string;
4918
+ }>, "many">;
4919
+ /** Absent when nothing was downloaded or shared in the month. */
4920
+ mostShared: z.ZodOptional<z.ZodObject<{
4921
+ projectId: z.ZodString;
4922
+ title: z.ZodString;
4923
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
4924
+ previewGifUrl: z.ZodOptional<z.ZodString>;
4925
+ shares: z.ZodNumber;
4926
+ }, "strip", z.ZodTypeAny, {
4927
+ title: string;
4928
+ projectId: string;
4929
+ shares: number;
4930
+ thumbnailUrl?: string | undefined;
4931
+ previewGifUrl?: string | undefined;
4932
+ }, {
4933
+ title: string;
4934
+ projectId: string;
4935
+ shares: number;
4936
+ thumbnailUrl?: string | undefined;
4937
+ previewGifUrl?: string | undefined;
4938
+ }>>;
4883
4939
  }, "strip", z.ZodTypeAny, {
4884
4940
  history: {
4885
4941
  value: number;
@@ -4927,8 +4983,21 @@ declare const ScoreRecapSchema: z.ZodObject<{
4927
4983
  pointsToNextBand?: number | undefined;
4928
4984
  trend?: number | undefined;
4929
4985
  };
4986
+ bands: {
4987
+ label: string;
4988
+ min: number;
4989
+ max: number;
4990
+ key: string;
4991
+ }[];
4930
4992
  previousPeriod?: string | undefined;
4931
4993
  nextPeriod?: string | undefined;
4994
+ mostShared?: {
4995
+ title: string;
4996
+ projectId: string;
4997
+ shares: number;
4998
+ thumbnailUrl?: string | undefined;
4999
+ previewGifUrl?: string | undefined;
5000
+ } | undefined;
4932
5001
  }, {
4933
5002
  history: {
4934
5003
  value: number;
@@ -4976,8 +5045,21 @@ declare const ScoreRecapSchema: z.ZodObject<{
4976
5045
  pointsToNextBand?: number | undefined;
4977
5046
  trend?: number | undefined;
4978
5047
  };
5048
+ bands: {
5049
+ label: string;
5050
+ min: number;
5051
+ max: number;
5052
+ key: string;
5053
+ }[];
4979
5054
  previousPeriod?: string | undefined;
4980
5055
  nextPeriod?: string | undefined;
5056
+ mostShared?: {
5057
+ title: string;
5058
+ projectId: string;
5059
+ shares: number;
5060
+ thumbnailUrl?: string | undefined;
5061
+ previewGifUrl?: string | undefined;
5062
+ } | undefined;
4981
5063
  }>;
4982
5064
  declare const ScoreGoalOptionSchema: z.ZodObject<{
4983
5065
  key: z.ZodString;
@@ -5442,6 +5524,7 @@ type ScoreMetric = z.infer<typeof ScoreMetricSchema>;
5442
5524
  type Score = z.infer<typeof ScoreSchema>;
5443
5525
  type ScoreHistoryEntry = z.infer<typeof ScoreHistoryEntrySchema>;
5444
5526
  type ScoreRecap = z.infer<typeof ScoreRecapSchema>;
5527
+ type ScoreMostShared = z.infer<typeof ScoreMostSharedSchema>;
5445
5528
  type ScoreProgressMetric = z.infer<typeof ScoreProgressMetricSchema>;
5446
5529
  type ScoreProjection = z.infer<typeof ScoreProjectionSchema>;
5447
5530
  type ScoreProgress = z.infer<typeof ScoreProgressSchema>;
@@ -5496,6 +5579,8 @@ type index$3_ScoreMetric = ScoreMetric;
5496
5579
  type index$3_ScoreMetricKey = ScoreMetricKey;
5497
5580
  declare const index$3_ScoreMetricKeySchema: typeof ScoreMetricKeySchema;
5498
5581
  declare const index$3_ScoreMetricSchema: typeof ScoreMetricSchema;
5582
+ type index$3_ScoreMostShared = ScoreMostShared;
5583
+ declare const index$3_ScoreMostSharedSchema: typeof ScoreMostSharedSchema;
5499
5584
  type index$3_ScoreProgress = ScoreProgress;
5500
5585
  type index$3_ScoreProgressMetric = ScoreProgressMetric;
5501
5586
  declare const index$3_ScoreProgressMetricSchema: typeof ScoreProgressMetricSchema;
@@ -5505,7 +5590,7 @@ declare const index$3_ScoreProjectionSchema: typeof ScoreProjectionSchema;
5505
5590
  declare const index$3_ScoreRecapSchema: typeof ScoreRecapSchema;
5506
5591
  declare const index$3_ScoreSchema: typeof ScoreSchema;
5507
5592
  declare namespace index$3 {
5508
- 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 };
5593
+ 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_ScoreMostShared as ScoreMostShared, index$3_ScoreMostSharedSchema as ScoreMostSharedSchema, 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 };
5509
5594
  }
5510
5595
 
5511
5596
  /**
package/dist/index.js CHANGED
@@ -6350,13 +6350,24 @@ var ScoreHistoryEntrySchema = external_exports.object({
6350
6350
  value: external_exports.number(),
6351
6351
  band: ScoreBandSchema.optional()
6352
6352
  });
6353
+ var ScoreMostSharedSchema = external_exports.object({
6354
+ projectId: external_exports.string(),
6355
+ title: external_exports.string(),
6356
+ thumbnailUrl: external_exports.string().optional(),
6357
+ previewGifUrl: external_exports.string().optional(),
6358
+ shares: external_exports.number()
6359
+ });
6353
6360
  var ScoreRecapSchema = external_exports.object({
6354
6361
  current: ScoreSchema,
6355
6362
  /** Oldest first. Months before the customer's first project are absent, not zero. */
6356
6363
  history: external_exports.array(ScoreHistoryEntrySchema),
6357
6364
  /** The neighbouring months that can be opened, taken from `history`. Absent at either edge. */
6358
6365
  previousPeriod: external_exports.string().optional(),
6359
- nextPeriod: external_exports.string().optional()
6366
+ nextPeriod: external_exports.string().optional(),
6367
+ /** The whole score scale, lowest first. */
6368
+ bands: external_exports.array(ScoreBandSchema),
6369
+ /** Absent when nothing was downloaded or shared in the month. */
6370
+ mostShared: ScoreMostSharedSchema.optional()
6360
6371
  });
6361
6372
  var ScoreGoalOptionSchema = external_exports.object({
6362
6373
  key: external_exports.string(),
@@ -7249,6 +7260,7 @@ __export(score_exports, {
7249
7260
  ScoreHistoryEntrySchema: () => ScoreHistoryEntrySchema,
7250
7261
  ScoreMetricKeySchema: () => ScoreMetricKeySchema,
7251
7262
  ScoreMetricSchema: () => ScoreMetricSchema,
7263
+ ScoreMostSharedSchema: () => ScoreMostSharedSchema,
7252
7264
  ScoreProgressMetricSchema: () => ScoreProgressMetricSchema,
7253
7265
  ScoreProgressSchema: () => ScoreProgressSchema,
7254
7266
  ScoreProjectionSchema: () => ScoreProjectionSchema,