@coopenomics/notifications 2026.8.23 → 2026.8.29
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/CLAUDE.md +22 -4
- package/dist/index.cjs +7 -5
- package/dist/index.d.cts +37 -35
- package/dist/index.d.mts +37 -35
- package/dist/index.d.ts +37 -35
- package/dist/index.mjs +7 -5
- package/package.json +2 -2
- package/src/workflows/marketplace-return-claim-finalized/index.ts +7 -5
package/CLAUDE.md
CHANGED
|
@@ -1,10 +1,28 @@
|
|
|
1
|
-
# @coopenomics/notifications —
|
|
1
|
+
# @coopenomics/notifications — каталог шаблонов уведомлений
|
|
2
|
+
|
|
3
|
+
Тексты шагов рендерит Центр уведомлений контроллера
|
|
4
|
+
(`application/notification-center/template.util.ts`) через **LiquidJS** —
|
|
5
|
+
одинаково во всех каналах: `email`, `in_app`, `push`.
|
|
2
6
|
|
|
3
7
|
## Надо
|
|
4
8
|
|
|
5
|
-
- Переменные: `{{payload.field}}
|
|
6
|
-
- Условия и ветвление:
|
|
9
|
+
- Переменные: `{{payload.field}}`.
|
|
10
|
+
- Условия и ветвление: `{% if payload.details %}…{% endif %}`, циклы `{% for %}`,
|
|
11
|
+
фильтры — синтаксис Liquid.
|
|
7
12
|
|
|
8
13
|
## Нельзя
|
|
9
14
|
|
|
10
|
-
- **Handlebars
|
|
15
|
+
- **Handlebars**: `{{#if …}}`, `{{/if}}`, `{{#each …}}` — не тот синтаксис, теги
|
|
16
|
+
уедут в текст как есть.
|
|
17
|
+
|
|
18
|
+
## Чем это проверяется
|
|
19
|
+
|
|
20
|
+
`controller/tests/unit/notification/template-render.test.ts` прогоняет каждый
|
|
21
|
+
шаблон каталога и падает, если в готовом тексте остались `{%` или `{{`.
|
|
22
|
+
|
|
23
|
+
До 2026-08-27 рендерер понимал только `{{ }}`, и условия попадали в письма
|
|
24
|
+
буквально («Примите участие в голосовании{% if payload.details %}…»). Заметно
|
|
25
|
+
это было не на всех типах — только на тех, где есть ветвление, — поэтому
|
|
26
|
+
дефект прожил долго. Отсюда же предвычисленные на бэкенде суффиксы вроде
|
|
27
|
+
`returnedAmountSuffix`: они остаются рабочими, но обязательными больше не
|
|
28
|
+
являются.
|
package/dist/index.cjs
CHANGED
|
@@ -3588,11 +3588,13 @@ const marketplaceReturnClaimFinalizedPayloadSchema = zod.z.object({
|
|
|
3588
3588
|
order_id: zod.z.string(),
|
|
3589
3589
|
returnedAmount: zod.z.string().optional(),
|
|
3590
3590
|
/**
|
|
3591
|
-
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо
|
|
3592
|
-
*
|
|
3593
|
-
*
|
|
3594
|
-
*
|
|
3595
|
-
*
|
|
3591
|
+
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо пустая
|
|
3592
|
+
* строка) — считается на бэкенде.
|
|
3593
|
+
*
|
|
3594
|
+
* Условия в теле шага тоже допустимы: Центр уведомлений рендерит Liquid во всех
|
|
3595
|
+
* каналах одинаково. До 2026-08-27 не рендерил ни в одном (теги уезжали в текст
|
|
3596
|
+
* буквально), и предыдущая редакция этого примечания ошибочно считала, что email
|
|
3597
|
+
* идёт через полноценный рендер, — отсюда и предвычисленный суффикс.
|
|
3596
3598
|
*/
|
|
3597
3599
|
returnedAmountSuffix: zod.z.string().default(""),
|
|
3598
3600
|
deepLinkUrl: zod.z.string().optional()
|
package/dist/index.d.cts
CHANGED
|
@@ -241,16 +241,16 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
|
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
coopname: string;
|
|
243
243
|
authorName: string;
|
|
244
|
-
chairmanName: string;
|
|
245
244
|
requestTitle: string;
|
|
245
|
+
chairmanName: string;
|
|
246
246
|
requestDescription: string;
|
|
247
247
|
approval_hash: string;
|
|
248
248
|
approvalUrl?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
coopname: string;
|
|
251
251
|
authorName: string;
|
|
252
|
-
chairmanName: string;
|
|
253
252
|
requestTitle: string;
|
|
253
|
+
chairmanName: string;
|
|
254
254
|
requestDescription: string;
|
|
255
255
|
approval_hash: string;
|
|
256
256
|
approvalUrl?: string | undefined;
|
|
@@ -275,15 +275,15 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
|
|
|
275
275
|
decision_id: z.ZodString;
|
|
276
276
|
decisionUrl: z.ZodOptional<z.ZodString>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
userName: string;
|
|
279
278
|
coopname: string;
|
|
280
279
|
decision_id: string;
|
|
280
|
+
userName: string;
|
|
281
281
|
decisionTitle: string;
|
|
282
282
|
decisionUrl?: string | undefined;
|
|
283
283
|
}, {
|
|
284
|
-
userName: string;
|
|
285
284
|
coopname: string;
|
|
286
285
|
decision_id: string;
|
|
286
|
+
userName: string;
|
|
287
287
|
decisionTitle: string;
|
|
288
288
|
decisionUrl?: string | undefined;
|
|
289
289
|
}>;
|
|
@@ -343,15 +343,15 @@ declare const paymentCancelledPayloadSchema: z.ZodObject<{
|
|
|
343
343
|
userName: string;
|
|
344
344
|
paymentAmount: string;
|
|
345
345
|
paymentCurrency: string;
|
|
346
|
-
paymentDate: string;
|
|
347
346
|
paymentId: string;
|
|
347
|
+
paymentDate: string;
|
|
348
348
|
paymentUrl?: string | undefined;
|
|
349
349
|
}, {
|
|
350
350
|
userName: string;
|
|
351
351
|
paymentAmount: string;
|
|
352
352
|
paymentCurrency: string;
|
|
353
|
-
paymentDate: string;
|
|
354
353
|
paymentId: string;
|
|
354
|
+
paymentDate: string;
|
|
355
355
|
paymentUrl?: string | undefined;
|
|
356
356
|
}>;
|
|
357
357
|
type IPayload$P = z.infer<typeof paymentCancelledPayloadSchema>;
|
|
@@ -649,21 +649,21 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
|
|
|
649
649
|
coopShortName: z.ZodString;
|
|
650
650
|
approvalUrl: z.ZodOptional<z.ZodString>;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
userName: string;
|
|
653
652
|
coopname: string;
|
|
654
653
|
coopShortName: string;
|
|
655
|
-
|
|
654
|
+
userName: string;
|
|
656
655
|
approvalStatus: "approved" | "declined";
|
|
657
656
|
approvalStatusText: string;
|
|
657
|
+
requestTitle: string;
|
|
658
658
|
approvalId: string;
|
|
659
659
|
approvalUrl?: string | undefined;
|
|
660
660
|
}, {
|
|
661
|
-
userName: string;
|
|
662
661
|
coopname: string;
|
|
663
662
|
coopShortName: string;
|
|
664
|
-
|
|
663
|
+
userName: string;
|
|
665
664
|
approvalStatus: "approved" | "declined";
|
|
666
665
|
approvalStatusText: string;
|
|
666
|
+
requestTitle: string;
|
|
667
667
|
approvalId: string;
|
|
668
668
|
approvalUrl?: string | undefined;
|
|
669
669
|
}>;
|
|
@@ -690,17 +690,17 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
690
690
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
coopname: string;
|
|
693
|
-
chairmanName: string;
|
|
694
693
|
paymentAmount: string;
|
|
695
694
|
paymentCurrency: string;
|
|
695
|
+
chairmanName: string;
|
|
696
696
|
participantName: string;
|
|
697
697
|
paymentType: string;
|
|
698
698
|
paymentUrl?: string | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
coopname: string;
|
|
701
|
-
chairmanName: string;
|
|
702
701
|
paymentAmount: string;
|
|
703
702
|
paymentCurrency: string;
|
|
703
|
+
chairmanName: string;
|
|
704
704
|
participantName: string;
|
|
705
705
|
paymentType: string;
|
|
706
706
|
paymentUrl?: string | undefined;
|
|
@@ -728,17 +728,17 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
728
728
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
729
729
|
}, "strip", z.ZodTypeAny, {
|
|
730
730
|
coopname: string;
|
|
731
|
-
chairmanName: string;
|
|
732
731
|
paymentAmount: string;
|
|
733
732
|
paymentCurrency: string;
|
|
733
|
+
chairmanName: string;
|
|
734
734
|
participantName: string;
|
|
735
735
|
paymentType: string;
|
|
736
736
|
paymentUrl?: string | undefined;
|
|
737
737
|
}, {
|
|
738
738
|
coopname: string;
|
|
739
|
-
chairmanName: string;
|
|
740
739
|
paymentAmount: string;
|
|
741
740
|
paymentCurrency: string;
|
|
741
|
+
chairmanName: string;
|
|
742
742
|
participantName: string;
|
|
743
743
|
paymentType: string;
|
|
744
744
|
paymentUrl?: string | undefined;
|
|
@@ -977,16 +977,16 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
|
|
|
977
977
|
short_abbr: z.ZodString;
|
|
978
978
|
name: z.ZodString;
|
|
979
979
|
}, "strip", z.ZodTypeAny, {
|
|
980
|
-
userName: string;
|
|
981
980
|
coopname: string;
|
|
982
981
|
decision_id: string;
|
|
982
|
+
userName: string;
|
|
983
983
|
decisionTitle: string;
|
|
984
984
|
short_abbr: string;
|
|
985
985
|
name: string;
|
|
986
986
|
}, {
|
|
987
|
-
userName: string;
|
|
988
987
|
coopname: string;
|
|
989
988
|
decision_id: string;
|
|
989
|
+
userName: string;
|
|
990
990
|
decisionTitle: string;
|
|
991
991
|
short_abbr: string;
|
|
992
992
|
name: string;
|
|
@@ -1259,17 +1259,17 @@ declare const marketplaceSupplierPaymentConfirmedPayloadSchema: z.ZodObject<{
|
|
|
1259
1259
|
coopname: string;
|
|
1260
1260
|
supplierName: string;
|
|
1261
1261
|
amount: string;
|
|
1262
|
-
paymentReference: string;
|
|
1263
1262
|
apl_reception_id: string;
|
|
1264
1263
|
payment_request_id: string;
|
|
1264
|
+
paymentReference: string;
|
|
1265
1265
|
deepLinkUrl?: string | undefined;
|
|
1266
1266
|
}, {
|
|
1267
1267
|
coopname: string;
|
|
1268
1268
|
supplierName: string;
|
|
1269
1269
|
amount: string;
|
|
1270
|
-
paymentReference: string;
|
|
1271
1270
|
apl_reception_id: string;
|
|
1272
1271
|
payment_request_id: string;
|
|
1272
|
+
paymentReference: string;
|
|
1273
1273
|
deepLinkUrl?: string | undefined;
|
|
1274
1274
|
}>;
|
|
1275
1275
|
type IPayload$p = z.infer<typeof marketplaceSupplierPaymentConfirmedPayloadSchema>;
|
|
@@ -1297,17 +1297,17 @@ declare const marketplaceSupplierPaymentDeclinedPayloadSchema: z.ZodObject<{
|
|
|
1297
1297
|
coopname: string;
|
|
1298
1298
|
supplierName: string;
|
|
1299
1299
|
amount: string;
|
|
1300
|
+
reason: string;
|
|
1300
1301
|
apl_reception_id: string;
|
|
1301
1302
|
payment_request_id: string;
|
|
1302
|
-
reason: string;
|
|
1303
1303
|
deepLinkUrl?: string | undefined;
|
|
1304
1304
|
}, {
|
|
1305
1305
|
coopname: string;
|
|
1306
1306
|
supplierName: string;
|
|
1307
1307
|
amount: string;
|
|
1308
|
+
reason: string;
|
|
1308
1309
|
apl_reception_id: string;
|
|
1309
1310
|
payment_request_id: string;
|
|
1310
|
-
reason: string;
|
|
1311
1311
|
deepLinkUrl?: string | undefined;
|
|
1312
1312
|
}>;
|
|
1313
1313
|
type IPayload$o = z.infer<typeof marketplaceSupplierPaymentDeclinedPayloadSchema>;
|
|
@@ -1449,11 +1449,13 @@ declare const marketplaceReturnClaimFinalizedPayloadSchema: z.ZodObject<{
|
|
|
1449
1449
|
order_id: z.ZodString;
|
|
1450
1450
|
returnedAmount: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
/**
|
|
1452
|
-
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо
|
|
1453
|
-
*
|
|
1454
|
-
*
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
1452
|
+
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо пустая
|
|
1453
|
+
* строка) — считается на бэкенде.
|
|
1454
|
+
*
|
|
1455
|
+
* Условия в теле шага тоже допустимы: Центр уведомлений рендерит Liquid во всех
|
|
1456
|
+
* каналах одинаково. До 2026-08-27 не рендерил ни в одном (теги уезжали в текст
|
|
1457
|
+
* буквально), и предыдущая редакция этого примечания ошибочно считала, что email
|
|
1458
|
+
* идёт через полноценный рендер, — отсюда и предвычисленный суффикс.
|
|
1457
1459
|
*/
|
|
1458
1460
|
returnedAmountSuffix: z.ZodDefault<z.ZodString>;
|
|
1459
1461
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,16 +1767,16 @@ declare const marketplaceOrderDeclinedBySupplierPayloadSchema: z.ZodObject<{
|
|
|
1765
1767
|
ordererName: string;
|
|
1766
1768
|
order_id: string;
|
|
1767
1769
|
reasonExcerpt: string;
|
|
1768
|
-
productName: string;
|
|
1769
1770
|
kuName: string;
|
|
1771
|
+
productName: string;
|
|
1770
1772
|
deepLinkUrl?: string | undefined;
|
|
1771
1773
|
}, {
|
|
1772
1774
|
coopname: string;
|
|
1773
1775
|
ordererName: string;
|
|
1774
1776
|
order_id: string;
|
|
1775
1777
|
reasonExcerpt: string;
|
|
1776
|
-
productName: string;
|
|
1777
1778
|
kuName: string;
|
|
1779
|
+
productName: string;
|
|
1778
1780
|
deepLinkUrl?: string | undefined;
|
|
1779
1781
|
}>;
|
|
1780
1782
|
type IPayload$c = z.infer<typeof marketplaceOrderDeclinedBySupplierPayloadSchema>;
|
|
@@ -2043,12 +2045,12 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2043
2045
|
amount: z.ZodString;
|
|
2044
2046
|
url: z.ZodString;
|
|
2045
2047
|
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
description: string;
|
|
2047
2048
|
amount: string;
|
|
2049
|
+
description: string;
|
|
2048
2050
|
url: string;
|
|
2049
2051
|
}, {
|
|
2050
|
-
description: string;
|
|
2051
2052
|
amount: string;
|
|
2053
|
+
description: string;
|
|
2052
2054
|
url: string;
|
|
2053
2055
|
}>, "many">;
|
|
2054
2056
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2057,8 +2059,8 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2057
2059
|
count: number;
|
|
2058
2060
|
link: string;
|
|
2059
2061
|
advances: {
|
|
2060
|
-
description: string;
|
|
2061
2062
|
amount: string;
|
|
2063
|
+
description: string;
|
|
2062
2064
|
url: string;
|
|
2063
2065
|
}[];
|
|
2064
2066
|
}, {
|
|
@@ -2067,8 +2069,8 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2067
2069
|
count: number;
|
|
2068
2070
|
link: string;
|
|
2069
2071
|
advances: {
|
|
2070
|
-
description: string;
|
|
2071
2072
|
amount: string;
|
|
2073
|
+
description: string;
|
|
2072
2074
|
url: string;
|
|
2073
2075
|
}[];
|
|
2074
2076
|
}>;
|
|
@@ -2093,13 +2095,13 @@ declare const branchVotingStartedPayloadSchema: z.ZodObject<{
|
|
|
2093
2095
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2096
|
coopShortName: string;
|
|
2095
2097
|
meetPlace: string;
|
|
2096
|
-
closeAtTime: string;
|
|
2097
2098
|
meetingUrl: string;
|
|
2099
|
+
closeAtTime: string;
|
|
2098
2100
|
}, {
|
|
2099
2101
|
coopShortName: string;
|
|
2100
2102
|
meetPlace: string;
|
|
2101
|
-
closeAtTime: string;
|
|
2102
2103
|
meetingUrl: string;
|
|
2104
|
+
closeAtTime: string;
|
|
2103
2105
|
}>;
|
|
2104
2106
|
type IPayload$3 = z.infer<typeof branchVotingStartedPayloadSchema>;
|
|
2105
2107
|
interface IWorkflow$3 extends BaseWorkflowPayload, IPayload$3 {
|
|
@@ -2122,13 +2124,13 @@ declare const branchMeetingReminderPayloadSchema: z.ZodObject<{
|
|
|
2122
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2123
2125
|
coopShortName: string;
|
|
2124
2126
|
meetPlace: string;
|
|
2125
|
-
meetingUrl: string;
|
|
2126
2127
|
meetAtTime: string;
|
|
2128
|
+
meetingUrl: string;
|
|
2127
2129
|
}, {
|
|
2128
2130
|
coopShortName: string;
|
|
2129
2131
|
meetPlace: string;
|
|
2130
|
-
meetingUrl: string;
|
|
2131
2132
|
meetAtTime: string;
|
|
2133
|
+
meetingUrl: string;
|
|
2132
2134
|
}>;
|
|
2133
2135
|
type IPayload$2 = z.infer<typeof branchMeetingReminderPayloadSchema>;
|
|
2134
2136
|
interface IWorkflow$2 extends BaseWorkflowPayload, IPayload$2 {
|
package/dist/index.d.mts
CHANGED
|
@@ -241,16 +241,16 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
|
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
coopname: string;
|
|
243
243
|
authorName: string;
|
|
244
|
-
chairmanName: string;
|
|
245
244
|
requestTitle: string;
|
|
245
|
+
chairmanName: string;
|
|
246
246
|
requestDescription: string;
|
|
247
247
|
approval_hash: string;
|
|
248
248
|
approvalUrl?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
coopname: string;
|
|
251
251
|
authorName: string;
|
|
252
|
-
chairmanName: string;
|
|
253
252
|
requestTitle: string;
|
|
253
|
+
chairmanName: string;
|
|
254
254
|
requestDescription: string;
|
|
255
255
|
approval_hash: string;
|
|
256
256
|
approvalUrl?: string | undefined;
|
|
@@ -275,15 +275,15 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
|
|
|
275
275
|
decision_id: z.ZodString;
|
|
276
276
|
decisionUrl: z.ZodOptional<z.ZodString>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
userName: string;
|
|
279
278
|
coopname: string;
|
|
280
279
|
decision_id: string;
|
|
280
|
+
userName: string;
|
|
281
281
|
decisionTitle: string;
|
|
282
282
|
decisionUrl?: string | undefined;
|
|
283
283
|
}, {
|
|
284
|
-
userName: string;
|
|
285
284
|
coopname: string;
|
|
286
285
|
decision_id: string;
|
|
286
|
+
userName: string;
|
|
287
287
|
decisionTitle: string;
|
|
288
288
|
decisionUrl?: string | undefined;
|
|
289
289
|
}>;
|
|
@@ -343,15 +343,15 @@ declare const paymentCancelledPayloadSchema: z.ZodObject<{
|
|
|
343
343
|
userName: string;
|
|
344
344
|
paymentAmount: string;
|
|
345
345
|
paymentCurrency: string;
|
|
346
|
-
paymentDate: string;
|
|
347
346
|
paymentId: string;
|
|
347
|
+
paymentDate: string;
|
|
348
348
|
paymentUrl?: string | undefined;
|
|
349
349
|
}, {
|
|
350
350
|
userName: string;
|
|
351
351
|
paymentAmount: string;
|
|
352
352
|
paymentCurrency: string;
|
|
353
|
-
paymentDate: string;
|
|
354
353
|
paymentId: string;
|
|
354
|
+
paymentDate: string;
|
|
355
355
|
paymentUrl?: string | undefined;
|
|
356
356
|
}>;
|
|
357
357
|
type IPayload$P = z.infer<typeof paymentCancelledPayloadSchema>;
|
|
@@ -649,21 +649,21 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
|
|
|
649
649
|
coopShortName: z.ZodString;
|
|
650
650
|
approvalUrl: z.ZodOptional<z.ZodString>;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
userName: string;
|
|
653
652
|
coopname: string;
|
|
654
653
|
coopShortName: string;
|
|
655
|
-
|
|
654
|
+
userName: string;
|
|
656
655
|
approvalStatus: "approved" | "declined";
|
|
657
656
|
approvalStatusText: string;
|
|
657
|
+
requestTitle: string;
|
|
658
658
|
approvalId: string;
|
|
659
659
|
approvalUrl?: string | undefined;
|
|
660
660
|
}, {
|
|
661
|
-
userName: string;
|
|
662
661
|
coopname: string;
|
|
663
662
|
coopShortName: string;
|
|
664
|
-
|
|
663
|
+
userName: string;
|
|
665
664
|
approvalStatus: "approved" | "declined";
|
|
666
665
|
approvalStatusText: string;
|
|
666
|
+
requestTitle: string;
|
|
667
667
|
approvalId: string;
|
|
668
668
|
approvalUrl?: string | undefined;
|
|
669
669
|
}>;
|
|
@@ -690,17 +690,17 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
690
690
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
coopname: string;
|
|
693
|
-
chairmanName: string;
|
|
694
693
|
paymentAmount: string;
|
|
695
694
|
paymentCurrency: string;
|
|
695
|
+
chairmanName: string;
|
|
696
696
|
participantName: string;
|
|
697
697
|
paymentType: string;
|
|
698
698
|
paymentUrl?: string | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
coopname: string;
|
|
701
|
-
chairmanName: string;
|
|
702
701
|
paymentAmount: string;
|
|
703
702
|
paymentCurrency: string;
|
|
703
|
+
chairmanName: string;
|
|
704
704
|
participantName: string;
|
|
705
705
|
paymentType: string;
|
|
706
706
|
paymentUrl?: string | undefined;
|
|
@@ -728,17 +728,17 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
728
728
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
729
729
|
}, "strip", z.ZodTypeAny, {
|
|
730
730
|
coopname: string;
|
|
731
|
-
chairmanName: string;
|
|
732
731
|
paymentAmount: string;
|
|
733
732
|
paymentCurrency: string;
|
|
733
|
+
chairmanName: string;
|
|
734
734
|
participantName: string;
|
|
735
735
|
paymentType: string;
|
|
736
736
|
paymentUrl?: string | undefined;
|
|
737
737
|
}, {
|
|
738
738
|
coopname: string;
|
|
739
|
-
chairmanName: string;
|
|
740
739
|
paymentAmount: string;
|
|
741
740
|
paymentCurrency: string;
|
|
741
|
+
chairmanName: string;
|
|
742
742
|
participantName: string;
|
|
743
743
|
paymentType: string;
|
|
744
744
|
paymentUrl?: string | undefined;
|
|
@@ -977,16 +977,16 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
|
|
|
977
977
|
short_abbr: z.ZodString;
|
|
978
978
|
name: z.ZodString;
|
|
979
979
|
}, "strip", z.ZodTypeAny, {
|
|
980
|
-
userName: string;
|
|
981
980
|
coopname: string;
|
|
982
981
|
decision_id: string;
|
|
982
|
+
userName: string;
|
|
983
983
|
decisionTitle: string;
|
|
984
984
|
short_abbr: string;
|
|
985
985
|
name: string;
|
|
986
986
|
}, {
|
|
987
|
-
userName: string;
|
|
988
987
|
coopname: string;
|
|
989
988
|
decision_id: string;
|
|
989
|
+
userName: string;
|
|
990
990
|
decisionTitle: string;
|
|
991
991
|
short_abbr: string;
|
|
992
992
|
name: string;
|
|
@@ -1259,17 +1259,17 @@ declare const marketplaceSupplierPaymentConfirmedPayloadSchema: z.ZodObject<{
|
|
|
1259
1259
|
coopname: string;
|
|
1260
1260
|
supplierName: string;
|
|
1261
1261
|
amount: string;
|
|
1262
|
-
paymentReference: string;
|
|
1263
1262
|
apl_reception_id: string;
|
|
1264
1263
|
payment_request_id: string;
|
|
1264
|
+
paymentReference: string;
|
|
1265
1265
|
deepLinkUrl?: string | undefined;
|
|
1266
1266
|
}, {
|
|
1267
1267
|
coopname: string;
|
|
1268
1268
|
supplierName: string;
|
|
1269
1269
|
amount: string;
|
|
1270
|
-
paymentReference: string;
|
|
1271
1270
|
apl_reception_id: string;
|
|
1272
1271
|
payment_request_id: string;
|
|
1272
|
+
paymentReference: string;
|
|
1273
1273
|
deepLinkUrl?: string | undefined;
|
|
1274
1274
|
}>;
|
|
1275
1275
|
type IPayload$p = z.infer<typeof marketplaceSupplierPaymentConfirmedPayloadSchema>;
|
|
@@ -1297,17 +1297,17 @@ declare const marketplaceSupplierPaymentDeclinedPayloadSchema: z.ZodObject<{
|
|
|
1297
1297
|
coopname: string;
|
|
1298
1298
|
supplierName: string;
|
|
1299
1299
|
amount: string;
|
|
1300
|
+
reason: string;
|
|
1300
1301
|
apl_reception_id: string;
|
|
1301
1302
|
payment_request_id: string;
|
|
1302
|
-
reason: string;
|
|
1303
1303
|
deepLinkUrl?: string | undefined;
|
|
1304
1304
|
}, {
|
|
1305
1305
|
coopname: string;
|
|
1306
1306
|
supplierName: string;
|
|
1307
1307
|
amount: string;
|
|
1308
|
+
reason: string;
|
|
1308
1309
|
apl_reception_id: string;
|
|
1309
1310
|
payment_request_id: string;
|
|
1310
|
-
reason: string;
|
|
1311
1311
|
deepLinkUrl?: string | undefined;
|
|
1312
1312
|
}>;
|
|
1313
1313
|
type IPayload$o = z.infer<typeof marketplaceSupplierPaymentDeclinedPayloadSchema>;
|
|
@@ -1449,11 +1449,13 @@ declare const marketplaceReturnClaimFinalizedPayloadSchema: z.ZodObject<{
|
|
|
1449
1449
|
order_id: z.ZodString;
|
|
1450
1450
|
returnedAmount: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
/**
|
|
1452
|
-
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо
|
|
1453
|
-
*
|
|
1454
|
-
*
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
1452
|
+
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо пустая
|
|
1453
|
+
* строка) — считается на бэкенде.
|
|
1454
|
+
*
|
|
1455
|
+
* Условия в теле шага тоже допустимы: Центр уведомлений рендерит Liquid во всех
|
|
1456
|
+
* каналах одинаково. До 2026-08-27 не рендерил ни в одном (теги уезжали в текст
|
|
1457
|
+
* буквально), и предыдущая редакция этого примечания ошибочно считала, что email
|
|
1458
|
+
* идёт через полноценный рендер, — отсюда и предвычисленный суффикс.
|
|
1457
1459
|
*/
|
|
1458
1460
|
returnedAmountSuffix: z.ZodDefault<z.ZodString>;
|
|
1459
1461
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,16 +1767,16 @@ declare const marketplaceOrderDeclinedBySupplierPayloadSchema: z.ZodObject<{
|
|
|
1765
1767
|
ordererName: string;
|
|
1766
1768
|
order_id: string;
|
|
1767
1769
|
reasonExcerpt: string;
|
|
1768
|
-
productName: string;
|
|
1769
1770
|
kuName: string;
|
|
1771
|
+
productName: string;
|
|
1770
1772
|
deepLinkUrl?: string | undefined;
|
|
1771
1773
|
}, {
|
|
1772
1774
|
coopname: string;
|
|
1773
1775
|
ordererName: string;
|
|
1774
1776
|
order_id: string;
|
|
1775
1777
|
reasonExcerpt: string;
|
|
1776
|
-
productName: string;
|
|
1777
1778
|
kuName: string;
|
|
1779
|
+
productName: string;
|
|
1778
1780
|
deepLinkUrl?: string | undefined;
|
|
1779
1781
|
}>;
|
|
1780
1782
|
type IPayload$c = z.infer<typeof marketplaceOrderDeclinedBySupplierPayloadSchema>;
|
|
@@ -2043,12 +2045,12 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2043
2045
|
amount: z.ZodString;
|
|
2044
2046
|
url: z.ZodString;
|
|
2045
2047
|
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
description: string;
|
|
2047
2048
|
amount: string;
|
|
2049
|
+
description: string;
|
|
2048
2050
|
url: string;
|
|
2049
2051
|
}, {
|
|
2050
|
-
description: string;
|
|
2051
2052
|
amount: string;
|
|
2053
|
+
description: string;
|
|
2052
2054
|
url: string;
|
|
2053
2055
|
}>, "many">;
|
|
2054
2056
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2057,8 +2059,8 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2057
2059
|
count: number;
|
|
2058
2060
|
link: string;
|
|
2059
2061
|
advances: {
|
|
2060
|
-
description: string;
|
|
2061
2062
|
amount: string;
|
|
2063
|
+
description: string;
|
|
2062
2064
|
url: string;
|
|
2063
2065
|
}[];
|
|
2064
2066
|
}, {
|
|
@@ -2067,8 +2069,8 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2067
2069
|
count: number;
|
|
2068
2070
|
link: string;
|
|
2069
2071
|
advances: {
|
|
2070
|
-
description: string;
|
|
2071
2072
|
amount: string;
|
|
2073
|
+
description: string;
|
|
2072
2074
|
url: string;
|
|
2073
2075
|
}[];
|
|
2074
2076
|
}>;
|
|
@@ -2093,13 +2095,13 @@ declare const branchVotingStartedPayloadSchema: z.ZodObject<{
|
|
|
2093
2095
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2096
|
coopShortName: string;
|
|
2095
2097
|
meetPlace: string;
|
|
2096
|
-
closeAtTime: string;
|
|
2097
2098
|
meetingUrl: string;
|
|
2099
|
+
closeAtTime: string;
|
|
2098
2100
|
}, {
|
|
2099
2101
|
coopShortName: string;
|
|
2100
2102
|
meetPlace: string;
|
|
2101
|
-
closeAtTime: string;
|
|
2102
2103
|
meetingUrl: string;
|
|
2104
|
+
closeAtTime: string;
|
|
2103
2105
|
}>;
|
|
2104
2106
|
type IPayload$3 = z.infer<typeof branchVotingStartedPayloadSchema>;
|
|
2105
2107
|
interface IWorkflow$3 extends BaseWorkflowPayload, IPayload$3 {
|
|
@@ -2122,13 +2124,13 @@ declare const branchMeetingReminderPayloadSchema: z.ZodObject<{
|
|
|
2122
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2123
2125
|
coopShortName: string;
|
|
2124
2126
|
meetPlace: string;
|
|
2125
|
-
meetingUrl: string;
|
|
2126
2127
|
meetAtTime: string;
|
|
2128
|
+
meetingUrl: string;
|
|
2127
2129
|
}, {
|
|
2128
2130
|
coopShortName: string;
|
|
2129
2131
|
meetPlace: string;
|
|
2130
|
-
meetingUrl: string;
|
|
2131
2132
|
meetAtTime: string;
|
|
2133
|
+
meetingUrl: string;
|
|
2132
2134
|
}>;
|
|
2133
2135
|
type IPayload$2 = z.infer<typeof branchMeetingReminderPayloadSchema>;
|
|
2134
2136
|
interface IWorkflow$2 extends BaseWorkflowPayload, IPayload$2 {
|
package/dist/index.d.ts
CHANGED
|
@@ -241,16 +241,16 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
|
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
coopname: string;
|
|
243
243
|
authorName: string;
|
|
244
|
-
chairmanName: string;
|
|
245
244
|
requestTitle: string;
|
|
245
|
+
chairmanName: string;
|
|
246
246
|
requestDescription: string;
|
|
247
247
|
approval_hash: string;
|
|
248
248
|
approvalUrl?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
coopname: string;
|
|
251
251
|
authorName: string;
|
|
252
|
-
chairmanName: string;
|
|
253
252
|
requestTitle: string;
|
|
253
|
+
chairmanName: string;
|
|
254
254
|
requestDescription: string;
|
|
255
255
|
approval_hash: string;
|
|
256
256
|
approvalUrl?: string | undefined;
|
|
@@ -275,15 +275,15 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
|
|
|
275
275
|
decision_id: z.ZodString;
|
|
276
276
|
decisionUrl: z.ZodOptional<z.ZodString>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
userName: string;
|
|
279
278
|
coopname: string;
|
|
280
279
|
decision_id: string;
|
|
280
|
+
userName: string;
|
|
281
281
|
decisionTitle: string;
|
|
282
282
|
decisionUrl?: string | undefined;
|
|
283
283
|
}, {
|
|
284
|
-
userName: string;
|
|
285
284
|
coopname: string;
|
|
286
285
|
decision_id: string;
|
|
286
|
+
userName: string;
|
|
287
287
|
decisionTitle: string;
|
|
288
288
|
decisionUrl?: string | undefined;
|
|
289
289
|
}>;
|
|
@@ -343,15 +343,15 @@ declare const paymentCancelledPayloadSchema: z.ZodObject<{
|
|
|
343
343
|
userName: string;
|
|
344
344
|
paymentAmount: string;
|
|
345
345
|
paymentCurrency: string;
|
|
346
|
-
paymentDate: string;
|
|
347
346
|
paymentId: string;
|
|
347
|
+
paymentDate: string;
|
|
348
348
|
paymentUrl?: string | undefined;
|
|
349
349
|
}, {
|
|
350
350
|
userName: string;
|
|
351
351
|
paymentAmount: string;
|
|
352
352
|
paymentCurrency: string;
|
|
353
|
-
paymentDate: string;
|
|
354
353
|
paymentId: string;
|
|
354
|
+
paymentDate: string;
|
|
355
355
|
paymentUrl?: string | undefined;
|
|
356
356
|
}>;
|
|
357
357
|
type IPayload$P = z.infer<typeof paymentCancelledPayloadSchema>;
|
|
@@ -649,21 +649,21 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
|
|
|
649
649
|
coopShortName: z.ZodString;
|
|
650
650
|
approvalUrl: z.ZodOptional<z.ZodString>;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
userName: string;
|
|
653
652
|
coopname: string;
|
|
654
653
|
coopShortName: string;
|
|
655
|
-
|
|
654
|
+
userName: string;
|
|
656
655
|
approvalStatus: "approved" | "declined";
|
|
657
656
|
approvalStatusText: string;
|
|
657
|
+
requestTitle: string;
|
|
658
658
|
approvalId: string;
|
|
659
659
|
approvalUrl?: string | undefined;
|
|
660
660
|
}, {
|
|
661
|
-
userName: string;
|
|
662
661
|
coopname: string;
|
|
663
662
|
coopShortName: string;
|
|
664
|
-
|
|
663
|
+
userName: string;
|
|
665
664
|
approvalStatus: "approved" | "declined";
|
|
666
665
|
approvalStatusText: string;
|
|
666
|
+
requestTitle: string;
|
|
667
667
|
approvalId: string;
|
|
668
668
|
approvalUrl?: string | undefined;
|
|
669
669
|
}>;
|
|
@@ -690,17 +690,17 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
690
690
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
coopname: string;
|
|
693
|
-
chairmanName: string;
|
|
694
693
|
paymentAmount: string;
|
|
695
694
|
paymentCurrency: string;
|
|
695
|
+
chairmanName: string;
|
|
696
696
|
participantName: string;
|
|
697
697
|
paymentType: string;
|
|
698
698
|
paymentUrl?: string | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
coopname: string;
|
|
701
|
-
chairmanName: string;
|
|
702
701
|
paymentAmount: string;
|
|
703
702
|
paymentCurrency: string;
|
|
703
|
+
chairmanName: string;
|
|
704
704
|
participantName: string;
|
|
705
705
|
paymentType: string;
|
|
706
706
|
paymentUrl?: string | undefined;
|
|
@@ -728,17 +728,17 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
728
728
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
729
729
|
}, "strip", z.ZodTypeAny, {
|
|
730
730
|
coopname: string;
|
|
731
|
-
chairmanName: string;
|
|
732
731
|
paymentAmount: string;
|
|
733
732
|
paymentCurrency: string;
|
|
733
|
+
chairmanName: string;
|
|
734
734
|
participantName: string;
|
|
735
735
|
paymentType: string;
|
|
736
736
|
paymentUrl?: string | undefined;
|
|
737
737
|
}, {
|
|
738
738
|
coopname: string;
|
|
739
|
-
chairmanName: string;
|
|
740
739
|
paymentAmount: string;
|
|
741
740
|
paymentCurrency: string;
|
|
741
|
+
chairmanName: string;
|
|
742
742
|
participantName: string;
|
|
743
743
|
paymentType: string;
|
|
744
744
|
paymentUrl?: string | undefined;
|
|
@@ -977,16 +977,16 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
|
|
|
977
977
|
short_abbr: z.ZodString;
|
|
978
978
|
name: z.ZodString;
|
|
979
979
|
}, "strip", z.ZodTypeAny, {
|
|
980
|
-
userName: string;
|
|
981
980
|
coopname: string;
|
|
982
981
|
decision_id: string;
|
|
982
|
+
userName: string;
|
|
983
983
|
decisionTitle: string;
|
|
984
984
|
short_abbr: string;
|
|
985
985
|
name: string;
|
|
986
986
|
}, {
|
|
987
|
-
userName: string;
|
|
988
987
|
coopname: string;
|
|
989
988
|
decision_id: string;
|
|
989
|
+
userName: string;
|
|
990
990
|
decisionTitle: string;
|
|
991
991
|
short_abbr: string;
|
|
992
992
|
name: string;
|
|
@@ -1259,17 +1259,17 @@ declare const marketplaceSupplierPaymentConfirmedPayloadSchema: z.ZodObject<{
|
|
|
1259
1259
|
coopname: string;
|
|
1260
1260
|
supplierName: string;
|
|
1261
1261
|
amount: string;
|
|
1262
|
-
paymentReference: string;
|
|
1263
1262
|
apl_reception_id: string;
|
|
1264
1263
|
payment_request_id: string;
|
|
1264
|
+
paymentReference: string;
|
|
1265
1265
|
deepLinkUrl?: string | undefined;
|
|
1266
1266
|
}, {
|
|
1267
1267
|
coopname: string;
|
|
1268
1268
|
supplierName: string;
|
|
1269
1269
|
amount: string;
|
|
1270
|
-
paymentReference: string;
|
|
1271
1270
|
apl_reception_id: string;
|
|
1272
1271
|
payment_request_id: string;
|
|
1272
|
+
paymentReference: string;
|
|
1273
1273
|
deepLinkUrl?: string | undefined;
|
|
1274
1274
|
}>;
|
|
1275
1275
|
type IPayload$p = z.infer<typeof marketplaceSupplierPaymentConfirmedPayloadSchema>;
|
|
@@ -1297,17 +1297,17 @@ declare const marketplaceSupplierPaymentDeclinedPayloadSchema: z.ZodObject<{
|
|
|
1297
1297
|
coopname: string;
|
|
1298
1298
|
supplierName: string;
|
|
1299
1299
|
amount: string;
|
|
1300
|
+
reason: string;
|
|
1300
1301
|
apl_reception_id: string;
|
|
1301
1302
|
payment_request_id: string;
|
|
1302
|
-
reason: string;
|
|
1303
1303
|
deepLinkUrl?: string | undefined;
|
|
1304
1304
|
}, {
|
|
1305
1305
|
coopname: string;
|
|
1306
1306
|
supplierName: string;
|
|
1307
1307
|
amount: string;
|
|
1308
|
+
reason: string;
|
|
1308
1309
|
apl_reception_id: string;
|
|
1309
1310
|
payment_request_id: string;
|
|
1310
|
-
reason: string;
|
|
1311
1311
|
deepLinkUrl?: string | undefined;
|
|
1312
1312
|
}>;
|
|
1313
1313
|
type IPayload$o = z.infer<typeof marketplaceSupplierPaymentDeclinedPayloadSchema>;
|
|
@@ -1449,11 +1449,13 @@ declare const marketplaceReturnClaimFinalizedPayloadSchema: z.ZodObject<{
|
|
|
1449
1449
|
order_id: z.ZodString;
|
|
1450
1450
|
returnedAmount: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
/**
|
|
1452
|
-
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо
|
|
1453
|
-
*
|
|
1454
|
-
*
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
1452
|
+
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо пустая
|
|
1453
|
+
* строка) — считается на бэкенде.
|
|
1454
|
+
*
|
|
1455
|
+
* Условия в теле шага тоже допустимы: Центр уведомлений рендерит Liquid во всех
|
|
1456
|
+
* каналах одинаково. До 2026-08-27 не рендерил ни в одном (теги уезжали в текст
|
|
1457
|
+
* буквально), и предыдущая редакция этого примечания ошибочно считала, что email
|
|
1458
|
+
* идёт через полноценный рендер, — отсюда и предвычисленный суффикс.
|
|
1457
1459
|
*/
|
|
1458
1460
|
returnedAmountSuffix: z.ZodDefault<z.ZodString>;
|
|
1459
1461
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,16 +1767,16 @@ declare const marketplaceOrderDeclinedBySupplierPayloadSchema: z.ZodObject<{
|
|
|
1765
1767
|
ordererName: string;
|
|
1766
1768
|
order_id: string;
|
|
1767
1769
|
reasonExcerpt: string;
|
|
1768
|
-
productName: string;
|
|
1769
1770
|
kuName: string;
|
|
1771
|
+
productName: string;
|
|
1770
1772
|
deepLinkUrl?: string | undefined;
|
|
1771
1773
|
}, {
|
|
1772
1774
|
coopname: string;
|
|
1773
1775
|
ordererName: string;
|
|
1774
1776
|
order_id: string;
|
|
1775
1777
|
reasonExcerpt: string;
|
|
1776
|
-
productName: string;
|
|
1777
1778
|
kuName: string;
|
|
1779
|
+
productName: string;
|
|
1778
1780
|
deepLinkUrl?: string | undefined;
|
|
1779
1781
|
}>;
|
|
1780
1782
|
type IPayload$c = z.infer<typeof marketplaceOrderDeclinedBySupplierPayloadSchema>;
|
|
@@ -2043,12 +2045,12 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2043
2045
|
amount: z.ZodString;
|
|
2044
2046
|
url: z.ZodString;
|
|
2045
2047
|
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
description: string;
|
|
2047
2048
|
amount: string;
|
|
2049
|
+
description: string;
|
|
2048
2050
|
url: string;
|
|
2049
2051
|
}, {
|
|
2050
|
-
description: string;
|
|
2051
2052
|
amount: string;
|
|
2053
|
+
description: string;
|
|
2052
2054
|
url: string;
|
|
2053
2055
|
}>, "many">;
|
|
2054
2056
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2057,8 +2059,8 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2057
2059
|
count: number;
|
|
2058
2060
|
link: string;
|
|
2059
2061
|
advances: {
|
|
2060
|
-
description: string;
|
|
2061
2062
|
amount: string;
|
|
2063
|
+
description: string;
|
|
2062
2064
|
url: string;
|
|
2063
2065
|
}[];
|
|
2064
2066
|
}, {
|
|
@@ -2067,8 +2069,8 @@ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
|
|
|
2067
2069
|
count: number;
|
|
2068
2070
|
link: string;
|
|
2069
2071
|
advances: {
|
|
2070
|
-
description: string;
|
|
2071
2072
|
amount: string;
|
|
2073
|
+
description: string;
|
|
2072
2074
|
url: string;
|
|
2073
2075
|
}[];
|
|
2074
2076
|
}>;
|
|
@@ -2093,13 +2095,13 @@ declare const branchVotingStartedPayloadSchema: z.ZodObject<{
|
|
|
2093
2095
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2096
|
coopShortName: string;
|
|
2095
2097
|
meetPlace: string;
|
|
2096
|
-
closeAtTime: string;
|
|
2097
2098
|
meetingUrl: string;
|
|
2099
|
+
closeAtTime: string;
|
|
2098
2100
|
}, {
|
|
2099
2101
|
coopShortName: string;
|
|
2100
2102
|
meetPlace: string;
|
|
2101
|
-
closeAtTime: string;
|
|
2102
2103
|
meetingUrl: string;
|
|
2104
|
+
closeAtTime: string;
|
|
2103
2105
|
}>;
|
|
2104
2106
|
type IPayload$3 = z.infer<typeof branchVotingStartedPayloadSchema>;
|
|
2105
2107
|
interface IWorkflow$3 extends BaseWorkflowPayload, IPayload$3 {
|
|
@@ -2122,13 +2124,13 @@ declare const branchMeetingReminderPayloadSchema: z.ZodObject<{
|
|
|
2122
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2123
2125
|
coopShortName: string;
|
|
2124
2126
|
meetPlace: string;
|
|
2125
|
-
meetingUrl: string;
|
|
2126
2127
|
meetAtTime: string;
|
|
2128
|
+
meetingUrl: string;
|
|
2127
2129
|
}, {
|
|
2128
2130
|
coopShortName: string;
|
|
2129
2131
|
meetPlace: string;
|
|
2130
|
-
meetingUrl: string;
|
|
2131
2132
|
meetAtTime: string;
|
|
2133
|
+
meetingUrl: string;
|
|
2132
2134
|
}>;
|
|
2133
2135
|
type IPayload$2 = z.infer<typeof branchMeetingReminderPayloadSchema>;
|
|
2134
2136
|
interface IWorkflow$2 extends BaseWorkflowPayload, IPayload$2 {
|
package/dist/index.mjs
CHANGED
|
@@ -3586,11 +3586,13 @@ const marketplaceReturnClaimFinalizedPayloadSchema = z.object({
|
|
|
3586
3586
|
order_id: z.string(),
|
|
3587
3587
|
returnedAmount: z.string().optional(),
|
|
3588
3588
|
/**
|
|
3589
|
-
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо
|
|
3590
|
-
*
|
|
3591
|
-
*
|
|
3592
|
-
*
|
|
3593
|
-
*
|
|
3589
|
+
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо пустая
|
|
3590
|
+
* строка) — считается на бэкенде.
|
|
3591
|
+
*
|
|
3592
|
+
* Условия в теле шага тоже допустимы: Центр уведомлений рендерит Liquid во всех
|
|
3593
|
+
* каналах одинаково. До 2026-08-27 не рендерил ни в одном (теги уезжали в текст
|
|
3594
|
+
* буквально), и предыдущая редакция этого примечания ошибочно считала, что email
|
|
3595
|
+
* идёт через полноценный рендер, — отсюда и предвычисленный суффикс.
|
|
3594
3596
|
*/
|
|
3595
3597
|
returnedAmountSuffix: z.string().default(""),
|
|
3596
3598
|
deepLinkUrl: z.string().optional()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/notifications",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.29",
|
|
4
4
|
"description": "Каталог типобезопасных типов уведомлений и шаблонов Центра уведомлений",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"require": "./dist/index.cjs"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "cc4ad743dcda30f34b712bb96cf63ace547a8ff6"
|
|
49
49
|
}
|
|
@@ -13,11 +13,13 @@ export const marketplaceReturnClaimFinalizedPayloadSchema = z.object({
|
|
|
13
13
|
order_id: z.string(),
|
|
14
14
|
returnedAmount: z.string().optional(),
|
|
15
15
|
/**
|
|
16
|
-
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* Готовый суффикс для in-app/push («` — 100,00 ₽ восстановлены`» либо пустая
|
|
17
|
+
* строка) — считается на бэкенде.
|
|
18
|
+
*
|
|
19
|
+
* Условия в теле шага тоже допустимы: Центр уведомлений рендерит Liquid во всех
|
|
20
|
+
* каналах одинаково. До 2026-08-27 не рендерил ни в одном (теги уезжали в текст
|
|
21
|
+
* буквально), и предыдущая редакция этого примечания ошибочно считала, что email
|
|
22
|
+
* идёт через полноценный рендер, — отсюда и предвычисленный суффикс.
|
|
21
23
|
*/
|
|
22
24
|
returnedAmountSuffix: z.string().default(''),
|
|
23
25
|
deepLinkUrl: z.string().optional(),
|