Socket
Socket
Sign inDemoInstall

@mycopilot/types

Package Overview
Dependencies
19
Maintainers
4
Versions
383
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.3.48 to 7.3.49

19

dist/interfaces/analytics.d.ts

@@ -12,3 +12,3 @@ import type Stripe from "stripe";

};
export type EventType = "session_start" | "page_view" | "coach_switched" | "purchase" | "create_account" | "screen_time_viewed" | "screenshot_taken" | "share_content" | "refer_coach" | "select_coach" | "client_onboarded_by_coach" | "consolidated_action_items" | "calendly_call_scheduled" | "calendly_call_updated" | "calendly_call_canceled" | "button_send_guest_pass" | "send_guest_pass" | "stripe_charge" | "missed_onboarding_call" | "referral_converted" | "referral_engaged" | "first_app_open" | "client_hidden" | "client_unhidden" | "client_marked_hideable" | "client_marked_not_hideable" | "cancel_offer_shown" | "cancel_offer_used" | "balance_adjustment" | "texted_welcome_video" | "sms_send" | "email_send" | "sent_mass_message" | "change_trial_length" | "membership_started" | "cancel_requested" | "cancel_occurred" | "cancel_request_revoked" | "cancel_ended" | "pause_requested" | "pause_occurred" | "pause_request_revoked" | "pause_extended" | "pause_ended" | "card_added" | "card_removed" | "invoice_finalized" | "payment_succeeded" | "payment_failed" | "coaches_matched" | "gpt_coach_matching" | "sr_text_to_client" | "client_responded_to_sr";
export type EventType = "session_start" | "page_view" | "coach_switched" | "purchase" | "create_account" | "screen_time_viewed" | "screenshot_taken" | "share_content" | "refer_coach" | "select_coach" | "client_onboarded_by_coach" | "consolidated_action_items" | "calendly_call_scheduled" | "calendly_call_updated" | "calendly_call_canceled" | "button_send_guest_pass" | "send_guest_pass" | "stripe_charge" | "missed_onboarding_call" | "referral_converted" | "referral_engaged" | "first_app_open" | "client_hidden" | "client_unhidden" | "cancel_offer_shown" | "cancel_offer_used" | "balance_adjustment" | "texted_welcome_video" | "sms_send" | "email_send" | "sent_mass_message" | "change_trial_length" | "membership_started" | "cancel_requested" | "cancel_occurred" | "cancel_request_revoked" | "cancel_ended" | "pause_requested" | "pause_occurred" | "pause_request_revoked" | "pause_extended" | "pause_ended" | "card_added" | "card_removed" | "invoice_finalized" | "payment_succeeded" | "payment_failed" | "coaches_matched" | "gpt_coach_matching" | "sr_text_to_client" | "client_responded_to_sr";
export interface BaseAnalyticsEvent {

@@ -301,3 +301,3 @@ user_id?: string;

type: "client_hidden";
user_id: string;
session_id: string;
content: {

@@ -309,3 +309,3 @@ comp_state: CompState;

type: "client_unhidden";
user_id: string;
session_id: string;
content: {

@@ -315,13 +315,2 @@ comp_state: CompState;

}
export interface EventClientMarkedHideable extends BaseAnalyticsEvent {
type: "client_marked_hideable";
user_id: string;
}
export interface EventClientMarkedNotHideable extends BaseAnalyticsEvent {
type: "client_marked_not_hideable";
user_id: string;
content: {
previous_date_marked_hideable?: null | string | Date;
};
}
export interface EventSentMassMessage extends BaseAnalyticsEvent {

@@ -532,2 +521,2 @@ type: "client_unhidden";

}
export type AnalyticsEvent = EventSessionStart | EventPageView | EventCoachSwitched | EventPurchase | EventCreateAccount | EventScreenTimeViewed | EventScreenshotTaken | EventShareContent | EventReferCoach | EventSelectCoach | EventCalendarCall | StripeChargeEvent | ReferralConvertedEvent | EventCancelOfferUsed | EventReferralEngaged | EventBalanceAdjustment | EventClientHidden | EventClientUnhidden | EventClientMarkedHideable | EventClientMarkedNotHideable | EventSmsSend | EventEmailSend | EventSentMassMessage | EventChangeTrialLength | EventMembershipStarted | EventCancelRequested | EventCancelOccurred | EventCancelRequestRevoked | EventCancelEnded | EventPauseRequested | EventPauseOccurred | EventPauseRequestRevoked | EventPauseExtended | EventPauseEnded | EventCardAdded | EventCardRemoved | EventInvoiceFinalized | EventPaymentSucceeded | EventPaymentFailed | EventCoachesMatched | EventGPTMatch | SRTextToClientEvent | ClientTextToSREvent;
export type AnalyticsEvent = EventSessionStart | EventPageView | EventCoachSwitched | EventPurchase | EventCreateAccount | EventScreenTimeViewed | EventScreenshotTaken | EventShareContent | EventReferCoach | EventSelectCoach | EventCalendarCall | StripeChargeEvent | ReferralConvertedEvent | EventCancelOfferUsed | EventReferralEngaged | EventBalanceAdjustment | EventClientHidden | EventClientUnhidden | EventSmsSend | EventEmailSend | EventSentMassMessage | EventChangeTrialLength | EventMembershipStarted | EventCancelRequested | EventCancelOccurred | EventCancelRequestRevoked | EventCancelEnded | EventPauseRequested | EventPauseOccurred | EventPauseRequestRevoked | EventPauseExtended | EventPauseEnded | EventCardAdded | EventCardRemoved | EventInvoiceFinalized | EventPaymentSucceeded | EventPaymentFailed | EventCoachesMatched | EventGPTMatch | SRTextToClientEvent | ClientTextToSREvent;

@@ -54,4 +54,2 @@ import type { CommunicationStyleTag, LevelLog, TagExperience, TagIdentity, TagSpecialty, WorkoutProgramPhase } from "../index.js";

streak_max_date: string | Date | null;
streak_previous: number;
streak_previous_date: string | Date | null;
};

@@ -276,3 +274,2 @@ orms2: Record<string, unknown>;

is_hidden: boolean;
date_marked_hideable?: null | Date | string;
/** Date the coach onboarded this client */

@@ -279,0 +276,0 @@ date_onboarded: string | Date | null;

@@ -117,3 +117,2 @@ import type { coachCertification, coachEducation } from "../data/index.js";

use_mini_workout_builder: boolean;
hide_action_item_count?: boolean;
};

@@ -120,0 +119,0 @@ access_roles?: AccessRole[];

@@ -51,2 +51,3 @@ import type Stripe from "stripe";

price: number | null;
stripe_price_id: string | null;
description: string | null;

@@ -64,2 +65,3 @@ interval: "month" | "year" | "week" | "day";

};
setToUpdate: boolean;
}

@@ -15,1 +15,19 @@ export interface SubscriptionInfo {

}
export interface SubscriptionGroupOption {
monthly_price: number;
title: string;
details: string;
stripe_price_id: string;
interval: "year" | "month" | "week" | "day";
interval_count: number;
tier: string;
test_ids: string[];
status: "active" | "supported" | "inactive";
}
export interface SubscriptionGroup {
group_id: string;
group_name: string;
test_ids: string[];
status: "active" | "inactive";
options: SubscriptionGroupOption[];
}
{
"name": "@mycopilot/types",
"version": "7.3.48",
"version": "7.3.49",
"sideEffects": false,

@@ -16,8 +16,16 @@ "main": "./dist/index.js",

],
"scripts": {
"dev": "tsc -w",
"build": "tsc",
"lint": "eslint \"src/**/*.ts*\"",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"codegen:schema": "npx ts-json-schema-generator --path './src/interfaces/**/*.ts' --out schema.json",
"prepublish": "pnpm run build"
},
"dependencies": {
"stripe": "^11.17.0",
"typescript": "^5.0.3"
"stripe": "^11.16.0",
"typescript": "^5.0.2"
},
"devDependencies": {
"eslint": "^8.37.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",

@@ -31,11 +39,3 @@ "prettier": "^2.8.7"

"node": "^18.12.1"
},
"scripts": {
"dev": "tsc -w",
"build": "tsc",
"lint": "eslint \"src/**/*.ts*\"",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"codegen:schema": "npx ts-json-schema-generator --path './src/interfaces/**/*.ts' --out schema.json",
"prepublish": "pnpm run build"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc