@aglyn/tenant-data-admin 1.0.0-beta.221 → 1.0.0-beta.222
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/package.json +7 -7
- package/src/lib/server/api-keys.js +3 -3
- package/src/lib/server/api-keys.js.map +1 -1
- package/src/lib/server/api-v1-resources.d.ts +44 -3
- package/src/lib/server/api-v1-resources.js +82 -5
- package/src/lib/server/api-v1-resources.js.map +1 -1
- package/src/lib/server/collection-live-pages.d.ts +2 -2
- package/src/lib/server/collection-live-pages.js +1 -1
- package/src/lib/server/collection-live-pages.js.map +1 -1
- package/src/lib/server/email-delivery-log.d.ts +17 -73
- package/src/lib/server/email-delivery-log.js +44 -222
- package/src/lib/server/email-delivery-log.js.map +1 -1
- package/src/lib/server/email-flow-gate.js +27 -38
- package/src/lib/server/email-flow-gate.js.map +1 -1
- package/src/lib/server/erase-person.d.ts +34 -54
- package/src/lib/server/erase-person.js +44 -239
- package/src/lib/server/erase-person.js.map +1 -1
- package/src/lib/server/host-visitor-records.d.ts +12 -4
- package/src/lib/server/host-visitor-records.js +20 -10
- package/src/lib/server/host-visitor-records.js.map +1 -1
- package/src/lib/server/hosted-page-review.js +46 -33
- package/src/lib/server/hosted-page-review.js.map +1 -1
- package/src/lib/server/link-reputation-review.d.ts +6 -2
- package/src/lib/server/link-reputation-review.js +61 -20
- package/src/lib/server/link-reputation-review.js.map +1 -1
- package/src/lib/server/live-page-drops.d.ts +67 -0
- package/src/lib/server/live-page-drops.js +57 -0
- package/src/lib/server/live-page-drops.js.map +1 -0
- package/src/lib/server/media-bandwidth-cap.d.ts +78 -0
- package/src/lib/server/media-bandwidth-cap.js +180 -0
- package/src/lib/server/media-bandwidth-cap.js.map +1 -0
- package/src/lib/server/media-cdn-icon.d.ts +77 -0
- package/src/lib/server/media-cdn-icon.js +140 -0
- package/src/lib/server/media-cdn-icon.js.map +1 -0
- package/src/lib/server/media-delivery-regeneration.d.ts +132 -0
- package/src/lib/server/media-delivery-regeneration.js +216 -0
- package/src/lib/server/media-delivery-regeneration.js.map +1 -0
- package/src/lib/server/media-delivery.d.ts +2 -0
- package/src/lib/server/media-delivery.js +2 -1
- package/src/lib/server/media-delivery.js.map +1 -1
- package/src/lib/server/media-serve-count.d.ts +50 -0
- package/src/lib/server/media-serve-count.js +62 -0
- package/src/lib/server/media-serve-count.js.map +1 -0
- package/src/lib/server/media-signing.d.ts +13 -2
- package/src/lib/server/media-signing.js +12 -8
- package/src/lib/server/media-signing.js.map +1 -1
- package/src/lib/server/media-tombstone.js +7 -5
- package/src/lib/server/media-tombstone.js.map +1 -1
- package/src/lib/server/media-variants.d.ts +151 -20
- package/src/lib/server/media-variants.js +204 -27
- package/src/lib/server/media-variants.js.map +1 -1
- package/src/lib/server/organizations.d.ts +102 -2
- package/src/lib/server/organizations.js +388 -58
- package/src/lib/server/organizations.js.map +1 -1
- package/src/lib/server/outbound-send-review.js +5 -4
- package/src/lib/server/outbound-send-review.js.map +1 -1
- package/src/lib/server/paged-sweeps.d.ts +51 -0
- package/src/lib/server/paged-sweeps.js +79 -0
- package/src/lib/server/paged-sweeps.js.map +1 -0
- package/src/lib/server/platform-marketing-consent.d.ts +0 -49
- package/src/lib/server/platform-marketing-consent.js +27 -11
- package/src/lib/server/platform-marketing-consent.js.map +1 -1
- package/src/lib/server/serve-media-cdn.d.ts +69 -1
- package/src/lib/server/serve-media-cdn.js +424 -70
- package/src/lib/server/serve-media-cdn.js.map +1 -1
- package/src/lib/server/site-icon-render.d.ts +68 -0
- package/src/lib/server/site-icon-render.js +157 -0
- package/src/lib/server/site-icon-render.js.map +1 -0
- package/src/lib/server/staff-seat.d.ts +50 -0
- package/src/lib/server/staff-seat.js +118 -0
- package/src/lib/server/staff-seat.js.map +1 -0
- package/src/lib/server/transfer-export.d.ts +46 -0
- package/src/lib/server/transfer-export.js +221 -0
- package/src/lib/server/transfer-export.js.map +1 -0
- package/src/lib/server/transfer-jobs.d.ts +385 -0
- package/src/lib/server/transfer-jobs.js +2368 -0
- package/src/lib/server/transfer-jobs.js.map +1 -0
- package/src/lib/server/transfer-packages.d.ts +127 -0
- package/src/lib/server/transfer-packages.js +1036 -0
- package/src/lib/server/transfer-packages.js.map +1 -0
- package/src/lib/server/upgrade-proposal.d.ts +97 -0
- package/src/lib/server/upgrade-proposal.js +312 -0
- package/src/lib/server/upgrade-proposal.js.map +1 -0
- package/src/lib/server/upsert-contact.d.ts +17 -8
- package/src/lib/server/upsert-contact.js +82 -16
- package/src/lib/server/upsert-contact.js.map +1 -1
- package/src/lib/server/web-risk.d.ts +48 -9
- package/src/lib/server/web-risk.js +281 -143
- package/src/lib/server/web-risk.js.map +1 -1
- package/src/tenancy.d.ts +3 -1
- package/src/tenancy.js +5 -1
- package/src/tenancy.js.map +1 -1
- package/src/lib/server/campaign-attribution-store.d.ts +0 -55
- package/src/lib/server/campaign-attribution-store.js +0 -95
- package/src/lib/server/campaign-attribution-store.js.map +0 -1
- package/src/lib/server/campaign-conversion-attribution.d.ts +0 -283
- package/src/lib/server/campaign-conversion-attribution.js +0 -450
- package/src/lib/server/campaign-conversion-attribution.js.map +0 -1
- package/src/lib/server/dataset-live-pages.d.ts +0 -179
- package/src/lib/server/dataset-live-pages.js +0 -421
- package/src/lib/server/dataset-live-pages.js.map +0 -1
- package/src/lib/server/email-revenue-attribution.d.ts +0 -185
- package/src/lib/server/email-revenue-attribution.js +0 -321
- package/src/lib/server/email-revenue-attribution.js.map +0 -1
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2026 Aglyn LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { type DocumentReference, type Firestore } from 'firebase-admin/firestore';
|
|
18
|
-
import { CAMPAIGN_ATTRIBUTIONS_COLLECTION, eraseCampaignAttributionsForPersonKey } from './campaign-attribution-store';
|
|
19
|
-
/**
|
|
20
|
-
* THE IDENTIFY-MOMENT JOIN — a form, a lead, a contact or a booking, credited
|
|
21
|
-
* to the campaign that led to it.
|
|
22
|
-
*
|
|
23
|
-
* ## Why there is a second join at all, and why it is not a second SCHEME
|
|
24
|
-
*
|
|
25
|
-
* `email-revenue-attribution.ts` credits an ORDER by looking the buyer's
|
|
26
|
-
* address up in the touch map a click wrote. That works because an order
|
|
27
|
-
* names its buyer. Every other outcome a campaign causes is produced by
|
|
28
|
-
* somebody who was anonymous until the instant they produced it: they arrive
|
|
29
|
-
* from a campaign link, browse, and only become identifiable when they submit
|
|
30
|
-
* a form, sign up, book or check out. There is no address to look up until
|
|
31
|
-
* the very moment being attributed.
|
|
32
|
-
*
|
|
33
|
-
* So the touch is carried on the VISITOR (`utm-touch.ts`) and attached
|
|
34
|
-
* here, at each moment they become somebody. What is NOT rebuilt is the
|
|
35
|
-
* model: the same seven-day window, the same last-click rule, the same
|
|
36
|
-
* `model`/`windowDays` stamped onto every record so a report can say what it
|
|
37
|
-
* counted. The email channel is not re-derived either — it is READ from the
|
|
38
|
-
* touch the delivery webhook already wrote, so a campaign email and a
|
|
39
|
-
* campaign ad are two inputs to one comparison rather than two schemes with
|
|
40
|
-
* two answers.
|
|
41
|
-
*
|
|
42
|
-
* ## Last touch, across both channels
|
|
43
|
-
*
|
|
44
|
-
* At the identify moment there can be two candidate touches:
|
|
45
|
-
*
|
|
46
|
-
* - the WEB touch the visitor's device carried, from an ad, a partner link
|
|
47
|
-
* or a social post; and
|
|
48
|
-
* - the EMAIL touch on `emailDeliveries/{personKey}.campaignTouches[hostId]`,
|
|
49
|
-
* written server-side when they clicked a campaign's mail.
|
|
50
|
-
*
|
|
51
|
-
* Both are window-checked and the LATER one wins. Splitting the outcome
|
|
52
|
-
* between them is the multi-touch model the revenue work rejected for the
|
|
53
|
-
* reason that applies here unchanged: a rule the merchant did not choose
|
|
54
|
-
* produces a figure nobody can check. One outcome, one campaign, and a rule
|
|
55
|
-
* stated on the record.
|
|
56
|
-
*
|
|
57
|
-
* ## No campaign touch means NO RECORD
|
|
58
|
-
*
|
|
59
|
-
* Direct traffic writes nothing at all, and there is deliberately no fallback
|
|
60
|
-
* — no "most recent campaign on this site", no referrer inference, no
|
|
61
|
-
* `utm_source=direct`. A conversion nobody can be credited with is a
|
|
62
|
-
* conversion nobody is credited with, and the absence of a record is how the
|
|
63
|
-
* report says so. The cost of a miss is one uncounted outcome; the cost of a
|
|
64
|
-
* guess is a campaign that reads as effective because it was the last one to
|
|
65
|
-
* run.
|
|
66
|
-
*
|
|
67
|
-
* ## Three reads at most, and usually one
|
|
68
|
-
*
|
|
69
|
-
* Resolving a touch costs ONE keyed document read, and only when the visitor
|
|
70
|
-
* gave an address — no query, no index, nothing that can be truncated. A door
|
|
71
|
-
* resolves once per request and hands the result to every writer beneath it,
|
|
72
|
-
* so a form submission that creates a submission, a contact and a lead pays
|
|
73
|
-
* for the lookup once rather than three times.
|
|
74
|
-
*
|
|
75
|
-
* ## Never throws
|
|
76
|
-
*
|
|
77
|
-
* The same contract as the revenue join and for the same reason: the visitor
|
|
78
|
-
* has already done the thing being attributed and the record of it is already
|
|
79
|
-
* written. A lost attribution understates a campaign; a thrown one loses a
|
|
80
|
-
* lead.
|
|
81
|
-
*/
|
|
82
|
-
/**
|
|
83
|
-
* The collection and the erasure sweep, re-exported so a caller needs one
|
|
84
|
-
* import for the whole join. They are DEFINED in a leaf module because the
|
|
85
|
-
* sweep runs from `email-delivery-log.ts`, which this file reads — see
|
|
86
|
-
* `campaign-attribution-store.ts` for why that cycle is not merely untidy.
|
|
87
|
-
*/
|
|
88
|
-
export { CAMPAIGN_ATTRIBUTIONS_COLLECTION, eraseCampaignAttributionsForPersonKey, };
|
|
89
|
-
/** The single conversion rollup document under an email campaign. */
|
|
90
|
-
export declare const CAMPAIGN_CONVERSIONS_REPORT_DOC = "conversions";
|
|
91
|
-
/**
|
|
92
|
-
* Which identify moment a record credits.
|
|
93
|
-
*
|
|
94
|
-
* Kept apart rather than summed, which is the whole reason the kind is on the
|
|
95
|
-
* record. One form submission by a new person creates a submission, a contact
|
|
96
|
-
* and possibly a lead — three true statements about one visitor action — and
|
|
97
|
-
* a report that added them would treble every campaign's conversions. A
|
|
98
|
-
* reader asks for one kind at a time, exactly as the revenue rollup buckets
|
|
99
|
-
* by currency and never totals across them.
|
|
100
|
-
*/
|
|
101
|
-
export type CampaignConversionKind = 'form' | 'lead' | 'contact' | 'booking';
|
|
102
|
-
/**
|
|
103
|
-
* Which channel the credited touch arrived through.
|
|
104
|
-
*
|
|
105
|
-
* `sequence` (AGL-3254) is a click on, or the sending of, a one-to-one
|
|
106
|
-
* email a rep's sequence sent. It is read off the same touch map as the
|
|
107
|
-
* email channel — the Outreach click route stamps it there with the
|
|
108
|
-
* sequence and the enrollment beside the campaign the sequence is in — so
|
|
109
|
-
* a booking made from a sequence link is credited by the door that credits
|
|
110
|
-
* every other booking, and nothing in this join has to know what a
|
|
111
|
-
* sequence is.
|
|
112
|
-
*/
|
|
113
|
-
export type CampaignTouchChannel = 'email' | 'web' | 'sequence';
|
|
114
|
-
/** The touch a conversion is credited to, once both channels have been asked. */
|
|
115
|
-
export interface ResolvedCampaignTouch {
|
|
116
|
-
channel: CampaignTouchChannel;
|
|
117
|
-
/**
|
|
118
|
-
* The campaign document, when the touch was a click on our own mail — or
|
|
119
|
-
* the campaign CONTAINER (`emailCampaigns/{id}`) a sequence is in, for a
|
|
120
|
-
* sequence touch.
|
|
121
|
-
*/
|
|
122
|
-
campaignId?: string;
|
|
123
|
-
/** The sequence the touch came through, for a `sequence` touch. */
|
|
124
|
-
sequenceId?: string;
|
|
125
|
-
/** The enrollment the touch came through, for a `sequence` touch. */
|
|
126
|
-
enrollmentId?: string;
|
|
127
|
-
/** `utm_source`, when the touch was a link on the web. */
|
|
128
|
-
source?: string;
|
|
129
|
-
/** `utm_medium`, when the touch was a link on the web. */
|
|
130
|
-
medium?: string;
|
|
131
|
-
/** `utm_campaign`, when the touch was a link on the web. */
|
|
132
|
-
campaign?: string;
|
|
133
|
-
/** When the visitor followed the campaign link, epoch ms. */
|
|
134
|
-
touchedAtMs: number;
|
|
135
|
-
/**
|
|
136
|
-
* `sha256` of the normalized address the touch was resolved against, when
|
|
137
|
-
* the visitor gave one. The handle an erasure erases by — see
|
|
138
|
-
* {@link eraseCampaignAttributionsForPersonKey}.
|
|
139
|
-
*/
|
|
140
|
-
personKey?: string;
|
|
141
|
-
}
|
|
142
|
-
/** What one conversion attribution record holds. */
|
|
143
|
-
export interface CampaignConversionRecord extends ResolvedCampaignTouch {
|
|
144
|
-
kind: CampaignConversionKind;
|
|
145
|
-
/** The submission, lead, contact or booking this credits. */
|
|
146
|
-
refId: string;
|
|
147
|
-
/** When the visitor became identifiable. */
|
|
148
|
-
convertedAtMs: number;
|
|
149
|
-
/** The model this credit was decided under. */
|
|
150
|
-
model: string;
|
|
151
|
-
/** The window, in days, it was decided inside. */
|
|
152
|
-
windowDays: number;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* The document id for one conversion.
|
|
156
|
-
*
|
|
157
|
-
* `{kind}:{refId}`, so the same submission credited twice is the same
|
|
158
|
-
* document — which is what makes {@link attributeCampaignConversion}'s
|
|
159
|
-
* `create()` idempotent. Scoped by kind because the ids come from different
|
|
160
|
-
* collections and a booking id has no reason to be distinct from a form
|
|
161
|
-
* submission's.
|
|
162
|
-
*/
|
|
163
|
-
export declare function campaignConversionId(kind: CampaignConversionKind, refId: string): string;
|
|
164
|
-
/**
|
|
165
|
-
* The campaign touch to credit a conversion happening now, or `null`.
|
|
166
|
-
*
|
|
167
|
-
* Called ONCE per conversion request, at the door, and the result handed to
|
|
168
|
-
* every writer beneath it. See the module docblock for the cost argument.
|
|
169
|
-
*
|
|
170
|
-
* @returns the winning touch, or `null` when neither channel has one inside
|
|
171
|
-
* the window — which is the ordinary case and writes nothing.
|
|
172
|
-
*/
|
|
173
|
-
export declare function resolveCampaignTouch(options: {
|
|
174
|
-
hostId: string;
|
|
175
|
-
/**
|
|
176
|
-
* The wire form the conversion request carried, when the door reports
|
|
177
|
-
* one. Re-parsed through the allowlist that wrote it rather than trusted:
|
|
178
|
-
* it arrives from the visitor's browser, so it may claim no more than an
|
|
179
|
-
* inbound URL could.
|
|
180
|
-
*/
|
|
181
|
-
wire?: unknown;
|
|
182
|
-
/** The address the visitor identified with, raw. */
|
|
183
|
-
email?: unknown;
|
|
184
|
-
/** When they identified themselves. Defaults to now. */
|
|
185
|
-
atMs?: number;
|
|
186
|
-
}, firestore?: any): Promise<ResolvedCampaignTouch | null>;
|
|
187
|
-
/**
|
|
188
|
-
* Credits one conversion to the campaign the visitor last came from.
|
|
189
|
-
*
|
|
190
|
-
* ## Why the record is a document and not a field
|
|
191
|
-
*
|
|
192
|
-
* The revenue join's three reasons, and the first is decisive here too.
|
|
193
|
-
* `create()` fails when the document already exists, which is exact
|
|
194
|
-
* idempotency for free: a retried form POST, a redelivered booking webhook
|
|
195
|
-
* and a re-run capture all land here a second time and must all leave the
|
|
196
|
-
* rollup where they found it. Second, the four kinds live in four different
|
|
197
|
-
* collections — a contact is org-scoped and shared across every site in the
|
|
198
|
-
* org — so there is no one document a field could go on. Third, the
|
|
199
|
-
* submission, the lead and the booking are read by the inbox, the export and
|
|
200
|
-
* the fulfilment path, and none of them wants a field about marketing.
|
|
201
|
-
*
|
|
202
|
-
* ## The rollup exists for the EMAIL channel only
|
|
203
|
-
*
|
|
204
|
-
* A campaign document is a real entity with a real id, so its conversions
|
|
205
|
-
* roll up under it beside the revenue the same join already credits it with.
|
|
206
|
-
* A web campaign is a LABEL the marketer typed into a URL, with no document,
|
|
207
|
-
* no id and no bound on how many distinct values exist — the same unbounded
|
|
208
|
-
* key space the analytics collector caps its per-day label map against. A
|
|
209
|
-
* rollup keyed on it would be a map anybody who can vary a query string can
|
|
210
|
-
* grow. So the web channel's records stand on their own and a report reads
|
|
211
|
-
* them; see the module's report seam note.
|
|
212
|
-
*
|
|
213
|
-
* @returns the record written, or `null` when nothing was credited.
|
|
214
|
-
*/
|
|
215
|
-
export declare function attributeCampaignConversion(options: {
|
|
216
|
-
hostId: string;
|
|
217
|
-
kind: CampaignConversionKind;
|
|
218
|
-
/** The submission, lead, contact or booking being credited. */
|
|
219
|
-
refId: string;
|
|
220
|
-
/** The touch {@link resolveCampaignTouch} picked, or `null` for direct. */
|
|
221
|
-
touch: ResolvedCampaignTouch | null | undefined;
|
|
222
|
-
/** When the visitor became identifiable. Defaults to now. */
|
|
223
|
-
convertedAtMs?: number;
|
|
224
|
-
}, firestore?: any): Promise<CampaignConversionRecord | null>;
|
|
225
|
-
/**
|
|
226
|
-
* The per-org collection of sequence rollups. Restated from the reader
|
|
227
|
-
* (`campaign-report.ts` in the campaigns UI library, which this package may
|
|
228
|
-
* not import) and asserted equal by the reader's spec.
|
|
229
|
-
*/
|
|
230
|
-
export declare const CAMPAIGN_SEQUENCE_REPORTS_COLLECTION = "campaignSequenceReports";
|
|
231
|
-
/** The outcomes the runtime credits, in funnel order. */
|
|
232
|
-
export declare const CAMPAIGN_SEQUENCE_OUTCOMES: readonly ["enrolled", "sent", "replied", "meetings", "converted"];
|
|
233
|
-
export type CampaignSequenceOutcome = (typeof CAMPAIGN_SEQUENCE_OUTCOMES)[number];
|
|
234
|
-
/**
|
|
235
|
-
* Credits one outcome, for one enrollment, to every campaign named.
|
|
236
|
-
*
|
|
237
|
-
* Never throws, and never refuses the batch for one bad id: the outcome
|
|
238
|
-
* has already happened, and a campaign that is gone gains an orphaned
|
|
239
|
-
* report rather than blocking the credit to one that is not — the
|
|
240
|
-
* conversions rollup's own argument for a merge-set that creates.
|
|
241
|
-
*
|
|
242
|
-
* @returns how many campaigns were credited.
|
|
243
|
-
*/
|
|
244
|
-
export declare function creditCampaignSequenceOutcome(options: {
|
|
245
|
-
/** The site the enrollment emails for; resolves the org when none is given. */
|
|
246
|
-
hostId: string;
|
|
247
|
-
/**
|
|
248
|
-
* The org whose containers the campaigns are, when the caller holds it —
|
|
249
|
-
* an enrollment is an org document, so its routes do. Saves the
|
|
250
|
-
* `hostIndex` read.
|
|
251
|
-
*/
|
|
252
|
-
orgId?: string | null;
|
|
253
|
-
/** The campaigns the enrollment carries; unusable ids are skipped. */
|
|
254
|
-
campaignIds: readonly string[];
|
|
255
|
-
outcome: CampaignSequenceOutcome;
|
|
256
|
-
/** When the outcome happened. Defaults to now. */
|
|
257
|
-
atMs?: number;
|
|
258
|
-
}, firestore?: any): Promise<number>;
|
|
259
|
-
/** `orgs/{orgId}/campaigns/{sendId}`. */
|
|
260
|
-
export declare function orgCampaignSendRef(orgId: string, sendId: string, firestore?: Firestore): DocumentReference;
|
|
261
|
-
/** `orgs/{orgId}/campaignSequenceReports/{campaignId}`. */
|
|
262
|
-
export declare function orgCampaignSequenceReportRef(orgId: string, campaignId: string, firestore?: Firestore): DocumentReference;
|
|
263
|
-
export interface ResolveCampaignSendRefInput {
|
|
264
|
-
/** The site the link or the message tag names. */
|
|
265
|
-
hostId: string;
|
|
266
|
-
/** The send id (`cid` on a link, `campaignId` on a message tag). */
|
|
267
|
-
sendId: string;
|
|
268
|
-
/**
|
|
269
|
-
* The org, when the caller already has it — a message tag minted since
|
|
270
|
-
* AGL-3273 carries it. Saves the `hostIndex` read.
|
|
271
|
-
*/
|
|
272
|
-
orgId?: string | null;
|
|
273
|
-
firestore?: Firestore;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* The send's document, wherever it currently is. Null when neither location
|
|
277
|
-
* holds it — a send id from a link whose send was discarded, or a forged one.
|
|
278
|
-
*
|
|
279
|
-
* Costs one read after the migration (the org document), plus the
|
|
280
|
-
* `hostIndex` lookup when the caller has no org id; that lookup is
|
|
281
|
-
* request-cached.
|
|
282
|
-
*/
|
|
283
|
-
export declare function resolveCampaignSendRef(input: ResolveCampaignSendRefInput): Promise<DocumentReference | null>;
|