@grapadigital/shared-app-modules 0.0.171 → 0.0.173

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/action.d.ts CHANGED
@@ -84,7 +84,7 @@ declare interface Attachments {
84
84
  name: string;
85
85
  }
86
86
 
87
- declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
87
+ declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
88
88
 
89
89
  declare interface Canceled {
90
90
  reason: string;
@@ -179,6 +179,7 @@ declare interface ContractedScopeInterface {
179
179
  advisorPayment?: Payment;
180
180
  exchange?: Exchange;
181
181
  collab?: Collab;
182
+ estimates?: ScopeEstimates;
182
183
  }
183
184
 
184
185
  declare interface DeliveryScope {
@@ -546,6 +547,33 @@ declare interface SaleInterface {
546
547
 
547
548
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
548
549
 
550
+ declare interface ScopeEstimateBreakdown {
551
+ formatId: string;
552
+ label: string;
553
+ platform: string;
554
+ quantity: number;
555
+ estimates: {
556
+ impressionCount: number;
557
+ reachCount: number;
558
+ engagementCount: number;
559
+ engagementRate: number;
560
+ };
561
+ }
562
+
563
+ declare interface ScopeEstimates {
564
+ impressionCount: number;
565
+ reachCount: number;
566
+ engagementCount: number;
567
+ engagementRate: number;
568
+ perPost: {
569
+ impressionCount: number;
570
+ reachCount: number;
571
+ engagementCount: number;
572
+ engagementRate: number;
573
+ } | null;
574
+ breakdown: ScopeEstimateBreakdown[];
575
+ }
576
+
549
577
  declare interface ScreeningInterface {
550
578
  subject: string;
551
579
  fromName: string;
@@ -97,7 +97,7 @@ declare interface Attachments {
97
97
  name: string;
98
98
  }
99
99
 
100
- declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
100
+ declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
101
101
 
102
102
  export declare const CampaignsSelectInput: default_2.ForwardRefExoticComponent<Omit<CampaignsSelectInputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
103
103
 
@@ -234,6 +234,7 @@ declare interface ContractedScopeInterface {
234
234
  advisorPayment?: Payment;
235
235
  exchange?: Exchange;
236
236
  collab?: Collab;
237
+ estimates?: ScopeEstimates;
237
238
  }
238
239
 
239
240
  declare interface DeliveryScope {
@@ -815,6 +816,33 @@ declare interface SaleSelectInputProps extends Omit<default_2.ComponentProps<typ
815
816
  onValueChange: (client: SaleInterface) => void;
816
817
  }
817
818
 
819
+ declare interface ScopeEstimateBreakdown {
820
+ formatId: string;
821
+ label: string;
822
+ platform: string;
823
+ quantity: number;
824
+ estimates: {
825
+ impressionCount: number;
826
+ reachCount: number;
827
+ engagementCount: number;
828
+ engagementRate: number;
829
+ };
830
+ }
831
+
832
+ declare interface ScopeEstimates {
833
+ impressionCount: number;
834
+ reachCount: number;
835
+ engagementCount: number;
836
+ engagementRate: number;
837
+ perPost: {
838
+ impressionCount: number;
839
+ reachCount: number;
840
+ engagementCount: number;
841
+ engagementRate: number;
842
+ } | null;
843
+ breakdown: ScopeEstimateBreakdown[];
844
+ }
845
+
818
846
  declare interface ScreeningInterface {
819
847
  subject: string;
820
848
  fromName: string;
package/dist/content.d.ts CHANGED
@@ -84,7 +84,7 @@ declare interface Attachments {
84
84
  name: string;
85
85
  }
86
86
 
87
- declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
87
+ declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
88
88
 
89
89
  declare interface Canceled {
90
90
  reason: string;
@@ -179,6 +179,7 @@ declare interface ContractedScopeInterface {
179
179
  advisorPayment?: Payment;
180
180
  exchange?: Exchange;
181
181
  collab?: Collab;
182
+ estimates?: ScopeEstimates;
182
183
  }
183
184
 
184
185
  declare interface DeliveryScope {
@@ -546,6 +547,33 @@ declare interface SaleInterface {
546
547
 
547
548
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
548
549
 
550
+ declare interface ScopeEstimateBreakdown {
551
+ formatId: string;
552
+ label: string;
553
+ platform: string;
554
+ quantity: number;
555
+ estimates: {
556
+ impressionCount: number;
557
+ reachCount: number;
558
+ engagementCount: number;
559
+ engagementRate: number;
560
+ };
561
+ }
562
+
563
+ declare interface ScopeEstimates {
564
+ impressionCount: number;
565
+ reachCount: number;
566
+ engagementCount: number;
567
+ engagementRate: number;
568
+ perPost: {
569
+ impressionCount: number;
570
+ reachCount: number;
571
+ engagementCount: number;
572
+ engagementRate: number;
573
+ } | null;
574
+ breakdown: ScopeEstimateBreakdown[];
575
+ }
576
+
549
577
  declare interface ScreeningInterface {
550
578
  subject: string;
551
579
  fromName: string;
package/dist/invoice.d.ts CHANGED
@@ -84,7 +84,7 @@ declare interface Attachments {
84
84
  name: string;
85
85
  }
86
86
 
87
- declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
87
+ declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
88
88
 
89
89
  export declare interface Canceled {
90
90
  reason: string;
@@ -179,6 +179,7 @@ declare interface ContractedScopeInterface {
179
179
  advisorPayment?: Payment;
180
180
  exchange?: Exchange;
181
181
  collab?: Collab;
182
+ estimates?: ScopeEstimates;
182
183
  }
183
184
 
184
185
  declare interface DeliveryScope {
@@ -546,6 +547,33 @@ declare interface SaleInterface {
546
547
 
547
548
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
548
549
 
550
+ declare interface ScopeEstimateBreakdown {
551
+ formatId: string;
552
+ label: string;
553
+ platform: string;
554
+ quantity: number;
555
+ estimates: {
556
+ impressionCount: number;
557
+ reachCount: number;
558
+ engagementCount: number;
559
+ engagementRate: number;
560
+ };
561
+ }
562
+
563
+ declare interface ScopeEstimates {
564
+ impressionCount: number;
565
+ reachCount: number;
566
+ engagementCount: number;
567
+ engagementRate: number;
568
+ perPost: {
569
+ impressionCount: number;
570
+ reachCount: number;
571
+ engagementCount: number;
572
+ engagementRate: number;
573
+ } | null;
574
+ breakdown: ScopeEstimateBreakdown[];
575
+ }
576
+
549
577
  declare interface ScreeningInterface {
550
578
  subject: string;
551
579
  fromName: string;
package/dist/payment.d.ts CHANGED
@@ -84,7 +84,7 @@ export declare interface Attachments {
84
84
  name: string;
85
85
  }
86
86
 
87
- declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
87
+ declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
88
88
 
89
89
  export declare interface Canceled {
90
90
  reason: string;
@@ -179,6 +179,7 @@ declare interface ContractedScopeInterface {
179
179
  advisorPayment?: Payment;
180
180
  exchange?: Exchange;
181
181
  collab?: Collab;
182
+ estimates?: ScopeEstimates;
182
183
  }
183
184
 
184
185
  declare interface DeliveryScope {
@@ -546,6 +547,33 @@ declare interface SaleInterface {
546
547
 
547
548
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
548
549
 
550
+ declare interface ScopeEstimateBreakdown {
551
+ formatId: string;
552
+ label: string;
553
+ platform: string;
554
+ quantity: number;
555
+ estimates: {
556
+ impressionCount: number;
557
+ reachCount: number;
558
+ engagementCount: number;
559
+ engagementRate: number;
560
+ };
561
+ }
562
+
563
+ declare interface ScopeEstimates {
564
+ impressionCount: number;
565
+ reachCount: number;
566
+ engagementCount: number;
567
+ engagementRate: number;
568
+ perPost: {
569
+ impressionCount: number;
570
+ reachCount: number;
571
+ engagementCount: number;
572
+ engagementRate: number;
573
+ } | null;
574
+ breakdown: ScopeEstimateBreakdown[];
575
+ }
576
+
549
577
  declare interface ScreeningInterface {
550
578
  subject: string;
551
579
  fromName: string;
@@ -84,7 +84,7 @@ declare interface Attachments {
84
84
  name: string;
85
85
  }
86
86
 
87
- declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
87
+ declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
88
88
 
89
89
  declare interface Canceled {
90
90
  reason: string;
@@ -179,6 +179,7 @@ export declare interface ContractedScopeInterface {
179
179
  advisorPayment?: Payment;
180
180
  exchange?: Exchange;
181
181
  collab?: Collab;
182
+ estimates?: ScopeEstimates;
182
183
  }
183
184
 
184
185
  export declare interface DeliveryScope {
@@ -546,6 +547,33 @@ declare interface SaleInterface {
546
547
 
547
548
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
548
549
 
550
+ export declare interface ScopeEstimateBreakdown {
551
+ formatId: string;
552
+ label: string;
553
+ platform: string;
554
+ quantity: number;
555
+ estimates: {
556
+ impressionCount: number;
557
+ reachCount: number;
558
+ engagementCount: number;
559
+ engagementRate: number;
560
+ };
561
+ }
562
+
563
+ export declare interface ScopeEstimates {
564
+ impressionCount: number;
565
+ reachCount: number;
566
+ engagementCount: number;
567
+ engagementRate: number;
568
+ perPost: {
569
+ impressionCount: number;
570
+ reachCount: number;
571
+ engagementCount: number;
572
+ engagementRate: number;
573
+ } | null;
574
+ breakdown: ScopeEstimateBreakdown[];
575
+ }
576
+
549
577
  declare interface ScreeningInterface {
550
578
  subject: string;
551
579
  fromName: string;
package/dist/sale.d.ts CHANGED
@@ -84,7 +84,7 @@ declare interface Attachments {
84
84
  name: string;
85
85
  }
86
86
 
87
- export declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
87
+ export declare type CalculatorType = "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon" | "byCommission";
88
88
 
89
89
  declare interface Canceled {
90
90
  reason: string;
@@ -179,6 +179,7 @@ declare interface ContractedScopeInterface {
179
179
  advisorPayment?: Payment;
180
180
  exchange?: Exchange;
181
181
  collab?: Collab;
182
+ estimates?: ScopeEstimates;
182
183
  }
183
184
 
184
185
  declare interface DeliveryScope {
@@ -546,6 +547,33 @@ export declare interface SaleInterface {
546
547
 
547
548
  export declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
548
549
 
550
+ declare interface ScopeEstimateBreakdown {
551
+ formatId: string;
552
+ label: string;
553
+ platform: string;
554
+ quantity: number;
555
+ estimates: {
556
+ impressionCount: number;
557
+ reachCount: number;
558
+ engagementCount: number;
559
+ engagementRate: number;
560
+ };
561
+ }
562
+
563
+ declare interface ScopeEstimates {
564
+ impressionCount: number;
565
+ reachCount: number;
566
+ engagementCount: number;
567
+ engagementRate: number;
568
+ perPost: {
569
+ impressionCount: number;
570
+ reachCount: number;
571
+ engagementCount: number;
572
+ engagementRate: number;
573
+ } | null;
574
+ breakdown: ScopeEstimateBreakdown[];
575
+ }
576
+
549
577
  export declare interface ScreeningInterface {
550
578
  subject: string;
551
579
  fromName: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-app-modules",
3
3
  "private": false,
4
- "version": "0.0.171",
4
+ "version": "0.0.173",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -120,6 +120,13 @@
120
120
  }
121
121
  },
122
122
  "type": "module",
123
+ "scripts": {
124
+ "dev": "vite",
125
+ "build": "rm -rf dist && tsc -b && vite build",
126
+ "lint": "eslint .",
127
+ "preview": "vite preview",
128
+ "lib:publish": "pnpm build && pnpm publish --no-git-checks"
129
+ },
123
130
  "peerDependencies": {
124
131
  "react": "^18.3.1",
125
132
  "react-dom": "^18.3.1"
@@ -175,12 +182,5 @@
175
182
  "vite": "^7.2.4",
176
183
  "vite-plugin-dts": "^4.5.4",
177
184
  "vite-plugin-lib-inject-css": "^2.2.2"
178
- },
179
- "scripts": {
180
- "dev": "vite",
181
- "build": "rm -rf dist && tsc -b && vite build",
182
- "lint": "eslint .",
183
- "preview": "vite preview",
184
- "lib:publish": "pnpm build && pnpm publish --no-git-checks"
185
185
  }
186
- }
186
+ }