shred-api-client 2.5.0 → 2.5.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
@@ -197,7 +197,7 @@ type Context = {
197
197
  requestId?: string;
198
198
  };
199
199
 
200
- interface IAPI$b {
200
+ interface IAPI$c {
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$b {
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$a: {
208
+ declare const Endpoints$b: {
209
209
  GetPrompt: {
210
210
  uri: string;
211
211
  method: string;
@@ -232,15 +232,15 @@ declare const Endpoints$a: {
232
232
  };
233
233
  };
234
234
 
235
- type index$d_Category = Category;
236
- declare const index$d_CategorySchema: typeof CategorySchema;
237
- declare const index$d_PromptSchema: typeof PromptSchema;
238
- type index$d_Script = Script;
239
- type index$d_ScriptIARequest = ScriptIARequest;
240
- declare const index$d_ScriptIARequestSchema: typeof ScriptIARequestSchema;
241
- declare const index$d_ScriptSchema: typeof ScriptSchema;
242
- declare namespace index$d {
243
- export { type index$d_Category as Category, index$d_CategorySchema as CategorySchema, Endpoints$a as Endpoints, type Prompt as Entity, type IAPI$b as IAPI, index$d_PromptSchema as PromptSchema, type index$d_Script as Script, type index$d_ScriptIARequest as ScriptIARequest, index$d_ScriptIARequestSchema as ScriptIARequestSchema, index$d_ScriptSchema as ScriptSchema };
235
+ type index$e_Category = Category;
236
+ declare const index$e_CategorySchema: typeof CategorySchema;
237
+ declare const index$e_PromptSchema: typeof PromptSchema;
238
+ type index$e_Script = Script;
239
+ type index$e_ScriptIARequest = ScriptIARequest;
240
+ declare const index$e_ScriptIARequestSchema: typeof ScriptIARequestSchema;
241
+ declare const index$e_ScriptSchema: typeof ScriptSchema;
242
+ declare namespace index$e {
243
+ export { type index$e_Category as Category, index$e_CategorySchema as CategorySchema, Endpoints$b as Endpoints, type Prompt as Entity, type IAPI$c as IAPI, index$e_PromptSchema as PromptSchema, type index$e_Script as Script, type index$e_ScriptIARequest as ScriptIARequest, index$e_ScriptIARequestSchema as ScriptIARequestSchema, index$e_ScriptSchema as ScriptSchema };
244
244
  }
245
245
 
246
246
  declare enum Type {
@@ -572,7 +572,7 @@ type Charge = z.infer<typeof ChargeSchema>;
572
572
  type Plan = z.infer<typeof PlanSchema>;
573
573
  type Product = z.infer<typeof ProductSchema>;
574
574
 
575
- interface IAPI$a {
575
+ interface IAPI$b {
576
576
  getCharges: (ctx: Context) => Promise<Charge[]>;
577
577
  getPortalUrl: (ctx: Context) => Promise<string>;
578
578
  getSubscription: (context: Context, userId?: string) => Promise<Subscription | null>;
@@ -585,7 +585,7 @@ interface IAPI$a {
585
585
  createCheckout: (planId: string | null, ctx: Context, callbackUrl?: string) => Promise<string>;
586
586
  getSubscriptionsSummary: (ctx: Context) => Promise<SubscriptionSummary[]>;
587
587
  }
588
- declare const Endpoints$9: {
588
+ declare const Endpoints$a: {
589
589
  GetPortal: {
590
590
  uri: string;
591
591
  method: string;
@@ -640,18 +640,18 @@ declare const Endpoints$9: {
640
640
  };
641
641
  };
642
642
 
643
- type index$c_Charge = Charge;
644
- declare const index$c_ChargeSchema: typeof ChargeSchema;
645
- type index$c_Plan = Plan;
646
- declare const index$c_PlanSchema: typeof PlanSchema;
647
- type index$c_Product = Product;
648
- declare const index$c_ProductSchema: typeof ProductSchema;
649
- declare const index$c_SubscriptionSchema: typeof SubscriptionSchema;
650
- declare const index$c_SubscriptionTypeSchema: typeof SubscriptionTypeSchema;
651
- type index$c_Type = Type;
652
- declare const index$c_Type: typeof Type;
653
- declare namespace index$c {
654
- export { type index$c_Charge as Charge, index$c_ChargeSchema as ChargeSchema, Endpoints$9 as Endpoints, type Subscription as Entity, type IAPI$a as IAPI, type index$c_Plan as Plan, index$c_PlanSchema as PlanSchema, type index$c_Product as Product, index$c_ProductSchema as ProductSchema, index$c_SubscriptionSchema as SubscriptionSchema, index$c_SubscriptionTypeSchema as SubscriptionTypeSchema, type SubscriptionSummary as Summary, index$c_Type as Type };
643
+ type index$d_Charge = Charge;
644
+ declare const index$d_ChargeSchema: typeof ChargeSchema;
645
+ type index$d_Plan = Plan;
646
+ declare const index$d_PlanSchema: typeof PlanSchema;
647
+ type index$d_Product = Product;
648
+ declare const index$d_ProductSchema: typeof ProductSchema;
649
+ declare const index$d_SubscriptionSchema: typeof SubscriptionSchema;
650
+ declare const index$d_SubscriptionTypeSchema: typeof SubscriptionTypeSchema;
651
+ type index$d_Type = Type;
652
+ declare const index$d_Type: typeof Type;
653
+ declare namespace index$d {
654
+ export { type index$d_Charge as Charge, index$d_ChargeSchema as ChargeSchema, Endpoints$a as Endpoints, type Subscription as Entity, type IAPI$b as IAPI, type index$d_Plan as Plan, index$d_PlanSchema as PlanSchema, type index$d_Product as Product, index$d_ProductSchema as ProductSchema, index$d_SubscriptionSchema as SubscriptionSchema, index$d_SubscriptionTypeSchema as SubscriptionTypeSchema, type SubscriptionSummary as Summary, index$d_Type as Type };
655
655
  }
656
656
 
657
657
  declare enum Role {
@@ -844,16 +844,16 @@ type APIResponse<T> = {
844
844
  perPage?: number;
845
845
  };
846
846
 
847
- type index$b_APIResponse<T> = APIResponse<T>;
848
- type index$b_QueryFilterOp = QueryFilterOp;
849
- type index$b_QueryOptions<T> = QueryOptions<T>;
850
- type index$b_QueryOrderBy<T> = QueryOrderBy<T>;
851
- type index$b_QueryWhere<T> = QueryWhere<T>;
852
- declare namespace index$b {
853
- export type { index$b_APIResponse as APIResponse, index$b_QueryFilterOp as QueryFilterOp, index$b_QueryOptions as QueryOptions, index$b_QueryOrderBy as QueryOrderBy, index$b_QueryWhere as QueryWhere };
847
+ type index$c_APIResponse<T> = APIResponse<T>;
848
+ type index$c_QueryFilterOp = QueryFilterOp;
849
+ type index$c_QueryOptions<T> = QueryOptions<T>;
850
+ type index$c_QueryOrderBy<T> = QueryOrderBy<T>;
851
+ type index$c_QueryWhere<T> = QueryWhere<T>;
852
+ declare namespace index$c {
853
+ export type { index$c_APIResponse as APIResponse, index$c_QueryFilterOp as QueryFilterOp, index$c_QueryOptions as QueryOptions, index$c_QueryOrderBy as QueryOrderBy, index$c_QueryWhere as QueryWhere };
854
854
  }
855
855
 
856
- interface IAPI$9 {
856
+ interface IAPI$a {
857
857
  getUserInfo: (context: Context) => Promise<User>;
858
858
  isEmailAvaliable: (email: string) => Promise<boolean>;
859
859
  sendValidationCode: (email: string) => Promise<boolean>;
@@ -870,7 +870,7 @@ interface IAPI$9 {
870
870
  search: (ctx: Context, query: QueryOptions<User>) => Promise<APIResponse<User>>;
871
871
  createUser: (data: Create$1) => Promise<User>;
872
872
  }
873
- declare const Endpoints$8: {
873
+ declare const Endpoints$9: {
874
874
  ChangeEmail: {
875
875
  uri: string;
876
876
  method: string;
@@ -937,13 +937,13 @@ declare const Endpoints$8: {
937
937
  };
938
938
  };
939
939
 
940
- type index$a_Role = Role;
941
- declare const index$a_Role: typeof Role;
942
- type index$a_System = System;
943
- declare const index$a_System: typeof System;
944
- declare const index$a_UserSchema: typeof UserSchema;
945
- declare namespace index$a {
946
- export { type Create$1 as Create, Endpoints$8 as Endpoints, type User as Entity, type IAPI$9 as IAPI, type Preferences$1 as Preferences, PreferencesSchema$1 as PreferencesSchema, index$a_Role as Role, index$a_System as System, type Update$1 as Update, index$a_UserSchema as UserSchema };
940
+ type index$b_Role = Role;
941
+ declare const index$b_Role: typeof Role;
942
+ type index$b_System = System;
943
+ declare const index$b_System: typeof System;
944
+ declare const index$b_UserSchema: typeof UserSchema;
945
+ declare namespace index$b {
946
+ export { type Create$1 as Create, Endpoints$9 as Endpoints, type User as Entity, type IAPI$a as IAPI, type Preferences$1 as Preferences, PreferencesSchema$1 as PreferencesSchema, index$b_Role as Role, index$b_System as System, type Update$1 as Update, index$b_UserSchema as UserSchema };
947
947
  }
948
948
 
949
949
  declare const PreferencesSchema: z.ZodObject<{
@@ -1519,7 +1519,7 @@ type Tenant = z.infer<typeof TenantSchema>;
1519
1519
  type Member = z.infer<typeof MemberSchema>;
1520
1520
  type Preferences = z.infer<typeof PreferencesSchema>;
1521
1521
 
1522
- interface IAPI$8 {
1522
+ interface IAPI$9 {
1523
1523
  getByInviteCode: (code: string, context?: Context) => Promise<Tenant | null>;
1524
1524
  create: (tenant: Tenant, context: Context) => Promise<boolean>;
1525
1525
  list: (context: Context) => Promise<Tenant[]>;
@@ -1528,7 +1528,7 @@ interface IAPI$8 {
1528
1528
  update: (tenantId: string, data: Pick<Tenant, "preferences">, context: Context) => Promise<boolean>;
1529
1529
  updateReportViewers: (tenantId: string, reportViewerUpdate: ReportViewerUpdate, context: Context) => Promise<boolean>;
1530
1530
  }
1531
- declare const Endpoints$7: {
1531
+ declare const Endpoints$8: {
1532
1532
  GetByInviteCode: {
1533
1533
  uri: string;
1534
1534
  method: string;
@@ -1563,17 +1563,17 @@ declare const Endpoints$7: {
1563
1563
  };
1564
1564
  };
1565
1565
 
1566
- type index$9_Action = Action;
1567
- declare const index$9_Action: typeof Action;
1568
- type index$9_Member = Member;
1569
- declare const index$9_MemberSchema: typeof MemberSchema;
1570
- type index$9_Preferences = Preferences;
1571
- declare const index$9_PreferencesSchema: typeof PreferencesSchema;
1572
- type index$9_ReportViewerUpdate = ReportViewerUpdate;
1573
- declare const index$9_ReportViewerUpdateSchema: typeof ReportViewerUpdateSchema;
1574
- declare const index$9_TenantSchema: typeof TenantSchema;
1575
- declare namespace index$9 {
1576
- export { index$9_Action as Action, Endpoints$7 as Endpoints, type Tenant as Entity, type IAPI$8 as IAPI, type index$9_Member as Member, index$9_MemberSchema as MemberSchema, type index$9_Preferences as Preferences, index$9_PreferencesSchema as PreferencesSchema, type index$9_ReportViewerUpdate as ReportViewerUpdate, index$9_ReportViewerUpdateSchema as ReportViewerUpdateSchema, index$9_TenantSchema as TenantSchema };
1566
+ type index$a_Action = Action;
1567
+ declare const index$a_Action: typeof Action;
1568
+ type index$a_Member = Member;
1569
+ declare const index$a_MemberSchema: typeof MemberSchema;
1570
+ type index$a_Preferences = Preferences;
1571
+ declare const index$a_PreferencesSchema: typeof PreferencesSchema;
1572
+ type index$a_ReportViewerUpdate = ReportViewerUpdate;
1573
+ declare const index$a_ReportViewerUpdateSchema: typeof ReportViewerUpdateSchema;
1574
+ declare const index$a_TenantSchema: typeof TenantSchema;
1575
+ declare namespace index$a {
1576
+ export { index$a_Action as Action, Endpoints$8 as Endpoints, type Tenant as Entity, type IAPI$9 as IAPI, type index$a_Member as Member, index$a_MemberSchema as MemberSchema, type index$a_Preferences as Preferences, index$a_PreferencesSchema as PreferencesSchema, type index$a_ReportViewerUpdate as ReportViewerUpdate, index$a_ReportViewerUpdateSchema as ReportViewerUpdateSchema, index$a_TenantSchema as TenantSchema };
1577
1577
  }
1578
1578
 
1579
1579
  declare const TrackParamSchema: z.ZodObject<{
@@ -1620,21 +1620,21 @@ declare const TrackSchema: z.ZodObject<{
1620
1620
  type Track = z.infer<typeof TrackSchema>;
1621
1621
  type TrackParam = z.infer<typeof TrackParamSchema>;
1622
1622
 
1623
- interface IAPI$7 {
1623
+ interface IAPI$8 {
1624
1624
  send: (t: Track) => Promise<boolean>;
1625
1625
  }
1626
- declare const Endpoints$6: {
1626
+ declare const Endpoints$7: {
1627
1627
  Track: {
1628
1628
  uri: string;
1629
1629
  method: string;
1630
1630
  };
1631
1631
  };
1632
1632
 
1633
- type index$8_TrackParam = TrackParam;
1634
- declare const index$8_TrackParamSchema: typeof TrackParamSchema;
1635
- declare const index$8_TrackSchema: typeof TrackSchema;
1636
- declare namespace index$8 {
1637
- export { Endpoints$6 as Endpoints, type Track as Entity, type IAPI$7 as IAPI, type index$8_TrackParam as TrackParam, index$8_TrackParamSchema as TrackParamSchema, index$8_TrackSchema as TrackSchema };
1633
+ type index$9_TrackParam = TrackParam;
1634
+ declare const index$9_TrackParamSchema: typeof TrackParamSchema;
1635
+ declare const index$9_TrackSchema: typeof TrackSchema;
1636
+ declare namespace index$9 {
1637
+ export { Endpoints$7 as Endpoints, type Track as Entity, type IAPI$8 as IAPI, type index$9_TrackParam as TrackParam, index$9_TrackParamSchema as TrackParamSchema, index$9_TrackSchema as TrackSchema };
1638
1638
  }
1639
1639
 
1640
1640
  declare const EmailSchema: z.ZodObject<{
@@ -1652,19 +1652,19 @@ declare const EmailSchema: z.ZodObject<{
1652
1652
  }>;
1653
1653
  type Email = z.infer<typeof EmailSchema>;
1654
1654
 
1655
- interface IAPI$6 {
1655
+ interface IAPI$7 {
1656
1656
  send: (email: Email, ctx?: Context) => Promise<boolean>;
1657
1657
  }
1658
- declare const Endpoints$5: {
1658
+ declare const Endpoints$6: {
1659
1659
  SendEmail: {
1660
1660
  uri: string;
1661
1661
  method: string;
1662
1662
  };
1663
1663
  };
1664
1664
 
1665
- declare const index$7_EmailSchema: typeof EmailSchema;
1666
- declare namespace index$7 {
1667
- export { index$7_EmailSchema as EmailSchema, Endpoints$5 as Endpoints, type Email as Entity, type IAPI$6 as IAPI };
1665
+ declare const index$8_EmailSchema: typeof EmailSchema;
1666
+ declare namespace index$8 {
1667
+ export { index$8_EmailSchema as EmailSchema, Endpoints$6 as Endpoints, type Email as Entity, type IAPI$7 as IAPI };
1668
1668
  }
1669
1669
 
1670
1670
  declare enum Status$1 {
@@ -1964,7 +1964,7 @@ type Project = z.infer<typeof ProjectSchema>;
1964
1964
  type TimelineItem = z.infer<typeof TimelineItemSchema>;
1965
1965
  type Feedback = z.infer<typeof FeedbackSchema>;
1966
1966
 
1967
- interface IAPI$5 {
1967
+ interface IAPI$6 {
1968
1968
  reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
1969
1969
  find: (context: Context, projectId: string) => Promise<Project>;
1970
1970
  create: (context: Context, data: ProjectCreation) => Promise<Project>;
@@ -1985,7 +1985,7 @@ interface IAPI$5 {
1985
1985
  isEligibleForFreeProject(context: Context): Promise<boolean>;
1986
1986
  };
1987
1987
  }
1988
- declare const Endpoints$4: {
1988
+ declare const Endpoints$5: {
1989
1989
  Reorder: {
1990
1990
  uri: string;
1991
1991
  method: string;
@@ -2092,22 +2092,22 @@ type StatusConfigType = {
2092
2092
  };
2093
2093
  declare const StatusConfig: Record<Status$1, StatusConfigType>;
2094
2094
 
2095
- type index$6_Approve = Approve;
2096
- type index$6_CaptionStyle = CaptionStyle;
2097
- declare const index$6_CaptionStyle: typeof CaptionStyle;
2098
- type index$6_Feedback = Feedback;
2099
- declare const index$6_FeedbackSchema: typeof FeedbackSchema;
2100
- type index$6_ProjectCreation = ProjectCreation;
2101
- declare const index$6_ProjectSchema: typeof ProjectSchema;
2102
- type index$6_SendToApproval = SendToApproval;
2103
- declare const index$6_StatusConfig: typeof StatusConfig;
2104
- type index$6_StatusConfigType = StatusConfigType;
2105
- type index$6_Style = Style;
2106
- declare const index$6_Styles: typeof Styles;
2107
- type index$6_TimelineItem = TimelineItem;
2108
- declare const index$6_TimelineItemSchema: typeof TimelineItemSchema;
2109
- declare namespace index$6 {
2110
- export { type index$6_Approve as Approve, index$6_CaptionStyle as CaptionStyle, Endpoints$4 as Endpoints, type Project as Entity, type index$6_Feedback as Feedback, index$6_FeedbackSchema as FeedbackSchema, type IAPI$5 as IAPI, type index$6_ProjectCreation as ProjectCreation, index$6_ProjectSchema as ProjectSchema, type index$6_SendToApproval as SendToApproval, Status$1 as Status, index$6_StatusConfig as StatusConfig, type index$6_StatusConfigType as StatusConfigType, type index$6_Style as Style, index$6_Styles as Styles, type index$6_TimelineItem as TimelineItem, index$6_TimelineItemSchema as TimelineItemSchema };
2095
+ type index$7_Approve = Approve;
2096
+ type index$7_CaptionStyle = CaptionStyle;
2097
+ declare const index$7_CaptionStyle: typeof CaptionStyle;
2098
+ type index$7_Feedback = Feedback;
2099
+ declare const index$7_FeedbackSchema: typeof FeedbackSchema;
2100
+ type index$7_ProjectCreation = ProjectCreation;
2101
+ declare const index$7_ProjectSchema: typeof ProjectSchema;
2102
+ type index$7_SendToApproval = SendToApproval;
2103
+ declare const index$7_StatusConfig: typeof StatusConfig;
2104
+ type index$7_StatusConfigType = StatusConfigType;
2105
+ type index$7_Style = Style;
2106
+ declare const index$7_Styles: typeof Styles;
2107
+ type index$7_TimelineItem = TimelineItem;
2108
+ declare const index$7_TimelineItemSchema: typeof TimelineItemSchema;
2109
+ declare namespace index$7 {
2110
+ export { type index$7_Approve as Approve, index$7_CaptionStyle as CaptionStyle, Endpoints$5 as Endpoints, type Project as Entity, type index$7_Feedback as Feedback, index$7_FeedbackSchema as FeedbackSchema, type IAPI$6 as IAPI, type index$7_ProjectCreation as ProjectCreation, index$7_ProjectSchema as ProjectSchema, type index$7_SendToApproval as SendToApproval, Status$1 as Status, index$7_StatusConfig as StatusConfig, type index$7_StatusConfigType as StatusConfigType, type index$7_Style as Style, index$7_Styles as Styles, type index$7_TimelineItem as TimelineItem, index$7_TimelineItemSchema as TimelineItemSchema };
2111
2111
  }
2112
2112
 
2113
2113
  declare const DailyMilestoneSchema: z.ZodObject<{
@@ -2179,11 +2179,11 @@ declare const GoalSchema: z.ZodObject<{
2179
2179
  type DailyMilestone = z.infer<typeof DailyMilestoneSchema>;
2180
2180
  type Goal = z.infer<typeof GoalSchema>;
2181
2181
 
2182
- interface IAPI$4 {
2182
+ interface IAPI$5 {
2183
2183
  getGoals: (context: Context) => Promise<Goal[]>;
2184
2184
  getEditorGoals: (context: Context, editorId: string) => Promise<Goal[]>;
2185
2185
  }
2186
- declare const Endpoints$3: {
2186
+ declare const Endpoints$4: {
2187
2187
  GetGoals: {
2188
2188
  uri: string;
2189
2189
  method: string;
@@ -2194,11 +2194,58 @@ declare const Endpoints$3: {
2194
2194
  };
2195
2195
  };
2196
2196
 
2197
- type index$5_DailyMilestone = DailyMilestone;
2198
- declare const index$5_DailyMilestoneSchema: typeof DailyMilestoneSchema;
2199
- declare const index$5_GoalSchema: typeof GoalSchema;
2197
+ type index$6_DailyMilestone = DailyMilestone;
2198
+ declare const index$6_DailyMilestoneSchema: typeof DailyMilestoneSchema;
2199
+ declare const index$6_GoalSchema: typeof GoalSchema;
2200
+ declare namespace index$6 {
2201
+ export { type index$6_DailyMilestone as DailyMilestone, index$6_DailyMilestoneSchema as DailyMilestoneSchema, Endpoints$4 as Endpoints, type Goal as Entity, index$6_GoalSchema as GoalSchema, type IAPI$5 as IAPI };
2202
+ }
2203
+
2204
+ declare const EditorSchema: z.ZodObject<{
2205
+ id: z.ZodString;
2206
+ email: z.ZodString;
2207
+ isEnabled: z.ZodBoolean;
2208
+ type: z.ZodEnum<["FT", "PT"]>;
2209
+ goal: z.ZodNumber;
2210
+ maxHold: z.ZodNumber;
2211
+ lastBind: z.ZodNumber;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ email: string;
2214
+ id: string;
2215
+ type: "FT" | "PT";
2216
+ isEnabled: boolean;
2217
+ goal: number;
2218
+ maxHold: number;
2219
+ lastBind: number;
2220
+ }, {
2221
+ email: string;
2222
+ id: string;
2223
+ type: "FT" | "PT";
2224
+ isEnabled: boolean;
2225
+ goal: number;
2226
+ maxHold: number;
2227
+ lastBind: number;
2228
+ }>;
2229
+ type Editor = z.infer<typeof EditorSchema>;
2230
+
2231
+ interface IAPI$4 {
2232
+ getAll(context: Context): Promise<Editor[]>;
2233
+ getById(context: Context, editorId: string): Promise<Editor>;
2234
+ }
2235
+ declare const Endpoints$3: {
2236
+ GetAll: {
2237
+ uri: string;
2238
+ method: string;
2239
+ };
2240
+ GetById: {
2241
+ uri: string;
2242
+ method: string;
2243
+ };
2244
+ };
2245
+
2246
+ declare const index$5_EditorSchema: typeof EditorSchema;
2200
2247
  declare namespace index$5 {
2201
- export { type index$5_DailyMilestone as DailyMilestone, index$5_DailyMilestoneSchema as DailyMilestoneSchema, Endpoints$3 as Endpoints, type Goal as Entity, index$5_GoalSchema as GoalSchema, type IAPI$4 as IAPI };
2248
+ export { index$5_EditorSchema as EditorSchema, Endpoints$3 as Endpoints, type Editor as Entity, type IAPI$4 as IAPI };
2202
2249
  }
2203
2250
 
2204
2251
  declare enum Frequency {
@@ -3112,16 +3159,17 @@ declare namespace index$2 {
3112
3159
  }
3113
3160
 
3114
3161
  declare class ShredAPI {
3115
- user: IAPI$9;
3116
- goal: IAPI$4;
3117
- subscription: IAPI$a;
3118
- prompt: IAPI$b;
3162
+ user: IAPI$a;
3163
+ goal: IAPI$5;
3164
+ editor: IAPI$4;
3165
+ subscription: IAPI$b;
3166
+ prompt: IAPI$c;
3119
3167
  pushNotification: IAPI$3;
3120
- email: IAPI$6;
3121
- tenant: IAPI$8;
3168
+ email: IAPI$7;
3169
+ tenant: IAPI$9;
3122
3170
  app: IAPI$2;
3123
- project: IAPI$5;
3124
- track: IAPI$7;
3171
+ project: IAPI$6;
3172
+ track: IAPI$8;
3125
3173
  note: IAPI$1;
3126
3174
  specialOffer: IAPI;
3127
3175
  constructor(env: Environment);
@@ -3215,4 +3263,4 @@ declare namespace index {
3215
3263
  export { index_AssetSchema as AssetSchema, type Asset as Entity };
3216
3264
  }
3217
3265
 
3218
- export { index as Asset, index$b as Core, index$7 as Email, index$1 as Exceptions, index$5 as Goal, index$3 as Note, index$4 as Notification, index$6 as Project, index$d as Prompt, ShredAPI, index$2 as SpecialOffer, index$c as Subscription, index$9 as Tenant, index$8 as Track, index$a as User, ShredAPI as default };
3266
+ export { index as Asset, index$c as Core, index$5 as Editor, index$8 as Email, index$1 as Exceptions, index$6 as Goal, index$3 as Note, index$4 as Notification, index$7 as Project, index$e as Prompt, ShredAPI, index$2 as SpecialOffer, index$d as Subscription, index$a as Tenant, index$9 as Track, index$b as User, ShredAPI as default };