shred-api-client 2.13.4 → 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 +57 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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;
|
|
@@ -4897,6 +4916,26 @@ declare const ScoreRecapSchema: z.ZodObject<{
|
|
|
4897
4916
|
max: number;
|
|
4898
4917
|
key: string;
|
|
4899
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
|
+
}>>;
|
|
4900
4939
|
}, "strip", z.ZodTypeAny, {
|
|
4901
4940
|
history: {
|
|
4902
4941
|
value: number;
|
|
@@ -4952,6 +4991,13 @@ declare const ScoreRecapSchema: z.ZodObject<{
|
|
|
4952
4991
|
}[];
|
|
4953
4992
|
previousPeriod?: string | undefined;
|
|
4954
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;
|
|
4955
5001
|
}, {
|
|
4956
5002
|
history: {
|
|
4957
5003
|
value: number;
|
|
@@ -5007,6 +5053,13 @@ declare const ScoreRecapSchema: z.ZodObject<{
|
|
|
5007
5053
|
}[];
|
|
5008
5054
|
previousPeriod?: string | undefined;
|
|
5009
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;
|
|
5010
5063
|
}>;
|
|
5011
5064
|
declare const ScoreGoalOptionSchema: z.ZodObject<{
|
|
5012
5065
|
key: z.ZodString;
|
|
@@ -5471,6 +5524,7 @@ type ScoreMetric = z.infer<typeof ScoreMetricSchema>;
|
|
|
5471
5524
|
type Score = z.infer<typeof ScoreSchema>;
|
|
5472
5525
|
type ScoreHistoryEntry = z.infer<typeof ScoreHistoryEntrySchema>;
|
|
5473
5526
|
type ScoreRecap = z.infer<typeof ScoreRecapSchema>;
|
|
5527
|
+
type ScoreMostShared = z.infer<typeof ScoreMostSharedSchema>;
|
|
5474
5528
|
type ScoreProgressMetric = z.infer<typeof ScoreProgressMetricSchema>;
|
|
5475
5529
|
type ScoreProjection = z.infer<typeof ScoreProjectionSchema>;
|
|
5476
5530
|
type ScoreProgress = z.infer<typeof ScoreProgressSchema>;
|
|
@@ -5525,6 +5579,8 @@ type index$3_ScoreMetric = ScoreMetric;
|
|
|
5525
5579
|
type index$3_ScoreMetricKey = ScoreMetricKey;
|
|
5526
5580
|
declare const index$3_ScoreMetricKeySchema: typeof ScoreMetricKeySchema;
|
|
5527
5581
|
declare const index$3_ScoreMetricSchema: typeof ScoreMetricSchema;
|
|
5582
|
+
type index$3_ScoreMostShared = ScoreMostShared;
|
|
5583
|
+
declare const index$3_ScoreMostSharedSchema: typeof ScoreMostSharedSchema;
|
|
5528
5584
|
type index$3_ScoreProgress = ScoreProgress;
|
|
5529
5585
|
type index$3_ScoreProgressMetric = ScoreProgressMetric;
|
|
5530
5586
|
declare const index$3_ScoreProgressMetricSchema: typeof ScoreProgressMetricSchema;
|
|
@@ -5534,7 +5590,7 @@ declare const index$3_ScoreProjectionSchema: typeof ScoreProjectionSchema;
|
|
|
5534
5590
|
declare const index$3_ScoreRecapSchema: typeof ScoreRecapSchema;
|
|
5535
5591
|
declare const index$3_ScoreSchema: typeof ScoreSchema;
|
|
5536
5592
|
declare namespace index$3 {
|
|
5537
|
-
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 };
|
|
5538
5594
|
}
|
|
5539
5595
|
|
|
5540
5596
|
/**
|
package/dist/index.js
CHANGED
|
@@ -6350,6 +6350,13 @@ 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. */
|
|
@@ -6358,7 +6365,9 @@ var ScoreRecapSchema = external_exports.object({
|
|
|
6358
6365
|
previousPeriod: external_exports.string().optional(),
|
|
6359
6366
|
nextPeriod: external_exports.string().optional(),
|
|
6360
6367
|
/** The whole score scale, lowest first. */
|
|
6361
|
-
bands: external_exports.array(ScoreBandSchema)
|
|
6368
|
+
bands: external_exports.array(ScoreBandSchema),
|
|
6369
|
+
/** Absent when nothing was downloaded or shared in the month. */
|
|
6370
|
+
mostShared: ScoreMostSharedSchema.optional()
|
|
6362
6371
|
});
|
|
6363
6372
|
var ScoreGoalOptionSchema = external_exports.object({
|
|
6364
6373
|
key: external_exports.string(),
|
|
@@ -7251,6 +7260,7 @@ __export(score_exports, {
|
|
|
7251
7260
|
ScoreHistoryEntrySchema: () => ScoreHistoryEntrySchema,
|
|
7252
7261
|
ScoreMetricKeySchema: () => ScoreMetricKeySchema,
|
|
7253
7262
|
ScoreMetricSchema: () => ScoreMetricSchema,
|
|
7263
|
+
ScoreMostSharedSchema: () => ScoreMostSharedSchema,
|
|
7254
7264
|
ScoreProgressMetricSchema: () => ScoreProgressMetricSchema,
|
|
7255
7265
|
ScoreProgressSchema: () => ScoreProgressSchema,
|
|
7256
7266
|
ScoreProjectionSchema: () => ScoreProjectionSchema,
|