@better-giving/endowment 4.0.37 → 5.0.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.
package/dist/db.d.mts CHANGED
@@ -48,14 +48,20 @@ export declare class NpoDb extends Db {
48
48
  gsi2SK?: string | undefined;
49
49
  gsi1PK?: string | undefined;
50
50
  gsi1SK?: import("@better-giving/types/list").Environment | undefined;
51
- active_in_countries: string[];
52
- sdgs: (2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17)[];
53
51
  id: number;
54
52
  env: "staging" | "production";
53
+ slug?: string | undefined;
55
54
  registration_number: string;
56
55
  name: string;
57
56
  endow_designation: "Charity" | "Religious Organization" | "University" | "Hospital" | "Other";
57
+ overview?: string | undefined;
58
+ tagline?: string | undefined;
59
+ image?: string | undefined;
60
+ logo?: string | undefined;
61
+ card_img?: string | undefined;
58
62
  hq_country: string;
63
+ active_in_countries: string[];
64
+ street_address?: string | undefined;
59
65
  social_media_urls: {
60
66
  facebook?: string | undefined;
61
67
  twitter?: string | undefined;
@@ -65,17 +71,8 @@ export declare class NpoDb extends Db {
65
71
  youtube?: string | undefined;
66
72
  tiktok?: string | undefined;
67
73
  };
68
- claimed: boolean;
69
- kyc_donors_only: boolean;
70
- fiscal_sponsored: boolean;
71
74
  url?: string | undefined;
72
- slug?: string | undefined;
73
- overview?: string | undefined;
74
- tagline?: string | undefined;
75
- image?: string | undefined;
76
- logo?: string | undefined;
77
- card_img?: string | undefined;
78
- street_address?: string | undefined;
75
+ sdgs: (2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17)[];
79
76
  receiptMsg?: string | undefined;
80
77
  hide_bg_tip?: boolean | undefined;
81
78
  published?: boolean | undefined;
@@ -92,6 +89,9 @@ export declare class NpoDb extends Db {
92
89
  }[] | undefined;
93
90
  fund_opt_in?: boolean | undefined;
94
91
  target?: string | undefined;
92
+ claimed: boolean;
93
+ kyc_donors_only: boolean;
94
+ fiscal_sponsored: boolean;
95
95
  referral_id?: string | undefined;
96
96
  referrer?: string | undefined;
97
97
  referrer_expiry?: string | undefined;
@@ -102,12 +102,12 @@ export declare class NpoDb extends Db {
102
102
  SK: import("@better-giving/types/list").Environment;
103
103
  };
104
104
  npo_prog_record(npo: number, data: IProgramDb): {
105
+ totalDonations?: number | undefined;
105
106
  id: string;
106
107
  title: string;
107
108
  description: string;
108
109
  banner?: string | undefined;
109
110
  targetRaise?: number | null | undefined;
110
- totalDonations?: number | undefined;
111
111
  PK: string;
112
112
  SK: string;
113
113
  };