@elevasis/sdk 0.8.7 → 0.8.8

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/cli.cjs CHANGED
@@ -43883,7 +43883,7 @@ function wrapAction(commandName, fn) {
43883
43883
  // package.json
43884
43884
  var package_default = {
43885
43885
  name: "@elevasis/sdk",
43886
- version: "0.8.7",
43886
+ version: "0.8.8",
43887
43887
  description: "SDK for building Elevasis organization resources",
43888
43888
  type: "module",
43889
43889
  bin: {
package/dist/index.d.ts CHANGED
@@ -2500,6 +2500,7 @@ type Database = {
2500
2500
  content: Json | null;
2501
2501
  created_at: string;
2502
2502
  faq_items: Json | null;
2503
+ hero_image_url: string | null;
2503
2504
  id: string;
2504
2505
  internal_links: Json | null;
2505
2506
  local_data: Json | null;
@@ -2522,6 +2523,7 @@ type Database = {
2522
2523
  content?: Json | null;
2523
2524
  created_at?: string;
2524
2525
  faq_items?: Json | null;
2526
+ hero_image_url?: string | null;
2525
2527
  id?: string;
2526
2528
  internal_links?: Json | null;
2527
2529
  local_data?: Json | null;
@@ -2544,6 +2546,7 @@ type Database = {
2544
2546
  content?: Json | null;
2545
2547
  created_at?: string;
2546
2548
  faq_items?: Json | null;
2549
+ hero_image_url?: string | null;
2547
2550
  id?: string;
2548
2551
  internal_links?: Json | null;
2549
2552
  local_data?: Json | null;
@@ -3850,6 +3853,31 @@ interface AcqDeal {
3850
3853
  createdAt: Date;
3851
3854
  updatedAt: Date;
3852
3855
  }
3856
+ interface DealStageSummary {
3857
+ stage: string;
3858
+ count: number;
3859
+ oldestUpdatedAt: string | null;
3860
+ newestUpdatedAt: string | null;
3861
+ }
3862
+ interface StaleDeal {
3863
+ id: string;
3864
+ contactEmail: string;
3865
+ cachedStage: string;
3866
+ updatedAt: string;
3867
+ daysStale: number;
3868
+ }
3869
+ interface DealPipelineAnalytics {
3870
+ totalDeals: number;
3871
+ stageSummary: DealStageSummary[];
3872
+ staleDeals: StaleDeal[];
3873
+ recentActivity: AcqDeal[];
3874
+ }
3875
+ interface DealFilters {
3876
+ stage?: string;
3877
+ search?: string;
3878
+ limit?: number;
3879
+ offset?: number;
3880
+ }
3853
3881
  interface AddContactsToListParams {
3854
3882
  organizationId: string;
3855
3883
  listId: string;
@@ -6267,6 +6295,16 @@ type LeadToolMap = {
6267
6295
  params: Omit<DeleteDealParams, 'organizationId'>;
6268
6296
  result: void;
6269
6297
  };
6298
+ listDeals: {
6299
+ params: DealFilters;
6300
+ result: AcqDeal[];
6301
+ };
6302
+ getDealPipelineAnalytics: {
6303
+ params: {
6304
+ recentLimit?: number;
6305
+ };
6306
+ result: DealPipelineAnalytics;
6307
+ };
6270
6308
  mergeEnrichmentData: {
6271
6309
  params: {
6272
6310
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {