@tellescope/types-models 1.204.1 → 1.205.0

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.
@@ -999,6 +999,10 @@ export type EndusersReport = Report;
999
999
  export type JourneyStatistics = {
1000
1000
  steps: Record<string, {
1001
1001
  count: number;
1002
+ activeCount: number;
1003
+ finishedCount: number;
1004
+ errorCount: number;
1005
+ cancelledCount: number;
1002
1006
  opens?: number;
1003
1007
  clicked?: number;
1004
1008
  }>;
@@ -2353,6 +2357,7 @@ export interface Product extends Product_readonly, Product_required, Product_upd
2353
2357
  stripeSubscriptionId?: string;
2354
2358
  stripeProductId?: string;
2355
2359
  stripePriceId?: string;
2360
+ additionalStripePriceIds?: string[];
2356
2361
  }
2357
2362
  export interface Purchase_readonly extends ClientRecord {
2358
2363
  }
@@ -3513,6 +3518,9 @@ export type AnalyticsQueryInfoForType = {
3513
3518
  "Journey Logs": {
3514
3519
  Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
3515
3520
  };
3521
+ "Orders": {
3522
+ Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
3523
+ };
3516
3524
  };
3517
3525
  export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
3518
3526
  export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
@@ -3585,6 +3593,7 @@ export type AnalyticsQueryFilterForType = {
3585
3593
  "Journey Logs": {
3586
3594
  automationStepIds?: string[];
3587
3595
  };
3596
+ Orders: {};
3588
3597
  };
3589
3598
  export type EnduserGrouping = {
3590
3599
  Field?: string;
@@ -3648,6 +3657,9 @@ export type AnalyticsQueryGroupingForType = {
3648
3657
  "Meetings": {
3649
3658
  Host?: boolean;
3650
3659
  };
3660
+ "Orders": {} & EnduserGrouping & {
3661
+ Enduser: string;
3662
+ };
3651
3663
  };
3652
3664
  type DefaultRangeKey = 'Created At' | 'Updated At';
3653
3665
  export type AnalyticsQueryRangeKeyForType = {
@@ -3664,6 +3676,7 @@ export type AnalyticsQueryRangeKeyForType = {
3664
3676
  "Files": DefaultRangeKey;
3665
3677
  "Meetings": DefaultRangeKey;
3666
3678
  "Journey Logs": DefaultRangeKey;
3679
+ "Orders": DefaultRangeKey;
3667
3680
  };
3668
3681
  export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At";
3669
3682
  export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
@@ -3692,6 +3705,7 @@ export type AnalyticsQueryForType = {
3692
3705
  "Files": AnalyticsQueryBuilder<"Files", AnalyticsQueryInfoForType['Files'][keyof AnalyticsQueryInfoForType['Files']], AnalyticsQueryFilterForType['Files'], AnalyticsQueryGroupingForType['Files'], AnalyticsQueryRangeKeyForType['Files']>;
3693
3706
  "Meetings": AnalyticsQueryBuilder<"Meetings", AnalyticsQueryInfoForType['Meetings'][keyof AnalyticsQueryInfoForType['Meetings']], AnalyticsQueryFilterForType['Meetings'], AnalyticsQueryGroupingForType['Meetings'], AnalyticsQueryRangeKeyForType['Meetings']>;
3694
3707
  "Journey Logs": AnalyticsQueryBuilder<"Journey Logs", AnalyticsQueryInfoForType['Journey Logs'][keyof AnalyticsQueryInfoForType['Journey Logs']], AnalyticsQueryFilterForType['Journey Logs'], AnalyticsQueryGroupingForType['Journey Logs'], AnalyticsQueryRangeKeyForType['Journey Logs']>;
3708
+ "Orders": AnalyticsQueryBuilder<"Orders", AnalyticsQueryInfoForType['Orders'][keyof AnalyticsQueryInfoForType['Orders']], AnalyticsQueryFilterForType['Orders'], AnalyticsQueryGroupingForType['Orders'], AnalyticsQueryRangeKeyForType['Orders']>;
3695
3709
  };
3696
3710
  export type AnalyticsQueryType = keyof AnalyticsQueryForType;
3697
3711
  export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType];
@@ -4114,6 +4128,7 @@ export type SuperbillLineItem = {
4114
4128
  currency: Currency;
4115
4129
  };
4116
4130
  discount?: number;
4131
+ diagnosisCodes?: string[];
4117
4132
  };
4118
4133
  export type SuperbillPatientInfo = {
4119
4134
  name: string;