@better-giving/donation 1.1.18 → 1.1.19

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.
@@ -115,6 +115,7 @@ export declare namespace Donation {
115
115
  splitLiq: string;
116
116
  charityName: string;
117
117
  nonProfitMsg?: string;
118
+ msg_to_npo?: string;
118
119
  claimed: boolean;
119
120
  fiscalSponsored: boolean;
120
121
  client: Client;
@@ -268,6 +269,7 @@ export declare namespace OnHoldDonation {
268
269
  /** only allowed if honoree is provided */
269
270
  tributeNotif?: Donation.TributeNotif;
270
271
  donor_message?: string;
272
+ msg_to_npo?: string;
271
273
  donor_public?: boolean;
272
274
  company_name?: string;
273
275
  } & (ApesAttributes | EmptyObject) & (Donation.WithKYC | Donation.WithoutKYC);
package/dist/intent.d.mts CHANGED
@@ -96,6 +96,7 @@ export declare const intent: v.ObjectSchema<{
96
96
  }, undefined>;
97
97
  readonly donor_message: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.TrimAction]>, v.NonEmptyAction<string, undefined>]>, v.MaxLengthAction<string, 500, undefined>]>, never>;
98
98
  readonly donor_public: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
99
+ readonly msg_to_npo: v.OptionalSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.TrimAction]>, v.NonEmptyAction<string, undefined>]>, v.MaxLengthAction<string, 500, undefined>]>, never>;
99
100
  readonly source: v.PicklistSchema<readonly ["bg-marketplace", "bg-widget", "tester-app"], undefined>;
100
101
  readonly tribute: v.OptionalSchema<v.ObjectSchema<{
101
102
  readonly full_name: v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.TrimAction]>, v.NonEmptyAction<string, undefined>]>;
package/dist/intent.mjs CHANGED
@@ -58,6 +58,7 @@ export const intent = v.object({
58
58
  donor,
59
59
  donor_message: v.optional(v.pipe(required_str, v.maxLength(500))),
60
60
  donor_public: v.optional(v.boolean()),
61
+ msg_to_npo: v.optional(v.pipe(required_str, v.maxLength(500))),
61
62
  source: donation_source,
62
63
  tribute: v.optional(tribute),
63
64
  frequency,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-giving/donation",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "devDependencies": {
5
5
  "@better-giving/config": "1.1.2"
6
6
  },
package/src/donation.mts CHANGED
@@ -158,6 +158,7 @@ export declare namespace Donation {
158
158
 
159
159
  charityName: string;
160
160
  nonProfitMsg?: string;
161
+ msg_to_npo?: string;
161
162
  claimed: boolean;
162
163
  fiscalSponsored: boolean;
163
164
  client: Client;
@@ -371,6 +372,7 @@ export declare namespace OnHoldDonation {
371
372
  /** only allowed if honoree is provided */
372
373
  tributeNotif?: Donation.TributeNotif;
373
374
  donor_message?: string;
375
+ msg_to_npo?: string;
374
376
  donor_public?: boolean;
375
377
  company_name?: string;
376
378
  } & (ApesAttributes | EmptyObject) &
package/src/intent.mts CHANGED
@@ -98,6 +98,7 @@ export const intent = v.object({
98
98
  donor,
99
99
  donor_message: v.optional(v.pipe(required_str, v.maxLength(500))),
100
100
  donor_public: v.optional(v.boolean()),
101
+ msg_to_npo: v.optional(v.pipe(required_str, v.maxLength(500))),
101
102
  source: donation_source,
102
103
  tribute: v.optional(tribute),
103
104
  frequency,