shred-api-client 2.10.6 → 2.11.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 +874 -189
- package/dist/index.js +133 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -197,7 +197,7 @@ type Context = {
|
|
|
197
197
|
requestId?: string;
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
-
interface IAPI$
|
|
200
|
+
interface IAPI$f {
|
|
201
201
|
getPrompt: (c: Context) => Promise<Prompt>;
|
|
202
202
|
addScript: (c: Context, script: Partial<Script>) => Promise<Script>;
|
|
203
203
|
deleteScript: (c: Context, id: string) => Promise<boolean>;
|
|
@@ -205,7 +205,7 @@ interface IAPI$e {
|
|
|
205
205
|
generateScript: (c: Context, data: ScriptIARequest) => Promise<string>;
|
|
206
206
|
updateScript: (c: Context, id: string, script: Partial<Script>) => Promise<boolean>;
|
|
207
207
|
}
|
|
208
|
-
declare const Endpoints$
|
|
208
|
+
declare const Endpoints$e: {
|
|
209
209
|
GetPrompt: {
|
|
210
210
|
uri: string;
|
|
211
211
|
method: string;
|
|
@@ -232,15 +232,15 @@ declare const Endpoints$d: {
|
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
234
|
|
|
235
|
-
type index$
|
|
236
|
-
declare const index$
|
|
237
|
-
declare const index$
|
|
238
|
-
type index$
|
|
239
|
-
type index$
|
|
240
|
-
declare const index$
|
|
241
|
-
declare const index$
|
|
242
|
-
declare namespace index$
|
|
243
|
-
export { type index$
|
|
235
|
+
type index$h_Category = Category;
|
|
236
|
+
declare const index$h_CategorySchema: typeof CategorySchema;
|
|
237
|
+
declare const index$h_PromptSchema: typeof PromptSchema;
|
|
238
|
+
type index$h_Script = Script;
|
|
239
|
+
type index$h_ScriptIARequest = ScriptIARequest;
|
|
240
|
+
declare const index$h_ScriptIARequestSchema: typeof ScriptIARequestSchema;
|
|
241
|
+
declare const index$h_ScriptSchema: typeof ScriptSchema;
|
|
242
|
+
declare namespace index$h {
|
|
243
|
+
export { type index$h_Category as Category, index$h_CategorySchema as CategorySchema, Endpoints$e as Endpoints, type Prompt as Entity, type IAPI$f as IAPI, index$h_PromptSchema as PromptSchema, type index$h_Script as Script, type index$h_ScriptIARequest as ScriptIARequest, index$h_ScriptIARequestSchema as ScriptIARequestSchema, index$h_ScriptSchema as ScriptSchema };
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
declare enum Type {
|
|
@@ -595,7 +595,7 @@ type Plan = z.infer<typeof PlanSchema>;
|
|
|
595
595
|
type Product = z.infer<typeof ProductSchema>;
|
|
596
596
|
type PromoCode = z.infer<typeof PromoCodeSchema>;
|
|
597
597
|
|
|
598
|
-
interface IAPI$
|
|
598
|
+
interface IAPI$e {
|
|
599
599
|
getCharges: (ctx: Context) => Promise<Charge[]>;
|
|
600
600
|
getPortalUrl: (ctx: Context) => Promise<string>;
|
|
601
601
|
getSubscription: (context: Context, userId?: string) => Promise<Subscription | null>;
|
|
@@ -609,7 +609,7 @@ interface IAPI$d {
|
|
|
609
609
|
getSubscriptionsSummary: (ctx: Context) => Promise<SubscriptionSummary[]>;
|
|
610
610
|
listPromoCodes: (ctx: Context) => Promise<PromoCode[]>;
|
|
611
611
|
}
|
|
612
|
-
declare const Endpoints$
|
|
612
|
+
declare const Endpoints$d: {
|
|
613
613
|
GetPortal: {
|
|
614
614
|
uri: string;
|
|
615
615
|
method: string;
|
|
@@ -668,19 +668,19 @@ declare const Endpoints$c: {
|
|
|
668
668
|
};
|
|
669
669
|
};
|
|
670
670
|
|
|
671
|
-
type index$
|
|
672
|
-
declare const index$
|
|
673
|
-
type index$
|
|
674
|
-
declare const index$
|
|
675
|
-
type index$
|
|
676
|
-
declare const index$
|
|
677
|
-
type index$
|
|
678
|
-
declare const index$
|
|
679
|
-
declare const index$
|
|
680
|
-
type index$
|
|
681
|
-
declare const index$
|
|
682
|
-
declare namespace index$
|
|
683
|
-
export { type index$
|
|
671
|
+
type index$g_Charge = Charge;
|
|
672
|
+
declare const index$g_ChargeSchema: typeof ChargeSchema;
|
|
673
|
+
type index$g_Plan = Plan;
|
|
674
|
+
declare const index$g_PlanSchema: typeof PlanSchema;
|
|
675
|
+
type index$g_Product = Product;
|
|
676
|
+
declare const index$g_ProductSchema: typeof ProductSchema;
|
|
677
|
+
type index$g_PromoCode = PromoCode;
|
|
678
|
+
declare const index$g_SubscriptionSchema: typeof SubscriptionSchema;
|
|
679
|
+
declare const index$g_SubscriptionTypeSchema: typeof SubscriptionTypeSchema;
|
|
680
|
+
type index$g_Type = Type;
|
|
681
|
+
declare const index$g_Type: typeof Type;
|
|
682
|
+
declare namespace index$g {
|
|
683
|
+
export { type index$g_Charge as Charge, index$g_ChargeSchema as ChargeSchema, Endpoints$d as Endpoints, type Subscription as Entity, type IAPI$e as IAPI, type index$g_Plan as Plan, index$g_PlanSchema as PlanSchema, type index$g_Product as Product, index$g_ProductSchema as ProductSchema, type index$g_PromoCode as PromoCode, index$g_SubscriptionSchema as SubscriptionSchema, index$g_SubscriptionTypeSchema as SubscriptionTypeSchema, type SubscriptionSummary as Summary, index$g_Type as Type };
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
declare enum Role$1 {
|
|
@@ -873,16 +873,16 @@ type APIResponse<T> = {
|
|
|
873
873
|
perPage?: number;
|
|
874
874
|
};
|
|
875
875
|
|
|
876
|
-
type index$
|
|
877
|
-
type index$
|
|
878
|
-
type index$
|
|
879
|
-
type index$
|
|
880
|
-
type index$
|
|
881
|
-
declare namespace index$
|
|
882
|
-
export type { index$
|
|
876
|
+
type index$f_APIResponse<T> = APIResponse<T>;
|
|
877
|
+
type index$f_QueryFilterOp = QueryFilterOp;
|
|
878
|
+
type index$f_QueryOptions<T> = QueryOptions<T>;
|
|
879
|
+
type index$f_QueryOrderBy<T> = QueryOrderBy<T>;
|
|
880
|
+
type index$f_QueryWhere<T> = QueryWhere<T>;
|
|
881
|
+
declare namespace index$f {
|
|
882
|
+
export type { index$f_APIResponse as APIResponse, index$f_QueryFilterOp as QueryFilterOp, index$f_QueryOptions as QueryOptions, index$f_QueryOrderBy as QueryOrderBy, index$f_QueryWhere as QueryWhere };
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
interface IAPI$
|
|
885
|
+
interface IAPI$d {
|
|
886
886
|
getUserInfo: (context: Context) => Promise<User>;
|
|
887
887
|
isEmailAvaliable: (email: string) => Promise<boolean>;
|
|
888
888
|
sendValidationCode: (email: string) => Promise<boolean>;
|
|
@@ -899,7 +899,7 @@ interface IAPI$c {
|
|
|
899
899
|
search: (ctx: Context, query: QueryOptions<User>) => Promise<APIResponse<User>>;
|
|
900
900
|
createUser: (data: Create$2) => Promise<User>;
|
|
901
901
|
}
|
|
902
|
-
declare const Endpoints$
|
|
902
|
+
declare const Endpoints$c: {
|
|
903
903
|
ChangeEmail: {
|
|
904
904
|
uri: string;
|
|
905
905
|
method: string;
|
|
@@ -966,11 +966,11 @@ declare const Endpoints$b: {
|
|
|
966
966
|
};
|
|
967
967
|
};
|
|
968
968
|
|
|
969
|
-
type index$
|
|
970
|
-
declare const index$
|
|
971
|
-
declare const index$
|
|
972
|
-
declare namespace index$
|
|
973
|
-
export { type Create$2 as Create, Endpoints$
|
|
969
|
+
type index$e_System = System;
|
|
970
|
+
declare const index$e_System: typeof System;
|
|
971
|
+
declare const index$e_UserSchema: typeof UserSchema;
|
|
972
|
+
declare namespace index$e {
|
|
973
|
+
export { type Create$2 as Create, Endpoints$c as Endpoints, type User as Entity, type IAPI$d as IAPI, type Preferences$1 as Preferences, PreferencesSchema$1 as PreferencesSchema, Role$1 as Role, index$e_System as System, type Update$2 as Update, index$e_UserSchema as UserSchema };
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
declare const PreferencesSchema: z.ZodObject<{
|
|
@@ -1710,7 +1710,7 @@ type Tenant = z.infer<typeof TenantSchema>;
|
|
|
1710
1710
|
type Member = z.infer<typeof MemberSchema>;
|
|
1711
1711
|
type Preferences = z.infer<typeof PreferencesSchema>;
|
|
1712
1712
|
|
|
1713
|
-
interface IAPI$
|
|
1713
|
+
interface IAPI$c {
|
|
1714
1714
|
getByInviteCode: (code: string, context?: Context) => Promise<Tenant | null>;
|
|
1715
1715
|
create: (tenant: Tenant, context: Context) => Promise<boolean>;
|
|
1716
1716
|
list: (context: Context) => Promise<Tenant[]>;
|
|
@@ -1719,7 +1719,7 @@ interface IAPI$b {
|
|
|
1719
1719
|
update: (tenantId: string, data: TenantUpdate, context: Context) => Promise<boolean>;
|
|
1720
1720
|
updateMembers: (tenantId: string, memberUpdate: MemberUpdate, context: Context) => Promise<boolean>;
|
|
1721
1721
|
}
|
|
1722
|
-
declare const Endpoints$
|
|
1722
|
+
declare const Endpoints$b: {
|
|
1723
1723
|
GetByInviteCode: {
|
|
1724
1724
|
uri: string;
|
|
1725
1725
|
method: string;
|
|
@@ -1754,17 +1754,17 @@ declare const Endpoints$a: {
|
|
|
1754
1754
|
};
|
|
1755
1755
|
};
|
|
1756
1756
|
|
|
1757
|
-
type index$
|
|
1758
|
-
declare const index$
|
|
1759
|
-
type index$
|
|
1760
|
-
declare const index$
|
|
1761
|
-
type index$
|
|
1762
|
-
declare const index$
|
|
1763
|
-
declare const index$
|
|
1764
|
-
type index$
|
|
1765
|
-
declare const index$
|
|
1766
|
-
declare namespace index$
|
|
1767
|
-
export { Action$1 as Action, Endpoints$
|
|
1757
|
+
type index$d_Member = Member;
|
|
1758
|
+
declare const index$d_MemberSchema: typeof MemberSchema;
|
|
1759
|
+
type index$d_MemberUpdate = MemberUpdate;
|
|
1760
|
+
declare const index$d_MemberUpdateSchema: typeof MemberUpdateSchema;
|
|
1761
|
+
type index$d_Preferences = Preferences;
|
|
1762
|
+
declare const index$d_PreferencesSchema: typeof PreferencesSchema;
|
|
1763
|
+
declare const index$d_TenantSchema: typeof TenantSchema;
|
|
1764
|
+
type index$d_TenantUpdate = TenantUpdate;
|
|
1765
|
+
declare const index$d_TenantUpdateSchema: typeof TenantUpdateSchema;
|
|
1766
|
+
declare namespace index$d {
|
|
1767
|
+
export { Action$1 as Action, Endpoints$b as Endpoints, type Tenant as Entity, type IAPI$c as IAPI, type index$d_Member as Member, index$d_MemberSchema as MemberSchema, type index$d_MemberUpdate as MemberUpdate, index$d_MemberUpdateSchema as MemberUpdateSchema, type index$d_Preferences as Preferences, index$d_PreferencesSchema as PreferencesSchema, index$d_TenantSchema as TenantSchema, type index$d_TenantUpdate as TenantUpdate, index$d_TenantUpdateSchema as TenantUpdateSchema };
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
1770
|
declare const TrackParamSchema: z.ZodObject<{
|
|
@@ -1811,21 +1811,21 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
1811
1811
|
type Track = z.infer<typeof TrackSchema>;
|
|
1812
1812
|
type TrackParam = z.infer<typeof TrackParamSchema>;
|
|
1813
1813
|
|
|
1814
|
-
interface IAPI$
|
|
1814
|
+
interface IAPI$b {
|
|
1815
1815
|
send: (t: Track) => Promise<boolean>;
|
|
1816
1816
|
}
|
|
1817
|
-
declare const Endpoints$
|
|
1817
|
+
declare const Endpoints$a: {
|
|
1818
1818
|
Track: {
|
|
1819
1819
|
uri: string;
|
|
1820
1820
|
method: string;
|
|
1821
1821
|
};
|
|
1822
1822
|
};
|
|
1823
1823
|
|
|
1824
|
-
type index$
|
|
1825
|
-
declare const index$
|
|
1826
|
-
declare const index$
|
|
1827
|
-
declare namespace index$
|
|
1828
|
-
export { Endpoints$
|
|
1824
|
+
type index$c_TrackParam = TrackParam;
|
|
1825
|
+
declare const index$c_TrackParamSchema: typeof TrackParamSchema;
|
|
1826
|
+
declare const index$c_TrackSchema: typeof TrackSchema;
|
|
1827
|
+
declare namespace index$c {
|
|
1828
|
+
export { Endpoints$a as Endpoints, type Track as Entity, type IAPI$b as IAPI, type index$c_TrackParam as TrackParam, index$c_TrackParamSchema as TrackParamSchema, index$c_TrackSchema as TrackSchema };
|
|
1829
1829
|
}
|
|
1830
1830
|
|
|
1831
1831
|
declare const EmailSchema: z.ZodObject<{
|
|
@@ -1843,19 +1843,19 @@ declare const EmailSchema: z.ZodObject<{
|
|
|
1843
1843
|
}>;
|
|
1844
1844
|
type Email = z.infer<typeof EmailSchema>;
|
|
1845
1845
|
|
|
1846
|
-
interface IAPI$
|
|
1846
|
+
interface IAPI$a {
|
|
1847
1847
|
send: (email: Email, ctx?: Context) => Promise<boolean>;
|
|
1848
1848
|
}
|
|
1849
|
-
declare const Endpoints$
|
|
1849
|
+
declare const Endpoints$9: {
|
|
1850
1850
|
SendEmail: {
|
|
1851
1851
|
uri: string;
|
|
1852
1852
|
method: string;
|
|
1853
1853
|
};
|
|
1854
1854
|
};
|
|
1855
1855
|
|
|
1856
|
-
declare const index$
|
|
1857
|
-
declare namespace index$
|
|
1858
|
-
export { index$
|
|
1856
|
+
declare const index$b_EmailSchema: typeof EmailSchema;
|
|
1857
|
+
declare namespace index$b {
|
|
1858
|
+
export { index$b_EmailSchema as EmailSchema, Endpoints$9 as Endpoints, type Email as Entity, type IAPI$a as IAPI };
|
|
1859
1859
|
}
|
|
1860
1860
|
|
|
1861
1861
|
declare enum Status$1 {
|
|
@@ -2261,7 +2261,7 @@ type Feedback = z.infer<typeof FeedbackSchema>;
|
|
|
2261
2261
|
type Rating = z.infer<typeof RatingSchema>;
|
|
2262
2262
|
type RatingInput = Pick<Rating, "score" | "tags" | "comment">;
|
|
2263
2263
|
|
|
2264
|
-
interface IAPI$
|
|
2264
|
+
interface IAPI$9 {
|
|
2265
2265
|
/** Single-use credential for the SSE stream, which cannot carry a header. */
|
|
2266
2266
|
streamTicket: (context: Context) => Promise<string>;
|
|
2267
2267
|
reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
|
|
@@ -2289,7 +2289,7 @@ interface IAPI$8 {
|
|
|
2289
2289
|
isEligibleForFreeProject(context: Context): Promise<boolean>;
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
|
-
declare const Endpoints$
|
|
2292
|
+
declare const Endpoints$8: {
|
|
2293
2293
|
Reorder: {
|
|
2294
2294
|
uri: string;
|
|
2295
2295
|
method: string;
|
|
@@ -2420,33 +2420,33 @@ type StatusConfigType = {
|
|
|
2420
2420
|
};
|
|
2421
2421
|
declare const StatusConfig: Record<Status$1, StatusConfigType>;
|
|
2422
2422
|
|
|
2423
|
-
type index$
|
|
2424
|
-
type index$
|
|
2425
|
-
declare const index$
|
|
2426
|
-
type index$
|
|
2427
|
-
declare const index$
|
|
2428
|
-
type index$
|
|
2429
|
-
declare const index$
|
|
2430
|
-
type index$
|
|
2431
|
-
declare const index$
|
|
2432
|
-
type index$
|
|
2433
|
-
declare const index$
|
|
2434
|
-
type index$
|
|
2435
|
-
type index$
|
|
2436
|
-
declare const index$
|
|
2437
|
-
type index$
|
|
2438
|
-
declare const index$
|
|
2439
|
-
type index$
|
|
2440
|
-
declare const index$
|
|
2441
|
-
type index$
|
|
2442
|
-
type index$
|
|
2443
|
-
declare const index$
|
|
2444
|
-
type index$
|
|
2445
|
-
declare const index$
|
|
2446
|
-
type index$
|
|
2447
|
-
declare const index$
|
|
2448
|
-
declare namespace index$
|
|
2449
|
-
export { type index$
|
|
2423
|
+
type index$a_Approve = Approve;
|
|
2424
|
+
type index$a_CaptionStyle = CaptionStyle;
|
|
2425
|
+
declare const index$a_CaptionStyle: typeof CaptionStyle;
|
|
2426
|
+
type index$a_Feedback = Feedback;
|
|
2427
|
+
declare const index$a_FeedbackSchema: typeof FeedbackSchema;
|
|
2428
|
+
type index$a_Interaction = Interaction;
|
|
2429
|
+
declare const index$a_InteractionSchema: typeof InteractionSchema;
|
|
2430
|
+
type index$a_InteractionType = InteractionType;
|
|
2431
|
+
declare const index$a_InteractionType: typeof InteractionType;
|
|
2432
|
+
type index$a_ProjectCreation = ProjectCreation;
|
|
2433
|
+
declare const index$a_ProjectSchema: typeof ProjectSchema;
|
|
2434
|
+
type index$a_Rating = Rating;
|
|
2435
|
+
type index$a_RatingInput = RatingInput;
|
|
2436
|
+
declare const index$a_RatingSchema: typeof RatingSchema;
|
|
2437
|
+
type index$a_RatingTag = RatingTag;
|
|
2438
|
+
declare const index$a_RatingTag: typeof RatingTag;
|
|
2439
|
+
type index$a_SendToApproval = SendToApproval;
|
|
2440
|
+
declare const index$a_StatusConfig: typeof StatusConfig;
|
|
2441
|
+
type index$a_StatusConfigType = StatusConfigType;
|
|
2442
|
+
type index$a_StreamTicket = StreamTicket;
|
|
2443
|
+
declare const index$a_StreamTicketSchema: typeof StreamTicketSchema;
|
|
2444
|
+
type index$a_Style = Style;
|
|
2445
|
+
declare const index$a_Styles: typeof Styles;
|
|
2446
|
+
type index$a_TimelineItem = TimelineItem;
|
|
2447
|
+
declare const index$a_TimelineItemSchema: typeof TimelineItemSchema;
|
|
2448
|
+
declare namespace index$a {
|
|
2449
|
+
export { type index$a_Approve as Approve, index$a_CaptionStyle as CaptionStyle, Endpoints$8 as Endpoints, type Project as Entity, type index$a_Feedback as Feedback, index$a_FeedbackSchema as FeedbackSchema, type IAPI$9 as IAPI, type index$a_Interaction as Interaction, index$a_InteractionSchema as InteractionSchema, index$a_InteractionType as InteractionType, type index$a_ProjectCreation as ProjectCreation, index$a_ProjectSchema as ProjectSchema, type index$a_Rating as Rating, type index$a_RatingInput as RatingInput, index$a_RatingSchema as RatingSchema, index$a_RatingTag as RatingTag, type index$a_SendToApproval as SendToApproval, Status$1 as Status, index$a_StatusConfig as StatusConfig, type index$a_StatusConfigType as StatusConfigType, type index$a_StreamTicket as StreamTicket, index$a_StreamTicketSchema as StreamTicketSchema, type index$a_Style as Style, index$a_Styles as Styles, type index$a_TimelineItem as TimelineItem, index$a_TimelineItemSchema as TimelineItemSchema };
|
|
2450
2450
|
}
|
|
2451
2451
|
|
|
2452
2452
|
declare const DailyMilestoneSchema: z.ZodObject<{
|
|
@@ -2518,11 +2518,11 @@ declare const GoalSchema: z.ZodObject<{
|
|
|
2518
2518
|
type DailyMilestone = z.infer<typeof DailyMilestoneSchema>;
|
|
2519
2519
|
type Goal = z.infer<typeof GoalSchema>;
|
|
2520
2520
|
|
|
2521
|
-
interface IAPI$
|
|
2521
|
+
interface IAPI$8 {
|
|
2522
2522
|
getGoals: (context: Context) => Promise<Goal[]>;
|
|
2523
2523
|
getEditorGoals: (context: Context, editorId: string) => Promise<Goal[]>;
|
|
2524
2524
|
}
|
|
2525
|
-
declare const Endpoints$
|
|
2525
|
+
declare const Endpoints$7: {
|
|
2526
2526
|
GetGoals: {
|
|
2527
2527
|
uri: string;
|
|
2528
2528
|
method: string;
|
|
@@ -2533,11 +2533,11 @@ declare const Endpoints$6: {
|
|
|
2533
2533
|
};
|
|
2534
2534
|
};
|
|
2535
2535
|
|
|
2536
|
-
type index$
|
|
2537
|
-
declare const index$
|
|
2538
|
-
declare const index$
|
|
2539
|
-
declare namespace index$
|
|
2540
|
-
export { type index$
|
|
2536
|
+
type index$9_DailyMilestone = DailyMilestone;
|
|
2537
|
+
declare const index$9_DailyMilestoneSchema: typeof DailyMilestoneSchema;
|
|
2538
|
+
declare const index$9_GoalSchema: typeof GoalSchema;
|
|
2539
|
+
declare namespace index$9 {
|
|
2540
|
+
export { type index$9_DailyMilestone as DailyMilestone, index$9_DailyMilestoneSchema as DailyMilestoneSchema, Endpoints$7 as Endpoints, type Goal as Entity, index$9_GoalSchema as GoalSchema, type IAPI$8 as IAPI };
|
|
2541
2541
|
}
|
|
2542
2542
|
|
|
2543
2543
|
declare const EditorSchema: z.ZodObject<{
|
|
@@ -2570,11 +2570,11 @@ declare const EditorSchema: z.ZodObject<{
|
|
|
2570
2570
|
}>;
|
|
2571
2571
|
type Editor = z.infer<typeof EditorSchema>;
|
|
2572
2572
|
|
|
2573
|
-
interface IAPI$
|
|
2573
|
+
interface IAPI$7 {
|
|
2574
2574
|
getAll(context: Context): Promise<Editor[]>;
|
|
2575
2575
|
getById(context: Context, editorId: string): Promise<Editor>;
|
|
2576
2576
|
}
|
|
2577
|
-
declare const Endpoints$
|
|
2577
|
+
declare const Endpoints$6: {
|
|
2578
2578
|
GetAll: {
|
|
2579
2579
|
uri: string;
|
|
2580
2580
|
method: string;
|
|
@@ -2585,9 +2585,9 @@ declare const Endpoints$5: {
|
|
|
2585
2585
|
};
|
|
2586
2586
|
};
|
|
2587
2587
|
|
|
2588
|
-
declare const index$
|
|
2589
|
-
declare namespace index$
|
|
2590
|
-
export { index$
|
|
2588
|
+
declare const index$8_EditorSchema: typeof EditorSchema;
|
|
2589
|
+
declare namespace index$8 {
|
|
2590
|
+
export { index$8_EditorSchema as EditorSchema, Endpoints$6 as Endpoints, type Editor as Entity, type IAPI$7 as IAPI };
|
|
2591
2591
|
}
|
|
2592
2592
|
|
|
2593
2593
|
declare enum Frequency {
|
|
@@ -3088,7 +3088,7 @@ type RecurrenceRule = z.infer<typeof RecurrenceRuleSchema>;
|
|
|
3088
3088
|
type History = z.infer<typeof HistorySchema>;
|
|
3089
3089
|
type Criteria = z.infer<typeof CriteriaSchema>;
|
|
3090
3090
|
|
|
3091
|
-
interface IAPI$
|
|
3091
|
+
interface IAPI$6 {
|
|
3092
3092
|
getTriggers: (ctx: Context) => Promise<APIResponse<Trigger>>;
|
|
3093
3093
|
createTrigger: (ctx: Context, t: Trigger) => Promise<Trigger>;
|
|
3094
3094
|
deleteTrigger: (ctx: Context, triggerId: string) => Promise<boolean>;
|
|
@@ -3098,7 +3098,7 @@ interface IAPI$5 {
|
|
|
3098
3098
|
markAsRead: (ctx: Context, id: string) => Promise<boolean>;
|
|
3099
3099
|
clearNotifications: (ctx: Context) => Promise<boolean>;
|
|
3100
3100
|
}
|
|
3101
|
-
declare const Endpoints$
|
|
3101
|
+
declare const Endpoints$5: {
|
|
3102
3102
|
Create: {
|
|
3103
3103
|
uri: string;
|
|
3104
3104
|
method: string;
|
|
@@ -3133,35 +3133,35 @@ declare const Endpoints$4: {
|
|
|
3133
3133
|
};
|
|
3134
3134
|
};
|
|
3135
3135
|
|
|
3136
|
-
type index$
|
|
3137
|
-
declare const index$
|
|
3138
|
-
type index$
|
|
3139
|
-
declare const index$
|
|
3140
|
-
type index$
|
|
3141
|
-
declare const index$
|
|
3142
|
-
type index$
|
|
3143
|
-
declare const index$
|
|
3144
|
-
type index$
|
|
3145
|
-
declare const index$
|
|
3146
|
-
type index$
|
|
3147
|
-
declare const index$
|
|
3148
|
-
type index$
|
|
3149
|
-
declare const index$
|
|
3150
|
-
type index$
|
|
3151
|
-
declare const index$
|
|
3152
|
-
type index$
|
|
3153
|
-
declare const index$
|
|
3154
|
-
type index$
|
|
3155
|
-
declare const index$
|
|
3156
|
-
type index$
|
|
3157
|
-
declare const index$
|
|
3158
|
-
type index$
|
|
3159
|
-
declare const index$
|
|
3160
|
-
declare namespace index$
|
|
3161
|
-
export { type index$
|
|
3136
|
+
type index$7_Criteria = Criteria;
|
|
3137
|
+
declare const index$7_CriteriaSchema: typeof CriteriaSchema;
|
|
3138
|
+
type index$7_CriteriaType = CriteriaType;
|
|
3139
|
+
declare const index$7_CriteriaType: typeof CriteriaType;
|
|
3140
|
+
type index$7_Frequency = Frequency;
|
|
3141
|
+
declare const index$7_Frequency: typeof Frequency;
|
|
3142
|
+
type index$7_History = History;
|
|
3143
|
+
declare const index$7_HistorySchema: typeof HistorySchema;
|
|
3144
|
+
type index$7_NotificationDetail = NotificationDetail;
|
|
3145
|
+
declare const index$7_NotificationDetailSchema: typeof NotificationDetailSchema;
|
|
3146
|
+
type index$7_NotificationItem = NotificationItem;
|
|
3147
|
+
declare const index$7_NotificationItemSchema: typeof NotificationItemSchema;
|
|
3148
|
+
type index$7_NotificationType = NotificationType;
|
|
3149
|
+
declare const index$7_NotificationType: typeof NotificationType;
|
|
3150
|
+
type index$7_RecurrenceRule = RecurrenceRule;
|
|
3151
|
+
declare const index$7_RecurrenceRuleSchema: typeof RecurrenceRuleSchema;
|
|
3152
|
+
type index$7_Status = Status;
|
|
3153
|
+
declare const index$7_Status: typeof Status;
|
|
3154
|
+
type index$7_TransportType = TransportType;
|
|
3155
|
+
declare const index$7_TransportType: typeof TransportType;
|
|
3156
|
+
type index$7_Trigger = Trigger;
|
|
3157
|
+
declare const index$7_TriggerSchema: typeof TriggerSchema;
|
|
3158
|
+
type index$7_WeekDay = WeekDay;
|
|
3159
|
+
declare const index$7_WeekDay: typeof WeekDay;
|
|
3160
|
+
declare namespace index$7 {
|
|
3161
|
+
export { type index$7_Criteria as Criteria, index$7_CriteriaSchema as CriteriaSchema, index$7_CriteriaType as CriteriaType, Endpoints$5 as Endpoints, index$7_Frequency as Frequency, type index$7_History as History, index$7_HistorySchema as HistorySchema, type IAPI$6 as IAPI, type index$7_NotificationDetail as NotificationDetail, index$7_NotificationDetailSchema as NotificationDetailSchema, type index$7_NotificationItem as NotificationItem, index$7_NotificationItemSchema as NotificationItemSchema, index$7_NotificationType as NotificationType, type index$7_RecurrenceRule as RecurrenceRule, index$7_RecurrenceRuleSchema as RecurrenceRuleSchema, index$7_Status as Status, index$7_TransportType as TransportType, type index$7_Trigger as Trigger, index$7_TriggerSchema as TriggerSchema, index$7_WeekDay as WeekDay };
|
|
3162
3162
|
}
|
|
3163
3163
|
|
|
3164
|
-
interface IAPI$
|
|
3164
|
+
interface IAPI$5 {
|
|
3165
3165
|
version: () => Promise<string>;
|
|
3166
3166
|
}
|
|
3167
3167
|
|
|
@@ -3305,13 +3305,13 @@ declare const NoteSchema: z.ZodObject<{
|
|
|
3305
3305
|
type Note = z.infer<typeof NoteSchema>;
|
|
3306
3306
|
type NoteHistory = z.infer<typeof NoteHistorySchema>;
|
|
3307
3307
|
|
|
3308
|
-
interface IAPI$
|
|
3308
|
+
interface IAPI$4 {
|
|
3309
3309
|
list: (c: Context, userId: string) => Promise<Note[]>;
|
|
3310
3310
|
add: (c: Context, note: Partial<Note>) => Promise<Note>;
|
|
3311
3311
|
update: (c: Context, id: string, script: Partial<Note>) => Promise<Note>;
|
|
3312
3312
|
delete: (c: Context, id: string) => Promise<boolean>;
|
|
3313
3313
|
}
|
|
3314
|
-
declare const Endpoints$
|
|
3314
|
+
declare const Endpoints$4: {
|
|
3315
3315
|
GetNotes: {
|
|
3316
3316
|
uri: string;
|
|
3317
3317
|
method: string;
|
|
@@ -3330,11 +3330,11 @@ declare const Endpoints$3: {
|
|
|
3330
3330
|
};
|
|
3331
3331
|
};
|
|
3332
3332
|
|
|
3333
|
-
type index$
|
|
3334
|
-
declare const index$
|
|
3335
|
-
declare const index$
|
|
3336
|
-
declare namespace index$
|
|
3337
|
-
export { Endpoints$
|
|
3333
|
+
type index$6_NoteHistory = NoteHistory;
|
|
3334
|
+
declare const index$6_NoteHistorySchema: typeof NoteHistorySchema;
|
|
3335
|
+
declare const index$6_NoteSchema: typeof NoteSchema;
|
|
3336
|
+
declare namespace index$6 {
|
|
3337
|
+
export { Endpoints$4 as Endpoints, type Note as Entity, type IAPI$4 as IAPI, type index$6_NoteHistory as NoteHistory, index$6_NoteHistorySchema as NoteHistorySchema, index$6_NoteSchema as NoteSchema };
|
|
3338
3338
|
}
|
|
3339
3339
|
|
|
3340
3340
|
declare const SpecialOfferSchema: z.ZodObject<{
|
|
@@ -3451,7 +3451,7 @@ type UserOfferDetails = z.infer<typeof UserOfferDetailsSchema>;
|
|
|
3451
3451
|
type Create$1 = z.infer<typeof CreateSpecialOfferSchema>;
|
|
3452
3452
|
type Update$1 = z.infer<typeof UpdateSpecialOfferSchema>;
|
|
3453
3453
|
|
|
3454
|
-
interface IAPI$
|
|
3454
|
+
interface IAPI$3 {
|
|
3455
3455
|
list: (ctx: Context) => Promise<SpecialOffer[]>;
|
|
3456
3456
|
getActive: (ctx: Context) => Promise<SpecialOffer[]>;
|
|
3457
3457
|
create: (ctx: Context, data: Create$1) => Promise<SpecialOffer>;
|
|
@@ -3461,7 +3461,7 @@ interface IAPI$2 {
|
|
|
3461
3461
|
getMyOffer: (ctx: Context) => Promise<UserOfferDetails | null>;
|
|
3462
3462
|
claim: (ctx: Context, callbackUrl?: string) => Promise<string>;
|
|
3463
3463
|
}
|
|
3464
|
-
declare const Endpoints$
|
|
3464
|
+
declare const Endpoints$3: {
|
|
3465
3465
|
List: {
|
|
3466
3466
|
uri: string;
|
|
3467
3467
|
method: string;
|
|
@@ -3496,13 +3496,13 @@ declare const Endpoints$2: {
|
|
|
3496
3496
|
};
|
|
3497
3497
|
};
|
|
3498
3498
|
|
|
3499
|
-
declare const index$
|
|
3500
|
-
declare const index$
|
|
3501
|
-
declare const index$
|
|
3502
|
-
type index$
|
|
3503
|
-
declare const index$
|
|
3504
|
-
declare namespace index$
|
|
3505
|
-
export { type Create$1 as Create, index$
|
|
3499
|
+
declare const index$5_CreateSpecialOfferSchema: typeof CreateSpecialOfferSchema;
|
|
3500
|
+
declare const index$5_SpecialOfferSchema: typeof SpecialOfferSchema;
|
|
3501
|
+
declare const index$5_UpdateSpecialOfferSchema: typeof UpdateSpecialOfferSchema;
|
|
3502
|
+
type index$5_UserOfferDetails = UserOfferDetails;
|
|
3503
|
+
declare const index$5_UserOfferDetailsSchema: typeof UserOfferDetailsSchema;
|
|
3504
|
+
declare namespace index$5 {
|
|
3505
|
+
export { type Create$1 as Create, index$5_CreateSpecialOfferSchema as CreateSpecialOfferSchema, Endpoints$3 as Endpoints, type SpecialOffer as Entity, type IAPI$3 as IAPI, index$5_SpecialOfferSchema as SpecialOfferSchema, type Update$1 as Update, index$5_UpdateSpecialOfferSchema as UpdateSpecialOfferSchema, type index$5_UserOfferDetails as UserOfferDetails, index$5_UserOfferDetailsSchema as UserOfferDetailsSchema };
|
|
3506
3506
|
}
|
|
3507
3507
|
|
|
3508
3508
|
/**
|
|
@@ -4165,7 +4165,60 @@ declare const SetShredUSessionRecordingSchema: z.ZodObject<{
|
|
|
4165
4165
|
recordingDurationSeconds: number;
|
|
4166
4166
|
recordingThumbnailUrl?: string | undefined;
|
|
4167
4167
|
}>;
|
|
4168
|
+
declare const ShredUStageRuleSchema: z.ZodObject<{
|
|
4169
|
+
id: z.ZodString;
|
|
4170
|
+
label: z.ZodString;
|
|
4171
|
+
/** How long before the session starts this goes out. 0 means at start. */
|
|
4172
|
+
leadMs: z.ZodNumber;
|
|
4173
|
+
transport: z.ZodNativeEnum<typeof TransportType>;
|
|
4174
|
+
}, "strip", z.ZodTypeAny, {
|
|
4175
|
+
id: string;
|
|
4176
|
+
label: string;
|
|
4177
|
+
leadMs: number;
|
|
4178
|
+
transport: TransportType;
|
|
4179
|
+
}, {
|
|
4180
|
+
id: string;
|
|
4181
|
+
label: string;
|
|
4182
|
+
leadMs: number;
|
|
4183
|
+
transport: TransportType;
|
|
4184
|
+
}>;
|
|
4185
|
+
declare const ShredUDispatchRulesSchema: z.ZodObject<{
|
|
4186
|
+
/** Furthest ahead first, the order they fire in. */
|
|
4187
|
+
stages: z.ZodArray<z.ZodObject<{
|
|
4188
|
+
id: z.ZodString;
|
|
4189
|
+
label: z.ZodString;
|
|
4190
|
+
/** How long before the session starts this goes out. 0 means at start. */
|
|
4191
|
+
leadMs: z.ZodNumber;
|
|
4192
|
+
transport: z.ZodNativeEnum<typeof TransportType>;
|
|
4193
|
+
}, "strip", z.ZodTypeAny, {
|
|
4194
|
+
id: string;
|
|
4195
|
+
label: string;
|
|
4196
|
+
leadMs: number;
|
|
4197
|
+
transport: TransportType;
|
|
4198
|
+
}, {
|
|
4199
|
+
id: string;
|
|
4200
|
+
label: string;
|
|
4201
|
+
leadMs: number;
|
|
4202
|
+
transport: TransportType;
|
|
4203
|
+
}>, "many">;
|
|
4204
|
+
}, "strip", z.ZodTypeAny, {
|
|
4205
|
+
stages: {
|
|
4206
|
+
id: string;
|
|
4207
|
+
label: string;
|
|
4208
|
+
leadMs: number;
|
|
4209
|
+
transport: TransportType;
|
|
4210
|
+
}[];
|
|
4211
|
+
}, {
|
|
4212
|
+
stages: {
|
|
4213
|
+
id: string;
|
|
4214
|
+
label: string;
|
|
4215
|
+
leadMs: number;
|
|
4216
|
+
transport: TransportType;
|
|
4217
|
+
}[];
|
|
4218
|
+
}>;
|
|
4168
4219
|
type SessionAsset = z.infer<typeof SessionAssetSchema>;
|
|
4220
|
+
type ShredUStageRule = z.infer<typeof ShredUStageRuleSchema>;
|
|
4221
|
+
type ShredUDispatchRules = z.infer<typeof ShredUDispatchRulesSchema>;
|
|
4169
4222
|
type Brief = z.infer<typeof ShredUBriefSchema>;
|
|
4170
4223
|
type ShredUSessionStatus = z.infer<typeof ShredUSessionStatusSchema>;
|
|
4171
4224
|
type ShredUSession = z.infer<typeof ShredUSessionSchema>;
|
|
@@ -4176,7 +4229,7 @@ type Update = z.infer<typeof UpdateShredUSessionSchema>;
|
|
|
4176
4229
|
type SetRecording = z.infer<typeof SetShredUSessionRecordingSchema>;
|
|
4177
4230
|
type PreviewEmail = z.infer<typeof PreviewShredUEmailSchema>;
|
|
4178
4231
|
|
|
4179
|
-
interface IAPI$
|
|
4232
|
+
interface IAPI$2 {
|
|
4180
4233
|
list: (ctx: Context) => Promise<ShredUSession[]>;
|
|
4181
4234
|
getUpcoming: (ctx: Context) => Promise<ShredUSessionCustomer[]>;
|
|
4182
4235
|
getLibrary: (ctx: Context) => Promise<ShredUSessionCustomer[]>;
|
|
@@ -4187,8 +4240,10 @@ interface IAPI$1 {
|
|
|
4187
4240
|
cancel: (ctx: Context, id: string) => Promise<void>;
|
|
4188
4241
|
setRecording: (ctx: Context, id: string, data: SetRecording) => Promise<void>;
|
|
4189
4242
|
previewEmail: (ctx: Context, data: PreviewEmail) => Promise<void>;
|
|
4243
|
+
/** The lead times the dispatch job runs on. Static: fetch once, not per keystroke. */
|
|
4244
|
+
getDispatchRules: (ctx: Context) => Promise<ShredUDispatchRules>;
|
|
4190
4245
|
}
|
|
4191
|
-
declare const Endpoints$
|
|
4246
|
+
declare const Endpoints$2: {
|
|
4192
4247
|
List: {
|
|
4193
4248
|
uri: string;
|
|
4194
4249
|
method: string;
|
|
@@ -4229,30 +4284,659 @@ declare const Endpoints$1: {
|
|
|
4229
4284
|
uri: string;
|
|
4230
4285
|
method: string;
|
|
4231
4286
|
};
|
|
4287
|
+
GetDispatchRules: {
|
|
4288
|
+
uri: string;
|
|
4289
|
+
method: string;
|
|
4290
|
+
};
|
|
4291
|
+
};
|
|
4292
|
+
|
|
4293
|
+
type index$4_Brief = Brief;
|
|
4294
|
+
type index$4_Create = Create;
|
|
4295
|
+
declare const index$4_CreateShredUBriefSchema: typeof CreateShredUBriefSchema;
|
|
4296
|
+
declare const index$4_CreateShredUSessionSchema: typeof CreateShredUSessionSchema;
|
|
4297
|
+
type index$4_Join = Join;
|
|
4298
|
+
type index$4_PreviewEmail = PreviewEmail;
|
|
4299
|
+
declare const index$4_PreviewShredUEmailSchema: typeof PreviewShredUEmailSchema;
|
|
4300
|
+
type index$4_SessionAsset = SessionAsset;
|
|
4301
|
+
declare const index$4_SessionAssetSchema: typeof SessionAssetSchema;
|
|
4302
|
+
type index$4_SetRecording = SetRecording;
|
|
4303
|
+
declare const index$4_SetShredUSessionRecordingSchema: typeof SetShredUSessionRecordingSchema;
|
|
4304
|
+
declare const index$4_ShredUBriefSchema: typeof ShredUBriefSchema;
|
|
4305
|
+
type index$4_ShredUDispatchRules = ShredUDispatchRules;
|
|
4306
|
+
declare const index$4_ShredUDispatchRulesSchema: typeof ShredUDispatchRulesSchema;
|
|
4307
|
+
declare const index$4_ShredUJoinSchema: typeof ShredUJoinSchema;
|
|
4308
|
+
type index$4_ShredUSessionCustomer = ShredUSessionCustomer;
|
|
4309
|
+
declare const index$4_ShredUSessionCustomerSchema: typeof ShredUSessionCustomerSchema;
|
|
4310
|
+
declare const index$4_ShredUSessionSchema: typeof ShredUSessionSchema;
|
|
4311
|
+
type index$4_ShredUSessionStatus = ShredUSessionStatus;
|
|
4312
|
+
declare const index$4_ShredUSessionStatusSchema: typeof ShredUSessionStatusSchema;
|
|
4313
|
+
type index$4_ShredUStageRule = ShredUStageRule;
|
|
4314
|
+
declare const index$4_ShredUStageRuleSchema: typeof ShredUStageRuleSchema;
|
|
4315
|
+
type index$4_Update = Update;
|
|
4316
|
+
declare const index$4_UpdateShredUSessionSchema: typeof UpdateShredUSessionSchema;
|
|
4317
|
+
declare namespace index$4 {
|
|
4318
|
+
export { type index$4_Brief as Brief, type index$4_Create as Create, index$4_CreateShredUBriefSchema as CreateShredUBriefSchema, index$4_CreateShredUSessionSchema as CreateShredUSessionSchema, Endpoints$2 as Endpoints, type ShredUSession as Entity, type IAPI$2 as IAPI, type index$4_Join as Join, type index$4_PreviewEmail as PreviewEmail, index$4_PreviewShredUEmailSchema as PreviewShredUEmailSchema, type index$4_SessionAsset as SessionAsset, index$4_SessionAssetSchema as SessionAssetSchema, type index$4_SetRecording as SetRecording, index$4_SetShredUSessionRecordingSchema as SetShredUSessionRecordingSchema, index$4_ShredUBriefSchema as ShredUBriefSchema, type index$4_ShredUDispatchRules as ShredUDispatchRules, index$4_ShredUDispatchRulesSchema as ShredUDispatchRulesSchema, index$4_ShredUJoinSchema as ShredUJoinSchema, type index$4_ShredUSessionCustomer as ShredUSessionCustomer, index$4_ShredUSessionCustomerSchema as ShredUSessionCustomerSchema, index$4_ShredUSessionSchema as ShredUSessionSchema, type index$4_ShredUSessionStatus as ShredUSessionStatus, index$4_ShredUSessionStatusSchema as ShredUSessionStatusSchema, type index$4_ShredUStageRule as ShredUStageRule, index$4_ShredUStageRuleSchema as ShredUStageRuleSchema, type index$4_Update as Update, index$4_UpdateShredUSessionSchema as UpdateShredUSessionSchema };
|
|
4319
|
+
}
|
|
4320
|
+
|
|
4321
|
+
/** The metrics served today. The list grows, so it never gates parsing — see ScoreMetricSchema. */
|
|
4322
|
+
declare const ScoreMetricKeySchema: z.ZodEnum<["submissions", "interactions", "attendance"]>;
|
|
4323
|
+
/** A labelled range over 0-100. Serves both the overall bands and the per-metric ratings. */
|
|
4324
|
+
declare const ScoreBandSchema: z.ZodObject<{
|
|
4325
|
+
key: z.ZodString;
|
|
4326
|
+
label: z.ZodString;
|
|
4327
|
+
min: z.ZodNumber;
|
|
4328
|
+
max: z.ZodNumber;
|
|
4329
|
+
}, "strip", z.ZodTypeAny, {
|
|
4330
|
+
label: string;
|
|
4331
|
+
min: number;
|
|
4332
|
+
max: number;
|
|
4333
|
+
key: string;
|
|
4334
|
+
}, {
|
|
4335
|
+
label: string;
|
|
4336
|
+
min: number;
|
|
4337
|
+
max: number;
|
|
4338
|
+
key: string;
|
|
4339
|
+
}>;
|
|
4340
|
+
declare const ScoreMetricSchema: z.ZodObject<{
|
|
4341
|
+
/**
|
|
4342
|
+
* Deliberately not the enum: a metric added API-side must not break a client that
|
|
4343
|
+
* predates it. Render the array generically and switch on ScoreMetricKey only where
|
|
4344
|
+
* a known metric needs special treatment.
|
|
4345
|
+
*/
|
|
4346
|
+
key: z.ZodString;
|
|
4347
|
+
/** The share this metric actually carried, after unavailable ones were left out. */
|
|
4348
|
+
weight: z.ZodNumber;
|
|
4349
|
+
value: z.ZodNumber;
|
|
4350
|
+
target: z.ZodNumber;
|
|
4351
|
+
ratio: z.ZodNumber;
|
|
4352
|
+
available: z.ZodBoolean;
|
|
4353
|
+
rating: z.ZodOptional<z.ZodObject<{
|
|
4354
|
+
key: z.ZodString;
|
|
4355
|
+
label: z.ZodString;
|
|
4356
|
+
min: z.ZodNumber;
|
|
4357
|
+
max: z.ZodNumber;
|
|
4358
|
+
}, "strip", z.ZodTypeAny, {
|
|
4359
|
+
label: string;
|
|
4360
|
+
min: number;
|
|
4361
|
+
max: number;
|
|
4362
|
+
key: string;
|
|
4363
|
+
}, {
|
|
4364
|
+
label: string;
|
|
4365
|
+
min: number;
|
|
4366
|
+
max: number;
|
|
4367
|
+
key: string;
|
|
4368
|
+
}>>;
|
|
4369
|
+
}, "strip", z.ZodTypeAny, {
|
|
4370
|
+
value: number;
|
|
4371
|
+
key: string;
|
|
4372
|
+
target: number;
|
|
4373
|
+
weight: number;
|
|
4374
|
+
ratio: number;
|
|
4375
|
+
available: boolean;
|
|
4376
|
+
rating?: {
|
|
4377
|
+
label: string;
|
|
4378
|
+
min: number;
|
|
4379
|
+
max: number;
|
|
4380
|
+
key: string;
|
|
4381
|
+
} | undefined;
|
|
4382
|
+
}, {
|
|
4383
|
+
value: number;
|
|
4384
|
+
key: string;
|
|
4385
|
+
target: number;
|
|
4386
|
+
weight: number;
|
|
4387
|
+
ratio: number;
|
|
4388
|
+
available: boolean;
|
|
4389
|
+
rating?: {
|
|
4390
|
+
label: string;
|
|
4391
|
+
min: number;
|
|
4392
|
+
max: number;
|
|
4393
|
+
key: string;
|
|
4394
|
+
} | undefined;
|
|
4395
|
+
}>;
|
|
4396
|
+
declare const ScoreSchema: z.ZodObject<{
|
|
4397
|
+
value: z.ZodNumber;
|
|
4398
|
+
hasData: z.ZodBoolean;
|
|
4399
|
+
period: z.ZodString;
|
|
4400
|
+
periodLabel: z.ZodString;
|
|
4401
|
+
band: z.ZodOptional<z.ZodObject<{
|
|
4402
|
+
key: z.ZodString;
|
|
4403
|
+
label: z.ZodString;
|
|
4404
|
+
min: z.ZodNumber;
|
|
4405
|
+
max: z.ZodNumber;
|
|
4406
|
+
}, "strip", z.ZodTypeAny, {
|
|
4407
|
+
label: string;
|
|
4408
|
+
min: number;
|
|
4409
|
+
max: number;
|
|
4410
|
+
key: string;
|
|
4411
|
+
}, {
|
|
4412
|
+
label: string;
|
|
4413
|
+
min: number;
|
|
4414
|
+
max: number;
|
|
4415
|
+
key: string;
|
|
4416
|
+
}>>;
|
|
4417
|
+
nextBand: z.ZodOptional<z.ZodObject<{
|
|
4418
|
+
key: z.ZodString;
|
|
4419
|
+
label: z.ZodString;
|
|
4420
|
+
min: z.ZodNumber;
|
|
4421
|
+
max: z.ZodNumber;
|
|
4422
|
+
}, "strip", z.ZodTypeAny, {
|
|
4423
|
+
label: string;
|
|
4424
|
+
min: number;
|
|
4425
|
+
max: number;
|
|
4426
|
+
key: string;
|
|
4427
|
+
}, {
|
|
4428
|
+
label: string;
|
|
4429
|
+
min: number;
|
|
4430
|
+
max: number;
|
|
4431
|
+
key: string;
|
|
4432
|
+
}>>;
|
|
4433
|
+
pointsToNextBand: z.ZodOptional<z.ZodNumber>;
|
|
4434
|
+
trend: z.ZodOptional<z.ZodNumber>;
|
|
4435
|
+
computedAt: z.ZodNumber;
|
|
4436
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
4437
|
+
/**
|
|
4438
|
+
* Deliberately not the enum: a metric added API-side must not break a client that
|
|
4439
|
+
* predates it. Render the array generically and switch on ScoreMetricKey only where
|
|
4440
|
+
* a known metric needs special treatment.
|
|
4441
|
+
*/
|
|
4442
|
+
key: z.ZodString;
|
|
4443
|
+
/** The share this metric actually carried, after unavailable ones were left out. */
|
|
4444
|
+
weight: z.ZodNumber;
|
|
4445
|
+
value: z.ZodNumber;
|
|
4446
|
+
target: z.ZodNumber;
|
|
4447
|
+
ratio: z.ZodNumber;
|
|
4448
|
+
available: z.ZodBoolean;
|
|
4449
|
+
rating: z.ZodOptional<z.ZodObject<{
|
|
4450
|
+
key: z.ZodString;
|
|
4451
|
+
label: z.ZodString;
|
|
4452
|
+
min: z.ZodNumber;
|
|
4453
|
+
max: z.ZodNumber;
|
|
4454
|
+
}, "strip", z.ZodTypeAny, {
|
|
4455
|
+
label: string;
|
|
4456
|
+
min: number;
|
|
4457
|
+
max: number;
|
|
4458
|
+
key: string;
|
|
4459
|
+
}, {
|
|
4460
|
+
label: string;
|
|
4461
|
+
min: number;
|
|
4462
|
+
max: number;
|
|
4463
|
+
key: string;
|
|
4464
|
+
}>>;
|
|
4465
|
+
}, "strip", z.ZodTypeAny, {
|
|
4466
|
+
value: number;
|
|
4467
|
+
key: string;
|
|
4468
|
+
target: number;
|
|
4469
|
+
weight: number;
|
|
4470
|
+
ratio: number;
|
|
4471
|
+
available: boolean;
|
|
4472
|
+
rating?: {
|
|
4473
|
+
label: string;
|
|
4474
|
+
min: number;
|
|
4475
|
+
max: number;
|
|
4476
|
+
key: string;
|
|
4477
|
+
} | undefined;
|
|
4478
|
+
}, {
|
|
4479
|
+
value: number;
|
|
4480
|
+
key: string;
|
|
4481
|
+
target: number;
|
|
4482
|
+
weight: number;
|
|
4483
|
+
ratio: number;
|
|
4484
|
+
available: boolean;
|
|
4485
|
+
rating?: {
|
|
4486
|
+
label: string;
|
|
4487
|
+
min: number;
|
|
4488
|
+
max: number;
|
|
4489
|
+
key: string;
|
|
4490
|
+
} | undefined;
|
|
4491
|
+
}>, "many">;
|
|
4492
|
+
}, "strip", z.ZodTypeAny, {
|
|
4493
|
+
value: number;
|
|
4494
|
+
hasData: boolean;
|
|
4495
|
+
period: string;
|
|
4496
|
+
periodLabel: string;
|
|
4497
|
+
computedAt: number;
|
|
4498
|
+
metrics: {
|
|
4499
|
+
value: number;
|
|
4500
|
+
key: string;
|
|
4501
|
+
target: number;
|
|
4502
|
+
weight: number;
|
|
4503
|
+
ratio: number;
|
|
4504
|
+
available: boolean;
|
|
4505
|
+
rating?: {
|
|
4506
|
+
label: string;
|
|
4507
|
+
min: number;
|
|
4508
|
+
max: number;
|
|
4509
|
+
key: string;
|
|
4510
|
+
} | undefined;
|
|
4511
|
+
}[];
|
|
4512
|
+
band?: {
|
|
4513
|
+
label: string;
|
|
4514
|
+
min: number;
|
|
4515
|
+
max: number;
|
|
4516
|
+
key: string;
|
|
4517
|
+
} | undefined;
|
|
4518
|
+
nextBand?: {
|
|
4519
|
+
label: string;
|
|
4520
|
+
min: number;
|
|
4521
|
+
max: number;
|
|
4522
|
+
key: string;
|
|
4523
|
+
} | undefined;
|
|
4524
|
+
pointsToNextBand?: number | undefined;
|
|
4525
|
+
trend?: number | undefined;
|
|
4526
|
+
}, {
|
|
4527
|
+
value: number;
|
|
4528
|
+
hasData: boolean;
|
|
4529
|
+
period: string;
|
|
4530
|
+
periodLabel: string;
|
|
4531
|
+
computedAt: number;
|
|
4532
|
+
metrics: {
|
|
4533
|
+
value: number;
|
|
4534
|
+
key: string;
|
|
4535
|
+
target: number;
|
|
4536
|
+
weight: number;
|
|
4537
|
+
ratio: number;
|
|
4538
|
+
available: boolean;
|
|
4539
|
+
rating?: {
|
|
4540
|
+
label: string;
|
|
4541
|
+
min: number;
|
|
4542
|
+
max: number;
|
|
4543
|
+
key: string;
|
|
4544
|
+
} | undefined;
|
|
4545
|
+
}[];
|
|
4546
|
+
band?: {
|
|
4547
|
+
label: string;
|
|
4548
|
+
min: number;
|
|
4549
|
+
max: number;
|
|
4550
|
+
key: string;
|
|
4551
|
+
} | undefined;
|
|
4552
|
+
nextBand?: {
|
|
4553
|
+
label: string;
|
|
4554
|
+
min: number;
|
|
4555
|
+
max: number;
|
|
4556
|
+
key: string;
|
|
4557
|
+
} | undefined;
|
|
4558
|
+
pointsToNextBand?: number | undefined;
|
|
4559
|
+
trend?: number | undefined;
|
|
4560
|
+
}>;
|
|
4561
|
+
declare const ScoreHistoryEntrySchema: z.ZodObject<{
|
|
4562
|
+
period: z.ZodString;
|
|
4563
|
+
label: z.ZodString;
|
|
4564
|
+
value: z.ZodNumber;
|
|
4565
|
+
band: z.ZodOptional<z.ZodObject<{
|
|
4566
|
+
key: z.ZodString;
|
|
4567
|
+
label: z.ZodString;
|
|
4568
|
+
min: z.ZodNumber;
|
|
4569
|
+
max: z.ZodNumber;
|
|
4570
|
+
}, "strip", z.ZodTypeAny, {
|
|
4571
|
+
label: string;
|
|
4572
|
+
min: number;
|
|
4573
|
+
max: number;
|
|
4574
|
+
key: string;
|
|
4575
|
+
}, {
|
|
4576
|
+
label: string;
|
|
4577
|
+
min: number;
|
|
4578
|
+
max: number;
|
|
4579
|
+
key: string;
|
|
4580
|
+
}>>;
|
|
4581
|
+
}, "strip", z.ZodTypeAny, {
|
|
4582
|
+
value: number;
|
|
4583
|
+
label: string;
|
|
4584
|
+
period: string;
|
|
4585
|
+
band?: {
|
|
4586
|
+
label: string;
|
|
4587
|
+
min: number;
|
|
4588
|
+
max: number;
|
|
4589
|
+
key: string;
|
|
4590
|
+
} | undefined;
|
|
4591
|
+
}, {
|
|
4592
|
+
value: number;
|
|
4593
|
+
label: string;
|
|
4594
|
+
period: string;
|
|
4595
|
+
band?: {
|
|
4596
|
+
label: string;
|
|
4597
|
+
min: number;
|
|
4598
|
+
max: number;
|
|
4599
|
+
key: string;
|
|
4600
|
+
} | undefined;
|
|
4601
|
+
}>;
|
|
4602
|
+
declare const ScoreRecapSchema: z.ZodObject<{
|
|
4603
|
+
current: z.ZodObject<{
|
|
4604
|
+
value: z.ZodNumber;
|
|
4605
|
+
hasData: z.ZodBoolean;
|
|
4606
|
+
period: z.ZodString;
|
|
4607
|
+
periodLabel: z.ZodString;
|
|
4608
|
+
band: z.ZodOptional<z.ZodObject<{
|
|
4609
|
+
key: z.ZodString;
|
|
4610
|
+
label: z.ZodString;
|
|
4611
|
+
min: z.ZodNumber;
|
|
4612
|
+
max: z.ZodNumber;
|
|
4613
|
+
}, "strip", z.ZodTypeAny, {
|
|
4614
|
+
label: string;
|
|
4615
|
+
min: number;
|
|
4616
|
+
max: number;
|
|
4617
|
+
key: string;
|
|
4618
|
+
}, {
|
|
4619
|
+
label: string;
|
|
4620
|
+
min: number;
|
|
4621
|
+
max: number;
|
|
4622
|
+
key: string;
|
|
4623
|
+
}>>;
|
|
4624
|
+
nextBand: z.ZodOptional<z.ZodObject<{
|
|
4625
|
+
key: z.ZodString;
|
|
4626
|
+
label: z.ZodString;
|
|
4627
|
+
min: z.ZodNumber;
|
|
4628
|
+
max: z.ZodNumber;
|
|
4629
|
+
}, "strip", z.ZodTypeAny, {
|
|
4630
|
+
label: string;
|
|
4631
|
+
min: number;
|
|
4632
|
+
max: number;
|
|
4633
|
+
key: string;
|
|
4634
|
+
}, {
|
|
4635
|
+
label: string;
|
|
4636
|
+
min: number;
|
|
4637
|
+
max: number;
|
|
4638
|
+
key: string;
|
|
4639
|
+
}>>;
|
|
4640
|
+
pointsToNextBand: z.ZodOptional<z.ZodNumber>;
|
|
4641
|
+
trend: z.ZodOptional<z.ZodNumber>;
|
|
4642
|
+
computedAt: z.ZodNumber;
|
|
4643
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
4644
|
+
/**
|
|
4645
|
+
* Deliberately not the enum: a metric added API-side must not break a client that
|
|
4646
|
+
* predates it. Render the array generically and switch on ScoreMetricKey only where
|
|
4647
|
+
* a known metric needs special treatment.
|
|
4648
|
+
*/
|
|
4649
|
+
key: z.ZodString;
|
|
4650
|
+
/** The share this metric actually carried, after unavailable ones were left out. */
|
|
4651
|
+
weight: z.ZodNumber;
|
|
4652
|
+
value: z.ZodNumber;
|
|
4653
|
+
target: z.ZodNumber;
|
|
4654
|
+
ratio: z.ZodNumber;
|
|
4655
|
+
available: z.ZodBoolean;
|
|
4656
|
+
rating: z.ZodOptional<z.ZodObject<{
|
|
4657
|
+
key: z.ZodString;
|
|
4658
|
+
label: z.ZodString;
|
|
4659
|
+
min: z.ZodNumber;
|
|
4660
|
+
max: z.ZodNumber;
|
|
4661
|
+
}, "strip", z.ZodTypeAny, {
|
|
4662
|
+
label: string;
|
|
4663
|
+
min: number;
|
|
4664
|
+
max: number;
|
|
4665
|
+
key: string;
|
|
4666
|
+
}, {
|
|
4667
|
+
label: string;
|
|
4668
|
+
min: number;
|
|
4669
|
+
max: number;
|
|
4670
|
+
key: string;
|
|
4671
|
+
}>>;
|
|
4672
|
+
}, "strip", z.ZodTypeAny, {
|
|
4673
|
+
value: number;
|
|
4674
|
+
key: string;
|
|
4675
|
+
target: number;
|
|
4676
|
+
weight: number;
|
|
4677
|
+
ratio: number;
|
|
4678
|
+
available: boolean;
|
|
4679
|
+
rating?: {
|
|
4680
|
+
label: string;
|
|
4681
|
+
min: number;
|
|
4682
|
+
max: number;
|
|
4683
|
+
key: string;
|
|
4684
|
+
} | undefined;
|
|
4685
|
+
}, {
|
|
4686
|
+
value: number;
|
|
4687
|
+
key: string;
|
|
4688
|
+
target: number;
|
|
4689
|
+
weight: number;
|
|
4690
|
+
ratio: number;
|
|
4691
|
+
available: boolean;
|
|
4692
|
+
rating?: {
|
|
4693
|
+
label: string;
|
|
4694
|
+
min: number;
|
|
4695
|
+
max: number;
|
|
4696
|
+
key: string;
|
|
4697
|
+
} | undefined;
|
|
4698
|
+
}>, "many">;
|
|
4699
|
+
}, "strip", z.ZodTypeAny, {
|
|
4700
|
+
value: number;
|
|
4701
|
+
hasData: boolean;
|
|
4702
|
+
period: string;
|
|
4703
|
+
periodLabel: string;
|
|
4704
|
+
computedAt: number;
|
|
4705
|
+
metrics: {
|
|
4706
|
+
value: number;
|
|
4707
|
+
key: string;
|
|
4708
|
+
target: number;
|
|
4709
|
+
weight: number;
|
|
4710
|
+
ratio: number;
|
|
4711
|
+
available: boolean;
|
|
4712
|
+
rating?: {
|
|
4713
|
+
label: string;
|
|
4714
|
+
min: number;
|
|
4715
|
+
max: number;
|
|
4716
|
+
key: string;
|
|
4717
|
+
} | undefined;
|
|
4718
|
+
}[];
|
|
4719
|
+
band?: {
|
|
4720
|
+
label: string;
|
|
4721
|
+
min: number;
|
|
4722
|
+
max: number;
|
|
4723
|
+
key: string;
|
|
4724
|
+
} | undefined;
|
|
4725
|
+
nextBand?: {
|
|
4726
|
+
label: string;
|
|
4727
|
+
min: number;
|
|
4728
|
+
max: number;
|
|
4729
|
+
key: string;
|
|
4730
|
+
} | undefined;
|
|
4731
|
+
pointsToNextBand?: number | undefined;
|
|
4732
|
+
trend?: number | undefined;
|
|
4733
|
+
}, {
|
|
4734
|
+
value: number;
|
|
4735
|
+
hasData: boolean;
|
|
4736
|
+
period: string;
|
|
4737
|
+
periodLabel: string;
|
|
4738
|
+
computedAt: number;
|
|
4739
|
+
metrics: {
|
|
4740
|
+
value: number;
|
|
4741
|
+
key: string;
|
|
4742
|
+
target: number;
|
|
4743
|
+
weight: number;
|
|
4744
|
+
ratio: number;
|
|
4745
|
+
available: boolean;
|
|
4746
|
+
rating?: {
|
|
4747
|
+
label: string;
|
|
4748
|
+
min: number;
|
|
4749
|
+
max: number;
|
|
4750
|
+
key: string;
|
|
4751
|
+
} | undefined;
|
|
4752
|
+
}[];
|
|
4753
|
+
band?: {
|
|
4754
|
+
label: string;
|
|
4755
|
+
min: number;
|
|
4756
|
+
max: number;
|
|
4757
|
+
key: string;
|
|
4758
|
+
} | undefined;
|
|
4759
|
+
nextBand?: {
|
|
4760
|
+
label: string;
|
|
4761
|
+
min: number;
|
|
4762
|
+
max: number;
|
|
4763
|
+
key: string;
|
|
4764
|
+
} | undefined;
|
|
4765
|
+
pointsToNextBand?: number | undefined;
|
|
4766
|
+
trend?: number | undefined;
|
|
4767
|
+
}>;
|
|
4768
|
+
/** Oldest first. Months before the customer's first project are absent, not zero. */
|
|
4769
|
+
history: z.ZodArray<z.ZodObject<{
|
|
4770
|
+
period: z.ZodString;
|
|
4771
|
+
label: z.ZodString;
|
|
4772
|
+
value: z.ZodNumber;
|
|
4773
|
+
band: z.ZodOptional<z.ZodObject<{
|
|
4774
|
+
key: z.ZodString;
|
|
4775
|
+
label: z.ZodString;
|
|
4776
|
+
min: z.ZodNumber;
|
|
4777
|
+
max: z.ZodNumber;
|
|
4778
|
+
}, "strip", z.ZodTypeAny, {
|
|
4779
|
+
label: string;
|
|
4780
|
+
min: number;
|
|
4781
|
+
max: number;
|
|
4782
|
+
key: string;
|
|
4783
|
+
}, {
|
|
4784
|
+
label: string;
|
|
4785
|
+
min: number;
|
|
4786
|
+
max: number;
|
|
4787
|
+
key: string;
|
|
4788
|
+
}>>;
|
|
4789
|
+
}, "strip", z.ZodTypeAny, {
|
|
4790
|
+
value: number;
|
|
4791
|
+
label: string;
|
|
4792
|
+
period: string;
|
|
4793
|
+
band?: {
|
|
4794
|
+
label: string;
|
|
4795
|
+
min: number;
|
|
4796
|
+
max: number;
|
|
4797
|
+
key: string;
|
|
4798
|
+
} | undefined;
|
|
4799
|
+
}, {
|
|
4800
|
+
value: number;
|
|
4801
|
+
label: string;
|
|
4802
|
+
period: string;
|
|
4803
|
+
band?: {
|
|
4804
|
+
label: string;
|
|
4805
|
+
min: number;
|
|
4806
|
+
max: number;
|
|
4807
|
+
key: string;
|
|
4808
|
+
} | undefined;
|
|
4809
|
+
}>, "many">;
|
|
4810
|
+
}, "strip", z.ZodTypeAny, {
|
|
4811
|
+
history: {
|
|
4812
|
+
value: number;
|
|
4813
|
+
label: string;
|
|
4814
|
+
period: string;
|
|
4815
|
+
band?: {
|
|
4816
|
+
label: string;
|
|
4817
|
+
min: number;
|
|
4818
|
+
max: number;
|
|
4819
|
+
key: string;
|
|
4820
|
+
} | undefined;
|
|
4821
|
+
}[];
|
|
4822
|
+
current: {
|
|
4823
|
+
value: number;
|
|
4824
|
+
hasData: boolean;
|
|
4825
|
+
period: string;
|
|
4826
|
+
periodLabel: string;
|
|
4827
|
+
computedAt: number;
|
|
4828
|
+
metrics: {
|
|
4829
|
+
value: number;
|
|
4830
|
+
key: string;
|
|
4831
|
+
target: number;
|
|
4832
|
+
weight: number;
|
|
4833
|
+
ratio: number;
|
|
4834
|
+
available: boolean;
|
|
4835
|
+
rating?: {
|
|
4836
|
+
label: string;
|
|
4837
|
+
min: number;
|
|
4838
|
+
max: number;
|
|
4839
|
+
key: string;
|
|
4840
|
+
} | undefined;
|
|
4841
|
+
}[];
|
|
4842
|
+
band?: {
|
|
4843
|
+
label: string;
|
|
4844
|
+
min: number;
|
|
4845
|
+
max: number;
|
|
4846
|
+
key: string;
|
|
4847
|
+
} | undefined;
|
|
4848
|
+
nextBand?: {
|
|
4849
|
+
label: string;
|
|
4850
|
+
min: number;
|
|
4851
|
+
max: number;
|
|
4852
|
+
key: string;
|
|
4853
|
+
} | undefined;
|
|
4854
|
+
pointsToNextBand?: number | undefined;
|
|
4855
|
+
trend?: number | undefined;
|
|
4856
|
+
};
|
|
4857
|
+
}, {
|
|
4858
|
+
history: {
|
|
4859
|
+
value: number;
|
|
4860
|
+
label: string;
|
|
4861
|
+
period: string;
|
|
4862
|
+
band?: {
|
|
4863
|
+
label: string;
|
|
4864
|
+
min: number;
|
|
4865
|
+
max: number;
|
|
4866
|
+
key: string;
|
|
4867
|
+
} | undefined;
|
|
4868
|
+
}[];
|
|
4869
|
+
current: {
|
|
4870
|
+
value: number;
|
|
4871
|
+
hasData: boolean;
|
|
4872
|
+
period: string;
|
|
4873
|
+
periodLabel: string;
|
|
4874
|
+
computedAt: number;
|
|
4875
|
+
metrics: {
|
|
4876
|
+
value: number;
|
|
4877
|
+
key: string;
|
|
4878
|
+
target: number;
|
|
4879
|
+
weight: number;
|
|
4880
|
+
ratio: number;
|
|
4881
|
+
available: boolean;
|
|
4882
|
+
rating?: {
|
|
4883
|
+
label: string;
|
|
4884
|
+
min: number;
|
|
4885
|
+
max: number;
|
|
4886
|
+
key: string;
|
|
4887
|
+
} | undefined;
|
|
4888
|
+
}[];
|
|
4889
|
+
band?: {
|
|
4890
|
+
label: string;
|
|
4891
|
+
min: number;
|
|
4892
|
+
max: number;
|
|
4893
|
+
key: string;
|
|
4894
|
+
} | undefined;
|
|
4895
|
+
nextBand?: {
|
|
4896
|
+
label: string;
|
|
4897
|
+
min: number;
|
|
4898
|
+
max: number;
|
|
4899
|
+
key: string;
|
|
4900
|
+
} | undefined;
|
|
4901
|
+
pointsToNextBand?: number | undefined;
|
|
4902
|
+
trend?: number | undefined;
|
|
4903
|
+
};
|
|
4904
|
+
}>;
|
|
4905
|
+
type ScoreMetricKey = z.infer<typeof ScoreMetricKeySchema>;
|
|
4906
|
+
type ScoreBand = z.infer<typeof ScoreBandSchema>;
|
|
4907
|
+
type ScoreMetric = z.infer<typeof ScoreMetricSchema>;
|
|
4908
|
+
type Score = z.infer<typeof ScoreSchema>;
|
|
4909
|
+
type ScoreHistoryEntry = z.infer<typeof ScoreHistoryEntrySchema>;
|
|
4910
|
+
type ScoreRecap = z.infer<typeof ScoreRecapSchema>;
|
|
4911
|
+
|
|
4912
|
+
interface IAPI$1 {
|
|
4913
|
+
/**
|
|
4914
|
+
* The recap of a closed month, with the last months for the chart.
|
|
4915
|
+
* Omit `period` for the month that just closed; it is formatted `YYYY-MM`
|
|
4916
|
+
* and a month still being lived is rejected.
|
|
4917
|
+
*/
|
|
4918
|
+
getRecap: (context: Context, period?: string) => Promise<ScoreRecap>;
|
|
4919
|
+
}
|
|
4920
|
+
declare const Endpoints$1: {
|
|
4921
|
+
GetRecap: {
|
|
4922
|
+
uri: string;
|
|
4923
|
+
method: string;
|
|
4924
|
+
};
|
|
4232
4925
|
};
|
|
4233
4926
|
|
|
4234
|
-
type index$
|
|
4235
|
-
type index$
|
|
4236
|
-
declare const index$
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
type index$
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
declare const index$
|
|
4243
|
-
|
|
4244
|
-
declare const index$
|
|
4245
|
-
declare const index$3_ShredUBriefSchema: typeof ShredUBriefSchema;
|
|
4246
|
-
declare const index$3_ShredUJoinSchema: typeof ShredUJoinSchema;
|
|
4247
|
-
type index$3_ShredUSessionCustomer = ShredUSessionCustomer;
|
|
4248
|
-
declare const index$3_ShredUSessionCustomerSchema: typeof ShredUSessionCustomerSchema;
|
|
4249
|
-
declare const index$3_ShredUSessionSchema: typeof ShredUSessionSchema;
|
|
4250
|
-
type index$3_ShredUSessionStatus = ShredUSessionStatus;
|
|
4251
|
-
declare const index$3_ShredUSessionStatusSchema: typeof ShredUSessionStatusSchema;
|
|
4252
|
-
type index$3_Update = Update;
|
|
4253
|
-
declare const index$3_UpdateShredUSessionSchema: typeof UpdateShredUSessionSchema;
|
|
4927
|
+
type index$3_Score = Score;
|
|
4928
|
+
type index$3_ScoreBand = ScoreBand;
|
|
4929
|
+
declare const index$3_ScoreBandSchema: typeof ScoreBandSchema;
|
|
4930
|
+
type index$3_ScoreHistoryEntry = ScoreHistoryEntry;
|
|
4931
|
+
declare const index$3_ScoreHistoryEntrySchema: typeof ScoreHistoryEntrySchema;
|
|
4932
|
+
type index$3_ScoreMetric = ScoreMetric;
|
|
4933
|
+
type index$3_ScoreMetricKey = ScoreMetricKey;
|
|
4934
|
+
declare const index$3_ScoreMetricKeySchema: typeof ScoreMetricKeySchema;
|
|
4935
|
+
declare const index$3_ScoreMetricSchema: typeof ScoreMetricSchema;
|
|
4936
|
+
declare const index$3_ScoreRecapSchema: typeof ScoreRecapSchema;
|
|
4937
|
+
declare const index$3_ScoreSchema: typeof ScoreSchema;
|
|
4254
4938
|
declare namespace index$3 {
|
|
4255
|
-
export {
|
|
4939
|
+
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_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, index$3_ScoreRecapSchema as ScoreRecapSchema, index$3_ScoreSchema as ScoreSchema };
|
|
4256
4940
|
}
|
|
4257
4941
|
|
|
4258
4942
|
/**
|
|
@@ -4617,20 +5301,21 @@ declare namespace index$2 {
|
|
|
4617
5301
|
}
|
|
4618
5302
|
|
|
4619
5303
|
declare class ShredAPI {
|
|
4620
|
-
user: IAPI$
|
|
4621
|
-
goal: IAPI$
|
|
4622
|
-
editor: IAPI$
|
|
4623
|
-
subscription: IAPI$
|
|
4624
|
-
prompt: IAPI$
|
|
4625
|
-
pushNotification: IAPI$
|
|
4626
|
-
email: IAPI$
|
|
4627
|
-
tenant: IAPI$
|
|
4628
|
-
app: IAPI$
|
|
4629
|
-
project: IAPI$
|
|
4630
|
-
track: IAPI$
|
|
4631
|
-
note: IAPI$
|
|
4632
|
-
specialOffer: IAPI$
|
|
4633
|
-
shredu: IAPI$
|
|
5304
|
+
user: IAPI$d;
|
|
5305
|
+
goal: IAPI$8;
|
|
5306
|
+
editor: IAPI$7;
|
|
5307
|
+
subscription: IAPI$e;
|
|
5308
|
+
prompt: IAPI$f;
|
|
5309
|
+
pushNotification: IAPI$6;
|
|
5310
|
+
email: IAPI$a;
|
|
5311
|
+
tenant: IAPI$c;
|
|
5312
|
+
app: IAPI$5;
|
|
5313
|
+
project: IAPI$9;
|
|
5314
|
+
track: IAPI$b;
|
|
5315
|
+
note: IAPI$4;
|
|
5316
|
+
specialOffer: IAPI$3;
|
|
5317
|
+
shredu: IAPI$2;
|
|
5318
|
+
score: IAPI$1;
|
|
4634
5319
|
rbac: IAPI;
|
|
4635
5320
|
constructor(env: Environment);
|
|
4636
5321
|
}
|
|
@@ -4723,4 +5408,4 @@ declare namespace index {
|
|
|
4723
5408
|
export { index_AssetSchema as AssetSchema, type Asset as Entity };
|
|
4724
5409
|
}
|
|
4725
5410
|
|
|
4726
|
-
export { index as Asset, index$
|
|
5411
|
+
export { index as Asset, index$f as Core, index$8 as Editor, index$b as Email, index$1 as Exceptions, index$9 as Goal, index$6 as Note, index$7 as Notification, index$a as Project, index$h as Prompt, index$2 as RBAC, index$3 as Score, ShredAPI, index$4 as ShredU, index$5 as SpecialOffer, index$g as Subscription, index$d as Tenant, index$c as Track, index$e as User, ShredAPI as default };
|