@better-giving/endowment 4.0.36 → 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,21 +89,25 @@ 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;
98
98
  w_form?: string | undefined;
99
99
  payout_minimum?: number | undefined;
100
+ donor_address_required?: boolean | undefined;
100
101
  PK: string;
101
102
  SK: import("@better-giving/types/list").Environment;
102
103
  };
103
104
  npo_prog_record(npo: number, data: IProgramDb): {
105
+ totalDonations?: number | undefined;
104
106
  id: string;
105
107
  title: string;
106
108
  description: string;
107
109
  banner?: string | undefined;
108
110
  targetRaise?: number | null | undefined;
109
- totalDonations?: number | undefined;
110
111
  PK: string;
111
112
  SK: string;
112
113
  };
package/dist/npo.mjs CHANGED
@@ -33,4 +33,5 @@ export const npo_fields = {
33
33
  referral_id: "",
34
34
  w_form: "",
35
35
  payout_minimum: "",
36
+ donor_address_required: "",
36
37
  };