@segment/action-destinations 3.154.3-ttd.1 → 3.155.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/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/generated-types.d.ts +12 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.js +56 -20
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/generated-types.d.ts +19 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/index.js +92 -12
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/generated-types.d.ts +12 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/index.js +230 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/types/index.d.ts +19 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.js +22 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.js.map +1 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js +74 -59
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/generated-types.d.ts +2 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js +9 -3
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.d.ts +6 -2
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js +67 -7
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/index.js +2 -2
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.d.ts +3 -2
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js +6 -2
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.d.ts +3 -2
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.js +27 -13
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/constants.d.ts +1 -1
- package/dist/destinations/facebook-conversions-api/constants.js +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.d.ts +7 -1
- package/dist/destinations/google-enhanced-conversions/functions.js +15 -3
- package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/postConversion/index.js +1 -1
- package/dist/destinations/google-enhanced-conversions/postConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/index.js +3 -3
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js +3 -3
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js +2 -2
- package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js.map +1 -1
- package/dist/destinations/gwen/index.js +3 -3
- package/dist/destinations/gwen/index.js.map +1 -1
- package/dist/destinations/index.js +1 -1
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/livelike-cloud/properties.d.ts +1 -1
- package/dist/destinations/livelike-cloud/properties.js +1 -1
- package/dist/destinations/livelike-cloud/properties.js.map +1 -1
- package/dist/destinations/pinterest-conversions/index.js +29 -17
- package/dist/destinations/pinterest-conversions/index.js.map +1 -1
- package/dist/destinations/pinterest-conversions/reportConversionEvent/index.js +3 -2
- package/dist/destinations/pinterest-conversions/reportConversionEvent/index.js.map +1 -1
- package/dist/destinations/pinterest-conversions/types.d.ts +8 -0
- package/dist/destinations/pinterest-conversions/types.js +8 -0
- package/dist/destinations/pinterest-conversions/types.js.map +1 -0
- package/dist/destinations/the-trade-desk-crm/generated-types.d.ts +0 -2
- package/dist/destinations/the-trade-desk-crm/index.js +2 -21
- package/dist/destinations/the-trade-desk-crm/index.js.map +1 -1
- package/dist/destinations/tiktok-offline-conversions/common_fields.d.ts +2 -0
- package/dist/destinations/tiktok-offline-conversions/common_fields.js +85 -0
- package/dist/destinations/tiktok-offline-conversions/common_fields.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/formatter.d.ts +2 -0
- package/dist/destinations/tiktok-offline-conversions/formatter.js +33 -0
- package/dist/destinations/tiktok-offline-conversions/formatter.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/generated-types.d.ts +4 -0
- package/dist/destinations/tiktok-offline-conversions/generated-types.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/index.d.ts +4 -0
- package/dist/destinations/tiktok-offline-conversions/index.js +93 -0
- package/dist/destinations/tiktok-offline-conversions/index.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/generated-types.d.ts +10 -0
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/generated-types.js +3 -0
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/generated-types.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/index.js +36 -0
- package/dist/destinations/tiktok-offline-conversions/trackNonPaymentOfflineConversion/index.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/generated-types.d.ts +20 -0
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/generated-types.js +3 -0
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/generated-types.js.map +1 -0
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/index.d.ts +5 -0
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/index.js +132 -0
- package/dist/destinations/tiktok-offline-conversions/trackPaymentOfflineConversion/index.js.map +1 -0
- package/dist/destinations/webhook/__test__/webhook.test.js +20 -0
- package/dist/destinations/webhook/__test__/webhook.test.js.map +1 -1
- package/dist/destinations/webhook/send/index.js +26 -11
- package/dist/destinations/webhook/send/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/destinations/the-trade-desk-crm/functions.d.ts +0 -23
- package/dist/destinations/the-trade-desk-crm/functions.js +0 -113
- package/dist/destinations/the-trade-desk-crm/functions.js.map +0 -1
- package/dist/destinations/the-trade-desk-crm/properties.d.ts +0 -7
- package/dist/destinations/the-trade-desk-crm/properties.js +0 -49
- package/dist/destinations/the-trade-desk-crm/properties.js.map +0 -1
- package/dist/destinations/the-trade-desk-crm/syncAudience/generated-types.d.ts +0 -8
- package/dist/destinations/the-trade-desk-crm/syncAudience/generated-types.js.map +0 -1
- package/dist/destinations/the-trade-desk-crm/syncAudience/index.js +0 -25
- package/dist/destinations/the-trade-desk-crm/syncAudience/index.js.map +0 -1
- /package/dist/destinations/{the-trade-desk-crm/syncAudience → tiktok-offline-conversions}/generated-types.js +0 -0
- /package/dist/destinations/{the-trade-desk-crm/syncAudience → tiktok-offline-conversions/trackNonPaymentOfflineConversion}/index.d.ts +0 -0
package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/generated-types.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface Payload {
|
|
|
27
27
|
type?: string;
|
|
28
28
|
};
|
|
29
29
|
constituent_birthdate?: string | number;
|
|
30
|
+
constituent_birthplace?: string;
|
|
30
31
|
constituent_id?: string;
|
|
31
32
|
constituent_email?: {
|
|
32
33
|
address?: string;
|
|
@@ -34,11 +35,16 @@ export interface Payload {
|
|
|
34
35
|
primary?: boolean;
|
|
35
36
|
type?: string;
|
|
36
37
|
};
|
|
38
|
+
constituent_ethnicity?: string;
|
|
37
39
|
constituent_first?: string;
|
|
40
|
+
constituent_former_name?: string;
|
|
38
41
|
constituent_gender?: string;
|
|
42
|
+
constituent_gives_anonymously?: boolean;
|
|
39
43
|
constituent_income?: string;
|
|
44
|
+
constituent_industry?: string;
|
|
40
45
|
constituent_last?: string;
|
|
41
46
|
constituent_lookup_id?: string;
|
|
47
|
+
constituent_marital_status?: string;
|
|
42
48
|
constituent_online_presence?: {
|
|
43
49
|
address?: string;
|
|
44
50
|
primary?: boolean;
|
|
@@ -50,4 +56,10 @@ export interface Payload {
|
|
|
50
56
|
primary?: boolean;
|
|
51
57
|
type?: string;
|
|
52
58
|
};
|
|
59
|
+
constituent_preferred_name?: string;
|
|
60
|
+
constituent_religion?: string;
|
|
61
|
+
constituent_suffix?: string;
|
|
62
|
+
constituent_suffix_2?: string;
|
|
63
|
+
constituent_title?: string;
|
|
64
|
+
constituent_title_2?: string;
|
|
53
65
|
}
|
|
@@ -25,37 +25,52 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
25
25
|
{ label: 'Mailing', value: 'Mailing' },
|
|
26
26
|
{ label: 'Email', value: 'Email' },
|
|
27
27
|
{ label: 'Task/Other', value: 'Task/Other' }
|
|
28
|
-
]
|
|
28
|
+
],
|
|
29
|
+
default: {
|
|
30
|
+
'@path': '$.properties.category'
|
|
31
|
+
}
|
|
29
32
|
},
|
|
30
33
|
completed: {
|
|
31
34
|
label: 'Completed',
|
|
32
35
|
description: 'Indicates whether the action is complete.',
|
|
33
|
-
type: 'boolean'
|
|
36
|
+
type: 'boolean',
|
|
37
|
+
default: {
|
|
38
|
+
'@path': '$.properties.completed'
|
|
39
|
+
}
|
|
34
40
|
},
|
|
35
41
|
completed_date: {
|
|
36
42
|
label: 'Completed Date',
|
|
37
43
|
description: 'The date when the action was completed in ISO-8601 format.',
|
|
38
|
-
type: 'datetime'
|
|
44
|
+
type: 'datetime',
|
|
45
|
+
default: {
|
|
46
|
+
'@path': '$.properties.completedDate'
|
|
47
|
+
}
|
|
39
48
|
},
|
|
40
49
|
description: {
|
|
41
50
|
label: 'Description',
|
|
42
51
|
description: 'The detailed explanation that elaborates on the action summary.',
|
|
43
|
-
type: 'string'
|
|
52
|
+
type: 'string',
|
|
53
|
+
default: {
|
|
54
|
+
'@path': '$.properties.description'
|
|
55
|
+
}
|
|
44
56
|
},
|
|
45
57
|
direction: {
|
|
46
58
|
label: 'Direction',
|
|
47
|
-
description: 'The direction of the action. Available values are "Inbound" and "Outbound".
|
|
59
|
+
description: 'The direction of the action. Available values are "Inbound" and "Outbound".',
|
|
48
60
|
type: 'string',
|
|
49
|
-
default: 'Inbound',
|
|
50
61
|
choices: [
|
|
51
62
|
{ label: 'Inbound', value: 'Inbound' },
|
|
52
63
|
{ label: 'Outbound', value: 'Outbound' }
|
|
53
|
-
]
|
|
64
|
+
],
|
|
65
|
+
default: 'Inbound'
|
|
54
66
|
},
|
|
55
67
|
end_time: {
|
|
56
68
|
label: 'End Time',
|
|
57
69
|
description: 'The end time of the action. Uses 24-hour time in the HH:mm format. For example, 17:30 represents 5:30 p.m.',
|
|
58
|
-
type: 'string'
|
|
70
|
+
type: 'string',
|
|
71
|
+
default: {
|
|
72
|
+
'@path': '$.properties.endTime'
|
|
73
|
+
}
|
|
59
74
|
},
|
|
60
75
|
fundraisers: {
|
|
61
76
|
label: 'Fundraisers',
|
|
@@ -66,7 +81,10 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
66
81
|
location: {
|
|
67
82
|
label: 'Location',
|
|
68
83
|
description: 'The location of the action. Available values are the entries in the Action Locations table.',
|
|
69
|
-
type: 'string'
|
|
84
|
+
type: 'string',
|
|
85
|
+
default: {
|
|
86
|
+
'@path': '$.properties.location'
|
|
87
|
+
}
|
|
70
88
|
},
|
|
71
89
|
opportunity_id: {
|
|
72
90
|
label: 'Opportunity ID',
|
|
@@ -80,43 +98,61 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
80
98
|
choices: [
|
|
81
99
|
{ label: 'Successful', value: 'Successful' },
|
|
82
100
|
{ label: 'Unsuccessful', value: 'Unsuccessful' }
|
|
83
|
-
]
|
|
101
|
+
],
|
|
102
|
+
default: {
|
|
103
|
+
'@path': '$.properties.outcome'
|
|
104
|
+
}
|
|
84
105
|
},
|
|
85
106
|
priority: {
|
|
86
107
|
label: 'Priority',
|
|
87
|
-
description: 'The priority of the action. Available values are Normal, High, and Low.
|
|
108
|
+
description: 'The priority of the action. Available values are Normal, High, and Low.',
|
|
88
109
|
type: 'string',
|
|
89
|
-
default: 'Normal',
|
|
90
110
|
choices: [
|
|
91
111
|
{ label: 'High', value: 'High' },
|
|
92
112
|
{ label: 'Low', value: 'Low' },
|
|
93
113
|
{ label: 'Normal', value: 'Normal' }
|
|
94
|
-
]
|
|
114
|
+
],
|
|
115
|
+
default: 'Normal'
|
|
95
116
|
},
|
|
96
117
|
start_time: {
|
|
97
118
|
label: 'Start Time',
|
|
98
119
|
description: 'The start time of the action. Uses 24-hour time in the HH:mm format. For example, 17:30 represents 5:30 p.m.',
|
|
99
|
-
type: 'string'
|
|
120
|
+
type: 'string',
|
|
121
|
+
default: {
|
|
122
|
+
'@path': '$.properties.startTime'
|
|
123
|
+
}
|
|
100
124
|
},
|
|
101
125
|
status: {
|
|
102
126
|
label: 'Status',
|
|
103
127
|
description: 'The action status. If the system is configured to use custom action statuses, available values are the entries in the Action Status table.',
|
|
104
|
-
type: 'string'
|
|
128
|
+
type: 'string',
|
|
129
|
+
default: {
|
|
130
|
+
'@path': '$.properties.status'
|
|
131
|
+
}
|
|
105
132
|
},
|
|
106
133
|
summary: {
|
|
107
134
|
label: 'Summary',
|
|
108
|
-
description: 'The short description of the action that appears at the top of the record.
|
|
109
|
-
type: 'string'
|
|
135
|
+
description: 'The short description of the action that appears at the top of the record. Limited to 255 characters.',
|
|
136
|
+
type: 'string',
|
|
137
|
+
default: {
|
|
138
|
+
'@path': '$.properties.summary'
|
|
139
|
+
}
|
|
110
140
|
},
|
|
111
141
|
type: {
|
|
112
142
|
label: 'Type',
|
|
113
143
|
description: 'Additional description of the action to complement the category. Available values are the entries in the Actions table.',
|
|
114
|
-
type: 'string'
|
|
144
|
+
type: 'string',
|
|
145
|
+
default: {
|
|
146
|
+
'@path': '$.properties.type'
|
|
147
|
+
}
|
|
115
148
|
},
|
|
116
149
|
author: {
|
|
117
150
|
label: 'Author',
|
|
118
|
-
description: "The author of the action's summary and description. If not supplied, will have a default set based on the user's account.
|
|
119
|
-
type: 'string'
|
|
151
|
+
description: "The author of the action's summary and description. If not supplied, will have a default set based on the user's account. Limited to 50 characters.",
|
|
152
|
+
type: 'string',
|
|
153
|
+
default: {
|
|
154
|
+
'@path': '$.properties.author'
|
|
155
|
+
}
|
|
120
156
|
}
|
|
121
157
|
});
|
|
122
158
|
const perform = async (request, { settings, payload }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.ts"],"names":[],"mappings":";;AAAA,wDAA+G;AAG/G,gGAA8G;AAC9G,gCAAwC;AAExC,oCAIiB;AAEjB,MAAM,MAAM,GAA+B,0CAAkC,CAAC;IAC5E,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,OAAO,EAAE,aAAa;SACvB;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,WAAW,EACT,iIAAiI;QACnI,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;YAC5C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACtC,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACtC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;YAClC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;SAC7C;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.ts"],"names":[],"mappings":";;AAAA,wDAA+G;AAG/G,gGAA8G;AAC9G,gCAAwC;AAExC,oCAIiB;AAEjB,MAAM,MAAM,GAA+B,0CAAkC,CAAC;IAC5E,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,OAAO,EAAE,aAAa;SACvB;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,WAAW,EACT,iIAAiI;QACnI,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;YAC5C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACtC,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACtC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;YAClC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;SAC7C;QACD,OAAO,EAAE;YACP,OAAO,EAAE,uBAAuB;SACjC;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACP,OAAO,EAAE,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GAAiC,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACrF,MAAM,kBAAkB,GAAG,0CAAkC,CAAC,OAA8B,CAAC,CAAA;IAE7F,IAAI,aAAa,GAAG,OAAO,CAAC,cAAc,CAAA;IAC1C,IAAI,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;QAC9C,MAAM,2CAA2C,GAAG,MAAM,6CAA0C,CAAC,OAAO,EAAE;YAC5G,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,kBAAkB;SACO,CAAC,CAAA;QACrC,aAAa,GAAG,2CAA2C,CAAC,EAAE,CAAA;KAC/D;SAAM,IAAI,aAAa,KAAK,SAAS,EAAE;QACtC,MAAM,IAAI,+BAAgB,CAAC,8BAA8B,EAAE,wBAAwB,EAAE,GAAG,CAAC,CAAA;KAC1F;IAED,MAAM,qBAAqB,GAAoB,IAAI,qBAAe,CAAC,OAAO,CAAC,CAAA;IAE3E,MAAM,qBAAqB,GAAG,6CAAqC,CACjE,aAAuB,EACvB,OAAO,CACa,CAAA;IAEtB,OAAO,qBAAqB,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAAA;AAC7E,CAAC,CAAA;AAED,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,2BAA2B;IAClC,WAAW,EAAE,0DAA0D;IACvE,MAAM;IACN,OAAO;CACR,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -4,10 +4,16 @@ export interface Payload {
|
|
|
4
4
|
status?: string;
|
|
5
5
|
};
|
|
6
6
|
amount: number;
|
|
7
|
+
batch_number?: string;
|
|
8
|
+
batch_prefix?: string;
|
|
7
9
|
check_date?: string | number;
|
|
8
10
|
check_number?: string;
|
|
11
|
+
constituency?: string;
|
|
9
12
|
date?: string | number;
|
|
13
|
+
default_fundraiser_credits?: boolean;
|
|
14
|
+
default_soft_credits?: boolean;
|
|
10
15
|
fund_id: string;
|
|
16
|
+
gift_code?: string;
|
|
11
17
|
gift_status?: string;
|
|
12
18
|
is_anonymous?: boolean;
|
|
13
19
|
linked_gifts?: string[];
|
|
@@ -24,6 +30,7 @@ export interface Payload {
|
|
|
24
30
|
frequency?: string;
|
|
25
31
|
start_date?: string | number;
|
|
26
32
|
};
|
|
33
|
+
reference?: string;
|
|
27
34
|
subtype?: string;
|
|
28
35
|
type?: string;
|
|
29
36
|
constituent_address?: {
|
|
@@ -37,6 +44,7 @@ export interface Payload {
|
|
|
37
44
|
type?: string;
|
|
38
45
|
};
|
|
39
46
|
constituent_birthdate?: string | number;
|
|
47
|
+
constituent_birthplace?: string;
|
|
40
48
|
constituent_id?: string;
|
|
41
49
|
constituent_email?: {
|
|
42
50
|
address?: string;
|
|
@@ -44,11 +52,16 @@ export interface Payload {
|
|
|
44
52
|
primary?: boolean;
|
|
45
53
|
type?: string;
|
|
46
54
|
};
|
|
55
|
+
constituent_ethnicity?: string;
|
|
47
56
|
constituent_first?: string;
|
|
57
|
+
constituent_former_name?: string;
|
|
48
58
|
constituent_gender?: string;
|
|
59
|
+
constituent_gives_anonymously?: boolean;
|
|
49
60
|
constituent_income?: string;
|
|
61
|
+
constituent_industry?: string;
|
|
50
62
|
constituent_last?: string;
|
|
51
63
|
constituent_lookup_id?: string;
|
|
64
|
+
constituent_marital_status?: string;
|
|
52
65
|
constituent_online_presence?: {
|
|
53
66
|
address?: string;
|
|
54
67
|
primary?: boolean;
|
|
@@ -60,4 +73,10 @@ export interface Payload {
|
|
|
60
73
|
primary?: boolean;
|
|
61
74
|
type?: string;
|
|
62
75
|
};
|
|
76
|
+
constituent_preferred_name?: string;
|
|
77
|
+
constituent_religion?: string;
|
|
78
|
+
constituent_suffix?: string;
|
|
79
|
+
constituent_suffix_2?: string;
|
|
80
|
+
constituent_title?: string;
|
|
81
|
+
constituent_title_2?: string;
|
|
63
82
|
}
|
|
@@ -41,26 +41,83 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
41
41
|
'@path': '$.properties.revenue'
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
+
batch_number: {
|
|
45
|
+
label: 'Batch Number',
|
|
46
|
+
description: 'The batch number of the gift up to 50 characters (including the batch prefix).',
|
|
47
|
+
type: 'string',
|
|
48
|
+
default: {
|
|
49
|
+
'@path': '$.properties.batchNumber'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
batch_prefix: {
|
|
53
|
+
label: 'Batch Prefix',
|
|
54
|
+
description: 'The batch prefix of the gift. If provided, must include at least one letter. Required when Batch Number has a value, and defaults to "API" if no value is provided.',
|
|
55
|
+
type: 'string',
|
|
56
|
+
default: {
|
|
57
|
+
'@path': '$.properties.batchPrefix'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
44
60
|
check_date: {
|
|
45
61
|
label: 'Check Date',
|
|
46
62
|
description: 'The check date in ISO-8601 format.',
|
|
47
|
-
type: 'datetime'
|
|
63
|
+
type: 'datetime',
|
|
64
|
+
default: {
|
|
65
|
+
'@path': '$.properties.checkDate'
|
|
66
|
+
}
|
|
48
67
|
},
|
|
49
68
|
check_number: {
|
|
50
69
|
label: 'Check Number',
|
|
51
70
|
description: 'The check number in string format, e.g. "12345"',
|
|
52
|
-
type: 'string'
|
|
71
|
+
type: 'string',
|
|
72
|
+
default: {
|
|
73
|
+
'@path': '$.properties.checkNumber'
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
constituency: {
|
|
77
|
+
label: 'Constituency',
|
|
78
|
+
description: 'The constituency value of the gift. If no value is provided, the default constituency of the donor will be used.',
|
|
79
|
+
type: 'string',
|
|
80
|
+
default: {
|
|
81
|
+
'@path': '$.properties.constituency'
|
|
82
|
+
}
|
|
53
83
|
},
|
|
54
84
|
date: {
|
|
55
85
|
label: 'Gift Date',
|
|
56
86
|
description: 'The gift date in ISO-8601 format.',
|
|
57
87
|
type: 'datetime'
|
|
58
88
|
},
|
|
89
|
+
default_fundraiser_credits: {
|
|
90
|
+
label: 'Default Fundraiser Credits',
|
|
91
|
+
description: 'Indicates whether to use default fundraiser credits.',
|
|
92
|
+
type: 'boolean',
|
|
93
|
+
default: {
|
|
94
|
+
'@path': '$.properties.defaultFundraiserCredits'
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
default_soft_credits: {
|
|
98
|
+
label: 'Default Soft Credits',
|
|
99
|
+
description: 'Indicates whether to use default soft credits.',
|
|
100
|
+
type: 'boolean',
|
|
101
|
+
default: {
|
|
102
|
+
'@path': '$.properties.defaultSoftCredits'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
59
105
|
fund_id: {
|
|
60
106
|
label: 'Fund ID',
|
|
61
107
|
description: 'The ID of the fund associated with the gift.',
|
|
62
108
|
type: 'string',
|
|
63
|
-
required: true
|
|
109
|
+
required: true,
|
|
110
|
+
default: {
|
|
111
|
+
'@path': '$.properties.fundId'
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
gift_code: {
|
|
115
|
+
label: 'Gift Code',
|
|
116
|
+
description: 'The gift code. Available values are the entries in the Gift Code table.',
|
|
117
|
+
type: 'string',
|
|
118
|
+
default: {
|
|
119
|
+
'@path': '$.properties.giftCode'
|
|
120
|
+
}
|
|
64
121
|
},
|
|
65
122
|
gift_status: {
|
|
66
123
|
label: 'Gift Status',
|
|
@@ -72,12 +129,18 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
72
129
|
{ label: 'Terminated', value: 'Terminated' },
|
|
73
130
|
{ label: 'Completed', value: 'Completed' },
|
|
74
131
|
{ label: 'Cancelled', value: 'Cancelled' }
|
|
75
|
-
]
|
|
132
|
+
],
|
|
133
|
+
default: {
|
|
134
|
+
'@path': '$.properties.giftStatus'
|
|
135
|
+
}
|
|
76
136
|
},
|
|
77
137
|
is_anonymous: {
|
|
78
138
|
label: 'Is Anonymous',
|
|
79
139
|
description: 'Indicates whether the gift is anonymous.',
|
|
80
|
-
type: 'boolean'
|
|
140
|
+
type: 'boolean',
|
|
141
|
+
default: {
|
|
142
|
+
'@path': '$.properties.isAnonymous'
|
|
143
|
+
}
|
|
81
144
|
},
|
|
82
145
|
linked_gifts: {
|
|
83
146
|
label: 'Linked Gifts',
|
|
@@ -103,23 +166,29 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
103
166
|
{ label: 'Other', value: 'Other' },
|
|
104
167
|
{ label: 'PayPal', value: 'PayPal' },
|
|
105
168
|
{ label: 'Venmo', value: 'Venmo' }
|
|
106
|
-
]
|
|
169
|
+
],
|
|
170
|
+
default: {
|
|
171
|
+
'@path': '$.properties.paymentMethod'
|
|
172
|
+
}
|
|
107
173
|
},
|
|
108
174
|
post_date: {
|
|
109
175
|
label: 'Post Date',
|
|
110
176
|
description: 'The date that the gift was posted to general ledger in ISO-8601 format.',
|
|
111
|
-
type: 'datetime'
|
|
177
|
+
type: 'datetime',
|
|
178
|
+
default: {
|
|
179
|
+
'@path': '$.properties.postDate'
|
|
180
|
+
}
|
|
112
181
|
},
|
|
113
182
|
post_status: {
|
|
114
183
|
label: 'Post Status',
|
|
115
184
|
description: 'The general ledger post status of the gift. Available values are "Posted", "NotPosted", and "DoNotPost".',
|
|
116
185
|
type: 'string',
|
|
117
|
-
default: 'NotPosted',
|
|
118
186
|
choices: [
|
|
119
187
|
{ label: 'Posted', value: 'Posted' },
|
|
120
188
|
{ label: 'Not Posted', value: 'NotPosted' },
|
|
121
189
|
{ label: 'Do Not Post', value: 'DoNotPost' }
|
|
122
|
-
]
|
|
190
|
+
],
|
|
191
|
+
default: 'NotPosted'
|
|
123
192
|
},
|
|
124
193
|
receipt: {
|
|
125
194
|
label: 'Receipt',
|
|
@@ -183,23 +252,34 @@ const fields = utils_1.augmentFieldsWithConstituentFields({
|
|
|
183
252
|
}
|
|
184
253
|
}
|
|
185
254
|
},
|
|
255
|
+
reference: {
|
|
256
|
+
label: 'Reference',
|
|
257
|
+
description: 'Notes to track special details about a gift such as the motivation behind it or a detailed description of a gift-in-kind. Limited to 255 characters.',
|
|
258
|
+
type: 'string',
|
|
259
|
+
default: {
|
|
260
|
+
'@path': '$.properties.reference'
|
|
261
|
+
}
|
|
262
|
+
},
|
|
186
263
|
subtype: {
|
|
187
264
|
label: 'Subtype',
|
|
188
265
|
description: 'The subtype of the gift.',
|
|
189
|
-
type: 'string'
|
|
266
|
+
type: 'string',
|
|
267
|
+
default: {
|
|
268
|
+
'@path': '$.properties.subtype'
|
|
269
|
+
}
|
|
190
270
|
},
|
|
191
271
|
type: {
|
|
192
272
|
label: 'Type',
|
|
193
273
|
description: 'The gift type. Available values are "Donation", "Other", "GiftInKind", "RecurringGift", and "RecurringGiftPayment".',
|
|
194
274
|
type: 'string',
|
|
195
|
-
default: 'Donation',
|
|
196
275
|
choices: [
|
|
197
276
|
{ label: 'Donation', value: 'Donation' },
|
|
198
277
|
{ label: 'Other', value: 'Other' },
|
|
199
278
|
{ label: 'GiftInKind', value: 'GiftInKind' },
|
|
200
279
|
{ label: 'RecurringGift', value: 'RecurringGift' },
|
|
201
280
|
{ label: 'RecurringGiftPayment', value: 'RecurringGiftPayment' }
|
|
202
|
-
]
|
|
281
|
+
],
|
|
282
|
+
default: 'Donation'
|
|
203
283
|
}
|
|
204
284
|
});
|
|
205
285
|
const perform = async (request, { settings, payload }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/blackbaud-raisers-edge-nxt/createGift/index.ts"],"names":[],"mappings":";;AAAA,wDAA+G;AAG/G,gGAA8G;AAC9G,gCAAwC;AAExC,oCAIiB;AAEjB,MAAM,MAAM,GAA+B,0CAAkC,CAAC;IAC5E,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE,QAAQ;QACd,eAAe,EAAE,eAAe;QAChC,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,kEAAkE;aAChF;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oHAAoH;aACvH;SACF;QACD,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,OAAO,EAAE,mCAAmC;aAC7C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;aAC/C;SACF;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,8DAA8D;QAC3E,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,OAAO,EAAE,sBAAsB;SAChC;KACF;IACD,UAAU,EAAE;QACV,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/blackbaud-raisers-edge-nxt/createGift/index.ts"],"names":[],"mappings":";;AAAA,wDAA+G;AAG/G,gGAA8G;AAC9G,gCAAwC;AAExC,oCAIiB;AAEjB,MAAM,MAAM,GAA+B,0CAAkC,CAAC;IAC5E,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE,QAAQ;QACd,eAAe,EAAE,eAAe;QAChC,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,kEAAkE;aAChF;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oHAAoH;aACvH;SACF;QACD,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,OAAO,EAAE,mCAAmC;aAC7C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;aAC/C;SACF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CAAA;IAEnF,OAAO,qBAAqB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAA;AACnD,CAAC,CAAA;AAED,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,4CAA4C;IACzD,mBAAmB,EAAE,iDAAiD;IACtE,MAAM;IACN,OAAO;CACR,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -10,6 +10,7 @@ export interface Payload {
|
|
|
10
10
|
type?: string;
|
|
11
11
|
};
|
|
12
12
|
birthdate?: string | number;
|
|
13
|
+
birthplace?: string;
|
|
13
14
|
constituent_id?: string;
|
|
14
15
|
email?: {
|
|
15
16
|
address?: string;
|
|
@@ -17,11 +18,16 @@ export interface Payload {
|
|
|
17
18
|
primary?: boolean;
|
|
18
19
|
type?: string;
|
|
19
20
|
};
|
|
21
|
+
ethnicity?: string;
|
|
20
22
|
first?: string;
|
|
23
|
+
former_name?: string;
|
|
21
24
|
gender?: string;
|
|
25
|
+
gives_anonymously?: boolean;
|
|
22
26
|
income?: string;
|
|
27
|
+
industry?: string;
|
|
23
28
|
last?: string;
|
|
24
29
|
lookup_id?: string;
|
|
30
|
+
marital_status?: string;
|
|
25
31
|
online_presence?: {
|
|
26
32
|
address?: string;
|
|
27
33
|
primary?: boolean;
|
|
@@ -33,4 +39,10 @@ export interface Payload {
|
|
|
33
39
|
primary?: boolean;
|
|
34
40
|
type?: string;
|
|
35
41
|
};
|
|
42
|
+
preferred_name?: string;
|
|
43
|
+
religion?: string;
|
|
44
|
+
suffix?: string;
|
|
45
|
+
suffix_2?: string;
|
|
46
|
+
title?: string;
|
|
47
|
+
title_2?: string;
|
|
36
48
|
}
|