@vindentech/api-client 0.3.0-next.73 → 0.3.0-next.74
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.
|
@@ -10929,8 +10929,16 @@ export interface NotificationDispatchDto {
|
|
|
10929
10929
|
fromAddress: string | null;
|
|
10930
10930
|
/** @nullable */
|
|
10931
10931
|
subject: string | null;
|
|
10932
|
-
/**
|
|
10932
|
+
/**
|
|
10933
|
+
* The locale of the template version that was PINNED — the outcome of the locale fallback, not the request that entered it. Null on a pre-send terminal row and wherever no template resolved.
|
|
10934
|
+
* @nullable
|
|
10935
|
+
*/
|
|
10933
10936
|
locale: string | null;
|
|
10937
|
+
/**
|
|
10938
|
+
* The locale THIS RECIPIENT asked for. Differs from `locale` exactly when the send fell back to a template in another language — which is the one comparison that tells a wrong-language send from a correct one. Read from the recipient's kind, so two rows of one event legitimately differ: the customer's is the event's own locale, a staff member's is their profile preference, an ops mailbox's is the tenant default. Null where nothing was requested: a test send, where the operator named a template version directly, and any row written before this field existed.
|
|
10939
|
+
* @nullable
|
|
10940
|
+
*/
|
|
10941
|
+
requestedLocale: string | null;
|
|
10934
10942
|
status: NotificationDispatchDtoStatus;
|
|
10935
10943
|
isTest: boolean;
|
|
10936
10944
|
attemptCount: number;
|
|
@@ -11081,8 +11089,16 @@ export interface NotificationDispatchDetailDto {
|
|
|
11081
11089
|
fromAddress: string | null;
|
|
11082
11090
|
/** @nullable */
|
|
11083
11091
|
subject: string | null;
|
|
11084
|
-
/**
|
|
11092
|
+
/**
|
|
11093
|
+
* The locale of the template version that was PINNED — the outcome of the locale fallback, not the request that entered it. Null on a pre-send terminal row and wherever no template resolved.
|
|
11094
|
+
* @nullable
|
|
11095
|
+
*/
|
|
11085
11096
|
locale: string | null;
|
|
11097
|
+
/**
|
|
11098
|
+
* The locale THIS RECIPIENT asked for. Differs from `locale` exactly when the send fell back to a template in another language — which is the one comparison that tells a wrong-language send from a correct one. Read from the recipient's kind, so two rows of one event legitimately differ: the customer's is the event's own locale, a staff member's is their profile preference, an ops mailbox's is the tenant default. Null where nothing was requested: a test send, where the operator named a template version directly, and any row written before this field existed.
|
|
11099
|
+
* @nullable
|
|
11100
|
+
*/
|
|
11101
|
+
requestedLocale: string | null;
|
|
11086
11102
|
status: NotificationDispatchDetailDtoStatus;
|
|
11087
11103
|
isTest: boolean;
|
|
11088
11104
|
attemptCount: number;
|
|
@@ -11533,6 +11549,10 @@ export interface SimulationTemplateCandidateDto {
|
|
|
11533
11549
|
}
|
|
11534
11550
|
export interface SimulationTemplateResolutionDto {
|
|
11535
11551
|
ruleId: string;
|
|
11552
|
+
/** The locale this group ASKED for — the group key, not the pinned locale. Read per recipient from their kind: the event's leaf for the customer, the person's own preference for tenant staff, the tenant default for an ops mailbox. */
|
|
11553
|
+
requestedLocale: string;
|
|
11554
|
+
/** The normalized addresses that resolve to `requestedLocale` and would therefore be pinned to this template. Only recipients the preference/suppression matrix cleared — a blocked address is never rendered. */
|
|
11555
|
+
recipients: string[];
|
|
11536
11556
|
/** @nullable */
|
|
11537
11557
|
notificationTemplateId: string | null;
|
|
11538
11558
|
/** @nullable */
|
|
@@ -11544,6 +11564,8 @@ export interface SimulationTemplateResolutionDto {
|
|
|
11544
11564
|
}
|
|
11545
11565
|
export interface SimulationRenderedPreviewDto {
|
|
11546
11566
|
ruleId: string;
|
|
11567
|
+
/** Which locale group this render belongs to. */
|
|
11568
|
+
requestedLocale: string;
|
|
11547
11569
|
subject: string;
|
|
11548
11570
|
html: string;
|
|
11549
11571
|
text: string;
|